题目描述
Problem Description
Code Formula is a very large contest. For the qualifiers next year, it is planned to invite the top $B$ participants from each of the $A$ qualifiers to the finals. Assuming there are no duplicate participants across the qualifiers, output the total number of participants invited to the finals.
Input Format
The input is given from the standard input in the following format:
$ A $ $ B $
- The first line contains the number of qualifiers, an integer $A\ (1≦A≦1000)$, and the number of participants passing each qualifier, an integer $ B(1≦B≦1000) $, separated by a space.
Output Format
Output the number of participants invited to the finals in one line. Ensure to include a newline at the end of the output.
Sample Input and Output
Sample Input #1
1000 1000
Sample Output #1
1000000
Sample Input #2
1 1
Sample Output #2
1
Notes/Hints
Sample Explanation 1
Next year's Code Formula is a huge success. The finals will be held with $1,000,000$ participants.
Sample Explanation 2
Even if there is only one participant in the finals, the finals will still be held.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分