#include <iostream>

int main() {
    int i = 2;
mark:
    std::cout << i << '\n';
    if (i < 50) {
        i += 2;
        goto mark;
    }
}