To calculate reminder on dividing the number by 27 and 37