Stop printing last number twice