In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[479, 3879, 'l', 'F', 4725, '8369', '7251', 'w', 'H', 's', '6479', 'i', '8969', 'Y', 'm', 'w', '4439', 'Z', '3971', 'A', 5625, 6017, 5519, 'M', 'Y', 'T', 2299], ['P', 'w', 1193, 'h', 4047, 'u', 'd', '8369', '7251', 'w', 'H', 's', '6479', 'i', '8969', 'Y', 'm', 'w', '4439', 'Z', '3971', 'F', 'e', 6879]