def funcao():
return int(input('insira um número:'))
tupla = (funcao(), funcao(), funcao(), funcao())
print(tupla.count(9))
print(tupla)
#https://pt.stackoverflow.com/q/339514/101
ZGVmIGZ1bmNhbygpOgogICAgcmV0dXJuIGludChpbnB1dCgnaW5zaXJhIHVtIG7Dum1lcm86JykpCnR1cGxhID0gKGZ1bmNhbygpLCBmdW5jYW8oKSwgZnVuY2FvKCksIGZ1bmNhbygpKQpwcmludCh0dXBsYS5jb3VudCg5KSkKcHJpbnQodHVwbGEpCgojaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzMzOTUxNC8xMDE=