Pi problem completed