#include <iostream>
#include <vector>
#include <string>
#include <cmath>
using namespace std;

vector<int> to_binary(string binarify_me) {
        vector<int> return_me;

        for(int i=0; i<binarify_me.size(); i++) {
                vector<int> temp;
                int char_as_int = (int)binarify_me[i];

                while(char_as_int != 0) {
                        if(char_as_int % 2 == 0)
                                temp.push_back(0);

                        else
                                temp.push_back(1);

                        char_as_int /= 2;
                }

                while(temp.size() != 8)
                        temp.push_back(0);

                for(int i=temp.size()-1; i>=0; --i)
                        return_me.push_back(temp[i]);
        }

	return return_me;
}

string from_binary(vector<int> stringify_me) {
        string return_me = "";

        for(int i=7; i<stringify_me.size(); i+=8) {
                int char_as_int = 0;

                for(int j=0; j<8; j++)
                        char_as_int += stringify_me[i-j] * pow(2, j);

                return_me += (char)char_as_int;
        }

        return return_me;
}

vector<int> xor_decrypt(vector<int> decrypt_me, vector<int> with_me) {
        vector<int> return_me;

        for(int i=0; i<decrypt_me.size(); i++) {
                int key_index = i;

                while(key_index > with_me.size())
                        key_index = key_index-with_me.size();

                int xored = decrypt_me[i] ^ with_me[key_index];
                return_me.push_back(xored);
        }

        return return_me;
}

int main() {
	string encryption_key = "this is the key.";
        vector<int> binary_key = to_binary(encryption_key);

	string decrypt_me;
	cin >> decrypt_me;
	vector<int> binary_decrypt_me;

	for(int i=0; i<decrypt_me.size(); i++)
		binary_decrypt_me.push_back( ((int)(decrypt_me[i]))-48);

        vector<int> decrypted = xor_decrypt(binary_decrypt_me, binary_key);

	string result = from_binary(decrypted);
	cout << result << endl;

	return 0;
}