CGI interview question

Write a function to swap two numbers.