When a positive integer 'n' is divided by 12, the remainder is 5. What will be the remainder if 8n2 + 7 is divided by 12?