a = int(input('nhap so: '))
ds =[]
for v in range(a):
    so = int(input('nhap so ptu: '))
    ds.append(so)
print('day so vua nhap la: ',ds)




b = sorted(ds, reverse = True)
print("Sap xep day so giam dan : ", b)

tudien = {
    11 : '000 1011',
    12 : '000 1100',
    13 : '000 1101',
    14 : '000 1110'
}
# # while True:
#     # c = int(input('nhap so:'))
# for d in range(a):
#         # so = int(input('nhap phan tu:'))
#         ds.append(so)
#         n = int(a**0.5)
#         if (so) == n*n:
#             print(' la so chinh phuong: ',so)
#         else:    
#             print('khong la so chinh phuong: ',so)











