Domanda di colloquio di GE HealthCare

given string s. we need to return that input as an integer