In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 615, 1273, 'A', 8581, 'W', 'v', 'a', '8161', '8881', 'O', '697', '2319', '7491', '3895', 'g', 'I', 'K', 'P', '3333', '6139', '8047', '8323', '121', 'm', '5429', '3039', 'p', '8989', '1477', 'c', 'E', 'I', 'x', 9759, 1601, 6135, 617, 'V', 3813, 1511, 19, 2295, 9299, 4073, 7891, 'L', 1223, 'Z', 'k', 'x', 'L', 'J', 3693, 2931, 'm'], [7497, 'q', 'h', 'k', 8105, 9269, 's', 9835, 'O', 8317, '8161', '8881', 'O', '697', '2319', '7491', '3895', 'g', 'I', 'K', 'P', '3333', '6139', '8047', '8323', '121', 'm', '5429', '3039', 'p', '8989', '1477', 'c', 'E', 'I', 'd', 'L', 'h', 301, 7873, 1045, 9867, 'v', 'v', 'E', 's', 137, 'W', 6085]