The rule is .
Every domain of the function should have an unique range i.e f(x)=y
#1
f(14) has two values hence not a function
#2
f(15) has two values hence not a function
#3
f(16) has two values hence not a function
#4
Yes it's a function,every domain has an unique range