Design a data-structure** SpecialStack **(using the STL of stack)** **that supports all the stack operations like push(), pop(), isEmpty(), isFull() and an additional operation getMin() which should return minimum element from the SpecialStack. Your task is to complete all the functions, using stack data-Structure.

**Input:**

The first line of input contains an integer denoting the no of test cases. Then T test cases follow. Each test case contains two lines. The first line of input contains an integer n denoting the number of integers in a sequence. In the second line are n space separated integers of the stack.

**Output:**

Single line output. Print the minimum integer from the stack in respective line.

**Constraints:**

1<=T<=100

1<=N<=100

**Example:
Input:**

1

5

18 19 29 15 16

15

just_kiddin | 48 |

Paras Chadha | 47 |

chaitanyaanimesh | 46 |

Jihye Sofia Seo | 44 |

Anshu Ahirwar | 44 |

gameghost07 | 488 |

xyz2017 | 460 |

N NAGA SAI KRISHNA | 445 |

Anshu Ahirwar | 419 |

Divyasri | 408 |

akhayrutdinov | 3371 |

sanjay05 | 3239 |

Jasleen Kaur 2 | 2012 |

Elite Coder | 1803 |

Michael Riegger | 1788 |