Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
7.38
daniil-vlasenko
Jul 19th, 2019
116
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
n = 0
x = int(input())
m = x
if x < 100:
n += 1
while x != 0:
x = int(input())
if x < 100 and x != 0:
n += 1
if x > m:
m = x
if n > 0:
print('YES', m)
else:
print('NO', m)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
BIP32
2 hours ago | 0.35 KB
OoT rando seed 12/2
3 hours ago | 109.60 KB
Change your mindset
6 hours ago | 0.08 KB
Untitled
7 hours ago | 0.52 KB
P4IGNORE for Unreal Development
8 hours ago | 2.10 KB
Untitled
8 hours ago | 13.08 KB
Matthew Quote
8 hours ago | 0.18 KB
Input_AOC
12 hours ago | 18.01 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!