#include <iostream> using namespace std; int main() { int lucky, thank; cin >> lucky >> thank; cout << (lucky >= 10 || thank >= 20); return 0; }