In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 'R', 'G', 'y', 'C', 5123, 8691, 'A', 5431, 9373, 'n', 13, 7457, 'U', 4623, 4823, 'Q', 7171, 5683, 6147, 'f', 'a', 'I', '6223', '3641', 'a', 'g', 'X', 'u', '2895', '1593', '6085', 'o', '9395', 'U', 'Q', '6013', '549', '5993', 'J', '2905', 'P', 'L', '3703', '6645', 'e', '1235', 'p', 'Z', 'J', 'M', 5067, 475, 'X'], [8167, 1131, 'b', 3569, 5831, 'E', 7903, 'N', 'j', 'h', 4017, 2033, 'x', 5747, 'g', 8819, 'o', 103, 'f', 'a', 'I', '6223', '3641', 'a', 'g', 'X', 'u', '2895', '1593', '6085', 'o', '9395', 'U', 'Q', '6013', '549', '5993', 'J', '2905', 'P', 'L', '3703', '6645', 'e', '1235', 'p', 'Z', 'J', 'C', 5423, 'C', 'r', 'S', 'd', 'N', 9057, 8791, 669, 9477, 2355]