Why not simply output c on every loop iteration? That way, you wouldn't have to ban multiplication. --ais523 18:09, 17 July 2018 (UTC)