#include <stdio.h> int main() { int i, j; do { scanf("%d%d", &i, &j); }while(i != 0 && j != 0); putchar(2); }