In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['s', 'h', 'd', 5945, 4101, 4813, 7099, 4135, 8665, 2751, 'D', 'i', 1781, 'd', 2571, 949, 'P', 'w', 5583, 1919, '4929', '8717', 'n', '5687', 'L', 'w', 'G', '1525', 'p', 'M', 'X', '2511', 'v', '8981', 'E', '6537', '4433', 'H', 'e', '8889', '8893', 'c', '19', '5533', 'B', 'F', 6921, 'Z', 'w', 'G', 8053, 'P', 2911, 'n', 9389, 8707, 9335, 7165, 3019, 'Y'], ['g', 8003, 4575, 4085, 'c', 9137, 'U', 'g', 's', 5999, 9297, 347, 'X', 'x', 9007, 2679, 'n', 'z', 3475, 3131, 'D', 7039, 3321, '4929', '8717', 'n', '5687', 'L', 'w', 'G', '1525', 'p', 'M', 'X', '2511', 'v', '8981', 'E', '6537', '4433', 'H', 'e', '8889', '8893', 'c', '19', '5533', 'g', 85, 'l', 6485, 4341, 'j', 'H', 4187, 2221, 1619, 'o']