Given a number n, find the n-th term in the series 1, 3, 6, 10, 15, 21…

**Input:**

The first line of input contains an integer T denoting the number of testcases. T test cases follow. Each test case contains an integer n.

**Output: **

Print the nth term

**Constraints:**

1<=T<=100

1<=n<=1000

**Examples:**

**Input:**

2

3

4

**Output:**

6

10

Author: Soul_xhacker

Anshul Wadhawan | 280 |

NoobNoob | 203 |

aild78 | 190 |

Shivam_Kumar_Singh | 183 |

stevecooper | 183 |

rambo | 868 |

Anshul Wadhawan | 740 |

Calahan | 677 |

fullmetal27 | 675 |

ks75 | 657 |

akhayrutdinov | 4698 |

Ibrahim Nash | 3664 |

sanjay05 | 3633 |

Quandray | 3491 |

surbhi_7 | 2748 |