import java.util.Scanner; public class N351 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int h=sc.nextInt(),w=sc.nextInt(); int n=sc.nextInt(); String[] s=new String[n]; int[] k=new int[n]; int nowh=0,noww=0; for(int i=0;i=0;n--) { if(s[i].equals("R")) { if(k[i]==nowh) { noww--;noww=(noww==-1)?w-1:noww; } } if(s[i].equals("C")) { if(k[i]==noww) { nowh--;nowh=(nowh==-1)?h-1:nowh; } } } if((nowh+noww)%2==0){System.out.println("white");} else{System.out.println("black");} } }