In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5667, 'Q', 'B', 'R', 3063, 'b', 3925, 'e', 'D', 'x', 8559, 4733, 'J', 'V', 3245, 'i', 'I', 4087, 3087, 'o', 'c', 't', 's', 'b', 'X', 'B', 'n', '3159', '2223', '3873', '7113', '135', 'j', 'V', '7105', 'l', 'N', '9169', 'S', 'Y', 8045, 'N', 1033, 8261, 663, 3175, 'c', 1829, 457, 2149, 'A', 8263, 'R', 4939], [1097, 'x', 7153, 5765, 'o', 'c', 't', 's', 'b', 'X', 'B', 'n', '3159', '2223', '3873', '7113', '135', 'j', 'V', '7105', 'l', 'N', '9169', 'S', 'q', 7831, 3195, 7807, 9327, 'G', 9871, 6021, 5357, 'E', 7967, 1293, 675, 3597, 6213, 1651, 8207]