In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 9819, 3095, 'K', 'g', 2063, 2409, 4779, 'y', 3887, '6799', '8667', '1581', '1773', '425', 'p', 'r', '8771', 'K', '6217', '5209', '4295', 'j', 'e', '4799', 'n', '9549', 'x', 'N', '4367', 'N', 'l', '9909', '6961', 'h', 'V', 'E', 4667, 6109, 'g'], [1811, 2589, 6241, 9441, 2357, 8475, 1079, 8993, 'y', 'c', 2173, 5173, 'g', 'P', 'R', 4775, 8525, '6799', '8667', '1581', '1773', '425', 'p', 'r', '8771', 'K', '6217', '5209', '4295', 'j', 'e', '4799', 'n', '9549', 'x', 'N', '4367', 'N', 'l', '9909', '6961', 'P', 'W', 'O', 'i', 5685, 'F', 5795, 9717, 'l', 'E', 1717, 8501, 1477]