In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['F', 'I', 5317, 'Z', 'y', '7547', '9661', '9329', 'J', '421', '8995', '7165', 'R', 'I', '2151', 'g', '9961', 'H', 'A', 9003, 2495, 7921, 'o', 7875, 'E', 'B', 'Q', 'S', 6221, 1979], ['w', 3107, 'j', 'x', 3615, 'F', 727, 'z', 'G', 'd', 'D', 'Z', 'y', '7547', '9661', '9329', 'J', '421', '8995', '7165', 'R', 'I', '2151', 'g', '9961', 'e', 3931, 8683, 9959, 'q', 7155, 'R', 7417, 'E', 3787, 4597]