wildcard-matching

correct but TLE
whatever, just save it