Google Interview Question

Write a function that takes an int, and returns the maximum int that can be obtained by adding any two adjacent digits.