#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N, M, ans = 0; cin >> N >> M; while(N--) { string S; int R; cin >> S >> R; bool ok = false; for(int i=0; i= 1200) ans += ok; } cout << ans << endl; }