In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['H', 9083, 4903, 'a', 'H', 5187, 5739, 9733, 8341, 6745, 'O', 'j', '4833', 'p', 'c', 'c', 'i', '8935', 's', '3157', '8407', 'r', 4623, 2885, 'F', 'X', 4657, 8091, 9079, 'z', 3883, 'f'], ['P', 5677, 7949, 8719, 'Q', 1663, 4017, 'r', 's', 's', 'O', 'j', '4833', 'p', 'c', 'c', 'i', '8935', 's', '3157', '8407', 'V', 6223, 'B', 'l']