I'm writing a short program to take ten numbers and reprint them as a list but replacing those below a certain amount with zero. First, 'input' isn't working and prompting me to give the numbers. Second I'm getting 'TypeError: 'int' object not iterable' for the second 'for' loop in the main function. Any ideas?

```
amx = []

def validamount(amount, limit):
    if amount >= limit:
        return amount
    else:
        return 0

def main():
    for i in 10:
        amx.append(int(input()))
    for i in 10:
        print(validamount(amx[i], 5))

main()

```