#include <iostream>
using namespace std;
template<typename T>
void adl(T)
{
cout << "T";
}
struct S
{
};
template<typename T>
void call_adl(T t)
{
adl(S());
adl(t);
}
void adl(S)
{
cout << "S";
}
int main ()
{
call_adl(S());
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdGVtcGxhdGU8dHlwZW5hbWUgVD4Kdm9pZCBhZGwoVCkKewogIGNvdXQgPDwgIlQiOwp9CgpzdHJ1Y3QgUwp7Cn07Cgp0ZW1wbGF0ZTx0eXBlbmFtZSBUPgp2b2lkIGNhbGxfYWRsKFQgdCkKewogIGFkbChTKCkpOwogIGFkbCh0KTsKfQoKdm9pZCBhZGwoUykKewogIGNvdXQgPDwgIlMiOwp9CgppbnQgbWFpbiAoKQp7CiAgY2FsbF9hZGwoUygpKTsKfQ==