# get data
capital = 5 * 1000
# calculate and print the rate for the capital
if capital < 2500:
interest_rate = 5
else:
interest_rate = 5 * 2
# calculate and print the interest and new capital
annual_interest = capital * interest_rate / 100
print(annual_interest)
print(capital + annual_interest)