-l options should be the last on the list. They don't affect any arguments to their right.

Also consider adding a '\n' to the end of your printf(), or another '\t' or something. Otherwise the numbers will run together.