n=int(input("enter the number of movies"))movie=[]actor=[]foriinrange(n):a=input("enter movie name")movie.append(a)b=input("enter respective actor name")actor.append(b)print(movie)print(actor)c=input("enter the movie you want to retrieve")d=1foriinrange(n):if(c==movie[i]):print(c)print(actor[i])d=d+1if(d==1):print("movie not found")