In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 'A', 'q', '7051', 'c', '5309', 'D', '8943', '8711', '2997', '1113', '7321', '1821', '8159', 'J', '8627', '8211', 'P', '1595', '1301', 'C', '7949', 'j', 'k', 'W', 7033, 8965, 's', 3829, 1885, 2891, 'B', 5655, 'b', 8307, 'n', 1325, 'e', 6761, 'p', 'n', 3187, 9489], ['o', 'B', 4883, 2129, 8039, 6159, 'y', 2335, 'x', 'c', 9765, 'e', 6937, 8259, 1221, 8025, 1115, 7941, 'c', 1757, '7051', 'c', '5309', 'D', '8943', '8711', '2997', '1113', '7321', '1821', '8159', 'J', '8627', '8211', 'P', '1595', '1301', 'C', '7949', 'j', 'k', 'Q', 8187, 325, 'J', 'G', 9593, 'j', 'v', 'g', 'M', 6905, 'Z']