**Compilation/Execution Result:**

16.76%

You will be given a number N. Your task is to find sum of Fifth powers of the first N natural numbers 1^{5} + 2^{5}+ 3^{5} + 4^{5}+ …….+ N^{5} till N-th term.

**Input:**

The first line of the input contains a single integer T, denoting the number of test cases. Then T test case follows, a single line of the input containing a positive integer N.

**Output:**

For each test-case, print sum of Fifth powers of the first N natural numbers 1^{5} + 2^{5}+ 3^{5} + 4^{5}+ …….+ N^{5} till N-th term.

**Constraints:**

1<=T<=100

1<=N<=1000

**Example:**

**Input:**

3

1

2

3

**Output:**

1

33

276

**Explanation:**

For testcase 2: The first 2 natural numbers are 1 and 2. So 1^{5}+2^{5}=1+32=33

Author: Soul_xhacker

Pulkit Gupta 2 | 130 |

Relentless | 124 |

Ibrahim Nash | 94 |

nancygarg258_pec | 90 |

darkswordsman | 90 |

Ibrahim Nash | 602 |

KartikAgarwal | 541 |

rs119574 | 371 |

surbhi_7 | 356 |

Little Noah | 335 |

akhayrutdinov | 4261 |

sanjay05 | 3633 |

Ibrahim Nash | 3162 |

Quandray | 3028 |

Michael Riegger | 2359 |