def findFavNum(a,b) if (a-b).abs <= 1 then print("? #{b}") if gets.to_i == 1 then print("! #{b}") return else print("! #{a}") return end end if a