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

Ex Input:
[5381, 'H', 'w', 9281, 3195, 2609, 'v', 'q', 'O', 10019, 'Q', 'K', 'c', 'J', 'A', 'a', 313, 5517, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'z', 4391, 'Z', 3229, 'f', 'z', 6131, 'm', 'U', 5825], [6363, 6625, 'f', 7841, 'J', 'j', 993, 'p', 'f', 'X', 'j', 361, 4325, 'a', 649, '3007', '1737', 'F', 'a', '4559', '3987', '6211', 'v', '5531', '9565', '1705', '7747', '8567', '5965', '4195', 'p', '2775', 'g', 'K', 'n', 'B', 'U', 'T', '8995', 'c', '2831', 'n', 'Q', 'l', '6749', 'G', 6719, 2367, 9155, 'B', 7493, 9415, 'j', 'k', 'j', 'v', 'k', 'Z', 9021, 'f', 'x', 3213, 'p', 3453, 'w']

Ex Output:
3007, 1737, F, a, 4559, 3987, 6211, v, 5531, 9565, 1705, 7747, 8567, 5965, 4195, p, 2775, g, K, n, B, U, T, 8995, c, 2831, n, Q, l, 6749


Ex Input:
['p', 'j', 'p', 3253, 'L', 'X', 1755, 4489, 'n', 'V', 7833, 9835, 9139, 't', 3153, 5695, 7775, '6669', 'e', 'm', '5223', '8817', 's', '9893', '9405', 'b', 'c', 'Q', 'd', '7239', 'H', '55', 'f', 'P', 'l', 'O', '65', '2513', '2417', '8039', '7095', 'm', 'n', '3597', 'O', '6129', 'Y', 6177, 'q', 155, 'O', 3591, 'z', 'M', 'Q', 'v', 'e', 4571, 8539], ['K', 'D', 3165, '6669', 'e', 'm', '5223', '8817', 's', '9893', '9405', 'b', 'c', 'Q', 'd', '7239', 'H', '55', 'f', 'P', 'l', 'O', '65', '2513', '2417', '8039', '7095', 'm', 'n', '3597', 'O', '6129', 'N', 'W', 'g', 2189, 'q', 'm', 'x', 3317, 'S', 'K', 'u', 3559, 3153, 'u', 3061]

Ex Output:
6669, e, m, 5223, 8817, s, 9893, 9405, b, c, Q, d, 7239, H, 55, f, P, l, O, 65, 2513, 2417, 8039, 7095, m, n, 3597, O, 6129


Ex Input:
[9963, 'V', 4159, 'x', 'O', '3429', 'b', 'P', 6607, 6519], [291, 2797, 'x', 'O', '3429', 'b', 'e', 8925]

Ex Output:

x, O, 3429, b