P6467 [COCI 2008/2009 #6] BUKA
Description
Given two integers with at most $100$ digits, and both are powers of $10$, you need to compute the result of either their multiplication or their addition.
Input Format
The input consists of three lines.
The first and third lines each contain an integer, representing the numbers to be computed. The second line contains one character, either `*` (multiply) or `+` (add), indicating which operation to perform. The testdata is generated under `Windows`, so please note the `\r` contained in the line ending.
Output Format
Output one line containing one integer, which is the result of the operation.
Explanation/Hint
#### Explanation
**This problem is translated from [COCI2008-2009](https://hsin.hr/coci/archive/2008_2009/) [CONTEST #6](https://hsin.hr/coci/archive/2008_2009/contest6_tasks.pdf) *T1 BUKA***。
Translated by ChatGPT 5