When did Singapore gain independence, and who was the first President?

Singapore became independent on 9 August 1965, and the first president was Yusof bin Ishak.