In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9879, 'O', 'l', 7283, 5597, 'd', '875', 'o', 'K', 'j', '3567', 'O', 'g', 'K', 5175, 8029, 4775, 6015], ['a', 4583, 5703, 'E', '875', 'o', 'K', 'j', '3567', 'O', 'd', 'w', 's', 8207, 5963]