val = 0; do { val++; write, val; } while(val % 6 != 0);