Mehron's solution attempts, using "for" and "each"