package main import . "fmt" func main() { var h,n int Scan(&h,&n) r:=1 for ;n>0;n-- { var x int Scan(&x) if x>h { r++ } } s:=Sprint(r) switch r%10 { default: s+="th" case 1: s+="st" case 2: s+="nd" case 3: s+="rd" } Println(s) }