Multi-tap or multi-press is the name given to the historic technique of writing SMS on the first mobile phones with a keyboard of 10-12 numeric keys.
For example, to type LOL you need to press 5 three times, 6 three times and 5 three times again.
Your task is to write a function that takes a string as input and returns the repeated digits associated with each character according to the multi-tap system.
Should consider letters from A to Z, doesn't distinguish between upper/lowercase characters.
Numbers are allowed, and any punctuation should be ignored.
![]()
.png)
%20(3)(2).jpg)
.png)
.png)
