In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3981, 9107, 5763, 6221, '3433', '6637', '5269', '5239', 'o', '3103', 'U', 't', 'h', '4887', 'd', '8559', '6643', 'E', '2177', 'l', 'j', '73', 'R', 'S', 4245, 8053, 'e', 265, 4179, 't', 5609, 'w', 'Q'], [9761, 'P', 'h', 2681, 'C', 1445, 'j', 3569, 7331, 'H', 'v', 8921, 'l', '3433', '6637', '5269', '5239', 'o', '3103', 'U', 't', 'h', '4887', 'd', '8559', '6643', 'E', '2177', 'l', 'j', '73', 'f', 'k', 4231, 'u', 'z', 141, 'Y', 'd', 847]