A2. The sum of the digits of a 4-digit PIN code for Matej's bank card is 24. The first and last digits are both 7. The number representing the code reads the same from left to right and from right to left. What is the second-to-last digit in the PIN code?
(A) 0
(B) 2
(C) 4
(D) 5
(E) cannot be determined
A2 The sum of the first and last digit is 14. For the sum of the second and third digit, we are left with 10. Since the number is a palindrome, the second and third digits are also equal, so they are both equal to 5. The penultimate digit is 5.