In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6305, 'F', 's', 'f', 'N', 'Q', 'D', 5191, 'Q', 9923, 'K', 9823, 'M', 5043, 1179, 'd', 'u', 2873, 8125, 4409, 6773, 8133, 'J', 2523, 'n', '727', 'a', '8125', '9321', '4951', '2741', 'S', '881', 'p', '2911', 'P', '4869', '4935', '9095', '849', '8127', '7379', 'M', 'r', '267', '3921', 'I', 'V', '2923', '9577', 'w', 'b', 'N', 'p', 5379, 'l'], [2253, 5817, 471, 'K', 'g', 'y', 9345, 3773, 'e', 'x', 5733, 4251, 3277, 1637, 3239, 471, 6889, 't', 'n', '727', 'a', '8125', '9321', '4951', '2741', 'S', '881', 'p', '2911', 'P', '4869', '4935', '9095', '849', '8127', '7379', 'M', 'r', '267', '3921', 'I', 'V', '2923', '9577', 'w', 'b', 'N', 'x', 'W', 'G', 8063, 'L', 'M', 'D', 989, 3197, 'u', 4613, 'D', 6035, 'T', 1629, 4533, 'p', 'a', 593, 7363, 'p', 5629, 4811, 6773, 645, 5017, 'v']