XQ00AA

XQ00AA is a 7-character, alphanumeric code that is used to identify game characters in the XQ chapter list. The XQ00AA was launched in 1981. Initially, XQ00AA had one digit specifying the continent of origin, first letter of the character's name and three letters, it was expanded in 1992, becoming one digit specifying the continent of origin, first letter of the character's name, two letters and two digits indicating the year of creation.

Since 2000, XQ00AA has the first letter of the character's name, one letter indicating gender and distinction (A–F for boys, G–K for girls), two digits indicating year of creation followed by two letters. Finally, a checksum character is calculated over the preceding characters, which may return a letter from A–Z, or a number from 2–9.

To calculate checksum, letters are converted to numbers, compute Exclusive Or (the first one should compute XOR by 34), and the last number should be divided by 34. Then, lookup the corresponding character from the string 'ABCDEFGHIJKLMNOPQRSTUVWXYZ23456789'.

Examples

 * To the Nintendo character Mario the XQ00AA codes 'MB81AHL' and 'MA83STS' are assigned.
 * To the Nintendo character Luigi the XQ00AA code 'LC83AUC' is assigned.
 * To the Nintendo character Link (The Legend of Zelda) the XQ00AA codes 'LI86IKL' and 'LA17EK9' are assigned.
 * To the Nintendo character Kirby the XQ00AA code 'KA92WLC' is assigned.