Tom Hanks and Rita Wilson
03/04/2008 AT 06:35 AM EST
Here's a history lesson for you: Tom Hanks traces his charming, guy-next-door persona all the way back to high school.
"I was a pretty good history student," the actor told PEOPLE Monday night at the premiere of HBO's John Adams, which he executive produced. "But mostly in high school I majored in hanging out and flirting with girls."
And, the 51-year-old boasted, he still got straight A's. "Not too bad, right?"
Those flirting skills must have paid of with Rita Wilson, his wife of 20 years. So what's the key to a lasting union?
"My secret to a happy marriage is just being married to the right woman," the two-time Oscar winner said at the bash, held at N.Y.C.'s Museum of Modern Art. "I got lucky with the wonderful Rita Wilson. I'm the luckiest man alive." –Paul Chi