#[rustfmt::skip] pub mod lib { // pub use ac_library::*; // pub use itertools::{Combinations, Itertools, MultiProduct, Permutations}; pub use proconio::{input,marker::{Chars, Usize1}}; // pub use std::{cmp::*, collections::*, mem::swap}; // pub use regex::Regex; // pub use superslice::Ext; } pub use lib::*; fn main() { input! { n: usize, m: usize, sr: [(Chars, usize); n] } let mut ans = 0; for i in 0..n { if sr[i].1 < 1200 { continue; } for j in 0..4 { if sr[i].0[j] == 'x' { ans += 1usize; break; } } } println!("{}", ans); }