#include <stdio.h>

int main() {
    int k, n;
    scanf("%d", &k);
    scanf("%d", &n);
    for(int i=0;i<n;i++){
        printf("%d\n", k);
        k=k+3;
    }
}

Embed on website

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