#include <cstdio>
template <typename typed> typed f() { return f<void>(); }
template <> int f() { return 2; }
template <> double f() { return 2.7; }
int main(void) { return !printf("%d %f", f<int>(), f<double>()); }
I2luY2x1ZGUgPGNzdGRpbz4KCnRlbXBsYXRlIDx0eXBlbmFtZSB0eXBlZD4gdHlwZWQgZigpIHsgcmV0dXJuIGY8dm9pZD4oKTsgfQoKdGVtcGxhdGUgPD4gaW50IGYoKSB7IHJldHVybiAyOyB9CnRlbXBsYXRlIDw+IGRvdWJsZSBmKCkgeyByZXR1cm4gMi43OyB9CgppbnQgbWFpbih2b2lkKSB7IHJldHVybiAhcHJpbnRmKCIlZCAlZiIsIGY8aW50PigpLCBmPGRvdWJsZT4oKSk7IH0K