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

int main(void) {
        char name[10];
        printf("Enter in this format, integer:name\n");
        fgets(name, 10, stdin);                            //my input was 2:brandon
        char *n = strtok(name, ":");
        int num = atoi(n);
        char * order = strtok(NULL, ":");
        printf("%d,%s\n", num,order);              
	return 0;
}
