ALSTOM interview question

Factorial SAP Exchange two variables without third var