context: The 2015 Southeast Asian Games featured 402 events, resulting in 402 medal sets to be distributed. An additional gold medal was awarded as there was first-place tie in the Rhythmic Gymnastics individual all-around event. As a consequence, no silver medal was awarded in that event. Two bronze medals were awarded in some events: most events in martial arts  and All events in racket sports , giving a total of 118 additional bronze medals. On the other hand, No bronze medal was awarded at the Rhythmic Gymnastics group all-around event, Women's Floorball, Taekwondo Poomsae Women's team, Kyorugi Men's 74 kg and Women's 62 kg event and Sailing Men's Match Racing Keelboat, Team Racing Laser Standard and Women's 470, Skiff 49er FX, Laser Radial  and Team Racing Laser Radial event. As a result, total of 1313 medals comprising 403 gold medals, 401 silver medals and 509 bronze medals were awarded to athletes. The Host Singapore's performance was its' best ever yet in Southeast Asian Games History, and was second behind Thailand as overall Champion.
question: How many gold and silver medals were given out?
answer: 804