How to code
input : 10
output : 1 2 3 1 2 3 1 2 3 1

with <stdio.h>

I'm new with coding, so please anyone help me