fork download
  1. program ideone;
  2.  
  3. var i,X,Y:Integer;
  4. var ch:Char;
  5. begin
  6. for i:=1 to 4 do // dla piku eof()
  7. begin
  8. ReadLn(ch,ch,X,ch,ch,ch,Y);
  9. WriteLn(X,' ',Y);
  10. end;
  11. end.
Success #stdin #stdout 0s 232KB
stdin
X:234 Y:235
X:235 Y:266
X:272 Y:347
X:835 Y:263
stdout
234 235
235 266
272 347
835 263