You could just ask, and we'd answer "it's just a simple problem so both of us can see what it's like to work together." You'd be surprised how many people show up who don't actually know how to write a for loop.
And if you didn't like the experience you wouldn't want to work for us so the interview would be a success too.