In order to have enough information to substitute into the formula, you would need both statements. Use p=$1,000, r=0.04 and n=5 to compare Bank A to Bank B. Again, you do not need to actually compute the interest earned once you can answer the question.