# Define the "hc" sequence
hc = [1000, 2000, 2500, 3000, 4000, 5000]
# Define the age groups and corresponding selection of values
age1 = [100, 200, 250, 300, 400, 500]
age2 = [110, 220, 275, 330, 440, 550]
age3 = [130, 260, 325, 390, 520, 650]
age4 = [150, 300, 375, 450, 520, 750]
age5 = [200, 400, 500, 600, 800, 1000]
# Display the selections by pairs with age1 to age5
print("Male:")
for i in range(len(age1)):
print(hc[i], age1[i], age2[i], age3[i], age4[i], age5[i])
print("Female:")
for i in range(len(age1)):
print(hc[i], age1[i]//5, age2[i]//5, age3[i]//5, age4[i]//5, age5[i]//5)
out put
Male:
1000 100 110 130 150 200
2000 200 220 260 300 400
2500 250 275 325 375 500
3000 300 330 390 450 600
4000 400 440 520 520 800
5000 500 550 650 750 1000
Female:
1000 20 22 26 30 40
2000 40 44 52 60 80
2500 50 55 65 75 100
3000 60 66 78 90 120
4000 80 88 104 120 160
5000 100 110 130 150 200