#P5712. 【深基3.例4】Apples

【深基3.例4】Apples

Apples

Problem Source

Luogu P5712

Problem Description

Little B loves eating apples. Today she ate xx apples. Having just learned the word "apple" in English class, she wants to make a sentence with it: if she ate exactly 11 apple, output Today, I ate 1 apple.; if she ate none, replace the 11 with 00; 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 xx: 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 00 or 11 apple output apple; for 22 or more output apples — use an if to 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, 0≤x≤1000\le x \le 100.