Deorwine interview question

Write a code to print Happy numbers