Funny cat solves math