Even

4

1 votes
Easy
Problem

Lina has two numbers a and b. She wants you to print all even numbers from a and b, including a and b. That is, if they’re even.

INPUT FORMAT

Input begins with an integer N indicating how many a and b pairs follow. Succeeding lines are pairs of integers a and b, separated by a space.

OUTPUT FORMAT

For each pair, display all even numbers from a and b, inclusive. Separate each with a single space. Printed even numbers for every pair must be in its own line.

CONSTRAINTS

1 <= N <= 100
1 <= a <= 50
51 <= b <= 100

Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?