# for x in range(4):
#     for y in range(3):
#         print(f"({x}, {y})")

# solved using one loop
# numbers = [5,2,5,2,2]
# for number in numbers:
#         print ('x' * number)

# nested loop solution
# numbers = [5,2,5,2,2]
# for number in numbers:
#     output = ''
#     for count in range(number):
#         output += 'x'
#     print(output)

# nested loop solution
numbers = [1,1,1,5]
for number in numbers:
    output = ''
    for count in range(number):
        output += 'x'
    print(output)

 