Cody Simpson shared an inspiring message with his fans Thursday, as he posted a video of his Valedictorian speech on his Instagram account.

The 17-year-old Australian pop singer and recent "Dancing with the Stars" contestant, who graduated high school on Thursday May 22, took to social media to encourage fans to stay in school and to proclaimed that "anything can be accomplished if you open your mind!"

"Finished high school at home administered through this lovely school here in the South, proud to have received the highest GPA of the school amidst this hectic lifestyle of mine," Simpson captioned one of the videos of his speech.

In the first clip, Simpson touches on how "it is possible to finish high school amidst having a very busy schedule and amidst working relentlessly towards chasing my wildest dreams." In the second video, the singer says that "regardless of any kind of wealth or looks or material possessions its always what's [in your head] that's going to get you the furthest."

"Intelligence is the sexiest thing in the entire world," he added.

The "Surfboard" crooner later took to Twitter to reiterate his message and to share a photo of himself in his cap and gown.