#include <stdio.h>

int main(void){
	int a, b, k, i, count;
	scanf("%d %d %d", &a, &b, &k);

	count=0;
	for(i=a; i<=b; i++){
		if((count<k)||(b-a-count<k)){
			printf("%d\n", i);
		}
		count++;
	}

	return 0;
}
