#P5712. 【深基3.例4】Apples
【深基3.例4】Apples
Problem Description
Little B likes eating apples. Today she ate apples. In English class, she learned the word apple and wants to use it to make a sentence. If she ate 1 apple, output Today, I ate 1 apple.; if she ate none, then replace 1 with 0; if she ate more than one apple, do not forget to add the plural s after the word apple. Can you help her complete this sentence?
Input Format
Input one line with a natural number , which represents the number of apples eaten.
Output Format
Output according to the requirements of the problem.
1
Today, I ate 1 apple.
3
Today, I ate 3 apples.
Hint
For all testdata, .
Translated by ChatGPT 5