what is the rule if input is 23 and output is 56

For rule you must give more numbers in

Input and Output Table