let N = readLine()!.split(separator: " ").map{Int($0)!} var d = 3 var L = [Int]() for i in N[0]...N[1]{ L += [i] } for i in 23...25{ if L.contains(i){ d -= 1 } } print(d)