18 and 19 Project euler