You may have thought this relation was not a function because the output occurs more than once. However, each input has only one output, so this relation is a function.