Yeah, it's easy. When you deal with logic problems all day. Or if you're used to solving problems in your head.
Personally, I solved it easily in my head. But, I had to read the problem the first time, then read it again slowly getting all the numbers into the proper places in my head. An interview is a stressful place, so easy things can get a lot harder.