class ArithmeticDemo {
public static void main
(String[] args
) {
int result;
result=-2 + 5 * 7- 7 / 2 % 5;
System.
out.
println("The result is: " + result
); }
}
Y2xhc3MgQXJpdGhtZXRpY0RlbW8gewoKICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKQogICAgICAgewogICAgICAgICAgIGludCByZXN1bHQ7CiAgICAgICAgICAgcmVzdWx0PS0yICsgNSAqIDctIDcgLyAyICUgNTsKICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oIlRoZSByZXN1bHQgaXM6ICIgKyByZXN1bHQpOwogICAgICAgfQp9