// File: /workspace/github_c_makefile_star2_O1/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
movl $0x1, %ebx
cmpl $0x1, %eax
jne 0x15e9
cmpl $0x0, 0x2e9f(%rip)      # 0x4060
jle 0x120d
leaq 0xb8a946(%rip), %r15    # 0xb8bb10
leaq 0xb80cff(%rip), %r12    # 0xb81ed0
leaq 0xe30(%rip), %r13       # 0x2008
xorl %ebp, %ebp
movq %r14, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x1040
cmpl $0x2, %eax
jne 0x15e9
incq %rbp
movslq 0x2e60(%rip), %rax      # 0x4060
addq $0x4, %r15
addq $0x4, %r12
cmpq %rax, %rbp
jl 0x11da
movl 0x2e4c(%rip), %r13d     # 0x4060
testl %r13d, %r13d
jle 0x1230
leaq 0x2e50(%rip), %rax      # 0x4070
xorl %ecx, %ecx
movl %ecx, (%rax)
incq %rcx
addq $0x4, %rax
cmpq %rcx, %r13
jne 0x1222
xorl %r10d, %r10d
cmpl $0x2, %r13d
jl 0x1271
xorl %r10d, %r10d
movl $0x1, %eax
leaq 0xb8a8c8(%rip), %rcx    # 0xb8bb10
leaq 0xb80c81(%rip), %rdx    # 0xb81ed0
movslq %r10d, %rsi
movl (%rcx,%rsi,4), %edi
cmpl %edi, (%rcx,%rax,4)
jge 0x125f
movl %eax, %r10d
jmp 0x1269
jne 0x1269
movl (%rdx,%rax,4), %edi
cmpl (%rdx,%rsi,4), %edi
jl 0x125a
incq %rax
cmpq %rax, %r13
jne 0x124f
cmpl $0x3, %r13d
jl 0x155c
leaq 0xb8a88e(%rip), %r12    # 0xb8bb10
leaq 0xb80c47(%rip), %r14    # 0xb81ed0
movl 0xf131(%rip), %eax      # 0x103c0
movq %rax, 0x18(%rsp)
leal -0x1(%r13), %eax
movl %eax, 0x10(%rsp)
leal -0x3(%r13), %eax
movl %eax, 0xc(%rsp)
leaq (,%r13,4), %r11
xorl %eax, %eax
leaq 0xb9449b(%rip), %rbx    # 0xb95750
leaq 0xb9e0d4(%rip), %r15    # 0xb9f390
movq %r13, 0x38(%rsp)
movq %r11, 0x20(%rsp)
movq %rax, 0x30(%rsp)
leaq 0x2d9e(%rip), %rcx      # 0x4070
xorl %eax, %eax
cmpl %r10d, (%rcx)
je 0x12e8
incq %rax
addq $0x4, %rcx
cmpq %rax, %r13
jne 0x12d4
movl %r13d, %eax
movl %eax, %eax
movl 0x2d80(%rip), %ecx      # 0x4070
leaq 0x2d79(%rip), %rdx      # 0x4070
movl %ecx, (%rdx,%rax,4)
movl %r10d, 0x2d6f(%rip)     # 0x4070
movslq %r10d, %rbp
movl (%r14,%rbp,4), %eax
movl (%r12,%rbp,4), %ecx
xorl %edx, %edx
movl (%rdx,%r14), %esi
subl %eax, %esi
movl %esi, (%rdx,%rbx)
movl (%rdx,%r12), %edi
subl %ecx, %edi
movl %edi, (%rdx,%r15)
js 0x1336
sete %r8b
testl %esi, %esi
setg %r9b
andb %r8b, %r9b
cmpb $0x1, %r9b
jne 0x1341
negl %esi
movl %esi, (%rdx,%rbx)
negl %edi
movl %edi, (%rdx,%r15)
addq $0x4, %rdx
cmpq %rdx, %r11
jne 0x130e
movl %r10d, 0x14(%rsp)
leaq 0x2d1e(%rip), %rdi      # 0x4074
movl 0x10(%rsp), %esi
callq 0x15fa
leaq 0xc94a(%rip), %rax      # 0xdcb0
movb $0x1, (%rbp,%rax)
movq %rbp, %rax
movslq (%r14,%rbp,4), %rbp
movq %rax, 0x28(%rsp)
movslq (%r12,%rax,4), %r15
movl $0x1, %ebx
movl %ebx, %edx
movslq %ebx, %rax
leaq 0x2ce4(%rip), %rcx      # 0x4070
leaq (%rcx,%rax,4), %rcx
movslq (%rcx), %rdi
movslq (%r14,%rdi,4), %r8
movq %rbp, %rsi
subq %r8, %rsi
movslq (%r12,%rdi,4), %r8
movq %r15, %rdi
subq %r8, %rdi
leal 0x1(%rax), %ebx
cmpl %ebx, %r13d
cmovgl %r13d, %ebx
xorl %r8d, %r8d
movslq (%rcx,%r8,4), %r9
movslq (%r12,%r9,4), %r10
movq %r15, %r11
subq %r10, %r11
imulq %rsi, %r11
movslq (%r14,%r9,4), %r9
movq %rbp, %r10
subq %r9, %r10
imulq %rdi, %r10
cmpq %r10, %r11
jne 0x13ea
leaq (%rax,%r8), %r9
incq %r9
incq %r8
cmpq %r13, %r9
jl 0x13b4
jmp 0x13f0
addl %edx, %r8d
movl %r8d, %ebx
movl %ebx, %r14d
subl %edx, %r14d
cmpl $0x2, %r14d
jl 0x14aa
cmpl %ebx, %edx
jge 0x1433
movslq %ebx, %rdx
leaq 0x1(%rax), %rsi
leaq 0xc89e(%rip), %r9       # 0xdcb0
movslq (%rcx), %rdi
movb (%rdi,%r9), %dil
testb %dil, %dil
jne 0x142e
addq $0x4, %rcx
leaq 0x1(%rsi), %r8
cmpq %rdx, %rsi
movq %r8, %rsi
jl 0x1412
testb %dil, %dil
jne 0x14aa
leaq 0x2c36(%rip), %rcx      # 0x4070
leaq (%rcx,%rax,4), %rax
movq %rax, 0x40(%rsp)
movl %r14d, %r12d
incl %r14d
leaq 0x4(,%r12,4), %rdi
callq 0x1070
movq 0x18(%rsp), %r13
movslq %r13d, %r13
leaq 0x3df86b(%rip), %rcx    # 0x3e0cd0
movq %rax, (%rcx,%r13,8)
leaq 0xef60(%rip), %rcx      # 0x103d0
movl %r14d, (%rcx,%r13,4)
movl 0x14(%rsp), %ecx
movl %ecx, (%rax)
leaq 0x4(%rax), %rdi
shlq $0x2, %r12
movq 0x40(%rsp), %rsi
movq %r12, %rdx
leaq 0xb8a67f(%rip), %r12    # 0xb8bb10
callq 0x1060
incl %r13d
movq %r13, 0x18(%rsp)
movl %r13d, 0xef1b(%rip)     # 0x103c0
movq 0x38(%rsp), %r13
leaq 0xb80a1f(%rip), %r14    # 0xb81ed0
cmpl %r13d, %ebx
jl 0x1380
movl $0xffffffff, %r10d      # imm = 0xFFFFFFFF
movq %r14, %rax
movq %r12, %rcx
xorl %edx, %edx
xorl %esi, %esi
movq 0x20(%rsp), %r11
leaq 0xb9427a(%rip), %rbx    # 0xb95750
leaq 0xb9deb3(%rip), %r15    # 0xb9f390
movq 0x28(%rsp), %rbp
leaq 0xc7c7(%rip), %rdi      # 0xdcb0
cmpb $0x0, (%rdx,%rdi)
jne 0x153a
testl %r10d, %r10d
js 0x1518
movslq (%r14,%rbp,4), %rdi
movslq (%rax), %r8
subq %r8, %rdi
movslq (%r12,%rbp,4), %r8
movslq (%rcx), %r9
subq %r9, %r8
imulq %rdi, %rdi
imulq %r8, %r8
addq %rdi, %r8
cmpq %rsi, %r8
jge 0x153a
movslq (%r14,%rbp,4), %rdi
movslq (%rax), %rsi
subq %rsi, %rdi
movslq (%r12,%rbp,4), %rsi
movslq (%rcx), %r8
subq %r8, %rsi
imulq %rdi, %rdi
imulq %rsi, %rsi
addq %rdi, %rsi
movl %edx, %r10d
incq %rdx
addq $0x4, %rcx
addq $0x4, %rax
cmpq %rdx, %r13
jne 0x14e2
movq 0x30(%rsp), %rcx
leal 0x1(%rcx), %eax
cmpl 0xc(%rsp), %ecx
jne 0x12c6
movl 0xee5e(%rip), %esi      # 0x103c0
leaq 0xa9b(%rip), %rdi       # 0x2004
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x1050
cmpl $0x0, 0xee47(%rip)      # 0x103c0
jle 0x15e9
leaq 0xee4e(%rip), %r15      # 0x103d0
leaq 0xa82(%rip), %rbx       # 0x200b
leaq 0x3df740(%rip), %r12    # 0x3e0cd0
leaq 0xa73(%rip), %r14       # 0x200a
xorl %r13d, %r13d
movl (%r15,%r13,4), %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1050
cmpl $0x0, (%r15,%r13,4)
jle 0x15ce
xorl %ebp, %ebp
movq (%r12,%r13,8), %rax
movl (%rax,%rbp,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x1050
incq %rbp
movslq (%r15,%r13,4), %rax
cmpq %rax, %rbp
jl 0x15b1
movl $0xa, %edi
callq 0x1030
incq %r13
movslq 0xedde(%rip), %rax      # 0x103c0
cmpq %rax, %r13
jl 0x159a
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq