问题:F Problem B - The Brick Stops Here