output_description: If there is an integer C between 1 and 3 that satisfies the condition, print
  `Yes`; otherwise, print `No`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      A B
attempt: #!usr/bin/env python3
  from collections import defaultdict
  from collections import deque
  from heapq import heappush, heappop
  import sys
  import math
  import bisect
  import random
  
  
  def LI():
      return list(map(int, sys.stdin.readline().split()))
  
  
  def I():
      return int(sys.stdin.readline())
  
  
  def LS():
      return list(map(list, sys.stdin.readline().split()))
  
  
  def S():
      return list(sys.stdin.readline())[:-1]
  
  
  def IR(n):
      l = [None for i in range(n)]
      for i in range(n):
          l[i] = I()
      return l
  
  
  def LIR(n):
      l = [None for i in range(n)]
      for i in range(n):
          l[i] = LI()
      return l
  
  
  def SR(n):
      l = [None for i in range(n)]
      for i in range(n):
          l[i] = S()
      return l
  
  
  def LSR(n):
      l = [None for i in range(n)]
      for i in range(n):
          l[i] = LS()
      return l
  
  
  sys.setrecursionlimit(1000000)
  mod = 1000000007
  
  
  # A
  def A():
      a, b, c = LI()
      print(9 * max(a, b, c) + a + b + c)
      return
  
  
  # B
  def B():
      a, b = LI()
      if a * b % 2:
          print("Yes")
      else:
          print("No")
      return
  
  
  # C
  def C():
      return
  
  
  # D
  def D():
      return
  
  
  # E
  def E():
      return
  
  
  # F
  def F():
      return
  
  
  # G
  def G():
      return
  
  
  # H
  def H():
      return
  
  
  # I
  def I_():
      return
  
  
  # J
  def J():
      return
  
  
  # Solve
  if __name__ == "__main__":
      A()
  
problem_description: Statement
  
  You are given integers A and B, each between 1 and 3 (inclusive).
  
  Determine if there is an integer C between 1 and 3 (inclusive) such that A
  \times B \times C is an odd number.
samples: [{"input": "3 1", "output": "Yes\n    \n\nLet C = 3. Then, A \\times B \\times C = 3 \\times 1 \\times 3 = 9, which is an\nodd number.\n\n* * *"}, {"input": "1 2", "output": "No\n    \n\n* * *"}, {"input": "2 2", "output": "No"}]