a=['q','n','r']
b=[[1,2,3,4],[5,6,7,8],[9,10,11,12]]
i=0
user=input('enter the number')
while i<len(a):
	if a[i]==user:
		print(b[i])
	i=i+1
# if user will give q op- [1,2,3,4]
# if usr will give r op- 
[9,10,11,12]