2 Checker for NEERC'2006 Problem Y: Yield
\r
15 ja := ans.ReadInteger();
\r
16 pa := ouf.ReadInteger();
\r
18 if not ouf.SeekEof then
\r
19 Quit(_PE, 'Extra information in the output file');
\r
22 Quit(_WA, Format('%d instead of %d', [pa, ja]))
\r
24 Quit(_OK, Format('%d', [ja]));
\r