# Arup Guha
# 9/23/2020
# Solution to Fall 2020 COP 2930 Program 4B: Mile Tracker B

# Get input.
days = int(input("How many days do you plan to run?\n"))
milesWeekday = int(input("How many miles per weekday do you plan to run?\n"))
milesWeekend = int(input("How many miles per weekend day do you plan to run?\n"))

# Accumulator variable to keep track of total miles ran.
total = 0

# Loop through each day number
for day in range(1, days+1):

    # Weekend days always have a mod of 0 or 6 with respect to mod 7.
    if day%7 == 0 or day%7 == 6:
        total += milesWeekend

    # Otherwise, it's a weekday and we run the default amount.
    else:
        total += milesWeekday

    # Display the result after this day.
    print("After day ",day,", you will have completed ", total, " miles.", sep="")
