#Z13208. 点和正方形的关系

点和正方形的关系

Description

There is a square with the coordinates (x, y) of its four corners being (1, -1), (1, 1), (-1, -1), and (-1, 1), where x is the horizontal axis and y is the vertical axis. Write a program to determine whether a given point lies inside this square (including the boundary).

If the point is inside the square, output yes; otherwise, output no.

Input Format

The input consists of one line containing two integers, x and y, separated by a space, representing the coordinates (x, y).

Output Format

Output one line. If the point is inside the square, output yes; otherwise, output no.

Example Code

x, y = map(int, input().split())
if -1 <= x <= 1 and -1 <= y <= 1:
    print("yes")
else:
    print("no")
1 1

yes