Dropbox interview question

Write a script that switches two words.