In any case, the problem statement (though it's a bit vague) requires building a truncated string, not just printing it.