4227 in words is written as :

Four Thousand Two Hundred and Twenty Seven