<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def buildingname(ddtt):
 """return building name"""

    idf = ddtt.theidf
    building = idf.idfobjects['building'.upper()][0]
    return building.Name