2024-05-28 02:28:12 +01:00
|
|
|
from math import lcm, ceil, log
|
|
|
|
from random import choice, randint
|
|
|
|
from os import system
|
2024-06-12 18:41:40 +01:00
|
|
|
from collections import defaultdict
|
2024-05-28 02:28:12 +01:00
|
|
|
import io
|
|
|
|
|
2024-06-12 18:41:40 +01:00
|
|
|
PRIME = 998_244_353
|
|
|
|
|
2024-05-28 02:28:12 +01:00
|
|
|
if __name__ == '__main__':
|
2024-06-12 18:41:40 +01:00
|
|
|
N = 1000
|
|
|
|
print(1)
|
|
|
|
print(3, N * N // 3)
|
|
|
|
for i in range(3):
|
|
|
|
print(*(choice(['#', '.']) for _ in range(N * N // 3)), sep='')
|