Lily and Marshall receive shocking news that has a profound impact on the gang. Ted begins his duties as best man for an old friend’s wedding.