In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1273, 'Y', 151, 6665, 537, 'Z', 'i', 5937, 7131, 'y', 'W', 2287, 1783, 5787, 9611, 4897, 'q', 'f', 1171, 4851, 6921, 8915, 8945, 'P', 8517, 2903, '725', '5323', '2635', 'q', '8591', '6819', 'P', 'e', 'G', 'l', 'g', '5475', 'y', '4185', '7567', 'b', 'P', '857', 'p', 'f', '3931', '3287', 'x', 'N', '9493', 'A', '4835', 'O', 7829, 3293, 5337, 'g', 503, 9471, 'Z', 'v', 9391, 4733, 1471, 'p', 7097, 'N', 1729, 'F', 4255, 2057, 'C', 'N'], ['k', 8619, 'V', 'G', 3903, 4335, 5297, 'I', 'v', 'Y', 9729, 31, '725', '5323', '2635', 'q', '8591', '6819', 'P', 'e', 'G', 'l', 'g', '5475', 'y', '4185', '7567', 'b', 'P', '857', 'p', 'f', '3931', '3287', 'x', 'N', '9493', 'A', '4835', 'o', 'G', 'K', 7603, 'g', 9899, 'r', 'w', 'O', 'q', 'R', 'o', 'M', 4865]