import std.algorithm, std.array, std.container, std.range, std.bitmanip; import std.numeric, std.math, std.bigint, std.random, core.bitop; import std.string, std.regex, std.conv, std.stdio, std.typecons; void main() { auto s = readln.chomp; auto m = s.match(r"([-+]?\d+)([-+])([-+]?\d+)").captures; auto x1 = m[1].to!int, op = m[2], x2 = m[3].to!int; if (op == "+") writeln(x1 - x2); else writeln(x1 + x2); }