Calculate the upper and lower quartiles

Calculate the upper and lower quartiles for the following frequency distribution:

Calculation of Upper and Lower Quartiles :