You have to check for evn/odd of m%n==0???? then if even write m/n else write m/n+1 THATS ALL