To calculate reminder on dividing the number by 3