#include <stdio.h>

int main() {
    int a = 1919810;
    printf(" %d",a);
    S:
    if (a != 1) {
       if (a % 2 == 0) {
           a = a / 2;
       } else {
           a += 1;
       } 
       printf(" %d",a);
        goto S;
    }
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: