import java.io.*; import java.util.*; public class q3 { public static void main(String args[])throws IOException { Scanner in=new Scanner(System.in); int n,a,b,q; n=in.nextInt(); a=in.nextInt(); b=in.nextInt(); q=in.nextInt(); int arr[]=new int[n]; int brr[]=new int[n]; for(int i=0;i