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

Example Input: [2585, 'R', 'a', 9005, 829, 1751, 'I', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'Q', 'K', 1021, 635, 'L', 'r', 'D', 6997, 4363, 'm', 2661, 7933, 'v'], [2855, 'Q', 7207, 'F', 9581, 9807, 3127, 6695, 4363, 'V', 'd', 2791, 't', 4507, 1047, 5959, 2697, 6393, 1751, 5521, 'S', 'G', '6211', '5597', '9283', '3429', 'T', 'K', '4887', '4679', '5705', 'u', 'p', 'c', '6329', '6259', 't', 'p', 'I', 'E', 'S', '3507', 'C', 437, 'c', 63, 469, 'R', 'I', 10007, 'B', 'S', 4919, 'V', 7431, 9317, 9909, 421, 'J', 't', 'O', 'r', 3653]
Example Output: G, 6211, 5597, 9283, 3429, T, K, 4887, 4679, 5705, u, p, c, 6329, 6259, t, p, I, E, S, 3507

Example Input: [319, 1325, 9567, 'M', 'm', 1759, 't', 'Z', 'X', 7981, 2409, 5023, 'b', '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'I', 5289, 1221, 'k', 5727, 5411, 7127, 'F', 'J', 'o', 7587, 'm', 237, 415, 8413, 'j'], ['O', 5043, '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'v', 5793]
Example Output: 8661, 6609, 8213, Y, 9541, 8065, M, 8267, V, K, 3217, 1111, 1411, u, 9705, V, U, 3171, 4195, Z, t, p

Example Input: [3267, 'O', 'j', 9629, 3541, 'F', 'V', 'G', 'y', '8189', 'i', 't', '9993', '9521', '9355', '6645', '4581', 'e', 'D', '2557', '9271', '5591', 'H', 'T', 3785, 6751, 3291, 'i', 'z', 1529, 'D', 'T', 2841, 'F', 9851], ['a', 'B', 3695, 'y', '8189', 'i', 't', '9993', '9521', '9355', '6645', '4581', 'e', 'D', '2557', '9271', '5591', 'H', 'O', 4359, 9261, 3793, 'D']
Example Output:
y, 8189, i, t, 9993, 9521, 9355, 6645, 4581, e, D, 2557, 9271, 5591, H