Олимпиадный тренинг

Задача 38269. Dad, I'm a physicist!


Theory of Relativity — thing is complicated. This is Maxim, the seven-year-old son of a famous physicist, he has known for a long time. From his father's explanations, Maxim realized that the light — it's the fastest thing in the world. And if it seems that something is still faster than light, then in fact it is moving at a speed equal to the speed of light — 299 792 458 m/s.

So on the way to the sea, running away on the Moscow-Adler train from something very dissatisfied with dad, Maxim did not think at all about what exactly he would receive now and whether it could have been somehow prevented. He was worried about one thing: how fast is his dad running relative to the Earth, given the theory of relativity? The train travels from Moscow to Adler at a speed of v m/s, and dad runs after Maxim towards the head of the train at a speed of u m/s relative to the train.

Input
Given two numbers v and u — the speed of the train relative to the Earth and the speed of Pope Maxim relative to the train, respectively. Both speeds are non-negative and do not exceed the speed of light (299 792 458 m/s).

Imprint
Print one number — the speed of Pope Maxim relative to the Earth, found taking into account Maxim's ideas about the theory of relativity.
Examples
# Input Output
1 120 35 155
2 149896229 149896230 299792458