Solved problem 12 on PE
Solved problem 42 on PE