#include <iostream>
using namespace std;
void func(bool) {
cout << "bool" << endl;
}
template <class T>
void func(T) {
cout << "other" << endl;
}
int main() {
func(0);
func(false);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBmdW5jKGJvb2wpIHsKCWNvdXQgPDwgImJvb2wiIDw8IGVuZGw7Cn0KdGVtcGxhdGUgPGNsYXNzIFQ+CnZvaWQgZnVuYyhUKSB7Cgljb3V0IDw8ICJvdGhlciIgPDwgZW5kbDsKfQppbnQgbWFpbigpIHsKCWZ1bmMoMCk7CglmdW5jKGZhbHNlKTsKCXJldHVybiAwOwp9