def commonKeys(longerList, shorterList):
    commonKeyList = []
    for i in range(len(longerList)):
        if (longerList[i] in shorterList):
            commonKeyList.append(longerList[i])
    return commonKeyList
def commonKeys(longerList, shorterList):
    commonKeyList = []
    for i in range(len(longerList)):
        if (longerList[i] in shorterList):
            commonKeyList.append(longerList[i])
    return commonKeyList