#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define rep(i,N) for(int i=0;i<(int)N;i++)
static inline void PUT(char c)
{
  static char buf[1<<15],*ptr=buf;
  if(ptr==buf+strlen(buf)||c==0){fwrite(buf,1,ptr-buf,stdout),ptr=buf;}*ptr++=c;
}
static inline long IN(void)
{
  long x=0,f=0,c=getchar();while(c<48||c>57){f^=c==45,c=getchar();}
  while(c>47&&c<58){x=x*10+c-48,c=getchar();}return f?-x:x;
}
static inline void OUT(long a)
{
  if(a<0)PUT('-'),a=-a;
  int d[40],i=0;do{d[i++]=a%10;}while(a/=10);
  while(i--){PUT(d[i]+48);}PUT('\n');
}
int main(void)
{
  int sz=0;long N=IN(),temp[5000],keep;
  for(long i=0;i*i<(long)N;i++){if(N%(i+1)==0){OUT(i+1);keep=i+1;if(i+1<N/(i+1)){temp[sz++]=N/(i+1);}}}
  rep(i,sz-1){if(keep==temp[sz-1-i]){continue;}OUT(temp[sz-1-i]);}
  if(N!=1){OUT(N);}
}
#include <bits/stdc++.h>
using namespace std;

typedef long long int lli;

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);

    int n;
    cin >> n;
    int ans = n%2;
    if(ans==1)
        cout << "Black" << endl;
    else
        cout << "White" << endl;
}
