#include <iostream>

using namespace std;

struct Foo {
    operator int() {
        cout << "operator int" << endl;
        return 0;
    }

    operator float() {
        cout << "operator float" << endl;
        return 0;
    }
};

int main() {
    int x = Foo();
    float y = Foo();
}
