1094 寻找幸运数


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

给定三个整数(0≤A1,A2,A3≤10000),请找出第一个不大于168的数。 如果存在该数,输出"CRASH"并空一格输出该数,否则输出"NO CRASH"。 遇到A1=A2=A3=-1则运行结束。

Sample

Input

180 160 170
169 170 200
-1 -1 -1

Output

CRASH 160
NO CRASH

Comments

There are no comments at the moment.