Hack-a-Holics

면접 대비

시간 제한1초메모리 제한2048 MB

요약
참가할 해커톤 수 N과 해커톤당 평균 상금 P가 주어질 때, 기대할 수 있는 총 상금을 계산합니다.
난이도

쉬움10점 중 1점

유형
수학, 구현
정답자
아직 제출이 없습니다

문제

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 2424 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 NN hackathons. The students know that in the past, they win an average of PP 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 NN hackathons.

입력

The first line contains a single integer NN, representing the number of hackathons that the students plan to attend.

The second line contains a single integer, CC, representing the amount of money the Mines Computer Science Department will spend sending the students to the NN hackathons.

The third line contains a single integer PP, 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 NN hackathons.

제한

  • 0<N≤1000 < N \leq 100
  • 0<C≤100,0000 < C \leq 100\\,000
  • 0<P≤20,0000 < P \leq 20\\,000

예제1

  1. 예제 1

    입력
    5
    24739
    1000
    
    예상 출력
    5000