Editorial for Мәндерін алмастыру


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Hint 1.

Мәселе — екі айнымалының мәндерін бір-бірімен ауыстыру.

Hint 2.

Тек \(print\) арқылы шығару жеткіліксіз, айнымалылардың өз мәндері өзгеруі керек.

Hint 3.

Уақытша үшінші айнымалы қолдануға болады:
\(temp = a\), \(a = b\), \(b = temp\)