package no011; import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int w = sc.nextInt(); int h = sc.nextInt(); int n = sc.nextInt(); HashSet S = new HashSet<>(); HashSet K = new HashSet<>(); for(int i=0;i