In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9665, 9921, 'D', 6437, 'Q', 'Q', 2797, 'n', 'u', 'j', 'V', '7791', '1245', 'o', 'n', 'b', '8031', 'g', 'Z', 'g', '1821', 'e', 'P', '8943', 'R', '3251', 'd', '1605', '4851', 'X', 8523, 7051, 'Q', 469, 'h', 8255, 's', 'n', 4223, 2743, 6337, 1827, 7347, 'N', 237, 6649, 7563, 3691, 8359], ['R', 'S', 'V', 9231, 'B', 'w', 8977, 'V', 2319, 5235, 'n', 'u', 'j', 'V', '7791', '1245', 'o', 'n', 'b', '8031', 'g', 'Z', 'g', '1821', 'e', 'P', '8943', 'R', '3251', 'd', '1605', '4851', 'D', 6227, 'm', 'J', 8137, 3999, 'I', 'r', 5409, 845, 'd', 't', 'J', 5767, 6585, 2693, 9503]