A Charming Girl Was given Bouquet with Red Flowers and one White Rose. Red Roses are Numbered as follows 2 2 4 8 16 512....... Identify the White Rose of the series for given Red Roses. Input Format First line consists of Q queries. Each of the next Q lines contain a number N which represents the Nth term of the series. Constraints 1<=Q<=50 1<=N<=12 Output Format Output the Nth term of the series.
You must be signed in to leave a comment
This page doesn't have any comments yet