You are the principal of the Cake school in chefland and today is your birthday. You want to treat each of the children with a small cupcake which is made by you. But there is a problem, You don't know how many students are present today.
The students have gathered of the morning assembly in $R$ rows and $C$ columns. Now you have to calculate how many cakes you have to make such that each child gets a cupcake. 

-----Input:-----
- First-line will contain $T$, the number of test cases. Then the test cases follow. 
- Each test case contains a single line of input, two integers $R$ and $C$. 

-----Output:-----
For each test case, output number of cupcakes you have to make.

-----Constraints-----
- $1 \leq T \leq 1000$
- $2 \leq R,C \leq 10^6$

-----Sample Input:-----
1
5 10

-----Sample Output:-----
50

Starter code:

Solutions:
# cook your dish here
for _ in range(int(input())):
    n=list(map(int,input().split()))
    print(n[0]*n[1])


t=int(input())

for t1 in range(t):
	r,c=map(int,input().split())
	print(r*c)

# cook your dish here
t=int(input())
for _ in range(t):
    R, C = map(int,input().split())
    ans = R*C 
    print(ans)

# cook your dish here
t=int(input())
for i in range(t):
    l=list(map(int,input().split()))
    r=l[0]
    c=l[1]
    print(r*c)


# cook your dish here
for i in range(int(input())):
    r,c = list(map(int,input().split()))
    print(r*c)



# cook your dish here
t=int(input())
for _ in range(t):
    r,c=map(int,input().split())
    print(r*c)

# cook your dish here
for t in range (int(input())):
    r, c = map(int, input().split())
    print(r * c)

for _ in range(int(input())):
    a,b=map(int,input().split())
    print(a*b)

for i in range(int(input())):
    r, c = map(int, input().split())
    print(r*c)

n = int(input())
for tc in range(n):
    a,b = [int(x) for x in input().split()]
    print(a*b)

# cook your dish here
try:
    n = int(input())
    for i in range(n):
        r ,c  = input().split()
        print(int(r)*int(c))
except:
    pass

for i in range(int(input())):
    r,c = map(int,input().split())
    print(r * c)

n = int(input())
while(n!=0):
    a,b = map(int, input().split(" "))
    print(a*b)
    n-=1

# cook your dish here
for _ in range(int(input())):
    m,n=map(int,input().split())
    print(m*n)

# cook your dish here
t = int(input())
while t>0:
    r,c = map(int, input().split())
    print(r*c)
    t-=1

''' PROBLEM A  '''


    

'''   PROBLEM B   '''



'''   PROBLEM C   '''




'''   PROBLEM D    '''


n=int(input())
for i in range(0,n):
    p=input().rstrip().split(' ')
    print(int(p[0]) * int(p[1]))

t = int(input())
while t > 0:
	t -= 1
	m, n = list(map(int, input().split()))
	print(m * n)


# cook your dish here
t=int(input())
for i in range(0,t):
    n,k=map(int, input().split())
    print(n*k)

# cook your dish here
t=int(input())
for i in range(t):
    n,r= list(map(int, input().split()))
    print(n*r)


t=int(input())
for i in range(t):
    r,c = map(int, input().split()) 
    print(c*r)

t=int(input())
for i in range(t):
    r,c = map(int, input().split()) 
    print(int(c)*int(r))

# cook your dish here
t=int(input())
while t>0:
    a,b=map(int,input().split())
    print(a*b)
    t-=1

# cook your dish here
t=int(input())
while t>0:
    n,m=list(map(int,input().split()))
    print(n*m)
    t-=1


# cook your dish here
n=int(input())
while(n>0):
 n=n-1
 P,K=map(int,input().split())
 print(P*K)