#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main(void) {
	// your code goes here
	int i, idx = 0;
	int arr[45];
	
	srand(time(NULL));
	// init
	for(i=0; i < 45; i++){
		arr[i] = (i + 1);
	}
	
	// shuffle
	for(i=0; i < 10; i++){
		// get rand idx
		int rnd_idx = rand()%(45-i);
		// swap
		int tmp = arr[45-1-i];
		arr[45-1-i] = arr[rnd_idx];
		arr[rnd_idx] = tmp;
	}
	
	// output
	for(i=0; i < 10; i++){
		printf("%02d,",  arr[45-1-i]);
	}
	
	return 0;
}
