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

Example Input: [1951, 'Y', 'v', 5955, 75, 'e', 9911, 3885, 335, 'L', 7871, 'z', 'l', 1047, 7915, 'D', 5831, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'k', 6911, 6063, 4091, 'z', 2951, 'v', 'n', 'a', 'N', 2063, 'o', 'V', 149, 'k', 6117, 7805], ['G', 8737, 1265, 'B', 'Y', 'f', 2407, 2383, 3405, 'u', 'M', 'g', 3985, 9783, 'V', 1525, '3495', 'a', 'i', '2657', 'R', 'P', 'N', 'K', '3765', '9331', '7357', 't', 'p', '6279', 'p', '4009', 'T', 'm', 'R', 'z', '1461', '31', '8689', '8807', '7225', '6421', 'r', '2115', 'E', 'c', 2823, 2777, 'S', 'f', 't', 's', 'N', 'P', 5597, 'R', 'W', 699, 'f', 'p', 7843, 'y', 3875, 7057, 'u', 'E', 'D']
Example Output: 3495, a, i, 2657, R, P, N, K, 3765, 9331, 7357, t, p, 6279, p, 4009, T, m, R, z, 1461, 31, 8689, 8807, 7225, 6421, r, 2115

Example Input: ['L', 5499, 'z', 'J', 'I', 't', 6291], [337, 5087, 'z', 'J', 'I', 'p', 'm']
Example Output: z, J, I

Example Input: ['C', 'k', 6079, 'U', 'J', 's', '2899', '5383', 'y', 'Q', '5537', '8447', 'R', 's', 's', '3035', 'q', '1761', 'u', '8685', '3457', '3125', 'I', 367, 4183, 'o'], ['W', 'I', 1223, 2275, 'F', 'R', 8471, 4771, 'J', 's', '2899', '5383', 'y', 'Q', '5537', '8447', 'R', 's', 's', '3035', 'q', '1761', 'u', '8685', '3457', '3125', 'Z', 2967, 'I', 323, 'N', 'Y', 'S', 9135, 5373, 425, 'B']
Example Output:
J, s, 2899, 5383, y, Q, 5537, 8447, R, s, s, 3035, q, 1761, u, 8685, 3457, 3125