#include #include #include #include #include #include #include #define ll long long #define min(a,b) ((a)>(b)?(b):(a)) #define max(a,b) ((a)>(b)?(a):(b)) #define miin(a,b,c) min((a), min((b), (c))) #define maax(a,b,c) max((a), max((b), (c))) int x, n, m, a, b=0, c=0; main(){ scanf("%d%d%d",&x,&n,&m); for(int i=0; i