Changed printf to puts