Awktoptimal Solution