let () = Scanf.sscanf (read_line()) "%d %d" (fun n p -> if n = 1 || p = 0 then print_endline "=" else print_endline "!=")