Under construction

Still being built. Things may change

FizzBuzz

Interview

Time limit0.5sMemory limit1024 MB

Summary
Given three consecutive FizzBuzz outputs, print the string that comes right after them.
Level

Easy3 of 10

Topics
Implementation, Math
Solved
No attempts yet

Problem

The FizzBuzz problem asks you to print one string per line for i=1,2,⋯i = 1, 2, \cdots according to these rules.

  • If ii is a multiple of 33 and of 55, print "FizzBuzz".
  • If ii is a multiple of 33 but not of 55, print "Fizz".
  • If ii is not a multiple of 33 but is a multiple of 55, print "Buzz".
  • If ii is neither a multiple of 33 nor of 55, print ii as is.

Three consecutive output strings from the FizzBuzz problem are given. What string comes right after these three?

Input

Three consecutive output strings from the FizzBuzz problem are given, one per line. Each string has length 88 or less. The input is always guaranteed to correspond to three consecutive output strings of the FizzBuzz problem.

Output

Print the string that comes right after the three consecutive strings. If more than one string could come next, print any one of them.

Hint

The output for i=1,⋯ ,20i=1, \cdots, 20 in the FizzBuzz problem is as follows.

1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz
16
17
Fizz
19
Buzz

Examples2

  1. Example 1

    Input
    Fizz
    Buzz
    11
    
    Expected output
    Fizz
    
  2. Example 2

    Input
    980803
    980804
    FizzBuzz
    
    Expected output
    980806