#include <iostream>
class Rofl {
public:
Rofl(int a, float b) : a(a), b(b) {}
operator float() const { return b; }
private:
int a;
float b;
};
int main() {
Rofl r(5, 2.0f);
float hello = r;
std::cout << hello << "\n";
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKY2xhc3MgUm9mbCB7CnB1YmxpYzoKICAgIFJvZmwoaW50IGEsIGZsb2F0IGIpIDogYShhKSwgYihiKSB7fQogICAgb3BlcmF0b3IgZmxvYXQoKSBjb25zdCB7IHJldHVybiBiOyB9Cgpwcml2YXRlOgogICAgaW50IGE7CiAgICBmbG9hdCBiOwp9OwoKaW50IG1haW4oKSB7CiAgICBSb2ZsIHIoNSwgMi4wZik7CiAgICBmbG9hdCBoZWxsbyA9IHI7CiAgICBzdGQ6OmNvdXQgPDwgaGVsbG8gPDwgIlxuIjsKfQ==