import java.util.Random;

public class C {
	private int y = 0;
	
	
	public synchronized void increment(){
		if(y >= 0 && y < 255){
			y++;
		}
		else
			y = 0;
	}

	/* You are allowed to add any method 
	 * that to get expected behavior. However,
	 * You are not allowed to change increment()
	 * method.
	 **/
}

