In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1301, 'I', 'l', 'P', 7327, 'C', 'n', 'm', 7681, 'e', 'X', 'X', 'N', 'n', 'C', 'n', 6763, 1839, 2351, 'L', 'm', '159', 'E', '5433', 'j', 'q', 'G', 'z', 'x', '3427', '1421', '5327', '2661', '3533', '5999', '4635', '4163', 'x', 'p', 'Y', 61, 't', 6909, 'y', 8851, 529, 'J', 7347, 7497, 'b', 'I', 'a', 9887, 9827, 'q', 999, 297], ['I', 2827, 'A', 4227, 'S', 'q', 3567, 'E', 'v', 649, 'r', 1025, 'b', 'S', 'J', 2959, 1469, 331, 'L', 'm', '159', 'E', '5433', 'j', 'q', 'G', 'z', 'x', '3427', '1421', '5327', '2661', '3533', '5999', '4635', '4163', 'x', 's', 3697, 993, 3917]