#include int main() { int x,y; int a[2][2] = { {1,4}, {2,3} }; scanf("%d %d",&x, &y); printf("%d",a[x<0][y<0]); return 0; }