public class Main
{
public static void main
(String[] args
) {
int a=15;
int b= 7;
int c =8;
int d = 3;
int x = (a-b) + (c-d);
System.
out.
println("x= " + x
);
}
}
cHVibGljIGNsYXNzIE1haW4KewpwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CgogICAgICAgIGludCBhPTE1OwoKICAgICAgICBpbnQgYj0gNzsKCiAgICAgICAgaW50IGMgPTg7CgogICAgICAgIGludCBkID0gMzsKCgogICAgICAgIGludCB4ID0gKGEtYikgKyAoYy1kKTsKCiAgICAgICAKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIng9ICIgKyB4KTsKCiAgICB9Cn0KIA==