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

Ex Input:
[4275, 8037, 5099, 'T', 2089, 'E', 5305, 'r', 'k', 9537, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'O', 2707, 8633, 8875, 9045, 'q'], [3221, 'f', 3167, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'C', 3665, 'm', 6901, 3441, 5601, 6983, 'i', 'z']

Ex Output:
57, v, 6257, 5991, 6455, a, 9565, 885, F, 2219, 2797, 9309, J


Ex Input:
['N', 1775, 't', 385, 1349, 'T', 'E', 'u', 5647, 't', 'd', 'I', 'r', 'f', '6045', 'U', '9023', '9857', 'R', 'Y', 'w', 'P', '7089', '9679', '1507', 'S', '6815', 'Y', 'c', 'H', 'I', 'Q', 'Y', 'M', 7789, 'J', 'I', 4813, 6533, 1745, 'y', 4711, 'E', 'F', 5191, 's', 6979], ['W', 'F', 2799, 'I', 'r', 'f', '6045', 'U', '9023', '9857', 'R', 'Y', 'w', 'P', '7089', '9679', '1507', 'S', '6815', 'Y', 'c', 'H', 'I', 'Y', 'k', 6395, 'L', 5747, 'l', 4081, 'v', 3129, 7249, 375, 4575, 4725, 'R', 'A', 4761, 3217, 5203, 'E', 'T']

Ex Output:
I, r, f, 6045, U, 9023, 9857, R, Y, w, P, 7089, 9679, 1507, S, 6815, Y, c, H, I


Ex Input:
[7577, 'a', 7087, 'M', 'N', 'N', 'E', 't', '8715', 'D', '8737', 'j', 't', '1095', '1951', 'x', 'd', '785', '1603', '8501', '7375', '383', '1539', 'P', '1565', 'r', 'L', 'o', 'U', 'j', 'y', 'y', 'I', 4609, 1173, 5073, 'v', 'H', 'o', 'g', 'B', 4583, 3535, 8807, 9115, 'h', 7709, 381], ['D', 6567, 3311, 'l', 'q', 'n', 'p', 3207, 4221, 'B', 'X', 'c', 5879, 771, 'A', 5437, 'j', 4913, 'V', 9615, 'I', 'N', 'E', 't', '8715', 'D', '8737', 'j', 't', '1095', '1951', 'x', 'd', '785', '1603', '8501', '7375', '383', '1539', 'P', '1565', 'r', 'L', 'o', 'U', 'j', 'y', 'y', 'R', 5673, 4335, 'Y', 'R', 'F', 'u', 'J', 8011, 643, 2535]

Ex Output:

N, E, t, 8715, D, 8737, j, t, 1095, 1951, x, d, 785, 1603, 8501, 7375, 383, 1539, P, 1565, r, L, o, U, j, y, y