PathSum a/c