The arranged data can be divided into four equal parts by three values. These values are called quartiles and are…