In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5961, 9401, 'h', 'o', 'b', 3365, 3819, 'E', 'h', '3169', 'q', '10023', 'F', 'k', 'U', '6825', '5201', 'z', 2457, 7151, 'c', 5605, 6127, 'r', 'V', 'Q'], ['R', 'D', 4431, 'W', 6829, 'c', 8025, 7023, 'E', 'h', '3169', 'q', '10023', 'F', 'k', 'U', '6825', '5201', 'p', 379, 'V', 5079, 2153, 2075, 'E', 'O']