Result

AC

Duration

518ms

Code [DL]

<?php
for($m=F;$i=readline();)echo$m>$i?$i/$m=$i:0;

stdin

31
77
21
44
14
92
52
82
62
19
15
87
75
24
41
95
53
91
55
45
11
13
48
69
33
81
10
26
94
47
32
73
39
58
35
66
63
86
97
29
72
57
67
70
38
83
89
16
99
18

stdout

10101000000000000000100000100000000000000000000000

stderr

PHP Warning:  Use of undefined constant F - assumed 'F' (this will throw an Error in a future version of PHP) in /volume/CODE on line 2

strace