Problem2205--Counting in English

2205: Counting in English

Time Limit: 2 Sec  Memory Limit: 64 MB
Submit: 9  Solved: 7
[Submit] [Status] [Web Board] [Creator:]

Description

Given two positive integers a and b, count from a to b, in English.

Input

The first line contains t (1<=t<=10), the number of test cases followed. Each line contains two strings a
and b(1<=a<=b<=10), in lowercase.

Output

For each test case, count from a to b in a single line. Each two consecutive words should be separated
by a single space. Every English word must be in lowercase.

Sample Input Copy

3
one four
five nine
ten ten

Sample Output Copy

one two three four
five six seven eight nine
ten

Source/Category