Not only is this puzzle not required for progression, if you press think harder several times, it will give you the option to auto solve it just in case you aren't interested in puzzles.
I am sorry for the frustration I have caused.
Sorry, finally I found it was actually my fault. There is some bugs with my translate tools, which made me misunderstand that I have to solve this puzzle by myself to unlock Lisa's Lv5. I finally solved it by not using that tool. And I finally solve the puzzle by myself, it was actually not that diffcult, just because I didn't input that correctly at first.