In order to have enough information to substitute into the formula, you would need both statements. Use p=$1,000\text{, }r=0.04\text{ 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.