A total of about 790,000 tickets were put on sale from February 2015 online, at the Singapore Indoor Stadium and at SingPost outlets. To encourage public participation in the games, it was announced on 28 January 2015 that 18 of the sports will be free for spectators, while the other 18 are kept at relatively affordable levels of between S$5 to S$20. By 15 April 2015 some sports such as swimming and fencing were selling fast, while silat and sepak takraw were much less popular. Organisers reported that ticket sales were pass 70% for most sports by 27 April, with fencing and swimming being the most popular at 85 and 70% tickets sold respectively, while rhythmic gymnastics, silat and wushu have also sold over 70%. Billiards and snooker, equestrian, sepak takraw, taekwondo, and artistic gymnastics have sold about half their tickets. Rugby and judo have sold 30%, while table tennis has sold only 20%. Priced between S$5 to S$20, priority sales for the opening and closing ceremonies tickets for those who registered theirs interests in 2014 began on 15 January 2015, while sales for the general public began on 22 January 2015. In February 2015, tickets to the opening ceremony were going at over seven times their original value on unauthorised websites, despite 40% of the tickets still available at that time. By March 2015, tickets to the opening ceremony were sold out.
Question: How many total sports were to be played?
Answer: 36