1547It's All About Weight

1547   It's All About Weight

题目描述

We are generally aware of the amount of weight we can lift. For most of us 40 pounds is not too heavy while 100 pounds is probably a bit too much. What if you were asked to lift something that weighted 3759 ounces? Can you do it? You may be slow in answering this question since we generally think in pounds when considering the weight of an object.

You will be given the weight of an object measured in ounces. Your job is to determine the equivalent number of tons, pounds and ounces. (Remember that there are 16 ounces in a pound and 2,000 pounds in a ton.)

输入格式:

There are multiple cases, ease case consists of one line containing a non-negative 32-bit integer representing the weight of an object measured in ounces.

输出格式:

Each output is equivalent weight measured in tons, pounds and ounces with appropriate labels as indicated in the output example.

输入样例 复制
26
输出样例 复制
0 tons, 1 pounds, 10 ounces

说明

62
192
通过提交
时空限制1000ms/128mb
题目来源
评测方式在线评测
题目类型
难        度