12345678910
vector <string> name,surname,number; int n; cin>>n; name.resize(n); surname.resize(n); number.resize(n); for(i=0;i<n;i++) { scanf("%s:%s:%s",&name[i],&surname[i],&number[i]); }
scanf("%s %s %s",&name[i][0],&surname[i][0],&number[i][0]);
scanf("%[^:]:%[^:]:%s",&name[i][0],&surname[i][0],&number[i][0]);