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

Example 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']
Example Output: W, 3573, 689, y, 9557, J, b, 2185

Example Input: [4931, 5661, 8651, 'l', 'd', '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'K', 2179, 5747, 'C'], [3737, 7345, 3921, 'i', 9199, 3269, '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'A', 'd', 185, 'M']
Example Output: 9585, r, U, z, 6511, 9443, 2917

Example Input: [2761, 'i', 'p', '1079', 'g', '8433', 'y', '2051', '715', '8557', 'o', 'j', 'Q', '193', 'p', '3637', 'W', '5483', '3213', '5119', '661', '2499', '2193', '5271', 'p', 'O', 9575, 'O', 'h', 7775, 'j', 6507, 4635, 'D', 'U', 2479, 9343, 'K', 5915, 'M', 'p'], [1265, 'm', 409, 2779, 'C', 6583, 4877, 9729, 'E', 6615, 'm', 'f', 'I', 'E', 'c', 3929, 'Y', 'j', 'f', '1079', 'g', '8433', 'y', '2051', '715', '8557', 'o', 'j', 'Q', '193', 'p', '3637', 'W', '5483', '3213', '5119', '661', '2499', '2193', '5271', 'N', 'v', 'P', 8853, 'S']
Example Output:
1079, g, 8433, y, 2051, 715, 8557, o, j, Q, 193, p, 3637, W, 5483, 3213, 5119, 661, 2499, 2193, 5271