#include <iostream>

int main(){
    using namespace std;

    int
        N = 1234,
        Y = 10,
        X = N/Y,
        Q = X/Y, //Becomes 12
        M1 = X%Y, // Using the modulus operator
        M2 = X-Q*Y //Using the longer method
    ;

    cout
        << "N: " << N << '\n'
        << "X: " << X << '\n'
        << "Y: " << Y << '\n'
        << "Q: " << Q << '\n'
        << "M1: " << M1 << '\n'
        << "M2: " << M2 << '\n'
    ;

    return 0;
}