An Office used three types of envelopes: small,medium and large. They used 160 small envelopes. The no.of Medium envelopes used was 5 times the no. of small envelopes plus 5/20 of the total number of envelopes. The no. of large envelopes was equal to the no. of small envelopes plus 5/20 of the no. of medium envelope. Altogether, How many envelope did they use?