A Georgia man has cracked the code on winning a $1 million lottery prize using locker combinations from his freshman and sophomore years of high school from over four decades ago.

Henry “Calvin” Nash, a 1972 Pebblebrook High School graduate, won $1 million from matching the first five winning numbers from the June 2 Mega Millions drawing.

“Numbers stick in my head,” he explained in remembering his locker combinations.

Nash, 63, and his wife, Brenda, were high school sweethearts.

They claimed the prize June 3 at Georgia Lottery headquarters in Atlanta.

Married 40 years, the couple both own shiny Harley-Davidson motorcycles. They plan to continue taking trips and enjoying life together.

Nash got the peachy surprise when he checked the results of the June 2 drawing on his computer the following day.

“I saw the Nos. 2 and 9, and said, ‘Hey I’ve got that,’” Nash exclaimed.

The winning numbers from the June 2 Mega Millions drawing were: 02-09-11-22-23 and the Mega Ball was 12.

Publix Super Market #1112, 1025 Veterans Memorial Highway S.E. in Mableton, Ga., sold the winning ticket.

Tuesday’s Mega Millions jackpot is an estimated $20 million to a single annuity winner.