fun main() { val (a,b) = readLine()!!.split(' ').map { it.toInt() } println((23..25).intersect(a..b).size) }