Revert "Update CHW-main.cpp"

This reverts commit 89e01455bf9a0e99c0c9fd08770de88a9f1c3c3c.