Graderpractice for programmers

Back to 254271 Fun (2562 Sec 1&2) - Mini Test 1

B. Whole numbers between reals

Problem

Read in two real numbers (type double). Print out every integer in between (exclusive) in ascending order.

Hint: you can use Math.floor(1.23) to get 1.0 and Math.ceil(1.23) to get 2.0.

Examples

Input

-1.5
7.25

Output

-1 0 1 2 3 4 5 6 7

Input

8.333
3.0

Output

4 5 6 7 8

Submit your solution

java