A total of 18816 tiles were used for decorating the rooms, kitchen and bathrooms for all apartments in a building. Each apartment had 2 rooms, 1 kitchen, 2 bathrooms. The number of tiles used are given below:
1 Kitchen=64 tiles; 1 Room=84 tiles and 1 Bathroom=52 tiles
How many apartments are there in the building?