In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 5995, 1943, 'Q', 4211, 7055, 9129, 9839, 'i', 6749, 's', 'L', 8193, 'J', '4653', 'U', '9147', '1907', 'Z', 'K', 'T', '6099', 'E', '317', 'b', 'c', 'L', 's', '1745', 'L', 'n', '7635', 'H', '5569', 's', 9111, 'L', 7931, 49], ['o', 'c', 'j', '4653', 'U', '9147', '1907', 'Z', 'K', 'T', '6099', 'E', '317', 'b', 'c', 'L', 's', '1745', 'L', 'n', '7635', 'H', '5569', 'T', 'N', 1007, 'c', 'L', 'k', 7089, 'y', 'Z', 8233, 'I', 5695, 'a', 'K', 3343, 'N', 1405]