It looks as though you did some divisions backwards...