#include <iostream>
using namespace std;
class A{virtual void func1(){}};
class B{virtual void func2(){}};
class C: public A, B
{};
int main()
{
cout << boolalpha << is_convertible<A*, B*>::value;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY2xhc3MgQXt2aXJ0dWFsIHZvaWQgZnVuYzEoKXt9fTsKCmNsYXNzIEJ7dmlydHVhbCB2b2lkIGZ1bmMyKCl7fX07CiAKY2xhc3MgQzogcHVibGljIEEsIEIKe307CgppbnQgbWFpbigpCnsKCWNvdXQgPDwgYm9vbGFscGhhIDw8IGlzX2NvbnZlcnRpYmxlPEEqLCBCKj46OnZhbHVlOwoJcmV0dXJuIDA7Cn0K