solution - EP

solution - EP