Codevita practice problem