Refined and completed q03
Included previous answer for last part as a comment