Smart cat solving math problems