In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 8471, 9713, 'X', 'a', 'H', 6451, '7397', '7989', '4257', '2439', 'X', 'D', '8359', 't', '2907', 'd', '3199', '4095', '8919', '4613', '5145', '8581', 'y', 'h', '6397', '8887', 'w', 'c', 'i', 'a', 'l', 'k', 'F', 8213, 7363, 5595, 1185, 't', 4931, 'I', 641, 1107, 6907, 'Y', 2093, 'A'], [1915, 'e', 'j', 1619, 7209, 'F', 5637, 'N', 9261, 'O', 'p', 6509, '7397', '7989', '4257', '2439', 'X', 'D', '8359', 't', '2907', 'd', '3199', '4095', '8919', '4613', '5145', '8581', 'y', 'h', '6397', '8887', 'p', 'l', 'I', 4557, 'Z', 'i', 'T', 'A', 'q', 6401, 9881, 'w']