Fans can purchase tickets to the opening and closing ceremonies as well as all 28 sports during the first phase , which ends June 30 .