SP4523 UCI2009B - Binomial Coefficients

Description

We all got too excited when we learned (A + B)^2 = A^2 + 2AB + B^2. After solving this problem, maybe you could get even more excited because you will have to calculate (A + B)^N, where (0

Input Format

Input starts with an integer T, representing the number of test cases (1

Output Format

For each test case, print (A + B)^N, on a single line.