import java.util.Scanner; public class Yuki92{ public static void main(String[] arg){ Scanner sc = new Scanner(System.in); int n,k,m,res = 0,count = 0; boolean flag=false; n = sc.nextInt(); m = sc.nextInt(); k = sc.nextInt(); int[] a = new int[k]; int[] b = new int[k]; int[] c = new int[k]; int[] d = new int[m]; for(int i = 0;i