Question d’entretien chez GE HealthCare

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