Pregunta de entrevista de PayPay

string manipulation with type conversion and math.