Ancient Egyptians know understand difficult concept mathematic the ancient egyptian mathematician Ahmes like write kind arithmetic expression papyrus paper call Ahmes arithmetic expressionan Ahmes arithmetic expression define d ahme arithmetic expression d onedigit positive integer E1opE2 ahme arithmetic expression E1 E2 valid Ahmes arithmetic expression space op plus minus for example 5 11 1235 valid Ahmes arithmetic expressionson trip Egypt Fafa find piece papyrus paper have Ahmes arithmetic expression write Being ancient papyrus piece wear as result operator erase keep number bracket since Fafa love mathematic decide challenge follow taskgiven number plus minus operator original expression find maximum possible value expression papyrus paper putting plus minus operator place original erase operator