#include <stdio.h>
#include <signal.h>
#include <unistd.h>

main()
{
       int c;

       while(1) {
               c = getchar();
               if(c == 'z') {
                       kill(getpid(), SIGSTOP);
                       printf(">>Resumed\n");
               }
       }
}