#include int main() { int i,N;int flag1=1,flag2=1,flag3=1; scanf("%d",&N); int A[N],B[N],C[N-1],D[N-1]; for(i=0;i