Given two non-zero vectors, your task is to compute the following:
The lengths of the first and second vectors (two separate numbers).
The vector resulting from the addition of the two given vectors.
The scalar (dot) product and the vector (cross) product of the given vectors.
The area of the triangle formed by these vectors.
The input consists of two lines. The first line contains four integers representing the coordinates of the start and end points of the first vector. The second line contains four integers representing the coordinates of the start and end points of the second vector. Each integer does not exceed in absolute value.
For each task item, output the result on a new line, ensuring a precision of at least 10^{-6}.
Beispiel 1