'''
Created on Sep 19, 2016

@author: Susan
'''
def removePlurals(phrase):
    answer = ""
    alist = phrase.split()
    for word in alist:
        if word[-1] == "s":
            #answer = answer + word[:-1] + " "
            answer += word[:-1] + " "
        else:
            answer = answer + word + " "
    #return answer.strip()
    return answer[:-1]



if __name__ == '__main__':
    print removePlurals("We always love the frogs and spiders")
    print removePlurals("This is the place for frogs and spiders")
