114962024-10-13 06:28:44ncsKiváló Számokpython3Belső hiba
n = int(input())
if n == 1:
    print(-1)
elif n % 3 == 0:
    print('1' * n)
elif n % 3 == 1:
    print('1' * (n - 2) + '55')
else:
    print('1' * (n - 1) + '5')

print('test an already accepted solution (9687)')