decrease i so it points to the last prime read

i--;