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