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

Example Input: ['m', 'F', 5425, 1403, 6355, 7383, 'Y', 'e', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'N', 2741, 7825, 6521, 'R'], [8389, 7261, 4783, 6181, 6767, 9719, 2625, 'W', 4357, 1749, 887, 153, 8939, 'K', 1329, 'T', 'a', 'k', 'F', 't', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'K', 'E', 'P', 8489, 2309, 'j', 3937, 4731, 'H']
Example Output: K, 10031, S, 9599, V, i, 6919, r, m, I, x, 6889, M, 1977, S, c, m, 4569, F, C, u

Example Input: [6233, 489, 6117, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'Q', 4171], ['G', 9467, 331, 9967, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'o', 'a', 'P', 'a', 'C', 'N', 'R', 'l', 'l', 'j', 'N', 8161, 3729, 'F', 'r', 'B']
Example Output: 5201, J, A, 3023, W, 791, 8263, m, w, q, 8873, B, 4945, 25, v, 6679, 3217, Q, 9509, V

Example Input: [5915, 'A', 'v', 9935, 1677, 4971, 8807, 'P', 525, 'p', 'B', 'K', 'C', 'i', 'o', 't', '737', '5711', '6131', 'M', 'o', 'A', 'u', '9361', 'K', '5959', 'j', '8341', 'E', '6343', '371', '2013', '4477', '5929', '5919', '8491', '4151', '3699', '8791', 'k', 'c', 2937], [679, 129, 'S', 5309, 3337, 7199, 631, 7181, 69, 'k', 'a', 'r', 4225, 'i', 'o', 't', '737', '5711', '6131', 'M', 'o', 'A', 'u', '9361', 'K', '5959', 'j', '8341', 'E', '6343', '371', '2013', '4477', '5929', '5919', '8491', '4151', '3699', '8791', 's', 'x']
Example Output:
i, o, t, 737, 5711, 6131, M, o, A, u, 9361, K, 5959, j, 8341, E, 6343, 371, 2013, 4477, 5929, 5919, 8491, 4151, 3699, 8791