import std.stdio, std.conv, std.string, std.regex, std.algorithm, std.array; void main(){ string text = readln.strip; string[] numStr = text.split(regex("[\\+-]")); int[] num = numStr.map!(to!int).array; if(text.indexOf("+") != -1) writeln(num[0] - num[1]); else writeln(num[0] + num[1]); }