In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[819, 'C', 2785, 'Y', 'q', '3669', 's', '1791', 'P', 'g', 'G', 'a', '5127', '7567', 'D', 'H', 'u', '7649', 'T', 6447, 3727, 'S', 7047, 'X', 9959, 'E', 2347, 'n', 'Z', 'f'], ['C', 'H', 'P', 'v', 'x', 'H', 'T', 'm', 8927, 'C', 9125, 'f', '3669', 's', '1791', 'P', 'g', 'G', 'a', '5127', '7567', 'D', 'H', 'u', '7649', 'e', 'U', 'D', 3173, 'D', 'A', 4711, 'p']