https://www.acmicpc.net/problem/28702
for i in range(3, 0, -1): x = input() if x not in ['Fizz', 'Buzz', 'FizzBuzz']: n = int(x) + i break print('Fizz' * (n % 3 == 0) + 'Buzz' * (n % 5 == 0) or n)