For lack of a sample of desired output and the existence of such limited sample data that -- depending on one's reading of the question -- the question can be parsed in at least two, mutually-exclusive ways.
Because of the presence of a fundamental error, noted by others, in declaring the variable @a.
Because here at the Monastery, the possibility always exists that precision in English is NOT a strong suit for an OP.