Problem18 and 67