The tables show some input and output values:
Table A
Input Output
1 7
2 7
2 9
3 9
Table B
Input Output
6 1
7 3
7 2
8 5
Which tables represent functions?

1. Neither A nor B

2. Only B

3. Both A and B

4. Only A