030. World Cup (Easier Version)
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

While watching the world cup, you wonder how many points your team has in the group stage. Recall that during the group stage teams are awarded three points for a win, one point for a tie, and zero points for a loss. For this problem, figure out how many group stage points your team has based on their record (wins, losses, and ties).

Input

The only line of input contains three integers separated by hyphens (-). Each of these values represents how many wins, losses, and ties your team has had so far during the group stage, respectively.

Output

Output a single integer p: the number of group stage points that your team currently has.

Example
Input
5-3-2
Output
17