Algorithm EP

Algorithm