5645 in words is written as :

Five Thousand Six Hundred and Forty Five