#include <iostream>

int main() {
    int value{4};
    const int& read{value};
    auto copy = read;
    auto& same = read;
    const auto& again = read;
    copy = 6;
    value = 7;
    std::cout << value << ' ' << copy << ' ' << same << ' ' << again << '\n';
    const int fixed{9};
    auto fixed_copy = fixed;
    auto& fixed_read = fixed;
    fixed_copy = 10;
    std::cout << fixed << ' ' << fixed_copy << ' ' << fixed_read << '\n';
    return 0;
}
