Numbers in an interval. X70783


Statement
 

pdf   zip

Write a program that reads two numbers aa and bb (with a≤ba \leq b), and prints all numbers between aa and bb.

Input

The input consists of two natural numbers aa and bb such that a≤ba \leq b.

Output

Print a line (terminated by a newline) containing the numbers a,a+1,…,b−1,ba, a+1, \ldots, 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