#define P printf( #define W (c-w)-6+r+a R(int c,int n){int i=0;for(;i2&o<2?P"RGB"),R(' ',W),P"BGR"):o==2?P"GB"),R(' ',W),P"BG"):o==3?P"B"),R(' ',W),P"B"):0,puts(""),--w<1?o++:0;}