Each entry consists of three digits. These are added together, and the last digit of the sum is used as the final result (e.g., if the sum is 24, the result is 4).