#include using namespace std; int A,B,C,D,E; int c[1000000]; main() { cin>>A>>B>>C>>D>>E; for(int i=0;i