output_description: Print the resulting string.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      S T
attempt: N, M = [int(i) for i in input().split()]
  a = [int(i) for i in input().split()]
  l = []
  for b in a:
      for c in a:
          l.append(b + c)
  print(sum(sorted(l)[len(l) - M :]))
  
problem_description: Statement
  
  Given are two strings S and T consisting of lowercase English letters.
  Concatenate T and S in this order, without space in between, and print the
  resulting string.
samples: [{"input": "oder atc", "output": "atcoder\n    \n\nWhen S =  `oder` and T =  `atc`, concatenating T and S in this order results\nin `atcoder`.\n\n* * *"}, {"input": "humu humu", "output": "humuhumu"}]