# Funcions 
def print_hello():
    print("Hello there")

def greeting(name):
    print("Welcome, " + name)

def greeting_dept(name,department):
    print("I'm " + name + " and I work at " + department)

def area_triangle(base,height):
    return (base*height)/2

def convert_seconds(seconds):
    hours = seconds // 3600
    minutes = (seconds - hours * 3600) // 60
    remaining_seconds = seconds - hours * 3600 - minutes * 60
    return hours, minutes , remaining_seconds

print_hello()

greeting("Emanuel")
greeting("Carlos")

greeting_dept("Emanuel","IT")
greeting_dept("Carlos","Finance")

area_a = area_triangle(5,4)
area_b = area_triangle(7,3)
print("area a: " + str(area_a))
print("area b: " + str(area_b))

hours, minutes , remaining_seconds = convert_seconds(50000)
print("Hours: " + str(hours))
print("Minutes: " + str(minutes))
print("Remaining: " + str(remaining_seconds))