		deck.clear();
		for(x = 0; x<2;x++) 
		{
			scanf("%s",msk);
			deck+=msk;
		}
		
		for(x=0;x<4;x++) card[x].clear();
		
		for(x=0;x<deck.size();x+=2) 
		{
			for(y=0;y<4;y++) if(deck[x]==color[y]) break;
			for(z=0;z<13;z++) if(deck[x+1]==value[z]) break;
			
			now = (now+1)%4;
