Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Kattis2
- {
- class Program
- {
- static void Main(string[] args)
- {
- var input = Console.ReadLine().Split(" ");
- var r1 = int.Parse(input[0]);
- var s = int.Parse(input[1]);
- Console.WriteLine((2 * s) - r1);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement