In what concerns the continuous evaluation solving exercises grade during the semester, you should submit until 23:59 of March 3rd
(this exercise will still be available for submission after that deadline, but without couting towards your grade)
[to understand the context of this problem, you should read the class #01 exercise sheet]
The secret numerical agents at the service of her majesty, the Queen of Digitland, need your assistance! Can you help them introduce themselves to others?
Write a program that given two integers A and B, writes the sentence "My name is B, A B!". For instance, if A=40 and B=2 than your program should print "My name is 2, 40 2!".
The input is a line with two integers A and B, separated by a single space.
The output should be a single line containing "My name is B, A B!" (without the quotes).
The following limits are guaranteed in all the test cases that will be given to your program:
1 ≤ A, B ≤ 1000 | input integer numbers |
Example Input 1 | Example Output 1 |
40 2 |
My name is 2, 40 2! |
Example Input 2 | Example Output 2 |
99 123 |
My name is 123, 99 123! |