In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2605, 6491, 'I', 'a', '6977', 'P', 'd', '6013', 't', 'F', '1791', '2065', 'l', '3253', 'n', '8413', 'V', '8417', 'M', '7285', 'C', '8043', 'l', '1789', 'b', '2463', 'E', '5673', 'P', '9605', '8451', '4887', 'q', 'Z', 7809, 625, 9109, 6767, 's', 'h', 2657, 615, 'o', 'J'], ['x', 5607, 'K', 'X', 6501, 'm', 5481, 'f', 'j', 'k', 1699, 'F', 'o', 541, 'E', 7953, 'L', 5075, 8671, '6977', 'P', 'd', '6013', 't', 'F', '1791', '2065', 'l', '3253', 'n', '8413', 'V', '8417', 'M', '7285', 'C', '8043', 'l', '1789', 'b', '2463', 'E', '5673', 'P', '9605', '8451', '4887', 'q', 'W', 'h', 'D', 6153, 6555, 'x', 4221, 3941, 'L', 4881, 7239, 'J', 4517, 'Z', 7943, 'M', 10031, 7169, 2925, 6799]