12523 in words is written as :

Twelve Thousand Five Hundred and Twenty Three