#include <fstream>
#include <iomanip>
typedef double plutitor;
using namespace std;
struct iCoordinate {
int x, y;
};
plutitor crossProduct(iCoordinate a, iCoordinate b, iCoordinate c)
{
return (plutitor)(c.y - a.y) * (plutitor)(b.x - a.x) - (plutitor)(b.y - a.y) * (plutitor)(c.x - a.x);
}
ifstream in;
ofstream ou;
int n; iCoordinate polygon[100'005];
int main()
{
in.open("aria.in");
ou.open("aria.out");
in >> n;
for (int i = 0; i < n; i++)
{
in >> polygon[i].x >> polygon[i].y;
}
plutitor r = 0;
for (int i = 0; i < n; i++)
{
iCoordinate a = polygon[i];
iCoordinate b = polygon[(i+1)%n];
r += crossProduct({0, 0}, a, b) / 2;
}
ou << fixed << setprecision(7) << r;
}