#P34. 【例8.2】成绩

【例8.2】成绩

Description

Niu Niu recently took an introductory C++ course. The total score for this course is calculated as follows:
Total Score = Homework Score × 2020% + Quiz Score × 3030% + Final Exam Score × 5050%
Niu Niu wants to know what his final score for this course will be.

Input Format

A single line containing three non-negative integers AA, BB, CC, representing Niu Niu's homework score, quiz score, and final exam score. The scores are separated by a space, and each score is out of 100100 points. 0A,B,C1000 \le A, B, C \le 100 and AA, BB, CC are multiples of 1010.

Output Format

A single line containing an integer, representing Niu Niu's total score for the course, also out of 100100 points.

Sample

100 100 80
90