#include #include int main(int argc, char **argv) { int n, w, h; scanf("%d %d %d", &n, &w, &h); for (int i=0; i