๐ฆฅ ์ฝํ
/BAEKJOON
[v.๊ธฐ๋ณธ ์ํ 2-๋ค ๋ฒ์งธ ์ .3009]BAEKJOON_Python
์ง์ง์ํ์นด
2022. 1. 11. 18:29
728x90
๋ฐ์ํ
220111 ์์ฑ
<๋ณธ ๋ธ๋ก๊ทธ๋ BAEKJOON ์ ์ฐธ๊ณ ํด์ ์ ๋ง์ ํ์ด๋ฅผ ์์ฑํ์์ต๋๋ค>
3009
์ธ ์ ์ด ์ฃผ์ด์ก์ ๋, ์ถ์ ํํํ ์ง์ฌ๊ฐํ์ ๋ง๋ค๊ธฐ ์ํด์ ํ์ํ ๋ค ๋ฒ์งธ ์ ์ ์ฐพ๋ ํ๋ก๊ทธ๋จ
๋ด ํ์ด
a, b = map(int, input().split())
c, d = map(int, input().split())
e, f = map(int, input().split())
x = int(0)
y = int(0)
if a == c :
x = e
elif a == e :
x = c
else :
x = a
if b == d :
y = f
elif b == f:
y = d
else :
y = b
print(x, y)
๋ด ์ถ๋ ฅ
5 5
5 7
7 5
7 7
๋ ์ด๋ฐ๊ฑฐ
๊ฐ๋จํ๊ฑฐ ์ข์ํด
728x90
๋ฐ์ํ