diff --git a/Codeforces/Coderforces_Problem339A-11.py b/Codeforces/Coderforces_Problem339A-11.py new file mode 100644 index 0000000..6bf688c --- /dev/null +++ b/Codeforces/Coderforces_Problem339A-11.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +""" +Created on Fri Oct 22 16:49:24 2021 + +@author: Nikhil Singh +""" + +s=input() +a=[] +for i in range(len(s)): + a.append(s[i]) + + +num=[] + +i=0 +while i<(len(a)): + + if a[i].isdigit(): + num.append(a[i]) + i+=1 + +num.sort() +i=0 +for i in range(len(num)-1): + print(str(num[i])+str('+'), end='') + i+=1 +print(num[len(num)-1])