Result

AC

Duration

559ms

Code [DL]

<?php
for($x=A;$a=readline();)echo+($x>$a&&$x=$a);

stdin

77
75
59
79
10
88
91
39
64
69
96
98
15
80
92
21
82
17
13
70
30
43
49
63
57
22
48
34
44
73
46
45
90
19
86
93
29
42
12
25
41
18
74
47
11
83
54
65
28
97

stdout

11101000000000000000000000000000000000000000000000

stderr

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

strace