p gets.split.map(&:to_i).map {|v| if v % 15 == 0 then "FizzBuzz" elsif v % 3 == 0 then "Fizz" elsif v % 5 == 0 then "Buzz" else v.to_s end }.map {|s| s.length}.sum()