Problem E and F.
formatting.