The following content is for educational purposes only.
Do not use it for illegal activities.
It might takes much time.
According to Wikipedia,
the first English letter represents the birthplace (wiki),
the following number indicates the person's gender,
the third number is the identity,
and the remaining numbers construct a valid ID with the previous conponents.
The First English letter is translated into a two-digit integer (wiki), thus the ID will become a 11-digit intger.
Take each digit multiplies 19876543211
respectively, and divide the result.
If the remainder is zero, then this is a valid ID.
- the third number
- foreigners
- GUI
- refactoring
- separate main and functions