# Python code to demonstrate example of
# multiple inheritance
class Personel:
    def __init__(self):
        self.__id = 0
        self.__name = ""
        self.__gender = ""

    def setPersonel(self):
        self.__id = int(input("Ingrese identificacion: "))
        self.__name = input("Ingrese nombre: ")
        self.__gender = input("Ingrese el genero: ")

    def showPersonel(self):
        print("Identificacion: ", self.__id)
        print("Nombre: ", self.__name)
        print("genero: ", self.__gender)


class Educational:
    def __init__(self):
        self.__stream = ""
        self.__year = ""

    def setEducational(self):
        self.__stream = input("Ingrese curso: ")
        self.__year = input("Ingrese año: ")

    def showEducational(self):
        print("Curso: ", self.__stream)
        print("Año: ", self.__year)


class Student(Personel, Educational):
    def __init__(self):
        self.__address = ""
        self.__contact = ""

    def setStudent(self):
        self.setPersonel()
        self.__address = input("Ingrese direccion: ")
        self.__contact = input("Ingrese contacto: ")
        self.setEducational()

    def showStudent(self):
        self.showPersonel()
        print("Direccion: ", self.__address)
        print("Contacto: ", self.__contact)
        self.showEducational()


def main():
    s = Student()
    s.setStudent()
    s.showStudent()


if __name__ == "__main__":
    main()
