Problem B: Apples

Problem B: Apples

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

贝利亚吃掉了x(1≤x≤100)个苹果。英语课上学到了apple这个词语,想用它来造句。

如果她吃了1个苹果,就输出Today, I ate 1 apple.

如果她吃了不止一个苹果,别忘了apple这个单词后面要加上代表复数的s。你能帮她完成这个句子吗?

如果她吃了2个苹果,就输出Today, I ate 2 apples.

如果她吃了3个苹果,就输出Today, I ate 3 apples.

#include <iostream>
using namespace std;
int main() {
    int x;
    cin >> x;
    cout << "Today, I ate " << x << " apple";
    if (______) { 
        ________________
    }
    cout << "." << endl;
    return 0;
}


Sample Input Copy

1

Sample Output Copy

Today, I ate 1 apple.