-->
当前位置:首页 > 题库

PROGRAMMING:Brother Chenyang's insistence

Luz5年前 (2021-05-10)题库401
Brother Chenyang has one yuan, which was given to him by a Taoist priest he met when he was a child, and the Taoist priest told him: I can give you a dream and a goal, but whether you can achieve this goal depends entirely on your ability. As soon as brother Chenyang heard this, he thought: I'm kidding. What can I do that brother Chenyang can't do. So he asked the Taoist what to do and how to achieve the goal. Taoist said: I have a dollar for you. You can save it well. When you feel you meet your true love, you start to save it once a month. The money saved must be the sum of the last month multiplied by the number of months you and your girlfriend are together. It's not very easy for brother Chenyang to listen to this. A small case should come down without saying a word. Taoist said, since you promised me, then you must do it. You must be honest, and I'm not too unruly. As long as you can keep it for 10 months, you will succeed. More than ten years later, Chen Yang's brother had forgotten about it. It was only when he met his current girlfriend that he suddenly remembered the promise he made when he was a child. He quickly found out a dollar of that year and planned to start saving. Chenyang brother's girlfriend has always told Chenyang brother to give up and not do such a stupid thing after knowing this. Everyone knows that the money will reach tens of thousands in a few months, and it's not easy to save tens of thousands a month. But Chen Yang elder brother is not willing, he thinks the man's promise cannot abandon, this cannot do how to give his girlfriend firm future. Brother Chenyang knows the amount of money he needs to save every year, and he doesn't need to know how much he saved last month to calculate how much he needs to save this month. Smart acmer, are you ok?
###Input format:
There are several groups of test data, which are processed to the end of the file. Read in a positive integer n (n < = 10) in one line.
###Output format:
For each group of input, output Chenyang brother n months to save money. Each output occupies one line.
###Input example:
Here is a set of inputs. For example:
```in
two
eight
```
###Output example:
The corresponding output is given here. For example:
```out
two
forty thousand three hundred and twenty
```







answer:If there is no answer, please comment