Hack-a-Holics
면접 대비시간 제한1초메모리 제한2048 MB
참가할 해커톤 수 N과 해커톤당 평균 상금 P가 주어질 때, 기대할 수 있는 총 상금을 계산합니다.
문제
The Colorado School of Mines Department of Computer Science loves sending its students to hackathons all over the country. Hackathons are events where teams of student are given hours to create a project from scratch and demo it to judges. The teams with the best "hacks" (projects) win prizes such as Nintendo Switches.
The students of the Mines Computer Science Department want to know the cumulative monetary value of the prizes they can expect to make if they attend hackathons. The students know that in the past, they win an average of dollars worth of prizes per hackathon.
Your job is to calculate the cumulative monetary value of the prizes that the students can expect to win at the hackathons.
입력
The first line contains a single integer , representing the number of hackathons that the students plan to attend.
The second line contains a single integer, , representing the amount of money the Mines Computer Science Department will spend sending the students to the hackathons.
The third line contains a single integer , representing the average monetary value of the prizes that the students win per hackathon.
출력
The first and only line of the output should contain the cumulative monetary value of the prizes that the students can expect to win at the hackathons.