solve 18 and 67