#include <stdio.h>
int main()
{
long double N, x1, y1, x2, y2, x_start, y_start;
long double ans = 0;
long double ans_float = 0;
FILE *f = fopen("aria.in", "r");
FILE *g = fopen("aria.out", "w");
if (f == NULL)
{
perror("aria.in");
return 1;
}
fscanf(f, "%Lf", &N);
fscanf(f, "%Lf %Lf", &x1, &y1);
x_start = x1; y_start = y1;
while (fscanf(f, "%Lf %Lf", &x2, &y2) == 2)
{
ans += 1LL * x1 * y2 - 1LL * x2 * y1;
x1 = x2; y1 = y2;
}
ans += 1LL * x1 * y_start - 1LL * x_start * y1;
ans_float = ans * 0.5;
fprintf(g, "%.6Lf", ans_float);
fclose(f);
fclose(g);
return 0;
}