The sun generates about $4 \times 10^{26}$ joules of energy every second. There are about $3.15 \times 10^7$ seconds in a year. About how many joules of energy does the sun generate in a year? Write the answer in scientific notation. Express the answer to the exact decimal place.
□ × □ joules
□ × □ joules