#!/usr/bin/python a = "Garbale Pails" b = "Sand Pails" c = "Garbage Pails" if a[len("Garbage"):-1] == c[len("Garbage"):-1]: print "True" else: print "False"