import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String args[]) throws IOException {
        InputStreamReader ir = new InputStreamReader(System.in);
        BufferedReader in = new BufferedReader(ir);

        int a, b, x;

        a = Integer.parseInt(in.readLine());
        b = Integer.parseInt(in.readLine());

        x = a + b;

        System.out.printf("SOMA = %d\n", x);
    }
}

Solve Simple Sum in java
Solve Simple Sum in java
