# temperature=35
# if temperature>30:
# 	print("It's a hot day")
# else:
# 	print("It's not a hot day")

# name='Aayush'
# if len(name)<3:
# 		print("Name must be at least 3 characters")
# elif len(name)>50:
# 		print("Name must be a maximum of 50 characters.")
# else:
# 		print("Name looks good!")


# for x in range(2,5,8):
#   print(x)


# print("geeks", end =" ") 
# print("geeksforgeeks")

# print('First line \n Second line')

# countries=['nepal','india','china','japan','thailand','america']
# for country in countries:
# 	if country=='nepal':
# 		print('Jai Nepal')
# 	else:
# 		print('Namaste')

# i=1
# while i<=5:
# 	print('*' * i)
# 	i=i+1
# print("Done")

# i=1
# while i<6:
# 	print(i)
# 	i+=1

for num in range(1,4):
	for letter in 'abc':
		print(num,letter)

