Carlisle will play for the state championship