Getting the remainder

Getting the remainder