Happy Numbers and Mth to Last Element