input: Write a function to find the maximum of three numbers. Name the function `max_of_three` and it should take three parameters `a`, `b`, and `c`. If all three numbers are the same, return any one of them. If any two numbers are the same, return the maximum of the distinct number and the repeated number.
  
  assert max_of_three(3, 4, 5) == 5
  assert max_of_three(3, 3, 4) == 4
  assert max_of_three(3, 4, 4) == 4
  assert max_of_three(5, 5, 5) == 5
  
output: def max_of_three(a, b, c):
      return max(a, b, c)