In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1817, 9213, 'R', 7211, 4035, 'a', 9785, '7139', 'b', 'h', '427', 'M', '6491', 'H', 'W', '9389', 'e', 'u', '3591', 'L', '2691', '2447', 'm', 7599, 1151, 'T', 7507], ['V', 2611, 4357, 'q', 1051, '7139', 'b', 'h', '427', 'M', '6491', 'H', 'W', '9389', 'e', 'u', '3591', 'L', '2691', '2447', 'g', 'Y', 'b', 7925]