1988 AIME Problem 8

The function f, defined on the set of ordered pairs of positive integers, satisfies the following properties:

f(x, x)=x, \quad f(x, y)=f(y, x), \quad \text { and } \quad(x+y) f(x, y)=y f(x, x+y)

Calculate f(14,52).