Created
October 7, 2022 08:52
-
-
Save modos/3bd17e2b00fc5596e437a293fe561e88 to your computer and use it in GitHub Desktop.
تعمیر دیوار
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x, y = input().split() | |
n = int(input()) | |
dx, dy = input().split() | |
fx = int(x) + n | |
fy = int(y) - n | |
if int(x) <= int(dx) <= int(fx) and int(y) >= int(dy) >= int(fy): | |
print("Mahdi") | |
else: | |
print("Parsa") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment