Map Reduce solutions

Map Reduce was solved using C++ by 4 contestants. Solution sizes: average 5239 bytes (shortest: 3066; longest: 7680).