Nathan Coulas

CCC '13 J1 - Next in line

ccc13j1 JAVA8 04 Nov, 2019 1.432s 3 points

Source Code

import java.io.*;
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int d = b - a;
        System.out.println(d + b);
        }

    }