#include<bits/stdc++.h>
using namespace std ;
int main()
{
	string str ;
	cin>>str ;
	bool f = 1 ;
	for(int i = 0 ; i < str.size() ; i++)
	if(str[i] != str[str.size()-i-1])
	f = 0 ;
	if(f)
	cout<<"Yes"<<endl ;
	else
	{
		int j = str.size()-1 , i = 0 ;
		while( j >= 0 && str[j] == '0' && str[str.size()-j-1] != 0)
		j-- ;
		//int i = 0 ;
		bool f1 = 1 ;
		while(i <= j)
		{
			if(str[i] != str[j])
			{
				f1 = 0 ;
				break ;
			}
			else
			i++,j-- ;
		}
		if(f1)
		cout<<"Yes" ;
		else
		cout<<"No" ;
	}
}
#include <iostream>
using namespace std;
int main()
{
    int n;
    cin >> n;
    if (n % 2) cout << "Black" << endl;
    else 
        cout << "White" << endl;
}