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

Ex Input:
['n', 'R', 'h', 'L', 1957, 4229, 8597, 'g', 7203, '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'f', 3093, 5017, 3929, 'A', 'M', 'J', 'n', 'v', 'm', 'k', 'G', 'N', 'G'], [8845, 6415, 'K', 4833, 2559, 6655, 6625, 'Q', 'F', 167, 'M', 'F', 2083, 6403, 'n', 1243, 7381, 6323, 7507, 'y', 'p', 'W', '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'S', 'Q', 7251, 'U', 4743, 'Q', 'm', 6307, 6989, 'd', 'D', 'U', 'T', 'f', 9737, 'u']

Ex Output:
5573, I, 4391, 8309, 9447, F, n, 9049, H, C, E, 5153, r, X, w, s, m, 8763, 6167, a, z, 861, d, 9999, 4707

Ex Input:
['c', 7387, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'W', 'i', 'A', 7573], ['K', 'g', 'b', 'u', 7899, 'k', 's', 223, '4905', '999', '5697', 'G', '9975', 'f', 'I', '2807', '6785', '7473', '9999', '8011', 'h', 7411, 83, 'T', 9199, 't', 9245]

Ex Output:
4905, 999, 5697, G, 9975, f, I, 2807, 6785, 7473, 9999, 8011

Ex Input:
['G', 'M', 'b', 'Q', 'I', 't', 'H', 8341, 7415, 2793, 6907, 6321, 'i', 1871, 'j', 'j', 'e', '1989', '8417', '9503', '7475', '8807', 'k', 'R', 'y', 'j', '3893', '2187', 't', '9937', '4509', '4369', '1379', 'V', '4109', 'V', 'L', 5901, 9629, 8059, 'f', 'G', 'p', 9457, 7637], ['D', 4347, 'p', 'm', 7127, 8789, 6853, 'O', 'F', 'Y', 1915, 'B', 8847, 's', 'c', 9277, 'd', 1319, 2983, 'j', 'e', '1989', '8417', '9503', '7475', '8807', 'k', 'R', 'y', 'j', '3893', '2187', 't', '9937', '4509', '4369', '1379', 'V', '4109', 'G', 2659, 559, 'e', 'U']

Ex Output:
j, e, 1989, 8417, 9503, 7475, 8807, k, R, y, j, 3893, 2187, t, 9937, 4509, 4369, 1379, V, 4109