Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[5377, 's', 7037, 'g', 6339, 'f', '4175', 'h', '5301', '6331', '3903', 'H', 'r', 8685, 3173], [351, 8011, '4175', 'h', '5301', '6331', '3903', 'H', 'z', 3925, 'c', 'N', 1309]

4175, h, 5301, 6331, 3903, H