Adding sim51's solutions