n = gets.to_i a = n if n.to_s(2).count(?1) == 1 puts '-1 -1 -1' exit(0) end b = 1<