eolymp
bolt
Try our new interface for solving problems
Problems

Which quarter?

Which quarter?

Time limit 0.5 seconds
Memory limit 64 MiB

It set a point with co-ordinates х and y. Define, in what co-ordinate quarter it is located.

Input data

In a unique line through a blank 2 material numbers - co-ordinates of a point are set, value of co-ordinates on the module do not exceed 100.

Output data

The singular is the number of a corresponding quarter, or 0 if unequivocally define a quarter it is impossible.

Examples

Input example #1
12.5 30.0
Output example #1
1
Source SFE-2010 Variant 18