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