Module: cycles. Loop with parameter (for)


Problem

13 /17


All odd numbers on the segment

Problem

Given two integers A and B. It is necessary to print all the odd numbers on the segment from A to B
Input: Two integers A and B are input to the program. (\(A \leq B\)), one per line
Output: output all the odd numbers on a given interval with a space

Example
Input Output
1 1
10
1 3 5 7 9

Please note: you cannot use the conditional if statement in this task.