import java.util.*; public class Main{ static StringBuilder sb = new StringBuilder(""); public static void main(String[] args) { Scanner sc = new Scanner(System.in); int P1 = sc.nextInt(); int P2 = sc.nextInt(); int nin = sc.nextInt(); int[] heya = new int[nin]; for (int i=0;i