In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4993, 7625, 'F', 'b', 'W', '1197', '4493', '1431', '6015', '1027', 'd', 'P', '1897', 'n', '3251', '9655', 'Z', 309, 'u', 'R', 4555, 9407, 1923, 'S', 7953, 9593, 1609, 'D'], [7799, 's', 4905, 1053, 's', 9771, 7443, 'p', 9479, 'W', '1197', '4493', '1431', '6015', '1027', 'd', 'P', '1897', 'n', '3251', '9655', 'z', 6677, 'j', 6139, 5137, 7997, 8505, 'o', 'o', 4677, 'e']