#P5712. 【深基3.例4】Apples
【深基3.例4】Apples
Apples
Problem Source
Luogu P5712
Problem Description
Little B loves eating apples. Today she ate apples. Having just learned the word "apple" in English class, she wants to make a sentence with it: if she ate exactly apple, output Today, I ate 1 apple.; if she ate none, replace the with ; if she ate more than one, don't forget to add the plural s after the word apple. Can you help her finish the sentence?
Input Format
The input is one line containing a natural number : the number of apples eaten.
Output Format
Output as required by the problem.
Sample Input 1
1
Sample Output 1
Today, I ate 1 apple.
Sample Input 2
3
Sample Output 2
Today, I ate 3 apples.
Hint
- For or apple output
apple; for or more outputapples— use anifto branch. - The punctuation and spaces must be exact: look at
Today, I ate 3 apples.character by character. - Check against the samples:
1→Today, I ate 1 apple.;3→Today, I ate 3 apples.
For all data, .