Imagine a special air filter placed in a window of a house. The tiny holes in the filter allow only air molecules moving faster than a certain speed to exit the house, and allow only air molecules moving slower than that speed to enter the house from outside.

How would such a filter affect the temperature inside the house?

What does the 2nd Law of Thermodynamics imply about such a filter?