Problem I: Site Score
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 1024 M,其他语言2048 M
64bit IO Format: %lld

题目描述

Teams from variaous universities compete in ICPC regional contests for tickets to the ICPC World Finals. The number of tickets allocated to every regional contest may be different. The allocation method in our super region, Asia Pacific, is based on a parameter called site score.
Site scores will only count teams and universities solving at least one problem, in the regional contest or its preliminary contest TOPC. In 2020, the formula for calculating the site score of the Taipei-Hsinchu regional contest is much simpler than past years. Let
• UR be the number of universities solving at least one problem in the regional contest.
• TR be the number of teams solving at least one problem in the regional contest.
• UO be the number of universities solving at least one problem in TOPC.
• TO be the number of teams solving at least one problem in TOPC.
The site score of 2020 Taipei-Hsinchu regional contest will be 56UR +24TR +14UO +6TO. Please
write a program to compute the site score of the 2020 Taipei-Hsinchu regional contest.

输入描述:

The input has only one line containing four blank-separated positive integers UR, TR, UO, and TO

输出描述:

The input has only one line containing four blank-separated positive integers UR, TR, UO, and TO
示例1

输入

复制
1 1 1 1

输出

复制
100
示例2

输入

复制
1 10 100 1000

输出

复制
7696

说明

The problem statement is fiction. The real site score has a different formula

备注:

• 0 < UR ≤ TR ≤ 120
• 0 < UO ≤ TO ≤ 1000