import processing.core.*; 
import processing.data.*; 
import processing.event.*; 
import processing.opengl.*; 

import java.util.HashMap; 
import java.util.ArrayList; 
import java.io.File; 
import java.io.BufferedReader; 
import java.io.PrintWriter; 
import java.io.InputStream; 
import java.io.OutputStream; 
import java.io.IOException; 

public class bug631 extends PApplet {
    public void setup() {
firstLoop:
	for (int i = 0; i < 10; i++) {
		for (int j = 0; j < 10; j++) {
			if ((i+j) % 5 != 0) continue firstLoop;
			System.out.println(i + " " + j);
		}
	} 
        noLoop();
    }

    static public void main(String[] passedArgs) {
        String[] appletArgs = new String[] { "bug631" };
        if (passedArgs != null) {
          PApplet.main(concat(appletArgs, passedArgs));
        } else {
          PApplet.main(appletArgs);
        }
    }
}
