Telescope array for advanced studies of cosmic rays at the highest and TEV energies