In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['O', 'x', 3101, 6135, 8273, 3671, 2789, 4417, 'k', 827, 6929, 'P', '1285', '4173', '8889', 'H', 'r', '2635', 'L', 's', '9981', '2039', 'r', 'o', 'Q', 'e', 'f', 5767, 8703, 1891, 3767, 'A', 's', 'R'], ['c', 9413, 'R', 1749, 'S', 'A', 7025, 'u', 'P', '1285', '4173', '8889', 'H', 'r', '2635', 'L', 's', '9981', '2039', 'r', 'z', 6415, 'Z']