// Challenge: how to average favorite colors across rows of students
//
// back row favorite colors:
// green
// black
// blue
// blue
//
// second-to-last row favorite colors:
// orange
// purple
// pink
// yellow
// yellow
// yellow
// blue
//
// ideas on how to average colors:
// - constrain the allowed inputs
// - mix colors
// - decompose into rgb primaries and mix those
// - order colors in 1D by wavelength into rainbow/spectrum and find avg
// - order colors in 2D grid
// - find unicode of name and order that
// - find most common: max vs average
//
// we'll do last one, find the max, seems easiest!
// also, let's constrain allowed inputs for now, in a first pass.
//
// basic idea: have array of counts for each possible color. then find max value.
//
// favColors{"green"} = 0; // could do this with associative arrays in perl
// how to do something like this in Java? need association between name of color and integer




