In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 'H', 7897, 'e', 'B', 8137, 'Q', 'J', '9443', '8197', '2629', 'k', 'o', '3015', '4561', 't', '6017', 'I', 'e', 'e', 'W', '9049', 'v', 'f', 'i', '161', 'D', 6745, 'V', 'l', 7969, 'o', 's', 9731, 'u', 'm', 'j'], [5691, 'k', 8561, 'P', 8019, '9443', '8197', '2629', 'k', 'o', '3015', '4561', 't', '6017', 'I', 'e', 'e', 'W', '9049', 'v', 'f', 'i', '161', 'O', 'S', 8495, 1949, 'Q', 'P', 9083, 'Z', 'H', 2363, 7573, 4033, 'R', 'u', 'N', 7709]