In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 'b', 1897, 9941, 2081, 'o', 1131, 'A', 'n', 'j', 'l', 'f', 'K', '3647', 'a', '6939', 'h', '8097', 'l', 'S', 'Q', 'Z', 2837, 'u', 't', 961, 7907, 1803, 1305, 'E', 'l', 249, 4489], [8789, 'O', 5663, 'e', 'j', 'l', 'f', 'K', '3647', 'a', '6939', 'h', '8097', 'l', 'S', 'Q', 'D', 8867, 773]