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

Ex Input:
[2803, 'l', 8379, 'r', 'b', 2363, 'P', 'K', 's', 3999, 't', 167, 'N', '9089', '4973', '7373', '8759', 'W', 'r', '6259', '9427', 'c', 'Q', '2311', '5829', 'O', '7913', '1539', 'r', 'e', 'd', '9025', 'M', 7681, 'e', 'm', 'a', 1365, 'm', 'm', 'v', 'P', 'M', 3649, 7257, 'q', 9843, 831, 'U', 'b'], ['A', 'm', 9121, 'h', 'p', 'k', 'P', 4077, 'd', 3595, 1689, 'D', 'C', 'l', 'I', 'Y', 'N', '9089', '4973', '7373', '8759', 'W', 'r', '6259', '9427', 'c', 'Q', '2311', '5829', 'O', '7913', '1539', 'r', 'e', 'd', '9025', 'K', 2849, 'i', 'K', 'N', 'u', 1811, 967, 2799, 'u', 'C', 637, 1911, 6151, 'L']

Ex Output:
N, 9089, 4973, 7373, 8759, W, r, 6259, 9427, c, Q, 2311, 5829, O, 7913, 1539, r, e, d, 9025


Ex Input:
['Q', 4345, 'U', 6921, 'y', 57, 8287, 8385, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'X', 'V', 2801], [3259, 'S', 'e', 'n', 'c', 'B', 'O', 217, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'j', 'I', 5767, 'X', 8283, 8895, 'd', 8329]

Ex Output:
O, 3359, S, 7355, 2263, d, d, i, t, E


Ex Input:
['J', 'A', 7687, 281, 'v', 'P', 'i', 7785, 'J', 'Y', 3523, '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'i', 267, 'p', 4649, 'n', 'H', 'y', 2593, 4947, 3199, 7407, 8623, 'S'], ['T', 9895, 1551, 'O', 5617, 'p', '355', '7389', 'Q', '4119', 'I', 'r', '6615', '8467', 'C', '9539', '4047', 'F', 'B', '2161', 'm', 'W', 'C', 'O', '7731', '3331', 'S', 'C', 2099, 6507, 489, 9845, 6641, 2521]

Ex Output:

355, 7389, Q, 4119, I, r, 6615, 8467, C, 9539, 4047, F, B, 2161, m, W, C, O, 7731, 3331