program Project2; {$APPTYPE CONSOLE} uses SysUtils; begin assign(input,'problem.in'); reset(input); close(input); assign(output,'problem.out'); rewrite(output); close(output); end.