poj has given you a solution that probably solves the misalignment problem, but pay attention that it appears that the lines where the second field is shifted five spaces to the right also seem to have been truncated on their right end. It may be a wrong impression, or perhaps there is no such problem because it is only due to the fact that you did not show the entire lines, but I thought it was worth pointing out this possible issue.