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

Example Input: [2449, 'h', 'F', 2217, 'G', 2655, 'k', 'Y', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'q', 9553, 4023, 127], [849, 7901, 'd', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'r', 'A', 'F']
Example Output: 8427, 2933, x, 2689, 9305, L, 9263, 2671

Example Input: ['x', 'T', 'K', 'i', 935, 's', 209, 6485, 7803, 'Z', 'Q', 'H', 'u', '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'N', 'p', 9815, 'Q', 'u', 'U', 1559, 'Y', 'z', 'i', 3473, 's', 7251, 5303, 'k', 'u'], [9843, 'H', 3903, 6499, 'y', 'u', 'v', 'i', 'p', 8877, 27, 'Z', 6151, 5793, 'F', 'u', 'K', 'f', 'F', 8005, 'r', 4323, 2093, '5629', '7573', '4679', '73', '6729', '1943', 'Y', 'b', '1595', 'R', '1475', '9785', '3773', '4077', '2189', 'r', 'd', '9613', 'L', 'S', '6619', '9039', '7557', '999', 'F', 'O', 'u', 'J']
Example Output: 5629, 7573, 4679, 73, 6729, 1943, Y, b, 1595, R, 1475, 9785, 3773, 4077, 2189, r, d, 9613, L, S, 6619, 9039, 7557, 999, F

Example Input: ['d', 6847, 't', 9997, 2699, 'W', 'i', 'd', 3251, 'L', 's', 'R', '4141', 'T', 'p', '1111', 'w', 'Z', 'r', '431', 'h', '8293', 'F', '3239', '8733', 'K', 'x', 371, 1387, 4275, 'N', 'v', 7515], ['g', 1093, 'c', 9561, 6579, 4473, 6429, 9851, 2765, 'M', 'n', 5873, 'L', 's', 'R', '4141', 'T', 'p', '1111', 'w', 'Z', 'r', '431', 'h', '8293', 'F', '3239', '8733', 'K', 'E', 'B', 8507, 'Z', 'm', 3101, 'e', 'a', 4295, 9331, 3537]
Example Output:
L, s, R, 4141, T, p, 1111, w, Z, r, 431, h, 8293, F, 3239, 8733, K