GAUSS7 2023 Problem 20

How many pairs of positive integers a and b satisfy the equation \frac{a}{7}+\frac{2}{b}=1?

Answer Choices
A. 4
B. 1
C. 0
D. 5
E. 2