Yo`nalishlar
Hozirda online

Statistika

Masalalar soni: 909

Foydalanuvchilar soni: 8824

Jo'natishlar soni: 714622

Muhokama yozuvlari: 4541

Yangiliklar soni: 98

Yangiliklar izohlari: 1177


So'ngi izohlar

719. The point on the interval
Vaqt limiti: 1 sekund
Xotira limiti: 64 MB

The segment is given by the coordinates of its endpoints: M(x1y1) and N(x2y2). Find the coordinates of O(xy), which divides it in ratio α.

   Input

   In a single line x1,y1,x2,y2 coordinates of segment endpoints and the number α are given(0< α<100). All coordinates do not exceed 1000 by the absolute value.

   Output

   Print in one line the coordinates x and y of the desired point, separated with one space. Print the result with two digits after the decimal point.

Samples

Input

Output

1

2.0 1 8 4 0.5

4.00 2.00

 

Tayyorladi: Azat Yusupov
Text from: e-olimp.com
Mening urinishlarim(0) Muhokama (0) Jo'natish Eng yaxshi yechimlar Barcha muvaffaqiyatli urinishlar(49) Barcha urinishlar(72)