Example 1findNumbers()InputCopynums = [12,345,2,6,7896]OutputCopy2Why12 and 7896 have 2 and 4 digits.