Numbers in an interval

Write a program that reads two numbers a and b, and prints all numbers
between a and b.

Input

Input consists of two natural numbers a and b.

Output

Print a line with a, a + 1, …, b − 1, b. Separate the numbers with
commas.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T12:13:52.687Z

© Jutge.org, 2006–2026.
https://jutge.org
