Problem2773--五的代替

2773: 五的代替

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 108  Solved: 95
[Status] [Submit] [Creator:]

Description

从小到大输出 1 到 n,但是 5 的倍数得用字符串 "bingo" 代替。  

Input

一个整数 n(1 ≤ n ≤ 1000)。  

Output

输出共 n 行,依次输出 1 到 n,但是 5 的倍数得用字符串 "bingo" 代替。  

Sample Input Copy

16

Sample Output Copy

1
2
3
4
bingo
6
7
8
9
bingo
11
12
13
14
bingo
16

Source/Category