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

Ex Input:
['L', 'V', 5597, 1661, 'x', 'M', 3901, 'Y', 7525, 'r', 'P', 3031, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'y', 9635, 9141, 't', 7363, 1359, 'H', 5619], [6813, 7119, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'w', 2701, 'f', 9769, 6265, 6111, 'n', 5757, 915, 1583, 'N']

Ex Output:
b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955


Ex Input:
[1057, 8997, 6853, 1935, 't', '3929', '9627', '4599', 'c', 'W', 'S', '7893', '2409', '6647', 'q', '3657', '3959', '7725', 'v', 'Q', 'L'], [2553, 'S', 'E', '3929', '9627', '4599', 'c', 'W', 'S', '7893', '2409', '6647', 'q', '3657', '3959', '7725', 'Q', 'S', 4853, 1079, 7087, 'W', 'k']

Ex Output:
3929, 9627, 4599, c, W, S, 7893, 2409, 6647, q, 3657, 3959, 7725


Ex Input:
['P', 'B', 1899, 's', 4699, 'x', 'u', 4731, 1445, 3615, 977, 'L', 2409, 'y', 'j', 7723, 6753, 'J', 881, 'A', 5179, 2833, 'w', 'S', 'B', 757, 'T', '5867', 'o', 'J', 'v', '2537', 'D', 'J', '733', '5397', '6409', '317', '6245', 'S', '7563', '3583', 'E', '7669', '8311', '5603', 'y', 'y', '7855', '1405', 'm', 'x', '7217', 'p', 'N', 'X', 'P', 9749, 'k', 4371, 'x', 'u', 7069, 6261, 'k', 8371, 'G', 4683, 5361, 'U', 'C', 6815, 7939, 'k', 5057, 7095, 5403, 'U', 809, 6815], [1691, 'y', 'z', 'H', 'b', 'V', 'q', 3979, 'm', 'b', 'M', 'Z', 1945, 'R', 189, 'd', 8777, 'X', 4879, 'D', 'w', 'S', 'R', 4099, 3259, 5293, 'T', '5867', 'o', 'J', 'v', '2537', 'D', 'J', '733', '5397', '6409', '317', '6245', 'S', '7563', '3583', 'E', '7669', '8311', '5603', 'y', 'y', '7855', '1405', 'm', 'x', '7217', 'p', 'N', 'X', 'f', 'Z', 'T', 3125]

Ex Output:

T, 5867, o, J, v, 2537, D, J, 733, 5397, 6409, 317, 6245, S, 7563, 3583, E, 7669, 8311, 5603, y, y, 7855, 1405, m, x, 7217, p, N, X