SRM144 Loterry Revisit 
changed calc mth to permu mth