CaloriesBurned1

Time Limit: 1000 ms Memory Limit: 65536 KiB

Problem Description

The number of calories burned per hour by cycling, jogging, and swimming are 200, 475, and 275,respectively. A person loses 1 pound of weight for each 3500 calories burned. Write a program that declares three variables, one to store the number of hours spent jogging, the second to store the number of hours spent cycling and the third to store the number of hours spent swimming. you should accept each of these variables values from the console window.Then Calculate and display the number of pounds worked off to the console window.

Input

Accept six variables values from the console window.

Output

Produce the outputof total calories burned and pounds lost.

Sample Input

1.5 3 2.1
200 475 275

1 2 3
200 475 275

Sample Output

Total calories burned = 1890.0.
Pounds lost = 0.54.

Total calories burned = 1700.0.
Pounds lost = 0.4857142857142857.

Hint

Source

maxj