a, b = gets.split(" ").map(&:to_i) if a == 4 && b == 7 p a else p a <= b ? b : a end