; n-1本の辺があれば良い (defun main () (princ (1- (read))) (terpri)) (main)