SP13120 ADITYA13 - FizzBuzz Happy 2013

Description

Having cleared the ACM ICPC online round you receive a job offer of teaching JAVA programming to High School Students of Byteland. You gladly take the job offer and after a few days of teaching you give the students a program to write. You ask them to write a [FIZZBUZZ](http://en.wikipedia.org/wiki/Fizz_buzz) program. They are either too smart or too lazy. They argue that it is too difficult and callenge you to do better than that without using any english alphabets. You consult senior programmer [Mitch](../../../users/cyclops/) who suggests you a way out of the problem. "Do it in BF," he says. [Tjandra](../../../users/tjandra/) suggests you do it in Whitespace.

Input Format

Two space separated one digit integers A and B.Then a newline.Then a strings C of maximum length 5 followed by a newline. Then another string D of max length 5 followed by a newline. It is guaranteed that gcd(A,B)

Output Format

For all numbers in the set \[1,99\] print C if the number is divisible by A, print D if divisible by D, print C concat D if divisible by both and the number (with preceding zeroes if required) if it divisible by neither A nor B.