# -*- coding: utf-8 -*-
"""
Created on Mon Jul 30 09:47:28 2018

@author: Prakhar Tripathi
"""

def ls(linea):
    x=int(input('item to be searched='))
    for i in range(e):
        if x==i:
           print(l.index(x))
           print(l.index(x,x))
           break
        if x!=i:
            print('Gotcha')
           
t=int(input('Size=='))
l=[] 
for y in range(t):
    e=int(input('elements='))
    l.append(e)
ls(l)      
           
            