package Ġdays Ċ Ċ import Ġcommon . Int code Computer Ċ import Ġcommon . stack Of Ċ Ċ class ĠDay 5 Ġ: ĠDay ( 5 ) Ġ{ ĊĊĠĠĠ Ġprivate Ġfun Ġprogram () Ġ= Ġinput String . split ("," ). map Ġ{ Ġit . trim (). to Long () Ġ}. to Mutable List () ĊĊĠĠĠ Ġoverride Ġfun Ġpart One (): ĠAny Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠInt code Computer ( program (). to Mutable List ()). run With IO ( stack Of ( 1 L )). last () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġpart Two (): ĠAny Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠInt code Computer ( program (). to Mutable List ()). run With IO ( stack Of ( 5 L )). last () ĊĠĠĠ Ġ} Ċ } Ċ