https://www.acmicpc.net/problem/2166
n=int(input())
num=0
x1,y1=map(int,input().split())
x0=x1
y0=y1
for i in range(n-1):
x2,y2=map(int,input().split())
num+=x1*y2-x2*y1
if i==n-2: num+=x2*y0-x0*y2
x1=x2
y1=y2
print("%.1f" % (abs(num)/2.0))