a=input() b=0 for i in a: if('0'<=i<='9'): b+=1 print(b)
import re print(len(re.findall('[0-9]',input())))