You have the coordinates of two knights on a chessboard. Find out whether they can beat each other.
Input data format
Four integer numbers .
Output data format
Type "YES" (uppercase) if they beat each other and "NO" if they don't.
You may need a method that calculates the absolute value of a number:
import kotlin.math.*
println(abs(-5)) // 5