John Kennedy actually said...
I thank you and the Soviet people on behalf of the American people for your congratulations on Commander Schirra's successful space flight.
Context
Reply to Chairman Khrushchev's Message on the Flight of Commander Schirra.
10/05/1962