package Ġsolution Ċ Ċ fun Ġtwo Ol dest A ges ( ages : ĠList < Int >): ĠList < Int > Ġ{ ĊĠĠĠ Ġval Ġoldest Idx Ġ= Ġa ges . indices . max By Ġ{ ages [ it ]} ĊĠĠĠ Ġval Ġsecond Ol dest Idx Ġ= Ġa ges . indices . max By Ġ{ if ( it == ol dest Idx ) Ġ 0 Ġelse Ġa ges [ it ]} ĊĠĠĠ Ġreturn ĠlistOf ( ages [ second Ol dest Idx Ġ?: Ġ 0 ], ages [ ol dest Idx Ġ?: Ġ 0 ]) Ċ }