eolymp
bolt
Try our new interface for solving problems
Problems

Equation of the line I

Equation of the line I

Find the coefficients of the general equation line. \InputFile Four numbers - the coordinates of two different points on the line. All input data are integers not exceeding modulo \textbf{10000}. \OutputFile Three integers - the coefficients \textbf{A}, \textbf{B} and \textbf{C}, the normal equation of this line.
Time limit 1 second
Memory limit 64 MiB
Input example #1
1 2 3 1
Output example #1
-1 -2 5