CodeLab Academy 📞 9936 6696
← List Python · Level 3: Conditions (if) Code · 30 points ← #226 #228 →

#227. King move

Print `Yes` if a chess king can go from (x1, y1) to (x2, y2) in one move, otherwise `No` (the squares are different). ### Input One line: x1 y1 x2 y2 (1-8). ### Output `Yes` or `No`.

Examples

Input
1 1 2 1
Output
Yes
Input
4 4 4 6
Output
No

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!