#include <string>
#include <iostream>
#include <utility>
#include <numeric>
#include <limits>
#include <array>
int main()
{
std::string s = "cat can run fast";
std::array<char, std::numeric_limits<char>::max()> xlat;
std::iota(xlat.begin(), xlat.end(), 0);
std::swap(xlat['a'], xlat['c']);
for(char& c: s)
c = xlat[c];
std::cout << s << '\n';
}
I2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dXRpbGl0eT4KI2luY2x1ZGUgPG51bWVyaWM+CiNpbmNsdWRlIDxsaW1pdHM+CiNpbmNsdWRlIDxhcnJheT4KCmludCBtYWluKCkKewogICAgc3RkOjpzdHJpbmcgcyA9ICJjYXQgY2FuIHJ1biBmYXN0IjsKCiAgICBzdGQ6OmFycmF5PGNoYXIsIHN0ZDo6bnVtZXJpY19saW1pdHM8Y2hhcj46Om1heCgpPiB4bGF0OwogICAgc3RkOjppb3RhKHhsYXQuYmVnaW4oKSwgeGxhdC5lbmQoKSwgMCk7CiAgICBzdGQ6OnN3YXAoeGxhdFsnYSddLCB4bGF0WydjJ10pOwoKICAgIGZvcihjaGFyJiBjOiBzKQogICAgICAgIGMgPSB4bGF0W2NdOwoKICAgIHN0ZDo6Y291dCA8PCBzIDw8ICdcbic7Cn0K