### Instruction: Harper collected 30% more pieces of Halloween candy than her sister Maggie, who only collected 50 pieces.  Neil collected 40% more candy than Harper.  How much candy did Neil get on Halloween? Let's write a Python program to solve it.### Response: # Python program to calculate the amount of candy Neil collected
# Define the amount of candy Maggie collected
maggie_candy = 50

# Calculate the amount of candy Harper collected
harper_candy = maggie_candy + (0.30 * maggie_candy)

# Calculate the amount of candy Neil collected
neil_candy = harper_candy + (0.40 * harper_candy)

# Print the result
print(int(neil_candy))