Hide

Problem A
Counting Slowly

Write a program that takes as input an integer $n$, and counts from $1$ to $n$, but with the word Mississippi added after each number.

Input

Input consists of one line containing the integer $n$, where $0 \leq n \leq 100$.

Output

Output consists of $n$ lines containing one integer, the current count for that line, followed by a space and then the word Mississippi.

Sample Input 1 Sample Output 1
0
Sample Input 2 Sample Output 2
1
1 Mississippi
Sample Input 3 Sample Output 3
3
1 Mississippi
2 Mississippi
3 Mississippi
Sample Input 4 Sample Output 4
5
1 Mississippi
2 Mississippi
3 Mississippi
4 Mississippi
5 Mississippi
Sample Input 5 Sample Output 5
42
1 Mississippi
2 Mississippi
3 Mississippi
4 Mississippi
5 Mississippi
6 Mississippi
7 Mississippi
8 Mississippi
9 Mississippi
10 Mississippi
11 Mississippi
12 Mississippi
13 Mississippi
14 Mississippi
15 Mississippi
16 Mississippi
17 Mississippi
18 Mississippi
19 Mississippi
20 Mississippi
21 Mississippi
22 Mississippi
23 Mississippi
24 Mississippi
25 Mississippi
26 Mississippi
27 Mississippi
28 Mississippi
29 Mississippi
30 Mississippi
31 Mississippi
32 Mississippi
33 Mississippi
34 Mississippi
35 Mississippi
36 Mississippi
37 Mississippi
38 Mississippi
39 Mississippi
40 Mississippi
41 Mississippi
42 Mississippi

Please log in to submit a solution to this problem

Log in