Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[5627, 'c', 1625, 6691, 4017, 5845, 9661, 1089, 'z', 'M', 1317, 'L', 1401, 7845, 's', '2787', '2429', '6359', 'V', 'D', '7715', '2203', 'B', 'a', 'c', '9533', 'a', '443', 'c', '9135', '2605', 'p', 2525, 6745, 'N', 6749, 1027, 'E'], ['B', 6363, 1601, 'O', 'e', 3503, '2787', '2429', '6359', 'V', 'D', '7715', '2203', 'B', 'a', 'c', '9533', 'a', '443', 'c', '9135', '2605', 't', 't', 'b', 6961, 'r', 4431, 'z', 4941, 'H', 'Q', 'S', 'p', 5371]
2787, 2429, 6359, V, D, 7715, 2203, B, a, c, 9533, a, 443, c, 9135, 2605