eolymp
bolt
Try our new interface for solving problems
Problems

Which quarter?

Which quarter?

It set a point with co-ordinates \textbf{х} and \textbf{y}. Define, in what co-ordinate quarter it is located. \InputFile In a unique line through a blank \textbf{2} material numbers - co-ordinates of a point are set, value of co-ordinates on the module do not exceed \textbf{100}. \OutputFile The singular is the number of a corresponding quarter, or \textbf{0} if unequivocally define a quarter it is impossible.
Time limit 0.5 seconds
Memory limit 64 MiB
Input example #1
12.5 30.0
Output example #1
1
Source SFE-2010 Variant 18