In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7887, 'z', 'S', 5421, 'u', 8061, 'q', '2637', 'h', 'R', 'H', 'Q', 'Y', 'J', '4503', 'h', '807', '3911', 'y', 1153, 'L', 723, 3007, 'J', 2547, 'j', 'O', 'T', 5137, 'e'], [8831, 'u', 'P', 7121, 95, 9419, 2769, 2725, 'q', '2637', 'h', 'R', 'H', 'Q', 'Y', 'J', '4503', 'h', '807', '3911', 'o', 173, 'O', 'H', 'W', 'Y', 9411, 8175, 6617, 8089, 4331, 'Z']