#CCBCHBA0000012. Six Odd Numbers (Six Odd Numbers)
Six Odd Numbers (Six Odd Numbers)
Six Odd Numbers
Source: beecrowd
Version: Phuoc Hung OJ Extended
Problem Statement
Given integer x, print exactly six consecutive odd numbers, starting at x if odd or the next odd number if x is even. Print one per line.
Input
One integer x.
Output
Exactly six lines, one odd integer per line.
Subtasks
- Subtask 1 (20%): (PHOJ Extended).
- Subtask 2 (30%): (PHOJ Extended).
- Subtask 3 (50%): (PHOJ Extended).
Examples
Example 1
Input
8
Output
9
11
13
15
17
19
Explanation
8 is even, so start at 9 and add 2 five more times.
Example 2
Input
5
Output
5
7
9
11
13
15
Explanation
5 is odd, so it is included as the first value.