In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2931, 'P', 9969, 'T', 9045, 'l', 's', 'A', 1561, 'Q', 'c', '7305', '3281', 'K', 'R', '6485', 'F', 'm', '9797', 'O', '9559', 'w', 'k', 's', 'n', '7447', '7063', '4321', '3675', 'q', '8029', 'V', 'K', '4031', 'b', 'L', 'h', 5891, 2095, 'z', 6625, 6321, 'x', 3337, 8629, 7893, 'c', 'W', 'a', 'i', 4901, 9593], ['M', 9257, 2611, 9325, 'e', 'w', 'Q', 'c', '7305', '3281', 'K', 'R', '6485', 'F', 'm', '9797', 'O', '9559', 'w', 'k', 's', 'n', '7447', '7063', '4321', '3675', 'q', '8029', 'V', 'K', '4031', 'b', 'L', 'U', 'L', 'm', 'Y', 'j', 5417, 10001, 'g']