fun main(){val v=HashMap() for(p in 0..2){ val w=readLine()!! v[w]=v[w]!!+1 } println(v.maxBy{it.value}!!.value)}