118842024-11-15 15:14:19DianaTaylorKiváló Számokpypy3Accepted 100/10048ms23188 KiB
N = int(input())
sz = ''
if N == 1:
    print(-1)
elif N%2 == 1:
    sz = '111'
    N -= 3
sz += '15'*(N//2)
print(sz)
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted39ms19408 KiB
subtask233/33
2Accepted43ms19272 KiB
3Accepted45ms19460 KiB
4Accepted41ms19436 KiB
5Accepted39ms19388 KiB
6Accepted41ms19232 KiB
7Accepted43ms19432 KiB
8Accepted37ms19436 KiB
subtask333/33
9Accepted45ms20292 KiB
10Accepted41ms21204 KiB
11Accepted46ms21672 KiB
12Accepted41ms21188 KiB
13Accepted41ms21212 KiB
14Accepted45ms20284 KiB
15Accepted39ms20032 KiB
16Accepted39ms20060 KiB
17Accepted41ms20716 KiB
18Accepted46ms21560 KiB
19Accepted39ms19948 KiB
20Accepted48ms22100 KiB
subtask434/34
21Accepted43ms23188 KiB
22Accepted45ms19904 KiB
23Accepted48ms23004 KiB
24Accepted43ms23128 KiB
25Accepted48ms22256 KiB
26Accepted41ms21008 KiB
27Accepted48ms22548 KiB
28Accepted41ms21996 KiB
29Accepted39ms19696 KiB
30Accepted39ms21484 KiB
31Accepted46ms21704 KiB
32Accepted43ms19352 KiB
33Accepted45ms19780 KiB