If $A$ is an angle such that $\tan A + \sec A = 2,$ enter all possible values of $\cos A,$ separated by commas.The answer is in the form rac{m}{n}, where gcd(m, n) = 1. Please provide the value of m + n.

Let's think step by step and output the final answer within \boxed{}.
user