From a4fb8c242300479df9dd4cc714b12e28529258f1 Mon Sep 17 00:00:00 2001 From: songyc macbook Date: Mon, 30 Mar 2026 22:27:54 +0900 Subject: [PATCH] baekjoon 20260330 --- code_study/Baekjoon/python/2997.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 code_study/Baekjoon/python/2997.py diff --git a/code_study/Baekjoon/python/2997.py b/code_study/Baekjoon/python/2997.py new file mode 100644 index 0000000..dab6224 --- /dev/null +++ b/code_study/Baekjoon/python/2997.py @@ -0,0 +1 @@ +print((lambda a, b, c : c + (c - b) if a+c == 2*b else (a + c) - b)(*sorted(list(map(int, input().split()))))) \ No newline at end of file