Numbers in an interval. X70783


Statement
 

pdf   zip

html

Write a program that reads two numbers a and b (with ab), and prints all numbers between a and b.

Input

The input consists of two natural numbers a and b such that ab.

Output

Print a line (terminated by a newline) containing the numbers a, a+1, …, b−1, b. Separate the numbers with commas.

Observation

Public test cases
  • Input

    15 21
    

    Output

    15,16,17,18,19,20,21
    
  • Input

    7 7
    

    Output

    7
    
  • Information
    Author
    Hubie Chen
    Language
    English
    Official solutions
    Java
    User solutions
    Java