14393 - Yorishige's Advanced Challenge   

Description

Suwa Yorishige, excited by Tokiyuki's success in solving the assignment, decided to give him a more challenging task. Unsurprisingly, Tokiyuki couldn't solve it on his own and came back to seek your help.


Given two points P(x, y1) and Q(x, y2) on a plane, output the slopes between each point and the origin O(0, 0).
If the slopes of the two points are the same, output "yes"; otherwise, output "no".

Input

The first line contains two integers x, y.
The second line contains two integers x, y.

Constraints

  • x1, x2 ≠ 0, -10≤ x1, x2, y1, y2 ≤ 109.

Output

The first line outputs two floating-point numbers representing the slopes of P and Q with respect to O, separated by a space, rounded to three decimal places.  
The second line outputs whether the slopes of the two points are the same. If they are the same, output "yes"; otherwise, output "no".

 

Please remember to print "\n" at the end.

Sample Input  Download

Sample Output  Download

Tags




Discuss