In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: [987, 885, 2111, 'P', 'e', 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'a', 6295, 1061, 1619, 3509, 8583, 'f', 1157, 5365, 'l', 'x', 'B', 'U', 141, 5753, 'F', 7595, 'H'], [8245, 137, 5887, 1267, 5851, 'n', 7393, 'f', 9739, 9983, 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'F', 'k', 3463, 'U', 3587, 't', 'j', 'q', 'M', 1213, 9955, 'h', 9779, 'l', 8839, 'G', 8477, 9341, 6071, 'm']
Example Output: h, h, C, P, V, 4563, E, J, M, n, C, Q, P, k, S, M, 8993, 8675, 6707, Q, r, 4351, Q, q

Example Input: [5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]
Example Output: a, 3619, 5119, 4219, 769, 8735, 6417, V, W

Example Input: [847, 8399, 8829, 5873, 1247, 4869, 'V', 'N', 'X', 'q', 'v', 'a', 'V', 'H', 'c', 5497, 6661, 'C', 1635, 2489, 'Y', 7371, 'i', 1603, 'L', 'S', '4887', 'm', 'e', 'C', 'v', '7711', 'a', 'A', '6815', '6149', 'P', 'f', '2645', 'A', '9789', '7629', '3965', '8653', 'n', '2165', '5581', 'O', 'Z', '1769', '9891', 'P', 'e', 8149, 3903, 'u', 'q', 'G', 'x', 'K', 'O', 6867, 'N', 8229, 3797, 1309, 'E', 'j', 'A', 'r', 2693, 's'], ['u', 'I', 'J', 'I', 8117, 2453, 'a', '4887', 'm', 'e', 'C', 'v', '7711', 'a', 'A', '6815', '6149', 'P', 'f', '2645', 'A', '9789', '7629', '3965', '8653', 'n', '2165', '5581', 'O', 'Z', '1769', '9891', 'P', 'k', 'p', 'm']
Example Output:
4887, m, e, C, v, 7711, a, A, 6815, 6149, P, f, 2645, A, 9789, 7629, 3965, 8653, n, 2165, 5581, O, Z, 1769, 9891, P