#include <fstream>
#include <iomanip>
typedef double plutitor;
using namespace std;
struct pCoordinate {
plutitor x, y;
};
plutitor crossProduct(pCoordinate a, pCoordinate b, pCoordinate c)
{
return (c.y - a.y) * (b.x - a.x) - (b.y - a.y) * (c.x - a.x);
}
ifstream in;
ofstream ou;
int n; pCoordinate 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++)
{
pCoordinate a = polygon[i];
pCoordinate b = polygon[(i+1)%n];
r += crossProduct({0, 0}, a, b) / 2;
}
if (r < 0)
r = -r;
ou << fixed << setprecision(8) << r;
}