I see you recognize that you need an integer type that will support 10^18 i.e. 1000000000000000000, but what about when you have to multiply 2 of those numbers? What integer type will support 10^36 i.e. 1000000000000000000000000000000000000?
Also I have a feeling (Your Task is so simple...) you are not even supposed to evaluate the expression A * B, I think the problem is asking you to print literally "A * B" i.e. if you are given 2 numbers A = 10000000 and B = 1923123, your program should print "10000000 * 1923123". I could be wrong but it is worth the try