In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['J', 8235, 'h', 'F', 389, 'i', 'z', 'n', 4413, 'J', 6155, 'p', 'J', 4871, 4211, 'o', 'n', 'c', 'r', 'R', '8529', '3981', 'P', '1893', 'F', '1305', 'h', '1825', 'd', 'U', '7827', '6171', '1471', 'k', '5959', '8537', 'z', 'H', '2387', '3905', '3963', 'Z', 'w', 'b', '909', 'o', 'O', 'L', 'L', 4423, 'y', 9615, 5337], ['d', 'q', 251, 'a', 'X', 'I', 8409, 'e', 2581, 8111, 1909, 7457, 'L', 10031, 'o', 'n', 'M', 'a', 'c', 'r', 'R', '8529', '3981', 'P', '1893', 'F', '1305', 'h', '1825', 'd', 'U', '7827', '6171', '1471', 'k', '5959', '8537', 'z', 'H', '2387', '3905', '3963', 'Z', 'w', 'b', '909', 'o', 'O', 'v', 'G', 'p', 'b', 'P']