import std.stdio;
import std.conv;
import std.math;
import std.algorithm.iteration;
import std.format;
void main()
{
enum x = -123;
enum s = format("%s+%s+(%s%s)", x, x.to!string.length, x < 0 ? "-" : "", x.abs.to!string.map!(to!string).joiner("+"));
writefln("%s=%s", s, mixin(s));
}
aW1wb3J0IHN0ZC5zdGRpbzsKaW1wb3J0IHN0ZC5jb252OwppbXBvcnQgc3RkLm1hdGg7CmltcG9ydCBzdGQuYWxnb3JpdGhtLml0ZXJhdGlvbjsKaW1wb3J0IHN0ZC5mb3JtYXQ7Cgp2b2lkIG1haW4oKQp7CgoJZW51bSB4ID0gLTEyMzsKCWVudW0gcyA9IGZvcm1hdCgiJXMrJXMrKCVzJXMpIiwgeCwgeC50byFzdHJpbmcubGVuZ3RoLCB4IDwgMCA/ICItIiA6ICIiLCB4LmFicy50byFzdHJpbmcubWFwISh0byFzdHJpbmcpLmpvaW5lcigiKyIpKTsKCXdyaXRlZmxuKCIlcz0lcyIsIHMsIG1peGluKHMpKTsKfQo=