**Compilation/Execution Result:**

Your friend loves magic and he has coined a new term - "**Magical number**". To perform his magic, he needs that Magic number. There are N number of people in the magic show, seated according to their ages in an ascending order. Magical number is that seat no. where the person has the same age as that of the given seat number.

Help your friend in finding out that "Magical number"

**Input:**

The first line of input contains an integer T denoting the number of test cases.

The first line of each test case is N, size of an array.

The second line of each test case contains N input A[].

**Output:**

Print **"Magical Number"**

Print **"-1"** when index value does not match with value.

**Constraints:**

1 ≤ T ≤ 100

1 ≤ N ≤ 1000

-1000 ≤ A[i] ≤ 1000

**Example:
Input:**

1

10

-10 -1 0 3 10 11 30 50 100

**Output:**

3

Author: Mohit Gupta 4

Pulkit Gupta 2 | 171 |

Relentless | 158 |

Ibrahim Nash | 146 |

Sahil_Bansall | 121 |

lets_have_a_break! | 120 |

Ibrahim Nash | 654 |

KartikAgarwal | 545 |

rs119574 | 371 |

Little Noah | 367 |

surbhi_7 | 356 |

akhayrutdinov | 4267 |

sanjay05 | 3633 |

Ibrahim Nash | 3214 |

Quandray | 3044 |

Michael Riegger | 2359 |