import processing.core.*; 

import java.applet.*; 
import java.awt.Dimension; 
import java.awt.Frame; 
import java.awt.event.MouseEvent; 
import java.awt.event.KeyEvent; 
import java.awt.event.FocusEvent; 
import java.awt.Image; 
import java.io.*; 
import java.net.*; 
import java.text.*; 
import java.util.*; 
import java.util.zip.*; 
import java.util.regex.*; 

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 args[]) {
        PApplet.main(new String[] { "--bgcolor=null", "bug631" });
    }
}
