you work in the quality control department at the electronics factory. Each device is assigned a unique serial number consisting of Latin letters and numbers. The hypothesis was recently put forward that serial numbers in which many repeating characters can be less reliable or more often faked.
rn
your task & mdash; Write a program for primary analysis. The program should determine how much & nbsp; of various & nbsp; symbols (letters or numbers) in the serial number are found more than once. This will help to automatically mark potentially “suspicious” numbers for further verification.
rn
technical requirements:
rn
rn - the program receives one line & mdash; Serial number.
rn -
rn -
rn -
rn OL>
Input format
serial number of the product (line, & nbsp; str ).
Output format
the number of different characters that are found in the line more than once (an integer, & nbsp; int ).
Hint
There will be no clue here, decide for yourself!