10 CLS:?"1:ソスウイチラン 2:ソスウヲシラベル";:INPUT A 20 IFA=1GOTO@AELSEGOTO@B 30 @A:N=2:?"[1]:2":?"[2]:3" 40 FORI=5TO32749STEP2:P=0 50 P=P+1:IFI>=P*PCONTELSEP=P-1:J=2:C=1 60 J=J+1:IFJ<=PIFI%JCONTELSEC=0 70 IFCN=N+1:?"[";N;"]:";I 80 NEXT:END 90 @B:?"シラベルスウジヲニュウリョク(2-32749)";:INPUT A 100 P=0 110 P=P+1:IFA>=P*PCONTELSEP=P-1:J=1:C=1 120 J=J+1:IFJ<=PIFA%JCONTELSE?J;" ";:C=0:CONT 130 IFC?"ソスウデス"ELSE?"デワルコトガデキマス"