Write a program that finds the value of the function
Two positive integers n and m (1≤n,m≤1018).
Print the value of the function f(m,n).