时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
64bit IO Format: %lld
题目描述
There are five ways to score points in american professional football:
1) Touchdown - 6 points
2) Field Goal - 3 points
3) Safety - 2 points
4) After touchdown
a) 1 point (Field Goal or Safety) - Typically called the “Point after”
输入描述:
There are two lines of input each containing five space-separated non-negative integers,

,

,

,

and

representing the number of Touchdowns, Field goals, Safeties, Points-after-touchdown andtwo-point Conversions after touchdown respectively. (
%20%E2%89%A4%20T)
). The first line represents the box score for the visiting team, and the second linerepresents the box score for the home team.
输出描述:
The single output line consists of two space-separated integers showing the visiting score and the home score respectively