fun main() { var sum = 0 val days = intArrayOf(31,28,31,30,31,30,31,31,30,31,30,31) for (i in 1..12) for (j in 1..days[i-1]) if (i == (j%10 + j/10)) sum++ println(sum) }