In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4349, 2791, 1085, 2919, 3077, 'w', 4269, 'r', '4861', '9013', 'x', 'M', '2361', '7893', 'g', 'T', '6779', '5305', '6757', 'f', '3953', 'd', '8661', 'K', 8263, 5425, 6225, 4895, 'r', 3535], [6051, 2691, 7713, 'w', 'Y', 2137, 6551, 5803, 'u', 'Z', 'v', 7255, 1611, '4861', '9013', 'x', 'M', '2361', '7893', 'g', 'T', '6779', '5305', '6757', 'f', '3953', 'd', '8661', 'I', 'W', 'q', 'e', 3965, 'E', 9403, 'l', 4871, 5037, 1647, 6273, 7577, 221]