wrote query to determine triple crown winner