#include <iostream>
#include <string>
template <typename T>
void print(const std::basic_string<T>& a, const std::basic_string<T>& b)
{
std::cout << a << b << std::endl;
}
int main()
{
std::string foo = "foo";
std::string bar = "bar";
print(foo, bar);
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKdGVtcGxhdGUgPHR5cGVuYW1lIFQ+CnZvaWQgcHJpbnQoY29uc3Qgc3RkOjpiYXNpY19zdHJpbmc8VD4mIGEsIGNvbnN0IHN0ZDo6YmFzaWNfc3RyaW5nPFQ+JiBiKQp7CiAgICBzdGQ6OmNvdXQgPDwgYSA8PCBiIDw8IHN0ZDo6ZW5kbDsKfQoKaW50IG1haW4oKQp7CiAgICBzdGQ6OnN0cmluZyBmb28gPSAiZm9vIjsKICAgIHN0ZDo6c3RyaW5nIGJhciA9ICJiYXIiOwogICAgcHJpbnQoZm9vLCBiYXIpOwp9