A contractor Abhay Singh employed some men to do a piece of work which can be done by 16 men in 14 days.At the end of 5 days, 7 of the men stopped working and 3 days later half of the remainder stopped working; the rest finished the work in 5 days.What is the number of men originally employed?