Numbers in an interval

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

Input

Input consists of two natural numbers aa and bb.

Output

Print a line with a,a+1,,b1,ba,a+1,\dots,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