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

Ex Input:
[7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']

Ex Output:
6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093


Ex Input:
[4339, 'i', 7857, 315, 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'i', 7649, 'F', 'g', 6973], ['r', 5097, 5467, 't', 'N', 'Y', 'W', '3573', '689', 'y', '9557', 'J', 'b', '2185', 'l', 837, 643, 2055, 'J', 'I']

Ex Output:
W, 3573, 689, y, 9557, J, b, 2185


Ex Input:
['x', 5995, 1943, 'Q', 4211, 7055, 9129, 9839, 'i', 6749, 's', 'L', 8193, 'J', '4653', 'U', '9147', '1907', 'Z', 'K', 'T', '6099', 'E', '317', 'b', 'c', 'L', 's', '1745', 'L', 'n', '7635', 'H', '5569', 's', 9111, 'L', 7931, 49], ['o', 'c', 'j', '4653', 'U', '9147', '1907', 'Z', 'K', 'T', '6099', 'E', '317', 'b', 'c', 'L', 's', '1745', 'L', 'n', '7635', 'H', '5569', 'T', 'N', 1007, 'c', 'L', 'k', 7089, 'y', 'Z', 8233, 'I', 5695, 'a', 'K', 3343, 'N', 1405]

Ex Output:

4653, U, 9147, 1907, Z, K, T, 6099, E, 317, b, c, L, s, 1745, L, n, 7635, H, 5569