W, H, X = gets.split.map(&:to_i) if X > 9 * 4 puts -1 exit end raise ""