Positive and Negative Numbers
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Given three integers a, b, and c, determine if there is at least one positive number and at least one negative number among them. If so, print YES; otherwise, print NO.
Input
Three integers a, b, and c provided on a single line, separated by spaces.
Output
Print YES if the condition is met, otherwise print NO.
Examples
Input #1
Answer #1
Submissions 11K
Acceptance rate 44%