add new script for printing sequence sum to a given integer.