Module: (Python) Workshop-2 "Chess and chess players". Conditional operator


Problem

9 /13


Two rooks

Problem

Willy was tired of chess and again decided to program. Now he wants to write a program that receives 4 numbers as input: the first two numbers are the coordinates of the first rook (vertical and horizontal numbers), the second two numbers are the coordinates of the second rook. And prints "x" if the rooks can take each other and "no" if they can't take

Example 1
Input

2 2
2 8
Output
x

Example 2
Input

1 2
2 8
Output
no