list comp with sum