In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4957, 't', 61, 951, 'x', 'Q', 'x', 'F', 'M', '3753', '8783', 'q', 'g', 'p', 'p', '4541', 'Q', 'O', 'X', '4039', 'f', 'n', 'r', '8965', 'z', 8661, 'k', 'b', 5727, 'j'], ['w', 'G', 'x', 'F', 'M', '3753', '8783', 'q', 'g', 'p', 'p', '4541', 'Q', 'O', 'X', '4039', 'f', 'n', 'r', '8965', 'w', 'P', 9137, 7981, 'n', 'l', 'a', 117, 9223, 'M', 5865, 'H', 'b', 'x', 'y', 2025, 'M', 2223]