import java.util.*;
class Test00{
public static void main(String args[]){
String boy[]={li,wang,zhang};
String girl[]={ko,po};
Scanner sc=new Scanner(System.in);
int temp[]=new int[boy.length];
String pair[]=new String[girl.length];
for(int i=0;i<temp.length;i++){
temp[i]=i;
}
int k;
Random r=new Random();
for(int i=0;i<temp.length-1;i++){
k=r.nextInt(temp.length-1);
System.out.println(k);
pair[i]=boy[temp[k]];
for(int j=k+1;j<boy.length-i;j++){
temp[j-1]=temp[j];
}
}
for(int i=0;i<boy.length;i++){
System.out.println(girl[i]+-----+pair[i]);
}
}
}