From 737380e6f0f2b62271e1735797cea62884b5ef73 Mon Sep 17 00:00:00 2001 From: Jethro Stapelbroek Date: Fri, 13 May 2022 21:37:46 +0200 Subject: [PATCH] R2 --- r2.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 r2.py diff --git a/r2.py b/r2.py new file mode 100644 index 0000000..f63bc35 --- /dev/null +++ b/r2.py @@ -0,0 +1,7 @@ +import sys + +r1, s = sys.stdin.readline().split(' ') +r1 = int(r1) +s = int(s) + +print(s*2 - r1)