#include using namespace std; int main() { //cin读入优化 std::ios::sync_with_stdio(false); int x, y; cin >> x >> y; if (x >= 10 || y >= 20) cout << 1; else cout << 0; return 0; }