St. Marys relay team worked way to state