#task1
a = "all"
b = "work"
c = "and"
d = "no"
e = "play"
f = "makes"
g = "Jack"
h = "a"
i = "dull"
j = "boy"
print(a+" "+b+" " +c+" " +d+" " +e+" " +f+" " +g+" " +h+" " +i+" " +j)
#task 2
print(6*(1-2))

#task 3 print("I am male")

#task 4
bruce = 6
print(bruce + 4)

#task 5
P = 10000
n =12
r = 0.08
t = int(input("What is the number of years?"))
interest = P*(1+(r/n))**(12*t)
print(interest)

#task 6
print(2 % 5)
print(9 % 5)

#task 7
time1 = 1400

tt = 1400+5100
t2 = tt-2400
print(t2)

#task 8
print(Ask the user for the time now (in hours), and ask for the number of hours to wait. Your program should output what the time will be on the clock when the alarm goes off.)
now = int(input("What time is it in hours?"))
later_two = int(input("In how many hours would you like your alarm to ring?"))
difference_two = (later_two + now)
alarm = int(different_two/clock)
r_two = (difference % clock)

print("Your alarm will ring in", alarm, "days", "and", r_two, "hours!")
