n=input("Enter your name = ")
s1=(input("Enter the name of first subject = "))
m1=int(input("Enter the value of first subject = "))
s2=(input("Enter the name of second subject = "))
m2=int(input("Enter the value of second subject = "))
s3=(input("Enter the name of third subject = "))
m3=int(input("Enter the value of third subject = "))
s4=(input("Enter the name of fourth subject = "))
m4=int(input("Enter the value of fourth subject = "))
s5=(input("Enter the name of fifth subject = "))
m5=int(input("Enter the value of fifth subject = "))
p=(m1+m2+m3+m4+m5)/5
print("------------------------------")
print("|Name of subject|Marks scored|")
print("| ",s1," |"," ",m1," |")
print("| ",s2," |"," ",m2," |")
print("| ",s3," |"," ",m3," |")
print("| ",s4," |"," ",m4," |")
print("| ",s5," |"," ",m5," |")
print("------------------------------","\n")
print("______________________________")
print("| |")
print("| ________________ |")
print("| | | |")
print("| |","Hello",n,"!| |")
print("| |______________| |")
print("| |")
print("| |")
print("|----------------------------|")
print("| _____________________ |")
print("| | | |")
print("| |percenatge =",p,"%|"," |")
print("| |___________________| |")
print("|____________________________|")