✎ 0-4. Positive or Negative
You are given two nonzero real numbers expressed in scientific notation. You'll need to write a program to determine whether the product is positive or negative.
Input
Two numbers .
Output
Output positive
if their product is positive, or negative
otherwise.
Technical Specification
- .
- Both numbers will be in the form "
e
", or simply "" if the exponent part is zero. - The coefficient is a floating number with at most four digits after the decimal, and .
- The exponent will be an integer in the range , it may or may not have a plus sign.
Sample Input 1
1.0001e+333 8.514e2668
Sample Output 1
positive
Sample Input 2
-3.333e-5 -3.333e-6
Sample Output 2
positive