
'''
class abc:

    val =10

    def __init__(self,val):

        val=val+1

        print('hi rishi ji')

        self.val=val

        print("init",val)

    def disp(self):

        print('rishi')



o=abc(2)

print("obj",abc.val)

o.disp()

o2=abc(99)

print("obj",abc.val)

o3=abc(909)

print("obj",abc.val)


'''
#2

class marks:

    name=[]

    m=[]

    l=[]

    def get():

        s=input('enter name')

        marks.name.append(s)

        print('enter marks sir/mam')

        for i in range(3):

            x=int(input())

            marks. l.append(x)

        marks.m.append(marks.l)

        #marks.l=[]

    def disp(n):

        for i in range(n):

            print(marks.name[i],'  ',marks.l)



o=marks

n=int(input('enter no. of stu'))

for i in range(n):

    o.get()

o.disp(n)
'''
#3

class circle:

    pi=3.14

    def area(self,r):

        area=r*r*self.pi

        print(area)

    def circum(self,r):

        circum=2*r*self.pi

        print(circum)

r=int(input())

c=circle()

c.area(r)

c.circum(r)



#2.1

class marks:

    n=' '

    def m(self):

        self.l=[]

        print('enterb name ji')

        x=input()

        self.name=x

        print('enter marks')

        for i in range(3):

            a=int(input())

            self.l.append(a)

    def disp(self):

        print(self.name)

        print(self.l)



n=int(input())

for i in range(n):

    o =marks()

    o.m()

    o.disp()

    '''

from datetime import date

import calendar

import datetime

#4

class age:

    def find(born):

        today = date.today()

        return today.year - born.year



rk=age()

year = int(input('Enter a year'))

month = int(input('Enter a month'))

day = int(input('Enter a day'))

s = datetime.date(year, month, day)

print(s)

rk.find(s)

print(a)

        

