solved proble 24