#include <iostream>
#include <math.h>
using namespace std;
float f (float x, float x0, float x1, float y, float y0, float y1)
{
return (x - x0) * (y1 - y0) - (y - y0) * (x1 - x0);
}
int main() {
float xa, ya, xb, yb, xc, yc, xd, yd,xk,yk;
xa = -1;
ya = 0;
xb = 0;
yb = 1;
xc = 1;
yc = 0;
xd = 0;
yd = -1;
cin >> xk >> yk;
float l,m,q,w;
l = f(xk,xa,xb,yk,ya,yb);
m = f(xk,xb,xc,yk,yb,yc);
q = f(xk,xc,xd,yk,yc,yd);
w = f(xk,xd,xa,yk,yd,ya);
if ((l >= 0) && (m >= 0) && (q >= 0) && (w >= 0))
{
printf ("inside");
}
else
printf ("outside");
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bWF0aC5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpmbG9hdCBmIChmbG9hdCB4LCBmbG9hdCB4MCwgZmxvYXQgeDEsIGZsb2F0IHksIGZsb2F0IHkwLCBmbG9hdCB5MSkKewoJcmV0dXJuICAoeCAtIHgwKSAqICh5MSAtIHkwKSAtICh5IC0geTApICogKHgxIC0geDApOwp9IAppbnQgbWFpbigpIHsKCWZsb2F0IHhhLCB5YSwgeGIsIHliLCB4YywgeWMsIHhkLCB5ZCx4ayx5azsKCXhhID0gLTE7IAoJeWEgPSAwOwoJeGIgPSAwOwoJeWIgPSAxOwoJeGMgPSAxOwoJeWMgPSAwOwoJeGQgPSAwOwoJeWQgPSAtMTsKCWNpbiA+PiB4ayA+PiB5azsKCWZsb2F0IGwsbSxxLHc7CglsID0gZih4ayx4YSx4Yix5ayx5YSx5Yik7CgltID0gZih4ayx4Yix4Yyx5ayx5Yix5Yyk7CglxID0gZih4ayx4Yyx4ZCx5ayx5Yyx5ZCk7Cgl3ID0gZih4ayx4ZCx4YSx5ayx5ZCx5YSk7CglpZiAoKGwgPj0gMCkgJiYgKG0gPj0gMCkgICYmIChxID49IDApICYmICh3ID49IDApKQoJewoJCXByaW50ZiAoImluc2lkZSIpOwoJfQoJZWxzZQoJCXByaW50ZiAoIm91dHNpZGUiKTsKCXJldHVybiAwOwp9