#include <iostream>
using namespace std;
template<class T>
class A
{
public:
class B
{
};
};
template<class T>
using B = typename A<T>::B;
int main()
{
A<char>::B b1;
B<int> b2;
B<double> b3;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdGVtcGxhdGU8Y2xhc3MgVD4KY2xhc3MgQQp7CnB1YmxpYzoKCWNsYXNzIEIKCXsKCQkKCX07Cn07Cgp0ZW1wbGF0ZTxjbGFzcyBUPgp1c2luZyBCID0gdHlwZW5hbWUgQTxUPjo6QjsKCmludCBtYWluKCkKewoJQTxjaGFyPjo6QiBiMTsKCUI8aW50PiBiMjsKCUI8ZG91YmxlPiBiMzsKCXJldHVybiAwOwp9