In Ms. Q's deck of cards, every card is one of four colors (red, green, blue, and yellow), and is labeled with one of seven numbers ($1,$ $2,$ $3,$ $4,$ $5,$ $6,$ and $7$). Among all the cards of each color, there is exactly one card labeled with each number. The cards in Ms. Q's deck are shown below. [asy] unitsize(0.5 cm); pen cbred=RGB(224,109,128); pen cbblue=RGB(136,204,238); pen cbgreen=RGB(72,189,107); pen cbyellow=RGB(236,217,120); real cardwidth = 1, cardheight = 1.5, spacewidth = 0.5, spaceheight = 0.5; int i, j; path card = (0,0)--(cardwidth,0)--(cardwidth,cardheight)--(0,cardheight)--cycle; for (i = 0; i <= 6; ++i) { filldraw(shift((i*cardwidth + i*spacewidth,0))*card,cbred); label("$" + string(i + 1) + "$", (i*spacewidth + (i + 0.5)*cardwidth, 0.5*cardheight)); filldraw(shift((i*cardwidth + i*spacewidth,-cardheight - spaceheight))*card,cbgreen); label("$" + string(i + 1) + "$", (i*spacewidth + (i + 0.5)*cardwidth, 0.5*cardheight - cardheight - spaceheight)); f