Integer English

Problem:

Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 1 Trillion.

Examples:

143 -> "One Hundred Fourty Three"

16315 -> "Sixteen Thousand Three Hundred Fifteen"

1234567 -> "One Million Two Hundred Thirty Four Thousand Five Hundred Sixty Seven"

102444321 -> “One Hundred Two Million Four Hundred Fourty Four Thousand Three Hundred Twenty One”

Hints and Answer Checklist