(System.file.stdin|read(2)|int*8%29/3)|print;