The Winter Olympics opening ceremony will be happening soon! The organizers have planned to host it in a stadium with 3 seats with different costs: seats in the front rows cost
The organizers have sold
Constraints
Input Specification
The first line contains 3 space-separated integers:
The second and last line contains 3 space-separated integers:
Output Specification
Output on a single line two space-separated integers: the number of people coming to the ceremony and how much money they get from the tickets.
Sample Input
9 5 4
14 26 37
Sample Output
77 404
Comments
Me when I forget the space.
Im the map im the map, if there is place you wanna go I can get you there I know.