using System.Console;mutable s=In.ReadToEnd(),i;for(i=0;;i+=2)Write($"$(s[i+1])$(s[i])")