Learning the Sequential Coordinated Behavior of Teams from Observations