// File: /workspace/github_c_makefile_star2_O2/aligrudi[P]gpss/datgen.c
// Function: main
int main(int argc, char *argv[])
{
	int i, j;
	int pt;
	if (input(stdin))
		return 1;
	for (j = 0; j < pt_n; j++)
		pt_sorted[j] = j;
	pt = lowerleft();
	for (i = 0; i < pt_n - pt_min + 1; i++) {
		int cur = 1;
		sortpoints(pt);
		pt_mark[pt] = 1;
		while (cur < pt_n) {
			int beg = cur;
			int good = 1;
			while (cur < pt_n && collinear(pt, pt_sorted[beg], pt_sorted[cur]))
				cur++;
			if (cur - beg + 1 < pt_min)
				continue;
			for (j = beg; good && j < cur; j++)
				if (pt_mark[pt_sorted[j]])
					good = 0;
			if (good && cur - beg + 1 >= pt_min)
				line_add(pt, cur - beg, pt_sorted + beg);
		}
		pt = closestunmarked(pt);
	}
	printf("%d\n", ln_n);
	for (i = 0; i < ln_n; i++) {
		printf("%d", ln_cnt[i]);
		for (j = 0; j < ln_cnt[i]; j++)
			printf(" %d", ln[i][j]);
		printf("\n");
	}
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq 0x2e4f(%rip), %rax      # 0x3fe0
movq (%rax), %r14
leaq 0xe70(%rip), %rsi       # 0x200b
leaq 0x2ebe(%rip), %rdx      # 0x4060
movq %r14, %rdi
xorl %eax, %eax
callq 0x1040
pushq $0x1
popq %rbx
cmpl $0x1, %eax
jne 0x11fe
leaq 0xb8a955(%rip), %rcx    # 0xb8bb10
leaq 0xb80d0e(%rip), %rdx    # 0xb81ed0
pushq $-0x1
popq %r15
leaq 0xe3b(%rip), %r12       # 0x2008
movl 0x2e8d(%rip), %ebp      # 0x4060
movslq %ebp, %rsi
incq %r15
cmpq %rsi, %r15
jge 0x120f
leaq 0x4(%rcx), %r13
leaq 0x4(%rdx), %rbp
movq %r14, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x1040
movq %rbp, %rdx
movq %r13, %rcx
cmpl $0x2, %eax
je 0x11cd
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
testl %ebp, %ebp
movl $0x0, %ecx
cmovgl %ebp, %ecx
leaq 0x2e4e(%rip), %rdx      # 0x4070
cmpq %rax, %rcx
je 0x1232
movl %eax, (%rdx)
incq %rax
addq $0x4, %rdx
jmp 0x1222
xorl %ebx, %ebx
pushq $0x1
popq %rax
leaq 0xb8a8d2(%rip), %r14    # 0xb8bb10
leaq 0xb80c8b(%rip), %r15    # 0xb81ed0
cmpq %rsi, %rax
jge 0x126c
movslq %ebx, %rcx
movl (%r14,%rcx,4), %edx
cmpl %edx, (%r14,%rax,4)
jge 0x125b
movl %eax, %ebx
jmp 0x1267
jne 0x1267
movl (%r15,%rax,4), %edx
cmpl (%r15,%rcx,4), %edx
jl 0x1257
incq %rax
jmp 0x1245
movl 0xf14e(%rip), %eax      # 0x103c0
movq %rax, 0x10(%rsp)
leal -0x1(%rbp), %eax
movl %eax, 0x18(%rsp)
cmpl $0x3, %ebp
pushq $0x2
popq %rax
cmovgel %ebp, %eax
addl $-0x2, %eax
movl %eax, 0x1c(%rsp)
leaq (,%rbp,4), %r12
xorl %edx, %edx
movq %rsi, 0x40(%rsp)
movq %rbp, 0x20(%rsp)
movq %r12, 0x30(%rsp)
cmpl 0x1c(%rsp), %edx
je 0x14ec
leaq 0x2db8(%rip), %rcx      # 0x4070
xorl %eax, %eax
leaq 0xb9448f(%rip), %rsi    # 0xb95750
movq %rdx, 0x38(%rsp)
cmpq %rax, %rbp
je 0x12d8
cmpl %ebx, (%rcx)
je 0x12db
incq %rax
addq $0x4, %rcx
jmp 0x12c6
movq %rbp, %rax
movl 0x2d8f(%rip), %ecx      # 0x4070
leaq 0x2d88(%rip), %rdx      # 0x4070
movl %ecx, (%rdx,%rax,4)
movl %ebx, 0x2d7f(%rip)      # 0x4070
movslq %ebx, %r13
xorl %eax, %eax
cmpq %rax, %r12
je 0x134b
movl (%rax,%r15), %ecx
subl (%r15,%r13,4), %ecx
movl %ecx, (%rax,%rsi)
movl (%rax,%r14), %edx
subl (%r14,%r13,4), %edx
leaq 0xb9e07b(%rip), %rdi    # 0xb9f390
movl %edx, (%rax,%rdi)
js 0x1334
sete %sil
testl %ecx, %ecx
setg %dil
andb %sil, %dil
leaq 0xb94422(%rip), %rsi    # 0xb95750
cmpb $0x1, %dil
jne 0x1345
negl %ecx
movl %ecx, (%rax,%rsi)
negl %edx
leaq 0xb9e04e(%rip), %rcx    # 0xb9f390
movl %edx, (%rax,%rcx)
addq $0x4, %rax
jmp 0x12f6
movl %ebx, 0xc(%rsp)
leaq 0x2d1e(%rip), %rdi      # 0x4074
movl 0x18(%rsp), %esi
callq 0x1577
leaq 0xc94a(%rip), %rax      # 0xdcb0
movb $0x1, (%r13,%rax)
pushq $0x1
popq %rax
movl %eax, %ebp
movl %ebp, %ecx
movq 0x20(%rsp), %rbp
cmpl %ebp, %ecx
jge 0x1493
movslq %ecx, %rax
leaq 0x2ce6(%rip), %rdx      # 0x4070
leaq (%rdx,%rax,4), %r12
movq 0x40(%rsp), %rdx
subq %rax, %rdx
xorl %ebp, %ebp
cmpq %rbp, %rdx
je 0x13e1
movslq (%r12), %rsi
movslq (%r12,%rbp,4), %rdi
movslq (%r15,%r13,4), %r8
movslq (%r15,%rsi,4), %r9
movq %r8, %r10
subq %r9, %r10
movslq (%r14,%r13,4), %r9
movslq (%r14,%rdi,4), %r11
movq %r9, %rbx
subq %r11, %rbx
imulq %r10, %rbx
movslq (%r15,%rdi,4), %rdi
subq %rdi, %r8
movslq (%r14,%rsi,4), %rsi
subq %rsi, %r9
imulq %r8, %r9
cmpq %r9, %rbx
jne 0x13e8
incq %rbp
jmp 0x1398
movq 0x20(%rsp), %rbp
jmp 0x13ea
addl %ecx, %ebp
movl %ebp, %ebx
subl %ecx, %ebx
movl %ebp, %ecx
cmpl $0x2, %ebx
jl 0x1373
movslq %ebp, %rcx
movb $0x1, %dl
movq %r12, %rsi
testb $0x1, %dl
je 0x1425
cmpq %rcx, %rax
jge 0x1425
movslq (%rsi), %rdx
leaq 0xc89b(%rip), %rdi      # 0xdcb0
cmpb $0x0, (%rdx,%rdi)
sete %dl
incq %rax
addq $0x4, %rsi
jmp 0x1401
movl %ebp, %ecx
testb $0x1, %dl
je 0x1373
movl %ebx, %eax
movq %rax, 0x28(%rsp)
incl %ebx
leaq 0x4(,%rax,4), %rdi
callq 0x1070
movq 0x10(%rsp), %rdx
movslq %edx, %rdx
leaq 0x3df87b(%rip), %rcx    # 0x3e0cd0
movq %rax, (%rcx,%rdx,8)
leaq 0xef70(%rip), %rcx      # 0x103d0
movl %ebx, (%rcx,%rdx,4)
movq %rdx, %rbx
movl 0xc(%rsp), %ecx
movl %ecx, (%rax)
leaq 0x4(%rax), %rdi
movq 0x28(%rsp), %rdx
shlq $0x2, %rdx
movq %r12, %rsi
callq 0x1060
incl %ebx
movq %rbx, 0x10(%rsp)
movl %ebx, 0xef32(%rip)      # 0x103c0
jmp 0x1371
xorl %r12d, %r12d
pushq $-0x1
popq %rbx
xorl %r13d, %r13d
cmpq %r12, %rbp
je 0x14db
leaq 0xc808(%rip), %rax      # 0xdcb0
cmpb $0x0, (%r12,%rax)
jne 0x14d6
testl %ebx, %ebx
js 0x14c4
movl 0xc(%rsp), %edi
movl %r12d, %esi
callq 0x16e1
cmpq %r13, %rax
jge 0x14d6
movl 0xc(%rsp), %edi
movl %r12d, %esi
callq 0x16e1
movq %rax, %r13
movl %r12d, %ebx
incq %r12
jmp 0x149c
movq 0x38(%rsp), %rdx
incl %edx
movq 0x30(%rsp), %r12
jmp 0x12a7
leaq 0xb11(%rip), %rdi       # 0x2004
xorl %ebx, %ebx
movq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x1050
leaq 0xb03(%rip), %r12       # 0x200b
leaq 0xafb(%rip), %r15       # 0x200a
pushq $0xa
popq %rbp
xorl %r14d, %r14d
movslq 0xeea4(%rip), %rax      # 0x103c0
cmpq %rax, %r14
jge 0x11fe
leaq 0xeea4(%rip), %rax      # 0x103d0
movl (%rax,%r14,4), %esi
movq %r12, %rdi
xorl %eax, %eax
callq 0x1050
xorl %r13d, %r13d
leaq 0xee8c(%rip), %rax      # 0x103d0
movslq (%rax,%r14,4), %rax
cmpq %rax, %r13
jge 0x156b
leaq 0x3df77c(%rip), %rax    # 0x3e0cd0
movq (%rax,%r14,8), %rax
movl (%rax,%r13,4), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x1050
incq %r13
jmp 0x153d
movl %ebp, %edi
callq 0x1030
incq %r14
jmp 0x1515