#include <iostream>
#include <string>
#include <algorithm>
int main()
{
std::string alphabet = "abcdefghijklmnopqrstuvwxyz";
std::string keyword = "sabbatical";
alphabet.erase(
std::remove_if(alphabet.begin(), alphabet.end(), [&keyword](char c)
{return keyword.find(c) != std::string::npos;}),
alphabet.end()
);
std::cout << keyword << alphabet;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8YWxnb3JpdGhtPgoKCmludCBtYWluKCkKewogICAgc3RkOjpzdHJpbmcgYWxwaGFiZXQgPSAiYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoiOwogICAgc3RkOjpzdHJpbmcga2V5d29yZCAgPSAic2FiYmF0aWNhbCI7CiAgICBhbHBoYWJldC5lcmFzZSgKICAgICAgICBzdGQ6OnJlbW92ZV9pZihhbHBoYWJldC5iZWdpbigpLCBhbHBoYWJldC5lbmQoKSwgWyZrZXl3b3JkXShjaGFyIGMpCiAgICAgICAgICAgIHtyZXR1cm4ga2V5d29yZC5maW5kKGMpICE9IHN0ZDo6c3RyaW5nOjpucG9zO30pLAogICAgICAgIGFscGhhYmV0LmVuZCgpCiAgICApOwogICAgc3RkOjpjb3V0IDw8IGtleXdvcmQgPDwgYWxwaGFiZXQ7Cn0K