#include using namespace std; int main() { int n, m; cin >> n >> m; for (int i = 0; i < n; ++i) { int a; cin >> a; if (a == 0) return 300; } return 0; }