Corrected output format for vector a