In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2277, 8093, 'Y', 3035, 4623, 'x', 'K', 'p', 'N', '8675', '6705', 'd', 'd', 'U', '3387', 'Y', 'z', 'B', 't', 'W', 'q', 'P', 'E', 6653, 'T'], ['f', 'J', 'l', 'D', 'N', 4297, 'f', 'm', 5607, 'U', 'x', 'K', 'p', 'N', '8675', '6705', 'd', 'd', 'U', '3387', 't', 231]