### Instruction: Amiyah is cutting some trees to build a cow shade. For every tree she cuts, she plants 5 new trees. If there were 400 trees on her farm and she cut 20% of them, calculate the total number of trees on the farm. Let's write a Python program.### Response: # define the initial number of trees and the percentage of trees cut
initial_trees = 400
percentage_cut = 20

# calculate the number of trees cut
trees_cut = (percentage_cut / 100) * initial_trees

# calculate the number of trees planted
trees_planted = trees_cut * 5

# calculate the final number of trees
final_trees = initial_trees - trees_cut + trees_planted

# print the result
print(final_trees)