Pell numbers are numbers that are similar to the Fibonacci numbers and are generated by below formula

P_{n} = 2*P_{n-1} + P_{n-2}

with seeds P_{0} = 0 and P_{1} = 1

Your task is to print Nth pell number.

**Input:**

First line consists of T test cases. Only line of every test case consists of N.

**Output:**

Single line output, print the Nth pell number.

**Constraints:**

1<=T<=100

1<=N<=100

**Example:
Input:**

1

4

12

All Is Well | 148 |

ioan | 123 |

praveen2809 | 114 |

Diplav Srivastava | 105 |

Srinivas Chakravarth | 91 |

Lam Ngoc Pham | 405 |

Divvya Sinha | 352 |

All Is Well | 337 |

skull tone | 310 |

KM SUNITA | 301 |

akhayrutdinov | 3798 |

sanjay05 | 3366 |

Jasleen Kaur 2 | 2012 |

Michael Riegger | 2001 |

Quandray | 1931 |