import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int M=sc.nextInt(); int K=sc.nextInt(); String str=sc.next(); long[] B=new long[M]; long[] A=new long[N]; for(int i=0;i