from datetime import datetime, timedelta
a=datetime.now()
b=int(input("ведите кол-во рабочих дней: "))
xdata=a
def main():
global xdata
d=timedelta(days=1)
xdata=xdata+d
while (datetime.weekday(xdata)) > 4:
xdata=xdata+d
while b > 0:
main()
b=b-1
print(xdata)