The values of a function f(x) are given in the table:

x=1, f(x)=3
x=2. f(x)=1
x=3. f(x)=5
x=4, f(x)=4
x=5, f(x)=2

If f^-1 exists, then what is
f^-1(f^-1(f^-1(1)))?

I am not quite sure what this question is asking. I know it is asking to find the inverse 3 times but of what and where do we plug in the 1?

f^-1(1) = 2 (when y = 1, x = 2)

f^-1(2) = 5

f^-1(5) = 3