diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..496ee2ca6a2f08396a4076fe43dedf3dc0da8b6d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.DS_Store
\ No newline at end of file
diff --git a/public_test_cases/p00000/input.1.txt b/public_test_cases/p00000/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p00000/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p00000/output.1.txt b/public_test_cases/p00000/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p00000/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p00001/input.0.txt b/public_test_cases/p00001/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d13274734f497ddf366272e9192c328a514ed83
--- /dev/null
+++ b/public_test_cases/p00001/input.0.txt
@@ -0,0 +1,10 @@
+1819
+2003
+876
+2840
+1723
+1673
+3776
+2848
+1592
+922
diff --git a/public_test_cases/p00001/input.1.txt b/public_test_cases/p00001/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d13274734f497ddf366272e9192c328a514ed83
--- /dev/null
+++ b/public_test_cases/p00001/input.1.txt
@@ -0,0 +1,10 @@
+1819
+2003
+876
+2840
+1723
+1673
+3776
+2848
+1592
+922
diff --git a/public_test_cases/p00001/input.2.txt b/public_test_cases/p00001/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08caf1becb2a79dd970ffc3a995cb4c9f3dfaf60
--- /dev/null
+++ b/public_test_cases/p00001/input.2.txt
@@ -0,0 +1,10 @@
+100
+200
+300
+400
+500
+600
+700
+800
+900
+900
diff --git a/public_test_cases/p00001/output.0.txt b/public_test_cases/p00001/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..674119f611c6cf0c2ce825731300023308cad8ad
--- /dev/null
+++ b/public_test_cases/p00001/output.0.txt
@@ -0,0 +1,3 @@
+3776
+2848
+2840
diff --git a/public_test_cases/p00001/output.1.txt b/public_test_cases/p00001/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..674119f611c6cf0c2ce825731300023308cad8ad
--- /dev/null
+++ b/public_test_cases/p00001/output.1.txt
@@ -0,0 +1,3 @@
+3776
+2848
+2840
diff --git a/public_test_cases/p00001/output.2.txt b/public_test_cases/p00001/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05ea39d07fb07012093238c8f7df63ed9455c32b
--- /dev/null
+++ b/public_test_cases/p00001/output.2.txt
@@ -0,0 +1,3 @@
+900
+900
+800
diff --git a/public_test_cases/p00002/input.0.txt b/public_test_cases/p00002/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15d9da739e783571bb32eb7ed4d0d6fb1a403291
--- /dev/null
+++ b/public_test_cases/p00002/input.0.txt
@@ -0,0 +1,3 @@
+5 7
+1 99
+1000 999
diff --git a/public_test_cases/p00002/input.1.txt b/public_test_cases/p00002/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15d9da739e783571bb32eb7ed4d0d6fb1a403291
--- /dev/null
+++ b/public_test_cases/p00002/input.1.txt
@@ -0,0 +1,3 @@
+5 7
+1 99
+1000 999
diff --git a/public_test_cases/p00002/output.0.txt b/public_test_cases/p00002/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcf37cd5e26203dc0a9570d26b7a5074049d4c9c
--- /dev/null
+++ b/public_test_cases/p00002/output.0.txt
@@ -0,0 +1,3 @@
+2
+3
+4
diff --git a/public_test_cases/p00002/output.1.txt b/public_test_cases/p00002/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcf37cd5e26203dc0a9570d26b7a5074049d4c9c
--- /dev/null
+++ b/public_test_cases/p00002/output.1.txt
@@ -0,0 +1,3 @@
+2
+3
+4
diff --git a/public_test_cases/p00003/input.0.txt b/public_test_cases/p00003/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff5474d259bcb37ae70c54a27e80a1255f516ab5
--- /dev/null
+++ b/public_test_cases/p00003/input.0.txt
@@ -0,0 +1,4 @@
+3
+4 3 5
+4 3 6
+8 8 8
diff --git a/public_test_cases/p00003/input.1.txt b/public_test_cases/p00003/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff5474d259bcb37ae70c54a27e80a1255f516ab5
--- /dev/null
+++ b/public_test_cases/p00003/input.1.txt
@@ -0,0 +1,4 @@
+3
+4 3 5
+4 3 6
+8 8 8
diff --git a/public_test_cases/p00003/output.0.txt b/public_test_cases/p00003/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6e03a3424cbc9fd3c1c5139fbef28b53ec422af
--- /dev/null
+++ b/public_test_cases/p00003/output.0.txt
@@ -0,0 +1,3 @@
+YES
+NO
+NO
diff --git a/public_test_cases/p00003/output.1.txt b/public_test_cases/p00003/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6e03a3424cbc9fd3c1c5139fbef28b53ec422af
--- /dev/null
+++ b/public_test_cases/p00003/output.1.txt
@@ -0,0 +1,3 @@
+YES
+NO
+NO
diff --git a/public_test_cases/p00004/input.0.txt b/public_test_cases/p00004/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b6a727d933380e9bc9d5bf4c4369dcca8190e3
--- /dev/null
+++ b/public_test_cases/p00004/input.0.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+2 -1 -2 -1 -1 -5
diff --git a/public_test_cases/p00004/input.1.txt b/public_test_cases/p00004/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b6a727d933380e9bc9d5bf4c4369dcca8190e3
--- /dev/null
+++ b/public_test_cases/p00004/input.1.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+2 -1 -2 -1 -1 -5
diff --git a/public_test_cases/p00004/input.2.txt b/public_test_cases/p00004/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e17ad1ab10e4da831935992d44bd72f90bee974a
--- /dev/null
+++ b/public_test_cases/p00004/input.2.txt
@@ -0,0 +1,2 @@
+2 -1 -3 1 -1 -3
+2 -1 -3 -9 9 27
diff --git a/public_test_cases/p00004/output.0.txt b/public_test_cases/p00004/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06fc1eecdf2d532cb4a6867902fc85333b6f4d53
--- /dev/null
+++ b/public_test_cases/p00004/output.0.txt
@@ -0,0 +1,2 @@
+-1.000 2.000
+1.000 4.000
diff --git a/public_test_cases/p00004/output.1.txt b/public_test_cases/p00004/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06fc1eecdf2d532cb4a6867902fc85333b6f4d53
--- /dev/null
+++ b/public_test_cases/p00004/output.1.txt
@@ -0,0 +1,2 @@
+-1.000 2.000
+1.000 4.000
diff --git a/public_test_cases/p00004/output.2.txt b/public_test_cases/p00004/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c9666759d4ea443c860dd524083c75c251d6b29
--- /dev/null
+++ b/public_test_cases/p00004/output.2.txt
@@ -0,0 +1,2 @@
+0.000 3.000
+0.000 3.000
diff --git a/public_test_cases/p00005/input.0.txt b/public_test_cases/p00005/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f015a2360df285c8508d501daa7e1266eca4491d
--- /dev/null
+++ b/public_test_cases/p00005/input.0.txt
@@ -0,0 +1,2 @@
+8 6
+50000000 30000000
diff --git a/public_test_cases/p00005/input.1.txt b/public_test_cases/p00005/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f015a2360df285c8508d501daa7e1266eca4491d
--- /dev/null
+++ b/public_test_cases/p00005/input.1.txt
@@ -0,0 +1,2 @@
+8 6
+50000000 30000000
diff --git a/public_test_cases/p00005/output.0.txt b/public_test_cases/p00005/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..815b96d3c3583a03cdb7e3502bd08c4482353fe0
--- /dev/null
+++ b/public_test_cases/p00005/output.0.txt
@@ -0,0 +1,2 @@
+2 24
+10000000 150000000
diff --git a/public_test_cases/p00005/output.1.txt b/public_test_cases/p00005/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..815b96d3c3583a03cdb7e3502bd08c4482353fe0
--- /dev/null
+++ b/public_test_cases/p00005/output.1.txt
@@ -0,0 +1,2 @@
+2 24
+10000000 150000000
diff --git a/public_test_cases/p00006/input.0.txt b/public_test_cases/p00006/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b600185ad57851dd1b656fd1aa68309230d35bca
--- /dev/null
+++ b/public_test_cases/p00006/input.0.txt
@@ -0,0 +1 @@
+w32nimda
diff --git a/public_test_cases/p00006/input.1.txt b/public_test_cases/p00006/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b600185ad57851dd1b656fd1aa68309230d35bca
--- /dev/null
+++ b/public_test_cases/p00006/input.1.txt
@@ -0,0 +1 @@
+w32nimda
diff --git a/public_test_cases/p00006/output.0.txt b/public_test_cases/p00006/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e7c11615b9340589860b710f0d3066659dcbf7f
--- /dev/null
+++ b/public_test_cases/p00006/output.0.txt
@@ -0,0 +1 @@
+admin23w
diff --git a/public_test_cases/p00006/output.1.txt b/public_test_cases/p00006/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e7c11615b9340589860b710f0d3066659dcbf7f
--- /dev/null
+++ b/public_test_cases/p00006/output.1.txt
@@ -0,0 +1 @@
+admin23w
diff --git a/public_test_cases/p00007/input.0.txt b/public_test_cases/p00007/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00007/input.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00007/input.1.txt b/public_test_cases/p00007/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00007/input.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00007/output.0.txt b/public_test_cases/p00007/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b2439819af887fad5492bec31144d43b1d1088d
--- /dev/null
+++ b/public_test_cases/p00007/output.0.txt
@@ -0,0 +1 @@
+130000
diff --git a/public_test_cases/p00007/output.1.txt b/public_test_cases/p00007/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b2439819af887fad5492bec31144d43b1d1088d
--- /dev/null
+++ b/public_test_cases/p00007/output.1.txt
@@ -0,0 +1 @@
+130000
diff --git a/public_test_cases/p00008/input.0.txt b/public_test_cases/p00008/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cd6874aa3c141fdd3989a0a7b1874cb35b184ee
--- /dev/null
+++ b/public_test_cases/p00008/input.0.txt
@@ -0,0 +1,2 @@
+35
+1
diff --git a/public_test_cases/p00008/input.1.txt b/public_test_cases/p00008/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cd6874aa3c141fdd3989a0a7b1874cb35b184ee
--- /dev/null
+++ b/public_test_cases/p00008/input.1.txt
@@ -0,0 +1,2 @@
+35
+1
diff --git a/public_test_cases/p00008/output.0.txt b/public_test_cases/p00008/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7290ba859f4adbf90d68526fe0ab1f8cbcf65098
--- /dev/null
+++ b/public_test_cases/p00008/output.0.txt
@@ -0,0 +1,2 @@
+4
+4
diff --git a/public_test_cases/p00008/output.1.txt b/public_test_cases/p00008/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7290ba859f4adbf90d68526fe0ab1f8cbcf65098
--- /dev/null
+++ b/public_test_cases/p00008/output.1.txt
@@ -0,0 +1,2 @@
+4
+4
diff --git a/public_test_cases/p00009/input.0.txt b/public_test_cases/p00009/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de3d8a94b8ae700abb2f6bfafaee2a499733f73f
--- /dev/null
+++ b/public_test_cases/p00009/input.0.txt
@@ -0,0 +1,3 @@
+10
+3
+11
diff --git a/public_test_cases/p00009/input.1.txt b/public_test_cases/p00009/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de3d8a94b8ae700abb2f6bfafaee2a499733f73f
--- /dev/null
+++ b/public_test_cases/p00009/input.1.txt
@@ -0,0 +1,3 @@
+10
+3
+11
diff --git a/public_test_cases/p00009/output.0.txt b/public_test_cases/p00009/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9e2036d6ff3461493e65010b4ed07ccbfd8d9ec
--- /dev/null
+++ b/public_test_cases/p00009/output.0.txt
@@ -0,0 +1,3 @@
+4
+2
+5
diff --git a/public_test_cases/p00009/output.1.txt b/public_test_cases/p00009/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9e2036d6ff3461493e65010b4ed07ccbfd8d9ec
--- /dev/null
+++ b/public_test_cases/p00009/output.1.txt
@@ -0,0 +1,3 @@
+4
+2
+5
diff --git a/public_test_cases/p00010/input.0.txt b/public_test_cases/p00010/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0a64ec6edd99f87a574100f4590755c1e15e213
--- /dev/null
+++ b/public_test_cases/p00010/input.0.txt
@@ -0,0 +1,2 @@
+1
+0.0 0.0 2.0 0.0 2.0 2.0
diff --git a/public_test_cases/p00010/input.1.txt b/public_test_cases/p00010/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0a64ec6edd99f87a574100f4590755c1e15e213
--- /dev/null
+++ b/public_test_cases/p00010/input.1.txt
@@ -0,0 +1,2 @@
+1
+0.0 0.0 2.0 0.0 2.0 2.0
diff --git a/public_test_cases/p00010/output.0.txt b/public_test_cases/p00010/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d45248750b925747e48eee329a6b72c6c94320c1
--- /dev/null
+++ b/public_test_cases/p00010/output.0.txt
@@ -0,0 +1 @@
+1.000 1.000 1.414
diff --git a/public_test_cases/p00010/output.1.txt b/public_test_cases/p00010/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d45248750b925747e48eee329a6b72c6c94320c1
--- /dev/null
+++ b/public_test_cases/p00010/output.1.txt
@@ -0,0 +1 @@
+1.000 1.000 1.414
diff --git a/public_test_cases/p00011/input.0.txt b/public_test_cases/p00011/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..490d2318d7c61ad817a08da5e88ca79627f63117
--- /dev/null
+++ b/public_test_cases/p00011/input.0.txt
@@ -0,0 +1,6 @@
+5
+4
+2,4
+3,5
+1,2
+3,4
diff --git a/public_test_cases/p00011/input.1.txt b/public_test_cases/p00011/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..490d2318d7c61ad817a08da5e88ca79627f63117
--- /dev/null
+++ b/public_test_cases/p00011/input.1.txt
@@ -0,0 +1,6 @@
+5
+4
+2,4
+3,5
+1,2
+3,4
diff --git a/public_test_cases/p00011/output.0.txt b/public_test_cases/p00011/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea5464ab656e98652762dd44ec64ad1959376842
--- /dev/null
+++ b/public_test_cases/p00011/output.0.txt
@@ -0,0 +1,5 @@
+4
+1
+2
+5
+3
diff --git a/public_test_cases/p00011/output.1.txt b/public_test_cases/p00011/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea5464ab656e98652762dd44ec64ad1959376842
--- /dev/null
+++ b/public_test_cases/p00011/output.1.txt
@@ -0,0 +1,5 @@
+4
+1
+2
+5
+3
diff --git a/public_test_cases/p00012/input.0.txt b/public_test_cases/p00012/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48781eb99fbbbd50924b2b10a8f7f67d4a97f9d1
--- /dev/null
+++ b/public_test_cases/p00012/input.0.txt
@@ -0,0 +1,2 @@
+0.0 0.0 2.0 0.0 2.0 2.0 1.5 0.5
+0.0 0.0 1.0 4.0 5.0 3.0 -1.0 3.0
diff --git a/public_test_cases/p00012/input.1.txt b/public_test_cases/p00012/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48781eb99fbbbd50924b2b10a8f7f67d4a97f9d1
--- /dev/null
+++ b/public_test_cases/p00012/input.1.txt
@@ -0,0 +1,2 @@
+0.0 0.0 2.0 0.0 2.0 2.0 1.5 0.5
+0.0 0.0 1.0 4.0 5.0 3.0 -1.0 3.0
diff --git a/public_test_cases/p00012/output.0.txt b/public_test_cases/p00012/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p00012/output.0.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p00012/output.1.txt b/public_test_cases/p00012/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p00012/output.1.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p00013/input.0.txt b/public_test_cases/p00013/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..019d7595eb12b5b437296cd113759660ae412d5a
--- /dev/null
+++ b/public_test_cases/p00013/input.0.txt
@@ -0,0 +1,8 @@
+1
+6
+0
+8
+10
+0
+0
+0
diff --git a/public_test_cases/p00013/input.1.txt b/public_test_cases/p00013/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..019d7595eb12b5b437296cd113759660ae412d5a
--- /dev/null
+++ b/public_test_cases/p00013/input.1.txt
@@ -0,0 +1,8 @@
+1
+6
+0
+8
+10
+0
+0
+0
diff --git a/public_test_cases/p00013/output.0.txt b/public_test_cases/p00013/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14bec04b36d2a9877b2edf9167d8997ecd4b40cc
--- /dev/null
+++ b/public_test_cases/p00013/output.0.txt
@@ -0,0 +1,4 @@
+6
+10
+8
+1
diff --git a/public_test_cases/p00013/output.1.txt b/public_test_cases/p00013/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14bec04b36d2a9877b2edf9167d8997ecd4b40cc
--- /dev/null
+++ b/public_test_cases/p00013/output.1.txt
@@ -0,0 +1,4 @@
+6
+10
+8
+1
diff --git a/public_test_cases/p00014/input.0.txt b/public_test_cases/p00014/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f3696793326ded3bfa2a54eb4f0da8e1da9c425
--- /dev/null
+++ b/public_test_cases/p00014/input.0.txt
@@ -0,0 +1,2 @@
+20
+10
diff --git a/public_test_cases/p00014/input.1.txt b/public_test_cases/p00014/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f3696793326ded3bfa2a54eb4f0da8e1da9c425
--- /dev/null
+++ b/public_test_cases/p00014/input.1.txt
@@ -0,0 +1,2 @@
+20
+10
diff --git a/public_test_cases/p00014/output.0.txt b/public_test_cases/p00014/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8fb512f814c321d3ef124d0db31bb39b99f5b3c
--- /dev/null
+++ b/public_test_cases/p00014/output.0.txt
@@ -0,0 +1,2 @@
+68440000
+70210000
diff --git a/public_test_cases/p00014/output.1.txt b/public_test_cases/p00014/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8fb512f814c321d3ef124d0db31bb39b99f5b3c
--- /dev/null
+++ b/public_test_cases/p00014/output.1.txt
@@ -0,0 +1,2 @@
+68440000
+70210000
diff --git a/public_test_cases/p00015/input.0.txt b/public_test_cases/p00015/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cb1e80b15cf94b28d9d859cecf94e69a8fc59a5
--- /dev/null
+++ b/public_test_cases/p00015/input.0.txt
@@ -0,0 +1,13 @@
+6
+1000
+800
+9999999999999999999999999999999999999999
+1
+99999999999999999999999999999999999999999999999999999999999999999999999999999999
+1
+99999999999999999999999999999999999999999999999999999999999999999999999999999999
+0
+100000000000000000000000000000000000000000000000000000000000000000000000000000000
+1
+100000000000000000000000000000000000000000000000000000000000000000000000000000000
+100000000000000000000000000000000000000000000000000000000000000000000000000000000
diff --git a/public_test_cases/p00015/input.1.txt b/public_test_cases/p00015/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cb1e80b15cf94b28d9d859cecf94e69a8fc59a5
--- /dev/null
+++ b/public_test_cases/p00015/input.1.txt
@@ -0,0 +1,13 @@
+6
+1000
+800
+9999999999999999999999999999999999999999
+1
+99999999999999999999999999999999999999999999999999999999999999999999999999999999
+1
+99999999999999999999999999999999999999999999999999999999999999999999999999999999
+0
+100000000000000000000000000000000000000000000000000000000000000000000000000000000
+1
+100000000000000000000000000000000000000000000000000000000000000000000000000000000
+100000000000000000000000000000000000000000000000000000000000000000000000000000000
diff --git a/public_test_cases/p00015/output.0.txt b/public_test_cases/p00015/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91cdb8c012779aebc34617fc06f5d61b24a32034
--- /dev/null
+++ b/public_test_cases/p00015/output.0.txt
@@ -0,0 +1,6 @@
+1800
+10000000000000000000000000000000000000000
+overflow
+99999999999999999999999999999999999999999999999999999999999999999999999999999999
+overflow
+overflow
diff --git a/public_test_cases/p00015/output.1.txt b/public_test_cases/p00015/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91cdb8c012779aebc34617fc06f5d61b24a32034
--- /dev/null
+++ b/public_test_cases/p00015/output.1.txt
@@ -0,0 +1,6 @@
+1800
+10000000000000000000000000000000000000000
+overflow
+99999999999999999999999999999999999999999999999999999999999999999999999999999999
+overflow
+overflow
diff --git a/public_test_cases/p00016/input.0.txt b/public_test_cases/p00016/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9a1a6af1ef37e981cc4e385934602de5204b681
--- /dev/null
+++ b/public_test_cases/p00016/input.0.txt
@@ -0,0 +1,11 @@
+56,65
+97,54
+64,-4
+55,76
+42,-27
+43,80
+87,-86
+55,-6
+89,34
+95,5
+0,0
diff --git a/public_test_cases/p00016/input.1.txt b/public_test_cases/p00016/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9a1a6af1ef37e981cc4e385934602de5204b681
--- /dev/null
+++ b/public_test_cases/p00016/input.1.txt
@@ -0,0 +1,11 @@
+56,65
+97,54
+64,-4
+55,76
+42,-27
+43,80
+87,-86
+55,-6
+89,34
+95,5
+0,0
diff --git a/public_test_cases/p00016/output.0.txt b/public_test_cases/p00016/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05d9f37c4e709956b8caea99c6779823c9a67547
--- /dev/null
+++ b/public_test_cases/p00016/output.0.txt
@@ -0,0 +1,2 @@
+171
+-302
diff --git a/public_test_cases/p00016/output.1.txt b/public_test_cases/p00016/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05d9f37c4e709956b8caea99c6779823c9a67547
--- /dev/null
+++ b/public_test_cases/p00016/output.1.txt
@@ -0,0 +1,2 @@
+171
+-302
diff --git a/public_test_cases/p00017/input.0.txt b/public_test_cases/p00017/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44ac7e291f9aca8b0db1345acd000a9ac4628f53
--- /dev/null
+++ b/public_test_cases/p00017/input.0.txt
@@ -0,0 +1 @@
+xlmw mw xli tmgxyvi xlex m xsso mr xli xvmt.
diff --git a/public_test_cases/p00017/input.1.txt b/public_test_cases/p00017/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44ac7e291f9aca8b0db1345acd000a9ac4628f53
--- /dev/null
+++ b/public_test_cases/p00017/input.1.txt
@@ -0,0 +1 @@
+xlmw mw xli tmgxyvi xlex m xsso mr xli xvmt.
diff --git a/public_test_cases/p00017/output.0.txt b/public_test_cases/p00017/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d8c8f7b93a014012011bc80faa0e09859fb1571
--- /dev/null
+++ b/public_test_cases/p00017/output.0.txt
@@ -0,0 +1 @@
+this is the picture that i took in the trip.
diff --git a/public_test_cases/p00017/output.1.txt b/public_test_cases/p00017/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d8c8f7b93a014012011bc80faa0e09859fb1571
--- /dev/null
+++ b/public_test_cases/p00017/output.1.txt
@@ -0,0 +1 @@
+this is the picture that i took in the trip.
diff --git a/public_test_cases/p00018/input.0.txt b/public_test_cases/p00018/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d16e9007f405f24c59f0d5221cedb9daf704798
--- /dev/null
+++ b/public_test_cases/p00018/input.0.txt
@@ -0,0 +1 @@
+3 6 9 7 5
diff --git a/public_test_cases/p00018/output.0.txt b/public_test_cases/p00018/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1b762f9329ab1a969dbf1ed84a502f69863eddc
--- /dev/null
+++ b/public_test_cases/p00018/output.0.txt
@@ -0,0 +1 @@
+9 7 6 5 3
diff --git a/public_test_cases/p00019/input.0.txt b/public_test_cases/p00019/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00019/input.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00019/input.1.txt b/public_test_cases/p00019/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00019/input.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00019/output.0.txt b/public_test_cases/p00019/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52bd8e43afb01d0c9747f1fedf2fc94684ee4cc4
--- /dev/null
+++ b/public_test_cases/p00019/output.0.txt
@@ -0,0 +1 @@
+120
diff --git a/public_test_cases/p00019/output.1.txt b/public_test_cases/p00019/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52bd8e43afb01d0c9747f1fedf2fc94684ee4cc4
--- /dev/null
+++ b/public_test_cases/p00019/output.1.txt
@@ -0,0 +1 @@
+120
diff --git a/public_test_cases/p00020/input.0.txt b/public_test_cases/p00020/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..702f2db905e4ea759ee8d1486d3276aa663fdc66
--- /dev/null
+++ b/public_test_cases/p00020/input.0.txt
@@ -0,0 +1 @@
+this is a pen.
diff --git a/public_test_cases/p00020/input.1.txt b/public_test_cases/p00020/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..702f2db905e4ea759ee8d1486d3276aa663fdc66
--- /dev/null
+++ b/public_test_cases/p00020/input.1.txt
@@ -0,0 +1 @@
+this is a pen.
diff --git a/public_test_cases/p00020/output.0.txt b/public_test_cases/p00020/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7bf1cfd85705111858132f2c51ca6c0d44170be
--- /dev/null
+++ b/public_test_cases/p00020/output.0.txt
@@ -0,0 +1 @@
+THIS IS A PEN.
diff --git a/public_test_cases/p00020/output.1.txt b/public_test_cases/p00020/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7bf1cfd85705111858132f2c51ca6c0d44170be
--- /dev/null
+++ b/public_test_cases/p00020/output.1.txt
@@ -0,0 +1 @@
+THIS IS A PEN.
diff --git a/public_test_cases/p00021/input.0.txt b/public_test_cases/p00021/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dc18f4f4c2ef0d7c1d9eb974c41f06a73dcd7ce
--- /dev/null
+++ b/public_test_cases/p00021/input.0.txt
@@ -0,0 +1,3 @@
+2
+0.0 0.0 1.0 1.0 1.0 0.0 2.0 1.0
+3.0 2.0 9.0 6.0 13.0 5.0 7.0 9.0
diff --git a/public_test_cases/p00021/input.1.txt b/public_test_cases/p00021/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dc18f4f4c2ef0d7c1d9eb974c41f06a73dcd7ce
--- /dev/null
+++ b/public_test_cases/p00021/input.1.txt
@@ -0,0 +1,3 @@
+2
+0.0 0.0 1.0 1.0 1.0 0.0 2.0 1.0
+3.0 2.0 9.0 6.0 13.0 5.0 7.0 9.0
diff --git a/public_test_cases/p00021/output.0.txt b/public_test_cases/p00021/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p00021/output.0.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p00021/output.1.txt b/public_test_cases/p00021/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p00021/output.1.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p00022/input.0.txt b/public_test_cases/p00022/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4dfd27d5cee5cd9f23aa751134204d673dd8829
--- /dev/null
+++ b/public_test_cases/p00022/input.0.txt
@@ -0,0 +1,27 @@
+7
+-5
+-1
+6
+4
+9
+-6
+-7
+13
+1
+2
+3
+2
+-2
+-1
+1
+2
+3
+2
+1
+-2
+1
+3
+1000
+-200
+201
+0
diff --git a/public_test_cases/p00022/input.1.txt b/public_test_cases/p00022/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4dfd27d5cee5cd9f23aa751134204d673dd8829
--- /dev/null
+++ b/public_test_cases/p00022/input.1.txt
@@ -0,0 +1,27 @@
+7
+-5
+-1
+6
+4
+9
+-6
+-7
+13
+1
+2
+3
+2
+-2
+-1
+1
+2
+3
+2
+1
+-2
+1
+3
+1000
+-200
+201
+0
diff --git a/public_test_cases/p00022/output.0.txt b/public_test_cases/p00022/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b087a6fbc9f578ddcb343133e382c79c6cb0c3b
--- /dev/null
+++ b/public_test_cases/p00022/output.0.txt
@@ -0,0 +1,3 @@
+19
+14
+1001
diff --git a/public_test_cases/p00022/output.1.txt b/public_test_cases/p00022/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b087a6fbc9f578ddcb343133e382c79c6cb0c3b
--- /dev/null
+++ b/public_test_cases/p00022/output.1.txt
@@ -0,0 +1,3 @@
+19
+14
+1001
diff --git a/public_test_cases/p00023/input.0.txt b/public_test_cases/p00023/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d09cafbfc6e89ed0285d02553d31f6a24dae6c5
--- /dev/null
+++ b/public_test_cases/p00023/input.0.txt
@@ -0,0 +1,3 @@
+2
+0.0 0.0 5.0 0.0 0.0 4.0
+0.0 0.0 2.0 4.1 0.0 2.0
diff --git a/public_test_cases/p00023/input.1.txt b/public_test_cases/p00023/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d09cafbfc6e89ed0285d02553d31f6a24dae6c5
--- /dev/null
+++ b/public_test_cases/p00023/input.1.txt
@@ -0,0 +1,3 @@
+2
+0.0 0.0 5.0 0.0 0.0 4.0
+0.0 0.0 2.0 4.1 0.0 2.0
diff --git a/public_test_cases/p00023/output.0.txt b/public_test_cases/p00023/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..389e2621455b5b9129a49a4006e658565a970912
--- /dev/null
+++ b/public_test_cases/p00023/output.0.txt
@@ -0,0 +1,2 @@
+2
+0
diff --git a/public_test_cases/p00023/output.1.txt b/public_test_cases/p00023/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..389e2621455b5b9129a49a4006e658565a970912
--- /dev/null
+++ b/public_test_cases/p00023/output.1.txt
@@ -0,0 +1,2 @@
+2
+0
diff --git a/public_test_cases/p00024/input.0.txt b/public_test_cases/p00024/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..634e1e667134952e830bb70ee435cb46312b5418
--- /dev/null
+++ b/public_test_cases/p00024/input.0.txt
@@ -0,0 +1,2 @@
+25.4
+25.4
diff --git a/public_test_cases/p00024/input.1.txt b/public_test_cases/p00024/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..634e1e667134952e830bb70ee435cb46312b5418
--- /dev/null
+++ b/public_test_cases/p00024/input.1.txt
@@ -0,0 +1,2 @@
+25.4
+25.4
diff --git a/public_test_cases/p00024/output.0.txt b/public_test_cases/p00024/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..226aaf8af79f3f0bd0ba7766db38233fb0406a58
--- /dev/null
+++ b/public_test_cases/p00024/output.0.txt
@@ -0,0 +1,2 @@
+8
+8
diff --git a/public_test_cases/p00024/output.1.txt b/public_test_cases/p00024/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..226aaf8af79f3f0bd0ba7766db38233fb0406a58
--- /dev/null
+++ b/public_test_cases/p00024/output.1.txt
@@ -0,0 +1,2 @@
+8
+8
diff --git a/public_test_cases/p00025/input.0.txt b/public_test_cases/p00025/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82357b71280fa170385a078648c6e308e66236a
--- /dev/null
+++ b/public_test_cases/p00025/input.0.txt
@@ -0,0 +1,4 @@
+9 1 8 2
+4 1 5 9
+4 6 8 2
+4 6 3 2
diff --git a/public_test_cases/p00025/input.1.txt b/public_test_cases/p00025/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82357b71280fa170385a078648c6e308e66236a
--- /dev/null
+++ b/public_test_cases/p00025/input.1.txt
@@ -0,0 +1,4 @@
+9 1 8 2
+4 1 5 9
+4 6 8 2
+4 6 3 2
diff --git a/public_test_cases/p00025/output.0.txt b/public_test_cases/p00025/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..585ee4432051ed4510353666ba6f8784efa699c0
--- /dev/null
+++ b/public_test_cases/p00025/output.0.txt
@@ -0,0 +1,2 @@
+1 1
+3 0
diff --git a/public_test_cases/p00025/output.1.txt b/public_test_cases/p00025/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..585ee4432051ed4510353666ba6f8784efa699c0
--- /dev/null
+++ b/public_test_cases/p00025/output.1.txt
@@ -0,0 +1,2 @@
+1 1
+3 0
diff --git a/public_test_cases/p00026/input.0.txt b/public_test_cases/p00026/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0534165a958f7c18bd7f6b956dfaa22061fbb419
--- /dev/null
+++ b/public_test_cases/p00026/input.0.txt
@@ -0,0 +1,6 @@
+2,5,3
+3,6,1
+3,4,2
+4,5,2
+3,6,3
+2,4,1
diff --git a/public_test_cases/p00026/input.1.txt b/public_test_cases/p00026/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0534165a958f7c18bd7f6b956dfaa22061fbb419
--- /dev/null
+++ b/public_test_cases/p00026/input.1.txt
@@ -0,0 +1,6 @@
+2,5,3
+3,6,1
+3,4,2
+4,5,2
+3,6,3
+2,4,1
diff --git a/public_test_cases/p00026/output.0.txt b/public_test_cases/p00026/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e35ba7eed0e2e48204864f8ae76134963fd45093
--- /dev/null
+++ b/public_test_cases/p00026/output.0.txt
@@ -0,0 +1,2 @@
+77
+5
diff --git a/public_test_cases/p00026/output.1.txt b/public_test_cases/p00026/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e35ba7eed0e2e48204864f8ae76134963fd45093
--- /dev/null
+++ b/public_test_cases/p00026/output.1.txt
@@ -0,0 +1,2 @@
+77
+5
diff --git a/public_test_cases/p00027/input.0.txt b/public_test_cases/p00027/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc64ea5aaa6ebab939da1ba72387b678b512e4f
--- /dev/null
+++ b/public_test_cases/p00027/input.0.txt
@@ -0,0 +1,3 @@
+1 1
+2 29
+0 0
diff --git a/public_test_cases/p00027/input.1.txt b/public_test_cases/p00027/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc64ea5aaa6ebab939da1ba72387b678b512e4f
--- /dev/null
+++ b/public_test_cases/p00027/input.1.txt
@@ -0,0 +1,3 @@
+1 1
+2 29
+0 0
diff --git a/public_test_cases/p00027/output.0.txt b/public_test_cases/p00027/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9535a288626db3cde7b02d765afa90f17b81a1e5
--- /dev/null
+++ b/public_test_cases/p00027/output.0.txt
@@ -0,0 +1,2 @@
+Thursday
+Sunday
diff --git a/public_test_cases/p00027/output.1.txt b/public_test_cases/p00027/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9535a288626db3cde7b02d765afa90f17b81a1e5
--- /dev/null
+++ b/public_test_cases/p00027/output.1.txt
@@ -0,0 +1,2 @@
+Thursday
+Sunday
diff --git a/public_test_cases/p00028/input.0.txt b/public_test_cases/p00028/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a84c7e7121f6041f957cec995f555a6b1420f3d
--- /dev/null
+++ b/public_test_cases/p00028/input.0.txt
@@ -0,0 +1,12 @@
+5
+6
+3
+5
+8
+7
+5
+3
+9
+7
+3
+4
diff --git a/public_test_cases/p00028/input.1.txt b/public_test_cases/p00028/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a84c7e7121f6041f957cec995f555a6b1420f3d
--- /dev/null
+++ b/public_test_cases/p00028/input.1.txt
@@ -0,0 +1,12 @@
+5
+6
+3
+5
+8
+7
+5
+3
+9
+7
+3
+4
diff --git a/public_test_cases/p00028/output.0.txt b/public_test_cases/p00028/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ee0007bf1f1aaeab67e3ea1c9ae21003171a460
--- /dev/null
+++ b/public_test_cases/p00028/output.0.txt
@@ -0,0 +1,2 @@
+3
+5
diff --git a/public_test_cases/p00028/output.1.txt b/public_test_cases/p00028/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ee0007bf1f1aaeab67e3ea1c9ae21003171a460
--- /dev/null
+++ b/public_test_cases/p00028/output.1.txt
@@ -0,0 +1,2 @@
+3
+5
diff --git a/public_test_cases/p00029/input.0.txt b/public_test_cases/p00029/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7892647623ceec61716abf5557a0597aa72c4f12
--- /dev/null
+++ b/public_test_cases/p00029/input.0.txt
@@ -0,0 +1 @@
+Thank you for your mail and your lectures
diff --git a/public_test_cases/p00029/input.1.txt b/public_test_cases/p00029/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7892647623ceec61716abf5557a0597aa72c4f12
--- /dev/null
+++ b/public_test_cases/p00029/input.1.txt
@@ -0,0 +1 @@
+Thank you for your mail and your lectures
diff --git a/public_test_cases/p00029/output.0.txt b/public_test_cases/p00029/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec2cba9ede9039f962128eed81bb262fc1b6e7ea
--- /dev/null
+++ b/public_test_cases/p00029/output.0.txt
@@ -0,0 +1 @@
+your lectures
diff --git a/public_test_cases/p00029/output.1.txt b/public_test_cases/p00029/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec2cba9ede9039f962128eed81bb262fc1b6e7ea
--- /dev/null
+++ b/public_test_cases/p00029/output.1.txt
@@ -0,0 +1 @@
+your lectures
diff --git a/public_test_cases/p00030/input.0.txt b/public_test_cases/p00030/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c9409ef811a36ab2fd25e9e8b09d722e4c3ed93
--- /dev/null
+++ b/public_test_cases/p00030/input.0.txt
@@ -0,0 +1,3 @@
+3 6
+3 1
+0 0
diff --git a/public_test_cases/p00030/input.1.txt b/public_test_cases/p00030/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c9409ef811a36ab2fd25e9e8b09d722e4c3ed93
--- /dev/null
+++ b/public_test_cases/p00030/input.1.txt
@@ -0,0 +1,3 @@
+3 6
+3 1
+0 0
diff --git a/public_test_cases/p00030/output.0.txt b/public_test_cases/p00030/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p00030/output.0.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p00030/output.1.txt b/public_test_cases/p00030/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p00030/output.1.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p00031/input.0.txt b/public_test_cases/p00031/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f34079899ced1752e76a425231c97f67c88d898
--- /dev/null
+++ b/public_test_cases/p00031/input.0.txt
@@ -0,0 +1,3 @@
+5
+7
+127
diff --git a/public_test_cases/p00031/input.1.txt b/public_test_cases/p00031/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f34079899ced1752e76a425231c97f67c88d898
--- /dev/null
+++ b/public_test_cases/p00031/input.1.txt
@@ -0,0 +1,3 @@
+5
+7
+127
diff --git a/public_test_cases/p00031/output.0.txt b/public_test_cases/p00031/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4040e7ad180594721ff96c5eb0187f3f2443a40a
--- /dev/null
+++ b/public_test_cases/p00031/output.0.txt
@@ -0,0 +1,3 @@
+1 4
+1 2 4
+1 2 4 8 16 32 64
diff --git a/public_test_cases/p00031/output.1.txt b/public_test_cases/p00031/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4040e7ad180594721ff96c5eb0187f3f2443a40a
--- /dev/null
+++ b/public_test_cases/p00031/output.1.txt
@@ -0,0 +1,3 @@
+1 4
+1 2 4
+1 2 4 8 16 32 64
diff --git a/public_test_cases/p00032/input.0.txt b/public_test_cases/p00032/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b37c1fa3953d1f98b6507d2881317bb112dffa2
--- /dev/null
+++ b/public_test_cases/p00032/input.0.txt
@@ -0,0 +1,4 @@
+3,4,5
+5,5,8
+4,4,4
+5,4,3
diff --git a/public_test_cases/p00032/input.1.txt b/public_test_cases/p00032/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b37c1fa3953d1f98b6507d2881317bb112dffa2
--- /dev/null
+++ b/public_test_cases/p00032/input.1.txt
@@ -0,0 +1,4 @@
+3,4,5
+5,5,8
+4,4,4
+5,4,3
diff --git a/public_test_cases/p00032/output.0.txt b/public_test_cases/p00032/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p00032/output.0.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p00032/output.1.txt b/public_test_cases/p00032/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p00032/output.1.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p00033/input.0.txt b/public_test_cases/p00033/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54f112ba3e1823fff4fe8780dceab534b39c4b69
--- /dev/null
+++ b/public_test_cases/p00033/input.0.txt
@@ -0,0 +1,3 @@
+2
+3 1 4 2 5 6 7 8 9 10
+10 9 8 7 6 5 4 3 2 1
diff --git a/public_test_cases/p00033/input.1.txt b/public_test_cases/p00033/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54f112ba3e1823fff4fe8780dceab534b39c4b69
--- /dev/null
+++ b/public_test_cases/p00033/input.1.txt
@@ -0,0 +1,3 @@
+2
+3 1 4 2 5 6 7 8 9 10
+10 9 8 7 6 5 4 3 2 1
diff --git a/public_test_cases/p00033/output.0.txt b/public_test_cases/p00033/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p00033/output.0.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p00033/output.1.txt b/public_test_cases/p00033/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p00033/output.1.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p00034/input.0.txt b/public_test_cases/p00034/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79a7e69e02c6853192d5de389dc2b07c7f86f4df
--- /dev/null
+++ b/public_test_cases/p00034/input.0.txt
@@ -0,0 +1,3 @@
+1,1,1,1,1,1,1,1,1,1,40,60
+1,1,1,1,1,3,3,3,3,3,50,50
+10,10,10,10,10,10,10,10,10,10,50,49
diff --git a/public_test_cases/p00034/input.1.txt b/public_test_cases/p00034/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79a7e69e02c6853192d5de389dc2b07c7f86f4df
--- /dev/null
+++ b/public_test_cases/p00034/input.1.txt
@@ -0,0 +1,3 @@
+1,1,1,1,1,1,1,1,1,1,40,60
+1,1,1,1,1,3,3,3,3,3,50,50
+10,10,10,10,10,10,10,10,10,10,50,49
diff --git a/public_test_cases/p00034/output.0.txt b/public_test_cases/p00034/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25901e1dca6a4ab5c4043c3d8ce40d833bac7f45
--- /dev/null
+++ b/public_test_cases/p00034/output.0.txt
@@ -0,0 +1,3 @@
+4
+7
+6
diff --git a/public_test_cases/p00034/output.1.txt b/public_test_cases/p00034/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25901e1dca6a4ab5c4043c3d8ce40d833bac7f45
--- /dev/null
+++ b/public_test_cases/p00034/output.1.txt
@@ -0,0 +1,3 @@
+4
+7
+6
diff --git a/public_test_cases/p00035/input.0.txt b/public_test_cases/p00035/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37f5105eaf72a174c716ddef88189e58dd7bc9b5
--- /dev/null
+++ b/public_test_cases/p00035/input.0.txt
@@ -0,0 +1,2 @@
+0.0,0.0,1.0,0.0,1.0,1.0,0.0,1.0
+0.0,0.0,3.0,0.0,1.0,1.0,1.0,3.0
diff --git a/public_test_cases/p00035/input.1.txt b/public_test_cases/p00035/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37f5105eaf72a174c716ddef88189e58dd7bc9b5
--- /dev/null
+++ b/public_test_cases/p00035/input.1.txt
@@ -0,0 +1,2 @@
+0.0,0.0,1.0,0.0,1.0,1.0,0.0,1.0
+0.0,0.0,3.0,0.0,1.0,1.0,1.0,3.0
diff --git a/public_test_cases/p00035/output.0.txt b/public_test_cases/p00035/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p00035/output.0.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p00035/output.1.txt b/public_test_cases/p00035/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p00035/output.1.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p00036/input.0.txt b/public_test_cases/p00036/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..842852cf1597d8f36a088f3942f30e9b7d090c31
--- /dev/null
+++ b/public_test_cases/p00036/input.0.txt
@@ -0,0 +1,26 @@
+00000000
+00000000
+01100000
+00110000
+00000000
+00000000
+00000000
+00000000
+
+00011110
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+
+00000000
+00000000
+00110000
+00110000
+00000000
+00000000
+00000000
+00000000
diff --git a/public_test_cases/p00036/input.1.txt b/public_test_cases/p00036/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..842852cf1597d8f36a088f3942f30e9b7d090c31
--- /dev/null
+++ b/public_test_cases/p00036/input.1.txt
@@ -0,0 +1,26 @@
+00000000
+00000000
+01100000
+00110000
+00000000
+00000000
+00000000
+00000000
+
+00011110
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+
+00000000
+00000000
+00110000
+00110000
+00000000
+00000000
+00000000
+00000000
diff --git a/public_test_cases/p00036/output.0.txt b/public_test_cases/p00036/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..513c645e159faf4080d1a0aab6129fa9d753809e
--- /dev/null
+++ b/public_test_cases/p00036/output.0.txt
@@ -0,0 +1,3 @@
+E
+C
+A
diff --git a/public_test_cases/p00036/output.1.txt b/public_test_cases/p00036/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..513c645e159faf4080d1a0aab6129fa9d753809e
--- /dev/null
+++ b/public_test_cases/p00036/output.1.txt
@@ -0,0 +1,3 @@
+E
+C
+A
diff --git a/public_test_cases/p00037/input.0.txt b/public_test_cases/p00037/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..876d2cf08b3c8c33ff3b59c55d97a408b2ab59ec
--- /dev/null
+++ b/public_test_cases/p00037/input.0.txt
@@ -0,0 +1,9 @@
+1111
+00001
+0110
+01011
+0010
+01111
+0010
+01001
+0111
diff --git a/public_test_cases/p00037/input.1.txt b/public_test_cases/p00037/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..876d2cf08b3c8c33ff3b59c55d97a408b2ab59ec
--- /dev/null
+++ b/public_test_cases/p00037/input.1.txt
@@ -0,0 +1,9 @@
+1111
+00001
+0110
+01011
+0010
+01111
+0010
+01001
+0111
diff --git a/public_test_cases/p00037/output.0.txt b/public_test_cases/p00037/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85a1ff7f99ef6e6ce07b890efb1a1f9044e85f2c
--- /dev/null
+++ b/public_test_cases/p00037/output.0.txt
@@ -0,0 +1 @@
+RRRRDDDDLLLUUURRDDLURULLDDDRRRUUUULLLL
diff --git a/public_test_cases/p00037/output.1.txt b/public_test_cases/p00037/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85a1ff7f99ef6e6ce07b890efb1a1f9044e85f2c
--- /dev/null
+++ b/public_test_cases/p00037/output.1.txt
@@ -0,0 +1 @@
+RRRRDDDDLLLUUURRDDLURULLDDDRRRUUUULLLL
diff --git a/public_test_cases/p00038/input.0.txt b/public_test_cases/p00038/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7eaf356a56bb20184c3bfd44e4b224ef1024930
--- /dev/null
+++ b/public_test_cases/p00038/input.0.txt
@@ -0,0 +1,8 @@
+1,2,3,4,1
+2,3,2,3,12
+12,13,11,12,12
+7,6,7,6,7
+3,3,2,3,3
+6,7,8,9,10
+11,12,10,1,13
+11,12,13,1,2
diff --git a/public_test_cases/p00038/input.1.txt b/public_test_cases/p00038/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7eaf356a56bb20184c3bfd44e4b224ef1024930
--- /dev/null
+++ b/public_test_cases/p00038/input.1.txt
@@ -0,0 +1,8 @@
+1,2,3,4,1
+2,3,2,3,12
+12,13,11,12,12
+7,6,7,6,7
+3,3,2,3,3
+6,7,8,9,10
+11,12,10,1,13
+11,12,13,1,2
diff --git a/public_test_cases/p00038/output.0.txt b/public_test_cases/p00038/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2c0f045cc21124b01308dab46b41b32237702e6
--- /dev/null
+++ b/public_test_cases/p00038/output.0.txt
@@ -0,0 +1,8 @@
+one pair
+two pair
+three card
+full house
+four card
+straight
+straight
+null
diff --git a/public_test_cases/p00038/output.1.txt b/public_test_cases/p00038/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2c0f045cc21124b01308dab46b41b32237702e6
--- /dev/null
+++ b/public_test_cases/p00038/output.1.txt
@@ -0,0 +1,8 @@
+one pair
+two pair
+three card
+full house
+four card
+straight
+straight
+null
diff --git a/public_test_cases/p00039/input.0.txt b/public_test_cases/p00039/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77d5646ae0af51b832929853f7fd4d4f79658bce
--- /dev/null
+++ b/public_test_cases/p00039/input.0.txt
@@ -0,0 +1,3 @@
+IV
+CCCCLXXXXVIIII
+CDXCIX
diff --git a/public_test_cases/p00039/input.1.txt b/public_test_cases/p00039/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77d5646ae0af51b832929853f7fd4d4f79658bce
--- /dev/null
+++ b/public_test_cases/p00039/input.1.txt
@@ -0,0 +1,3 @@
+IV
+CCCCLXXXXVIIII
+CDXCIX
diff --git a/public_test_cases/p00039/output.0.txt b/public_test_cases/p00039/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f4a5265c799543582220aa743a81dd5ed4f3f8c
--- /dev/null
+++ b/public_test_cases/p00039/output.0.txt
@@ -0,0 +1,3 @@
+4
+499
+499
diff --git a/public_test_cases/p00039/output.1.txt b/public_test_cases/p00039/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f4a5265c799543582220aa743a81dd5ed4f3f8c
--- /dev/null
+++ b/public_test_cases/p00039/output.1.txt
@@ -0,0 +1,3 @@
+4
+499
+499
diff --git a/public_test_cases/p00040/input.0.txt b/public_test_cases/p00040/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83dd6d900fac721d55dd003ac288ce4944142aff
--- /dev/null
+++ b/public_test_cases/p00040/input.0.txt
@@ -0,0 +1,2 @@
+1
+y eazqyp pnop pngtg ye obmpngt xmybp mr lygw
diff --git a/public_test_cases/p00040/input.1.txt b/public_test_cases/p00040/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83dd6d900fac721d55dd003ac288ce4944142aff
--- /dev/null
+++ b/public_test_cases/p00040/input.1.txt
@@ -0,0 +1,2 @@
+1
+y eazqyp pnop pngtg ye obmpngt xmybp mr lygw
diff --git a/public_test_cases/p00040/output.0.txt b/public_test_cases/p00040/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6389ea651f5cf4e37933c67a490e7902aaa746b7
--- /dev/null
+++ b/public_test_cases/p00040/output.0.txt
@@ -0,0 +1 @@
+i submit that there is another point of view
diff --git a/public_test_cases/p00040/output.1.txt b/public_test_cases/p00040/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6389ea651f5cf4e37933c67a490e7902aaa746b7
--- /dev/null
+++ b/public_test_cases/p00040/output.1.txt
@@ -0,0 +1 @@
+i submit that there is another point of view
diff --git a/public_test_cases/p00041/input.0.txt b/public_test_cases/p00041/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c855e27e1e86dc335433b4cf1410d6e25fd3fc94
--- /dev/null
+++ b/public_test_cases/p00041/input.0.txt
@@ -0,0 +1,4 @@
+8 7 9 9
+4 4 4 4
+5 5 7 5
+0 0 0 0
diff --git a/public_test_cases/p00041/input.1.txt b/public_test_cases/p00041/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c855e27e1e86dc335433b4cf1410d6e25fd3fc94
--- /dev/null
+++ b/public_test_cases/p00041/input.1.txt
@@ -0,0 +1,4 @@
+8 7 9 9
+4 4 4 4
+5 5 7 5
+0 0 0 0
diff --git a/public_test_cases/p00041/output.0.txt b/public_test_cases/p00041/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8812adca1e7eb35548c70d6dff964783bc740203
--- /dev/null
+++ b/public_test_cases/p00041/output.0.txt
@@ -0,0 +1,3 @@
+((9 * (9 - 7)) - 8)
+0
+((7 * 5) - (5 * 5))
diff --git a/public_test_cases/p00041/output.1.txt b/public_test_cases/p00041/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8812adca1e7eb35548c70d6dff964783bc740203
--- /dev/null
+++ b/public_test_cases/p00041/output.1.txt
@@ -0,0 +1,3 @@
+((9 * (9 - 7)) - 8)
+0
+((7 * 5) - (5 * 5))
diff --git a/public_test_cases/p00042/input.0.txt b/public_test_cases/p00042/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a6d7bcdb6755b6f8fef18b22a1a310293fae8d0
--- /dev/null
+++ b/public_test_cases/p00042/input.0.txt
@@ -0,0 +1,15 @@
+50
+5
+60,10
+100,20
+120,30
+210,45
+10,4
+50
+5
+60,10
+100,20
+120,30
+210,45
+10,4
+0
diff --git a/public_test_cases/p00042/input.1.txt b/public_test_cases/p00042/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a6d7bcdb6755b6f8fef18b22a1a310293fae8d0
--- /dev/null
+++ b/public_test_cases/p00042/input.1.txt
@@ -0,0 +1,15 @@
+50
+5
+60,10
+100,20
+120,30
+210,45
+10,4
+50
+5
+60,10
+100,20
+120,30
+210,45
+10,4
+0
diff --git a/public_test_cases/p00042/output.0.txt b/public_test_cases/p00042/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b41b6b84a6b4c096feeb15641e653e35fa3d9f98
--- /dev/null
+++ b/public_test_cases/p00042/output.0.txt
@@ -0,0 +1,6 @@
+Case 1:
+220
+49
+Case 2:
+220
+49
diff --git a/public_test_cases/p00042/output.1.txt b/public_test_cases/p00042/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b41b6b84a6b4c096feeb15641e653e35fa3d9f98
--- /dev/null
+++ b/public_test_cases/p00042/output.1.txt
@@ -0,0 +1,6 @@
+Case 1:
+220
+49
+Case 2:
+220
+49
diff --git a/public_test_cases/p00043/input.0.txt b/public_test_cases/p00043/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acbac4efc3bedd53adf3e3c18f62f1dc62d2cbcc
--- /dev/null
+++ b/public_test_cases/p00043/input.0.txt
@@ -0,0 +1,6 @@
+3649596966777
+6358665788577
+9118992346175
+9643871425498
+7755542764533
+1133557799246
diff --git a/public_test_cases/p00043/input.1.txt b/public_test_cases/p00043/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acbac4efc3bedd53adf3e3c18f62f1dc62d2cbcc
--- /dev/null
+++ b/public_test_cases/p00043/input.1.txt
@@ -0,0 +1,6 @@
+3649596966777
+6358665788577
+9118992346175
+9643871425498
+7755542764533
+1133557799246
diff --git a/public_test_cases/p00043/output.0.txt b/public_test_cases/p00043/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61d14423f0f89660c20ed31b3d22b9b9d7571f52
--- /dev/null
+++ b/public_test_cases/p00043/output.0.txt
@@ -0,0 +1,6 @@
+2 3 5 8
+3 4
+1 2 3 4 5 6 7 8 9
+7 8 9
+1 2 3 4 6 7 8
+0
diff --git a/public_test_cases/p00043/output.1.txt b/public_test_cases/p00043/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61d14423f0f89660c20ed31b3d22b9b9d7571f52
--- /dev/null
+++ b/public_test_cases/p00043/output.1.txt
@@ -0,0 +1,6 @@
+2 3 5 8
+3 4
+1 2 3 4 5 6 7 8 9
+7 8 9
+1 2 3 4 6 7 8
+0
diff --git a/public_test_cases/p00044/input.0.txt b/public_test_cases/p00044/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1503cce67d9b2ad83ff21cdc7235fb176b839260
--- /dev/null
+++ b/public_test_cases/p00044/input.0.txt
@@ -0,0 +1,2 @@
+19
+3517
diff --git a/public_test_cases/p00044/input.1.txt b/public_test_cases/p00044/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1503cce67d9b2ad83ff21cdc7235fb176b839260
--- /dev/null
+++ b/public_test_cases/p00044/input.1.txt
@@ -0,0 +1,2 @@
+19
+3517
diff --git a/public_test_cases/p00044/output.0.txt b/public_test_cases/p00044/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56867365f15a7635b2ecb0f59fe81bcd2165218c
--- /dev/null
+++ b/public_test_cases/p00044/output.0.txt
@@ -0,0 +1,2 @@
+17 23
+3511 3527
diff --git a/public_test_cases/p00044/output.1.txt b/public_test_cases/p00044/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56867365f15a7635b2ecb0f59fe81bcd2165218c
--- /dev/null
+++ b/public_test_cases/p00044/output.1.txt
@@ -0,0 +1,2 @@
+17 23
+3511 3527
diff --git a/public_test_cases/p00045/input.0.txt b/public_test_cases/p00045/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45de4cb6bf051e8bd89c9e28f5d2683a3f976a3b
--- /dev/null
+++ b/public_test_cases/p00045/input.0.txt
@@ -0,0 +1,3 @@
+100,20
+50,10
+70,35
diff --git a/public_test_cases/p00045/input.1.txt b/public_test_cases/p00045/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45de4cb6bf051e8bd89c9e28f5d2683a3f976a3b
--- /dev/null
+++ b/public_test_cases/p00045/input.1.txt
@@ -0,0 +1,3 @@
+100,20
+50,10
+70,35
diff --git a/public_test_cases/p00045/output.0.txt b/public_test_cases/p00045/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22aacc3803cdc341c906dc1aaf6d3c31e443fd3f
--- /dev/null
+++ b/public_test_cases/p00045/output.0.txt
@@ -0,0 +1,2 @@
+4950
+22
diff --git a/public_test_cases/p00045/output.1.txt b/public_test_cases/p00045/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22aacc3803cdc341c906dc1aaf6d3c31e443fd3f
--- /dev/null
+++ b/public_test_cases/p00045/output.1.txt
@@ -0,0 +1,2 @@
+4950
+22
diff --git a/public_test_cases/p00046/input.0.txt b/public_test_cases/p00046/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e875e058146552030762935da5024ac0d04c733
--- /dev/null
+++ b/public_test_cases/p00046/input.0.txt
@@ -0,0 +1,5 @@
+3776.0
+1819.0
+645.2
+2004.1
+1208.6
diff --git a/public_test_cases/p00046/input.1.txt b/public_test_cases/p00046/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e875e058146552030762935da5024ac0d04c733
--- /dev/null
+++ b/public_test_cases/p00046/input.1.txt
@@ -0,0 +1,5 @@
+3776.0
+1819.0
+645.2
+2004.1
+1208.6
diff --git a/public_test_cases/p00046/output.0.txt b/public_test_cases/p00046/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a149f9b19d093696b4bb73fc805429a4eb9aa61
--- /dev/null
+++ b/public_test_cases/p00046/output.0.txt
@@ -0,0 +1 @@
+3130.8
diff --git a/public_test_cases/p00046/output.1.txt b/public_test_cases/p00046/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a149f9b19d093696b4bb73fc805429a4eb9aa61
--- /dev/null
+++ b/public_test_cases/p00046/output.1.txt
@@ -0,0 +1 @@
+3130.8
diff --git a/public_test_cases/p00047/input.0.txt b/public_test_cases/p00047/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55162a4a046519c4ca9fd0d3588af960f46f1b68
--- /dev/null
+++ b/public_test_cases/p00047/input.0.txt
@@ -0,0 +1,5 @@
+B,C
+A,C
+C,B
+A,B
+C,B
diff --git a/public_test_cases/p00047/output.0.txt b/public_test_cases/p00047/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p00047/output.0.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p00048/input.0.txt b/public_test_cases/p00048/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b910014f616ffc887d95495bb7ca12e7c5414540
--- /dev/null
+++ b/public_test_cases/p00048/input.0.txt
@@ -0,0 +1,4 @@
+60.2
+70.2
+48.0
+80.2
diff --git a/public_test_cases/p00048/output.0.txt b/public_test_cases/p00048/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbd0087f8f54c04b42d07c8bc94ec9b5133ba81c
--- /dev/null
+++ b/public_test_cases/p00048/output.0.txt
@@ -0,0 +1,4 @@
+light welter
+light middle
+light fly
+middle
diff --git a/public_test_cases/p00049/input.0.txt b/public_test_cases/p00049/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f6dd0333a76a6585c18af56ea1b4e6a15665c3e
--- /dev/null
+++ b/public_test_cases/p00049/input.0.txt
@@ -0,0 +1,14 @@
+1,B
+2,A
+3,B
+4,AB
+5,B
+6,O
+7,A
+8,O
+9,AB
+10,A
+11,A
+12,B
+13,AB
+14,A
diff --git a/public_test_cases/p00049/input.1.txt b/public_test_cases/p00049/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f6dd0333a76a6585c18af56ea1b4e6a15665c3e
--- /dev/null
+++ b/public_test_cases/p00049/input.1.txt
@@ -0,0 +1,14 @@
+1,B
+2,A
+3,B
+4,AB
+5,B
+6,O
+7,A
+8,O
+9,AB
+10,A
+11,A
+12,B
+13,AB
+14,A
diff --git a/public_test_cases/p00049/output.0.txt b/public_test_cases/p00049/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab259cf9835b9a610ce7b284c96af8765db876f3
--- /dev/null
+++ b/public_test_cases/p00049/output.0.txt
@@ -0,0 +1,4 @@
+5
+4
+3
+2
diff --git a/public_test_cases/p00049/output.1.txt b/public_test_cases/p00049/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab259cf9835b9a610ce7b284c96af8765db876f3
--- /dev/null
+++ b/public_test_cases/p00049/output.1.txt
@@ -0,0 +1,4 @@
+5
+4
+3
+2
diff --git a/public_test_cases/p00050/input.0.txt b/public_test_cases/p00050/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d50ebd51871ea51dcc4110ca4cd702caceb4813d
--- /dev/null
+++ b/public_test_cases/p00050/input.0.txt
@@ -0,0 +1 @@
+the cost of one peach is higher than that of one apple.
diff --git a/public_test_cases/p00050/input.1.txt b/public_test_cases/p00050/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d50ebd51871ea51dcc4110ca4cd702caceb4813d
--- /dev/null
+++ b/public_test_cases/p00050/input.1.txt
@@ -0,0 +1 @@
+the cost of one peach is higher than that of one apple.
diff --git a/public_test_cases/p00050/output.0.txt b/public_test_cases/p00050/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ae7c38023ac66bb50f9491a6c2be1b1935e5cc3
--- /dev/null
+++ b/public_test_cases/p00050/output.0.txt
@@ -0,0 +1 @@
+the cost of one apple is higher than that of one peach.
diff --git a/public_test_cases/p00050/output.1.txt b/public_test_cases/p00050/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ae7c38023ac66bb50f9491a6c2be1b1935e5cc3
--- /dev/null
+++ b/public_test_cases/p00050/output.1.txt
@@ -0,0 +1 @@
+the cost of one apple is higher than that of one peach.
diff --git a/public_test_cases/p00051/input.0.txt b/public_test_cases/p00051/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..527c9952a708b917e1b0d92304b85928f656c8b7
--- /dev/null
+++ b/public_test_cases/p00051/input.0.txt
@@ -0,0 +1,3 @@
+2
+65539010
+65539010
diff --git a/public_test_cases/p00051/input.1.txt b/public_test_cases/p00051/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..527c9952a708b917e1b0d92304b85928f656c8b7
--- /dev/null
+++ b/public_test_cases/p00051/input.1.txt
@@ -0,0 +1,3 @@
+2
+65539010
+65539010
diff --git a/public_test_cases/p00051/output.0.txt b/public_test_cases/p00051/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1da5ee1dff1c60e92578cdb59a4daf5d2a660cfc
--- /dev/null
+++ b/public_test_cases/p00051/output.0.txt
@@ -0,0 +1,2 @@
+96417531
+96417531
diff --git a/public_test_cases/p00051/output.1.txt b/public_test_cases/p00051/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1da5ee1dff1c60e92578cdb59a4daf5d2a660cfc
--- /dev/null
+++ b/public_test_cases/p00051/output.1.txt
@@ -0,0 +1,2 @@
+96417531
+96417531
diff --git a/public_test_cases/p00052/input.0.txt b/public_test_cases/p00052/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a342e2880e3354ebbbc6942102a27f84a53d64c2
--- /dev/null
+++ b/public_test_cases/p00052/input.0.txt
@@ -0,0 +1,4 @@
+2
+12
+10000
+0
diff --git a/public_test_cases/p00052/input.1.txt b/public_test_cases/p00052/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a342e2880e3354ebbbc6942102a27f84a53d64c2
--- /dev/null
+++ b/public_test_cases/p00052/input.1.txt
@@ -0,0 +1,4 @@
+2
+12
+10000
+0
diff --git a/public_test_cases/p00052/output.0.txt b/public_test_cases/p00052/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ca3ec61302d4ccc250544cdd6e7b3dacb13508e
--- /dev/null
+++ b/public_test_cases/p00052/output.0.txt
@@ -0,0 +1,3 @@
+0
+2
+2499
diff --git a/public_test_cases/p00052/output.1.txt b/public_test_cases/p00052/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ca3ec61302d4ccc250544cdd6e7b3dacb13508e
--- /dev/null
+++ b/public_test_cases/p00052/output.1.txt
@@ -0,0 +1,3 @@
+0
+2
+2499
diff --git a/public_test_cases/p00053/input.0.txt b/public_test_cases/p00053/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5addec973565cba76ee2d4f101a66ae7c22b629
--- /dev/null
+++ b/public_test_cases/p00053/input.0.txt
@@ -0,0 +1,3 @@
+2
+9
+0
diff --git a/public_test_cases/p00053/input.1.txt b/public_test_cases/p00053/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5addec973565cba76ee2d4f101a66ae7c22b629
--- /dev/null
+++ b/public_test_cases/p00053/input.1.txt
@@ -0,0 +1,3 @@
+2
+9
+0
diff --git a/public_test_cases/p00053/output.0.txt b/public_test_cases/p00053/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51a3e80716e394419c949bc612b9b78dd2aa67ea
--- /dev/null
+++ b/public_test_cases/p00053/output.0.txt
@@ -0,0 +1,2 @@
+5
+100
diff --git a/public_test_cases/p00053/output.1.txt b/public_test_cases/p00053/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51a3e80716e394419c949bc612b9b78dd2aa67ea
--- /dev/null
+++ b/public_test_cases/p00053/output.1.txt
@@ -0,0 +1,2 @@
+5
+100
diff --git a/public_test_cases/p00054/input.0.txt b/public_test_cases/p00054/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bdd7e94ad441830eb85c6ac67bc6b732af656e7
--- /dev/null
+++ b/public_test_cases/p00054/input.0.txt
@@ -0,0 +1,4 @@
+1 2 3
+2 3 4
+5 4 3
+4 3 2
diff --git a/public_test_cases/p00054/input.1.txt b/public_test_cases/p00054/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bdd7e94ad441830eb85c6ac67bc6b732af656e7
--- /dev/null
+++ b/public_test_cases/p00054/input.1.txt
@@ -0,0 +1,4 @@
+1 2 3
+2 3 4
+5 4 3
+4 3 2
diff --git a/public_test_cases/p00054/output.0.txt b/public_test_cases/p00054/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ab7ddb0beb987fa6cf596d78336721e5ceeed87
--- /dev/null
+++ b/public_test_cases/p00054/output.0.txt
@@ -0,0 +1,4 @@
+5
+24
+7
+6
diff --git a/public_test_cases/p00054/output.1.txt b/public_test_cases/p00054/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ab7ddb0beb987fa6cf596d78336721e5ceeed87
--- /dev/null
+++ b/public_test_cases/p00054/output.1.txt
@@ -0,0 +1,4 @@
+5
+24
+7
+6
diff --git a/public_test_cases/p00055/input.0.txt b/public_test_cases/p00055/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e7782bca057db65e939fb0bc9a8df7b17b26e14
--- /dev/null
+++ b/public_test_cases/p00055/input.0.txt
@@ -0,0 +1,3 @@
+1.0
+2.0
+3.0
diff --git a/public_test_cases/p00055/input.1.txt b/public_test_cases/p00055/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e7782bca057db65e939fb0bc9a8df7b17b26e14
--- /dev/null
+++ b/public_test_cases/p00055/input.1.txt
@@ -0,0 +1,3 @@
+1.0
+2.0
+3.0
diff --git a/public_test_cases/p00055/output.0.txt b/public_test_cases/p00055/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c7342bb879041160dd8061ebda5450d9dd8e99b
--- /dev/null
+++ b/public_test_cases/p00055/output.0.txt
@@ -0,0 +1,3 @@
+7.81481481
+15.62962963
+23.44444444
diff --git a/public_test_cases/p00055/output.1.txt b/public_test_cases/p00055/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c7342bb879041160dd8061ebda5450d9dd8e99b
--- /dev/null
+++ b/public_test_cases/p00055/output.1.txt
@@ -0,0 +1,3 @@
+7.81481481
+15.62962963
+23.44444444
diff --git a/public_test_cases/p00056/input.0.txt b/public_test_cases/p00056/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7eeae9def6c4c4391d4d642e11ab20c54785e58
--- /dev/null
+++ b/public_test_cases/p00056/input.0.txt
@@ -0,0 +1,3 @@
+10
+11
+0
diff --git a/public_test_cases/p00056/input.1.txt b/public_test_cases/p00056/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7eeae9def6c4c4391d4d642e11ab20c54785e58
--- /dev/null
+++ b/public_test_cases/p00056/input.1.txt
@@ -0,0 +1,3 @@
+10
+11
+0
diff --git a/public_test_cases/p00056/output.0.txt b/public_test_cases/p00056/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..389e2621455b5b9129a49a4006e658565a970912
--- /dev/null
+++ b/public_test_cases/p00056/output.0.txt
@@ -0,0 +1,2 @@
+2
+0
diff --git a/public_test_cases/p00056/output.1.txt b/public_test_cases/p00056/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..389e2621455b5b9129a49a4006e658565a970912
--- /dev/null
+++ b/public_test_cases/p00056/output.1.txt
@@ -0,0 +1,2 @@
+2
+0
diff --git a/public_test_cases/p00057/input.0.txt b/public_test_cases/p00057/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p00057/input.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p00057/input.1.txt b/public_test_cases/p00057/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p00057/input.1.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p00057/output.0.txt b/public_test_cases/p00057/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e15ee42734b17a6e148d79be947360671597e2f
--- /dev/null
+++ b/public_test_cases/p00057/output.0.txt
@@ -0,0 +1,2 @@
+2
+7
diff --git a/public_test_cases/p00057/output.1.txt b/public_test_cases/p00057/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e15ee42734b17a6e148d79be947360671597e2f
--- /dev/null
+++ b/public_test_cases/p00057/output.1.txt
@@ -0,0 +1,2 @@
+2
+7
diff --git a/public_test_cases/p00058/input.0.txt b/public_test_cases/p00058/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ad6dae246dd1d1a05735a4e373d591886329f69
--- /dev/null
+++ b/public_test_cases/p00058/input.0.txt
@@ -0,0 +1,4 @@
+1.0 1.0 2.0 2.0 0.0 0.0 1.0 -1.0
+0.0 0.0 2.0 0.0 -1.0 2.0 2.0 2.0
+10.0 6.0 3.4 5.2 6.8 9.5 4.3 2.1
+2.5 3.5 2.5 4.5 -3.3 -2.3 6.8 -2.3
diff --git a/public_test_cases/p00058/input.1.txt b/public_test_cases/p00058/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ad6dae246dd1d1a05735a4e373d591886329f69
--- /dev/null
+++ b/public_test_cases/p00058/input.1.txt
@@ -0,0 +1,4 @@
+1.0 1.0 2.0 2.0 0.0 0.0 1.0 -1.0
+0.0 0.0 2.0 0.0 -1.0 2.0 2.0 2.0
+10.0 6.0 3.4 5.2 6.8 9.5 4.3 2.1
+2.5 3.5 2.5 4.5 -3.3 -2.3 6.8 -2.3
diff --git a/public_test_cases/p00058/output.0.txt b/public_test_cases/p00058/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8cd35136f7e468a059f028417df0629adeddf07
--- /dev/null
+++ b/public_test_cases/p00058/output.0.txt
@@ -0,0 +1,4 @@
+YES
+NO
+NO
+YES
diff --git a/public_test_cases/p00058/output.1.txt b/public_test_cases/p00058/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8cd35136f7e468a059f028417df0629adeddf07
--- /dev/null
+++ b/public_test_cases/p00058/output.1.txt
@@ -0,0 +1,4 @@
+YES
+NO
+NO
+YES
diff --git a/public_test_cases/p00059/input.0.txt b/public_test_cases/p00059/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e91804cedbdcc3a51d3156e94a43ac554a69eeb
--- /dev/null
+++ b/public_test_cases/p00059/input.0.txt
@@ -0,0 +1,3 @@
+0.0 0.0 5.0 5.0 1.0 1.0 4.0 4.0
+0.0 0.0 4.0 5.0 1.0 1.0 5.0 5.0
+0.0 0.0 4.0 4.0 -3.0 -5.0 2.0 -1.0
diff --git a/public_test_cases/p00059/input.1.txt b/public_test_cases/p00059/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e91804cedbdcc3a51d3156e94a43ac554a69eeb
--- /dev/null
+++ b/public_test_cases/p00059/input.1.txt
@@ -0,0 +1,3 @@
+0.0 0.0 5.0 5.0 1.0 1.0 4.0 4.0
+0.0 0.0 4.0 5.0 1.0 1.0 5.0 5.0
+0.0 0.0 4.0 4.0 -3.0 -5.0 2.0 -1.0
diff --git a/public_test_cases/p00059/output.0.txt b/public_test_cases/p00059/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ae1e3d350ec895e94f1290f50846bd436dbebb1
--- /dev/null
+++ b/public_test_cases/p00059/output.0.txt
@@ -0,0 +1,3 @@
+YES
+YES
+NO
diff --git a/public_test_cases/p00059/output.1.txt b/public_test_cases/p00059/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ae1e3d350ec895e94f1290f50846bd436dbebb1
--- /dev/null
+++ b/public_test_cases/p00059/output.1.txt
@@ -0,0 +1,3 @@
+YES
+YES
+NO
diff --git a/public_test_cases/p00060/input.0.txt b/public_test_cases/p00060/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..294e6a7aa48b858b1c29c07abeafcb1496b836b9
--- /dev/null
+++ b/public_test_cases/p00060/input.0.txt
@@ -0,0 +1,3 @@
+1 2 3
+5 6 9
+8 9 10
diff --git a/public_test_cases/p00060/input.1.txt b/public_test_cases/p00060/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..294e6a7aa48b858b1c29c07abeafcb1496b836b9
--- /dev/null
+++ b/public_test_cases/p00060/input.1.txt
@@ -0,0 +1,3 @@
+1 2 3
+5 6 9
+8 9 10
diff --git a/public_test_cases/p00060/output.0.txt b/public_test_cases/p00060/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ae1e3d350ec895e94f1290f50846bd436dbebb1
--- /dev/null
+++ b/public_test_cases/p00060/output.0.txt
@@ -0,0 +1,3 @@
+YES
+YES
+NO
diff --git a/public_test_cases/p00060/output.1.txt b/public_test_cases/p00060/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ae1e3d350ec895e94f1290f50846bd436dbebb1
--- /dev/null
+++ b/public_test_cases/p00060/output.1.txt
@@ -0,0 +1,3 @@
+YES
+YES
+NO
diff --git a/public_test_cases/p00061/input.0.txt b/public_test_cases/p00061/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98e870d4b9b3a9ef770fc9d9d4fde3dece578eb1
--- /dev/null
+++ b/public_test_cases/p00061/input.0.txt
@@ -0,0 +1,11 @@
+1,20
+2,20
+3,30
+4,10
+5,10
+6,20
+0,0
+1
+2
+4
+5
diff --git a/public_test_cases/p00061/input.1.txt b/public_test_cases/p00061/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98e870d4b9b3a9ef770fc9d9d4fde3dece578eb1
--- /dev/null
+++ b/public_test_cases/p00061/input.1.txt
@@ -0,0 +1,11 @@
+1,20
+2,20
+3,30
+4,10
+5,10
+6,20
+0,0
+1
+2
+4
+5
diff --git a/public_test_cases/p00061/output.0.txt b/public_test_cases/p00061/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e70345417f101c54acb5ec85441c23bb591175
--- /dev/null
+++ b/public_test_cases/p00061/output.0.txt
@@ -0,0 +1,4 @@
+2
+2
+3
+3
diff --git a/public_test_cases/p00061/output.1.txt b/public_test_cases/p00061/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e70345417f101c54acb5ec85441c23bb591175
--- /dev/null
+++ b/public_test_cases/p00061/output.1.txt
@@ -0,0 +1,4 @@
+2
+2
+3
+3
diff --git a/public_test_cases/p00062/input.0.txt b/public_test_cases/p00062/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69bb54cfa0691056a81fd476360d32c8483ecf33
--- /dev/null
+++ b/public_test_cases/p00062/input.0.txt
@@ -0,0 +1,3 @@
+4823108376
+1234567890
+0123456789
diff --git a/public_test_cases/p00062/input.1.txt b/public_test_cases/p00062/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69bb54cfa0691056a81fd476360d32c8483ecf33
--- /dev/null
+++ b/public_test_cases/p00062/input.1.txt
@@ -0,0 +1,3 @@
+4823108376
+1234567890
+0123456789
diff --git a/public_test_cases/p00062/output.0.txt b/public_test_cases/p00062/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e698d749bc1500f16e1f0ecd18f53916f75be02
--- /dev/null
+++ b/public_test_cases/p00062/output.0.txt
@@ -0,0 +1,3 @@
+5
+6
+4
diff --git a/public_test_cases/p00062/output.1.txt b/public_test_cases/p00062/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e698d749bc1500f16e1f0ecd18f53916f75be02
--- /dev/null
+++ b/public_test_cases/p00062/output.1.txt
@@ -0,0 +1,3 @@
+5
+6
+4
diff --git a/public_test_cases/p00063/input.0.txt b/public_test_cases/p00063/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..084ca8cfd204563a0ba15b1ecfa5bde6573ac7bf
--- /dev/null
+++ b/public_test_cases/p00063/input.0.txt
@@ -0,0 +1,4 @@
+abcba
+sx
+abcddcba
+rttrd
diff --git a/public_test_cases/p00063/input.1.txt b/public_test_cases/p00063/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..084ca8cfd204563a0ba15b1ecfa5bde6573ac7bf
--- /dev/null
+++ b/public_test_cases/p00063/input.1.txt
@@ -0,0 +1,4 @@
+abcba
+sx
+abcddcba
+rttrd
diff --git a/public_test_cases/p00063/output.0.txt b/public_test_cases/p00063/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00063/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00063/output.1.txt b/public_test_cases/p00063/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00063/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00064/input.0.txt b/public_test_cases/p00064/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4b04fea890a2f4b8e0892f317c7e9de0883f3c0
--- /dev/null
+++ b/public_test_cases/p00064/input.0.txt
@@ -0,0 +1,2 @@
+Thereare100yenonthetable.Iam17yearsold.
+Ishouldgohomeat6pm.
diff --git a/public_test_cases/p00064/input.1.txt b/public_test_cases/p00064/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4b04fea890a2f4b8e0892f317c7e9de0883f3c0
--- /dev/null
+++ b/public_test_cases/p00064/input.1.txt
@@ -0,0 +1,2 @@
+Thereare100yenonthetable.Iam17yearsold.
+Ishouldgohomeat6pm.
diff --git a/public_test_cases/p00064/output.0.txt b/public_test_cases/p00064/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..190a18037c64c43e6b11489df4bf0b9eb6d2c9bf
--- /dev/null
+++ b/public_test_cases/p00064/output.0.txt
@@ -0,0 +1 @@
+123
diff --git a/public_test_cases/p00064/output.1.txt b/public_test_cases/p00064/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..190a18037c64c43e6b11489df4bf0b9eb6d2c9bf
--- /dev/null
+++ b/public_test_cases/p00064/output.1.txt
@@ -0,0 +1 @@
+123
diff --git a/public_test_cases/p00065/input.0.txt b/public_test_cases/p00065/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..450d64895e736ec561b8b78c94ecbe555b895730
--- /dev/null
+++ b/public_test_cases/p00065/input.0.txt
@@ -0,0 +1,7 @@
+123,10
+56,12
+34,14
+
+123,3
+56,4
+123,5
diff --git a/public_test_cases/p00065/input.1.txt b/public_test_cases/p00065/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..450d64895e736ec561b8b78c94ecbe555b895730
--- /dev/null
+++ b/public_test_cases/p00065/input.1.txt
@@ -0,0 +1,7 @@
+123,10
+56,12
+34,14
+
+123,3
+56,4
+123,5
diff --git a/public_test_cases/p00065/output.0.txt b/public_test_cases/p00065/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..929005969ea56ec48b85aec81a8fe0377534da34
--- /dev/null
+++ b/public_test_cases/p00065/output.0.txt
@@ -0,0 +1,2 @@
+56 2
+123 3
diff --git a/public_test_cases/p00065/output.1.txt b/public_test_cases/p00065/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..929005969ea56ec48b85aec81a8fe0377534da34
--- /dev/null
+++ b/public_test_cases/p00065/output.1.txt
@@ -0,0 +1,2 @@
+56 2
+123 3
diff --git a/public_test_cases/p00066/input.0.txt b/public_test_cases/p00066/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94d265a9d79a6b77b806e9b9988ba3f35afb97a2
--- /dev/null
+++ b/public_test_cases/p00066/input.0.txt
@@ -0,0 +1,3 @@
+ooosxssxs
+xoosxsosx
+ooxxxooxo
diff --git a/public_test_cases/p00066/input.1.txt b/public_test_cases/p00066/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94d265a9d79a6b77b806e9b9988ba3f35afb97a2
--- /dev/null
+++ b/public_test_cases/p00066/input.1.txt
@@ -0,0 +1,3 @@
+ooosxssxs
+xoosxsosx
+ooxxxooxo
diff --git a/public_test_cases/p00066/output.0.txt b/public_test_cases/p00066/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47500bc7ebe4f299b1f887eee2a1bcfa24f3833a
--- /dev/null
+++ b/public_test_cases/p00066/output.0.txt
@@ -0,0 +1,3 @@
+o
+x
+d
diff --git a/public_test_cases/p00066/output.1.txt b/public_test_cases/p00066/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47500bc7ebe4f299b1f887eee2a1bcfa24f3833a
--- /dev/null
+++ b/public_test_cases/p00066/output.1.txt
@@ -0,0 +1,3 @@
+o
+x
+d
diff --git a/public_test_cases/p00067/input.0.txt b/public_test_cases/p00067/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7158acec50af9e3f18523e2951c00de48ab8c82d
--- /dev/null
+++ b/public_test_cases/p00067/input.0.txt
@@ -0,0 +1,38 @@
+111100001111
+111000001111
+110000001111
+100000001111
+000100010000
+000000111000
+000001111100
+100011111110
+110001111100
+111000111000
+111100010000
+000000000000
+
+010001111100
+110010000010
+010010000001
+010000000001
+010000000110
+010000111000
+010000000100
+010000000010
+010000000001
+010010000001
+010010000010
+111001111100
+
+000000000000
+111111111111
+100010100001
+100010100001
+100010100001
+100010100001
+100100100101
+101000011101
+100000000001
+100000000001
+111111111111
+100000000001
diff --git a/public_test_cases/p00067/input.1.txt b/public_test_cases/p00067/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7158acec50af9e3f18523e2951c00de48ab8c82d
--- /dev/null
+++ b/public_test_cases/p00067/input.1.txt
@@ -0,0 +1,38 @@
+111100001111
+111000001111
+110000001111
+100000001111
+000100010000
+000000111000
+000001111100
+100011111110
+110001111100
+111000111000
+111100010000
+000000000000
+
+010001111100
+110010000010
+010010000001
+010000000001
+010000000110
+010000111000
+010000000100
+010000000010
+010000000001
+010010000001
+010010000010
+111001111100
+
+000000000000
+111111111111
+100010100001
+100010100001
+100010100001
+100010100001
+100100100101
+101000011101
+100000000001
+100000000001
+111111111111
+100000000001
diff --git a/public_test_cases/p00067/output.0.txt b/public_test_cases/p00067/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae14b1a809601f0c48888f33601d0d5a405e53a2
--- /dev/null
+++ b/public_test_cases/p00067/output.0.txt
@@ -0,0 +1,3 @@
+5
+13
+4
diff --git a/public_test_cases/p00067/output.1.txt b/public_test_cases/p00067/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae14b1a809601f0c48888f33601d0d5a405e53a2
--- /dev/null
+++ b/public_test_cases/p00067/output.1.txt
@@ -0,0 +1,3 @@
+5
+13
+4
diff --git a/public_test_cases/p00068/input.0.txt b/public_test_cases/p00068/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..faee5d4633f7e3a72f605f0fedbd0f57487983fb
--- /dev/null
+++ b/public_test_cases/p00068/input.0.txt
@@ -0,0 +1,16 @@
+4
+1.0,0.0
+0.0,1.0
+2.0,1.0
+1.0,2.0
+9
+-509.94,892.63
+567.62,639.99
+-859.32,-64.84
+-445.99,383.69
+667.54,430.49
+551.12,828.21
+-940.2,-877.2
+-361.62,-970
+-125.42,-178.48
+0
diff --git a/public_test_cases/p00068/input.1.txt b/public_test_cases/p00068/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..faee5d4633f7e3a72f605f0fedbd0f57487983fb
--- /dev/null
+++ b/public_test_cases/p00068/input.1.txt
@@ -0,0 +1,16 @@
+4
+1.0,0.0
+0.0,1.0
+2.0,1.0
+1.0,2.0
+9
+-509.94,892.63
+567.62,639.99
+-859.32,-64.84
+-445.99,383.69
+667.54,430.49
+551.12,828.21
+-940.2,-877.2
+-361.62,-970
+-125.42,-178.48
+0
diff --git a/public_test_cases/p00068/output.0.txt b/public_test_cases/p00068/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12decc137ab95f0009b32acb6b7f40bd120ca8ad
--- /dev/null
+++ b/public_test_cases/p00068/output.0.txt
@@ -0,0 +1,2 @@
+0
+3
diff --git a/public_test_cases/p00068/output.1.txt b/public_test_cases/p00068/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12decc137ab95f0009b32acb6b7f40bd120ca8ad
--- /dev/null
+++ b/public_test_cases/p00068/output.1.txt
@@ -0,0 +1,2 @@
+0
+3
diff --git a/public_test_cases/p00069/input.0.txt b/public_test_cases/p00069/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b1a5610d2441077226826b2b79affe118892a02
--- /dev/null
+++ b/public_test_cases/p00069/input.0.txt
@@ -0,0 +1,14 @@
+5
+2
+3
+9
+1010
+1001
+0100
+1001
+0010
+1000
+0100
+0101
+1010
+0
diff --git a/public_test_cases/p00069/input.1.txt b/public_test_cases/p00069/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b1a5610d2441077226826b2b79affe118892a02
--- /dev/null
+++ b/public_test_cases/p00069/input.1.txt
@@ -0,0 +1,14 @@
+5
+2
+3
+9
+1010
+1001
+0100
+1001
+0010
+1000
+0100
+0101
+1010
+0
diff --git a/public_test_cases/p00069/output.0.txt b/public_test_cases/p00069/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9efb403ac19b10bb1044ee6f241a1af54f353edb
--- /dev/null
+++ b/public_test_cases/p00069/output.0.txt
@@ -0,0 +1 @@
+6 4
diff --git a/public_test_cases/p00069/output.1.txt b/public_test_cases/p00069/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9efb403ac19b10bb1044ee6f241a1af54f353edb
--- /dev/null
+++ b/public_test_cases/p00069/output.1.txt
@@ -0,0 +1 @@
+6 4
diff --git a/public_test_cases/p00070/input.0.txt b/public_test_cases/p00070/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..661d9cc86453988a2e41b67c45c37c99da3f9f7d
--- /dev/null
+++ b/public_test_cases/p00070/input.0.txt
@@ -0,0 +1,2 @@
+3 10
+3 1
diff --git a/public_test_cases/p00070/input.1.txt b/public_test_cases/p00070/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..661d9cc86453988a2e41b67c45c37c99da3f9f7d
--- /dev/null
+++ b/public_test_cases/p00070/input.1.txt
@@ -0,0 +1,2 @@
+3 10
+3 1
diff --git a/public_test_cases/p00070/output.0.txt b/public_test_cases/p00070/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9807191ab0a725715beff8f74c1b49fe8dd17e59
--- /dev/null
+++ b/public_test_cases/p00070/output.0.txt
@@ -0,0 +1,2 @@
+8
+0
diff --git a/public_test_cases/p00070/output.1.txt b/public_test_cases/p00070/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9807191ab0a725715beff8f74c1b49fe8dd17e59
--- /dev/null
+++ b/public_test_cases/p00070/output.1.txt
@@ -0,0 +1,2 @@
+8
+0
diff --git a/public_test_cases/p00071/input.0.txt b/public_test_cases/p00071/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae126fd241e0539b8561b00f1db0af49b3e2610a
--- /dev/null
+++ b/public_test_cases/p00071/input.0.txt
@@ -0,0 +1,23 @@
+2
+
+00010010
+00000100
+10001001
+00100010
+01000000
+00001000
+10100010
+01010010
+2
+5
+
+00010010
+00000100
+10001001
+00100010
+01000000
+00001000
+10100010
+01010010
+2
+5
diff --git a/public_test_cases/p00071/input.1.txt b/public_test_cases/p00071/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae126fd241e0539b8561b00f1db0af49b3e2610a
--- /dev/null
+++ b/public_test_cases/p00071/input.1.txt
@@ -0,0 +1,23 @@
+2
+
+00010010
+00000100
+10001001
+00100010
+01000000
+00001000
+10100010
+01010010
+2
+5
+
+00010010
+00000100
+10001001
+00100010
+01000000
+00001000
+10100010
+01010010
+2
+5
diff --git a/public_test_cases/p00071/output.0.txt b/public_test_cases/p00071/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..357ef471ccc7ae97489a0ae9578c30deebba74db
--- /dev/null
+++ b/public_test_cases/p00071/output.0.txt
@@ -0,0 +1,18 @@
+Data 1:
+00000000
+00000100
+10001001
+00100000
+00000000
+00001000
+10100000
+00000000
+Data 2:
+00000000
+00000100
+10001001
+00100000
+00000000
+00001000
+10100000
+00000000
diff --git a/public_test_cases/p00071/output.1.txt b/public_test_cases/p00071/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..357ef471ccc7ae97489a0ae9578c30deebba74db
--- /dev/null
+++ b/public_test_cases/p00071/output.1.txt
@@ -0,0 +1,18 @@
+Data 1:
+00000000
+00000100
+10001001
+00100000
+00000000
+00001000
+10100000
+00000000
+Data 2:
+00000000
+00000100
+10001001
+00100000
+00000000
+00001000
+10100000
+00000000
diff --git a/public_test_cases/p00072/input.0.txt b/public_test_cases/p00072/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60cb444cb44f27a72b60a55d29baddfa88129747
--- /dev/null
+++ b/public_test_cases/p00072/input.0.txt
@@ -0,0 +1,7 @@
+4
+4
+0,1,1500
+0,2,2000
+1,2,600
+1,3,500
+0
diff --git a/public_test_cases/p00072/input.1.txt b/public_test_cases/p00072/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60cb444cb44f27a72b60a55d29baddfa88129747
--- /dev/null
+++ b/public_test_cases/p00072/input.1.txt
@@ -0,0 +1,7 @@
+4
+4
+0,1,1500
+0,2,2000
+1,2,600
+1,3,500
+0
diff --git a/public_test_cases/p00072/output.0.txt b/public_test_cases/p00072/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p00072/output.0.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p00072/output.1.txt b/public_test_cases/p00072/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p00072/output.1.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p00073/input.0.txt b/public_test_cases/p00073/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac5f12934a162cdf03b17e78753438c85a5bfa61
--- /dev/null
+++ b/public_test_cases/p00073/input.0.txt
@@ -0,0 +1,6 @@
+6
+4
+7
+9
+0
+0
diff --git a/public_test_cases/p00073/input.1.txt b/public_test_cases/p00073/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac5f12934a162cdf03b17e78753438c85a5bfa61
--- /dev/null
+++ b/public_test_cases/p00073/input.1.txt
@@ -0,0 +1,6 @@
+6
+4
+7
+9
+0
+0
diff --git a/public_test_cases/p00073/output.0.txt b/public_test_cases/p00073/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cb3644f72319e31e2dece495a5eb43ffa24bd2f
--- /dev/null
+++ b/public_test_cases/p00073/output.0.txt
@@ -0,0 +1,2 @@
+96.000000
+184.192455
diff --git a/public_test_cases/p00073/output.1.txt b/public_test_cases/p00073/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cb3644f72319e31e2dece495a5eb43ffa24bd2f
--- /dev/null
+++ b/public_test_cases/p00073/output.1.txt
@@ -0,0 +1,2 @@
+96.000000
+184.192455
diff --git a/public_test_cases/p00074/input.0.txt b/public_test_cases/p00074/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..471df12567c0dc296fafd911bf1ab7854868ce75
--- /dev/null
+++ b/public_test_cases/p00074/input.0.txt
@@ -0,0 +1,2 @@
+1 30 0
+-1 -1 -1
diff --git a/public_test_cases/p00074/input.1.txt b/public_test_cases/p00074/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..471df12567c0dc296fafd911bf1ab7854868ce75
--- /dev/null
+++ b/public_test_cases/p00074/input.1.txt
@@ -0,0 +1,2 @@
+1 30 0
+-1 -1 -1
diff --git a/public_test_cases/p00074/output.0.txt b/public_test_cases/p00074/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ae3394bc754d399b52214a5ef514b323975607a
--- /dev/null
+++ b/public_test_cases/p00074/output.0.txt
@@ -0,0 +1,2 @@
+00:30:00
+01:30:00
diff --git a/public_test_cases/p00074/output.1.txt b/public_test_cases/p00074/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ae3394bc754d399b52214a5ef514b323975607a
--- /dev/null
+++ b/public_test_cases/p00074/output.1.txt
@@ -0,0 +1,2 @@
+00:30:00
+01:30:00
diff --git a/public_test_cases/p00075/input.0.txt b/public_test_cases/p00075/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef4ac5bf08e93c5317221e6d63f5a080ff701a6b
--- /dev/null
+++ b/public_test_cases/p00075/input.0.txt
@@ -0,0 +1,5 @@
+1001,50.0,1.60
+1002,60.0,1.70
+1003,70.0,1.80
+1004,80.0,1.70
+1005,90.0,1.60
diff --git a/public_test_cases/p00075/input.1.txt b/public_test_cases/p00075/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef4ac5bf08e93c5317221e6d63f5a080ff701a6b
--- /dev/null
+++ b/public_test_cases/p00075/input.1.txt
@@ -0,0 +1,5 @@
+1001,50.0,1.60
+1002,60.0,1.70
+1003,70.0,1.80
+1004,80.0,1.70
+1005,90.0,1.60
diff --git a/public_test_cases/p00075/output.0.txt b/public_test_cases/p00075/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef99b311e532d0c1d3e361939dc8ce32e875c5de
--- /dev/null
+++ b/public_test_cases/p00075/output.0.txt
@@ -0,0 +1,2 @@
+1004
+1005
diff --git a/public_test_cases/p00075/output.1.txt b/public_test_cases/p00075/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef99b311e532d0c1d3e361939dc8ce32e875c5de
--- /dev/null
+++ b/public_test_cases/p00075/output.1.txt
@@ -0,0 +1,2 @@
+1004
+1005
diff --git a/public_test_cases/p00076/input.0.txt b/public_test_cases/p00076/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7826a91b3b070cd1d914b83865910540d71add17
--- /dev/null
+++ b/public_test_cases/p00076/input.0.txt
@@ -0,0 +1,3 @@
+3
+6
+-1
diff --git a/public_test_cases/p00076/input.1.txt b/public_test_cases/p00076/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7826a91b3b070cd1d914b83865910540d71add17
--- /dev/null
+++ b/public_test_cases/p00076/input.1.txt
@@ -0,0 +1,3 @@
+3
+6
+-1
diff --git a/public_test_cases/p00076/output.0.txt b/public_test_cases/p00076/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4cc3c8f1e6c31c91defe6a5bd1177ed4ddc7dafe
--- /dev/null
+++ b/public_test_cases/p00076/output.0.txt
@@ -0,0 +1,4 @@
+0.29
+1.71
+-2.31
+0.80
diff --git a/public_test_cases/p00076/output.1.txt b/public_test_cases/p00076/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4cc3c8f1e6c31c91defe6a5bd1177ed4ddc7dafe
--- /dev/null
+++ b/public_test_cases/p00076/output.1.txt
@@ -0,0 +1,4 @@
+0.29
+1.71
+-2.31
+0.80
diff --git a/public_test_cases/p00077/input.0.txt b/public_test_cases/p00077/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6371034966f144daad0b14363f5944bdab532879
--- /dev/null
+++ b/public_test_cases/p00077/input.0.txt
@@ -0,0 +1,2 @@
+ab@5C1@8050
+@99+1=1@90
diff --git a/public_test_cases/p00077/input.1.txt b/public_test_cases/p00077/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6371034966f144daad0b14363f5944bdab532879
--- /dev/null
+++ b/public_test_cases/p00077/input.1.txt
@@ -0,0 +1,2 @@
+ab@5C1@8050
+@99+1=1@90
diff --git a/public_test_cases/p00077/output.0.txt b/public_test_cases/p00077/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fafbadf76dc68213788b7f0f933a288d8bcf51c7
--- /dev/null
+++ b/public_test_cases/p00077/output.0.txt
@@ -0,0 +1,2 @@
+abCCCCC10000000050
+999999999+1=1000000000
diff --git a/public_test_cases/p00077/output.1.txt b/public_test_cases/p00077/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fafbadf76dc68213788b7f0f933a288d8bcf51c7
--- /dev/null
+++ b/public_test_cases/p00077/output.1.txt
@@ -0,0 +1,2 @@
+abCCCCC10000000050
+999999999+1=1000000000
diff --git a/public_test_cases/p00078/input.0.txt b/public_test_cases/p00078/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ab00536a9db6a73ce9aa7bd2ecc2df36d5ec678
--- /dev/null
+++ b/public_test_cases/p00078/input.0.txt
@@ -0,0 +1,3 @@
+3
+5
+0
diff --git a/public_test_cases/p00078/input.1.txt b/public_test_cases/p00078/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ab00536a9db6a73ce9aa7bd2ecc2df36d5ec678
--- /dev/null
+++ b/public_test_cases/p00078/input.1.txt
@@ -0,0 +1,3 @@
+3
+5
+0
diff --git a/public_test_cases/p00078/output.0.txt b/public_test_cases/p00078/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..977abea9c398f867226b41832316b57191e385de
--- /dev/null
+++ b/public_test_cases/p00078/output.0.txt
@@ -0,0 +1,8 @@
+ 4 9 2
+ 3 5 7
+ 8 1 6
+ 11 24 7 20 3
+ 4 12 25 8 16
+ 17 5 13 21 9
+ 10 18 1 14 22
+ 23 6 19 2 15
diff --git a/public_test_cases/p00078/output.1.txt b/public_test_cases/p00078/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b22588ce6b6cfe88b4b4a1bdab9cb0e54cfef9c5
--- /dev/null
+++ b/public_test_cases/p00078/output.1.txt
@@ -0,0 +1,8 @@
+4 9 2
+ 3 5 7
+ 8 1 6
+ 11 24 7 20 3
+ 4 12 25 8 16
+ 17 5 13 21 9
+ 10 18 1 14 22
+ 23 6 19 2 15
diff --git a/public_test_cases/p00079/input.0.txt b/public_test_cases/p00079/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7222396379b5c7edd0519202db1d06838aeda55
--- /dev/null
+++ b/public_test_cases/p00079/input.0.txt
@@ -0,0 +1,5 @@
+0.0,0.0
+0.0,1.0
+1.0,1.0
+2.0,0.0
+1.0,-1.0
diff --git a/public_test_cases/p00079/input.1.txt b/public_test_cases/p00079/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7222396379b5c7edd0519202db1d06838aeda55
--- /dev/null
+++ b/public_test_cases/p00079/input.1.txt
@@ -0,0 +1,5 @@
+0.0,0.0
+0.0,1.0
+1.0,1.0
+2.0,0.0
+1.0,-1.0
diff --git a/public_test_cases/p00079/output.0.txt b/public_test_cases/p00079/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74886823d19a013778633d54d37dcfc88d424928
--- /dev/null
+++ b/public_test_cases/p00079/output.0.txt
@@ -0,0 +1 @@
+2.500000
diff --git a/public_test_cases/p00079/output.1.txt b/public_test_cases/p00079/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74886823d19a013778633d54d37dcfc88d424928
--- /dev/null
+++ b/public_test_cases/p00079/output.1.txt
@@ -0,0 +1 @@
+2.500000
diff --git a/public_test_cases/p00080/input.0.txt b/public_test_cases/p00080/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..658074f11852085f0f78a52ac3843b596ce6f222
--- /dev/null
+++ b/public_test_cases/p00080/input.0.txt
@@ -0,0 +1,3 @@
+15
+15
+-1
diff --git a/public_test_cases/p00080/input.1.txt b/public_test_cases/p00080/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..658074f11852085f0f78a52ac3843b596ce6f222
--- /dev/null
+++ b/public_test_cases/p00080/input.1.txt
@@ -0,0 +1,3 @@
+15
+15
+-1
diff --git a/public_test_cases/p00080/output.0.txt b/public_test_cases/p00080/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e71424c98df6625562e9c1c8814e37cd210a338b
--- /dev/null
+++ b/public_test_cases/p00080/output.0.txt
@@ -0,0 +1,2 @@
+2.466212
+2.466212
diff --git a/public_test_cases/p00080/output.1.txt b/public_test_cases/p00080/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e71424c98df6625562e9c1c8814e37cd210a338b
--- /dev/null
+++ b/public_test_cases/p00080/output.1.txt
@@ -0,0 +1,2 @@
+2.466212
+2.466212
diff --git a/public_test_cases/p00081/input.0.txt b/public_test_cases/p00081/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9582fac3c0613dba8adde3d4cbb747b1aa096ec6
--- /dev/null
+++ b/public_test_cases/p00081/input.0.txt
@@ -0,0 +1,3 @@
+1.0,0.0,-1.0,0.0,1.0,1.0
+1.0,0.0,0.0,-1.0,3.0,0.0
+0.0,1.0,0.0,-1.0,1.0,1.0
diff --git a/public_test_cases/p00081/input.1.txt b/public_test_cases/p00081/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9582fac3c0613dba8adde3d4cbb747b1aa096ec6
--- /dev/null
+++ b/public_test_cases/p00081/input.1.txt
@@ -0,0 +1,3 @@
+1.0,0.0,-1.0,0.0,1.0,1.0
+1.0,0.0,0.0,-1.0,3.0,0.0
+0.0,1.0,0.0,-1.0,1.0,1.0
diff --git a/public_test_cases/p00081/output.0.txt b/public_test_cases/p00081/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8f417f23d515566faba47760cc707387739078c
--- /dev/null
+++ b/public_test_cases/p00081/output.0.txt
@@ -0,0 +1,3 @@
+1.000000 -1.000000
+1.000000 2.000000
+-1.000000 1.000000
diff --git a/public_test_cases/p00081/output.1.txt b/public_test_cases/p00081/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8f417f23d515566faba47760cc707387739078c
--- /dev/null
+++ b/public_test_cases/p00081/output.1.txt
@@ -0,0 +1,3 @@
+1.000000 -1.000000
+1.000000 2.000000
+-1.000000 1.000000
diff --git a/public_test_cases/p00082/input.0.txt b/public_test_cases/p00082/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcfe38054c1a4ae721a953a6ba3c6c69ad0f6822
--- /dev/null
+++ b/public_test_cases/p00082/input.0.txt
@@ -0,0 +1,2 @@
+2 3 1 4 0 1 0 1
+4 2 3 2 2 2 1 1
diff --git a/public_test_cases/p00082/input.1.txt b/public_test_cases/p00082/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcfe38054c1a4ae721a953a6ba3c6c69ad0f6822
--- /dev/null
+++ b/public_test_cases/p00082/input.1.txt
@@ -0,0 +1,2 @@
+2 3 1 4 0 1 0 1
+4 2 3 2 2 2 1 1
diff --git a/public_test_cases/p00082/output.0.txt b/public_test_cases/p00082/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..070888721af44dd82be68053ebaefc42868f2810
--- /dev/null
+++ b/public_test_cases/p00082/output.0.txt
@@ -0,0 +1,2 @@
+1 4 1 4 1 2 1 2
+4 1 4 1 2 1 2 1
diff --git a/public_test_cases/p00082/output.1.txt b/public_test_cases/p00082/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..070888721af44dd82be68053ebaefc42868f2810
--- /dev/null
+++ b/public_test_cases/p00082/output.1.txt
@@ -0,0 +1,2 @@
+1 4 1 4 1 2 1 2
+4 1 4 1 2 1 2 1
diff --git a/public_test_cases/p00083/input.0.txt b/public_test_cases/p00083/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dce723e968466274161f8bc875a04439a843399c
--- /dev/null
+++ b/public_test_cases/p00083/input.0.txt
@@ -0,0 +1,3 @@
+2005 9 3
+1868 12 2
+1868 9 7
diff --git a/public_test_cases/p00083/input.1.txt b/public_test_cases/p00083/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dce723e968466274161f8bc875a04439a843399c
--- /dev/null
+++ b/public_test_cases/p00083/input.1.txt
@@ -0,0 +1,3 @@
+2005 9 3
+1868 12 2
+1868 9 7
diff --git a/public_test_cases/p00083/output.0.txt b/public_test_cases/p00083/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86130e1cbde2a66d736c068fbe449606dacd84bd
--- /dev/null
+++ b/public_test_cases/p00083/output.0.txt
@@ -0,0 +1,3 @@
+heisei 17 9 3
+meiji 1 12 2
+pre-meiji
diff --git a/public_test_cases/p00083/output.1.txt b/public_test_cases/p00083/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86130e1cbde2a66d736c068fbe449606dacd84bd
--- /dev/null
+++ b/public_test_cases/p00083/output.1.txt
@@ -0,0 +1,3 @@
+heisei 17 9 3
+meiji 1 12 2
+pre-meiji
diff --git a/public_test_cases/p00084/input.0.txt b/public_test_cases/p00084/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e708f84757d3cb531c1416fdb20bfdb6c81ad48e
--- /dev/null
+++ b/public_test_cases/p00084/input.0.txt
@@ -0,0 +1 @@
+Rain, rain, go to Spain.
diff --git a/public_test_cases/p00084/input.1.txt b/public_test_cases/p00084/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae1e466b5e0ab4ceb5b3fbc03afed4310d77f969
--- /dev/null
+++ b/public_test_cases/p00084/input.1.txt
@@ -0,0 +1 @@
+Win today's preliminary contest and be qualified to visit University of Aizu.
diff --git a/public_test_cases/p00084/input.2.txt b/public_test_cases/p00084/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e708f84757d3cb531c1416fdb20bfdb6c81ad48e
--- /dev/null
+++ b/public_test_cases/p00084/input.2.txt
@@ -0,0 +1 @@
+Rain, rain, go to Spain.
diff --git a/public_test_cases/p00084/output.0.txt b/public_test_cases/p00084/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ebc101b8c068919715e09d899ea5eae8e38eb05
--- /dev/null
+++ b/public_test_cases/p00084/output.0.txt
@@ -0,0 +1 @@
+Rain rain Spain
diff --git a/public_test_cases/p00084/output.1.txt b/public_test_cases/p00084/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de69890fb8b02561dd7329cfe4e2cc22ae2ec01c
--- /dev/null
+++ b/public_test_cases/p00084/output.1.txt
@@ -0,0 +1 @@
+Win and visit Aizu
diff --git a/public_test_cases/p00084/output.2.txt b/public_test_cases/p00084/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ebc101b8c068919715e09d899ea5eae8e38eb05
--- /dev/null
+++ b/public_test_cases/p00084/output.2.txt
@@ -0,0 +1 @@
+Rain rain Spain
diff --git a/public_test_cases/p00085/input.0.txt b/public_test_cases/p00085/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22e86dde405e53d0113f4dffa6a3a6adcfacc703
--- /dev/null
+++ b/public_test_cases/p00085/input.0.txt
@@ -0,0 +1,3 @@
+41 3
+30 9
+0 0
diff --git a/public_test_cases/p00085/input.1.txt b/public_test_cases/p00085/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22e86dde405e53d0113f4dffa6a3a6adcfacc703
--- /dev/null
+++ b/public_test_cases/p00085/input.1.txt
@@ -0,0 +1,3 @@
+41 3
+30 9
+0 0
diff --git a/public_test_cases/p00085/output.0.txt b/public_test_cases/p00085/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9caf223f8ab14ab805721131703e73f4d6ffb99
--- /dev/null
+++ b/public_test_cases/p00085/output.0.txt
@@ -0,0 +1,2 @@
+31
+21
diff --git a/public_test_cases/p00085/output.1.txt b/public_test_cases/p00085/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9caf223f8ab14ab805721131703e73f4d6ffb99
--- /dev/null
+++ b/public_test_cases/p00085/output.1.txt
@@ -0,0 +1,2 @@
+31
+21
diff --git a/public_test_cases/p00086/input.0.txt b/public_test_cases/p00086/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..753ce03b5b39a8e556dff1324f87a97d2bf91dd8
--- /dev/null
+++ b/public_test_cases/p00086/input.0.txt
@@ -0,0 +1,22 @@
+1 3
+3 4
+3 5
+3 6
+4 6
+4 7
+4 7
+5 6
+6 7
+5 8
+5 8
+6 8
+6 9
+7 9
+8 9
+9 2
+0 0
+1 3
+3 4
+3 4
+4 2
+0 0
diff --git a/public_test_cases/p00086/input.1.txt b/public_test_cases/p00086/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..753ce03b5b39a8e556dff1324f87a97d2bf91dd8
--- /dev/null
+++ b/public_test_cases/p00086/input.1.txt
@@ -0,0 +1,22 @@
+1 3
+3 4
+3 5
+3 6
+4 6
+4 7
+4 7
+5 6
+6 7
+5 8
+5 8
+6 8
+6 9
+7 9
+8 9
+9 2
+0 0
+1 3
+3 4
+3 4
+4 2
+0 0
diff --git a/public_test_cases/p00086/output.0.txt b/public_test_cases/p00086/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14b51739d7a3a392ce92a7cf76c0211e0cc3cc35
--- /dev/null
+++ b/public_test_cases/p00086/output.0.txt
@@ -0,0 +1,2 @@
+OK
+NG
diff --git a/public_test_cases/p00086/output.1.txt b/public_test_cases/p00086/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14b51739d7a3a392ce92a7cf76c0211e0cc3cc35
--- /dev/null
+++ b/public_test_cases/p00086/output.1.txt
@@ -0,0 +1,2 @@
+OK
+NG
diff --git a/public_test_cases/p00087/input.0.txt b/public_test_cases/p00087/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eae834da36897efdfe70a27c1419e1d144f9e1c1
--- /dev/null
+++ b/public_test_cases/p00087/input.0.txt
@@ -0,0 +1,3 @@
+10 2 12 - /
+3 4 - 7 2 3 * + *
+-1 -2 3 + +
diff --git a/public_test_cases/p00087/input.1.txt b/public_test_cases/p00087/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eae834da36897efdfe70a27c1419e1d144f9e1c1
--- /dev/null
+++ b/public_test_cases/p00087/input.1.txt
@@ -0,0 +1,3 @@
+10 2 12 - /
+3 4 - 7 2 3 * + *
+-1 -2 3 + +
diff --git a/public_test_cases/p00087/output.0.txt b/public_test_cases/p00087/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fefa4c9f8a3e9f9a0d066f901768d3eee350c006
--- /dev/null
+++ b/public_test_cases/p00087/output.0.txt
@@ -0,0 +1,3 @@
+-1.000000
+-13.000000
+0.000000
diff --git a/public_test_cases/p00087/output.1.txt b/public_test_cases/p00087/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fefa4c9f8a3e9f9a0d066f901768d3eee350c006
--- /dev/null
+++ b/public_test_cases/p00087/output.1.txt
@@ -0,0 +1,3 @@
+-1.000000
+-13.000000
+0.000000
diff --git a/public_test_cases/p00088/input.0.txt b/public_test_cases/p00088/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a0c28d36ab6c9664fabfa51f5ebb95d0e62bb34
--- /dev/null
+++ b/public_test_cases/p00088/input.0.txt
@@ -0,0 +1 @@
+PETER POTTER
diff --git a/public_test_cases/p00088/input.1.txt b/public_test_cases/p00088/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a0c28d36ab6c9664fabfa51f5ebb95d0e62bb34
--- /dev/null
+++ b/public_test_cases/p00088/input.1.txt
@@ -0,0 +1 @@
+PETER POTTER
diff --git a/public_test_cases/p00088/output.0.txt b/public_test_cases/p00088/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9a1deb901eea850ad181140caf6c07663f16b2d
--- /dev/null
+++ b/public_test_cases/p00088/output.0.txt
@@ -0,0 +1 @@
+?D-C'KOPUA
diff --git a/public_test_cases/p00088/output.1.txt b/public_test_cases/p00088/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9a1deb901eea850ad181140caf6c07663f16b2d
--- /dev/null
+++ b/public_test_cases/p00088/output.1.txt
@@ -0,0 +1 @@
+?D-C'KOPUA
diff --git a/public_test_cases/p00089/input.0.txt b/public_test_cases/p00089/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a2d6c99361c624ea8ecb9637dfca7d5c6507f11
--- /dev/null
+++ b/public_test_cases/p00089/input.0.txt
@@ -0,0 +1,9 @@
+7
+3,8
+8,1,0
+2,7,4,4
+4,5,2,6,5
+2,7,4,4
+8,1,0
+3,8
+7
diff --git a/public_test_cases/p00089/input.1.txt b/public_test_cases/p00089/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a2d6c99361c624ea8ecb9637dfca7d5c6507f11
--- /dev/null
+++ b/public_test_cases/p00089/input.1.txt
@@ -0,0 +1,9 @@
+7
+3,8
+8,1,0
+2,7,4,4
+4,5,2,6,5
+2,7,4,4
+8,1,0
+3,8
+7
diff --git a/public_test_cases/p00089/output.0.txt b/public_test_cases/p00089/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3f407c0955bb5738e40a82664c79b63f04a9adb
--- /dev/null
+++ b/public_test_cases/p00089/output.0.txt
@@ -0,0 +1 @@
+55
diff --git a/public_test_cases/p00089/output.1.txt b/public_test_cases/p00089/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3f407c0955bb5738e40a82664c79b63f04a9adb
--- /dev/null
+++ b/public_test_cases/p00089/output.1.txt
@@ -0,0 +1 @@
+55
diff --git a/public_test_cases/p00090/input.0.txt b/public_test_cases/p00090/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f49809dfcc1fd4fb2991d6f386debbd6afa80de7
--- /dev/null
+++ b/public_test_cases/p00090/input.0.txt
@@ -0,0 +1,17 @@
+15
+3.14979,8.51743
+2.39506,3.84915
+2.68432,5.39095
+5.61904,9.16332
+7.85653,4.75593
+2.84021,5.41511
+1.79500,8.59211
+7.55389,8.17604
+4.70665,4.66125
+1.63470,4.42538
+7.34959,4.61981
+5.09003,8.11122
+5.24373,1.30066
+0.13517,1.83659
+7.57313,1.58150
+0
diff --git a/public_test_cases/p00090/input.1.txt b/public_test_cases/p00090/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f49809dfcc1fd4fb2991d6f386debbd6afa80de7
--- /dev/null
+++ b/public_test_cases/p00090/input.1.txt
@@ -0,0 +1,17 @@
+15
+3.14979,8.51743
+2.39506,3.84915
+2.68432,5.39095
+5.61904,9.16332
+7.85653,4.75593
+2.84021,5.41511
+1.79500,8.59211
+7.55389,8.17604
+4.70665,4.66125
+1.63470,4.42538
+7.34959,4.61981
+5.09003,8.11122
+5.24373,1.30066
+0.13517,1.83659
+7.57313,1.58150
+0
diff --git a/public_test_cases/p00090/output.0.txt b/public_test_cases/p00090/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00090/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00090/output.1.txt b/public_test_cases/p00090/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00090/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00091/input.0.txt b/public_test_cases/p00091/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..277b3caf8b1056cd1d8ecbf74a508a23685446a6
--- /dev/null
+++ b/public_test_cases/p00091/input.0.txt
@@ -0,0 +1,11 @@
+2
+0 0 0 0 0 0 0 0 0 0
+0 0 0 1 0 0 0 0 0 0
+0 0 1 1 1 0 0 0 0 0
+0 0 0 1 0 0 0 1 1 1
+0 0 0 0 0 0 0 1 1 1
+0 0 0 0 0 0 0 1 1 1
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p00091/input.1.txt b/public_test_cases/p00091/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..277b3caf8b1056cd1d8ecbf74a508a23685446a6
--- /dev/null
+++ b/public_test_cases/p00091/input.1.txt
@@ -0,0 +1,11 @@
+2
+0 0 0 0 0 0 0 0 0 0
+0 0 0 1 0 0 0 0 0 0
+0 0 1 1 1 0 0 0 0 0
+0 0 0 1 0 0 0 1 1 1
+0 0 0 0 0 0 0 1 1 1
+0 0 0 0 0 0 0 1 1 1
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p00091/output.0.txt b/public_test_cases/p00091/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dde248fd1c32a7b2e44475ed1d8930786839ad0
--- /dev/null
+++ b/public_test_cases/p00091/output.0.txt
@@ -0,0 +1,2 @@
+3 2 1
+8 4 2
diff --git a/public_test_cases/p00091/output.1.txt b/public_test_cases/p00091/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dde248fd1c32a7b2e44475ed1d8930786839ad0
--- /dev/null
+++ b/public_test_cases/p00091/output.1.txt
@@ -0,0 +1,2 @@
+3 2 1
+8 4 2
diff --git a/public_test_cases/p00092/input.0.txt b/public_test_cases/p00092/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d0df507425359d6ffd639222590e50d7f53c243
--- /dev/null
+++ b/public_test_cases/p00092/input.0.txt
@@ -0,0 +1,23 @@
+10
+...*....**
+..........
+**....**..
+........*.
+..*.......
+..........
+.*........
+..........
+....*..***
+.*....*...
+10
+****.*****
+*..*.*....
+****.*....
+*....*....
+*....*****
+..........
+****.*****
+*..*...*..
+****...*..
+*..*...*..
+0
diff --git a/public_test_cases/p00092/input.1.txt b/public_test_cases/p00092/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d0df507425359d6ffd639222590e50d7f53c243
--- /dev/null
+++ b/public_test_cases/p00092/input.1.txt
@@ -0,0 +1,23 @@
+10
+...*....**
+..........
+**....**..
+........*.
+..*.......
+..........
+.*........
+..........
+....*..***
+.*....*...
+10
+****.*****
+*..*.*....
+****.*....
+*....*....
+*....*****
+..........
+****.*****
+*..*...*..
+****...*..
+*..*...*..
+0
diff --git a/public_test_cases/p00092/output.0.txt b/public_test_cases/p00092/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c1a16947c33733f06d0fc68fea007b475eb2ba1
--- /dev/null
+++ b/public_test_cases/p00092/output.0.txt
@@ -0,0 +1,2 @@
+5
+3
diff --git a/public_test_cases/p00092/output.1.txt b/public_test_cases/p00092/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c1a16947c33733f06d0fc68fea007b475eb2ba1
--- /dev/null
+++ b/public_test_cases/p00092/output.1.txt
@@ -0,0 +1,2 @@
+5
+3
diff --git a/public_test_cases/p00093/input.0.txt b/public_test_cases/p00093/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4e9f045c3a3b98d5c990983107d0312176f9efe
--- /dev/null
+++ b/public_test_cases/p00093/input.0.txt
@@ -0,0 +1,4 @@
+2001 2010
+2005 2005
+2001 2010
+0 0
diff --git a/public_test_cases/p00093/input.1.txt b/public_test_cases/p00093/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4e9f045c3a3b98d5c990983107d0312176f9efe
--- /dev/null
+++ b/public_test_cases/p00093/input.1.txt
@@ -0,0 +1,4 @@
+2001 2010
+2005 2005
+2001 2010
+0 0
diff --git a/public_test_cases/p00093/output.0.txt b/public_test_cases/p00093/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f442737a1e6a47ed9d0fabfe710f4d5f2b4f9784
--- /dev/null
+++ b/public_test_cases/p00093/output.0.txt
@@ -0,0 +1,7 @@
+2004
+2008
+
+NA
+
+2004
+2008
diff --git a/public_test_cases/p00093/output.1.txt b/public_test_cases/p00093/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f442737a1e6a47ed9d0fabfe710f4d5f2b4f9784
--- /dev/null
+++ b/public_test_cases/p00093/output.1.txt
@@ -0,0 +1,7 @@
+2004
+2008
+
+NA
+
+2004
+2008
diff --git a/public_test_cases/p00094/input.0.txt b/public_test_cases/p00094/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5208477395b2ec61350fbc16491ed7241f7bf1
--- /dev/null
+++ b/public_test_cases/p00094/input.0.txt
@@ -0,0 +1 @@
+15 25
diff --git a/public_test_cases/p00094/input.1.txt b/public_test_cases/p00094/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5208477395b2ec61350fbc16491ed7241f7bf1
--- /dev/null
+++ b/public_test_cases/p00094/input.1.txt
@@ -0,0 +1 @@
+15 25
diff --git a/public_test_cases/p00094/output.0.txt b/public_test_cases/p00094/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3e5ce9c3a38c2b9464b2a2d5298b357471fe9a0
--- /dev/null
+++ b/public_test_cases/p00094/output.0.txt
@@ -0,0 +1 @@
+113.437508
diff --git a/public_test_cases/p00094/output.1.txt b/public_test_cases/p00094/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3e5ce9c3a38c2b9464b2a2d5298b357471fe9a0
--- /dev/null
+++ b/public_test_cases/p00094/output.1.txt
@@ -0,0 +1 @@
+113.437508
diff --git a/public_test_cases/p00095/input.0.txt b/public_test_cases/p00095/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd37e0df4effdbd01ac9ba87807a297e74efa43
--- /dev/null
+++ b/public_test_cases/p00095/input.0.txt
@@ -0,0 +1,7 @@
+6
+1 14
+2 25
+3 42
+4 11
+5 40
+6 37
diff --git a/public_test_cases/p00095/input.1.txt b/public_test_cases/p00095/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd37e0df4effdbd01ac9ba87807a297e74efa43
--- /dev/null
+++ b/public_test_cases/p00095/input.1.txt
@@ -0,0 +1,7 @@
+6
+1 14
+2 25
+3 42
+4 11
+5 40
+6 37
diff --git a/public_test_cases/p00095/output.0.txt b/public_test_cases/p00095/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f45c312e05fba5d6c85266c17cf6c6e9310591a9
--- /dev/null
+++ b/public_test_cases/p00095/output.0.txt
@@ -0,0 +1 @@
+3 42
diff --git a/public_test_cases/p00095/output.1.txt b/public_test_cases/p00095/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f45c312e05fba5d6c85266c17cf6c6e9310591a9
--- /dev/null
+++ b/public_test_cases/p00095/output.1.txt
@@ -0,0 +1 @@
+3 42
diff --git a/public_test_cases/p00096/input.0.txt b/public_test_cases/p00096/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..256600b3f7c864b9a77d7cc84d76f0ab31394a05
--- /dev/null
+++ b/public_test_cases/p00096/input.0.txt
@@ -0,0 +1,3 @@
+2
+3
+35
diff --git a/public_test_cases/p00096/input.1.txt b/public_test_cases/p00096/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..256600b3f7c864b9a77d7cc84d76f0ab31394a05
--- /dev/null
+++ b/public_test_cases/p00096/input.1.txt
@@ -0,0 +1,3 @@
+2
+3
+35
diff --git a/public_test_cases/p00096/output.0.txt b/public_test_cases/p00096/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6477ec0d7c12cb8c110378449e1d2b0ffea656a
--- /dev/null
+++ b/public_test_cases/p00096/output.0.txt
@@ -0,0 +1,3 @@
+10
+20
+8436
diff --git a/public_test_cases/p00096/output.1.txt b/public_test_cases/p00096/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6477ec0d7c12cb8c110378449e1d2b0ffea656a
--- /dev/null
+++ b/public_test_cases/p00096/output.1.txt
@@ -0,0 +1,3 @@
+10
+20
+8436
diff --git a/public_test_cases/p00097/input.0.txt b/public_test_cases/p00097/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c9409ef811a36ab2fd25e9e8b09d722e4c3ed93
--- /dev/null
+++ b/public_test_cases/p00097/input.0.txt
@@ -0,0 +1,3 @@
+3 6
+3 1
+0 0
diff --git a/public_test_cases/p00097/input.1.txt b/public_test_cases/p00097/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c9409ef811a36ab2fd25e9e8b09d722e4c3ed93
--- /dev/null
+++ b/public_test_cases/p00097/input.1.txt
@@ -0,0 +1,3 @@
+3 6
+3 1
+0 0
diff --git a/public_test_cases/p00097/output.0.txt b/public_test_cases/p00097/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p00097/output.0.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p00097/output.1.txt b/public_test_cases/p00097/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p00097/output.1.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p00098/input.0.txt b/public_test_cases/p00098/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27d63baf23f12bdc7aa79adb5616a10318660f2b
--- /dev/null
+++ b/public_test_cases/p00098/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 -2 3
+-4 5 6
+7 8 -9
diff --git a/public_test_cases/p00098/input.1.txt b/public_test_cases/p00098/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27d63baf23f12bdc7aa79adb5616a10318660f2b
--- /dev/null
+++ b/public_test_cases/p00098/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 -2 3
+-4 5 6
+7 8 -9
diff --git a/public_test_cases/p00098/input.2.txt b/public_test_cases/p00098/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e914edf4dd608825c0550c724ed2c16ce353f78a
--- /dev/null
+++ b/public_test_cases/p00098/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 3 -9 2
+2 7 -1 5
+-8 3 2 -1
+5 0 -3 1
diff --git a/public_test_cases/p00098/output.0.txt b/public_test_cases/p00098/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p00098/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p00098/output.1.txt b/public_test_cases/p00098/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p00098/output.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p00098/output.2.txt b/public_test_cases/p00098/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p00098/output.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p00099/input.0.txt b/public_test_cases/p00099/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a2659b1a01e2fcea2b0f816e9a759ef76a729b
--- /dev/null
+++ b/public_test_cases/p00099/input.0.txt
@@ -0,0 +1,6 @@
+3 5
+1 4
+2 5
+1 3
+3 6
+2 7
diff --git a/public_test_cases/p00099/input.1.txt b/public_test_cases/p00099/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a2659b1a01e2fcea2b0f816e9a759ef76a729b
--- /dev/null
+++ b/public_test_cases/p00099/input.1.txt
@@ -0,0 +1,6 @@
+3 5
+1 4
+2 5
+1 3
+3 6
+2 7
diff --git a/public_test_cases/p00099/output.0.txt b/public_test_cases/p00099/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..beb294ca47d9971f55e3ac371b3773cd066501b4
--- /dev/null
+++ b/public_test_cases/p00099/output.0.txt
@@ -0,0 +1,5 @@
+1 4
+2 5
+1 7
+1 7
+2 12
diff --git a/public_test_cases/p00099/output.1.txt b/public_test_cases/p00099/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..beb294ca47d9971f55e3ac371b3773cd066501b4
--- /dev/null
+++ b/public_test_cases/p00099/output.1.txt
@@ -0,0 +1,5 @@
+1 4
+2 5
+1 7
+1 7
+2 12
diff --git a/public_test_cases/p00100/input.0.txt b/public_test_cases/p00100/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0c7c5623963655ce6dadae887901c5408265aed
--- /dev/null
+++ b/public_test_cases/p00100/input.0.txt
@@ -0,0 +1,12 @@
+4
+1001 2000 520
+1002 1800 450
+1003 1600 625
+1001 200 1220
+2
+1001 100 3
+1005 1000 100
+2
+2013 5000 100
+2013 5000 100
+0
diff --git a/public_test_cases/p00100/input.1.txt b/public_test_cases/p00100/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0c7c5623963655ce6dadae887901c5408265aed
--- /dev/null
+++ b/public_test_cases/p00100/input.1.txt
@@ -0,0 +1,12 @@
+4
+1001 2000 520
+1002 1800 450
+1003 1600 625
+1001 200 1220
+2
+1001 100 3
+1005 1000 100
+2
+2013 5000 100
+2013 5000 100
+0
diff --git a/public_test_cases/p00100/output.0.txt b/public_test_cases/p00100/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc408cfba682a2644990184b18f77ceaac697065
--- /dev/null
+++ b/public_test_cases/p00100/output.0.txt
@@ -0,0 +1,4 @@
+1001
+1003
+NA
+2013
diff --git a/public_test_cases/p00100/output.1.txt b/public_test_cases/p00100/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc408cfba682a2644990184b18f77ceaac697065
--- /dev/null
+++ b/public_test_cases/p00100/output.1.txt
@@ -0,0 +1,4 @@
+1001
+1003
+NA
+2013
diff --git a/public_test_cases/p00101/input.0.txt b/public_test_cases/p00101/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95cd4bd911b2b3258693de412678c038353ea829
--- /dev/null
+++ b/public_test_cases/p00101/input.0.txt
@@ -0,0 +1,4 @@
+3
+Hoshino
+Hashino
+Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
diff --git a/public_test_cases/p00101/input.1.txt b/public_test_cases/p00101/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95cd4bd911b2b3258693de412678c038353ea829
--- /dev/null
+++ b/public_test_cases/p00101/input.1.txt
@@ -0,0 +1,4 @@
+3
+Hoshino
+Hashino
+Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
diff --git a/public_test_cases/p00101/output.0.txt b/public_test_cases/p00101/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb0de651ad2ff5bafd0e684dea82234eeb7ba12
--- /dev/null
+++ b/public_test_cases/p00101/output.0.txt
@@ -0,0 +1,3 @@
+Hoshina
+Hashino
+Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
diff --git a/public_test_cases/p00101/output.1.txt b/public_test_cases/p00101/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb0de651ad2ff5bafd0e684dea82234eeb7ba12
--- /dev/null
+++ b/public_test_cases/p00101/output.1.txt
@@ -0,0 +1,3 @@
+Hoshina
+Hashino
+Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
diff --git a/public_test_cases/p00102/input.0.txt b/public_test_cases/p00102/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a35e2b78f55580523ee9294bc3ef30377eda536c
--- /dev/null
+++ b/public_test_cases/p00102/input.0.txt
@@ -0,0 +1,11 @@
+4
+52 96 15 20
+86 22 35 45
+45 78 54 36
+16 86 74 55
+4
+52 96 15 20
+86 22 35 45
+45 78 54 36
+16 86 74 55
+0
diff --git a/public_test_cases/p00102/input.1.txt b/public_test_cases/p00102/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a35e2b78f55580523ee9294bc3ef30377eda536c
--- /dev/null
+++ b/public_test_cases/p00102/input.1.txt
@@ -0,0 +1,11 @@
+4
+52 96 15 20
+86 22 35 45
+45 78 54 36
+16 86 74 55
+4
+52 96 15 20
+86 22 35 45
+45 78 54 36
+16 86 74 55
+0
diff --git a/public_test_cases/p00102/output.0.txt b/public_test_cases/p00102/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d41c54deaf09b29b38b230a3df9bd6459f82d56
--- /dev/null
+++ b/public_test_cases/p00102/output.0.txt
@@ -0,0 +1,10 @@
+ 52 96 15 20 183
+ 86 22 35 45 188
+ 45 78 54 36 213
+ 16 86 74 55 231
+ 199 282 178 156 815
+ 52 96 15 20 183
+ 86 22 35 45 188
+ 45 78 54 36 213
+ 16 86 74 55 231
+ 199 282 178 156 815
diff --git a/public_test_cases/p00102/output.1.txt b/public_test_cases/p00102/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e3687c0435d7178e045f31c12040fbb996e480c
--- /dev/null
+++ b/public_test_cases/p00102/output.1.txt
@@ -0,0 +1,10 @@
+52 96 15 20 183
+ 86 22 35 45 188
+ 45 78 54 36 213
+ 16 86 74 55 231
+ 199 282 178 156 815
+ 52 96 15 20 183
+ 86 22 35 45 188
+ 45 78 54 36 213
+ 16 86 74 55 231
+ 199 282 178 156 815
diff --git a/public_test_cases/p00103/input.0.txt b/public_test_cases/p00103/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13b12c1e320039bc7905218f906b6092e4661981
--- /dev/null
+++ b/public_test_cases/p00103/input.0.txt
@@ -0,0 +1,20 @@
+2
+HIT
+OUT
+HOMERUN
+HIT
+HIT
+HOMERUN
+HIT
+OUT
+HIT
+HIT
+HIT
+HIT
+OUT
+HIT
+HIT
+OUT
+HIT
+OUT
+OUT
diff --git a/public_test_cases/p00103/input.1.txt b/public_test_cases/p00103/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13b12c1e320039bc7905218f906b6092e4661981
--- /dev/null
+++ b/public_test_cases/p00103/input.1.txt
@@ -0,0 +1,20 @@
+2
+HIT
+OUT
+HOMERUN
+HIT
+HIT
+HOMERUN
+HIT
+OUT
+HIT
+HIT
+HIT
+HIT
+OUT
+HIT
+HIT
+OUT
+HIT
+OUT
+OUT
diff --git a/public_test_cases/p00103/output.0.txt b/public_test_cases/p00103/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8148db66ee1c3076e731d4fffde293f68628869
--- /dev/null
+++ b/public_test_cases/p00103/output.0.txt
@@ -0,0 +1,2 @@
+7
+0
diff --git a/public_test_cases/p00103/output.1.txt b/public_test_cases/p00103/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8148db66ee1c3076e731d4fffde293f68628869
--- /dev/null
+++ b/public_test_cases/p00103/output.1.txt
@@ -0,0 +1,2 @@
+7
+0
diff --git a/public_test_cases/p00104/input.0.txt b/public_test_cases/p00104/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a3e320962cb87a7f01bc0a949a6ea64c0f33ec3
--- /dev/null
+++ b/public_test_cases/p00104/input.0.txt
@@ -0,0 +1,6 @@
+10 10
+>>>v..>>>v
+...v..^..v
+>>>>>>^..v
+.........v
+.v
diff --git a/public_test_cases/p00104/input.1.txt b/public_test_cases/p00104/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a3e320962cb87a7f01bc0a949a6ea64c0f33ec3
--- /dev/null
+++ b/public_test_cases/p00104/input.1.txt
@@ -0,0 +1,6 @@
+10 10
+>>>v..>>>v
+...v..^..v
+>>>>>>^..v
+.........v
+.v
diff --git a/public_test_cases/p00104/input.2.txt b/public_test_cases/p00104/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f885c7cabd2773b66d95e96224883c07128afcd4
--- /dev/null
+++ b/public_test_cases/p00104/input.2.txt
@@ -0,0 +1,19 @@
+10 10
+>>>v..>>>v
+...v..^..v
+>>>>>>^..v
+.........v
+.v<<<<...v
+.v.v.^...v
+.v.v.^<<<<
+.v.v.....v
+.v...^...v
+.>>>>^....
+6 10
+>>>>>>>>>v
+.........v
+.........v
+>>>>v....v
+^...v....v
+^<<<<<<<<<
+0 0
diff --git a/public_test_cases/p00104/output.0.txt b/public_test_cases/p00104/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f2b6a9e945892cd3c7904038d6f1937218231b1
--- /dev/null
+++ b/public_test_cases/p00104/output.0.txt
@@ -0,0 +1,2 @@
+5 7
+LOOP
diff --git a/public_test_cases/p00104/output.1.txt b/public_test_cases/p00104/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f2b6a9e945892cd3c7904038d6f1937218231b1
--- /dev/null
+++ b/public_test_cases/p00104/output.1.txt
@@ -0,0 +1,2 @@
+5 7
+LOOP
diff --git a/public_test_cases/p00104/output.2.txt b/public_test_cases/p00104/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f2b6a9e945892cd3c7904038d6f1937218231b1
--- /dev/null
+++ b/public_test_cases/p00104/output.2.txt
@@ -0,0 +1,2 @@
+5 7
+LOOP
diff --git a/public_test_cases/p00105/input.0.txt b/public_test_cases/p00105/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02152b891ce6714dfe33efd2dc9dc9c774a497eb
--- /dev/null
+++ b/public_test_cases/p00105/input.0.txt
@@ -0,0 +1,8 @@
+style 12
+even 25
+introduction 3
+easy 9
+style 7
+document 13
+style 21
+even 18
diff --git a/public_test_cases/p00105/input.1.txt b/public_test_cases/p00105/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02152b891ce6714dfe33efd2dc9dc9c774a497eb
--- /dev/null
+++ b/public_test_cases/p00105/input.1.txt
@@ -0,0 +1,8 @@
+style 12
+even 25
+introduction 3
+easy 9
+style 7
+document 13
+style 21
+even 18
diff --git a/public_test_cases/p00105/output.0.txt b/public_test_cases/p00105/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05b49f690d9be3343da451170b433b68eb555835
--- /dev/null
+++ b/public_test_cases/p00105/output.0.txt
@@ -0,0 +1,10 @@
+document
+13
+easy
+9
+even
+18 25
+introduction
+3
+style
+7 12 21
diff --git a/public_test_cases/p00105/output.1.txt b/public_test_cases/p00105/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05b49f690d9be3343da451170b433b68eb555835
--- /dev/null
+++ b/public_test_cases/p00105/output.1.txt
@@ -0,0 +1,10 @@
+document
+13
+easy
+9
+even
+18 25
+introduction
+3
+style
+7 12 21
diff --git a/public_test_cases/p00106/input.0.txt b/public_test_cases/p00106/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93ac507b5b8d7b6da9d334281821fa18e578f7cb
--- /dev/null
+++ b/public_test_cases/p00106/input.0.txt
@@ -0,0 +1,3 @@
+500
+2200
+0
diff --git a/public_test_cases/p00106/input.1.txt b/public_test_cases/p00106/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93ac507b5b8d7b6da9d334281821fa18e578f7cb
--- /dev/null
+++ b/public_test_cases/p00106/input.1.txt
@@ -0,0 +1,3 @@
+500
+2200
+0
diff --git a/public_test_cases/p00106/output.0.txt b/public_test_cases/p00106/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f78ba07491ab66a59c42b0c7501c80127a127ac
--- /dev/null
+++ b/public_test_cases/p00106/output.0.txt
@@ -0,0 +1,2 @@
+850
+3390
diff --git a/public_test_cases/p00106/output.1.txt b/public_test_cases/p00106/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f78ba07491ab66a59c42b0c7501c80127a127ac
--- /dev/null
+++ b/public_test_cases/p00106/output.1.txt
@@ -0,0 +1,2 @@
+850
+3390
diff --git a/public_test_cases/p00107/input.0.txt b/public_test_cases/p00107/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d152b7fe69e8ba8aab81097ca1bd8edda106ae6
--- /dev/null
+++ b/public_test_cases/p00107/input.0.txt
@@ -0,0 +1,8 @@
+10 6 8
+5
+4
+8
+6
+2
+5
+0 0 0
diff --git a/public_test_cases/p00107/input.1.txt b/public_test_cases/p00107/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d152b7fe69e8ba8aab81097ca1bd8edda106ae6
--- /dev/null
+++ b/public_test_cases/p00107/input.1.txt
@@ -0,0 +1,8 @@
+10 6 8
+5
+4
+8
+6
+2
+5
+0 0 0
diff --git a/public_test_cases/p00107/output.0.txt b/public_test_cases/p00107/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb2c4e5b81862265c0fe5a5547e50b9988b59a9c
--- /dev/null
+++ b/public_test_cases/p00107/output.0.txt
@@ -0,0 +1,5 @@
+NA
+OK
+OK
+NA
+NA
diff --git a/public_test_cases/p00107/output.1.txt b/public_test_cases/p00107/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb2c4e5b81862265c0fe5a5547e50b9988b59a9c
--- /dev/null
+++ b/public_test_cases/p00107/output.1.txt
@@ -0,0 +1,5 @@
+NA
+OK
+OK
+NA
+NA
diff --git a/public_test_cases/p00108/input.0.txt b/public_test_cases/p00108/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abe7df6cbec0acefba9ab93de7d90e591781f103
--- /dev/null
+++ b/public_test_cases/p00108/input.0.txt
@@ -0,0 +1,3 @@
+10
+4 5 1 1 4 5 12 3 5 4
+0
diff --git a/public_test_cases/p00108/input.1.txt b/public_test_cases/p00108/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abe7df6cbec0acefba9ab93de7d90e591781f103
--- /dev/null
+++ b/public_test_cases/p00108/input.1.txt
@@ -0,0 +1,3 @@
+10
+4 5 1 1 4 5 12 3 5 4
+0
diff --git a/public_test_cases/p00108/output.0.txt b/public_test_cases/p00108/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76cb6777f4f765ff8e53b667b98d1e109f259445
--- /dev/null
+++ b/public_test_cases/p00108/output.0.txt
@@ -0,0 +1,2 @@
+3
+6 6 4 4 6 6 4 4 6 6
diff --git a/public_test_cases/p00108/output.1.txt b/public_test_cases/p00108/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76cb6777f4f765ff8e53b667b98d1e109f259445
--- /dev/null
+++ b/public_test_cases/p00108/output.1.txt
@@ -0,0 +1,2 @@
+3
+6 6 4 4 6 6 4 4 6 6
diff --git a/public_test_cases/p00109/input.0.txt b/public_test_cases/p00109/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c4b78c780fdf5444e31549d59e6479c1990f789
--- /dev/null
+++ b/public_test_cases/p00109/input.0.txt
@@ -0,0 +1,3 @@
+2
+4-2*3=
+4*(8+4+3)=
diff --git a/public_test_cases/p00109/input.1.txt b/public_test_cases/p00109/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c4b78c780fdf5444e31549d59e6479c1990f789
--- /dev/null
+++ b/public_test_cases/p00109/input.1.txt
@@ -0,0 +1,3 @@
+2
+4-2*3=
+4*(8+4+3)=
diff --git a/public_test_cases/p00109/output.0.txt b/public_test_cases/p00109/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..684c0a02546d0e47c587a1dc8ab77fbf75c0214a
--- /dev/null
+++ b/public_test_cases/p00109/output.0.txt
@@ -0,0 +1,2 @@
+-2
+60
diff --git a/public_test_cases/p00109/output.1.txt b/public_test_cases/p00109/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..684c0a02546d0e47c587a1dc8ab77fbf75c0214a
--- /dev/null
+++ b/public_test_cases/p00109/output.1.txt
@@ -0,0 +1,2 @@
+-2
+60
diff --git a/public_test_cases/p00110/input.0.txt b/public_test_cases/p00110/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e814225849f0cf9b04bbaf06f3d37ba9ea6397
--- /dev/null
+++ b/public_test_cases/p00110/input.0.txt
@@ -0,0 +1,3 @@
+123+4X6=X79
+12X+4X6=X79
+XX22+89=X2XX
diff --git a/public_test_cases/p00110/input.1.txt b/public_test_cases/p00110/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e814225849f0cf9b04bbaf06f3d37ba9ea6397
--- /dev/null
+++ b/public_test_cases/p00110/input.1.txt
@@ -0,0 +1,3 @@
+123+4X6=X79
+12X+4X6=X79
+XX22+89=X2XX
diff --git a/public_test_cases/p00110/output.0.txt b/public_test_cases/p00110/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20b5495686fbca8e78739a78613afc1107d18bf7
--- /dev/null
+++ b/public_test_cases/p00110/output.0.txt
@@ -0,0 +1,3 @@
+5
+NA
+1
diff --git a/public_test_cases/p00110/output.1.txt b/public_test_cases/p00110/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20b5495686fbca8e78739a78613afc1107d18bf7
--- /dev/null
+++ b/public_test_cases/p00110/output.1.txt
@@ -0,0 +1,3 @@
+5
+NA
+1
diff --git a/public_test_cases/p00111/input.0.txt b/public_test_cases/p00111/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9a1deb901eea850ad181140caf6c07663f16b2d
--- /dev/null
+++ b/public_test_cases/p00111/input.0.txt
@@ -0,0 +1 @@
+?D-C'KOPUA
diff --git a/public_test_cases/p00111/input.1.txt b/public_test_cases/p00111/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9a1deb901eea850ad181140caf6c07663f16b2d
--- /dev/null
+++ b/public_test_cases/p00111/input.1.txt
@@ -0,0 +1 @@
+?D-C'KOPUA
diff --git a/public_test_cases/p00111/output.0.txt b/public_test_cases/p00111/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a0c28d36ab6c9664fabfa51f5ebb95d0e62bb34
--- /dev/null
+++ b/public_test_cases/p00111/output.0.txt
@@ -0,0 +1 @@
+PETER POTTER
diff --git a/public_test_cases/p00111/output.1.txt b/public_test_cases/p00111/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a0c28d36ab6c9664fabfa51f5ebb95d0e62bb34
--- /dev/null
+++ b/public_test_cases/p00111/output.1.txt
@@ -0,0 +1 @@
+PETER POTTER
diff --git a/public_test_cases/p00112/input.0.txt b/public_test_cases/p00112/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad1834160dc7a4667287b72b60ea251a6e6a4b15
--- /dev/null
+++ b/public_test_cases/p00112/input.0.txt
@@ -0,0 +1,7 @@
+5
+2
+6
+4
+3
+9
+0
diff --git a/public_test_cases/p00112/input.1.txt b/public_test_cases/p00112/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad1834160dc7a4667287b72b60ea251a6e6a4b15
--- /dev/null
+++ b/public_test_cases/p00112/input.1.txt
@@ -0,0 +1,7 @@
+5
+2
+6
+4
+3
+9
+0
diff --git a/public_test_cases/p00112/output.0.txt b/public_test_cases/p00112/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e85087affded170efcbc6f9672a6fc671d839ed0
--- /dev/null
+++ b/public_test_cases/p00112/output.0.txt
@@ -0,0 +1 @@
+31
diff --git a/public_test_cases/p00112/output.1.txt b/public_test_cases/p00112/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e85087affded170efcbc6f9672a6fc671d839ed0
--- /dev/null
+++ b/public_test_cases/p00112/output.1.txt
@@ -0,0 +1 @@
+31
diff --git a/public_test_cases/p00113/input.0.txt b/public_test_cases/p00113/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9535a8a512a3c863debad9279c5e74731873a87
--- /dev/null
+++ b/public_test_cases/p00113/input.0.txt
@@ -0,0 +1,4 @@
+1 12
+10000 32768
+1 11100
+1 459550
diff --git a/public_test_cases/p00113/output.0.txt b/public_test_cases/p00113/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d7d3196085072316427d6df48e77afe71fc3649
--- /dev/null
+++ b/public_test_cases/p00113/output.0.txt
@@ -0,0 +1,7 @@
+083
+ ^
+30517578125
+00009
+ ^^^
+00000217604178
+ ^^^^^^^^^^^^
diff --git a/public_test_cases/p00114/input.0.txt b/public_test_cases/p00114/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18532c6369fbb73a625579948102829919b77885
--- /dev/null
+++ b/public_test_cases/p00114/input.0.txt
@@ -0,0 +1,3 @@
+2 5 3 7 6 13
+517 1024 746 6561 4303 3125
+0 0 0 0 0 0
diff --git a/public_test_cases/p00114/input.1.txt b/public_test_cases/p00114/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18532c6369fbb73a625579948102829919b77885
--- /dev/null
+++ b/public_test_cases/p00114/input.1.txt
@@ -0,0 +1,3 @@
+2 5 3 7 6 13
+517 1024 746 6561 4303 3125
+0 0 0 0 0 0
diff --git a/public_test_cases/p00114/output.0.txt b/public_test_cases/p00114/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1486c07aba75827c3114ba22762a7427ad7808d8
--- /dev/null
+++ b/public_test_cases/p00114/output.0.txt
@@ -0,0 +1,2 @@
+12
+116640000
diff --git a/public_test_cases/p00114/output.1.txt b/public_test_cases/p00114/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1486c07aba75827c3114ba22762a7427ad7808d8
--- /dev/null
+++ b/public_test_cases/p00114/output.1.txt
@@ -0,0 +1,2 @@
+12
+116640000
diff --git a/public_test_cases/p00115/input.0.txt b/public_test_cases/p00115/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db2cc5a4b40600a95b5c20aaf6ad0290b3cb348f
--- /dev/null
+++ b/public_test_cases/p00115/input.0.txt
@@ -0,0 +1,5 @@
+-10 0 0
+10 0 0
+0 10 0
+0 10 10
+0 0 10
diff --git a/public_test_cases/p00115/input.1.txt b/public_test_cases/p00115/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b8f3f8631c07edfb8b02b9c302c8109ac295eff
--- /dev/null
+++ b/public_test_cases/p00115/input.1.txt
@@ -0,0 +1,5 @@
+-10 6 6
+10 6 6
+0 10 0
+0 10 10
+0 0 10
diff --git a/public_test_cases/p00115/input.2.txt b/public_test_cases/p00115/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db2cc5a4b40600a95b5c20aaf6ad0290b3cb348f
--- /dev/null
+++ b/public_test_cases/p00115/input.2.txt
@@ -0,0 +1,5 @@
+-10 0 0
+10 0 0
+0 10 0
+0 10 10
+0 0 10
diff --git a/public_test_cases/p00115/output.0.txt b/public_test_cases/p00115/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6585d3d3f59ccb55601e6136b2828ee11ed125d
--- /dev/null
+++ b/public_test_cases/p00115/output.0.txt
@@ -0,0 +1 @@
+HIT
diff --git a/public_test_cases/p00115/output.1.txt b/public_test_cases/p00115/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e68b9200eac0ea99728b20daba3f5349766e3546
--- /dev/null
+++ b/public_test_cases/p00115/output.1.txt
@@ -0,0 +1 @@
+MISS
diff --git a/public_test_cases/p00115/output.2.txt b/public_test_cases/p00115/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6585d3d3f59ccb55601e6136b2828ee11ed125d
--- /dev/null
+++ b/public_test_cases/p00115/output.2.txt
@@ -0,0 +1 @@
+HIT
diff --git a/public_test_cases/p00116/input.0.txt b/public_test_cases/p00116/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85dc3065dfdae2d8ce23bbf7fba90c06a9de4ce7
--- /dev/null
+++ b/public_test_cases/p00116/input.0.txt
@@ -0,0 +1,26 @@
+10 10
+...*....**
+..........
+**....**..
+........*.
+..*.......
+**........
+.*........
+..........
+....*..***
+.*....*...
+10 10
+..*....*..
+.*.*...*..
+*****..*..
+*...*..*..
+*...*..*..
+..........
+****.*...*
+..*..*...*
+.*...*...*
+****..***.
+2 3
+...
+...
+0 0
diff --git a/public_test_cases/p00116/input.1.txt b/public_test_cases/p00116/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85dc3065dfdae2d8ce23bbf7fba90c06a9de4ce7
--- /dev/null
+++ b/public_test_cases/p00116/input.1.txt
@@ -0,0 +1,26 @@
+10 10
+...*....**
+..........
+**....**..
+........*.
+..*.......
+**........
+.*........
+..........
+....*..***
+.*....*...
+10 10
+..*....*..
+.*.*...*..
+*****..*..
+*...*..*..
+*...*..*..
+..........
+****.*...*
+..*..*...*
+.*...*...*
+****..***.
+2 3
+...
+...
+0 0
diff --git a/public_test_cases/p00116/output.0.txt b/public_test_cases/p00116/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8266dae799d31559f7cafedc920e97ce0fd76663
--- /dev/null
+++ b/public_test_cases/p00116/output.0.txt
@@ -0,0 +1,3 @@
+28
+12
+6
diff --git a/public_test_cases/p00116/output.1.txt b/public_test_cases/p00116/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8266dae799d31559f7cafedc920e97ce0fd76663
--- /dev/null
+++ b/public_test_cases/p00116/output.1.txt
@@ -0,0 +1,3 @@
+28
+12
+6
diff --git a/public_test_cases/p00117/input.0.txt b/public_test_cases/p00117/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e692ba1b8f660d8d078dddf2be25368f584d900
--- /dev/null
+++ b/public_test_cases/p00117/input.0.txt
@@ -0,0 +1,11 @@
+6
+8
+1,2,2,2
+1,3,4,3
+1,4,4,2
+2,5,3,2
+3,4,4,2
+3,6,1,2
+4,6,1,1
+5,6,1,2
+2,4,50,30
diff --git a/public_test_cases/p00117/input.1.txt b/public_test_cases/p00117/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e692ba1b8f660d8d078dddf2be25368f584d900
--- /dev/null
+++ b/public_test_cases/p00117/input.1.txt
@@ -0,0 +1,11 @@
+6
+8
+1,2,2,2
+1,3,4,3
+1,4,4,2
+2,5,3,2
+3,4,4,2
+3,6,1,2
+4,6,1,1
+5,6,1,2
+2,4,50,30
diff --git a/public_test_cases/p00117/output.0.txt b/public_test_cases/p00117/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00117/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00117/output.1.txt b/public_test_cases/p00117/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00117/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00118/input.0.txt b/public_test_cases/p00118/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47198c2c451351263562c6fd9b571c90e4f8c3f7
--- /dev/null
+++ b/public_test_cases/p00118/input.0.txt
@@ -0,0 +1,12 @@
+10 10
+####*****@
+@#@@@@#*#*
+@##***@@@*
+#****#*@**
+##@*#@@*##
+*@@@@*@@@#
+***#@*@##*
+*@@@*@@##@
+*@*#*@##**
+@****#@@#@
+0 0
diff --git a/public_test_cases/p00118/input.1.txt b/public_test_cases/p00118/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b6de1aaf3c2f610ef6ba1bb8bdde135b1df152b
--- /dev/null
+++ b/public_test_cases/p00118/input.1.txt
@@ -0,0 +1,12 @@
+10 10
+*****@
+@#@@@@#*#*
+@##***@@@*
+****#*@**
+@*#@@*##
+*@@@@*@@@#
+***#@*@##*
+*@@@*@@##@
+*@*#*@##**
+@****#@@#@
+0 0
diff --git a/public_test_cases/p00118/input.2.txt b/public_test_cases/p00118/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47198c2c451351263562c6fd9b571c90e4f8c3f7
--- /dev/null
+++ b/public_test_cases/p00118/input.2.txt
@@ -0,0 +1,12 @@
+10 10
+####*****@
+@#@@@@#*#*
+@##***@@@*
+#****#*@**
+##@*#@@*##
+*@@@@*@@@#
+***#@*@##*
+*@@@*@@##@
+*@*#*@##**
+@****#@@#@
+0 0
diff --git a/public_test_cases/p00118/output.0.txt b/public_test_cases/p00118/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb95160cb6e07358f54a28a208ae41e69889c97b
--- /dev/null
+++ b/public_test_cases/p00118/output.0.txt
@@ -0,0 +1 @@
+33
diff --git a/public_test_cases/p00118/output.1.txt b/public_test_cases/p00118/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb95160cb6e07358f54a28a208ae41e69889c97b
--- /dev/null
+++ b/public_test_cases/p00118/output.1.txt
@@ -0,0 +1 @@
+33
diff --git a/public_test_cases/p00118/output.2.txt b/public_test_cases/p00118/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb95160cb6e07358f54a28a208ae41e69889c97b
--- /dev/null
+++ b/public_test_cases/p00118/output.2.txt
@@ -0,0 +1 @@
+33
diff --git a/public_test_cases/p00119/input.0.txt b/public_test_cases/p00119/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2f60ec0b27f75064fc74afbe1d1f9dd3a014dba
--- /dev/null
+++ b/public_test_cases/p00119/input.0.txt
@@ -0,0 +1,9 @@
+6
+7
+5 2
+1 4
+3 5
+4 2
+1 6
+6 4
+3 4
diff --git a/public_test_cases/p00119/input.1.txt b/public_test_cases/p00119/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2f60ec0b27f75064fc74afbe1d1f9dd3a014dba
--- /dev/null
+++ b/public_test_cases/p00119/input.1.txt
@@ -0,0 +1,9 @@
+6
+7
+5 2
+1 4
+3 5
+4 2
+1 6
+6 4
+3 4
diff --git a/public_test_cases/p00119/output.0.txt b/public_test_cases/p00119/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5bd492ac119233772f596d6af202d5084cf231
--- /dev/null
+++ b/public_test_cases/p00119/output.0.txt
@@ -0,0 +1,6 @@
+3
+5
+1
+6
+4
+2
diff --git a/public_test_cases/p00119/output.1.txt b/public_test_cases/p00119/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5bd492ac119233772f596d6af202d5084cf231
--- /dev/null
+++ b/public_test_cases/p00119/output.1.txt
@@ -0,0 +1,6 @@
+3
+5
+1
+6
+4
+2
diff --git a/public_test_cases/p00120/input.0.txt b/public_test_cases/p00120/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7bd58728290ea3ccd4797097613a2cb556e0efc
--- /dev/null
+++ b/public_test_cases/p00120/input.0.txt
@@ -0,0 +1,4 @@
+30 4 5 6
+30 5 5 5
+50 3 3 3 10 10
+49 3 3 3 10 10
diff --git a/public_test_cases/p00120/input.1.txt b/public_test_cases/p00120/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7bd58728290ea3ccd4797097613a2cb556e0efc
--- /dev/null
+++ b/public_test_cases/p00120/input.1.txt
@@ -0,0 +1,4 @@
+30 4 5 6
+30 5 5 5
+50 3 3 3 10 10
+49 3 3 3 10 10
diff --git a/public_test_cases/p00120/output.0.txt b/public_test_cases/p00120/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0312efe3430031104afc6ef74b96b5679e5971ef
--- /dev/null
+++ b/public_test_cases/p00120/output.0.txt
@@ -0,0 +1,4 @@
+OK
+OK
+OK
+NA
diff --git a/public_test_cases/p00120/output.1.txt b/public_test_cases/p00120/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0312efe3430031104afc6ef74b96b5679e5971ef
--- /dev/null
+++ b/public_test_cases/p00120/output.1.txt
@@ -0,0 +1,4 @@
+OK
+OK
+OK
+NA
diff --git a/public_test_cases/p00121/input.0.txt b/public_test_cases/p00121/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b115fa42f45b77fb17e2f2f473995d3a565b2fa5
--- /dev/null
+++ b/public_test_cases/p00121/input.0.txt
@@ -0,0 +1,3 @@
+0 1 2 3 4 5 6 7
+1 0 2 3 4 5 6 7
+7 6 5 4 3 2 1 0
diff --git a/public_test_cases/p00121/input.1.txt b/public_test_cases/p00121/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b115fa42f45b77fb17e2f2f473995d3a565b2fa5
--- /dev/null
+++ b/public_test_cases/p00121/input.1.txt
@@ -0,0 +1,3 @@
+0 1 2 3 4 5 6 7
+1 0 2 3 4 5 6 7
+7 6 5 4 3 2 1 0
diff --git a/public_test_cases/p00121/output.0.txt b/public_test_cases/p00121/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cefffb7ff4b8dc502bb2de5cb682ebbe1084323
--- /dev/null
+++ b/public_test_cases/p00121/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+28
diff --git a/public_test_cases/p00121/output.1.txt b/public_test_cases/p00121/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cefffb7ff4b8dc502bb2de5cb682ebbe1084323
--- /dev/null
+++ b/public_test_cases/p00121/output.1.txt
@@ -0,0 +1,3 @@
+0
+1
+28
diff --git a/public_test_cases/p00122/input.0.txt b/public_test_cases/p00122/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a8658e1d7ea277b2323acf1f8f630fd3e54bd1e
--- /dev/null
+++ b/public_test_cases/p00122/input.0.txt
@@ -0,0 +1,7 @@
+6 1
+10
+6 4 3 3 1 2 0 5 4 6 1 8 5 9 7 7 8 6 8 3
+6 1
+10
+6 4 3 3 1 2 0 5 4 6 1 8 5 9 7 7 8 6 9 0
+0 0
diff --git a/public_test_cases/p00122/input.1.txt b/public_test_cases/p00122/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a8658e1d7ea277b2323acf1f8f630fd3e54bd1e
--- /dev/null
+++ b/public_test_cases/p00122/input.1.txt
@@ -0,0 +1,7 @@
+6 1
+10
+6 4 3 3 1 2 0 5 4 6 1 8 5 9 7 7 8 6 8 3
+6 1
+10
+6 4 3 3 1 2 0 5 4 6 1 8 5 9 7 7 8 6 9 0
+0 0
diff --git a/public_test_cases/p00122/output.0.txt b/public_test_cases/p00122/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2afad5c1deacd6c2b007ada04625959e7c6e0403
--- /dev/null
+++ b/public_test_cases/p00122/output.0.txt
@@ -0,0 +1,2 @@
+OK
+NA
diff --git a/public_test_cases/p00122/output.1.txt b/public_test_cases/p00122/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2afad5c1deacd6c2b007ada04625959e7c6e0403
--- /dev/null
+++ b/public_test_cases/p00122/output.1.txt
@@ -0,0 +1,2 @@
+OK
+NA
diff --git a/public_test_cases/p00123/input.0.txt b/public_test_cases/p00123/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abaab8c3598db20cc6518da5a3ae08523067a43d
--- /dev/null
+++ b/public_test_cases/p00123/input.0.txt
@@ -0,0 +1,2 @@
+40.0 70.0
+72.5 140.51
diff --git a/public_test_cases/p00123/input.1.txt b/public_test_cases/p00123/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abaab8c3598db20cc6518da5a3ae08523067a43d
--- /dev/null
+++ b/public_test_cases/p00123/input.1.txt
@@ -0,0 +1,2 @@
+40.0 70.0
+72.5 140.51
diff --git a/public_test_cases/p00123/output.0.txt b/public_test_cases/p00123/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9f27e2f7a16fa43fea86c632f0316ef49830c09
--- /dev/null
+++ b/public_test_cases/p00123/output.0.txt
@@ -0,0 +1,2 @@
+B
+NA
diff --git a/public_test_cases/p00123/output.1.txt b/public_test_cases/p00123/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9f27e2f7a16fa43fea86c632f0316ef49830c09
--- /dev/null
+++ b/public_test_cases/p00123/output.1.txt
@@ -0,0 +1,2 @@
+B
+NA
diff --git a/public_test_cases/p00124/input.0.txt b/public_test_cases/p00124/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ba8cb5911e1c3a870bb91f0b143109ba9e22462
--- /dev/null
+++ b/public_test_cases/p00124/input.0.txt
@@ -0,0 +1,10 @@
+4
+Japan 1 0 2
+Egypt 1 2 0
+Canada 0 2 1
+Spain 2 0 1
+3
+India 0 2 0
+Poland 1 0 1
+Italy 1 0 1
+0
diff --git a/public_test_cases/p00124/input.1.txt b/public_test_cases/p00124/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ba8cb5911e1c3a870bb91f0b143109ba9e22462
--- /dev/null
+++ b/public_test_cases/p00124/input.1.txt
@@ -0,0 +1,10 @@
+4
+Japan 1 0 2
+Egypt 1 2 0
+Canada 0 2 1
+Spain 2 0 1
+3
+India 0 2 0
+Poland 1 0 1
+Italy 1 0 1
+0
diff --git a/public_test_cases/p00124/output.0.txt b/public_test_cases/p00124/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5551b8492b49fd8f8afc677f29323845409b86c
--- /dev/null
+++ b/public_test_cases/p00124/output.0.txt
@@ -0,0 +1,8 @@
+Spain,7
+Japan,5
+Egypt,3
+Canada,1
+
+Poland,4
+Italy,4
+India,0
diff --git a/public_test_cases/p00124/output.1.txt b/public_test_cases/p00124/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5551b8492b49fd8f8afc677f29323845409b86c
--- /dev/null
+++ b/public_test_cases/p00124/output.1.txt
@@ -0,0 +1,8 @@
+Spain,7
+Japan,5
+Egypt,3
+Canada,1
+
+Poland,4
+Italy,4
+India,0
diff --git a/public_test_cases/p00125/input.0.txt b/public_test_cases/p00125/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f0cdcd4ed9bd6e6104e9c7d9b8ca957754aaf1e
--- /dev/null
+++ b/public_test_cases/p00125/input.0.txt
@@ -0,0 +1,6 @@
+2006 9 2 2006 9 3
+2006 9 2 2006 11 11
+2004 1 1 2005 1 1
+2000 1 1 2006 1 1
+2000 1 1 2101 1 1
+-1 -1 -1 -1 -1 -1
diff --git a/public_test_cases/p00125/input.1.txt b/public_test_cases/p00125/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f0cdcd4ed9bd6e6104e9c7d9b8ca957754aaf1e
--- /dev/null
+++ b/public_test_cases/p00125/input.1.txt
@@ -0,0 +1,6 @@
+2006 9 2 2006 9 3
+2006 9 2 2006 11 11
+2004 1 1 2005 1 1
+2000 1 1 2006 1 1
+2000 1 1 2101 1 1
+-1 -1 -1 -1 -1 -1
diff --git a/public_test_cases/p00125/output.0.txt b/public_test_cases/p00125/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6d0b7685ca63ae8faa3bf36b21c030385b38875
--- /dev/null
+++ b/public_test_cases/p00125/output.0.txt
@@ -0,0 +1,5 @@
+1
+70
+366
+2192
+36890
diff --git a/public_test_cases/p00125/output.1.txt b/public_test_cases/p00125/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6d0b7685ca63ae8faa3bf36b21c030385b38875
--- /dev/null
+++ b/public_test_cases/p00125/output.1.txt
@@ -0,0 +1,5 @@
+1
+70
+366
+2192
+36890
diff --git a/public_test_cases/p00126/input.0.txt b/public_test_cases/p00126/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b96d9752c9c64f274a67945a9e2c1226735d96a
--- /dev/null
+++ b/public_test_cases/p00126/input.0.txt
@@ -0,0 +1,19 @@
+2
+2 1 3 4 5 6 7 8 9
+4 5 6 7 8 9 1 2 3
+7 8 9 1 2 3 4 5 6
+2 3 4 5 6 7 8 9 1
+5 6 7 8 9 1 2 3 4
+8 9 1 2 3 4 5 6 7
+3 4 5 6 7 8 9 1 2
+6 7 8 9 1 2 3 4 5
+9 1 2 3 4 5 6 7 8
+2 1 3 4 5 6 7 8 9
+4 5 6 7 8 9 1 2 3
+7 8 9 1 2 3 4 5 6
+2 3 4 5 6 7 8 9 1
+5 6 7 8 9 1 2 3 4
+8 9 1 2 3 4 5 6 7
+3 4 5 6 7 8 9 1 2
+6 7 8 9 1 2 3 4 5
+9 1 2 3 4 5 6 7 8
diff --git a/public_test_cases/p00126/input.1.txt b/public_test_cases/p00126/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b96d9752c9c64f274a67945a9e2c1226735d96a
--- /dev/null
+++ b/public_test_cases/p00126/input.1.txt
@@ -0,0 +1,19 @@
+2
+2 1 3 4 5 6 7 8 9
+4 5 6 7 8 9 1 2 3
+7 8 9 1 2 3 4 5 6
+2 3 4 5 6 7 8 9 1
+5 6 7 8 9 1 2 3 4
+8 9 1 2 3 4 5 6 7
+3 4 5 6 7 8 9 1 2
+6 7 8 9 1 2 3 4 5
+9 1 2 3 4 5 6 7 8
+2 1 3 4 5 6 7 8 9
+4 5 6 7 8 9 1 2 3
+7 8 9 1 2 3 4 5 6
+2 3 4 5 6 7 8 9 1
+5 6 7 8 9 1 2 3 4
+8 9 1 2 3 4 5 6 7
+3 4 5 6 7 8 9 1 2
+6 7 8 9 1 2 3 4 5
+9 1 2 3 4 5 6 7 8
diff --git a/public_test_cases/p00126/output.0.txt b/public_test_cases/p00126/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6ddaa1b15dde216dbb8dc06d17145841ed484b9
--- /dev/null
+++ b/public_test_cases/p00126/output.0.txt
@@ -0,0 +1,19 @@
+*2*1 3 4 5 6 7 8 9
+ 4 5 6 7 8 9 1 2 3
+ 7 8 9 1 2 3 4 5 6
+*2 3 4 5 6 7 8 9 1
+ 5 6 7 8 9 1 2 3 4
+ 8 9 1 2 3 4 5 6 7
+ 3 4 5 6 7 8 9 1 2
+ 6 7 8 9 1 2 3 4 5
+ 9*1 2 3 4 5 6 7 8
+
+*2*1 3 4 5 6 7 8 9
+ 4 5 6 7 8 9 1 2 3
+ 7 8 9 1 2 3 4 5 6
+*2 3 4 5 6 7 8 9 1
+ 5 6 7 8 9 1 2 3 4
+ 8 9 1 2 3 4 5 6 7
+ 3 4 5 6 7 8 9 1 2
+ 6 7 8 9 1 2 3 4 5
+ 9*1 2 3 4 5 6 7 8
diff --git a/public_test_cases/p00126/output.1.txt b/public_test_cases/p00126/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6ddaa1b15dde216dbb8dc06d17145841ed484b9
--- /dev/null
+++ b/public_test_cases/p00126/output.1.txt
@@ -0,0 +1,19 @@
+*2*1 3 4 5 6 7 8 9
+ 4 5 6 7 8 9 1 2 3
+ 7 8 9 1 2 3 4 5 6
+*2 3 4 5 6 7 8 9 1
+ 5 6 7 8 9 1 2 3 4
+ 8 9 1 2 3 4 5 6 7
+ 3 4 5 6 7 8 9 1 2
+ 6 7 8 9 1 2 3 4 5
+ 9*1 2 3 4 5 6 7 8
+
+*2*1 3 4 5 6 7 8 9
+ 4 5 6 7 8 9 1 2 3
+ 7 8 9 1 2 3 4 5 6
+*2 3 4 5 6 7 8 9 1
+ 5 6 7 8 9 1 2 3 4
+ 8 9 1 2 3 4 5 6 7
+ 3 4 5 6 7 8 9 1 2
+ 6 7 8 9 1 2 3 4 5
+ 9*1 2 3 4 5 6 7 8
diff --git a/public_test_cases/p00127/input.0.txt b/public_test_cases/p00127/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c36c6a114e0c0a91ca64b44e469d430fe37fd04
--- /dev/null
+++ b/public_test_cases/p00127/input.0.txt
@@ -0,0 +1,8 @@
+341143514535
+314
+143565553551655311343411652235654535651124615163
+551544654451431564
+4
+3411
+6363636363
+153414
diff --git a/public_test_cases/p00127/input.1.txt b/public_test_cases/p00127/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c36c6a114e0c0a91ca64b44e469d430fe37fd04
--- /dev/null
+++ b/public_test_cases/p00127/input.1.txt
@@ -0,0 +1,8 @@
+341143514535
+314
+143565553551655311343411652235654535651124615163
+551544654451431564
+4
+3411
+6363636363
+153414
diff --git a/public_test_cases/p00127/output.0.txt b/public_test_cases/p00127/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80e87fb3e68f606e8ef226446e3e6df9ad8d2b6e
--- /dev/null
+++ b/public_test_cases/p00127/output.0.txt
@@ -0,0 +1,8 @@
+naruto
+NA
+do you wanna go to aizu?
+yes sure!
+NA
+na
+?????
+end
diff --git a/public_test_cases/p00127/output.1.txt b/public_test_cases/p00127/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80e87fb3e68f606e8ef226446e3e6df9ad8d2b6e
--- /dev/null
+++ b/public_test_cases/p00127/output.1.txt
@@ -0,0 +1,8 @@
+naruto
+NA
+do you wanna go to aizu?
+yes sure!
+NA
+na
+?????
+end
diff --git a/public_test_cases/p00128/input.0.txt b/public_test_cases/p00128/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05abd00261a6ee152057dc9329cd6544a1694052
--- /dev/null
+++ b/public_test_cases/p00128/input.0.txt
@@ -0,0 +1,2 @@
+2006
+1111
diff --git a/public_test_cases/p00128/input.1.txt b/public_test_cases/p00128/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05abd00261a6ee152057dc9329cd6544a1694052
--- /dev/null
+++ b/public_test_cases/p00128/input.1.txt
@@ -0,0 +1,2 @@
+2006
+1111
diff --git a/public_test_cases/p00128/output.0.txt b/public_test_cases/p00128/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b3e2425ebc107c5bd36ec615414692d0896a263
--- /dev/null
+++ b/public_test_cases/p00128/output.0.txt
@@ -0,0 +1,17 @@
+****
+ *
+=====
+ * *
+****
+* ***
+*****
+*****
+
+*****
+
+=====
+ ****
+*
+*****
+*****
+*****
diff --git a/public_test_cases/p00128/output.1.txt b/public_test_cases/p00128/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b3e2425ebc107c5bd36ec615414692d0896a263
--- /dev/null
+++ b/public_test_cases/p00128/output.1.txt
@@ -0,0 +1,17 @@
+****
+ *
+=====
+ * *
+****
+* ***
+*****
+*****
+
+*****
+
+=====
+ ****
+*
+*****
+*****
+*****
diff --git a/public_test_cases/p00129/input.0.txt b/public_test_cases/p00129/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e44fdb3f6ac50a1a332bb88db1a34996aeb8f149
--- /dev/null
+++ b/public_test_cases/p00129/input.0.txt
@@ -0,0 +1,12 @@
+3
+6 6 3
+19 7 4
+21 8 1
+6
+5 4 2 11
+12 4 2 11
+11 9 2 11
+14 3 20 5
+17 9 20 5
+20 10 20 5
+0
diff --git a/public_test_cases/p00129/input.1.txt b/public_test_cases/p00129/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e44fdb3f6ac50a1a332bb88db1a34996aeb8f149
--- /dev/null
+++ b/public_test_cases/p00129/input.1.txt
@@ -0,0 +1,12 @@
+3
+6 6 3
+19 7 4
+21 8 1
+6
+5 4 2 11
+12 4 2 11
+11 9 2 11
+14 3 20 5
+17 9 20 5
+20 10 20 5
+0
diff --git a/public_test_cases/p00129/output.0.txt b/public_test_cases/p00129/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43f93dd5434354cd8c9ba0364a8924c8e9ce7623
--- /dev/null
+++ b/public_test_cases/p00129/output.0.txt
@@ -0,0 +1,6 @@
+Safe
+Safe
+Danger
+Safe
+Danger
+Safe
diff --git a/public_test_cases/p00129/output.1.txt b/public_test_cases/p00129/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43f93dd5434354cd8c9ba0364a8924c8e9ce7623
--- /dev/null
+++ b/public_test_cases/p00129/output.1.txt
@@ -0,0 +1,6 @@
+Safe
+Safe
+Danger
+Safe
+Danger
+Safe
diff --git a/public_test_cases/p00130/input.0.txt b/public_test_cases/p00130/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9341de025d8a34012d3b790256e21d9737f3bad1
--- /dev/null
+++ b/public_test_cases/p00130/input.0.txt
@@ -0,0 +1,3 @@
+4
+a->e->c->b->d
+b
diff --git a/public_test_cases/p00130/input.1.txt b/public_test_cases/p00130/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9341de025d8a34012d3b790256e21d9737f3bad1
--- /dev/null
+++ b/public_test_cases/p00130/input.1.txt
@@ -0,0 +1,3 @@
+4
+a->e->c->b->d
+b
diff --git a/public_test_cases/p00130/input.2.txt b/public_test_cases/p00130/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50a5e18fe920afd15f94b070efa5dad176b61c02
--- /dev/null
+++ b/public_test_cases/p00130/input.2.txt
@@ -0,0 +1,5 @@
+4
+a->e->c->b->d
+b<-c<-a<-d<-e
+b->a->c<-a->c->d<-c<-a<-b->a->c->d->e<-d
+a->e<-a<-d->a->e<-a<-d<-c->d->a<-d<-c<-b->c->d<-c
diff --git a/public_test_cases/p00130/output.0.txt b/public_test_cases/p00130/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7014cb85a8148ea6bbe74867915744a2ec3cb56b
--- /dev/null
+++ b/public_test_cases/p00130/output.0.txt
@@ -0,0 +1,4 @@
+aecbd
+edacb
+bacde
+bcdae
diff --git a/public_test_cases/p00130/output.1.txt b/public_test_cases/p00130/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7014cb85a8148ea6bbe74867915744a2ec3cb56b
--- /dev/null
+++ b/public_test_cases/p00130/output.1.txt
@@ -0,0 +1,4 @@
+aecbd
+edacb
+bacde
+bcdae
diff --git a/public_test_cases/p00130/output.2.txt b/public_test_cases/p00130/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7014cb85a8148ea6bbe74867915744a2ec3cb56b
--- /dev/null
+++ b/public_test_cases/p00130/output.2.txt
@@ -0,0 +1,4 @@
+aecbd
+edacb
+bacde
+bcdae
diff --git a/public_test_cases/p00131/input.0.txt b/public_test_cases/p00131/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b507d5e035dfe2a06827e67b60d5f5659fa798de
--- /dev/null
+++ b/public_test_cases/p00131/input.0.txt
@@ -0,0 +1,11 @@
+1
+0 1 0 0 0 0 0 0 0 0
+1 1 1 0 0 0 0 0 0 0
+0 1 0 0 0 0 0 0 0 0
+0 0 0 0 1 1 0 0 0 0
+0 0 0 1 0 0 1 0 0 0
+0 0 0 0 1 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 0
+0 0 0 0 0 0 0 1 1 1
+0 0 0 0 0 0 0 0 1 0
diff --git a/public_test_cases/p00131/input.1.txt b/public_test_cases/p00131/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b507d5e035dfe2a06827e67b60d5f5659fa798de
--- /dev/null
+++ b/public_test_cases/p00131/input.1.txt
@@ -0,0 +1,11 @@
+1
+0 1 0 0 0 0 0 0 0 0
+1 1 1 0 0 0 0 0 0 0
+0 1 0 0 0 0 0 0 0 0
+0 0 0 0 1 1 0 0 0 0
+0 0 0 1 0 0 1 0 0 0
+0 0 0 0 1 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 0
+0 0 0 0 0 0 0 1 1 1
+0 0 0 0 0 0 0 0 1 0
diff --git a/public_test_cases/p00131/output.0.txt b/public_test_cases/p00131/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2858774b14e7021caf408fe6471391fccc39ce8
--- /dev/null
+++ b/public_test_cases/p00131/output.0.txt
@@ -0,0 +1,10 @@
+0 0 0 0 0 0 0 0 0 0
+0 1 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 1 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 0
+0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p00131/output.1.txt b/public_test_cases/p00131/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2858774b14e7021caf408fe6471391fccc39ce8
--- /dev/null
+++ b/public_test_cases/p00131/output.1.txt
@@ -0,0 +1,10 @@
+0 0 0 0 0 0 0 0 0 0
+0 1 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 1 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 0
+0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p00132/input.0.txt b/public_test_cases/p00132/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59790341e0650abc0ea39cdec27f0058841f2a27
--- /dev/null
+++ b/public_test_cases/p00132/input.0.txt
@@ -0,0 +1,81 @@
+14 20
+####################
+###.............####
+####..........######
+#######.....########
+########.....#######
+###..###......######
+###..####......#####
+#########......#####
+###########.....####
+############.....###
+###.########......##
+###.#######...###.##
+##...###....#####.##
+####################
+10
+12 15
+#############..
+.##########....
+....#####......
+.....#####.....
+.....######....
+......######...
+......######...
+........#####..
+.........#####.
+.........######
+........###...#
+.....####.....#
+3 3
+#..
+###
+#..
+2 2
+##
+##
+4 10
+....#####.
+....######
+...###...#
+####.....#
+6 5
+....#
+..###
+#####
+##.##
+#..##
+#..#.
+6 4
+...#
+.###
+####
+##.#
+##.#
+#...
+2 6
+######
+.#####
+2 7
+..#####
+#######
+2 13
+#############
+.##########..
+6 9
+#####....
+.######..
+.######..
+..######.
+...#####.
+....#####
+8
+3 1 2 3
+4 1 2 3 4
+7 2 3 4 5 6 7 8
+5 2 3 10 7 8
+6 2 3 9 5 6 4
+8 2 3 4 6 9 5 4 10
+4 4 5 6 9
+5 10 2 3 4 9
+0 0
diff --git a/public_test_cases/p00132/input.1.txt b/public_test_cases/p00132/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59790341e0650abc0ea39cdec27f0058841f2a27
--- /dev/null
+++ b/public_test_cases/p00132/input.1.txt
@@ -0,0 +1,81 @@
+14 20
+####################
+###.............####
+####..........######
+#######.....########
+########.....#######
+###..###......######
+###..####......#####
+#########......#####
+###########.....####
+############.....###
+###.########......##
+###.#######...###.##
+##...###....#####.##
+####################
+10
+12 15
+#############..
+.##########....
+....#####......
+.....#####.....
+.....######....
+......######...
+......######...
+........#####..
+.........#####.
+.........######
+........###...#
+.....####.....#
+3 3
+#..
+###
+#..
+2 2
+##
+##
+4 10
+....#####.
+....######
+...###...#
+####.....#
+6 5
+....#
+..###
+#####
+##.##
+#..##
+#..#.
+6 4
+...#
+.###
+####
+##.#
+##.#
+#...
+2 6
+######
+.#####
+2 7
+..#####
+#######
+2 13
+#############
+.##########..
+6 9
+#####....
+.######..
+.######..
+..######.
+...#####.
+....#####
+8
+3 1 2 3
+4 1 2 3 4
+7 2 3 4 5 6 7 8
+5 2 3 10 7 8
+6 2 3 9 5 6 4
+8 2 3 4 6 9 5 4 10
+4 4 5 6 9
+5 10 2 3 4 9
+0 0
diff --git a/public_test_cases/p00132/output.0.txt b/public_test_cases/p00132/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df03a04834b3f0f081056b34e6c2fa1534e2cc47
--- /dev/null
+++ b/public_test_cases/p00132/output.0.txt
@@ -0,0 +1,8 @@
+YES
+NO
+YES
+NO
+YES
+NO
+NO
+YES
diff --git a/public_test_cases/p00132/output.1.txt b/public_test_cases/p00132/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df03a04834b3f0f081056b34e6c2fa1534e2cc47
--- /dev/null
+++ b/public_test_cases/p00132/output.1.txt
@@ -0,0 +1,8 @@
+YES
+NO
+YES
+NO
+YES
+NO
+NO
+YES
diff --git a/public_test_cases/p00133/input.0.txt b/public_test_cases/p00133/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d109c98a3cab1aadf0bbb75cf6178a8b967001d8
--- /dev/null
+++ b/public_test_cases/p00133/input.0.txt
@@ -0,0 +1,8 @@
+#*******
+#*******
+#*******
+#*******
+#*******
+#*******
+#*******
+########
diff --git a/public_test_cases/p00133/input.1.txt b/public_test_cases/p00133/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d109c98a3cab1aadf0bbb75cf6178a8b967001d8
--- /dev/null
+++ b/public_test_cases/p00133/input.1.txt
@@ -0,0 +1,8 @@
+#*******
+#*******
+#*******
+#*******
+#*******
+#*******
+#*******
+########
diff --git a/public_test_cases/p00133/input.2.txt b/public_test_cases/p00133/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43e9e0249325c5bfd01ae6ce994ac10d8ab6288b
--- /dev/null
+++ b/public_test_cases/p00133/input.2.txt
@@ -0,0 +1,7 @@
+*******
+*******
+*******
+*******
+*******
+*******
+*******
diff --git a/public_test_cases/p00133/output.0.txt b/public_test_cases/p00133/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e073d8f2bb92c1f0af4eb18231e9ab23d04ded8
--- /dev/null
+++ b/public_test_cases/p00133/output.0.txt
@@ -0,0 +1,27 @@
+90
+########
+#*******
+#*******
+#*******
+#*******
+#*******
+#*******
+#*******
+180
+########
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+270
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+########
diff --git a/public_test_cases/p00133/output.1.txt b/public_test_cases/p00133/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e073d8f2bb92c1f0af4eb18231e9ab23d04ded8
--- /dev/null
+++ b/public_test_cases/p00133/output.1.txt
@@ -0,0 +1,27 @@
+90
+########
+#*******
+#*******
+#*******
+#*******
+#*******
+#*******
+#*******
+180
+########
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+270
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+########
diff --git a/public_test_cases/p00133/output.2.txt b/public_test_cases/p00133/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7f5a117d71ac226ca4f6eeb561b87cfb4c27d8d
--- /dev/null
+++ b/public_test_cases/p00133/output.2.txt
@@ -0,0 +1,26 @@
+90
+
+*******
+*******
+*******
+*******
+*******
+*******
+*******
+180
+
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+270
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
+*******#
diff --git a/public_test_cases/p00134/input.0.txt b/public_test_cases/p00134/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70854f3a0050b742df73c360352a5fbcce9f9b49
--- /dev/null
+++ b/public_test_cases/p00134/input.0.txt
@@ -0,0 +1,7 @@
+6
+12300
+5600
+33800
+0
+26495
+52000
diff --git a/public_test_cases/p00134/input.1.txt b/public_test_cases/p00134/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70854f3a0050b742df73c360352a5fbcce9f9b49
--- /dev/null
+++ b/public_test_cases/p00134/input.1.txt
@@ -0,0 +1,7 @@
+6
+12300
+5600
+33800
+0
+26495
+52000
diff --git a/public_test_cases/p00134/output.0.txt b/public_test_cases/p00134/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..671c144ae456b8673683c0b1ea04e75f20c926b9
--- /dev/null
+++ b/public_test_cases/p00134/output.0.txt
@@ -0,0 +1 @@
+21699
diff --git a/public_test_cases/p00134/output.1.txt b/public_test_cases/p00134/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..671c144ae456b8673683c0b1ea04e75f20c926b9
--- /dev/null
+++ b/public_test_cases/p00134/output.1.txt
@@ -0,0 +1 @@
+21699
diff --git a/public_test_cases/p00135/input.0.txt b/public_test_cases/p00135/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68f3d5a61ff248b9b5273a1af8bd6f2cb2fce3e8
--- /dev/null
+++ b/public_test_cases/p00135/input.0.txt
@@ -0,0 +1,5 @@
+4
+02:15
+06:01
+11:55
+10:40
diff --git a/public_test_cases/p00135/input.1.txt b/public_test_cases/p00135/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68f3d5a61ff248b9b5273a1af8bd6f2cb2fce3e8
--- /dev/null
+++ b/public_test_cases/p00135/input.1.txt
@@ -0,0 +1,5 @@
+4
+02:15
+06:01
+11:55
+10:40
diff --git a/public_test_cases/p00135/output.0.txt b/public_test_cases/p00135/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae5b48d3503c781acdf6aa80aed0d2759a098ec0
--- /dev/null
+++ b/public_test_cases/p00135/output.0.txt
@@ -0,0 +1,4 @@
+alert
+safe
+alert
+warning
diff --git a/public_test_cases/p00135/output.1.txt b/public_test_cases/p00135/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae5b48d3503c781acdf6aa80aed0d2759a098ec0
--- /dev/null
+++ b/public_test_cases/p00135/output.1.txt
@@ -0,0 +1,4 @@
+alert
+safe
+alert
+warning
diff --git a/public_test_cases/p00136/input.0.txt b/public_test_cases/p00136/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58bf7e26ec6d0e6438e65e309fc8e0cd6f882dbf
--- /dev/null
+++ b/public_test_cases/p00136/input.0.txt
@@ -0,0 +1,5 @@
+4
+180.3
+168.2
+165.5
+175.3
diff --git a/public_test_cases/p00136/input.1.txt b/public_test_cases/p00136/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58bf7e26ec6d0e6438e65e309fc8e0cd6f882dbf
--- /dev/null
+++ b/public_test_cases/p00136/input.1.txt
@@ -0,0 +1,5 @@
+4
+180.3
+168.2
+165.5
+175.3
diff --git a/public_test_cases/p00136/input.2.txt b/public_test_cases/p00136/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c69c5ea165c19dd8d783612487bc60f9066dc6ad
--- /dev/null
+++ b/public_test_cases/p00136/input.2.txt
@@ -0,0 +1,22 @@
+21
+179.4
+171.5
+156.6
+173.0
+169.4
+181.2
+172.4
+170.0
+163.6
+165.9
+173.5
+168.2
+162.5
+172.0
+175.1
+172.3
+167.5
+175.9
+186.2
+168.0
+178.6
diff --git a/public_test_cases/p00136/output.0.txt b/public_test_cases/p00136/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6819911f0050b23b849faa74c4139937e5f28e98
--- /dev/null
+++ b/public_test_cases/p00136/output.0.txt
@@ -0,0 +1,6 @@
+1:
+2:**
+3:
+4:*
+5:*
+6:
diff --git a/public_test_cases/p00136/output.1.txt b/public_test_cases/p00136/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6819911f0050b23b849faa74c4139937e5f28e98
--- /dev/null
+++ b/public_test_cases/p00136/output.1.txt
@@ -0,0 +1,6 @@
+1:
+2:**
+3:
+4:*
+5:*
+6:
diff --git a/public_test_cases/p00136/output.2.txt b/public_test_cases/p00136/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba1cef71bc2fddad7debf24a8c2fb2f68eadf0d7
--- /dev/null
+++ b/public_test_cases/p00136/output.2.txt
@@ -0,0 +1,6 @@
+1:***
+2:*****
+3:*******
+4:****
+5:*
+6:*
diff --git a/public_test_cases/p00137/input.0.txt b/public_test_cases/p00137/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02d9e123b3f47412be611893b9056c4a811341d9
--- /dev/null
+++ b/public_test_cases/p00137/input.0.txt
@@ -0,0 +1,3 @@
+2
+123
+567
diff --git a/public_test_cases/p00137/input.1.txt b/public_test_cases/p00137/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02d9e123b3f47412be611893b9056c4a811341d9
--- /dev/null
+++ b/public_test_cases/p00137/input.1.txt
@@ -0,0 +1,3 @@
+2
+123
+567
diff --git a/public_test_cases/p00137/output.0.txt b/public_test_cases/p00137/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9328c5fc7378c2f38cd110eeb4d21d5de7a6b6aa
--- /dev/null
+++ b/public_test_cases/p00137/output.0.txt
@@ -0,0 +1,22 @@
+Case 1:
+151
+228
+519
+2693
+2522
+3604
+9888
+7725
+6756
+6435
+Case 2:
+3214
+3297
+8702
+7248
+5335
+4622
+3628
+1623
+6341
+2082
diff --git a/public_test_cases/p00137/output.1.txt b/public_test_cases/p00137/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9328c5fc7378c2f38cd110eeb4d21d5de7a6b6aa
--- /dev/null
+++ b/public_test_cases/p00137/output.1.txt
@@ -0,0 +1,22 @@
+Case 1:
+151
+228
+519
+2693
+2522
+3604
+9888
+7725
+6756
+6435
+Case 2:
+3214
+3297
+8702
+7248
+5335
+4622
+3628
+1623
+6341
+2082
diff --git a/public_test_cases/p00138/input.0.txt b/public_test_cases/p00138/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb19b1fe9bcac7d6669e3e574aa8ad7728bb4840
--- /dev/null
+++ b/public_test_cases/p00138/input.0.txt
@@ -0,0 +1,24 @@
+18 25.46
+16 26.23
+3 23.00
+10 24.79
+5 22.88
+11 23.87
+19 23.90
+1 25.11
+23 23.88
+4 23.46
+7 24.12
+12 22.91
+13 21.99
+14 22.86
+21 23.12
+9 24.09
+17 22.51
+22 23.49
+6 23.02
+20 22.23
+24 21.89
+15 24.14
+8 23.77
+2 23.42
diff --git a/public_test_cases/p00138/input.1.txt b/public_test_cases/p00138/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb19b1fe9bcac7d6669e3e574aa8ad7728bb4840
--- /dev/null
+++ b/public_test_cases/p00138/input.1.txt
@@ -0,0 +1,24 @@
+18 25.46
+16 26.23
+3 23.00
+10 24.79
+5 22.88
+11 23.87
+19 23.90
+1 25.11
+23 23.88
+4 23.46
+7 24.12
+12 22.91
+13 21.99
+14 22.86
+21 23.12
+9 24.09
+17 22.51
+22 23.49
+6 23.02
+20 22.23
+24 21.89
+15 24.14
+8 23.77
+2 23.42
diff --git a/public_test_cases/p00138/output.0.txt b/public_test_cases/p00138/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f170b19dce999ba77e3986f6ae6ca3498a0389cd
--- /dev/null
+++ b/public_test_cases/p00138/output.0.txt
@@ -0,0 +1,8 @@
+5 22.88
+3 23.00
+13 21.99
+14 22.86
+24 21.89
+20 22.23
+17 22.51
+12 22.91
diff --git a/public_test_cases/p00138/output.1.txt b/public_test_cases/p00138/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f170b19dce999ba77e3986f6ae6ca3498a0389cd
--- /dev/null
+++ b/public_test_cases/p00138/output.1.txt
@@ -0,0 +1,8 @@
+5 22.88
+3 23.00
+13 21.99
+14 22.86
+24 21.89
+20 22.23
+17 22.51
+12 22.91
diff --git a/public_test_cases/p00139/input.0.txt b/public_test_cases/p00139/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1767deb1954b220fb4cb58256f9543bc415c0aff
--- /dev/null
+++ b/public_test_cases/p00139/input.0.txt
@@ -0,0 +1,4 @@
+3
+>'======#======~
+>^Q=Q=Q=Q=Q=Q=Q=Q=Q=~~
+>'===#====~
diff --git a/public_test_cases/p00139/input.1.txt b/public_test_cases/p00139/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1767deb1954b220fb4cb58256f9543bc415c0aff
--- /dev/null
+++ b/public_test_cases/p00139/input.1.txt
@@ -0,0 +1,4 @@
+3
+>'======#======~
+>^Q=Q=Q=Q=Q=Q=Q=Q=Q=~~
+>'===#====~
diff --git a/public_test_cases/p00139/output.0.txt b/public_test_cases/p00139/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cca459d631058776081d99b03aabf6f0af69e0a
--- /dev/null
+++ b/public_test_cases/p00139/output.0.txt
@@ -0,0 +1,3 @@
+A
+B
+NA
diff --git a/public_test_cases/p00139/output.1.txt b/public_test_cases/p00139/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cca459d631058776081d99b03aabf6f0af69e0a
--- /dev/null
+++ b/public_test_cases/p00139/output.1.txt
@@ -0,0 +1,3 @@
+A
+B
+NA
diff --git a/public_test_cases/p00140/input.0.txt b/public_test_cases/p00140/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..968326ef26050b27ac5f6b7d27248b609e1e550f
--- /dev/null
+++ b/public_test_cases/p00140/input.0.txt
@@ -0,0 +1,3 @@
+2
+2 4
+4 2
diff --git a/public_test_cases/p00140/input.1.txt b/public_test_cases/p00140/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..968326ef26050b27ac5f6b7d27248b609e1e550f
--- /dev/null
+++ b/public_test_cases/p00140/input.1.txt
@@ -0,0 +1,3 @@
+2
+2 4
+4 2
diff --git a/public_test_cases/p00140/output.0.txt b/public_test_cases/p00140/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb83bdd8a555585781250f8dbea35b4c42b9f95b
--- /dev/null
+++ b/public_test_cases/p00140/output.0.txt
@@ -0,0 +1,2 @@
+2 3 4
+4 3 2
diff --git a/public_test_cases/p00140/output.1.txt b/public_test_cases/p00140/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb83bdd8a555585781250f8dbea35b4c42b9f95b
--- /dev/null
+++ b/public_test_cases/p00140/output.1.txt
@@ -0,0 +1,2 @@
+2 3 4
+4 3 2
diff --git a/public_test_cases/p00141/input.0.txt b/public_test_cases/p00141/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c17eb53f3028550b87538aa285e69e21ef919fb9
--- /dev/null
+++ b/public_test_cases/p00141/input.0.txt
@@ -0,0 +1,3 @@
+2
+5
+6
diff --git a/public_test_cases/p00141/input.1.txt b/public_test_cases/p00141/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c17eb53f3028550b87538aa285e69e21ef919fb9
--- /dev/null
+++ b/public_test_cases/p00141/input.1.txt
@@ -0,0 +1,3 @@
+2
+5
+6
diff --git a/public_test_cases/p00141/output.0.txt b/public_test_cases/p00141/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..114ca0a1a5de73952bd16cd7a418b84b4891d610
--- /dev/null
+++ b/public_test_cases/p00141/output.0.txt
@@ -0,0 +1,12 @@
+#####
+# #
+# # #
+# # #
+# ###
+
+######
+# #
+# ## #
+# # #
+# # #
+# ####
diff --git a/public_test_cases/p00141/output.1.txt b/public_test_cases/p00141/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..114ca0a1a5de73952bd16cd7a418b84b4891d610
--- /dev/null
+++ b/public_test_cases/p00141/output.1.txt
@@ -0,0 +1,12 @@
+#####
+# #
+# # #
+# # #
+# ###
+
+######
+# #
+# ## #
+# # #
+# # #
+# ####
diff --git a/public_test_cases/p00142/input.0.txt b/public_test_cases/p00142/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5141e50d6d08647d548af4736b217adc112edcaf
--- /dev/null
+++ b/public_test_cases/p00142/input.0.txt
@@ -0,0 +1,3 @@
+11
+15
+0
diff --git a/public_test_cases/p00142/input.1.txt b/public_test_cases/p00142/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5141e50d6d08647d548af4736b217adc112edcaf
--- /dev/null
+++ b/public_test_cases/p00142/input.1.txt
@@ -0,0 +1,3 @@
+11
+15
+0
diff --git a/public_test_cases/p00142/output.0.txt b/public_test_cases/p00142/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56e5ff57950bbf53b791a708f6e2ae8e0ced48e2
--- /dev/null
+++ b/public_test_cases/p00142/output.0.txt
@@ -0,0 +1,12 @@
+4
+4
+4
+4
+4
+2
+2
+4
+2
+4
+4
+2
diff --git a/public_test_cases/p00142/output.1.txt b/public_test_cases/p00142/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56e5ff57950bbf53b791a708f6e2ae8e0ced48e2
--- /dev/null
+++ b/public_test_cases/p00142/output.1.txt
@@ -0,0 +1,12 @@
+4
+4
+4
+4
+4
+2
+2
+4
+2
+4
+4
+2
diff --git a/public_test_cases/p00143/input.0.txt b/public_test_cases/p00143/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0c6f9dcfa7d9b4a7bb6902cd81c579332e86c9d
--- /dev/null
+++ b/public_test_cases/p00143/input.0.txt
@@ -0,0 +1,6 @@
+5
+2 5 9 2 8 9 2 11 6 5
+2 5 9 2 8 9 2 11 12 6
+2 5 9 2 8 9 2 11 11 9
+14 1 25 7 17 12 17 9 20 5
+14 1 25 7 17 12 22 13 20 5
diff --git a/public_test_cases/p00143/input.1.txt b/public_test_cases/p00143/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0c6f9dcfa7d9b4a7bb6902cd81c579332e86c9d
--- /dev/null
+++ b/public_test_cases/p00143/input.1.txt
@@ -0,0 +1,6 @@
+5
+2 5 9 2 8 9 2 11 6 5
+2 5 9 2 8 9 2 11 12 6
+2 5 9 2 8 9 2 11 11 9
+14 1 25 7 17 12 17 9 20 5
+14 1 25 7 17 12 22 13 20 5
diff --git a/public_test_cases/p00143/output.0.txt b/public_test_cases/p00143/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4b45a227229cb6b22dd6df1c0e66f9bac93fd48
--- /dev/null
+++ b/public_test_cases/p00143/output.0.txt
@@ -0,0 +1,5 @@
+OK
+NG
+NG
+NG
+OK
diff --git a/public_test_cases/p00143/output.1.txt b/public_test_cases/p00143/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4b45a227229cb6b22dd6df1c0e66f9bac93fd48
--- /dev/null
+++ b/public_test_cases/p00143/output.1.txt
@@ -0,0 +1,5 @@
+OK
+NG
+NG
+NG
+OK
diff --git a/public_test_cases/p00144/input.0.txt b/public_test_cases/p00144/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a0200dff3c1b06e75ca8280cc8c5df1230921a9
--- /dev/null
+++ b/public_test_cases/p00144/input.0.txt
@@ -0,0 +1,15 @@
+7
+1 4 2 5 4 3
+2 1 5
+3 1 6
+4 1 7
+5 2 7 6
+6 1 1
+7 0
+6
+1 2 2
+1 5 3
+1 2 1
+5 1 3
+6 3 3
+1 7 4
diff --git a/public_test_cases/p00144/input.1.txt b/public_test_cases/p00144/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a0200dff3c1b06e75ca8280cc8c5df1230921a9
--- /dev/null
+++ b/public_test_cases/p00144/input.1.txt
@@ -0,0 +1,15 @@
+7
+1 4 2 5 4 3
+2 1 5
+3 1 6
+4 1 7
+5 2 7 6
+6 1 1
+7 0
+6
+1 2 2
+1 5 3
+1 2 1
+5 1 3
+6 3 3
+1 7 4
diff --git a/public_test_cases/p00144/output.0.txt b/public_test_cases/p00144/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..257da25b0f642d1ab2ff25ed86b6cd75d1e4b770
--- /dev/null
+++ b/public_test_cases/p00144/output.0.txt
@@ -0,0 +1,6 @@
+2
+2
+NA
+3
+3
+3
diff --git a/public_test_cases/p00144/output.1.txt b/public_test_cases/p00144/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..257da25b0f642d1ab2ff25ed86b6cd75d1e4b770
--- /dev/null
+++ b/public_test_cases/p00144/output.1.txt
@@ -0,0 +1,6 @@
+2
+2
+NA
+3
+3
+3
diff --git a/public_test_cases/p00145/input.0.txt b/public_test_cases/p00145/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af93791de193319977ef3ad3aa130d9953ad2faf
--- /dev/null
+++ b/public_test_cases/p00145/input.0.txt
@@ -0,0 +1,4 @@
+3
+3 5
+2 8
+5 4
diff --git a/public_test_cases/p00145/input.1.txt b/public_test_cases/p00145/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af93791de193319977ef3ad3aa130d9953ad2faf
--- /dev/null
+++ b/public_test_cases/p00145/input.1.txt
@@ -0,0 +1,4 @@
+3
+3 5
+2 8
+5 4
diff --git a/public_test_cases/p00145/output.0.txt b/public_test_cases/p00145/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..534a21edd7244e9db55d46372c9665683c036a5d
--- /dev/null
+++ b/public_test_cases/p00145/output.0.txt
@@ -0,0 +1 @@
+440
diff --git a/public_test_cases/p00145/output.1.txt b/public_test_cases/p00145/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..534a21edd7244e9db55d46372c9665683c036a5d
--- /dev/null
+++ b/public_test_cases/p00145/output.1.txt
@@ -0,0 +1 @@
+440
diff --git a/public_test_cases/p00146/input.0.txt b/public_test_cases/p00146/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7904858d9f9f9a7e77e5218faefbf7e595a9363
--- /dev/null
+++ b/public_test_cases/p00146/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 100 1
+2 200 2
diff --git a/public_test_cases/p00146/input.1.txt b/public_test_cases/p00146/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d9b15673ac60f9c705cc7d04d054d55f94fc6e9
--- /dev/null
+++ b/public_test_cases/p00146/input.1.txt
@@ -0,0 +1,6 @@
+5
+13 199 1
+51 1000 1
+37 350 10
+27 300 2
+99 200 1000
diff --git a/public_test_cases/p00146/input.2.txt b/public_test_cases/p00146/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc105963476a85eb4bd511b1c271e2b2deb63a5d
--- /dev/null
+++ b/public_test_cases/p00146/input.2.txt
@@ -0,0 +1,4 @@
+3
+11 100 1
+13 200 20
+12 300 3
diff --git a/public_test_cases/p00146/input.3.txt b/public_test_cases/p00146/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7904858d9f9f9a7e77e5218faefbf7e595a9363
--- /dev/null
+++ b/public_test_cases/p00146/input.3.txt
@@ -0,0 +1,3 @@
+2
+1 100 1
+2 200 2
diff --git a/public_test_cases/p00146/output.0.txt b/public_test_cases/p00146/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p00146/output.0.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p00146/output.1.txt b/public_test_cases/p00146/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95cedd90ca4e5ec099ef847e3669f3a0d09a1ae2
--- /dev/null
+++ b/public_test_cases/p00146/output.1.txt
@@ -0,0 +1 @@
+51 37 27 13 99
diff --git a/public_test_cases/p00146/output.2.txt b/public_test_cases/p00146/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db498d87f01a41305c3814b92177bf2f6148de4a
--- /dev/null
+++ b/public_test_cases/p00146/output.2.txt
@@ -0,0 +1 @@
+11 12 13
diff --git a/public_test_cases/p00146/output.3.txt b/public_test_cases/p00146/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p00146/output.3.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p00147/input.0.txt b/public_test_cases/p00147/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aac70f843f29afb5bee93055fa1862bf07f7932
--- /dev/null
+++ b/public_test_cases/p00147/input.0.txt
@@ -0,0 +1,4 @@
+5
+6
+7
+8
diff --git a/public_test_cases/p00147/input.1.txt b/public_test_cases/p00147/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aac70f843f29afb5bee93055fa1862bf07f7932
--- /dev/null
+++ b/public_test_cases/p00147/input.1.txt
@@ -0,0 +1,4 @@
+5
+6
+7
+8
diff --git a/public_test_cases/p00147/output.0.txt b/public_test_cases/p00147/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34db05453309ab4042390ca95e25e4dedc5126ff
--- /dev/null
+++ b/public_test_cases/p00147/output.0.txt
@@ -0,0 +1,4 @@
+0
+14
+9
+4
diff --git a/public_test_cases/p00147/output.1.txt b/public_test_cases/p00147/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34db05453309ab4042390ca95e25e4dedc5126ff
--- /dev/null
+++ b/public_test_cases/p00147/output.1.txt
@@ -0,0 +1,4 @@
+0
+14
+9
+4
diff --git a/public_test_cases/p00148/input.0.txt b/public_test_cases/p00148/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09ab401c5bd31bbb49dd546f8876c25c33999bf6
--- /dev/null
+++ b/public_test_cases/p00148/input.0.txt
@@ -0,0 +1,4 @@
+50
+5576
+5577
+5578
diff --git a/public_test_cases/p00148/input.1.txt b/public_test_cases/p00148/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09ab401c5bd31bbb49dd546f8876c25c33999bf6
--- /dev/null
+++ b/public_test_cases/p00148/input.1.txt
@@ -0,0 +1,4 @@
+50
+5576
+5577
+5578
diff --git a/public_test_cases/p00148/output.0.txt b/public_test_cases/p00148/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1ecad803f8ee2973515bc0d39b29c4162b92f79
--- /dev/null
+++ b/public_test_cases/p00148/output.0.txt
@@ -0,0 +1,4 @@
+3C11
+3C38
+3C39
+3C01
diff --git a/public_test_cases/p00148/output.1.txt b/public_test_cases/p00148/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1ecad803f8ee2973515bc0d39b29c4162b92f79
--- /dev/null
+++ b/public_test_cases/p00148/output.1.txt
@@ -0,0 +1,4 @@
+3C11
+3C38
+3C39
+3C01
diff --git a/public_test_cases/p00149/input.0.txt b/public_test_cases/p00149/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a5f01a52ca31520a4a510d24efbcfa371bb6839
--- /dev/null
+++ b/public_test_cases/p00149/input.0.txt
@@ -0,0 +1,4 @@
+1.0 1.2
+0.8 1.5
+1.2 0.7
+2.0 2.0
diff --git a/public_test_cases/p00149/input.1.txt b/public_test_cases/p00149/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a5f01a52ca31520a4a510d24efbcfa371bb6839
--- /dev/null
+++ b/public_test_cases/p00149/input.1.txt
@@ -0,0 +1,4 @@
+1.0 1.2
+0.8 1.5
+1.2 0.7
+2.0 2.0
diff --git a/public_test_cases/p00149/output.0.txt b/public_test_cases/p00149/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d09c80f5c283a446c6b36475a2385baa08fa65c
--- /dev/null
+++ b/public_test_cases/p00149/output.0.txt
@@ -0,0 +1,4 @@
+2 3
+2 1
+0 0
+0 0
diff --git a/public_test_cases/p00149/output.1.txt b/public_test_cases/p00149/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d09c80f5c283a446c6b36475a2385baa08fa65c
--- /dev/null
+++ b/public_test_cases/p00149/output.1.txt
@@ -0,0 +1,4 @@
+2 3
+2 1
+0 0
+0 0
diff --git a/public_test_cases/p00150/input.0.txt b/public_test_cases/p00150/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c26dc5224b54873161167d654ea8d9a9b820df
--- /dev/null
+++ b/public_test_cases/p00150/input.0.txt
@@ -0,0 +1,5 @@
+12
+100
+200
+300
+0
diff --git a/public_test_cases/p00150/input.1.txt b/public_test_cases/p00150/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c26dc5224b54873161167d654ea8d9a9b820df
--- /dev/null
+++ b/public_test_cases/p00150/input.1.txt
@@ -0,0 +1,5 @@
+12
+100
+200
+300
+0
diff --git a/public_test_cases/p00150/output.0.txt b/public_test_cases/p00150/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..400bf8b9171154bd6badb2d1bf534d42eb236fbc
--- /dev/null
+++ b/public_test_cases/p00150/output.0.txt
@@ -0,0 +1,4 @@
+5 7
+71 73
+197 199
+281 283
diff --git a/public_test_cases/p00150/output.1.txt b/public_test_cases/p00150/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..400bf8b9171154bd6badb2d1bf534d42eb236fbc
--- /dev/null
+++ b/public_test_cases/p00150/output.1.txt
@@ -0,0 +1,4 @@
+5 7
+71 73
+197 199
+281 283
diff --git a/public_test_cases/p00151/input.0.txt b/public_test_cases/p00151/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d4ee996c2582dd5bf540dcd3488114061c96ccc
--- /dev/null
+++ b/public_test_cases/p00151/input.0.txt
@@ -0,0 +1,23 @@
+5
+00011
+00101
+01000
+10101
+00010
+8
+11000001
+10110111
+01100111
+01111010
+11111111
+01011010
+10100010
+10000001
+2
+01
+00
+3
+000
+000
+000
+0
diff --git a/public_test_cases/p00151/input.1.txt b/public_test_cases/p00151/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d4ee996c2582dd5bf540dcd3488114061c96ccc
--- /dev/null
+++ b/public_test_cases/p00151/input.1.txt
@@ -0,0 +1,23 @@
+5
+00011
+00101
+01000
+10101
+00010
+8
+11000001
+10110111
+01100111
+01111010
+11111111
+01011010
+10100010
+10000001
+2
+01
+00
+3
+000
+000
+000
+0
diff --git a/public_test_cases/p00151/output.0.txt b/public_test_cases/p00151/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc87b6ddf872d6bb980f98506535358e88ed3243
--- /dev/null
+++ b/public_test_cases/p00151/output.0.txt
@@ -0,0 +1,4 @@
+4
+8
+1
+0
diff --git a/public_test_cases/p00151/output.1.txt b/public_test_cases/p00151/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc87b6ddf872d6bb980f98506535358e88ed3243
--- /dev/null
+++ b/public_test_cases/p00151/output.1.txt
@@ -0,0 +1,4 @@
+4
+8
+1
+0
diff --git a/public_test_cases/p00152/input.0.txt b/public_test_cases/p00152/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3960246717fd6f8333a0aac550d08eb93d2d7b5f
--- /dev/null
+++ b/public_test_cases/p00152/input.0.txt
@@ -0,0 +1,10 @@
+3
+1010 6 3 10 7 1 0 7 9 1 10 6 2 4 3 9 1 9 0
+1200 5 3 9 1 7 1 0 0 8 1 10 10 4 3 9 1 8 2 9
+1101 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
+4
+3321 8 2 10 9 1 7 0 10 10 10 0 8 10 10 10 10
+3332 5 0 10 9 1 4 1 9 0 10 10 7 1 5 2 8 1
+3335 10 10 10 10 10 10 10 10 10 10 10 10
+3340 8 2 7 3 6 4 8 2 8 2 9 1 7 3 6 4 8 2 9 1 7
+0
diff --git a/public_test_cases/p00152/input.1.txt b/public_test_cases/p00152/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3960246717fd6f8333a0aac550d08eb93d2d7b5f
--- /dev/null
+++ b/public_test_cases/p00152/input.1.txt
@@ -0,0 +1,10 @@
+3
+1010 6 3 10 7 1 0 7 9 1 10 6 2 4 3 9 1 9 0
+1200 5 3 9 1 7 1 0 0 8 1 10 10 4 3 9 1 8 2 9
+1101 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
+4
+3321 8 2 10 9 1 7 0 10 10 10 0 8 10 10 10 10
+3332 5 0 10 9 1 4 1 9 0 10 10 7 1 5 2 8 1
+3335 10 10 10 10 10 10 10 10 10 10 10 10
+3340 8 2 7 3 6 4 8 2 8 2 9 1 7 3 6 4 8 2 9 1 7
+0
diff --git a/public_test_cases/p00152/output.0.txt b/public_test_cases/p00152/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97b56297937033c09eef35b8f3bb5e704916a6a4
--- /dev/null
+++ b/public_test_cases/p00152/output.0.txt
@@ -0,0 +1,7 @@
+1200 127
+1010 123
+1101 60
+3335 300
+3321 200
+3340 175
+3332 122
diff --git a/public_test_cases/p00152/output.1.txt b/public_test_cases/p00152/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97b56297937033c09eef35b8f3bb5e704916a6a4
--- /dev/null
+++ b/public_test_cases/p00152/output.1.txt
@@ -0,0 +1,7 @@
+1200 127
+1010 123
+1101 60
+3335 300
+3321 200
+3340 175
+3332 122
diff --git a/public_test_cases/p00153/input.0.txt b/public_test_cases/p00153/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd3bb8d07d39db60e3da4d0b2d555d68ea775b20
--- /dev/null
+++ b/public_test_cases/p00153/input.0.txt
@@ -0,0 +1,21 @@
+1 1
+3 1
+3 3
+3 2
+3
+3 12
+9 3
+11 12
+8 7
+5
+15 3
+17 7
+22 5
+7 6
+4
+6 11
+8 2
+16 9
+10 8
+2
+0 0
diff --git a/public_test_cases/p00153/input.1.txt b/public_test_cases/p00153/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd3bb8d07d39db60e3da4d0b2d555d68ea775b20
--- /dev/null
+++ b/public_test_cases/p00153/input.1.txt
@@ -0,0 +1,21 @@
+1 1
+3 1
+3 3
+3 2
+3
+3 12
+9 3
+11 12
+8 7
+5
+15 3
+17 7
+22 5
+7 6
+4
+6 11
+8 2
+16 9
+10 8
+2
+0 0
diff --git a/public_test_cases/p00153/output.0.txt b/public_test_cases/p00153/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b3bcc2b33023f8bc38297a55466efa12dd111e2
--- /dev/null
+++ b/public_test_cases/p00153/output.0.txt
@@ -0,0 +1,4 @@
+b
+c
+d
+a
diff --git a/public_test_cases/p00153/output.1.txt b/public_test_cases/p00153/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b3bcc2b33023f8bc38297a55466efa12dd111e2
--- /dev/null
+++ b/public_test_cases/p00153/output.1.txt
@@ -0,0 +1,4 @@
+b
+c
+d
+a
diff --git a/public_test_cases/p00154/input.0.txt b/public_test_cases/p00154/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb501695e2f39baf491f91b12407ff67ec3e0b5f
--- /dev/null
+++ b/public_test_cases/p00154/input.0.txt
@@ -0,0 +1,24 @@
+5
+1 10
+5 3
+10 3
+25 2
+50 2
+4
+120
+500
+100
+168
+7
+1 10
+3 10
+5 10
+10 10
+25 10
+50 10
+100 10
+3
+452
+574
+787
+0
diff --git a/public_test_cases/p00154/input.1.txt b/public_test_cases/p00154/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb501695e2f39baf491f91b12407ff67ec3e0b5f
--- /dev/null
+++ b/public_test_cases/p00154/input.1.txt
@@ -0,0 +1,24 @@
+5
+1 10
+5 3
+10 3
+25 2
+50 2
+4
+120
+500
+100
+168
+7
+1 10
+3 10
+5 10
+10 10
+25 10
+50 10
+100 10
+3
+452
+574
+787
+0
diff --git a/public_test_cases/p00154/output.0.txt b/public_test_cases/p00154/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c022a40829c3fcd6edfa76c91fb99977541ec8ad
--- /dev/null
+++ b/public_test_cases/p00154/output.0.txt
@@ -0,0 +1,7 @@
+16
+0
+12
+7
+9789
+13658
+17466
diff --git a/public_test_cases/p00154/output.1.txt b/public_test_cases/p00154/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c022a40829c3fcd6edfa76c91fb99977541ec8ad
--- /dev/null
+++ b/public_test_cases/p00154/output.1.txt
@@ -0,0 +1,7 @@
+16
+0
+12
+7
+9789
+13658
+17466
diff --git a/public_test_cases/p00155/input.0.txt b/public_test_cases/p00155/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e02055591847e3f2f377cfb284b35f952539e6de
--- /dev/null
+++ b/public_test_cases/p00155/input.0.txt
@@ -0,0 +1,34 @@
+4
+1 0 0
+2 30 0
+3 60 40
+4 0 60
+2
+1 3
+1 4
+22
+1 0 0
+2 150 40
+3 30 20
+4 180 150
+5 40 80
+6 130 130
+7 72 28
+8 172 118
+9 50 50
+10 160 82
+11 90 105
+12 144 131
+13 130 64
+14 80 140
+15 38 117
+16 190 90
+17 60 100
+18 100 70
+19 130 100
+20 71 69
+21 200 110
+22 120 150
+1
+1 22
+0
diff --git a/public_test_cases/p00155/input.1.txt b/public_test_cases/p00155/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e02055591847e3f2f377cfb284b35f952539e6de
--- /dev/null
+++ b/public_test_cases/p00155/input.1.txt
@@ -0,0 +1,34 @@
+4
+1 0 0
+2 30 0
+3 60 40
+4 0 60
+2
+1 3
+1 4
+22
+1 0 0
+2 150 40
+3 30 20
+4 180 150
+5 40 80
+6 130 130
+7 72 28
+8 172 118
+9 50 50
+10 160 82
+11 90 105
+12 144 131
+13 130 64
+14 80 140
+15 38 117
+16 190 90
+17 60 100
+18 100 70
+19 130 100
+20 71 69
+21 200 110
+22 120 150
+1
+1 22
+0
diff --git a/public_test_cases/p00155/output.0.txt b/public_test_cases/p00155/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e5f4a669322b5021658fd3e4ac5f925853e9910
--- /dev/null
+++ b/public_test_cases/p00155/output.0.txt
@@ -0,0 +1,3 @@
+1 2 3
+NA
+1 3 9 20 11 6 22
diff --git a/public_test_cases/p00155/output.1.txt b/public_test_cases/p00155/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e5f4a669322b5021658fd3e4ac5f925853e9910
--- /dev/null
+++ b/public_test_cases/p00155/output.1.txt
@@ -0,0 +1,3 @@
+1 2 3
+NA
+1 3 9 20 11 6 22
diff --git a/public_test_cases/p00156/input.0.txt b/public_test_cases/p00156/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78fce1d20ced2f89d2183ea0f2e8c14831b99d38
--- /dev/null
+++ b/public_test_cases/p00156/input.0.txt
@@ -0,0 +1,38 @@
+5 5
+.###.
+#...#
+#.&.#
+#...#
+.###.
+18 15
+..####....####....
+####..####....####
+#...............##
+.#.############.##
+#..#..........#.##
+.#.#.########.#.##
+#..#.#......#.#.##
+.#.#....&...#.#.##
+#..#........#.#.##
+.#.#.########.#.##
+#..#..........#.##
+.#.############.##
+#...............##
+.#################
+##################
+9 10
+#########
+........#
+#######.#
+#.....#.#
+#.###.#.#
+#.#.#.#
+#.#...#.#
+#.#####.#
+#.......#
+#########
+9 3
+###...###
+#.#.&.#.#
+###...###
+0 0
diff --git a/public_test_cases/p00156/input.1.txt b/public_test_cases/p00156/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78fce1d20ced2f89d2183ea0f2e8c14831b99d38
--- /dev/null
+++ b/public_test_cases/p00156/input.1.txt
@@ -0,0 +1,38 @@
+5 5
+.###.
+#...#
+#.&.#
+#...#
+.###.
+18 15
+..####....####....
+####..####....####
+#...............##
+.#.############.##
+#..#..........#.##
+.#.#.########.#.##
+#..#.#......#.#.##
+.#.#....&...#.#.##
+#..#........#.#.##
+.#.#.########.#.##
+#..#..........#.##
+.#.############.##
+#...............##
+.#################
+##################
+9 10
+#########
+........#
+#######.#
+#.....#.#
+#.###.#.#
+#.#.#.#
+#.#...#.#
+#.#####.#
+#.......#
+#########
+9 3
+###...###
+#.#.&.#.#
+###...###
+0 0
diff --git a/public_test_cases/p00156/input.2.txt b/public_test_cases/p00156/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfd0706fbff1922afc554d5bdb4f1eed40e62304
--- /dev/null
+++ b/public_test_cases/p00156/input.2.txt
@@ -0,0 +1,39 @@
+5 5
+.###.
+...#
+.&.#
+...#
+.###.
+18 15
+..####....####....
+..####....####
+...............##
+.#.############.##
+..#..........#.##
+.#.#.########.#.##
+..#.#......#.#.##
+.#.#....&...#.#.##
+..#........#.#.##
+.#.#.########.#.##
+..#..........#.##
+.#.############.##
+...............##
+.#################
+
+9 10
+
+........#
+.#
+.....#.#
+.###.#.#
+.#.#.#
+.#...#.#
+.#####.#
+.......#
+
+9 3
+...###
+.#.&.#.#
+...###
+0 0
+
diff --git a/public_test_cases/p00156/output.0.txt b/public_test_cases/p00156/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccbfdb44910368788c0b36f2b8561732acbcb16e
--- /dev/null
+++ b/public_test_cases/p00156/output.0.txt
@@ -0,0 +1,4 @@
+1
+2
+0
+0
diff --git a/public_test_cases/p00156/output.1.txt b/public_test_cases/p00156/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccbfdb44910368788c0b36f2b8561732acbcb16e
--- /dev/null
+++ b/public_test_cases/p00156/output.1.txt
@@ -0,0 +1,4 @@
+1
+2
+0
+0
diff --git a/public_test_cases/p00156/output.2.txt b/public_test_cases/p00156/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccbfdb44910368788c0b36f2b8561732acbcb16e
--- /dev/null
+++ b/public_test_cases/p00156/output.2.txt
@@ -0,0 +1,4 @@
+1
+2
+0
+0
diff --git a/public_test_cases/p00157/input.0.txt b/public_test_cases/p00157/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82575121d806838bc5529042de18cabe44615f05
--- /dev/null
+++ b/public_test_cases/p00157/input.0.txt
@@ -0,0 +1,33 @@
+6
+1 1
+4 3
+6 5
+8 6
+10 10
+14 14
+5
+2 2
+5 4
+6 6
+9 8
+15 10
+4
+1 1
+4 3
+6 5
+8 6
+3
+2 2
+5 4
+6 6
+4
+1 1
+4 3
+6 5
+8 6
+4
+10 10
+12 11
+18 15
+24 20
+0
diff --git a/public_test_cases/p00157/input.1.txt b/public_test_cases/p00157/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82575121d806838bc5529042de18cabe44615f05
--- /dev/null
+++ b/public_test_cases/p00157/input.1.txt
@@ -0,0 +1,33 @@
+6
+1 1
+4 3
+6 5
+8 6
+10 10
+14 14
+5
+2 2
+5 4
+6 6
+9 8
+15 10
+4
+1 1
+4 3
+6 5
+8 6
+3
+2 2
+5 4
+6 6
+4
+1 1
+4 3
+6 5
+8 6
+4
+10 10
+12 11
+18 15
+24 20
+0
diff --git a/public_test_cases/p00157/output.0.txt b/public_test_cases/p00157/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62389651958500459c1b4fee7742b0981f5856a7
--- /dev/null
+++ b/public_test_cases/p00157/output.0.txt
@@ -0,0 +1,3 @@
+9
+6
+8
diff --git a/public_test_cases/p00157/output.1.txt b/public_test_cases/p00157/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62389651958500459c1b4fee7742b0981f5856a7
--- /dev/null
+++ b/public_test_cases/p00157/output.1.txt
@@ -0,0 +1,3 @@
+9
+6
+8
diff --git a/public_test_cases/p00158/input.0.txt b/public_test_cases/p00158/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14d1ccaf9adf371fd7a45a17a78140a1de83590d
--- /dev/null
+++ b/public_test_cases/p00158/input.0.txt
@@ -0,0 +1,3 @@
+3
+10
+0
diff --git a/public_test_cases/p00158/input.1.txt b/public_test_cases/p00158/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14d1ccaf9adf371fd7a45a17a78140a1de83590d
--- /dev/null
+++ b/public_test_cases/p00158/input.1.txt
@@ -0,0 +1,3 @@
+3
+10
+0
diff --git a/public_test_cases/p00158/output.0.txt b/public_test_cases/p00158/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c95497458af2e9fb757da2f5861da8da3116d8a5
--- /dev/null
+++ b/public_test_cases/p00158/output.0.txt
@@ -0,0 +1,2 @@
+7
+6
diff --git a/public_test_cases/p00158/output.1.txt b/public_test_cases/p00158/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c95497458af2e9fb757da2f5861da8da3116d8a5
--- /dev/null
+++ b/public_test_cases/p00158/output.1.txt
@@ -0,0 +1,2 @@
+7
+6
diff --git a/public_test_cases/p00159/input.0.txt b/public_test_cases/p00159/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0affb8142d542df54b485600d3f31d146304876
--- /dev/null
+++ b/public_test_cases/p00159/input.0.txt
@@ -0,0 +1,12 @@
+6
+1 165 66
+2 178 60
+3 180 72
+4 160 65
+5 185 62
+6 182 62
+3
+3 160 65
+2 180 70
+1 170 75
+0
diff --git a/public_test_cases/p00159/input.1.txt b/public_test_cases/p00159/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0affb8142d542df54b485600d3f31d146304876
--- /dev/null
+++ b/public_test_cases/p00159/input.1.txt
@@ -0,0 +1,12 @@
+6
+1 165 66
+2 178 60
+3 180 72
+4 160 65
+5 185 62
+6 182 62
+3
+3 160 65
+2 180 70
+1 170 75
+0
diff --git a/public_test_cases/p00159/output.0.txt b/public_test_cases/p00159/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e5eeed2d935fb330d6755eeb3e46d18fa7aac1
--- /dev/null
+++ b/public_test_cases/p00159/output.0.txt
@@ -0,0 +1,2 @@
+3
+2
diff --git a/public_test_cases/p00159/output.1.txt b/public_test_cases/p00159/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e5eeed2d935fb330d6755eeb3e46d18fa7aac1
--- /dev/null
+++ b/public_test_cases/p00159/output.1.txt
@@ -0,0 +1,2 @@
+3
+2
diff --git a/public_test_cases/p00160/input.0.txt b/public_test_cases/p00160/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9e3063eeec4763d62cca248ad3c8260a620cbb7
--- /dev/null
+++ b/public_test_cases/p00160/input.0.txt
@@ -0,0 +1,8 @@
+2
+50 25 5 5
+80 60 10 30
+3
+10 15 25 24
+5 8 12 5
+30 30 30 18
+0
diff --git a/public_test_cases/p00160/input.1.txt b/public_test_cases/p00160/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9e3063eeec4763d62cca248ad3c8260a620cbb7
--- /dev/null
+++ b/public_test_cases/p00160/input.1.txt
@@ -0,0 +1,8 @@
+2
+50 25 5 5
+80 60 10 30
+3
+10 15 25 24
+5 8 12 5
+30 30 30 18
+0
diff --git a/public_test_cases/p00160/output.0.txt b/public_test_cases/p00160/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43206667d116d1eeea6566eea12a00cdba4bbf20
--- /dev/null
+++ b/public_test_cases/p00160/output.0.txt
@@ -0,0 +1,2 @@
+800
+3800
diff --git a/public_test_cases/p00160/output.1.txt b/public_test_cases/p00160/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43206667d116d1eeea6566eea12a00cdba4bbf20
--- /dev/null
+++ b/public_test_cases/p00160/output.1.txt
@@ -0,0 +1,2 @@
+800
+3800
diff --git a/public_test_cases/p00161/input.0.txt b/public_test_cases/p00161/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8446ef7caed5e02abc894185c57dff67363313b2
--- /dev/null
+++ b/public_test_cases/p00161/input.0.txt
@@ -0,0 +1,15 @@
+8
+34001 3 20 3 8 6 27 2 25
+20941 3 5 2 41 7 19 2 42
+90585 4 8 3 12 6 46 2 34
+92201 3 28 2 47 6 37 2 58
+10001 3 50 2 42 7 12 2 54
+63812 4 11 3 11 6 53 2 22
+54092 3 33 2 54 6 18 2 19
+25012 3 44 2 58 6 45 2 46
+4
+1 3 23 1 23 1 34 4 44
+2 5 12 2 12 3 41 2 29
+3 5 24 1 24 2 0 3 35
+4 4 49 2 22 4 41 4 23
+0
diff --git a/public_test_cases/p00161/input.1.txt b/public_test_cases/p00161/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8446ef7caed5e02abc894185c57dff67363313b2
--- /dev/null
+++ b/public_test_cases/p00161/input.1.txt
@@ -0,0 +1,15 @@
+8
+34001 3 20 3 8 6 27 2 25
+20941 3 5 2 41 7 19 2 42
+90585 4 8 3 12 6 46 2 34
+92201 3 28 2 47 6 37 2 58
+10001 3 50 2 42 7 12 2 54
+63812 4 11 3 11 6 53 2 22
+54092 3 33 2 54 6 18 2 19
+25012 3 44 2 58 6 45 2 46
+4
+1 3 23 1 23 1 34 4 44
+2 5 12 2 12 3 41 2 29
+3 5 24 1 24 2 0 3 35
+4 4 49 2 22 4 41 4 23
+0
diff --git a/public_test_cases/p00161/output.0.txt b/public_test_cases/p00161/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..077ec8769cc5397b9f48a80c9edd0982f1994a0c
--- /dev/null
+++ b/public_test_cases/p00161/output.0.txt
@@ -0,0 +1,6 @@
+54092
+34001
+10001
+1
+3
+2
diff --git a/public_test_cases/p00161/output.1.txt b/public_test_cases/p00161/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..077ec8769cc5397b9f48a80c9edd0982f1994a0c
--- /dev/null
+++ b/public_test_cases/p00161/output.1.txt
@@ -0,0 +1,6 @@
+54092
+34001
+10001
+1
+3
+2
diff --git a/public_test_cases/p00162/input.0.txt b/public_test_cases/p00162/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..366d5742fcafad07b0d5e45275cb2157e9c7686a
--- /dev/null
+++ b/public_test_cases/p00162/input.0.txt
@@ -0,0 +1,4 @@
+3 8
+1 27
+1 86
+0
diff --git a/public_test_cases/p00162/input.1.txt b/public_test_cases/p00162/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..366d5742fcafad07b0d5e45275cb2157e9c7686a
--- /dev/null
+++ b/public_test_cases/p00162/input.1.txt
@@ -0,0 +1,4 @@
+3 8
+1 27
+1 86
+0
diff --git a/public_test_cases/p00162/output.0.txt b/public_test_cases/p00162/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d1f1c825b27675e1c7c615c55739fdcc47af3c0
--- /dev/null
+++ b/public_test_cases/p00162/output.0.txt
@@ -0,0 +1,3 @@
+5
+17
+31
diff --git a/public_test_cases/p00162/output.1.txt b/public_test_cases/p00162/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d1f1c825b27675e1c7c615c55739fdcc47af3c0
--- /dev/null
+++ b/public_test_cases/p00162/output.1.txt
@@ -0,0 +1,3 @@
+5
+17
+31
diff --git a/public_test_cases/p00163/input.0.txt b/public_test_cases/p00163/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf73f7be57cdb434154dfebf3ad3e6fc8b64222e
--- /dev/null
+++ b/public_test_cases/p00163/input.0.txt
@@ -0,0 +1,9 @@
+2
+17 25
+4
+17 45
+4
+17 25
+7
+19 35
+0
diff --git a/public_test_cases/p00163/input.1.txt b/public_test_cases/p00163/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf73f7be57cdb434154dfebf3ad3e6fc8b64222e
--- /dev/null
+++ b/public_test_cases/p00163/input.1.txt
@@ -0,0 +1,9 @@
+2
+17 25
+4
+17 45
+4
+17 25
+7
+19 35
+0
diff --git a/public_test_cases/p00163/output.0.txt b/public_test_cases/p00163/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1ba533b0b53c90981cff06899513c2a8617c6f
--- /dev/null
+++ b/public_test_cases/p00163/output.0.txt
@@ -0,0 +1,2 @@
+250
+1300
diff --git a/public_test_cases/p00163/output.1.txt b/public_test_cases/p00163/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1ba533b0b53c90981cff06899513c2a8617c6f
--- /dev/null
+++ b/public_test_cases/p00163/output.1.txt
@@ -0,0 +1,2 @@
+250
+1300
diff --git a/public_test_cases/p00164/input.0.txt b/public_test_cases/p00164/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7da4686f60482e88e1dea4bd4d243e45fe12e068
--- /dev/null
+++ b/public_test_cases/p00164/input.0.txt
@@ -0,0 +1,5 @@
+4
+3 1 4 2
+3
+4 3 2
+0
diff --git a/public_test_cases/p00164/output.0.txt b/public_test_cases/p00164/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb51cb5f36cd5f00d6c6ed2651d98af85182782c
--- /dev/null
+++ b/public_test_cases/p00164/output.0.txt
@@ -0,0 +1,28 @@
+31
+28
+26
+25
+21
+17
+16
+14
+11
+8
+6
+5
+1
+0
+31
+27
+26
+23
+21
+19
+16
+12
+11
+8
+6
+4
+1
+0
diff --git a/public_test_cases/p00165/input.0.txt b/public_test_cases/p00165/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1f8a73539df5307f4f16e41ff1743fcb1532a60
--- /dev/null
+++ b/public_test_cases/p00165/input.0.txt
@@ -0,0 +1,8 @@
+4
+5 0
+9 1
+3 10
+11 3
+1
+999983 20
+0
diff --git a/public_test_cases/p00165/input.1.txt b/public_test_cases/p00165/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1f8a73539df5307f4f16e41ff1743fcb1532a60
--- /dev/null
+++ b/public_test_cases/p00165/input.1.txt
@@ -0,0 +1,8 @@
+4
+5 0
+9 1
+3 10
+11 3
+1
+999983 20
+0
diff --git a/public_test_cases/p00165/output.0.txt b/public_test_cases/p00165/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af74fdcd71a03732095b62ca716ac02310b9fa71
--- /dev/null
+++ b/public_test_cases/p00165/output.0.txt
@@ -0,0 +1,2 @@
+5
+1
diff --git a/public_test_cases/p00165/output.1.txt b/public_test_cases/p00165/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af74fdcd71a03732095b62ca716ac02310b9fa71
--- /dev/null
+++ b/public_test_cases/p00165/output.1.txt
@@ -0,0 +1,2 @@
+5
+1
diff --git a/public_test_cases/p00166/input.0.txt b/public_test_cases/p00166/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8824f35eb1609627c4428d87d3d43b4551981d0
--- /dev/null
+++ b/public_test_cases/p00166/input.0.txt
@@ -0,0 +1,28 @@
+4
+30
+125
+75
+4
+30
+125
+75
+5
+30
+125
+75
+65
+4
+30
+125
+75
+4
+30
+125
+75
+6
+30
+50
+50
+25
+75
+0
diff --git a/public_test_cases/p00166/input.1.txt b/public_test_cases/p00166/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8824f35eb1609627c4428d87d3d43b4551981d0
--- /dev/null
+++ b/public_test_cases/p00166/input.1.txt
@@ -0,0 +1,28 @@
+4
+30
+125
+75
+4
+30
+125
+75
+5
+30
+125
+75
+65
+4
+30
+125
+75
+4
+30
+125
+75
+6
+30
+50
+50
+25
+75
+0
diff --git a/public_test_cases/p00166/output.0.txt b/public_test_cases/p00166/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4539bbf2d22d5c3b4227859ff854eda060a687fb
--- /dev/null
+++ b/public_test_cases/p00166/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+2
diff --git a/public_test_cases/p00166/output.1.txt b/public_test_cases/p00166/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4539bbf2d22d5c3b4227859ff854eda060a687fb
--- /dev/null
+++ b/public_test_cases/p00166/output.1.txt
@@ -0,0 +1,3 @@
+0
+1
+2
diff --git a/public_test_cases/p00167/input.0.txt b/public_test_cases/p00167/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d757cf5ffc2afc4e1d0444fc35d1571e11af35de
--- /dev/null
+++ b/public_test_cases/p00167/input.0.txt
@@ -0,0 +1,18 @@
+5
+5
+3
+2
+1
+4
+6
+1
+2
+3
+4
+5
+6
+3
+3
+2
+1
+0
diff --git a/public_test_cases/p00167/input.1.txt b/public_test_cases/p00167/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d757cf5ffc2afc4e1d0444fc35d1571e11af35de
--- /dev/null
+++ b/public_test_cases/p00167/input.1.txt
@@ -0,0 +1,18 @@
+5
+5
+3
+2
+1
+4
+6
+1
+2
+3
+4
+5
+6
+3
+3
+2
+1
+0
diff --git a/public_test_cases/p00167/output.0.txt b/public_test_cases/p00167/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..895ee63c4579e5fada120cd28916fccc323d6949
--- /dev/null
+++ b/public_test_cases/p00167/output.0.txt
@@ -0,0 +1,3 @@
+7
+0
+3
diff --git a/public_test_cases/p00167/output.1.txt b/public_test_cases/p00167/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..895ee63c4579e5fada120cd28916fccc323d6949
--- /dev/null
+++ b/public_test_cases/p00167/output.1.txt
@@ -0,0 +1,3 @@
+7
+0
+3
diff --git a/public_test_cases/p00168/input.0.txt b/public_test_cases/p00168/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d95e395d7197549d417e4ac2c36aa976a7caad01
--- /dev/null
+++ b/public_test_cases/p00168/input.0.txt
@@ -0,0 +1,5 @@
+1
+10
+20
+25
+0
diff --git a/public_test_cases/p00168/input.1.txt b/public_test_cases/p00168/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d95e395d7197549d417e4ac2c36aa976a7caad01
--- /dev/null
+++ b/public_test_cases/p00168/input.1.txt
@@ -0,0 +1,5 @@
+1
+10
+20
+25
+0
diff --git a/public_test_cases/p00168/output.0.txt b/public_test_cases/p00168/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29c5b9e6c93190bc22db4b26e689707d8da89512
--- /dev/null
+++ b/public_test_cases/p00168/output.0.txt
@@ -0,0 +1,4 @@
+1
+1
+34
+701
diff --git a/public_test_cases/p00168/output.1.txt b/public_test_cases/p00168/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29c5b9e6c93190bc22db4b26e689707d8da89512
--- /dev/null
+++ b/public_test_cases/p00168/output.1.txt
@@ -0,0 +1,4 @@
+1
+1
+34
+701
diff --git a/public_test_cases/p00169/input.0.txt b/public_test_cases/p00169/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd069f9df0f075965a42dba4e7b6604fde19fd9
--- /dev/null
+++ b/public_test_cases/p00169/input.0.txt
@@ -0,0 +1,6 @@
+1
+7 7 7
+7 7 8
+12 1
+10 1 1
+0
diff --git a/public_test_cases/p00169/input.1.txt b/public_test_cases/p00169/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd069f9df0f075965a42dba4e7b6604fde19fd9
--- /dev/null
+++ b/public_test_cases/p00169/input.1.txt
@@ -0,0 +1,6 @@
+1
+7 7 7
+7 7 8
+12 1
+10 1 1
+0
diff --git a/public_test_cases/p00169/output.0.txt b/public_test_cases/p00169/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdc90ac5b11f75194902a85e7d5b89b08ee40c5a
--- /dev/null
+++ b/public_test_cases/p00169/output.0.txt
@@ -0,0 +1,5 @@
+11
+21
+0
+21
+12
diff --git a/public_test_cases/p00169/output.1.txt b/public_test_cases/p00169/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdc90ac5b11f75194902a85e7d5b89b08ee40c5a
--- /dev/null
+++ b/public_test_cases/p00169/output.1.txt
@@ -0,0 +1,5 @@
+11
+21
+0
+21
+12
diff --git a/public_test_cases/p00170/input.0.txt b/public_test_cases/p00170/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aab9d9ae380ac76fe6890857d13e5abdce1e9115
--- /dev/null
+++ b/public_test_cases/p00170/input.0.txt
@@ -0,0 +1,16 @@
+4
+sandwich 80 120
+apple 50 200
+cheese 20 40
+cake 100 100
+9
+onigiri 80 300
+onigiri 80 300
+anpan 70 280
+mikan 50 80
+kanzume 100 500
+chocolate 50 350
+cookie 30 80
+purin 40 400
+cracker 40 160
+0
diff --git a/public_test_cases/p00170/input.1.txt b/public_test_cases/p00170/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aab9d9ae380ac76fe6890857d13e5abdce1e9115
--- /dev/null
+++ b/public_test_cases/p00170/input.1.txt
@@ -0,0 +1,16 @@
+4
+sandwich 80 120
+apple 50 200
+cheese 20 40
+cake 100 100
+9
+onigiri 80 300
+onigiri 80 300
+anpan 70 280
+mikan 50 80
+kanzume 100 500
+chocolate 50 350
+cookie 30 80
+purin 40 400
+cracker 40 160
+0
diff --git a/public_test_cases/p00170/output.0.txt b/public_test_cases/p00170/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ab547c7d5f38ae39ac32b8fa9380a9351ae030b
--- /dev/null
+++ b/public_test_cases/p00170/output.0.txt
@@ -0,0 +1,13 @@
+apple
+cake
+sandwich
+cheese
+kanzume
+purin
+chocolate
+onigiri
+onigiri
+anpan
+mikan
+cracker
+cookie
diff --git a/public_test_cases/p00170/output.1.txt b/public_test_cases/p00170/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ab547c7d5f38ae39ac32b8fa9380a9351ae030b
--- /dev/null
+++ b/public_test_cases/p00170/output.1.txt
@@ -0,0 +1,13 @@
+apple
+cake
+sandwich
+cheese
+kanzume
+purin
+chocolate
+onigiri
+onigiri
+anpan
+mikan
+cracker
+cookie
diff --git a/public_test_cases/p00171/input.0.txt b/public_test_cases/p00171/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e30e6d3e2c821600076dba427528f7144922482
--- /dev/null
+++ b/public_test_cases/p00171/input.0.txt
@@ -0,0 +1,41 @@
+zabZNq
+BCxmAi
+ZcbBCj
+aizXCm
+QgmABC
+JHzMop
+ImoXGz
+MZTOhp
+zabZnQ
+BCxmAi
+ZcbBCj
+aizXCm
+QgmABC
+JHzMop
+ImoXGz
+MZTOhp
+abcdef
+ABDCFE
+FBDCAE
+abcdef
+BEACDF
+bfcaed
+fabcde
+DEABCF
+UnivOf
+AizuaH
+zTXZYW
+piglIt
+GRULNP
+higGtH
+uAzIXZ
+FizmKZ
+UnivOf
+AizuaH
+piglIt
+higGtH
+GRULNP
+uAzIXZ
+FizmKZ
+ZTXzYW
+0
diff --git a/public_test_cases/p00171/input.1.txt b/public_test_cases/p00171/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e30e6d3e2c821600076dba427528f7144922482
--- /dev/null
+++ b/public_test_cases/p00171/input.1.txt
@@ -0,0 +1,41 @@
+zabZNq
+BCxmAi
+ZcbBCj
+aizXCm
+QgmABC
+JHzMop
+ImoXGz
+MZTOhp
+zabZnQ
+BCxmAi
+ZcbBCj
+aizXCm
+QgmABC
+JHzMop
+ImoXGz
+MZTOhp
+abcdef
+ABDCFE
+FBDCAE
+abcdef
+BEACDF
+bfcaed
+fabcde
+DEABCF
+UnivOf
+AizuaH
+zTXZYW
+piglIt
+GRULNP
+higGtH
+uAzIXZ
+FizmKZ
+UnivOf
+AizuaH
+piglIt
+higGtH
+GRULNP
+uAzIXZ
+FizmKZ
+ZTXzYW
+0
diff --git a/public_test_cases/p00171/output.0.txt b/public_test_cases/p00171/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6591b85a854fbd799ec89ab32514879fc9ad3255
--- /dev/null
+++ b/public_test_cases/p00171/output.0.txt
@@ -0,0 +1,5 @@
+YES
+NO
+YES
+YES
+NO
diff --git a/public_test_cases/p00171/output.1.txt b/public_test_cases/p00171/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6591b85a854fbd799ec89ab32514879fc9ad3255
--- /dev/null
+++ b/public_test_cases/p00171/output.1.txt
@@ -0,0 +1,5 @@
+YES
+NO
+YES
+YES
+NO
diff --git a/public_test_cases/p00172/input.0.txt b/public_test_cases/p00172/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46a85c428df4a7aee1ca380ea4373217362f93dd
--- /dev/null
+++ b/public_test_cases/p00172/input.0.txt
@@ -0,0 +1,28 @@
+4 3
+1 2
+2 3
+2 4
+1 0 0 0
+2 2 3
+0
+3 1 2 4
+2 2 3
+4 3
+1 2
+2 3
+2 4
+1 0 0 0
+2 2 3
+0
+3 1 2 4
+1 3
+4 3
+1 2
+2 3
+2 4
+1 0 0 0
+2 2 3
+0
+2 1 2
+2 2 3
+0 0
diff --git a/public_test_cases/p00172/input.1.txt b/public_test_cases/p00172/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46a85c428df4a7aee1ca380ea4373217362f93dd
--- /dev/null
+++ b/public_test_cases/p00172/input.1.txt
@@ -0,0 +1,28 @@
+4 3
+1 2
+2 3
+2 4
+1 0 0 0
+2 2 3
+0
+3 1 2 4
+2 2 3
+4 3
+1 2
+2 3
+2 4
+1 0 0 0
+2 2 3
+0
+3 1 2 4
+1 3
+4 3
+1 2
+2 3
+2 4
+1 0 0 0
+2 2 3
+0
+2 1 2
+2 2 3
+0 0
diff --git a/public_test_cases/p00172/output.0.txt b/public_test_cases/p00172/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eec2bfdf1f3e7cdde1098c3bcb7453913af70a77
--- /dev/null
+++ b/public_test_cases/p00172/output.0.txt
@@ -0,0 +1,13 @@
+You can go home in 10 steps.
+Switch on room 2.
+Switch on room 3.
+Move to room 2.
+Move to room 3.
+Switch off room 1.
+Switch on room 4.
+Move to room 2.
+Move to room 4.
+Switch off room 2.
+Switch off room 3.
+You can not switch off all lights.
+Help me!
diff --git a/public_test_cases/p00172/output.1.txt b/public_test_cases/p00172/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eec2bfdf1f3e7cdde1098c3bcb7453913af70a77
--- /dev/null
+++ b/public_test_cases/p00172/output.1.txt
@@ -0,0 +1,13 @@
+You can go home in 10 steps.
+Switch on room 2.
+Switch on room 3.
+Move to room 2.
+Move to room 3.
+Switch off room 1.
+Switch on room 4.
+Move to room 2.
+Move to room 4.
+Switch off room 2.
+Switch off room 3.
+You can not switch off all lights.
+Help me!
diff --git a/public_test_cases/p00173/input.0.txt b/public_test_cases/p00173/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3a1a51b61b82d7d2b9c2a792a85b86f955a7ef1
--- /dev/null
+++ b/public_test_cases/p00173/input.0.txt
@@ -0,0 +1,9 @@
+1a 132 243
+1c 324 183
+1f 93 199
+2b 372 163
+2c 229 293
+2e 391 206
+3a 118 168
+3b 263 293
+3d 281 102
diff --git a/public_test_cases/p00173/input.1.txt b/public_test_cases/p00173/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3a1a51b61b82d7d2b9c2a792a85b86f955a7ef1
--- /dev/null
+++ b/public_test_cases/p00173/input.1.txt
@@ -0,0 +1,9 @@
+1a 132 243
+1c 324 183
+1f 93 199
+2b 372 163
+2c 229 293
+2e 391 206
+3a 118 168
+3b 263 293
+3d 281 102
diff --git a/public_test_cases/p00173/output.0.txt b/public_test_cases/p00173/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10b1b92a7b2f42cd3f000046653e7d49fca56e3d
--- /dev/null
+++ b/public_test_cases/p00173/output.0.txt
@@ -0,0 +1,9 @@
+1a 375 99300
+1c 507 119700
+1f 292 78300
+2b 535 123300
+2c 522 133700
+2e 597 140000
+3a 286 74000
+3b 556 140500
+3d 383 86800
diff --git a/public_test_cases/p00173/output.1.txt b/public_test_cases/p00173/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10b1b92a7b2f42cd3f000046653e7d49fca56e3d
--- /dev/null
+++ b/public_test_cases/p00173/output.1.txt
@@ -0,0 +1,9 @@
+1a 375 99300
+1c 507 119700
+1f 292 78300
+2b 535 123300
+2c 522 133700
+2e 597 140000
+3a 286 74000
+3b 556 140500
+3d 383 86800
diff --git a/public_test_cases/p00174/input.0.txt b/public_test_cases/p00174/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61da7ffc846d5139d49478b0575d3cc149b77726
--- /dev/null
+++ b/public_test_cases/p00174/input.0.txt
@@ -0,0 +1,7 @@
+ABAABBBAABABAAABBAA
+AABBBABBABBAAABABABAAB
+BABAABAABABABBAAAB
+AABABAAABBAABBBABAA
+AAAAAAAAAAA
+ABBBBBBBBBB
+0
diff --git a/public_test_cases/p00174/input.1.txt b/public_test_cases/p00174/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61da7ffc846d5139d49478b0575d3cc149b77726
--- /dev/null
+++ b/public_test_cases/p00174/input.1.txt
@@ -0,0 +1,7 @@
+ABAABBBAABABAAABBAA
+AABBBABBABBAAABABABAAB
+BABAABAABABABBAAAB
+AABABAAABBAABBBABAA
+AAAAAAAAAAA
+ABBBBBBBBBB
+0
diff --git a/public_test_cases/p00174/output.0.txt b/public_test_cases/p00174/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6928877e2806cc2760d1847748755f370c7a8b23
--- /dev/null
+++ b/public_test_cases/p00174/output.0.txt
@@ -0,0 +1,6 @@
+11 8
+10 12
+11 7
+11 8
+11 0
+0 11
diff --git a/public_test_cases/p00174/output.1.txt b/public_test_cases/p00174/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6928877e2806cc2760d1847748755f370c7a8b23
--- /dev/null
+++ b/public_test_cases/p00174/output.1.txt
@@ -0,0 +1,6 @@
+11 8
+10 12
+11 7
+11 8
+11 0
+0 11
diff --git a/public_test_cases/p00175/input.0.txt b/public_test_cases/p00175/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a39ca8e963a25869b000b148950624736975abc8
--- /dev/null
+++ b/public_test_cases/p00175/input.0.txt
@@ -0,0 +1,7 @@
+7
+4
+0
+12
+10
+10000
+-1
diff --git a/public_test_cases/p00175/input.1.txt b/public_test_cases/p00175/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a39ca8e963a25869b000b148950624736975abc8
--- /dev/null
+++ b/public_test_cases/p00175/input.1.txt
@@ -0,0 +1,7 @@
+7
+4
+0
+12
+10
+10000
+-1
diff --git a/public_test_cases/p00175/output.0.txt b/public_test_cases/p00175/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b86711423d777fbcb5b2063a87fb104421d34f28
--- /dev/null
+++ b/public_test_cases/p00175/output.0.txt
@@ -0,0 +1,6 @@
+13
+10
+0
+30
+22
+2130100
diff --git a/public_test_cases/p00175/output.1.txt b/public_test_cases/p00175/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b86711423d777fbcb5b2063a87fb104421d34f28
--- /dev/null
+++ b/public_test_cases/p00175/output.1.txt
@@ -0,0 +1,6 @@
+13
+10
+0
+30
+22
+2130100
diff --git a/public_test_cases/p00176/input.0.txt b/public_test_cases/p00176/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1062b4709dc99b68adc143f202eb772ee5882a42
--- /dev/null
+++ b/public_test_cases/p00176/input.0.txt
@@ -0,0 +1,5 @@
+#ffe085
+#787878
+#decade
+#ff55ff
+0
diff --git a/public_test_cases/p00176/input.1.txt b/public_test_cases/p00176/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1062b4709dc99b68adc143f202eb772ee5882a42
--- /dev/null
+++ b/public_test_cases/p00176/input.1.txt
@@ -0,0 +1,5 @@
+#ffe085
+#787878
+#decade
+#ff55ff
+0
diff --git a/public_test_cases/p00176/input.2.txt b/public_test_cases/p00176/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83e6507652a1dea47df4fdc0c62c03177513096b
--- /dev/null
+++ b/public_test_cases/p00176/input.2.txt
@@ -0,0 +1,5 @@
+ffe085
+787878
+decade
+ff55ff
+0
diff --git a/public_test_cases/p00176/output.0.txt b/public_test_cases/p00176/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce7f59775aa6a7e65a2d85ce1e8ef5157c8acea2
--- /dev/null
+++ b/public_test_cases/p00176/output.0.txt
@@ -0,0 +1,4 @@
+white
+black
+white
+fuchsia
diff --git a/public_test_cases/p00176/output.1.txt b/public_test_cases/p00176/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce7f59775aa6a7e65a2d85ce1e8ef5157c8acea2
--- /dev/null
+++ b/public_test_cases/p00176/output.1.txt
@@ -0,0 +1,4 @@
+white
+black
+white
+fuchsia
diff --git a/public_test_cases/p00176/output.2.txt b/public_test_cases/p00176/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce7f59775aa6a7e65a2d85ce1e8ef5157c8acea2
--- /dev/null
+++ b/public_test_cases/p00176/output.2.txt
@@ -0,0 +1,4 @@
+white
+black
+white
+fuchsia
diff --git a/public_test_cases/p00177/input.0.txt b/public_test_cases/p00177/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea116740172191d05a683d78a73948e09f188f76
--- /dev/null
+++ b/public_test_cases/p00177/input.0.txt
@@ -0,0 +1,4 @@
+35.68 139.77 51.15 359.82
+1.37 103.92 41.78 272.25
+51.15 359.82 -34.58 301.52
+-1 -1 -1 -1
diff --git a/public_test_cases/p00177/input.1.txt b/public_test_cases/p00177/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea116740172191d05a683d78a73948e09f188f76
--- /dev/null
+++ b/public_test_cases/p00177/input.1.txt
@@ -0,0 +1,4 @@
+35.68 139.77 51.15 359.82
+1.37 103.92 41.78 272.25
+51.15 359.82 -34.58 301.52
+-1 -1 -1 -1
diff --git a/public_test_cases/p00177/output.0.txt b/public_test_cases/p00177/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26c0cc504eea340a12aba0e45e980206332f35cf
--- /dev/null
+++ b/public_test_cases/p00177/output.0.txt
@@ -0,0 +1,3 @@
+9609
+15092
+11112
diff --git a/public_test_cases/p00177/output.1.txt b/public_test_cases/p00177/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26c0cc504eea340a12aba0e45e980206332f35cf
--- /dev/null
+++ b/public_test_cases/p00177/output.1.txt
@@ -0,0 +1,3 @@
+9609
+15092
+11112
diff --git a/public_test_cases/p00178/input.0.txt b/public_test_cases/p00178/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..829ead48d2a36af1f79fb6c2380ffc3b5ddc8f8a
--- /dev/null
+++ b/public_test_cases/p00178/input.0.txt
@@ -0,0 +1,16 @@
+4
+1 4 1
+1 3 1
+2 2 4
+2 3 5
+1
+1 5 1
+7
+2 2 2
+1 4 1
+2 1 3
+1 4 1
+1 1 1
+2 5 5
+1 4 2
+0
diff --git a/public_test_cases/p00178/input.1.txt b/public_test_cases/p00178/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..829ead48d2a36af1f79fb6c2380ffc3b5ddc8f8a
--- /dev/null
+++ b/public_test_cases/p00178/input.1.txt
@@ -0,0 +1,16 @@
+4
+1 4 1
+1 3 1
+2 2 4
+2 3 5
+1
+1 5 1
+7
+2 2 2
+1 4 1
+2 1 3
+1 4 1
+1 1 1
+2 5 5
+1 4 2
+0
diff --git a/public_test_cases/p00178/output.0.txt b/public_test_cases/p00178/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..179e41616ad19168037d93533b75a7200475d299
--- /dev/null
+++ b/public_test_cases/p00178/output.0.txt
@@ -0,0 +1,3 @@
+2
+0
+6
diff --git a/public_test_cases/p00178/output.1.txt b/public_test_cases/p00178/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..179e41616ad19168037d93533b75a7200475d299
--- /dev/null
+++ b/public_test_cases/p00178/output.1.txt
@@ -0,0 +1,3 @@
+2
+0
+6
diff --git a/public_test_cases/p00179/input.0.txt b/public_test_cases/p00179/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0aee4434fb56509cf31e84cde62ec712fb1b34d9
--- /dev/null
+++ b/public_test_cases/p00179/input.0.txt
@@ -0,0 +1,9 @@
+rbgrg
+rbbgbbr
+bgr
+bgrbrgbr
+bggrgbgrr
+gbrggrbggr
+rrrrr
+bgbr
+0
diff --git a/public_test_cases/p00179/input.1.txt b/public_test_cases/p00179/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0aee4434fb56509cf31e84cde62ec712fb1b34d9
--- /dev/null
+++ b/public_test_cases/p00179/input.1.txt
@@ -0,0 +1,9 @@
+rbgrg
+rbbgbbr
+bgr
+bgrbrgbr
+bggrgbgrr
+gbrggrbggr
+rrrrr
+bgbr
+0
diff --git a/public_test_cases/p00179/output.0.txt b/public_test_cases/p00179/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f4bec66245732b705fea4c651f6e0ec9e2e743e
--- /dev/null
+++ b/public_test_cases/p00179/output.0.txt
@@ -0,0 +1,8 @@
+5
+7
+1
+6
+NA
+8
+0
+4
diff --git a/public_test_cases/p00179/output.1.txt b/public_test_cases/p00179/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f4bec66245732b705fea4c651f6e0ec9e2e743e
--- /dev/null
+++ b/public_test_cases/p00179/output.1.txt
@@ -0,0 +1,8 @@
+5
+7
+1
+6
+NA
+8
+0
+4
diff --git a/public_test_cases/p00180/input.0.txt b/public_test_cases/p00180/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbfb0415b2c507196ee3fa36401a79755452a437
--- /dev/null
+++ b/public_test_cases/p00180/input.0.txt
@@ -0,0 +1,12 @@
+5 6
+0 2 1
+2 1 3
+2 3 8
+1 3 2
+3 4 5
+1 4 4
+3 3
+1 2 3
+2 0 3
+0 1 3
+0 0
diff --git a/public_test_cases/p00180/input.1.txt b/public_test_cases/p00180/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbfb0415b2c507196ee3fa36401a79755452a437
--- /dev/null
+++ b/public_test_cases/p00180/input.1.txt
@@ -0,0 +1,12 @@
+5 6
+0 2 1
+2 1 3
+2 3 8
+1 3 2
+3 4 5
+1 4 4
+3 3
+1 2 3
+2 0 3
+0 1 3
+0 0
diff --git a/public_test_cases/p00180/output.0.txt b/public_test_cases/p00180/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c09a82473e1449fa79e9e4dc0ba27c3f9488be9
--- /dev/null
+++ b/public_test_cases/p00180/output.0.txt
@@ -0,0 +1,2 @@
+10
+6
diff --git a/public_test_cases/p00180/output.1.txt b/public_test_cases/p00180/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c09a82473e1449fa79e9e4dc0ba27c3f9488be9
--- /dev/null
+++ b/public_test_cases/p00180/output.1.txt
@@ -0,0 +1,2 @@
+10
+6
diff --git a/public_test_cases/p00181/input.0.txt b/public_test_cases/p00181/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5ef9af2bb7acb9b94a9facf118b09f9598bc922
--- /dev/null
+++ b/public_test_cases/p00181/input.0.txt
@@ -0,0 +1,15 @@
+3 9
+500
+300
+800
+200
+100
+600
+900
+700
+400
+4 3
+1000
+1000
+1000
+0 0
diff --git a/public_test_cases/p00181/input.1.txt b/public_test_cases/p00181/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5ef9af2bb7acb9b94a9facf118b09f9598bc922
--- /dev/null
+++ b/public_test_cases/p00181/input.1.txt
@@ -0,0 +1,15 @@
+3 9
+500
+300
+800
+200
+100
+600
+900
+700
+400
+4 3
+1000
+1000
+1000
+0 0
diff --git a/public_test_cases/p00181/output.0.txt b/public_test_cases/p00181/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c512e3cc690db614dfca9f5a5354adb1d61b6d91
--- /dev/null
+++ b/public_test_cases/p00181/output.0.txt
@@ -0,0 +1,2 @@
+1800
+1000
diff --git a/public_test_cases/p00181/output.1.txt b/public_test_cases/p00181/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c512e3cc690db614dfca9f5a5354adb1d61b6d91
--- /dev/null
+++ b/public_test_cases/p00181/output.1.txt
@@ -0,0 +1,2 @@
+1800
+1000
diff --git a/public_test_cases/p00182/input.0.txt b/public_test_cases/p00182/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5a1443a7757fd91e31b2b055739eb49c6ace48b
--- /dev/null
+++ b/public_test_cases/p00182/input.0.txt
@@ -0,0 +1,11 @@
+10
+11 2 23 4 2 12 8 5 2 10
+8
+2 1 3 11 2 3 1 4
+9
+5 9 1 2 4 8 17 1 8
+8
+3 38 9 4 18 14 19 5
+1
+1
+0
diff --git a/public_test_cases/p00182/input.1.txt b/public_test_cases/p00182/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5a1443a7757fd91e31b2b055739eb49c6ace48b
--- /dev/null
+++ b/public_test_cases/p00182/input.1.txt
@@ -0,0 +1,11 @@
+10
+11 2 23 4 2 12 8 5 2 10
+8
+2 1 3 11 2 3 1 4
+9
+5 9 1 2 4 8 17 1 8
+8
+3 38 9 4 18 14 19 5
+1
+1
+0
diff --git a/public_test_cases/p00182/output.0.txt b/public_test_cases/p00182/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3c24bad922ff06bc38d5b40ea32467833aea976
--- /dev/null
+++ b/public_test_cases/p00182/output.0.txt
@@ -0,0 +1,5 @@
+YES
+YES
+YES
+NO
+YES
diff --git a/public_test_cases/p00182/output.1.txt b/public_test_cases/p00182/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3c24bad922ff06bc38d5b40ea32467833aea976
--- /dev/null
+++ b/public_test_cases/p00182/output.1.txt
@@ -0,0 +1,5 @@
+YES
+YES
+YES
+NO
+YES
diff --git a/public_test_cases/p00183/input.0.txt b/public_test_cases/p00183/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a474f5951875bb9bfb626606242f5666af68684
--- /dev/null
+++ b/public_test_cases/p00183/input.0.txt
@@ -0,0 +1,7 @@
+bbw
+wbw
++b+
+bwb
+wbw
+wbw
+0
diff --git a/public_test_cases/p00183/input.1.txt b/public_test_cases/p00183/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a474f5951875bb9bfb626606242f5666af68684
--- /dev/null
+++ b/public_test_cases/p00183/input.1.txt
@@ -0,0 +1,7 @@
+bbw
+wbw
++b+
+bwb
+wbw
+wbw
+0
diff --git a/public_test_cases/p00183/output.0.txt b/public_test_cases/p00183/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e129f6d5a16f30de71f3c54380c2a41ed20da5c
--- /dev/null
+++ b/public_test_cases/p00183/output.0.txt
@@ -0,0 +1,2 @@
+b
+NA
diff --git a/public_test_cases/p00183/output.1.txt b/public_test_cases/p00183/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e129f6d5a16f30de71f3c54380c2a41ed20da5c
--- /dev/null
+++ b/public_test_cases/p00183/output.1.txt
@@ -0,0 +1,2 @@
+b
+NA
diff --git a/public_test_cases/p00184/input.0.txt b/public_test_cases/p00184/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b8b2a06dd3d45fea2a1afe333a79b638834d131
--- /dev/null
+++ b/public_test_cases/p00184/input.0.txt
@@ -0,0 +1,15 @@
+8
+71
+34
+65
+11
+41
+39
+6
+5
+4
+67
+81
+78
+65
+0
diff --git a/public_test_cases/p00184/input.1.txt b/public_test_cases/p00184/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b8b2a06dd3d45fea2a1afe333a79b638834d131
--- /dev/null
+++ b/public_test_cases/p00184/input.1.txt
@@ -0,0 +1,15 @@
+8
+71
+34
+65
+11
+41
+39
+6
+5
+4
+67
+81
+78
+65
+0
diff --git a/public_test_cases/p00184/output.0.txt b/public_test_cases/p00184/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9cd2ee15c84201a50b585dd169f5f5cd5176a0b
--- /dev/null
+++ b/public_test_cases/p00184/output.0.txt
@@ -0,0 +1,14 @@
+2
+1
+0
+2
+1
+0
+2
+0
+0
+0
+0
+0
+0
+4
diff --git a/public_test_cases/p00184/output.1.txt b/public_test_cases/p00184/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9cd2ee15c84201a50b585dd169f5f5cd5176a0b
--- /dev/null
+++ b/public_test_cases/p00184/output.1.txt
@@ -0,0 +1,14 @@
+2
+1
+0
+2
+1
+0
+2
+0
+0
+0
+0
+0
+0
+4
diff --git a/public_test_cases/p00185/input.0.txt b/public_test_cases/p00185/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..498a9fe4892ecfa77b7fab651e0d3d1799328102
--- /dev/null
+++ b/public_test_cases/p00185/input.0.txt
@@ -0,0 +1,5 @@
+134
+4330
+34808
+98792
+0
diff --git a/public_test_cases/p00185/output.0.txt b/public_test_cases/p00185/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd1c3874979ab3dcd27009bbe8bdb90cab6eb6b4
--- /dev/null
+++ b/public_test_cases/p00185/output.0.txt
@@ -0,0 +1,4 @@
+6
+72
+274
+607
diff --git a/public_test_cases/p00186/input.0.txt b/public_test_cases/p00186/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cccf955980eb5002ad673791853cac18f953fe6c
--- /dev/null
+++ b/public_test_cases/p00186/input.0.txt
@@ -0,0 +1,9 @@
+48 9297 240 126 32
+20 3010 157 141 7
+30 117002 5680 962 15
+8 1673 1712 190 22
+64 8478 87 54 307
+23 5477 117 92 12
+50 7558 1396 187 17
+279 88677 4522 514 14
+0
diff --git a/public_test_cases/p00186/input.1.txt b/public_test_cases/p00186/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cccf955980eb5002ad673791853cac18f953fe6c
--- /dev/null
+++ b/public_test_cases/p00186/input.1.txt
@@ -0,0 +1,9 @@
+48 9297 240 126 32
+20 3010 157 141 7
+30 117002 5680 962 15
+8 1673 1712 190 22
+64 8478 87 54 307
+23 5477 117 92 12
+50 7558 1396 187 17
+279 88677 4522 514 14
+0
diff --git a/public_test_cases/p00186/output.0.txt b/public_test_cases/p00186/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a21c9be8964e07b169877f6c37ebba535728a020
--- /dev/null
+++ b/public_test_cases/p00186/output.0.txt
@@ -0,0 +1,8 @@
+28 20
+7 13
+15 33
+NA
+97 0
+12 44
+NA
+NA
diff --git a/public_test_cases/p00186/output.1.txt b/public_test_cases/p00186/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a21c9be8964e07b169877f6c37ebba535728a020
--- /dev/null
+++ b/public_test_cases/p00186/output.1.txt
@@ -0,0 +1,8 @@
+28 20
+7 13
+15 33
+NA
+97 0
+12 44
+NA
+NA
diff --git a/public_test_cases/p00187/input.0.txt b/public_test_cases/p00187/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4c7927b03e54d934e91abb8168bffb2ee768e04
--- /dev/null
+++ b/public_test_cases/p00187/input.0.txt
@@ -0,0 +1,7 @@
+-3 -2 9 6
+3 -2 7 6
+-1 0 5 0
+2 2 -1 -1
+0 1 2 1
+-3 -1 3 1
+0 0 0 0
diff --git a/public_test_cases/p00187/input.1.txt b/public_test_cases/p00187/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4c7927b03e54d934e91abb8168bffb2ee768e04
--- /dev/null
+++ b/public_test_cases/p00187/input.1.txt
@@ -0,0 +1,7 @@
+-3 -2 9 6
+3 -2 7 6
+-1 0 5 0
+2 2 -1 -1
+0 1 2 1
+-3 -1 3 1
+0 0 0 0
diff --git a/public_test_cases/p00187/output.0.txt b/public_test_cases/p00187/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88e502ce269854fdea9833b3aa5d19074558a683
--- /dev/null
+++ b/public_test_cases/p00187/output.0.txt
@@ -0,0 +1,2 @@
+syo-kichi
+kyo
diff --git a/public_test_cases/p00187/output.1.txt b/public_test_cases/p00187/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88e502ce269854fdea9833b3aa5d19074558a683
--- /dev/null
+++ b/public_test_cases/p00187/output.1.txt
@@ -0,0 +1,2 @@
+syo-kichi
+kyo
diff --git a/public_test_cases/p00188/input.0.txt b/public_test_cases/p00188/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45e7389c33385731e9b6d92327095669cc82e4b0
--- /dev/null
+++ b/public_test_cases/p00188/input.0.txt
@@ -0,0 +1,16 @@
+7
+11
+15
+23
+36
+51
+61
+86
+51
+4
+1
+2
+3
+5
+4
+0
diff --git a/public_test_cases/p00188/input.1.txt b/public_test_cases/p00188/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45e7389c33385731e9b6d92327095669cc82e4b0
--- /dev/null
+++ b/public_test_cases/p00188/input.1.txt
@@ -0,0 +1,16 @@
+7
+11
+15
+23
+36
+51
+61
+86
+51
+4
+1
+2
+3
+5
+4
+0
diff --git a/public_test_cases/p00188/output.0.txt b/public_test_cases/p00188/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c8806279fa7d6b7d04418a47e21b7e89ab18f8
--- /dev/null
+++ b/public_test_cases/p00188/output.0.txt
@@ -0,0 +1,2 @@
+3
+3
diff --git a/public_test_cases/p00188/output.1.txt b/public_test_cases/p00188/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c8806279fa7d6b7d04418a47e21b7e89ab18f8
--- /dev/null
+++ b/public_test_cases/p00188/output.1.txt
@@ -0,0 +1,2 @@
+3
+3
diff --git a/public_test_cases/p00189/input.0.txt b/public_test_cases/p00189/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bbcb5a98922fd234aab2a229a4484c2e56abdd4
--- /dev/null
+++ b/public_test_cases/p00189/input.0.txt
@@ -0,0 +1,11 @@
+6
+0 1 80
+1 2 20
+0 2 60
+2 3 50
+3 4 60
+1 4 90
+2
+0 1 1
+1 2 1
+0
diff --git a/public_test_cases/p00189/input.1.txt b/public_test_cases/p00189/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bbcb5a98922fd234aab2a229a4484c2e56abdd4
--- /dev/null
+++ b/public_test_cases/p00189/input.1.txt
@@ -0,0 +1,11 @@
+6
+0 1 80
+1 2 20
+0 2 60
+2 3 50
+3 4 60
+1 4 90
+2
+0 1 1
+1 2 1
+0
diff --git a/public_test_cases/p00189/output.0.txt b/public_test_cases/p00189/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4afc0141e24700903f57db0c48926e5976b6f152
--- /dev/null
+++ b/public_test_cases/p00189/output.0.txt
@@ -0,0 +1,2 @@
+2 240
+1 2
diff --git a/public_test_cases/p00189/output.1.txt b/public_test_cases/p00189/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4afc0141e24700903f57db0c48926e5976b6f152
--- /dev/null
+++ b/public_test_cases/p00189/output.1.txt
@@ -0,0 +1,2 @@
+2 240
+1 2
diff --git a/public_test_cases/p00190/input.0.txt b/public_test_cases/p00190/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd137d068f13ab198e5e3c455240d633854352b7
--- /dev/null
+++ b/public_test_cases/p00190/input.0.txt
@@ -0,0 +1,16 @@
+2
+1 0 3
+4 5 6 7 8
+9 0 11
+10
+0
+1 2 3
+4 5 6 7 8
+9 10 11
+0
+0
+11 10 9
+8 7 6 5 4
+3 2 1
+0
+-1
diff --git a/public_test_cases/p00190/input.1.txt b/public_test_cases/p00190/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd137d068f13ab198e5e3c455240d633854352b7
--- /dev/null
+++ b/public_test_cases/p00190/input.1.txt
@@ -0,0 +1,16 @@
+2
+1 0 3
+4 5 6 7 8
+9 0 11
+10
+0
+1 2 3
+4 5 6 7 8
+9 10 11
+0
+0
+11 10 9
+8 7 6 5 4
+3 2 1
+0
+-1
diff --git a/public_test_cases/p00190/output.0.txt b/public_test_cases/p00190/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06d74209e59f1378f5ef55840fb09b9c1c36b307
--- /dev/null
+++ b/public_test_cases/p00190/output.0.txt
@@ -0,0 +1,3 @@
+2
+0
+NA
diff --git a/public_test_cases/p00190/output.1.txt b/public_test_cases/p00190/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06d74209e59f1378f5ef55840fb09b9c1c36b307
--- /dev/null
+++ b/public_test_cases/p00190/output.1.txt
@@ -0,0 +1,3 @@
+2
+0
+NA
diff --git a/public_test_cases/p00191/input.0.txt b/public_test_cases/p00191/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d60b833d5e432268896c8ae1a9096a8261b65fe2
--- /dev/null
+++ b/public_test_cases/p00191/input.0.txt
@@ -0,0 +1,8 @@
+3 3
+1.3 3.0 0.5
+2.4 2.1 1.0
+3.0 0.8 1.2
+2 2
+1.0 1.0
+1.0 1.0
+0 0
diff --git a/public_test_cases/p00191/input.1.txt b/public_test_cases/p00191/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d60b833d5e432268896c8ae1a9096a8261b65fe2
--- /dev/null
+++ b/public_test_cases/p00191/input.1.txt
@@ -0,0 +1,8 @@
+3 3
+1.3 3.0 0.5
+2.4 2.1 1.0
+3.0 0.8 1.2
+2 2
+1.0 1.0
+1.0 1.0
+0 0
diff --git a/public_test_cases/p00191/output.0.txt b/public_test_cases/p00191/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..544386df19b2c35983ca598193ede4e7eb134980
--- /dev/null
+++ b/public_test_cases/p00191/output.0.txt
@@ -0,0 +1,2 @@
+9.00
+1.00
diff --git a/public_test_cases/p00191/output.1.txt b/public_test_cases/p00191/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..544386df19b2c35983ca598193ede4e7eb134980
--- /dev/null
+++ b/public_test_cases/p00191/output.1.txt
@@ -0,0 +1,2 @@
+9.00
+1.00
diff --git a/public_test_cases/p00192/input.0.txt b/public_test_cases/p00192/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ed3188c7eb291eae03dcf66e80e0fa0d8a465d4
--- /dev/null
+++ b/public_test_cases/p00192/input.0.txt
@@ -0,0 +1,12 @@
+3 5
+90
+52
+82
+84
+70
+2 4
+10
+30
+40
+60
+0 0
diff --git a/public_test_cases/p00192/input.1.txt b/public_test_cases/p00192/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ed3188c7eb291eae03dcf66e80e0fa0d8a465d4
--- /dev/null
+++ b/public_test_cases/p00192/input.1.txt
@@ -0,0 +1,12 @@
+3 5
+90
+52
+82
+84
+70
+2 4
+10
+30
+40
+60
+0 0
diff --git a/public_test_cases/p00192/output.0.txt b/public_test_cases/p00192/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6092bcd4116324804dc8775c01870500840ebd6e
--- /dev/null
+++ b/public_test_cases/p00192/output.0.txt
@@ -0,0 +1,2 @@
+2 5 1 4 3
+1 2 4 3
diff --git a/public_test_cases/p00192/output.1.txt b/public_test_cases/p00192/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6092bcd4116324804dc8775c01870500840ebd6e
--- /dev/null
+++ b/public_test_cases/p00192/output.1.txt
@@ -0,0 +1,2 @@
+2 5 1 4 3
+1 2 4 3
diff --git a/public_test_cases/p00193/input.0.txt b/public_test_cases/p00193/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3eb6c6105ac245014b2f0def1d6a894ec24a909c
--- /dev/null
+++ b/public_test_cases/p00193/input.0.txt
@@ -0,0 +1,23 @@
+6 6
+6
+1 1
+6 1
+3 2
+3 5
+1 6
+5 6
+2
+1 3
+5 3
+6 6
+6
+3 2
+3 5
+6 1
+1 1
+1 6
+5 6
+2
+2 3
+5 3
+0 0
diff --git a/public_test_cases/p00193/input.1.txt b/public_test_cases/p00193/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3eb6c6105ac245014b2f0def1d6a894ec24a909c
--- /dev/null
+++ b/public_test_cases/p00193/input.1.txt
@@ -0,0 +1,23 @@
+6 6
+6
+1 1
+6 1
+3 2
+3 5
+1 6
+5 6
+2
+1 3
+5 3
+6 6
+6
+3 2
+3 5
+6 1
+1 1
+1 6
+5 6
+2
+2 3
+5 3
+0 0
diff --git a/public_test_cases/p00193/output.0.txt b/public_test_cases/p00193/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7290ba859f4adbf90d68526fe0ab1f8cbcf65098
--- /dev/null
+++ b/public_test_cases/p00193/output.0.txt
@@ -0,0 +1,2 @@
+4
+4
diff --git a/public_test_cases/p00193/output.1.txt b/public_test_cases/p00193/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7290ba859f4adbf90d68526fe0ab1f8cbcf65098
--- /dev/null
+++ b/public_test_cases/p00193/output.1.txt
@@ -0,0 +1,2 @@
+4
+4
diff --git a/public_test_cases/p00194/input.0.txt b/public_test_cases/p00194/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22ca47f88d96a7d5fc5ea3260a0f5096524064da
--- /dev/null
+++ b/public_test_cases/p00194/input.0.txt
@@ -0,0 +1,43 @@
+4 5
+1
+3
+b-2 3
+c-3 2
+c-4 1
+3
+a-2 b-2
+b-3 c-3
+d-3 d-4
+2
+b-3 b-4 1
+c-1 d-1 1
+d-1 b-4
+4 5
+1
+3
+b-2 3
+c-3 2
+c-4 1
+3
+a-2 b-2
+b-3 c-3
+d-3 d-4
+2
+b-3 b-4 1
+c-1 d-1 1
+d-2 b-4
+4 5
+1
+3
+b-2 3
+c-3 2
+c-4 1
+3
+a-2 b-2
+b-3 c-3
+d-3 d-4
+2
+b-3 b-4 1
+c-1 d-1 1
+d-3 b-4
+0 0
diff --git a/public_test_cases/p00194/output.0.txt b/public_test_cases/p00194/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da8e9a099bbd8150bc622abb994ff28e96710a95
--- /dev/null
+++ b/public_test_cases/p00194/output.0.txt
@@ -0,0 +1,3 @@
+7
+4
+8
diff --git a/public_test_cases/p00195/input.0.txt b/public_test_cases/p00195/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfc0bc0b5fee1e6db56f4c6e7c3f0c1aec927cd0
--- /dev/null
+++ b/public_test_cases/p00195/input.0.txt
@@ -0,0 +1,11 @@
+1593 4311
+4321 2155
+1256 6421
+5310 1455
+2152 5421
+1549 3386
+4528 3719
+1234 4321
+3330 3109
+2739 2199
+0 0
diff --git a/public_test_cases/p00195/input.1.txt b/public_test_cases/p00195/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfc0bc0b5fee1e6db56f4c6e7c3f0c1aec927cd0
--- /dev/null
+++ b/public_test_cases/p00195/input.1.txt
@@ -0,0 +1,11 @@
+1593 4311
+4321 2155
+1256 6421
+5310 1455
+2152 5421
+1549 3386
+4528 3719
+1234 4321
+3330 3109
+2739 2199
+0 0
diff --git a/public_test_cases/p00195/output.0.txt b/public_test_cases/p00195/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea7159f64b28764a2a0ba12de0102aa11b5495f0
--- /dev/null
+++ b/public_test_cases/p00195/output.0.txt
@@ -0,0 +1,2 @@
+C 7677
+B 8247
diff --git a/public_test_cases/p00195/output.1.txt b/public_test_cases/p00195/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea7159f64b28764a2a0ba12de0102aa11b5495f0
--- /dev/null
+++ b/public_test_cases/p00195/output.1.txt
@@ -0,0 +1,2 @@
+C 7677
+B 8247
diff --git a/public_test_cases/p00196/input.0.txt b/public_test_cases/p00196/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..661e1b3e06ed5631516d6162cab17a3d6e076ccc
--- /dev/null
+++ b/public_test_cases/p00196/input.0.txt
@@ -0,0 +1,13 @@
+6
+A 1 0 0 2 0
+B 0 0 1 1 0
+C 1 1 1 1 1
+D 1 0 0 1 2
+E 2 0 0 0 0
+F 1 1 0 2 1
+4
+g 1 1 1
+h 0 1 2
+w 0 0 0
+b 0 2 1
+0
diff --git a/public_test_cases/p00196/input.1.txt b/public_test_cases/p00196/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..661e1b3e06ed5631516d6162cab17a3d6e076ccc
--- /dev/null
+++ b/public_test_cases/p00196/input.1.txt
@@ -0,0 +1,13 @@
+6
+A 1 0 0 2 0
+B 0 0 1 1 0
+C 1 1 1 1 1
+D 1 0 0 1 2
+E 2 0 0 0 0
+F 1 1 0 2 1
+4
+g 1 1 1
+h 0 1 2
+w 0 0 0
+b 0 2 1
+0
diff --git a/public_test_cases/p00196/output.0.txt b/public_test_cases/p00196/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55c3ee3f8678885dc213d4884c704552c89b96d8
--- /dev/null
+++ b/public_test_cases/p00196/output.0.txt
@@ -0,0 +1,10 @@
+E
+A
+B
+D
+F
+C
+w
+h
+b
+g
diff --git a/public_test_cases/p00196/output.1.txt b/public_test_cases/p00196/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55c3ee3f8678885dc213d4884c704552c89b96d8
--- /dev/null
+++ b/public_test_cases/p00196/output.1.txt
@@ -0,0 +1,10 @@
+E
+A
+B
+D
+F
+C
+w
+h
+b
+g
diff --git a/public_test_cases/p00197/input.0.txt b/public_test_cases/p00197/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79926a24509a46fdac445219cb6483a211aefa99
--- /dev/null
+++ b/public_test_cases/p00197/input.0.txt
@@ -0,0 +1,3 @@
+1071 1029
+5 5
+0 0
diff --git a/public_test_cases/p00197/input.1.txt b/public_test_cases/p00197/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79926a24509a46fdac445219cb6483a211aefa99
--- /dev/null
+++ b/public_test_cases/p00197/input.1.txt
@@ -0,0 +1,3 @@
+1071 1029
+5 5
+0 0
diff --git a/public_test_cases/p00197/output.0.txt b/public_test_cases/p00197/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a49e54f4431055d477e8539c49af99f2675f5e6f
--- /dev/null
+++ b/public_test_cases/p00197/output.0.txt
@@ -0,0 +1,2 @@
+21 3
+5 1
diff --git a/public_test_cases/p00197/output.1.txt b/public_test_cases/p00197/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a49e54f4431055d477e8539c49af99f2675f5e6f
--- /dev/null
+++ b/public_test_cases/p00197/output.1.txt
@@ -0,0 +1,2 @@
+21 3
+5 1
diff --git a/public_test_cases/p00198/input.0.txt b/public_test_cases/p00198/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05c6f30baaae85b220f7537ceacbc302cffa4e21
--- /dev/null
+++ b/public_test_cases/p00198/input.0.txt
@@ -0,0 +1,10 @@
+3
+Cyan Yellow Red Magenta Green Blue
+Cyan Yellow Red Magenta Green Blue
+Red Yellow Magenta Blue Green Cyan
+4
+Red Magenta Blue Green Yellow Cyan
+Red Yellow Magenta Blue Green Cyan
+Magenta Green Red Cyan Yellow Blue
+Cyan Green Yellow Blue Magenta Red
+0
diff --git a/public_test_cases/p00198/input.1.txt b/public_test_cases/p00198/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05c6f30baaae85b220f7537ceacbc302cffa4e21
--- /dev/null
+++ b/public_test_cases/p00198/input.1.txt
@@ -0,0 +1,10 @@
+3
+Cyan Yellow Red Magenta Green Blue
+Cyan Yellow Red Magenta Green Blue
+Red Yellow Magenta Blue Green Cyan
+4
+Red Magenta Blue Green Yellow Cyan
+Red Yellow Magenta Blue Green Cyan
+Magenta Green Red Cyan Yellow Blue
+Cyan Green Yellow Blue Magenta Red
+0
diff --git a/public_test_cases/p00198/output.0.txt b/public_test_cases/p00198/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p00198/output.0.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p00198/output.1.txt b/public_test_cases/p00198/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p00198/output.1.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p00199/input.0.txt b/public_test_cases/p00199/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aaa946c6ad46285a4b434b2b504fd827504ac30
--- /dev/null
+++ b/public_test_cases/p00199/input.0.txt
@@ -0,0 +1,11 @@
+5 4
+A
+B
+C
+D
+5 4
+D
+C
+B
+A
+0 0
diff --git a/public_test_cases/p00199/input.1.txt b/public_test_cases/p00199/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aaa946c6ad46285a4b434b2b504fd827504ac30
--- /dev/null
+++ b/public_test_cases/p00199/input.1.txt
@@ -0,0 +1,11 @@
+5 4
+A
+B
+C
+D
+5 4
+D
+C
+B
+A
+0 0
diff --git a/public_test_cases/p00199/output.0.txt b/public_test_cases/p00199/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c93e6e74b07ac85e861c19be5ee2492c87f2cd22
--- /dev/null
+++ b/public_test_cases/p00199/output.0.txt
@@ -0,0 +1,2 @@
+ACD#B
+DCA#B
diff --git a/public_test_cases/p00199/output.1.txt b/public_test_cases/p00199/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c93e6e74b07ac85e861c19be5ee2492c87f2cd22
--- /dev/null
+++ b/public_test_cases/p00199/output.1.txt
@@ -0,0 +1,2 @@
+ACD#B
+DCA#B
diff --git a/public_test_cases/p00200/input.0.txt b/public_test_cases/p00200/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81f3d8dfdd279b1459c693167e6318a5a9aa1027
--- /dev/null
+++ b/public_test_cases/p00200/input.0.txt
@@ -0,0 +1,11 @@
+6 5
+1 2 200 10
+1 4 400 15
+1 3 250 25
+2 4 100 10
+4 5 150 20
+3 5 300 20
+2
+1 5 0
+1 5 1
+0 0
diff --git a/public_test_cases/p00200/input.1.txt b/public_test_cases/p00200/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81f3d8dfdd279b1459c693167e6318a5a9aa1027
--- /dev/null
+++ b/public_test_cases/p00200/input.1.txt
@@ -0,0 +1,11 @@
+6 5
+1 2 200 10
+1 4 400 15
+1 3 250 25
+2 4 100 10
+4 5 150 20
+3 5 300 20
+2
+1 5 0
+1 5 1
+0 0
diff --git a/public_test_cases/p00200/output.0.txt b/public_test_cases/p00200/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..417e759543255b8c1a0dc21755615c6d9e71f03f
--- /dev/null
+++ b/public_test_cases/p00200/output.0.txt
@@ -0,0 +1,2 @@
+450
+35
diff --git a/public_test_cases/p00200/output.1.txt b/public_test_cases/p00200/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..417e759543255b8c1a0dc21755615c6d9e71f03f
--- /dev/null
+++ b/public_test_cases/p00200/output.1.txt
@@ -0,0 +1,2 @@
+450
+35
diff --git a/public_test_cases/p00201/input.0.txt b/public_test_cases/p00201/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbbb7eb5af9c7a0d9beb9cf2937d54811f91e2e8
--- /dev/null
+++ b/public_test_cases/p00201/input.0.txt
@@ -0,0 +1,19 @@
+8
+wood 3000
+string 800
+rice 36
+water 0
+racket 5000
+microphone 9800
+onigiri 140
+guitar 98000
+3
+racket 2 wood string
+onigiri 2 rice water
+guitar 3 racket microphone onigiri
+guitar
+1
+computer 300000
+0
+computer
+0
diff --git a/public_test_cases/p00201/input.1.txt b/public_test_cases/p00201/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbbb7eb5af9c7a0d9beb9cf2937d54811f91e2e8
--- /dev/null
+++ b/public_test_cases/p00201/input.1.txt
@@ -0,0 +1,19 @@
+8
+wood 3000
+string 800
+rice 36
+water 0
+racket 5000
+microphone 9800
+onigiri 140
+guitar 98000
+3
+racket 2 wood string
+onigiri 2 rice water
+guitar 3 racket microphone onigiri
+guitar
+1
+computer 300000
+0
+computer
+0
diff --git a/public_test_cases/p00201/output.0.txt b/public_test_cases/p00201/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0ebd584c3a22e3d6d82499ad70c8f2d68a5f754
--- /dev/null
+++ b/public_test_cases/p00201/output.0.txt
@@ -0,0 +1,2 @@
+13636
+300000
diff --git a/public_test_cases/p00201/output.1.txt b/public_test_cases/p00201/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0ebd584c3a22e3d6d82499ad70c8f2d68a5f754
--- /dev/null
+++ b/public_test_cases/p00201/output.1.txt
@@ -0,0 +1,2 @@
+13636
+300000
diff --git a/public_test_cases/p00202/input.0.txt b/public_test_cases/p00202/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b59f65ebfb8cc4a62e0baf9c837eb014f4137a5a
--- /dev/null
+++ b/public_test_cases/p00202/input.0.txt
@@ -0,0 +1,14 @@
+4 15000
+305
+260
+129
+500
+3 400
+10
+20
+30
+3 200909
+5
+9
+12
+0 0
diff --git a/public_test_cases/p00202/input.1.txt b/public_test_cases/p00202/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b59f65ebfb8cc4a62e0baf9c837eb014f4137a5a
--- /dev/null
+++ b/public_test_cases/p00202/input.1.txt
@@ -0,0 +1,14 @@
+4 15000
+305
+260
+129
+500
+3 400
+10
+20
+30
+3 200909
+5
+9
+12
+0 0
diff --git a/public_test_cases/p00202/output.0.txt b/public_test_cases/p00202/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d936e8404943939b534b3d6cb4be54d2af3a40f
--- /dev/null
+++ b/public_test_cases/p00202/output.0.txt
@@ -0,0 +1,3 @@
+14983
+NA
+200909
diff --git a/public_test_cases/p00202/output.1.txt b/public_test_cases/p00202/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d936e8404943939b534b3d6cb4be54d2af3a40f
--- /dev/null
+++ b/public_test_cases/p00202/output.1.txt
@@ -0,0 +1,3 @@
+14983
+NA
+200909
diff --git a/public_test_cases/p00203/input.0.txt b/public_test_cases/p00203/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e836494035861c15547421b46ca27afad62ed91
--- /dev/null
+++ b/public_test_cases/p00203/input.0.txt
@@ -0,0 +1,29 @@
+5 5
+0 0 0 0 1
+2 1 0 2 0
+1 0 0 1 1
+0 2 1 2 0
+0 1 0 0 0
+5 5
+0 0 1 0 0
+2 1 0 2 0
+1 0 0 1 1
+0 2 1 2 0
+0 1 0 0 0
+15 15
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0
diff --git a/public_test_cases/p00203/input.1.txt b/public_test_cases/p00203/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e836494035861c15547421b46ca27afad62ed91
--- /dev/null
+++ b/public_test_cases/p00203/input.1.txt
@@ -0,0 +1,29 @@
+5 5
+0 0 0 0 1
+2 1 0 2 0
+1 0 0 1 1
+0 2 1 2 0
+0 1 0 0 0
+5 5
+0 0 1 0 0
+2 1 0 2 0
+1 0 0 1 1
+0 2 1 2 0
+0 1 0 0 0
+15 15
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0
diff --git a/public_test_cases/p00203/output.0.txt b/public_test_cases/p00203/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d0c169d5c13f8f3a0c8275a3d6036f05113246a
--- /dev/null
+++ b/public_test_cases/p00203/output.0.txt
@@ -0,0 +1,3 @@
+8
+6
+52694573
diff --git a/public_test_cases/p00203/output.1.txt b/public_test_cases/p00203/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d0c169d5c13f8f3a0c8275a3d6036f05113246a
--- /dev/null
+++ b/public_test_cases/p00203/output.1.txt
@@ -0,0 +1,3 @@
+8
+6
+52694573
diff --git a/public_test_cases/p00204/input.0.txt b/public_test_cases/p00204/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05e5281c2ab6d4c6148e623c7f139e69f9f3e682
--- /dev/null
+++ b/public_test_cases/p00204/input.0.txt
@@ -0,0 +1,19 @@
+100 5
+101 101 5 5
+110 110 2 3
+-112 -100 9 11
+-208 160 82 90
+-110 108 10 2
+10 11
+15 0 5 1
+25 0 5 1
+35 0 5 1
+45 0 5 1
+55 0 5 1
+65 0 5 1
+75 0 5 1
+85 0 5 1
+95 0 5 1
+-20 0 5 20
+-30 0 500 5
+0 0
diff --git a/public_test_cases/p00204/input.1.txt b/public_test_cases/p00204/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05e5281c2ab6d4c6148e623c7f139e69f9f3e682
--- /dev/null
+++ b/public_test_cases/p00204/input.1.txt
@@ -0,0 +1,19 @@
+100 5
+101 101 5 5
+110 110 2 3
+-112 -100 9 11
+-208 160 82 90
+-110 108 10 2
+10 11
+15 0 5 1
+25 0 5 1
+35 0 5 1
+45 0 5 1
+55 0 5 1
+65 0 5 1
+75 0 5 1
+85 0 5 1
+95 0 5 1
+-20 0 5 20
+-30 0 500 5
+0 0
diff --git a/public_test_cases/p00204/output.0.txt b/public_test_cases/p00204/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p00204/output.0.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p00204/output.1.txt b/public_test_cases/p00204/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p00204/output.1.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p00205/input.0.txt b/public_test_cases/p00205/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccd3a04bd40f727e14dedf5e790ef1621c567ca2
--- /dev/null
+++ b/public_test_cases/p00205/input.0.txt
@@ -0,0 +1,11 @@
+1
+2
+3
+2
+1
+1
+2
+2
+2
+1
+0
diff --git a/public_test_cases/p00205/input.1.txt b/public_test_cases/p00205/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccd3a04bd40f727e14dedf5e790ef1621c567ca2
--- /dev/null
+++ b/public_test_cases/p00205/input.1.txt
@@ -0,0 +1,11 @@
+1
+2
+3
+2
+1
+1
+2
+2
+2
+1
+0
diff --git a/public_test_cases/p00205/output.0.txt b/public_test_cases/p00205/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..520e7abb3b7c861641a5fe16b78209ee94790aa6
--- /dev/null
+++ b/public_test_cases/p00205/output.0.txt
@@ -0,0 +1,10 @@
+3
+3
+3
+3
+3
+1
+2
+2
+2
+1
diff --git a/public_test_cases/p00205/output.1.txt b/public_test_cases/p00205/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..520e7abb3b7c861641a5fe16b78209ee94790aa6
--- /dev/null
+++ b/public_test_cases/p00205/output.1.txt
@@ -0,0 +1,10 @@
+3
+3
+3
+3
+3
+1
+2
+2
+2
+1
diff --git a/public_test_cases/p00206/input.0.txt b/public_test_cases/p00206/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e3ccd6f396baa74186039f156c098ff9edaad44
--- /dev/null
+++ b/public_test_cases/p00206/input.0.txt
@@ -0,0 +1,27 @@
+10000
+5000 3150
+5000 5000
+0 0
+5000 1050
+5000 3980
+5000 210
+5000 5000
+5000 5000
+0 0
+5000 2100
+5000 2100
+5000 2100
+29170
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 70831
+0
diff --git a/public_test_cases/p00206/input.1.txt b/public_test_cases/p00206/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e3ccd6f396baa74186039f156c098ff9edaad44
--- /dev/null
+++ b/public_test_cases/p00206/input.1.txt
@@ -0,0 +1,27 @@
+10000
+5000 3150
+5000 5000
+0 0
+5000 1050
+5000 3980
+5000 210
+5000 5000
+5000 5000
+0 0
+5000 2100
+5000 2100
+5000 2100
+29170
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 70831
+0
diff --git a/public_test_cases/p00206/output.0.txt b/public_test_cases/p00206/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1901a097c05e92b6bb66587d6891787f8ca266bd
--- /dev/null
+++ b/public_test_cases/p00206/output.0.txt
@@ -0,0 +1,2 @@
+6
+NA
diff --git a/public_test_cases/p00206/output.1.txt b/public_test_cases/p00206/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1901a097c05e92b6bb66587d6891787f8ca266bd
--- /dev/null
+++ b/public_test_cases/p00206/output.1.txt
@@ -0,0 +1,2 @@
+6
+NA
diff --git a/public_test_cases/p00207/input.0.txt b/public_test_cases/p00207/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3fce10894064468cda1ccc6b4918b36351c68de
--- /dev/null
+++ b/public_test_cases/p00207/input.0.txt
@@ -0,0 +1,22 @@
+20 20
+1 1
+9 9
+7
+2 0 1 1
+5 1 1 3
+2 1 3 3
+1 1 5 2
+5 1 7 3
+2 0 2 7
+2 0 6 8
+20 20
+9 9
+1 1
+6
+2 0 1 1
+1 0 5 1
+2 1 1 3
+5 0 1 7
+3 1 5 5
+4 1 8 5
+0 0
diff --git a/public_test_cases/p00207/input.1.txt b/public_test_cases/p00207/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3fce10894064468cda1ccc6b4918b36351c68de
--- /dev/null
+++ b/public_test_cases/p00207/input.1.txt
@@ -0,0 +1,22 @@
+20 20
+1 1
+9 9
+7
+2 0 1 1
+5 1 1 3
+2 1 3 3
+1 1 5 2
+5 1 7 3
+2 0 2 7
+2 0 6 8
+20 20
+9 9
+1 1
+6
+2 0 1 1
+1 0 5 1
+2 1 1 3
+5 0 1 7
+3 1 5 5
+4 1 8 5
+0 0
diff --git a/public_test_cases/p00207/output.0.txt b/public_test_cases/p00207/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14b51739d7a3a392ce92a7cf76c0211e0cc3cc35
--- /dev/null
+++ b/public_test_cases/p00207/output.0.txt
@@ -0,0 +1,2 @@
+OK
+NG
diff --git a/public_test_cases/p00207/output.1.txt b/public_test_cases/p00207/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14b51739d7a3a392ce92a7cf76c0211e0cc3cc35
--- /dev/null
+++ b/public_test_cases/p00207/output.1.txt
@@ -0,0 +1,2 @@
+OK
+NG
diff --git a/public_test_cases/p00208/input.0.txt b/public_test_cases/p00208/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87bd9c7c65761a0c6093e354ee8b11678f1a6482
--- /dev/null
+++ b/public_test_cases/p00208/input.0.txt
@@ -0,0 +1,5 @@
+15
+100
+1000000000
+3
+0
diff --git a/public_test_cases/p00208/input.1.txt b/public_test_cases/p00208/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87bd9c7c65761a0c6093e354ee8b11678f1a6482
--- /dev/null
+++ b/public_test_cases/p00208/input.1.txt
@@ -0,0 +1,5 @@
+15
+100
+1000000000
+3
+0
diff --git a/public_test_cases/p00208/output.0.txt b/public_test_cases/p00208/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8614031ef29c9c387bf9fe584d74a3a62e4268cc
--- /dev/null
+++ b/public_test_cases/p00208/output.0.txt
@@ -0,0 +1,4 @@
+19
+155
+9358757000
+3
diff --git a/public_test_cases/p00208/output.1.txt b/public_test_cases/p00208/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8614031ef29c9c387bf9fe584d74a3a62e4268cc
--- /dev/null
+++ b/public_test_cases/p00208/output.1.txt
@@ -0,0 +1,4 @@
+19
+155
+9358757000
+3
diff --git a/public_test_cases/p00209/input.0.txt b/public_test_cases/p00209/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6e6e977996d5decead588fddb269de9ede703b4
--- /dev/null
+++ b/public_test_cases/p00209/input.0.txt
@@ -0,0 +1,23 @@
+8 4
+2 1 3 1 1 5 1 3
+2 3 2 4 1 0 2 1
+0 3 1 2 1 1 4 2
+1 2 3 2 1 1 5 4
+0 2 0 1 1 3 2 1
+1 3 1 2 2 4 3 2
+5 1 2 1 4 1 1 5
+4 1 1 0 1 2 2 1
+2 -1 -1 -1
+0 3 -1 -1
+-1 2 2 4
+-1 1 -1 1
+5 3
+1 0 2 3 5
+2 3 7 2 1
+2 5 4 2 2
+8 9 0 3 3
+3 6 0 4 7
+-1 -1 2
+-1 3 5
+0 4 -1
+0 0
diff --git a/public_test_cases/p00209/input.1.txt b/public_test_cases/p00209/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6e6e977996d5decead588fddb269de9ede703b4
--- /dev/null
+++ b/public_test_cases/p00209/input.1.txt
@@ -0,0 +1,23 @@
+8 4
+2 1 3 1 1 5 1 3
+2 3 2 4 1 0 2 1
+0 3 1 2 1 1 4 2
+1 2 3 2 1 1 5 4
+0 2 0 1 1 3 2 1
+1 3 1 2 2 4 3 2
+5 1 2 1 4 1 1 5
+4 1 1 0 1 2 2 1
+2 -1 -1 -1
+0 3 -1 -1
+-1 2 2 4
+-1 1 -1 1
+5 3
+1 0 2 3 5
+2 3 7 2 1
+2 5 4 2 2
+8 9 0 3 3
+3 6 0 4 7
+-1 -1 2
+-1 3 5
+0 4 -1
+0 0
diff --git a/public_test_cases/p00209/output.0.txt b/public_test_cases/p00209/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0936a1db27b7a38f9513fb7f072205f3a9ebfc57
--- /dev/null
+++ b/public_test_cases/p00209/output.0.txt
@@ -0,0 +1,2 @@
+4 2
+NA
diff --git a/public_test_cases/p00209/output.1.txt b/public_test_cases/p00209/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0936a1db27b7a38f9513fb7f072205f3a9ebfc57
--- /dev/null
+++ b/public_test_cases/p00209/output.1.txt
@@ -0,0 +1,2 @@
+4 2
+NA
diff --git a/public_test_cases/p00210/input.0.txt b/public_test_cases/p00210/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b7858d104c7b4141a513a1106539e57e222a060
--- /dev/null
+++ b/public_test_cases/p00210/input.0.txt
@@ -0,0 +1,32 @@
+10 3
+##########
+#E.......X
+##########
+4 4
+####
+#N.#
+#..X
+####
+5 5
+#####
+#N..#
+###.X
+#S..#
+#####
+6 6
+######
+#..#X#
+#.EE.#
+####N#
+#....#
+######
+8 8
+##X#####
+#....E.#
+#####.##
+#.#...##
+#.W.#..#
+#.#.N#.X
+#X##.#.#
+########
+0 0
diff --git a/public_test_cases/p00210/input.1.txt b/public_test_cases/p00210/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b7858d104c7b4141a513a1106539e57e222a060
--- /dev/null
+++ b/public_test_cases/p00210/input.1.txt
@@ -0,0 +1,32 @@
+10 3
+##########
+#E.......X
+##########
+4 4
+####
+#N.#
+#..X
+####
+5 5
+#####
+#N..#
+###.X
+#S..#
+#####
+6 6
+######
+#..#X#
+#.EE.#
+####N#
+#....#
+######
+8 8
+##X#####
+#....E.#
+#####.##
+#.#...##
+#.W.#..#
+#.#.N#.X
+#X##.#.#
+########
+0 0
diff --git a/public_test_cases/p00210/input.2.txt b/public_test_cases/p00210/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8e8461792e00f4c331297f3a0cde8cb2a9f35b8
--- /dev/null
+++ b/public_test_cases/p00210/input.2.txt
@@ -0,0 +1,32 @@
+10 3
+
+E.......X
+
+4 4
+
+N.#
+..X
+
+5 5
+
+N..#
+.X
+S..#
+
+6 6
+
+..#X#
+.EE.#
+N#
+....#
+
+8 8
+X#####
+....E.#
+.##
+.#...##
+.W.#..#
+.#.N#.X
+X##.#.#
+
+0 0
diff --git a/public_test_cases/p00210/output.0.txt b/public_test_cases/p00210/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27c341e6fed58861f793eaf90e3850ef7b3575db
--- /dev/null
+++ b/public_test_cases/p00210/output.0.txt
@@ -0,0 +1,5 @@
+8
+NA
+9
+16
+10
diff --git a/public_test_cases/p00210/output.1.txt b/public_test_cases/p00210/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27c341e6fed58861f793eaf90e3850ef7b3575db
--- /dev/null
+++ b/public_test_cases/p00210/output.1.txt
@@ -0,0 +1,5 @@
+8
+NA
+9
+16
+10
diff --git a/public_test_cases/p00210/output.2.txt b/public_test_cases/p00210/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27c341e6fed58861f793eaf90e3850ef7b3575db
--- /dev/null
+++ b/public_test_cases/p00210/output.2.txt
@@ -0,0 +1,5 @@
+8
+NA
+9
+16
+10
diff --git a/public_test_cases/p00211/input.0.txt b/public_test_cases/p00211/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5c0ae2f54cd7bd0f5f4c1e8356c9c5542513883
--- /dev/null
+++ b/public_test_cases/p00211/input.0.txt
@@ -0,0 +1,13 @@
+2
+4 3
+5 4
+5
+789 289
+166 46
+9 4
+617 252
+972 303
+2
+8 5
+32 20
+0
diff --git a/public_test_cases/p00211/input.1.txt b/public_test_cases/p00211/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5c0ae2f54cd7bd0f5f4c1e8356c9c5542513883
--- /dev/null
+++ b/public_test_cases/p00211/input.1.txt
@@ -0,0 +1,13 @@
+2
+4 3
+5 4
+5
+789 289
+166 46
+9 4
+617 252
+972 303
+2
+8 5
+32 20
+0
diff --git a/public_test_cases/p00211/output.0.txt b/public_test_cases/p00211/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b0ae7bd32c39b6de3dab589cf65ac8b2448a033
--- /dev/null
+++ b/public_test_cases/p00211/output.0.txt
@@ -0,0 +1,9 @@
+15
+16
+1598397732
+1209243492
+1939462992
+1782294192
+1360317793
+1
+1
diff --git a/public_test_cases/p00211/output.1.txt b/public_test_cases/p00211/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b0ae7bd32c39b6de3dab589cf65ac8b2448a033
--- /dev/null
+++ b/public_test_cases/p00211/output.1.txt
@@ -0,0 +1,9 @@
+15
+16
+1598397732
+1209243492
+1939462992
+1782294192
+1360317793
+1
+1
diff --git a/public_test_cases/p00212/input.0.txt b/public_test_cases/p00212/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8843841404f611518e6448be3550a0ce2ce5f007
--- /dev/null
+++ b/public_test_cases/p00212/input.0.txt
@@ -0,0 +1,16 @@
+1 3 3 1 3
+1 3 2000
+1 2 1000
+2 3 1000
+2 3 3 1 3
+1 3 2300
+1 2 1000
+2 3 1200
+2 6 6 5 1
+1 2 1500
+1 3 4500
+2 6 2000
+5 4 1000
+6 4 2200
+3 5 3000
+0 0 0 0 0
diff --git a/public_test_cases/p00212/input.1.txt b/public_test_cases/p00212/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8843841404f611518e6448be3550a0ce2ce5f007
--- /dev/null
+++ b/public_test_cases/p00212/input.1.txt
@@ -0,0 +1,16 @@
+1 3 3 1 3
+1 3 2000
+1 2 1000
+2 3 1000
+2 3 3 1 3
+1 3 2300
+1 2 1000
+2 3 1200
+2 6 6 5 1
+1 2 1500
+1 3 4500
+2 6 2000
+5 4 1000
+6 4 2200
+3 5 3000
+0 0 0 0 0
diff --git a/public_test_cases/p00212/output.0.txt b/public_test_cases/p00212/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85398aba288e8e1aecb4d48bb8c2ac39de616e29
--- /dev/null
+++ b/public_test_cases/p00212/output.0.txt
@@ -0,0 +1,3 @@
+1000
+1100
+3750
diff --git a/public_test_cases/p00212/output.1.txt b/public_test_cases/p00212/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85398aba288e8e1aecb4d48bb8c2ac39de616e29
--- /dev/null
+++ b/public_test_cases/p00212/output.1.txt
@@ -0,0 +1,3 @@
+1000
+1100
+3750
diff --git a/public_test_cases/p00213/input.0.txt b/public_test_cases/p00213/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bbe6aade99fb3d683196aa59504cffac274c8caa
--- /dev/null
+++ b/public_test_cases/p00213/input.0.txt
@@ -0,0 +1,26 @@
+5 4 6
+1 6
+2 4
+3 3
+4 4
+5 1
+6 2
+0 0 1 0 0
+0 0 0 2 0
+0 0 0 3 0
+0 4 5 0 6
+3 3 1
+1 9
+0 0 1
+0 0 0
+0 0 0
+4 4 4
+1 6
+2 2
+3 4
+4 4
+0 1 0 0
+0 0 0 2
+0 0 3 0
+0 4 0 0
+0 0 0
diff --git a/public_test_cases/p00213/input.1.txt b/public_test_cases/p00213/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bbe6aade99fb3d683196aa59504cffac274c8caa
--- /dev/null
+++ b/public_test_cases/p00213/input.1.txt
@@ -0,0 +1,26 @@
+5 4 6
+1 6
+2 4
+3 3
+4 4
+5 1
+6 2
+0 0 1 0 0
+0 0 0 2 0
+0 0 0 3 0
+0 4 5 0 6
+3 3 1
+1 9
+0 0 1
+0 0 0
+0 0 0
+4 4 4
+1 6
+2 2
+3 4
+4 4
+0 1 0 0
+0 0 0 2
+0 0 3 0
+0 4 0 0
+0 0 0
diff --git a/public_test_cases/p00213/output.0.txt b/public_test_cases/p00213/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f24d7bc89a5d6cdf9bcbea3d1cf86a20fc2d3d2
--- /dev/null
+++ b/public_test_cases/p00213/output.0.txt
@@ -0,0 +1,8 @@
+1 1 1 2 2
+1 1 1 2 2
+4 4 3 3 3
+4 4 5 6 6
+1 1 1
+1 1 1
+1 1 1
+NA
diff --git a/public_test_cases/p00213/output.1.txt b/public_test_cases/p00213/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f24d7bc89a5d6cdf9bcbea3d1cf86a20fc2d3d2
--- /dev/null
+++ b/public_test_cases/p00213/output.1.txt
@@ -0,0 +1,8 @@
+1 1 1 2 2
+1 1 1 2 2
+4 4 3 3 3
+4 4 5 6 6
+1 1 1
+1 1 1
+1 1 1
+NA
diff --git a/public_test_cases/p00214/input.0.txt b/public_test_cases/p00214/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c197fe5ef5ecd607b10014e19e076c20b1fbcdc6
--- /dev/null
+++ b/public_test_cases/p00214/input.0.txt
@@ -0,0 +1,15 @@
+3
+1
+0 0 0 1 1 1 1 0
+2
+0 0 0 1 1 1 1 0
+100 100 100 200 200 200 200 100
+2
+0 0 0 100 100 100 100 0
+10 10 10 20 20 20 20 10
+2
+1
+30 40 40 50 40 20 20 10
+1
+30 40 40 50 40 20 20 10
+0
diff --git a/public_test_cases/p00214/input.1.txt b/public_test_cases/p00214/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c197fe5ef5ecd607b10014e19e076c20b1fbcdc6
--- /dev/null
+++ b/public_test_cases/p00214/input.1.txt
@@ -0,0 +1,15 @@
+3
+1
+0 0 0 1 1 1 1 0
+2
+0 0 0 1 1 1 1 0
+100 100 100 200 200 200 200 100
+2
+0 0 0 100 100 100 100 0
+10 10 10 20 20 20 20 10
+2
+1
+30 40 40 50 40 20 20 10
+1
+30 40 40 50 40 20 20 10
+0
diff --git a/public_test_cases/p00214/output.0.txt b/public_test_cases/p00214/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa148df726409e7450c70d7b4d6191233d4b75f5
--- /dev/null
+++ b/public_test_cases/p00214/output.0.txt
@@ -0,0 +1,5 @@
+1
+2
+1
+1
+1
diff --git a/public_test_cases/p00214/output.1.txt b/public_test_cases/p00214/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa148df726409e7450c70d7b4d6191233d4b75f5
--- /dev/null
+++ b/public_test_cases/p00214/output.1.txt
@@ -0,0 +1,5 @@
+1
+2
+1
+1
+1
diff --git a/public_test_cases/p00215/input.0.txt b/public_test_cases/p00215/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52fbd4f6b29400ca6ce8a357c629d78ef974778c
--- /dev/null
+++ b/public_test_cases/p00215/input.0.txt
@@ -0,0 +1,11 @@
+6 6
+S.1..4
+3..5..
+..4.1.
+4....5
+.2.32.
+5.1..G
+3 2
+...
+S.G
+0 0
diff --git a/public_test_cases/p00215/input.1.txt b/public_test_cases/p00215/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52fbd4f6b29400ca6ce8a357c629d78ef974778c
--- /dev/null
+++ b/public_test_cases/p00215/input.1.txt
@@ -0,0 +1,11 @@
+6 6
+S.1..4
+3..5..
+..4.1.
+4....5
+.2.32.
+5.1..G
+3 2
+...
+S.G
+0 0
diff --git a/public_test_cases/p00215/output.0.txt b/public_test_cases/p00215/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4be2bc763289efbbd55a873695c4b3d968eee53
--- /dev/null
+++ b/public_test_cases/p00215/output.0.txt
@@ -0,0 +1,2 @@
+2 10
+NA
diff --git a/public_test_cases/p00215/output.1.txt b/public_test_cases/p00215/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4be2bc763289efbbd55a873695c4b3d968eee53
--- /dev/null
+++ b/public_test_cases/p00215/output.1.txt
@@ -0,0 +1,2 @@
+2 10
+NA
diff --git a/public_test_cases/p00216/input.0.txt b/public_test_cases/p00216/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d0c3666cdb1b2f458dc10d11aa2a27e529e2139
--- /dev/null
+++ b/public_test_cases/p00216/input.0.txt
@@ -0,0 +1,4 @@
+29
+40
+0
+-1
diff --git a/public_test_cases/p00216/input.1.txt b/public_test_cases/p00216/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d0c3666cdb1b2f458dc10d11aa2a27e529e2139
--- /dev/null
+++ b/public_test_cases/p00216/input.1.txt
@@ -0,0 +1,4 @@
+29
+40
+0
+-1
diff --git a/public_test_cases/p00216/output.0.txt b/public_test_cases/p00216/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8739ec399f953c1af1fe9c0ac8c20d098e139eb8
--- /dev/null
+++ b/public_test_cases/p00216/output.0.txt
@@ -0,0 +1,3 @@
+620
+-1120
+3130
diff --git a/public_test_cases/p00216/output.1.txt b/public_test_cases/p00216/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8739ec399f953c1af1fe9c0ac8c20d098e139eb8
--- /dev/null
+++ b/public_test_cases/p00216/output.1.txt
@@ -0,0 +1,3 @@
+620
+-1120
+3130
diff --git a/public_test_cases/p00217/input.0.txt b/public_test_cases/p00217/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a36e8bbb119077266997b4104efdc051df5cd7b
--- /dev/null
+++ b/public_test_cases/p00217/input.0.txt
@@ -0,0 +1,11 @@
+5
+263 2345 2504
+1 3210 1985
+5000 1501 4132
+10000 503 3107
+51 1758 2690
+3
+345 5000 2396
+7 3910 1590
+6789 2525 3616
+0
diff --git a/public_test_cases/p00217/input.1.txt b/public_test_cases/p00217/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a36e8bbb119077266997b4104efdc051df5cd7b
--- /dev/null
+++ b/public_test_cases/p00217/input.1.txt
@@ -0,0 +1,11 @@
+5
+263 2345 2504
+1 3210 1985
+5000 1501 4132
+10000 503 3107
+51 1758 2690
+3
+345 5000 2396
+7 3910 1590
+6789 2525 3616
+0
diff --git a/public_test_cases/p00217/output.0.txt b/public_test_cases/p00217/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..472dde19b526a78bf15089916f2ef1a765c622e5
--- /dev/null
+++ b/public_test_cases/p00217/output.0.txt
@@ -0,0 +1,2 @@
+5000 5633
+345 7396
diff --git a/public_test_cases/p00217/output.1.txt b/public_test_cases/p00217/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..472dde19b526a78bf15089916f2ef1a765c622e5
--- /dev/null
+++ b/public_test_cases/p00217/output.1.txt
@@ -0,0 +1,2 @@
+5000 5633
+345 7396
diff --git a/public_test_cases/p00218/input.0.txt b/public_test_cases/p00218/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a87d17cfd536a00b421a62bd381cb232199ed195
--- /dev/null
+++ b/public_test_cases/p00218/input.0.txt
@@ -0,0 +1,9 @@
+4
+100 70 20
+98 86 55
+80 34 36
+65 79 65
+2
+99 81 20
+66 72 90
+0
diff --git a/public_test_cases/p00218/input.1.txt b/public_test_cases/p00218/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a87d17cfd536a00b421a62bd381cb232199ed195
--- /dev/null
+++ b/public_test_cases/p00218/input.1.txt
@@ -0,0 +1,9 @@
+4
+100 70 20
+98 86 55
+80 34 36
+65 79 65
+2
+99 81 20
+66 72 90
+0
diff --git a/public_test_cases/p00218/output.0.txt b/public_test_cases/p00218/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fdb569209fcb49bd81a922591c54466595db30f
--- /dev/null
+++ b/public_test_cases/p00218/output.0.txt
@@ -0,0 +1,6 @@
+A
+A
+B
+C
+A
+B
diff --git a/public_test_cases/p00218/output.1.txt b/public_test_cases/p00218/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fdb569209fcb49bd81a922591c54466595db30f
--- /dev/null
+++ b/public_test_cases/p00218/output.1.txt
@@ -0,0 +1,6 @@
+A
+A
+B
+C
+A
+B
diff --git a/public_test_cases/p00219/input.0.txt b/public_test_cases/p00219/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5e1c564d93483901621230b7f7b0dd872d9cad2
--- /dev/null
+++ b/public_test_cases/p00219/input.0.txt
@@ -0,0 +1,21 @@
+15
+2
+6
+7
+0
+1
+9
+8
+7
+3
+8
+9
+4
+8
+2
+2
+3
+9
+1
+5
+0
diff --git a/public_test_cases/p00219/input.1.txt b/public_test_cases/p00219/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5e1c564d93483901621230b7f7b0dd872d9cad2
--- /dev/null
+++ b/public_test_cases/p00219/input.1.txt
@@ -0,0 +1,21 @@
+15
+2
+6
+7
+0
+1
+9
+8
+7
+3
+8
+9
+4
+8
+2
+2
+3
+9
+1
+5
+0
diff --git a/public_test_cases/p00219/output.0.txt b/public_test_cases/p00219/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afcbdf0216ad7649c76de02f23eec8b904f4d7f0
--- /dev/null
+++ b/public_test_cases/p00219/output.0.txt
@@ -0,0 +1,20 @@
+*
+*
+***
+*
+*
+-
+*
+**
+***
+**
+-
+*
+-
+-
+-
+*
+-
+-
+-
+*
diff --git a/public_test_cases/p00219/output.1.txt b/public_test_cases/p00219/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afcbdf0216ad7649c76de02f23eec8b904f4d7f0
--- /dev/null
+++ b/public_test_cases/p00219/output.1.txt
@@ -0,0 +1,20 @@
+*
+*
+***
+*
+*
+-
+*
+**
+***
+**
+-
+*
+-
+-
+-
+*
+-
+-
+-
+*
diff --git a/public_test_cases/p00220/input.0.txt b/public_test_cases/p00220/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d56a3faf6013091380a27a1144b5e11c5d585315
--- /dev/null
+++ b/public_test_cases/p00220/input.0.txt
@@ -0,0 +1,3 @@
+23.5
+158.1
+-1.0
diff --git a/public_test_cases/p00220/input.1.txt b/public_test_cases/p00220/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d56a3faf6013091380a27a1144b5e11c5d585315
--- /dev/null
+++ b/public_test_cases/p00220/input.1.txt
@@ -0,0 +1,3 @@
+23.5
+158.1
+-1.0
diff --git a/public_test_cases/p00220/output.0.txt b/public_test_cases/p00220/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..208e7141275e961e0059a7aff1cab7b608335805
--- /dev/null
+++ b/public_test_cases/p00220/output.0.txt
@@ -0,0 +1,2 @@
+00010111.1000
+NA
diff --git a/public_test_cases/p00220/output.1.txt b/public_test_cases/p00220/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..208e7141275e961e0059a7aff1cab7b608335805
--- /dev/null
+++ b/public_test_cases/p00220/output.1.txt
@@ -0,0 +1,2 @@
+00010111.1000
+NA
diff --git a/public_test_cases/p00221/input.0.txt b/public_test_cases/p00221/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d71d5164592be50f784f4bd81b8158339a70319
--- /dev/null
+++ b/public_test_cases/p00221/input.0.txt
@@ -0,0 +1,15 @@
+5 7
+1
+2
+Fizz
+4
+Buzz
+6
+7
+3 5
+1
+2
+3
+4
+5
+0 0
diff --git a/public_test_cases/p00221/input.1.txt b/public_test_cases/p00221/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d71d5164592be50f784f4bd81b8158339a70319
--- /dev/null
+++ b/public_test_cases/p00221/input.1.txt
@@ -0,0 +1,15 @@
+5 7
+1
+2
+Fizz
+4
+Buzz
+6
+7
+3 5
+1
+2
+3
+4
+5
+0 0
diff --git a/public_test_cases/p00221/output.0.txt b/public_test_cases/p00221/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..103a1ca8bcd9c167c4b1789480a059bc230c7227
--- /dev/null
+++ b/public_test_cases/p00221/output.0.txt
@@ -0,0 +1,2 @@
+2 3 4 5
+1
diff --git a/public_test_cases/p00221/output.1.txt b/public_test_cases/p00221/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..103a1ca8bcd9c167c4b1789480a059bc230c7227
--- /dev/null
+++ b/public_test_cases/p00221/output.1.txt
@@ -0,0 +1,2 @@
+2 3 4 5
+1
diff --git a/public_test_cases/p00222/input.0.txt b/public_test_cases/p00222/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9666f631e8358a71ad4cc9c6ffe2c87b0767b808
--- /dev/null
+++ b/public_test_cases/p00222/input.0.txt
@@ -0,0 +1,10 @@
+13
+14
+15
+16
+17
+18
+19
+20
+10000
+0
diff --git a/public_test_cases/p00222/input.1.txt b/public_test_cases/p00222/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9666f631e8358a71ad4cc9c6ffe2c87b0767b808
--- /dev/null
+++ b/public_test_cases/p00222/input.1.txt
@@ -0,0 +1,10 @@
+13
+14
+15
+16
+17
+18
+19
+20
+10000
+0
diff --git a/public_test_cases/p00222/output.0.txt b/public_test_cases/p00222/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23cae1c9f3b753cfb18240f84fa4ab476d4db43a
--- /dev/null
+++ b/public_test_cases/p00222/output.0.txt
@@ -0,0 +1,9 @@
+13
+13
+13
+13
+13
+13
+19
+19
+9439
diff --git a/public_test_cases/p00222/output.1.txt b/public_test_cases/p00222/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23cae1c9f3b753cfb18240f84fa4ab476d4db43a
--- /dev/null
+++ b/public_test_cases/p00222/output.1.txt
@@ -0,0 +1,9 @@
+13
+13
+13
+13
+13
+13
+19
+19
+9439
diff --git a/public_test_cases/p00223/input.0.txt b/public_test_cases/p00223/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded99c39a80d269d2be825c6b0f184fac7d0c7cf
--- /dev/null
+++ b/public_test_cases/p00223/input.0.txt
@@ -0,0 +1,16 @@
+6 6
+2 4
+6 2
+0 0 0 0 1 0
+0 1 0 0 0 0
+0 1 0 0 0 0
+0 0 0 1 0 0
+0 0 0 0 0 1
+0 0 0 0 0 0
+3 3
+1 1
+3 3
+0 0 0
+0 1 0
+0 0 0
+0 0
diff --git a/public_test_cases/p00223/input.1.txt b/public_test_cases/p00223/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded99c39a80d269d2be825c6b0f184fac7d0c7cf
--- /dev/null
+++ b/public_test_cases/p00223/input.1.txt
@@ -0,0 +1,16 @@
+6 6
+2 4
+6 2
+0 0 0 0 1 0
+0 1 0 0 0 0
+0 1 0 0 0 0
+0 0 0 1 0 0
+0 0 0 0 0 1
+0 0 0 0 0 0
+3 3
+1 1
+3 3
+0 0 0
+0 1 0
+0 0 0
+0 0
diff --git a/public_test_cases/p00223/output.0.txt b/public_test_cases/p00223/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4d9939b23cee6eb0dc46d6b81bca1a6ab93be9b
--- /dev/null
+++ b/public_test_cases/p00223/output.0.txt
@@ -0,0 +1,2 @@
+3
+NA
diff --git a/public_test_cases/p00223/output.1.txt b/public_test_cases/p00223/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4d9939b23cee6eb0dc46d6b81bca1a6ab93be9b
--- /dev/null
+++ b/public_test_cases/p00223/output.1.txt
@@ -0,0 +1,2 @@
+3
+NA
diff --git a/public_test_cases/p00224/input.0.txt b/public_test_cases/p00224/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ff242af363af817392b8f96d8d432bcf7188b92
--- /dev/null
+++ b/public_test_cases/p00224/input.0.txt
@@ -0,0 +1,16 @@
+1 1 2 5
+35
+H L1 5
+C1 D 6
+C1 H 12
+L1 D 10
+C1 L1 20
+2 1 4 6
+100 70
+H L1 5
+C1 L1 12
+C1 D 11
+C2 L1 7
+C2 D 15
+L1 D 8
+0 0 0 0
diff --git a/public_test_cases/p00224/input.1.txt b/public_test_cases/p00224/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ff242af363af817392b8f96d8d432bcf7188b92
--- /dev/null
+++ b/public_test_cases/p00224/input.1.txt
@@ -0,0 +1,16 @@
+1 1 2 5
+35
+H L1 5
+C1 D 6
+C1 H 12
+L1 D 10
+C1 L1 20
+2 1 4 6
+100 70
+H L1 5
+C1 L1 12
+C1 D 11
+C2 L1 7
+C2 D 15
+L1 D 8
+0 0 0 0
diff --git a/public_test_cases/p00224/output.0.txt b/public_test_cases/p00224/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..223767efa820bfec43233770fc3e2f3cef22c328
--- /dev/null
+++ b/public_test_cases/p00224/output.0.txt
@@ -0,0 +1,2 @@
+1
+-2
diff --git a/public_test_cases/p00224/output.1.txt b/public_test_cases/p00224/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..223767efa820bfec43233770fc3e2f3cef22c328
--- /dev/null
+++ b/public_test_cases/p00224/output.1.txt
@@ -0,0 +1,2 @@
+1
+-2
diff --git a/public_test_cases/p00225/input.0.txt b/public_test_cases/p00225/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe5f2383add311203e233548bc2f3099ca7893e9
--- /dev/null
+++ b/public_test_cases/p00225/input.0.txt
@@ -0,0 +1,15 @@
+5
+apple
+yellow
+georgia
+king
+email
+7
+apple
+yellow
+georgia
+king
+email
+wink
+lucky
+0
diff --git a/public_test_cases/p00225/input.1.txt b/public_test_cases/p00225/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe5f2383add311203e233548bc2f3099ca7893e9
--- /dev/null
+++ b/public_test_cases/p00225/input.1.txt
@@ -0,0 +1,15 @@
+5
+apple
+yellow
+georgia
+king
+email
+7
+apple
+yellow
+georgia
+king
+email
+wink
+lucky
+0
diff --git a/public_test_cases/p00225/output.0.txt b/public_test_cases/p00225/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e567f9e08a16e5834dffa203a1ba3027c32307c
--- /dev/null
+++ b/public_test_cases/p00225/output.0.txt
@@ -0,0 +1,2 @@
+NG
+OK
diff --git a/public_test_cases/p00225/output.1.txt b/public_test_cases/p00225/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e567f9e08a16e5834dffa203a1ba3027c32307c
--- /dev/null
+++ b/public_test_cases/p00225/output.1.txt
@@ -0,0 +1,2 @@
+NG
+OK
diff --git a/public_test_cases/p00226/input.0.txt b/public_test_cases/p00226/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59194b8c474ebca112640c0f44b9f6885da0ac3b
--- /dev/null
+++ b/public_test_cases/p00226/input.0.txt
@@ -0,0 +1,6 @@
+1234 5678
+1234 1354
+1234 1234
+1230 1023
+0123 1234
+0 0
diff --git a/public_test_cases/p00226/input.1.txt b/public_test_cases/p00226/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59194b8c474ebca112640c0f44b9f6885da0ac3b
--- /dev/null
+++ b/public_test_cases/p00226/input.1.txt
@@ -0,0 +1,6 @@
+1234 5678
+1234 1354
+1234 1234
+1230 1023
+0123 1234
+0 0
diff --git a/public_test_cases/p00226/output.0.txt b/public_test_cases/p00226/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae732da39d9736ab8aa28f97da1583e3e551a635
--- /dev/null
+++ b/public_test_cases/p00226/output.0.txt
@@ -0,0 +1,5 @@
+0 0
+2 1
+4 0
+1 3
+0 3
diff --git a/public_test_cases/p00226/output.1.txt b/public_test_cases/p00226/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae732da39d9736ab8aa28f97da1583e3e551a635
--- /dev/null
+++ b/public_test_cases/p00226/output.1.txt
@@ -0,0 +1,5 @@
+0 0
+2 1
+4 0
+1 3
+0 3
diff --git a/public_test_cases/p00227/input.0.txt b/public_test_cases/p00227/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba240043dc507f6052b737c8bf2a4a02b0ae246a
--- /dev/null
+++ b/public_test_cases/p00227/input.0.txt
@@ -0,0 +1,5 @@
+4 2
+50 40 100 80
+7 3
+400 300 100 700 200 600 500
+0 0
diff --git a/public_test_cases/p00227/input.1.txt b/public_test_cases/p00227/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba240043dc507f6052b737c8bf2a4a02b0ae246a
--- /dev/null
+++ b/public_test_cases/p00227/input.1.txt
@@ -0,0 +1,5 @@
+4 2
+50 40 100 80
+7 3
+400 300 100 700 200 600 500
+0 0
diff --git a/public_test_cases/p00227/output.0.txt b/public_test_cases/p00227/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d9e74eebd4a330b102f43008786e1d72bb73047
--- /dev/null
+++ b/public_test_cases/p00227/output.0.txt
@@ -0,0 +1,2 @@
+150
+2100
diff --git a/public_test_cases/p00227/output.1.txt b/public_test_cases/p00227/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d9e74eebd4a330b102f43008786e1d72bb73047
--- /dev/null
+++ b/public_test_cases/p00227/output.1.txt
@@ -0,0 +1,2 @@
+150
+2100
diff --git a/public_test_cases/p00228/input.0.txt b/public_test_cases/p00228/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9f8c811561af00a9a349be9f55c24c1c9d6994b
--- /dev/null
+++ b/public_test_cases/p00228/input.0.txt
@@ -0,0 +1,7 @@
+3
+0
+5
+1
+1
+0
+-1
diff --git a/public_test_cases/p00228/input.1.txt b/public_test_cases/p00228/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9f8c811561af00a9a349be9f55c24c1c9d6994b
--- /dev/null
+++ b/public_test_cases/p00228/input.1.txt
@@ -0,0 +1,7 @@
+3
+0
+5
+1
+1
+0
+-1
diff --git a/public_test_cases/p00228/output.0.txt b/public_test_cases/p00228/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c8caafe78c0298fa8c9b353c150d44d114029e7
--- /dev/null
+++ b/public_test_cases/p00228/output.0.txt
@@ -0,0 +1,4 @@
+0111111
+1010010
+1101011
+0111111
diff --git a/public_test_cases/p00228/output.1.txt b/public_test_cases/p00228/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c8caafe78c0298fa8c9b353c150d44d114029e7
--- /dev/null
+++ b/public_test_cases/p00228/output.1.txt
@@ -0,0 +1,4 @@
+0111111
+1010010
+1101011
+0111111
diff --git a/public_test_cases/p00229/input.0.txt b/public_test_cases/p00229/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed4bfd795ff45596a984b173e898a0ecf5607de2
--- /dev/null
+++ b/public_test_cases/p00229/input.0.txt
@@ -0,0 +1,6 @@
+3 2 30 3 26 226
+9 0 18 3 20 118
+5 5 12 2 15 203
+7 4 19 2 22 197
+7 4 24 4 17 209
+0 0 0 0 0 0
diff --git a/public_test_cases/p00229/input.1.txt b/public_test_cases/p00229/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed4bfd795ff45596a984b173e898a0ecf5607de2
--- /dev/null
+++ b/public_test_cases/p00229/input.1.txt
@@ -0,0 +1,6 @@
+3 2 30 3 26 226
+9 0 18 3 20 118
+5 5 12 2 15 203
+7 4 19 2 22 197
+7 4 24 4 17 209
+0 0 0 0 0 0
diff --git a/public_test_cases/p00229/output.0.txt b/public_test_cases/p00229/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d5c8c3fe585d082fef845a10ed3c3dd70206ee8
--- /dev/null
+++ b/public_test_cases/p00229/output.0.txt
@@ -0,0 +1,5 @@
+127
+793
+414
+629
+617
diff --git a/public_test_cases/p00229/output.1.txt b/public_test_cases/p00229/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d5c8c3fe585d082fef845a10ed3c3dd70206ee8
--- /dev/null
+++ b/public_test_cases/p00229/output.1.txt
@@ -0,0 +1,5 @@
+127
+793
+414
+629
+617
diff --git a/public_test_cases/p00230/input.0.txt b/public_test_cases/p00230/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33c37f1bc0d82e052ceb9d1d2f0b7b7703ad113a
--- /dev/null
+++ b/public_test_cases/p00230/input.0.txt
@@ -0,0 +1,7 @@
+8
+0 0 0 2 2 2 0 0
+1 1 1 1 0 0 0 0
+4
+1 1 2 2
+0 0 2 2
+0
diff --git a/public_test_cases/p00230/input.1.txt b/public_test_cases/p00230/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33c37f1bc0d82e052ceb9d1d2f0b7b7703ad113a
--- /dev/null
+++ b/public_test_cases/p00230/input.1.txt
@@ -0,0 +1,7 @@
+8
+0 0 0 2 2 2 0 0
+1 1 1 1 0 0 0 0
+4
+1 1 2 2
+0 0 2 2
+0
diff --git a/public_test_cases/p00230/output.0.txt b/public_test_cases/p00230/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d1f8f4c26058ff823fab74bb60b3880e7bd63ab
--- /dev/null
+++ b/public_test_cases/p00230/output.0.txt
@@ -0,0 +1,2 @@
+4
+NA
diff --git a/public_test_cases/p00230/output.1.txt b/public_test_cases/p00230/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d1f8f4c26058ff823fab74bb60b3880e7bd63ab
--- /dev/null
+++ b/public_test_cases/p00230/output.1.txt
@@ -0,0 +1,2 @@
+4
+NA
diff --git a/public_test_cases/p00231/input.0.txt b/public_test_cases/p00231/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b74692c14f902b0684f1e41e5878041e47cb5f38
--- /dev/null
+++ b/public_test_cases/p00231/input.0.txt
@@ -0,0 +1,9 @@
+3
+80 0 30
+50 5 25
+90 27 50
+3
+80 0 30
+70 5 25
+71 30 50
+0
diff --git a/public_test_cases/p00231/input.1.txt b/public_test_cases/p00231/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b74692c14f902b0684f1e41e5878041e47cb5f38
--- /dev/null
+++ b/public_test_cases/p00231/input.1.txt
@@ -0,0 +1,9 @@
+3
+80 0 30
+50 5 25
+90 27 50
+3
+80 0 30
+70 5 25
+71 30 50
+0
diff --git a/public_test_cases/p00231/output.0.txt b/public_test_cases/p00231/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e567f9e08a16e5834dffa203a1ba3027c32307c
--- /dev/null
+++ b/public_test_cases/p00231/output.0.txt
@@ -0,0 +1,2 @@
+NG
+OK
diff --git a/public_test_cases/p00231/output.1.txt b/public_test_cases/p00231/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e567f9e08a16e5834dffa203a1ba3027c32307c
--- /dev/null
+++ b/public_test_cases/p00231/output.1.txt
@@ -0,0 +1,2 @@
+NG
+OK
diff --git a/public_test_cases/p00232/input.0.txt b/public_test_cases/p00232/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37903224fc4c563b3a0d6a897b84da0a9ef86934
--- /dev/null
+++ b/public_test_cases/p00232/input.0.txt
@@ -0,0 +1,17 @@
+1 2 0
+1
+1 2 1
+1
+1 2 100
+1 2 1
+2
+1 2 100
+2 2 1
+1 2
+1 2 100
+4 5 3
+1 2 3 4
+1 1 2
+2 2 100
+4 3 60
+0 0 0
diff --git a/public_test_cases/p00232/input.1.txt b/public_test_cases/p00232/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37903224fc4c563b3a0d6a897b84da0a9ef86934
--- /dev/null
+++ b/public_test_cases/p00232/input.1.txt
@@ -0,0 +1,17 @@
+1 2 0
+1
+1 2 1
+1
+1 2 100
+1 2 1
+2
+1 2 100
+2 2 1
+1 2
+1 2 100
+4 5 3
+1 2 3 4
+1 1 2
+2 2 100
+4 3 60
+0 0 0
diff --git a/public_test_cases/p00232/output.0.txt b/public_test_cases/p00232/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b77cbbb17be19b403b327a86b21ce6533bb410
--- /dev/null
+++ b/public_test_cases/p00232/output.0.txt
@@ -0,0 +1,5 @@
+0
+100
+0
+50
+20
diff --git a/public_test_cases/p00232/output.1.txt b/public_test_cases/p00232/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b77cbbb17be19b403b327a86b21ce6533bb410
--- /dev/null
+++ b/public_test_cases/p00232/output.1.txt
@@ -0,0 +1,5 @@
+0
+100
+0
+50
+20
diff --git a/public_test_cases/p00233/input.0.txt b/public_test_cases/p00233/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b472cd6fc1fb35d10f6166b55964fac2ccc587c
--- /dev/null
+++ b/public_test_cases/p00233/input.0.txt
@@ -0,0 +1,6 @@
+9
+10
+-10
+-1944
+-305432133
+0
diff --git a/public_test_cases/p00233/output.0.txt b/public_test_cases/p00233/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8ee002a6755e55c9e2738f0ec7f5562925d66f9
--- /dev/null
+++ b/public_test_cases/p00233/output.0.txt
@@ -0,0 +1,5 @@
+9
+190
+10
+2156
+1715573947
diff --git a/public_test_cases/p00234/input.0.txt b/public_test_cases/p00234/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74b819b109b1aaf62d99c061f891d9095192597c
--- /dev/null
+++ b/public_test_cases/p00234/input.0.txt
@@ -0,0 +1,28 @@
+3 3
+100 10 10
+-100 -20 -100
+-100 -20 -100
+-100 -20 -100
+3 3
+100 10 10
+-100 -20 -100
+-100 -20 -20
+-100 -60 -20
+3 3
+100 10 3
+-100 -20 -100
+-20 -20 -20
+-20 -100 -20
+3 3
+100 3 3
+-100 -20 -30
+-100 -20 2
+-100 -20 -20
+4 5
+1500 5 4
+-10 -380 -250 -250
+-90 2 -80 8
+-250 -130 -330 -120
+-120 -40 -50 -20
+-250 -10 -20 -150
+0 0
diff --git a/public_test_cases/p00234/input.1.txt b/public_test_cases/p00234/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74b819b109b1aaf62d99c061f891d9095192597c
--- /dev/null
+++ b/public_test_cases/p00234/input.1.txt
@@ -0,0 +1,28 @@
+3 3
+100 10 10
+-100 -20 -100
+-100 -20 -100
+-100 -20 -100
+3 3
+100 10 10
+-100 -20 -100
+-100 -20 -20
+-100 -60 -20
+3 3
+100 10 3
+-100 -20 -100
+-20 -20 -20
+-20 -100 -20
+3 3
+100 3 3
+-100 -20 -30
+-100 -20 2
+-100 -20 -20
+4 5
+1500 5 4
+-10 -380 -250 -250
+-90 2 -80 8
+-250 -130 -330 -120
+-120 -40 -50 -20
+-250 -10 -20 -150
+0 0
diff --git a/public_test_cases/p00234/output.0.txt b/public_test_cases/p00234/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da037dcfcb0d5366a87b1ca92076b444d6516d4f
--- /dev/null
+++ b/public_test_cases/p00234/output.0.txt
@@ -0,0 +1,5 @@
+60
+80
+NA
+50
+390
diff --git a/public_test_cases/p00234/output.1.txt b/public_test_cases/p00234/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da037dcfcb0d5366a87b1ca92076b444d6516d4f
--- /dev/null
+++ b/public_test_cases/p00234/output.1.txt
@@ -0,0 +1,5 @@
+60
+80
+NA
+50
+390
diff --git a/public_test_cases/p00235/input.0.txt b/public_test_cases/p00235/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98245116c38f6981467cdc2007035521c2e3ddf6
--- /dev/null
+++ b/public_test_cases/p00235/input.0.txt
@@ -0,0 +1,8 @@
+7
+1 2 5
+2 3 2
+3 4 3
+2 5 3
+5 6 3
+5 7 8
+0
diff --git a/public_test_cases/p00235/input.1.txt b/public_test_cases/p00235/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98245116c38f6981467cdc2007035521c2e3ddf6
--- /dev/null
+++ b/public_test_cases/p00235/input.1.txt
@@ -0,0 +1,8 @@
+7
+1 2 5
+2 3 2
+3 4 3
+2 5 3
+5 6 3
+5 7 8
+0
diff --git a/public_test_cases/p00235/output.0.txt b/public_test_cases/p00235/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p00235/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p00235/output.1.txt b/public_test_cases/p00235/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p00235/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p00236/input.0.txt b/public_test_cases/p00236/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca4a6719243f6dd0d048ba9e1935759987979db3
--- /dev/null
+++ b/public_test_cases/p00236/input.0.txt
@@ -0,0 +1,11 @@
+5 4
+0 0 0 0 0
+0 1 1 0 0
+0 0 1 0 1
+1 0 0 0 1
+5 4
+0 0 0 0 0
+0 1 1 0 0
+0 0 0 0 1
+1 0 0 0 1
+0 0
diff --git a/public_test_cases/p00236/input.1.txt b/public_test_cases/p00236/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca4a6719243f6dd0d048ba9e1935759987979db3
--- /dev/null
+++ b/public_test_cases/p00236/input.1.txt
@@ -0,0 +1,11 @@
+5 4
+0 0 0 0 0
+0 1 1 0 0
+0 0 1 0 1
+1 0 0 0 1
+5 4
+0 0 0 0 0
+0 1 1 0 0
+0 0 0 0 1
+1 0 0 0 1
+0 0
diff --git a/public_test_cases/p00236/output.0.txt b/public_test_cases/p00236/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00236/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00236/output.1.txt b/public_test_cases/p00236/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00236/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00237/input.0.txt b/public_test_cases/p00237/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fa00dd16af6b80d92aca2388ddb1d79912e9496
--- /dev/null
+++ b/public_test_cases/p00237/input.0.txt
@@ -0,0 +1,9 @@
+3 4
+1 0 3 0 2 1
+2 3 2 5 3 4
+5 3 5 5 6 4
+3 2
+1 0 3 0 2 1
+2 3 2 5 3 4
+5 3 5 5 6 4
+0 0
diff --git a/public_test_cases/p00237/output.0.txt b/public_test_cases/p00237/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p00237/output.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p00238/input.0.txt b/public_test_cases/p00238/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2aaf99c832c6f78a69f2a62b7ae4cd79b5ef076b
--- /dev/null
+++ b/public_test_cases/p00238/input.0.txt
@@ -0,0 +1,10 @@
+10
+3
+6 11
+12 15
+18 22
+14
+2
+6 11
+13 20
+0
diff --git a/public_test_cases/p00238/input.1.txt b/public_test_cases/p00238/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2aaf99c832c6f78a69f2a62b7ae4cd79b5ef076b
--- /dev/null
+++ b/public_test_cases/p00238/input.1.txt
@@ -0,0 +1,10 @@
+10
+3
+6 11
+12 15
+18 22
+14
+2
+6 11
+13 20
+0
diff --git a/public_test_cases/p00238/output.0.txt b/public_test_cases/p00238/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d0eac0fe69f577a1ba16316a9c5397cc029faf4
--- /dev/null
+++ b/public_test_cases/p00238/output.0.txt
@@ -0,0 +1,2 @@
+OK
+2
diff --git a/public_test_cases/p00238/output.1.txt b/public_test_cases/p00238/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d0eac0fe69f577a1ba16316a9c5397cc029faf4
--- /dev/null
+++ b/public_test_cases/p00238/output.1.txt
@@ -0,0 +1,2 @@
+OK
+2
diff --git a/public_test_cases/p00239/input.0.txt b/public_test_cases/p00239/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60b732cf1039f04ade51709165b70b35629e7884
--- /dev/null
+++ b/public_test_cases/p00239/input.0.txt
@@ -0,0 +1,11 @@
+4
+1 7 14 47
+2 5 35 55
+3 6 3 59
+4 6 5 15
+10 15 50 400
+2
+1 8 10 78
+2 4 18 33
+10 10 50 300
+0
diff --git a/public_test_cases/p00239/input.1.txt b/public_test_cases/p00239/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60b732cf1039f04ade51709165b70b35629e7884
--- /dev/null
+++ b/public_test_cases/p00239/input.1.txt
@@ -0,0 +1,11 @@
+4
+1 7 14 47
+2 5 35 55
+3 6 3 59
+4 6 5 15
+10 15 50 400
+2
+1 8 10 78
+2 4 18 33
+10 10 50 300
+0
diff --git a/public_test_cases/p00239/output.0.txt b/public_test_cases/p00239/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..373867482e2a72a5b3620afd87a4518bd2e140aa
--- /dev/null
+++ b/public_test_cases/p00239/output.0.txt
@@ -0,0 +1,3 @@
+1
+4
+NA
diff --git a/public_test_cases/p00239/output.1.txt b/public_test_cases/p00239/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..373867482e2a72a5b3620afd87a4518bd2e140aa
--- /dev/null
+++ b/public_test_cases/p00239/output.1.txt
@@ -0,0 +1,3 @@
+1
+4
+NA
diff --git a/public_test_cases/p00240/input.0.txt b/public_test_cases/p00240/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a5a05fc176e482c3c0107fc1d04b31e7ad91e57
--- /dev/null
+++ b/public_test_cases/p00240/input.0.txt
@@ -0,0 +1,9 @@
+2
+8
+1 5 2
+2 6 1
+2
+9
+1 5 2
+2 6 1
+0
diff --git a/public_test_cases/p00240/input.1.txt b/public_test_cases/p00240/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a5a05fc176e482c3c0107fc1d04b31e7ad91e57
--- /dev/null
+++ b/public_test_cases/p00240/input.1.txt
@@ -0,0 +1,9 @@
+2
+8
+1 5 2
+2 6 1
+2
+9
+1 5 2
+2 6 1
+0
diff --git a/public_test_cases/p00240/output.0.txt b/public_test_cases/p00240/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p00240/output.0.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p00240/output.1.txt b/public_test_cases/p00240/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p00240/output.1.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p00241/input.0.txt b/public_test_cases/p00241/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63fe29b77023c1b2b8308592800e45d55f61fab2
--- /dev/null
+++ b/public_test_cases/p00241/input.0.txt
@@ -0,0 +1,4 @@
+2
+1 2 3 4 7 6 7 8
+5 6 7 8 3 2 3 4
+0
diff --git a/public_test_cases/p00241/input.1.txt b/public_test_cases/p00241/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63fe29b77023c1b2b8308592800e45d55f61fab2
--- /dev/null
+++ b/public_test_cases/p00241/input.1.txt
@@ -0,0 +1,4 @@
+2
+1 2 3 4 7 6 7 8
+5 6 7 8 3 2 3 4
+0
diff --git a/public_test_cases/p00241/output.0.txt b/public_test_cases/p00241/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3712e455314bbfddc3e42bfc9835d8c16f4acc55
--- /dev/null
+++ b/public_test_cases/p00241/output.0.txt
@@ -0,0 +1,2 @@
+-58 16 36 32
+-50 32 28 48
diff --git a/public_test_cases/p00241/output.1.txt b/public_test_cases/p00241/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3712e455314bbfddc3e42bfc9835d8c16f4acc55
--- /dev/null
+++ b/public_test_cases/p00241/output.1.txt
@@ -0,0 +1,2 @@
+-58 16 36 32
+-50 32 28 48
diff --git a/public_test_cases/p00242/input.0.txt b/public_test_cases/p00242/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..846af8ee988c02e4e49e9fc70859069c567fb49c
--- /dev/null
+++ b/public_test_cases/p00242/input.0.txt
@@ -0,0 +1,16 @@
+1
+ben likes bananas the best among many fruits because bananas are sweet and cheap
+b
+1
+winners get to visit aizu and the university of aizu and make many friends as well
+a
+3
+ask alex about
+the answer for the
+assignment on android apps
+a
+2
+programming is both
+a sport and an intellectual puzzle
+c
+0
diff --git a/public_test_cases/p00242/input.1.txt b/public_test_cases/p00242/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..846af8ee988c02e4e49e9fc70859069c567fb49c
--- /dev/null
+++ b/public_test_cases/p00242/input.1.txt
@@ -0,0 +1,16 @@
+1
+ben likes bananas the best among many fruits because bananas are sweet and cheap
+b
+1
+winners get to visit aizu and the university of aizu and make many friends as well
+a
+3
+ask alex about
+the answer for the
+assignment on android apps
+a
+2
+programming is both
+a sport and an intellectual puzzle
+c
+0
diff --git a/public_test_cases/p00242/output.0.txt b/public_test_cases/p00242/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c43a6c08621788afcd7e36cfba3a1ca517c27292
--- /dev/null
+++ b/public_test_cases/p00242/output.0.txt
@@ -0,0 +1,4 @@
+bananas because ben best
+aizu and as
+about alex android answer apps
+NA
diff --git a/public_test_cases/p00242/output.1.txt b/public_test_cases/p00242/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c43a6c08621788afcd7e36cfba3a1ca517c27292
--- /dev/null
+++ b/public_test_cases/p00242/output.1.txt
@@ -0,0 +1,4 @@
+bananas because ben best
+aizu and as
+about alex android answer apps
+NA
diff --git a/public_test_cases/p00243/input.0.txt b/public_test_cases/p00243/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73338656425b4bb0b72e710d3a8e05d57486ab74
--- /dev/null
+++ b/public_test_cases/p00243/input.0.txt
@@ -0,0 +1,14 @@
+3 3
+R G B
+G G G
+G B B
+2 4
+R G
+G G
+R B
+B R
+4 3
+G G B R
+G R R G
+B G G R
+0 0
diff --git a/public_test_cases/p00243/input.1.txt b/public_test_cases/p00243/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73338656425b4bb0b72e710d3a8e05d57486ab74
--- /dev/null
+++ b/public_test_cases/p00243/input.1.txt
@@ -0,0 +1,14 @@
+3 3
+R G B
+G G G
+G B B
+2 4
+R G
+G G
+R B
+B R
+4 3
+G G B R
+G R R G
+B G G R
+0 0
diff --git a/public_test_cases/p00243/output.0.txt b/public_test_cases/p00243/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c51a200abf8b097f48f1b334f950dce5eed776ba
--- /dev/null
+++ b/public_test_cases/p00243/output.0.txt
@@ -0,0 +1,3 @@
+2
+4
+4
diff --git a/public_test_cases/p00243/output.1.txt b/public_test_cases/p00243/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c51a200abf8b097f48f1b334f950dce5eed776ba
--- /dev/null
+++ b/public_test_cases/p00243/output.1.txt
@@ -0,0 +1,3 @@
+2
+4
+4
diff --git a/public_test_cases/p00244/input.0.txt b/public_test_cases/p00244/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de722433779b5fa16d7d924bf672fa170eb7621a
--- /dev/null
+++ b/public_test_cases/p00244/input.0.txt
@@ -0,0 +1,16 @@
+2 1
+1 2 5
+3 2
+1 2 5
+2 3 5
+6 9
+1 2 7
+1 3 9
+1 5 14
+2 3 10
+2 4 15
+3 4 11
+3 5 2
+4 5 9
+4 6 8
+0 0
diff --git a/public_test_cases/p00244/input.1.txt b/public_test_cases/p00244/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de722433779b5fa16d7d924bf672fa170eb7621a
--- /dev/null
+++ b/public_test_cases/p00244/input.1.txt
@@ -0,0 +1,16 @@
+2 1
+1 2 5
+3 2
+1 2 5
+2 3 5
+6 9
+1 2 7
+1 3 9
+1 5 14
+2 3 10
+2 4 15
+3 4 11
+3 5 2
+4 5 9
+4 6 8
+0 0
diff --git a/public_test_cases/p00244/output.0.txt b/public_test_cases/p00244/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c0fb2b7b4d4008b1f50e8061f41394a4868e76c
--- /dev/null
+++ b/public_test_cases/p00244/output.0.txt
@@ -0,0 +1,3 @@
+5
+0
+7
diff --git a/public_test_cases/p00244/output.1.txt b/public_test_cases/p00244/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c0fb2b7b4d4008b1f50e8061f41394a4868e76c
--- /dev/null
+++ b/public_test_cases/p00244/output.1.txt
@@ -0,0 +1,3 @@
+5
+0
+7
diff --git a/public_test_cases/p00245/input.0.txt b/public_test_cases/p00245/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8328abac96fa964310cb817f065c01b02d56ed35
--- /dev/null
+++ b/public_test_cases/p00245/input.0.txt
@@ -0,0 +1,13 @@
+6 5
+1 1 . 0 0 4
+1 . . . . .
+. . 2 2 . .
+. . 2 2 3 3
+P . . . . .
+5
+0 50 5 10
+1 20 0 10
+2 10 5 15
+3 150 3 5
+4 100 8 9
+0 0
diff --git a/public_test_cases/p00245/input.1.txt b/public_test_cases/p00245/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8328abac96fa964310cb817f065c01b02d56ed35
--- /dev/null
+++ b/public_test_cases/p00245/input.1.txt
@@ -0,0 +1,13 @@
+6 5
+1 1 . 0 0 4
+1 . . . . .
+. . 2 2 . .
+. . 2 2 3 3
+P . . . . .
+5
+0 50 5 10
+1 20 0 10
+2 10 5 15
+3 150 3 5
+4 100 8 9
+0 0
diff --git a/public_test_cases/p00245/output.0.txt b/public_test_cases/p00245/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3af99eeec11bbfeb1fc5514129c2cd6e97503dbd
--- /dev/null
+++ b/public_test_cases/p00245/output.0.txt
@@ -0,0 +1 @@
+180
diff --git a/public_test_cases/p00245/output.1.txt b/public_test_cases/p00245/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3af99eeec11bbfeb1fc5514129c2cd6e97503dbd
--- /dev/null
+++ b/public_test_cases/p00245/output.1.txt
@@ -0,0 +1 @@
+180
diff --git a/public_test_cases/p00246/input.0.txt b/public_test_cases/p00246/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..006cf18ad90cb5daac383bd52d26fbfc21b10fac
--- /dev/null
+++ b/public_test_cases/p00246/input.0.txt
@@ -0,0 +1,7 @@
+5
+4 9 1 3 8
+10
+8 5 3 6 2 1 4 5 4 5
+9
+5 7 3 8 2 9 6 4 1
+0
diff --git a/public_test_cases/p00246/input.1.txt b/public_test_cases/p00246/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..006cf18ad90cb5daac383bd52d26fbfc21b10fac
--- /dev/null
+++ b/public_test_cases/p00246/input.1.txt
@@ -0,0 +1,7 @@
+5
+4 9 1 3 8
+10
+8 5 3 6 2 1 4 5 4 5
+9
+5 7 3 8 2 9 6 4 1
+0
diff --git a/public_test_cases/p00246/output.0.txt b/public_test_cases/p00246/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0530f9af2d4deeab751b87dcb554996f1d5cec62
--- /dev/null
+++ b/public_test_cases/p00246/output.0.txt
@@ -0,0 +1,3 @@
+1
+4
+4
diff --git a/public_test_cases/p00246/output.1.txt b/public_test_cases/p00246/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0530f9af2d4deeab751b87dcb554996f1d5cec62
--- /dev/null
+++ b/public_test_cases/p00246/output.1.txt
@@ -0,0 +1,3 @@
+1
+4
+4
diff --git a/public_test_cases/p00247/input.0.txt b/public_test_cases/p00247/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07726b548427060c41c81eccc5fd2f845ecd9a05
--- /dev/null
+++ b/public_test_cases/p00247/input.0.txt
@@ -0,0 +1,27 @@
+5 5
+.X.S.
+.X#..
+.XX##
+.#XG.
+..X..
+7 3
+SXX.XXG
+X.#.#X.
+XXX.XX#
+4 4
+S...
+X.X.
+GX..
+...X
+10 10
+..XXXXX.XX
+.X.#.#X.XX
+SX.#X.X..X
+#X.##.X.XX
+..XXXX#.XX
+##.##.##XX
+....X.XX#X
+.##X..#X#X
+....XX#..X
+...#XXG..X
+0 0
diff --git a/public_test_cases/p00247/input.1.txt b/public_test_cases/p00247/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07726b548427060c41c81eccc5fd2f845ecd9a05
--- /dev/null
+++ b/public_test_cases/p00247/input.1.txt
@@ -0,0 +1,27 @@
+5 5
+.X.S.
+.X#..
+.XX##
+.#XG.
+..X..
+7 3
+SXX.XXG
+X.#.#X.
+XXX.XX#
+4 4
+S...
+X.X.
+GX..
+...X
+10 10
+..XXXXX.XX
+.X.#.#X.XX
+SX.#X.X..X
+#X.##.X.XX
+..XXXX#.XX
+##.##.##XX
+....X.XX#X
+.##X..#X#X
+....XX#..X
+...#XXG..X
+0 0
diff --git a/public_test_cases/p00247/output.0.txt b/public_test_cases/p00247/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9e79789d3a490262d32ca073adb84b44ee83683
--- /dev/null
+++ b/public_test_cases/p00247/output.0.txt
@@ -0,0 +1,4 @@
+11
+10
+10
+33
diff --git a/public_test_cases/p00247/output.1.txt b/public_test_cases/p00247/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9e79789d3a490262d32ca073adb84b44ee83683
--- /dev/null
+++ b/public_test_cases/p00247/output.1.txt
@@ -0,0 +1,4 @@
+11
+10
+10
+33
diff --git a/public_test_cases/p00248/input.0.txt b/public_test_cases/p00248/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa051eb75045fcb3461261580ca855ce7190723b
--- /dev/null
+++ b/public_test_cases/p00248/input.0.txt
@@ -0,0 +1,14 @@
+5 4
+1 2
+2 3
+3 4
+4 5
+4 6
+1 2
+1 3
+1 4
+2 3
+2 4
+3 4
+5 0
+0 0
diff --git a/public_test_cases/p00248/input.1.txt b/public_test_cases/p00248/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa051eb75045fcb3461261580ca855ce7190723b
--- /dev/null
+++ b/public_test_cases/p00248/input.1.txt
@@ -0,0 +1,14 @@
+5 4
+1 2
+2 3
+3 4
+4 5
+4 6
+1 2
+1 3
+1 4
+2 3
+2 4
+3 4
+5 0
+0 0
diff --git a/public_test_cases/p00248/output.0.txt b/public_test_cases/p00248/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7be48c9686901a95c814c024e067e247fdd0e34f
--- /dev/null
+++ b/public_test_cases/p00248/output.0.txt
@@ -0,0 +1,3 @@
+yes
+no
+yes
diff --git a/public_test_cases/p00248/output.1.txt b/public_test_cases/p00248/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7be48c9686901a95c814c024e067e247fdd0e34f
--- /dev/null
+++ b/public_test_cases/p00248/output.1.txt
@@ -0,0 +1,3 @@
+yes
+no
+yes
diff --git a/public_test_cases/p00249/input.0.txt b/public_test_cases/p00249/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..938eda8e95c862af09887f3ae2079f1ed5a43f44
--- /dev/null
+++ b/public_test_cases/p00249/input.0.txt
@@ -0,0 +1,6 @@
+4 1 1
+0 0
+1 0
+1 2
+0 2
+0 0 0
diff --git a/public_test_cases/p00249/input.1.txt b/public_test_cases/p00249/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..938eda8e95c862af09887f3ae2079f1ed5a43f44
--- /dev/null
+++ b/public_test_cases/p00249/input.1.txt
@@ -0,0 +1,6 @@
+4 1 1
+0 0
+1 0
+1 2
+0 2
+0 0 0
diff --git a/public_test_cases/p00249/output.0.txt b/public_test_cases/p00249/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..961b372472a1809353ba4658ea88ca265d88b75c
--- /dev/null
+++ b/public_test_cases/p00249/output.0.txt
@@ -0,0 +1 @@
+1.000000
diff --git a/public_test_cases/p00249/output.1.txt b/public_test_cases/p00249/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..961b372472a1809353ba4658ea88ca265d88b75c
--- /dev/null
+++ b/public_test_cases/p00249/output.1.txt
@@ -0,0 +1 @@
+1.000000
diff --git a/public_test_cases/p00250/input.0.txt b/public_test_cases/p00250/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4890341e4b09a1db3a6d170e44fcec0503cc8546
--- /dev/null
+++ b/public_test_cases/p00250/input.0.txt
@@ -0,0 +1,11 @@
+5 11
+11 27 34 45 56
+8 5
+0 2 1 5 4 6 8 3
+5 2
+2 4 2 4 6
+10 18
+10 15 12 31 12 50 11 23 43 181
+1 100
+5
+0 0
diff --git a/public_test_cases/p00250/input.1.txt b/public_test_cases/p00250/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4890341e4b09a1db3a6d170e44fcec0503cc8546
--- /dev/null
+++ b/public_test_cases/p00250/input.1.txt
@@ -0,0 +1,11 @@
+5 11
+11 27 34 45 56
+8 5
+0 2 1 5 4 6 8 3
+5 2
+2 4 2 4 6
+10 18
+10 15 12 31 12 50 11 23 43 181
+1 100
+5
+0 0
diff --git a/public_test_cases/p00250/output.0.txt b/public_test_cases/p00250/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..643ca93c0b83ccd53632c83cf05e7d37bcf4dffb
--- /dev/null
+++ b/public_test_cases/p00250/output.0.txt
@@ -0,0 +1,5 @@
+8
+4
+0
+17
+5
diff --git a/public_test_cases/p00250/output.1.txt b/public_test_cases/p00250/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..643ca93c0b83ccd53632c83cf05e7d37bcf4dffb
--- /dev/null
+++ b/public_test_cases/p00250/output.1.txt
@@ -0,0 +1,5 @@
+8
+4
+0
+17
+5
diff --git a/public_test_cases/p00251/input.0.txt b/public_test_cases/p00251/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00c965d8307308469e537302baa73048488f162
--- /dev/null
+++ b/public_test_cases/p00251/input.0.txt
@@ -0,0 +1,10 @@
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
diff --git a/public_test_cases/p00251/input.1.txt b/public_test_cases/p00251/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00c965d8307308469e537302baa73048488f162
--- /dev/null
+++ b/public_test_cases/p00251/input.1.txt
@@ -0,0 +1,10 @@
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
diff --git a/public_test_cases/p00251/output.0.txt b/public_test_cases/p00251/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3f407c0955bb5738e40a82664c79b63f04a9adb
--- /dev/null
+++ b/public_test_cases/p00251/output.0.txt
@@ -0,0 +1 @@
+55
diff --git a/public_test_cases/p00251/output.1.txt b/public_test_cases/p00251/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3f407c0955bb5738e40a82664c79b63f04a9adb
--- /dev/null
+++ b/public_test_cases/p00251/output.1.txt
@@ -0,0 +1 @@
+55
diff --git a/public_test_cases/p00252/input.0.txt b/public_test_cases/p00252/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398641ed77732ea1055eccf06e7e4f6c00b7da49
--- /dev/null
+++ b/public_test_cases/p00252/input.0.txt
@@ -0,0 +1 @@
+0 0 1
diff --git a/public_test_cases/p00252/input.1.txt b/public_test_cases/p00252/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398641ed77732ea1055eccf06e7e4f6c00b7da49
--- /dev/null
+++ b/public_test_cases/p00252/input.1.txt
@@ -0,0 +1 @@
+0 0 1
diff --git a/public_test_cases/p00252/output.0.txt b/public_test_cases/p00252/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4b3a5fc6b58011164567d0650635d78701d52
--- /dev/null
+++ b/public_test_cases/p00252/output.0.txt
@@ -0,0 +1 @@
+Open
diff --git a/public_test_cases/p00252/output.1.txt b/public_test_cases/p00252/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4b3a5fc6b58011164567d0650635d78701d52
--- /dev/null
+++ b/public_test_cases/p00252/output.1.txt
@@ -0,0 +1 @@
+Open
diff --git a/public_test_cases/p00253/input.0.txt b/public_test_cases/p00253/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f0eebed9aae470df401d1a75b041f5a50554b3f
--- /dev/null
+++ b/public_test_cases/p00253/input.0.txt
@@ -0,0 +1,7 @@
+5
+1 2 3 6 4 5
+6
+1 3 6 9 12 15 18
+4
+5 7 9 11 12
+0
diff --git a/public_test_cases/p00253/input.1.txt b/public_test_cases/p00253/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f0eebed9aae470df401d1a75b041f5a50554b3f
--- /dev/null
+++ b/public_test_cases/p00253/input.1.txt
@@ -0,0 +1,7 @@
+5
+1 2 3 6 4 5
+6
+1 3 6 9 12 15 18
+4
+5 7 9 11 12
+0
diff --git a/public_test_cases/p00253/output.0.txt b/public_test_cases/p00253/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a69573684859c9ca7a518d2eb8803395e881afed
--- /dev/null
+++ b/public_test_cases/p00253/output.0.txt
@@ -0,0 +1,3 @@
+6
+1
+12
diff --git a/public_test_cases/p00253/output.1.txt b/public_test_cases/p00253/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a69573684859c9ca7a518d2eb8803395e881afed
--- /dev/null
+++ b/public_test_cases/p00253/output.1.txt
@@ -0,0 +1,3 @@
+6
+1
+12
diff --git a/public_test_cases/p00254/input.0.txt b/public_test_cases/p00254/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea6d4fd7fe9da9bc10ce00d7f137103f369afed0
--- /dev/null
+++ b/public_test_cases/p00254/input.0.txt
@@ -0,0 +1,4 @@
+6174
+2012
+3333
+0000
diff --git a/public_test_cases/p00254/input.1.txt b/public_test_cases/p00254/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea6d4fd7fe9da9bc10ce00d7f137103f369afed0
--- /dev/null
+++ b/public_test_cases/p00254/input.1.txt
@@ -0,0 +1,4 @@
+6174
+2012
+3333
+0000
diff --git a/public_test_cases/p00254/output.0.txt b/public_test_cases/p00254/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fca0e4f4fba14cbd1a35924df3ae60598794f08
--- /dev/null
+++ b/public_test_cases/p00254/output.0.txt
@@ -0,0 +1,3 @@
+0
+3
+NA
diff --git a/public_test_cases/p00254/output.1.txt b/public_test_cases/p00254/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fca0e4f4fba14cbd1a35924df3ae60598794f08
--- /dev/null
+++ b/public_test_cases/p00254/output.1.txt
@@ -0,0 +1,3 @@
+0
+3
+NA
diff --git a/public_test_cases/p00255/input.0.txt b/public_test_cases/p00255/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06c9be5d230b7611531e996600b44caee6adddc3
--- /dev/null
+++ b/public_test_cases/p00255/input.0.txt
@@ -0,0 +1,10 @@
+3
+1 1 1
+3 3
+4
+3 3 3 3
+1 1 1
+5
+1 2 3 4 5
+4 3 2 1
+0
diff --git a/public_test_cases/p00255/input.1.txt b/public_test_cases/p00255/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06c9be5d230b7611531e996600b44caee6adddc3
--- /dev/null
+++ b/public_test_cases/p00255/input.1.txt
@@ -0,0 +1,10 @@
+3
+1 1 1
+3 3
+4
+3 3 3 3
+1 1 1
+5
+1 2 3 4 5
+4 3 2 1
+0
diff --git a/public_test_cases/p00255/output.0.txt b/public_test_cases/p00255/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99ea6f78a28a66b460aae627bab6cc3db87be292
--- /dev/null
+++ b/public_test_cases/p00255/output.0.txt
@@ -0,0 +1,3 @@
+12
+48
+76
diff --git a/public_test_cases/p00255/output.1.txt b/public_test_cases/p00255/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99ea6f78a28a66b460aae627bab6cc3db87be292
--- /dev/null
+++ b/public_test_cases/p00255/output.1.txt
@@ -0,0 +1,3 @@
+12
+48
+76
diff --git a/public_test_cases/p00256/input.0.txt b/public_test_cases/p00256/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaeef18c55e41f7c1de9bb87c71fa3dde9faa810
--- /dev/null
+++ b/public_test_cases/p00256/input.0.txt
@@ -0,0 +1,6 @@
+2012.12.31
+2.12.16.14.14
+7138.5.13
+10.5.2.1.5
+10000000.12.31
+#
diff --git a/public_test_cases/p00256/input.1.txt b/public_test_cases/p00256/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaeef18c55e41f7c1de9bb87c71fa3dde9faa810
--- /dev/null
+++ b/public_test_cases/p00256/input.1.txt
@@ -0,0 +1,6 @@
+2012.12.31
+2.12.16.14.14
+7138.5.13
+10.5.2.1.5
+10000000.12.31
+#
diff --git a/public_test_cases/p00256/output.0.txt b/public_test_cases/p00256/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ecb1865b880534c9444870de71e3bd163f2a9ef
--- /dev/null
+++ b/public_test_cases/p00256/output.0.txt
@@ -0,0 +1,5 @@
+0.0.0.0.10
+3054.8.15
+0.0.0.0.10
+6056.2.29
+8.19.3.13.2
diff --git a/public_test_cases/p00256/output.1.txt b/public_test_cases/p00256/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ecb1865b880534c9444870de71e3bd163f2a9ef
--- /dev/null
+++ b/public_test_cases/p00256/output.1.txt
@@ -0,0 +1,5 @@
+0.0.0.0.10
+3054.8.15
+0.0.0.0.10
+6056.2.29
+8.19.3.13.2
diff --git a/public_test_cases/p00257/input.0.txt b/public_test_cases/p00257/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f3e1839abb28103e4337bde313f3ce123047f4f
--- /dev/null
+++ b/public_test_cases/p00257/input.0.txt
@@ -0,0 +1,16 @@
+3
+3
+-2
+1
+0
+2
+4
+2
+0
+-1
+-2
+2
+2
+-2
+-2
+0
diff --git a/public_test_cases/p00257/input.1.txt b/public_test_cases/p00257/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f3e1839abb28103e4337bde313f3ce123047f4f
--- /dev/null
+++ b/public_test_cases/p00257/input.1.txt
@@ -0,0 +1,16 @@
+3
+3
+-2
+1
+0
+2
+4
+2
+0
+-1
+-2
+2
+2
+-2
+-2
+0
diff --git a/public_test_cases/p00257/output.0.txt b/public_test_cases/p00257/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8043f04a5582bd24242d90512db32497b076dd3a
--- /dev/null
+++ b/public_test_cases/p00257/output.0.txt
@@ -0,0 +1,3 @@
+OK
+NG
+NG
diff --git a/public_test_cases/p00257/output.1.txt b/public_test_cases/p00257/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8043f04a5582bd24242d90512db32497b076dd3a
--- /dev/null
+++ b/public_test_cases/p00257/output.1.txt
@@ -0,0 +1,3 @@
+OK
+NG
+NG
diff --git a/public_test_cases/p00258/input.0.txt b/public_test_cases/p00258/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8afbbcc2442bca8d49f7adce8976473a122311ca
--- /dev/null
+++ b/public_test_cases/p00258/input.0.txt
@@ -0,0 +1,20 @@
+2 2
+0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
+1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0
+0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
+1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0
+2 2
+0 0 1 0 1 1 1 1 0 0 1 0 0 0 1 0
+0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 0
+0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 0
+0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0
+5 3
+0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0
+1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1
+0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0
+0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0
+0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0
+0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0
+1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0
+0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
+0 0
diff --git a/public_test_cases/p00258/input.1.txt b/public_test_cases/p00258/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8afbbcc2442bca8d49f7adce8976473a122311ca
--- /dev/null
+++ b/public_test_cases/p00258/input.1.txt
@@ -0,0 +1,20 @@
+2 2
+0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
+1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0
+0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
+1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0
+2 2
+0 0 1 0 1 1 1 1 0 0 1 0 0 0 1 0
+0 1 0 1 0 1 1 1 0 1 0 1 0 0 0 0
+0 0 1 0 1 0 0 0 0 0 1 0 0 0 1 0
+0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0
+5 3
+0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0
+1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 1
+0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0
+0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0
+0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0
+0 0 0 0 0 1 1 0 0 1 1 0 0 0 0 0
+1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0
+0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
+0 0
diff --git a/public_test_cases/p00258/output.0.txt b/public_test_cases/p00258/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14e430a2cb9df75d09eb5dca18ffff498d4af8dd
--- /dev/null
+++ b/public_test_cases/p00258/output.0.txt
@@ -0,0 +1,3 @@
+8
+7
+16
diff --git a/public_test_cases/p00258/output.1.txt b/public_test_cases/p00258/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14e430a2cb9df75d09eb5dca18ffff498d4af8dd
--- /dev/null
+++ b/public_test_cases/p00258/output.1.txt
@@ -0,0 +1,3 @@
+8
+7
+16
diff --git a/public_test_cases/p00259/input.0.txt b/public_test_cases/p00259/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52ee7263294e5158c1449663adc2379ad2f79b8c
--- /dev/null
+++ b/public_test_cases/p00259/input.0.txt
@@ -0,0 +1,6 @@
+5: 2 - 3
+17: 1 + 3 * (2 + 3 / 5 * 2) + 7
+11: 1 / 8 - 5 - 8 * 2
+19: 8 / (2 - 3 * 7)
+1153: 10 * 3 / 7 + ( 50 + 81 / 22 ) + 11
+0:
diff --git a/public_test_cases/p00259/input.1.txt b/public_test_cases/p00259/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52ee7263294e5158c1449663adc2379ad2f79b8c
--- /dev/null
+++ b/public_test_cases/p00259/input.1.txt
@@ -0,0 +1,6 @@
+5: 2 - 3
+17: 1 + 3 * (2 + 3 / 5 * 2) + 7
+11: 1 / 8 - 5 - 8 * 2
+19: 8 / (2 - 3 * 7)
+1153: 10 * 3 / 7 + ( 50 + 81 / 22 ) + 11
+0:
diff --git a/public_test_cases/p00259/output.0.txt b/public_test_cases/p00259/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94590361c3113c6d0e2478789afb8f1eedba8e08
--- /dev/null
+++ b/public_test_cases/p00259/output.0.txt
@@ -0,0 +1,5 @@
+2-3 = 4 (mod 5)
+1+3*(2+3/5*2)+7 = 4 (mod 17)
+1/8-5-8*2 = 8 (mod 11)
+NG
+10*3/7+(50+81/22)+11 = 915 (mod 1153)
diff --git a/public_test_cases/p00259/output.1.txt b/public_test_cases/p00259/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94590361c3113c6d0e2478789afb8f1eedba8e08
--- /dev/null
+++ b/public_test_cases/p00259/output.1.txt
@@ -0,0 +1,5 @@
+2-3 = 4 (mod 5)
+1+3*(2+3/5*2)+7 = 4 (mod 17)
+1/8-5-8*2 = 8 (mod 11)
+NG
+10*3/7+(50+81/22)+11 = 915 (mod 1153)
diff --git a/public_test_cases/p00260/input.0.txt b/public_test_cases/p00260/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd16d410a4ef3a7faa5491d9c90f24ae89b53af4
--- /dev/null
+++ b/public_test_cases/p00260/input.0.txt
@@ -0,0 +1,19 @@
+8
+0 0
+3 2
+6 2
+8 6
+6 5
+7 7
+0 4
+3 4
+8
+0 0
+5 3
+5 2
+4 1
+6 1
+8 6
+6 4
+2 4
+0
diff --git a/public_test_cases/p00260/input.1.txt b/public_test_cases/p00260/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd16d410a4ef3a7faa5491d9c90f24ae89b53af4
--- /dev/null
+++ b/public_test_cases/p00260/input.1.txt
@@ -0,0 +1,19 @@
+8
+0 0
+3 2
+6 2
+8 6
+6 5
+7 7
+0 4
+3 4
+8
+0 0
+5 3
+5 2
+4 1
+6 1
+8 6
+6 4
+2 4
+0
diff --git a/public_test_cases/p00260/output.0.txt b/public_test_cases/p00260/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p00260/output.0.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p00260/output.1.txt b/public_test_cases/p00260/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p00260/output.1.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p00261/input.0.txt b/public_test_cases/p00261/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c416a00a0b0e44c67b7bbf0adf2e22418f853e9
--- /dev/null
+++ b/public_test_cases/p00261/input.0.txt
@@ -0,0 +1,8 @@
+0100
+0101
+10100
+01000
+0101011
+0011
+011111
+#
diff --git a/public_test_cases/p00261/input.1.txt b/public_test_cases/p00261/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c416a00a0b0e44c67b7bbf0adf2e22418f853e9
--- /dev/null
+++ b/public_test_cases/p00261/input.1.txt
@@ -0,0 +1,8 @@
+0100
+0101
+10100
+01000
+0101011
+0011
+011111
+#
diff --git a/public_test_cases/p00261/output.0.txt b/public_test_cases/p00261/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eef9da8aa14fb0604fa84ccf45666c8d82c1760
--- /dev/null
+++ b/public_test_cases/p00261/output.0.txt
@@ -0,0 +1,7 @@
+Yes
+No
+Yes
+No
+Yes
+No
+Yes
diff --git a/public_test_cases/p00261/output.1.txt b/public_test_cases/p00261/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eef9da8aa14fb0604fa84ccf45666c8d82c1760
--- /dev/null
+++ b/public_test_cases/p00261/output.1.txt
@@ -0,0 +1,7 @@
+Yes
+No
+Yes
+No
+Yes
+No
+Yes
diff --git a/public_test_cases/p00262/input.0.txt b/public_test_cases/p00262/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c723e0d23549d79d0855ec3237d97e57dca93401
--- /dev/null
+++ b/public_test_cases/p00262/input.0.txt
@@ -0,0 +1,15 @@
+6
+1 4 1 3 2 4
+5
+1 2 3 4 5
+10
+1 1 1 1 1 1 1 1 1 1
+9
+1 1 1 1 1 1 1 1 1
+12
+1 4 1 3 2 4 3 3 2 1 2 2
+1
+5050
+3
+10000 10000 100
+0
diff --git a/public_test_cases/p00262/input.1.txt b/public_test_cases/p00262/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c723e0d23549d79d0855ec3237d97e57dca93401
--- /dev/null
+++ b/public_test_cases/p00262/input.1.txt
@@ -0,0 +1,15 @@
+6
+1 4 1 3 2 4
+5
+1 2 3 4 5
+10
+1 1 1 1 1 1 1 1 1 1
+9
+1 1 1 1 1 1 1 1 1
+12
+1 4 1 3 2 4 3 3 2 1 2 2
+1
+5050
+3
+10000 10000 100
+0
diff --git a/public_test_cases/p00262/output.0.txt b/public_test_cases/p00262/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78a662b6cc1715e8670339c2debcbbe4ed1c1954
--- /dev/null
+++ b/public_test_cases/p00262/output.0.txt
@@ -0,0 +1,7 @@
+24
+0
+10
+-1
+48
+5049
+-1
diff --git a/public_test_cases/p00262/output.1.txt b/public_test_cases/p00262/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78a662b6cc1715e8670339c2debcbbe4ed1c1954
--- /dev/null
+++ b/public_test_cases/p00262/output.1.txt
@@ -0,0 +1,7 @@
+24
+0
+10
+-1
+48
+5049
+-1
diff --git a/public_test_cases/p00263/input.0.txt b/public_test_cases/p00263/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d761c75f1cdb55342db90318d2b190f52fac110c
--- /dev/null
+++ b/public_test_cases/p00263/input.0.txt
@@ -0,0 +1,9 @@
+8
+00000000
+80000000
+00000080
+00000040
+000000c0
+00000100
+80000780
+80000f70
diff --git a/public_test_cases/p00263/input.1.txt b/public_test_cases/p00263/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d761c75f1cdb55342db90318d2b190f52fac110c
--- /dev/null
+++ b/public_test_cases/p00263/input.1.txt
@@ -0,0 +1,9 @@
+8
+00000000
+80000000
+00000080
+00000040
+000000c0
+00000100
+80000780
+80000f70
diff --git a/public_test_cases/p00263/output.0.txt b/public_test_cases/p00263/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b21d924925865b01418b8a1f690c694050fb76b
--- /dev/null
+++ b/public_test_cases/p00263/output.0.txt
@@ -0,0 +1,8 @@
+0.0
+-0.0
+1.0
+0.5
+1.5
+2.0
+-15.0
+-30.875
diff --git a/public_test_cases/p00263/output.1.txt b/public_test_cases/p00263/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b21d924925865b01418b8a1f690c694050fb76b
--- /dev/null
+++ b/public_test_cases/p00263/output.1.txt
@@ -0,0 +1,8 @@
+0.0
+-0.0
+1.0
+0.5
+1.5
+2.0
+-15.0
+-30.875
diff --git a/public_test_cases/p00264/input.0.txt b/public_test_cases/p00264/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..687508692e7de90ad940c835a2ffe1a7714e238d
--- /dev/null
+++ b/public_test_cases/p00264/input.0.txt
@@ -0,0 +1,22 @@
+6 3
+2 1
+1 2
+5 2
+1 3
+1 5
+-2 3
+1 1 1 90 30 45
+3 -4
+-3 0
+2 -2
+45 6
+90 6
+135 6
+2 1
+1 3
+5 2
+0 1 1 90 30 45
+-3 0
+2 -2
+45 6
+0 0
diff --git a/public_test_cases/p00264/input.1.txt b/public_test_cases/p00264/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..687508692e7de90ad940c835a2ffe1a7714e238d
--- /dev/null
+++ b/public_test_cases/p00264/input.1.txt
@@ -0,0 +1,22 @@
+6 3
+2 1
+1 2
+5 2
+1 3
+1 5
+-2 3
+1 1 1 90 30 45
+3 -4
+-3 0
+2 -2
+45 6
+90 6
+135 6
+2 1
+1 3
+5 2
+0 1 1 90 30 45
+-3 0
+2 -2
+45 6
+0 0
diff --git a/public_test_cases/p00264/output.0.txt b/public_test_cases/p00264/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1570fe4e8e87a053e6a739dcdc1ddb5bceaac43
--- /dev/null
+++ b/public_test_cases/p00264/output.0.txt
@@ -0,0 +1,2 @@
+5 6
+NA
diff --git a/public_test_cases/p00264/output.1.txt b/public_test_cases/p00264/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1570fe4e8e87a053e6a739dcdc1ddb5bceaac43
--- /dev/null
+++ b/public_test_cases/p00264/output.1.txt
@@ -0,0 +1,2 @@
+5 6
+NA
diff --git a/public_test_cases/p00265/input.0.txt b/public_test_cases/p00265/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57f2f5164731bedf90e2f405a9723ef98573b269
--- /dev/null
+++ b/public_test_cases/p00265/input.0.txt
@@ -0,0 +1,5 @@
+3 3
+9 3 8
+4
+6
+5
diff --git a/public_test_cases/p00265/input.1.txt b/public_test_cases/p00265/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57f2f5164731bedf90e2f405a9723ef98573b269
--- /dev/null
+++ b/public_test_cases/p00265/input.1.txt
@@ -0,0 +1,5 @@
+3 3
+9 3 8
+4
+6
+5
diff --git a/public_test_cases/p00265/output.0.txt b/public_test_cases/p00265/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27f13770c2ea9090aa27fae95d3824849f7c0592
--- /dev/null
+++ b/public_test_cases/p00265/output.0.txt
@@ -0,0 +1,3 @@
+3
+3
+4
diff --git a/public_test_cases/p00265/output.1.txt b/public_test_cases/p00265/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27f13770c2ea9090aa27fae95d3824849f7c0592
--- /dev/null
+++ b/public_test_cases/p00265/output.1.txt
@@ -0,0 +1,3 @@
+3
+3
+4
diff --git a/public_test_cases/p00266/input.0.txt b/public_test_cases/p00266/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bbc44b5af5fa3007be46dfc5e8345fb3341c8de
--- /dev/null
+++ b/public_test_cases/p00266/input.0.txt
@@ -0,0 +1,9 @@
+3
+2
+1 2
+2 3
+4
+2
+2 3
+2 4
+0
diff --git a/public_test_cases/p00266/input.1.txt b/public_test_cases/p00266/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bbc44b5af5fa3007be46dfc5e8345fb3341c8de
--- /dev/null
+++ b/public_test_cases/p00266/input.1.txt
@@ -0,0 +1,9 @@
+3
+2
+1 2
+2 3
+4
+2
+2 3
+2 4
+0
diff --git a/public_test_cases/p00266/output.0.txt b/public_test_cases/p00266/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b94473479cd96f84ea5fdd389a9f4f9d3786b8c1
--- /dev/null
+++ b/public_test_cases/p00266/output.0.txt
@@ -0,0 +1,2 @@
+3
+4
diff --git a/public_test_cases/p00266/output.1.txt b/public_test_cases/p00266/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b94473479cd96f84ea5fdd389a9f4f9d3786b8c1
--- /dev/null
+++ b/public_test_cases/p00266/output.1.txt
@@ -0,0 +1,2 @@
+3
+4
diff --git a/public_test_cases/p00267/input.0.txt b/public_test_cases/p00267/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..617a254a76e12e64b6e0d30c5454b07e252e7e6c
--- /dev/null
+++ b/public_test_cases/p00267/input.0.txt
@@ -0,0 +1,10 @@
+10
+4 9 1 9 5 9 2 3 2 1
+8 7 6 5 10 5 5 4 7 6
+5
+4 3 2 5 1
+4 4 4 4 4
+4
+4 1 3 2
+4 3 2 1
+0
diff --git a/public_test_cases/p00267/input.1.txt b/public_test_cases/p00267/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..617a254a76e12e64b6e0d30c5454b07e252e7e6c
--- /dev/null
+++ b/public_test_cases/p00267/input.1.txt
@@ -0,0 +1,10 @@
+10
+4 9 1 9 5 9 2 3 2 1
+8 7 6 5 10 5 5 4 7 6
+5
+4 3 2 5 1
+4 4 4 4 4
+4
+4 1 3 2
+4 3 2 1
+0
diff --git a/public_test_cases/p00267/output.0.txt b/public_test_cases/p00267/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38678021acf0c9bd6aed36c1987701546f9fe10a
--- /dev/null
+++ b/public_test_cases/p00267/output.0.txt
@@ -0,0 +1,3 @@
+3
+1
+NA
diff --git a/public_test_cases/p00267/output.1.txt b/public_test_cases/p00267/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38678021acf0c9bd6aed36c1987701546f9fe10a
--- /dev/null
+++ b/public_test_cases/p00267/output.1.txt
@@ -0,0 +1,3 @@
+3
+1
+NA
diff --git a/public_test_cases/p00268/input.0.txt b/public_test_cases/p00268/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61603df64ac2e4b2626d464b0099aafd4d35325
--- /dev/null
+++ b/public_test_cases/p00268/input.0.txt
@@ -0,0 +1,45 @@
+4 4
+0 0
+1 0
+1 1
+0 1
+1 2
+1 4
+2 3
+3 4
+12 22
+2 0
+4 0
+8 0
+4 2
+6 2
+8 2
+2 4
+4 4
+6 4
+0 6
+8 6
+0 8
+1 2
+2 3
+1 4
+1 7
+1 10
+2 4
+2 5
+3 5
+3 6
+4 5
+4 8
+5 6
+5 9
+6 9
+6 11
+7 10
+7 8
+8 9
+9 11
+10 11
+10 12
+11 12
+0 0
diff --git a/public_test_cases/p00268/input.1.txt b/public_test_cases/p00268/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61603df64ac2e4b2626d464b0099aafd4d35325
--- /dev/null
+++ b/public_test_cases/p00268/input.1.txt
@@ -0,0 +1,45 @@
+4 4
+0 0
+1 0
+1 1
+0 1
+1 2
+1 4
+2 3
+3 4
+12 22
+2 0
+4 0
+8 0
+4 2
+6 2
+8 2
+2 4
+4 4
+6 4
+0 6
+8 6
+0 8
+1 2
+2 3
+1 4
+1 7
+1 10
+2 4
+2 5
+3 5
+3 6
+4 5
+4 8
+5 6
+5 9
+6 9
+6 11
+7 10
+7 8
+8 9
+9 11
+10 11
+10 12
+11 12
+0 0
diff --git a/public_test_cases/p00268/output.0.txt b/public_test_cases/p00268/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p00268/output.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p00268/output.1.txt b/public_test_cases/p00268/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p00268/output.1.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p00269/input.0.txt b/public_test_cases/p00269/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c66c39cbb6f2ca6f37fc1c21ec5a292e043381f
--- /dev/null
+++ b/public_test_cases/p00269/input.0.txt
@@ -0,0 +1,39 @@
+2 2 1
+5 3
+2 2
+3 3 1
+2 0
+1 2
+2 2
+1 1
+2 2 1
+5 3
+2 2
+3 2 1
+2 0
+1 2
+2 2
+1 1
+2 2 2
+5 3
+2 2
+3 2 1
+2 0
+1 2
+2 2
+1 1
+4 3 1
+2 2 1
+3 2 2
+2 3 3
+1 2 2
+5 4 3
+1 1 0
+1 0 1
+1 0 2
+1 1 2
+2 2 2
+1 0 1
+2 0 2
+1 1 1
+0 0 0
diff --git a/public_test_cases/p00269/input.1.txt b/public_test_cases/p00269/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c66c39cbb6f2ca6f37fc1c21ec5a292e043381f
--- /dev/null
+++ b/public_test_cases/p00269/input.1.txt
@@ -0,0 +1,39 @@
+2 2 1
+5 3
+2 2
+3 3 1
+2 0
+1 2
+2 2
+1 1
+2 2 1
+5 3
+2 2
+3 2 1
+2 0
+1 2
+2 2
+1 1
+2 2 2
+5 3
+2 2
+3 2 1
+2 0
+1 2
+2 2
+1 1
+4 3 1
+2 2 1
+3 2 2
+2 3 3
+1 2 2
+5 4 3
+1 1 0
+1 0 1
+1 0 2
+1 1 2
+2 2 2
+1 0 1
+2 0 2
+1 1 1
+0 0 0
diff --git a/public_test_cases/p00269/output.0.txt b/public_test_cases/p00269/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c58c4c29afdf686329955fae23b899eed8366ac
--- /dev/null
+++ b/public_test_cases/p00269/output.0.txt
@@ -0,0 +1,4 @@
+-1
+9
+6
+7
diff --git a/public_test_cases/p00269/output.1.txt b/public_test_cases/p00269/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c58c4c29afdf686329955fae23b899eed8366ac
--- /dev/null
+++ b/public_test_cases/p00269/output.1.txt
@@ -0,0 +1,4 @@
+-1
+9
+6
+7
diff --git a/public_test_cases/p00270/input.0.txt b/public_test_cases/p00270/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f43dd125b8dec21101edbdc44b8f4757d59f307e
--- /dev/null
+++ b/public_test_cases/p00270/input.0.txt
@@ -0,0 +1,15 @@
+6 7
+1 2 3
+1 4 1
+2 3 5
+4 3 1
+3 6 2
+4 5 2
+5 6 1
+1 6 6
+1 6
+4 3
+4 6
+5 6
+2 6
+2 5
diff --git a/public_test_cases/p00270/input.1.txt b/public_test_cases/p00270/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f43dd125b8dec21101edbdc44b8f4757d59f307e
--- /dev/null
+++ b/public_test_cases/p00270/input.1.txt
@@ -0,0 +1,15 @@
+6 7
+1 2 3
+1 4 1
+2 3 5
+4 3 1
+3 6 2
+4 5 2
+5 6 1
+1 6 6
+1 6
+4 3
+4 6
+5 6
+2 6
+2 5
diff --git a/public_test_cases/p00270/output.0.txt b/public_test_cases/p00270/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d58ad83fc3bc681a24577f922dfefa7615f83d15
--- /dev/null
+++ b/public_test_cases/p00270/output.0.txt
@@ -0,0 +1,6 @@
+Yes
+Yes
+Yes
+Yes
+No
+No
diff --git a/public_test_cases/p00270/output.1.txt b/public_test_cases/p00270/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d58ad83fc3bc681a24577f922dfefa7615f83d15
--- /dev/null
+++ b/public_test_cases/p00270/output.1.txt
@@ -0,0 +1,6 @@
+Yes
+Yes
+Yes
+Yes
+No
+No
diff --git a/public_test_cases/p00271/input.0.txt b/public_test_cases/p00271/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dd032e79edb76f49557f5de3d151eeec993985c
--- /dev/null
+++ b/public_test_cases/p00271/input.0.txt
@@ -0,0 +1,7 @@
+30 19
+39 20
+19 18
+25 20
+22 21
+23 10
+10 -10
diff --git a/public_test_cases/p00271/input.1.txt b/public_test_cases/p00271/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dd032e79edb76f49557f5de3d151eeec993985c
--- /dev/null
+++ b/public_test_cases/p00271/input.1.txt
@@ -0,0 +1,7 @@
+30 19
+39 20
+19 18
+25 20
+22 21
+23 10
+10 -10
diff --git a/public_test_cases/p00271/output.0.txt b/public_test_cases/p00271/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6f682d088c35369a5f9cd69e1eef602d54e82a1
--- /dev/null
+++ b/public_test_cases/p00271/output.0.txt
@@ -0,0 +1,7 @@
+11
+19
+1
+5
+1
+13
+20
diff --git a/public_test_cases/p00271/output.1.txt b/public_test_cases/p00271/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6f682d088c35369a5f9cd69e1eef602d54e82a1
--- /dev/null
+++ b/public_test_cases/p00271/output.1.txt
@@ -0,0 +1,7 @@
+11
+19
+1
+5
+1
+13
+20
diff --git a/public_test_cases/p00272/input.0.txt b/public_test_cases/p00272/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd6c8c665176bede736f3b1208ed4144f333df6d
--- /dev/null
+++ b/public_test_cases/p00272/input.0.txt
@@ -0,0 +1,4 @@
+3 10
+1 4
+4 1
+2 5
diff --git a/public_test_cases/p00272/input.1.txt b/public_test_cases/p00272/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd6c8c665176bede736f3b1208ed4144f333df6d
--- /dev/null
+++ b/public_test_cases/p00272/input.1.txt
@@ -0,0 +1,4 @@
+3 10
+1 4
+4 1
+2 5
diff --git a/public_test_cases/p00272/output.0.txt b/public_test_cases/p00272/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23f97a986f1aba0e4d166867e242057da1e5bc40
--- /dev/null
+++ b/public_test_cases/p00272/output.0.txt
@@ -0,0 +1,4 @@
+30000
+24000
+2000
+20000
diff --git a/public_test_cases/p00272/output.1.txt b/public_test_cases/p00272/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23f97a986f1aba0e4d166867e242057da1e5bc40
--- /dev/null
+++ b/public_test_cases/p00272/output.1.txt
@@ -0,0 +1,4 @@
+30000
+24000
+2000
+20000
diff --git a/public_test_cases/p00273/input.0.txt b/public_test_cases/p00273/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b60d2f879bc9dc09f53068ca7264e53611c4aef4
--- /dev/null
+++ b/public_test_cases/p00273/input.0.txt
@@ -0,0 +1,3 @@
+2
+100 100 1 1
+1000 500 5 2
diff --git a/public_test_cases/p00273/input.1.txt b/public_test_cases/p00273/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b60d2f879bc9dc09f53068ca7264e53611c4aef4
--- /dev/null
+++ b/public_test_cases/p00273/input.1.txt
@@ -0,0 +1,3 @@
+2
+100 100 1 1
+1000 500 5 2
diff --git a/public_test_cases/p00273/output.0.txt b/public_test_cases/p00273/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6755f7fe8241b39546634a4e1e74c6bdfb59cff3
--- /dev/null
+++ b/public_test_cases/p00273/output.0.txt
@@ -0,0 +1,2 @@
+200
+4800
diff --git a/public_test_cases/p00273/output.1.txt b/public_test_cases/p00273/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6755f7fe8241b39546634a4e1e74c6bdfb59cff3
--- /dev/null
+++ b/public_test_cases/p00273/output.1.txt
@@ -0,0 +1,2 @@
+200
+4800
diff --git a/public_test_cases/p00274/input.0.txt b/public_test_cases/p00274/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d221cfa50726f8384ad7543fc0ef281de2148582
--- /dev/null
+++ b/public_test_cases/p00274/input.0.txt
@@ -0,0 +1,7 @@
+2
+3 2
+3
+0 1 1
+1
+1000
+0
diff --git a/public_test_cases/p00274/input.1.txt b/public_test_cases/p00274/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d221cfa50726f8384ad7543fc0ef281de2148582
--- /dev/null
+++ b/public_test_cases/p00274/input.1.txt
@@ -0,0 +1,7 @@
+2
+3 2
+3
+0 1 1
+1
+1000
+0
diff --git a/public_test_cases/p00274/output.0.txt b/public_test_cases/p00274/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e479723610d1850f422c9967bfd7b81fcb8a5a6
--- /dev/null
+++ b/public_test_cases/p00274/output.0.txt
@@ -0,0 +1,3 @@
+3
+NA
+2
diff --git a/public_test_cases/p00274/output.1.txt b/public_test_cases/p00274/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e479723610d1850f422c9967bfd7b81fcb8a5a6
--- /dev/null
+++ b/public_test_cases/p00274/output.1.txt
@@ -0,0 +1,3 @@
+3
+NA
+2
diff --git a/public_test_cases/p00275/input.0.txt b/public_test_cases/p00275/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d7cba791706a6561f60e1945b8c69fff2e25829
--- /dev/null
+++ b/public_test_cases/p00275/input.0.txt
@@ -0,0 +1,7 @@
+2
+SSSSSSSSSSSSSSSLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
+2
+SSSSSSSSSSSSSSLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMSL
+5
+MMMMMMSLSLLMMMSMMSLMMMLMMMMLSLLLLMLSMMLMMLLMSSSLMMMMLMLSMLMSMMMMMMMSMMMMMMLMMMMMSMMMLMMLMMMMMMMMMSSM
+0
diff --git a/public_test_cases/p00275/input.1.txt b/public_test_cases/p00275/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d7cba791706a6561f60e1945b8c69fff2e25829
--- /dev/null
+++ b/public_test_cases/p00275/input.1.txt
@@ -0,0 +1,7 @@
+2
+SSSSSSSSSSSSSSSLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
+2
+SSSSSSSSSSSSSSLLLLLLLLLLLLLLLLLLLLMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMSL
+5
+MMMMMMSLSLLMMMSMMSLMMMLMMMMLSLLLLMLSMMLMMLLMSSSLMMMMLMLSMLMSMMMMMMMSMMMMMMLMMMMMSMMMLMMLMMMMMMMMMSSM
+0
diff --git a/public_test_cases/p00275/output.0.txt b/public_test_cases/p00275/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16622f09f6094b0f2fe0e2841705aa4529fe88e2
--- /dev/null
+++ b/public_test_cases/p00275/output.0.txt
@@ -0,0 +1,3 @@
+42 58 0
+0 100 0
+0 0 3 10 59 28
diff --git a/public_test_cases/p00275/output.1.txt b/public_test_cases/p00275/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16622f09f6094b0f2fe0e2841705aa4529fe88e2
--- /dev/null
+++ b/public_test_cases/p00275/output.1.txt
@@ -0,0 +1,3 @@
+42 58 0
+0 100 0
+0 0 3 10 59 28
diff --git a/public_test_cases/p00276/input.0.txt b/public_test_cases/p00276/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13f8df1967b4c82ddd8bce5f9675ad14ad73f9cb
--- /dev/null
+++ b/public_test_cases/p00276/input.0.txt
@@ -0,0 +1,5 @@
+4
+3 0 0
+1 1 1
+9 4 1
+0 1 2
diff --git a/public_test_cases/p00276/input.1.txt b/public_test_cases/p00276/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13f8df1967b4c82ddd8bce5f9675ad14ad73f9cb
--- /dev/null
+++ b/public_test_cases/p00276/input.1.txt
@@ -0,0 +1,5 @@
+4
+3 0 0
+1 1 1
+9 4 1
+0 1 2
diff --git a/public_test_cases/p00276/output.0.txt b/public_test_cases/p00276/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b434899fd1184219bfae3826cb0fa052207ccb02
--- /dev/null
+++ b/public_test_cases/p00276/output.0.txt
@@ -0,0 +1,4 @@
+1
+1
+4
+0
diff --git a/public_test_cases/p00276/output.1.txt b/public_test_cases/p00276/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b434899fd1184219bfae3826cb0fa052207ccb02
--- /dev/null
+++ b/public_test_cases/p00276/output.1.txt
@@ -0,0 +1,4 @@
+1
+1
+4
+0
diff --git a/public_test_cases/p00277/input.0.txt b/public_test_cases/p00277/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0fe8d094e73332e82de0065a378cdcea8283a3a
--- /dev/null
+++ b/public_test_cases/p00277/input.0.txt
@@ -0,0 +1,5 @@
+3 4 600
+3 100 5
+1 200 10
+2 400 20
+3 500 20
diff --git a/public_test_cases/p00277/input.1.txt b/public_test_cases/p00277/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0fe8d094e73332e82de0065a378cdcea8283a3a
--- /dev/null
+++ b/public_test_cases/p00277/input.1.txt
@@ -0,0 +1,5 @@
+3 4 600
+3 100 5
+1 200 10
+2 400 20
+3 500 20
diff --git a/public_test_cases/p00277/output.0.txt b/public_test_cases/p00277/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00277/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00277/output.1.txt b/public_test_cases/p00277/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00277/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00278/input.0.txt b/public_test_cases/p00278/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c96cbfc327a7f95f21b40bd7f9e69056623f482
--- /dev/null
+++ b/public_test_cases/p00278/input.0.txt
@@ -0,0 +1,14 @@
+5 8
+5
+10
+8
+7
+3
+ADD 1
+ADD 3
+CHECK 0
+CHECK 1
+CHECK 2
+CHECK 3
+CHECK 4
+CHECK 5
diff --git a/public_test_cases/p00278/input.1.txt b/public_test_cases/p00278/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c96cbfc327a7f95f21b40bd7f9e69056623f482
--- /dev/null
+++ b/public_test_cases/p00278/input.1.txt
@@ -0,0 +1,14 @@
+5 8
+5
+10
+8
+7
+3
+ADD 1
+ADD 3
+CHECK 0
+CHECK 1
+CHECK 2
+CHECK 3
+CHECK 4
+CHECK 5
diff --git a/public_test_cases/p00278/output.0.txt b/public_test_cases/p00278/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..685275ef702faca67d9f19fc1b27d300b238bddf
--- /dev/null
+++ b/public_test_cases/p00278/output.0.txt
@@ -0,0 +1,6 @@
+NA
+2
+1
+0
+0
+0
diff --git a/public_test_cases/p00278/output.1.txt b/public_test_cases/p00278/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..685275ef702faca67d9f19fc1b27d300b238bddf
--- /dev/null
+++ b/public_test_cases/p00278/output.1.txt
@@ -0,0 +1,6 @@
+NA
+2
+1
+0
+0
+0
diff --git a/public_test_cases/p00279/input.0.txt b/public_test_cases/p00279/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88737bb60fea418f141f1afbfa994b6c9b159f98
--- /dev/null
+++ b/public_test_cases/p00279/input.0.txt
@@ -0,0 +1,10 @@
+5
+0 0
+3 0
+5 2
+1 4
+0 3
+3
+3
+4
+5
diff --git a/public_test_cases/p00279/input.1.txt b/public_test_cases/p00279/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88737bb60fea418f141f1afbfa994b6c9b159f98
--- /dev/null
+++ b/public_test_cases/p00279/input.1.txt
@@ -0,0 +1,10 @@
+5
+0 0
+3 0
+5 2
+1 4
+0 3
+3
+3
+4
+5
diff --git a/public_test_cases/p00279/output.0.txt b/public_test_cases/p00279/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66f3c745cc41f57a05157abf997b81dfd2eabe66
--- /dev/null
+++ b/public_test_cases/p00279/output.0.txt
@@ -0,0 +1,3 @@
+1 4 5
+1 2 4 5
+1 2 3 4 5
diff --git a/public_test_cases/p00279/output.1.txt b/public_test_cases/p00279/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66f3c745cc41f57a05157abf997b81dfd2eabe66
--- /dev/null
+++ b/public_test_cases/p00279/output.1.txt
@@ -0,0 +1,3 @@
+1 4 5
+1 2 4 5
+1 2 3 4 5
diff --git a/public_test_cases/p00280/input.0.txt b/public_test_cases/p00280/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p00280/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p00280/output.0.txt b/public_test_cases/p00280/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf8522816484531af57b2f877d9fbcecce8af262
--- /dev/null
+++ b/public_test_cases/p00280/output.0.txt
@@ -0,0 +1,6 @@
+AABB
+ABAB
+ABBA
+BAAB
+BABA
+BBAA
diff --git a/public_test_cases/p00281/input.0.txt b/public_test_cases/p00281/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..423fffbbea1f461bfc0dfb43d353f72979ad61c2
--- /dev/null
+++ b/public_test_cases/p00281/input.0.txt
@@ -0,0 +1,13 @@
+4 6
+1 2 1
+2 3 2
+2 4 3
+3 1 5
+4 2 4
+4 3 2
+4 6 10
+0 0 0
+3
+1 3 2 4 0 10
+6 5 4 3 2 1
+5 1 1 5 5 1
diff --git a/public_test_cases/p00281/output.0.txt b/public_test_cases/p00281/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3cc2c7c7790d19f667829e5ef58798bdc5b8608
--- /dev/null
+++ b/public_test_cases/p00281/output.0.txt
@@ -0,0 +1,3 @@
+3 16 5 116
+5 17 30 38
+1 17 25 16
diff --git a/public_test_cases/p00282/input.0.txt b/public_test_cases/p00282/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02eddea94d731a05d9717fc242c707bc89618aad
--- /dev/null
+++ b/public_test_cases/p00282/input.0.txt
@@ -0,0 +1,5 @@
+2 10
+5 20
+10 8
+20 17
+0 0
diff --git a/public_test_cases/p00282/output.0.txt b/public_test_cases/p00282/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdfbccd7f89d4b18f5420abda0fc7e740f2a4528
--- /dev/null
+++ b/public_test_cases/p00282/output.0.txt
@@ -0,0 +1,4 @@
+1024
+95Cho3674Oku3164Man625
+1Oku
+131Gai720Kei
diff --git a/public_test_cases/p00283/input.0.txt b/public_test_cases/p00283/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a0da26dd34bb2df2cc3e804ae20aa35e1315c72
--- /dev/null
+++ b/public_test_cases/p00283/input.0.txt
@@ -0,0 +1,13 @@
+15 4
+1 1 0
+1 2 2
+5 10 5
+8 1 15
+60 4
+5 2 0
+8 8 2
+3 5 0
+49 0 18
+100 1
+1 1 1
+0 0
diff --git a/public_test_cases/p00283/output.0.txt b/public_test_cases/p00283/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c44d47f16775d1ef5a5d0eae85a1e031c60a9c25
--- /dev/null
+++ b/public_test_cases/p00283/output.0.txt
@@ -0,0 +1,3 @@
+6
+4
+NA
diff --git a/public_test_cases/p00284/input.0.txt b/public_test_cases/p00284/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9128b02f6ef671a8836779e83ae113fb9258b82f
--- /dev/null
+++ b/public_test_cases/p00284/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 7
+-1048576 0
+-3 5
diff --git a/public_test_cases/p00284/output.0.txt b/public_test_cases/p00284/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..376b761b1d6afe0c1772ee23b0063980f86948ad
--- /dev/null
+++ b/public_test_cases/p00284/output.0.txt
@@ -0,0 +1,3 @@
+3
+1
+4
diff --git a/public_test_cases/p00285/input.0.txt b/public_test_cases/p00285/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..835e9c2eab9354050d2acfd5b1209744dcbfb270
--- /dev/null
+++ b/public_test_cases/p00285/input.0.txt
@@ -0,0 +1,10 @@
+3 3
+0 20 30
+10 20 30
+10 10
+32 10 15 8 20 10 6 45 50 41
+18 0 37 25 45 11 25 21 32 27
+7 3
+23 14 39 6 47 16 23
+19 37 8
+0 0
diff --git a/public_test_cases/p00285/output.0.txt b/public_test_cases/p00285/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9362f48131f8ec053504aa9904df8c70f230a7a3
--- /dev/null
+++ b/public_test_cases/p00285/output.0.txt
@@ -0,0 +1,3 @@
+12000
+53906
+11629
diff --git a/public_test_cases/p00286/input.0.txt b/public_test_cases/p00286/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0680264de2fae6c3d39efd5367764ea7c5e16140
--- /dev/null
+++ b/public_test_cases/p00286/input.0.txt
@@ -0,0 +1,13 @@
+5 2
+A 5
+1 0 0 1
+0 1 0 0
+1 0 1 0
+0 1 0 1
+B 4
+1 0 0 1
+0 1 0 0
+0 0 1 0
+2
+2(A+B)
+1000000000(1000000000A+1000000000B)
diff --git a/public_test_cases/p00286/output.0.txt b/public_test_cases/p00286/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5d7592760a33aeaafa6c2e626ce3e61f07370af
--- /dev/null
+++ b/public_test_cases/p00286/output.0.txt
@@ -0,0 +1,2 @@
+4 2 5 1 3
+1 2 3 4 5
diff --git a/public_test_cases/p00287/input.0.txt b/public_test_cases/p00287/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1cbc7226589dcd7c6aa96f0aa9c9445bdd8043d5
--- /dev/null
+++ b/public_test_cases/p00287/input.0.txt
@@ -0,0 +1,9 @@
+5 6 5
+0 2 5 2
+0 3 5 3
+0 4 3 4
+1 4 1 6
+3 0 3 6
+2
+2 5 4 1
+2 5 4 5
diff --git a/public_test_cases/p00287/output.0.txt b/public_test_cases/p00287/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p00287/output.0.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p00288/input.0.txt b/public_test_cases/p00288/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaa10020b0f2e66a89ccbbba978b928f242d66dc
--- /dev/null
+++ b/public_test_cases/p00288/input.0.txt
@@ -0,0 +1,72 @@
+1 1 1
+0 0
+0 0 1 0
+1 1 0
+0 0
+-3 0 2 3
+1 3 1
+0 0
+-3 0 2 3
+0 -5 2 0
+4 0 2 1
+4 3 1
+0 0
+0 0
+0 0
+0 0
+-3 0 2 3
+0 -5 2 0
+4 0 2 1
+6 3 1
+0 0
+0 0
+0 0
+0 0
+0 0
+0 0
+-3 0 2 3
+0 -5 2 0
+4 0 2 1
+6 3 2
+0 0
+0 0
+0 0
+0 0
+0 0
+0 0
+-3 0 2 3
+0 -5 2 0
+4 0 2 1
+10 5 1
+0 0
+2 0
+4 0
+8 0
+100 0
+100 0
+100 0
+100 0
+100 0
+100 0
+-3 0 1 0
+1 0 1 0
+3 0 2 0
+15 0 1 0
+105 0 6 0
+10 5 2
+0 0
+2 0
+4 0
+8 0
+100 0
+100 0
+100 0
+100 0
+100 0
+100 0
+-3 0 1 0
+1 0 1 0
+3 0 2 0
+15 0 1 0
+105 0 6 0
+0 0 0
diff --git a/public_test_cases/p00288/output.0.txt b/public_test_cases/p00288/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68b0cdaf2bab0754afb4d5edf0a0b7e0a945dfe6
--- /dev/null
+++ b/public_test_cases/p00288/output.0.txt
@@ -0,0 +1,8 @@
+0
+3
+5
+11
+18
+28
+20
+38
diff --git a/public_test_cases/p00289/input.0.txt b/public_test_cases/p00289/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9d117f611399fdca70f96f411b4ff882049a4de
--- /dev/null
+++ b/public_test_cases/p00289/input.0.txt
@@ -0,0 +1,14 @@
+6 7
+1 2
+2 3
+1 3
+1 4
+4 5
+5 6
+6 1
+5
+2
+3
+4
+5
+6
diff --git a/public_test_cases/p00289/output.0.txt b/public_test_cases/p00289/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c51caf8326e5df1990f6bcf62455a80251faa897
--- /dev/null
+++ b/public_test_cases/p00289/output.0.txt
@@ -0,0 +1,5 @@
+2
+3
+4
+4
+5
diff --git a/public_test_cases/p00290/input.0.txt b/public_test_cases/p00290/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d7c784a9981a5314a36cc86dcc685123577e8e0
--- /dev/null
+++ b/public_test_cases/p00290/input.0.txt
@@ -0,0 +1 @@
+20 2
diff --git a/public_test_cases/p00290/output.0.txt b/public_test_cases/p00290/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p00290/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p00291/input.0.txt b/public_test_cases/p00291/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ff0e0bd4791632a896ec00ea9fa5905d9cf3706
--- /dev/null
+++ b/public_test_cases/p00291/input.0.txt
@@ -0,0 +1 @@
+3 1 4 0 4 1
diff --git a/public_test_cases/p00291/output.0.txt b/public_test_cases/p00291/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00291/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00292/input.0.txt b/public_test_cases/p00292/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38da8dff0d678983febd9ed8b560ec3cf35a71f8
--- /dev/null
+++ b/public_test_cases/p00292/input.0.txt
@@ -0,0 +1,4 @@
+3
+10 3
+2 10
+4 2
diff --git a/public_test_cases/p00292/output.0.txt b/public_test_cases/p00292/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ca3cd52fcf5f3ce33b7fd5b2542687a9a39a77a
--- /dev/null
+++ b/public_test_cases/p00292/output.0.txt
@@ -0,0 +1,3 @@
+1
+2
+2
diff --git a/public_test_cases/p00293/input.0.txt b/public_test_cases/p00293/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..637454808030d395b6340445f1780a554e969a18
--- /dev/null
+++ b/public_test_cases/p00293/input.0.txt
@@ -0,0 +1,2 @@
+2 9 8 15 59
+1 8 27
diff --git a/public_test_cases/p00293/output.0.txt b/public_test_cases/p00293/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82ba69c8013f358c118043655e1248df9fde3b99
--- /dev/null
+++ b/public_test_cases/p00293/output.0.txt
@@ -0,0 +1 @@
+8:27 9:08 15:59
diff --git a/public_test_cases/p00294/input.0.txt b/public_test_cases/p00294/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92b13f40bc090b70a9e7ecf8427c7d5eac22d2cf
--- /dev/null
+++ b/public_test_cases/p00294/input.0.txt
@@ -0,0 +1,5 @@
+5 4 0
+1
+2
+3
+4
diff --git a/public_test_cases/p00294/output.0.txt b/public_test_cases/p00294/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d411bb7c1acabe5edc652eb910b74ab77be9dd3d
--- /dev/null
+++ b/public_test_cases/p00294/output.0.txt
@@ -0,0 +1 @@
+400
diff --git a/public_test_cases/p00295/input.0.txt b/public_test_cases/p00295/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..217749ea1b4c5a1d7b144fe6b67874b197127934
--- /dev/null
+++ b/public_test_cases/p00295/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 1 1 1 1 1 1 1 1 2 2 2 4 4 4 6 6 6 5 5 5 3 3 3 3 3 3 3 3 3
+3 3 3 1 1 1 1 1 1 2 2 2 4 4 6 4 6 6 5 5 5 3 3 3 3 3 3 1 1 1
+3 3 3 1 1 3 1 1 1 2 2 5 6 4 4 4 6 6 2 5 5 3 3 3 1 3 3 1 1 1
+1 3 1 3 1 3 3 1 3 2 2 2 6 4 4 6 6 4 5 5 5 1 3 1 1 3 1 3 1 3
diff --git a/public_test_cases/p00295/output.0.txt b/public_test_cases/p00295/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..857ba3db782f3f69fb14e161fd2b07e7fc1f5bd3
--- /dev/null
+++ b/public_test_cases/p00295/output.0.txt
@@ -0,0 +1,4 @@
+0
+1
+2
+7
diff --git a/public_test_cases/p00296/input.0.txt b/public_test_cases/p00296/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf4851ca8732af074132b1bf39a076ca8151eeee
--- /dev/null
+++ b/public_test_cases/p00296/input.0.txt
@@ -0,0 +1,3 @@
+10 5 3
+2 6 5 18 3
+3 0 5
diff --git a/public_test_cases/p00296/output.0.txt b/public_test_cases/p00296/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16db301bb512cb809eb9cc31acf34eb98cb19541
--- /dev/null
+++ b/public_test_cases/p00296/output.0.txt
@@ -0,0 +1,3 @@
+1
+0
+1
diff --git a/public_test_cases/p00297/input.0.txt b/public_test_cases/p00297/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b5ff8ef9a89a22be28a66474f34f50cc931edea
--- /dev/null
+++ b/public_test_cases/p00297/input.0.txt
@@ -0,0 +1,10 @@
+9 2
+1 1 1
+1 5 12
+2 3 2
+3 2 4
+4 4 1
+5 1 3
+5 3 8
+6 5 5
+7 2 4
diff --git a/public_test_cases/p00297/output.0.txt b/public_test_cases/p00297/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p00297/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p00298/input.0.txt b/public_test_cases/p00298/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d01eb8ad6cd862a8ed7fc0a99c8474fec65eec1
--- /dev/null
+++ b/public_test_cases/p00298/input.0.txt
@@ -0,0 +1,4 @@
+3
+150 120
+100 50
+80 100
diff --git a/public_test_cases/p00298/input.1.txt b/public_test_cases/p00298/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d01eb8ad6cd862a8ed7fc0a99c8474fec65eec1
--- /dev/null
+++ b/public_test_cases/p00298/input.1.txt
@@ -0,0 +1,4 @@
+3
+150 120
+100 50
+80 100
diff --git a/public_test_cases/p00298/output.0.txt b/public_test_cases/p00298/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00298/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00298/output.1.txt b/public_test_cases/p00298/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00298/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00299/input.0.txt b/public_test_cases/p00299/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7419f89c710420cc6f77eb33e44098c35a9b088
--- /dev/null
+++ b/public_test_cases/p00299/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+1
diff --git a/public_test_cases/p00299/input.1.txt b/public_test_cases/p00299/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7419f89c710420cc6f77eb33e44098c35a9b088
--- /dev/null
+++ b/public_test_cases/p00299/input.1.txt
@@ -0,0 +1,2 @@
+3 2
+1
diff --git a/public_test_cases/p00299/output.0.txt b/public_test_cases/p00299/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00299/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00299/output.1.txt b/public_test_cases/p00299/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00299/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00300/input.0.txt b/public_test_cases/p00300/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72b00fec777e5776351c2b79db0c7b3f4d9a6c02
--- /dev/null
+++ b/public_test_cases/p00300/input.0.txt
@@ -0,0 +1,5 @@
+4
+300 120
+300 105
+250 105
+250 90
diff --git a/public_test_cases/p00300/output.0.txt b/public_test_cases/p00300/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bc0539ae3c3fd1fa5d79a2c5168cd6d36f37d87
--- /dev/null
+++ b/public_test_cases/p00300/output.0.txt
@@ -0,0 +1,4 @@
+23
+18 23
+17 18 22 23
+17 18
diff --git a/public_test_cases/p00301/input.0.txt b/public_test_cases/p00301/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p00301/input.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p00301/input.1.txt b/public_test_cases/p00301/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p00301/input.1.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p00301/output.0.txt b/public_test_cases/p00301/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c5f00ca723062ce0d1f1bac26ca38620785d63f
--- /dev/null
+++ b/public_test_cases/p00301/output.0.txt
@@ -0,0 +1 @@
++0-+
diff --git a/public_test_cases/p00301/output.1.txt b/public_test_cases/p00301/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c5f00ca723062ce0d1f1bac26ca38620785d63f
--- /dev/null
+++ b/public_test_cases/p00301/output.1.txt
@@ -0,0 +1 @@
++0-+
diff --git a/public_test_cases/p00302/input.0.txt b/public_test_cases/p00302/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b940abc548ff9bea47b31415df9400115ed47017
--- /dev/null
+++ b/public_test_cases/p00302/input.0.txt
@@ -0,0 +1,2 @@
+1 10 20
+1
diff --git a/public_test_cases/p00302/output.0.txt b/public_test_cases/p00302/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00302/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00303/input.0.txt b/public_test_cases/p00303/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60ad272f621fcbc84625ccac1f4148a52e204941
--- /dev/null
+++ b/public_test_cases/p00303/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 lock 1
+2 lock 2
+1 wait 2
+2 wait 1
diff --git a/public_test_cases/p00303/output.0.txt b/public_test_cases/p00303/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00303/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00304/input.0.txt b/public_test_cases/p00304/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27ea60de786ab7425d1a24870fbf2cb426736ef2
--- /dev/null
+++ b/public_test_cases/p00304/input.0.txt
@@ -0,0 +1,24 @@
+12
+A
+E
+E
+E
+R?
+E?
+E?
+E
+E
+E
+E?
+E
+1 2
+1 3
+1 4
+2 5
+4 6
+4 7
+5 8
+5 9
+7 10
+7 11
+11 12
diff --git a/public_test_cases/p00304/output.0.txt b/public_test_cases/p00304/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00304/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00305/input.0.txt b/public_test_cases/p00305/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b724aca2e62aaaac5b69b91f11bfcdccf9bc5fc4
--- /dev/null
+++ b/public_test_cases/p00305/input.0.txt
@@ -0,0 +1,6 @@
+5
+2 0 0 2 0
+0 1 0 2 0
+0 0 0 -1 0
+0 4 0 3 0
+-1 0 0 1 0
diff --git a/public_test_cases/p00305/output.0.txt b/public_test_cases/p00305/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p00305/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p00306/input.0.txt b/public_test_cases/p00306/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36fbf7823a66422e4b1d7a1830ad531ed0b11fb6
--- /dev/null
+++ b/public_test_cases/p00306/input.0.txt
@@ -0,0 +1 @@
+90 10
diff --git a/public_test_cases/p00306/input.1.txt b/public_test_cases/p00306/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36fbf7823a66422e4b1d7a1830ad531ed0b11fb6
--- /dev/null
+++ b/public_test_cases/p00306/input.1.txt
@@ -0,0 +1 @@
+90 10
diff --git a/public_test_cases/p00306/output.0.txt b/public_test_cases/p00306/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba66466c2a0d0a1080ad71d8e1a67a97f336c384
--- /dev/null
+++ b/public_test_cases/p00306/output.0.txt
@@ -0,0 +1 @@
+0.0
diff --git a/public_test_cases/p00306/output.1.txt b/public_test_cases/p00306/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba66466c2a0d0a1080ad71d8e1a67a97f336c384
--- /dev/null
+++ b/public_test_cases/p00306/output.1.txt
@@ -0,0 +1 @@
+0.0
diff --git a/public_test_cases/p00307/input.0.txt b/public_test_cases/p00307/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bbdc5b086b8db7d87b11e04ebe8ed3625e31f18
--- /dev/null
+++ b/public_test_cases/p00307/input.0.txt
@@ -0,0 +1,8 @@
+3 4
+2 2
+3 3
+4 4
+3 3
+4 4
+1 1
+2 2
diff --git a/public_test_cases/p00307/output.0.txt b/public_test_cases/p00307/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00307/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00308/input.0.txt b/public_test_cases/p00308/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cde1f025b11407560ecfc07eca6ed4a561a6880
--- /dev/null
+++ b/public_test_cases/p00308/input.0.txt
@@ -0,0 +1,7 @@
+6
+oooxxxx
+ooooxxx
+oxxooxxo
+ooxx
+oo
+ooo
diff --git a/public_test_cases/p00308/input.1.txt b/public_test_cases/p00308/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cde1f025b11407560ecfc07eca6ed4a561a6880
--- /dev/null
+++ b/public_test_cases/p00308/input.1.txt
@@ -0,0 +1,7 @@
+6
+oooxxxx
+ooooxxx
+oxxooxxo
+ooxx
+oo
+ooo
diff --git a/public_test_cases/p00308/output.0.txt b/public_test_cases/p00308/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c8934753486cd8e5d988f548cc3c93df1e6e35d
--- /dev/null
+++ b/public_test_cases/p00308/output.0.txt
@@ -0,0 +1,17 @@
+-1
+7
+split 0 0
+join 2 1
+split 3 4
+split 4 0
+join 7 6
+split 8 2
+split 9 0
+3
+split 0 1
+split 2 1
+split 4 1
+-1
+0
+1
+split 0 0
diff --git a/public_test_cases/p00308/output.1.txt b/public_test_cases/p00308/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c8934753486cd8e5d988f548cc3c93df1e6e35d
--- /dev/null
+++ b/public_test_cases/p00308/output.1.txt
@@ -0,0 +1,17 @@
+-1
+7
+split 0 0
+join 2 1
+split 3 4
+split 4 0
+join 7 6
+split 8 2
+split 9 0
+3
+split 0 1
+split 2 1
+split 4 1
+-1
+0
+1
+split 0 0
diff --git a/public_test_cases/p00309/input.0.txt b/public_test_cases/p00309/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f36b5ac31ef0f41f3244010be88e1cfd303eb81
--- /dev/null
+++ b/public_test_cases/p00309/input.0.txt
@@ -0,0 +1,8 @@
+6 7
+1 2 1
+2 3 2
+3 1 3
+4 5 4
+5 6 5
+6 4 6
+1 4 7
diff --git a/public_test_cases/p00309/input.1.txt b/public_test_cases/p00309/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f36b5ac31ef0f41f3244010be88e1cfd303eb81
--- /dev/null
+++ b/public_test_cases/p00309/input.1.txt
@@ -0,0 +1,8 @@
+6 7
+1 2 1
+2 3 2
+3 1 3
+4 5 4
+5 6 5
+6 4 6
+1 4 7
diff --git a/public_test_cases/p00309/output.0.txt b/public_test_cases/p00309/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b77c2f033300f5f36b92ef059d51b885745f4b3
--- /dev/null
+++ b/public_test_cases/p00309/output.0.txt
@@ -0,0 +1 @@
+7 18
diff --git a/public_test_cases/p00309/output.1.txt b/public_test_cases/p00309/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b77c2f033300f5f36b92ef059d51b885745f4b3
--- /dev/null
+++ b/public_test_cases/p00309/output.1.txt
@@ -0,0 +1 @@
+7 18
diff --git a/public_test_cases/p00310/input.0.txt b/public_test_cases/p00310/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..320b8ab09b5beed47ad52b325ba39183470d8ee9
--- /dev/null
+++ b/public_test_cases/p00310/input.0.txt
@@ -0,0 +1 @@
+10 10 20
diff --git a/public_test_cases/p00310/input.1.txt b/public_test_cases/p00310/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..320b8ab09b5beed47ad52b325ba39183470d8ee9
--- /dev/null
+++ b/public_test_cases/p00310/input.1.txt
@@ -0,0 +1 @@
+10 10 20
diff --git a/public_test_cases/p00310/input.2.txt b/public_test_cases/p00310/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d1e8c4c28a2a91994ca3d178f65a51713975170
--- /dev/null
+++ b/public_test_cases/p00310/input.2.txt
@@ -0,0 +1 @@
+100 0 0
diff --git a/public_test_cases/p00310/input.3.txt b/public_test_cases/p00310/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a488289edd1f3e7691ce68ead07631af9ca1169a
--- /dev/null
+++ b/public_test_cases/p00310/input.3.txt
@@ -0,0 +1 @@
+1000 1000 1000
diff --git a/public_test_cases/p00310/output.0.txt b/public_test_cases/p00310/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p00310/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p00310/output.1.txt b/public_test_cases/p00310/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p00310/output.1.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p00310/output.2.txt b/public_test_cases/p00310/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p00310/output.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p00310/output.3.txt b/public_test_cases/p00310/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13de30f45d1a183bfc67d7f3c660dfce3dfee9e4
--- /dev/null
+++ b/public_test_cases/p00310/output.3.txt
@@ -0,0 +1 @@
+3000
diff --git a/public_test_cases/p00311/input.0.txt b/public_test_cases/p00311/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8fdf337445edaf4374ad4c74f1c8c75e9277cc7
--- /dev/null
+++ b/public_test_cases/p00311/input.0.txt
@@ -0,0 +1,3 @@
+5 1
+3 1
+1 2 5 5
diff --git a/public_test_cases/p00311/input.1.txt b/public_test_cases/p00311/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8fdf337445edaf4374ad4c74f1c8c75e9277cc7
--- /dev/null
+++ b/public_test_cases/p00311/input.1.txt
@@ -0,0 +1,3 @@
+5 1
+3 1
+1 2 5 5
diff --git a/public_test_cases/p00311/input.2.txt b/public_test_cases/p00311/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ecfbf4f239ce03c371b71507df29188c8edecfd
--- /dev/null
+++ b/public_test_cases/p00311/input.2.txt
@@ -0,0 +1,3 @@
+0 20
+10 0
+1 1 10 0
diff --git a/public_test_cases/p00311/input.3.txt b/public_test_cases/p00311/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17cd6d88fd6dbd1cd8d78d7fefb749df05ec757f
--- /dev/null
+++ b/public_test_cases/p00311/input.3.txt
@@ -0,0 +1,3 @@
+5 1
+4 2
+1 2 5 5
diff --git a/public_test_cases/p00311/output.0.txt b/public_test_cases/p00311/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63be707c671cb61cdcc2be9b33cc7b0b86936c9c
--- /dev/null
+++ b/public_test_cases/p00311/output.0.txt
@@ -0,0 +1 @@
+hiroshi
diff --git a/public_test_cases/p00311/output.1.txt b/public_test_cases/p00311/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63be707c671cb61cdcc2be9b33cc7b0b86936c9c
--- /dev/null
+++ b/public_test_cases/p00311/output.1.txt
@@ -0,0 +1 @@
+hiroshi
diff --git a/public_test_cases/p00311/output.2.txt b/public_test_cases/p00311/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab6a4d161e7db5506de09f4372bd84f9a625415c
--- /dev/null
+++ b/public_test_cases/p00311/output.2.txt
@@ -0,0 +1 @@
+even
diff --git a/public_test_cases/p00311/output.3.txt b/public_test_cases/p00311/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4b2a19298df52b4bfb8fedbe1f94c89fdba9813
--- /dev/null
+++ b/public_test_cases/p00311/output.3.txt
@@ -0,0 +1 @@
+kenjiro
diff --git a/public_test_cases/p00312/input.0.txt b/public_test_cases/p00312/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2deca7fbadd84a9ab0a54387a6aef25603311e73
--- /dev/null
+++ b/public_test_cases/p00312/input.0.txt
@@ -0,0 +1 @@
+10 5
diff --git a/public_test_cases/p00312/input.1.txt b/public_test_cases/p00312/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2deca7fbadd84a9ab0a54387a6aef25603311e73
--- /dev/null
+++ b/public_test_cases/p00312/input.1.txt
@@ -0,0 +1 @@
+10 5
diff --git a/public_test_cases/p00312/input.2.txt b/public_test_cases/p00312/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..883251633a21a0f0722f7aa96da5ae023fa2df5c
--- /dev/null
+++ b/public_test_cases/p00312/input.2.txt
@@ -0,0 +1 @@
+7 4
diff --git a/public_test_cases/p00312/output.0.txt b/public_test_cases/p00312/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00312/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00312/output.1.txt b/public_test_cases/p00312/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00312/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00312/output.2.txt b/public_test_cases/p00312/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00312/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00313/input.0.txt b/public_test_cases/p00313/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..500f168a95fbf21232cfb70b4e4c7fedb0a9c989
--- /dev/null
+++ b/public_test_cases/p00313/input.0.txt
@@ -0,0 +1,4 @@
+5
+3 1 2 3
+2 4 5
+2 3 4
diff --git a/public_test_cases/p00313/input.1.txt b/public_test_cases/p00313/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..500f168a95fbf21232cfb70b4e4c7fedb0a9c989
--- /dev/null
+++ b/public_test_cases/p00313/input.1.txt
@@ -0,0 +1,4 @@
+5
+3 1 2 3
+2 4 5
+2 3 4
diff --git a/public_test_cases/p00313/input.2.txt b/public_test_cases/p00313/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6617ccb49b14a8d268c45673c5a1e2dc29663bfd
--- /dev/null
+++ b/public_test_cases/p00313/input.2.txt
@@ -0,0 +1,4 @@
+100
+3 1 100 4
+0
+2 2 3
diff --git a/public_test_cases/p00313/output.0.txt b/public_test_cases/p00313/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00313/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00313/output.1.txt b/public_test_cases/p00313/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00313/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00313/output.2.txt b/public_test_cases/p00313/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00313/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00314/input.0.txt b/public_test_cases/p00314/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..811330c78c462efd4519067bf4c706af0decf360
--- /dev/null
+++ b/public_test_cases/p00314/input.0.txt
@@ -0,0 +1,2 @@
+7
+5 4 3 10 2 4 1
diff --git a/public_test_cases/p00314/input.1.txt b/public_test_cases/p00314/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..811330c78c462efd4519067bf4c706af0decf360
--- /dev/null
+++ b/public_test_cases/p00314/input.1.txt
@@ -0,0 +1,2 @@
+7
+5 4 3 10 2 4 1
diff --git a/public_test_cases/p00314/input.2.txt b/public_test_cases/p00314/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42e1fa7d956c2088f593d8c7a69a831a394aaec5
--- /dev/null
+++ b/public_test_cases/p00314/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 1 100
diff --git a/public_test_cases/p00314/input.3.txt b/public_test_cases/p00314/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9644da5b07677840117414553684c1bfde82316
--- /dev/null
+++ b/public_test_cases/p00314/input.3.txt
@@ -0,0 +1,2 @@
+4
+11 15 58 1
diff --git a/public_test_cases/p00314/output.0.txt b/public_test_cases/p00314/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00314/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00314/output.1.txt b/public_test_cases/p00314/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00314/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00314/output.2.txt b/public_test_cases/p00314/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00314/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00314/output.3.txt b/public_test_cases/p00314/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00314/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00315/input.0.txt b/public_test_cases/p00315/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dec86ee78febfcb08b30d86a3e9fb7f0314be580
--- /dev/null
+++ b/public_test_cases/p00315/input.0.txt
@@ -0,0 +1,25 @@
+7 8
+00100000
+00011000
+10111101
+01100110
+01000110
+10111101
+00011000
+00100100
+2
+5 3
+1 6
+1
+6 8
+3
+6 8
+3 3
+3 6
+2
+6 3
+6 6
+0
+2
+3 8
+6 8
diff --git a/public_test_cases/p00315/input.1.txt b/public_test_cases/p00315/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29bed0313978cc27edb4fbb5bcd09aa1f47f6c76
--- /dev/null
+++ b/public_test_cases/p00315/input.1.txt
@@ -0,0 +1,7 @@
+1 6
+000000
+000000
+010010
+010010
+000000
+000000
diff --git a/public_test_cases/p00315/input.2.txt b/public_test_cases/p00315/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dec86ee78febfcb08b30d86a3e9fb7f0314be580
--- /dev/null
+++ b/public_test_cases/p00315/input.2.txt
@@ -0,0 +1,25 @@
+7 8
+00100000
+00011000
+10111101
+01100110
+01000110
+10111101
+00011000
+00100100
+2
+5 3
+1 6
+1
+6 8
+3
+6 8
+3 3
+3 6
+2
+6 3
+6 6
+0
+2
+3 8
+6 8
diff --git a/public_test_cases/p00315/input.3.txt b/public_test_cases/p00315/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..390b5cb3a1b53f190d7fc95927998dbebab05c2b
--- /dev/null
+++ b/public_test_cases/p00315/input.3.txt
@@ -0,0 +1,8 @@
+2 2
+00
+00
+4
+1 1
+1 2
+2 1
+2 2
diff --git a/public_test_cases/p00315/output.0.txt b/public_test_cases/p00315/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00315/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00315/output.1.txt b/public_test_cases/p00315/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00315/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00315/output.2.txt b/public_test_cases/p00315/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00315/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00315/output.3.txt b/public_test_cases/p00315/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00315/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00316/input.0.txt b/public_test_cases/p00316/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45f0f285e4a5b1396b22efb84aba3eb31a02beea
--- /dev/null
+++ b/public_test_cases/p00316/input.0.txt
@@ -0,0 +1,6 @@
+3 2 5
+1 1 2
+1 2 3
+2 1 1
+2 3 2
+2 2 1
diff --git a/public_test_cases/p00316/input.1.txt b/public_test_cases/p00316/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45f0f285e4a5b1396b22efb84aba3eb31a02beea
--- /dev/null
+++ b/public_test_cases/p00316/input.1.txt
@@ -0,0 +1,6 @@
+3 2 5
+1 1 2
+1 2 3
+2 1 1
+2 3 2
+2 2 1
diff --git a/public_test_cases/p00316/input.2.txt b/public_test_cases/p00316/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cc25a016cd8d7d64996b4d59bdee2c3b2c69079
--- /dev/null
+++ b/public_test_cases/p00316/input.2.txt
@@ -0,0 +1,5 @@
+3 2 4
+1 1 2
+2 1 1
+2 3 2
+2 2 1
diff --git a/public_test_cases/p00316/input.3.txt b/public_test_cases/p00316/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfbefd07881321968131bb843e998e23555c534a
--- /dev/null
+++ b/public_test_cases/p00316/input.3.txt
@@ -0,0 +1,3 @@
+3 2 2
+1 1 2
+2 1 1
diff --git a/public_test_cases/p00316/output.0.txt b/public_test_cases/p00316/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00316/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00316/output.1.txt b/public_test_cases/p00316/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00316/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00316/output.2.txt b/public_test_cases/p00316/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00316/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00316/output.3.txt b/public_test_cases/p00316/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00316/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00317/input.0.txt b/public_test_cases/p00317/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4c6b1ed38117479d56151b7f63a564af2498642
--- /dev/null
+++ b/public_test_cases/p00317/input.0.txt
@@ -0,0 +1,10 @@
+5 4
+aloe
+apple
+apricot
+cactus
+cat
+apple
+ap*
+*e
+ca?*
diff --git a/public_test_cases/p00317/input.1.txt b/public_test_cases/p00317/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4c6b1ed38117479d56151b7f63a564af2498642
--- /dev/null
+++ b/public_test_cases/p00317/input.1.txt
@@ -0,0 +1,10 @@
+5 4
+aloe
+apple
+apricot
+cactus
+cat
+apple
+ap*
+*e
+ca?*
diff --git a/public_test_cases/p00317/output.0.txt b/public_test_cases/p00317/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cb54d9ad3e3bfb02c8c32bbed8f60b859d86637
--- /dev/null
+++ b/public_test_cases/p00317/output.0.txt
@@ -0,0 +1,4 @@
+1
+2
+2
+2
diff --git a/public_test_cases/p00317/output.1.txt b/public_test_cases/p00317/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cb54d9ad3e3bfb02c8c32bbed8f60b859d86637
--- /dev/null
+++ b/public_test_cases/p00317/output.1.txt
@@ -0,0 +1,4 @@
+1
+2
+2
+2
diff --git a/public_test_cases/p00318/input.0.txt b/public_test_cases/p00318/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..146a2b98c20df0e1d2261642f2565619a4e7fe11
--- /dev/null
+++ b/public_test_cases/p00318/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 2
+1 2
diff --git a/public_test_cases/p00318/input.1.txt b/public_test_cases/p00318/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5662c2ff0bba8d85c4d8d2a5b1a71c1815191b6
--- /dev/null
+++ b/public_test_cases/p00318/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 3
+1 2
+2 1
diff --git a/public_test_cases/p00318/input.2.txt b/public_test_cases/p00318/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..146a2b98c20df0e1d2261642f2565619a4e7fe11
--- /dev/null
+++ b/public_test_cases/p00318/input.2.txt
@@ -0,0 +1,3 @@
+2
+0 2
+1 2
diff --git a/public_test_cases/p00318/input.3.txt b/public_test_cases/p00318/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c7e63f245e0bacfb6e8bbba1d8caed48ee14fa5
--- /dev/null
+++ b/public_test_cases/p00318/input.3.txt
@@ -0,0 +1,3 @@
+2
+0 1
+3 2
diff --git a/public_test_cases/p00318/output.0.txt b/public_test_cases/p00318/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da14cf0728c6043935ad3717b0005d7caeeadac8
--- /dev/null
+++ b/public_test_cases/p00318/output.0.txt
@@ -0,0 +1 @@
+1.936
diff --git a/public_test_cases/p00318/output.1.txt b/public_test_cases/p00318/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3827e75a5cadb9fe4a27e1cb9b6d192e7323120
--- /dev/null
+++ b/public_test_cases/p00318/output.1.txt
@@ -0,0 +1 @@
+1.0
diff --git a/public_test_cases/p00318/output.2.txt b/public_test_cases/p00318/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da14cf0728c6043935ad3717b0005d7caeeadac8
--- /dev/null
+++ b/public_test_cases/p00318/output.2.txt
@@ -0,0 +1 @@
+1.936
diff --git a/public_test_cases/p00318/output.3.txt b/public_test_cases/p00318/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba66466c2a0d0a1080ad71d8e1a67a97f336c384
--- /dev/null
+++ b/public_test_cases/p00318/output.3.txt
@@ -0,0 +1 @@
+0.0
diff --git a/public_test_cases/p00319/input.0.txt b/public_test_cases/p00319/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08eb3253007e85bc6d059323ce7a1739ba82bb8f
--- /dev/null
+++ b/public_test_cases/p00319/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1 2
+2 3 1 2
+1 3 1 3
diff --git a/public_test_cases/p00319/input.1.txt b/public_test_cases/p00319/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d3f4e5e829bf2d6f60a6421913a61a6ff3990d8
--- /dev/null
+++ b/public_test_cases/p00319/input.1.txt
@@ -0,0 +1,6 @@
+4 5
+1 2 3 5
+1 3 1 3
+3 2 2 5
+2 4 6 1
+3 4 5 5
diff --git a/public_test_cases/p00319/input.2.txt b/public_test_cases/p00319/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08eb3253007e85bc6d059323ce7a1739ba82bb8f
--- /dev/null
+++ b/public_test_cases/p00319/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1 2
+2 3 1 2
+1 3 1 3
diff --git a/public_test_cases/p00319/input.3.txt b/public_test_cases/p00319/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5df5ceb8f4350c8e9467d69f52363e4c51779534
--- /dev/null
+++ b/public_test_cases/p00319/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1 2
+2 3 1 2
+1 3 1 1
diff --git a/public_test_cases/p00319/output.0.txt b/public_test_cases/p00319/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00319/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00319/output.1.txt b/public_test_cases/p00319/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p00319/output.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p00319/output.2.txt b/public_test_cases/p00319/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00319/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00319/output.3.txt b/public_test_cases/p00319/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00319/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00320/input.0.txt b/public_test_cases/p00320/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ace1e9f2438006953c076f9f4dc6382749d15d47
--- /dev/null
+++ b/public_test_cases/p00320/input.0.txt
@@ -0,0 +1,6 @@
+2 2
+2 3
+2 3
+2 3
+2 2
+3 2
diff --git a/public_test_cases/p00320/input.1.txt b/public_test_cases/p00320/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ace1e9f2438006953c076f9f4dc6382749d15d47
--- /dev/null
+++ b/public_test_cases/p00320/input.1.txt
@@ -0,0 +1,6 @@
+2 2
+2 3
+2 3
+2 3
+2 2
+3 2
diff --git a/public_test_cases/p00320/input.2.txt b/public_test_cases/p00320/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1754937926ab27828b99a24e64e27faf813a5bd0
--- /dev/null
+++ b/public_test_cases/p00320/input.2.txt
@@ -0,0 +1,6 @@
+2 2
+2 3
+2 3
+2 3
+2 2
+2 2
diff --git a/public_test_cases/p00320/output.0.txt b/public_test_cases/p00320/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00320/output.0.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00320/output.1.txt b/public_test_cases/p00320/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00320/output.1.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00320/output.2.txt b/public_test_cases/p00320/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00320/output.2.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00321/input.0.txt b/public_test_cases/p00321/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9dd34d0757947dfe36366f92a0743140e1b40b79
--- /dev/null
+++ b/public_test_cases/p00321/input.0.txt
@@ -0,0 +1,6 @@
+5 2
+3 bread milk banana
+2 milk cornflakes
+3 potato bread milk
+4 cornflakes bread milk butter
+2 potato bread
diff --git a/public_test_cases/p00321/input.1.txt b/public_test_cases/p00321/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae8ce9abcaa70d0095bdb75e5bab7a5d957f3d7f
--- /dev/null
+++ b/public_test_cases/p00321/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+3 bread milk banana
+2 milk cornflakes
+3 potato bread milk
+4 cornflakes bread milk butter
+2 potato bread
diff --git a/public_test_cases/p00321/input.2.txt b/public_test_cases/p00321/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9dd34d0757947dfe36366f92a0743140e1b40b79
--- /dev/null
+++ b/public_test_cases/p00321/input.2.txt
@@ -0,0 +1,6 @@
+5 2
+3 bread milk banana
+2 milk cornflakes
+3 potato bread milk
+4 cornflakes bread milk butter
+2 potato bread
diff --git a/public_test_cases/p00321/output.0.txt b/public_test_cases/p00321/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bef41159448f211b5f9055c1dcc53a68ac173ce
--- /dev/null
+++ b/public_test_cases/p00321/output.0.txt
@@ -0,0 +1,4 @@
+3
+bread milk
+bread potato
+cornflakes milk
diff --git a/public_test_cases/p00321/output.1.txt b/public_test_cases/p00321/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00321/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00321/output.2.txt b/public_test_cases/p00321/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bef41159448f211b5f9055c1dcc53a68ac173ce
--- /dev/null
+++ b/public_test_cases/p00321/output.2.txt
@@ -0,0 +1,4 @@
+3
+bread milk
+bread potato
+cornflakes milk
diff --git a/public_test_cases/p00322/input.0.txt b/public_test_cases/p00322/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18c79074692dd262e90a8a4a275faa96ca2bc94f
--- /dev/null
+++ b/public_test_cases/p00322/input.0.txt
@@ -0,0 +1 @@
+7 6 -1 1 -1 9 2 3 4
diff --git a/public_test_cases/p00322/input.1.txt b/public_test_cases/p00322/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a892f7f98c532dd14cf34f2e4cf1ca68a76a3f5
--- /dev/null
+++ b/public_test_cases/p00322/input.1.txt
@@ -0,0 +1 @@
+7 6 5 1 8 9 2 3 4
diff --git a/public_test_cases/p00322/input.2.txt b/public_test_cases/p00322/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a661242336851cfe9461034aa87c08140eca2871
--- /dev/null
+++ b/public_test_cases/p00322/input.2.txt
@@ -0,0 +1 @@
+-1 -1 -1 -1 -1 -1 8 4 6
diff --git a/public_test_cases/p00322/input.3.txt b/public_test_cases/p00322/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18c79074692dd262e90a8a4a275faa96ca2bc94f
--- /dev/null
+++ b/public_test_cases/p00322/input.3.txt
@@ -0,0 +1 @@
+7 6 -1 1 -1 9 2 3 4
diff --git a/public_test_cases/p00322/input.4.txt b/public_test_cases/p00322/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..553c692d1456bb9dd76c5a9607b1709a1c2faa10
--- /dev/null
+++ b/public_test_cases/p00322/input.4.txt
@@ -0,0 +1 @@
+-1 -1 -1 -1 -1 -1 -1 -1 -1
diff --git a/public_test_cases/p00322/output.0.txt b/public_test_cases/p00322/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00322/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00322/output.1.txt b/public_test_cases/p00322/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00322/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00322/output.2.txt b/public_test_cases/p00322/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p00322/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p00322/output.3.txt b/public_test_cases/p00322/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00322/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00322/output.4.txt b/public_test_cases/p00322/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de8febe1c7474dee3415470d6c7bdade54ad1865
--- /dev/null
+++ b/public_test_cases/p00322/output.4.txt
@@ -0,0 +1 @@
+168
diff --git a/public_test_cases/p00323/input.0.txt b/public_test_cases/p00323/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df49ef0b0b1c9e8146998a4d77e27d3931a09dc5
--- /dev/null
+++ b/public_test_cases/p00323/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 1
+1 3
+2 2
diff --git a/public_test_cases/p00323/input.1.txt b/public_test_cases/p00323/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d1de6fc25b29f860a9305faaec6706bf19a30dd
--- /dev/null
+++ b/public_test_cases/p00323/input.1.txt
@@ -0,0 +1,2 @@
+1
+100000 2
diff --git a/public_test_cases/p00323/input.2.txt b/public_test_cases/p00323/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df49ef0b0b1c9e8146998a4d77e27d3931a09dc5
--- /dev/null
+++ b/public_test_cases/p00323/input.2.txt
@@ -0,0 +1,4 @@
+3
+2 1
+1 3
+2 2
diff --git a/public_test_cases/p00323/output.0.txt b/public_test_cases/p00323/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc396bddcc91e00e77a94940cfbc1eced3cead97
--- /dev/null
+++ b/public_test_cases/p00323/output.0.txt
@@ -0,0 +1,2 @@
+3 0
+5 0
diff --git a/public_test_cases/p00323/output.1.txt b/public_test_cases/p00323/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db58a0bf23164f67a1dbc6aa0f1521e7183bd36e
--- /dev/null
+++ b/public_test_cases/p00323/output.1.txt
@@ -0,0 +1 @@
+100002 0
diff --git a/public_test_cases/p00323/output.2.txt b/public_test_cases/p00323/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc396bddcc91e00e77a94940cfbc1eced3cead97
--- /dev/null
+++ b/public_test_cases/p00323/output.2.txt
@@ -0,0 +1,2 @@
+3 0
+5 0
diff --git a/public_test_cases/p00324/input.0.txt b/public_test_cases/p00324/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffe67d04bb731fb032348c6069e1636652787253
--- /dev/null
+++ b/public_test_cases/p00324/input.0.txt
@@ -0,0 +1,6 @@
+5
+18
+102
+-155
+53
+32
diff --git a/public_test_cases/p00324/input.1.txt b/public_test_cases/p00324/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcb9f2ece5f5642ba3d9ff21634c6ffe271d1576
--- /dev/null
+++ b/public_test_cases/p00324/input.1.txt
@@ -0,0 +1,5 @@
+4
+1
+1
+-1
+-1
diff --git a/public_test_cases/p00324/input.2.txt b/public_test_cases/p00324/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffe67d04bb731fb032348c6069e1636652787253
--- /dev/null
+++ b/public_test_cases/p00324/input.2.txt
@@ -0,0 +1,6 @@
+5
+18
+102
+-155
+53
+32
diff --git a/public_test_cases/p00324/output.0.txt b/public_test_cases/p00324/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00324/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00324/output.1.txt b/public_test_cases/p00324/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00324/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00324/output.2.txt b/public_test_cases/p00324/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00324/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00325/input.0.txt b/public_test_cases/p00325/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3da5076fa4741a43729023c23d215fed763e0c69
--- /dev/null
+++ b/public_test_cases/p00325/input.0.txt
@@ -0,0 +1,7 @@
+6
+10 SET c 1
+20 SET i 5
+100 ADD s s i
+110 SUB i i c
+120 IF i 100
+200 HALT
diff --git a/public_test_cases/p00325/input.1.txt b/public_test_cases/p00325/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c16c19c9bc2a6fc2eea66dd378979c4bc8036be1
--- /dev/null
+++ b/public_test_cases/p00325/input.1.txt
@@ -0,0 +1,4 @@
+3
+111 SET c 1
+12 SUB c c 2
+777 SET a 4
diff --git a/public_test_cases/p00325/input.2.txt b/public_test_cases/p00325/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ac60f304ff1871c6761b9665e26c83a7237242a
--- /dev/null
+++ b/public_test_cases/p00325/input.2.txt
@@ -0,0 +1,4 @@
+3
+10 SET c 1
+120 IF c 10
+20 HALT
diff --git a/public_test_cases/p00325/input.3.txt b/public_test_cases/p00325/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3da5076fa4741a43729023c23d215fed763e0c69
--- /dev/null
+++ b/public_test_cases/p00325/input.3.txt
@@ -0,0 +1,7 @@
+6
+10 SET c 1
+20 SET i 5
+100 ADD s s i
+110 SUB i i c
+120 IF i 100
+200 HALT
diff --git a/public_test_cases/p00325/output.0.txt b/public_test_cases/p00325/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd7af8886991fd8b142a4a5c6db06402d56cce84
--- /dev/null
+++ b/public_test_cases/p00325/output.0.txt
@@ -0,0 +1,3 @@
+c=1
+i=0
+s=15
diff --git a/public_test_cases/p00325/output.1.txt b/public_test_cases/p00325/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58d0245f1184d6b558644b7b693bdd6ef7d7d4eb
--- /dev/null
+++ b/public_test_cases/p00325/output.1.txt
@@ -0,0 +1,2 @@
+a=0
+c=1
diff --git a/public_test_cases/p00325/output.2.txt b/public_test_cases/p00325/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8484d062f57dd9d5606ee2db1c06424879fd62f4
--- /dev/null
+++ b/public_test_cases/p00325/output.2.txt
@@ -0,0 +1 @@
+inf
diff --git a/public_test_cases/p00325/output.3.txt b/public_test_cases/p00325/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd7af8886991fd8b142a4a5c6db06402d56cce84
--- /dev/null
+++ b/public_test_cases/p00325/output.3.txt
@@ -0,0 +1,3 @@
+c=1
+i=0
+s=15
diff --git a/public_test_cases/p00326/input.0.txt b/public_test_cases/p00326/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6060be34a5a0f81706b19e3ade4b78ab4937cf3e
--- /dev/null
+++ b/public_test_cases/p00326/input.0.txt
@@ -0,0 +1,11 @@
+5 3
+1 5 2
+3 8 5
+1 2 3
+5 5 5
+4 8 2
+0
+1 2 3
+2
+2 2 3 1
+4 3 1 2
diff --git a/public_test_cases/p00326/input.1.txt b/public_test_cases/p00326/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6060be34a5a0f81706b19e3ade4b78ab4937cf3e
--- /dev/null
+++ b/public_test_cases/p00326/input.1.txt
@@ -0,0 +1,11 @@
+5 3
+1 5 2
+3 8 5
+1 2 3
+5 5 5
+4 8 2
+0
+1 2 3
+2
+2 2 3 1
+4 3 1 2
diff --git a/public_test_cases/p00326/input.2.txt b/public_test_cases/p00326/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d343d0ed52dcdba569d6445d1fe96f5c64228c25
--- /dev/null
+++ b/public_test_cases/p00326/input.2.txt
@@ -0,0 +1,13 @@
+5 2
+1 1
+2 1
+3 1
+4 4
+5 2
+3
+1 4
+2 4
+2 5
+1 2
+1
+3 2 1
diff --git a/public_test_cases/p00326/output.0.txt b/public_test_cases/p00326/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc3a930eceede1ae71ee46c03feaa35659bedc77
--- /dev/null
+++ b/public_test_cases/p00326/output.0.txt
@@ -0,0 +1,5 @@
+4
+5
+2
+1
+3
diff --git a/public_test_cases/p00326/output.1.txt b/public_test_cases/p00326/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc3a930eceede1ae71ee46c03feaa35659bedc77
--- /dev/null
+++ b/public_test_cases/p00326/output.1.txt
@@ -0,0 +1,5 @@
+4
+5
+2
+1
+3
diff --git a/public_test_cases/p00326/output.2.txt b/public_test_cases/p00326/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17bddaebe8df5f5d7c62ed93075570d6699eac02
--- /dev/null
+++ b/public_test_cases/p00326/output.2.txt
@@ -0,0 +1,5 @@
+3
+2
+5
+1
+4
diff --git a/public_test_cases/p00327/input.0.txt b/public_test_cases/p00327/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c265366a937dae4567531bdf8573941743bb8708
--- /dev/null
+++ b/public_test_cases/p00327/input.0.txt
@@ -0,0 +1,2 @@
+8
+1 2 3 3 2 1 2 2
diff --git a/public_test_cases/p00327/input.1.txt b/public_test_cases/p00327/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b5b994e878496304cef8846613405b2b958692c
--- /dev/null
+++ b/public_test_cases/p00327/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 1 2 2 1
diff --git a/public_test_cases/p00327/input.2.txt b/public_test_cases/p00327/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c265366a937dae4567531bdf8573941743bb8708
--- /dev/null
+++ b/public_test_cases/p00327/input.2.txt
@@ -0,0 +1,2 @@
+8
+1 2 3 3 2 1 2 2
diff --git a/public_test_cases/p00327/input.3.txt b/public_test_cases/p00327/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12da52257cba05fc3a63931bf642f8cb48a4e99f
--- /dev/null
+++ b/public_test_cases/p00327/input.3.txt
@@ -0,0 +1,2 @@
+16
+9 8 8 7 7 6 5 4 4 5 1 1 2 2 3 3
diff --git a/public_test_cases/p00327/input.4.txt b/public_test_cases/p00327/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..179fdeeefbc7e0f54c9d5cf29c34476d168c25fd
--- /dev/null
+++ b/public_test_cases/p00327/input.4.txt
@@ -0,0 +1,2 @@
+7
+1 2 2 1 1 3 3
diff --git a/public_test_cases/p00327/output.0.txt b/public_test_cases/p00327/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00327/output.0.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00327/output.1.txt b/public_test_cases/p00327/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00327/output.1.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00327/output.2.txt b/public_test_cases/p00327/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00327/output.2.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00327/output.3.txt b/public_test_cases/p00327/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00327/output.3.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00327/output.4.txt b/public_test_cases/p00327/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00327/output.4.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00328/input.0.txt b/public_test_cases/p00328/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26009a3faa5d49c880deb90dbc2a19cfbe07214e
--- /dev/null
+++ b/public_test_cases/p00328/input.0.txt
@@ -0,0 +1,10 @@
+9
+0 2 5 2
+1 3 1 7
+0 6 3 6
+2 4 8 4
+4 0 4 5
+6 3 6 0
+5 6 7 6
+8 3 8 7
+6 5 11 5
diff --git a/public_test_cases/p00328/input.1.txt b/public_test_cases/p00328/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26009a3faa5d49c880deb90dbc2a19cfbe07214e
--- /dev/null
+++ b/public_test_cases/p00328/input.1.txt
@@ -0,0 +1,10 @@
+9
+0 2 5 2
+1 3 1 7
+0 6 3 6
+2 4 8 4
+4 0 4 5
+6 3 6 0
+5 6 7 6
+8 3 8 7
+6 5 11 5
diff --git a/public_test_cases/p00328/output.0.txt b/public_test_cases/p00328/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49993ce401f9635aa83d2de6278c7759f2d20d72
--- /dev/null
+++ b/public_test_cases/p00328/output.0.txt
@@ -0,0 +1,9 @@
+1
+1
+0
+1
+0
+1
+1
+0
+1
diff --git a/public_test_cases/p00328/output.1.txt b/public_test_cases/p00328/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49993ce401f9635aa83d2de6278c7759f2d20d72
--- /dev/null
+++ b/public_test_cases/p00328/output.1.txt
@@ -0,0 +1,9 @@
+1
+1
+0
+1
+0
+1
+1
+0
+1
diff --git a/public_test_cases/p00329/input.0.txt b/public_test_cases/p00329/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be9bc97df601046c8a8267b6126469188db665e4
--- /dev/null
+++ b/public_test_cases/p00329/input.0.txt
@@ -0,0 +1,6 @@
+6
+1 0 0 0 1
+1 0 1 0 1
+0 1 0 1 0
+0 0 0 1 0
+0 1 0 0 1
diff --git a/public_test_cases/p00329/input.1.txt b/public_test_cases/p00329/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a697427e90f721d99434478d5dbb1c536cd0557f
--- /dev/null
+++ b/public_test_cases/p00329/input.1.txt
@@ -0,0 +1,5 @@
+5
+1 0 0 1
+0 1 0 1
+1 0 0 0
+0 1 0 1
diff --git a/public_test_cases/p00329/input.2.txt b/public_test_cases/p00329/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a4255ddaec24a45268334b2ff1e3f80cc574287
--- /dev/null
+++ b/public_test_cases/p00329/input.2.txt
@@ -0,0 +1,5 @@
+5
+0 1 0 1
+0 1 0 1
+1 0 1 0
+1 0 0 1
diff --git a/public_test_cases/p00329/input.3.txt b/public_test_cases/p00329/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be9bc97df601046c8a8267b6126469188db665e4
--- /dev/null
+++ b/public_test_cases/p00329/input.3.txt
@@ -0,0 +1,6 @@
+6
+1 0 0 0 1
+1 0 1 0 1
+0 1 0 1 0
+0 0 0 1 0
+0 1 0 0 1
diff --git a/public_test_cases/p00329/output.0.txt b/public_test_cases/p00329/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fee0368bf6d3015cc12d057154d3cce614a344bd
--- /dev/null
+++ b/public_test_cases/p00329/output.0.txt
@@ -0,0 +1,6 @@
+yes
+1
+3
+2
+4
+5
diff --git a/public_test_cases/p00329/output.1.txt b/public_test_cases/p00329/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00329/output.1.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00329/output.2.txt b/public_test_cases/p00329/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..899a49b9085c9da660221aef8af5af543a4fa389
--- /dev/null
+++ b/public_test_cases/p00329/output.2.txt
@@ -0,0 +1,5 @@
+yes
+4
+1
+3
+2
diff --git a/public_test_cases/p00329/output.3.txt b/public_test_cases/p00329/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fee0368bf6d3015cc12d057154d3cce614a344bd
--- /dev/null
+++ b/public_test_cases/p00329/output.3.txt
@@ -0,0 +1,6 @@
+yes
+1
+3
+2
+4
+5
diff --git a/public_test_cases/p00330/input.0.txt b/public_test_cases/p00330/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00330/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00330/input.1.txt b/public_test_cases/p00330/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00330/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00330/input.2.txt b/public_test_cases/p00330/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00330/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00330/output.0.txt b/public_test_cases/p00330/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a949a93dfcca659638ff00284e1d1703accef77a
--- /dev/null
+++ b/public_test_cases/p00330/output.0.txt
@@ -0,0 +1 @@
+128
diff --git a/public_test_cases/p00330/output.1.txt b/public_test_cases/p00330/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a949a93dfcca659638ff00284e1d1703accef77a
--- /dev/null
+++ b/public_test_cases/p00330/output.1.txt
@@ -0,0 +1 @@
+128
diff --git a/public_test_cases/p00330/output.2.txt b/public_test_cases/p00330/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f906e1845dc9a277bd1a44cddccef74038e38367
--- /dev/null
+++ b/public_test_cases/p00330/output.2.txt
@@ -0,0 +1 @@
+96
diff --git a/public_test_cases/p00331/input.0.txt b/public_test_cases/p00331/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad3ed436a561dce4fc98362dd6d60e0b6d496a62
--- /dev/null
+++ b/public_test_cases/p00331/input.0.txt
@@ -0,0 +1 @@
+-3 3
diff --git a/public_test_cases/p00331/input.1.txt b/public_test_cases/p00331/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p00331/input.1.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p00331/input.2.txt b/public_test_cases/p00331/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad3ed436a561dce4fc98362dd6d60e0b6d496a62
--- /dev/null
+++ b/public_test_cases/p00331/input.2.txt
@@ -0,0 +1 @@
+-3 3
diff --git a/public_test_cases/p00331/input.3.txt b/public_test_cases/p00331/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..344022bab630b416efec48499d42991e9e17be7e
--- /dev/null
+++ b/public_test_cases/p00331/input.3.txt
@@ -0,0 +1 @@
+-4 3
diff --git a/public_test_cases/p00331/output.0.txt b/public_test_cases/p00331/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00331/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00331/output.1.txt b/public_test_cases/p00331/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00331/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00331/output.2.txt b/public_test_cases/p00331/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00331/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00331/output.3.txt b/public_test_cases/p00331/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p00331/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p00332/input.0.txt b/public_test_cases/p00332/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8cb283848db6740c247d6fd99e7ffe9194ec5e
--- /dev/null
+++ b/public_test_cases/p00332/input.0.txt
@@ -0,0 +1 @@
+0 2015
diff --git a/public_test_cases/p00332/input.1.txt b/public_test_cases/p00332/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8cb283848db6740c247d6fd99e7ffe9194ec5e
--- /dev/null
+++ b/public_test_cases/p00332/input.1.txt
@@ -0,0 +1 @@
+0 2015
diff --git a/public_test_cases/p00332/input.2.txt b/public_test_cases/p00332/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4bb03f6514a8d4eb204920c1a607b0eb25a41f5
--- /dev/null
+++ b/public_test_cases/p00332/input.2.txt
@@ -0,0 +1 @@
+0 1912
diff --git a/public_test_cases/p00332/input.3.txt b/public_test_cases/p00332/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c0be994f48951c116b10827fd15d9bc9f7696
--- /dev/null
+++ b/public_test_cases/p00332/input.3.txt
@@ -0,0 +1 @@
+4 28
diff --git a/public_test_cases/p00332/input.4.txt b/public_test_cases/p00332/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p00332/input.4.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p00332/output.0.txt b/public_test_cases/p00332/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b86a2e21ad8c4bb8058b530eea19ebaf34ba1767
--- /dev/null
+++ b/public_test_cases/p00332/output.0.txt
@@ -0,0 +1 @@
+H27
diff --git a/public_test_cases/p00332/output.1.txt b/public_test_cases/p00332/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b86a2e21ad8c4bb8058b530eea19ebaf34ba1767
--- /dev/null
+++ b/public_test_cases/p00332/output.1.txt
@@ -0,0 +1 @@
+H27
diff --git a/public_test_cases/p00332/output.2.txt b/public_test_cases/p00332/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df24da6de0a71f37a7dbeefdb97dccfdce4f5431
--- /dev/null
+++ b/public_test_cases/p00332/output.2.txt
@@ -0,0 +1 @@
+T1
diff --git a/public_test_cases/p00332/output.3.txt b/public_test_cases/p00332/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f6d045ba55368ee9da6be4da284ab966456e8dc
--- /dev/null
+++ b/public_test_cases/p00332/output.3.txt
@@ -0,0 +1 @@
+2016
diff --git a/public_test_cases/p00332/output.4.txt b/public_test_cases/p00332/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23e07fb71b3f988e44853721a99fe76686f17270
--- /dev/null
+++ b/public_test_cases/p00332/output.4.txt
@@ -0,0 +1 @@
+1912
diff --git a/public_test_cases/p00333/input.0.txt b/public_test_cases/p00333/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb66e6683d5456cce8395b8e65b3107c9dc28444
--- /dev/null
+++ b/public_test_cases/p00333/input.0.txt
@@ -0,0 +1 @@
+10 20 5
diff --git a/public_test_cases/p00333/input.1.txt b/public_test_cases/p00333/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbab1f59507ab3edd55e60e970b506a772ce2bb0
--- /dev/null
+++ b/public_test_cases/p00333/input.1.txt
@@ -0,0 +1 @@
+27 6 1
diff --git a/public_test_cases/p00333/input.2.txt b/public_test_cases/p00333/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb66e6683d5456cce8395b8e65b3107c9dc28444
--- /dev/null
+++ b/public_test_cases/p00333/input.2.txt
@@ -0,0 +1 @@
+10 20 5
diff --git a/public_test_cases/p00333/output.0.txt b/public_test_cases/p00333/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00333/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00333/output.1.txt b/public_test_cases/p00333/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p00333/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p00333/output.2.txt b/public_test_cases/p00333/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00333/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00334/input.0.txt b/public_test_cases/p00334/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a725b24b72ae4ae68a25dad50520b13e3c1ce34f
--- /dev/null
+++ b/public_test_cases/p00334/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 3 2
+1 2 4
+1 4 3
+2 3 4
diff --git a/public_test_cases/p00334/input.1.txt b/public_test_cases/p00334/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a725b24b72ae4ae68a25dad50520b13e3c1ce34f
--- /dev/null
+++ b/public_test_cases/p00334/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 3 2
+1 2 4
+1 4 3
+2 3 4
diff --git a/public_test_cases/p00334/input.2.txt b/public_test_cases/p00334/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b14d45f57f24db48497c152661e1360572d0034d
--- /dev/null
+++ b/public_test_cases/p00334/input.2.txt
@@ -0,0 +1,7 @@
+6
+1 3 2
+1 2 4
+1 4 3
+2 3 4
+3 2 1
+2 3 1
diff --git a/public_test_cases/p00334/output.0.txt b/public_test_cases/p00334/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00334/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00334/output.1.txt b/public_test_cases/p00334/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00334/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00334/output.2.txt b/public_test_cases/p00334/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00334/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00335/input.0.txt b/public_test_cases/p00335/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56221aadc5dfac666c62fd57ad1536458c512851
--- /dev/null
+++ b/public_test_cases/p00335/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 1
diff --git a/public_test_cases/p00335/input.1.txt b/public_test_cases/p00335/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18c7e30258ce235c39048d8178d025cfca552592
--- /dev/null
+++ b/public_test_cases/p00335/input.1.txt
@@ -0,0 +1,2 @@
+3
+0 3 0
diff --git a/public_test_cases/p00335/input.2.txt b/public_test_cases/p00335/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56221aadc5dfac666c62fd57ad1536458c512851
--- /dev/null
+++ b/public_test_cases/p00335/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 2 1
diff --git a/public_test_cases/p00335/output.0.txt b/public_test_cases/p00335/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00335/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00335/output.1.txt b/public_test_cases/p00335/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00335/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00335/output.2.txt b/public_test_cases/p00335/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00335/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00336/input.0.txt b/public_test_cases/p00336/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c70e9ba03b4bf760a013911ce4e5188745feab76
--- /dev/null
+++ b/public_test_cases/p00336/input.0.txt
@@ -0,0 +1,2 @@
+abab
+ab
diff --git a/public_test_cases/p00336/input.1.txt b/public_test_cases/p00336/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..618c57497391fd6f45e310a808536170518371f4
--- /dev/null
+++ b/public_test_cases/p00336/input.1.txt
@@ -0,0 +1,2 @@
+data
+structure
diff --git a/public_test_cases/p00336/input.2.txt b/public_test_cases/p00336/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24b5b3d6552dc15ee794fc5bb342a83f604ca36f
--- /dev/null
+++ b/public_test_cases/p00336/input.2.txt
@@ -0,0 +1,2 @@
+aaaabaaaabaaaabaaaab
+aaaaa
diff --git a/public_test_cases/p00336/input.3.txt b/public_test_cases/p00336/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c70e9ba03b4bf760a013911ce4e5188745feab76
--- /dev/null
+++ b/public_test_cases/p00336/input.3.txt
@@ -0,0 +1,2 @@
+abab
+ab
diff --git a/public_test_cases/p00336/output.0.txt b/public_test_cases/p00336/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00336/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00336/output.1.txt b/public_test_cases/p00336/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00336/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00336/output.2.txt b/public_test_cases/p00336/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb142a728733657b134404226417bd2462e1d8bb
--- /dev/null
+++ b/public_test_cases/p00336/output.2.txt
@@ -0,0 +1 @@
+4368
diff --git a/public_test_cases/p00336/output.3.txt b/public_test_cases/p00336/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00336/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00337/input.0.txt b/public_test_cases/p00337/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a785b16c5e5278e4dae0514b771b8fa9090bda5
--- /dev/null
+++ b/public_test_cases/p00337/input.0.txt
@@ -0,0 +1,11 @@
+5 5
+0 0
+1 1
+3 0
+3 2
+0 2
+1 2
+2 3
+2 4
+3 4
+1 5
diff --git a/public_test_cases/p00337/input.1.txt b/public_test_cases/p00337/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a785b16c5e5278e4dae0514b771b8fa9090bda5
--- /dev/null
+++ b/public_test_cases/p00337/input.1.txt
@@ -0,0 +1,11 @@
+5 5
+0 0
+1 1
+3 0
+3 2
+0 2
+1 2
+2 3
+2 4
+3 4
+1 5
diff --git a/public_test_cases/p00337/input.2.txt b/public_test_cases/p00337/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3ec5578cfad0f899995f9ef92a16c7b342e4d0b
--- /dev/null
+++ b/public_test_cases/p00337/input.2.txt
@@ -0,0 +1,14 @@
+7 6
+0 2
+3 0
+2 2
+1 0
+4 1
+2 3
+3 5
+1 3
+2 4
+2 3
+3 5
+3 7
+6 7
diff --git a/public_test_cases/p00337/output.0.txt b/public_test_cases/p00337/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6e0ba74893ec055fbf724489a892b5b5fb7b9c7
--- /dev/null
+++ b/public_test_cases/p00337/output.0.txt
@@ -0,0 +1 @@
+11.4142
diff --git a/public_test_cases/p00337/output.1.txt b/public_test_cases/p00337/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6e0ba74893ec055fbf724489a892b5b5fb7b9c7
--- /dev/null
+++ b/public_test_cases/p00337/output.1.txt
@@ -0,0 +1 @@
+11.4142
diff --git a/public_test_cases/p00337/output.2.txt b/public_test_cases/p00337/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10c47764ff019e76ba29e64c862b1d37a96f1f71
--- /dev/null
+++ b/public_test_cases/p00337/output.2.txt
@@ -0,0 +1 @@
+18.2521
diff --git a/public_test_cases/p00338/input.0.txt b/public_test_cases/p00338/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dea7b5e188d899c23dbdcb5f9a9448cb274c7b9d
--- /dev/null
+++ b/public_test_cases/p00338/input.0.txt
@@ -0,0 +1,12 @@
+3 11
+0 2 5
+0 1 5
+0 3 4
+1 1
+1 2
+1 3
+0 3 2
+1 1
+0 2 1
+1 2
+1 3
diff --git a/public_test_cases/p00338/input.1.txt b/public_test_cases/p00338/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dea7b5e188d899c23dbdcb5f9a9448cb274c7b9d
--- /dev/null
+++ b/public_test_cases/p00338/input.1.txt
@@ -0,0 +1,12 @@
+3 11
+0 2 5
+0 1 5
+0 3 4
+1 1
+1 2
+1 3
+0 3 2
+1 1
+0 2 1
+1 2
+1 3
diff --git a/public_test_cases/p00338/input.2.txt b/public_test_cases/p00338/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cefad22376344f9211f5a61be32ba913821fd37
--- /dev/null
+++ b/public_test_cases/p00338/input.2.txt
@@ -0,0 +1,3 @@
+5 2
+1 1
+1 2
diff --git a/public_test_cases/p00338/output.0.txt b/public_test_cases/p00338/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4285c2393ddc3bd83f5dca251d0b7dc23be8ec7f
--- /dev/null
+++ b/public_test_cases/p00338/output.0.txt
@@ -0,0 +1,6 @@
+1 5
+2 5
+3 4
+3 6
+3 6
+1 5
diff --git a/public_test_cases/p00338/output.1.txt b/public_test_cases/p00338/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4285c2393ddc3bd83f5dca251d0b7dc23be8ec7f
--- /dev/null
+++ b/public_test_cases/p00338/output.1.txt
@@ -0,0 +1,6 @@
+1 5
+2 5
+3 4
+3 6
+3 6
+1 5
diff --git a/public_test_cases/p00338/output.2.txt b/public_test_cases/p00338/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27ccd34d8bf3ba4518079a2473fb840356156dc5
--- /dev/null
+++ b/public_test_cases/p00338/output.2.txt
@@ -0,0 +1,2 @@
+1 0
+2 0
diff --git a/public_test_cases/p00339/input.0.txt b/public_test_cases/p00339/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..affd533a44a8a4401a58362bc09b969db153c7ad
--- /dev/null
+++ b/public_test_cases/p00339/input.0.txt
@@ -0,0 +1,10 @@
+5 4
+3 3
+2 1
+1 5
+4 2
+2 6
+4 1
+8 2
+10 4
+12 17
diff --git a/public_test_cases/p00339/input.1.txt b/public_test_cases/p00339/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c94c2b399033f9ad6b2a32888c190894624831e9
--- /dev/null
+++ b/public_test_cases/p00339/input.1.txt
@@ -0,0 +1,10 @@
+5 4
+3 3
+2 1
+1 5
+4 2
+2 6
+4 1
+8 2
+10 4
+12 30
diff --git a/public_test_cases/p00339/input.2.txt b/public_test_cases/p00339/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..affd533a44a8a4401a58362bc09b969db153c7ad
--- /dev/null
+++ b/public_test_cases/p00339/input.2.txt
@@ -0,0 +1,10 @@
+5 4
+3 3
+2 1
+1 5
+4 2
+2 6
+4 1
+8 2
+10 4
+12 17
diff --git a/public_test_cases/p00339/output.0.txt b/public_test_cases/p00339/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00339/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00339/output.1.txt b/public_test_cases/p00339/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p00339/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p00339/output.2.txt b/public_test_cases/p00339/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00339/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00340/input.0.txt b/public_test_cases/p00340/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01aed53aca7e015f4b00452fdf9b794c2e19c94c
--- /dev/null
+++ b/public_test_cases/p00340/input.0.txt
@@ -0,0 +1 @@
+1 1 3 4
diff --git a/public_test_cases/p00340/input.1.txt b/public_test_cases/p00340/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1409b1c7c807c83489d56f470457810e6c246c59
--- /dev/null
+++ b/public_test_cases/p00340/input.1.txt
@@ -0,0 +1 @@
+1 1 2 2
diff --git a/public_test_cases/p00340/input.2.txt b/public_test_cases/p00340/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4d4aed612a187447f105cf4926aef8d0233fbd9
--- /dev/null
+++ b/public_test_cases/p00340/input.2.txt
@@ -0,0 +1 @@
+4 4 4 10
diff --git a/public_test_cases/p00340/input.3.txt b/public_test_cases/p00340/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..338dcc084623a87c7998ea73d70788e1eaa47ad4
--- /dev/null
+++ b/public_test_cases/p00340/input.3.txt
@@ -0,0 +1 @@
+2 1 1 2
diff --git a/public_test_cases/p00340/input.4.txt b/public_test_cases/p00340/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01aed53aca7e015f4b00452fdf9b794c2e19c94c
--- /dev/null
+++ b/public_test_cases/p00340/input.4.txt
@@ -0,0 +1 @@
+1 1 3 4
diff --git a/public_test_cases/p00340/output.0.txt b/public_test_cases/p00340/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00340/output.0.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00340/output.1.txt b/public_test_cases/p00340/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00340/output.1.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00340/output.2.txt b/public_test_cases/p00340/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00340/output.2.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00340/output.3.txt b/public_test_cases/p00340/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00340/output.3.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00340/output.4.txt b/public_test_cases/p00340/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00340/output.4.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00341/input.0.txt b/public_test_cases/p00341/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef740f455427e2d080d102c222d1b320df77e1d
--- /dev/null
+++ b/public_test_cases/p00341/input.0.txt
@@ -0,0 +1 @@
+1 1 3 4 8 9 7 3 4 5 5 5
diff --git a/public_test_cases/p00341/input.1.txt b/public_test_cases/p00341/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8815a7d0e7020f92c6edc7489a647c284b261f27
--- /dev/null
+++ b/public_test_cases/p00341/input.1.txt
@@ -0,0 +1 @@
+1 1 2 2 3 1 2 3 3 3 1 2
diff --git a/public_test_cases/p00341/input.2.txt b/public_test_cases/p00341/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef740f455427e2d080d102c222d1b320df77e1d
--- /dev/null
+++ b/public_test_cases/p00341/input.2.txt
@@ -0,0 +1 @@
+1 1 3 4 8 9 7 3 4 5 5 5
diff --git a/public_test_cases/p00341/output.0.txt b/public_test_cases/p00341/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00341/output.0.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00341/output.1.txt b/public_test_cases/p00341/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00341/output.1.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00341/output.2.txt b/public_test_cases/p00341/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00341/output.2.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00342/input.0.txt b/public_test_cases/p00342/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63bb24569506e0895c5b2218f31d7303bfe857a5
--- /dev/null
+++ b/public_test_cases/p00342/input.0.txt
@@ -0,0 +1,2 @@
+10
+1 2 3 4 5 6 7 8 9 10
diff --git a/public_test_cases/p00342/input.1.txt b/public_test_cases/p00342/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1aa11bf3411bb61ff19fe60b3f5ab06f7883c011
--- /dev/null
+++ b/public_test_cases/p00342/input.1.txt
@@ -0,0 +1,2 @@
+5
+22 100 42 3 86
diff --git a/public_test_cases/p00342/input.2.txt b/public_test_cases/p00342/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63bb24569506e0895c5b2218f31d7303bfe857a5
--- /dev/null
+++ b/public_test_cases/p00342/input.2.txt
@@ -0,0 +1,2 @@
+10
+1 2 3 4 5 6 7 8 9 10
diff --git a/public_test_cases/p00342/input.3.txt b/public_test_cases/p00342/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9b0f335c1d1f34a2f5c063ae1093712f15c9bfe
--- /dev/null
+++ b/public_test_cases/p00342/input.3.txt
@@ -0,0 +1,2 @@
+4
+100000 99999 8 1
diff --git a/public_test_cases/p00342/input.4.txt b/public_test_cases/p00342/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e1df3326e38936b3ffe7c7801b89f98d32ef479
--- /dev/null
+++ b/public_test_cases/p00342/input.4.txt
@@ -0,0 +1,2 @@
+6
+15 21 36 10 34 5
diff --git a/public_test_cases/p00342/output.0.txt b/public_test_cases/p00342/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..160be64680ec9841580c14d67a95517660d34377
--- /dev/null
+++ b/public_test_cases/p00342/output.0.txt
@@ -0,0 +1 @@
+19.00000
diff --git a/public_test_cases/p00342/output.1.txt b/public_test_cases/p00342/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0a885d08fa70bcaf49630b6f694a949b2235dc0
--- /dev/null
+++ b/public_test_cases/p00342/output.1.txt
@@ -0,0 +1 @@
+9.78947
diff --git a/public_test_cases/p00342/output.2.txt b/public_test_cases/p00342/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..160be64680ec9841580c14d67a95517660d34377
--- /dev/null
+++ b/public_test_cases/p00342/output.2.txt
@@ -0,0 +1 @@
+19.00000
diff --git a/public_test_cases/p00342/output.3.txt b/public_test_cases/p00342/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b387bb9df521026306d70de3c344ef0137f65a9f
--- /dev/null
+++ b/public_test_cases/p00342/output.3.txt
@@ -0,0 +1 @@
+28571.285714
diff --git a/public_test_cases/p00342/output.4.txt b/public_test_cases/p00342/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d9d1781ae2f796f96c9e82e8ba89a7e83f149d9
--- /dev/null
+++ b/public_test_cases/p00342/output.4.txt
@@ -0,0 +1 @@
+18.00000
diff --git a/public_test_cases/p00343/input.0.txt b/public_test_cases/p00343/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d56279bdc0ffba71c92c13d06b6e345fd7d5df5
--- /dev/null
+++ b/public_test_cases/p00343/input.0.txt
@@ -0,0 +1,6 @@
+5
+1 2 3 4 5 6
+1 3 5 6 8 4
+1 2 3 4 5 8
+1 2 4 5 10 11
+1 2 3 6 9 11
diff --git a/public_test_cases/p00343/input.1.txt b/public_test_cases/p00343/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d56279bdc0ffba71c92c13d06b6e345fd7d5df5
--- /dev/null
+++ b/public_test_cases/p00343/input.1.txt
@@ -0,0 +1,6 @@
+5
+1 2 3 4 5 6
+1 3 5 6 8 4
+1 2 3 4 5 8
+1 2 4 5 10 11
+1 2 3 6 9 11
diff --git a/public_test_cases/p00343/output.0.txt b/public_test_cases/p00343/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b28d985a14490d6c1d16ae69d252be02dbb9dfb4
--- /dev/null
+++ b/public_test_cases/p00343/output.0.txt
@@ -0,0 +1,5 @@
+yes
+yes
+no
+yes
+no
diff --git a/public_test_cases/p00343/output.1.txt b/public_test_cases/p00343/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b28d985a14490d6c1d16ae69d252be02dbb9dfb4
--- /dev/null
+++ b/public_test_cases/p00343/output.1.txt
@@ -0,0 +1,5 @@
+yes
+yes
+no
+yes
+no
diff --git a/public_test_cases/p00344/input.0.txt b/public_test_cases/p00344/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d86050b0e039e215b0da8a93663a9bb6efd092a
--- /dev/null
+++ b/public_test_cases/p00344/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 1 1
diff --git a/public_test_cases/p00344/input.1.txt b/public_test_cases/p00344/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d86050b0e039e215b0da8a93663a9bb6efd092a
--- /dev/null
+++ b/public_test_cases/p00344/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 1 1
diff --git a/public_test_cases/p00344/input.2.txt b/public_test_cases/p00344/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c42f359cfbb97c49b9b7c4c7a484cd58fd6c794d
--- /dev/null
+++ b/public_test_cases/p00344/input.2.txt
@@ -0,0 +1,2 @@
+8
+2 3 7 3 3 3 4 4
diff --git a/public_test_cases/p00344/input.3.txt b/public_test_cases/p00344/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c54d55a8d166e20db07dc7c7ab25cb293a0c3cfd
--- /dev/null
+++ b/public_test_cases/p00344/input.3.txt
@@ -0,0 +1,2 @@
+3
+1 1 2
diff --git a/public_test_cases/p00344/output.0.txt b/public_test_cases/p00344/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00344/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00344/output.1.txt b/public_test_cases/p00344/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00344/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00344/output.2.txt b/public_test_cases/p00344/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00344/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00344/output.3.txt b/public_test_cases/p00344/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00344/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00345/input.0.txt b/public_test_cases/p00345/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfa0aeadb64f38d28955420cea69adbd899ed4f6
--- /dev/null
+++ b/public_test_cases/p00345/input.0.txt
@@ -0,0 +1 @@
+0.(3)
diff --git a/public_test_cases/p00345/input.1.txt b/public_test_cases/p00345/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3827e75a5cadb9fe4a27e1cb9b6d192e7323120
--- /dev/null
+++ b/public_test_cases/p00345/input.1.txt
@@ -0,0 +1 @@
+1.0
diff --git a/public_test_cases/p00345/input.2.txt b/public_test_cases/p00345/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cff9f58e0230aa19010f7ce4a566f17803bd19c0
--- /dev/null
+++ b/public_test_cases/p00345/input.2.txt
@@ -0,0 +1 @@
+0.0739
diff --git a/public_test_cases/p00345/input.3.txt b/public_test_cases/p00345/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7805d0bb27344532088d937f47d9cd493093ec0
--- /dev/null
+++ b/public_test_cases/p00345/input.3.txt
@@ -0,0 +1 @@
+5.2(143)
diff --git a/public_test_cases/p00345/input.4.txt b/public_test_cases/p00345/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfa0aeadb64f38d28955420cea69adbd899ed4f6
--- /dev/null
+++ b/public_test_cases/p00345/input.4.txt
@@ -0,0 +1 @@
+0.(3)
diff --git a/public_test_cases/p00345/output.0.txt b/public_test_cases/p00345/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e56468d21b3b1a83ba91d0eb289d8b1d11d9d30
--- /dev/null
+++ b/public_test_cases/p00345/output.0.txt
@@ -0,0 +1 @@
+1/3
diff --git a/public_test_cases/p00345/output.1.txt b/public_test_cases/p00345/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3391a0601f59769b7a91228694e0fb9f0e3b009a
--- /dev/null
+++ b/public_test_cases/p00345/output.1.txt
@@ -0,0 +1 @@
+1/1
diff --git a/public_test_cases/p00345/output.2.txt b/public_test_cases/p00345/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5cbddf79e0f9c936f02c61231d2ef6a61956dd4
--- /dev/null
+++ b/public_test_cases/p00345/output.2.txt
@@ -0,0 +1 @@
+739/10000
diff --git a/public_test_cases/p00345/output.3.txt b/public_test_cases/p00345/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ee1cb3a75fd1a365744c617b00b892cef4c2eff
--- /dev/null
+++ b/public_test_cases/p00345/output.3.txt
@@ -0,0 +1 @@
+52091/9990
diff --git a/public_test_cases/p00345/output.4.txt b/public_test_cases/p00345/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e56468d21b3b1a83ba91d0eb289d8b1d11d9d30
--- /dev/null
+++ b/public_test_cases/p00345/output.4.txt
@@ -0,0 +1 @@
+1/3
diff --git a/public_test_cases/p00346/input.0.txt b/public_test_cases/p00346/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a69862994c9418cb627c617327633a59017af57
--- /dev/null
+++ b/public_test_cases/p00346/input.0.txt
@@ -0,0 +1,6 @@
+4 5
+1 2 2
+1 3 2
+2 3 1
+2 4 2
+3 4 1
diff --git a/public_test_cases/p00346/input.1.txt b/public_test_cases/p00346/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92d754db3c1bf88459431812cf6f053c13e13950
--- /dev/null
+++ b/public_test_cases/p00346/input.1.txt
@@ -0,0 +1,12 @@
+7 11
+1 2 2
+1 3 1
+2 4 2
+2 5 2
+2 6 1
+3 4 1
+3 5 1
+3 6 1
+4 7 2
+5 7 2
+6 7 1
diff --git a/public_test_cases/p00346/input.2.txt b/public_test_cases/p00346/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a69862994c9418cb627c617327633a59017af57
--- /dev/null
+++ b/public_test_cases/p00346/input.2.txt
@@ -0,0 +1,6 @@
+4 5
+1 2 2
+1 3 2
+2 3 1
+2 4 2
+3 4 1
diff --git a/public_test_cases/p00346/output.0.txt b/public_test_cases/p00346/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p00346/output.0.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p00346/output.1.txt b/public_test_cases/p00346/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce161176ae74ec2092c00465a083646075fc02b8
--- /dev/null
+++ b/public_test_cases/p00346/output.1.txt
@@ -0,0 +1,4 @@
+3
+2
+4
+5
diff --git a/public_test_cases/p00346/output.2.txt b/public_test_cases/p00346/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p00346/output.2.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p00347/input.0.txt b/public_test_cases/p00347/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cca70a4421d42a2ff66e408638387b99d6cce12
--- /dev/null
+++ b/public_test_cases/p00347/input.0.txt
@@ -0,0 +1,2 @@
+2 1
+-2 1
diff --git a/public_test_cases/p00347/input.1.txt b/public_test_cases/p00347/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c339ccbb95057193767a7ca6f9b720733e6ad1b
--- /dev/null
+++ b/public_test_cases/p00347/input.1.txt
@@ -0,0 +1,5 @@
+5 4
+5 3 2 -5 2
+2 -4 2 8 -4
+2 3 -7 6 7
+3 -4 10 -3 -3
diff --git a/public_test_cases/p00347/input.2.txt b/public_test_cases/p00347/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cca70a4421d42a2ff66e408638387b99d6cce12
--- /dev/null
+++ b/public_test_cases/p00347/input.2.txt
@@ -0,0 +1,2 @@
+2 1
+-2 1
diff --git a/public_test_cases/p00347/input.3.txt b/public_test_cases/p00347/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87737966218c570f7b2a3417477d69f8d470d953
--- /dev/null
+++ b/public_test_cases/p00347/input.3.txt
@@ -0,0 +1,3 @@
+2 2
+2 -3
+3 -1
diff --git a/public_test_cases/p00347/output.0.txt b/public_test_cases/p00347/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00347/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00347/output.1.txt b/public_test_cases/p00347/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00347/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00347/output.2.txt b/public_test_cases/p00347/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00347/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00347/output.3.txt b/public_test_cases/p00347/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00347/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00348/input.0.txt b/public_test_cases/p00348/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da181e87546a3f9b30c131eb7a84704bafd5d94d
--- /dev/null
+++ b/public_test_cases/p00348/input.0.txt
@@ -0,0 +1,2 @@
+6
+1 3 6 5 8 2
diff --git a/public_test_cases/p00348/input.1.txt b/public_test_cases/p00348/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c72001f2e8f93d6c45f22c3c37e0b3bded52287
--- /dev/null
+++ b/public_test_cases/p00348/input.1.txt
@@ -0,0 +1,2 @@
+4
+4 3 2 1
diff --git a/public_test_cases/p00348/input.2.txt b/public_test_cases/p00348/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da181e87546a3f9b30c131eb7a84704bafd5d94d
--- /dev/null
+++ b/public_test_cases/p00348/input.2.txt
@@ -0,0 +1,2 @@
+6
+1 3 6 5 8 2
diff --git a/public_test_cases/p00348/output.0.txt b/public_test_cases/p00348/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00348/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00348/output.1.txt b/public_test_cases/p00348/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00348/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00348/output.2.txt b/public_test_cases/p00348/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00348/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00349/input.0.txt b/public_test_cases/p00349/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba3149ca707c08e212c5ae7fea0fe5a7b750b7a5
--- /dev/null
+++ b/public_test_cases/p00349/input.0.txt
@@ -0,0 +1,4 @@
+3 3 3
+2 1 S
+1 2 E
+2 2 E
diff --git a/public_test_cases/p00349/input.1.txt b/public_test_cases/p00349/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba3149ca707c08e212c5ae7fea0fe5a7b750b7a5
--- /dev/null
+++ b/public_test_cases/p00349/input.1.txt
@@ -0,0 +1,4 @@
+3 3 3
+2 1 S
+1 2 E
+2 2 E
diff --git a/public_test_cases/p00349/input.2.txt b/public_test_cases/p00349/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58ae4888ec6c7e834217f27be9d93ef04cb0b35c
--- /dev/null
+++ b/public_test_cases/p00349/input.2.txt
@@ -0,0 +1,4 @@
+5 4 3
+3 1 S
+2 2 E
+1 3 E
diff --git a/public_test_cases/p00349/output.0.txt b/public_test_cases/p00349/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0571a2e15a712887514f5eabbbe731a4b1b70672
--- /dev/null
+++ b/public_test_cases/p00349/output.0.txt
@@ -0,0 +1,3 @@
+3
+1
+2
diff --git a/public_test_cases/p00349/output.1.txt b/public_test_cases/p00349/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0571a2e15a712887514f5eabbbe731a4b1b70672
--- /dev/null
+++ b/public_test_cases/p00349/output.1.txt
@@ -0,0 +1,3 @@
+3
+1
+2
diff --git a/public_test_cases/p00349/output.2.txt b/public_test_cases/p00349/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17435e586d4e2ca33fd1d88b9e75f547d157aaa8
--- /dev/null
+++ b/public_test_cases/p00349/output.2.txt
@@ -0,0 +1,3 @@
+2
+3
+1
diff --git a/public_test_cases/p00350/input.0.txt b/public_test_cases/p00350/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1ef96b4e17873487a94f1ac7a6f70896b8571f9
--- /dev/null
+++ b/public_test_cases/p00350/input.0.txt
@@ -0,0 +1,12 @@
+13
+aizualgorithm
+9
+comp 1 1 4 5
+comp 2 6 1 5
+set 9 12 b
+comp 9 9 10 10
+comp 5 8 1 4
+set 1 10 z
+set 11 13 x
+comp 8 10 1 5
+comp 1 5 1 5
diff --git a/public_test_cases/p00350/input.1.txt b/public_test_cases/p00350/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1ef96b4e17873487a94f1ac7a6f70896b8571f9
--- /dev/null
+++ b/public_test_cases/p00350/input.1.txt
@@ -0,0 +1,12 @@
+13
+aizualgorithm
+9
+comp 1 1 4 5
+comp 2 6 1 5
+set 9 12 b
+comp 9 9 10 10
+comp 5 8 1 4
+set 1 10 z
+set 11 13 x
+comp 8 10 1 5
+comp 1 5 1 5
diff --git a/public_test_cases/p00350/output.0.txt b/public_test_cases/p00350/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edd8c610e68670fa1c82ba84ce293f9cca170fa7
--- /dev/null
+++ b/public_test_cases/p00350/output.0.txt
@@ -0,0 +1,6 @@
+s
+t
+e
+t
+s
+e
diff --git a/public_test_cases/p00350/output.1.txt b/public_test_cases/p00350/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edd8c610e68670fa1c82ba84ce293f9cca170fa7
--- /dev/null
+++ b/public_test_cases/p00350/output.1.txt
@@ -0,0 +1,6 @@
+s
+t
+e
+t
+s
+e
diff --git a/public_test_cases/p00351/input.0.txt b/public_test_cases/p00351/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cd68b0dd8e84dec5d3cd53fda7e48b685be1b5
--- /dev/null
+++ b/public_test_cases/p00351/input.0.txt
@@ -0,0 +1 @@
+0 2
diff --git a/public_test_cases/p00351/input.1.txt b/public_test_cases/p00351/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cd68b0dd8e84dec5d3cd53fda7e48b685be1b5
--- /dev/null
+++ b/public_test_cases/p00351/input.1.txt
@@ -0,0 +1 @@
+0 2
diff --git a/public_test_cases/p00351/input.2.txt b/public_test_cases/p00351/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7335a0738c81332a2d737fae48f528835a7b3ca0
--- /dev/null
+++ b/public_test_cases/p00351/input.2.txt
@@ -0,0 +1,4 @@
+3 2
+-2 1 1
+-1 1 2
+0 2 1
diff --git a/public_test_cases/p00351/output.0.txt b/public_test_cases/p00351/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84f5e5cefe21999a6f810d40c1c626050ac26e6f
--- /dev/null
+++ b/public_test_cases/p00351/output.0.txt
@@ -0,0 +1 @@
+0.00000000
diff --git a/public_test_cases/p00351/output.1.txt b/public_test_cases/p00351/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84f5e5cefe21999a6f810d40c1c626050ac26e6f
--- /dev/null
+++ b/public_test_cases/p00351/output.1.txt
@@ -0,0 +1 @@
+0.00000000
diff --git a/public_test_cases/p00351/output.2.txt b/public_test_cases/p00351/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a272bee5bf384dc2be999d7182fdecc81962ba23
--- /dev/null
+++ b/public_test_cases/p00351/output.2.txt
@@ -0,0 +1 @@
+1.25065774
diff --git a/public_test_cases/p00352/input.0.txt b/public_test_cases/p00352/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aec3d1631b352671316272905257ef83b1db9911
--- /dev/null
+++ b/public_test_cases/p00352/input.0.txt
@@ -0,0 +1 @@
+1000 3000
diff --git a/public_test_cases/p00352/input.1.txt b/public_test_cases/p00352/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db60ead11968c0eb84ae91c8ce3554ec00bb8066
--- /dev/null
+++ b/public_test_cases/p00352/input.1.txt
@@ -0,0 +1 @@
+5000 5000
diff --git a/public_test_cases/p00352/input.2.txt b/public_test_cases/p00352/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04d9fc2b857dc6e083d5c40977309fcd47167125
--- /dev/null
+++ b/public_test_cases/p00352/input.2.txt
@@ -0,0 +1 @@
+1000 2000
diff --git a/public_test_cases/p00352/input.3.txt b/public_test_cases/p00352/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aec3d1631b352671316272905257ef83b1db9911
--- /dev/null
+++ b/public_test_cases/p00352/input.3.txt
@@ -0,0 +1 @@
+1000 3000
diff --git a/public_test_cases/p00352/output.0.txt b/public_test_cases/p00352/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd1af11bf283704974791862e5f3b3bd5e411aa
--- /dev/null
+++ b/public_test_cases/p00352/output.0.txt
@@ -0,0 +1 @@
+2000
diff --git a/public_test_cases/p00352/output.1.txt b/public_test_cases/p00352/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9c02dad1826afb00c3759de476520d6de144bb3
--- /dev/null
+++ b/public_test_cases/p00352/output.1.txt
@@ -0,0 +1 @@
+5000
diff --git a/public_test_cases/p00352/output.2.txt b/public_test_cases/p00352/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d86ec6498f3f2c00a73220120de77934b185d8d
--- /dev/null
+++ b/public_test_cases/p00352/output.2.txt
@@ -0,0 +1 @@
+1500
diff --git a/public_test_cases/p00352/output.3.txt b/public_test_cases/p00352/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd1af11bf283704974791862e5f3b3bd5e411aa
--- /dev/null
+++ b/public_test_cases/p00352/output.3.txt
@@ -0,0 +1 @@
+2000
diff --git a/public_test_cases/p00353/input.0.txt b/public_test_cases/p00353/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88a0ea4cbc5770ae468d50a7dca91a679748312f
--- /dev/null
+++ b/public_test_cases/p00353/input.0.txt
@@ -0,0 +1 @@
+1000 3000 3000
diff --git a/public_test_cases/p00353/input.1.txt b/public_test_cases/p00353/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5754c8dcb621f36603dc89aba4dfa8edf6dcc190
--- /dev/null
+++ b/public_test_cases/p00353/input.1.txt
@@ -0,0 +1 @@
+5000 3000 4500
diff --git a/public_test_cases/p00353/input.2.txt b/public_test_cases/p00353/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88a0ea4cbc5770ae468d50a7dca91a679748312f
--- /dev/null
+++ b/public_test_cases/p00353/input.2.txt
@@ -0,0 +1 @@
+1000 3000 3000
diff --git a/public_test_cases/p00353/input.3.txt b/public_test_cases/p00353/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3568ec0ad2c66c4eeaa95230a0a5a13023a0b30c
--- /dev/null
+++ b/public_test_cases/p00353/input.3.txt
@@ -0,0 +1 @@
+500 1000 2000
diff --git a/public_test_cases/p00353/output.0.txt b/public_test_cases/p00353/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd1af11bf283704974791862e5f3b3bd5e411aa
--- /dev/null
+++ b/public_test_cases/p00353/output.0.txt
@@ -0,0 +1 @@
+2000
diff --git a/public_test_cases/p00353/output.1.txt b/public_test_cases/p00353/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00353/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00353/output.2.txt b/public_test_cases/p00353/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd1af11bf283704974791862e5f3b3bd5e411aa
--- /dev/null
+++ b/public_test_cases/p00353/output.2.txt
@@ -0,0 +1 @@
+2000
diff --git a/public_test_cases/p00353/output.3.txt b/public_test_cases/p00353/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69fc4ef2be0c2550c183850902cb55dbf3d37b30
--- /dev/null
+++ b/public_test_cases/p00353/output.3.txt
@@ -0,0 +1 @@
+NA
diff --git a/public_test_cases/p00354/input.0.txt b/public_test_cases/p00354/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00354/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00354/output.0.txt b/public_test_cases/p00354/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8ba6efed23de86f5f51bd870df6d04505e1f9aa
--- /dev/null
+++ b/public_test_cases/p00354/output.0.txt
@@ -0,0 +1 @@
+fri
diff --git a/public_test_cases/p00355/input.0.txt b/public_test_cases/p00355/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..634f0559d38d749bc292b7fba695453d561368d0
--- /dev/null
+++ b/public_test_cases/p00355/input.0.txt
@@ -0,0 +1,5 @@
+5 7
+3
+1 4
+4 5
+7 10
diff --git a/public_test_cases/p00355/input.1.txt b/public_test_cases/p00355/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e50aab666c9611f9369bddc1d7c48f23b9345c10
--- /dev/null
+++ b/public_test_cases/p00355/input.1.txt
@@ -0,0 +1,5 @@
+3 7
+3
+7 10
+1 4
+4 5
diff --git a/public_test_cases/p00355/input.2.txt b/public_test_cases/p00355/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..634f0559d38d749bc292b7fba695453d561368d0
--- /dev/null
+++ b/public_test_cases/p00355/input.2.txt
@@ -0,0 +1,5 @@
+5 7
+3
+1 4
+4 5
+7 10
diff --git a/public_test_cases/p00355/output.0.txt b/public_test_cases/p00355/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00355/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00355/output.1.txt b/public_test_cases/p00355/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00355/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00355/output.2.txt b/public_test_cases/p00355/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00355/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00356/input.0.txt b/public_test_cases/p00356/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8835c0701f66f328251eac951d4278ae8acd00a1
--- /dev/null
+++ b/public_test_cases/p00356/input.0.txt
@@ -0,0 +1 @@
+4 4
diff --git a/public_test_cases/p00356/input.1.txt b/public_test_cases/p00356/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9290688fa7995d643a841e69083fc3f1316a0ef8
--- /dev/null
+++ b/public_test_cases/p00356/input.1.txt
@@ -0,0 +1 @@
+4 6
diff --git a/public_test_cases/p00356/input.2.txt b/public_test_cases/p00356/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8835c0701f66f328251eac951d4278ae8acd00a1
--- /dev/null
+++ b/public_test_cases/p00356/input.2.txt
@@ -0,0 +1 @@
+4 4
diff --git a/public_test_cases/p00356/output.0.txt b/public_test_cases/p00356/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00356/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00356/output.1.txt b/public_test_cases/p00356/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p00356/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p00356/output.2.txt b/public_test_cases/p00356/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00356/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00357/input.0.txt b/public_test_cases/p00357/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02b0786c567c906fd9780420381460f5e6aa98f0
--- /dev/null
+++ b/public_test_cases/p00357/input.0.txt
@@ -0,0 +1,5 @@
+4
+20
+5
+10
+1
diff --git a/public_test_cases/p00357/input.1.txt b/public_test_cases/p00357/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6bf677bcce3fefe485d3bf0f9bb62614457cf28
--- /dev/null
+++ b/public_test_cases/p00357/input.1.txt
@@ -0,0 +1,5 @@
+4
+20
+30
+1
+20
diff --git a/public_test_cases/p00357/input.2.txt b/public_test_cases/p00357/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02b0786c567c906fd9780420381460f5e6aa98f0
--- /dev/null
+++ b/public_test_cases/p00357/input.2.txt
@@ -0,0 +1,5 @@
+4
+20
+5
+10
+1
diff --git a/public_test_cases/p00357/input.3.txt b/public_test_cases/p00357/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..485169703796a2b89892b7db24ae4d2284d09e96
--- /dev/null
+++ b/public_test_cases/p00357/input.3.txt
@@ -0,0 +1,4 @@
+3
+10
+5
+10
diff --git a/public_test_cases/p00357/output.0.txt b/public_test_cases/p00357/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00357/output.0.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00357/output.1.txt b/public_test_cases/p00357/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00357/output.1.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00357/output.2.txt b/public_test_cases/p00357/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00357/output.2.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00357/output.3.txt b/public_test_cases/p00357/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00357/output.3.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00358/input.0.txt b/public_test_cases/p00358/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90cd2bbe6102cc8d69dadc2e1aae25ae1b48439c
--- /dev/null
+++ b/public_test_cases/p00358/input.0.txt
@@ -0,0 +1,4 @@
+5 3
+0 1
+1 2
+3 3
diff --git a/public_test_cases/p00358/output.0.txt b/public_test_cases/p00358/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00358/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00359/input.0.txt b/public_test_cases/p00359/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..113209c99ab8cebea46eded406ecfb95f9ed7bd1
--- /dev/null
+++ b/public_test_cases/p00359/input.0.txt
@@ -0,0 +1,5 @@
+5 4 4
+0 3
+1 1
+2 2
+2 3
diff --git a/public_test_cases/p00359/input.1.txt b/public_test_cases/p00359/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..113209c99ab8cebea46eded406ecfb95f9ed7bd1
--- /dev/null
+++ b/public_test_cases/p00359/input.1.txt
@@ -0,0 +1,5 @@
+5 4 4
+0 3
+1 1
+2 2
+2 3
diff --git a/public_test_cases/p00359/input.2.txt b/public_test_cases/p00359/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba1a36d124d0cdc2a4bb394556efdefa47cb572
--- /dev/null
+++ b/public_test_cases/p00359/input.2.txt
@@ -0,0 +1,6 @@
+6 6 5
+2 1
+5 2
+3 3
+1 4
+1 5
diff --git a/public_test_cases/p00359/input.3.txt b/public_test_cases/p00359/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..789637afffe89c774c58db2446ce245a9abb6aeb
--- /dev/null
+++ b/public_test_cases/p00359/input.3.txt
@@ -0,0 +1,5 @@
+8 8 4
+6 0
+7 0
+0 6
+0 7
diff --git a/public_test_cases/p00359/output.0.txt b/public_test_cases/p00359/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00359/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00359/output.1.txt b/public_test_cases/p00359/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00359/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00359/output.2.txt b/public_test_cases/p00359/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00359/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00359/output.3.txt b/public_test_cases/p00359/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00359/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00360/input.0.txt b/public_test_cases/p00360/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fb66abee0a2fb39b2f17293f503eaa93d51d316
--- /dev/null
+++ b/public_test_cases/p00360/input.0.txt
@@ -0,0 +1,2 @@
+pckoshien
+3
diff --git a/public_test_cases/p00360/input.1.txt b/public_test_cases/p00360/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fb66abee0a2fb39b2f17293f503eaa93d51d316
--- /dev/null
+++ b/public_test_cases/p00360/input.1.txt
@@ -0,0 +1,2 @@
+pckoshien
+3
diff --git a/public_test_cases/p00360/input.2.txt b/public_test_cases/p00360/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17830b0d09b94076f9c46bd23cae187e6b924928
--- /dev/null
+++ b/public_test_cases/p00360/input.2.txt
@@ -0,0 +1,2 @@
+pckoshien
+10
diff --git a/public_test_cases/p00360/output.0.txt b/public_test_cases/p00360/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f150198f759fe0c443ebd7008adf2696212bc04d
--- /dev/null
+++ b/public_test_cases/p00360/output.0.txt
@@ -0,0 +1 @@
+ckopshien
diff --git a/public_test_cases/p00360/output.1.txt b/public_test_cases/p00360/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f150198f759fe0c443ebd7008adf2696212bc04d
--- /dev/null
+++ b/public_test_cases/p00360/output.1.txt
@@ -0,0 +1 @@
+ckopshien
diff --git a/public_test_cases/p00360/output.2.txt b/public_test_cases/p00360/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed1d996f09c894a5c51cd5d346756b15afd5b63c
--- /dev/null
+++ b/public_test_cases/p00360/output.2.txt
@@ -0,0 +1 @@
+cekophsin
diff --git a/public_test_cases/p00361/input.0.txt b/public_test_cases/p00361/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e37c217c5f05648ddeede4ed23633e3a29c3c55
--- /dev/null
+++ b/public_test_cases/p00361/input.0.txt
@@ -0,0 +1,8 @@
+6 7
+0 2
+2 1
+1 0
+2 3
+4 3
+4 5
+5 4
diff --git a/public_test_cases/p00361/output.0.txt b/public_test_cases/p00361/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00361/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00362/input.0.txt b/public_test_cases/p00362/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..791723a880333116e18f6bdc5665af1b41019f27
--- /dev/null
+++ b/public_test_cases/p00362/input.0.txt
@@ -0,0 +1,10 @@
+6 3
+0 1 1
+0 2 1
+0 3 1
+2 4 1
+2 5 1
+3
+send 1 4
+add 2 2
+send 1 4
diff --git a/public_test_cases/p00362/output.0.txt b/public_test_cases/p00362/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p00362/output.0.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p00363/input.0.txt b/public_test_cases/p00363/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7530ed2334e34a68c4041500b8cf33977309aaab
--- /dev/null
+++ b/public_test_cases/p00363/input.0.txt
@@ -0,0 +1 @@
+3 3 B
diff --git a/public_test_cases/p00363/output.0.txt b/public_test_cases/p00363/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9194d608680e499ae625ba5356a77ae31e0fc434
--- /dev/null
+++ b/public_test_cases/p00363/output.0.txt
@@ -0,0 +1,3 @@
++-+
+|B|
++-+
diff --git a/public_test_cases/p00364/input.0.txt b/public_test_cases/p00364/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c63d7eaec8417918bec6b9c5ec307afc92abd4b3
--- /dev/null
+++ b/public_test_cases/p00364/input.0.txt
@@ -0,0 +1,4 @@
+3 10
+6 4
+4 2
+3 2
diff --git a/public_test_cases/p00364/input.1.txt b/public_test_cases/p00364/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c63d7eaec8417918bec6b9c5ec307afc92abd4b3
--- /dev/null
+++ b/public_test_cases/p00364/input.1.txt
@@ -0,0 +1,4 @@
+3 10
+6 4
+4 2
+3 2
diff --git a/public_test_cases/p00364/output.0.txt b/public_test_cases/p00364/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e987f5b28d3081028ecd40981c4fe287ca927b0e
--- /dev/null
+++ b/public_test_cases/p00364/output.0.txt
@@ -0,0 +1 @@
+6.666667
diff --git a/public_test_cases/p00364/output.1.txt b/public_test_cases/p00364/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e987f5b28d3081028ecd40981c4fe287ca927b0e
--- /dev/null
+++ b/public_test_cases/p00364/output.1.txt
@@ -0,0 +1 @@
+6.666667
diff --git a/public_test_cases/p00365/input.0.txt b/public_test_cases/p00365/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d19c57e94c6d74486af82562af24a2572bef131
--- /dev/null
+++ b/public_test_cases/p00365/input.0.txt
@@ -0,0 +1,2 @@
+1999 9 9
+2001 11 3
diff --git a/public_test_cases/p00365/input.1.txt b/public_test_cases/p00365/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87f6f746a8cfd50d42f43970753b884821d88bd3
--- /dev/null
+++ b/public_test_cases/p00365/input.1.txt
@@ -0,0 +1,2 @@
+2008 2 29
+2015 3 1
diff --git a/public_test_cases/p00365/input.2.txt b/public_test_cases/p00365/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d19c57e94c6d74486af82562af24a2572bef131
--- /dev/null
+++ b/public_test_cases/p00365/input.2.txt
@@ -0,0 +1,2 @@
+1999 9 9
+2001 11 3
diff --git a/public_test_cases/p00365/output.0.txt b/public_test_cases/p00365/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00365/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00365/output.1.txt b/public_test_cases/p00365/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00365/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00365/output.2.txt b/public_test_cases/p00365/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00365/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00366/input.0.txt b/public_test_cases/p00366/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1cad3353b94c6346ac9038ae63fed76cee98f39
--- /dev/null
+++ b/public_test_cases/p00366/input.0.txt
@@ -0,0 +1,4 @@
+3
+3
+6
+8
diff --git a/public_test_cases/p00366/input.1.txt b/public_test_cases/p00366/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1cad3353b94c6346ac9038ae63fed76cee98f39
--- /dev/null
+++ b/public_test_cases/p00366/input.1.txt
@@ -0,0 +1,4 @@
+3
+3
+6
+8
diff --git a/public_test_cases/p00366/input.2.txt b/public_test_cases/p00366/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b59af4ee00e426e2b6e32555bf7f4e9da112d23e
--- /dev/null
+++ b/public_test_cases/p00366/input.2.txt
@@ -0,0 +1,3 @@
+2
+10
+10
diff --git a/public_test_cases/p00366/output.0.txt b/public_test_cases/p00366/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00366/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00366/output.1.txt b/public_test_cases/p00366/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00366/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00366/output.2.txt b/public_test_cases/p00366/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00366/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00367/input.0.txt b/public_test_cases/p00367/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7dda926ea093334c51ecfd16740811dcea73fe4
--- /dev/null
+++ b/public_test_cases/p00367/input.0.txt
@@ -0,0 +1,6 @@
+5
+1 0 2 0 3 30 4 30 6 0 7 0
+2 30 3 0 4 0 5 0 5 30 6 30
+1 30 2 30 4 30 5 0 6 30 7 0
+2 30 3 0 5 0 6 0 6 30 7 0
+1 0 2 0 3 0 3 30 4 0 5 0
diff --git a/public_test_cases/p00367/output.0.txt b/public_test_cases/p00367/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00367/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00368/input.0.txt b/public_test_cases/p00368/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab1fe8061af319dd9af3de8ae34d37a75098f448
--- /dev/null
+++ b/public_test_cases/p00368/input.0.txt
@@ -0,0 +1,3 @@
+3 2
+1 1 0
+0 0 1
diff --git a/public_test_cases/p00368/input.1.txt b/public_test_cases/p00368/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab1fe8061af319dd9af3de8ae34d37a75098f448
--- /dev/null
+++ b/public_test_cases/p00368/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+1 1 0
+0 0 1
diff --git a/public_test_cases/p00368/input.2.txt b/public_test_cases/p00368/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5f28f1716217ee6ce729c83af4fc722fe43c61a
--- /dev/null
+++ b/public_test_cases/p00368/input.2.txt
@@ -0,0 +1,3 @@
+2 2
+0 0
+1 1
diff --git a/public_test_cases/p00368/output.0.txt b/public_test_cases/p00368/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00368/output.0.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00368/output.1.txt b/public_test_cases/p00368/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p00368/output.1.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p00368/output.2.txt b/public_test_cases/p00368/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p00368/output.2.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p00369/input.0.txt b/public_test_cases/p00369/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6281df3ec0c199953dff7bb16ee0c1763744d502
--- /dev/null
+++ b/public_test_cases/p00369/input.0.txt
@@ -0,0 +1 @@
+11121314
diff --git a/public_test_cases/p00369/input.1.txt b/public_test_cases/p00369/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..239b0159bf15ed65fa9bad095d080b5795896503
--- /dev/null
+++ b/public_test_cases/p00369/input.1.txt
@@ -0,0 +1 @@
+123125129
diff --git a/public_test_cases/p00369/input.2.txt b/public_test_cases/p00369/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acf6af209f1a05a4e18b05e3fc11e897a2217223
--- /dev/null
+++ b/public_test_cases/p00369/input.2.txt
@@ -0,0 +1 @@
+119138
diff --git a/public_test_cases/p00369/input.3.txt b/public_test_cases/p00369/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6281df3ec0c199953dff7bb16ee0c1763744d502
--- /dev/null
+++ b/public_test_cases/p00369/input.3.txt
@@ -0,0 +1 @@
+11121314
diff --git a/public_test_cases/p00369/output.0.txt b/public_test_cases/p00369/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00369/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00369/output.1.txt b/public_test_cases/p00369/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00369/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00369/output.2.txt b/public_test_cases/p00369/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00369/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00369/output.3.txt b/public_test_cases/p00369/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00369/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00370/input.0.txt b/public_test_cases/p00370/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbdea8e500606002d5b27cbfbb258da4707104f6
--- /dev/null
+++ b/public_test_cases/p00370/input.0.txt
@@ -0,0 +1,7 @@
+0 0
+4 0
+4
+1 1
+2 1
+3 3
+1 2
diff --git a/public_test_cases/p00370/input.1.txt b/public_test_cases/p00370/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59bac48c09a52851949582b617d976011f55033d
--- /dev/null
+++ b/public_test_cases/p00370/input.1.txt
@@ -0,0 +1,7 @@
+4 4
+0 0
+4
+1 1
+3 1
+3 3
+1 3
diff --git a/public_test_cases/p00370/input.2.txt b/public_test_cases/p00370/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbdea8e500606002d5b27cbfbb258da4707104f6
--- /dev/null
+++ b/public_test_cases/p00370/input.2.txt
@@ -0,0 +1,7 @@
+0 0
+4 0
+4
+1 1
+2 1
+3 3
+1 2
diff --git a/public_test_cases/p00370/output.0.txt b/public_test_cases/p00370/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91627b921bf58ee5c988575560c6c6674b152739
--- /dev/null
+++ b/public_test_cases/p00370/output.0.txt
@@ -0,0 +1 @@
+4.472136
diff --git a/public_test_cases/p00370/output.1.txt b/public_test_cases/p00370/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7941eaaafe0c48b5a90e92944a714e98a1dae09a
--- /dev/null
+++ b/public_test_cases/p00370/output.1.txt
@@ -0,0 +1 @@
+6.32455
diff --git a/public_test_cases/p00370/output.2.txt b/public_test_cases/p00370/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91627b921bf58ee5c988575560c6c6674b152739
--- /dev/null
+++ b/public_test_cases/p00370/output.2.txt
@@ -0,0 +1 @@
+4.472136
diff --git a/public_test_cases/p00371/input.0.txt b/public_test_cases/p00371/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50e93200d45fa64a130af4659cd97f33f8d3980a
--- /dev/null
+++ b/public_test_cases/p00371/input.0.txt
@@ -0,0 +1,10 @@
+3 2 7
+8
+3
+6
+5
+2 2
+3 2
+4 1
+6 1
+6 0
diff --git a/public_test_cases/p00371/input.1.txt b/public_test_cases/p00371/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50e93200d45fa64a130af4659cd97f33f8d3980a
--- /dev/null
+++ b/public_test_cases/p00371/input.1.txt
@@ -0,0 +1,10 @@
+3 2 7
+8
+3
+6
+5
+2 2
+3 2
+4 1
+6 1
+6 0
diff --git a/public_test_cases/p00371/output.0.txt b/public_test_cases/p00371/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..327eb9ea33006825e685d0061108ca44b4cd670f
--- /dev/null
+++ b/public_test_cases/p00371/output.0.txt
@@ -0,0 +1,5 @@
+yes
+no
+yes
+no
+yes
diff --git a/public_test_cases/p00371/output.1.txt b/public_test_cases/p00371/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..327eb9ea33006825e685d0061108ca44b4cd670f
--- /dev/null
+++ b/public_test_cases/p00371/output.1.txt
@@ -0,0 +1,5 @@
+yes
+no
+yes
+no
+yes
diff --git a/public_test_cases/p00372/input.0.txt b/public_test_cases/p00372/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91581d7e49c3fe78348893c08c98a4017c178197
--- /dev/null
+++ b/public_test_cases/p00372/input.0.txt
@@ -0,0 +1,9 @@
+7 8
+0 1
+1 2
+1 3
+2 3
+0 4
+4 5
+4 6
+5 6
diff --git a/public_test_cases/p00372/input.1.txt b/public_test_cases/p00372/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29e38fec53191345dc1822cd4e1ca7f667cb1b89
--- /dev/null
+++ b/public_test_cases/p00372/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+0 1
+1 2
diff --git a/public_test_cases/p00372/input.2.txt b/public_test_cases/p00372/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91581d7e49c3fe78348893c08c98a4017c178197
--- /dev/null
+++ b/public_test_cases/p00372/input.2.txt
@@ -0,0 +1,9 @@
+7 8
+0 1
+1 2
+1 3
+2 3
+0 4
+4 5
+4 6
+5 6
diff --git a/public_test_cases/p00372/output.0.txt b/public_test_cases/p00372/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00372/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00372/output.1.txt b/public_test_cases/p00372/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00372/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00372/output.2.txt b/public_test_cases/p00372/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00372/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00373/input.0.txt b/public_test_cases/p00373/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ca889fea9d6f3d79ef9372255a1e4b3914523a2
--- /dev/null
+++ b/public_test_cases/p00373/input.0.txt
@@ -0,0 +1,9 @@
+5 5 3 3
+AF??z
+W?p88
+???Hk
+pU?m?
+F???c
+F??
+p?8
+?H?
diff --git a/public_test_cases/p00373/input.1.txt b/public_test_cases/p00373/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ca889fea9d6f3d79ef9372255a1e4b3914523a2
--- /dev/null
+++ b/public_test_cases/p00373/input.1.txt
@@ -0,0 +1,9 @@
+5 5 3 3
+AF??z
+W?p88
+???Hk
+pU?m?
+F???c
+F??
+p?8
+?H?
diff --git a/public_test_cases/p00373/input.2.txt b/public_test_cases/p00373/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f536a74d993eba41fefaef89f2ef43e996ba7786
--- /dev/null
+++ b/public_test_cases/p00373/input.2.txt
@@ -0,0 +1,8 @@
+6 5 4 2
+aaaaaa
+aaaaaa
+aaaaaa
+aaaaaa
+aaaaaa
+aaaa
+aaaa
diff --git a/public_test_cases/p00373/output.0.txt b/public_test_cases/p00373/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00373/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00373/output.1.txt b/public_test_cases/p00373/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00373/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00373/output.2.txt b/public_test_cases/p00373/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p00373/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p00374/input.0.txt b/public_test_cases/p00374/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d13dc4286e10335efb13a9bbcdb638851b364ae8
--- /dev/null
+++ b/public_test_cases/p00374/input.0.txt
@@ -0,0 +1,27 @@
+18 8 3 6
+4
+3
+3
+3
+3
+2
+2
+2
+1
+1
+1
+1
+1
+2
+2
+3
+3
+3
+1
+1
+1
+1
+1
+1
+1
+1
diff --git a/public_test_cases/p00374/input.1.txt b/public_test_cases/p00374/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d13dc4286e10335efb13a9bbcdb638851b364ae8
--- /dev/null
+++ b/public_test_cases/p00374/input.1.txt
@@ -0,0 +1,27 @@
+18 8 3 6
+4
+3
+3
+3
+3
+2
+2
+2
+1
+1
+1
+1
+1
+2
+2
+3
+3
+3
+1
+1
+1
+1
+1
+1
+1
+1
diff --git a/public_test_cases/p00374/output.0.txt b/public_test_cases/p00374/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00374/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00374/output.1.txt b/public_test_cases/p00374/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00374/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00375/input.0.txt b/public_test_cases/p00375/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b10c1b2badd802b554ecc944a7a40c5f055d47
--- /dev/null
+++ b/public_test_cases/p00375/input.0.txt
@@ -0,0 +1 @@
+68
diff --git a/public_test_cases/p00375/input.1.txt b/public_test_cases/p00375/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b10c1b2badd802b554ecc944a7a40c5f055d47
--- /dev/null
+++ b/public_test_cases/p00375/input.1.txt
@@ -0,0 +1 @@
+68
diff --git a/public_test_cases/p00375/input.2.txt b/public_test_cases/p00375/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p00375/input.2.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p00375/output.0.txt b/public_test_cases/p00375/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p00375/output.0.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p00375/output.1.txt b/public_test_cases/p00375/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p00375/output.1.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p00375/output.2.txt b/public_test_cases/p00375/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00375/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00376/input.0.txt b/public_test_cases/p00376/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0060859b452a59e54223686d6c4afba11c2dddf9
--- /dev/null
+++ b/public_test_cases/p00376/input.0.txt
@@ -0,0 +1 @@
+20 30
diff --git a/public_test_cases/p00376/input.1.txt b/public_test_cases/p00376/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a32f311428604996cf26127c6a44512d30f5fb
--- /dev/null
+++ b/public_test_cases/p00376/input.1.txt
@@ -0,0 +1 @@
+50 25
diff --git a/public_test_cases/p00376/input.2.txt b/public_test_cases/p00376/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9126f02c42e75cae0891521168fb649bd890943
--- /dev/null
+++ b/public_test_cases/p00376/input.2.txt
@@ -0,0 +1 @@
+25 25
diff --git a/public_test_cases/p00376/input.3.txt b/public_test_cases/p00376/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0060859b452a59e54223686d6c4afba11c2dddf9
--- /dev/null
+++ b/public_test_cases/p00376/input.3.txt
@@ -0,0 +1 @@
+20 30
diff --git a/public_test_cases/p00376/output.0.txt b/public_test_cases/p00376/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00376/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00376/output.1.txt b/public_test_cases/p00376/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p00376/output.1.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p00376/output.2.txt b/public_test_cases/p00376/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00376/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00376/output.3.txt b/public_test_cases/p00376/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00376/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00377/input.0.txt b/public_test_cases/p00377/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0e5a878642e16b968ae70192f20534d2616649c
--- /dev/null
+++ b/public_test_cases/p00377/input.0.txt
@@ -0,0 +1,2 @@
+5 4
+5 5 6 5
diff --git a/public_test_cases/p00377/input.1.txt b/public_test_cases/p00377/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b6a507be155f89008576002dcc94c2839ddd418
--- /dev/null
+++ b/public_test_cases/p00377/input.1.txt
@@ -0,0 +1,2 @@
+7 5
+8 8 8 8 8
diff --git a/public_test_cases/p00377/input.2.txt b/public_test_cases/p00377/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0e5a878642e16b968ae70192f20534d2616649c
--- /dev/null
+++ b/public_test_cases/p00377/input.2.txt
@@ -0,0 +1,2 @@
+5 4
+5 5 6 5
diff --git a/public_test_cases/p00377/input.3.txt b/public_test_cases/p00377/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e01d013b7a6342ebedbd7fe7661e5c96fef076ae
--- /dev/null
+++ b/public_test_cases/p00377/input.3.txt
@@ -0,0 +1,2 @@
+100 3
+3 3 3
diff --git a/public_test_cases/p00377/output.0.txt b/public_test_cases/p00377/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00377/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00377/output.1.txt b/public_test_cases/p00377/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00377/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00377/output.2.txt b/public_test_cases/p00377/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00377/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00377/output.3.txt b/public_test_cases/p00377/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00377/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00378/input.0.txt b/public_test_cases/p00378/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..358c23de4d9c9a8d9d83ee2555ccf6d04ed9f4a2
--- /dev/null
+++ b/public_test_cases/p00378/input.0.txt
@@ -0,0 +1 @@
+180 100 2400
diff --git a/public_test_cases/p00378/input.1.txt b/public_test_cases/p00378/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..358c23de4d9c9a8d9d83ee2555ccf6d04ed9f4a2
--- /dev/null
+++ b/public_test_cases/p00378/input.1.txt
@@ -0,0 +1 @@
+180 100 2400
diff --git a/public_test_cases/p00378/input.2.txt b/public_test_cases/p00378/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa867799ed2194e26f1b3e88f7377c1bdecd8426
--- /dev/null
+++ b/public_test_cases/p00378/input.2.txt
@@ -0,0 +1 @@
+200 90 2018
diff --git a/public_test_cases/p00378/output.0.txt b/public_test_cases/p00378/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccbd68fb26640899442c8ff3d1d0d63794edcc77
--- /dev/null
+++ b/public_test_cases/p00378/output.0.txt
@@ -0,0 +1 @@
+460
diff --git a/public_test_cases/p00378/output.1.txt b/public_test_cases/p00378/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccbd68fb26640899442c8ff3d1d0d63794edcc77
--- /dev/null
+++ b/public_test_cases/p00378/output.1.txt
@@ -0,0 +1 @@
+460
diff --git a/public_test_cases/p00378/output.2.txt b/public_test_cases/p00378/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29ba0dfff405f334ea0cd50eb42167723b762771
--- /dev/null
+++ b/public_test_cases/p00378/output.2.txt
@@ -0,0 +1 @@
+450
diff --git a/public_test_cases/p00379/input.0.txt b/public_test_cases/p00379/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b9bc2508fc677e79cf0d0f354053b98415b93e3
--- /dev/null
+++ b/public_test_cases/p00379/input.0.txt
@@ -0,0 +1 @@
+16 2 1000
diff --git a/public_test_cases/p00379/output.0.txt b/public_test_cases/p00379/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00379/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00380/input.0.txt b/public_test_cases/p00380/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c2cba2ce463ab585c85c6262b2f100b7ef2513c
--- /dev/null
+++ b/public_test_cases/p00380/input.0.txt
@@ -0,0 +1,6 @@
+6
+9 7 5 6 3 1
+3
+1 6
+2 5
+3 4
diff --git a/public_test_cases/p00380/output.0.txt b/public_test_cases/p00380/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00380/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00381/input.0.txt b/public_test_cases/p00381/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37b2d2aeab803c19361e1224826af389fdb83d21
--- /dev/null
+++ b/public_test_cases/p00381/input.0.txt
@@ -0,0 +1,3 @@
+6
+abbaba
+baabab
diff --git a/public_test_cases/p00381/input.1.txt b/public_test_cases/p00381/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87b8dbcf11d082407897cdd579c04948b3663d11
--- /dev/null
+++ b/public_test_cases/p00381/input.1.txt
@@ -0,0 +1,3 @@
+25
+neihsokcpuziafoytisrevinu
+universityofaizupckoshien
diff --git a/public_test_cases/p00381/input.2.txt b/public_test_cases/p00381/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37b2d2aeab803c19361e1224826af389fdb83d21
--- /dev/null
+++ b/public_test_cases/p00381/input.2.txt
@@ -0,0 +1,3 @@
+6
+abbaba
+baabab
diff --git a/public_test_cases/p00381/output.0.txt b/public_test_cases/p00381/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00381/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00381/output.1.txt b/public_test_cases/p00381/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00381/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00381/output.2.txt b/public_test_cases/p00381/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00381/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00382/input.0.txt b/public_test_cases/p00382/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb8083cc046fa82e36e07ff4f7b51c3f6c17bb8e
--- /dev/null
+++ b/public_test_cases/p00382/input.0.txt
@@ -0,0 +1,4 @@
+3
+3 8 10 1
+4 7 1 2 15
+3 11 8 19
diff --git a/public_test_cases/p00382/input.1.txt b/public_test_cases/p00382/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb8083cc046fa82e36e07ff4f7b51c3f6c17bb8e
--- /dev/null
+++ b/public_test_cases/p00382/input.1.txt
@@ -0,0 +1,4 @@
+3
+3 8 10 1
+4 7 1 2 15
+3 11 8 19
diff --git a/public_test_cases/p00382/output.0.txt b/public_test_cases/p00382/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea90ee31980757b2e469741512bcb39e73494e78
--- /dev/null
+++ b/public_test_cases/p00382/output.0.txt
@@ -0,0 +1 @@
+45
diff --git a/public_test_cases/p00382/output.1.txt b/public_test_cases/p00382/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea90ee31980757b2e469741512bcb39e73494e78
--- /dev/null
+++ b/public_test_cases/p00382/output.1.txt
@@ -0,0 +1 @@
+45
diff --git a/public_test_cases/p00383/input.0.txt b/public_test_cases/p00383/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bfee98ec1cda8674cf20c0d40fa28a8a0e04581
--- /dev/null
+++ b/public_test_cases/p00383/input.0.txt
@@ -0,0 +1,6 @@
+5 4
+0 0
+1 0
+1 1
+0 1
+2 2
diff --git a/public_test_cases/p00383/input.1.txt b/public_test_cases/p00383/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bfee98ec1cda8674cf20c0d40fa28a8a0e04581
--- /dev/null
+++ b/public_test_cases/p00383/input.1.txt
@@ -0,0 +1,6 @@
+5 4
+0 0
+1 0
+1 1
+0 1
+2 2
diff --git a/public_test_cases/p00383/input.2.txt b/public_test_cases/p00383/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95b10049baf4cea302f0c9151c973801cf0c2d59
--- /dev/null
+++ b/public_test_cases/p00383/input.2.txt
@@ -0,0 +1,8 @@
+7 5
+0 0
+1 0
+1 1
+0 1
+2 0
+3 0
+4 0
diff --git a/public_test_cases/p00383/output.0.txt b/public_test_cases/p00383/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00383/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00383/output.1.txt b/public_test_cases/p00383/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00383/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00383/output.2.txt b/public_test_cases/p00383/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00383/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00384/input.0.txt b/public_test_cases/p00384/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fe5ecacf0f29e280cdc6e604012d1772f84b308
--- /dev/null
+++ b/public_test_cases/p00384/input.0.txt
@@ -0,0 +1,14 @@
+7
+6
+1
+-1
+4
+3
+3
+1
+1 2
+2 3
+3 4
+3 5
+5 6
+5 7
diff --git a/public_test_cases/p00384/input.1.txt b/public_test_cases/p00384/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fe5ecacf0f29e280cdc6e604012d1772f84b308
--- /dev/null
+++ b/public_test_cases/p00384/input.1.txt
@@ -0,0 +1,14 @@
+7
+6
+1
+-1
+4
+3
+3
+1
+1 2
+2 3
+3 4
+3 5
+5 6
+5 7
diff --git a/public_test_cases/p00384/input.2.txt b/public_test_cases/p00384/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1925de303a6e33e29e7b4968f3198aea6aca7dc7
--- /dev/null
+++ b/public_test_cases/p00384/input.2.txt
@@ -0,0 +1,8 @@
+4
+5
+0
+1
+1
+1 2
+2 3
+2 4
diff --git a/public_test_cases/p00384/output.0.txt b/public_test_cases/p00384/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00384/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00384/output.1.txt b/public_test_cases/p00384/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00384/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00384/output.2.txt b/public_test_cases/p00384/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00384/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00385/input.0.txt b/public_test_cases/p00385/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79bc93401305fe4de0ca2260011d7c92008fc271
--- /dev/null
+++ b/public_test_cases/p00385/input.0.txt
@@ -0,0 +1,3 @@
+5 3 1
+1 -2 0
+2 3
diff --git a/public_test_cases/p00385/input.1.txt b/public_test_cases/p00385/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79bc93401305fe4de0ca2260011d7c92008fc271
--- /dev/null
+++ b/public_test_cases/p00385/input.1.txt
@@ -0,0 +1,3 @@
+5 3 1
+1 -2 0
+2 3
diff --git a/public_test_cases/p00385/input.2.txt b/public_test_cases/p00385/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4822c3b2d2708d85a3bfc7ccc21b630803781f81
--- /dev/null
+++ b/public_test_cases/p00385/input.2.txt
@@ -0,0 +1,7 @@
+5 7 5
+0 0 3 3 3 3 3
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p00385/output.0.txt b/public_test_cases/p00385/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a83d1d524c8bb033d6d2bc907474dbebd8b57b72
--- /dev/null
+++ b/public_test_cases/p00385/output.0.txt
@@ -0,0 +1 @@
+-3
diff --git a/public_test_cases/p00385/output.1.txt b/public_test_cases/p00385/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a83d1d524c8bb033d6d2bc907474dbebd8b57b72
--- /dev/null
+++ b/public_test_cases/p00385/output.1.txt
@@ -0,0 +1 @@
+-3
diff --git a/public_test_cases/p00385/output.2.txt b/public_test_cases/p00385/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a1218a1024a212bb3db30becd860315f9f3ac52
--- /dev/null
+++ b/public_test_cases/p00385/output.2.txt
@@ -0,0 +1,5 @@
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p00386/input.0.txt b/public_test_cases/p00386/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..796dfd0f418bc5cd71985c29daf84a5eb55307b5
--- /dev/null
+++ b/public_test_cases/p00386/input.0.txt
@@ -0,0 +1,9 @@
+5 4
+1 2 3
+2 3 4
+2 4 2
+4 5 3
+1 3 4
+1 4 5
+1 2 3
+2 4 5
diff --git a/public_test_cases/p00386/input.1.txt b/public_test_cases/p00386/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11d91ddd64f7eee24cdd37b335b8e989d1eba8c9
--- /dev/null
+++ b/public_test_cases/p00386/input.1.txt
@@ -0,0 +1,30 @@
+15 15
+1 2 45
+2 3 81
+1 4 29
+1 5 2
+5 6 25
+4 7 84
+7 8 56
+4 9 2
+4 10 37
+7 11 39
+1 12 11
+11 13 6
+3 14 68
+2 15 16
+10 13 14
+13 14 15
+2 14 15
+7 12 15
+10 14 15
+9 10 15
+9 14 15
+8 13 15
+5 6 13
+11 13 15
+12 13 14
+2 3 10
+5 13 15
+10 11 14
+6 8 11
diff --git a/public_test_cases/p00386/input.2.txt b/public_test_cases/p00386/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa0f36f16d0a8909303a0d97225abf9d42b6c64f
--- /dev/null
+++ b/public_test_cases/p00386/input.2.txt
@@ -0,0 +1,8 @@
+5 3
+1 2 1
+2 3 1
+3 4 1
+4 5 1
+1 2 3
+1 3 5
+1 2 4
diff --git a/public_test_cases/p00386/input.3.txt b/public_test_cases/p00386/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..796dfd0f418bc5cd71985c29daf84a5eb55307b5
--- /dev/null
+++ b/public_test_cases/p00386/input.3.txt
@@ -0,0 +1,9 @@
+5 4
+1 2 3
+2 3 4
+2 4 2
+4 5 3
+1 3 4
+1 4 5
+1 2 3
+2 4 5
diff --git a/public_test_cases/p00386/output.0.txt b/public_test_cases/p00386/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1aae893828e364e703a82a2b04b00cb8415890f
--- /dev/null
+++ b/public_test_cases/p00386/output.0.txt
@@ -0,0 +1,4 @@
+4
+5
+4
+3
diff --git a/public_test_cases/p00386/output.1.txt b/public_test_cases/p00386/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03233936a93e1c2c3fed9e8d7f16b0f6be35fe6a
--- /dev/null
+++ b/public_test_cases/p00386/output.1.txt
@@ -0,0 +1,15 @@
+194
+194
+97
+90
+149
+66
+149
+140
+129
+129
+194
+111
+129
+194
+140
diff --git a/public_test_cases/p00386/output.2.txt b/public_test_cases/p00386/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ca3cd52fcf5f3ce33b7fd5b2542687a9a39a77a
--- /dev/null
+++ b/public_test_cases/p00386/output.2.txt
@@ -0,0 +1,3 @@
+1
+2
+2
diff --git a/public_test_cases/p00386/output.3.txt b/public_test_cases/p00386/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1aae893828e364e703a82a2b04b00cb8415890f
--- /dev/null
+++ b/public_test_cases/p00386/output.3.txt
@@ -0,0 +1,4 @@
+4
+5
+4
+3
diff --git a/public_test_cases/p00387/input.0.txt b/public_test_cases/p00387/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p00387/input.0.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p00387/input.1.txt b/public_test_cases/p00387/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac9e65fecfb1d8da728dc6716cadf05d4c3c2cae
--- /dev/null
+++ b/public_test_cases/p00387/input.1.txt
@@ -0,0 +1 @@
+25 10
diff --git a/public_test_cases/p00387/input.2.txt b/public_test_cases/p00387/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p00387/input.2.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p00387/output.0.txt b/public_test_cases/p00387/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00387/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00387/output.1.txt b/public_test_cases/p00387/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00387/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00387/output.2.txt b/public_test_cases/p00387/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00387/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00388/input.0.txt b/public_test_cases/p00388/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b32aceca545ccb0225bdcab4c67b1ce77375c36c
--- /dev/null
+++ b/public_test_cases/p00388/input.0.txt
@@ -0,0 +1 @@
+100 2 4
diff --git a/public_test_cases/p00388/input.1.txt b/public_test_cases/p00388/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..058008b6d08285a532f015d1cda9aa9c7020875f
--- /dev/null
+++ b/public_test_cases/p00388/input.1.txt
@@ -0,0 +1 @@
+101 3 5
diff --git a/public_test_cases/p00388/input.2.txt b/public_test_cases/p00388/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b32aceca545ccb0225bdcab4c67b1ce77375c36c
--- /dev/null
+++ b/public_test_cases/p00388/input.2.txt
@@ -0,0 +1 @@
+100 2 4
diff --git a/public_test_cases/p00388/output.0.txt b/public_test_cases/p00388/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00388/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00388/output.1.txt b/public_test_cases/p00388/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00388/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00388/output.2.txt b/public_test_cases/p00388/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00388/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00389/input.0.txt b/public_test_cases/p00389/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805e7f5a05abb0767d277398dd810d64910d282f
--- /dev/null
+++ b/public_test_cases/p00389/input.0.txt
@@ -0,0 +1 @@
+4 2
diff --git a/public_test_cases/p00389/input.1.txt b/public_test_cases/p00389/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p00389/input.1.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p00389/input.2.txt b/public_test_cases/p00389/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805e7f5a05abb0767d277398dd810d64910d282f
--- /dev/null
+++ b/public_test_cases/p00389/input.2.txt
@@ -0,0 +1 @@
+4 2
diff --git a/public_test_cases/p00389/output.0.txt b/public_test_cases/p00389/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00389/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00389/output.1.txt b/public_test_cases/p00389/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00389/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00389/output.2.txt b/public_test_cases/p00389/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00389/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00390/input.0.txt b/public_test_cases/p00390/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbc6f29b2dd1c9feaf3eb8363633c6805a559636
--- /dev/null
+++ b/public_test_cases/p00390/input.0.txt
@@ -0,0 +1,3 @@
+5
+1 0 0 1 0
+2 3 5 1 2
diff --git a/public_test_cases/p00390/input.1.txt b/public_test_cases/p00390/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad8bb2bad1c5e2d68530e19dbf4eb61fbe11875b
--- /dev/null
+++ b/public_test_cases/p00390/input.1.txt
@@ -0,0 +1,3 @@
+3
+0 0 0
+1 2 3
diff --git a/public_test_cases/p00390/input.2.txt b/public_test_cases/p00390/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbc6f29b2dd1c9feaf3eb8363633c6805a559636
--- /dev/null
+++ b/public_test_cases/p00390/input.2.txt
@@ -0,0 +1,3 @@
+5
+1 0 0 1 0
+2 3 5 1 2
diff --git a/public_test_cases/p00390/output.0.txt b/public_test_cases/p00390/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00390/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00390/output.1.txt b/public_test_cases/p00390/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00390/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00390/output.2.txt b/public_test_cases/p00390/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00390/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00391/input.0.txt b/public_test_cases/p00391/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43fbcacfb3700e135b3fbfd3f15a3766c1c3d038
--- /dev/null
+++ b/public_test_cases/p00391/input.0.txt
@@ -0,0 +1,3 @@
+5 4
+0 2 2 1 1
+1 1 1 3
diff --git a/public_test_cases/p00391/input.1.txt b/public_test_cases/p00391/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0aef4e4194d7ee108d9feb1857c91c45c3e6576c
--- /dev/null
+++ b/public_test_cases/p00391/input.1.txt
@@ -0,0 +1,3 @@
+5 5
+3 2 3 0 0
+4 2 0 0 2
diff --git a/public_test_cases/p00391/input.2.txt b/public_test_cases/p00391/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43fbcacfb3700e135b3fbfd3f15a3766c1c3d038
--- /dev/null
+++ b/public_test_cases/p00391/input.2.txt
@@ -0,0 +1,3 @@
+5 4
+0 2 2 1 1
+1 1 1 3
diff --git a/public_test_cases/p00391/output.0.txt b/public_test_cases/p00391/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00391/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00391/output.1.txt b/public_test_cases/p00391/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00391/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00391/output.2.txt b/public_test_cases/p00391/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00391/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00392/input.0.txt b/public_test_cases/p00392/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f65302957e433ae6dad04be62f93b5ac13abd20
--- /dev/null
+++ b/public_test_cases/p00392/input.0.txt
@@ -0,0 +1,2 @@
+5
+6 4 2 3 7
diff --git a/public_test_cases/p00392/input.1.txt b/public_test_cases/p00392/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f65302957e433ae6dad04be62f93b5ac13abd20
--- /dev/null
+++ b/public_test_cases/p00392/input.1.txt
@@ -0,0 +1,2 @@
+5
+6 4 2 3 7
diff --git a/public_test_cases/p00392/input.2.txt b/public_test_cases/p00392/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1269f3f8d037ad3828e3676baddc2418031b967
--- /dev/null
+++ b/public_test_cases/p00392/input.2.txt
@@ -0,0 +1,2 @@
+7
+2 9 6 5 6 7 3
diff --git a/public_test_cases/p00392/output.0.txt b/public_test_cases/p00392/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00392/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00392/output.1.txt b/public_test_cases/p00392/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00392/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00392/output.2.txt b/public_test_cases/p00392/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00392/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00393/input.0.txt b/public_test_cases/p00393/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p00393/input.0.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p00393/input.1.txt b/public_test_cases/p00393/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p00393/input.1.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p00393/input.2.txt b/public_test_cases/p00393/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805e7f5a05abb0767d277398dd810d64910d282f
--- /dev/null
+++ b/public_test_cases/p00393/input.2.txt
@@ -0,0 +1 @@
+4 2
diff --git a/public_test_cases/p00393/output.0.txt b/public_test_cases/p00393/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00393/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00393/output.1.txt b/public_test_cases/p00393/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00393/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00393/output.2.txt b/public_test_cases/p00393/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00393/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00394/input.0.txt b/public_test_cases/p00394/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb4d5e0363e5d9803ddfc8446533761489c06c5
--- /dev/null
+++ b/public_test_cases/p00394/input.0.txt
@@ -0,0 +1,4 @@
+3 2 2
+3 2 1
+1 2 3
+1 2
diff --git a/public_test_cases/p00394/output.0.txt b/public_test_cases/p00394/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p00394/output.0.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p00395/input.0.txt b/public_test_cases/p00395/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc530f508c7385dcc2dcfac47812ad8c880e15ad
--- /dev/null
+++ b/public_test_cases/p00395/input.0.txt
@@ -0,0 +1,16 @@
+12 5
+.....S......
+.abcdefghij.
+.0123456789.
+.ABCDEFGHIJ.
+.....T......
+0 1 0 0 0 0 0 0 0 0
+2 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p00395/input.1.txt b/public_test_cases/p00395/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc530f508c7385dcc2dcfac47812ad8c880e15ad
--- /dev/null
+++ b/public_test_cases/p00395/input.1.txt
@@ -0,0 +1,16 @@
+12 5
+.....S......
+.abcdefghij.
+.0123456789.
+.ABCDEFGHIJ.
+.....T......
+0 1 0 0 0 0 0 0 0 0
+2 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p00395/input.2.txt b/public_test_cases/p00395/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..679b6e0d046d7ee549e85f8ace3acff93761136c
--- /dev/null
+++ b/public_test_cases/p00395/input.2.txt
@@ -0,0 +1,17 @@
+5 6
+..S..
+
+01234
+56789
+
+..T..
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p00395/input.3.txt b/public_test_cases/p00395/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdd53d660328181c5d512193cf1580070295e117
--- /dev/null
+++ b/public_test_cases/p00395/input.3.txt
@@ -0,0 +1,18 @@
+7 7
+1.3#8.0
+.###.#
+.###.#
+5..S..9
+.#T#.#
+.###.#
+4.2#6.7
+0 0 0 0 0 0 0 0 1 0
+0 0 0 1 0 0 0 0 0 0
+0 0 0 0 7 0 0 0 0 0
+0 2 0 0 0 0 0 0 0 0
+0 0 3 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 8 0 0 0
+2 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p00395/input.4.txt b/public_test_cases/p00395/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e483d2a6f3494c9b64dbda3d98bd7b905fedac7
--- /dev/null
+++ b/public_test_cases/p00395/input.4.txt
@@ -0,0 +1,16 @@
+4 5
+0jSB
+.
+1234
+5678
+9..T
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p00395/output.0.txt b/public_test_cases/p00395/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bfbf8a3ae8ab969fe01f8242b33abf7011ada21
--- /dev/null
+++ b/public_test_cases/p00395/output.0.txt
@@ -0,0 +1 @@
+26 2
diff --git a/public_test_cases/p00395/output.1.txt b/public_test_cases/p00395/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bfbf8a3ae8ab969fe01f8242b33abf7011ada21
--- /dev/null
+++ b/public_test_cases/p00395/output.1.txt
@@ -0,0 +1 @@
+26 2
diff --git a/public_test_cases/p00395/output.2.txt b/public_test_cases/p00395/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p00395/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p00395/output.3.txt b/public_test_cases/p00395/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aae88d347414665cea66b445e407ba91c0fd9b60
--- /dev/null
+++ b/public_test_cases/p00395/output.3.txt
@@ -0,0 +1 @@
+53 19
diff --git a/public_test_cases/p00395/output.4.txt b/public_test_cases/p00395/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24cf19ecccf5af7282f80b7b5f492c6c68a2cb3a
--- /dev/null
+++ b/public_test_cases/p00395/output.4.txt
@@ -0,0 +1 @@
+31 0
diff --git a/public_test_cases/p00396/input.0.txt b/public_test_cases/p00396/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9328afd827957b4e20ab3012d1d801a4a88eff2e
--- /dev/null
+++ b/public_test_cases/p00396/input.0.txt
@@ -0,0 +1,5 @@
+4
+24 99
+15 68
+12 90
+95 79
diff --git a/public_test_cases/p00396/input.1.txt b/public_test_cases/p00396/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9328afd827957b4e20ab3012d1d801a4a88eff2e
--- /dev/null
+++ b/public_test_cases/p00396/input.1.txt
@@ -0,0 +1,5 @@
+4
+24 99
+15 68
+12 90
+95 79
diff --git a/public_test_cases/p00396/input.2.txt b/public_test_cases/p00396/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99a5c4e4af2a5ff1440202f631cc6ce60b515bac
--- /dev/null
+++ b/public_test_cases/p00396/input.2.txt
@@ -0,0 +1,4 @@
+3
+2 46
+94 8
+46 57
diff --git a/public_test_cases/p00396/output.0.txt b/public_test_cases/p00396/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00396/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00396/output.1.txt b/public_test_cases/p00396/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00396/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00396/output.2.txt b/public_test_cases/p00396/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00396/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00397/input.0.txt b/public_test_cases/p00397/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e6c03e4e6d4a7352717eb6d36ee63669371c68a
--- /dev/null
+++ b/public_test_cases/p00397/input.0.txt
@@ -0,0 +1,2 @@
+3 3
+1 2 3
diff --git a/public_test_cases/p00397/input.1.txt b/public_test_cases/p00397/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e6c03e4e6d4a7352717eb6d36ee63669371c68a
--- /dev/null
+++ b/public_test_cases/p00397/input.1.txt
@@ -0,0 +1,2 @@
+3 3
+1 2 3
diff --git a/public_test_cases/p00397/input.2.txt b/public_test_cases/p00397/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9414001bb789842b01954b8e3dc72f15f41138b0
--- /dev/null
+++ b/public_test_cases/p00397/input.2.txt
@@ -0,0 +1,2 @@
+7 1
+1 0 1 0 1 0 1
diff --git a/public_test_cases/p00397/input.3.txt b/public_test_cases/p00397/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a38602b21c349b5aa7b7d50aa9cb009dfa4df71
--- /dev/null
+++ b/public_test_cases/p00397/input.3.txt
@@ -0,0 +1,2 @@
+5 10
+1 2 4 8 16
diff --git a/public_test_cases/p00397/output.0.txt b/public_test_cases/p00397/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00397/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00397/output.1.txt b/public_test_cases/p00397/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00397/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00397/output.2.txt b/public_test_cases/p00397/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00397/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00397/output.3.txt b/public_test_cases/p00397/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p00397/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p00398/input.0.txt b/public_test_cases/p00398/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da31a4b48254cd37eada1d9428319442f178ef5f
--- /dev/null
+++ b/public_test_cases/p00398/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2
+3 4
+10 1
diff --git a/public_test_cases/p00398/input.1.txt b/public_test_cases/p00398/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6eaf7eafaba53d71ca79ee7b4d97fdb7a6f0641e
--- /dev/null
+++ b/public_test_cases/p00398/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 2
+3 4
+3 2
diff --git a/public_test_cases/p00398/input.2.txt b/public_test_cases/p00398/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f61b9e58c8b4de591eea17f554ae1e928717a2c9
--- /dev/null
+++ b/public_test_cases/p00398/input.2.txt
@@ -0,0 +1,6 @@
+5
+7 41
+10 0
+99 27
+71 87
+14 25
diff --git a/public_test_cases/p00398/input.3.txt b/public_test_cases/p00398/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da31a4b48254cd37eada1d9428319442f178ef5f
--- /dev/null
+++ b/public_test_cases/p00398/input.3.txt
@@ -0,0 +1,4 @@
+3
+1 2
+3 4
+10 1
diff --git a/public_test_cases/p00398/output.0.txt b/public_test_cases/p00398/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p00398/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p00398/output.1.txt b/public_test_cases/p00398/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00398/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00398/output.2.txt b/public_test_cases/p00398/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cc2bc3e608c719315fc8565917017907a7c5288
--- /dev/null
+++ b/public_test_cases/p00398/output.2.txt
@@ -0,0 +1 @@
+163
diff --git a/public_test_cases/p00398/output.3.txt b/public_test_cases/p00398/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p00398/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p00399/input.0.txt b/public_test_cases/p00399/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33a89f520491be5c77afa362ab4eb83f1ccdbc45
--- /dev/null
+++ b/public_test_cases/p00399/input.0.txt
@@ -0,0 +1 @@
+4 2 1 1
diff --git a/public_test_cases/p00399/output.0.txt b/public_test_cases/p00399/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00399/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00400/input.0.txt b/public_test_cases/p00400/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fdcd7c44cb1791f45e7386a8f230e018fd7e052
--- /dev/null
+++ b/public_test_cases/p00400/input.0.txt
@@ -0,0 +1 @@
+67
diff --git a/public_test_cases/p00400/output.0.txt b/public_test_cases/p00400/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00400/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00401/input.0.txt b/public_test_cases/p00401/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1e7bc86996a80d4a16529b990adda1d3434c92
--- /dev/null
+++ b/public_test_cases/p00401/input.0.txt
@@ -0,0 +1 @@
+54
diff --git a/public_test_cases/p00401/output.0.txt b/public_test_cases/p00401/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p00401/output.0.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p00402/input.0.txt b/public_test_cases/p00402/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a2746d518a27bbedf3fecf3e6b0b51ff6dd10ee
--- /dev/null
+++ b/public_test_cases/p00402/input.0.txt
@@ -0,0 +1,2 @@
+3
+4 0 1
diff --git a/public_test_cases/p00402/output.0.txt b/public_test_cases/p00402/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00402/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00403/input.0.txt b/public_test_cases/p00403/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7285045b33df951ab96808437e75bf0fdb57a11
--- /dev/null
+++ b/public_test_cases/p00403/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 2 -3 -1
diff --git a/public_test_cases/p00403/output.0.txt b/public_test_cases/p00403/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00403/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00404/input.0.txt b/public_test_cases/p00404/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b748e2dcfcbc7db3aae214293cef6cb2afbd0a65
--- /dev/null
+++ b/public_test_cases/p00404/input.0.txt
@@ -0,0 +1 @@
+0 0
diff --git a/public_test_cases/p00404/output.0.txt b/public_test_cases/p00404/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00404/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00405/input.0.txt b/public_test_cases/p00405/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2dd1fa695890617325657cb61db25959ba4ab86
--- /dev/null
+++ b/public_test_cases/p00405/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 5 2
diff --git a/public_test_cases/p00405/output.0.txt b/public_test_cases/p00405/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p00405/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p00406/input.0.txt b/public_test_cases/p00406/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b85a3c20eb5fb7d676f14731c9bd71e62c04278d
--- /dev/null
+++ b/public_test_cases/p00406/input.0.txt
@@ -0,0 +1,3 @@
+2 10
+3 0
+6 1
diff --git a/public_test_cases/p00406/output.0.txt b/public_test_cases/p00406/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00406/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00407/input.0.txt b/public_test_cases/p00407/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25ab0a177679f8625925d278d2f7e6c18b2d6d30
--- /dev/null
+++ b/public_test_cases/p00407/input.0.txt
@@ -0,0 +1,13 @@
+6
+0 0
+4 0
+6 3
+5 5
+1 5
+0 3
+5
+2 2
+6 6
+3 1
+5 1
+-1 -1
diff --git a/public_test_cases/p00407/output.0.txt b/public_test_cases/p00407/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73c38f12b212f80c0b77113d3a78424485188acd
--- /dev/null
+++ b/public_test_cases/p00407/output.0.txt
@@ -0,0 +1,5 @@
+1
+0
+1
+0
+0
diff --git a/public_test_cases/p00408/input.0.txt b/public_test_cases/p00408/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4af6367f0bdccd94780713d85e9aaec7d6842d6c
--- /dev/null
+++ b/public_test_cases/p00408/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2
+1 3
diff --git a/public_test_cases/p00408/output.0.txt b/public_test_cases/p00408/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00408/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00409/input.0.txt b/public_test_cases/p00409/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15c16f87c283e8109354d3caf642f0a57e357f51
--- /dev/null
+++ b/public_test_cases/p00409/input.0.txt
@@ -0,0 +1,7 @@
+6 5
+ababac
+6 b
+3 c
+4 a
+5 b
+6 c
diff --git a/public_test_cases/p00409/input.1.txt b/public_test_cases/p00409/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15c16f87c283e8109354d3caf642f0a57e357f51
--- /dev/null
+++ b/public_test_cases/p00409/input.1.txt
@@ -0,0 +1,7 @@
+6 5
+ababac
+6 b
+3 c
+4 a
+5 b
+6 c
diff --git a/public_test_cases/p00409/output.0.txt b/public_test_cases/p00409/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98a6ad2411c8f8df291cf76fa47737350bbf658b
--- /dev/null
+++ b/public_test_cases/p00409/output.0.txt
@@ -0,0 +1,5 @@
+2
+6
+6
+6
+3
diff --git a/public_test_cases/p00409/output.1.txt b/public_test_cases/p00409/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98a6ad2411c8f8df291cf76fa47737350bbf658b
--- /dev/null
+++ b/public_test_cases/p00409/output.1.txt
@@ -0,0 +1,5 @@
+2
+6
+6
+6
+3
diff --git a/public_test_cases/p00410/input.0.txt b/public_test_cases/p00410/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..680292c1c1b411d781344141c0507e909a393c57
--- /dev/null
+++ b/public_test_cases/p00410/input.0.txt
@@ -0,0 +1,10 @@
+5 4
+2
+1
+3
+6
+4
+1 2
+2 3
+2 4
+4 5
diff --git a/public_test_cases/p00410/input.1.txt b/public_test_cases/p00410/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..680292c1c1b411d781344141c0507e909a393c57
--- /dev/null
+++ b/public_test_cases/p00410/input.1.txt
@@ -0,0 +1,10 @@
+5 4
+2
+1
+3
+6
+4
+1 2
+2 3
+2 4
+4 5
diff --git a/public_test_cases/p00410/input.2.txt b/public_test_cases/p00410/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00410/input.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00410/output.0.txt b/public_test_cases/p00410/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p00410/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p00410/output.1.txt b/public_test_cases/p00410/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p00410/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p00410/output.2.txt b/public_test_cases/p00410/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00410/output.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00411/input.0.txt b/public_test_cases/p00411/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2a7d9f196fb269ce8c81e0dd531b8d8105e78f7
--- /dev/null
+++ b/public_test_cases/p00411/input.0.txt
@@ -0,0 +1 @@
+180 120 90
diff --git a/public_test_cases/p00411/output.0.txt b/public_test_cases/p00411/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f8d809e7ae7e977cfff60a19e0ad990b57a6bf2
--- /dev/null
+++ b/public_test_cases/p00411/output.0.txt
@@ -0,0 +1 @@
+60.0
diff --git a/public_test_cases/p00412/input.0.txt b/public_test_cases/p00412/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ceae16eaf15d94ec760357deeabbb3e4766e82de
--- /dev/null
+++ b/public_test_cases/p00412/input.0.txt
@@ -0,0 +1,8 @@
+2 7
+1 999
+1 1000
+0 2
+1 1001
+1 1002
+0 1
+0 1
diff --git a/public_test_cases/p00412/input.1.txt b/public_test_cases/p00412/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ceae16eaf15d94ec760357deeabbb3e4766e82de
--- /dev/null
+++ b/public_test_cases/p00412/input.1.txt
@@ -0,0 +1,8 @@
+2 7
+1 999
+1 1000
+0 2
+1 1001
+1 1002
+0 1
+0 1
diff --git a/public_test_cases/p00412/output.0.txt b/public_test_cases/p00412/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69b49fa2893718abe71129d3179ec02dbea5cbad
--- /dev/null
+++ b/public_test_cases/p00412/output.0.txt
@@ -0,0 +1,3 @@
+1000
+999
+1002
diff --git a/public_test_cases/p00412/output.1.txt b/public_test_cases/p00412/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69b49fa2893718abe71129d3179ec02dbea5cbad
--- /dev/null
+++ b/public_test_cases/p00412/output.1.txt
@@ -0,0 +1,3 @@
+1000
+999
+1002
diff --git a/public_test_cases/p00413/input.0.txt b/public_test_cases/p00413/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c2870adafd44278b57411ae643d090898b64af4
--- /dev/null
+++ b/public_test_cases/p00413/input.0.txt
@@ -0,0 +1,2 @@
+0 0 4 5
+2 2 3 6
diff --git a/public_test_cases/p00413/output.0.txt b/public_test_cases/p00413/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p00413/output.0.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p00414/input.0.txt b/public_test_cases/p00414/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e42af6a37a11fbd9ee4cfd1d7d65c9b48ad33a17
--- /dev/null
+++ b/public_test_cases/p00414/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+ooo
diff --git a/public_test_cases/p00414/output.0.txt b/public_test_cases/p00414/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p00414/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p00415/input.0.txt b/public_test_cases/p00415/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b5683ab70389e041e138a1388731a1d3812c991
--- /dev/null
+++ b/public_test_cases/p00415/input.0.txt
@@ -0,0 +1,2 @@
+7 3
+1 4 1 4 2 1 3
diff --git a/public_test_cases/p00415/output.0.txt b/public_test_cases/p00415/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2ba7ca0da8d294725b837f9b3ede567f87318b5
--- /dev/null
+++ b/public_test_cases/p00415/output.0.txt
@@ -0,0 +1 @@
+4423
diff --git a/public_test_cases/p00416/input.0.txt b/public_test_cases/p00416/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a0c3efa16cf11938f8eed8a240746c015f922dd
--- /dev/null
+++ b/public_test_cases/p00416/input.0.txt
@@ -0,0 +1,2 @@
+6
+2 2 3 2 2 2
diff --git a/public_test_cases/p00416/output.0.txt b/public_test_cases/p00416/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00416/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00417/input.0.txt b/public_test_cases/p00417/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2d69b0eeb1209199f6bdbc1cca1bf59db666452
--- /dev/null
+++ b/public_test_cases/p00417/input.0.txt
@@ -0,0 +1 @@
+3 2 100000007
diff --git a/public_test_cases/p00417/output.0.txt b/public_test_cases/p00417/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00417/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00418/input.0.txt b/public_test_cases/p00418/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59977c4edd5c536651bb893abc8edaa6c1cd0c44
--- /dev/null
+++ b/public_test_cases/p00418/input.0.txt
@@ -0,0 +1,6 @@
+3 2
+5 1
+10 4
+6 2
+2 1 3
+3 2 1
diff --git a/public_test_cases/p00418/output.0.txt b/public_test_cases/p00418/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea90ee31980757b2e469741512bcb39e73494e78
--- /dev/null
+++ b/public_test_cases/p00418/output.0.txt
@@ -0,0 +1 @@
+45
diff --git a/public_test_cases/p00419/input.0.txt b/public_test_cases/p00419/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6f1789eae64e1a0dc9b148721616ecb5bfbe02b
--- /dev/null
+++ b/public_test_cases/p00419/input.0.txt
@@ -0,0 +1,5 @@
+4
+aedb
+aeb
+ebCd
+cdE
diff --git a/public_test_cases/p00419/output.0.txt b/public_test_cases/p00419/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00419/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00420/input.0.txt b/public_test_cases/p00420/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b1b1617215d729b1d365e7742deec0a1ba73783
--- /dev/null
+++ b/public_test_cases/p00420/input.0.txt
@@ -0,0 +1,14 @@
+6 5 8
+1 3
+2 5
+3 4
+2 4
+2 5
+1 1 5 1
+1 1 5 2
+1 1 5 3
+1 1 5 4
+1 1 5 5
+1 1 5 6
+2 3 4 2
+1 1 1 1
diff --git a/public_test_cases/p00420/input.1.txt b/public_test_cases/p00420/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b1b1617215d729b1d365e7742deec0a1ba73783
--- /dev/null
+++ b/public_test_cases/p00420/input.1.txt
@@ -0,0 +1,14 @@
+6 5 8
+1 3
+2 5
+3 4
+2 4
+2 5
+1 1 5 1
+1 1 5 2
+1 1 5 3
+1 1 5 4
+1 1 5 5
+1 1 5 6
+2 3 4 2
+1 1 1 1
diff --git a/public_test_cases/p00420/output.0.txt b/public_test_cases/p00420/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..baf2306b05602d030b93ad552e0af2a79a18077c
--- /dev/null
+++ b/public_test_cases/p00420/output.0.txt
@@ -0,0 +1,8 @@
+3
+2
+4
+5
+1
+6
+4
+3
diff --git a/public_test_cases/p00420/output.1.txt b/public_test_cases/p00420/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..baf2306b05602d030b93ad552e0af2a79a18077c
--- /dev/null
+++ b/public_test_cases/p00420/output.1.txt
@@ -0,0 +1,8 @@
+3
+2
+4
+5
+1
+6
+4
+3
diff --git a/public_test_cases/p00421/input.0.txt b/public_test_cases/p00421/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p00421/input.0.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p00421/output.0.txt b/public_test_cases/p00421/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00421/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00423/input.0.txt b/public_test_cases/p00423/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a75a6fcaffe30984ec8a909a79c4c8090401fb58
--- /dev/null
+++ b/public_test_cases/p00423/input.0.txt
@@ -0,0 +1,13 @@
+3
+9 1
+5 4
+0 8
+3
+9 1
+5 4
+1 0
+3
+9 1
+5 5
+1 8
+0
diff --git a/public_test_cases/p00423/input.1.txt b/public_test_cases/p00423/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a75a6fcaffe30984ec8a909a79c4c8090401fb58
--- /dev/null
+++ b/public_test_cases/p00423/input.1.txt
@@ -0,0 +1,13 @@
+3
+9 1
+5 4
+0 8
+3
+9 1
+5 4
+1 0
+3
+9 1
+5 5
+1 8
+0
diff --git a/public_test_cases/p00423/output.0.txt b/public_test_cases/p00423/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea911a6068edd02c9750b1b3107bef19da0d2036
--- /dev/null
+++ b/public_test_cases/p00423/output.0.txt
@@ -0,0 +1,3 @@
+19 8
+20 0
+15 14
diff --git a/public_test_cases/p00423/output.1.txt b/public_test_cases/p00423/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea911a6068edd02c9750b1b3107bef19da0d2036
--- /dev/null
+++ b/public_test_cases/p00423/output.1.txt
@@ -0,0 +1,3 @@
+19 8
+20 0
+15 14
diff --git a/public_test_cases/p00424/input.0.txt b/public_test_cases/p00424/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..545c847d9e06984e3a9917b4973518e68055f50c
--- /dev/null
+++ b/public_test_cases/p00424/input.0.txt
@@ -0,0 +1,31 @@
+3
+A a
+0 5
+5 4
+10
+A
+B
+C
+0
+1
+4
+5
+a
+b
+A
+3
+A a
+0 5
+5 4
+10
+A
+B
+C
+0
+1
+4
+5
+a
+b
+A
+0
diff --git a/public_test_cases/p00424/input.1.txt b/public_test_cases/p00424/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..545c847d9e06984e3a9917b4973518e68055f50c
--- /dev/null
+++ b/public_test_cases/p00424/input.1.txt
@@ -0,0 +1,31 @@
+3
+A a
+0 5
+5 4
+10
+A
+B
+C
+0
+1
+4
+5
+a
+b
+A
+3
+A a
+0 5
+5 4
+10
+A
+B
+C
+0
+1
+4
+5
+a
+b
+A
+0
diff --git a/public_test_cases/p00424/output.0.txt b/public_test_cases/p00424/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b710f45edd7c23b563c7a84b80a034ee60bc0c8
--- /dev/null
+++ b/public_test_cases/p00424/output.0.txt
@@ -0,0 +1,2 @@
+aBC5144aba
+aBC5144aba
diff --git a/public_test_cases/p00424/output.1.txt b/public_test_cases/p00424/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b710f45edd7c23b563c7a84b80a034ee60bc0c8
--- /dev/null
+++ b/public_test_cases/p00424/output.1.txt
@@ -0,0 +1,2 @@
+aBC5144aba
+aBC5144aba
diff --git a/public_test_cases/p00425/input.0.txt b/public_test_cases/p00425/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe298eb30c959a1ac9bf9fc9773625c2e2a25aea
--- /dev/null
+++ b/public_test_cases/p00425/input.0.txt
@@ -0,0 +1,16 @@
+5
+North
+North
+East
+South
+West
+8
+West
+North
+Left
+South
+Right
+North
+Left
+East
+0
diff --git a/public_test_cases/p00425/input.1.txt b/public_test_cases/p00425/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe298eb30c959a1ac9bf9fc9773625c2e2a25aea
--- /dev/null
+++ b/public_test_cases/p00425/input.1.txt
@@ -0,0 +1,16 @@
+5
+North
+North
+East
+South
+West
+8
+West
+North
+Left
+South
+Right
+North
+Left
+East
+0
diff --git a/public_test_cases/p00425/output.0.txt b/public_test_cases/p00425/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a263c1c69619a30b0d235e488744c7cb1ce702db
--- /dev/null
+++ b/public_test_cases/p00425/output.0.txt
@@ -0,0 +1,2 @@
+21
+34
diff --git a/public_test_cases/p00425/output.1.txt b/public_test_cases/p00425/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a263c1c69619a30b0d235e488744c7cb1ce702db
--- /dev/null
+++ b/public_test_cases/p00425/output.1.txt
@@ -0,0 +1,2 @@
+21
+34
diff --git a/public_test_cases/p00426/input.0.txt b/public_test_cases/p00426/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b321f0b53dfa3bc9113deb94b84070aac89b98b9
--- /dev/null
+++ b/public_test_cases/p00426/input.0.txt
@@ -0,0 +1,17 @@
+3 10
+0
+1 1
+2 2 3
+4 20
+2 1 2
+1 3
+1 4
+2 5
+2 1 2
+0
+0
+3 3
+0
+1 1
+2 2 3
+0 0
diff --git a/public_test_cases/p00426/input.1.txt b/public_test_cases/p00426/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b321f0b53dfa3bc9113deb94b84070aac89b98b9
--- /dev/null
+++ b/public_test_cases/p00426/input.1.txt
@@ -0,0 +1,17 @@
+3 10
+0
+1 1
+2 2 3
+4 20
+2 1 2
+1 3
+1 4
+2 5
+2 1 2
+0
+0
+3 3
+0
+1 1
+2 2 3
+0 0
diff --git a/public_test_cases/p00426/output.0.txt b/public_test_cases/p00426/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fef050a5dbc28a72a70798c177c328aba61e936e
--- /dev/null
+++ b/public_test_cases/p00426/output.0.txt
@@ -0,0 +1,4 @@
+9
+3
+0
+-1
diff --git a/public_test_cases/p00426/output.1.txt b/public_test_cases/p00426/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fef050a5dbc28a72a70798c177c328aba61e936e
--- /dev/null
+++ b/public_test_cases/p00426/output.1.txt
@@ -0,0 +1,4 @@
+9
+3
+0
+-1
diff --git a/public_test_cases/p00427/input.0.txt b/public_test_cases/p00427/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ca40a1bdc9110d955b57234f8c24c3c48cb4c46
--- /dev/null
+++ b/public_test_cases/p00427/input.0.txt
@@ -0,0 +1,4 @@
+2 1 0 5
+3 1 1 3
+2 2 1 3
+0 0 0 0
diff --git a/public_test_cases/p00427/input.1.txt b/public_test_cases/p00427/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ca40a1bdc9110d955b57234f8c24c3c48cb4c46
--- /dev/null
+++ b/public_test_cases/p00427/input.1.txt
@@ -0,0 +1,4 @@
+2 1 0 5
+3 1 1 3
+2 2 1 3
+0 0 0 0
diff --git a/public_test_cases/p00427/output.0.txt b/public_test_cases/p00427/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..947c1292c4db030528a9da2ea379c5855e86795c
--- /dev/null
+++ b/public_test_cases/p00427/output.0.txt
@@ -0,0 +1,3 @@
+0.50000
+0.833
+1.000
diff --git a/public_test_cases/p00427/output.1.txt b/public_test_cases/p00427/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..947c1292c4db030528a9da2ea379c5855e86795c
--- /dev/null
+++ b/public_test_cases/p00427/output.1.txt
@@ -0,0 +1,3 @@
+0.50000
+0.833
+1.000
diff --git a/public_test_cases/p00428/input.0.txt b/public_test_cases/p00428/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b8465baa2e36bb8b9370fa5ced5ae5e18fafdc3
--- /dev/null
+++ b/public_test_cases/p00428/input.0.txt
@@ -0,0 +1,11 @@
+4 6
+1 0 1 0 1 1
+1 1 0 1 0 0
+1 1 1 0 0 0
+1 0 1 0 1 0
+4 6
+1 0 1 0 1 1
+1 1 0 1 0 0
+1 1 1 0 0 0
+1 0 1 0 1 0
+0 0
diff --git a/public_test_cases/p00428/input.1.txt b/public_test_cases/p00428/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b8465baa2e36bb8b9370fa5ced5ae5e18fafdc3
--- /dev/null
+++ b/public_test_cases/p00428/input.1.txt
@@ -0,0 +1,11 @@
+4 6
+1 0 1 0 1 1
+1 1 0 1 0 0
+1 1 1 0 0 0
+1 0 1 0 1 0
+4 6
+1 0 1 0 1 1
+1 1 0 1 0 0
+1 1 1 0 0 0
+1 0 1 0 1 0
+0 0
diff --git a/public_test_cases/p00428/output.0.txt b/public_test_cases/p00428/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cbce0221ac234b2438cd31d439623e80e25d4dc
--- /dev/null
+++ b/public_test_cases/p00428/output.0.txt
@@ -0,0 +1,2 @@
+1 3 2 5 4 6
+1 3 2 5 4 6
diff --git a/public_test_cases/p00428/output.1.txt b/public_test_cases/p00428/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cbce0221ac234b2438cd31d439623e80e25d4dc
--- /dev/null
+++ b/public_test_cases/p00428/output.1.txt
@@ -0,0 +1,2 @@
+1 3 2 5 4 6
+1 3 2 5 4 6
diff --git a/public_test_cases/p00429/input.0.txt b/public_test_cases/p00429/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9eb61143906b64a2ea672325aca9e841b499f3a
--- /dev/null
+++ b/public_test_cases/p00429/input.0.txt
@@ -0,0 +1,5 @@
+5
+11
+5
+11
+0
diff --git a/public_test_cases/p00429/input.1.txt b/public_test_cases/p00429/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9eb61143906b64a2ea672325aca9e841b499f3a
--- /dev/null
+++ b/public_test_cases/p00429/input.1.txt
@@ -0,0 +1,5 @@
+5
+11
+5
+11
+0
diff --git a/public_test_cases/p00429/output.0.txt b/public_test_cases/p00429/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9785d3a4e5283eab1f9ba4275827dcec7521f2d
--- /dev/null
+++ b/public_test_cases/p00429/output.0.txt
@@ -0,0 +1,2 @@
+13112221
+13112221
diff --git a/public_test_cases/p00429/output.1.txt b/public_test_cases/p00429/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9785d3a4e5283eab1f9ba4275827dcec7521f2d
--- /dev/null
+++ b/public_test_cases/p00429/output.1.txt
@@ -0,0 +1,2 @@
+13112221
+13112221
diff --git a/public_test_cases/p00430/input.0.txt b/public_test_cases/p00430/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9123d3fdf769283958f86264e8407b48b28d2f15
--- /dev/null
+++ b/public_test_cases/p00430/input.0.txt
@@ -0,0 +1,3 @@
+5
+5
+0
diff --git a/public_test_cases/p00430/input.1.txt b/public_test_cases/p00430/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9123d3fdf769283958f86264e8407b48b28d2f15
--- /dev/null
+++ b/public_test_cases/p00430/input.1.txt
@@ -0,0 +1,3 @@
+5
+5
+0
diff --git a/public_test_cases/p00430/output.0.txt b/public_test_cases/p00430/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b8e99f42ebb51d4b33ce4464706d6d0b6207c72
--- /dev/null
+++ b/public_test_cases/p00430/output.0.txt
@@ -0,0 +1,14 @@
+5
+4 1
+3 2
+3 1 1
+2 2 1
+2 1 1 1
+1 1 1 1 1
+5
+4 1
+3 2
+3 1 1
+2 2 1
+2 1 1 1
+1 1 1 1 1
diff --git a/public_test_cases/p00430/output.1.txt b/public_test_cases/p00430/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b8e99f42ebb51d4b33ce4464706d6d0b6207c72
--- /dev/null
+++ b/public_test_cases/p00430/output.1.txt
@@ -0,0 +1,14 @@
+5
+4 1
+3 2
+3 1 1
+2 2 1
+2 1 1 1
+1 1 1 1 1
+5
+4 1
+3 2
+3 1 1
+2 2 1
+2 1 1 1
+1 1 1 1 1
diff --git a/public_test_cases/p00431/input.0.txt b/public_test_cases/p00431/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..741af568cc12629cd7423f310c01ef815f3630b0
--- /dev/null
+++ b/public_test_cases/p00431/input.0.txt
@@ -0,0 +1,24 @@
+7
+1 3
+3 4
+1 4
+2 7
+5 7
+6 7
+1 7
+6
+1 2
+2 3
+3 4
+4 5
+1 5
+2 6
+7
+1 3
+2 4
+3 5
+4 6
+6 7
+2 6
+4 7
+0
diff --git a/public_test_cases/p00431/input.1.txt b/public_test_cases/p00431/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..741af568cc12629cd7423f310c01ef815f3630b0
--- /dev/null
+++ b/public_test_cases/p00431/input.1.txt
@@ -0,0 +1,24 @@
+7
+1 3
+3 4
+1 4
+2 7
+5 7
+6 7
+1 7
+6
+1 2
+2 3
+3 4
+4 5
+1 5
+2 6
+7
+1 3
+2 4
+3 5
+4 6
+6 7
+2 6
+4 7
+0
diff --git a/public_test_cases/p00431/output.0.txt b/public_test_cases/p00431/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e698d749bc1500f16e1f0ecd18f53916f75be02
--- /dev/null
+++ b/public_test_cases/p00431/output.0.txt
@@ -0,0 +1,3 @@
+5
+6
+4
diff --git a/public_test_cases/p00431/output.1.txt b/public_test_cases/p00431/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e698d749bc1500f16e1f0ecd18f53916f75be02
--- /dev/null
+++ b/public_test_cases/p00431/output.1.txt
@@ -0,0 +1,3 @@
+5
+6
+4
diff --git a/public_test_cases/p00432/input.0.txt b/public_test_cases/p00432/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2da779d31fb3188ed290488a8fca8eb4494e44e
--- /dev/null
+++ b/public_test_cases/p00432/input.0.txt
@@ -0,0 +1,20 @@
+5 1
+0 0 3 2
+1 1 2 5
+0 4 6 5
+3 3 5 6
+5 0 7 6
+5 2
+0 0 3 2
+1 1 2 5
+0 4 6 5
+3 3 5 6
+5 0 7 6
+2 2
+0 0 8 9
+0 0 9 8
+3 2
+2 2 8 8
+3 0 4 9
+5 0 7 9
+0 0
diff --git a/public_test_cases/p00432/input.1.txt b/public_test_cases/p00432/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2da779d31fb3188ed290488a8fca8eb4494e44e
--- /dev/null
+++ b/public_test_cases/p00432/input.1.txt
@@ -0,0 +1,20 @@
+5 1
+0 0 3 2
+1 1 2 5
+0 4 6 5
+3 3 5 6
+5 0 7 6
+5 2
+0 0 3 2
+1 1 2 5
+0 4 6 5
+3 3 5 6
+5 0 7 6
+2 2
+0 0 8 9
+0 0 9 8
+3 2
+2 2 8 8
+3 0 4 9
+5 0 7 9
+0 0
diff --git a/public_test_cases/p00432/output.0.txt b/public_test_cases/p00432/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1f440674b665a369f24bc5eb9d232cf3b334dc2
--- /dev/null
+++ b/public_test_cases/p00432/output.0.txt
@@ -0,0 +1,7 @@
+29
+29
+38
+80
+36
+45
+36
diff --git a/public_test_cases/p00432/output.1.txt b/public_test_cases/p00432/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1f440674b665a369f24bc5eb9d232cf3b334dc2
--- /dev/null
+++ b/public_test_cases/p00432/output.1.txt
@@ -0,0 +1,7 @@
+29
+29
+38
+80
+36
+45
+36
diff --git a/public_test_cases/p00433/input.0.txt b/public_test_cases/p00433/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe69cff9c9ff32fbc1e04453e98dc6d0ad747a50
--- /dev/null
+++ b/public_test_cases/p00433/input.0.txt
@@ -0,0 +1,2 @@
+100 80 70 60
+80 70 80 90
diff --git a/public_test_cases/p00433/output.0.txt b/public_test_cases/p00433/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18eed1357e5cd545ac4b5945c0d350f8317748c3
--- /dev/null
+++ b/public_test_cases/p00433/output.0.txt
@@ -0,0 +1 @@
+320
diff --git a/public_test_cases/p00434/input.0.txt b/public_test_cases/p00434/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3948bb0d00b6c6c1a7f0c977a3bedc8be689dba7
--- /dev/null
+++ b/public_test_cases/p00434/input.0.txt
@@ -0,0 +1,28 @@
+3
+1
+4
+5
+7
+9
+6
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
diff --git a/public_test_cases/p00434/output.0.txt b/public_test_cases/p00434/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3d01f2b95d9739fba02133c689ca1278557347b
--- /dev/null
+++ b/public_test_cases/p00434/output.0.txt
@@ -0,0 +1,2 @@
+2
+8
diff --git a/public_test_cases/p00435/input.0.txt b/public_test_cases/p00435/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba806d3d44888ce79b5f7d9c088774187f3356b2
--- /dev/null
+++ b/public_test_cases/p00435/input.0.txt
@@ -0,0 +1 @@
+MRL
diff --git a/public_test_cases/p00435/output.0.txt b/public_test_cases/p00435/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b496e2b7055c942b212f8da6d1c7d689c8951b65
--- /dev/null
+++ b/public_test_cases/p00435/output.0.txt
@@ -0,0 +1 @@
+JOI
diff --git a/public_test_cases/p00436/input.0.txt b/public_test_cases/p00436/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe63bcfc7146e52114fbd10edcf36eb80bb814e5
--- /dev/null
+++ b/public_test_cases/p00436/input.0.txt
@@ -0,0 +1,4 @@
+2
+2
+1
+0
diff --git a/public_test_cases/p00436/output.0.txt b/public_test_cases/p00436/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bb81325da22b7d0ffd9d907136cfb58b03b0316
--- /dev/null
+++ b/public_test_cases/p00436/output.0.txt
@@ -0,0 +1,4 @@
+2
+4
+3
+1
diff --git a/public_test_cases/p00437/input.0.txt b/public_test_cases/p00437/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93161b626ade5e8edd98b34a6a836b8139f8cd57
--- /dev/null
+++ b/public_test_cases/p00437/input.0.txt
@@ -0,0 +1,7 @@
+2 2 2
+4
+2 4 5 0
+2 3 6 0
+1 4 5 0
+2 3 5 1
+0 0 0
diff --git a/public_test_cases/p00437/input.1.txt b/public_test_cases/p00437/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93161b626ade5e8edd98b34a6a836b8139f8cd57
--- /dev/null
+++ b/public_test_cases/p00437/input.1.txt
@@ -0,0 +1,7 @@
+2 2 2
+4
+2 4 5 0
+2 3 6 0
+1 4 5 0
+2 3 5 1
+0 0 0
diff --git a/public_test_cases/p00437/output.0.txt b/public_test_cases/p00437/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65ec6b09ea1cb1a7deb2d91d68c2c0fa99e35a16
--- /dev/null
+++ b/public_test_cases/p00437/output.0.txt
@@ -0,0 +1,6 @@
+2
+1
+1
+0
+1
+0
diff --git a/public_test_cases/p00437/output.1.txt b/public_test_cases/p00437/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65ec6b09ea1cb1a7deb2d91d68c2c0fa99e35a16
--- /dev/null
+++ b/public_test_cases/p00437/output.1.txt
@@ -0,0 +1,6 @@
+2
+1
+1
+0
+1
+0
diff --git a/public_test_cases/p00438/input.0.txt b/public_test_cases/p00438/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b953d414bdebbb032851e5dc23487819701b6ae
--- /dev/null
+++ b/public_test_cases/p00438/input.0.txt
@@ -0,0 +1,11 @@
+5 4
+3
+2 2
+2 3
+4 2
+5 4
+3
+2 2
+2 3
+4 2
+0 0
diff --git a/public_test_cases/p00438/output.0.txt b/public_test_cases/p00438/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd3c81a4d763121f1827c8b4bbdd0cef674c30f9
--- /dev/null
+++ b/public_test_cases/p00438/output.0.txt
@@ -0,0 +1,2 @@
+5
+5
diff --git a/public_test_cases/p00439/input.0.txt b/public_test_cases/p00439/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19282adfb138f38ac66ae29c07e8f504b6876112
--- /dev/null
+++ b/public_test_cases/p00439/input.0.txt
@@ -0,0 +1,7 @@
+5 3
+2
+5
+-4
+10
+3
+0 0
diff --git a/public_test_cases/p00439/input.1.txt b/public_test_cases/p00439/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19282adfb138f38ac66ae29c07e8f504b6876112
--- /dev/null
+++ b/public_test_cases/p00439/input.1.txt
@@ -0,0 +1,7 @@
+5 3
+2
+5
+-4
+10
+3
+0 0
diff --git a/public_test_cases/p00439/output.0.txt b/public_test_cases/p00439/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00439/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00439/output.1.txt b/public_test_cases/p00439/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00439/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00440/input.0.txt b/public_test_cases/p00440/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cd70477363c0b77af9d521f5c52cb32dc41dfcd
--- /dev/null
+++ b/public_test_cases/p00440/input.0.txt
@@ -0,0 +1,13 @@
+7 5
+6
+2
+4
+7
+1
+7 5
+6
+2
+0
+4
+7
+0 0
diff --git a/public_test_cases/p00440/input.1.txt b/public_test_cases/p00440/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cd70477363c0b77af9d521f5c52cb32dc41dfcd
--- /dev/null
+++ b/public_test_cases/p00440/input.1.txt
@@ -0,0 +1,13 @@
+7 5
+6
+2
+4
+7
+1
+7 5
+6
+2
+0
+4
+7
+0 0
diff --git a/public_test_cases/p00440/output.0.txt b/public_test_cases/p00440/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da7f84740bd775747fe094def1e06a800d8e874f
--- /dev/null
+++ b/public_test_cases/p00440/output.0.txt
@@ -0,0 +1,2 @@
+2
+4
diff --git a/public_test_cases/p00440/output.1.txt b/public_test_cases/p00440/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da7f84740bd775747fe094def1e06a800d8e874f
--- /dev/null
+++ b/public_test_cases/p00440/output.1.txt
@@ -0,0 +1,2 @@
+2
+4
diff --git a/public_test_cases/p00441/input.0.txt b/public_test_cases/p00441/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f8665679276933fb894502b316b9dc23adf6087
--- /dev/null
+++ b/public_test_cases/p00441/input.0.txt
@@ -0,0 +1,23 @@
+10
+9 4
+4 3
+1 1
+4 2
+2 4
+5 8
+4 0
+5 3
+0 5
+5 2
+10
+9 4
+4 3
+1 1
+4 2
+2 4
+5 8
+4 0
+5 3
+0 5
+5 2
+0
diff --git a/public_test_cases/p00441/input.1.txt b/public_test_cases/p00441/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f8665679276933fb894502b316b9dc23adf6087
--- /dev/null
+++ b/public_test_cases/p00441/input.1.txt
@@ -0,0 +1,23 @@
+10
+9 4
+4 3
+1 1
+4 2
+2 4
+5 8
+4 0
+5 3
+0 5
+5 2
+10
+9 4
+4 3
+1 1
+4 2
+2 4
+5 8
+4 0
+5 3
+0 5
+5 2
+0
diff --git a/public_test_cases/p00441/output.0.txt b/public_test_cases/p00441/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2f7f08c17074991c47ce9b2475c3fe58fc26247
--- /dev/null
+++ b/public_test_cases/p00441/output.0.txt
@@ -0,0 +1,2 @@
+10
+10
diff --git a/public_test_cases/p00441/output.1.txt b/public_test_cases/p00441/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2f7f08c17074991c47ce9b2475c3fe58fc26247
--- /dev/null
+++ b/public_test_cases/p00441/output.1.txt
@@ -0,0 +1,2 @@
+10
+10
diff --git a/public_test_cases/p00442/input.0.txt b/public_test_cases/p00442/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69f4ed7f6db64d561e08441baf8a29f23d1e61a6
--- /dev/null
+++ b/public_test_cases/p00442/input.0.txt
@@ -0,0 +1,7 @@
+4
+5
+1 2
+3 1
+3 2
+3 4
+4 1
diff --git a/public_test_cases/p00442/output.0.txt b/public_test_cases/p00442/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69e2390beecb62f1d6572feae8ffd858bb926b00
--- /dev/null
+++ b/public_test_cases/p00442/output.0.txt
@@ -0,0 +1,5 @@
+3
+4
+1
+2
+0
diff --git a/public_test_cases/p00443/input.0.txt b/public_test_cases/p00443/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b482a9a3e9de9255c389eee5068410e8a2285e
--- /dev/null
+++ b/public_test_cases/p00443/input.0.txt
@@ -0,0 +1,8 @@
+1
+6 9 0 0
+4
+3 2 0 4
+1 3 0 0
+4 4 2 1
+2 2 0 0
+0
diff --git a/public_test_cases/p00443/input.1.txt b/public_test_cases/p00443/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b482a9a3e9de9255c389eee5068410e8a2285e
--- /dev/null
+++ b/public_test_cases/p00443/input.1.txt
@@ -0,0 +1,8 @@
+1
+6 9 0 0
+4
+3 2 0 4
+1 3 0 0
+4 4 2 1
+2 2 0 0
+0
diff --git a/public_test_cases/p00443/output.0.txt b/public_test_cases/p00443/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..356775bbbf6c8eebd9ac7062d5a15792939e0b66
--- /dev/null
+++ b/public_test_cases/p00443/output.0.txt
@@ -0,0 +1,2 @@
+5
+40
diff --git a/public_test_cases/p00443/output.1.txt b/public_test_cases/p00443/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..356775bbbf6c8eebd9ac7062d5a15792939e0b66
--- /dev/null
+++ b/public_test_cases/p00443/output.1.txt
@@ -0,0 +1,2 @@
+5
+40
diff --git a/public_test_cases/p00444/input.0.txt b/public_test_cases/p00444/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3c1ccf1e8dd98441137861f99976a5b6bd65dc7
--- /dev/null
+++ b/public_test_cases/p00444/input.0.txt
@@ -0,0 +1,3 @@
+380
+1
+0
diff --git a/public_test_cases/p00444/input.1.txt b/public_test_cases/p00444/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3c1ccf1e8dd98441137861f99976a5b6bd65dc7
--- /dev/null
+++ b/public_test_cases/p00444/input.1.txt
@@ -0,0 +1,3 @@
+380
+1
+0
diff --git a/public_test_cases/p00444/output.0.txt b/public_test_cases/p00444/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18febc72d15f481d3d5ff77e1d3993cc9f8d8432
--- /dev/null
+++ b/public_test_cases/p00444/output.0.txt
@@ -0,0 +1,2 @@
+4
+15
diff --git a/public_test_cases/p00444/output.1.txt b/public_test_cases/p00444/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18febc72d15f481d3d5ff77e1d3993cc9f8d8432
--- /dev/null
+++ b/public_test_cases/p00444/output.1.txt
@@ -0,0 +1,2 @@
+4
+15
diff --git a/public_test_cases/p00445/input.0.txt b/public_test_cases/p00445/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32b5b558da8ff0b8c0abdeeab44c4a6a76d2ea5b
--- /dev/null
+++ b/public_test_cases/p00445/input.0.txt
@@ -0,0 +1,3 @@
+JOIJOI
+JOIOIOIOI
+JOIOIJOINXNXJIOIOIOJ
diff --git a/public_test_cases/p00445/input.1.txt b/public_test_cases/p00445/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32b5b558da8ff0b8c0abdeeab44c4a6a76d2ea5b
--- /dev/null
+++ b/public_test_cases/p00445/input.1.txt
@@ -0,0 +1,3 @@
+JOIJOI
+JOIOIOIOI
+JOIOIJOINXNXJIOIOIOJ
diff --git a/public_test_cases/p00445/input.2.txt b/public_test_cases/p00445/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00445/input.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00445/output.0.txt b/public_test_cases/p00445/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdf8784694025c7004587c5e09fbfec9195ef99b
--- /dev/null
+++ b/public_test_cases/p00445/output.0.txt
@@ -0,0 +1,6 @@
+2
+0
+1
+3
+2
+3
diff --git a/public_test_cases/p00445/output.1.txt b/public_test_cases/p00445/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdf8784694025c7004587c5e09fbfec9195ef99b
--- /dev/null
+++ b/public_test_cases/p00445/output.1.txt
@@ -0,0 +1,6 @@
+2
+0
+1
+3
+2
+3
diff --git a/public_test_cases/p00445/output.2.txt b/public_test_cases/p00445/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00445/output.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00446/input.0.txt b/public_test_cases/p00446/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e72e9dd024e6e120b54583490c457cc6b20c2c
--- /dev/null
+++ b/public_test_cases/p00446/input.0.txt
@@ -0,0 +1,18 @@
+5
+1
+7
+9
+6
+10
+10
+8
+7
+14
+18
+4
+11
+3
+17
+5
+19
+0
diff --git a/public_test_cases/p00446/input.1.txt b/public_test_cases/p00446/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e72e9dd024e6e120b54583490c457cc6b20c2c
--- /dev/null
+++ b/public_test_cases/p00446/input.1.txt
@@ -0,0 +1,18 @@
+5
+1
+7
+9
+6
+10
+10
+8
+7
+14
+18
+4
+11
+3
+17
+5
+19
+0
diff --git a/public_test_cases/p00446/output.0.txt b/public_test_cases/p00446/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a64f7d5acc3b5e0c909a0f970fd85d7f35e8401
--- /dev/null
+++ b/public_test_cases/p00446/output.0.txt
@@ -0,0 +1,4 @@
+3
+0
+2
+0
diff --git a/public_test_cases/p00446/output.1.txt b/public_test_cases/p00446/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a64f7d5acc3b5e0c909a0f970fd85d7f35e8401
--- /dev/null
+++ b/public_test_cases/p00446/output.1.txt
@@ -0,0 +1,4 @@
+3
+0
+2
+0
diff --git a/public_test_cases/p00447/input.0.txt b/public_test_cases/p00447/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0585bb1357dca7a4102ad8ae1acf59479d0523e
--- /dev/null
+++ b/public_test_cases/p00447/input.0.txt
@@ -0,0 +1,35 @@
+5
+8 5
+6 4
+4 3
+7 10
+0 10
+10
+10 5
+2 7
+9 7
+8 10
+10 2
+1 2
+8 1
+6 7
+6 0
+0 9
+5
+904207 809784
+845370 244806
+499091 59863
+638406 182509
+435076 362268
+10
+757559 866424
+114810 239537
+519926 989458
+461089 424480
+674361 448440
+81851 150384
+459107 795405
+299682 6700
+254125 362183
+50795 541942
+0
diff --git a/public_test_cases/p00447/input.1.txt b/public_test_cases/p00447/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0585bb1357dca7a4102ad8ae1acf59479d0523e
--- /dev/null
+++ b/public_test_cases/p00447/input.1.txt
@@ -0,0 +1,35 @@
+5
+8 5
+6 4
+4 3
+7 10
+0 10
+10
+10 5
+2 7
+9 7
+8 10
+10 2
+1 2
+8 1
+6 7
+6 0
+0 9
+5
+904207 809784
+845370 244806
+499091 59863
+638406 182509
+435076 362268
+10
+757559 866424
+114810 239537
+519926 989458
+461089 424480
+674361 448440
+81851 150384
+459107 795405
+299682 6700
+254125 362183
+50795 541942
+0
diff --git a/public_test_cases/p00447/output.0.txt b/public_test_cases/p00447/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08cdc6a77588b7b89c1bd5f9f6cf37089248f091
--- /dev/null
+++ b/public_test_cases/p00447/output.0.txt
@@ -0,0 +1,2 @@
+2 -3
+-384281 179674
diff --git a/public_test_cases/p00447/output.1.txt b/public_test_cases/p00447/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08cdc6a77588b7b89c1bd5f9f6cf37089248f091
--- /dev/null
+++ b/public_test_cases/p00447/output.1.txt
@@ -0,0 +1,2 @@
+2 -3
+-384281 179674
diff --git a/public_test_cases/p00448/input.0.txt b/public_test_cases/p00448/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86b6a66d82844dc3697274d9206f709279757bc5
--- /dev/null
+++ b/public_test_cases/p00448/input.0.txt
@@ -0,0 +1,8 @@
+2 5
+0 1 0 1 0
+1 0 0 0 1
+3 6
+1 0 0 0 1 0
+1 1 1 0 1 0
+1 0 1 1 0 1
+0 0
diff --git a/public_test_cases/p00448/input.1.txt b/public_test_cases/p00448/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86b6a66d82844dc3697274d9206f709279757bc5
--- /dev/null
+++ b/public_test_cases/p00448/input.1.txt
@@ -0,0 +1,8 @@
+2 5
+0 1 0 1 0
+1 0 0 0 1
+3 6
+1 0 0 0 1 0
+1 1 1 0 1 0
+1 0 1 1 0 1
+0 0
diff --git a/public_test_cases/p00448/output.0.txt b/public_test_cases/p00448/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..777df8f5dc310388ad71bf351843c94d01755310
--- /dev/null
+++ b/public_test_cases/p00448/output.0.txt
@@ -0,0 +1,2 @@
+9
+15
diff --git a/public_test_cases/p00448/output.1.txt b/public_test_cases/p00448/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..777df8f5dc310388ad71bf351843c94d01755310
--- /dev/null
+++ b/public_test_cases/p00448/output.1.txt
@@ -0,0 +1,2 @@
+9
+15
diff --git a/public_test_cases/p00449/input.0.txt b/public_test_cases/p00449/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d7049841c009171cd5dcb946670977903122d75
--- /dev/null
+++ b/public_test_cases/p00449/input.0.txt
@@ -0,0 +1,27 @@
+3 8
+1 3 1 10
+0 2 3
+1 2 3 20
+1 1 2 5
+0 3 2
+1 1 3 7
+1 2 1 9
+0 2 3
+5 16
+1 1 2 343750
+1 1 3 3343
+1 1 4 347392
+1 1 5 5497
+1 2 3 123394
+1 2 4 545492
+1 2 5 458
+1 3 4 343983
+1 3 5 843468
+1 4 5 15934
+0 2 1
+0 4 1
+0 3 2
+0 4 2
+0 4 3
+0 5 3
+0 0
diff --git a/public_test_cases/p00449/input.1.txt b/public_test_cases/p00449/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d7049841c009171cd5dcb946670977903122d75
--- /dev/null
+++ b/public_test_cases/p00449/input.1.txt
@@ -0,0 +1,27 @@
+3 8
+1 3 1 10
+0 2 3
+1 2 3 20
+1 1 2 5
+0 3 2
+1 1 3 7
+1 2 1 9
+0 2 3
+5 16
+1 1 2 343750
+1 1 3 3343
+1 1 4 347392
+1 1 5 5497
+1 2 3 123394
+1 2 4 545492
+1 2 5 458
+1 3 4 343983
+1 3 5 843468
+1 4 5 15934
+0 2 1
+0 4 1
+0 3 2
+0 4 2
+0 4 3
+0 5 3
+0 0
diff --git a/public_test_cases/p00449/output.0.txt b/public_test_cases/p00449/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46ac8161d440fbb128d2d250dbee8dce08a74b58
--- /dev/null
+++ b/public_test_cases/p00449/output.0.txt
@@ -0,0 +1,9 @@
+-1
+15
+12
+5955
+21431
+9298
+16392
+24774
+8840
diff --git a/public_test_cases/p00449/output.1.txt b/public_test_cases/p00449/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46ac8161d440fbb128d2d250dbee8dce08a74b58
--- /dev/null
+++ b/public_test_cases/p00449/output.1.txt
@@ -0,0 +1,9 @@
+-1
+15
+12
+5955
+21431
+9298
+16392
+24774
+8840
diff --git a/public_test_cases/p00450/input.0.txt b/public_test_cases/p00450/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5832e0e57409ef2ded94d200672b5446d8228380
--- /dev/null
+++ b/public_test_cases/p00450/input.0.txt
@@ -0,0 +1,19 @@
+8
+1
+0
+1
+1
+0
+0
+0
+0
+8
+1
+0
+1
+1
+0
+0
+0
+1
+0
diff --git a/public_test_cases/p00450/input.1.txt b/public_test_cases/p00450/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5832e0e57409ef2ded94d200672b5446d8228380
--- /dev/null
+++ b/public_test_cases/p00450/input.1.txt
@@ -0,0 +1,19 @@
+8
+1
+0
+1
+1
+0
+0
+0
+0
+8
+1
+0
+1
+1
+0
+0
+0
+1
+0
diff --git a/public_test_cases/p00450/output.0.txt b/public_test_cases/p00450/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74abe52ea08f303355ad2b8a25939c5ba57c9224
--- /dev/null
+++ b/public_test_cases/p00450/output.0.txt
@@ -0,0 +1,2 @@
+6
+2
diff --git a/public_test_cases/p00450/output.1.txt b/public_test_cases/p00450/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74abe52ea08f303355ad2b8a25939c5ba57c9224
--- /dev/null
+++ b/public_test_cases/p00450/output.1.txt
@@ -0,0 +1,2 @@
+6
+2
diff --git a/public_test_cases/p00451/input.0.txt b/public_test_cases/p00451/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b45417ec75e25c8a324431cd9e8e0bd4a187825
--- /dev/null
+++ b/public_test_cases/p00451/input.0.txt
@@ -0,0 +1,4 @@
+ABRACADABRA
+ECADADABRBCRDARA
+UPWJCIRUCAXIIRGL
+SBQNYBSBZDFNEV
diff --git a/public_test_cases/p00451/input.1.txt b/public_test_cases/p00451/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00451/input.1.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00451/input.2.txt b/public_test_cases/p00451/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b45417ec75e25c8a324431cd9e8e0bd4a187825
--- /dev/null
+++ b/public_test_cases/p00451/input.2.txt
@@ -0,0 +1,4 @@
+ABRACADABRA
+ECADADABRBCRDARA
+UPWJCIRUCAXIIRGL
+SBQNYBSBZDFNEV
diff --git a/public_test_cases/p00451/output.0.txt b/public_test_cases/p00451/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb6e5ed4d8639a530576fe07e5332e9dcbf6424a
--- /dev/null
+++ b/public_test_cases/p00451/output.0.txt
@@ -0,0 +1,2 @@
+5
+0
diff --git a/public_test_cases/p00451/output.1.txt b/public_test_cases/p00451/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00451/output.1.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00451/output.2.txt b/public_test_cases/p00451/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb6e5ed4d8639a530576fe07e5332e9dcbf6424a
--- /dev/null
+++ b/public_test_cases/p00451/output.2.txt
@@ -0,0 +1,2 @@
+5
+0
diff --git a/public_test_cases/p00452/input.0.txt b/public_test_cases/p00452/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e911cee4724093f58fb397ca3a807e71234fdb79
--- /dev/null
+++ b/public_test_cases/p00452/input.0.txt
@@ -0,0 +1,10 @@
+4 50
+3
+14
+15
+9
+3 21
+16
+11
+2
+0 0
diff --git a/public_test_cases/p00452/input.1.txt b/public_test_cases/p00452/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e911cee4724093f58fb397ca3a807e71234fdb79
--- /dev/null
+++ b/public_test_cases/p00452/input.1.txt
@@ -0,0 +1,10 @@
+4 50
+3
+14
+15
+9
+3 21
+16
+11
+2
+0 0
diff --git a/public_test_cases/p00452/output.0.txt b/public_test_cases/p00452/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca9e09753a42b198c783922da4b2e20a4aac20f1
--- /dev/null
+++ b/public_test_cases/p00452/output.0.txt
@@ -0,0 +1,2 @@
+48
+20
diff --git a/public_test_cases/p00452/output.1.txt b/public_test_cases/p00452/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca9e09753a42b198c783922da4b2e20a4aac20f1
--- /dev/null
+++ b/public_test_cases/p00452/output.1.txt
@@ -0,0 +1,2 @@
+48
+20
diff --git a/public_test_cases/p00453/input.0.txt b/public_test_cases/p00453/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e45ca8447a171b55504938e476fa3920f09d7a3
--- /dev/null
+++ b/public_test_cases/p00453/input.0.txt
@@ -0,0 +1,13 @@
+5 1
+2 1 3 2 2
+1 3 2
+1 1 7
+1 2 1
+1 4 4
+5 0
+2 1 3 2 2
+1 3 2
+1 1 7
+1 2 1
+1 4 4
+0 0
diff --git a/public_test_cases/p00453/input.1.txt b/public_test_cases/p00453/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e45ca8447a171b55504938e476fa3920f09d7a3
--- /dev/null
+++ b/public_test_cases/p00453/input.1.txt
@@ -0,0 +1,13 @@
+5 1
+2 1 3 2 2
+1 3 2
+1 1 7
+1 2 1
+1 4 4
+5 0
+2 1 3 2 2
+1 3 2
+1 1 7
+1 2 1
+1 4 4
+0 0
diff --git a/public_test_cases/p00453/output.0.txt b/public_test_cases/p00453/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39c1d301ccb811d0773790f977f88d7a7a2a5663
--- /dev/null
+++ b/public_test_cases/p00453/output.0.txt
@@ -0,0 +1,2 @@
+17
+40
diff --git a/public_test_cases/p00453/output.1.txt b/public_test_cases/p00453/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39c1d301ccb811d0773790f977f88d7a7a2a5663
--- /dev/null
+++ b/public_test_cases/p00453/output.1.txt
@@ -0,0 +1,2 @@
+17
+40
diff --git a/public_test_cases/p00454/input.0.txt b/public_test_cases/p00454/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c243f8d0c8d6c6dabc2c70433309eacf46ed1fd0
--- /dev/null
+++ b/public_test_cases/p00454/input.0.txt
@@ -0,0 +1,13 @@
+15 6
+10
+1 4 5 6
+2 1 4 5
+1 0 5 1
+6 1 7 5
+7 5 9 6
+7 0 9 2
+9 1 10 5
+11 0 14 1
+12 1 13 5
+11 5 14 6
+0 0
diff --git a/public_test_cases/p00454/input.1.txt b/public_test_cases/p00454/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c243f8d0c8d6c6dabc2c70433309eacf46ed1fd0
--- /dev/null
+++ b/public_test_cases/p00454/input.1.txt
@@ -0,0 +1,13 @@
+15 6
+10
+1 4 5 6
+2 1 4 5
+1 0 5 1
+6 1 7 5
+7 5 9 6
+7 0 9 2
+9 1 10 5
+11 0 14 1
+12 1 13 5
+11 5 14 6
+0 0
diff --git a/public_test_cases/p00454/output.0.txt b/public_test_cases/p00454/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00454/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00454/output.1.txt b/public_test_cases/p00454/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00454/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00455/input.0.txt b/public_test_cases/p00455/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ccc8db9d43fb3a3ccebd0b6d3f4eca40a9a70cc
--- /dev/null
+++ b/public_test_cases/p00455/input.0.txt
@@ -0,0 +1,3 @@
+9 0 0 18 0 0
+9 0 1 18 0 0
+12 14 52 12 15 30
diff --git a/public_test_cases/p00455/input.1.txt b/public_test_cases/p00455/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ccc8db9d43fb3a3ccebd0b6d3f4eca40a9a70cc
--- /dev/null
+++ b/public_test_cases/p00455/input.1.txt
@@ -0,0 +1,3 @@
+9 0 0 18 0 0
+9 0 1 18 0 0
+12 14 52 12 15 30
diff --git a/public_test_cases/p00455/input.2.txt b/public_test_cases/p00455/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00455/input.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00455/output.0.txt b/public_test_cases/p00455/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fa22a61d599723190ed492cddae5260953c8838
--- /dev/null
+++ b/public_test_cases/p00455/output.0.txt
@@ -0,0 +1,3 @@
+9 0 0
+8 59 59
+0 0 38
diff --git a/public_test_cases/p00455/output.1.txt b/public_test_cases/p00455/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fa22a61d599723190ed492cddae5260953c8838
--- /dev/null
+++ b/public_test_cases/p00455/output.1.txt
@@ -0,0 +1,3 @@
+9 0 0
+8 59 59
+0 0 38
diff --git a/public_test_cases/p00455/output.2.txt b/public_test_cases/p00455/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00455/output.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00456/input.0.txt b/public_test_cases/p00456/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f99a72cbd95d7855db4a039739cf3d9b58c9594
--- /dev/null
+++ b/public_test_cases/p00456/input.0.txt
@@ -0,0 +1,20 @@
+23
+23
+20
+15
+15
+14
+13
+9
+7
+6
+25
+19
+17
+17
+16
+13
+12
+11
+9
+5
diff --git a/public_test_cases/p00456/output.0.txt b/public_test_cases/p00456/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f0141ba59d8eb271b7b4a541c2fc96a66bb2732
--- /dev/null
+++ b/public_test_cases/p00456/output.0.txt
@@ -0,0 +1 @@
+66 61
diff --git a/public_test_cases/p00457/input.0.txt b/public_test_cases/p00457/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..246bdf39c9d859fd1f8de47b36b0d5428088ee0e
--- /dev/null
+++ b/public_test_cases/p00457/input.0.txt
@@ -0,0 +1,27 @@
+12
+3
+2
+1
+1
+2
+3
+2
+2
+2
+1
+1
+3
+12
+3
+2
+1
+1
+2
+3
+2
+1
+3
+2
+1
+3
+0
diff --git a/public_test_cases/p00457/input.1.txt b/public_test_cases/p00457/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..246bdf39c9d859fd1f8de47b36b0d5428088ee0e
--- /dev/null
+++ b/public_test_cases/p00457/input.1.txt
@@ -0,0 +1,27 @@
+12
+3
+2
+1
+1
+2
+3
+2
+2
+2
+1
+1
+3
+12
+3
+2
+1
+1
+2
+3
+2
+1
+3
+2
+1
+3
+0
diff --git a/public_test_cases/p00457/output.0.txt b/public_test_cases/p00457/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd5972620bf4aba08b68a4d8b01c265a50ef25be
--- /dev/null
+++ b/public_test_cases/p00457/output.0.txt
@@ -0,0 +1,2 @@
+3
+12
diff --git a/public_test_cases/p00457/output.1.txt b/public_test_cases/p00457/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd5972620bf4aba08b68a4d8b01c265a50ef25be
--- /dev/null
+++ b/public_test_cases/p00457/output.1.txt
@@ -0,0 +1,2 @@
+3
+12
diff --git a/public_test_cases/p00458/input.0.txt b/public_test_cases/p00458/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ccbe7448b53f445b4c5817d6cef1e0af86a62b5
--- /dev/null
+++ b/public_test_cases/p00458/input.0.txt
@@ -0,0 +1,12 @@
+3
+3
+1 1 0
+1 0 1
+1 1 0
+5
+3
+1 1 1 0 1
+1 1 0 0 0
+1 0 0 0 1
+0
+0
diff --git a/public_test_cases/p00458/input.1.txt b/public_test_cases/p00458/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ccbe7448b53f445b4c5817d6cef1e0af86a62b5
--- /dev/null
+++ b/public_test_cases/p00458/input.1.txt
@@ -0,0 +1,12 @@
+3
+3
+1 1 0
+1 0 1
+1 1 0
+5
+3
+1 1 1 0 1
+1 1 0 0 0
+1 0 0 0 1
+0
+0
diff --git a/public_test_cases/p00458/output.0.txt b/public_test_cases/p00458/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd3c81a4d763121f1827c8b4bbdd0cef674c30f9
--- /dev/null
+++ b/public_test_cases/p00458/output.0.txt
@@ -0,0 +1,2 @@
+5
+5
diff --git a/public_test_cases/p00458/output.1.txt b/public_test_cases/p00458/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd3c81a4d763121f1827c8b4bbdd0cef674c30f9
--- /dev/null
+++ b/public_test_cases/p00458/output.1.txt
@@ -0,0 +1,2 @@
+5
+5
diff --git a/public_test_cases/p00459/input.0.txt b/public_test_cases/p00459/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd869134c413720b00d47b31db39b4544ef7a80
--- /dev/null
+++ b/public_test_cases/p00459/input.0.txt
@@ -0,0 +1,11 @@
+9
+1
+3 7 4
+3 5
+12
+3
+3 8 5
+3 8
+2 5
+6 10
+0
diff --git a/public_test_cases/p00459/input.1.txt b/public_test_cases/p00459/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd869134c413720b00d47b31db39b4544ef7a80
--- /dev/null
+++ b/public_test_cases/p00459/input.1.txt
@@ -0,0 +1,11 @@
+9
+1
+3 7 4
+3 5
+12
+3
+3 8 5
+3 8
+2 5
+6 10
+0
diff --git a/public_test_cases/p00459/output.0.txt b/public_test_cases/p00459/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4792e70f333077a81456ca2bc74e492ab8bb58c3
--- /dev/null
+++ b/public_test_cases/p00459/output.0.txt
@@ -0,0 +1,2 @@
+2
+3
diff --git a/public_test_cases/p00459/output.1.txt b/public_test_cases/p00459/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4792e70f333077a81456ca2bc74e492ab8bb58c3
--- /dev/null
+++ b/public_test_cases/p00459/output.1.txt
@@ -0,0 +1,2 @@
+2
+3
diff --git a/public_test_cases/p00460/input.0.txt b/public_test_cases/p00460/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a92f90cd6baf6b9d1ef3f4a8ae06a52470d04aae
--- /dev/null
+++ b/public_test_cases/p00460/input.0.txt
@@ -0,0 +1,4 @@
+3 9 45
+3 100 50
+5 50 685
+0 0 0
diff --git a/public_test_cases/p00460/input.1.txt b/public_test_cases/p00460/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a92f90cd6baf6b9d1ef3f4a8ae06a52470d04aae
--- /dev/null
+++ b/public_test_cases/p00460/input.1.txt
@@ -0,0 +1,4 @@
+3 9 45
+3 100 50
+5 50 685
+0 0 0
diff --git a/public_test_cases/p00460/output.0.txt b/public_test_cases/p00460/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1306c15ce4fc4afda9868bd782f58e4a0e2282a5
--- /dev/null
+++ b/public_test_cases/p00460/output.0.txt
@@ -0,0 +1,3 @@
+1
+7
+74501
diff --git a/public_test_cases/p00460/output.1.txt b/public_test_cases/p00460/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1306c15ce4fc4afda9868bd782f58e4a0e2282a5
--- /dev/null
+++ b/public_test_cases/p00460/output.1.txt
@@ -0,0 +1,3 @@
+1
+7
+74501
diff --git a/public_test_cases/p00461/input.0.txt b/public_test_cases/p00461/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86301baf134c8e4b3f3d3eb1ab4a0172d017805e
--- /dev/null
+++ b/public_test_cases/p00461/input.0.txt
@@ -0,0 +1,7 @@
+1
+13
+OOIOIOIOIIOII
+2
+13
+OOIOIOIOIIOII
+0
diff --git a/public_test_cases/p00461/input.1.txt b/public_test_cases/p00461/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86301baf134c8e4b3f3d3eb1ab4a0172d017805e
--- /dev/null
+++ b/public_test_cases/p00461/input.1.txt
@@ -0,0 +1,7 @@
+1
+13
+OOIOIOIOIIOII
+2
+13
+OOIOIOIOIIOII
+0
diff --git a/public_test_cases/p00461/output.0.txt b/public_test_cases/p00461/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc7fa75e6a7bc42f0431e7fa75b59e3ddc4dc40f
--- /dev/null
+++ b/public_test_cases/p00461/output.0.txt
@@ -0,0 +1,2 @@
+4
+2
diff --git a/public_test_cases/p00461/output.1.txt b/public_test_cases/p00461/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc7fa75e6a7bc42f0431e7fa75b59e3ddc4dc40f
--- /dev/null
+++ b/public_test_cases/p00461/output.1.txt
@@ -0,0 +1,2 @@
+4
+2
diff --git a/public_test_cases/p00462/input.0.txt b/public_test_cases/p00462/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52180a750a52a5455a6d087207e75691f7c1d7d0
--- /dev/null
+++ b/public_test_cases/p00462/input.0.txt
@@ -0,0 +1,18 @@
+8
+3
+2
+3
+1
+4
+6
+20
+4
+4
+12
+8
+16
+7
+7
+11
+8
+0
diff --git a/public_test_cases/p00462/input.1.txt b/public_test_cases/p00462/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52180a750a52a5455a6d087207e75691f7c1d7d0
--- /dev/null
+++ b/public_test_cases/p00462/input.1.txt
@@ -0,0 +1,18 @@
+8
+3
+2
+3
+1
+4
+6
+20
+4
+4
+12
+8
+16
+7
+7
+11
+8
+0
diff --git a/public_test_cases/p00462/output.0.txt b/public_test_cases/p00462/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c8806279fa7d6b7d04418a47e21b7e89ab18f8
--- /dev/null
+++ b/public_test_cases/p00462/output.0.txt
@@ -0,0 +1,2 @@
+3
+3
diff --git a/public_test_cases/p00462/output.1.txt b/public_test_cases/p00462/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c8806279fa7d6b7d04418a47e21b7e89ab18f8
--- /dev/null
+++ b/public_test_cases/p00462/output.1.txt
@@ -0,0 +1,2 @@
+3
+3
diff --git a/public_test_cases/p00463/input.0.txt b/public_test_cases/p00463/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a9f6ea6cc4aad44849efbe483d937022e7891ee
--- /dev/null
+++ b/public_test_cases/p00463/input.0.txt
@@ -0,0 +1,16 @@
+4 5 7 2
+20
+80
+100
+50
+1 1
+2 6
+2 3
+1 5
+3 1
+2 2 5 1
+10
+20
+1 1
+1 3
+0 0 0 0
diff --git a/public_test_cases/p00463/input.1.txt b/public_test_cases/p00463/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a9f6ea6cc4aad44849efbe483d937022e7891ee
--- /dev/null
+++ b/public_test_cases/p00463/input.1.txt
@@ -0,0 +1,16 @@
+4 5 7 2
+20
+80
+100
+50
+1 1
+2 6
+2 3
+1 5
+3 1
+2 2 5 1
+10
+20
+1 1
+1 3
+0 0 0 0
diff --git a/public_test_cases/p00463/output.0.txt b/public_test_cases/p00463/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dafc01ac7ceb05a056388a0e084b2f0a1702954c
--- /dev/null
+++ b/public_test_cases/p00463/output.0.txt
@@ -0,0 +1,2 @@
+100
+10
diff --git a/public_test_cases/p00463/output.1.txt b/public_test_cases/p00463/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dafc01ac7ceb05a056388a0e084b2f0a1702954c
--- /dev/null
+++ b/public_test_cases/p00463/output.1.txt
@@ -0,0 +1,2 @@
+100
+10
diff --git a/public_test_cases/p00464/input.0.txt b/public_test_cases/p00464/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b6399a3193ba76319e93a5e6653cdc3bdc6228e
--- /dev/null
+++ b/public_test_cases/p00464/input.0.txt
@@ -0,0 +1,5 @@
+3 4 3
+1 0 1 1
+0 1 0 0
+1 0 1 0
+0 0 0
diff --git a/public_test_cases/p00464/input.1.txt b/public_test_cases/p00464/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b6399a3193ba76319e93a5e6653cdc3bdc6228e
--- /dev/null
+++ b/public_test_cases/p00464/input.1.txt
@@ -0,0 +1,5 @@
+3 4 3
+1 0 1 1
+0 1 0 0
+1 0 1 0
+0 0 0
diff --git a/public_test_cases/p00464/output.0.txt b/public_test_cases/p00464/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d6a524ba4bb4d62ff585ceb90c77652523ffb50
--- /dev/null
+++ b/public_test_cases/p00464/output.0.txt
@@ -0,0 +1 @@
+1 5
diff --git a/public_test_cases/p00464/output.1.txt b/public_test_cases/p00464/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d6a524ba4bb4d62ff585ceb90c77652523ffb50
--- /dev/null
+++ b/public_test_cases/p00464/output.1.txt
@@ -0,0 +1 @@
+1 5
diff --git a/public_test_cases/p00465/input.0.txt b/public_test_cases/p00465/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bc0ecf945ce695ddb11bc984e9eb9968943b20f
--- /dev/null
+++ b/public_test_cases/p00465/input.0.txt
@@ -0,0 +1,28 @@
+5
+2 2 1 2
+9 5
+1 17
+3 2 2 1
+6 1 20
+8 18 3
+8
+5 4 1 3
+5 5 4 5 5
+8 2 1 9 7
+1 1 3 5 1
+7 2 7 1 3
+6 5 6 2
+2 3 5 8 2 7
+1 6 9 4 5 1
+2 4 5 4 2 2
+5 4 2 5 3 3
+7 1 5 1 5 6
+6
+3 3 2 2
+2 9 2
+9 1 9
+2 9 2
+2 2 1 1
+1 3
+5 7
+0
diff --git a/public_test_cases/p00465/input.1.txt b/public_test_cases/p00465/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bc0ecf945ce695ddb11bc984e9eb9968943b20f
--- /dev/null
+++ b/public_test_cases/p00465/input.1.txt
@@ -0,0 +1,28 @@
+5
+2 2 1 2
+9 5
+1 17
+3 2 2 1
+6 1 20
+8 18 3
+8
+5 4 1 3
+5 5 4 5 5
+8 2 1 9 7
+1 1 3 5 1
+7 2 7 1 3
+6 5 6 2
+2 3 5 8 2 7
+1 6 9 4 5 1
+2 4 5 4 2 2
+5 4 2 5 3 3
+7 1 5 1 5 6
+6
+3 3 2 2
+2 9 2
+9 1 9
+2 9 2
+2 2 1 1
+1 3
+5 7
+0
diff --git a/public_test_cases/p00465/output.0.txt b/public_test_cases/p00465/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a63e867c1deb5636c5bb50ac552cc2f72acbb74
--- /dev/null
+++ b/public_test_cases/p00465/output.0.txt
@@ -0,0 +1,3 @@
+15
+4
+9
diff --git a/public_test_cases/p00465/output.1.txt b/public_test_cases/p00465/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a63e867c1deb5636c5bb50ac552cc2f72acbb74
--- /dev/null
+++ b/public_test_cases/p00465/output.1.txt
@@ -0,0 +1,3 @@
+15
+4
+9
diff --git a/public_test_cases/p00466/input.0.txt b/public_test_cases/p00466/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b136ed2e5cf97afa286b4ac8df2e74c2275fc1da
--- /dev/null
+++ b/public_test_cases/p00466/input.0.txt
@@ -0,0 +1,11 @@
+9850
+1050
+800
+420
+380
+600
+820
+2400
+1800
+980
+0
diff --git a/public_test_cases/p00466/input.1.txt b/public_test_cases/p00466/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b136ed2e5cf97afa286b4ac8df2e74c2275fc1da
--- /dev/null
+++ b/public_test_cases/p00466/input.1.txt
@@ -0,0 +1,11 @@
+9850
+1050
+800
+420
+380
+600
+820
+2400
+1800
+980
+0
diff --git a/public_test_cases/p00466/output.0.txt b/public_test_cases/p00466/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9f960cf4ac4e28e6cf8ecbad6f08c44ea9de347
--- /dev/null
+++ b/public_test_cases/p00466/output.0.txt
@@ -0,0 +1 @@
+600
diff --git a/public_test_cases/p00466/output.1.txt b/public_test_cases/p00466/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9f960cf4ac4e28e6cf8ecbad6f08c44ea9de347
--- /dev/null
+++ b/public_test_cases/p00466/output.1.txt
@@ -0,0 +1 @@
+600
diff --git a/public_test_cases/p00467/input.0.txt b/public_test_cases/p00467/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f700497598acaae3320298cff4df729c9bcc4f8
--- /dev/null
+++ b/public_test_cases/p00467/input.0.txt
@@ -0,0 +1,38 @@
+10 5
+0
+0
+5
+6
+-3
+8
+1
+8
+-4
+0
+1
+3
+5
+1
+5
+10 10
+0
+-1
+-1
+4
+4
+-5
+0
+1
+-6
+0
+1
+5
+2
+4
+6
+5
+5
+4
+1
+6
+0 0
diff --git a/public_test_cases/p00467/input.1.txt b/public_test_cases/p00467/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f700497598acaae3320298cff4df729c9bcc4f8
--- /dev/null
+++ b/public_test_cases/p00467/input.1.txt
@@ -0,0 +1,38 @@
+10 5
+0
+0
+5
+6
+-3
+8
+1
+8
+-4
+0
+1
+3
+5
+1
+5
+10 10
+0
+-1
+-1
+4
+4
+-5
+0
+1
+-6
+0
+1
+5
+2
+4
+6
+5
+5
+4
+1
+6
+0 0
diff --git a/public_test_cases/p00467/output.0.txt b/public_test_cases/p00467/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6613b568867eb6fb5247be321a988fb430e4d3ad
--- /dev/null
+++ b/public_test_cases/p00467/output.0.txt
@@ -0,0 +1,2 @@
+5
+6
diff --git a/public_test_cases/p00467/output.1.txt b/public_test_cases/p00467/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6613b568867eb6fb5247be321a988fb430e4d3ad
--- /dev/null
+++ b/public_test_cases/p00467/output.1.txt
@@ -0,0 +1,2 @@
+5
+6
diff --git a/public_test_cases/p00468/input.0.txt b/public_test_cases/p00468/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c199dccfb21676a57cc5601de38a83f515af4022
--- /dev/null
+++ b/public_test_cases/p00468/input.0.txt
@@ -0,0 +1,16 @@
+6
+5
+1 2
+1 3
+3 4
+2 3
+4 5
+6
+5
+2 3
+3 4
+4 5
+5 6
+2 5
+0
+0
diff --git a/public_test_cases/p00468/input.1.txt b/public_test_cases/p00468/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c199dccfb21676a57cc5601de38a83f515af4022
--- /dev/null
+++ b/public_test_cases/p00468/input.1.txt
@@ -0,0 +1,16 @@
+6
+5
+1 2
+1 3
+3 4
+2 3
+4 5
+6
+5
+2 3
+3 4
+4 5
+5 6
+2 5
+0
+0
diff --git a/public_test_cases/p00468/output.0.txt b/public_test_cases/p00468/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p00468/output.0.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p00468/output.1.txt b/public_test_cases/p00468/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p00468/output.1.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p00469/input.0.txt b/public_test_cases/p00469/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83e06de8101ef2e4f9725ec4f8cc390e107ad7da
--- /dev/null
+++ b/public_test_cases/p00469/input.0.txt
@@ -0,0 +1,16 @@
+4
+2
+1
+2
+12
+1
+6
+3
+72
+2
+12
+7
+2
+1
+0
+0
diff --git a/public_test_cases/p00469/input.1.txt b/public_test_cases/p00469/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83e06de8101ef2e4f9725ec4f8cc390e107ad7da
--- /dev/null
+++ b/public_test_cases/p00469/input.1.txt
@@ -0,0 +1,16 @@
+4
+2
+1
+2
+12
+1
+6
+3
+72
+2
+12
+7
+2
+1
+0
+0
diff --git a/public_test_cases/p00469/output.0.txt b/public_test_cases/p00469/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01c1adb5caf547748967d8c2490426b6acd88a56
--- /dev/null
+++ b/public_test_cases/p00469/output.0.txt
@@ -0,0 +1,2 @@
+7
+68
diff --git a/public_test_cases/p00469/output.1.txt b/public_test_cases/p00469/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01c1adb5caf547748967d8c2490426b6acd88a56
--- /dev/null
+++ b/public_test_cases/p00469/output.1.txt
@@ -0,0 +1,2 @@
+7
+68
diff --git a/public_test_cases/p00470/input.0.txt b/public_test_cases/p00470/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f6be43ed0e983abf9b6db0ecadf871d085d3cd5
--- /dev/null
+++ b/public_test_cases/p00470/input.0.txt
@@ -0,0 +1,3 @@
+3 4
+15 15
+0 0
diff --git a/public_test_cases/p00470/input.1.txt b/public_test_cases/p00470/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f6be43ed0e983abf9b6db0ecadf871d085d3cd5
--- /dev/null
+++ b/public_test_cases/p00470/input.1.txt
@@ -0,0 +1,3 @@
+3 4
+15 15
+0 0
diff --git a/public_test_cases/p00470/output.0.txt b/public_test_cases/p00470/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93385c563fa0114f85c2ba85e9fc7e37ec729d0f
--- /dev/null
+++ b/public_test_cases/p00470/output.0.txt
@@ -0,0 +1,2 @@
+5
+43688
diff --git a/public_test_cases/p00470/output.1.txt b/public_test_cases/p00470/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93385c563fa0114f85c2ba85e9fc7e37ec729d0f
--- /dev/null
+++ b/public_test_cases/p00470/output.1.txt
@@ -0,0 +1,2 @@
+5
+43688
diff --git a/public_test_cases/p00471/input.0.txt b/public_test_cases/p00471/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01fbda5822dd6f402eeda91e39625140463e29d2
--- /dev/null
+++ b/public_test_cases/p00471/input.0.txt
@@ -0,0 +1,8 @@
+3 2
+1 0 1
+1 0 2
+3 3
+1 1 1
+1 0 1
+1 1 2
+0 0
diff --git a/public_test_cases/p00471/input.1.txt b/public_test_cases/p00471/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01fbda5822dd6f402eeda91e39625140463e29d2
--- /dev/null
+++ b/public_test_cases/p00471/input.1.txt
@@ -0,0 +1,8 @@
+3 2
+1 0 1
+1 0 2
+3 3
+1 1 1
+1 0 1
+1 1 2
+0 0
diff --git a/public_test_cases/p00471/output.0.txt b/public_test_cases/p00471/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b24e3127788ab5dd07d265a75dd56cfd6c495b8
--- /dev/null
+++ b/public_test_cases/p00471/output.0.txt
@@ -0,0 +1,2 @@
+2
+6
diff --git a/public_test_cases/p00471/output.1.txt b/public_test_cases/p00471/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b24e3127788ab5dd07d265a75dd56cfd6c495b8
--- /dev/null
+++ b/public_test_cases/p00471/output.1.txt
@@ -0,0 +1,2 @@
+2
+6
diff --git a/public_test_cases/p00472/input.0.txt b/public_test_cases/p00472/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e17a0f79c5461f0e724e1d1461738e096d89651
--- /dev/null
+++ b/public_test_cases/p00472/input.0.txt
@@ -0,0 +1,12 @@
+7 5
+2
+1
+1
+3
+2
+1
+2
+-1
+3
+2
+-3
diff --git a/public_test_cases/p00472/input.1.txt b/public_test_cases/p00472/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e17a0f79c5461f0e724e1d1461738e096d89651
--- /dev/null
+++ b/public_test_cases/p00472/input.1.txt
@@ -0,0 +1,12 @@
+7 5
+2
+1
+1
+3
+2
+1
+2
+-1
+3
+2
+-3
diff --git a/public_test_cases/p00472/output.0.txt b/public_test_cases/p00472/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p00472/output.0.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p00472/output.1.txt b/public_test_cases/p00472/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p00472/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p00473/input.0.txt b/public_test_cases/p00473/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b872c35fc2e8af4f197432e5f285775173f6c421
--- /dev/null
+++ b/public_test_cases/p00473/input.0.txt
@@ -0,0 +1,6 @@
+6
+1
+8
+12
+6
+2
diff --git a/public_test_cases/p00473/input.1.txt b/public_test_cases/p00473/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b872c35fc2e8af4f197432e5f285775173f6c421
--- /dev/null
+++ b/public_test_cases/p00473/input.1.txt
@@ -0,0 +1,6 @@
+6
+1
+8
+12
+6
+2
diff --git a/public_test_cases/p00473/output.0.txt b/public_test_cases/p00473/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p00473/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p00473/output.1.txt b/public_test_cases/p00473/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p00473/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p00474/input.0.txt b/public_test_cases/p00474/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea3e898b8527233d3e5f1ceb1948c0654389245e
--- /dev/null
+++ b/public_test_cases/p00474/input.0.txt
@@ -0,0 +1,5 @@
+4 6
+4
+2
+3
+5
diff --git a/public_test_cases/p00474/input.1.txt b/public_test_cases/p00474/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea3e898b8527233d3e5f1ceb1948c0654389245e
--- /dev/null
+++ b/public_test_cases/p00474/input.1.txt
@@ -0,0 +1,5 @@
+4 6
+4
+2
+3
+5
diff --git a/public_test_cases/p00474/output.0.txt b/public_test_cases/p00474/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00474/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00474/output.1.txt b/public_test_cases/p00474/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00474/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00475/input.0.txt b/public_test_cases/p00475/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..383f7c5cc52057be726d413f32982827d2e4cce6
--- /dev/null
+++ b/public_test_cases/p00475/input.0.txt
@@ -0,0 +1,6 @@
+5
+0 0
+1 0
+-1 -2
+0 1
+-1 1
diff --git a/public_test_cases/p00475/input.1.txt b/public_test_cases/p00475/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..383f7c5cc52057be726d413f32982827d2e4cce6
--- /dev/null
+++ b/public_test_cases/p00475/input.1.txt
@@ -0,0 +1,6 @@
+5
+0 0
+1 0
+-1 -2
+0 1
+-1 1
diff --git a/public_test_cases/p00475/output.0.txt b/public_test_cases/p00475/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00475/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00475/output.1.txt b/public_test_cases/p00475/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00475/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00476/input.0.txt b/public_test_cases/p00476/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8aab60a6b35d5b703a06719bb118d13eaef4443
--- /dev/null
+++ b/public_test_cases/p00476/input.0.txt
@@ -0,0 +1,10 @@
+10 10
+4 2
+2 5
+6 1
+7 3
+6 4
+9 6
+0 8
+4 1
+9 4
diff --git a/public_test_cases/p00476/input.1.txt b/public_test_cases/p00476/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8aab60a6b35d5b703a06719bb118d13eaef4443
--- /dev/null
+++ b/public_test_cases/p00476/input.1.txt
@@ -0,0 +1,10 @@
+10 10
+4 2
+2 5
+6 1
+7 3
+6 4
+9 6
+0 8
+4 1
+9 4
diff --git a/public_test_cases/p00476/output.0.txt b/public_test_cases/p00476/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00476/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00476/output.1.txt b/public_test_cases/p00476/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00476/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00477/input.0.txt b/public_test_cases/p00477/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0824ed2cf63fa330348cfd9247b8c49e84c19776
--- /dev/null
+++ b/public_test_cases/p00477/input.0.txt
@@ -0,0 +1,4 @@
+31
+34
+7
+151
diff --git a/public_test_cases/p00477/output.0.txt b/public_test_cases/p00477/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3e02b45bf183334116352a95d7830cefd2d9dd7
--- /dev/null
+++ b/public_test_cases/p00477/output.0.txt
@@ -0,0 +1,2 @@
+3
+43
diff --git a/public_test_cases/p00478/input.0.txt b/public_test_cases/p00478/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecc0cde27c542791d3ec48bf9be9670d4d2cde3b
--- /dev/null
+++ b/public_test_cases/p00478/input.0.txt
@@ -0,0 +1,5 @@
+ABCD
+3
+ABCDXXXXXX
+YYYYABCDXX
+DCBAZZZZZZ
diff --git a/public_test_cases/p00478/output.0.txt b/public_test_cases/p00478/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00478/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00479/input.0.txt b/public_test_cases/p00479/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7547b521088d107a5e7c95e0bc5a9b50a36c1bf9
--- /dev/null
+++ b/public_test_cases/p00479/input.0.txt
@@ -0,0 +1,6 @@
+11
+4
+5 2
+9 7
+4 4
+3 9
diff --git a/public_test_cases/p00479/output.0.txt b/public_test_cases/p00479/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..348305ef77d09723e06589c0288a7b6ac01f95be
--- /dev/null
+++ b/public_test_cases/p00479/output.0.txt
@@ -0,0 +1,4 @@
+2
+3
+1
+3
diff --git a/public_test_cases/p00480/input.0.txt b/public_test_cases/p00480/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb38d6f90641b94c2428c05936443480c1a82125
--- /dev/null
+++ b/public_test_cases/p00480/input.0.txt
@@ -0,0 +1,2 @@
+11
+8 3 2 4 8 7 2 4 0 8 8
diff --git a/public_test_cases/p00480/output.0.txt b/public_test_cases/p00480/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00480/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00481/input.0.txt b/public_test_cases/p00481/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fef4223d1fb536b32c8b5222b9c4bff3845ae340
--- /dev/null
+++ b/public_test_cases/p00481/input.0.txt
@@ -0,0 +1,4 @@
+3 3 1
+S..
+...
+..1
diff --git a/public_test_cases/p00481/output.0.txt b/public_test_cases/p00481/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00481/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00482/input.0.txt b/public_test_cases/p00482/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44f0fcff43bf0169ca75137a7b921367ef1e700d
--- /dev/null
+++ b/public_test_cases/p00482/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+??O
+IIJ
diff --git a/public_test_cases/p00482/output.0.txt b/public_test_cases/p00482/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00482/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00483/input.0.txt b/public_test_cases/p00483/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfb4164223397713921e6417f4f160f86f4cc11b
--- /dev/null
+++ b/public_test_cases/p00483/input.0.txt
@@ -0,0 +1,10 @@
+4 7
+4
+JIOJOIJ
+IOJOIJO
+JOIJOOI
+OOJJIJO
+3 5 4 7
+2 2 3 6
+2 2 2 2
+1 1 4 7
diff --git a/public_test_cases/p00483/input.1.txt b/public_test_cases/p00483/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfb4164223397713921e6417f4f160f86f4cc11b
--- /dev/null
+++ b/public_test_cases/p00483/input.1.txt
@@ -0,0 +1,10 @@
+4 7
+4
+JIOJOIJ
+IOJOIJO
+JOIJOOI
+OOJJIJO
+3 5 4 7
+2 2 3 6
+2 2 2 2
+1 1 4 7
diff --git a/public_test_cases/p00483/output.0.txt b/public_test_cases/p00483/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a4e346b52253ac809e78e6e2aeb964db3c443b2
--- /dev/null
+++ b/public_test_cases/p00483/output.0.txt
@@ -0,0 +1,4 @@
+1 3 2
+3 5 2
+0 1 0
+10 11 7
diff --git a/public_test_cases/p00483/output.1.txt b/public_test_cases/p00483/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a4e346b52253ac809e78e6e2aeb964db3c443b2
--- /dev/null
+++ b/public_test_cases/p00483/output.1.txt
@@ -0,0 +1,4 @@
+1 3 2
+3 5 2
+0 1 0
+10 11 7
diff --git a/public_test_cases/p00484/input.0.txt b/public_test_cases/p00484/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..724195155d3bfc720a15ac4ac3ecd219e11e6589
--- /dev/null
+++ b/public_test_cases/p00484/input.0.txt
@@ -0,0 +1,8 @@
+7 4
+14 1
+13 2
+12 3
+14 2
+8 2
+16 3
+11 2
diff --git a/public_test_cases/p00484/input.1.txt b/public_test_cases/p00484/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..724195155d3bfc720a15ac4ac3ecd219e11e6589
--- /dev/null
+++ b/public_test_cases/p00484/input.1.txt
@@ -0,0 +1,8 @@
+7 4
+14 1
+13 2
+12 3
+14 2
+8 2
+16 3
+11 2
diff --git a/public_test_cases/p00484/output.0.txt b/public_test_cases/p00484/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p00484/output.0.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p00484/output.1.txt b/public_test_cases/p00484/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p00484/output.1.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p00485/input.0.txt b/public_test_cases/p00485/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..089a904b9a0ac31413a0f9476481bd804ab6b561
--- /dev/null
+++ b/public_test_cases/p00485/input.0.txt
@@ -0,0 +1,5 @@
+3 3 1
+1 2 1
+2 3 1
+3 1 1
+1
diff --git a/public_test_cases/p00485/input.1.txt b/public_test_cases/p00485/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..089a904b9a0ac31413a0f9476481bd804ab6b561
--- /dev/null
+++ b/public_test_cases/p00485/input.1.txt
@@ -0,0 +1,5 @@
+3 3 1
+1 2 1
+2 3 1
+3 1 1
+1
diff --git a/public_test_cases/p00485/output.0.txt b/public_test_cases/p00485/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00485/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00485/output.1.txt b/public_test_cases/p00485/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00485/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00486/input.0.txt b/public_test_cases/p00486/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83719a8642e351cd33e5752cf7380af2e3232a33
--- /dev/null
+++ b/public_test_cases/p00486/input.0.txt
@@ -0,0 +1,5 @@
+5 4
+3
+1 1
+3 4
+5 3
diff --git a/public_test_cases/p00486/input.1.txt b/public_test_cases/p00486/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83719a8642e351cd33e5752cf7380af2e3232a33
--- /dev/null
+++ b/public_test_cases/p00486/input.1.txt
@@ -0,0 +1,5 @@
+5 4
+3
+1 1
+3 4
+5 3
diff --git a/public_test_cases/p00486/output.0.txt b/public_test_cases/p00486/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3d27ffbf0418faf03dae8aec9928c677f9ff805
--- /dev/null
+++ b/public_test_cases/p00486/output.0.txt
@@ -0,0 +1,2 @@
+10
+3 3
diff --git a/public_test_cases/p00486/output.1.txt b/public_test_cases/p00486/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3d27ffbf0418faf03dae8aec9928c677f9ff805
--- /dev/null
+++ b/public_test_cases/p00486/output.1.txt
@@ -0,0 +1,2 @@
+10
+3 3
diff --git a/public_test_cases/p00487/input.0.txt b/public_test_cases/p00487/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fddd90113914970f9113b4e17c906faf555ba3f5
--- /dev/null
+++ b/public_test_cases/p00487/input.0.txt
@@ -0,0 +1,7 @@
+6
+12 8
+5 9
+2 4
+10 12
+6 7
+13 9
diff --git a/public_test_cases/p00487/input.1.txt b/public_test_cases/p00487/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fddd90113914970f9113b4e17c906faf555ba3f5
--- /dev/null
+++ b/public_test_cases/p00487/input.1.txt
@@ -0,0 +1,7 @@
+6
+12 8
+5 9
+2 4
+10 12
+6 7
+13 9
diff --git a/public_test_cases/p00487/output.0.txt b/public_test_cases/p00487/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00487/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00487/output.1.txt b/public_test_cases/p00487/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00487/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00488/input.0.txt b/public_test_cases/p00488/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..def4b3d1d3df81e87778ed8495565d1e78885864
--- /dev/null
+++ b/public_test_cases/p00488/input.0.txt
@@ -0,0 +1,5 @@
+800
+700
+900
+198
+330
diff --git a/public_test_cases/p00488/input.1.txt b/public_test_cases/p00488/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..def4b3d1d3df81e87778ed8495565d1e78885864
--- /dev/null
+++ b/public_test_cases/p00488/input.1.txt
@@ -0,0 +1,5 @@
+800
+700
+900
+198
+330
diff --git a/public_test_cases/p00488/output.0.txt b/public_test_cases/p00488/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e18fc9c1ae346233fe28f54186a6922d10515b3
--- /dev/null
+++ b/public_test_cases/p00488/output.0.txt
@@ -0,0 +1 @@
+848
diff --git a/public_test_cases/p00488/output.1.txt b/public_test_cases/p00488/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e18fc9c1ae346233fe28f54186a6922d10515b3
--- /dev/null
+++ b/public_test_cases/p00488/output.1.txt
@@ -0,0 +1 @@
+848
diff --git a/public_test_cases/p00489/input.0.txt b/public_test_cases/p00489/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9fdc191d5aa1fa8ae5aa15c153d72475fe80dfa
--- /dev/null
+++ b/public_test_cases/p00489/input.0.txt
@@ -0,0 +1,7 @@
+4
+1 2 0 1
+1 3 2 1
+1 4 2 2
+2 3 1 1
+2 4 3 0
+3 4 1 3
diff --git a/public_test_cases/p00489/input.1.txt b/public_test_cases/p00489/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9fdc191d5aa1fa8ae5aa15c153d72475fe80dfa
--- /dev/null
+++ b/public_test_cases/p00489/input.1.txt
@@ -0,0 +1,7 @@
+4
+1 2 0 1
+1 3 2 1
+1 4 2 2
+2 3 1 1
+2 4 3 0
+3 4 1 3
diff --git a/public_test_cases/p00489/output.0.txt b/public_test_cases/p00489/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92831152fe09dee6feb22f9b01319691b9974b83
--- /dev/null
+++ b/public_test_cases/p00489/output.0.txt
@@ -0,0 +1,4 @@
+2
+1
+4
+2
diff --git a/public_test_cases/p00489/output.1.txt b/public_test_cases/p00489/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92831152fe09dee6feb22f9b01319691b9974b83
--- /dev/null
+++ b/public_test_cases/p00489/output.1.txt
@@ -0,0 +1,4 @@
+2
+1
+4
+2
diff --git a/public_test_cases/p00490/input.0.txt b/public_test_cases/p00490/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c7d6b18203b6b32f78bd1a00a2ee319831249f7
--- /dev/null
+++ b/public_test_cases/p00490/input.0.txt
@@ -0,0 +1,6 @@
+3
+12 2
+200
+50
+300
+100
diff --git a/public_test_cases/p00490/input.1.txt b/public_test_cases/p00490/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c7d6b18203b6b32f78bd1a00a2ee319831249f7
--- /dev/null
+++ b/public_test_cases/p00490/input.1.txt
@@ -0,0 +1,6 @@
+3
+12 2
+200
+50
+300
+100
diff --git a/public_test_cases/p00490/output.0.txt b/public_test_cases/p00490/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81b5c5d06cc0b8290c264b408abb32cc0986e8f2
--- /dev/null
+++ b/public_test_cases/p00490/output.0.txt
@@ -0,0 +1 @@
+37
diff --git a/public_test_cases/p00490/output.1.txt b/public_test_cases/p00490/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81b5c5d06cc0b8290c264b408abb32cc0986e8f2
--- /dev/null
+++ b/public_test_cases/p00490/output.1.txt
@@ -0,0 +1 @@
+37
diff --git a/public_test_cases/p00491/input.0.txt b/public_test_cases/p00491/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6e64a97f7c4f66cd03da69216c8dcb30d252303
--- /dev/null
+++ b/public_test_cases/p00491/input.0.txt
@@ -0,0 +1,4 @@
+5 3
+3 1
+1 1
+4 2
diff --git a/public_test_cases/p00491/input.1.txt b/public_test_cases/p00491/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6e64a97f7c4f66cd03da69216c8dcb30d252303
--- /dev/null
+++ b/public_test_cases/p00491/input.1.txt
@@ -0,0 +1,4 @@
+5 3
+3 1
+1 1
+4 2
diff --git a/public_test_cases/p00491/output.0.txt b/public_test_cases/p00491/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00491/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00491/output.1.txt b/public_test_cases/p00491/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00491/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00492/input.0.txt b/public_test_cases/p00492/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..054fcdce22f9f017cc7dac723c1841e3638df9e8
--- /dev/null
+++ b/public_test_cases/p00492/input.0.txt
@@ -0,0 +1,5 @@
+8 4
+0 1 0 1 0 1 1 1
+0 1 1 0 0 1 0 0
+1 0 1 0 1 1 1 1
+0 1 1 0 1 0 1 0
diff --git a/public_test_cases/p00492/input.1.txt b/public_test_cases/p00492/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..054fcdce22f9f017cc7dac723c1841e3638df9e8
--- /dev/null
+++ b/public_test_cases/p00492/input.1.txt
@@ -0,0 +1,5 @@
+8 4
+0 1 0 1 0 1 1 1
+0 1 1 0 0 1 0 0
+1 0 1 0 1 1 1 1
+0 1 1 0 1 0 1 0
diff --git a/public_test_cases/p00492/output.0.txt b/public_test_cases/p00492/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p00492/output.0.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p00492/output.1.txt b/public_test_cases/p00492/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p00492/output.1.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p00493/input.0.txt b/public_test_cases/p00493/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ecff2c10cb89ea6cd6ce238671a32be47d36506
--- /dev/null
+++ b/public_test_cases/p00493/input.0.txt
@@ -0,0 +1,3 @@
+100
+200
+5
diff --git a/public_test_cases/p00493/input.1.txt b/public_test_cases/p00493/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ecff2c10cb89ea6cd6ce238671a32be47d36506
--- /dev/null
+++ b/public_test_cases/p00493/input.1.txt
@@ -0,0 +1,3 @@
+100
+200
+5
diff --git a/public_test_cases/p00493/output.0.txt b/public_test_cases/p00493/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p00493/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p00493/output.1.txt b/public_test_cases/p00493/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p00493/output.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p00494/input.0.txt b/public_test_cases/p00494/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b2fa96c41eed9ba68a4f184b4c62bb6fa7236ec
--- /dev/null
+++ b/public_test_cases/p00494/input.0.txt
@@ -0,0 +1 @@
+OJJOOIIOJOI
diff --git a/public_test_cases/p00494/output.0.txt b/public_test_cases/p00494/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00494/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00495/input.0.txt b/public_test_cases/p00495/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7be82dbc13f9406ad3bcc5c2bbe41955922dd157
--- /dev/null
+++ b/public_test_cases/p00495/input.0.txt
@@ -0,0 +1,3 @@
+5 4
+1 2 3 4 5
+3 1 4 1
diff --git a/public_test_cases/p00495/output.0.txt b/public_test_cases/p00495/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00495/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00496/input.0.txt b/public_test_cases/p00496/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adffaec6d853b37d779f6af1f0a7862f88486383
--- /dev/null
+++ b/public_test_cases/p00496/input.0.txt
@@ -0,0 +1,6 @@
+5 20 14
+8 9
+2 4
+7 13
+6 3
+5 8
diff --git a/public_test_cases/p00496/input.1.txt b/public_test_cases/p00496/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adffaec6d853b37d779f6af1f0a7862f88486383
--- /dev/null
+++ b/public_test_cases/p00496/input.1.txt
@@ -0,0 +1,6 @@
+5 20 14
+8 9
+2 4
+7 13
+6 3
+5 8
diff --git a/public_test_cases/p00496/input.2.txt b/public_test_cases/p00496/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00496/input.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00496/output.0.txt b/public_test_cases/p00496/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p00496/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p00496/output.1.txt b/public_test_cases/p00496/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p00496/output.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p00496/output.2.txt b/public_test_cases/p00496/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00496/output.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00497/input.0.txt b/public_test_cases/p00497/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30ec59631a14a28a14e974bee0f829be699fac4a
--- /dev/null
+++ b/public_test_cases/p00497/input.0.txt
@@ -0,0 +1,3 @@
+5 2
+2 2 1
+2 1 3
diff --git a/public_test_cases/p00497/input.1.txt b/public_test_cases/p00497/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00497/input.1.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00497/input.2.txt b/public_test_cases/p00497/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30ec59631a14a28a14e974bee0f829be699fac4a
--- /dev/null
+++ b/public_test_cases/p00497/input.2.txt
@@ -0,0 +1,3 @@
+5 2
+2 2 1
+2 1 3
diff --git a/public_test_cases/p00497/output.0.txt b/public_test_cases/p00497/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p00497/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p00497/output.1.txt b/public_test_cases/p00497/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00497/output.1.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00497/output.2.txt b/public_test_cases/p00497/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p00497/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p00498/input.0.txt b/public_test_cases/p00498/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91b6f3b805a849914cc8be1380adcae0a42aead6
--- /dev/null
+++ b/public_test_cases/p00498/input.0.txt
@@ -0,0 +1,12 @@
+6 6 2 3
+1 2 5
+2 3 4
+2 4 6
+3 5 9
+4 5 3
+5 6 7
+1
+6
+3 4
+5 2
+1 4
diff --git a/public_test_cases/p00498/output.0.txt b/public_test_cases/p00498/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..267dabb73cd30deae7788e0eef5e587e820b97ec
--- /dev/null
+++ b/public_test_cases/p00498/output.0.txt
@@ -0,0 +1,3 @@
+7
+5
+0
diff --git a/public_test_cases/p00499/input.0.txt b/public_test_cases/p00499/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70ba73a983064dc6d23f212f6ff65ce05c418240
--- /dev/null
+++ b/public_test_cases/p00499/input.0.txt
@@ -0,0 +1,5 @@
+20
+25
+30
+6
+8
diff --git a/public_test_cases/p00499/input.1.txt b/public_test_cases/p00499/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70ba73a983064dc6d23f212f6ff65ce05c418240
--- /dev/null
+++ b/public_test_cases/p00499/input.1.txt
@@ -0,0 +1,5 @@
+20
+25
+30
+6
+8
diff --git a/public_test_cases/p00499/output.0.txt b/public_test_cases/p00499/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p00499/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p00499/output.1.txt b/public_test_cases/p00499/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p00499/output.1.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p00500/input.0.txt b/public_test_cases/p00500/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c9a61323b3d7fdd5079aaa3cb5708e3e5379bc4
--- /dev/null
+++ b/public_test_cases/p00500/input.0.txt
@@ -0,0 +1,6 @@
+5
+100 99 98
+100 97 92
+63 89 63
+99 99 99
+89 97 98
diff --git a/public_test_cases/p00500/input.1.txt b/public_test_cases/p00500/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c9a61323b3d7fdd5079aaa3cb5708e3e5379bc4
--- /dev/null
+++ b/public_test_cases/p00500/input.1.txt
@@ -0,0 +1,6 @@
+5
+100 99 98
+100 97 92
+63 89 63
+99 99 99
+89 97 98
diff --git a/public_test_cases/p00500/output.0.txt b/public_test_cases/p00500/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1be04dc607fbd6d42b2599e8e41080200aa1b4ba
--- /dev/null
+++ b/public_test_cases/p00500/output.0.txt
@@ -0,0 +1,5 @@
+0
+92
+215
+198
+89
diff --git a/public_test_cases/p00500/output.1.txt b/public_test_cases/p00500/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1be04dc607fbd6d42b2599e8e41080200aa1b4ba
--- /dev/null
+++ b/public_test_cases/p00500/output.1.txt
@@ -0,0 +1,5 @@
+0
+92
+215
+198
+89
diff --git a/public_test_cases/p00501/input.0.txt b/public_test_cases/p00501/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fbce3a61607295e8ee3ae84eceb7751d6c00376
--- /dev/null
+++ b/public_test_cases/p00501/input.0.txt
@@ -0,0 +1,6 @@
+4
+bar
+abracadabra
+bear
+bar
+baraxbara
diff --git a/public_test_cases/p00501/input.1.txt b/public_test_cases/p00501/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fbce3a61607295e8ee3ae84eceb7751d6c00376
--- /dev/null
+++ b/public_test_cases/p00501/input.1.txt
@@ -0,0 +1,6 @@
+4
+bar
+abracadabra
+bear
+bar
+baraxbara
diff --git a/public_test_cases/p00501/output.0.txt b/public_test_cases/p00501/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00501/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00501/output.1.txt b/public_test_cases/p00501/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00501/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00502/input.0.txt b/public_test_cases/p00502/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ec63293177f68d3fc6d24ab5e5d9b6d805a3441
--- /dev/null
+++ b/public_test_cases/p00502/input.0.txt
@@ -0,0 +1,8 @@
+3 4
+31
+27
+35
+20 25 30
+23 29 90
+21 35 60
+28 33 40
diff --git a/public_test_cases/p00502/input.1.txt b/public_test_cases/p00502/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ec63293177f68d3fc6d24ab5e5d9b6d805a3441
--- /dev/null
+++ b/public_test_cases/p00502/input.1.txt
@@ -0,0 +1,8 @@
+3 4
+31
+27
+35
+20 25 30
+23 29 90
+21 35 60
+28 33 40
diff --git a/public_test_cases/p00502/output.0.txt b/public_test_cases/p00502/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p00502/output.0.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p00502/output.1.txt b/public_test_cases/p00502/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p00502/output.1.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p00503/input.0.txt b/public_test_cases/p00503/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ded8c00a8735c07aa232e587b5afba389726545
--- /dev/null
+++ b/public_test_cases/p00503/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+30 50 0 50 70 100
+10 20 20 70 90 60
+40 60 20 90 90 70
diff --git a/public_test_cases/p00503/input.1.txt b/public_test_cases/p00503/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ded8c00a8735c07aa232e587b5afba389726545
--- /dev/null
+++ b/public_test_cases/p00503/input.1.txt
@@ -0,0 +1,4 @@
+3 2
+30 50 0 50 70 100
+10 20 20 70 90 60
+40 60 20 90 90 70
diff --git a/public_test_cases/p00503/output.0.txt b/public_test_cases/p00503/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afdd418402aef3f8fe266a04d34586ec8f5dcd12
--- /dev/null
+++ b/public_test_cases/p00503/output.0.txt
@@ -0,0 +1 @@
+49000
diff --git a/public_test_cases/p00503/output.1.txt b/public_test_cases/p00503/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afdd418402aef3f8fe266a04d34586ec8f5dcd12
--- /dev/null
+++ b/public_test_cases/p00503/output.1.txt
@@ -0,0 +1 @@
+49000
diff --git a/public_test_cases/p00504/input.0.txt b/public_test_cases/p00504/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..312bf7f65d0d2810d2f557a6ea25f7179cf89393
--- /dev/null
+++ b/public_test_cases/p00504/input.0.txt
@@ -0,0 +1,6 @@
+5 4 2
+...#
+.#.#
+.#73
+8##.
+....
diff --git a/public_test_cases/p00504/input.1.txt b/public_test_cases/p00504/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..312bf7f65d0d2810d2f557a6ea25f7179cf89393
--- /dev/null
+++ b/public_test_cases/p00504/input.1.txt
@@ -0,0 +1,6 @@
+5 4 2
+...#
+.#.#
+.#73
+8##.
+....
diff --git a/public_test_cases/p00504/output.0.txt b/public_test_cases/p00504/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00504/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00504/output.1.txt b/public_test_cases/p00504/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00504/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00505/input.0.txt b/public_test_cases/p00505/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ada4eac5030821f038ca7c216b057c8caa147e21
--- /dev/null
+++ b/public_test_cases/p00505/input.0.txt
@@ -0,0 +1,5 @@
+3 4 5
+2 1 2
+6 3 4
+1 1 1
+1 2 3
diff --git a/public_test_cases/p00505/output.0.txt b/public_test_cases/p00505/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35d66973cd17e34e8af2ddbd0975cc053c50d369
--- /dev/null
+++ b/public_test_cases/p00505/output.0.txt
@@ -0,0 +1 @@
+3 1 1 1
diff --git a/public_test_cases/p00506/input.0.txt b/public_test_cases/p00506/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb15027ca576d65717b58d670ba6022cbf85c38d
--- /dev/null
+++ b/public_test_cases/p00506/input.0.txt
@@ -0,0 +1,2 @@
+2
+75 125
diff --git a/public_test_cases/p00506/output.0.txt b/public_test_cases/p00506/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05d453538d8783a4161d11a7c2ee13e8d0a1aba8
--- /dev/null
+++ b/public_test_cases/p00506/output.0.txt
@@ -0,0 +1,3 @@
+1
+5
+25
diff --git a/public_test_cases/p00507/input.0.txt b/public_test_cases/p00507/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b55b06454b2f9a222965d61358b26ad4fa982426
--- /dev/null
+++ b/public_test_cases/p00507/input.0.txt
@@ -0,0 +1,4 @@
+3
+2
+7
+5
diff --git a/public_test_cases/p00507/output.0.txt b/public_test_cases/p00507/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0691f67b202a873c99bdb9b99e15a667cb916a5b
--- /dev/null
+++ b/public_test_cases/p00507/output.0.txt
@@ -0,0 +1 @@
+52
diff --git a/public_test_cases/p00508/input.0.txt b/public_test_cases/p00508/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..736b8244187c8d0a21bd7be834a4f2e1aff95c08
--- /dev/null
+++ b/public_test_cases/p00508/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 0
+1 1
diff --git a/public_test_cases/p00508/output.0.txt b/public_test_cases/p00508/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00508/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00509/input.0.txt b/public_test_cases/p00509/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80c0cc79aabb27a7894c5795860fa87c6473f004
--- /dev/null
+++ b/public_test_cases/p00509/input.0.txt
@@ -0,0 +1 @@
+1 0
diff --git a/public_test_cases/p00509/output.0.txt b/public_test_cases/p00509/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398050c62c882fa5ebc8d8aaa2e730e70790beeb
--- /dev/null
+++ b/public_test_cases/p00509/output.0.txt
@@ -0,0 +1 @@
+101
diff --git a/public_test_cases/p00510/input.0.txt b/public_test_cases/p00510/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abd0367c5cc709b7b5fde88769b1d97d1326265d
--- /dev/null
+++ b/public_test_cases/p00510/input.0.txt
@@ -0,0 +1,5 @@
+3
+2
+2 3
+2 3
+4 1
diff --git a/public_test_cases/p00510/output.0.txt b/public_test_cases/p00510/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00510/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00511/input.0.txt b/public_test_cases/p00511/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..009caffa6a0aa0ed1893cf6975fe847658564230
--- /dev/null
+++ b/public_test_cases/p00511/input.0.txt
@@ -0,0 +1,4 @@
+1
++
+1
+=
diff --git a/public_test_cases/p00511/output.0.txt b/public_test_cases/p00511/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00511/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00512/input.0.txt b/public_test_cases/p00512/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74d460b176a58c0cda325b504121ff379c0030fb
--- /dev/null
+++ b/public_test_cases/p00512/input.0.txt
@@ -0,0 +1,6 @@
+5
+A 20
+B 20
+A 20
+AB 10
+Z 10
diff --git a/public_test_cases/p00512/output.0.txt b/public_test_cases/p00512/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d442f08621ac0307234117caf2b5a941744816f
--- /dev/null
+++ b/public_test_cases/p00512/output.0.txt
@@ -0,0 +1,4 @@
+A 40
+B 20
+Z 10
+AB 10
diff --git a/public_test_cases/p00513/input.0.txt b/public_test_cases/p00513/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..220920e69dc97bb0c642949cf90e35ff919043cc
--- /dev/null
+++ b/public_test_cases/p00513/input.0.txt
@@ -0,0 +1,11 @@
+10
+4
+7
+9
+10
+12
+13
+16
+17
+19
+20
diff --git a/public_test_cases/p00513/input.1.txt b/public_test_cases/p00513/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00513/input.1.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00513/input.2.txt b/public_test_cases/p00513/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..220920e69dc97bb0c642949cf90e35ff919043cc
--- /dev/null
+++ b/public_test_cases/p00513/input.2.txt
@@ -0,0 +1,11 @@
+10
+4
+7
+9
+10
+12
+13
+16
+17
+19
+20
diff --git a/public_test_cases/p00513/output.0.txt b/public_test_cases/p00513/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00513/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00513/output.1.txt b/public_test_cases/p00513/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00513/output.1.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00513/output.2.txt b/public_test_cases/p00513/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00513/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00514/input.0.txt b/public_test_cases/p00514/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fc5a74913d1e0922a3d30f54b2b4ca9c6b59417
--- /dev/null
+++ b/public_test_cases/p00514/input.0.txt
@@ -0,0 +1 @@
+2 0 3
diff --git a/public_test_cases/p00514/output.0.txt b/public_test_cases/p00514/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00514/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00515/input.0.txt b/public_test_cases/p00515/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b465ceee743dfb34845f0baa1054afec47b09fd
--- /dev/null
+++ b/public_test_cases/p00515/input.0.txt
@@ -0,0 +1,5 @@
+10
+65
+100
+30
+95
diff --git a/public_test_cases/p00515/input.1.txt b/public_test_cases/p00515/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b465ceee743dfb34845f0baa1054afec47b09fd
--- /dev/null
+++ b/public_test_cases/p00515/input.1.txt
@@ -0,0 +1,5 @@
+10
+65
+100
+30
+95
diff --git a/public_test_cases/p00515/output.0.txt b/public_test_cases/p00515/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b10c1b2badd802b554ecc944a7a40c5f055d47
--- /dev/null
+++ b/public_test_cases/p00515/output.0.txt
@@ -0,0 +1 @@
+68
diff --git a/public_test_cases/p00515/output.1.txt b/public_test_cases/p00515/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b10c1b2badd802b554ecc944a7a40c5f055d47
--- /dev/null
+++ b/public_test_cases/p00515/output.1.txt
@@ -0,0 +1 @@
+68
diff --git a/public_test_cases/p00516/input.0.txt b/public_test_cases/p00516/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b180a0fb7c6eb6f8c6249e5daf4edef7aec1397d
--- /dev/null
+++ b/public_test_cases/p00516/input.0.txt
@@ -0,0 +1,8 @@
+4 3
+5
+3
+1
+4
+4
+3
+2
diff --git a/public_test_cases/p00516/output.0.txt b/public_test_cases/p00516/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00516/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00517/input.0.txt b/public_test_cases/p00517/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b16a42af6e494b688139d59a78980f3d7f34b3aa
--- /dev/null
+++ b/public_test_cases/p00517/input.0.txt
@@ -0,0 +1,4 @@
+4 3 3
+1 1
+3 3
+4 1
diff --git a/public_test_cases/p00517/output.0.txt b/public_test_cases/p00517/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00517/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00518/input.0.txt b/public_test_cases/p00518/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66231f4b11383fc007f6ed20c3d05ca7182cfc68
--- /dev/null
+++ b/public_test_cases/p00518/input.0.txt
@@ -0,0 +1,2 @@
+2
+OI
diff --git a/public_test_cases/p00518/output.0.txt b/public_test_cases/p00518/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p00518/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p00519/input.0.txt b/public_test_cases/p00519/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f5e12783d527467ee7f449f7393d552c3d21889
--- /dev/null
+++ b/public_test_cases/p00519/input.0.txt
@@ -0,0 +1,13 @@
+6 6
+400 2
+200 1
+600 3
+1000 1
+300 5
+700 4
+1 2
+2 3
+3 6
+4 6
+1 5
+2 4
diff --git a/public_test_cases/p00519/input.1.txt b/public_test_cases/p00519/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f5e12783d527467ee7f449f7393d552c3d21889
--- /dev/null
+++ b/public_test_cases/p00519/input.1.txt
@@ -0,0 +1,13 @@
+6 6
+400 2
+200 1
+600 3
+1000 1
+300 5
+700 4
+1 2
+2 3
+3 6
+4 6
+1 5
+2 4
diff --git a/public_test_cases/p00519/input.2.txt b/public_test_cases/p00519/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00519/input.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00519/output.0.txt b/public_test_cases/p00519/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4890ce57fed26f8237519931c4892b8d323d249
--- /dev/null
+++ b/public_test_cases/p00519/output.0.txt
@@ -0,0 +1 @@
+700
diff --git a/public_test_cases/p00519/output.1.txt b/public_test_cases/p00519/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4890ce57fed26f8237519931c4892b8d323d249
--- /dev/null
+++ b/public_test_cases/p00519/output.1.txt
@@ -0,0 +1 @@
+700
diff --git a/public_test_cases/p00519/output.2.txt b/public_test_cases/p00519/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0047fa49f09537200023a679a676db5c8173cfc
--- /dev/null
+++ b/public_test_cases/p00519/output.2.txt
@@ -0,0 +1 @@
+None
diff --git a/public_test_cases/p00520/input.0.txt b/public_test_cases/p00520/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c74fcf721bb368187297fd4d2623ec56652aec5
--- /dev/null
+++ b/public_test_cases/p00520/input.0.txt
@@ -0,0 +1,3 @@
+5
+1 0 1 1 2
+0 2 6 3 4
diff --git a/public_test_cases/p00520/output.0.txt b/public_test_cases/p00520/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p00520/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p00521/input.0.txt b/public_test_cases/p00521/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35e5257754fe13ca997c8069ceeda27373f278ab
--- /dev/null
+++ b/public_test_cases/p00521/input.0.txt
@@ -0,0 +1,6 @@
+3 5
+JOIJO
+IJOOO
+IIJIJ
+JO
+IJ
diff --git a/public_test_cases/p00521/output.0.txt b/public_test_cases/p00521/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00521/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00522/input.0.txt b/public_test_cases/p00522/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56a6f821144fa986980d0f059d61b777e22a2b04
--- /dev/null
+++ b/public_test_cases/p00522/input.0.txt
@@ -0,0 +1,8 @@
+4 3
+180
+160
+170
+190
+2 100
+3 120
+4 250
diff --git a/public_test_cases/p00522/output.0.txt b/public_test_cases/p00522/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36e082614b99c3d3a3445b3f0d978e02031d92d8
--- /dev/null
+++ b/public_test_cases/p00522/output.0.txt
@@ -0,0 +1 @@
+480
diff --git a/public_test_cases/p00523/input.0.txt b/public_test_cases/p00523/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ece36d75c10115770f9b6e56e81128cf012a7d3
--- /dev/null
+++ b/public_test_cases/p00523/input.0.txt
@@ -0,0 +1,7 @@
+6
+1
+5
+4
+5
+2
+4
diff --git a/public_test_cases/p00523/output.0.txt b/public_test_cases/p00523/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00523/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00524/input.0.txt b/public_test_cases/p00524/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f537e7ba7a5b30d123d724640b96e0e7181466e5
--- /dev/null
+++ b/public_test_cases/p00524/input.0.txt
@@ -0,0 +1,11 @@
+5 5 0
+50
+100
+25
+30
+10
+1 2 10
+2 5 50
+2 4 20
+4 3 1
+5 4 20
diff --git a/public_test_cases/p00524/output.0.txt b/public_test_cases/p00524/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p00524/output.0.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p00525/input.0.txt b/public_test_cases/p00525/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ac1d0bdd9143cfefd762b0e15d56232ccfad0a7
--- /dev/null
+++ b/public_test_cases/p00525/input.0.txt
@@ -0,0 +1,6 @@
+10 10 5
+6 0 6 7
+0 6 7 6
+2 3 9 3
+2 3 2 10
+1 9 8 9
diff --git a/public_test_cases/p00525/output.0.txt b/public_test_cases/p00525/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00525/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00526/input.0.txt b/public_test_cases/p00526/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2767cf8330da935376f9fdb2bda68dc1f0f9befa
--- /dev/null
+++ b/public_test_cases/p00526/input.0.txt
@@ -0,0 +1,2 @@
+10
+1 1 0 0 1 0 1 1 1 0
diff --git a/public_test_cases/p00526/input.1.txt b/public_test_cases/p00526/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2767cf8330da935376f9fdb2bda68dc1f0f9befa
--- /dev/null
+++ b/public_test_cases/p00526/input.1.txt
@@ -0,0 +1,2 @@
+10
+1 1 0 0 1 0 1 1 1 0
diff --git a/public_test_cases/p00526/output.0.txt b/public_test_cases/p00526/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p00526/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p00526/output.1.txt b/public_test_cases/p00526/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p00526/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p00527/input.0.txt b/public_test_cases/p00527/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a9cc8ddf0abf3310d6f4be0efd2bae5f15d0e70
--- /dev/null
+++ b/public_test_cases/p00527/input.0.txt
@@ -0,0 +1,3 @@
+5 5
+OIOOI
+OOIOI
diff --git a/public_test_cases/p00527/input.1.txt b/public_test_cases/p00527/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a9cc8ddf0abf3310d6f4be0efd2bae5f15d0e70
--- /dev/null
+++ b/public_test_cases/p00527/input.1.txt
@@ -0,0 +1,3 @@
+5 5
+OIOOI
+OOIOI
diff --git a/public_test_cases/p00527/output.0.txt b/public_test_cases/p00527/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p00527/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p00527/output.1.txt b/public_test_cases/p00527/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p00527/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p00528/input.0.txt b/public_test_cases/p00528/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b81e6020169312a3c460da74f42a16e9c636ad94
--- /dev/null
+++ b/public_test_cases/p00528/input.0.txt
@@ -0,0 +1,2 @@
+3 2 1
+1 2
diff --git a/public_test_cases/p00528/input.1.txt b/public_test_cases/p00528/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b81e6020169312a3c460da74f42a16e9c636ad94
--- /dev/null
+++ b/public_test_cases/p00528/input.1.txt
@@ -0,0 +1,2 @@
+3 2 1
+1 2
diff --git a/public_test_cases/p00528/output.0.txt b/public_test_cases/p00528/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00528/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00528/output.1.txt b/public_test_cases/p00528/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00528/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00529/input.0.txt b/public_test_cases/p00529/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f28b26f564db95583c31b19f50e95767ee2ee869
--- /dev/null
+++ b/public_test_cases/p00529/input.0.txt
@@ -0,0 +1,2 @@
+6
+JOIIOI
diff --git a/public_test_cases/p00529/input.1.txt b/public_test_cases/p00529/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f28b26f564db95583c31b19f50e95767ee2ee869
--- /dev/null
+++ b/public_test_cases/p00529/input.1.txt
@@ -0,0 +1,2 @@
+6
+JOIIOI
diff --git a/public_test_cases/p00529/output.0.txt b/public_test_cases/p00529/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00529/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00529/output.1.txt b/public_test_cases/p00529/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00529/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00530/input.0.txt b/public_test_cases/p00530/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0acd7a56c6bc18885e0777311b3678d25c4d7ba3
--- /dev/null
+++ b/public_test_cases/p00530/input.0.txt
@@ -0,0 +1,6 @@
+5
+10
+3
+6
+8
+1
diff --git a/public_test_cases/p00530/input.1.txt b/public_test_cases/p00530/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0acd7a56c6bc18885e0777311b3678d25c4d7ba3
--- /dev/null
+++ b/public_test_cases/p00530/input.1.txt
@@ -0,0 +1,6 @@
+5
+10
+3
+6
+8
+1
diff --git a/public_test_cases/p00530/output.0.txt b/public_test_cases/p00530/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00530/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00530/output.1.txt b/public_test_cases/p00530/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00530/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00531/input.0.txt b/public_test_cases/p00531/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce8aefa8b0e7b3101783d6b2d4a5c64bfffda138
--- /dev/null
+++ b/public_test_cases/p00531/input.0.txt
@@ -0,0 +1,5 @@
+9
+100
+20
+3
+10
diff --git a/public_test_cases/p00531/output.0.txt b/public_test_cases/p00531/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61f00d8cad3920809f4d992ac3031b3f32e7f10
--- /dev/null
+++ b/public_test_cases/p00531/output.0.txt
@@ -0,0 +1 @@
+90
diff --git a/public_test_cases/p00532/input.0.txt b/public_test_cases/p00532/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eee56bb1ddb6b2d70e18ff3edad8072369d31abf
--- /dev/null
+++ b/public_test_cases/p00532/input.0.txt
@@ -0,0 +1,7 @@
+3
+4
+1 2 3 2
+1 1 2
+3 2 2
+1 1 3
+2 2 2
diff --git a/public_test_cases/p00532/output.0.txt b/public_test_cases/p00532/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2e8ea0904b0fdd2d02ac80f08d60c82e199e8a5
--- /dev/null
+++ b/public_test_cases/p00532/output.0.txt
@@ -0,0 +1,3 @@
+3
+4
+5
diff --git a/public_test_cases/p00533/input.0.txt b/public_test_cases/p00533/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..048e4ab39f09237bfdf0b729d044add38827c9d9
--- /dev/null
+++ b/public_test_cases/p00533/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+c..c
+..c.
+....
diff --git a/public_test_cases/p00533/output.0.txt b/public_test_cases/p00533/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbbc0cbded717aab9e1912a5450b5a1882eb6b94
--- /dev/null
+++ b/public_test_cases/p00533/output.0.txt
@@ -0,0 +1,3 @@
+0 1 2 0
+-1 -1 0 1
+-1 -1 -1 -1
diff --git a/public_test_cases/p00534/input.0.txt b/public_test_cases/p00534/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94110e3809617d7223b306617baf8530ee0e3b61
--- /dev/null
+++ b/public_test_cases/p00534/input.0.txt
@@ -0,0 +1,9 @@
+3 5
+10
+25
+15
+50
+30
+15
+40
+30
diff --git a/public_test_cases/p00534/input.1.txt b/public_test_cases/p00534/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94110e3809617d7223b306617baf8530ee0e3b61
--- /dev/null
+++ b/public_test_cases/p00534/input.1.txt
@@ -0,0 +1,9 @@
+3 5
+10
+25
+15
+50
+30
+15
+40
+30
diff --git a/public_test_cases/p00534/output.0.txt b/public_test_cases/p00534/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7061465351498768c4b9bb21c500c9531d87d414
--- /dev/null
+++ b/public_test_cases/p00534/output.0.txt
@@ -0,0 +1 @@
+1125
diff --git a/public_test_cases/p00534/output.1.txt b/public_test_cases/p00534/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7061465351498768c4b9bb21c500c9531d87d414
--- /dev/null
+++ b/public_test_cases/p00534/output.1.txt
@@ -0,0 +1 @@
+1125
diff --git a/public_test_cases/p00535/input.0.txt b/public_test_cases/p00535/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..312185f6997890b3038d5be65b2cff8c962cb3ec
--- /dev/null
+++ b/public_test_cases/p00535/input.0.txt
@@ -0,0 +1,6 @@
+5 6
+......
+.939..
+.3428.
+.9393.
+......
diff --git a/public_test_cases/p00535/output.0.txt b/public_test_cases/p00535/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00535/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00536/input.0.txt b/public_test_cases/p00536/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61875a5ddb22d4378325e8ecadaa197c3823428
--- /dev/null
+++ b/public_test_cases/p00536/input.0.txt
@@ -0,0 +1,7 @@
+6 15
+50 900
+30 200
+40 100
+80 600
+60 100
+70 700
diff --git a/public_test_cases/p00536/output.0.txt b/public_test_cases/p00536/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59a3ec59b53573619be25381cf973b173e2a60ba
--- /dev/null
+++ b/public_test_cases/p00536/output.0.txt
@@ -0,0 +1 @@
+1200
diff --git a/public_test_cases/p00537/input.0.txt b/public_test_cases/p00537/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65f093ec9207b8b9ac0475f68b781839b12491df
--- /dev/null
+++ b/public_test_cases/p00537/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+1 3 2 4
+120 90 100
+110 50 80
+250 70 130
diff --git a/public_test_cases/p00537/input.1.txt b/public_test_cases/p00537/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65f093ec9207b8b9ac0475f68b781839b12491df
--- /dev/null
+++ b/public_test_cases/p00537/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+1 3 2 4
+120 90 100
+110 50 80
+250 70 130
diff --git a/public_test_cases/p00537/output.0.txt b/public_test_cases/p00537/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75e27a6bd6cd35c489cbf14e7a853a1b37c75319
--- /dev/null
+++ b/public_test_cases/p00537/output.0.txt
@@ -0,0 +1 @@
+550
diff --git a/public_test_cases/p00537/output.1.txt b/public_test_cases/p00537/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75e27a6bd6cd35c489cbf14e7a853a1b37c75319
--- /dev/null
+++ b/public_test_cases/p00537/output.1.txt
@@ -0,0 +1 @@
+550
diff --git a/public_test_cases/p00538/input.0.txt b/public_test_cases/p00538/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a9768a996678e73f3c1c7e59a1b127a6cef1df7
--- /dev/null
+++ b/public_test_cases/p00538/input.0.txt
@@ -0,0 +1,6 @@
+5
+2
+8
+1
+10
+9
diff --git a/public_test_cases/p00538/input.1.txt b/public_test_cases/p00538/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a9768a996678e73f3c1c7e59a1b127a6cef1df7
--- /dev/null
+++ b/public_test_cases/p00538/input.1.txt
@@ -0,0 +1,6 @@
+5
+2
+8
+1
+10
+9
diff --git a/public_test_cases/p00538/output.0.txt b/public_test_cases/p00538/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p00538/output.0.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p00538/output.1.txt b/public_test_cases/p00538/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p00538/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p00539/input.0.txt b/public_test_cases/p00539/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e712a4e89829272f47ebbc74cc80093cd951f586
--- /dev/null
+++ b/public_test_cases/p00539/input.0.txt
@@ -0,0 +1,6 @@
+5 5 2
+2 3 1
+3 1 2
+2 4 3
+1 2 4
+2 5 5
diff --git a/public_test_cases/p00539/input.1.txt b/public_test_cases/p00539/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e712a4e89829272f47ebbc74cc80093cd951f586
--- /dev/null
+++ b/public_test_cases/p00539/input.1.txt
@@ -0,0 +1,6 @@
+5 5 2
+2 3 1
+3 1 2
+2 4 3
+1 2 4
+2 5 5
diff --git a/public_test_cases/p00539/output.0.txt b/public_test_cases/p00539/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p00539/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p00539/output.1.txt b/public_test_cases/p00539/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p00539/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p00540/input.0.txt b/public_test_cases/p00540/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02e46fb01b80568b764a80d1dac42c609f52e9bc
--- /dev/null
+++ b/public_test_cases/p00540/input.0.txt
@@ -0,0 +1,8 @@
+7 3
+5 2
+5 5
+8 6
+6
+2
+8
+9
diff --git a/public_test_cases/p00540/input.1.txt b/public_test_cases/p00540/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02e46fb01b80568b764a80d1dac42c609f52e9bc
--- /dev/null
+++ b/public_test_cases/p00540/input.1.txt
@@ -0,0 +1,8 @@
+7 3
+5 2
+5 5
+8 6
+6
+2
+8
+9
diff --git a/public_test_cases/p00540/output.0.txt b/public_test_cases/p00540/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00540/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00540/output.1.txt b/public_test_cases/p00540/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00540/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00541/input.0.txt b/public_test_cases/p00541/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c23cb5b57ee4dcb1dfd0e522548b820534ad8f3
--- /dev/null
+++ b/public_test_cases/p00541/input.0.txt
@@ -0,0 +1,3 @@
+5 5 3 2
+2 2
+4 3
diff --git a/public_test_cases/p00541/input.1.txt b/public_test_cases/p00541/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c23cb5b57ee4dcb1dfd0e522548b820534ad8f3
--- /dev/null
+++ b/public_test_cases/p00541/input.1.txt
@@ -0,0 +1,3 @@
+5 5 3 2
+2 2
+4 3
diff --git a/public_test_cases/p00541/output.0.txt b/public_test_cases/p00541/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00541/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00541/output.1.txt b/public_test_cases/p00541/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00541/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00542/input.0.txt b/public_test_cases/p00542/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e3909682f3bf48932a0c55bc06c6f4edafbe2ea
--- /dev/null
+++ b/public_test_cases/p00542/input.0.txt
@@ -0,0 +1,6 @@
+100
+34
+76
+42
+10
+0
diff --git a/public_test_cases/p00542/input.1.txt b/public_test_cases/p00542/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e3909682f3bf48932a0c55bc06c6f4edafbe2ea
--- /dev/null
+++ b/public_test_cases/p00542/input.1.txt
@@ -0,0 +1,6 @@
+100
+34
+76
+42
+10
+0
diff --git a/public_test_cases/p00542/output.0.txt b/public_test_cases/p00542/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9be0dc9a9e6f4d2dedc39a0148a071fd5e2e455d
--- /dev/null
+++ b/public_test_cases/p00542/output.0.txt
@@ -0,0 +1 @@
+228
diff --git a/public_test_cases/p00542/output.1.txt b/public_test_cases/p00542/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9be0dc9a9e6f4d2dedc39a0148a071fd5e2e455d
--- /dev/null
+++ b/public_test_cases/p00542/output.1.txt
@@ -0,0 +1 @@
+228
diff --git a/public_test_cases/p00543/input.0.txt b/public_test_cases/p00543/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..644f9e5cf23eb0b8673bd901b4fc62c867b1a5e5
--- /dev/null
+++ b/public_test_cases/p00543/input.0.txt
@@ -0,0 +1,7 @@
+6 4
+3
+2
+8
+3
+1
+5
diff --git a/public_test_cases/p00543/input.1.txt b/public_test_cases/p00543/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..644f9e5cf23eb0b8673bd901b4fc62c867b1a5e5
--- /dev/null
+++ b/public_test_cases/p00543/input.1.txt
@@ -0,0 +1,7 @@
+6 4
+3
+2
+8
+3
+1
+5
diff --git a/public_test_cases/p00543/output.0.txt b/public_test_cases/p00543/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04b109af90cb95827d2747d0561a8621227e30ae
--- /dev/null
+++ b/public_test_cases/p00543/output.0.txt
@@ -0,0 +1,6 @@
+2
+3
+1
+8
+5
+3
diff --git a/public_test_cases/p00543/output.1.txt b/public_test_cases/p00543/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04b109af90cb95827d2747d0561a8621227e30ae
--- /dev/null
+++ b/public_test_cases/p00543/output.1.txt
@@ -0,0 +1,6 @@
+2
+3
+1
+8
+5
+3
diff --git a/public_test_cases/p00544/input.0.txt b/public_test_cases/p00544/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b3bfdb99379d738788d1d177e775fe585ae4442
--- /dev/null
+++ b/public_test_cases/p00544/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+WRWRW
+BWRWB
+WRWRW
+RWBWR
diff --git a/public_test_cases/p00544/input.1.txt b/public_test_cases/p00544/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b3bfdb99379d738788d1d177e775fe585ae4442
--- /dev/null
+++ b/public_test_cases/p00544/input.1.txt
@@ -0,0 +1,5 @@
+4 5
+WRWRW
+BWRWB
+WRWRW
+RWBWR
diff --git a/public_test_cases/p00544/output.0.txt b/public_test_cases/p00544/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00544/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00544/output.1.txt b/public_test_cases/p00544/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00544/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00545/input.0.txt b/public_test_cases/p00545/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4916060435cfc87516ec8664c0cab04264a15ccd
--- /dev/null
+++ b/public_test_cases/p00545/input.0.txt
@@ -0,0 +1,9 @@
+5 5 3
+-8 1
+-4 2
+-2 2
+4 2
+10 1
+1
+3
+5
diff --git a/public_test_cases/p00545/input.1.txt b/public_test_cases/p00545/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4916060435cfc87516ec8664c0cab04264a15ccd
--- /dev/null
+++ b/public_test_cases/p00545/input.1.txt
@@ -0,0 +1,9 @@
+5 5 3
+-8 1
+-4 2
+-2 2
+4 2
+10 1
+1
+3
+5
diff --git a/public_test_cases/p00545/output.0.txt b/public_test_cases/p00545/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7436c57ddf9325008c9f9baa28fdc2cab5cbffca
--- /dev/null
+++ b/public_test_cases/p00545/output.0.txt
@@ -0,0 +1,3 @@
+-6
+-6
+15
diff --git a/public_test_cases/p00545/output.1.txt b/public_test_cases/p00545/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7436c57ddf9325008c9f9baa28fdc2cab5cbffca
--- /dev/null
+++ b/public_test_cases/p00545/output.1.txt
@@ -0,0 +1,3 @@
+-6
+-6
+15
diff --git a/public_test_cases/p00546/input.0.txt b/public_test_cases/p00546/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9b9f3d0e79f5d6da2b46b71a68a26a73e4ced48
--- /dev/null
+++ b/public_test_cases/p00546/input.0.txt
@@ -0,0 +1,24 @@
+13 21 1 1
+1000 6000
+7
+1 2
+3 7
+2 4
+5 8
+8 9
+2 5
+3 4
+4 7
+9 10
+10 11
+5 9
+7 12
+3 6
+4 5
+1 3
+11 12
+6 7
+8 11
+6 13
+7 8
+12 13
diff --git a/public_test_cases/p00546/input.1.txt b/public_test_cases/p00546/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9b9f3d0e79f5d6da2b46b71a68a26a73e4ced48
--- /dev/null
+++ b/public_test_cases/p00546/input.1.txt
@@ -0,0 +1,24 @@
+13 21 1 1
+1000 6000
+7
+1 2
+3 7
+2 4
+5 8
+8 9
+2 5
+3 4
+4 7
+9 10
+10 11
+5 9
+7 12
+3 6
+4 5
+1 3
+11 12
+6 7
+8 11
+6 13
+7 8
+12 13
diff --git a/public_test_cases/p00546/output.0.txt b/public_test_cases/p00546/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82b3803a20e9f2f5a15500747a459c5ccf2208fd
--- /dev/null
+++ b/public_test_cases/p00546/output.0.txt
@@ -0,0 +1 @@
+11000
diff --git a/public_test_cases/p00546/output.1.txt b/public_test_cases/p00546/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82b3803a20e9f2f5a15500747a459c5ccf2208fd
--- /dev/null
+++ b/public_test_cases/p00546/output.1.txt
@@ -0,0 +1 @@
+11000
diff --git a/public_test_cases/p00547/input.0.txt b/public_test_cases/p00547/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e9b62a71a9576fb747a515b277c7df0a06acb31
--- /dev/null
+++ b/public_test_cases/p00547/input.0.txt
@@ -0,0 +1,6 @@
+5 5
+..483
+.59.9
+3.866
+79...
+4.8..
diff --git a/public_test_cases/p00547/input.1.txt b/public_test_cases/p00547/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e9b62a71a9576fb747a515b277c7df0a06acb31
--- /dev/null
+++ b/public_test_cases/p00547/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+..483
+.59.9
+3.866
+79...
+4.8..
diff --git a/public_test_cases/p00547/output.0.txt b/public_test_cases/p00547/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p00547/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p00547/output.1.txt b/public_test_cases/p00547/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p00547/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p00548/input.0.txt b/public_test_cases/p00548/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f9373f5c39b1dd71b17b3fd5e7a640aee36b3a3
--- /dev/null
+++ b/public_test_cases/p00548/input.0.txt
@@ -0,0 +1,7 @@
+6 3 6
+1
+2
+3
+1
+2
+1
diff --git a/public_test_cases/p00548/output.0.txt b/public_test_cases/p00548/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p00548/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p00549/input.0.txt b/public_test_cases/p00549/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00b6d777b38c993cf8f1992ba624a0beb05ce5d0
--- /dev/null
+++ b/public_test_cases/p00549/input.0.txt
@@ -0,0 +1,2 @@
+5
+JOIOI
diff --git a/public_test_cases/p00549/output.0.txt b/public_test_cases/p00549/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00549/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00550/input.0.txt b/public_test_cases/p00550/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b3244337281742680dec4df1953bb4cf7018c94
--- /dev/null
+++ b/public_test_cases/p00550/input.0.txt
@@ -0,0 +1,12 @@
+5 6 5
+1 2
+1 3
+4 2
+3 2
+2 5
+5 3
+5
+2
+4
+1
+3
diff --git a/public_test_cases/p00550/output.0.txt b/public_test_cases/p00550/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..080c074815da030aa13e6fd8ee188cf931234a5f
--- /dev/null
+++ b/public_test_cases/p00550/output.0.txt
@@ -0,0 +1,5 @@
+0
+2
+2
+4
+4
diff --git a/public_test_cases/p00551/input.0.txt b/public_test_cases/p00551/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6d394badf96b601f0a58e631a056e6f35510cae
--- /dev/null
+++ b/public_test_cases/p00551/input.0.txt
@@ -0,0 +1,2 @@
+12 1
+EENWSEEESWWS
diff --git a/public_test_cases/p00551/output.0.txt b/public_test_cases/p00551/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00551/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00552/input.0.txt b/public_test_cases/p00552/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a4f66d2e76d0706c9296472b351c8fa4afa100f
--- /dev/null
+++ b/public_test_cases/p00552/input.0.txt
@@ -0,0 +1,3 @@
+10 2
+12 1 3
+2 2 2
diff --git a/public_test_cases/p00552/output.0.txt b/public_test_cases/p00552/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18d4f3626994a8f1ed24533cfa9e75b2110f9196
--- /dev/null
+++ b/public_test_cases/p00552/output.0.txt
@@ -0,0 +1,10 @@
+3
+3
+5
+5
+5
+5
+5
+5
+2
+2
diff --git a/public_test_cases/p00553/input.0.txt b/public_test_cases/p00553/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8846daf23295d3afcecff4bf9a9b92c0184d3b0
--- /dev/null
+++ b/public_test_cases/p00553/input.0.txt
@@ -0,0 +1,5 @@
+-10
+20
+5
+10
+3
diff --git a/public_test_cases/p00553/output.0.txt b/public_test_cases/p00553/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52bd8e43afb01d0c9747f1fedf2fc94684ee4cc4
--- /dev/null
+++ b/public_test_cases/p00553/output.0.txt
@@ -0,0 +1 @@
+120
diff --git a/public_test_cases/p00554/input.0.txt b/public_test_cases/p00554/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45f008908565a8b4120ae35122ac477cd2d47f37
--- /dev/null
+++ b/public_test_cases/p00554/input.0.txt
@@ -0,0 +1,6 @@
+4 5
+1 7
+6 2
+3 5
+4 4
+0 8
diff --git a/public_test_cases/p00554/output.0.txt b/public_test_cases/p00554/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00554/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00555/input.0.txt b/public_test_cases/p00555/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b59c9cae5596fd1650df7ff4db7a1189be2430d4
--- /dev/null
+++ b/public_test_cases/p00555/input.0.txt
@@ -0,0 +1,4 @@
+3 5 2
+...#.
+#...#
+....#
diff --git a/public_test_cases/p00555/output.0.txt b/public_test_cases/p00555/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p00555/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p00556/input.0.txt b/public_test_cases/p00556/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5841a137b6d3d571989fd4a2608b60c00be50940
--- /dev/null
+++ b/public_test_cases/p00556/input.0.txt
@@ -0,0 +1,8 @@
+7 2
+1
+2
+2
+2
+1
+2
+1
diff --git a/public_test_cases/p00556/output.0.txt b/public_test_cases/p00556/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00556/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00557/input.0.txt b/public_test_cases/p00557/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63a746ed9a9b60d3490afe31ee958cff4ce9cdd9
--- /dev/null
+++ b/public_test_cases/p00557/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+2 9 4
+7 5 3
+6 1 8
diff --git a/public_test_cases/p00557/output.0.txt b/public_test_cases/p00557/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00557/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00558/input.0.txt b/public_test_cases/p00558/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b54081fa2a3abf74175f54c46442ec60a76f4cb6
--- /dev/null
+++ b/public_test_cases/p00558/input.0.txt
@@ -0,0 +1,19 @@
+8 10 4
+0
+1
+1
+2
+1
+1
+2
+0
+1 2 1
+1 3 1
+2 3 3
+2 4 5
+3 4 1
+4 5 1
+5 6 1
+5 8 1
+1 7 2
+7 8 2
diff --git a/public_test_cases/p00558/output.0.txt b/public_test_cases/p00558/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p00558/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p00559/input.0.txt b/public_test_cases/p00559/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cec98e5b405411b20e4e18681a36861774211582
--- /dev/null
+++ b/public_test_cases/p00559/input.0.txt
@@ -0,0 +1,10 @@
+3 5 1 2
+0
+4
+1
+8
+1 2 2
+1 1 -2
+2 3 5
+1 2 -1
+1 3 5
diff --git a/public_test_cases/p00559/input.1.txt b/public_test_cases/p00559/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cec98e5b405411b20e4e18681a36861774211582
--- /dev/null
+++ b/public_test_cases/p00559/input.1.txt
@@ -0,0 +1,10 @@
+3 5 1 2
+0
+4
+1
+8
+1 2 2
+1 1 -2
+2 3 5
+1 2 -1
+1 3 5
diff --git a/public_test_cases/p00559/output.0.txt b/public_test_cases/p00559/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaedc719209cb0e66d02398e2470fbb0fff6e3e1
--- /dev/null
+++ b/public_test_cases/p00559/output.0.txt
@@ -0,0 +1,5 @@
+-5
+-7
+-13
+-13
+-18
diff --git a/public_test_cases/p00559/output.1.txt b/public_test_cases/p00559/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaedc719209cb0e66d02398e2470fbb0fff6e3e1
--- /dev/null
+++ b/public_test_cases/p00559/output.1.txt
@@ -0,0 +1,5 @@
+-5
+-7
+-13
+-13
+-18
diff --git a/public_test_cases/p00560/input.0.txt b/public_test_cases/p00560/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7076c0efc09144519de650e264ac9d8e5f996347
--- /dev/null
+++ b/public_test_cases/p00560/input.0.txt
@@ -0,0 +1,6 @@
+10 3 5
+10 3 5
+30
+1
+6
+10
diff --git a/public_test_cases/p00560/input.1.txt b/public_test_cases/p00560/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7076c0efc09144519de650e264ac9d8e5f996347
--- /dev/null
+++ b/public_test_cases/p00560/input.1.txt
@@ -0,0 +1,6 @@
+10 3 5
+10 3 5
+30
+1
+6
+10
diff --git a/public_test_cases/p00560/output.0.txt b/public_test_cases/p00560/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00560/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00560/output.1.txt b/public_test_cases/p00560/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00560/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00561/input.0.txt b/public_test_cases/p00561/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4036888b8138dc56325584e5b49853cd07e758fb
--- /dev/null
+++ b/public_test_cases/p00561/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+1 12 6 11
+11 10 2 14
+10 1 9 20
+4 17 19 10
diff --git a/public_test_cases/p00561/input.1.txt b/public_test_cases/p00561/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4036888b8138dc56325584e5b49853cd07e758fb
--- /dev/null
+++ b/public_test_cases/p00561/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+1 12 6 11
+11 10 2 14
+10 1 9 20
+4 17 19 10
diff --git a/public_test_cases/p00561/output.0.txt b/public_test_cases/p00561/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00561/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00561/output.1.txt b/public_test_cases/p00561/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00561/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00562/input.0.txt b/public_test_cases/p00562/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ee2e21e945c8e0513ee60dec8df03194213fd19
--- /dev/null
+++ b/public_test_cases/p00562/input.0.txt
@@ -0,0 +1,6 @@
+6 5
+1 3 6
+3
+1 1
+0 4
+6 5
diff --git a/public_test_cases/p00562/input.1.txt b/public_test_cases/p00562/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ee2e21e945c8e0513ee60dec8df03194213fd19
--- /dev/null
+++ b/public_test_cases/p00562/input.1.txt
@@ -0,0 +1,6 @@
+6 5
+1 3 6
+3
+1 1
+0 4
+6 5
diff --git a/public_test_cases/p00562/output.0.txt b/public_test_cases/p00562/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p00562/output.0.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p00562/output.1.txt b/public_test_cases/p00562/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p00562/output.1.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p00563/input.0.txt b/public_test_cases/p00563/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f32853dfe91f1f5fa230cc09055a815c07660bfd
--- /dev/null
+++ b/public_test_cases/p00563/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+1 2 3 3 2
diff --git a/public_test_cases/p00563/input.1.txt b/public_test_cases/p00563/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f32853dfe91f1f5fa230cc09055a815c07660bfd
--- /dev/null
+++ b/public_test_cases/p00563/input.1.txt
@@ -0,0 +1,2 @@
+5 3
+1 2 3 3 2
diff --git a/public_test_cases/p00563/output.0.txt b/public_test_cases/p00563/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe234be093e7ad8424af41b8a2162a42d19b3e9
--- /dev/null
+++ b/public_test_cases/p00563/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+1
diff --git a/public_test_cases/p00563/output.1.txt b/public_test_cases/p00563/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe234be093e7ad8424af41b8a2162a42d19b3e9
--- /dev/null
+++ b/public_test_cases/p00563/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+1
diff --git a/public_test_cases/p00570/input.0.txt b/public_test_cases/p00570/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1ab6bfff653611c285e958a22ad2ac401237d81
--- /dev/null
+++ b/public_test_cases/p00570/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+1
+3
+6
diff --git a/public_test_cases/p00570/input.1.txt b/public_test_cases/p00570/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1ab6bfff653611c285e958a22ad2ac401237d81
--- /dev/null
+++ b/public_test_cases/p00570/input.1.txt
@@ -0,0 +1,4 @@
+3 2
+1
+3
+6
diff --git a/public_test_cases/p00570/output.0.txt b/public_test_cases/p00570/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00570/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00570/output.1.txt b/public_test_cases/p00570/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00570/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00571/input.0.txt b/public_test_cases/p00571/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0c88407e4f651b546e40e4998b8993e9cbd72e6
--- /dev/null
+++ b/public_test_cases/p00571/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 3
+11 2
+4 5
diff --git a/public_test_cases/p00571/input.1.txt b/public_test_cases/p00571/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0c88407e4f651b546e40e4998b8993e9cbd72e6
--- /dev/null
+++ b/public_test_cases/p00571/input.1.txt
@@ -0,0 +1,4 @@
+3
+2 3
+11 2
+4 5
diff --git a/public_test_cases/p00571/output.0.txt b/public_test_cases/p00571/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00571/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00571/output.1.txt b/public_test_cases/p00571/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00571/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00572/input.0.txt b/public_test_cases/p00572/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b170a8a4937aeafd407f009da5d6a5b95e93ce24
--- /dev/null
+++ b/public_test_cases/p00572/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+RGWR
+GRGG
+RGWW
diff --git a/public_test_cases/p00572/input.1.txt b/public_test_cases/p00572/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b170a8a4937aeafd407f009da5d6a5b95e93ce24
--- /dev/null
+++ b/public_test_cases/p00572/input.1.txt
@@ -0,0 +1,4 @@
+3 4
+RGWR
+GRGG
+RGWW
diff --git a/public_test_cases/p00572/output.0.txt b/public_test_cases/p00572/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00572/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00572/output.1.txt b/public_test_cases/p00572/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00572/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00573/input.0.txt b/public_test_cases/p00573/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a125d17cc7136c84707520389a4d81c55be08347
--- /dev/null
+++ b/public_test_cases/p00573/input.0.txt
@@ -0,0 +1,9 @@
+6 6
+1 6
+1 4
+1 2 1
+2 3 1
+3 5 1
+2 4 3
+4 5 2
+5 6 1
diff --git a/public_test_cases/p00573/input.1.txt b/public_test_cases/p00573/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a125d17cc7136c84707520389a4d81c55be08347
--- /dev/null
+++ b/public_test_cases/p00573/input.1.txt
@@ -0,0 +1,9 @@
+6 6
+1 6
+1 4
+1 2 1
+2 3 1
+3 5 1
+2 4 3
+4 5 2
+5 6 1
diff --git a/public_test_cases/p00573/output.0.txt b/public_test_cases/p00573/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00573/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00573/output.1.txt b/public_test_cases/p00573/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00573/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00574/input.0.txt b/public_test_cases/p00574/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c85fec7fdfff9141d14299f42db66fcea04d2e5c
--- /dev/null
+++ b/public_test_cases/p00574/input.0.txt
@@ -0,0 +1,7 @@
+3 5
+12345678
+000
+0??
+1?0
+?11
+???
diff --git a/public_test_cases/p00574/input.1.txt b/public_test_cases/p00574/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c85fec7fdfff9141d14299f42db66fcea04d2e5c
--- /dev/null
+++ b/public_test_cases/p00574/input.1.txt
@@ -0,0 +1,7 @@
+3 5
+12345678
+000
+0??
+1?0
+?11
+???
diff --git a/public_test_cases/p00574/output.0.txt b/public_test_cases/p00574/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..063abfae940687242c42c3a2e7240d6e1c3141bb
--- /dev/null
+++ b/public_test_cases/p00574/output.0.txt
@@ -0,0 +1,5 @@
+1
+10
+12
+12
+36
diff --git a/public_test_cases/p00574/output.1.txt b/public_test_cases/p00574/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..063abfae940687242c42c3a2e7240d6e1c3141bb
--- /dev/null
+++ b/public_test_cases/p00574/output.1.txt
@@ -0,0 +1,5 @@
+1
+10
+12
+12
+36
diff --git a/public_test_cases/p00575/input.0.txt b/public_test_cases/p00575/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dc7162cac5c76af676526ec0f3351fa370e810a
--- /dev/null
+++ b/public_test_cases/p00575/input.0.txt
@@ -0,0 +1 @@
+3 0 10
diff --git a/public_test_cases/p00575/input.1.txt b/public_test_cases/p00575/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dc7162cac5c76af676526ec0f3351fa370e810a
--- /dev/null
+++ b/public_test_cases/p00575/input.1.txt
@@ -0,0 +1 @@
+3 0 10
diff --git a/public_test_cases/p00575/output.0.txt b/public_test_cases/p00575/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00575/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00575/output.1.txt b/public_test_cases/p00575/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00575/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00576/input.0.txt b/public_test_cases/p00576/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc9fd83ec867bdbcc8400df8be8c9568d08efb5f
--- /dev/null
+++ b/public_test_cases/p00576/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 3 6
+2
+1 3
diff --git a/public_test_cases/p00576/output.0.txt b/public_test_cases/p00576/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ad209730d8bd13f1901a6faa451aa75bf873ce1
--- /dev/null
+++ b/public_test_cases/p00576/output.0.txt
@@ -0,0 +1,3 @@
+2
+3
+7
diff --git a/public_test_cases/p00577/input.0.txt b/public_test_cases/p00577/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16c93869a5ebf8c35c86e0933dc612f2e7579c06
--- /dev/null
+++ b/public_test_cases/p00577/input.0.txt
@@ -0,0 +1,2 @@
+5
+OXXOX
diff --git a/public_test_cases/p00577/output.0.txt b/public_test_cases/p00577/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00577/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00578/input.0.txt b/public_test_cases/p00578/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e09da6c87aaea15145196f40f1195d067e0d01a
--- /dev/null
+++ b/public_test_cases/p00578/input.0.txt
@@ -0,0 +1,2 @@
+6
+0 1 2 1 3 2
diff --git a/public_test_cases/p00578/output.0.txt b/public_test_cases/p00578/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00578/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00579/input.0.txt b/public_test_cases/p00579/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..927ea472d5ef31f68dda90c0670c6b3666a30d18
--- /dev/null
+++ b/public_test_cases/p00579/input.0.txt
@@ -0,0 +1,3 @@
+4 1
+1 2 3 8
+2 4
diff --git a/public_test_cases/p00579/output.0.txt b/public_test_cases/p00579/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p00579/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p00580/input.0.txt b/public_test_cases/p00580/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1833f640710780b7cd87e6639d7ff8925c201dc7
--- /dev/null
+++ b/public_test_cases/p00580/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 1 1 1
diff --git a/public_test_cases/p00580/output.0.txt b/public_test_cases/p00580/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00580/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00581/input.0.txt b/public_test_cases/p00581/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11a8bdd1385c0a5be5221c935fb23beef18d45b9
--- /dev/null
+++ b/public_test_cases/p00581/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+JOIJ
+JIOO
+IIII
diff --git a/public_test_cases/p00581/output.0.txt b/public_test_cases/p00581/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00581/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00582/input.0.txt b/public_test_cases/p00582/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4a661dbd6b846cda3fbf1ac7bff32f46b4c53da
--- /dev/null
+++ b/public_test_cases/p00582/input.0.txt
@@ -0,0 +1,8 @@
+3 4
+10 20
+5 1
+3 5
+4
+6
+10
+4
diff --git a/public_test_cases/p00582/output.0.txt b/public_test_cases/p00582/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00582/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00583/input.0.txt b/public_test_cases/p00583/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..482405e44fd0d723a0608b691a5d8be15c23d2fa
--- /dev/null
+++ b/public_test_cases/p00583/input.0.txt
@@ -0,0 +1,2 @@
+5
+RRGYY
diff --git a/public_test_cases/p00583/output.0.txt b/public_test_cases/p00583/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00583/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00584/input.0.txt b/public_test_cases/p00584/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..520a80a2c8665e1163da9d87880f263a59fb50c5
--- /dev/null
+++ b/public_test_cases/p00584/input.0.txt
@@ -0,0 +1,7 @@
+3
+0 0
+0 4
+4 0
+2 1
+2 5
+-1 1
diff --git a/public_test_cases/p00584/output.0.txt b/public_test_cases/p00584/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p00584/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p00585/input.0.txt b/public_test_cases/p00585/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b3b26e01511186c18a8ba9931de9886875203ef
--- /dev/null
+++ b/public_test_cases/p00585/input.0.txt
@@ -0,0 +1,6 @@
+5 4
+1 2
+2 3
+3 4
+3 5
+1 2 1 2 4
diff --git a/public_test_cases/p00585/output.0.txt b/public_test_cases/p00585/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..172e9e5af990512baa8caa175709c2568210ce2d
--- /dev/null
+++ b/public_test_cases/p00585/output.0.txt
@@ -0,0 +1,5 @@
+2
+0
+1
+1
+1
diff --git a/public_test_cases/p00586/input.0.txt b/public_test_cases/p00586/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d022e9fa555b1dafd52487c855fc24b810e216dc
--- /dev/null
+++ b/public_test_cases/p00586/input.0.txt
@@ -0,0 +1,3 @@
+1 2
+10 5
+100 20
diff --git a/public_test_cases/p00586/input.1.txt b/public_test_cases/p00586/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d022e9fa555b1dafd52487c855fc24b810e216dc
--- /dev/null
+++ b/public_test_cases/p00586/input.1.txt
@@ -0,0 +1,3 @@
+1 2
+10 5
+100 20
diff --git a/public_test_cases/p00586/output.0.txt b/public_test_cases/p00586/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..869cdc76f26b4b20cac4f4632f8085a55d43f359
--- /dev/null
+++ b/public_test_cases/p00586/output.0.txt
@@ -0,0 +1,3 @@
+3
+15
+120
diff --git a/public_test_cases/p00586/output.1.txt b/public_test_cases/p00586/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..869cdc76f26b4b20cac4f4632f8085a55d43f359
--- /dev/null
+++ b/public_test_cases/p00586/output.1.txt
@@ -0,0 +1,3 @@
+3
+15
+120
diff --git a/public_test_cases/p00587/input.0.txt b/public_test_cases/p00587/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c521813f5072540310cbcdc7ffe46d7dce8e3ad6
--- /dev/null
+++ b/public_test_cases/p00587/input.0.txt
@@ -0,0 +1,2 @@
+i ((,),(,)) ((,(,)),)
+u ((,),(,)) ((,(,)),)
diff --git a/public_test_cases/p00587/input.1.txt b/public_test_cases/p00587/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c521813f5072540310cbcdc7ffe46d7dce8e3ad6
--- /dev/null
+++ b/public_test_cases/p00587/input.1.txt
@@ -0,0 +1,2 @@
+i ((,),(,)) ((,(,)),)
+u ((,),(,)) ((,(,)),)
diff --git a/public_test_cases/p00587/output.0.txt b/public_test_cases/p00587/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04d210dc5f5622fc9d0761374fb1dbf9f97e6929
--- /dev/null
+++ b/public_test_cases/p00587/output.0.txt
@@ -0,0 +1,2 @@
+((,),)
+((,(,)),(,))
diff --git a/public_test_cases/p00587/output.1.txt b/public_test_cases/p00587/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04d210dc5f5622fc9d0761374fb1dbf9f97e6929
--- /dev/null
+++ b/public_test_cases/p00587/output.1.txt
@@ -0,0 +1,2 @@
+((,),)
+((,(,)),(,))
diff --git a/public_test_cases/p00588/input.0.txt b/public_test_cases/p00588/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b06b2fedb58d62a2058f1dbeb678e2aec428f4
--- /dev/null
+++ b/public_test_cases/p00588/input.0.txt
@@ -0,0 +1,5 @@
+2
+2
+YNNNNYYY
+4
+NYNNYYNNNYNYYNNN
diff --git a/public_test_cases/p00588/input.1.txt b/public_test_cases/p00588/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b06b2fedb58d62a2058f1dbeb678e2aec428f4
--- /dev/null
+++ b/public_test_cases/p00588/input.1.txt
@@ -0,0 +1,5 @@
+2
+2
+YNNNNYYY
+4
+NYNNYYNNNYNYYNNN
diff --git a/public_test_cases/p00588/output.0.txt b/public_test_cases/p00588/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95b562c8e68036d3eeda8bd9f59123609db2498b
--- /dev/null
+++ b/public_test_cases/p00588/output.0.txt
@@ -0,0 +1,2 @@
+6
+9
diff --git a/public_test_cases/p00588/output.1.txt b/public_test_cases/p00588/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95b562c8e68036d3eeda8bd9f59123609db2498b
--- /dev/null
+++ b/public_test_cases/p00588/output.1.txt
@@ -0,0 +1,2 @@
+6
+9
diff --git a/public_test_cases/p00589/input.0.txt b/public_test_cases/p00589/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..978dcffe29d2e288c0507021915852eecd36ccef
--- /dev/null
+++ b/public_test_cases/p00589/input.0.txt
@@ -0,0 +1,3 @@
+666660666
+44444416003334446633111
+20202202000333003330333
diff --git a/public_test_cases/p00589/input.1.txt b/public_test_cases/p00589/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..978dcffe29d2e288c0507021915852eecd36ccef
--- /dev/null
+++ b/public_test_cases/p00589/input.1.txt
@@ -0,0 +1,3 @@
+666660666
+44444416003334446633111
+20202202000333003330333
diff --git a/public_test_cases/p00589/output.0.txt b/public_test_cases/p00589/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13822b71aeca532c3ebba13a4528899f94a34e29
--- /dev/null
+++ b/public_test_cases/p00589/output.0.txt
@@ -0,0 +1,3 @@
+No
+I'm fine.
+aaba f ff
diff --git a/public_test_cases/p00589/output.1.txt b/public_test_cases/p00589/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13822b71aeca532c3ebba13a4528899f94a34e29
--- /dev/null
+++ b/public_test_cases/p00589/output.1.txt
@@ -0,0 +1,3 @@
+No
+I'm fine.
+aaba f ff
diff --git a/public_test_cases/p00590/input.0.txt b/public_test_cases/p00590/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c9031f0eed53ddd309cb8eb73e54e1037efa5e6
--- /dev/null
+++ b/public_test_cases/p00590/input.0.txt
@@ -0,0 +1,4 @@
+1
+4
+7
+51
diff --git a/public_test_cases/p00590/input.1.txt b/public_test_cases/p00590/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c9031f0eed53ddd309cb8eb73e54e1037efa5e6
--- /dev/null
+++ b/public_test_cases/p00590/input.1.txt
@@ -0,0 +1,4 @@
+1
+4
+7
+51
diff --git a/public_test_cases/p00590/output.0.txt b/public_test_cases/p00590/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e70222671300830ca2818cc44bf6a4e7f189f3b4
--- /dev/null
+++ b/public_test_cases/p00590/output.0.txt
@@ -0,0 +1,4 @@
+0
+2
+2
+6
diff --git a/public_test_cases/p00590/output.1.txt b/public_test_cases/p00590/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e70222671300830ca2818cc44bf6a4e7f189f3b4
--- /dev/null
+++ b/public_test_cases/p00590/output.1.txt
@@ -0,0 +1,4 @@
+0
+2
+2
+6
diff --git a/public_test_cases/p00591/input.0.txt b/public_test_cases/p00591/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fee40df601f9d433e8f7662c28dc999ef73db2d
--- /dev/null
+++ b/public_test_cases/p00591/input.0.txt
@@ -0,0 +1,9 @@
+3
+1 2 3
+4 5 6
+7 8 9
+3
+1 2 3
+7 8 9
+4 5 6
+0
diff --git a/public_test_cases/p00591/input.1.txt b/public_test_cases/p00591/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fee40df601f9d433e8f7662c28dc999ef73db2d
--- /dev/null
+++ b/public_test_cases/p00591/input.1.txt
@@ -0,0 +1,9 @@
+3
+1 2 3
+4 5 6
+7 8 9
+3
+1 2 3
+7 8 9
+4 5 6
+0
diff --git a/public_test_cases/p00591/output.0.txt b/public_test_cases/p00591/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49019db807899bc5793047943ce0fbb1a09b2e14
--- /dev/null
+++ b/public_test_cases/p00591/output.0.txt
@@ -0,0 +1,2 @@
+7
+7
diff --git a/public_test_cases/p00591/output.1.txt b/public_test_cases/p00591/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49019db807899bc5793047943ce0fbb1a09b2e14
--- /dev/null
+++ b/public_test_cases/p00591/output.1.txt
@@ -0,0 +1,2 @@
+7
+7
diff --git a/public_test_cases/p00592/input.0.txt b/public_test_cases/p00592/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6f6be2a184e64cea411539cfe120ea6612ea0b0
--- /dev/null
+++ b/public_test_cases/p00592/input.0.txt
@@ -0,0 +1,11 @@
+1 2100 2400
+1
+2130 2200
+3 2100 2400
+3
+2100 2130 2200 2230 2300 2330
+2
+2130 2200 2330 2400
+2
+2100 2130 2330 2400
+0 0 0
diff --git a/public_test_cases/p00592/output.0.txt b/public_test_cases/p00592/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61028f20a901caca427f962e621bcbaa8aac7ca7
--- /dev/null
+++ b/public_test_cases/p00592/output.0.txt
@@ -0,0 +1,2 @@
+120
+180
diff --git a/public_test_cases/p00593/input.0.txt b/public_test_cases/p00593/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b22b448c0fd52cae4d6fa4e8f396e5dfb83734ef
--- /dev/null
+++ b/public_test_cases/p00593/input.0.txt
@@ -0,0 +1,3 @@
+3
+4
+0
diff --git a/public_test_cases/p00593/input.1.txt b/public_test_cases/p00593/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b22b448c0fd52cae4d6fa4e8f396e5dfb83734ef
--- /dev/null
+++ b/public_test_cases/p00593/input.1.txt
@@ -0,0 +1,3 @@
+3
+4
+0
diff --git a/public_test_cases/p00593/output.0.txt b/public_test_cases/p00593/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3261af2562932014b6da604cc0c4a4c6db9a7c86
--- /dev/null
+++ b/public_test_cases/p00593/output.0.txt
@@ -0,0 +1,9 @@
+Case 1:
+ 1 2 6
+ 3 5 7
+ 4 8 9
+Case 2:
+ 1 2 6 7
+ 3 5 8 13
+ 4 9 12 14
+ 10 11 15 16
diff --git a/public_test_cases/p00593/output.1.txt b/public_test_cases/p00593/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3261af2562932014b6da604cc0c4a4c6db9a7c86
--- /dev/null
+++ b/public_test_cases/p00593/output.1.txt
@@ -0,0 +1,9 @@
+Case 1:
+ 1 2 6
+ 3 5 7
+ 4 8 9
+Case 2:
+ 1 2 6 7
+ 3 5 8 13
+ 4 9 12 14
+ 10 11 15 16
diff --git a/public_test_cases/p00594/input.0.txt b/public_test_cases/p00594/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5891461e490003468881e17f8d6fb3efb4919ae
--- /dev/null
+++ b/public_test_cases/p00594/input.0.txt
@@ -0,0 +1,5 @@
+8
+3 1 2 3 3 1 5 3
+7
+5 2 5 3 4 5 5
+0
diff --git a/public_test_cases/p00594/input.1.txt b/public_test_cases/p00594/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5891461e490003468881e17f8d6fb3efb4919ae
--- /dev/null
+++ b/public_test_cases/p00594/input.1.txt
@@ -0,0 +1,5 @@
+8
+3 1 2 3 3 1 5 3
+7
+5 2 5 3 4 5 5
+0
diff --git a/public_test_cases/p00594/output.0.txt b/public_test_cases/p00594/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2da56d7585101124db56de16602463892e75ac67
--- /dev/null
+++ b/public_test_cases/p00594/output.0.txt
@@ -0,0 +1,2 @@
+NO COLOR
+5
diff --git a/public_test_cases/p00594/output.1.txt b/public_test_cases/p00594/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2da56d7585101124db56de16602463892e75ac67
--- /dev/null
+++ b/public_test_cases/p00594/output.1.txt
@@ -0,0 +1,2 @@
+NO COLOR
+5
diff --git a/public_test_cases/p00595/input.0.txt b/public_test_cases/p00595/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33f2111cbb6a8fda044c8c79881f2e9317bb3246
--- /dev/null
+++ b/public_test_cases/p00595/input.0.txt
@@ -0,0 +1,2 @@
+57 38
+60 84
diff --git a/public_test_cases/p00595/input.1.txt b/public_test_cases/p00595/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33f2111cbb6a8fda044c8c79881f2e9317bb3246
--- /dev/null
+++ b/public_test_cases/p00595/input.1.txt
@@ -0,0 +1,2 @@
+57 38
+60 84
diff --git a/public_test_cases/p00595/output.0.txt b/public_test_cases/p00595/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..984cd0d19792527129ce124763ca2972c3811a1c
--- /dev/null
+++ b/public_test_cases/p00595/output.0.txt
@@ -0,0 +1,2 @@
+19
+12
diff --git a/public_test_cases/p00595/output.1.txt b/public_test_cases/p00595/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..984cd0d19792527129ce124763ca2972c3811a1c
--- /dev/null
+++ b/public_test_cases/p00595/output.1.txt
@@ -0,0 +1,2 @@
+19
+12
diff --git a/public_test_cases/p00596/input.0.txt b/public_test_cases/p00596/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7cd4223e19822520197849b421c8a5d79f0a471
--- /dev/null
+++ b/public_test_cases/p00596/input.0.txt
@@ -0,0 +1,4 @@
+6
+13 23 14 24 15 25
+10
+00 01 11 02 12 22 03 13 23 33
diff --git a/public_test_cases/p00596/input.1.txt b/public_test_cases/p00596/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7cd4223e19822520197849b421c8a5d79f0a471
--- /dev/null
+++ b/public_test_cases/p00596/input.1.txt
@@ -0,0 +1,4 @@
+6
+13 23 14 24 15 25
+10
+00 01 11 02 12 22 03 13 23 33
diff --git a/public_test_cases/p00596/output.0.txt b/public_test_cases/p00596/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00596/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00596/output.1.txt b/public_test_cases/p00596/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00596/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00597/input.0.txt b/public_test_cases/p00597/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f1b638ff5484e6eb4dd0128d8e70e75b0946e98
--- /dev/null
+++ b/public_test_cases/p00597/input.0.txt
@@ -0,0 +1,2 @@
+1
+4
diff --git a/public_test_cases/p00597/input.1.txt b/public_test_cases/p00597/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f1b638ff5484e6eb4dd0128d8e70e75b0946e98
--- /dev/null
+++ b/public_test_cases/p00597/input.1.txt
@@ -0,0 +1,2 @@
+1
+4
diff --git a/public_test_cases/p00597/output.0.txt b/public_test_cases/p00597/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19be0583652c18cc7ec81f2c3f16fcea799ed9bb
--- /dev/null
+++ b/public_test_cases/p00597/output.0.txt
@@ -0,0 +1,2 @@
+1
+8
diff --git a/public_test_cases/p00597/output.1.txt b/public_test_cases/p00597/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19be0583652c18cc7ec81f2c3f16fcea799ed9bb
--- /dev/null
+++ b/public_test_cases/p00597/output.1.txt
@@ -0,0 +1,2 @@
+1
+8
diff --git a/public_test_cases/p00598/input.0.txt b/public_test_cases/p00598/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b233dac9fd7a94d3e631543d70a18b40f0198504
--- /dev/null
+++ b/public_test_cases/p00598/input.0.txt
@@ -0,0 +1,16 @@
+A 3
+1 3 -1
+B 4
+3 1 5 7
+D 1
+5
+R 0
+cAiBdD
+C 3
+1 2 3
+A 4
+2 10 8 3
+B 3
+2 4 8
+R 0
+(As(AiB))uC
diff --git a/public_test_cases/p00598/input.1.txt b/public_test_cases/p00598/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b233dac9fd7a94d3e631543d70a18b40f0198504
--- /dev/null
+++ b/public_test_cases/p00598/input.1.txt
@@ -0,0 +1,16 @@
+A 3
+1 3 -1
+B 4
+3 1 5 7
+D 1
+5
+R 0
+cAiBdD
+C 3
+1 2 3
+A 4
+2 10 8 3
+B 3
+2 4 8
+R 0
+(As(AiB))uC
diff --git a/public_test_cases/p00598/output.0.txt b/public_test_cases/p00598/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d915ef00aad544073f59a8dfb38f2d9c6b9b5726
--- /dev/null
+++ b/public_test_cases/p00598/output.0.txt
@@ -0,0 +1,2 @@
+7
+1 2 3 10
diff --git a/public_test_cases/p00598/output.1.txt b/public_test_cases/p00598/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d915ef00aad544073f59a8dfb38f2d9c6b9b5726
--- /dev/null
+++ b/public_test_cases/p00598/output.1.txt
@@ -0,0 +1,2 @@
+7
+1 2 3 10
diff --git a/public_test_cases/p00599/input.0.txt b/public_test_cases/p00599/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f3fdaf616b8b4141814f93e83cb97491573e270
--- /dev/null
+++ b/public_test_cases/p00599/input.0.txt
@@ -0,0 +1,9 @@
+4
+-5.000000 0.000000
+5.000000 0.000000
+9.635255 14.265848
+-0.364745 14.265848
+3
+-1.000000 0.000000
+0.000000 0.000000
+0.000000 1.000000
diff --git a/public_test_cases/p00599/input.1.txt b/public_test_cases/p00599/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f3fdaf616b8b4141814f93e83cb97491573e270
--- /dev/null
+++ b/public_test_cases/p00599/input.1.txt
@@ -0,0 +1,9 @@
+4
+-5.000000 0.000000
+5.000000 0.000000
+9.635255 14.265848
+-0.364745 14.265848
+3
+-1.000000 0.000000
+0.000000 0.000000
+0.000000 1.000000
diff --git a/public_test_cases/p00599/output.0.txt b/public_test_cases/p00599/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c409d1d73f8da9a3db78db252bc32d9847d84219
--- /dev/null
+++ b/public_test_cases/p00599/output.0.txt
@@ -0,0 +1,2 @@
+0 150
+-1 -1
diff --git a/public_test_cases/p00599/output.1.txt b/public_test_cases/p00599/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c409d1d73f8da9a3db78db252bc32d9847d84219
--- /dev/null
+++ b/public_test_cases/p00599/output.1.txt
@@ -0,0 +1,2 @@
+0 150
+-1 -1
diff --git a/public_test_cases/p00600/input.0.txt b/public_test_cases/p00600/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75548d7ef9335237f14d54b0c8cd1cb70a8c98f8
--- /dev/null
+++ b/public_test_cases/p00600/input.0.txt
@@ -0,0 +1,9 @@
+3 5
+12 8 25 19 23
+9 13 16 0 17
+20 14 16 10 22
+17 27 18 16
+9 7 0
+19 5
+21
+0 0
diff --git a/public_test_cases/p00600/input.1.txt b/public_test_cases/p00600/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75548d7ef9335237f14d54b0c8cd1cb70a8c98f8
--- /dev/null
+++ b/public_test_cases/p00600/input.1.txt
@@ -0,0 +1,9 @@
+3 5
+12 8 25 19 23
+9 13 16 0 17
+20 14 16 10 22
+17 27 18 16
+9 7 0
+19 5
+21
+0 0
diff --git a/public_test_cases/p00600/output.0.txt b/public_test_cases/p00600/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e522732c77ec94723e739d22f28df549b0231f5f
--- /dev/null
+++ b/public_test_cases/p00600/output.0.txt
@@ -0,0 +1 @@
+38
diff --git a/public_test_cases/p00600/output.1.txt b/public_test_cases/p00600/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e522732c77ec94723e739d22f28df549b0231f5f
--- /dev/null
+++ b/public_test_cases/p00600/output.1.txt
@@ -0,0 +1 @@
+38
diff --git a/public_test_cases/p00601/input.0.txt b/public_test_cases/p00601/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95e8bcb0de9821b08cc5d764ce8796446b11d518
--- /dev/null
+++ b/public_test_cases/p00601/input.0.txt
@@ -0,0 +1,11 @@
+5 4
+0 1
+0 4
+1 2
+3 4
+5 4
+0 1
+0 4
+1 2
+3 4
+0 0
diff --git a/public_test_cases/p00601/input.1.txt b/public_test_cases/p00601/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95e8bcb0de9821b08cc5d764ce8796446b11d518
--- /dev/null
+++ b/public_test_cases/p00601/input.1.txt
@@ -0,0 +1,11 @@
+5 4
+0 1
+0 4
+1 2
+3 4
+5 4
+0 1
+0 4
+1 2
+3 4
+0 0
diff --git a/public_test_cases/p00601/output.0.txt b/public_test_cases/p00601/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51993f072d5832f20b98b6bd0cf763fb8b4c8a1b
--- /dev/null
+++ b/public_test_cases/p00601/output.0.txt
@@ -0,0 +1,2 @@
+2
+2
diff --git a/public_test_cases/p00601/output.1.txt b/public_test_cases/p00601/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51993f072d5832f20b98b6bd0cf763fb8b4c8a1b
--- /dev/null
+++ b/public_test_cases/p00601/output.1.txt
@@ -0,0 +1,2 @@
+2
+2
diff --git a/public_test_cases/p00602/input.0.txt b/public_test_cases/p00602/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f1547dcc81f3416ecd289f1838fdfb444aca8bc
--- /dev/null
+++ b/public_test_cases/p00602/input.0.txt
@@ -0,0 +1,3 @@
+5 5
+50 1
+13 13
diff --git a/public_test_cases/p00602/input.1.txt b/public_test_cases/p00602/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f1547dcc81f3416ecd289f1838fdfb444aca8bc
--- /dev/null
+++ b/public_test_cases/p00602/input.1.txt
@@ -0,0 +1,3 @@
+5 5
+50 1
+13 13
diff --git a/public_test_cases/p00602/output.0.txt b/public_test_cases/p00602/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aff61af3fabe95adb897de590ee28366a01fab5f
--- /dev/null
+++ b/public_test_cases/p00602/output.0.txt
@@ -0,0 +1,3 @@
+2
+50
+8
diff --git a/public_test_cases/p00602/output.1.txt b/public_test_cases/p00602/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aff61af3fabe95adb897de590ee28366a01fab5f
--- /dev/null
+++ b/public_test_cases/p00602/output.1.txt
@@ -0,0 +1,3 @@
+2
+50
+8
diff --git a/public_test_cases/p00603/input.0.txt b/public_test_cases/p00603/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..981bf9094eb63c2258516407f934a5e1e81b423e
--- /dev/null
+++ b/public_test_cases/p00603/input.0.txt
@@ -0,0 +1,4 @@
+9 1
+3
+9 4
+1 2 3 4
diff --git a/public_test_cases/p00603/input.1.txt b/public_test_cases/p00603/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..981bf9094eb63c2258516407f934a5e1e81b423e
--- /dev/null
+++ b/public_test_cases/p00603/input.1.txt
@@ -0,0 +1,4 @@
+9 1
+3
+9 4
+1 2 3 4
diff --git a/public_test_cases/p00603/output.0.txt b/public_test_cases/p00603/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p00603/output.0.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p00603/output.1.txt b/public_test_cases/p00603/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p00603/output.1.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p00604/input.0.txt b/public_test_cases/p00604/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c254e5418f9b6b5bfc349dbf7248a5d10a856a49
--- /dev/null
+++ b/public_test_cases/p00604/input.0.txt
@@ -0,0 +1,4 @@
+3
+10 20 30
+7
+56 26 62 43 25 80 7
diff --git a/public_test_cases/p00604/input.1.txt b/public_test_cases/p00604/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c254e5418f9b6b5bfc349dbf7248a5d10a856a49
--- /dev/null
+++ b/public_test_cases/p00604/input.1.txt
@@ -0,0 +1,4 @@
+3
+10 20 30
+7
+56 26 62 43 25 80 7
diff --git a/public_test_cases/p00604/output.0.txt b/public_test_cases/p00604/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f898f47213f3691c98a9942ade55710236e573b
--- /dev/null
+++ b/public_test_cases/p00604/output.0.txt
@@ -0,0 +1,2 @@
+100
+873
diff --git a/public_test_cases/p00604/output.1.txt b/public_test_cases/p00604/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f898f47213f3691c98a9942ade55710236e573b
--- /dev/null
+++ b/public_test_cases/p00604/output.1.txt
@@ -0,0 +1,2 @@
+100
+873
diff --git a/public_test_cases/p00605/input.0.txt b/public_test_cases/p00605/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573ec4a77bd064f8d99d580155203371e1f530cb
--- /dev/null
+++ b/public_test_cases/p00605/input.0.txt
@@ -0,0 +1,10 @@
+2 3
+5 4 5
+1 2 3
+3 2 1
+3 5
+1 2 3 4 5
+0 1 0 1 2
+0 1 1 2 2
+1 0 3 1 1
+0 0
diff --git a/public_test_cases/p00605/input.1.txt b/public_test_cases/p00605/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573ec4a77bd064f8d99d580155203371e1f530cb
--- /dev/null
+++ b/public_test_cases/p00605/input.1.txt
@@ -0,0 +1,10 @@
+2 3
+5 4 5
+1 2 3
+3 2 1
+3 5
+1 2 3 4 5
+0 1 0 1 2
+0 1 1 2 2
+1 0 3 1 1
+0 0
diff --git a/public_test_cases/p00605/output.0.txt b/public_test_cases/p00605/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00605/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00605/output.1.txt b/public_test_cases/p00605/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00605/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00606/input.0.txt b/public_test_cases/p00606/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..046cc8be65fddd1c9ada6f35b5a89e0ee65bc4eb
--- /dev/null
+++ b/public_test_cases/p00606/input.0.txt
@@ -0,0 +1,7 @@
+1
+E A C
+1
+E B C
+2
+E A B
+0
diff --git a/public_test_cases/p00606/input.1.txt b/public_test_cases/p00606/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..046cc8be65fddd1c9ada6f35b5a89e0ee65bc4eb
--- /dev/null
+++ b/public_test_cases/p00606/input.1.txt
@@ -0,0 +1,7 @@
+1
+E A C
+1
+E B C
+2
+E A B
+0
diff --git a/public_test_cases/p00606/output.0.txt b/public_test_cases/p00606/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..943bfa41428f38dda06f5a45c5d1ef37972cdeb2
--- /dev/null
+++ b/public_test_cases/p00606/output.0.txt
@@ -0,0 +1,3 @@
+0.00000000
+0.25000000
+0.06250000
diff --git a/public_test_cases/p00606/output.1.txt b/public_test_cases/p00606/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..943bfa41428f38dda06f5a45c5d1ef37972cdeb2
--- /dev/null
+++ b/public_test_cases/p00606/output.1.txt
@@ -0,0 +1,3 @@
+0.00000000
+0.25000000
+0.06250000
diff --git a/public_test_cases/p00607/input.0.txt b/public_test_cases/p00607/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfbd362497d42e028368e7ed302d7345715a8d6e
--- /dev/null
+++ b/public_test_cases/p00607/input.0.txt
@@ -0,0 +1,19 @@
+hyo
+ni
+END_OF_TEXT
+f
+d
+f
+f
+k
+p
+p
+e
+y
+a
+k
+y
+y
+n
+y
+-
diff --git a/public_test_cases/p00607/input.1.txt b/public_test_cases/p00607/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfbd362497d42e028368e7ed302d7345715a8d6e
--- /dev/null
+++ b/public_test_cases/p00607/input.1.txt
@@ -0,0 +1,19 @@
+hyo
+ni
+END_OF_TEXT
+f
+d
+f
+f
+k
+p
+p
+e
+y
+a
+k
+y
+y
+n
+y
+-
diff --git a/public_test_cases/p00607/output.0.txt b/public_test_cases/p00607/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5a26340c9ca67d9d79047454e1e8e1b995b5872
--- /dev/null
+++ b/public_test_cases/p00607/output.0.txt
@@ -0,0 +1,2 @@
+honihoni
+honi
diff --git a/public_test_cases/p00607/output.1.txt b/public_test_cases/p00607/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5a26340c9ca67d9d79047454e1e8e1b995b5872
--- /dev/null
+++ b/public_test_cases/p00607/output.1.txt
@@ -0,0 +1,2 @@
+honihoni
+honi
diff --git a/public_test_cases/p00608/input.0.txt b/public_test_cases/p00608/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc5d8d6fa906a6e95faa0e901f3b1b5b2b85dda1
--- /dev/null
+++ b/public_test_cases/p00608/input.0.txt
@@ -0,0 +1,13 @@
+5 5
+4=..2
++#=#+
+.-2=.
+=#*#=
+.-.=3
+6
+7 3 1 4 / 8
+1 6
+8..3=2
+2
+2 +
+0 0
diff --git a/public_test_cases/p00608/input.1.txt b/public_test_cases/p00608/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc5d8d6fa906a6e95faa0e901f3b1b5b2b85dda1
--- /dev/null
+++ b/public_test_cases/p00608/input.1.txt
@@ -0,0 +1,13 @@
+5 5
+4=..2
++#=#+
+.-2=.
+=#*#=
+.-.=3
+6
+7 3 1 4 / 8
+1 6
+8..3=2
+2
+2 +
+0 0
diff --git a/public_test_cases/p00608/output.0.txt b/public_test_cases/p00608/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00608/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00608/output.1.txt b/public_test_cases/p00608/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00608/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00609/input.0.txt b/public_test_cases/p00609/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5366a88ef526520c2aa158912ef76e91fb2d3469
--- /dev/null
+++ b/public_test_cases/p00609/input.0.txt
@@ -0,0 +1,6 @@
+2 2 1
+0 0
+0 4
+2 2
+2 8
+0 0 0
diff --git a/public_test_cases/p00609/input.1.txt b/public_test_cases/p00609/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5366a88ef526520c2aa158912ef76e91fb2d3469
--- /dev/null
+++ b/public_test_cases/p00609/input.1.txt
@@ -0,0 +1,6 @@
+2 2 1
+0 0
+0 4
+2 2
+2 8
+0 0 0
diff --git a/public_test_cases/p00609/output.0.txt b/public_test_cases/p00609/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00609/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00609/output.1.txt b/public_test_cases/p00609/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00609/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00610/input.0.txt b/public_test_cases/p00610/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1ea8b9f479dccef9b2e1fddb1aca82870d59576
--- /dev/null
+++ b/public_test_cases/p00610/input.0.txt
@@ -0,0 +1,4 @@
+2 1
+2 3
+6 4
+0 0
diff --git a/public_test_cases/p00610/input.1.txt b/public_test_cases/p00610/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1ea8b9f479dccef9b2e1fddb1aca82870d59576
--- /dev/null
+++ b/public_test_cases/p00610/input.1.txt
@@ -0,0 +1,4 @@
+2 1
+2 3
+6 4
+0 0
diff --git a/public_test_cases/p00610/output.0.txt b/public_test_cases/p00610/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28765d5a1d858c697aa89c1e0fd243e77e462079
--- /dev/null
+++ b/public_test_cases/p00610/output.0.txt
@@ -0,0 +1,11 @@
+..
+..
+
+No
+
+..EEEE
+..E..E
+EEE..E
+E..EEE
+E..E..
+EEEE..
diff --git a/public_test_cases/p00610/output.1.txt b/public_test_cases/p00610/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28765d5a1d858c697aa89c1e0fd243e77e462079
--- /dev/null
+++ b/public_test_cases/p00610/output.1.txt
@@ -0,0 +1,11 @@
+..
+..
+
+No
+
+..EEEE
+..E..E
+EEE..E
+E..EEE
+E..E..
+EEEE..
diff --git a/public_test_cases/p00611/input.0.txt b/public_test_cases/p00611/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e5ee8bcc40b4a3664d32cd7433575786c297447
--- /dev/null
+++ b/public_test_cases/p00611/input.0.txt
@@ -0,0 +1,16 @@
+3 8
+########
+#P....*#
+########
+10 10
+##########
+#P.......#
+#..#*....#
+#..#*.#.*#
+#.....#*.#
+#*.......#
+#..##....#
+#...#.P..#
+#P......P#
+##########
+0 0
diff --git a/public_test_cases/p00611/input.1.txt b/public_test_cases/p00611/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e5ee8bcc40b4a3664d32cd7433575786c297447
--- /dev/null
+++ b/public_test_cases/p00611/input.1.txt
@@ -0,0 +1,16 @@
+3 8
+########
+#P....*#
+########
+10 10
+##########
+#P.......#
+#..#*....#
+#..#*.#.*#
+#.....#*.#
+#*.......#
+#..##....#
+#...#.P..#
+#P......P#
+##########
+0 0
diff --git a/public_test_cases/p00611/output.0.txt b/public_test_cases/p00611/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3cfd618cdfc16b63d81a2bd5420c68ffe00d86c
--- /dev/null
+++ b/public_test_cases/p00611/output.0.txt
@@ -0,0 +1,2 @@
+5
+14
diff --git a/public_test_cases/p00611/output.1.txt b/public_test_cases/p00611/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3cfd618cdfc16b63d81a2bd5420c68ffe00d86c
--- /dev/null
+++ b/public_test_cases/p00611/output.1.txt
@@ -0,0 +1,2 @@
+5
+14
diff --git a/public_test_cases/p00612/input.0.txt b/public_test_cases/p00612/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a87bc64ccd1d71c709afc65cb7b2aee0bdc4911
--- /dev/null
+++ b/public_test_cases/p00612/input.0.txt
@@ -0,0 +1,3 @@
+2
+4
+0
diff --git a/public_test_cases/p00612/input.1.txt b/public_test_cases/p00612/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a87bc64ccd1d71c709afc65cb7b2aee0bdc4911
--- /dev/null
+++ b/public_test_cases/p00612/input.1.txt
@@ -0,0 +1,3 @@
+2
+4
+0
diff --git a/public_test_cases/p00612/output.0.txt b/public_test_cases/p00612/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71277a2db930ed2adbaf61ae429028155ba09f78
--- /dev/null
+++ b/public_test_cases/p00612/output.0.txt
@@ -0,0 +1,2 @@
+24
+64
diff --git a/public_test_cases/p00612/output.1.txt b/public_test_cases/p00612/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71277a2db930ed2adbaf61ae429028155ba09f78
--- /dev/null
+++ b/public_test_cases/p00612/output.1.txt
@@ -0,0 +1,2 @@
+24
+64
diff --git a/public_test_cases/p00613/input.0.txt b/public_test_cases/p00613/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d365301c1fbb912f3aa88758bd586dfd77505f79
--- /dev/null
+++ b/public_test_cases/p00613/input.0.txt
@@ -0,0 +1,5 @@
+2
+2
+3
+5 4 3
+0
diff --git a/public_test_cases/p00613/input.1.txt b/public_test_cases/p00613/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d365301c1fbb912f3aa88758bd586dfd77505f79
--- /dev/null
+++ b/public_test_cases/p00613/input.1.txt
@@ -0,0 +1,5 @@
+2
+2
+3
+5 4 3
+0
diff --git a/public_test_cases/p00613/output.0.txt b/public_test_cases/p00613/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b24e3127788ab5dd07d265a75dd56cfd6c495b8
--- /dev/null
+++ b/public_test_cases/p00613/output.0.txt
@@ -0,0 +1,2 @@
+2
+6
diff --git a/public_test_cases/p00613/output.1.txt b/public_test_cases/p00613/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b24e3127788ab5dd07d265a75dd56cfd6c495b8
--- /dev/null
+++ b/public_test_cases/p00613/output.1.txt
@@ -0,0 +1,2 @@
+2
+6
diff --git a/public_test_cases/p00614/input.0.txt b/public_test_cases/p00614/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7c5662c2df31e0ceb362ac316ca3beebb885b06
--- /dev/null
+++ b/public_test_cases/p00614/input.0.txt
@@ -0,0 +1,3 @@
+123 3 0 2 0 1 1
+999 9 9 9 9 9 9
+0 0 0 0 0 0 0
diff --git a/public_test_cases/p00614/input.1.txt b/public_test_cases/p00614/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7c5662c2df31e0ceb362ac316ca3beebb885b06
--- /dev/null
+++ b/public_test_cases/p00614/input.1.txt
@@ -0,0 +1,3 @@
+123 3 0 2 0 1 1
+999 9 9 9 9 9 9
+0 0 0 0 0 0 0
diff --git a/public_test_cases/p00614/output.0.txt b/public_test_cases/p00614/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ea2ad9b222807db88b70e3bdbf18f2407963073
--- /dev/null
+++ b/public_test_cases/p00614/output.0.txt
@@ -0,0 +1,2 @@
+6
+3
diff --git a/public_test_cases/p00614/output.1.txt b/public_test_cases/p00614/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ea2ad9b222807db88b70e3bdbf18f2407963073
--- /dev/null
+++ b/public_test_cases/p00614/output.1.txt
@@ -0,0 +1,2 @@
+6
+3
diff --git a/public_test_cases/p00615/input.0.txt b/public_test_cases/p00615/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccab94b9f0ca9e42d543b68b3721f05570e66386
--- /dev/null
+++ b/public_test_cases/p00615/input.0.txt
@@ -0,0 +1,12 @@
+4 5
+20 35 60 70
+15 30 40 80 90
+3 2
+10 20 30
+42 60
+0 1
+100
+1 1
+10
+50
+0 0
diff --git a/public_test_cases/p00615/input.1.txt b/public_test_cases/p00615/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccab94b9f0ca9e42d543b68b3721f05570e66386
--- /dev/null
+++ b/public_test_cases/p00615/input.1.txt
@@ -0,0 +1,12 @@
+4 5
+20 35 60 70
+15 30 40 80 90
+3 2
+10 20 30
+42 60
+0 1
+100
+1 1
+10
+50
+0 0
diff --git a/public_test_cases/p00615/output.0.txt b/public_test_cases/p00615/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb3a218650d32098b4787a4a677aa8bfb1b327b7
--- /dev/null
+++ b/public_test_cases/p00615/output.0.txt
@@ -0,0 +1,4 @@
+20
+18
+100
+40
diff --git a/public_test_cases/p00615/output.1.txt b/public_test_cases/p00615/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb3a218650d32098b4787a4a677aa8bfb1b327b7
--- /dev/null
+++ b/public_test_cases/p00615/output.1.txt
@@ -0,0 +1,4 @@
+20
+18
+100
+40
diff --git a/public_test_cases/p00616/input.0.txt b/public_test_cases/p00616/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69c4964a9af5065bde5a405f24fd91ca4dfc5396
--- /dev/null
+++ b/public_test_cases/p00616/input.0.txt
@@ -0,0 +1,11 @@
+4 3
+xy 4 4
+xz 1 2
+yz 2 3
+4 5
+xy 1 1
+xy 3 3
+xz 3 3
+yz 2 1
+yz 3 3
+0 0
diff --git a/public_test_cases/p00616/input.1.txt b/public_test_cases/p00616/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69c4964a9af5065bde5a405f24fd91ca4dfc5396
--- /dev/null
+++ b/public_test_cases/p00616/input.1.txt
@@ -0,0 +1,11 @@
+4 3
+xy 4 4
+xz 1 2
+yz 2 3
+4 5
+xy 1 1
+xy 3 3
+xz 3 3
+yz 2 1
+yz 3 3
+0 0
diff --git a/public_test_cases/p00616/output.0.txt b/public_test_cases/p00616/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31f313e2dd68308a81517d911ea5db218c776331
--- /dev/null
+++ b/public_test_cases/p00616/output.0.txt
@@ -0,0 +1,2 @@
+52
+46
diff --git a/public_test_cases/p00616/output.1.txt b/public_test_cases/p00616/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31f313e2dd68308a81517d911ea5db218c776331
--- /dev/null
+++ b/public_test_cases/p00616/output.1.txt
@@ -0,0 +1,2 @@
+52
+46
diff --git a/public_test_cases/p00617/input.0.txt b/public_test_cases/p00617/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7d20881a66dd78092e6f75d4024ec28ba22eb30
--- /dev/null
+++ b/public_test_cases/p00617/input.0.txt
@@ -0,0 +1,8 @@
+5
+10,10,190,15080,20,180,140
+10 10
+15 15
+40 60
+2 3
+130 80
+0
diff --git a/public_test_cases/p00617/input.1.txt b/public_test_cases/p00617/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7d20881a66dd78092e6f75d4024ec28ba22eb30
--- /dev/null
+++ b/public_test_cases/p00617/input.1.txt
@@ -0,0 +1,8 @@
+5
+10,10,190,15080,20,180,140
+10 10
+15 15
+40 60
+2 3
+130 80
+0
diff --git a/public_test_cases/p00617/output.0.txt b/public_test_cases/p00617/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..115825244f0fc4c398218d45763e0d5a5d29d0fd
--- /dev/null
+++ b/public_test_cases/p00617/output.0.txt
@@ -0,0 +1,5 @@
+main 2
+main 2
+menu 0
+OUT OF MAIN PANEL 1
+primary 0
diff --git a/public_test_cases/p00617/output.1.txt b/public_test_cases/p00617/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..115825244f0fc4c398218d45763e0d5a5d29d0fd
--- /dev/null
+++ b/public_test_cases/p00617/output.1.txt
@@ -0,0 +1,5 @@
+main 2
+main 2
+menu 0
+OUT OF MAIN PANEL 1
+primary 0
diff --git a/public_test_cases/p00618/input.0.txt b/public_test_cases/p00618/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..533829d5064ac4cdab264a8c793f036164d5e090
--- /dev/null
+++ b/public_test_cases/p00618/input.0.txt
@@ -0,0 +1,10 @@
+4 4
+1 0
+3 2 0 2
+2 0
+2 0
+3 6
+1 0
+3 2 0 2
+2 0
+0 0
diff --git a/public_test_cases/p00618/input.1.txt b/public_test_cases/p00618/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..533829d5064ac4cdab264a8c793f036164d5e090
--- /dev/null
+++ b/public_test_cases/p00618/input.1.txt
@@ -0,0 +1,10 @@
+4 4
+1 0
+3 2 0 2
+2 0
+2 0
+3 6
+1 0
+3 2 0 2
+2 0
+0 0
diff --git a/public_test_cases/p00618/output.0.txt b/public_test_cases/p00618/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4792e70f333077a81456ca2bc74e492ab8bb58c3
--- /dev/null
+++ b/public_test_cases/p00618/output.0.txt
@@ -0,0 +1,2 @@
+2
+3
diff --git a/public_test_cases/p00618/output.1.txt b/public_test_cases/p00618/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4792e70f333077a81456ca2bc74e492ab8bb58c3
--- /dev/null
+++ b/public_test_cases/p00618/output.1.txt
@@ -0,0 +1,2 @@
+2
+3
diff --git a/public_test_cases/p00619/input.0.txt b/public_test_cases/p00619/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2111a9a47e1ccbf4ae813a64f53fa4301ea82ad
--- /dev/null
+++ b/public_test_cases/p00619/input.0.txt
@@ -0,0 +1,23 @@
+8
+1 3 11 3
+5 3 13 11
+10 10 17 10
+11 2 11 6
+10 5 14 5
+13 6 13 2
+17 10 17 3
+13 3 19 3
+1 3 19 3
+6
+1 3 11 3
+5 3 13 11
+10 10 17 10
+11 2 11 6
+10 5 14 5
+13 3 19 3
+1 3 19 3
+2
+0 0 7 0
+3 0 7 3
+0 0 7 3
+0
diff --git a/public_test_cases/p00619/input.1.txt b/public_test_cases/p00619/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2111a9a47e1ccbf4ae813a64f53fa4301ea82ad
--- /dev/null
+++ b/public_test_cases/p00619/input.1.txt
@@ -0,0 +1,23 @@
+8
+1 3 11 3
+5 3 13 11
+10 10 17 10
+11 2 11 6
+10 5 14 5
+13 6 13 2
+17 10 17 3
+13 3 19 3
+1 3 19 3
+6
+1 3 11 3
+5 3 13 11
+10 10 17 10
+11 2 11 6
+10 5 14 5
+13 3 19 3
+1 3 19 3
+2
+0 0 7 0
+3 0 7 3
+0 0 7 3
+0
diff --git a/public_test_cases/p00619/output.0.txt b/public_test_cases/p00619/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b33034761e8684546362865b06aa19d4b664767a
--- /dev/null
+++ b/public_test_cases/p00619/output.0.txt
@@ -0,0 +1,3 @@
+270.0000
+-1
+36.86989765
diff --git a/public_test_cases/p00619/output.1.txt b/public_test_cases/p00619/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b33034761e8684546362865b06aa19d4b664767a
--- /dev/null
+++ b/public_test_cases/p00619/output.1.txt
@@ -0,0 +1,3 @@
+270.0000
+-1
+36.86989765
diff --git a/public_test_cases/p00620/input.0.txt b/public_test_cases/p00620/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..584c1ead1259c12ec4a9eddbaf6e257b17c3b421
--- /dev/null
+++ b/public_test_cases/p00620/input.0.txt
@@ -0,0 +1,28 @@
+3
+-3 1 1
+2 -4 1
+2 1 -1
+3
+-4 1 1
+1 1 -6
+1 -5 3
+4
+-8 6 -2 1
+2 -7 -2 1
+1 -1 1 1
+1 1 1 -5
+6
+2 2 3 -7 3 2
+1 -10 1 1 3 2
+2 6 5 2 -6 1
+3 4 -23 2 2 5
+3 3 -6 2 3 7
+-7 2 3 2 -5 -13
+6
+2 2 3 -7 3 2
+1 -10 1 1 3 2
+2 6 5 2 -6 1
+3 4 -23 2 2 5
+3 3 -6 2 3 7
+-7 2 3 2 -5 -12
+0
diff --git a/public_test_cases/p00620/input.1.txt b/public_test_cases/p00620/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..584c1ead1259c12ec4a9eddbaf6e257b17c3b421
--- /dev/null
+++ b/public_test_cases/p00620/input.1.txt
@@ -0,0 +1,28 @@
+3
+-3 1 1
+2 -4 1
+2 1 -1
+3
+-4 1 1
+1 1 -6
+1 -5 3
+4
+-8 6 -2 1
+2 -7 -2 1
+1 -1 1 1
+1 1 1 -5
+6
+2 2 3 -7 3 2
+1 -10 1 1 3 2
+2 6 5 2 -6 1
+3 4 -23 2 2 5
+3 3 -6 2 3 7
+-7 2 3 2 -5 -13
+6
+2 2 3 -7 3 2
+1 -10 1 1 3 2
+2 6 5 2 -6 1
+3 4 -23 2 2 5
+3 3 -6 2 3 7
+-7 2 3 2 -5 -12
+0
diff --git a/public_test_cases/p00620/output.0.txt b/public_test_cases/p00620/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f1e3962f67d212807dac8dbdfe6973572fc1765
--- /dev/null
+++ b/public_test_cases/p00620/output.0.txt
@@ -0,0 +1,5 @@
+YES
+NO
+NO
+YES
+NO
diff --git a/public_test_cases/p00620/output.1.txt b/public_test_cases/p00620/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f1e3962f67d212807dac8dbdfe6973572fc1765
--- /dev/null
+++ b/public_test_cases/p00620/output.1.txt
@@ -0,0 +1,5 @@
+YES
+NO
+NO
+YES
+NO
diff --git a/public_test_cases/p00621/input.0.txt b/public_test_cases/p00621/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a940586ef86a7d6310451701d08ba8aeea2ecd0c
--- /dev/null
+++ b/public_test_cases/p00621/input.0.txt
@@ -0,0 +1,12 @@
+4 6
+s 0 2
+s 1 3
+s 2 1
+w 0
+s 3 3
+s 4 2
+3 3
+s 0 1
+s 1 1
+s 2 1
+0 0
diff --git a/public_test_cases/p00621/input.1.txt b/public_test_cases/p00621/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a940586ef86a7d6310451701d08ba8aeea2ecd0c
--- /dev/null
+++ b/public_test_cases/p00621/input.1.txt
@@ -0,0 +1,12 @@
+4 6
+s 0 2
+s 1 3
+s 2 1
+w 0
+s 3 3
+s 4 2
+3 3
+s 0 1
+s 1 1
+s 2 1
+0 0
diff --git a/public_test_cases/p00621/output.0.txt b/public_test_cases/p00621/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fbcaef978061b037d654f2290e4bcb74dc0f4d5
--- /dev/null
+++ b/public_test_cases/p00621/output.0.txt
@@ -0,0 +1,10 @@
+0
+impossible
+2
+impossible
+0
+END
+0
+1
+2
+END
diff --git a/public_test_cases/p00621/output.1.txt b/public_test_cases/p00621/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fbcaef978061b037d654f2290e4bcb74dc0f4d5
--- /dev/null
+++ b/public_test_cases/p00621/output.1.txt
@@ -0,0 +1,10 @@
+0
+impossible
+2
+impossible
+0
+END
+0
+1
+2
+END
diff --git a/public_test_cases/p00622/input.0.txt b/public_test_cases/p00622/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f0f99dffc0b6dc990a6feda4b927dd6557fa829
--- /dev/null
+++ b/public_test_cases/p00622/input.0.txt
@@ -0,0 +1,7 @@
+CBA
+cba
+cCa
+X
+ZY
+Z
+-
diff --git a/public_test_cases/p00622/input.1.txt b/public_test_cases/p00622/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f0f99dffc0b6dc990a6feda4b927dd6557fa829
--- /dev/null
+++ b/public_test_cases/p00622/input.1.txt
@@ -0,0 +1,7 @@
+CBA
+cba
+cCa
+X
+ZY
+Z
+-
diff --git a/public_test_cases/p00622/output.0.txt b/public_test_cases/p00622/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab62206170ecffa6f1bfc5a2524a26b20b639dd5
--- /dev/null
+++ b/public_test_cases/p00622/output.0.txt
@@ -0,0 +1,2 @@
+BbA
+XY
diff --git a/public_test_cases/p00622/output.1.txt b/public_test_cases/p00622/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab62206170ecffa6f1bfc5a2524a26b20b639dd5
--- /dev/null
+++ b/public_test_cases/p00622/output.1.txt
@@ -0,0 +1,2 @@
+BbA
+XY
diff --git a/public_test_cases/p00623/input.0.txt b/public_test_cases/p00623/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0badd54c446498f840ef7a02dd8e81e87986fcf3
--- /dev/null
+++ b/public_test_cases/p00623/input.0.txt
@@ -0,0 +1,10 @@
+(1 2)
+2
+0 1 0 1
+1 0 1 0
+((1 2) 3)
+3
+1 1 0 0
+1 0 1 0
+0 0 0 1
+END
diff --git a/public_test_cases/p00623/output.0.txt b/public_test_cases/p00623/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51993f072d5832f20b98b6bd0cf763fb8b4c8a1b
--- /dev/null
+++ b/public_test_cases/p00623/output.0.txt
@@ -0,0 +1,2 @@
+2
+2
diff --git a/public_test_cases/p00624/input.0.txt b/public_test_cases/p00624/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6156ed191b69a5575bb3eb2ba80b91ae1a7e5cc
--- /dev/null
+++ b/public_test_cases/p00624/input.0.txt
@@ -0,0 +1,17 @@
+5 5
+#####
+##@##
+#wc.#
+#Ew.#
+#####
+5 5
+#####
+##@.#
+#wc.#
+#E#.#
+#####
+3 6
+######
+#@.wE#
+######
+0 0
diff --git a/public_test_cases/p00624/input.1.txt b/public_test_cases/p00624/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6156ed191b69a5575bb3eb2ba80b91ae1a7e5cc
--- /dev/null
+++ b/public_test_cases/p00624/input.1.txt
@@ -0,0 +1,17 @@
+5 5
+#####
+##@##
+#wc.#
+#Ew.#
+#####
+5 5
+#####
+##@.#
+#wc.#
+#E#.#
+#####
+3 6
+######
+#@.wE#
+######
+0 0
diff --git a/public_test_cases/p00624/input.2.txt b/public_test_cases/p00624/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..078be31c9f0ffc2e2add1571534fc93675b02593
--- /dev/null
+++ b/public_test_cases/p00624/input.2.txt
@@ -0,0 +1,17 @@
+5 5
+
+@##
+wc.#
+Ew.#
+
+5 5
+
+@.#
+wc.#
+E#.#
+
+3 6
+
+@.wE#
+
+0 0
diff --git a/public_test_cases/p00624/output.0.txt b/public_test_cases/p00624/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7be35112d0850f42bdadb040ebdabb4eb2c5030d
--- /dev/null
+++ b/public_test_cases/p00624/output.0.txt
@@ -0,0 +1,3 @@
+3
+5
+-1
diff --git a/public_test_cases/p00624/output.1.txt b/public_test_cases/p00624/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7be35112d0850f42bdadb040ebdabb4eb2c5030d
--- /dev/null
+++ b/public_test_cases/p00624/output.1.txt
@@ -0,0 +1,3 @@
+3
+5
+-1
diff --git a/public_test_cases/p00624/output.2.txt b/public_test_cases/p00624/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7be35112d0850f42bdadb040ebdabb4eb2c5030d
--- /dev/null
+++ b/public_test_cases/p00624/output.2.txt
@@ -0,0 +1,3 @@
+3
+5
+-1
diff --git a/public_test_cases/p00625/input.0.txt b/public_test_cases/p00625/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14e5c9a7c3125c1ff52f796d167e1fd8c5b179fb
--- /dev/null
+++ b/public_test_cases/p00625/input.0.txt
@@ -0,0 +1,11 @@
+2 1
+12 5 3
+0 17 3
+0 0 2 2
+2 3
+2 0 2
+100 100 2
+0 0 -1 0
+-2 -5 0 3
+100 100 1 1
+0 0
diff --git a/public_test_cases/p00625/input.1.txt b/public_test_cases/p00625/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14e5c9a7c3125c1ff52f796d167e1fd8c5b179fb
--- /dev/null
+++ b/public_test_cases/p00625/input.1.txt
@@ -0,0 +1,11 @@
+2 1
+12 5 3
+0 17 3
+0 0 2 2
+2 3
+2 0 2
+100 100 2
+0 0 -1 0
+-2 -5 0 3
+100 100 1 1
+0 0
diff --git a/public_test_cases/p00625/output.0.txt b/public_test_cases/p00625/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce9743ca913cb8604deebf0303e3497527568313
--- /dev/null
+++ b/public_test_cases/p00625/output.0.txt
@@ -0,0 +1,2 @@
+1 0
+2 1
diff --git a/public_test_cases/p00625/output.1.txt b/public_test_cases/p00625/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce9743ca913cb8604deebf0303e3497527568313
--- /dev/null
+++ b/public_test_cases/p00625/output.1.txt
@@ -0,0 +1,2 @@
+1 0
+2 1
diff --git a/public_test_cases/p00626/input.0.txt b/public_test_cases/p00626/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ced41346a29256f7c12ca01e900c83f41ed680d4
--- /dev/null
+++ b/public_test_cases/p00626/input.0.txt
@@ -0,0 +1,11 @@
+4 4
+1 0 0 0
+0 0 1 0
+0 1 0 0
+1 0 0 1
+1 1
+1
+2 3
+1 0 0
+0 0 1
+0 0
diff --git a/public_test_cases/p00626/input.1.txt b/public_test_cases/p00626/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ced41346a29256f7c12ca01e900c83f41ed680d4
--- /dev/null
+++ b/public_test_cases/p00626/input.1.txt
@@ -0,0 +1,11 @@
+4 4
+1 0 0 0
+0 0 1 0
+0 1 0 0
+1 0 0 1
+1 1
+1
+2 3
+1 0 0
+0 0 1
+0 0
diff --git a/public_test_cases/p00626/output.0.txt b/public_test_cases/p00626/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f3aebfda96e05309e167e5488c157b6b4f45003
--- /dev/null
+++ b/public_test_cases/p00626/output.0.txt
@@ -0,0 +1,3 @@
+7
+0
+2
diff --git a/public_test_cases/p00626/output.1.txt b/public_test_cases/p00626/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f3aebfda96e05309e167e5488c157b6b4f45003
--- /dev/null
+++ b/public_test_cases/p00626/output.1.txt
@@ -0,0 +1,3 @@
+7
+0
+2
diff --git a/public_test_cases/p00627/input.0.txt b/public_test_cases/p00627/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d543685bb718467d4b453ac17ec089046ac2cba
--- /dev/null
+++ b/public_test_cases/p00627/input.0.txt
@@ -0,0 +1,10 @@
+20
+4
+3
+2
+1
+3
+8
+2
+0
+0
diff --git a/public_test_cases/p00627/input.1.txt b/public_test_cases/p00627/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d543685bb718467d4b453ac17ec089046ac2cba
--- /dev/null
+++ b/public_test_cases/p00627/input.1.txt
@@ -0,0 +1,10 @@
+20
+4
+3
+2
+1
+3
+8
+2
+0
+0
diff --git a/public_test_cases/p00627/output.0.txt b/public_test_cases/p00627/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abee444d94b02835362069f50e7142521ccbb095
--- /dev/null
+++ b/public_test_cases/p00627/output.0.txt
@@ -0,0 +1,2 @@
+13
+2
diff --git a/public_test_cases/p00627/output.1.txt b/public_test_cases/p00627/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abee444d94b02835362069f50e7142521ccbb095
--- /dev/null
+++ b/public_test_cases/p00627/output.1.txt
@@ -0,0 +1,2 @@
+13
+2
diff --git a/public_test_cases/p00628/input.0.txt b/public_test_cases/p00628/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd9c33e2eb4e2c98e869b999fd12269d3ae5aa9c
--- /dev/null
+++ b/public_test_cases/p00628/input.0.txt
@@ -0,0 +1,4 @@
+Yes I have a number
+How I wish I could calculate an unused color for space
+Thank you
+END OF INPUT
diff --git a/public_test_cases/p00628/input.1.txt b/public_test_cases/p00628/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd9c33e2eb4e2c98e869b999fd12269d3ae5aa9c
--- /dev/null
+++ b/public_test_cases/p00628/input.1.txt
@@ -0,0 +1,4 @@
+Yes I have a number
+How I wish I could calculate an unused color for space
+Thank you
+END OF INPUT
diff --git a/public_test_cases/p00628/output.0.txt b/public_test_cases/p00628/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62f9706056a01b590e2fb6f829ca13ed93a70f28
--- /dev/null
+++ b/public_test_cases/p00628/output.0.txt
@@ -0,0 +1,3 @@
+31416
+31415926535
+53
diff --git a/public_test_cases/p00628/output.1.txt b/public_test_cases/p00628/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62f9706056a01b590e2fb6f829ca13ed93a70f28
--- /dev/null
+++ b/public_test_cases/p00628/output.1.txt
@@ -0,0 +1,3 @@
+31416
+31415926535
+53
diff --git a/public_test_cases/p00629/input.0.txt b/public_test_cases/p00629/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d503c8cf087ff8038c9fa6df709d014471bea87
--- /dev/null
+++ b/public_test_cases/p00629/input.0.txt
@@ -0,0 +1,15 @@
+6
+1 1 6 200
+2 1 6 300
+3 1 6 400
+4 2 5 1200
+5 1 5 1400
+6 3 4 800
+3
+777 1 5 300
+808 2 4 20
+123 3 6 500
+2
+2 1 3 100
+1 1 3 100
+0
diff --git a/public_test_cases/p00629/input.1.txt b/public_test_cases/p00629/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d503c8cf087ff8038c9fa6df709d014471bea87
--- /dev/null
+++ b/public_test_cases/p00629/input.1.txt
@@ -0,0 +1,15 @@
+6
+1 1 6 200
+2 1 6 300
+3 1 6 400
+4 2 5 1200
+5 1 5 1400
+6 3 4 800
+3
+777 1 5 300
+808 2 4 20
+123 3 6 500
+2
+2 1 3 100
+1 1 3 100
+0
diff --git a/public_test_cases/p00629/output.0.txt b/public_test_cases/p00629/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4419ecf895117f5a85bce1e56f7ca31ab659f033
--- /dev/null
+++ b/public_test_cases/p00629/output.0.txt
@@ -0,0 +1,10 @@
+1
+2
+3
+4
+6
+123
+777
+808
+1
+2
diff --git a/public_test_cases/p00629/output.1.txt b/public_test_cases/p00629/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4419ecf895117f5a85bce1e56f7ca31ab659f033
--- /dev/null
+++ b/public_test_cases/p00629/output.1.txt
@@ -0,0 +1,10 @@
+1
+2
+3
+4
+6
+123
+777
+808
+1
+2
diff --git a/public_test_cases/p00630/input.0.txt b/public_test_cases/p00630/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10fe95df7194443879541177b75ccb98e7317a8f
--- /dev/null
+++ b/public_test_cases/p00630/input.0.txt
@@ -0,0 +1,4 @@
+get_user_name L
+getUserName U
+GetUserName D
+EndOfInput X
diff --git a/public_test_cases/p00630/input.1.txt b/public_test_cases/p00630/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10fe95df7194443879541177b75ccb98e7317a8f
--- /dev/null
+++ b/public_test_cases/p00630/input.1.txt
@@ -0,0 +1,4 @@
+get_user_name L
+getUserName U
+GetUserName D
+EndOfInput X
diff --git a/public_test_cases/p00630/output.0.txt b/public_test_cases/p00630/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..521298bad5dc24dbdf1082a81bff132ef179904c
--- /dev/null
+++ b/public_test_cases/p00630/output.0.txt
@@ -0,0 +1,3 @@
+getUserName
+GetUserName
+get_user_name
diff --git a/public_test_cases/p00630/output.1.txt b/public_test_cases/p00630/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..521298bad5dc24dbdf1082a81bff132ef179904c
--- /dev/null
+++ b/public_test_cases/p00630/output.1.txt
@@ -0,0 +1,3 @@
+getUserName
+GetUserName
+get_user_name
diff --git a/public_test_cases/p00631/input.0.txt b/public_test_cases/p00631/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31a1916d70a004fcf5c5b70e4792cdbfa218b4fa
--- /dev/null
+++ b/public_test_cases/p00631/input.0.txt
@@ -0,0 +1,5 @@
+5
+1 2 3 4 5
+4
+2 3 5 7
+0
diff --git a/public_test_cases/p00631/input.1.txt b/public_test_cases/p00631/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31a1916d70a004fcf5c5b70e4792cdbfa218b4fa
--- /dev/null
+++ b/public_test_cases/p00631/input.1.txt
@@ -0,0 +1,5 @@
+5
+1 2 3 4 5
+4
+2 3 5 7
+0
diff --git a/public_test_cases/p00631/output.0.txt b/public_test_cases/p00631/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p00631/output.0.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p00631/output.1.txt b/public_test_cases/p00631/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p00631/output.1.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p00632/input.0.txt b/public_test_cases/p00632/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0114289cc12ee052ec7de76a2e1d17a1fa9f0ca7
--- /dev/null
+++ b/public_test_cases/p00632/input.0.txt
@@ -0,0 +1,31 @@
+4 7
+A#...#B
+.#.#.#.
+.#.#.#.
+...#...
+5
+4 7
+A#...#B
+.#.#.#.
+.#.#.#.
+...#...
+2
+4 7
+A#...#B
+.#.#.#.
+.#.#.#.
+...#...
+4
+4 7
+A#...#B
+.#.#.#.
+.#.#.#.
+...#...
+442668
+1 10
+A#.......B
+55555554
+1 10
+A#.......B
+55555555
+0 0
diff --git a/public_test_cases/p00632/input.1.txt b/public_test_cases/p00632/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0114289cc12ee052ec7de76a2e1d17a1fa9f0ca7
--- /dev/null
+++ b/public_test_cases/p00632/input.1.txt
@@ -0,0 +1,31 @@
+4 7
+A#...#B
+.#.#.#.
+.#.#.#.
+...#...
+5
+4 7
+A#...#B
+.#.#.#.
+.#.#.#.
+...#...
+2
+4 7
+A#...#B
+.#.#.#.
+.#.#.#.
+...#...
+4
+4 7
+A#...#B
+.#.#.#.
+.#.#.#.
+...#...
+442668
+1 10
+A#.......B
+55555554
+1 10
+A#.......B
+55555555
+0 0
diff --git a/public_test_cases/p00632/output.0.txt b/public_test_cases/p00632/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e4ae34d7c9d56c9f4c3f9212557a9c380577558
--- /dev/null
+++ b/public_test_cases/p00632/output.0.txt
@@ -0,0 +1,6 @@
+18 0 6
+15 3 6
+6 0 0
+14 0 4
+72 0 0
+impossible
diff --git a/public_test_cases/p00632/output.1.txt b/public_test_cases/p00632/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e4ae34d7c9d56c9f4c3f9212557a9c380577558
--- /dev/null
+++ b/public_test_cases/p00632/output.1.txt
@@ -0,0 +1,6 @@
+18 0 6
+15 3 6
+6 0 0
+14 0 4
+72 0 0
+impossible
diff --git a/public_test_cases/p00633/input.0.txt b/public_test_cases/p00633/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdc723dfc2a39d3eebb2111aed00b9db69b64fe
--- /dev/null
+++ b/public_test_cases/p00633/input.0.txt
@@ -0,0 +1,11 @@
+4
+6 4 2
+4 7 3
+7 10 3
+13 6 1
+4
+7 4 2
+4 7 3
+7 10 3
+11 6 3
+0
diff --git a/public_test_cases/p00633/input.1.txt b/public_test_cases/p00633/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdc723dfc2a39d3eebb2111aed00b9db69b64fe
--- /dev/null
+++ b/public_test_cases/p00633/input.1.txt
@@ -0,0 +1,11 @@
+4
+6 4 2
+4 7 3
+7 10 3
+13 6 1
+4
+7 4 2
+4 7 3
+7 10 3
+11 6 3
+0
diff --git a/public_test_cases/p00633/output.0.txt b/public_test_cases/p00633/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..177a4084eb1314ddceb3502cc387ad412012a76f
--- /dev/null
+++ b/public_test_cases/p00633/output.0.txt
@@ -0,0 +1,2 @@
+39.664699289572
+45.627024663706
diff --git a/public_test_cases/p00633/output.1.txt b/public_test_cases/p00633/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..177a4084eb1314ddceb3502cc387ad412012a76f
--- /dev/null
+++ b/public_test_cases/p00633/output.1.txt
@@ -0,0 +1,2 @@
+39.664699289572
+45.627024663706
diff --git a/public_test_cases/p00634/input.0.txt b/public_test_cases/p00634/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46f66fc4012c032033e796f592ca6bd6d43c33e4
--- /dev/null
+++ b/public_test_cases/p00634/input.0.txt
@@ -0,0 +1,30 @@
+3
+3 apple 100 banana 200 egg 300
+3 apple 150 banana 100 cola 200
+3 apple 100 banana 150 cola 200
+3
+apple
+banana
+cola
+5
+0 2 4
+0 1 3
+0 3 3
+1 2 3
+2 3 5
+3
+3 apple 100 banana 200 egg 300
+3 apple 150 banana 100 cola 200
+3 apple 100 banana 150 cola 200
+4
+apple
+banana
+cola
+jump
+5
+0 2 4
+0 1 3
+0 3 3
+1 2 3
+2 3 5
+0
diff --git a/public_test_cases/p00634/input.1.txt b/public_test_cases/p00634/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46f66fc4012c032033e796f592ca6bd6d43c33e4
--- /dev/null
+++ b/public_test_cases/p00634/input.1.txt
@@ -0,0 +1,30 @@
+3
+3 apple 100 banana 200 egg 300
+3 apple 150 banana 100 cola 200
+3 apple 100 banana 150 cola 200
+3
+apple
+banana
+cola
+5
+0 2 4
+0 1 3
+0 3 3
+1 2 3
+2 3 5
+3
+3 apple 100 banana 200 egg 300
+3 apple 150 banana 100 cola 200
+3 apple 100 banana 150 cola 200
+4
+apple
+banana
+cola
+jump
+5
+0 2 4
+0 1 3
+0 3 3
+1 2 3
+2 3 5
+0
diff --git a/public_test_cases/p00634/output.0.txt b/public_test_cases/p00634/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aab82458b883707b72c2aa95799b9889d515dee8
--- /dev/null
+++ b/public_test_cases/p00634/output.0.txt
@@ -0,0 +1,2 @@
+400 10
+impossible
diff --git a/public_test_cases/p00634/output.1.txt b/public_test_cases/p00634/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aab82458b883707b72c2aa95799b9889d515dee8
--- /dev/null
+++ b/public_test_cases/p00634/output.1.txt
@@ -0,0 +1,2 @@
+400 10
+impossible
diff --git a/public_test_cases/p00635/input.0.txt b/public_test_cases/p00635/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15e2672416253821555825e6dc8cdb3aa099c933
--- /dev/null
+++ b/public_test_cases/p00635/input.0.txt
@@ -0,0 +1,9 @@
+4
+0 2 3 1
+4 0 4 2
+1 1 0 3
+3 1 5 0
+2
+0 3
+3 0
+0
diff --git a/public_test_cases/p00635/output.0.txt b/public_test_cases/p00635/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1cf023e17835c681bfebf18f867f94899296b9c
--- /dev/null
+++ b/public_test_cases/p00635/output.0.txt
@@ -0,0 +1,2 @@
+8
+3
diff --git a/public_test_cases/p00636/input.0.txt b/public_test_cases/p00636/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f65b9e20eb5cdb9bf7f70634d37ea16b75379141
--- /dev/null
+++ b/public_test_cases/p00636/input.0.txt
@@ -0,0 +1,11 @@
+2
+1 1
+3 3
+4
+1.0 0.5
+1.0 2.5
+3.0 1.5
+3.0 3.5
+1
+2.0 2.0
+0
diff --git a/public_test_cases/p00636/input.1.txt b/public_test_cases/p00636/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f65b9e20eb5cdb9bf7f70634d37ea16b75379141
--- /dev/null
+++ b/public_test_cases/p00636/input.1.txt
@@ -0,0 +1,11 @@
+2
+1 1
+3 3
+4
+1.0 0.5
+1.0 2.5
+3.0 1.5
+3.0 3.5
+1
+2.0 2.0
+0
diff --git a/public_test_cases/p00636/output.0.txt b/public_test_cases/p00636/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee8fd6e6b21e1b1fb7b89ccf49e3c9b8ac0e427
--- /dev/null
+++ b/public_test_cases/p00636/output.0.txt
@@ -0,0 +1,3 @@
+5.656854249492
+4.618033988750
+impossible
diff --git a/public_test_cases/p00636/output.1.txt b/public_test_cases/p00636/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee8fd6e6b21e1b1fb7b89ccf49e3c9b8ac0e427
--- /dev/null
+++ b/public_test_cases/p00636/output.1.txt
@@ -0,0 +1,3 @@
+5.656854249492
+4.618033988750
+impossible
diff --git a/public_test_cases/p00637/input.0.txt b/public_test_cases/p00637/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4a67e7b7d1835aa2159b5dbe7c95d24f1782df3
--- /dev/null
+++ b/public_test_cases/p00637/input.0.txt
@@ -0,0 +1,5 @@
+5
+1 2 3 5 6
+3
+7 8 9
+0
diff --git a/public_test_cases/p00637/input.1.txt b/public_test_cases/p00637/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4a67e7b7d1835aa2159b5dbe7c95d24f1782df3
--- /dev/null
+++ b/public_test_cases/p00637/input.1.txt
@@ -0,0 +1,5 @@
+5
+1 2 3 5 6
+3
+7 8 9
+0
diff --git a/public_test_cases/p00637/output.0.txt b/public_test_cases/p00637/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6d37ad9ac3709711b33ecc484297886b71b835f
--- /dev/null
+++ b/public_test_cases/p00637/output.0.txt
@@ -0,0 +1,2 @@
+1-3 5-6
+7-9
diff --git a/public_test_cases/p00637/output.1.txt b/public_test_cases/p00637/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6d37ad9ac3709711b33ecc484297886b71b835f
--- /dev/null
+++ b/public_test_cases/p00637/output.1.txt
@@ -0,0 +1,2 @@
+1-3 5-6
+7-9
diff --git a/public_test_cases/p00638/input.0.txt b/public_test_cases/p00638/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8eedf0dfb8de21872010e913d12f7f12d5ba9fc2
--- /dev/null
+++ b/public_test_cases/p00638/input.0.txt
@@ -0,0 +1,9 @@
+3
+2 3
+3 6
+1 2
+3
+2 3
+3 5
+1 2
+0
diff --git a/public_test_cases/p00638/input.1.txt b/public_test_cases/p00638/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8eedf0dfb8de21872010e913d12f7f12d5ba9fc2
--- /dev/null
+++ b/public_test_cases/p00638/input.1.txt
@@ -0,0 +1,9 @@
+3
+2 3
+3 6
+1 2
+3
+2 3
+3 5
+1 2
+0
diff --git a/public_test_cases/p00638/output.0.txt b/public_test_cases/p00638/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00638/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00638/output.1.txt b/public_test_cases/p00638/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p00638/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p00639/input.0.txt b/public_test_cases/p00639/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a08b023574c686d9e9527bc5d6211f7a4171948
--- /dev/null
+++ b/public_test_cases/p00639/input.0.txt
@@ -0,0 +1,5 @@
+10.0
+0.5 0.0 -0.2 0.0
+1.0
+0.1 0.0 0.2 0.2
+0
diff --git a/public_test_cases/p00639/input.1.txt b/public_test_cases/p00639/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a08b023574c686d9e9527bc5d6211f7a4171948
--- /dev/null
+++ b/public_test_cases/p00639/input.1.txt
@@ -0,0 +1,5 @@
+10.0
+0.5 0.0 -0.2 0.0
+1.0
+0.1 0.0 0.2 0.2
+0
diff --git a/public_test_cases/p00639/output.0.txt b/public_test_cases/p00639/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eaaca4b85d6d1ff9c05e6e4fc7d6360afc6280d
--- /dev/null
+++ b/public_test_cases/p00639/output.0.txt
@@ -0,0 +1,2 @@
+0.50000000
+impossible
diff --git a/public_test_cases/p00639/output.1.txt b/public_test_cases/p00639/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eaaca4b85d6d1ff9c05e6e4fc7d6360afc6280d
--- /dev/null
+++ b/public_test_cases/p00639/output.1.txt
@@ -0,0 +1,2 @@
+0.50000000
+impossible
diff --git a/public_test_cases/p00640/input.0.txt b/public_test_cases/p00640/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1f88c14bfc0c047cfebea6a32adb8c7c17d2cc5
--- /dev/null
+++ b/public_test_cases/p00640/input.0.txt
@@ -0,0 +1,20 @@
+3
+800 600
+index 1
+500 100 700 200 profile
+profile 2
+100 100 400 200 index
+100 400 400 500 link
+link 1
+100 100 300 200 index
+9
+click 600 150
+show
+click 200 450
+show
+back
+back
+show
+forward
+show
+0
diff --git a/public_test_cases/p00640/input.1.txt b/public_test_cases/p00640/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1f88c14bfc0c047cfebea6a32adb8c7c17d2cc5
--- /dev/null
+++ b/public_test_cases/p00640/input.1.txt
@@ -0,0 +1,20 @@
+3
+800 600
+index 1
+500 100 700 200 profile
+profile 2
+100 100 400 200 index
+100 400 400 500 link
+link 1
+100 100 300 200 index
+9
+click 600 150
+show
+click 200 450
+show
+back
+back
+show
+forward
+show
+0
diff --git a/public_test_cases/p00640/output.0.txt b/public_test_cases/p00640/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3a0a8acbe459cff1c547314ea0cb5cc4e6d898a
--- /dev/null
+++ b/public_test_cases/p00640/output.0.txt
@@ -0,0 +1,4 @@
+profile
+link
+index
+profile
diff --git a/public_test_cases/p00640/output.1.txt b/public_test_cases/p00640/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3a0a8acbe459cff1c547314ea0cb5cc4e6d898a
--- /dev/null
+++ b/public_test_cases/p00640/output.1.txt
@@ -0,0 +1,4 @@
+profile
+link
+index
+profile
diff --git a/public_test_cases/p00641/input.0.txt b/public_test_cases/p00641/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b131f9b441944eb29d7114f2a12f32c73bb4e42f
--- /dev/null
+++ b/public_test_cases/p00641/input.0.txt
@@ -0,0 +1,13 @@
+3
+1 1 2 3
+0 1 2 2
+1 2 0 3
+7
+1 2 2 1
+0 2 3 2
+0 1 3 1
+2 1 1 2
+5 3 6 2
+4 3 6 1
+4 2 5 1
+0
diff --git a/public_test_cases/p00641/input.1.txt b/public_test_cases/p00641/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b131f9b441944eb29d7114f2a12f32c73bb4e42f
--- /dev/null
+++ b/public_test_cases/p00641/input.1.txt
@@ -0,0 +1,13 @@
+3
+1 1 2 3
+0 1 2 2
+1 2 0 3
+7
+1 2 2 1
+0 2 3 2
+0 1 3 1
+2 1 1 2
+5 3 6 2
+4 3 6 1
+4 2 5 1
+0
diff --git a/public_test_cases/p00641/output.0.txt b/public_test_cases/p00641/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p00641/output.0.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p00641/output.1.txt b/public_test_cases/p00641/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p00641/output.1.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p00642/input.0.txt b/public_test_cases/p00642/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82b6055c7ce7ff03d4f27976037cf11f5cf6ce3a
--- /dev/null
+++ b/public_test_cases/p00642/input.0.txt
@@ -0,0 +1,4 @@
+1
+2
+3
+0
diff --git a/public_test_cases/p00642/input.1.txt b/public_test_cases/p00642/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82b6055c7ce7ff03d4f27976037cf11f5cf6ce3a
--- /dev/null
+++ b/public_test_cases/p00642/input.1.txt
@@ -0,0 +1,4 @@
+1
+2
+3
+0
diff --git a/public_test_cases/p00642/output.0.txt b/public_test_cases/p00642/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe4ff8efbbcbdde7bbf7146dd88ce78fd9cf2ae4
--- /dev/null
+++ b/public_test_cases/p00642/output.0.txt
@@ -0,0 +1,3 @@
+1.00000000
+1.50000000
+2.12500000
diff --git a/public_test_cases/p00642/output.1.txt b/public_test_cases/p00642/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe4ff8efbbcbdde7bbf7146dd88ce78fd9cf2ae4
--- /dev/null
+++ b/public_test_cases/p00642/output.1.txt
@@ -0,0 +1,3 @@
+1.00000000
+1.50000000
+2.12500000
diff --git a/public_test_cases/p00643/input.0.txt b/public_test_cases/p00643/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66a242a6e8e17d741df88fd2e444416bdb0909d0
--- /dev/null
+++ b/public_test_cases/p00643/input.0.txt
@@ -0,0 +1,27 @@
+1 2
+8 8
+0 0
+0 1
+3 3
+1 2 5
+2 8 3
+0 1 2
+0 0
+2 2
+3 3
+1 2 5
+2 8 3
+0 1 2
+0 0
+1 2
+2 2
+1 2
+3 4
+0 0
+0 1
+2 3
+1 2 3
+4 5 6
+0 0
+1 2
+0 0
diff --git a/public_test_cases/p00643/input.1.txt b/public_test_cases/p00643/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66a242a6e8e17d741df88fd2e444416bdb0909d0
--- /dev/null
+++ b/public_test_cases/p00643/input.1.txt
@@ -0,0 +1,27 @@
+1 2
+8 8
+0 0
+0 1
+3 3
+1 2 5
+2 8 3
+0 1 2
+0 0
+2 2
+3 3
+1 2 5
+2 8 3
+0 1 2
+0 0
+1 2
+2 2
+1 2
+3 4
+0 0
+0 1
+2 3
+1 2 3
+4 5 6
+0 0
+1 2
+0 0
diff --git a/public_test_cases/p00643/output.0.txt b/public_test_cases/p00643/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db2579395789c445d40697fb458b596d3efbe565
--- /dev/null
+++ b/public_test_cases/p00643/output.0.txt
@@ -0,0 +1,5 @@
+24
+19
+17
+6
+21
diff --git a/public_test_cases/p00643/output.1.txt b/public_test_cases/p00643/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db2579395789c445d40697fb458b596d3efbe565
--- /dev/null
+++ b/public_test_cases/p00643/output.1.txt
@@ -0,0 +1,5 @@
+24
+19
+17
+6
+21
diff --git a/public_test_cases/p00644/input.0.txt b/public_test_cases/p00644/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a99c34ea75519995be562647bf5b05e6f620f82
--- /dev/null
+++ b/public_test_cases/p00644/input.0.txt
@@ -0,0 +1,13 @@
+3 2 1
+0 1 2
+1 2 3
+1
+4 5 2
+0 1 1
+0 2 1
+1 2 1
+1 3 1
+2 3 1
+1
+2
+0 0 0
diff --git a/public_test_cases/p00644/input.1.txt b/public_test_cases/p00644/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a99c34ea75519995be562647bf5b05e6f620f82
--- /dev/null
+++ b/public_test_cases/p00644/input.1.txt
@@ -0,0 +1,13 @@
+3 2 1
+0 1 2
+1 2 3
+1
+4 5 2
+0 1 1
+0 2 1
+1 2 1
+1 3 1
+2 3 1
+1
+2
+0 0 0
diff --git a/public_test_cases/p00644/output.0.txt b/public_test_cases/p00644/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d17f1f50a25c07ec721e8e9eb43388aea13bc8c5
--- /dev/null
+++ b/public_test_cases/p00644/output.0.txt
@@ -0,0 +1,4 @@
+1.00000000
+
+0.50000000
+0.50000000
diff --git a/public_test_cases/p00644/output.1.txt b/public_test_cases/p00644/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d17f1f50a25c07ec721e8e9eb43388aea13bc8c5
--- /dev/null
+++ b/public_test_cases/p00644/output.1.txt
@@ -0,0 +1,4 @@
+1.00000000
+
+0.50000000
+0.50000000
diff --git a/public_test_cases/p00645/input.0.txt b/public_test_cases/p00645/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f72b88feabcb75b80127594243ea8aae7f85ab47
--- /dev/null
+++ b/public_test_cases/p00645/input.0.txt
@@ -0,0 +1,17 @@
+5
+1 1 1 1 1
+1 0 0 0 1
+1 0 1 0 1
+1 0 0 0 1
+1 1 1 1 1
+3
+1 1 1
+1 1 1
+1 1 1
+5
+1 1 1 1 0
+1 1 1 1 0
+1 0 0 0 1
+0 1 1 1 1
+0 1 1 1 1
+0
diff --git a/public_test_cases/p00645/input.1.txt b/public_test_cases/p00645/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f72b88feabcb75b80127594243ea8aae7f85ab47
--- /dev/null
+++ b/public_test_cases/p00645/input.1.txt
@@ -0,0 +1,17 @@
+5
+1 1 1 1 1
+1 0 0 0 1
+1 0 1 0 1
+1 0 0 0 1
+1 1 1 1 1
+3
+1 1 1
+1 1 1
+1 1 1
+5
+1 1 1 1 0
+1 1 1 1 0
+1 0 0 0 1
+0 1 1 1 1
+0 1 1 1 1
+0
diff --git a/public_test_cases/p00645/output.0.txt b/public_test_cases/p00645/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7f4499f50424d72046d889e16bcc33e5a6603c3
--- /dev/null
+++ b/public_test_cases/p00645/output.0.txt
@@ -0,0 +1,3 @@
+myonmyonmyon
+myon
+myonmyon
diff --git a/public_test_cases/p00645/output.1.txt b/public_test_cases/p00645/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7f4499f50424d72046d889e16bcc33e5a6603c3
--- /dev/null
+++ b/public_test_cases/p00645/output.1.txt
@@ -0,0 +1,3 @@
+myonmyonmyon
+myon
+myonmyon
diff --git a/public_test_cases/p00646/input.0.txt b/public_test_cases/p00646/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d69cf48438e97763e4f99194ec059b5dc2ccaa6c
--- /dev/null
+++ b/public_test_cases/p00646/input.0.txt
@@ -0,0 +1,4 @@
+12
+9
+2
+0
diff --git a/public_test_cases/p00646/input.1.txt b/public_test_cases/p00646/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d69cf48438e97763e4f99194ec059b5dc2ccaa6c
--- /dev/null
+++ b/public_test_cases/p00646/input.1.txt
@@ -0,0 +1,4 @@
+12
+9
+2
+0
diff --git a/public_test_cases/p00646/output.0.txt b/public_test_cases/p00646/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f8537fef92e6a22365d6a97a5fe830f5c5e5cbd
--- /dev/null
+++ b/public_test_cases/p00646/output.0.txt
@@ -0,0 +1,3 @@
+8
+3
+2
diff --git a/public_test_cases/p00646/output.1.txt b/public_test_cases/p00646/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f8537fef92e6a22365d6a97a5fe830f5c5e5cbd
--- /dev/null
+++ b/public_test_cases/p00646/output.1.txt
@@ -0,0 +1,3 @@
+8
+3
+2
diff --git a/public_test_cases/p00647/input.0.txt b/public_test_cases/p00647/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..429ddf80503d444f4a511c187a94ad4fd074678c
--- /dev/null
+++ b/public_test_cases/p00647/input.0.txt
@@ -0,0 +1,7 @@
+5
+12:57 59
+20:12 15
+12:19 21
+18:52 03
+16:09 14
+0
diff --git a/public_test_cases/p00647/input.1.txt b/public_test_cases/p00647/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..429ddf80503d444f4a511c187a94ad4fd074678c
--- /dev/null
+++ b/public_test_cases/p00647/input.1.txt
@@ -0,0 +1,7 @@
+5
+12:57 59
+20:12 15
+12:19 21
+18:52 03
+16:09 14
+0
diff --git a/public_test_cases/p00647/output.0.txt b/public_test_cases/p00647/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..358413d40dd1e7a97d8a77c8c179521d915df84f
--- /dev/null
+++ b/public_test_cases/p00647/output.0.txt
@@ -0,0 +1,3 @@
+lunch 100
+dinner 50
+midnight no guest
diff --git a/public_test_cases/p00647/output.1.txt b/public_test_cases/p00647/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..358413d40dd1e7a97d8a77c8c179521d915df84f
--- /dev/null
+++ b/public_test_cases/p00647/output.1.txt
@@ -0,0 +1,3 @@
+lunch 100
+dinner 50
+midnight no guest
diff --git a/public_test_cases/p00648/input.0.txt b/public_test_cases/p00648/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbc3dd9ad3e94678a560e83f23cec8ae6defa16e
--- /dev/null
+++ b/public_test_cases/p00648/input.0.txt
@@ -0,0 +1,65 @@
+1
+galaxy_angel 0 600
+1
+galaxy_angel
+11
+A 0 600
+B 0 610
+C 0 610
+D 0 610
+E 0 640
+EE 0 700
+F 0 710
+G 0 710
+H 0 710
+I 0 740
+J 0 750
+2
+B
+H
+42
+nchj 6 2620
+anhnnnmewbktthsrn 4 2515
+gntmdsh 1 1800
+achnnl 4 2540
+hnskirh 0 2200
+aonexrcst 0 1700
+dgdys 6 2330
+hdnnara 4 2525
+dnpaonntssotk 4 2555
+ddmnwndrlnd 6 2500
+C 4 2445
+astrttnomch 0 2330
+seknnqasr 1 2630
+sftnt 4 2630
+stnsgt 2 2605
+drrnenmknmrmr 4 2610
+hnzm 6 2713
+yndmsoazzlsn 6 2658
+mrahlcalv 4 2615
+hshzrhkkrhs 1 900
+ortchntsbshni 0 2430
+kmnmzshrski 1 2530
+sktdnc 4 1800
+gykkybrkjhkirkhn 2 2459
+trk 0 900
+30zzsinhkntiik 3 2700
+sngkotmmmirprdx 1 2600
+yran 2 2529
+tntissygntinybu 1 2614
+skiichhtki 5 2505
+tgrbnny 6 2558
+dnbrsnki 3 1927
+yugozxl 1 1930
+frbllchrmn 1 1928
+fjrg 1 1955
+shwmngtr 0 2200
+xmn 5 2200
+rngnkkrskitikihn 0 2100
+szysz 0 1254
+prttyrythmaulrdrm 6 1000
+sckiesfrntrqst 5 1820
+mshdr 1 2255
+1
+mrahlcalv
+0
diff --git a/public_test_cases/p00648/input.1.txt b/public_test_cases/p00648/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbc3dd9ad3e94678a560e83f23cec8ae6defa16e
--- /dev/null
+++ b/public_test_cases/p00648/input.1.txt
@@ -0,0 +1,65 @@
+1
+galaxy_angel 0 600
+1
+galaxy_angel
+11
+A 0 600
+B 0 610
+C 0 610
+D 0 610
+E 0 640
+EE 0 700
+F 0 710
+G 0 710
+H 0 710
+I 0 740
+J 0 750
+2
+B
+H
+42
+nchj 6 2620
+anhnnnmewbktthsrn 4 2515
+gntmdsh 1 1800
+achnnl 4 2540
+hnskirh 0 2200
+aonexrcst 0 1700
+dgdys 6 2330
+hdnnara 4 2525
+dnpaonntssotk 4 2555
+ddmnwndrlnd 6 2500
+C 4 2445
+astrttnomch 0 2330
+seknnqasr 1 2630
+sftnt 4 2630
+stnsgt 2 2605
+drrnenmknmrmr 4 2610
+hnzm 6 2713
+yndmsoazzlsn 6 2658
+mrahlcalv 4 2615
+hshzrhkkrhs 1 900
+ortchntsbshni 0 2430
+kmnmzshrski 1 2530
+sktdnc 4 1800
+gykkybrkjhkirkhn 2 2459
+trk 0 900
+30zzsinhkntiik 3 2700
+sngkotmmmirprdx 1 2600
+yran 2 2529
+tntissygntinybu 1 2614
+skiichhtki 5 2505
+tgrbnny 6 2558
+dnbrsnki 3 1927
+yugozxl 1 1930
+frbllchrmn 1 1928
+fjrg 1 1955
+shwmngtr 0 2200
+xmn 5 2200
+rngnkkrskitikihn 0 2100
+szysz 0 1254
+prttyrythmaulrdrm 6 1000
+sckiesfrntrqst 5 1820
+mshdr 1 2255
+1
+mrahlcalv
+0
diff --git a/public_test_cases/p00648/output.0.txt b/public_test_cases/p00648/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..938bb5de9e0f2b554c1158867c6df7ef00d6f809
--- /dev/null
+++ b/public_test_cases/p00648/output.0.txt
@@ -0,0 +1,3 @@
+1
+4
+31
diff --git a/public_test_cases/p00648/output.1.txt b/public_test_cases/p00648/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..938bb5de9e0f2b554c1158867c6df7ef00d6f809
--- /dev/null
+++ b/public_test_cases/p00648/output.1.txt
@@ -0,0 +1,3 @@
+1
+4
+31
diff --git a/public_test_cases/p00649/input.0.txt b/public_test_cases/p00649/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ff387827631dcbfa94dd3ee7fb7299431eca087
--- /dev/null
+++ b/public_test_cases/p00649/input.0.txt
@@ -0,0 +1,13 @@
+4
+0 0 100 60
+0 60 50 90
+50 60 100 90
+0 90 100 120
+6
+0 0 100 40
+0 40 50 70
+50 40 100 60
+50 60 100 80
+0 70 50 120
+50 80 100 120
+0
diff --git a/public_test_cases/p00649/input.1.txt b/public_test_cases/p00649/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ff387827631dcbfa94dd3ee7fb7299431eca087
--- /dev/null
+++ b/public_test_cases/p00649/input.1.txt
@@ -0,0 +1,13 @@
+4
+0 0 100 60
+0 60 50 90
+50 60 100 90
+0 90 100 120
+6
+0 0 100 40
+0 40 50 70
+50 40 100 60
+50 60 100 80
+0 70 50 120
+50 80 100 120
+0
diff --git a/public_test_cases/p00649/output.0.txt b/public_test_cases/p00649/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a417504db744427ed8060aac7a2779ead9ab1a29
--- /dev/null
+++ b/public_test_cases/p00649/output.0.txt
@@ -0,0 +1,11 @@
+1
+2
+3
+4
+
+1
+2
+4
+5
+3
+6
diff --git a/public_test_cases/p00649/output.1.txt b/public_test_cases/p00649/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a417504db744427ed8060aac7a2779ead9ab1a29
--- /dev/null
+++ b/public_test_cases/p00649/output.1.txt
@@ -0,0 +1,11 @@
+1
+2
+3
+4
+
+1
+2
+4
+5
+3
+6
diff --git a/public_test_cases/p00650/input.0.txt b/public_test_cases/p00650/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b24b83d83d565cc1a4d8605ff30bbb9baa016a5e
--- /dev/null
+++ b/public_test_cases/p00650/input.0.txt
@@ -0,0 +1,10 @@
+3 2
+0 1 2
+1 2 1
+2 1
+0 1 100
+2 1
+0 1 0
+2 1
+0 1 -1
+0 0
diff --git a/public_test_cases/p00650/input.1.txt b/public_test_cases/p00650/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b24b83d83d565cc1a4d8605ff30bbb9baa016a5e
--- /dev/null
+++ b/public_test_cases/p00650/input.1.txt
@@ -0,0 +1,10 @@
+3 2
+0 1 2
+1 2 1
+2 1
+0 1 100
+2 1
+0 1 0
+2 1
+0 1 -1
+0 0
diff --git a/public_test_cases/p00650/output.0.txt b/public_test_cases/p00650/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e57fe9ca7d1944c565a8895d9430002ace6e1186
--- /dev/null
+++ b/public_test_cases/p00650/output.0.txt
@@ -0,0 +1,4 @@
+1
+100
+0
+-1
diff --git a/public_test_cases/p00650/output.1.txt b/public_test_cases/p00650/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e57fe9ca7d1944c565a8895d9430002ace6e1186
--- /dev/null
+++ b/public_test_cases/p00650/output.1.txt
@@ -0,0 +1,4 @@
+1
+100
+0
+-1
diff --git a/public_test_cases/p00651/input.0.txt b/public_test_cases/p00651/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..633ede7d82f3fd99b40b0aeadd0ecdf15f69f940
--- /dev/null
+++ b/public_test_cases/p00651/input.0.txt
@@ -0,0 +1,6 @@
+4 10 8
+0 -10
+3 -7
+0 -4
+-3 -7
+0 0 0
diff --git a/public_test_cases/p00651/input.1.txt b/public_test_cases/p00651/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..633ede7d82f3fd99b40b0aeadd0ecdf15f69f940
--- /dev/null
+++ b/public_test_cases/p00651/input.1.txt
@@ -0,0 +1,6 @@
+4 10 8
+0 -10
+3 -7
+0 -4
+-3 -7
+0 0 0
diff --git a/public_test_cases/p00651/output.0.txt b/public_test_cases/p00651/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ca249f66070ae8db27183772f0f0640c1f16a3a
--- /dev/null
+++ b/public_test_cases/p00651/output.0.txt
@@ -0,0 +1,8 @@
+-4.146082488326 -9.100000000000
+-7.545870128753 -6.562000000000
+-9.587401146004 -2.842840000000
+-9.903199956975 1.388031200000
+-8.436422775690 5.369056784000
+-5.451089494781 8.383652146880
+-1.484560104812 9.889190123322
+2.749190104024 9.614673877565
diff --git a/public_test_cases/p00651/output.1.txt b/public_test_cases/p00651/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ca249f66070ae8db27183772f0f0640c1f16a3a
--- /dev/null
+++ b/public_test_cases/p00651/output.1.txt
@@ -0,0 +1,8 @@
+-4.146082488326 -9.100000000000
+-7.545870128753 -6.562000000000
+-9.587401146004 -2.842840000000
+-9.903199956975 1.388031200000
+-8.436422775690 5.369056784000
+-5.451089494781 8.383652146880
+-1.484560104812 9.889190123322
+2.749190104024 9.614673877565
diff --git a/public_test_cases/p00652/input.0.txt b/public_test_cases/p00652/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcf3c5c757281c50f49e27fb7829205a2b4bccc6
--- /dev/null
+++ b/public_test_cases/p00652/input.0.txt
@@ -0,0 +1,31 @@
+2 3 10 10 50
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+2 3 10 10 70
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+2 3 10 10 30
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+2 3 10 10 40
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+2 3 10 10 100
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+0 0 0 0 0
diff --git a/public_test_cases/p00652/input.1.txt b/public_test_cases/p00652/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcf3c5c757281c50f49e27fb7829205a2b4bccc6
--- /dev/null
+++ b/public_test_cases/p00652/input.1.txt
@@ -0,0 +1,31 @@
+2 3 10 10 50
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+2 3 10 10 70
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+2 3 10 10 30
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+2 3 10 10 40
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+2 3 10 10 100
+3 3
+6 6
+10 10
+4.0000000000 4.0000000000
+7.0000000000 7.0000000000
+0 0 0 0 0
diff --git a/public_test_cases/p00652/output.0.txt b/public_test_cases/p00652/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cfc238426e05769204832ee8e1d7cd458ae5c42
--- /dev/null
+++ b/public_test_cases/p00652/output.0.txt
@@ -0,0 +1,5 @@
+1
+1
+0
+1
+2
diff --git a/public_test_cases/p00652/output.1.txt b/public_test_cases/p00652/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cfc238426e05769204832ee8e1d7cd458ae5c42
--- /dev/null
+++ b/public_test_cases/p00652/output.1.txt
@@ -0,0 +1,5 @@
+1
+1
+0
+1
+2
diff --git a/public_test_cases/p00653/input.0.txt b/public_test_cases/p00653/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b817317d7ea1e1a1bae4a32f977fce682c50822
--- /dev/null
+++ b/public_test_cases/p00653/input.0.txt
@@ -0,0 +1,15 @@
+3 3 4
+1 2 3
+4 2 2
+2 1 1
+0 0 2 2
+0 0 1 1
+1 0 1 0
+0 1 1 2
+1 10 4
+1 2 3 4 5 6 7 8 9 10
+0 0 0 9
+0 0 0 4
+0 5 0 9
+0 4 0 5
+0 0 0
diff --git a/public_test_cases/p00653/input.1.txt b/public_test_cases/p00653/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b817317d7ea1e1a1bae4a32f977fce682c50822
--- /dev/null
+++ b/public_test_cases/p00653/input.1.txt
@@ -0,0 +1,15 @@
+3 3 4
+1 2 3
+4 2 2
+2 1 1
+0 0 2 2
+0 0 1 1
+1 0 1 0
+0 1 1 2
+1 10 4
+1 2 3 4 5 6 7 8 9 10
+0 0 0 9
+0 0 0 4
+0 5 0 9
+0 4 0 5
+0 0 0
diff --git a/public_test_cases/p00653/output.0.txt b/public_test_cases/p00653/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4971b8fb3552e58e04af32ab9a82549d99c87d8
--- /dev/null
+++ b/public_test_cases/p00653/output.0.txt
@@ -0,0 +1,8 @@
+1
+1
+4
+2
+1
+1
+6
+5
diff --git a/public_test_cases/p00653/output.1.txt b/public_test_cases/p00653/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4971b8fb3552e58e04af32ab9a82549d99c87d8
--- /dev/null
+++ b/public_test_cases/p00653/output.1.txt
@@ -0,0 +1,8 @@
+1
+1
+4
+2
+1
+1
+6
+5
diff --git a/public_test_cases/p00654/input.0.txt b/public_test_cases/p00654/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be06bba200f010bf22d04e3063b8527f0f5c0141
--- /dev/null
+++ b/public_test_cases/p00654/input.0.txt
@@ -0,0 +1,5 @@
+3
+6 10 14 15 21 35
+2
+30 42 35
+0
diff --git a/public_test_cases/p00654/input.1.txt b/public_test_cases/p00654/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be06bba200f010bf22d04e3063b8527f0f5c0141
--- /dev/null
+++ b/public_test_cases/p00654/input.1.txt
@@ -0,0 +1,5 @@
+3
+6 10 14 15 21 35
+2
+30 42 35
+0
diff --git a/public_test_cases/p00654/output.0.txt b/public_test_cases/p00654/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50f8fbea67170672840960338f9089389f0dd8e1
--- /dev/null
+++ b/public_test_cases/p00654/output.0.txt
@@ -0,0 +1,4 @@
+2
+3 5 7
+6
+5 7
diff --git a/public_test_cases/p00654/output.1.txt b/public_test_cases/p00654/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50f8fbea67170672840960338f9089389f0dd8e1
--- /dev/null
+++ b/public_test_cases/p00654/output.1.txt
@@ -0,0 +1,4 @@
+2
+3 5 7
+6
+5 7
diff --git a/public_test_cases/p00655/input.0.txt b/public_test_cases/p00655/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d45778bba0c28251a443b7437f4d6838834998e5
--- /dev/null
+++ b/public_test_cases/p00655/input.0.txt
@@ -0,0 +1,79 @@
+5
+0 1
+0 2
+0 3
+0 4
+1
+6
+0 1
+0 2
+0 3
+0 4
+0 5
+1
+31
+0 6
+0 2
+0 3
+0 4
+0 5
+0 1
+0 8
+4 1
+4 2
+5 1
+5 2
+2
+3
+1
+2
+3
+1
+2
+3
+1
+2
+3
+1
+2
+3
+1
+2
+3
+1
+2
+1
+32
+0 1
+0 3
+0 2
+0 5
+0 9
+0 6
+0 7
+8 1
+8 2
+8 3
+9 1
+9 2
+6
+7
+1
+6
+7
+1
+6
+7
+1
+6
+7
+1
+6
+7
+1
+6
+7
+1
+6
+1
+0
diff --git a/public_test_cases/p00655/input.1.txt b/public_test_cases/p00655/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d45778bba0c28251a443b7437f4d6838834998e5
--- /dev/null
+++ b/public_test_cases/p00655/input.1.txt
@@ -0,0 +1,79 @@
+5
+0 1
+0 2
+0 3
+0 4
+1
+6
+0 1
+0 2
+0 3
+0 4
+0 5
+1
+31
+0 6
+0 2
+0 3
+0 4
+0 5
+0 1
+0 8
+4 1
+4 2
+5 1
+5 2
+2
+3
+1
+2
+3
+1
+2
+3
+1
+2
+3
+1
+2
+3
+1
+2
+3
+1
+2
+1
+32
+0 1
+0 3
+0 2
+0 5
+0 9
+0 6
+0 7
+8 1
+8 2
+8 3
+9 1
+9 2
+6
+7
+1
+6
+7
+1
+6
+7
+1
+6
+7
+1
+6
+7
+1
+6
+7
+1
+6
+1
+0
diff --git a/public_test_cases/p00655/output.0.txt b/public_test_cases/p00655/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bab7ba4e7330cf3ce7c8e731d4e2bb358ca501da
--- /dev/null
+++ b/public_test_cases/p00655/output.0.txt
@@ -0,0 +1,55 @@
+2
+end
+3
+end
+2
+6
+1
+8
+2
+1
+4
+2
+1
+3
+2
+1
+5
+2
+1
+2
+1
+8
+1
+6
+8
+6
+8
+8
+end
+5
+3
+1
+9
+7
+5
+9
+5
+3
+9
+2
+9
+7
+9
+3
+7
+3
+6
+7
+6
+1
+7
+1
+7
+7
+end
diff --git a/public_test_cases/p00655/output.1.txt b/public_test_cases/p00655/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bab7ba4e7330cf3ce7c8e731d4e2bb358ca501da
--- /dev/null
+++ b/public_test_cases/p00655/output.1.txt
@@ -0,0 +1,55 @@
+2
+end
+3
+end
+2
+6
+1
+8
+2
+1
+4
+2
+1
+3
+2
+1
+5
+2
+1
+2
+1
+8
+1
+6
+8
+6
+8
+8
+end
+5
+3
+1
+9
+7
+5
+9
+5
+3
+9
+2
+9
+7
+9
+3
+7
+3
+6
+7
+6
+1
+7
+1
+7
+7
+end
diff --git a/public_test_cases/p00656/input.0.txt b/public_test_cases/p00656/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2eab5dd3f48d739c87e67f49ce1ca62b3bbbfd5
--- /dev/null
+++ b/public_test_cases/p00656/input.0.txt
@@ -0,0 +1,45 @@
+3 4
+abc 1 1
+abc 10 1
+abc 100 1
+3
+a
+abc
+ab
+3 4
+ab 1 1
+ab 10 1
+abc 100 1
+3
+abc
+ab
+a
+3 4
+abc 1 1
+abc 10 1
+abc 100 1
+3
+ab
+ab
+ab
+8 20
+abcdef 100 2
+bcdef 200 1
+cfghj 300 3
+ksjirto 400 6
+ksitoew 500 2
+qwertyl 600 2
+kjhbvc 700 2
+edfghucb 800 1
+10
+ks
+cd
+hj
+e
+a
+g
+h
+j
+i
+a
+0 0
diff --git a/public_test_cases/p00656/output.0.txt b/public_test_cases/p00656/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e57aa1860644de3ed45cb182cde71937f300ec1
--- /dev/null
+++ b/public_test_cases/p00656/output.0.txt
@@ -0,0 +1,19 @@
+111
+110
+100
+100
+11
+10
+111
+110
+100
+900
+300
+300
+2200
+100
+1100
+1500
+1400
+900
+-1
diff --git a/public_test_cases/p00657/input.0.txt b/public_test_cases/p00657/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87034c9c3f823ff34f79dcf7b6630396a2700ee9
--- /dev/null
+++ b/public_test_cases/p00657/input.0.txt
@@ -0,0 +1,3 @@
+1 1
+2 2
+0 0
diff --git a/public_test_cases/p00657/input.1.txt b/public_test_cases/p00657/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87034c9c3f823ff34f79dcf7b6630396a2700ee9
--- /dev/null
+++ b/public_test_cases/p00657/input.1.txt
@@ -0,0 +1,3 @@
+1 1
+2 2
+0 0
diff --git a/public_test_cases/p00657/output.0.txt b/public_test_cases/p00657/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ce46e2638ea0f64c92ba9f99b358ab371d889fa
--- /dev/null
+++ b/public_test_cases/p00657/output.0.txt
@@ -0,0 +1,2 @@
+no
+yes
diff --git a/public_test_cases/p00657/output.1.txt b/public_test_cases/p00657/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ce46e2638ea0f64c92ba9f99b358ab371d889fa
--- /dev/null
+++ b/public_test_cases/p00657/output.1.txt
@@ -0,0 +1,2 @@
+no
+yes
diff --git a/public_test_cases/p00658/input.0.txt b/public_test_cases/p00658/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76866c05a9a8c38758a55f48f6e90f1c4b6634bd
--- /dev/null
+++ b/public_test_cases/p00658/input.0.txt
@@ -0,0 +1,50 @@
+8 8
+........
+........
+....###.
+...#.#.G
+S#B...##
+#ICII.I#
+#..#.#.#
+.#..#.#.
+7
+PUSH RIGHT
+MOVETO 2
+CLIMB RIGHT
+CLIMB RIGHT
+GETDOWN RIGHT
+CLIMB RIGHT
+GETDOWN RIGHT
+8 8
+........
+........
+........
+...G....
+S#B.....
+#ICIIIII
+#..#.#.#
+.#..#.#.
+4
+PUSH RIGHT
+MOVETO 2
+CLIMB RIGHT
+CLIMB RIGHT
+8 8
+........
+....#.#.
+.....#.G
+...#..#.
+S#B....#
+#ICIII.#
+#..#.#.#
+.#..#.#.
+8
+PUSH RIGHT
+MOVETO 2
+CLIMB RIGHT
+CLIMB RIGHT
+CLIMB RIGHT
+GETDOWN RIGHT
+CLIMB RIGHT
+GETDOWN RIGHT
+0 0
diff --git a/public_test_cases/p00658/output.0.txt b/public_test_cases/p00658/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dc275ed5764f936c6f0f18fadae7faa7ee6d44d
--- /dev/null
+++ b/public_test_cases/p00658/output.0.txt
@@ -0,0 +1,3 @@
+Game Over : Death by Hole
+Game Over : Cleared
+Game Over : Death by Walking Goal
diff --git a/public_test_cases/p00659/input.0.txt b/public_test_cases/p00659/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1d31bf8510f5ca416065c84d746d8ab45b3d776
--- /dev/null
+++ b/public_test_cases/p00659/input.0.txt
@@ -0,0 +1,53 @@
+4
+akzakr 2 1 8
+fnmyi 5 2 3 4 6 9
+tsnukk 5 2 3 4 7 9
+yskwcnt 6 3 4 7 8 9 10
+4
+akzakr 1 2
+fnmyi 3 10 11 12
+tsnukk 2 1 8
+yskwcnt 2 1 8
+5
+knmmdk 2 13 19
+akmhmr 4 13 15 19 22
+mksyk 6 3 7 12 13 15 19
+skrkyk 3 1 4 8
+tmemm 3 1 17 24
+5
+knmmdk 5 5 6 16 18 26
+akmhmr 9 3 4 7 11 14 15 17 18 20
+mksyk 5 6 13 25 27 28
+skrkyk 4 3 16 23 24
+tmemm 3 6 12 20
+14
+hrkamm 6 4 6 8 10 20 22
+mkhsi 6 1 10 12 15 22 27
+hbkgnh 2 4 9
+chyksrg 8 3 4 12 15 16 20 25 28
+mktkkc 6 0 1 8 15 17 20
+tknsj 6 6 8 18 19 25 26
+yyitktk 3 3 12 18
+ykhhgwr 5 3 9 10 11 24
+amftm 7 2 6 8 12 13 14 17
+mmftm 4 6 12 16 18
+rtkakzk 3 14 15 21
+azsmur 7 1 2 4 12 15 18 20
+iormns 2 4 20
+ktrotns 6 7 12 14 17 20 25
+14
+hrkamm 2 4 21
+mkhsi 6 2 3 8 11 18 20
+hbkgnh 4 4 16 28 29
+chyksrg 5 0 3 9 17 22
+mktkkc 2 7 18
+tknsj 3 3 9 23
+yyitktk 3 10 13 25
+ykhhgwr 2 18 26
+amftm 3 13 18 22
+mmftm 4 1 20 24 27
+rtkakzk 2 1 10
+azsmur 5 2 5 10 14 17
+iormns 3 9 15 16
+ktrotns 5 7 12 16 17 20
+0
diff --git a/public_test_cases/p00659/input.1.txt b/public_test_cases/p00659/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1d31bf8510f5ca416065c84d746d8ab45b3d776
--- /dev/null
+++ b/public_test_cases/p00659/input.1.txt
@@ -0,0 +1,53 @@
+4
+akzakr 2 1 8
+fnmyi 5 2 3 4 6 9
+tsnukk 5 2 3 4 7 9
+yskwcnt 6 3 4 7 8 9 10
+4
+akzakr 1 2
+fnmyi 3 10 11 12
+tsnukk 2 1 8
+yskwcnt 2 1 8
+5
+knmmdk 2 13 19
+akmhmr 4 13 15 19 22
+mksyk 6 3 7 12 13 15 19
+skrkyk 3 1 4 8
+tmemm 3 1 17 24
+5
+knmmdk 5 5 6 16 18 26
+akmhmr 9 3 4 7 11 14 15 17 18 20
+mksyk 5 6 13 25 27 28
+skrkyk 4 3 16 23 24
+tmemm 3 6 12 20
+14
+hrkamm 6 4 6 8 10 20 22
+mkhsi 6 1 10 12 15 22 27
+hbkgnh 2 4 9
+chyksrg 8 3 4 12 15 16 20 25 28
+mktkkc 6 0 1 8 15 17 20
+tknsj 6 6 8 18 19 25 26
+yyitktk 3 3 12 18
+ykhhgwr 5 3 9 10 11 24
+amftm 7 2 6 8 12 13 14 17
+mmftm 4 6 12 16 18
+rtkakzk 3 14 15 21
+azsmur 7 1 2 4 12 15 18 20
+iormns 2 4 20
+ktrotns 6 7 12 14 17 20 25
+14
+hrkamm 2 4 21
+mkhsi 6 2 3 8 11 18 20
+hbkgnh 4 4 16 28 29
+chyksrg 5 0 3 9 17 22
+mktkkc 2 7 18
+tknsj 3 3 9 23
+yyitktk 3 10 13 25
+ykhhgwr 2 18 26
+amftm 3 13 18 22
+mmftm 4 1 20 24 27
+rtkakzk 2 1 10
+azsmur 5 2 5 10 14 17
+iormns 3 9 15 16
+ktrotns 5 7 12 16 17 20
+0
diff --git a/public_test_cases/p00659/output.0.txt b/public_test_cases/p00659/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ed9edca254844a19b94e59e63c70d85e8ae1506
--- /dev/null
+++ b/public_test_cases/p00659/output.0.txt
@@ -0,0 +1,6 @@
+7 akzakr
+4 akzakr
+6 knmmdk
+12 tmemm
+19 iormns
+24 mktkkc
diff --git a/public_test_cases/p00659/output.1.txt b/public_test_cases/p00659/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ed9edca254844a19b94e59e63c70d85e8ae1506
--- /dev/null
+++ b/public_test_cases/p00659/output.1.txt
@@ -0,0 +1,6 @@
+7 akzakr
+4 akzakr
+6 knmmdk
+12 tmemm
+19 iormns
+24 mktkkc
diff --git a/public_test_cases/p00660/input.0.txt b/public_test_cases/p00660/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbcce47ff2824db9b5039e84e37916f10ae112
--- /dev/null
+++ b/public_test_cases/p00660/input.0.txt
@@ -0,0 +1,85 @@
+.......#######......................#######..............
+.......#.....#......................#..-..#..............
+.......#.|...#......................#.|.|.#..............
+.......#.....#......................#..-..#..............
+.......#.|...#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+############################.############################
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+#.-.-.##...|.##.-.-.##.|.|.#.#.....##.|.|.##.-.-.##.|.|.#
+#|.|.|##..-..##|.|.|##..-..#.#....|##..-..##|.|.|##..-..#
+#...-.##.|...##...-.##.|.|.#.#.-.-.##.|...##...-.##.|...#
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+############################.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#.|.|.#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+############################.############################
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+#.-.-.##...|.##.-.-.##.|.|.#.#...-.##...|.##.-...##.|.|.#
+#|.|.|##..-..##|.|.|##..-..#.#|.|.|##..-..##|.|.|##..-..#
+#.-.-.##.|...##...-.##.|...#.#.-...##.|.|.##.-.-.##.|...#
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+############################.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+############################.############################
+#.....##..-..##.....##..-..#.#.....##..-..##.....##.....#
+#.-.-.##.|.|.##.-.-.##...|.#.#.....##.|.|.##...-.##.|...#
+#|.|.|##..-..##|....##..-..#.#....|##..-..##|.|.|##.....#
+#.-.-.##.|.|.##.....##.|.|.#.#.-.-.##.|.|.##.-...##.|...#
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+############################.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|.|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+############################.############################
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+#.-.-.##...|.##.-.-.##.|.|.#.#.-...##.|.|.##.-...##.|.|.#
+#|.|.|##..-..##|.|.|##..-..#.#|.|.|##..-..##|.|.|##..-..#
+#...-.##.|...##.-.-.##.|.|.#.#.-.-.##.|...##.-.-.##.|.|.#
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+############################.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+0
diff --git a/public_test_cases/p00660/input.1.txt b/public_test_cases/p00660/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbcce47ff2824db9b5039e84e37916f10ae112
--- /dev/null
+++ b/public_test_cases/p00660/input.1.txt
@@ -0,0 +1,85 @@
+.......#######......................#######..............
+.......#.....#......................#..-..#..............
+.......#.|...#......................#.|.|.#..............
+.......#.....#......................#..-..#..............
+.......#.|...#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+############################.############################
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+#.-.-.##...|.##.-.-.##.|.|.#.#.....##.|.|.##.-.-.##.|.|.#
+#|.|.|##..-..##|.|.|##..-..#.#....|##..-..##|.|.|##..-..#
+#...-.##.|...##...-.##.|.|.#.#.-.-.##.|...##...-.##.|...#
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+############################.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#.|.|.#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+############################.############################
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+#.-.-.##...|.##.-.-.##.|.|.#.#...-.##...|.##.-...##.|.|.#
+#|.|.|##..-..##|.|.|##..-..#.#|.|.|##..-..##|.|.|##..-..#
+#.-.-.##.|...##...-.##.|...#.#.-...##.|.|.##.-.-.##.|...#
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+############################.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+############################.############################
+#.....##..-..##.....##..-..#.#.....##..-..##.....##.....#
+#.-.-.##.|.|.##.-.-.##...|.#.#.....##.|.|.##...-.##.|...#
+#|.|.|##..-..##|....##..-..#.#....|##..-..##|.|.|##.....#
+#.-.-.##.|.|.##.....##.|.|.#.#.-.-.##.|.|.##.-...##.|...#
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+############################.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|.|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+############################.############################
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+#.-.-.##...|.##.-.-.##.|.|.#.#.-...##.|.|.##.-...##.|.|.#
+#|.|.|##..-..##|.|.|##..-..#.#|.|.|##..-..##|.|.|##..-..#
+#...-.##.|...##.-.-.##.|.|.#.#.-.-.##.|...##.-.-.##.|.|.#
+#.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+############################.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+0
diff --git a/public_test_cases/p00660/input.2.txt b/public_test_cases/p00660/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e35916b6a7e86c9655872e44fb87d11cce6ed5c1
--- /dev/null
+++ b/public_test_cases/p00660/input.2.txt
@@ -0,0 +1,85 @@
+.......#######......................#######..............
+.......#.....#......................#..-..#..............
+.......#.|...#......................#.|.|.#..............
+.......#.....#......................#..-..#..............
+.......#.|...#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.############################
+.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+.-.-.##...|.##.-.-.##.|.|.#.#.....##.|.|.##.-.-.##.|.|.#
+|.|.|##..-..##|.|.|##..-..#.#....|##..-..##|.|.|##..-..#
+...-.##.|...##...-.##.|.|.#.#.-.-.##.|...##...-.##.|...#
+.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#.|.|.#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.############################
+.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+.-.-.##...|.##.-.-.##.|.|.#.#...-.##...|.##.-...##.|.|.#
+|.|.|##..-..##|.|.|##..-..#.#|.|.|##..-..##|.|.|##..-..#
+.-.-.##.|...##...-.##.|...#.#.-...##.|.|.##.-.-.##.|...#
+.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.############################
+.....##..-..##.....##..-..#.#.....##..-..##.....##.....#
+.-.-.##.|.|.##.-.-.##...|.#.#.....##.|.|.##...-.##.|...#
+|.|.|##..-..##|....##..-..#.#....|##..-..##|.|.|##.....#
+.-.-.##.|.|.##.....##.|.|.#.#.-.-.##.|.|.##.-...##.|...#
+.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|.|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|...#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+.############################
+.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+.-.-.##...|.##.-.-.##.|.|.#.#.-...##.|.|.##.-...##.|.|.#
+|.|.|##..-..##|.|.|##..-..#.#|.|.|##..-..##|.|.|##..-..#
+...-.##.|...##.-.-.##.|.|.#.#.-.-.##.|...##.-.-.##.|.|.#
+.....##..-..##.....##..-..#.#.....##..-..##.....##..-..#
+.############################
+.......#######......................#######..............
+.......#..-..#......................#..-..#..............
+.......#...|.#......................#.|.|.#..............
+.......#..-..#......................#..-..#..............
+.......#.|...#......................#...|.#..............
+.......#..-..#......................#..-..#..............
+.......#######......................#######..............
+0
diff --git a/public_test_cases/p00660/output.0.txt b/public_test_cases/p00660/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1f7126714a9355570fea8278cab55069e1c45a7
--- /dev/null
+++ b/public_test_cases/p00660/output.0.txt
@@ -0,0 +1,4 @@
+LOW
+HIGH
+HIGH
+LOW
diff --git a/public_test_cases/p00660/output.1.txt b/public_test_cases/p00660/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1f7126714a9355570fea8278cab55069e1c45a7
--- /dev/null
+++ b/public_test_cases/p00660/output.1.txt
@@ -0,0 +1,4 @@
+LOW
+HIGH
+HIGH
+LOW
diff --git a/public_test_cases/p00660/output.2.txt b/public_test_cases/p00660/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1f7126714a9355570fea8278cab55069e1c45a7
--- /dev/null
+++ b/public_test_cases/p00660/output.2.txt
@@ -0,0 +1,4 @@
+LOW
+HIGH
+HIGH
+LOW
diff --git a/public_test_cases/p00661/input.0.txt b/public_test_cases/p00661/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2dbe3a2a54034163038c75077e25c744ba61369
--- /dev/null
+++ b/public_test_cases/p00661/input.0.txt
@@ -0,0 +1,5 @@
+12 3
+2 3 6
+12 4
+1 2 3 6
+0 0
diff --git a/public_test_cases/p00661/input.1.txt b/public_test_cases/p00661/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2dbe3a2a54034163038c75077e25c744ba61369
--- /dev/null
+++ b/public_test_cases/p00661/input.1.txt
@@ -0,0 +1,5 @@
+12 3
+2 3 6
+12 4
+1 2 3 6
+0 0
diff --git a/public_test_cases/p00661/output.0.txt b/public_test_cases/p00661/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5e649a6ad8bee66fbc0c74ac228a2ccdcd3353a
--- /dev/null
+++ b/public_test_cases/p00661/output.0.txt
@@ -0,0 +1,2 @@
+6.0000000000
+0.0000000000
diff --git a/public_test_cases/p00661/output.1.txt b/public_test_cases/p00661/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5e649a6ad8bee66fbc0c74ac228a2ccdcd3353a
--- /dev/null
+++ b/public_test_cases/p00661/output.1.txt
@@ -0,0 +1,2 @@
+6.0000000000
+0.0000000000
diff --git a/public_test_cases/p00662/input.0.txt b/public_test_cases/p00662/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd83b1ad8fbb692c3684e17c552744ef4d97d028
--- /dev/null
+++ b/public_test_cases/p00662/input.0.txt
@@ -0,0 +1,9 @@
+1 1 1 1 1 1
+1 1 1 0 0 0
+1 0 0 0 1 1
+3 0 0 3 0 0
+3 1 0 1 3 1
+1 2 0 2 0 1
+0 0 1 1 0 3
+1 0 0 1 1 0
+0 0 0 0 0 0
diff --git a/public_test_cases/p00662/input.1.txt b/public_test_cases/p00662/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd83b1ad8fbb692c3684e17c552744ef4d97d028
--- /dev/null
+++ b/public_test_cases/p00662/input.1.txt
@@ -0,0 +1,9 @@
+1 1 1 1 1 1
+1 1 1 0 0 0
+1 0 0 0 1 1
+3 0 0 3 0 0
+3 1 0 1 3 1
+1 2 0 2 0 1
+0 0 1 1 0 3
+1 0 0 1 1 0
+0 0 0 0 0 0
diff --git a/public_test_cases/p00662/output.0.txt b/public_test_cases/p00662/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2196d86d24bf384bb6c150e2b454a98a198f3cbb
--- /dev/null
+++ b/public_test_cases/p00662/output.0.txt
@@ -0,0 +1,8 @@
+2
+1
+1
+2
+3
+1
+1
+0
diff --git a/public_test_cases/p00662/output.1.txt b/public_test_cases/p00662/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2196d86d24bf384bb6c150e2b454a98a198f3cbb
--- /dev/null
+++ b/public_test_cases/p00662/output.1.txt
@@ -0,0 +1,8 @@
+2
+1
+1
+2
+3
+1
+1
+0
diff --git a/public_test_cases/p00663/input.0.txt b/public_test_cases/p00663/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ac453c8e13f5b37a2752fb896cb7a034eb1050c
--- /dev/null
+++ b/public_test_cases/p00663/input.0.txt
@@ -0,0 +1,3 @@
+(B&B&f)|(~d&~i&i)|(~v&i&~V)|(~g&~e&o)|(~f&d&~v)|(d&~i&o)|(g&i&~B)|(~i&f&d)|(e&~i&~V)|(~v&f&~d)
+(S&X&~X)
+#
diff --git a/public_test_cases/p00663/input.1.txt b/public_test_cases/p00663/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ac453c8e13f5b37a2752fb896cb7a034eb1050c
--- /dev/null
+++ b/public_test_cases/p00663/input.1.txt
@@ -0,0 +1,3 @@
+(B&B&f)|(~d&~i&i)|(~v&i&~V)|(~g&~e&o)|(~f&d&~v)|(d&~i&o)|(g&i&~B)|(~i&f&d)|(e&~i&~V)|(~v&f&~d)
+(S&X&~X)
+#
diff --git a/public_test_cases/p00663/input.2.txt b/public_test_cases/p00663/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..862ca21c062e9f2b9ee03b5b9b3d540126cbd83b
--- /dev/null
+++ b/public_test_cases/p00663/input.2.txt
@@ -0,0 +1,2 @@
+(B&B&f)|(~d&~i&i)|(~v&i&~V)|(~g&~e&o)|(~f&d&~v)|(d&~i&o)|(g&i&~B)|(~i&f&d)|(e&~i&~V)|(~v&f&~d)
+(S&X&~X)
diff --git a/public_test_cases/p00663/output.0.txt b/public_test_cases/p00663/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3548ec75745b4bab76190bb939fc489d7873f60
--- /dev/null
+++ b/public_test_cases/p00663/output.0.txt
@@ -0,0 +1,2 @@
+yes
+no
diff --git a/public_test_cases/p00663/output.1.txt b/public_test_cases/p00663/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3548ec75745b4bab76190bb939fc489d7873f60
--- /dev/null
+++ b/public_test_cases/p00663/output.1.txt
@@ -0,0 +1,2 @@
+yes
+no
diff --git a/public_test_cases/p00663/output.2.txt b/public_test_cases/p00663/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3548ec75745b4bab76190bb939fc489d7873f60
--- /dev/null
+++ b/public_test_cases/p00663/output.2.txt
@@ -0,0 +1,2 @@
+yes
+no
diff --git a/public_test_cases/p00664/input.0.txt b/public_test_cases/p00664/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d430a3314c82a3b2f46fc59d9db2590d4587429
--- /dev/null
+++ b/public_test_cases/p00664/input.0.txt
@@ -0,0 +1,19 @@
+5 5 5
+0 0 1
+0 0 0
+0 2 0
+1 2 1
+0 0 0
+5 5 5
+1 4 0
+0 1 1
+0 4 1
+1 3 0
+0 3 1
+5 5 5
+1 0 0
+0 3 0
+1 2 1
+0 4 0
+0 1 1
+0 0 0
diff --git a/public_test_cases/p00664/input.1.txt b/public_test_cases/p00664/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d430a3314c82a3b2f46fc59d9db2590d4587429
--- /dev/null
+++ b/public_test_cases/p00664/input.1.txt
@@ -0,0 +1,19 @@
+5 5 5
+0 0 1
+0 0 0
+0 2 0
+1 2 1
+0 0 0
+5 5 5
+1 4 0
+0 1 1
+0 4 1
+1 3 0
+0 3 1
+5 5 5
+1 0 0
+0 3 0
+1 2 1
+0 4 0
+0 1 1
+0 0 0
diff --git a/public_test_cases/p00664/output.0.txt b/public_test_cases/p00664/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f04d5cd7caa76738eb3603dcefb25d073e8b1cd
--- /dev/null
+++ b/public_test_cases/p00664/output.0.txt
@@ -0,0 +1,3 @@
+4
+13
+8
diff --git a/public_test_cases/p00664/output.1.txt b/public_test_cases/p00664/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f04d5cd7caa76738eb3603dcefb25d073e8b1cd
--- /dev/null
+++ b/public_test_cases/p00664/output.1.txt
@@ -0,0 +1,3 @@
+4
+13
+8
diff --git a/public_test_cases/p00665/input.0.txt b/public_test_cases/p00665/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7042470cedaed779fa41befc02992d8167f54b7c
--- /dev/null
+++ b/public_test_cases/p00665/input.0.txt
@@ -0,0 +1,76 @@
+4 1 3 4
+yskwcnt 16
+akzakr 7
+tsnukk 12
+fnmyi 13
+akzakr
+4 1 3 5
+akzakr 7
+tsnukk 12
+fnmyi 13
+yskwcnt 16
+akzakr
+4 2 2 1
+akzakr 4
+tsnukk 6
+yskwcnt 6
+fnmyi 12
+akzakr
+fnmyi
+5 2 3 28
+knmmdk 6
+skrkyk 14
+tmemm 14
+akmhmr 15
+mksyk 25
+knmmdk
+skrkyk
+5 2 3 11
+tmemm 12
+skrkyk 18
+knmmdk 21
+mksyk 23
+akmhmr 42
+skrkyk
+tmemm
+14 5 10 38
+iormns 19
+hbkgnh 23
+yyitktk 31
+rtkakzk 36
+mmftm 43
+ykhhgwr 65
+hrkamm 66
+ktrotns 67
+mktkkc 68
+mkhsi 69
+azsmur 73
+tknsj 73
+amftm 81
+chyksrg 88
+mkhsi
+hbkgnh
+mktkkc
+yyitktk
+tknsj
+14 5 10 38
+mktkkc 24
+rtkakzk 25
+ykhhgwr 25
+hrkamm 27
+amftm 37
+iormns 38
+tknsj 38
+yyitktk 39
+hbkgnh 53
+mmftm 53
+chyksrg 63
+ktrotns 63
+azsmur 65
+mkhsi 76
+mkhsi
+hbkgnh
+mktkkc
+yyitktk
+tknsj
+0 0 0 0
diff --git a/public_test_cases/p00665/input.1.txt b/public_test_cases/p00665/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7042470cedaed779fa41befc02992d8167f54b7c
--- /dev/null
+++ b/public_test_cases/p00665/input.1.txt
@@ -0,0 +1,76 @@
+4 1 3 4
+yskwcnt 16
+akzakr 7
+tsnukk 12
+fnmyi 13
+akzakr
+4 1 3 5
+akzakr 7
+tsnukk 12
+fnmyi 13
+yskwcnt 16
+akzakr
+4 2 2 1
+akzakr 4
+tsnukk 6
+yskwcnt 6
+fnmyi 12
+akzakr
+fnmyi
+5 2 3 28
+knmmdk 6
+skrkyk 14
+tmemm 14
+akmhmr 15
+mksyk 25
+knmmdk
+skrkyk
+5 2 3 11
+tmemm 12
+skrkyk 18
+knmmdk 21
+mksyk 23
+akmhmr 42
+skrkyk
+tmemm
+14 5 10 38
+iormns 19
+hbkgnh 23
+yyitktk 31
+rtkakzk 36
+mmftm 43
+ykhhgwr 65
+hrkamm 66
+ktrotns 67
+mktkkc 68
+mkhsi 69
+azsmur 73
+tknsj 73
+amftm 81
+chyksrg 88
+mkhsi
+hbkgnh
+mktkkc
+yyitktk
+tknsj
+14 5 10 38
+mktkkc 24
+rtkakzk 25
+ykhhgwr 25
+hrkamm 27
+amftm 37
+iormns 38
+tknsj 38
+yyitktk 39
+hbkgnh 53
+mmftm 53
+chyksrg 63
+ktrotns 63
+azsmur 65
+mkhsi 76
+mkhsi
+hbkgnh
+mktkkc
+yyitktk
+tknsj
+0 0 0 0
diff --git a/public_test_cases/p00665/output.0.txt b/public_test_cases/p00665/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c179e3bd3cf6d128352e1e9aebb2fff2006d2f7a
--- /dev/null
+++ b/public_test_cases/p00665/output.0.txt
@@ -0,0 +1,7 @@
+0
+1
+1
+2
+1
+4
+5
diff --git a/public_test_cases/p00665/output.1.txt b/public_test_cases/p00665/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c179e3bd3cf6d128352e1e9aebb2fff2006d2f7a
--- /dev/null
+++ b/public_test_cases/p00665/output.1.txt
@@ -0,0 +1,7 @@
+0
+1
+1
+2
+1
+4
+5
diff --git a/public_test_cases/p00666/input.0.txt b/public_test_cases/p00666/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fd53e777bcb3565e6d9c6927cb7f01a0be9268b
--- /dev/null
+++ b/public_test_cases/p00666/input.0.txt
@@ -0,0 +1,29 @@
+4
+0.200 3 0.500
+0.100 0 0.400
+0.900 1 1.000
+0.400 2 0.600
+2
+0.600 1 0.800
+0.500 0 1.000
+9
+0.200 7 0.600
+0.400 0 0.500
+0.700 8 1.000
+0.100 4 0.400
+0.200 2 0.600
+0.100 6 0.400
+0.100 5 0.400
+0.600 3 0.900
+0.500 1 0.900
+9
+0.300 8 0.900
+0.700 3 0.800
+0.300 0 0.900
+0.700 6 0.800
+0.200 5 0.700
+0.200 2 0.700
+0.700 4 0.800
+0.700 1 0.800
+0.300 7 0.900
+0
diff --git a/public_test_cases/p00666/input.1.txt b/public_test_cases/p00666/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fd53e777bcb3565e6d9c6927cb7f01a0be9268b
--- /dev/null
+++ b/public_test_cases/p00666/input.1.txt
@@ -0,0 +1,29 @@
+4
+0.200 3 0.500
+0.100 0 0.400
+0.900 1 1.000
+0.400 2 0.600
+2
+0.600 1 0.800
+0.500 0 1.000
+9
+0.200 7 0.600
+0.400 0 0.500
+0.700 8 1.000
+0.100 4 0.400
+0.200 2 0.600
+0.100 6 0.400
+0.100 5 0.400
+0.600 3 0.900
+0.500 1 0.900
+9
+0.300 8 0.900
+0.700 3 0.800
+0.300 0 0.900
+0.700 6 0.800
+0.200 5 0.700
+0.200 2 0.700
+0.700 4 0.800
+0.700 1 0.800
+0.300 7 0.900
+0
diff --git a/public_test_cases/p00666/output.0.txt b/public_test_cases/p00666/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea52a20b9fdb418d5001ca171f47bd74dc3372dc
--- /dev/null
+++ b/public_test_cases/p00666/output.0.txt
@@ -0,0 +1,4 @@
+7.27777777778 1
+2.66666666667 1
+23.98412698413 72
+11.36904761905 4
diff --git a/public_test_cases/p00666/output.1.txt b/public_test_cases/p00666/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea52a20b9fdb418d5001ca171f47bd74dc3372dc
--- /dev/null
+++ b/public_test_cases/p00666/output.1.txt
@@ -0,0 +1,4 @@
+7.27777777778 1
+2.66666666667 1
+23.98412698413 72
+11.36904761905 4
diff --git a/public_test_cases/p00667/input.0.txt b/public_test_cases/p00667/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55d778e9445e663559d70495aecd9655fe7a481b
--- /dev/null
+++ b/public_test_cases/p00667/input.0.txt
@@ -0,0 +1,15 @@
+1
+11
+111111
+111111111111
+12345
+11111111119999999999
+11111111113333333333
+11111111118888888888
+11111111112222222222111111111
+11111111110000000000444444444
+11224111122411
+888888888888999999999999888888888888999999999999999999
+666666666666666777333333333338888888888
+1111114444441111111444499999931111111222222222222888111111115555
+#
diff --git a/public_test_cases/p00667/input.1.txt b/public_test_cases/p00667/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bedeb1fe45b9c5ce1c1552935726004fe0fe960
--- /dev/null
+++ b/public_test_cases/p00667/input.1.txt
@@ -0,0 +1,14 @@
+1
+11
+111111
+111111111111
+12345
+11111111119999999999
+11111111113333333333
+11111111118888888888
+11111111112222222222111111111
+11111111110000000000444444444
+11224111122411
+888888888888999999999999888888888888999999999999999999
+666666666666666777333333333338888888888
+1111114444441111111444499999931111111222222222222888111111115555
diff --git a/public_test_cases/p00667/input.2.txt b/public_test_cases/p00667/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55d778e9445e663559d70495aecd9655fe7a481b
--- /dev/null
+++ b/public_test_cases/p00667/input.2.txt
@@ -0,0 +1,15 @@
+1
+11
+111111
+111111111111
+12345
+11111111119999999999
+11111111113333333333
+11111111118888888888
+11111111112222222222111111111
+11111111110000000000444444444
+11224111122411
+888888888888999999999999888888888888999999999999999999
+666666666666666777333333333338888888888
+1111114444441111111444499999931111111222222222222888111111115555
+#
diff --git a/public_test_cases/p00667/output.0.txt b/public_test_cases/p00667/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bcd0989e5f83b96b6c2342cb4d629265c71322f
--- /dev/null
+++ b/public_test_cases/p00667/output.0.txt
@@ -0,0 +1,14 @@
+1
+2
+32
+1856
+1
+230400
+230400
+156480
+56217600
+38181120
+128
+26681431
+61684293
+40046720
diff --git a/public_test_cases/p00667/output.1.txt b/public_test_cases/p00667/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bcd0989e5f83b96b6c2342cb4d629265c71322f
--- /dev/null
+++ b/public_test_cases/p00667/output.1.txt
@@ -0,0 +1,14 @@
+1
+2
+32
+1856
+1
+230400
+230400
+156480
+56217600
+38181120
+128
+26681431
+61684293
+40046720
diff --git a/public_test_cases/p00667/output.2.txt b/public_test_cases/p00667/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bcd0989e5f83b96b6c2342cb4d629265c71322f
--- /dev/null
+++ b/public_test_cases/p00667/output.2.txt
@@ -0,0 +1,14 @@
+1
+2
+32
+1856
+1
+230400
+230400
+156480
+56217600
+38181120
+128
+26681431
+61684293
+40046720
diff --git a/public_test_cases/p00668/input.0.txt b/public_test_cases/p00668/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..358635d801123c41784d24eff1db2fd1aa6d0f5b
--- /dev/null
+++ b/public_test_cases/p00668/input.0.txt
@@ -0,0 +1,86 @@
+22 5
+0 0
+0 1
+0 2
+0 3
+0 4
+2 1
+2 2
+2 3
+2 4
+2 5
+0 5
+2 1
+0 6
+2 2
+3 3
+2 2
+2 2
+1 2
+2 2
+2 1
+2 2
+2 3
+30 5
+0 383594529
+1 1
+0 868094164
+0 708344471
+0 4102559
+0 944076771
+0 320398558
+1 1
+0 949521499
+0 1035499529
+0 585547493
+0 915496840
+0 721553343
+0 405934659
+0 814301872
+1 1
+2 3
+0 919753364
+1 1
+0 69231610
+2 2
+0 373477673
+0 842917649
+0 961543702
+0 907959899
+2 1
+2 2
+2 3
+2 4
+2 5
+30 5
+0 726736645
+0 1
+0 344304573
+0 241734870
+3 726736645
+1 3
+2 1
+0 586879203
+2 3
+0 511883046
+0 481344051
+0 154183395
+0 435126242
+0 185906768
+1 1
+0 383123551
+0 20253038
+1 5
+2 1
+2 2
+0 163044554
+3 435126242
+0 105612613
+0 725050544
+0 559442328
+2 1
+2 2
+2 3
+2 4
+2 5
+0 0
diff --git a/public_test_cases/p00668/input.1.txt b/public_test_cases/p00668/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..358635d801123c41784d24eff1db2fd1aa6d0f5b
--- /dev/null
+++ b/public_test_cases/p00668/input.1.txt
@@ -0,0 +1,86 @@
+22 5
+0 0
+0 1
+0 2
+0 3
+0 4
+2 1
+2 2
+2 3
+2 4
+2 5
+0 5
+2 1
+0 6
+2 2
+3 3
+2 2
+2 2
+1 2
+2 2
+2 1
+2 2
+2 3
+30 5
+0 383594529
+1 1
+0 868094164
+0 708344471
+0 4102559
+0 944076771
+0 320398558
+1 1
+0 949521499
+0 1035499529
+0 585547493
+0 915496840
+0 721553343
+0 405934659
+0 814301872
+1 1
+2 3
+0 919753364
+1 1
+0 69231610
+2 2
+0 373477673
+0 842917649
+0 961543702
+0 907959899
+2 1
+2 2
+2 3
+2 4
+2 5
+30 5
+0 726736645
+0 1
+0 344304573
+0 241734870
+3 726736645
+1 3
+2 1
+0 586879203
+2 3
+0 511883046
+0 481344051
+0 154183395
+0 435126242
+0 185906768
+1 1
+0 383123551
+0 20253038
+1 5
+2 1
+2 2
+0 163044554
+3 435126242
+0 105612613
+0 725050544
+0 559442328
+2 1
+2 2
+2 3
+2 4
+2 5
+0 0
diff --git a/public_test_cases/p00668/output.0.txt b/public_test_cases/p00668/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75e29b4a2b5abe7db0b9f88d393c0efd1a2de02a
--- /dev/null
+++ b/public_test_cases/p00668/output.0.txt
@@ -0,0 +1,32 @@
+0
+1
+2
+3
+4
+1
+3
+4
+4
+5
+2
+5
+6
+end
+405934659
+405934659
+69231610
+373477673
+842917649
+961543702
+907959899
+end
+1
+586879203
+154183395
+435126242
+383123551
+163044554
+105612613
+725050544
+559442328
+end
diff --git a/public_test_cases/p00668/output.1.txt b/public_test_cases/p00668/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75e29b4a2b5abe7db0b9f88d393c0efd1a2de02a
--- /dev/null
+++ b/public_test_cases/p00668/output.1.txt
@@ -0,0 +1,32 @@
+0
+1
+2
+3
+4
+1
+3
+4
+4
+5
+2
+5
+6
+end
+405934659
+405934659
+69231610
+373477673
+842917649
+961543702
+907959899
+end
+1
+586879203
+154183395
+435126242
+383123551
+163044554
+105612613
+725050544
+559442328
+end
diff --git a/public_test_cases/p00669/input.0.txt b/public_test_cases/p00669/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66a630ee069f1942172a27af7e6a4e0edf521ac3
--- /dev/null
+++ b/public_test_cases/p00669/input.0.txt
@@ -0,0 +1,6 @@
+4 2
+2
+3
+7
+5
+0 0
diff --git a/public_test_cases/p00669/input.1.txt b/public_test_cases/p00669/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66a630ee069f1942172a27af7e6a4e0edf521ac3
--- /dev/null
+++ b/public_test_cases/p00669/input.1.txt
@@ -0,0 +1,6 @@
+4 2
+2
+3
+7
+5
+0 0
diff --git a/public_test_cases/p00669/output.0.txt b/public_test_cases/p00669/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00669/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00669/output.1.txt b/public_test_cases/p00669/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00669/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00670/input.0.txt b/public_test_cases/p00670/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e85826313fd06452c1b657c3fc96296989f27a6
--- /dev/null
+++ b/public_test_cases/p00670/input.0.txt
@@ -0,0 +1,5 @@
+3 7
+1
+3
+10
+0 0
diff --git a/public_test_cases/p00670/input.1.txt b/public_test_cases/p00670/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e85826313fd06452c1b657c3fc96296989f27a6
--- /dev/null
+++ b/public_test_cases/p00670/input.1.txt
@@ -0,0 +1,5 @@
+3 7
+1
+3
+10
+0 0
diff --git a/public_test_cases/p00670/output.0.txt b/public_test_cases/p00670/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00670/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00670/output.1.txt b/public_test_cases/p00670/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00670/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00671/input.0.txt b/public_test_cases/p00671/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae64b4127fa45b9422114e88c2efa9dec3aee212
--- /dev/null
+++ b/public_test_cases/p00671/input.0.txt
@@ -0,0 +1,36 @@
+5 5 10 2
+1 1 0 1 1
+0 9 1 0 1
+1 1 1 9 1
+1 1 9 0 1
+1 1 1 1 0
+1 1 0 1 1
+0 9 1 0 1
+1 1 1 9 1
+1 1 1 0 1
+1 1 1 1 0
+1 1 10 0
+3
+7
+1 1 5 0
+3
+6
+1 2 10 1
+6 7
+5 6
+2 1 10 1
+4
+8
+3
+7
+2 1 10 0
+4
+8
+3
+7
+2 1 5 0
+4
+8
+3
+6
+0 0 0 0
diff --git a/public_test_cases/p00671/input.1.txt b/public_test_cases/p00671/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae64b4127fa45b9422114e88c2efa9dec3aee212
--- /dev/null
+++ b/public_test_cases/p00671/input.1.txt
@@ -0,0 +1,36 @@
+5 5 10 2
+1 1 0 1 1
+0 9 1 0 1
+1 1 1 9 1
+1 1 9 0 1
+1 1 1 1 0
+1 1 0 1 1
+0 9 1 0 1
+1 1 1 9 1
+1 1 1 0 1
+1 1 1 1 0
+1 1 10 0
+3
+7
+1 1 5 0
+3
+6
+1 2 10 1
+6 7
+5 6
+2 1 10 1
+4
+8
+3
+7
+2 1 10 0
+4
+8
+3
+7
+2 1 5 0
+4
+8
+3
+6
+0 0 0 0
diff --git a/public_test_cases/p00671/output.0.txt b/public_test_cases/p00671/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3db76c52b45cbb10f4e586d40156f9c126b2284f
--- /dev/null
+++ b/public_test_cases/p00671/output.0.txt
@@ -0,0 +1,7 @@
+18
+3
+0
+7
+12
+8
+4
diff --git a/public_test_cases/p00671/output.1.txt b/public_test_cases/p00671/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3db76c52b45cbb10f4e586d40156f9c126b2284f
--- /dev/null
+++ b/public_test_cases/p00671/output.1.txt
@@ -0,0 +1,7 @@
+18
+3
+0
+7
+12
+8
+4
diff --git a/public_test_cases/p00672/input.0.txt b/public_test_cases/p00672/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de6f5a7ec0378c954a6e8f7003d18e552da5cc23
--- /dev/null
+++ b/public_test_cases/p00672/input.0.txt
@@ -0,0 +1,63 @@
+2 3 2
+length
+1 0
+time
+0 1
+speed
+1 -1
+a/b
+a length
+b time
+2 3 3
+length
+1 0
+time
+0 1
+speed
+1 -1
+a/b+c
+a length
+b time
+c speed
+2 3 3
+length
+1 0
+time
+0 1
+speed
+1 -1
+a/b+c
+a length
+b time
+c time
+2 3 2
+length
+1 0
+time
+0 1
+speed
+1 -1
+a/b/b
+a length
+b time
+3 6 6
+speed
+1 -1 0
+acceleration
+1 -2 0
+force
+1 -2 1
+length
+1 0 0
+time
+0 1 0
+weight
+0 0 1
+((v+l/t)+a*t)/(t*t)*w*t+f+w*a
+v speed
+l length
+a acceleration
+t time
+w weight
+f force
+0 0 0
diff --git a/public_test_cases/p00672/input.1.txt b/public_test_cases/p00672/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de6f5a7ec0378c954a6e8f7003d18e552da5cc23
--- /dev/null
+++ b/public_test_cases/p00672/input.1.txt
@@ -0,0 +1,63 @@
+2 3 2
+length
+1 0
+time
+0 1
+speed
+1 -1
+a/b
+a length
+b time
+2 3 3
+length
+1 0
+time
+0 1
+speed
+1 -1
+a/b+c
+a length
+b time
+c speed
+2 3 3
+length
+1 0
+time
+0 1
+speed
+1 -1
+a/b+c
+a length
+b time
+c time
+2 3 2
+length
+1 0
+time
+0 1
+speed
+1 -1
+a/b/b
+a length
+b time
+3 6 6
+speed
+1 -1 0
+acceleration
+1 -2 0
+force
+1 -2 1
+length
+1 0 0
+time
+0 1 0
+weight
+0 0 1
+((v+l/t)+a*t)/(t*t)*w*t+f+w*a
+v speed
+l length
+a acceleration
+t time
+w weight
+f force
+0 0 0
diff --git a/public_test_cases/p00672/output.0.txt b/public_test_cases/p00672/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0786a60c473843ba8fa735ac1d9f0b952d822f31
--- /dev/null
+++ b/public_test_cases/p00672/output.0.txt
@@ -0,0 +1,5 @@
+speed
+speed
+error
+undefined
+force
diff --git a/public_test_cases/p00672/output.1.txt b/public_test_cases/p00672/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0786a60c473843ba8fa735ac1d9f0b952d822f31
--- /dev/null
+++ b/public_test_cases/p00672/output.1.txt
@@ -0,0 +1,5 @@
+speed
+speed
+error
+undefined
+force
diff --git a/public_test_cases/p00673/input.0.txt b/public_test_cases/p00673/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4127f1977d7cc8f1fa4c6a7e6ba4fbb106b3e44a
--- /dev/null
+++ b/public_test_cases/p00673/input.0.txt
@@ -0,0 +1,17 @@
+2
+4
+1 2 10
+2 2 5
+1 3 20
+2 3 10
+10
+3
+2
+1 2 5
+0 3 4
+3
+10 11 100
+2 12 2
+12 12 3
+10
+0
diff --git a/public_test_cases/p00673/input.1.txt b/public_test_cases/p00673/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4127f1977d7cc8f1fa4c6a7e6ba4fbb106b3e44a
--- /dev/null
+++ b/public_test_cases/p00673/input.1.txt
@@ -0,0 +1,17 @@
+2
+4
+1 2 10
+2 2 5
+1 3 20
+2 3 10
+10
+3
+2
+1 2 5
+0 3 4
+3
+10 11 100
+2 12 2
+12 12 3
+10
+0
diff --git a/public_test_cases/p00673/output.0.txt b/public_test_cases/p00673/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac2c8ace99a52ec833ea5cbe37d920888ebb2dc6
--- /dev/null
+++ b/public_test_cases/p00673/output.0.txt
@@ -0,0 +1,2 @@
+2 15
+2 111
diff --git a/public_test_cases/p00673/output.1.txt b/public_test_cases/p00673/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac2c8ace99a52ec833ea5cbe37d920888ebb2dc6
--- /dev/null
+++ b/public_test_cases/p00673/output.1.txt
@@ -0,0 +1,2 @@
+2 15
+2 111
diff --git a/public_test_cases/p00674/input.0.txt b/public_test_cases/p00674/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80d5864f6b145b4450c6104281965a7e345f99ce
--- /dev/null
+++ b/public_test_cases/p00674/input.0.txt
@@ -0,0 +1,31 @@
+4
+-100 -100
+100 -100
+100 100
+-100 100
+4
+-99 -100
+100 -100
+100 100
+-99 100
+4
+-100 -99
+100 -99
+100 100
+-100 100
+14
+-99 -70
+-92 -79
+10 -98
+37 -100
+62 -95
+77 -69
+88 -47
+92 -10
+96 28
+100 91
+42 92
+-62 92
+-88 91
+-98 64
+0
diff --git a/public_test_cases/p00674/input.1.txt b/public_test_cases/p00674/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80d5864f6b145b4450c6104281965a7e345f99ce
--- /dev/null
+++ b/public_test_cases/p00674/input.1.txt
@@ -0,0 +1,31 @@
+4
+-100 -100
+100 -100
+100 100
+-100 100
+4
+-99 -100
+100 -100
+100 100
+-99 100
+4
+-100 -99
+100 -99
+100 100
+-100 100
+14
+-99 -70
+-92 -79
+10 -98
+37 -100
+62 -95
+77 -69
+88 -47
+92 -10
+96 28
+100 91
+42 92
+-62 92
+-88 91
+-98 64
+0
diff --git a/public_test_cases/p00674/output.0.txt b/public_test_cases/p00674/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0302c12abd34465a5a2ffeb97c6ed60a9c3857e5
--- /dev/null
+++ b/public_test_cases/p00674/output.0.txt
@@ -0,0 +1,4 @@
+100.000000000000000 0.000000000000000
+100.000000000000000 0.000000000000000
+0.000000000000000 100.000000000000000
+-96.983291994836122 66.745111613942484
diff --git a/public_test_cases/p00674/output.1.txt b/public_test_cases/p00674/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0302c12abd34465a5a2ffeb97c6ed60a9c3857e5
--- /dev/null
+++ b/public_test_cases/p00674/output.1.txt
@@ -0,0 +1,4 @@
+100.000000000000000 0.000000000000000
+100.000000000000000 0.000000000000000
+0.000000000000000 100.000000000000000
+-96.983291994836122 66.745111613942484
diff --git a/public_test_cases/p00675/input.0.txt b/public_test_cases/p00675/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23b9a625b4d6061a38d0cbbb20c8373b5ffaea16
--- /dev/null
+++ b/public_test_cases/p00675/input.0.txt
@@ -0,0 +1,65 @@
+2
+1
+1
+2
+1 2 1
+2 1 1
+1
+1111
+2
+1
+1
+2
+1 2 1
+2 1 1
+1
+11
+2
+1
+1
+2
+1 2 1
+2 1 1
+10
+1111
+2
+1
+1
+2
+1 2 1
+2 1 1
+10
+111111
+2
+1
+1
+2
+1 2 -1
+2 1 0
+10
+11
+2
+1
+1
+2
+1 2 -1
+2 1 0
+10
+1111
+2
+1
+1
+2
+1 2 -1
+2 1 0
+10
+12
+2
+1
+1
+2
+1 2 -1
+2 1 0
+10
+1111111111
+0
diff --git a/public_test_cases/p00675/input.1.txt b/public_test_cases/p00675/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23b9a625b4d6061a38d0cbbb20c8373b5ffaea16
--- /dev/null
+++ b/public_test_cases/p00675/input.1.txt
@@ -0,0 +1,65 @@
+2
+1
+1
+2
+1 2 1
+2 1 1
+1
+1111
+2
+1
+1
+2
+1 2 1
+2 1 1
+1
+11
+2
+1
+1
+2
+1 2 1
+2 1 1
+10
+1111
+2
+1
+1
+2
+1 2 1
+2 1 1
+10
+111111
+2
+1
+1
+2
+1 2 -1
+2 1 0
+10
+11
+2
+1
+1
+2
+1 2 -1
+2 1 0
+10
+1111
+2
+1
+1
+2
+1 2 -1
+2 1 0
+10
+12
+2
+1
+1
+2
+1 2 -1
+2 1 0
+10
+1111111111
+0
diff --git a/public_test_cases/p00675/output.0.txt b/public_test_cases/p00675/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e64c4563d68730052696c18171dcca4d00741bf
--- /dev/null
+++ b/public_test_cases/p00675/output.0.txt
@@ -0,0 +1,8 @@
+1 1
+0 0
+1 1
+2 4
+0 0
+1 -1
+-1
+4 -10
diff --git a/public_test_cases/p00675/output.1.txt b/public_test_cases/p00675/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e64c4563d68730052696c18171dcca4d00741bf
--- /dev/null
+++ b/public_test_cases/p00675/output.1.txt
@@ -0,0 +1,8 @@
+1 1
+0 0
+1 1
+2 4
+0 0
+1 -1
+-1
+4 -10
diff --git a/public_test_cases/p00676/input.0.txt b/public_test_cases/p00676/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adf92cb3e76a942148329a51499ee03e76fc3adb
--- /dev/null
+++ b/public_test_cases/p00676/input.0.txt
@@ -0,0 +1,4 @@
+2 2 1
+2 3 1
+3 2 3
+2 3 5
diff --git a/public_test_cases/p00676/input.1.txt b/public_test_cases/p00676/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adf92cb3e76a942148329a51499ee03e76fc3adb
--- /dev/null
+++ b/public_test_cases/p00676/input.1.txt
@@ -0,0 +1,4 @@
+2 2 1
+2 3 1
+3 2 3
+2 3 5
diff --git a/public_test_cases/p00676/output.0.txt b/public_test_cases/p00676/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd96a9a8ba5edb56b8dac0fdcdfb3beb7cc8341c
--- /dev/null
+++ b/public_test_cases/p00676/output.0.txt
@@ -0,0 +1,4 @@
+3.9681187851
+6.7970540913
+6.5668891783
+13.9527248554
diff --git a/public_test_cases/p00676/output.1.txt b/public_test_cases/p00676/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd96a9a8ba5edb56b8dac0fdcdfb3beb7cc8341c
--- /dev/null
+++ b/public_test_cases/p00676/output.1.txt
@@ -0,0 +1,4 @@
+3.9681187851
+6.7970540913
+6.5668891783
+13.9527248554
diff --git a/public_test_cases/p00677/input.0.txt b/public_test_cases/p00677/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e8783c3f141ca1df1347acc98239908bfb15e82
--- /dev/null
+++ b/public_test_cases/p00677/input.0.txt
@@ -0,0 +1,13 @@
+3 3 100
+2
+5 20 3 10
+2
+10 50 12 60
+2
+8 30 22 100
+0 1 2
+
+1 1 30
+1
+13 8
+0
diff --git a/public_test_cases/p00677/input.1.txt b/public_test_cases/p00677/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e8783c3f141ca1df1347acc98239908bfb15e82
--- /dev/null
+++ b/public_test_cases/p00677/input.1.txt
@@ -0,0 +1,13 @@
+3 3 100
+2
+5 20 3 10
+2
+10 50 12 60
+2
+8 30 22 100
+0 1 2
+
+1 1 30
+1
+13 8
+0
diff --git a/public_test_cases/p00677/output.0.txt b/public_test_cases/p00677/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4f3047e7049bfaa0fc79eec6a54ce6bfe0e0bb7
--- /dev/null
+++ b/public_test_cases/p00677/output.0.txt
@@ -0,0 +1,2 @@
+23 100
+13 8
diff --git a/public_test_cases/p00677/output.1.txt b/public_test_cases/p00677/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4f3047e7049bfaa0fc79eec6a54ce6bfe0e0bb7
--- /dev/null
+++ b/public_test_cases/p00677/output.1.txt
@@ -0,0 +1,2 @@
+23 100
+13 8
diff --git a/public_test_cases/p00678/input.0.txt b/public_test_cases/p00678/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79154438ebb615be8303af92ae5906687a2c0571
--- /dev/null
+++ b/public_test_cases/p00678/input.0.txt
@@ -0,0 +1,9 @@
+2
+1 1 1
+2 2 1
+4
+1 1 3
+3 1 3
+4 2 1
+1 5 3
+0
diff --git a/public_test_cases/p00678/input.1.txt b/public_test_cases/p00678/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79154438ebb615be8303af92ae5906687a2c0571
--- /dev/null
+++ b/public_test_cases/p00678/input.1.txt
@@ -0,0 +1,9 @@
+2
+1 1 1
+2 2 1
+4
+1 1 3
+3 1 3
+4 2 1
+1 5 3
+0
diff --git a/public_test_cases/p00678/output.0.txt b/public_test_cases/p00678/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1529211d0826984cb71545a429582183bc2fe37c
--- /dev/null
+++ b/public_test_cases/p00678/output.0.txt
@@ -0,0 +1,2 @@
+0.70710678
+1.06066017
diff --git a/public_test_cases/p00678/output.1.txt b/public_test_cases/p00678/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1529211d0826984cb71545a429582183bc2fe37c
--- /dev/null
+++ b/public_test_cases/p00678/output.1.txt
@@ -0,0 +1,2 @@
+0.70710678
+1.06066017
diff --git a/public_test_cases/p00679/input.0.txt b/public_test_cases/p00679/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b9514ef032cbd7679ee751c5775411d06fedee8
--- /dev/null
+++ b/public_test_cases/p00679/input.0.txt
@@ -0,0 +1,13 @@
+3 2
+0 0 0
+1 1 1
+2 2 2
+4
+-1 -1 -1
+3 3 3
+-1 -1 -1
+4 4 4
+2
+1234 5678 9012
+1716 6155 9455
+0 0
diff --git a/public_test_cases/p00679/output.0.txt b/public_test_cases/p00679/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39ad5cc443890158cc99a3c653e7872aa950817c
--- /dev/null
+++ b/public_test_cases/p00679/output.0.txt
@@ -0,0 +1,2 @@
+12.124355653
+810.001234567
diff --git a/public_test_cases/p00680/input.0.txt b/public_test_cases/p00680/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db4d186989b5358f66ed3ba2fef7e98d0383c239
--- /dev/null
+++ b/public_test_cases/p00680/input.0.txt
@@ -0,0 +1,64 @@
+3
+3 0 2 5
+1 1 1 6
+3 2 1 10
+1 -2 3 6
+2
+1 2
+3 3
+1
+2
+3
+0
+3 0 2 5
+1 1 1 6
+3 2 1 10
+1 -2 3 6
+2
+1 2
+2 2
+1
+2
+2
+0
+10 2 7 20
+8 9 -5 6 -9 5 1 0 4 9 4
+3 -1 -8 0 -5 4 3 0 -3 2 4
+-4 5 8 -4 1 -8 -6 3 3 5 -7
+-7 0 2 5 8 -5 -9 -8 1 -2 -1
+3 8 1 -3 8 2 -5 8 -3 4 -4
+-2 5 0 -2 -4 4 -3 9 6 -1 -2
+4 1 2 -9 3 5 6 -4 4 -1 -4
+-4 6 6 9 -2 1 -9 -3 -7 3 -4
+1 -1 6 3 1 -5 9 5 -5 -9 -5
+-7 4 6 8 8 4 -4 4 -7 -8 -5
+5
+1 5 0 6 3
+15 17 14 7 15
+3
+1 5 7
+6 8 14
+10
+3 5 3 5 9 5 9 5 1 4
+12 6 16 11 16 7 9 3 13 13
+10
+9 1 5 6 2 5 8 5 9 4
+15 8 8 14 13 13 18 1 12 11
+5
+3 5 0 4 6
+14 15 4 14 11
+9
+5 0 6 2 7 8 8 6 6
+6 5 7 17 17 17 17 19 3
+9
+7 7 2 7 8 4 7 7 0
+4 13 16 10 19 17 19 12 19
+3
+1 5 1
+3 7 16
+8
+5 7 4 9 1 4 6 8
+4 3 6 12 6 19 10 1
+4
+1 3 6 3
+5 15 18 14
diff --git a/public_test_cases/p00680/input.1.txt b/public_test_cases/p00680/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db4d186989b5358f66ed3ba2fef7e98d0383c239
--- /dev/null
+++ b/public_test_cases/p00680/input.1.txt
@@ -0,0 +1,64 @@
+3
+3 0 2 5
+1 1 1 6
+3 2 1 10
+1 -2 3 6
+2
+1 2
+3 3
+1
+2
+3
+0
+3 0 2 5
+1 1 1 6
+3 2 1 10
+1 -2 3 6
+2
+1 2
+2 2
+1
+2
+2
+0
+10 2 7 20
+8 9 -5 6 -9 5 1 0 4 9 4
+3 -1 -8 0 -5 4 3 0 -3 2 4
+-4 5 8 -4 1 -8 -6 3 3 5 -7
+-7 0 2 5 8 -5 -9 -8 1 -2 -1
+3 8 1 -3 8 2 -5 8 -3 4 -4
+-2 5 0 -2 -4 4 -3 9 6 -1 -2
+4 1 2 -9 3 5 6 -4 4 -1 -4
+-4 6 6 9 -2 1 -9 -3 -7 3 -4
+1 -1 6 3 1 -5 9 5 -5 -9 -5
+-7 4 6 8 8 4 -4 4 -7 -8 -5
+5
+1 5 0 6 3
+15 17 14 7 15
+3
+1 5 7
+6 8 14
+10
+3 5 3 5 9 5 9 5 1 4
+12 6 16 11 16 7 9 3 13 13
+10
+9 1 5 6 2 5 8 5 9 4
+15 8 8 14 13 13 18 1 12 11
+5
+3 5 0 4 6
+14 15 4 14 11
+9
+5 0 6 2 7 8 8 6 6
+6 5 7 17 17 17 17 19 3
+9
+7 7 2 7 8 4 7 7 0
+4 13 16 10 19 17 19 12 19
+3
+1 5 1
+3 7 16
+8
+5 7 4 9 1 4 6 8
+4 3 6 12 6 19 10 1
+4
+1 3 6 3
+5 15 18 14
diff --git a/public_test_cases/p00680/output.0.txt b/public_test_cases/p00680/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..757158e2cb570e622280c2bf0aa60075763d4d71
--- /dev/null
+++ b/public_test_cases/p00680/output.0.txt
@@ -0,0 +1,3 @@
+10.0000000000
+impossible
+11.9354380207
diff --git a/public_test_cases/p00680/output.1.txt b/public_test_cases/p00680/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..757158e2cb570e622280c2bf0aa60075763d4d71
--- /dev/null
+++ b/public_test_cases/p00680/output.1.txt
@@ -0,0 +1,3 @@
+10.0000000000
+impossible
+11.9354380207
diff --git a/public_test_cases/p00681/input.0.txt b/public_test_cases/p00681/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e338546ea788f808339826101be7db0ee68753b
--- /dev/null
+++ b/public_test_cases/p00681/input.0.txt
@@ -0,0 +1,27 @@
+3 3
+ 0 0
+0 0 0
+ 0 0
+0 0 1
+ 0 1
+0 0
+0 1
+1 1
+2 2
+1
+5 5
+ 0 1 0 0
+1 0 0 1 0
+ 1 0 1 0
+0 1 0 0 1
+ 0 1 1 0
+0 1 0 1 0
+ 1 1 1 0
+0 0 0 0 0
+ 0 0 1 1
+0 0
+1 0
+4 4
+0 1
+2
+0 0
diff --git a/public_test_cases/p00681/input.1.txt b/public_test_cases/p00681/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1129fbfe54297af97e766e1e7057e6e5c6e2dad0
--- /dev/null
+++ b/public_test_cases/p00681/input.1.txt
@@ -0,0 +1,27 @@
+3 3
+0 0
+0 0 0
+0 0
+0 0 1
+0 1
+0 0
+0 1
+1 1
+2 2
+1
+5 5
+0 1 0 0
+1 0 0 1 0
+1 0 1 0
+0 1 0 0 1
+0 1 1 0
+0 1 0 1 0
+1 1 1 0
+0 0 0 0 0
+0 0 1 1
+0 0
+1 0
+4 4
+0 1
+2
+0 0
diff --git a/public_test_cases/p00681/input.2.txt b/public_test_cases/p00681/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e338546ea788f808339826101be7db0ee68753b
--- /dev/null
+++ b/public_test_cases/p00681/input.2.txt
@@ -0,0 +1,27 @@
+3 3
+ 0 0
+0 0 0
+ 0 0
+0 0 1
+ 0 1
+0 0
+0 1
+1 1
+2 2
+1
+5 5
+ 0 1 0 0
+1 0 0 1 0
+ 1 0 1 0
+0 1 0 0 1
+ 0 1 1 0
+0 1 0 1 0
+ 1 1 1 0
+0 0 0 0 0
+ 0 0 1 1
+0 0
+1 0
+4 4
+0 1
+2
+0 0
diff --git a/public_test_cases/p00681/output.0.txt b/public_test_cases/p00681/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18febc72d15f481d3d5ff77e1d3993cc9f8d8432
--- /dev/null
+++ b/public_test_cases/p00681/output.0.txt
@@ -0,0 +1,2 @@
+4
+15
diff --git a/public_test_cases/p00681/output.1.txt b/public_test_cases/p00681/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18febc72d15f481d3d5ff77e1d3993cc9f8d8432
--- /dev/null
+++ b/public_test_cases/p00681/output.1.txt
@@ -0,0 +1,2 @@
+4
+15
diff --git a/public_test_cases/p00681/output.2.txt b/public_test_cases/p00681/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18febc72d15f481d3d5ff77e1d3993cc9f8d8432
--- /dev/null
+++ b/public_test_cases/p00681/output.2.txt
@@ -0,0 +1,2 @@
+4
+15
diff --git a/public_test_cases/p00682/input.0.txt b/public_test_cases/p00682/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97156b9ca04da7d16e3829d89599167597f25e19
--- /dev/null
+++ b/public_test_cases/p00682/input.0.txt
@@ -0,0 +1,15 @@
+3
+1 1
+3 4
+6 0
+
+7
+0 0
+10 10
+0 20
+10 30
+0 40
+100 40
+100 0
+
+0
diff --git a/public_test_cases/p00682/input.1.txt b/public_test_cases/p00682/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97156b9ca04da7d16e3829d89599167597f25e19
--- /dev/null
+++ b/public_test_cases/p00682/input.1.txt
@@ -0,0 +1,15 @@
+3
+1 1
+3 4
+6 0
+
+7
+0 0
+10 10
+0 20
+10 30
+0 40
+100 40
+100 0
+
+0
diff --git a/public_test_cases/p00682/output.0.txt b/public_test_cases/p00682/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dc605169f552bd409a5146da52f81c725284799
--- /dev/null
+++ b/public_test_cases/p00682/output.0.txt
@@ -0,0 +1,2 @@
+1 8.5
+2 3800.0
diff --git a/public_test_cases/p00682/output.1.txt b/public_test_cases/p00682/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dc605169f552bd409a5146da52f81c725284799
--- /dev/null
+++ b/public_test_cases/p00682/output.1.txt
@@ -0,0 +1,2 @@
+1 8.5
+2 3800.0
diff --git a/public_test_cases/p00683/input.1.txt b/public_test_cases/p00683/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..158092b725ada4746ca887e59a71c06531c10229
--- /dev/null
+++ b/public_test_cases/p00683/input.1.txt
@@ -0,0 +1,26 @@
+3
+A sample input
+9
+forward word
+delete char
+forward word
+delete char
+forward word
+delete char
+backward word
+backward word
+forward word
+Hallow, Word.
+7
+forward char
+delete word
+insert "ello, "
+forward word
+backward char
+backward char
+insert "l"
+
+3
+forward word
+backward word
+delete word
diff --git a/public_test_cases/p00683/output.1.txt b/public_test_cases/p00683/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f25185c70cc9ed7ef907dc2a06698696d555e75f
--- /dev/null
+++ b/public_test_cases/p00683/output.1.txt
@@ -0,0 +1,3 @@
+Asampleinput^
+Hello, Worl^d.
+^
diff --git a/public_test_cases/p00684/input.0.txt b/public_test_cases/p00684/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..613d0dac898eb1f2c5e09bf69127589d4f771ddb
--- /dev/null
+++ b/public_test_cases/p00684/input.0.txt
@@ -0,0 +1,4 @@
+(1-10*i)+00007+(3+10*i)
+3+4*i*(4+10*i)
+(102+10*i)*(99+10*i)
+2*i+3+9999*i+4
diff --git a/public_test_cases/p00684/input.1.txt b/public_test_cases/p00684/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..613d0dac898eb1f2c5e09bf69127589d4f771ddb
--- /dev/null
+++ b/public_test_cases/p00684/input.1.txt
@@ -0,0 +1,4 @@
+(1-10*i)+00007+(3+10*i)
+3+4*i*(4+10*i)
+(102+10*i)*(99+10*i)
+2*i+3+9999*i+4
diff --git a/public_test_cases/p00684/output.0.txt b/public_test_cases/p00684/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41f274ef9ba2652931e7c27f664699244d8af8b6
--- /dev/null
+++ b/public_test_cases/p00684/output.0.txt
@@ -0,0 +1,4 @@
+11
+-37+16i
+9998+2010i
+overflow
diff --git a/public_test_cases/p00684/output.1.txt b/public_test_cases/p00684/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41f274ef9ba2652931e7c27f664699244d8af8b6
--- /dev/null
+++ b/public_test_cases/p00684/output.1.txt
@@ -0,0 +1,4 @@
+11
+-37+16i
+9998+2010i
+overflow
diff --git a/public_test_cases/p00685/input.1.txt b/public_test_cases/p00685/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b77146d3b62c8f484b6f51eded2f01f10870487
--- /dev/null
+++ b/public_test_cases/p00685/input.1.txt
@@ -0,0 +1,3 @@
+-2 1 -1 1 1 1 1 2
+1 0 2 1 2 2 3 3
+5
diff --git a/public_test_cases/p00685/output.1.txt b/public_test_cases/p00685/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4652308295b238bc90288cfd0662193b8186200
--- /dev/null
+++ b/public_test_cases/p00685/output.1.txt
@@ -0,0 +1,2 @@
+2
+15
diff --git a/public_test_cases/p00686/input.0.txt b/public_test_cases/p00686/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc8bd0951d2d5251e6387e114dea813ba50f5e8f
--- /dev/null
+++ b/public_test_cases/p00686/input.0.txt
@@ -0,0 +1,11 @@
+6 5
+FORWARD 3
+RIGHT
+FORWARD 5
+LEFT
+BACKWARD 2
+STOP
+3 1
+FORWARD 2
+STOP
+0 0
diff --git a/public_test_cases/p00686/input.1.txt b/public_test_cases/p00686/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc8bd0951d2d5251e6387e114dea813ba50f5e8f
--- /dev/null
+++ b/public_test_cases/p00686/input.1.txt
@@ -0,0 +1,11 @@
+6 5
+FORWARD 3
+RIGHT
+FORWARD 5
+LEFT
+BACKWARD 2
+STOP
+3 1
+FORWARD 2
+STOP
+0 0
diff --git a/public_test_cases/p00686/output.0.txt b/public_test_cases/p00686/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d51fbd88825d756c79d808e251125c21bc7a46cb
--- /dev/null
+++ b/public_test_cases/p00686/output.0.txt
@@ -0,0 +1,2 @@
+6 2
+1 1
diff --git a/public_test_cases/p00686/output.1.txt b/public_test_cases/p00686/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d51fbd88825d756c79d808e251125c21bc7a46cb
--- /dev/null
+++ b/public_test_cases/p00686/output.1.txt
@@ -0,0 +1,2 @@
+6 2
+1 1
diff --git a/public_test_cases/p00687/input.0.txt b/public_test_cases/p00687/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74100f7a9e2dabc693151fefdde5e7e3a71fce61
--- /dev/null
+++ b/public_test_cases/p00687/input.0.txt
@@ -0,0 +1,4 @@
+10 2 3
+10 2 5
+100 5 25
+0 0 0
diff --git a/public_test_cases/p00687/input.1.txt b/public_test_cases/p00687/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74100f7a9e2dabc693151fefdde5e7e3a71fce61
--- /dev/null
+++ b/public_test_cases/p00687/input.1.txt
@@ -0,0 +1,4 @@
+10 2 3
+10 2 5
+100 5 25
+0 0 0
diff --git a/public_test_cases/p00687/output.0.txt b/public_test_cases/p00687/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96f23fe673723c0f27a12aad6d957cea2c49e55b
--- /dev/null
+++ b/public_test_cases/p00687/output.0.txt
@@ -0,0 +1,3 @@
+1
+2
+80
diff --git a/public_test_cases/p00687/output.1.txt b/public_test_cases/p00687/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96f23fe673723c0f27a12aad6d957cea2c49e55b
--- /dev/null
+++ b/public_test_cases/p00687/output.1.txt
@@ -0,0 +1,3 @@
+1
+2
+80
diff --git a/public_test_cases/p00688/input.0.txt b/public_test_cases/p00688/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdaa9cfe157cedee3fe9576210868340b3a5c06c
--- /dev/null
+++ b/public_test_cases/p00688/input.0.txt
@@ -0,0 +1,5 @@
+2 5 2
+1 1 1
+10 -7 0
+1 0 -3
+0 0 0
diff --git a/public_test_cases/p00688/input.1.txt b/public_test_cases/p00688/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdaa9cfe157cedee3fe9576210868340b3a5c06c
--- /dev/null
+++ b/public_test_cases/p00688/input.1.txt
@@ -0,0 +1,5 @@
+2 5 2
+1 1 1
+10 -7 0
+1 0 -3
+0 0 0
diff --git a/public_test_cases/p00688/output.0.txt b/public_test_cases/p00688/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..955c3dc349a8fb32a8425dcb802e8fdb5278882d
--- /dev/null
+++ b/public_test_cases/p00688/output.0.txt
@@ -0,0 +1,4 @@
+2 1 1 2
+Impossible
+10 -7 1 0
+Impossible
diff --git a/public_test_cases/p00688/output.1.txt b/public_test_cases/p00688/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..955c3dc349a8fb32a8425dcb802e8fdb5278882d
--- /dev/null
+++ b/public_test_cases/p00688/output.1.txt
@@ -0,0 +1,4 @@
+2 1 1 2
+Impossible
+10 -7 1 0
+Impossible
diff --git a/public_test_cases/p00689/input.0.txt b/public_test_cases/p00689/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5ffc7320d8954b542769d055e10d806b449276e
--- /dev/null
+++ b/public_test_cases/p00689/input.0.txt
@@ -0,0 +1,16 @@
+8
+ 60 70
+ 20 40
+ 50 50
+ 70 10
+ 10 70
+ 80 90
+ 70 50
+ 100 50
+5
+ 60 50
+ 0 80
+ 60 20
+ 10 20
+ 60 80
+0
diff --git a/public_test_cases/p00689/output.0.txt b/public_test_cases/p00689/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9db4cc83c5f33591ceb008f73365bccb9b67b97f
--- /dev/null
+++ b/public_test_cases/p00689/output.0.txt
@@ -0,0 +1,2 @@
+388.9
+250.0
diff --git a/public_test_cases/p00690/input.0.txt b/public_test_cases/p00690/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce200a572bcd760f9d98b048a48eff63983e734c
--- /dev/null
+++ b/public_test_cases/p00690/input.0.txt
@@ -0,0 +1,18 @@
+ 6 5
+ 1 3 10
+ 2 3 12
+ 3 4 2
+ 4 5 13
+ 4 6 11
+10 10
+ 1 2 11
+ 2 3 25
+ 2 5 81
+ 2 6 82
+ 4 5 58
+ 5 9 68
+ 6 7 80
+ 6 9 67
+ 8 9 44
+ 9 10 21
+ 0 0
diff --git a/public_test_cases/p00690/input.1.txt b/public_test_cases/p00690/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8924988caa55b8e9817d35b4868a0bb95aa0398c
--- /dev/null
+++ b/public_test_cases/p00690/input.1.txt
@@ -0,0 +1,18 @@
+6 5
+ 1 3 10
+ 2 3 12
+ 3 4 2
+ 4 5 13
+ 4 6 11
+10 10
+ 1 2 11
+ 2 3 25
+ 2 5 81
+ 2 6 82
+ 4 5 58
+ 5 9 68
+ 6 7 80
+ 6 9 67
+ 8 9 44
+ 9 10 21
+ 0 0
diff --git a/public_test_cases/p00690/input.2.txt b/public_test_cases/p00690/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5652e35578d06fac55134fd254f8b55a5b05dfb1
--- /dev/null
+++ b/public_test_cases/p00690/input.2.txt
@@ -0,0 +1,18 @@
+6 5
+1 3 10
+2 3 12
+3 4 2
+4 5 13
+4 6 11
+10 10
+1 2 11
+2 3 25
+2 5 81
+2 6 82
+4 5 58
+5 9 68
+6 7 80
+6 9 67
+8 9 44
+9 10 21
+0 0
diff --git a/public_test_cases/p00690/output.0.txt b/public_test_cases/p00690/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8392cfcc9057e47b9c46f62d5bf22acec9f91bbc
--- /dev/null
+++ b/public_test_cases/p00690/output.0.txt
@@ -0,0 +1,4 @@
+27
+2 3 4 5
+378
+6 2 5 9 6 7
diff --git a/public_test_cases/p00690/output.1.txt b/public_test_cases/p00690/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8392cfcc9057e47b9c46f62d5bf22acec9f91bbc
--- /dev/null
+++ b/public_test_cases/p00690/output.1.txt
@@ -0,0 +1,4 @@
+27
+2 3 4 5
+378
+6 2 5 9 6 7
diff --git a/public_test_cases/p00690/output.2.txt b/public_test_cases/p00690/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8392cfcc9057e47b9c46f62d5bf22acec9f91bbc
--- /dev/null
+++ b/public_test_cases/p00690/output.2.txt
@@ -0,0 +1,4 @@
+27
+2 3 4 5
+378
+6 2 5 9 6 7
diff --git a/public_test_cases/p00691/input.0.txt b/public_test_cases/p00691/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33e16568c1ade14f6f00bf4bbe74742321436ac5
--- /dev/null
+++ b/public_test_cases/p00691/input.0.txt
@@ -0,0 +1,4 @@
+6
+4
+2
+0
diff --git a/public_test_cases/p00691/input.1.txt b/public_test_cases/p00691/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33e16568c1ade14f6f00bf4bbe74742321436ac5
--- /dev/null
+++ b/public_test_cases/p00691/input.1.txt
@@ -0,0 +1,4 @@
+6
+4
+2
+0
diff --git a/public_test_cases/p00691/output.0.txt b/public_test_cases/p00691/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17abb03806adc87300558944d613c128b1f96b60
--- /dev/null
+++ b/public_test_cases/p00691/output.0.txt
@@ -0,0 +1,3 @@
+27
+10
+6
diff --git a/public_test_cases/p00691/output.1.txt b/public_test_cases/p00691/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17abb03806adc87300558944d613c128b1f96b60
--- /dev/null
+++ b/public_test_cases/p00691/output.1.txt
@@ -0,0 +1,3 @@
+27
+10
+6
diff --git a/public_test_cases/p00692/input.0.txt b/public_test_cases/p00692/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbab541e3d944fcb48877359641127c98725e941
--- /dev/null
+++ b/public_test_cases/p00692/input.0.txt
@@ -0,0 +1,21 @@
+4
+1 4 5 2
+3 1 4 3
+5 4 2 2
+4 5 2 3
+1 1 3 5
+5 1 5 1
+4 5 3 2
+3 2 1 4
+1 4 5 3
+2 3 4 2
+1 2 1 2
+5 4 5 4
+2 1 2 1
+3 5 3 4
+3 3 5 4
+4 2 3 1
+2 5 3 1
+3 5 4 2
+1 5 4 1
+4 5 3 2
diff --git a/public_test_cases/p00692/input.1.txt b/public_test_cases/p00692/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbab541e3d944fcb48877359641127c98725e941
--- /dev/null
+++ b/public_test_cases/p00692/input.1.txt
@@ -0,0 +1,21 @@
+4
+1 4 5 2
+3 1 4 3
+5 4 2 2
+4 5 2 3
+1 1 3 5
+5 1 5 1
+4 5 3 2
+3 2 1 4
+1 4 5 3
+2 3 4 2
+1 2 1 2
+5 4 5 4
+2 1 2 1
+3 5 3 4
+3 3 5 4
+4 2 3 1
+2 5 3 1
+3 5 4 2
+1 5 4 1
+4 5 3 2
diff --git a/public_test_cases/p00692/output.0.txt b/public_test_cases/p00692/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4742e0a2b3a95181e7d25dea56d69e8a73bfcd
--- /dev/null
+++ b/public_test_cases/p00692/output.0.txt
@@ -0,0 +1,4 @@
+0
+4
+12
+0
diff --git a/public_test_cases/p00692/output.1.txt b/public_test_cases/p00692/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4742e0a2b3a95181e7d25dea56d69e8a73bfcd
--- /dev/null
+++ b/public_test_cases/p00692/output.1.txt
@@ -0,0 +1,4 @@
+0
+4
+12
+0
diff --git a/public_test_cases/p00693/input.0.txt b/public_test_cases/p00693/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8829909b6d99502d1f6191664d5c8aa122c78049
--- /dev/null
+++ b/public_test_cases/p00693/input.0.txt
@@ -0,0 +1,13 @@
+2 5
+permit 192168?? ?12??34?
+deny 19216899 012343?5
+19216711 11233340 HiIamACracker
+19216891 01234345 Hello
+19216899 01234345 HiIamAlsoACracker
+19216809 11200340 World
+00000000 99999999 TheEndOfTheWorld
+1 2
+permit 12345678 23456789
+19216891 01234345 Hello
+12345678 23456789 Hello
+0 0
diff --git a/public_test_cases/p00693/input.1.txt b/public_test_cases/p00693/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8829909b6d99502d1f6191664d5c8aa122c78049
--- /dev/null
+++ b/public_test_cases/p00693/input.1.txt
@@ -0,0 +1,13 @@
+2 5
+permit 192168?? ?12??34?
+deny 19216899 012343?5
+19216711 11233340 HiIamACracker
+19216891 01234345 Hello
+19216899 01234345 HiIamAlsoACracker
+19216809 11200340 World
+00000000 99999999 TheEndOfTheWorld
+1 2
+permit 12345678 23456789
+19216891 01234345 Hello
+12345678 23456789 Hello
+0 0
diff --git a/public_test_cases/p00693/output.0.txt b/public_test_cases/p00693/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f55b1b3ff93b81eeb72976ed23d542729b01c06a
--- /dev/null
+++ b/public_test_cases/p00693/output.0.txt
@@ -0,0 +1,5 @@
+2
+19216891 01234345 Hello
+19216809 11200340 World
+1
+12345678 23456789 Hello
diff --git a/public_test_cases/p00693/output.1.txt b/public_test_cases/p00693/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f55b1b3ff93b81eeb72976ed23d542729b01c06a
--- /dev/null
+++ b/public_test_cases/p00693/output.1.txt
@@ -0,0 +1,5 @@
+2
+19216891 01234345 Hello
+19216809 11200340 World
+1
+12345678 23456789 Hello
diff --git a/public_test_cases/p00694/input.0.txt b/public_test_cases/p00694/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50abecb9a076d070faa520a06babb84bdf3a92f2
--- /dev/null
+++ b/public_test_cases/p00694/input.0.txt
@@ -0,0 +1,20 @@
+19
+ 1 +x 1 +y +z 3 +z
+ 3 +y -z +x +y -z -x +z 2 +z
+ 2 +y
+19
+ 1 +x 1 +y +z 3 +y -z +x +y -z -x +z 2 +y
+ 3 +z
+ 2 +z
+19
+ 1 +x 1 +y +z 3 +z
+ 3 +y -z +x +y -z -x +z 2 +y
+ 2 +z
+18
+ 1 -y
+ 1 +y -z +x
+ 1 +z +y +x +z +y -x -y 2 -y
+ 2 +z
+3 +x +y +z
+3 +y +z -x
+0
diff --git a/public_test_cases/p00694/input.1.txt b/public_test_cases/p00694/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50abecb9a076d070faa520a06babb84bdf3a92f2
--- /dev/null
+++ b/public_test_cases/p00694/input.1.txt
@@ -0,0 +1,20 @@
+19
+ 1 +x 1 +y +z 3 +z
+ 3 +y -z +x +y -z -x +z 2 +z
+ 2 +y
+19
+ 1 +x 1 +y +z 3 +y -z +x +y -z -x +z 2 +y
+ 3 +z
+ 2 +z
+19
+ 1 +x 1 +y +z 3 +z
+ 3 +y -z +x +y -z -x +z 2 +y
+ 2 +z
+18
+ 1 -y
+ 1 +y -z +x
+ 1 +z +y +x +z +y -x -y 2 -y
+ 2 +z
+3 +x +y +z
+3 +y +z -x
+0
diff --git a/public_test_cases/p00694/input.2.txt b/public_test_cases/p00694/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4362a8f46a4c65e1b913d454fa5ed704bc5b2c14
--- /dev/null
+++ b/public_test_cases/p00694/input.2.txt
@@ -0,0 +1,20 @@
+19
+1 +x 1 +y +z 3 +z
+3 +y -z +x +y -z -x +z 2 +z
+2 +y
+19
+1 +x 1 +y +z 3 +y -z +x +y -z -x +z 2 +y
+3 +z
+2 +z
+19
+1 +x 1 +y +z 3 +z
+3 +y -z +x +y -z -x +z 2 +y
+2 +z
+18
+1 -y
+1 +y -z +x
+1 +z +y +x +z +y -x -y 2 -y
+2 +z
+3 +x +y +z
+3 +y +z -x
+0
diff --git a/public_test_cases/p00694/output.0.txt b/public_test_cases/p00694/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e54294616fe07dd8560bd7f7bd8f1e3788b81e8
--- /dev/null
+++ b/public_test_cases/p00694/output.0.txt
@@ -0,0 +1,3 @@
+SAME
+SAME
+DIFFERENT
diff --git a/public_test_cases/p00694/output.1.txt b/public_test_cases/p00694/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e54294616fe07dd8560bd7f7bd8f1e3788b81e8
--- /dev/null
+++ b/public_test_cases/p00694/output.1.txt
@@ -0,0 +1,3 @@
+SAME
+SAME
+DIFFERENT
diff --git a/public_test_cases/p00694/output.2.txt b/public_test_cases/p00694/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e54294616fe07dd8560bd7f7bd8f1e3788b81e8
--- /dev/null
+++ b/public_test_cases/p00694/output.2.txt
@@ -0,0 +1,3 @@
+SAME
+SAME
+DIFFERENT
diff --git a/public_test_cases/p00695/input.0.txt b/public_test_cases/p00695/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..642a5e44ad1923f568012b4709640a519486abb3
--- /dev/null
+++ b/public_test_cases/p00695/input.0.txt
@@ -0,0 +1,18 @@
+3
+1 1 0 1 0
+0 1 1 1 1
+1 0 1 0 1
+0 1 1 1 0
+0 1 1 0 0
+
+0 1 0 1 1
+0 1 0 1 0
+0 0 1 0 0
+0 0 1 1 0
+1 0 1 0 0
+
+1 1 1 1 0
+0 1 1 1 0
+0 1 1 0 1
+0 1 1 1 0
+0 0 0 0 1
diff --git a/public_test_cases/p00695/input.1.txt b/public_test_cases/p00695/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..642a5e44ad1923f568012b4709640a519486abb3
--- /dev/null
+++ b/public_test_cases/p00695/input.1.txt
@@ -0,0 +1,18 @@
+3
+1 1 0 1 0
+0 1 1 1 1
+1 0 1 0 1
+0 1 1 1 0
+0 1 1 0 0
+
+0 1 0 1 1
+0 1 0 1 0
+0 0 1 0 0
+0 0 1 1 0
+1 0 1 0 0
+
+1 1 1 1 0
+0 1 1 1 0
+0 1 1 0 1
+0 1 1 1 0
+0 0 0 0 1
diff --git a/public_test_cases/p00695/output.0.txt b/public_test_cases/p00695/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c21b06b55b00601046c865c263d0583c86c193d0
--- /dev/null
+++ b/public_test_cases/p00695/output.0.txt
@@ -0,0 +1,3 @@
+4
+3
+8
diff --git a/public_test_cases/p00695/output.1.txt b/public_test_cases/p00695/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c21b06b55b00601046c865c263d0583c86c193d0
--- /dev/null
+++ b/public_test_cases/p00695/output.1.txt
@@ -0,0 +1,3 @@
+4
+3
+8
diff --git a/public_test_cases/p00696/input.1.txt b/public_test_cases/p00696/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6075d21138be4e4bea540064c45e9a57b5bcb336
--- /dev/null
+++ b/public_test_cases/p00696/input.1.txt
@@ -0,0 +1,27 @@
+6
+2
+8
+1
+AZXU5
+1GU2D4B
+K
+PO4IUTFV
+THE
+Q34NBVC78
+T
+1961
+XWS34WQ
+
+LNGLNSNXTTPG
+ED
+MN
+MLMNG
+?
+4
+2
+6
+2
+QWERTY
+FLHL
+?
+0
diff --git a/public_test_cases/p00696/output.1.txt b/public_test_cases/p00696/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b84e8a82712f821eb3792b469cdf6e984f832282
--- /dev/null
+++ b/public_test_cases/p00696/output.1.txt
@@ -0,0 +1,21 @@
+AZXU5....8.......
+1GU2D4B..T.......
+K........1961....
+PO4IUTFV.XWS34WQ.
+THE..............
+Q34NBVC7.LNGLNSNX
+
+TTPG.............
+ED...............
+MN...............
+MLMNG............
+.................
+.................
+
+?
+QWERTY........
+FLHL..........
+..............
+..............
+
+?
diff --git a/public_test_cases/p00697/input.0.txt b/public_test_cases/p00697/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3619a2da6e2ef6d672b683679fc44e5e1b7968b5
--- /dev/null
+++ b/public_test_cases/p00697/input.0.txt
@@ -0,0 +1,7 @@
+6
+WwRR wwrg RRGb rGBG RGrb RrRg RGrg rgBB Wrgr
+RrGb WWGR rGgb Wbrg wgBb GgBg WbBG Wwwg WWGG
+RBbr Wrbr wGGG wggR WgGR WBWb WRgB wBgG WBgG
+wBrg rGgb WRrB WWbw wRRB RbbB WRrb wrbb WgrG
+WrwB WWww wRRB WGGb Wbbg WBgG WrbG Wrww RBgg
+WWgg RBrr Rggr RGBg Wbgr WGbg WBbr WGWB GGGg
diff --git a/public_test_cases/p00697/input.1.txt b/public_test_cases/p00697/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3619a2da6e2ef6d672b683679fc44e5e1b7968b5
--- /dev/null
+++ b/public_test_cases/p00697/input.1.txt
@@ -0,0 +1,7 @@
+6
+WwRR wwrg RRGb rGBG RGrb RrRg RGrg rgBB Wrgr
+RrGb WWGR rGgb Wbrg wgBb GgBg WbBG Wwwg WWGG
+RBbr Wrbr wGGG wggR WgGR WBWb WRgB wBgG WBgG
+wBrg rGgb WRrB WWbw wRRB RbbB WRrb wrbb WgrG
+WrwB WWww wRRB WGGb Wbbg WBgG WrbG Wrww RBgg
+WWgg RBrr Rggr RGBg Wbgr WGbg WBbr WGWB GGGg
diff --git a/public_test_cases/p00697/output.0.txt b/public_test_cases/p00697/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a105047e20caeaa592ddc1ac009fcba589dba80c
--- /dev/null
+++ b/public_test_cases/p00697/output.0.txt
@@ -0,0 +1,6 @@
+40
+8
+32
+4
+12
+0
diff --git a/public_test_cases/p00697/output.1.txt b/public_test_cases/p00697/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a105047e20caeaa592ddc1ac009fcba589dba80c
--- /dev/null
+++ b/public_test_cases/p00697/output.1.txt
@@ -0,0 +1,6 @@
+40
+8
+32
+4
+12
+0
diff --git a/public_test_cases/p00698/input.0.txt b/public_test_cases/p00698/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bad9f39a6afbf35d460a7511b7d08ff9579fcbf
--- /dev/null
+++ b/public_test_cases/p00698/input.0.txt
@@ -0,0 +1,17 @@
+3 3
+? ? 70 105
+? 50 ? 150
+30 60 90 180
+45 150 240 435
+
+2 2
+? ? 40
+? ? 40
+40 40 80
+
+2 3
+? 30 40 90
+50 60 70 180
+70 90 110 270
+
+0
diff --git a/public_test_cases/p00698/input.1.txt b/public_test_cases/p00698/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bad9f39a6afbf35d460a7511b7d08ff9579fcbf
--- /dev/null
+++ b/public_test_cases/p00698/input.1.txt
@@ -0,0 +1,17 @@
+3 3
+? ? 70 105
+? 50 ? 150
+30 60 90 180
+45 150 240 435
+
+2 2
+? ? 40
+? ? 40
+40 40 80
+
+2 3
+? 30 40 90
+50 60 70 180
+70 90 110 270
+
+0
diff --git a/public_test_cases/p00698/output.0.txt b/public_test_cases/p00698/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fef266742656be86787bb0fda81c347d370cd28
--- /dev/null
+++ b/public_test_cases/p00698/output.0.txt
@@ -0,0 +1,8 @@
+-5
+40
+20
+80
+
+NO
+
+20
diff --git a/public_test_cases/p00698/output.1.txt b/public_test_cases/p00698/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fef266742656be86787bb0fda81c347d370cd28
--- /dev/null
+++ b/public_test_cases/p00698/output.1.txt
@@ -0,0 +1,8 @@
+-5
+40
+20
+80
+
+NO
+
+20
diff --git a/public_test_cases/p00699/input.0.txt b/public_test_cases/p00699/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffdc178e4fb55b48518387a1c1031ffa332cd0f4
--- /dev/null
+++ b/public_test_cases/p00699/input.0.txt
@@ -0,0 +1,31 @@
+6
+0 0 0 0 0
+0 0 0 0 6
+0 2 4 5 3
+0 0 1 0 0
+0 0 0 0 0
+0 0 3 0 0
+0 0 2 0 0
+0 0 4 1 0
+0 0 0 5 0
+0 0 0 6 0
+0 0 0 3 0
+0 0 2 5 0
+0 4 1 0 0
+0 0 6 0 0
+0 0 0 0 0
+0 6 2 0 0
+0 0 4 0 0
+0 1 5 0 0
+0 0 3 0 0
+0 0 0 0 0
+0 0 0 0 6
+0 2 4 5 3
+0 0 1 0 0
+0 0 0 0 0
+0 0 0 1 0
+0 0 0 0 6
+0 2 4 5 3
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 1 0
diff --git a/public_test_cases/p00699/input.1.txt b/public_test_cases/p00699/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffdc178e4fb55b48518387a1c1031ffa332cd0f4
--- /dev/null
+++ b/public_test_cases/p00699/input.1.txt
@@ -0,0 +1,31 @@
+6
+0 0 0 0 0
+0 0 0 0 6
+0 2 4 5 3
+0 0 1 0 0
+0 0 0 0 0
+0 0 3 0 0
+0 0 2 0 0
+0 0 4 1 0
+0 0 0 5 0
+0 0 0 6 0
+0 0 0 3 0
+0 0 2 5 0
+0 4 1 0 0
+0 0 6 0 0
+0 0 0 0 0
+0 6 2 0 0
+0 0 4 0 0
+0 1 5 0 0
+0 0 3 0 0
+0 0 0 0 0
+0 0 0 0 6
+0 2 4 5 3
+0 0 1 0 0
+0 0 0 0 0
+0 0 0 1 0
+0 0 0 0 6
+0 2 4 5 3
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 1 0
diff --git a/public_test_cases/p00699/output.0.txt b/public_test_cases/p00699/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c57f16fc9c99d2a753f1eb7648bb82d6b6970962
--- /dev/null
+++ b/public_test_cases/p00699/output.0.txt
@@ -0,0 +1,6 @@
+true
+true
+false
+false
+false
+false
diff --git a/public_test_cases/p00699/output.1.txt b/public_test_cases/p00699/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c57f16fc9c99d2a753f1eb7648bb82d6b6970962
--- /dev/null
+++ b/public_test_cases/p00699/output.1.txt
@@ -0,0 +1,6 @@
+true
+true
+false
+false
+false
+false
diff --git a/public_test_cases/p00700/input.0.txt b/public_test_cases/p00700/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbc72c0eda5c16e61373a73766a25b1208990ebc
--- /dev/null
+++ b/public_test_cases/p00700/input.0.txt
@@ -0,0 +1,40 @@
+3
+1 0
+0 1
+-1 0
+1 0
+0 5
+-1 0
+0 -1
+5 0
+0 1
+0 -1
+1 0
+0 -4
+-3 0
+0 3
+2 0
+0 -2
+-1 0
+0 1
+0 -1
+1 0
+0 2
+-2 0
+0 -3
+3 0
+0 4
+-4 0
+0 -5
+-2 0
+0 0
+1 0
+-1 0
+0 0
+2 0
+0 1
+-1 0
+0 1
+-1 0
+0 -2
+0 0
diff --git a/public_test_cases/p00700/input.1.txt b/public_test_cases/p00700/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbc72c0eda5c16e61373a73766a25b1208990ebc
--- /dev/null
+++ b/public_test_cases/p00700/input.1.txt
@@ -0,0 +1,40 @@
+3
+1 0
+0 1
+-1 0
+1 0
+0 5
+-1 0
+0 -1
+5 0
+0 1
+0 -1
+1 0
+0 -4
+-3 0
+0 3
+2 0
+0 -2
+-1 0
+0 1
+0 -1
+1 0
+0 2
+-2 0
+0 -3
+3 0
+0 4
+-4 0
+0 -5
+-2 0
+0 0
+1 0
+-1 0
+0 0
+2 0
+0 1
+-1 0
+0 1
+-1 0
+0 -2
+0 0
diff --git a/public_test_cases/p00700/output.0.txt b/public_test_cases/p00700/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbb53808c2f936e89537c253cb71418e121de150
--- /dev/null
+++ b/public_test_cases/p00700/output.0.txt
@@ -0,0 +1,3 @@
+6 5
+1 0
+2 1
diff --git a/public_test_cases/p00700/output.1.txt b/public_test_cases/p00700/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbb53808c2f936e89537c253cb71418e121de150
--- /dev/null
+++ b/public_test_cases/p00700/output.1.txt
@@ -0,0 +1,3 @@
+6 5
+1 0
+2 1
diff --git a/public_test_cases/p00701/input.0.txt b/public_test_cases/p00701/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..421e34688f09c24006fa7c10ca7bb8d3779a5efa
--- /dev/null
+++ b/public_test_cases/p00701/input.0.txt
@@ -0,0 +1,17 @@
+3
+1 3
+2 0
+0 0
+4
+4 1
+3 1
+1 2
+0 0
+5
+2 1
+3 1
+4 1
+3 2
+1 1
+0 0
+0
diff --git a/public_test_cases/p00701/input.1.txt b/public_test_cases/p00701/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..421e34688f09c24006fa7c10ca7bb8d3779a5efa
--- /dev/null
+++ b/public_test_cases/p00701/input.1.txt
@@ -0,0 +1,17 @@
+3
+1 3
+2 0
+0 0
+4
+4 1
+3 1
+1 2
+0 0
+5
+2 1
+3 1
+4 1
+3 2
+1 1
+0 0
+0
diff --git a/public_test_cases/p00701/output.0.txt b/public_test_cases/p00701/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1471baf82e16a38ad35782a95e01ee0dc7dae6d0
--- /dev/null
+++ b/public_test_cases/p00701/output.0.txt
@@ -0,0 +1,10 @@
+1
+2
+end
+1
+1
+2
+end
+1
+4
+end
diff --git a/public_test_cases/p00701/output.1.txt b/public_test_cases/p00701/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1471baf82e16a38ad35782a95e01ee0dc7dae6d0
--- /dev/null
+++ b/public_test_cases/p00701/output.1.txt
@@ -0,0 +1,10 @@
+1
+2
+end
+1
+1
+2
+end
+1
+4
+end
diff --git a/public_test_cases/p00702/input.0.txt b/public_test_cases/p00702/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3eccdc35613edbdeb3a6d7b49aa6e918b20df58a
--- /dev/null
+++ b/public_test_cases/p00702/input.0.txt
@@ -0,0 +1,4 @@
+3
+nai tiruvantel ar varyuvantel i valar tielyama nu vilya
+qua ist qda quang ncw psts
+svampti tsuldya jay quadal ciszeriol
diff --git a/public_test_cases/p00702/output.0.txt b/public_test_cases/p00702/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c73f47ff1050651a425c2073114e7b04493e381
--- /dev/null
+++ b/public_test_cases/p00702/output.0.txt
@@ -0,0 +1,38 @@
+a r 3
+b a 0
+c i 1
+d a 2
+e l 3
+f a 0
+g a 0
+h a 0
+i s 2
+j a 1
+k a 0
+l y 2
+m a 1
+n a 1
+o l 1
+p a 0
+q d 1
+r i 1
+s t 1
+t i 3
+u v 2
+v a 5
+w a 0
+x a 0
+y a 3
+z e 1
+ld y 1
+mb a 0
+mp t 1
+nc w 1
+nd a 0
+ng a 0
+nt e 2
+nw a 0
+ps ts 1
+qu a 3
+cw a 0
+ts u 1
diff --git a/public_test_cases/p00703/input.0.txt b/public_test_cases/p00703/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..416c0c35babd1b6696c0cfb39df060f00a8be7b3
--- /dev/null
+++ b/public_test_cases/p00703/input.0.txt
@@ -0,0 +1,29 @@
+6 4
+160348 0 4
+913286 2 3
+431289 3 1
+671283 3 3
+10 8
+3827690415 2 8
+0482691573 1 9
+1924730586 3 7
+1378490256 1 9
+6297830541 1 9
+4829531706 3 7
+4621570983 1 9
+9820147536 6 4
+4 4
+2713 0 3
+1247 2 0
+1230 1 1
+1387 2 1
+6 5
+605743 0 4
+593026 2 2
+792456 1 2
+143052 1 3
+093614 3 3
+5 2
+12345 5 0
+67890 0 5
+0 0
diff --git a/public_test_cases/p00703/input.1.txt b/public_test_cases/p00703/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..416c0c35babd1b6696c0cfb39df060f00a8be7b3
--- /dev/null
+++ b/public_test_cases/p00703/input.1.txt
@@ -0,0 +1,29 @@
+6 4
+160348 0 4
+913286 2 3
+431289 3 1
+671283 3 3
+10 8
+3827690415 2 8
+0482691573 1 9
+1924730586 3 7
+1378490256 1 9
+6297830541 1 9
+4829531706 3 7
+4621570983 1 9
+9820147536 6 4
+4 4
+2713 0 3
+1247 2 0
+1230 1 1
+1387 2 1
+6 5
+605743 0 4
+593026 2 2
+792456 1 2
+143052 1 3
+093614 3 3
+5 2
+12345 5 0
+67890 0 5
+0 0
diff --git a/public_test_cases/p00703/output.0.txt b/public_test_cases/p00703/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f60f4a990fe2b7fc2ea8a7690e269e81e7413b08
--- /dev/null
+++ b/public_test_cases/p00703/output.0.txt
@@ -0,0 +1,5 @@
+637281
+7820914536
+3287
+NO
+NO
diff --git a/public_test_cases/p00703/output.1.txt b/public_test_cases/p00703/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f60f4a990fe2b7fc2ea8a7690e269e81e7413b08
--- /dev/null
+++ b/public_test_cases/p00703/output.1.txt
@@ -0,0 +1,5 @@
+637281
+7820914536
+3287
+NO
+NO
diff --git a/public_test_cases/p00705/input.0.txt b/public_test_cases/p00705/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27a38ae4e81a75a4a1350b082ef726dfac9dee5d
--- /dev/null
+++ b/public_test_cases/p00705/input.0.txt
@@ -0,0 +1,17 @@
+3 2
+2 1 4
+0
+3 3 4 8
+3 2
+4 1 5 8 9
+3 2 5 9
+5 2 4 5 7 9
+3 3
+2 1 4
+3 2 5 9
+2 2 4
+3 3
+2 1 2
+3 1 2 9
+2 2 4
+0 0
diff --git a/public_test_cases/p00705/input.1.txt b/public_test_cases/p00705/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27a38ae4e81a75a4a1350b082ef726dfac9dee5d
--- /dev/null
+++ b/public_test_cases/p00705/input.1.txt
@@ -0,0 +1,17 @@
+3 2
+2 1 4
+0
+3 3 4 8
+3 2
+4 1 5 8 9
+3 2 5 9
+5 2 4 5 7 9
+3 3
+2 1 4
+3 2 5 9
+2 2 4
+3 3
+2 1 2
+3 1 2 9
+2 2 4
+0 0
diff --git a/public_test_cases/p00705/output.0.txt b/public_test_cases/p00705/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eeb5dd564a95cd6bea35e829deaec82908bd869a
--- /dev/null
+++ b/public_test_cases/p00705/output.0.txt
@@ -0,0 +1,4 @@
+4
+5
+0
+2
diff --git a/public_test_cases/p00705/output.1.txt b/public_test_cases/p00705/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eeb5dd564a95cd6bea35e829deaec82908bd869a
--- /dev/null
+++ b/public_test_cases/p00705/output.1.txt
@@ -0,0 +1,4 @@
+4
+5
+0
+2
diff --git a/public_test_cases/p00706/input.0.txt b/public_test_cases/p00706/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8b358816f1d61ee83fa14564f081dca8f363a5e
--- /dev/null
+++ b/public_test_cases/p00706/input.0.txt
@@ -0,0 +1,31 @@
+16
+10 8
+2 2
+2 5
+2 7
+3 3
+3 8
+4 2
+4 5
+4 8
+6 4
+6 7
+7 5
+7 8
+8 1
+8 4
+9 6
+10 3
+4 3
+8
+6 4
+1 2
+2 1
+2 4
+3 4
+4 2
+5 3
+6 1
+6 2
+3 2
+0
diff --git a/public_test_cases/p00706/input.1.txt b/public_test_cases/p00706/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8b358816f1d61ee83fa14564f081dca8f363a5e
--- /dev/null
+++ b/public_test_cases/p00706/input.1.txt
@@ -0,0 +1,31 @@
+16
+10 8
+2 2
+2 5
+2 7
+3 3
+3 8
+4 2
+4 5
+4 8
+6 4
+6 7
+7 5
+7 8
+8 1
+8 4
+9 6
+10 3
+4 3
+8
+6 4
+1 2
+2 1
+2 4
+3 4
+4 2
+5 3
+6 1
+6 2
+3 2
+0
diff --git a/public_test_cases/p00706/output.0.txt b/public_test_cases/p00706/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81450f3d334f886509a186abffcf1a1aee0866a5
--- /dev/null
+++ b/public_test_cases/p00706/output.0.txt
@@ -0,0 +1,2 @@
+4
+3
diff --git a/public_test_cases/p00706/output.1.txt b/public_test_cases/p00706/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81450f3d334f886509a186abffcf1a1aee0866a5
--- /dev/null
+++ b/public_test_cases/p00706/output.1.txt
@@ -0,0 +1,2 @@
+4
+3
diff --git a/public_test_cases/p00707/input.0.txt b/public_test_cases/p00707/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4abc3a8c25fe8aec904afc494f4051b151147366
--- /dev/null
+++ b/public_test_cases/p00707/input.0.txt
@@ -0,0 +1,17 @@
+7 4
+9R2A993
+0E314A0
+8A900DE
+820R037
+6 7
+JH03HE
+ID7722
+0DA1AH
+30C9G5
+99971A
+CA7EAI
+AHLBEM
+20 2
+A1234567891234CBDEGH
+BDEDF908034265091499
+0 0
diff --git a/public_test_cases/p00707/input.1.txt b/public_test_cases/p00707/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4abc3a8c25fe8aec904afc494f4051b151147366
--- /dev/null
+++ b/public_test_cases/p00707/input.1.txt
@@ -0,0 +1,17 @@
+7 4
+9R2A993
+0E314A0
+8A900DE
+820R037
+6 7
+JH03HE
+ID7722
+0DA1AH
+30C9G5
+99971A
+CA7EAI
+AHLBEM
+20 2
+A1234567891234CBDEGH
+BDEDF908034265091499
+0 0
diff --git a/public_test_cases/p00707/output.0.txt b/public_test_cases/p00707/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7346f510527f1688b8e5833f20daa8482b2f28f8
--- /dev/null
+++ b/public_test_cases/p00707/output.0.txt
@@ -0,0 +1,3 @@
+23900037
+771971
+12345908034265091499
diff --git a/public_test_cases/p00707/output.1.txt b/public_test_cases/p00707/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7346f510527f1688b8e5833f20daa8482b2f28f8
--- /dev/null
+++ b/public_test_cases/p00707/output.1.txt
@@ -0,0 +1,3 @@
+23900037
+771971
+12345908034265091499
diff --git a/public_test_cases/p00708/input.0.txt b/public_test_cases/p00708/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f3581048bf68fa45cf6b11fd1c728d2d2c158e5
--- /dev/null
+++ b/public_test_cases/p00708/input.0.txt
@@ -0,0 +1,14 @@
+3
+10.000 10.000 50.000 10.000
+40.000 10.000 50.000 10.000
+40.000 40.000 50.000 10.000
+2
+30.000 30.000 30.000 20.000
+40.000 40.000 40.000 20.000
+5
+5.729 15.143 3.996 25.837
+6.013 14.372 4.818 10.671
+80.115 63.292 84.477 15.120
+64.095 80.924 70.029 14.881
+39.472 85.116 71.369 5.553
+0
diff --git a/public_test_cases/p00708/input.1.txt b/public_test_cases/p00708/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f3581048bf68fa45cf6b11fd1c728d2d2c158e5
--- /dev/null
+++ b/public_test_cases/p00708/input.1.txt
@@ -0,0 +1,14 @@
+3
+10.000 10.000 50.000 10.000
+40.000 10.000 50.000 10.000
+40.000 40.000 50.000 10.000
+2
+30.000 30.000 30.000 20.000
+40.000 40.000 40.000 20.000
+5
+5.729 15.143 3.996 25.837
+6.013 14.372 4.818 10.671
+80.115 63.292 84.477 15.120
+64.095 80.924 70.029 14.881
+39.472 85.116 71.369 5.553
+0
diff --git a/public_test_cases/p00708/output.0.txt b/public_test_cases/p00708/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1fae9ea37f6989d1c5aba5b310d985b46cdb6dab
--- /dev/null
+++ b/public_test_cases/p00708/output.0.txt
@@ -0,0 +1,3 @@
+20.000
+0.000
+73.834
diff --git a/public_test_cases/p00708/output.1.txt b/public_test_cases/p00708/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1fae9ea37f6989d1c5aba5b310d985b46cdb6dab
--- /dev/null
+++ b/public_test_cases/p00708/output.1.txt
@@ -0,0 +1,3 @@
+20.000
+0.000
+73.834
diff --git a/public_test_cases/p00709/input.0.txt b/public_test_cases/p00709/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c20a3aab21b36d545f66c61401b4e72a7aa8ece8
--- /dev/null
+++ b/public_test_cases/p00709/input.0.txt
@@ -0,0 +1,31 @@
+4 3
+0 1 1 1
+1 1 1 1
+1 1 1 1
+8 5
+0 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1
+1 1 1 0 1 1 1 1
+0 1 1 1 0 1 1 1
+8 8
+0 1 1 0 0 1 1 0
+1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1
+0 1 1 0 0 1 1 0
+0 1 1 0 0 1 1 0
+1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1
+0 1 1 0 0 1 1 0
+10 10
+1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1
+1 1 0 1 1 0 1 1 0 1
+1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1
+1 1 0 1 1 0 1 1 0 1
+1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1
+1 1 0 1 1 0 1 1 0 1
+1 1 1 1 1 1 1 1 1 1
+0 0
diff --git a/public_test_cases/p00709/input.1.txt b/public_test_cases/p00709/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c20a3aab21b36d545f66c61401b4e72a7aa8ece8
--- /dev/null
+++ b/public_test_cases/p00709/input.1.txt
@@ -0,0 +1,31 @@
+4 3
+0 1 1 1
+1 1 1 1
+1 1 1 1
+8 5
+0 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1
+1 1 1 0 1 1 1 1
+0 1 1 1 0 1 1 1
+8 8
+0 1 1 0 0 1 1 0
+1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1
+0 1 1 0 0 1 1 0
+0 1 1 0 0 1 1 0
+1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1
+0 1 1 0 0 1 1 0
+10 10
+1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1
+1 1 0 1 1 0 1 1 0 1
+1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1
+1 1 0 1 1 0 1 1 0 1
+1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1
+1 1 0 1 1 0 1 1 0 1
+1 1 1 1 1 1 1 1 1 1
+0 0
diff --git a/public_test_cases/p00709/output.0.txt b/public_test_cases/p00709/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1c38e6b26638b2eaaaf07ed59cdefbbacd67fe2
--- /dev/null
+++ b/public_test_cases/p00709/output.0.txt
@@ -0,0 +1,4 @@
+2
+6
+14
+29
diff --git a/public_test_cases/p00709/output.1.txt b/public_test_cases/p00709/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1c38e6b26638b2eaaaf07ed59cdefbbacd67fe2
--- /dev/null
+++ b/public_test_cases/p00709/output.1.txt
@@ -0,0 +1,4 @@
+2
+6
+14
+29
diff --git a/public_test_cases/p00710/input.0.txt b/public_test_cases/p00710/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96914dfa8dd80b068ace504bdf79931dc9b350de
--- /dev/null
+++ b/public_test_cases/p00710/input.0.txt
@@ -0,0 +1,8 @@
+5 2
+3 1
+3 1
+10 3
+1 10
+10 1
+8 3
+0 0
diff --git a/public_test_cases/p00710/input.1.txt b/public_test_cases/p00710/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96914dfa8dd80b068ace504bdf79931dc9b350de
--- /dev/null
+++ b/public_test_cases/p00710/input.1.txt
@@ -0,0 +1,8 @@
+5 2
+3 1
+3 1
+10 3
+1 10
+10 1
+8 3
+0 0
diff --git a/public_test_cases/p00710/output.0.txt b/public_test_cases/p00710/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7290ba859f4adbf90d68526fe0ab1f8cbcf65098
--- /dev/null
+++ b/public_test_cases/p00710/output.0.txt
@@ -0,0 +1,2 @@
+4
+4
diff --git a/public_test_cases/p00710/output.1.txt b/public_test_cases/p00710/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7290ba859f4adbf90d68526fe0ab1f8cbcf65098
--- /dev/null
+++ b/public_test_cases/p00710/output.1.txt
@@ -0,0 +1,2 @@
+4
+4
diff --git a/public_test_cases/p00711/input.0.txt b/public_test_cases/p00711/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b42ec4d7328ca3a6ec56ac0ead5e79c5c107002
--- /dev/null
+++ b/public_test_cases/p00711/input.0.txt
@@ -0,0 +1,36 @@
+6 9
+....#.
+.....#
+......
+......
+......
+......
+......
+#@...#
+.#..#.
+11 9
+.#.........
+.#.#######.
+.#.#.....#.
+.#.#.###.#.
+.#.#..@#.#.
+.#.#####.#.
+.#.......#.
+.#########.
+...........
+11 6
+..#..#..#..
+..#..#..#..
+..#..#..###
+..#..#..#@.
+..#..#..#..
+..#..#..#..
+7 7
+..#.#..
+..#.#..
+###.###
+...@...
+###.###
+..#.#..
+..#.#..
+0 0
diff --git a/public_test_cases/p00711/input.1.txt b/public_test_cases/p00711/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae772379c5393cb97c1e5d089fd6e73e60e96bf2
--- /dev/null
+++ b/public_test_cases/p00711/input.1.txt
@@ -0,0 +1,36 @@
+6 9
+....#.
+.....#
+......
+......
+......
+......
+......
+@...#
+.#..#.
+11 9
+.#.........
+.#.#######.
+.#.#.....#.
+.#.#.###.#.
+.#.#..@#.#.
+.#.#####.#.
+.#.......#.
+.#########.
+...........
+11 6
+..#..#..#..
+..#..#..#..
+..#..#..###
+..#..#..#@.
+..#..#..#..
+..#..#..#..
+7 7
+..#.#..
+..#.#..
+.###
+...@...
+.###
+..#.#..
+..#.#..
+0 0
diff --git a/public_test_cases/p00711/input.2.txt b/public_test_cases/p00711/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b42ec4d7328ca3a6ec56ac0ead5e79c5c107002
--- /dev/null
+++ b/public_test_cases/p00711/input.2.txt
@@ -0,0 +1,36 @@
+6 9
+....#.
+.....#
+......
+......
+......
+......
+......
+#@...#
+.#..#.
+11 9
+.#.........
+.#.#######.
+.#.#.....#.
+.#.#.###.#.
+.#.#..@#.#.
+.#.#####.#.
+.#.......#.
+.#########.
+...........
+11 6
+..#..#..#..
+..#..#..#..
+..#..#..###
+..#..#..#@.
+..#..#..#..
+..#..#..#..
+7 7
+..#.#..
+..#.#..
+###.###
+...@...
+###.###
+..#.#..
+..#.#..
+0 0
diff --git a/public_test_cases/p00711/output.0.txt b/public_test_cases/p00711/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b68e33e89b57ead5dce9e5a7caa0a7d9f17d2a2
--- /dev/null
+++ b/public_test_cases/p00711/output.0.txt
@@ -0,0 +1,4 @@
+45
+59
+6
+13
diff --git a/public_test_cases/p00711/output.1.txt b/public_test_cases/p00711/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b68e33e89b57ead5dce9e5a7caa0a7d9f17d2a2
--- /dev/null
+++ b/public_test_cases/p00711/output.1.txt
@@ -0,0 +1,4 @@
+45
+59
+6
+13
diff --git a/public_test_cases/p00711/output.2.txt b/public_test_cases/p00711/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b68e33e89b57ead5dce9e5a7caa0a7d9f17d2a2
--- /dev/null
+++ b/public_test_cases/p00711/output.2.txt
@@ -0,0 +1,4 @@
+45
+59
+6
+13
diff --git a/public_test_cases/p00712/input.0.txt b/public_test_cases/p00712/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b19e09ddbc46153d6896318909ba7be7ec43e519
--- /dev/null
+++ b/public_test_cases/p00712/input.0.txt
@@ -0,0 +1,10 @@
+2 3 120 3
+2 3 300 3
+2 3 299 3
+2 3 12 3
+2 3 12000 7
+54 795 12000 7
+2 3 300 1
+2 1 200 5
+2 4 54 2
+0 0 0 0
diff --git a/public_test_cases/p00712/input.1.txt b/public_test_cases/p00712/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b19e09ddbc46153d6896318909ba7be7ec43e519
--- /dev/null
+++ b/public_test_cases/p00712/input.1.txt
@@ -0,0 +1,10 @@
+2 3 120 3
+2 3 300 3
+2 3 299 3
+2 3 12 3
+2 3 12000 7
+54 795 12000 7
+2 3 300 1
+2 1 200 5
+2 4 54 2
+0 0 0 0
diff --git a/public_test_cases/p00712/output.0.txt b/public_test_cases/p00712/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..504920ff36f828d7f6454466c66de0507accdfd3
--- /dev/null
+++ b/public_test_cases/p00712/output.0.txt
@@ -0,0 +1,9 @@
+4
+7
+6
+2
+42
+1
+0
+9
+3
diff --git a/public_test_cases/p00712/output.1.txt b/public_test_cases/p00712/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..504920ff36f828d7f6454466c66de0507accdfd3
--- /dev/null
+++ b/public_test_cases/p00712/output.1.txt
@@ -0,0 +1,9 @@
+4
+7
+6
+2
+42
+1
+0
+9
+3
diff --git a/public_test_cases/p00713/input.0.txt b/public_test_cases/p00713/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..234185cdb44a8b5c657aa27866af15a9b4127cf6
--- /dev/null
+++ b/public_test_cases/p00713/input.0.txt
@@ -0,0 +1,42 @@
+3
+6.47634 7.69628
+5.16828 4.79915
+6.69533 6.20378
+6
+7.15296 4.08328
+6.50827 2.69466
+5.91219 3.86661
+5.29853 4.16097
+6.10838 3.46039
+6.34060 2.41599
+8
+7.90650 4.01746
+4.10998 4.18354
+4.67289 4.01887
+6.33885 4.28388
+4.98106 3.82728
+5.12379 5.16473
+7.84664 4.67693
+4.02776 3.87990
+20
+6.65128 5.47490
+6.42743 6.26189
+6.35864 4.61611
+6.59020 4.54228
+4.43967 5.70059
+4.38226 5.70536
+5.50755 6.18163
+7.41971 6.13668
+6.71936 3.04496
+5.61832 4.23857
+5.99424 4.29328
+5.60961 4.32998
+6.82242 5.79683
+5.44693 3.82724
+6.70906 3.65736
+7.89087 5.68000
+6.23300 4.59530
+5.92401 4.92329
+6.24168 3.81389
+6.22671 3.62210
+0
diff --git a/public_test_cases/p00713/input.1.txt b/public_test_cases/p00713/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..234185cdb44a8b5c657aa27866af15a9b4127cf6
--- /dev/null
+++ b/public_test_cases/p00713/input.1.txt
@@ -0,0 +1,42 @@
+3
+6.47634 7.69628
+5.16828 4.79915
+6.69533 6.20378
+6
+7.15296 4.08328
+6.50827 2.69466
+5.91219 3.86661
+5.29853 4.16097
+6.10838 3.46039
+6.34060 2.41599
+8
+7.90650 4.01746
+4.10998 4.18354
+4.67289 4.01887
+6.33885 4.28388
+4.98106 3.82728
+5.12379 5.16473
+7.84664 4.67693
+4.02776 3.87990
+20
+6.65128 5.47490
+6.42743 6.26189
+6.35864 4.61611
+6.59020 4.54228
+4.43967 5.70059
+4.38226 5.70536
+5.50755 6.18163
+7.41971 6.13668
+6.71936 3.04496
+5.61832 4.23857
+5.99424 4.29328
+5.60961 4.32998
+6.82242 5.79683
+5.44693 3.82724
+6.70906 3.65736
+7.89087 5.68000
+6.23300 4.59530
+5.92401 4.92329
+6.24168 3.81389
+6.22671 3.62210
+0
diff --git a/public_test_cases/p00713/output.0.txt b/public_test_cases/p00713/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35a28ea3b81f34d5981dfd999e88a8648bc5634e
--- /dev/null
+++ b/public_test_cases/p00713/output.0.txt
@@ -0,0 +1,4 @@
+2
+5
+5
+11
diff --git a/public_test_cases/p00713/output.1.txt b/public_test_cases/p00713/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35a28ea3b81f34d5981dfd999e88a8648bc5634e
--- /dev/null
+++ b/public_test_cases/p00713/output.1.txt
@@ -0,0 +1,4 @@
+2
+5
+5
+11
diff --git a/public_test_cases/p00714/input.0.txt b/public_test_cases/p00714/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e06200c95b1f10f88a13638ce1ba404b9d683a0
--- /dev/null
+++ b/public_test_cases/p00714/input.0.txt
@@ -0,0 +1,31 @@
+2
+5
+15 40
+35 20
+50 45
+70 30
+80 10
+3
+20 3
+60 2
+65 2
+6
+40 4100
+25 7500
+10 18000
+90 7000
+25 15000
+25 22000
+5
+15 40
+35 20
+50 45
+70 30
+80 10
+2
+60 4
+75 1
+3
+60 6000
+75 6000
+85 6000
diff --git a/public_test_cases/p00714/input.1.txt b/public_test_cases/p00714/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e06200c95b1f10f88a13638ce1ba404b9d683a0
--- /dev/null
+++ b/public_test_cases/p00714/input.1.txt
@@ -0,0 +1,31 @@
+2
+5
+15 40
+35 20
+50 45
+70 30
+80 10
+3
+20 3
+60 2
+65 2
+6
+40 4100
+25 7500
+10 18000
+90 7000
+25 15000
+25 22000
+5
+15 40
+35 20
+50 45
+70 30
+80 10
+2
+60 4
+75 1
+3
+60 6000
+75 6000
+85 6000
diff --git a/public_test_cases/p00714/output.0.txt b/public_test_cases/p00714/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bac83d1526d87d73e57db44c9959d43e54c0c89
--- /dev/null
+++ b/public_test_cases/p00714/output.0.txt
@@ -0,0 +1,9 @@
+0.666667
+21.4286
+36.6667
+11.1111
+40.0
+50.0
+30.0
+13.3333
+13.3333
diff --git a/public_test_cases/p00714/output.1.txt b/public_test_cases/p00714/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bac83d1526d87d73e57db44c9959d43e54c0c89
--- /dev/null
+++ b/public_test_cases/p00714/output.1.txt
@@ -0,0 +1,9 @@
+0.666667
+21.4286
+36.6667
+11.1111
+40.0
+50.0
+30.0
+13.3333
+13.3333
diff --git a/public_test_cases/p00715/input.0.txt b/public_test_cases/p00715/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41613f0f3266f6f85440b043ce6c9a2a95f61780
--- /dev/null
+++ b/public_test_cases/p00715/input.0.txt
@@ -0,0 +1,26 @@
+7
+Shijo-Kawaramachi
+Karasuma-Imadegawa
+Kawaramachi-Imadegawa
+Nishioji-Shijo
+Karasuma-Gojo
+Torimaru-Rokujo
+Rokujo-Karasuma
+6
+Shijo-Karasuma
+Imadegawa-Nishioji
+Nishioji-Gojo
+Shijo-Torimaru
+Torimaru-Gojo
+Shijo-Kawabata
+4
+1jo-Midosuji
+Midosuji-2jo
+2jo-Omotesando
+Omotesando-1jo
+4
+Midosuji-1jo
+1jo-Midosuji
+Midosuji-Omotesando
+1jo-1jo
+0
diff --git a/public_test_cases/p00715/input.1.txt b/public_test_cases/p00715/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41613f0f3266f6f85440b043ce6c9a2a95f61780
--- /dev/null
+++ b/public_test_cases/p00715/input.1.txt
@@ -0,0 +1,26 @@
+7
+Shijo-Kawaramachi
+Karasuma-Imadegawa
+Kawaramachi-Imadegawa
+Nishioji-Shijo
+Karasuma-Gojo
+Torimaru-Rokujo
+Rokujo-Karasuma
+6
+Shijo-Karasuma
+Imadegawa-Nishioji
+Nishioji-Gojo
+Shijo-Torimaru
+Torimaru-Gojo
+Shijo-Kawabata
+4
+1jo-Midosuji
+Midosuji-2jo
+2jo-Omotesando
+Omotesando-1jo
+4
+Midosuji-1jo
+1jo-Midosuji
+Midosuji-Omotesando
+1jo-1jo
+0
diff --git a/public_test_cases/p00715/output.0.txt b/public_test_cases/p00715/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d99d08c9fba1d96ef66f6b709736f3cec33baa5b
--- /dev/null
+++ b/public_test_cases/p00715/output.0.txt
@@ -0,0 +1,12 @@
+8
+YES
+NO
+YES
+NO
+YES
+NO
+4
+YES
+YES
+NO
+NO
diff --git a/public_test_cases/p00715/output.1.txt b/public_test_cases/p00715/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d99d08c9fba1d96ef66f6b709736f3cec33baa5b
--- /dev/null
+++ b/public_test_cases/p00715/output.1.txt
@@ -0,0 +1,12 @@
+8
+YES
+NO
+YES
+NO
+YES
+NO
+4
+YES
+YES
+NO
+NO
diff --git a/public_test_cases/p00716/input.0.txt b/public_test_cases/p00716/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a1652609fc3673d8058e714c705dd2227924a75
--- /dev/null
+++ b/public_test_cases/p00716/input.0.txt
@@ -0,0 +1,25 @@
+4
+1000000
+5
+2
+0 0.03125 3000
+1 0.03125 3000
+6620000
+7
+2
+0 0.0732421875 42307
+1 0.0740966796875 40942
+39677000
+4
+4
+0 0.0709228515625 30754
+1 0.00634765625 26165
+0 0.03662109375 79468
+0 0.0679931640625 10932
+10585000
+6
+4
+1 0.0054931640625 59759
+1 0.12353515625 56464
+0 0.0496826171875 98193
+0 0.0887451171875 78966
diff --git a/public_test_cases/p00716/input.1.txt b/public_test_cases/p00716/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a1652609fc3673d8058e714c705dd2227924a75
--- /dev/null
+++ b/public_test_cases/p00716/input.1.txt
@@ -0,0 +1,25 @@
+4
+1000000
+5
+2
+0 0.03125 3000
+1 0.03125 3000
+6620000
+7
+2
+0 0.0732421875 42307
+1 0.0740966796875 40942
+39677000
+4
+4
+0 0.0709228515625 30754
+1 0.00634765625 26165
+0 0.03662109375 79468
+0 0.0679931640625 10932
+10585000
+6
+4
+1 0.0054931640625 59759
+1 0.12353515625 56464
+0 0.0496826171875 98193
+0 0.0887451171875 78966
diff --git a/public_test_cases/p00716/output.0.txt b/public_test_cases/p00716/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3c83688f2fdeb9a4c301420aabed61671d73961
--- /dev/null
+++ b/public_test_cases/p00716/output.0.txt
@@ -0,0 +1,4 @@
+1150357
+10559683
+50796918
+20829397
diff --git a/public_test_cases/p00716/output.1.txt b/public_test_cases/p00716/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3c83688f2fdeb9a4c301420aabed61671d73961
--- /dev/null
+++ b/public_test_cases/p00716/output.1.txt
@@ -0,0 +1,4 @@
+1150357
+10559683
+50796918
+20829397
diff --git a/public_test_cases/p00717/input.0.txt b/public_test_cases/p00717/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..231ae609a1e83adad3fa32f9c61d7d9b38b194a5
--- /dev/null
+++ b/public_test_cases/p00717/input.0.txt
@@ -0,0 +1,89 @@
+5
+5
+0 0
+2 0
+2 1
+4 1
+4 0
+5
+0 0
+0 2
+-1 2
+-1 4
+0 4
+5
+0 0
+0 1
+-2 1
+-2 2
+0 2
+5
+0 0
+0 -1
+2 -1
+2 0
+4 0
+5
+0 0
+2 0
+2 -1
+4 -1
+4 0
+5
+0 0
+2 0
+2 1
+4 1
+4 0
+4
+4
+-60 -75
+-60 -78
+-42 -78
+-42 -6
+4
+10 3
+10 7
+-4 7
+-4 40
+4
+-74 66
+-74 63
+-92 63
+-92 135
+4
+-12 22
+-12 25
+-30 25
+-30 -47
+4
+12 -22
+12 -25
+30 -25
+30 47
+3
+5
+-8 5
+-8 2
+0 2
+0 4
+8 4
+5
+-3 -1
+0 -1
+0 7
+-2 7
+-2 16
+5
+-1 6
+-1 3
+7 3
+7 5
+16 5
+5
+0 1
+0 -2
+8 -2
+8 0
+17 0
+0
diff --git a/public_test_cases/p00717/input.1.txt b/public_test_cases/p00717/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..231ae609a1e83adad3fa32f9c61d7d9b38b194a5
--- /dev/null
+++ b/public_test_cases/p00717/input.1.txt
@@ -0,0 +1,89 @@
+5
+5
+0 0
+2 0
+2 1
+4 1
+4 0
+5
+0 0
+0 2
+-1 2
+-1 4
+0 4
+5
+0 0
+0 1
+-2 1
+-2 2
+0 2
+5
+0 0
+0 -1
+2 -1
+2 0
+4 0
+5
+0 0
+2 0
+2 -1
+4 -1
+4 0
+5
+0 0
+2 0
+2 1
+4 1
+4 0
+4
+4
+-60 -75
+-60 -78
+-42 -78
+-42 -6
+4
+10 3
+10 7
+-4 7
+-4 40
+4
+-74 66
+-74 63
+-92 63
+-92 135
+4
+-12 22
+-12 25
+-30 25
+-30 -47
+4
+12 -22
+12 -25
+30 -25
+30 47
+3
+5
+-8 5
+-8 2
+0 2
+0 4
+8 4
+5
+-3 -1
+0 -1
+0 7
+-2 7
+-2 16
+5
+-1 6
+-1 3
+7 3
+7 5
+16 5
+5
+0 1
+0 -2
+8 -2
+8 0
+17 0
+0
diff --git a/public_test_cases/p00717/output.0.txt b/public_test_cases/p00717/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..971208776b5c0847465d543b3ea74408cab31430
--- /dev/null
+++ b/public_test_cases/p00717/output.0.txt
@@ -0,0 +1,8 @@
+1
+3
+5
++++++
+3
+4
++++++
++++++
diff --git a/public_test_cases/p00717/output.1.txt b/public_test_cases/p00717/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..971208776b5c0847465d543b3ea74408cab31430
--- /dev/null
+++ b/public_test_cases/p00717/output.1.txt
@@ -0,0 +1,8 @@
+1
+3
+5
++++++
+3
+4
++++++
++++++
diff --git a/public_test_cases/p00718/input.0.txt b/public_test_cases/p00718/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f91ec20f0379dd6841356a984332af6f5705f5d3
--- /dev/null
+++ b/public_test_cases/p00718/input.0.txt
@@ -0,0 +1,11 @@
+10
+xi x9i
+i 9i
+c2x2i 4c8x8i
+m2ci 4m7c9x8i
+9c9x9i i
+i 9m9c9x8i
+m i
+i m
+m9i i
+9m8c7xi c2x8i
diff --git a/public_test_cases/p00718/input.1.txt b/public_test_cases/p00718/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f91ec20f0379dd6841356a984332af6f5705f5d3
--- /dev/null
+++ b/public_test_cases/p00718/input.1.txt
@@ -0,0 +1,11 @@
+10
+xi x9i
+i 9i
+c2x2i 4c8x8i
+m2ci 4m7c9x8i
+9c9x9i i
+i 9m9c9x8i
+m i
+i m
+m9i i
+9m8c7xi c2x8i
diff --git a/public_test_cases/p00718/output.0.txt b/public_test_cases/p00718/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e9d2fca797e8739ac03a4dbd6ca5ee9777f98c7
--- /dev/null
+++ b/public_test_cases/p00718/output.0.txt
@@ -0,0 +1,10 @@
+3x
+x
+6cx
+5m9c9x9i
+m
+9m9c9x9i
+mi
+mi
+mx
+9m9c9x9i
diff --git a/public_test_cases/p00718/output.1.txt b/public_test_cases/p00718/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e9d2fca797e8739ac03a4dbd6ca5ee9777f98c7
--- /dev/null
+++ b/public_test_cases/p00718/output.1.txt
@@ -0,0 +1,10 @@
+3x
+x
+6cx
+5m9c9x9i
+m
+9m9c9x9i
+mi
+mi
+mx
+9m9c9x9i
diff --git a/public_test_cases/p00719/input.0.txt b/public_test_cases/p00719/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e31ca65676f6a80f9f5a4ebf56209b9d9af2c544
--- /dev/null
+++ b/public_test_cases/p00719/input.0.txt
@@ -0,0 +1,31 @@
+3 4 3 1 4
+3 1 2
+1 2 10
+2 3 30
+3 4 20
+2 4 4 2 1
+3 1
+2 3 3
+1 3 3
+4 1 2
+4 2 5
+2 4 3 4 1
+5 5
+1 2 10
+2 3 10
+3 4 10
+1 2 0 1 2
+1
+8 5 10 1 5
+2 7 1 8 4 5 6 3
+1 2 5
+2 3 4
+3 4 7
+4 5 3
+1 3 25
+2 4 23
+3 5 22
+1 4 45
+2 5 51
+1 5 99
+0 0 0 0 0
diff --git a/public_test_cases/p00719/input.1.txt b/public_test_cases/p00719/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e31ca65676f6a80f9f5a4ebf56209b9d9af2c544
--- /dev/null
+++ b/public_test_cases/p00719/input.1.txt
@@ -0,0 +1,31 @@
+3 4 3 1 4
+3 1 2
+1 2 10
+2 3 30
+3 4 20
+2 4 4 2 1
+3 1
+2 3 3
+1 3 3
+4 1 2
+4 2 5
+2 4 3 4 1
+5 5
+1 2 10
+2 3 10
+3 4 10
+1 2 0 1 2
+1
+8 5 10 1 5
+2 7 1 8 4 5 6 3
+1 2 5
+2 3 4
+3 4 7
+4 5 3
+1 3 25
+2 4 23
+3 5 22
+1 4 45
+2 5 51
+1 5 99
+0 0 0 0 0
diff --git a/public_test_cases/p00719/output.0.txt b/public_test_cases/p00719/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72a82e6f06fc4276cf495eb806db2b5e8df35cb6
--- /dev/null
+++ b/public_test_cases/p00719/output.0.txt
@@ -0,0 +1,5 @@
+30.000
+3.667
+Impossible
+Impossible
+2.856
diff --git a/public_test_cases/p00719/output.1.txt b/public_test_cases/p00719/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72a82e6f06fc4276cf495eb806db2b5e8df35cb6
--- /dev/null
+++ b/public_test_cases/p00719/output.1.txt
@@ -0,0 +1,5 @@
+30.000
+3.667
+Impossible
+Impossible
+2.856
diff --git a/public_test_cases/p00720/input.0.txt b/public_test_cases/p00720/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bae9b8b4b123fa60ef8e77b2bc8b584b55f7ad02
--- /dev/null
+++ b/public_test_cases/p00720/input.0.txt
@@ -0,0 +1,37 @@
+3 5 10
+red
+0 0 0
+5 0 0
+green
+0 5 5
+5 6 1
+blue
+0 40 5
+5 0 0
+3 10 5
+atom
+0 47 32
+5 -10 -7
+10 1 0
+pluto
+0 0 0
+7 0 0
+10 3 3
+gesicht
+0 25 7
+5 -7 -2
+10 -1 10
+4 100 7
+impulse
+0 -500 0
+100 10 1
+freedom
+0 -491 0
+100 9 2
+destiny
+0 -472 0
+100 7 4
+strike
+0 -482 0
+100 8 3
+0 0 0
diff --git a/public_test_cases/p00720/input.1.txt b/public_test_cases/p00720/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bae9b8b4b123fa60ef8e77b2bc8b584b55f7ad02
--- /dev/null
+++ b/public_test_cases/p00720/input.1.txt
@@ -0,0 +1,37 @@
+3 5 10
+red
+0 0 0
+5 0 0
+green
+0 5 5
+5 6 1
+blue
+0 40 5
+5 0 0
+3 10 5
+atom
+0 47 32
+5 -10 -7
+10 1 0
+pluto
+0 0 0
+7 0 0
+10 3 3
+gesicht
+0 25 7
+5 -7 -2
+10 -1 10
+4 100 7
+impulse
+0 -500 0
+100 10 1
+freedom
+0 -491 0
+100 9 2
+destiny
+0 -472 0
+100 7 4
+strike
+0 -482 0
+100 8 3
+0 0 0
diff --git a/public_test_cases/p00720/output.0.txt b/public_test_cases/p00720/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..953b710a4bc38bc5bfe20e1129fcf8fcf684c6b7
--- /dev/null
+++ b/public_test_cases/p00720/output.0.txt
@@ -0,0 +1,9 @@
+blue
+green
+red
+atom
+gesicht
+pluto
+freedom
+impulse
+strike
diff --git a/public_test_cases/p00720/output.1.txt b/public_test_cases/p00720/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..953b710a4bc38bc5bfe20e1129fcf8fcf684c6b7
--- /dev/null
+++ b/public_test_cases/p00720/output.1.txt
@@ -0,0 +1,9 @@
+blue
+green
+red
+atom
+gesicht
+pluto
+freedom
+impulse
+strike
diff --git a/public_test_cases/p00721/input.0.txt b/public_test_cases/p00721/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d7ac010c698a604bc8ef4e7ec9c9088877d4920
--- /dev/null
+++ b/public_test_cases/p00721/input.0.txt
@@ -0,0 +1,32 @@
+7 5
+.......
+.o...*.
+.......
+.*...*.
+.......
+15 13
+.......x.......
+...o...x....*..
+.......x.......
+.......x.......
+.......x.......
+...............
+xxxxx.....xxxxx
+...............
+.......x.......
+.......x.......
+.......x.......
+..*....x....*..
+.......x.......
+10 10
+..........
+..o.......
+..........
+..........
+..........
+.....xxxxx
+.....x....
+.....x.*..
+.....x....
+.....x....
+0 0
diff --git a/public_test_cases/p00721/input.1.txt b/public_test_cases/p00721/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d7ac010c698a604bc8ef4e7ec9c9088877d4920
--- /dev/null
+++ b/public_test_cases/p00721/input.1.txt
@@ -0,0 +1,32 @@
+7 5
+.......
+.o...*.
+.......
+.*...*.
+.......
+15 13
+.......x.......
+...o...x....*..
+.......x.......
+.......x.......
+.......x.......
+...............
+xxxxx.....xxxxx
+...............
+.......x.......
+.......x.......
+.......x.......
+..*....x....*..
+.......x.......
+10 10
+..........
+..o.......
+..........
+..........
+..........
+.....xxxxx
+.....x....
+.....x.*..
+.....x....
+.....x....
+0 0
diff --git a/public_test_cases/p00721/output.0.txt b/public_test_cases/p00721/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86fdbd906444c6d2911abb61b73a8d66d2c10abc
--- /dev/null
+++ b/public_test_cases/p00721/output.0.txt
@@ -0,0 +1,3 @@
+8
+49
+-1
diff --git a/public_test_cases/p00721/output.1.txt b/public_test_cases/p00721/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86fdbd906444c6d2911abb61b73a8d66d2c10abc
--- /dev/null
+++ b/public_test_cases/p00721/output.1.txt
@@ -0,0 +1,3 @@
+8
+49
+-1
diff --git a/public_test_cases/p00722/input.0.txt b/public_test_cases/p00722/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c02c8c4463334da215818a86786a5243f1c5a95d
--- /dev/null
+++ b/public_test_cases/p00722/input.0.txt
@@ -0,0 +1,13 @@
+367 186 151
+179 10 203
+271 37 39
+103 230 1
+27 104 185
+253 50 85
+1 1 1
+9075 337 210
+307 24 79
+331 221 177
+259 170 40
+269 58 102
+0 0 0
diff --git a/public_test_cases/p00722/input.1.txt b/public_test_cases/p00722/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c02c8c4463334da215818a86786a5243f1c5a95d
--- /dev/null
+++ b/public_test_cases/p00722/input.1.txt
@@ -0,0 +1,13 @@
+367 186 151
+179 10 203
+271 37 39
+103 230 1
+27 104 185
+253 50 85
+1 1 1
+9075 337 210
+307 24 79
+331 221 177
+259 170 40
+269 58 102
+0 0 0
diff --git a/public_test_cases/p00722/output.0.txt b/public_test_cases/p00722/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8b5970bfe5455f1d820d13234f66cf7885bf6a4
--- /dev/null
+++ b/public_test_cases/p00722/output.0.txt
@@ -0,0 +1,12 @@
+92809
+6709
+12037
+103
+93523
+14503
+2
+899429
+5107
+412717
+22699
+25673
diff --git a/public_test_cases/p00722/output.1.txt b/public_test_cases/p00722/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8b5970bfe5455f1d820d13234f66cf7885bf6a4
--- /dev/null
+++ b/public_test_cases/p00722/output.1.txt
@@ -0,0 +1,12 @@
+92809
+6709
+12037
+103
+93523
+14503
+2
+899429
+5107
+412717
+22699
+25673
diff --git a/public_test_cases/p00723/input.0.txt b/public_test_cases/p00723/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7759f8c5285226d9dbd0646e7b930b2cbae5c85b
--- /dev/null
+++ b/public_test_cases/p00723/input.0.txt
@@ -0,0 +1,5 @@
+4
+aa
+abba
+abcd
+abcde
diff --git a/public_test_cases/p00723/input.1.txt b/public_test_cases/p00723/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7759f8c5285226d9dbd0646e7b930b2cbae5c85b
--- /dev/null
+++ b/public_test_cases/p00723/input.1.txt
@@ -0,0 +1,5 @@
+4
+aa
+abba
+abcd
+abcde
diff --git a/public_test_cases/p00723/output.0.txt b/public_test_cases/p00723/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b90284a5d3c8df49e4e8c7c7a858723e16624c7f
--- /dev/null
+++ b/public_test_cases/p00723/output.0.txt
@@ -0,0 +1,4 @@
+1
+6
+12
+18
diff --git a/public_test_cases/p00723/output.1.txt b/public_test_cases/p00723/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b90284a5d3c8df49e4e8c7c7a858723e16624c7f
--- /dev/null
+++ b/public_test_cases/p00723/output.1.txt
@@ -0,0 +1,4 @@
+1
+6
+12
+18
diff --git a/public_test_cases/p00724/input.0.txt b/public_test_cases/p00724/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c5de43e7b28f4a05fbf921077dfb13b5ca02527
--- /dev/null
+++ b/public_test_cases/p00724/input.0.txt
@@ -0,0 +1,60 @@
+3
+2 -2
+2 -1
+1 0
+1
+0 2
+0 0
+4
+2 -2
+2 -1
+2 0
+3 0
+2
+1 -1
+0 2
+0 0
+8
+-6 0
+-5 0
+-4 0
+-3 0
+-2 0
+-1 0
+0 0
+1 0
+1
+-1 1
+0 0
+6
+2 -3
+3 -3
+3 -2
+3 -1
+3 0
+2 1
+3
+1 -1
+1 0
+1 1
+0 0
+3
+-8000 4996
+-8000 4997
+-8000 4998
+2
+-7999 4999
+-8001 5000
+-8000 5000
+8
+10 -8
+9 -7
+9 -6
+9 -5
+9 -4
+9 -3
+9 -2
+9 -1
+0
+0 0
+0
diff --git a/public_test_cases/p00724/input.1.txt b/public_test_cases/p00724/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c5de43e7b28f4a05fbf921077dfb13b5ca02527
--- /dev/null
+++ b/public_test_cases/p00724/input.1.txt
@@ -0,0 +1,60 @@
+3
+2 -2
+2 -1
+1 0
+1
+0 2
+0 0
+4
+2 -2
+2 -1
+2 0
+3 0
+2
+1 -1
+0 2
+0 0
+8
+-6 0
+-5 0
+-4 0
+-3 0
+-2 0
+-1 0
+0 0
+1 0
+1
+-1 1
+0 0
+6
+2 -3
+3 -3
+3 -2
+3 -1
+3 0
+2 1
+3
+1 -1
+1 0
+1 1
+0 0
+3
+-8000 4996
+-8000 4997
+-8000 4998
+2
+-7999 4999
+-8001 5000
+-8000 5000
+8
+10 -8
+9 -7
+9 -6
+9 -5
+9 -4
+9 -3
+9 -2
+9 -1
+0
+0 0
+0
diff --git a/public_test_cases/p00724/output.0.txt b/public_test_cases/p00724/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fdb856ac94957d63e2dd8e1ab3231e63f584eb5
--- /dev/null
+++ b/public_test_cases/p00724/output.0.txt
@@ -0,0 +1,6 @@
+3
+9
+18
+18
+19
+20
diff --git a/public_test_cases/p00724/output.1.txt b/public_test_cases/p00724/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fdb856ac94957d63e2dd8e1ab3231e63f584eb5
--- /dev/null
+++ b/public_test_cases/p00724/output.1.txt
@@ -0,0 +1,6 @@
+3
+9
+18
+18
+19
+20
diff --git a/public_test_cases/p00725/input.0.txt b/public_test_cases/p00725/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..269851f3620104ee186076ad3547fdf719642bfa
--- /dev/null
+++ b/public_test_cases/p00725/input.0.txt
@@ -0,0 +1,18 @@
+2 1
+3 2
+6 6
+1 0 0 2 1 0
+1 1 0 0 0 0
+0 0 0 0 0 3
+0 0 0 0 0 0
+1 0 0 0 0 1
+0 1 1 1 1 1
+6 1
+1 1 2 1 1 3
+6 1
+1 0 2 1 1 3
+12 1
+2 0 1 1 1 1 1 1 1 1 1 3
+13 1
+2 0 1 1 1 1 1 1 1 1 1 1 3
+0 0
diff --git a/public_test_cases/p00725/input.1.txt b/public_test_cases/p00725/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..269851f3620104ee186076ad3547fdf719642bfa
--- /dev/null
+++ b/public_test_cases/p00725/input.1.txt
@@ -0,0 +1,18 @@
+2 1
+3 2
+6 6
+1 0 0 2 1 0
+1 1 0 0 0 0
+0 0 0 0 0 3
+0 0 0 0 0 0
+1 0 0 0 0 1
+0 1 1 1 1 1
+6 1
+1 1 2 1 1 3
+6 1
+1 0 2 1 1 3
+12 1
+2 0 1 1 1 1 1 1 1 1 1 3
+13 1
+2 0 1 1 1 1 1 1 1 1 1 1 3
+0 0
diff --git a/public_test_cases/p00725/output.0.txt b/public_test_cases/p00725/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bac7b2a8783a8e09df7f2241911570adc43f261a
--- /dev/null
+++ b/public_test_cases/p00725/output.0.txt
@@ -0,0 +1,6 @@
+1
+4
+-1
+4
+10
+-1
diff --git a/public_test_cases/p00725/output.1.txt b/public_test_cases/p00725/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bac7b2a8783a8e09df7f2241911570adc43f261a
--- /dev/null
+++ b/public_test_cases/p00725/output.1.txt
@@ -0,0 +1,6 @@
+1
+4
+-1
+4
+10
+-1
diff --git a/public_test_cases/p00726/input.0.txt b/public_test_cases/p00726/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16999f829c00aa9e963c1fbac736b694cea97d42
--- /dev/null
+++ b/public_test_cases/p00726/input.0.txt
@@ -0,0 +1,5 @@
+ABC 3
+ABC 0
+2(4(AB)3(XY))10C 30
+1000(1000(1000(1000(1000(1000(NM)))))) 999999
+0 0
diff --git a/public_test_cases/p00726/input.1.txt b/public_test_cases/p00726/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16999f829c00aa9e963c1fbac736b694cea97d42
--- /dev/null
+++ b/public_test_cases/p00726/input.1.txt
@@ -0,0 +1,5 @@
+ABC 3
+ABC 0
+2(4(AB)3(XY))10C 30
+1000(1000(1000(1000(1000(1000(NM)))))) 999999
+0 0
diff --git a/public_test_cases/p00726/output.0.txt b/public_test_cases/p00726/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4efffa58e0ca50ef17bd0a6b67836c05cf2bae7
--- /dev/null
+++ b/public_test_cases/p00726/output.0.txt
@@ -0,0 +1,4 @@
+0
+A
+C
+M
diff --git a/public_test_cases/p00726/output.1.txt b/public_test_cases/p00726/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4efffa58e0ca50ef17bd0a6b67836c05cf2bae7
--- /dev/null
+++ b/public_test_cases/p00726/output.1.txt
@@ -0,0 +1,4 @@
+0
+A
+C
+M
diff --git a/public_test_cases/p00727/input.0.txt b/public_test_cases/p00727/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46719f29a4929da349056c0bab6234e03fde53c6
--- /dev/null
+++ b/public_test_cases/p00727/input.0.txt
@@ -0,0 +1,28 @@
+3
+1 1
+3 1
+4 3
+4
+1 1
+2 3
+3 8
+1 9
+8
+1 1
+3 1
+6 1
+1 3
+5 3
+1 7
+3 5
+5 5
+8
+20 7
+1 27
+30 14
+9 6
+17 13
+4 2
+17 7
+8 9
+0
diff --git a/public_test_cases/p00727/input.1.txt b/public_test_cases/p00727/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46719f29a4929da349056c0bab6234e03fde53c6
--- /dev/null
+++ b/public_test_cases/p00727/input.1.txt
@@ -0,0 +1,28 @@
+3
+1 1
+3 1
+4 3
+4
+1 1
+2 3
+3 8
+1 9
+8
+1 1
+3 1
+6 1
+1 3
+5 3
+1 7
+3 5
+5 5
+8
+20 7
+1 27
+30 14
+9 6
+17 13
+4 2
+17 7
+8 9
+0
diff --git a/public_test_cases/p00727/output.0.txt b/public_test_cases/p00727/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e467a54db81206459d2d77f712b9612d48d7003
--- /dev/null
+++ b/public_test_cases/p00727/output.0.txt
@@ -0,0 +1,8 @@
+2.553590050042226
+0.982793723247329
+1.570796326794896
+2.819842099193151
+1.325817663668032
+2.094395102393196
+2.777613697080149
+0.588002603547568
diff --git a/public_test_cases/p00727/output.1.txt b/public_test_cases/p00727/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e467a54db81206459d2d77f712b9612d48d7003
--- /dev/null
+++ b/public_test_cases/p00727/output.1.txt
@@ -0,0 +1,8 @@
+2.553590050042226
+0.982793723247329
+1.570796326794896
+2.819842099193151
+1.325817663668032
+2.094395102393196
+2.777613697080149
+0.588002603547568
diff --git a/public_test_cases/p00728/input.0.txt b/public_test_cases/p00728/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f83c41f0490e6e703d67a8d95e9b37ab92c1ac68
--- /dev/null
+++ b/public_test_cases/p00728/input.0.txt
@@ -0,0 +1,26 @@
+3
+1000
+342
+0
+5
+2
+2
+9
+11
+932
+5
+300
+1000
+0
+200
+400
+8
+353
+242
+402
+274
+283
+132
+402
+523
+0
diff --git a/public_test_cases/p00728/input.1.txt b/public_test_cases/p00728/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f83c41f0490e6e703d67a8d95e9b37ab92c1ac68
--- /dev/null
+++ b/public_test_cases/p00728/input.1.txt
@@ -0,0 +1,26 @@
+3
+1000
+342
+0
+5
+2
+2
+9
+11
+932
+5
+300
+1000
+0
+200
+400
+8
+353
+242
+402
+274
+283
+132
+402
+523
+0
diff --git a/public_test_cases/p00728/output.0.txt b/public_test_cases/p00728/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad78128b4ee7261a68a2ce746ac3ba9a1b594342
--- /dev/null
+++ b/public_test_cases/p00728/output.0.txt
@@ -0,0 +1,4 @@
+342
+7
+300
+326
diff --git a/public_test_cases/p00728/output.1.txt b/public_test_cases/p00728/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad78128b4ee7261a68a2ce746ac3ba9a1b594342
--- /dev/null
+++ b/public_test_cases/p00728/output.1.txt
@@ -0,0 +1,4 @@
+342
+7
+300
+326
diff --git a/public_test_cases/p00729/input.0.txt b/public_test_cases/p00729/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc4d7274bfd27adc5b02000b8744706657fa1b03
--- /dev/null
+++ b/public_test_cases/p00729/input.0.txt
@@ -0,0 +1,43 @@
+4 2
+10
+775 1 1 1
+780 4 2 1
+790 2 1 1
+800 2 1 0
+810 3 1 1
+820 1 1 0
+825 3 1 0
+860 1 1 1
+870 4 2 0
+880 1 1 0
+1
+780 870 1
+13 15
+12
+540 12 13 1
+600 12 13 0
+650 13 15 1
+660 12 15 1
+665 11 13 1
+670 13 15 0
+675 11 13 0
+680 12 15 0
+1000 11 14 1
+1060 12 14 1
+1060 11 14 0
+1080 12 14 0
+3
+540 700 13
+600 1000 15
+1000 1200 11
+1 1
+2
+600 1 1 1
+700 1 1 0
+5
+540 600 1
+550 650 1
+610 620 1
+650 750 1
+700 800 1
+0 0
diff --git a/public_test_cases/p00729/input.1.txt b/public_test_cases/p00729/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc4d7274bfd27adc5b02000b8744706657fa1b03
--- /dev/null
+++ b/public_test_cases/p00729/input.1.txt
@@ -0,0 +1,43 @@
+4 2
+10
+775 1 1 1
+780 4 2 1
+790 2 1 1
+800 2 1 0
+810 3 1 1
+820 1 1 0
+825 3 1 0
+860 1 1 1
+870 4 2 0
+880 1 1 0
+1
+780 870 1
+13 15
+12
+540 12 13 1
+600 12 13 0
+650 13 15 1
+660 12 15 1
+665 11 13 1
+670 13 15 0
+675 11 13 0
+680 12 15 0
+1000 11 14 1
+1060 12 14 1
+1060 11 14 0
+1080 12 14 0
+3
+540 700 13
+600 1000 15
+1000 1200 11
+1 1
+2
+600 1 1 1
+700 1 1 0
+5
+540 600 1
+550 650 1
+610 620 1
+650 750 1
+700 800 1
+0 0
diff --git a/public_test_cases/p00729/output.0.txt b/public_test_cases/p00729/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da60bf3a1bae0549f3dc8fc9771a2e3b37a7bfd5
--- /dev/null
+++ b/public_test_cases/p00729/output.0.txt
@@ -0,0 +1,9 @@
+55
+70
+30
+0
+0
+50
+10
+50
+0
diff --git a/public_test_cases/p00729/output.1.txt b/public_test_cases/p00729/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da60bf3a1bae0549f3dc8fc9771a2e3b37a7bfd5
--- /dev/null
+++ b/public_test_cases/p00729/output.1.txt
@@ -0,0 +1,9 @@
+55
+70
+30
+0
+0
+50
+10
+50
+0
diff --git a/public_test_cases/p00730/input.0.txt b/public_test_cases/p00730/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7c1c7d3278b8ab474610412605f099a2517388d
--- /dev/null
+++ b/public_test_cases/p00730/input.0.txt
@@ -0,0 +1,10 @@
+3 5 6
+1 18
+2 19
+1 2
+3 4 1
+1 1
+2 1
+3 1
+0 2 5
+0 0 0
diff --git a/public_test_cases/p00730/input.1.txt b/public_test_cases/p00730/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7c1c7d3278b8ab474610412605f099a2517388d
--- /dev/null
+++ b/public_test_cases/p00730/input.1.txt
@@ -0,0 +1,10 @@
+3 5 6
+1 18
+2 19
+1 2
+3 4 1
+1 1
+2 1
+3 1
+0 2 5
+0 0 0
diff --git a/public_test_cases/p00730/output.0.txt b/public_test_cases/p00730/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..031fbb974d38a0c2407900859f830be6ca3a0994
--- /dev/null
+++ b/public_test_cases/p00730/output.0.txt
@@ -0,0 +1,3 @@
+4 4 6 16
+1 1 1 1
+10
diff --git a/public_test_cases/p00730/output.1.txt b/public_test_cases/p00730/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..031fbb974d38a0c2407900859f830be6ca3a0994
--- /dev/null
+++ b/public_test_cases/p00730/output.1.txt
@@ -0,0 +1,3 @@
+4 4 6 16
+1 1 1 1
+10
diff --git a/public_test_cases/p00731/input.0.txt b/public_test_cases/p00731/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91ffc5559378f28dbde5a6cd737a519f42e562df
--- /dev/null
+++ b/public_test_cases/p00731/input.0.txt
@@ -0,0 +1,49 @@
+6 6
+4 4 X X T T
+4 7 8 2 X 7
+3 X X X 1 8
+1 2 X X X 6
+1 1 2 4 4 7
+S S 2 3 X X
+2 10
+T 1
+1 X
+1 X
+1 X
+1 1
+1 X
+1 X
+1 1
+1 X
+S S
+2 10
+T X
+1 X
+1 X
+1 X
+1 1
+1 X
+1 X
+1 1
+1 X
+S S
+10 10
+T T T T T T T T T T
+X 2 X X X X X 3 4 X
+9 8 9 X X X 2 9 X 9
+7 7 X 7 3 X X 8 9 X
+8 9 9 9 6 3 X 5 X 5
+8 9 9 9 6 X X 5 X 5
+8 6 5 4 6 8 X 5 X 5
+8 9 3 9 6 8 X 5 X 5
+8 3 9 9 6 X X X 5 X
+S S S S S S S S S S
+10 7
+2 3 2 3 2 3 2 3 T T
+1 2 3 2 3 2 3 2 3 2
+3 2 3 2 3 2 3 2 3 4
+3 2 3 2 3 2 3 2 3 5
+3 2 3 1 3 2 3 2 3 5
+2 2 3 2 4 2 3 2 3 5
+S S 2 3 2 1 2 3 2 3
+0 0
diff --git a/public_test_cases/p00731/input.1.txt b/public_test_cases/p00731/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91ffc5559378f28dbde5a6cd737a519f42e562df
--- /dev/null
+++ b/public_test_cases/p00731/input.1.txt
@@ -0,0 +1,49 @@
+6 6
+4 4 X X T T
+4 7 8 2 X 7
+3 X X X 1 8
+1 2 X X X 6
+1 1 2 4 4 7
+S S 2 3 X X
+2 10
+T 1
+1 X
+1 X
+1 X
+1 1
+1 X
+1 X
+1 1
+1 X
+S S
+2 10
+T X
+1 X
+1 X
+1 X
+1 1
+1 X
+1 X
+1 1
+1 X
+S S
+10 10
+T T T T T T T T T T
+X 2 X X X X X 3 4 X
+9 8 9 X X X 2 9 X 9
+7 7 X 7 3 X X 8 9 X
+8 9 9 9 6 3 X 5 X 5
+8 9 9 9 6 X X 5 X 5
+8 6 5 4 6 8 X 5 X 5
+8 9 3 9 6 8 X 5 X 5
+8 3 9 9 6 X X X 5 X
+S S S S S S S S S S
+10 7
+2 3 2 3 2 3 2 3 T T
+1 2 3 2 3 2 3 2 3 2
+3 2 3 2 3 2 3 2 3 4
+3 2 3 2 3 2 3 2 3 5
+3 2 3 1 3 2 3 2 3 5
+2 2 3 2 4 2 3 2 3 5
+S S 2 3 2 1 2 3 2 3
+0 0
diff --git a/public_test_cases/p00731/output.0.txt b/public_test_cases/p00731/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b77064440e40fae23176f0cbfb48b9d82e525d74
--- /dev/null
+++ b/public_test_cases/p00731/output.0.txt
@@ -0,0 +1,5 @@
+12
+5
+-1
+22
+12
diff --git a/public_test_cases/p00731/output.1.txt b/public_test_cases/p00731/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b77064440e40fae23176f0cbfb48b9d82e525d74
--- /dev/null
+++ b/public_test_cases/p00731/output.1.txt
@@ -0,0 +1,5 @@
+12
+5
+-1
+22
+12
diff --git a/public_test_cases/p00732/input.0.txt b/public_test_cases/p00732/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74c93e97cb881ad7aadcac79d820708d2311024d
--- /dev/null
+++ b/public_test_cases/p00732/input.0.txt
@@ -0,0 +1,46 @@
+4.0 2.0 8
+-1 0
+5 0
+5 -2
+7 -2
+7 0
+18 0
+18 6
+-1 6
+4.0 2.0 4
+-1 0
+10 0
+10 12
+-1 12
+4.0 1.0 7
+-1 0
+2 0
+-1 -3
+-1 -8
+6 -8
+6 6
+-1 6
+4.0 2.0 6
+-1 0
+10 0
+10 3
+7 3
+7 5
+-1 5
+5.0 2.0 6
+-1 0
+2 0
+2 -4
+6 -4
+6 6
+-1 6
+6.0 1.0 8
+-1 0
+8 0
+7 2
+9 2
+8 4
+11 4
+11 12
+-1 12
+0 0 0
diff --git a/public_test_cases/p00732/input.1.txt b/public_test_cases/p00732/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74c93e97cb881ad7aadcac79d820708d2311024d
--- /dev/null
+++ b/public_test_cases/p00732/input.1.txt
@@ -0,0 +1,46 @@
+4.0 2.0 8
+-1 0
+5 0
+5 -2
+7 -2
+7 0
+18 0
+18 6
+-1 6
+4.0 2.0 4
+-1 0
+10 0
+10 12
+-1 12
+4.0 1.0 7
+-1 0
+2 0
+-1 -3
+-1 -8
+6 -8
+6 6
+-1 6
+4.0 2.0 6
+-1 0
+10 0
+10 3
+7 3
+7 5
+-1 5
+5.0 2.0 6
+-1 0
+2 0
+2 -4
+6 -4
+6 6
+-1 6
+6.0 1.0 8
+-1 0
+8 0
+7 2
+9 2
+8 4
+11 4
+11 12
+-1 12
+0 0 0
diff --git a/public_test_cases/p00732/output.0.txt b/public_test_cases/p00732/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..544fe6164b2e502719b40c04b75650a8290b0af7
--- /dev/null
+++ b/public_test_cases/p00732/output.0.txt
@@ -0,0 +1,6 @@
+16.0 0.0
+9.999999999999998 7.4641016151377535
+0.585786437626906 -5.414213562373095
+8.0 0.0
+6.0 0.0
+9.52786404500042 4.0
diff --git a/public_test_cases/p00732/output.1.txt b/public_test_cases/p00732/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..544fe6164b2e502719b40c04b75650a8290b0af7
--- /dev/null
+++ b/public_test_cases/p00732/output.1.txt
@@ -0,0 +1,6 @@
+16.0 0.0
+9.999999999999998 7.4641016151377535
+0.585786437626906 -5.414213562373095
+8.0 0.0
+6.0 0.0
+9.52786404500042 4.0
diff --git a/public_test_cases/p00733/input.0.txt b/public_test_cases/p00733/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d51a81c7862ddd53b29ef70119c5ea37b74a9e10
--- /dev/null
+++ b/public_test_cases/p00733/input.0.txt
@@ -0,0 +1,8 @@
+(((x x) x) ((x x) (x (x x))))
+(((x x) (x x)) ((x x) ((x x) (x x))))
+(((x x) ((x x) x)) (((x (x x)) x) (x x)))
+(((x x) x) ((x x) (((((x x) x) x) x) x)))
+(((x x) x) ((x (x x)) (x (x x))))
+((((x (x x)) x) (x ((x x) x))) ((x (x x)) (x x)))
+((((x x) x) ((x x) (x (x x)))) (((x x) (x x)) ((x x) ((x x) (x x)))))
+0
diff --git a/public_test_cases/p00733/input.1.txt b/public_test_cases/p00733/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d51a81c7862ddd53b29ef70119c5ea37b74a9e10
--- /dev/null
+++ b/public_test_cases/p00733/input.1.txt
@@ -0,0 +1,8 @@
+(((x x) x) ((x x) (x (x x))))
+(((x x) (x x)) ((x x) ((x x) (x x))))
+(((x x) ((x x) x)) (((x (x x)) x) (x x)))
+(((x x) x) ((x x) (((((x x) x) x) x) x)))
+(((x x) x) ((x (x x)) (x (x x))))
+((((x (x x)) x) (x ((x x) x))) ((x (x x)) (x x)))
+((((x x) x) ((x x) (x (x x)))) (((x x) (x x)) ((x x) ((x x) (x x)))))
+0
diff --git a/public_test_cases/p00733/output.0.txt b/public_test_cases/p00733/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..789cbccdce592a6db5b1f2d2845eb914f781289e
--- /dev/null
+++ b/public_test_cases/p00733/output.0.txt
@@ -0,0 +1,7 @@
+((x (x x)) ((x x) ((x x) x)))
+(((x x) ((x x) (x x))) ((x x) (x x)))
+(((x ((x x) x)) (x x)) ((x x) ((x x) x)))
+(((x ((x ((x x) x)) x)) (x x)) ((x x) x))
+((x (x x)) ((x (x x)) ((x x) x)))
+(((x (x x)) (x x)) ((x ((x x) x)) ((x (x x)) x)))
+(((x (x x)) ((x x) ((x x) x))) (((x x) (x x)) (((x x) (x x)) (x x))))
diff --git a/public_test_cases/p00733/output.1.txt b/public_test_cases/p00733/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..789cbccdce592a6db5b1f2d2845eb914f781289e
--- /dev/null
+++ b/public_test_cases/p00733/output.1.txt
@@ -0,0 +1,7 @@
+((x (x x)) ((x x) ((x x) x)))
+(((x x) ((x x) (x x))) ((x x) (x x)))
+(((x ((x x) x)) (x x)) ((x x) ((x x) x)))
+(((x ((x ((x x) x)) x)) (x x)) ((x x) x))
+((x (x x)) ((x (x x)) ((x x) x)))
+(((x (x x)) (x x)) ((x ((x x) x)) ((x (x x)) x)))
+(((x (x x)) ((x x) ((x x) x))) (((x x) (x x)) (((x x) (x x)) (x x))))
diff --git a/public_test_cases/p00734/input.0.txt b/public_test_cases/p00734/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2746c81684b429799b8c8a979e028000c4762f2a
--- /dev/null
+++ b/public_test_cases/p00734/input.0.txt
@@ -0,0 +1,46 @@
+2 2
+1
+5
+3
+7
+6 5
+3
+9
+5
+2
+3
+3
+12
+2
+7
+3
+5
+4 5
+10
+0
+3
+8
+1
+9
+6
+0
+6
+7 4
+1
+1
+2
+1
+2
+1
+4
+2
+3
+4
+3
+2 3
+1
+1
+2
+2
+2
+0 0
diff --git a/public_test_cases/p00734/input.1.txt b/public_test_cases/p00734/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2746c81684b429799b8c8a979e028000c4762f2a
--- /dev/null
+++ b/public_test_cases/p00734/input.1.txt
@@ -0,0 +1,46 @@
+2 2
+1
+5
+3
+7
+6 5
+3
+9
+5
+2
+3
+3
+12
+2
+7
+3
+5
+4 5
+10
+0
+3
+8
+1
+9
+6
+0
+6
+7 4
+1
+1
+2
+1
+2
+1
+4
+2
+3
+4
+3
+2 3
+1
+1
+2
+2
+2
+0 0
diff --git a/public_test_cases/p00734/output.0.txt b/public_test_cases/p00734/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f8751154e3ef758f1d652547f7cdebe41d35e08
--- /dev/null
+++ b/public_test_cases/p00734/output.0.txt
@@ -0,0 +1,5 @@
+1 3
+3 5
+-1
+2 2
+-1
diff --git a/public_test_cases/p00734/output.1.txt b/public_test_cases/p00734/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f8751154e3ef758f1d652547f7cdebe41d35e08
--- /dev/null
+++ b/public_test_cases/p00734/output.1.txt
@@ -0,0 +1,5 @@
+1 3
+3 5
+-1
+2 2
+-1
diff --git a/public_test_cases/p00735/input.0.txt b/public_test_cases/p00735/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92f913c60ac7f91614587323917f849586ab37cf
--- /dev/null
+++ b/public_test_cases/p00735/input.0.txt
@@ -0,0 +1,6 @@
+205920
+262144
+262200
+279936
+299998
+1
diff --git a/public_test_cases/p00735/input.1.txt b/public_test_cases/p00735/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92f913c60ac7f91614587323917f849586ab37cf
--- /dev/null
+++ b/public_test_cases/p00735/input.1.txt
@@ -0,0 +1,6 @@
+205920
+262144
+262200
+279936
+299998
+1
diff --git a/public_test_cases/p00735/output.0.txt b/public_test_cases/p00735/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37153417e466c625ed1be68d78dad1baacab86a6
--- /dev/null
+++ b/public_test_cases/p00735/output.0.txt
@@ -0,0 +1,5 @@
+205920: 6 8 13 15 20 22 55 99
+262144: 8
+262200: 6 8 15 20 50 57 69 76 92 190 230 475 575 874 2185
+279936: 6 8 27
+299998: 299998
diff --git a/public_test_cases/p00735/output.1.txt b/public_test_cases/p00735/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37153417e466c625ed1be68d78dad1baacab86a6
--- /dev/null
+++ b/public_test_cases/p00735/output.1.txt
@@ -0,0 +1,5 @@
+205920: 6 8 13 15 20 22 55 99
+262144: 8
+262200: 6 8 15 20 50 57 69 76 92 190 230 475 575 874 2185
+279936: 6 8 27
+299998: 299998
diff --git a/public_test_cases/p00736/input.0.txt b/public_test_cases/p00736/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70cdf36c8024d8c28413809854299c82fb0cd062
--- /dev/null
+++ b/public_test_cases/p00736/input.0.txt
@@ -0,0 +1,7 @@
+(P*Q)
+(--R+(P*Q))
+(P*-P)
+2
+1
+(-1+(((---P+Q)*(--Q+---R))*(-R+-P)))
+.
diff --git a/public_test_cases/p00736/input.1.txt b/public_test_cases/p00736/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70cdf36c8024d8c28413809854299c82fb0cd062
--- /dev/null
+++ b/public_test_cases/p00736/input.1.txt
@@ -0,0 +1,7 @@
+(P*Q)
+(--R+(P*Q))
+(P*-P)
+2
+1
+(-1+(((---P+Q)*(--Q+---R))*(-R+-P)))
+.
diff --git a/public_test_cases/p00736/output.0.txt b/public_test_cases/p00736/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6201bb738dab5a64c50d0da4b7d91103d86b2811
--- /dev/null
+++ b/public_test_cases/p00736/output.0.txt
@@ -0,0 +1,6 @@
+3
+11
+0
+27
+0
+7
diff --git a/public_test_cases/p00736/output.1.txt b/public_test_cases/p00736/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6201bb738dab5a64c50d0da4b7d91103d86b2811
--- /dev/null
+++ b/public_test_cases/p00736/output.1.txt
@@ -0,0 +1,6 @@
+3
+11
+0
+27
+0
+7
diff --git a/public_test_cases/p00737/input.0.txt b/public_test_cases/p00737/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..704f18e50c22c173298ff0f06835b7680bac1268
--- /dev/null
+++ b/public_test_cases/p00737/input.0.txt
@@ -0,0 +1,22 @@
+8 3
+0 0 0 0 0 0 0 1
+2 3 0 1 4 0 0 1
+3 3 0 0 0 0 0 4
+9 9 1 9
+4 4
+3 3 4 0
+1 2 4 4
+1 1 1 0
+0 2 4 4
+8 7 2 1
+2 8
+2 2
+4 1
+0 4
+1 3
+1 0
+2 1
+0 3
+1 4
+1 9 3 1
+0 0
diff --git a/public_test_cases/p00737/input.1.txt b/public_test_cases/p00737/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..704f18e50c22c173298ff0f06835b7680bac1268
--- /dev/null
+++ b/public_test_cases/p00737/input.1.txt
@@ -0,0 +1,22 @@
+8 3
+0 0 0 0 0 0 0 1
+2 3 0 1 4 0 0 1
+3 3 0 0 0 0 0 4
+9 9 1 9
+4 4
+3 3 4 0
+1 2 4 4
+1 1 1 0
+0 2 4 4
+8 7 2 1
+2 8
+2 2
+4 1
+0 4
+1 3
+1 0
+2 1
+0 3
+1 4
+1 9 3 1
+0 0
diff --git a/public_test_cases/p00737/output.0.txt b/public_test_cases/p00737/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddf11cf6267ea205e050a761f12feddcf9426cdd
--- /dev/null
+++ b/public_test_cases/p00737/output.0.txt
@@ -0,0 +1,3 @@
+1
+11
+6
diff --git a/public_test_cases/p00737/output.1.txt b/public_test_cases/p00737/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddf11cf6267ea205e050a761f12feddcf9426cdd
--- /dev/null
+++ b/public_test_cases/p00737/output.1.txt
@@ -0,0 +1,3 @@
+1
+11
+6
diff --git a/public_test_cases/p00738/input.0.txt b/public_test_cases/p00738/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d8e82e2f79f60bfb55409913d0e6b61ea30b931
--- /dev/null
+++ b/public_test_cases/p00738/input.0.txt
@@ -0,0 +1,38 @@
+2
+-40 -40 100 30
+-100 -100 -50 -30 1
+30 -70 90 -30 10
+2
+-4 -4 10 3
+-10 -10 -5 -3 1
+3 -7 9 -3 1
+2
+-40 -40 100 30
+-100 -100 -50 -30 3
+30 -70 90 -30 10
+2
+-400 -400 1000 300
+-800 -800 -500 -300 7
+300 -700 900 -300 20
+3
+20 70 150 70
+0 0 50 50 4
+40 100 60 120 8
+130 80 200 200 1
+3
+20 70 150 70
+0 0 50 50 4
+40 100 60 120 10
+130 80 200 200 1
+3
+20 70 150 70
+0 0 50 50 10
+40 100 60 120 10
+130 80 200 200 3
+1
+2 4 8 8
+0 0 10 10 1
+1
+1 4 9 9
+2 2 7 7 1
+0
diff --git a/public_test_cases/p00738/input.1.txt b/public_test_cases/p00738/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d8e82e2f79f60bfb55409913d0e6b61ea30b931
--- /dev/null
+++ b/public_test_cases/p00738/input.1.txt
@@ -0,0 +1,38 @@
+2
+-40 -40 100 30
+-100 -100 -50 -30 1
+30 -70 90 -30 10
+2
+-4 -4 10 3
+-10 -10 -5 -3 1
+3 -7 9 -3 1
+2
+-40 -40 100 30
+-100 -100 -50 -30 3
+30 -70 90 -30 10
+2
+-400 -400 1000 300
+-800 -800 -500 -300 7
+300 -700 900 -300 20
+3
+20 70 150 70
+0 0 50 50 4
+40 100 60 120 8
+130 80 200 200 1
+3
+20 70 150 70
+0 0 50 50 4
+40 100 60 120 10
+130 80 200 200 1
+3
+20 70 150 70
+0 0 50 50 10
+40 100 60 120 10
+130 80 200 200 3
+1
+2 4 8 8
+0 0 10 10 1
+1
+1 4 9 9
+2 2 7 7 1
+0
diff --git a/public_test_cases/p00738/output.0.txt b/public_test_cases/p00738/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e5161d06c67d2972f9bf463f71d142efe64c98b
--- /dev/null
+++ b/public_test_cases/p00738/output.0.txt
@@ -0,0 +1,9 @@
+30
+1
+18.16666666667
+717.7857142857
+50.5
+50
+18.16666666667
+0
+0
diff --git a/public_test_cases/p00738/output.1.txt b/public_test_cases/p00738/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e5161d06c67d2972f9bf463f71d142efe64c98b
--- /dev/null
+++ b/public_test_cases/p00738/output.1.txt
@@ -0,0 +1,9 @@
+30
+1
+18.16666666667
+717.7857142857
+50.5
+50
+18.16666666667
+0
+0
diff --git a/public_test_cases/p00739/input.0.txt b/public_test_cases/p00739/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49538f79d2085aecddf10600d01cc13dd99de74e
--- /dev/null
+++ b/public_test_cases/p00739/input.0.txt
@@ -0,0 +1,55 @@
+2 2
+1 1
+1 1
+3 3
+0 1 0
+1 1 0
+1 1 1
+4 6
+1 1 1 0
+1 1 1 1
+1 1 1 0
+1 1 1 0
+0 1 1 0
+1 1 1 0
+7 5
+0 0 1 0 0 1 1
+0 1 1 1 1 1 0
+0 1 1 1 1 1 0
+1 1 1 1 1 1 0
+1 0 0 0 1 1 0
+9 7
+0 0 1 0 0 0 0 0 0
+0 0 1 1 0 0 0 0 0
+1 1 1 1 1 1 1 1 0
+1 1 1 1 1 1 1 1 0
+0 1 1 1 1 1 1 1 1
+0 0 0 1 1 0 0 0 0
+0 0 0 1 0 0 0 0 0
+9 7
+0 0 1 0 0 0 0 0 0
+0 0 1 0 0 0 0 0 0
+1 1 1 1 1 1 1 1 0
+1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1
+0 0 0 1 0 0 0 0 0
+0 0 0 1 0 0 0 0 0
+7 6
+1 1 1 1 1 1 1
+1 1 1 1 1 1 1
+1 1 1 1 1 1 0
+1 1 1 1 1 1 0
+0 1 1 1 1 1 0
+0 1 1 1 1 1 0
+10 10
+0 1 1 1 1 1 1 1 1 1
+1 1 0 0 0 0 0 0 0 0
+1 1 0 0 0 0 0 0 0 0
+1 1 0 0 0 0 0 0 0 0
+1 1 0 0 0 0 0 0 0 0
+1 1 0 0 0 0 0 0 0 0
+1 1 0 0 0 0 0 0 0 0
+1 1 0 0 0 0 0 0 0 0
+1 1 1 0 0 0 0 0 1 0
+1 1 1 1 1 1 1 1 1 0
+0 0
diff --git a/public_test_cases/p00739/output.0.txt b/public_test_cases/p00739/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcb4e0067bc3aa50e4411294c583bd8087ab7f46
--- /dev/null
+++ b/public_test_cases/p00739/output.0.txt
@@ -0,0 +1,8 @@
+YES
+NO
+YES
+YES
+YES
+NO
+NO
+YES
diff --git a/public_test_cases/p00740/input.0.txt b/public_test_cases/p00740/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bb66ef9f43ca96e13c79bd00bca4339e52787a3
--- /dev/null
+++ b/public_test_cases/p00740/input.0.txt
@@ -0,0 +1,8 @@
+3 2
+3 3
+3 50
+10 29
+31 32
+50 2
+50 50
+0 0
diff --git a/public_test_cases/p00740/input.1.txt b/public_test_cases/p00740/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bb66ef9f43ca96e13c79bd00bca4339e52787a3
--- /dev/null
+++ b/public_test_cases/p00740/input.1.txt
@@ -0,0 +1,8 @@
+3 2
+3 3
+3 50
+10 29
+31 32
+50 2
+50 50
+0 0
diff --git a/public_test_cases/p00740/output.0.txt b/public_test_cases/p00740/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7eac42b7ba749107632d92fabee499eedbf5a18
--- /dev/null
+++ b/public_test_cases/p00740/output.0.txt
@@ -0,0 +1,7 @@
+1
+0
+1
+5
+30
+1
+13
diff --git a/public_test_cases/p00740/output.1.txt b/public_test_cases/p00740/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7eac42b7ba749107632d92fabee499eedbf5a18
--- /dev/null
+++ b/public_test_cases/p00740/output.1.txt
@@ -0,0 +1,7 @@
+1
+0
+1
+5
+30
+1
+13
diff --git a/public_test_cases/p00741/input.0.txt b/public_test_cases/p00741/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d81979bc2a5c32312983554c7bc5072caadd7522
--- /dev/null
+++ b/public_test_cases/p00741/input.0.txt
@@ -0,0 +1,25 @@
+1 1
+0
+2 2
+0 1
+1 0
+3 2
+1 1 1
+1 1 1
+5 4
+1 0 1 0 0
+1 0 0 0 0
+1 0 1 0 1
+1 0 0 1 0
+5 4
+1 1 1 0 1
+1 0 1 0 1
+1 0 1 0 1
+1 0 1 1 1
+5 5
+1 0 1 0 1
+0 0 0 0 0
+1 0 1 0 1
+0 0 0 0 0
+1 0 1 0 1
+0 0
diff --git a/public_test_cases/p00741/input.1.txt b/public_test_cases/p00741/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d81979bc2a5c32312983554c7bc5072caadd7522
--- /dev/null
+++ b/public_test_cases/p00741/input.1.txt
@@ -0,0 +1,25 @@
+1 1
+0
+2 2
+0 1
+1 0
+3 2
+1 1 1
+1 1 1
+5 4
+1 0 1 0 0
+1 0 0 0 0
+1 0 1 0 1
+1 0 0 1 0
+5 4
+1 1 1 0 1
+1 0 1 0 1
+1 0 1 0 1
+1 0 1 1 1
+5 5
+1 0 1 0 1
+0 0 0 0 0
+1 0 1 0 1
+0 0 0 0 0
+1 0 1 0 1
+0 0
diff --git a/public_test_cases/p00741/output.0.txt b/public_test_cases/p00741/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..383cdef103c3ad958b8a9ebdd2edc754be3c497f
--- /dev/null
+++ b/public_test_cases/p00741/output.0.txt
@@ -0,0 +1,6 @@
+0
+1
+1
+3
+1
+9
diff --git a/public_test_cases/p00741/output.1.txt b/public_test_cases/p00741/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..383cdef103c3ad958b8a9ebdd2edc754be3c497f
--- /dev/null
+++ b/public_test_cases/p00741/output.1.txt
@@ -0,0 +1,6 @@
+0
+1
+1
+3
+1
+9
diff --git a/public_test_cases/p00742/input.0.txt b/public_test_cases/p00742/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..003b910397f84894b1577aea3f5b2c99649eaa3f
--- /dev/null
+++ b/public_test_cases/p00742/input.0.txt
@@ -0,0 +1,40 @@
+3
+ACM
+IBM
+ICPC
+3
+GAME
+BEST
+GAMER
+4
+A
+B
+C
+AB
+3
+A
+B
+CD
+3
+ONE
+TWO
+THREE
+3
+TWO
+THREE
+FIVE
+3
+MOV
+POP
+DIV
+9
+A
+B
+C
+D
+E
+F
+G
+H
+IJ
+0
diff --git a/public_test_cases/p00742/input.1.txt b/public_test_cases/p00742/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..003b910397f84894b1577aea3f5b2c99649eaa3f
--- /dev/null
+++ b/public_test_cases/p00742/input.1.txt
@@ -0,0 +1,40 @@
+3
+ACM
+IBM
+ICPC
+3
+GAME
+BEST
+GAMER
+4
+A
+B
+C
+AB
+3
+A
+B
+CD
+3
+ONE
+TWO
+THREE
+3
+TWO
+THREE
+FIVE
+3
+MOV
+POP
+DIV
+9
+A
+B
+C
+D
+E
+F
+G
+H
+IJ
+0
diff --git a/public_test_cases/p00742/output.0.txt b/public_test_cases/p00742/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd6cc211e5c066ba5aec5432e82f562e8bf2e8ac
--- /dev/null
+++ b/public_test_cases/p00742/output.0.txt
@@ -0,0 +1,8 @@
+4
+1
+8
+30
+0
+0
+0
+40320
diff --git a/public_test_cases/p00742/output.1.txt b/public_test_cases/p00742/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd6cc211e5c066ba5aec5432e82f562e8bf2e8ac
--- /dev/null
+++ b/public_test_cases/p00742/output.1.txt
@@ -0,0 +1,8 @@
+4
+1
+8
+30
+0
+0
+0
+40320
diff --git a/public_test_cases/p00743/input.0.txt b/public_test_cases/p00743/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f0dc1c0414c3796976240f00c3edf66d77c5620
--- /dev/null
+++ b/public_test_cases/p00743/input.0.txt
@@ -0,0 +1,26 @@
+2 0
+1 2
+5 4
+1 5
+1 2 1 1
+2 3 2 2
+3 4 2 2
+4 5 1 1
+6 6
+1 6
+1 2 2 1
+2 3 2 1
+3 6 2 1
+1 4 2 30
+4 5 3 30
+5 6 2 30
+6 7
+1 6
+1 2 1 30
+2 3 1 30
+3 1 1 30
+3 4 100 30
+4 5 1 30
+5 6 1 30
+6 4 1 30
+0 0
diff --git a/public_test_cases/p00743/input.1.txt b/public_test_cases/p00743/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f0dc1c0414c3796976240f00c3edf66d77c5620
--- /dev/null
+++ b/public_test_cases/p00743/input.1.txt
@@ -0,0 +1,26 @@
+2 0
+1 2
+5 4
+1 5
+1 2 1 1
+2 3 2 2
+3 4 2 2
+4 5 1 1
+6 6
+1 6
+1 2 2 1
+2 3 2 1
+3 6 2 1
+1 4 2 30
+4 5 3 30
+5 6 2 30
+6 7
+1 6
+1 2 1 30
+2 3 1 30
+3 1 1 30
+3 4 100 30
+4 5 1 30
+5 6 1 30
+6 4 1 30
+0 0
diff --git a/public_test_cases/p00743/output.0.txt b/public_test_cases/p00743/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f49b1478ebe07e712ec9449f48de49dee1e0b443
--- /dev/null
+++ b/public_test_cases/p00743/output.0.txt
@@ -0,0 +1,4 @@
+unreachable
+4.00000
+5.50000
+11.25664
diff --git a/public_test_cases/p00743/output.1.txt b/public_test_cases/p00743/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f49b1478ebe07e712ec9449f48de49dee1e0b443
--- /dev/null
+++ b/public_test_cases/p00743/output.1.txt
@@ -0,0 +1,4 @@
+unreachable
+4.00000
+5.50000
+11.25664
diff --git a/public_test_cases/p00744/input.0.txt b/public_test_cases/p00744/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b38ea295f11730dfbca3d2918c1cab360130532
--- /dev/null
+++ b/public_test_cases/p00744/input.0.txt
@@ -0,0 +1,42 @@
+4 3
+2 6 6 15
+2 3 5
+2 3
+4 9
+8 16 32
+4 2
+4 9 11 13
+5 7
+5 5
+2 3 5 1001 1001
+7 11 13 30 30
+10 10
+2 3 5 7 9 11 13 15 17 29
+4 6 10 14 18 22 26 30 34 38
+20 20
+195 144 903 63 137 513 44 626 75 473
+876 421 568 519 755 840 374 368 570 872
+363 650 155 265 64 26 426 391 15 421
+373 984 564 54 823 477 565 866 879 638
+100 100
+195 144 903 63 137 513 44 626 75 473
+876 421 568 519 755 840 374 368 570 872
+363 650 155 265 64 26 426 391 15 421
+373 984 564 54 823 477 565 866 879 638
+117 755 835 683 52 369 302 424 513 870
+75 874 299 228 140 361 30 342 750 819
+761 123 804 325 952 405 578 517 49 457
+932 941 988 767 624 41 912 702 241 426
+351 92 300 648 318 216 785 347 556 535
+166 318 434 746 419 386 928 996 680 975
+231 390 916 220 933 319 37 846 797 54
+272 924 145 348 350 239 563 135 362 119
+446 305 213 879 51 631 43 755 405 499
+509 412 887 203 408 821 298 443 445 96
+274 715 796 417 839 147 654 402 280 17
+298 725 98 287 382 923 694 201 679 99
+699 188 288 364 389 694 185 464 138 406
+558 188 897 354 603 737 277 35 139 556
+826 213 59 922 499 217 846 193 416 525
+69 115 489 355 256 654 49 439 118 961
+0 0
diff --git a/public_test_cases/p00744/input.1.txt b/public_test_cases/p00744/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b38ea295f11730dfbca3d2918c1cab360130532
--- /dev/null
+++ b/public_test_cases/p00744/input.1.txt
@@ -0,0 +1,42 @@
+4 3
+2 6 6 15
+2 3 5
+2 3
+4 9
+8 16 32
+4 2
+4 9 11 13
+5 7
+5 5
+2 3 5 1001 1001
+7 11 13 30 30
+10 10
+2 3 5 7 9 11 13 15 17 29
+4 6 10 14 18 22 26 30 34 38
+20 20
+195 144 903 63 137 513 44 626 75 473
+876 421 568 519 755 840 374 368 570 872
+363 650 155 265 64 26 426 391 15 421
+373 984 564 54 823 477 565 866 879 638
+100 100
+195 144 903 63 137 513 44 626 75 473
+876 421 568 519 755 840 374 368 570 872
+363 650 155 265 64 26 426 391 15 421
+373 984 564 54 823 477 565 866 879 638
+117 755 835 683 52 369 302 424 513 870
+75 874 299 228 140 361 30 342 750 819
+761 123 804 325 952 405 578 517 49 457
+932 941 988 767 624 41 912 702 241 426
+351 92 300 648 318 216 785 347 556 535
+166 318 434 746 419 386 928 996 680 975
+231 390 916 220 933 319 37 846 797 54
+272 924 145 348 350 239 563 135 362 119
+446 305 213 879 51 631 43 755 405 499
+509 412 887 203 408 821 298 443 445 96
+274 715 796 417 839 147 654 402 280 17
+298 725 98 287 382 923 694 201 679 99
+699 188 288 364 389 694 185 464 138 406
+558 188 897 354 603 737 277 35 139 556
+826 213 59 922 499 217 846 193 416 525
+69 115 489 355 256 654 49 439 118 961
+0 0
diff --git a/public_test_cases/p00744/output.0.txt b/public_test_cases/p00744/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ed563591eca8af3958c0659c3138c24fe1841f7
--- /dev/null
+++ b/public_test_cases/p00744/output.0.txt
@@ -0,0 +1,7 @@
+3
+1
+0
+4
+9
+18
+85
diff --git a/public_test_cases/p00744/output.1.txt b/public_test_cases/p00744/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ed563591eca8af3958c0659c3138c24fe1841f7
--- /dev/null
+++ b/public_test_cases/p00744/output.1.txt
@@ -0,0 +1,7 @@
+3
+1
+0
+4
+9
+18
+85
diff --git a/public_test_cases/p00745/input.0.txt b/public_test_cases/p00745/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..960814f180a7134b284816dcd789c6784671606f
--- /dev/null
+++ b/public_test_cases/p00745/input.0.txt
@@ -0,0 +1,102 @@
+6 16
+5 4
+11 988
+474 975
+459 16
+985 12
+984 982
+242 227
+140 266
+45 410
+92 570
+237 644
+370 567
+406 424
+336 290
+756 220
+634 251
+511 404
+575 554
+726 643
+868 571
+907 403
+845 283
+10 4
+261 196
+943 289
+859 925
+56 822
+112 383
+514 0
+1000 457
+514 1000
+0 485
+233 224
+710 242
+850 654
+485 915
+140 663
+26 5
+0 953
+180 0
+299 501
+37 301
+325 124
+162 507
+84 140
+913 409
+635 157
+645 555
+894 229
+598 223
+783 514
+765 137
+599 445
+695 126
+859 462
+599 312
+838 167
+708 563
+565 258
+945 283
+251 454
+125 111
+28 469
+1000 1000
+185 319
+717 296
+9 315
+372 249
+203 528
+15 15
+200 247
+859 597
+340 134
+967 247
+421 623
+1000 427
+751 1000
+102 737
+448 0
+978 510
+556 907
+0 582
+627 201
+697 963
+616 608
+345 819
+810 809
+437 706
+702 695
+448 474
+605 474
+329 355
+691 350
+816 231
+313 216
+864 360
+772 278
+756 747
+529 639
+513 525
+0 0
diff --git a/public_test_cases/p00745/input.1.txt b/public_test_cases/p00745/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..960814f180a7134b284816dcd789c6784671606f
--- /dev/null
+++ b/public_test_cases/p00745/input.1.txt
@@ -0,0 +1,102 @@
+6 16
+5 4
+11 988
+474 975
+459 16
+985 12
+984 982
+242 227
+140 266
+45 410
+92 570
+237 644
+370 567
+406 424
+336 290
+756 220
+634 251
+511 404
+575 554
+726 643
+868 571
+907 403
+845 283
+10 4
+261 196
+943 289
+859 925
+56 822
+112 383
+514 0
+1000 457
+514 1000
+0 485
+233 224
+710 242
+850 654
+485 915
+140 663
+26 5
+0 953
+180 0
+299 501
+37 301
+325 124
+162 507
+84 140
+913 409
+635 157
+645 555
+894 229
+598 223
+783 514
+765 137
+599 445
+695 126
+859 462
+599 312
+838 167
+708 563
+565 258
+945 283
+251 454
+125 111
+28 469
+1000 1000
+185 319
+717 296
+9 315
+372 249
+203 528
+15 15
+200 247
+859 597
+340 134
+967 247
+421 623
+1000 427
+751 1000
+102 737
+448 0
+978 510
+556 907
+0 582
+627 201
+697 963
+616 608
+345 819
+810 809
+437 706
+702 695
+448 474
+605 474
+329 355
+691 350
+816 231
+313 216
+864 360
+772 278
+756 747
+529 639
+513 525
+0 0
diff --git a/public_test_cases/p00745/output.0.txt b/public_test_cases/p00745/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74097d360eb7a65f70523ff3d5313bec09087541
--- /dev/null
+++ b/public_test_cases/p00745/output.0.txt
@@ -0,0 +1,4 @@
+2257.0518296609
+3609.92159564177
+2195.83727086364
+3619.77160684813
diff --git a/public_test_cases/p00745/output.1.txt b/public_test_cases/p00745/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74097d360eb7a65f70523ff3d5313bec09087541
--- /dev/null
+++ b/public_test_cases/p00745/output.1.txt
@@ -0,0 +1,4 @@
+2257.0518296609
+3609.92159564177
+2195.83727086364
+3619.77160684813
diff --git a/public_test_cases/p00746/input.0.txt b/public_test_cases/p00746/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3ed8ec01f680cf1e1e8462e4d437494199b3cc7
--- /dev/null
+++ b/public_test_cases/p00746/input.0.txt
@@ -0,0 +1,29 @@
+1
+5
+0 0
+0 1
+0 2
+0 3
+12
+0 0
+1 0
+2 0
+3 1
+4 1
+5 1
+6 2
+7 2
+8 2
+9 3
+10 3
+10
+0 2
+1 2
+2 2
+3 2
+2 1
+5 1
+6 1
+7 1
+8 1
+0
diff --git a/public_test_cases/p00746/input.1.txt b/public_test_cases/p00746/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3ed8ec01f680cf1e1e8462e4d437494199b3cc7
--- /dev/null
+++ b/public_test_cases/p00746/input.1.txt
@@ -0,0 +1,29 @@
+1
+5
+0 0
+0 1
+0 2
+0 3
+12
+0 0
+1 0
+2 0
+3 1
+4 1
+5 1
+6 2
+7 2
+8 2
+9 3
+10 3
+10
+0 2
+1 2
+2 2
+3 2
+2 1
+5 1
+6 1
+7 1
+8 1
+0
diff --git a/public_test_cases/p00746/output.0.txt b/public_test_cases/p00746/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..298b0aa7c2f95af63f261430fc52823e9912bcf3
--- /dev/null
+++ b/public_test_cases/p00746/output.0.txt
@@ -0,0 +1,4 @@
+1 1
+3 3
+4 4
+5 6
diff --git a/public_test_cases/p00746/output.1.txt b/public_test_cases/p00746/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..298b0aa7c2f95af63f261430fc52823e9912bcf3
--- /dev/null
+++ b/public_test_cases/p00746/output.1.txt
@@ -0,0 +1,4 @@
+1 1
+3 3
+4 4
+5 6
diff --git a/public_test_cases/p00748/input.0.txt b/public_test_cases/p00748/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86c9d3918d7e15045bd13187f01623438d28d7ac
--- /dev/null
+++ b/public_test_cases/p00748/input.0.txt
@@ -0,0 +1,9 @@
+40
+14
+5
+165
+120
+103
+106
+139
+0
diff --git a/public_test_cases/p00748/input.1.txt b/public_test_cases/p00748/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86c9d3918d7e15045bd13187f01623438d28d7ac
--- /dev/null
+++ b/public_test_cases/p00748/input.1.txt
@@ -0,0 +1,9 @@
+40
+14
+5
+165
+120
+103
+106
+139
+0
diff --git a/public_test_cases/p00748/output.0.txt b/public_test_cases/p00748/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e984acf544501dbfad856b28232c6ef29243edee
--- /dev/null
+++ b/public_test_cases/p00748/output.0.txt
@@ -0,0 +1,8 @@
+2 6
+2 14
+2 5
+1 1
+1 18
+5 35
+4 4
+3 37
diff --git a/public_test_cases/p00748/output.1.txt b/public_test_cases/p00748/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e984acf544501dbfad856b28232c6ef29243edee
--- /dev/null
+++ b/public_test_cases/p00748/output.1.txt
@@ -0,0 +1,8 @@
+2 6
+2 14
+2 5
+1 1
+1 18
+5 35
+4 4
+3 37
diff --git a/public_test_cases/p00749/input.0.txt b/public_test_cases/p00749/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b22921192e67a2019ed87f964d2ca651fa7452b
--- /dev/null
+++ b/public_test_cases/p00749/input.0.txt
@@ -0,0 +1,58 @@
+4 5
+..33
+..33
+2222
+..1.
+.111
+5 7
+....1
+.1..1
+.1..1
+11..1
+.2222
+..111
+...1.
+3 6
+.3.
+233
+23.
+22.
+.11
+.11
+4 3
+2222
+..11
+..11
+4 5
+.3..
+33..
+322.
+2211
+.11.
+3 3
+222
+2.1
+111
+3 4
+11.
+11.
+.2.
+222
+3 4
+.11
+.11
+.2.
+222
+2 7
+11
+.1
+21
+22
+23
+.3
+33
+2 3
+1.
+11
+.1
+0 0
diff --git a/public_test_cases/p00749/input.1.txt b/public_test_cases/p00749/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b22921192e67a2019ed87f964d2ca651fa7452b
--- /dev/null
+++ b/public_test_cases/p00749/input.1.txt
@@ -0,0 +1,58 @@
+4 5
+..33
+..33
+2222
+..1.
+.111
+5 7
+....1
+.1..1
+.1..1
+11..1
+.2222
+..111
+...1.
+3 6
+.3.
+233
+23.
+22.
+.11
+.11
+4 3
+2222
+..11
+..11
+4 5
+.3..
+33..
+322.
+2211
+.11.
+3 3
+222
+2.1
+111
+3 4
+11.
+11.
+.2.
+222
+3 4
+.11
+.11
+.2.
+222
+2 7
+11
+.1
+21
+22
+23
+.3
+33
+2 3
+1.
+11
+.1
+0 0
diff --git a/public_test_cases/p00749/output.0.txt b/public_test_cases/p00749/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b35881563b704a18554d136f5939d858ba510105
--- /dev/null
+++ b/public_test_cases/p00749/output.0.txt
@@ -0,0 +1,10 @@
+STABLE
+STABLE
+STABLE
+UNSTABLE
+STABLE
+STABLE
+UNSTABLE
+UNSTABLE
+UNSTABLE
+UNSTABLE
diff --git a/public_test_cases/p00749/output.1.txt b/public_test_cases/p00749/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b35881563b704a18554d136f5939d858ba510105
--- /dev/null
+++ b/public_test_cases/p00749/output.1.txt
@@ -0,0 +1,10 @@
+STABLE
+STABLE
+STABLE
+UNSTABLE
+STABLE
+STABLE
+UNSTABLE
+UNSTABLE
+UNSTABLE
+UNSTABLE
diff --git a/public_test_cases/p00750/input.0.txt b/public_test_cases/p00750/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecc1e0b93a74f878740e3e0af6fd0e8c950047d4
--- /dev/null
+++ b/public_test_cases/p00750/input.0.txt
@@ -0,0 +1,21 @@
+4 7 0 2
+0 1 abra
+0 1 oil
+2 0 ket
+1 3 cada
+3 3 da
+3 2 bra
+2 3 ket
+2 2 0 1
+0 0 a
+0 1 b
+5 6 3 0
+3 1 op
+3 2 op
+3 4 opq
+1 0 st
+2 0 qr
+4 0 r
+2 1 0 1
+1 1 loooop
+0 0 0 0
diff --git a/public_test_cases/p00750/input.1.txt b/public_test_cases/p00750/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecc1e0b93a74f878740e3e0af6fd0e8c950047d4
--- /dev/null
+++ b/public_test_cases/p00750/input.1.txt
@@ -0,0 +1,21 @@
+4 7 0 2
+0 1 abra
+0 1 oil
+2 0 ket
+1 3 cada
+3 3 da
+3 2 bra
+2 3 ket
+2 2 0 1
+0 0 a
+0 1 b
+5 6 3 0
+3 1 op
+3 2 op
+3 4 opq
+1 0 st
+2 0 qr
+4 0 r
+2 1 0 1
+1 1 loooop
+0 0 0 0
diff --git a/public_test_cases/p00750/output.0.txt b/public_test_cases/p00750/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b30300d0fdaca601054728a2f58d4b1519c3ba
--- /dev/null
+++ b/public_test_cases/p00750/output.0.txt
@@ -0,0 +1,4 @@
+abracadabra
+NO
+opqr
+NO
diff --git a/public_test_cases/p00750/output.1.txt b/public_test_cases/p00750/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b30300d0fdaca601054728a2f58d4b1519c3ba
--- /dev/null
+++ b/public_test_cases/p00750/output.1.txt
@@ -0,0 +1,4 @@
+abracadabra
+NO
+opqr
+NO
diff --git a/public_test_cases/p00751/input.0.txt b/public_test_cases/p00751/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0873c23d62f16de323a806cc771d6bd9f01521f4
--- /dev/null
+++ b/public_test_cases/p00751/input.0.txt
@@ -0,0 +1,21 @@
+1 4
+AABBCCDDEEFFGGHHIJJKKLLMMNNOOPP
+AABBCCDDEEFFGG
+CCDDEEFFGGHHII
+FFGGHHIIJJKKLL
+JJKKLLMMNNOOPP
+2 3
+ABRACADABRA.ABBRACADABRA.
+ABRACADABRA.A
+.ABRACADABRA.
+BRA.ABRACADAB
+2 2
+AAAAAAAAAAAAAAAA
+AAAAAAAAAAAAA
+AAAAAAAAAAAAA
+2 3
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+XXXXXXAXXXXXX
+XXXXXXBXXXXXX
+XXXXXXXXXXXXX
+0 0
diff --git a/public_test_cases/p00751/input.1.txt b/public_test_cases/p00751/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0873c23d62f16de323a806cc771d6bd9f01521f4
--- /dev/null
+++ b/public_test_cases/p00751/input.1.txt
@@ -0,0 +1,21 @@
+1 4
+AABBCCDDEEFFGGHHIJJKKLLMMNNOOPP
+AABBCCDDEEFFGG
+CCDDEEFFGGHHII
+FFGGHHIIJJKKLL
+JJKKLLMMNNOOPP
+2 3
+ABRACADABRA.ABBRACADABRA.
+ABRACADABRA.A
+.ABRACADABRA.
+BRA.ABRACADAB
+2 2
+AAAAAAAAAAAAAAAA
+AAAAAAAAAAAAA
+AAAAAAAAAAAAA
+2 3
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+XXXXXXAXXXXXX
+XXXXXXBXXXXXX
+XXXXXXXXXXXXX
+0 0
diff --git a/public_test_cases/p00751/output.0.txt b/public_test_cases/p00751/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19d54a7250b9e1300788ccf10a00004e0e02f1ba
--- /dev/null
+++ b/public_test_cases/p00751/output.0.txt
@@ -0,0 +1,15 @@
+1
+AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP
+5
+.ABRACADABRA.ABRACADABRA.
+ABRACADABRA.A.ABRACADABRA.
+ABRACADABRA.AABRACADABRA.A
+ABRACADABRA.ABRACADABRA.
+ABRACADABRA.ABRACADABRA.A
+5
+AAAAAAAAAAAAAA
+AAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAA
+257
diff --git a/public_test_cases/p00751/output.1.txt b/public_test_cases/p00751/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19d54a7250b9e1300788ccf10a00004e0e02f1ba
--- /dev/null
+++ b/public_test_cases/p00751/output.1.txt
@@ -0,0 +1,15 @@
+1
+AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP
+5
+.ABRACADABRA.ABRACADABRA.
+ABRACADABRA.A.ABRACADABRA.
+ABRACADABRA.AABRACADABRA.A
+ABRACADABRA.ABRACADABRA.
+ABRACADABRA.ABRACADABRA.A
+5
+AAAAAAAAAAAAAA
+AAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAA
+AAAAAAAAAAAAAAAAAA
+257
diff --git a/public_test_cases/p00752/input.0.txt b/public_test_cases/p00752/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b293cbdc31ec72a0b620487c29ffd26d73f8bcef
--- /dev/null
+++ b/public_test_cases/p00752/input.0.txt
@@ -0,0 +1,30 @@
+2
+30 10 30 75
+60 30 60 95
+90 0
+0 100
+1
+20 81 90 90
+10 90
+90 10
+2
+10 0 10 58
+20 20 20 58
+0 70
+30 0
+4
+8 0 8 60
+16 16 16 48
+16 10 28 30
+16 52 28 34
+24 0
+24 64
+5
+8 0 8 60
+16 16 16 48
+16 10 28 30
+16 52 28 34
+100 0 100 50
+24 0
+24 64
+0
diff --git a/public_test_cases/p00752/input.1.txt b/public_test_cases/p00752/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b293cbdc31ec72a0b620487c29ffd26d73f8bcef
--- /dev/null
+++ b/public_test_cases/p00752/input.1.txt
@@ -0,0 +1,30 @@
+2
+30 10 30 75
+60 30 60 95
+90 0
+0 100
+1
+20 81 90 90
+10 90
+90 10
+2
+10 0 10 58
+20 20 20 58
+0 70
+30 0
+4
+8 0 8 60
+16 16 16 48
+16 10 28 30
+16 52 28 34
+24 0
+24 64
+5
+8 0 8 60
+16 16 16 48
+16 10 28 30
+16 52 28 34
+100 0 100 50
+24 0
+24 64
+0
diff --git a/public_test_cases/p00752/output.0.txt b/public_test_cases/p00752/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bd07dbd09955b51f2b5ea59f98a8d7f7be19aca
--- /dev/null
+++ b/public_test_cases/p00752/output.0.txt
@@ -0,0 +1,5 @@
+180.27756377319946
+113.13708498984761
+98.99494936611666
+90.50966799187809
+90.50966799187809
diff --git a/public_test_cases/p00752/output.1.txt b/public_test_cases/p00752/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bd07dbd09955b51f2b5ea59f98a8d7f7be19aca
--- /dev/null
+++ b/public_test_cases/p00752/output.1.txt
@@ -0,0 +1,5 @@
+180.27756377319946
+113.13708498984761
+98.99494936611666
+90.50966799187809
+90.50966799187809
diff --git a/public_test_cases/p00754/input.1.txt b/public_test_cases/p00754/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p00754/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p00754/output.1.txt b/public_test_cases/p00754/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p00754/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p00760/input.0.txt b/public_test_cases/p00760/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d314557127165ea0cca8dc6f28d6eb3042a0df69
--- /dev/null
+++ b/public_test_cases/p00760/input.0.txt
@@ -0,0 +1,9 @@
+8
+1 1 1
+344 3 1
+696 5 1
+182 9 5
+998 8 7
+344 2 19
+696 4 19
+999 10 20
diff --git a/public_test_cases/p00760/input.1.txt b/public_test_cases/p00760/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d314557127165ea0cca8dc6f28d6eb3042a0df69
--- /dev/null
+++ b/public_test_cases/p00760/input.1.txt
@@ -0,0 +1,9 @@
+8
+1 1 1
+344 3 1
+696 5 1
+182 9 5
+998 8 7
+344 2 19
+696 4 19
+999 10 20
diff --git a/public_test_cases/p00760/output.0.txt b/public_test_cases/p00760/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18aa55f240f6f237719cef7522b5830c453bf9c1
--- /dev/null
+++ b/public_test_cases/p00760/output.0.txt
@@ -0,0 +1,8 @@
+196470
+128976
+59710
+160715
+252
+128977
+59712
+1
diff --git a/public_test_cases/p00760/output.1.txt b/public_test_cases/p00760/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18aa55f240f6f237719cef7522b5830c453bf9c1
--- /dev/null
+++ b/public_test_cases/p00760/output.1.txt
@@ -0,0 +1,8 @@
+196470
+128976
+59710
+160715
+252
+128977
+59712
+1
diff --git a/public_test_cases/p00761/input.0.txt b/public_test_cases/p00761/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e4702b911d0b5543feeaf9b359acfc357230a9e
--- /dev/null
+++ b/public_test_cases/p00761/input.0.txt
@@ -0,0 +1,6 @@
+2012 4
+83268 6
+1112 4
+0 1
+99 2
+0 0
diff --git a/public_test_cases/p00761/input.1.txt b/public_test_cases/p00761/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e4702b911d0b5543feeaf9b359acfc357230a9e
--- /dev/null
+++ b/public_test_cases/p00761/input.1.txt
@@ -0,0 +1,6 @@
+2012 4
+83268 6
+1112 4
+0 1
+99 2
+0 0
diff --git a/public_test_cases/p00761/output.0.txt b/public_test_cases/p00761/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83fd7e90713ef3a52e60c2b7bc4d5b8a4520dade
--- /dev/null
+++ b/public_test_cases/p00761/output.0.txt
@@ -0,0 +1,5 @@
+3 6174 1
+1 862632 7
+5 6174 1
+0 0 1
+1 0 1
diff --git a/public_test_cases/p00761/output.1.txt b/public_test_cases/p00761/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83fd7e90713ef3a52e60c2b7bc4d5b8a4520dade
--- /dev/null
+++ b/public_test_cases/p00761/output.1.txt
@@ -0,0 +1,5 @@
+3 6174 1
+1 862632 7
+5 6174 1
+0 0 1
+1 0 1
diff --git a/public_test_cases/p00762/input.0.txt b/public_test_cases/p00762/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4aa3b769081dfb2b0ca7965a7e9d8efa2da325c
--- /dev/null
+++ b/public_test_cases/p00762/input.0.txt
@@ -0,0 +1,25 @@
+4
+6 4
+6 4
+6 4
+6 4
+2
+5 3
+5 3
+8
+4 2
+4 2
+4 2
+4 2
+4 2
+4 2
+4 2
+4 2
+6
+4 6
+1 5
+2 3
+5 3
+2 4
+4 2
+0
diff --git a/public_test_cases/p00762/input.1.txt b/public_test_cases/p00762/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4aa3b769081dfb2b0ca7965a7e9d8efa2da325c
--- /dev/null
+++ b/public_test_cases/p00762/input.1.txt
@@ -0,0 +1,25 @@
+4
+6 4
+6 4
+6 4
+6 4
+2
+5 3
+5 3
+8
+4 2
+4 2
+4 2
+4 2
+4 2
+4 2
+4 2
+4 2
+6
+4 6
+1 5
+2 3
+5 3
+2 4
+4 2
+0
diff --git a/public_test_cases/p00762/output.0.txt b/public_test_cases/p00762/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e10b950da925596291ab7b1dbbc32bcad86f50fd
--- /dev/null
+++ b/public_test_cases/p00762/output.0.txt
@@ -0,0 +1,4 @@
+0 1 1 0 0 1
+1 0 0 0 1 0
+1 2 2 1 0 0
+2 3 0 0 0 0
diff --git a/public_test_cases/p00762/output.1.txt b/public_test_cases/p00762/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e10b950da925596291ab7b1dbbc32bcad86f50fd
--- /dev/null
+++ b/public_test_cases/p00762/output.1.txt
@@ -0,0 +1,4 @@
+0 1 1 0 0 1
+1 0 0 0 1 0
+1 2 2 1 0 0
+2 3 0 0 0 0
diff --git a/public_test_cases/p00763/input.0.txt b/public_test_cases/p00763/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e55663c8bf62c533122479253f539156bf3728eb
--- /dev/null
+++ b/public_test_cases/p00763/input.0.txt
@@ -0,0 +1,37 @@
+4 4 2 1 4
+1 2 2 1
+2 3 2 1
+3 4 5 1
+2 4 4 2
+3 1
+3 6
+10 5 3
+
+10
+2 0 1 1 2
+1
+
+1
+4 5 2 4 1
+4 3 10 1
+3 2 2 1
+3 2 1 2
+3 2 5 2
+2 1 10 1
+3 3
+20 30
+3 2 1
+5 10
+3 2 1
+5 5 2 1 5
+1 2 10 2
+1 3 20 2
+2 4 20 1
+3 4 10 1
+4 5 20 1
+2 2
+20
+4 1
+20
+3 1
+0 0 0 0 0
diff --git a/public_test_cases/p00763/input.1.txt b/public_test_cases/p00763/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e55663c8bf62c533122479253f539156bf3728eb
--- /dev/null
+++ b/public_test_cases/p00763/input.1.txt
@@ -0,0 +1,37 @@
+4 4 2 1 4
+1 2 2 1
+2 3 2 1
+3 4 5 1
+2 4 4 2
+3 1
+3 6
+10 5 3
+
+10
+2 0 1 1 2
+1
+
+1
+4 5 2 4 1
+4 3 10 1
+3 2 2 1
+3 2 1 2
+3 2 5 2
+2 1 10 1
+3 3
+20 30
+3 2 1
+5 10
+3 2 1
+5 5 2 1 5
+1 2 10 2
+1 3 20 2
+2 4 20 1
+3 4 10 1
+4 5 20 1
+2 2
+20
+4 1
+20
+3 1
+0 0 0 0 0
diff --git a/public_test_cases/p00763/output.0.txt b/public_test_cases/p00763/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a917d33f82c21ec25c569cfd175ea43c5e522e3
--- /dev/null
+++ b/public_test_cases/p00763/output.0.txt
@@ -0,0 +1,4 @@
+54
+-1
+63
+130
diff --git a/public_test_cases/p00763/output.1.txt b/public_test_cases/p00763/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a917d33f82c21ec25c569cfd175ea43c5e522e3
--- /dev/null
+++ b/public_test_cases/p00763/output.1.txt
@@ -0,0 +1,4 @@
+54
+-1
+63
+130
diff --git a/public_test_cases/p00764/input.0.txt b/public_test_cases/p00764/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87e7340db26bccb65bf0661a4b047c9e610923ae
--- /dev/null
+++ b/public_test_cases/p00764/input.0.txt
@@ -0,0 +1,42 @@
+10
+802 0 10
+814 0 4
+820 1 4
+826 1 4
+832 3 5
+838 5 5
+845 7 3
+849 10 3
+853 14 4
+857 18 3
+3
+0 0 5
+8 0 5
+8 8 5
+3
+0 0 5
+7 3 6
+16 0 5
+9
+0 3 5
+8 0 8
+19 2 8
+23 14 6
+23 21 6
+23 28 6
+19 40 8
+8 42 8
+0 39 5
+11
+0 0 5
+8 0 5
+18 8 10
+8 16 5
+0 16 5
+0 24 5
+3 32 5
+10 32 5
+17 28 8
+27 25 3
+30 18 5
+0
diff --git a/public_test_cases/p00764/input.1.txt b/public_test_cases/p00764/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87e7340db26bccb65bf0661a4b047c9e610923ae
--- /dev/null
+++ b/public_test_cases/p00764/input.1.txt
@@ -0,0 +1,42 @@
+10
+802 0 10
+814 0 4
+820 1 4
+826 1 4
+832 3 5
+838 5 5
+845 7 3
+849 10 3
+853 14 4
+857 18 3
+3
+0 0 5
+8 0 5
+8 8 5
+3
+0 0 5
+7 3 6
+16 0 5
+9
+0 3 5
+8 0 8
+19 2 8
+23 14 6
+23 21 6
+23 28 6
+19 40 8
+8 42 8
+0 39 5
+11
+0 0 5
+8 0 5
+18 8 10
+8 16 5
+0 16 5
+0 24 5
+3 32 5
+10 32 5
+17 28 8
+27 25 3
+30 18 5
+0
diff --git a/public_test_cases/p00764/output.0.txt b/public_test_cases/p00764/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ebc878d66bf6bd99a6bb50ce2693c9e15c64ca8
--- /dev/null
+++ b/public_test_cases/p00764/output.0.txt
@@ -0,0 +1,5 @@
+58.953437
+11.414214
+16.0
+61.874812
+63.195179
diff --git a/public_test_cases/p00764/output.1.txt b/public_test_cases/p00764/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ebc878d66bf6bd99a6bb50ce2693c9e15c64ca8
--- /dev/null
+++ b/public_test_cases/p00764/output.1.txt
@@ -0,0 +1,5 @@
+58.953437
+11.414214
+16.0
+61.874812
+63.195179
diff --git a/public_test_cases/p00765/input.0.txt b/public_test_cases/p00765/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2263f4fce404b2e973703740256845599399670e
--- /dev/null
+++ b/public_test_cases/p00765/input.0.txt
@@ -0,0 +1,39 @@
+1 1 1
+a
+3 3 4
+a+ * a *
+2 2 3
+a a b
+2 2 3
+* * *
+2 2 3
+* b b
+2 2 2
+a a
+2 3 3
+a a+ a++
+2 6 6
+a a+ a++ b b+ b++
+4 13 5
+a a * * *
+4 13 5
+a a b b *
+4 13 5
+a a a * *
+4 13 5
+a a+ a++ a+++ a++++
+4 13 5
+* * * * *
+4 13 5
+a a a b b
+4 13 5
+a a a a *
+7 60 7
+a b a b c c *
+7 60 7
+* * * * * * *
+7 60 7
+a a+ a++ a+++ a++++ a+++++ a++++++
+1 14 4
+b a+ a a
+0 0 0
diff --git a/public_test_cases/p00765/input.1.txt b/public_test_cases/p00765/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2263f4fce404b2e973703740256845599399670e
--- /dev/null
+++ b/public_test_cases/p00765/input.1.txt
@@ -0,0 +1,39 @@
+1 1 1
+a
+3 3 4
+a+ * a *
+2 2 3
+a a b
+2 2 3
+* * *
+2 2 3
+* b b
+2 2 2
+a a
+2 3 3
+a a+ a++
+2 6 6
+a a+ a++ b b+ b++
+4 13 5
+a a * * *
+4 13 5
+a a b b *
+4 13 5
+a a a * *
+4 13 5
+a a+ a++ a+++ a++++
+4 13 5
+* * * * *
+4 13 5
+a a a b b
+4 13 5
+a a a a *
+7 60 7
+a b a b c c *
+7 60 7
+* * * * * * *
+7 60 7
+a a+ a++ a+++ a++++ a+++++ a++++++
+1 14 4
+b a+ a a
+0 0 0
diff --git a/public_test_cases/p00765/output.0.txt b/public_test_cases/p00765/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29c328aa01feb5c3821322156699301c0028aa5c
--- /dev/null
+++ b/public_test_cases/p00765/output.0.txt
@@ -0,0 +1,19 @@
+1.0000000000
+0.8809523810
+1.0000000000
+1.0000000000
+1.0000000000
+0.3333333333
+0.4000000000
+0.1212121212
+0.4929171669
+0.0492196879
+0.0228091236
+0.0035460338
+1.0000000000
+0.0014405762
+0.0002400960
+0.0002967709
+1.0000000000
+0.0000001022
+0.0000000000
diff --git a/public_test_cases/p00765/output.1.txt b/public_test_cases/p00765/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29c328aa01feb5c3821322156699301c0028aa5c
--- /dev/null
+++ b/public_test_cases/p00765/output.1.txt
@@ -0,0 +1,19 @@
+1.0000000000
+0.8809523810
+1.0000000000
+1.0000000000
+1.0000000000
+0.3333333333
+0.4000000000
+0.1212121212
+0.4929171669
+0.0492196879
+0.0228091236
+0.0035460338
+1.0000000000
+0.0014405762
+0.0002400960
+0.0002967709
+1.0000000000
+0.0000001022
+0.0000000000
diff --git a/public_test_cases/p00766/input.0.txt b/public_test_cases/p00766/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9512651adb6c5d771f3989e0e9e8ab32dd40bca
--- /dev/null
+++ b/public_test_cases/p00766/input.0.txt
@@ -0,0 +1,33 @@
+3 5
+###.#
+#####
+###..
+4 5
+.#.##
+.####
+####.
+##.#.
+8 8
+.#.#.#.#
+########
+.######.
+########
+.######.
+########
+.######.
+########
+8 8
+.#.#.#.#
+########
+.##.#.#.
+##....##
+.##.###.
+##...###
+.##.###.
+###.#.##
+4 4
+####
+####
+####
+####
+0 0
diff --git a/public_test_cases/p00766/input.1.txt b/public_test_cases/p00766/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9512651adb6c5d771f3989e0e9e8ab32dd40bca
--- /dev/null
+++ b/public_test_cases/p00766/input.1.txt
@@ -0,0 +1,33 @@
+3 5
+###.#
+#####
+###..
+4 5
+.#.##
+.####
+####.
+##.#.
+8 8
+.#.#.#.#
+########
+.######.
+########
+.######.
+########
+.######.
+########
+8 8
+.#.#.#.#
+########
+.##.#.#.
+##....##
+.##.###.
+##...###
+.##.###.
+###.#.##
+4 4
+####
+####
+####
+####
+0 0
diff --git a/public_test_cases/p00766/output.0.txt b/public_test_cases/p00766/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..189a109af8fc51734eab55d83dc9e9b6b361f6a9
--- /dev/null
+++ b/public_test_cases/p00766/output.0.txt
@@ -0,0 +1,5 @@
+3
+5
+11
+19
+1
diff --git a/public_test_cases/p00766/output.1.txt b/public_test_cases/p00766/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..189a109af8fc51734eab55d83dc9e9b6b361f6a9
--- /dev/null
+++ b/public_test_cases/p00766/output.1.txt
@@ -0,0 +1,5 @@
+3
+5
+11
+19
+1
diff --git a/public_test_cases/p00767/input.0.txt b/public_test_cases/p00767/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..053f78b733089355068092a54cacd3c17820f24a
--- /dev/null
+++ b/public_test_cases/p00767/input.0.txt
@@ -0,0 +1,11 @@
+1 2
+1 3
+2 3
+1 4
+2 4
+5 6
+1 8
+4 7
+98 100
+99 100
+0 0
diff --git a/public_test_cases/p00767/output.0.txt b/public_test_cases/p00767/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2a8e9b2053847c7bf6c8c9c5e78960e8c44123a
--- /dev/null
+++ b/public_test_cases/p00767/output.0.txt
@@ -0,0 +1,10 @@
+1 3
+2 3
+1 4
+2 4
+3 4
+1 8
+4 7
+2 8
+3 140
+89 109
diff --git a/public_test_cases/p00768/input.0.txt b/public_test_cases/p00768/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2930d1c084e43cd72bb87cc83bab2a444181c8ad
--- /dev/null
+++ b/public_test_cases/p00768/input.0.txt
@@ -0,0 +1,34 @@
+300 10 8 5
+50 5 2 1
+70 5 2 0
+75 1 1 0
+100 3 1 0
+150 3 2 0
+240 5 5 7
+50 1 1 0
+60 2 2 0
+70 2 3 0
+90 1 3 0
+120 3 5 0
+140 4 1 0
+150 2 4 1
+180 3 5 4
+15 2 2 1
+20 2 2 1
+25 2 2 0
+60 1 1 0
+120 5 5 4
+15 5 4 1
+20 5 4 0
+40 1 1 0
+40 2 2 0
+120 2 3 4
+30 1 1 0
+40 2 1 0
+50 2 2 0
+60 1 2 0
+120 3 3 2
+0 1 1 0
+1 2 2 0
+300 5 8 0
+0 0 0 0
diff --git a/public_test_cases/p00768/input.1.txt b/public_test_cases/p00768/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2930d1c084e43cd72bb87cc83bab2a444181c8ad
--- /dev/null
+++ b/public_test_cases/p00768/input.1.txt
@@ -0,0 +1,34 @@
+300 10 8 5
+50 5 2 1
+70 5 2 0
+75 1 1 0
+100 3 1 0
+150 3 2 0
+240 5 5 7
+50 1 1 0
+60 2 2 0
+70 2 3 0
+90 1 3 0
+120 3 5 0
+140 4 1 0
+150 2 4 1
+180 3 5 4
+15 2 2 1
+20 2 2 1
+25 2 2 0
+60 1 1 0
+120 5 5 4
+15 5 4 1
+20 5 4 0
+40 1 1 0
+40 2 2 0
+120 2 3 4
+30 1 1 0
+40 2 1 0
+50 2 2 0
+60 1 2 0
+120 3 3 2
+0 1 1 0
+1 2 2 0
+300 5 8 0
+0 0 0 0
diff --git a/public_test_cases/p00768/output.0.txt b/public_test_cases/p00768/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9277caf0216d515da955ae22954ddaabde9cdc8b
--- /dev/null
+++ b/public_test_cases/p00768/output.0.txt
@@ -0,0 +1,7 @@
+3,1,5,10=9=8=7=6=4=2
+2,1,3,4,5
+1,2,3
+5=2=1,4=3
+2=1
+1,2,3
+5=4=3=2=1
diff --git a/public_test_cases/p00768/output.1.txt b/public_test_cases/p00768/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9277caf0216d515da955ae22954ddaabde9cdc8b
--- /dev/null
+++ b/public_test_cases/p00768/output.1.txt
@@ -0,0 +1,7 @@
+3,1,5,10=9=8=7=6=4=2
+2,1,3,4,5
+1,2,3
+5=2=1,4=3
+2=1
+1,2,3
+5=4=3=2=1
diff --git a/public_test_cases/p00769/input.0.txt b/public_test_cases/p00769/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73600a8eff6578d845da22de534838a7b7afdfbc
--- /dev/null
+++ b/public_test_cases/p00769/input.0.txt
@@ -0,0 +1,7 @@
+6
+[[123][4567][89]]
+[[5][3][7][3][9]]
+[[[99][59][63][85][51]][[1539][7995][467]][[51][57][79][99][3][91][59]]]
+[[[37][95][31][77][15]][[43][5][5][5][85]][[71][3][51][89][29]][[57][95][5][69][31]][[99][59][65][73][31]]]
+[[[[9][7][3]][[3][5][7]][[7][9][5]]][[[9][9][3]][[5][9][9]][[7][7][3]]][[[5][9][7]][[3][9][3]][[9][5][5]]]]
+[[8231][3721][203][3271][8843]]
diff --git a/public_test_cases/p00769/input.1.txt b/public_test_cases/p00769/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73600a8eff6578d845da22de534838a7b7afdfbc
--- /dev/null
+++ b/public_test_cases/p00769/input.1.txt
@@ -0,0 +1,7 @@
+6
+[[123][4567][89]]
+[[5][3][7][3][9]]
+[[[99][59][63][85][51]][[1539][7995][467]][[51][57][79][99][3][91][59]]]
+[[[37][95][31][77][15]][[43][5][5][5][85]][[71][3][51][89][29]][[57][95][5][69][31]][[99][59][65][73][31]]]
+[[[[9][7][3]][[3][5][7]][[7][9][5]]][[[9][9][3]][[5][9][9]][[7][7][3]]][[[5][9][7]][[3][9][3]][[9][5][5]]]]
+[[8231][3721][203][3271][8843]]
diff --git a/public_test_cases/p00769/output.0.txt b/public_test_cases/p00769/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bd03b05018cb4695fba05388e47df0ad2c56563
--- /dev/null
+++ b/public_test_cases/p00769/output.0.txt
@@ -0,0 +1,6 @@
+107
+7
+175
+95
+21
+3599
diff --git a/public_test_cases/p00769/output.1.txt b/public_test_cases/p00769/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bd03b05018cb4695fba05388e47df0ad2c56563
--- /dev/null
+++ b/public_test_cases/p00769/output.1.txt
@@ -0,0 +1,6 @@
+107
+7
+175
+95
+21
+3599
diff --git a/public_test_cases/p00770/input.0.txt b/public_test_cases/p00770/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2377de52b99852c24520400b10732b3ba301264
--- /dev/null
+++ b/public_test_cases/p00770/input.0.txt
@@ -0,0 +1,10 @@
+49 22
+46 37
+42 23
+945 561
+1081 681
+1056 452
+1042 862
+973 677
+1000000 1000000
+0 0
diff --git a/public_test_cases/p00770/input.1.txt b/public_test_cases/p00770/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2377de52b99852c24520400b10732b3ba301264
--- /dev/null
+++ b/public_test_cases/p00770/input.1.txt
@@ -0,0 +1,10 @@
+49 22
+46 37
+42 23
+945 561
+1081 681
+1056 452
+1042 862
+973 677
+1000000 1000000
+0 0
diff --git a/public_test_cases/p00770/output.0.txt b/public_test_cases/p00770/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb35afc8f22c6c22479560ccefb2c27fdffff851
--- /dev/null
+++ b/public_test_cases/p00770/output.0.txt
@@ -0,0 +1,9 @@
+0 0
+6 43
+1 23
+20 829
+18 947
+10 947
+13 947
+23 947
+534 993541
diff --git a/public_test_cases/p00770/output.1.txt b/public_test_cases/p00770/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb35afc8f22c6c22479560ccefb2c27fdffff851
--- /dev/null
+++ b/public_test_cases/p00770/output.1.txt
@@ -0,0 +1,9 @@
+0 0
+6 43
+1 23
+20 829
+18 947
+10 947
+13 947
+23 947
+534 993541
diff --git a/public_test_cases/p00771/input.0.txt b/public_test_cases/p00771/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..991073b4b3f6da3ddf4556142816df965e333a7f
--- /dev/null
+++ b/public_test_cases/p00771/input.0.txt
@@ -0,0 +1,55 @@
+3
+10 10 20
+10 -10 20
+-10 10 120
+1
+10 10 16
+2
+10 10 20
+10 -10 20
+2
+100 0 101
+-90 0 91
+2
+0 0 53
+30 40 102
+3
+10 10 20
+10 -10 20
+-10 -10 20
+3
+1 5 13
+5 -3 13
+-3 -3 13
+3
+98 97 168
+-82 -80 193
+-99 -96 211
+4
+90 -100 160
+-80 -80 150
+90 80 150
+80 80 245
+4
+85 -90 290
+-80 -80 220
+-85 90 145
+85 90 170
+5
+0 0 4
+3 0 5
+-3 0 5
+0 3 5
+0 -3 5
+10
+95 -93 260
+-86 96 211
+91 90 177
+-81 -80 124
+-91 91 144
+97 94 165
+-90 -86 194
+89 85 167
+-93 -80 222
+92 -84 218
+0
diff --git a/public_test_cases/p00771/input.1.txt b/public_test_cases/p00771/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..991073b4b3f6da3ddf4556142816df965e333a7f
--- /dev/null
+++ b/public_test_cases/p00771/input.1.txt
@@ -0,0 +1,55 @@
+3
+10 10 20
+10 -10 20
+-10 10 120
+1
+10 10 16
+2
+10 10 20
+10 -10 20
+2
+100 0 101
+-90 0 91
+2
+0 0 53
+30 40 102
+3
+10 10 20
+10 -10 20
+-10 -10 20
+3
+1 5 13
+5 -3 13
+-3 -3 13
+3
+98 97 168
+-82 -80 193
+-99 -96 211
+4
+90 -100 160
+-80 -80 150
+90 80 150
+80 80 245
+4
+85 -90 290
+-80 -80 220
+-85 90 145
+85 90 170
+5
+0 0 4
+3 0 5
+-3 0 5
+0 3 5
+0 -3 5
+10
+95 -93 260
+-86 96 211
+91 90 177
+-81 -80 124
+-91 91 144
+97 94 165
+-90 -86 194
+89 85 167
+-93 -80 222
+92 -84 218
+0
diff --git a/public_test_cases/p00771/output.0.txt b/public_test_cases/p00771/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e054b03e9afea72977465ba2df1f046450cd158
--- /dev/null
+++ b/public_test_cases/p00771/output.0.txt
@@ -0,0 +1,12 @@
+17.3205081
+16.0000000
+17.3205081
+13.8011200
+53.0000000
+14.1421356
+12.0000000
+128.3928757
+94.1879092
+131.1240816
+4.0000000
+72.2251798
diff --git a/public_test_cases/p00771/output.1.txt b/public_test_cases/p00771/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e054b03e9afea72977465ba2df1f046450cd158
--- /dev/null
+++ b/public_test_cases/p00771/output.1.txt
@@ -0,0 +1,12 @@
+17.3205081
+16.0000000
+17.3205081
+13.8011200
+53.0000000
+14.1421356
+12.0000000
+128.3928757
+94.1879092
+131.1240816
+4.0000000
+72.2251798
diff --git a/public_test_cases/p00772/input.0.txt b/public_test_cases/p00772/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cb67808044c91bb0ad4c3757d97e79cfe3c760c
--- /dev/null
+++ b/public_test_cases/p00772/input.0.txt
@@ -0,0 +1,25 @@
+3 3 3
+1 2 3
+4 5 6
+2 1 2 5
+2 6 4 3
+2 5 3 1
+3 3 2
+1 1 1
+2 2 1
+2 1 1 2
+2 2 2 1
+7 1 2
+1 1 2 1 4 1 2
+4
+3 1 4 1 4
+3 2 4 2 4
+16 14 5
+2 1 2 2 1 3 2 1 3 2 2 1 1 3 1 2
+2 1 3 1 1 2 3 1 2 2 2 2 1 3
+2 3 1 3
+3 2 2 2 1
+3 2 2 1 2
+3 1 2 2 2
+4 2 1 2 2 2
+0 0 0
diff --git a/public_test_cases/p00772/input.1.txt b/public_test_cases/p00772/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cb67808044c91bb0ad4c3757d97e79cfe3c760c
--- /dev/null
+++ b/public_test_cases/p00772/input.1.txt
@@ -0,0 +1,25 @@
+3 3 3
+1 2 3
+4 5 6
+2 1 2 5
+2 6 4 3
+2 5 3 1
+3 3 2
+1 1 1
+2 2 1
+2 1 1 2
+2 2 2 1
+7 1 2
+1 1 2 1 4 1 2
+4
+3 1 4 1 4
+3 2 4 2 4
+16 14 5
+2 1 2 2 1 3 2 1 3 2 2 1 1 3 1 2
+2 1 3 1 1 2 3 1 2 2 2 2 1 3
+2 3 1 3
+3 2 2 2 1
+3 2 2 1 2
+3 1 2 2 2
+4 2 1 2 2 2
+0 0 0
diff --git a/public_test_cases/p00772/output.0.txt b/public_test_cases/p00772/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..570b2369c4bbb88bf26399086355b32b4b030ec9
--- /dev/null
+++ b/public_test_cases/p00772/output.0.txt
@@ -0,0 +1,4 @@
+2
+-1
+1
+9
diff --git a/public_test_cases/p00772/output.1.txt b/public_test_cases/p00772/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..570b2369c4bbb88bf26399086355b32b4b030ec9
--- /dev/null
+++ b/public_test_cases/p00772/output.1.txt
@@ -0,0 +1,4 @@
+2
+-1
+1
+9
diff --git a/public_test_cases/p00773/input.0.txt b/public_test_cases/p00773/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d7a23934a43ad0117f12e32a5f61cd5eb18cbe6
--- /dev/null
+++ b/public_test_cases/p00773/input.0.txt
@@ -0,0 +1,17 @@
+5 8 105
+8 5 105
+1 2 24
+99 98 24
+12 13 26
+1 22 23
+1 13 201
+13 16 112
+2 24 50
+1 82 61
+1 84 125
+1 99 999
+99 1 999
+98 99 999
+1 99 11
+99 1 12
+0 0 0
diff --git a/public_test_cases/p00773/input.1.txt b/public_test_cases/p00773/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d7a23934a43ad0117f12e32a5f61cd5eb18cbe6
--- /dev/null
+++ b/public_test_cases/p00773/input.1.txt
@@ -0,0 +1,17 @@
+5 8 105
+8 5 105
+1 2 24
+99 98 24
+12 13 26
+1 22 23
+1 13 201
+13 16 112
+2 24 50
+1 82 61
+1 84 125
+1 99 999
+99 1 999
+98 99 999
+1 99 11
+99 1 12
+0 0 0
diff --git a/public_test_cases/p00773/output.0.txt b/public_test_cases/p00773/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f45140c2c2dec5ca36d08e2640ebee886272632
--- /dev/null
+++ b/public_test_cases/p00773/output.0.txt
@@ -0,0 +1,16 @@
+109
+103
+24
+24
+26
+27
+225
+116
+62
+111
+230
+1972
+508
+1004
+20
+7
diff --git a/public_test_cases/p00773/output.1.txt b/public_test_cases/p00773/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f45140c2c2dec5ca36d08e2640ebee886272632
--- /dev/null
+++ b/public_test_cases/p00773/output.1.txt
@@ -0,0 +1,16 @@
+109
+103
+24
+24
+26
+27
+225
+116
+62
+111
+230
+1972
+508
+1004
+20
+7
diff --git a/public_test_cases/p00774/input.0.txt b/public_test_cases/p00774/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67fa86fe3652c59756db2e07734955942be01089
--- /dev/null
+++ b/public_test_cases/p00774/input.0.txt
@@ -0,0 +1,30 @@
+1
+6 9 9 9 9
+5
+5 9 5 5 9
+5 5 6 9 9
+4 6 3 6 9
+3 3 2 9 9
+2 2 1 1 1
+10
+3 5 6 5 6
+2 2 2 8 3
+6 2 5 9 2
+7 7 7 6 1
+4 6 6 4 9
+8 9 1 1 8
+5 6 1 8 1
+6 8 2 1 2
+9 6 3 3 5
+5 3 8 8 8
+5
+1 2 3 4 5
+6 7 8 9 1
+2 3 4 5 6
+7 8 9 1 2
+3 4 5 6 7
+3
+2 2 8 7 4
+6 5 7 7 7
+8 8 9 9 9
+0
diff --git a/public_test_cases/p00774/input.1.txt b/public_test_cases/p00774/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67fa86fe3652c59756db2e07734955942be01089
--- /dev/null
+++ b/public_test_cases/p00774/input.1.txt
@@ -0,0 +1,30 @@
+1
+6 9 9 9 9
+5
+5 9 5 5 9
+5 5 6 9 9
+4 6 3 6 9
+3 3 2 9 9
+2 2 1 1 1
+10
+3 5 6 5 6
+2 2 2 8 3
+6 2 5 9 2
+7 7 7 6 1
+4 6 6 4 9
+8 9 1 1 8
+5 6 1 8 1
+6 8 2 1 2
+9 6 3 3 5
+5 3 8 8 8
+5
+1 2 3 4 5
+6 7 8 9 1
+2 3 4 5 6
+7 8 9 1 2
+3 4 5 6 7
+3
+2 2 8 7 4
+6 5 7 7 7
+8 8 9 9 9
+0
diff --git a/public_test_cases/p00774/output.0.txt b/public_test_cases/p00774/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37712dc1821c233777aa00e45b78d43fcdbcb01e
--- /dev/null
+++ b/public_test_cases/p00774/output.0.txt
@@ -0,0 +1,5 @@
+36
+38
+99
+0
+72
diff --git a/public_test_cases/p00774/output.1.txt b/public_test_cases/p00774/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37712dc1821c233777aa00e45b78d43fcdbcb01e
--- /dev/null
+++ b/public_test_cases/p00774/output.1.txt
@@ -0,0 +1,5 @@
+36
+38
+99
+0
+72
diff --git a/public_test_cases/p00775/input.0.txt b/public_test_cases/p00775/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cbd9f252f1505918ef096c9fc1e6a5d42ccc421
--- /dev/null
+++ b/public_test_cases/p00775/input.0.txt
@@ -0,0 +1,22 @@
+2 3
+-2 -1 3
+0 1 3
+2 3 3
+2 2
+-2 0 4
+0 2 3
+2 6
+-3 3 1
+-2 3 2
+-1 3 3
+0 3 4
+1 3 5
+2 3 6
+2 6
+-3 3 1
+-3 2 2
+-3 1 3
+-3 0 4
+-3 -1 5
+-3 -2 6
+0 0
diff --git a/public_test_cases/p00775/input.1.txt b/public_test_cases/p00775/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cbd9f252f1505918ef096c9fc1e6a5d42ccc421
--- /dev/null
+++ b/public_test_cases/p00775/input.1.txt
@@ -0,0 +1,22 @@
+2 3
+-2 -1 3
+0 1 3
+2 3 3
+2 2
+-2 0 4
+0 2 3
+2 6
+-3 3 1
+-2 3 2
+-1 3 3
+0 3 4
+1 3 5
+2 3 6
+2 6
+-3 3 1
+-3 2 2
+-3 1 3
+-3 0 4
+-3 -1 5
+-3 -2 6
+0 0
diff --git a/public_test_cases/p00775/output.0.txt b/public_test_cases/p00775/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21a99efba4a94ca46e63409ade70a7ce1d778d36
--- /dev/null
+++ b/public_test_cases/p00775/output.0.txt
@@ -0,0 +1,4 @@
+0.0000
+3.0000
+2.2679
+2.2679
diff --git a/public_test_cases/p00775/output.1.txt b/public_test_cases/p00775/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21a99efba4a94ca46e63409ade70a7ce1d778d36
--- /dev/null
+++ b/public_test_cases/p00775/output.1.txt
@@ -0,0 +1,4 @@
+0.0000
+3.0000
+2.2679
+2.2679
diff --git a/public_test_cases/p00776/input.0.txt b/public_test_cases/p00776/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..703842f32c1d45cbb384acb5a1bd603048912f6b
--- /dev/null
+++ b/public_test_cases/p00776/input.0.txt
@@ -0,0 +1,5 @@
+enw
+abc
+abcdefghijklmnopqrst
+z
+#
diff --git a/public_test_cases/p00776/input.1.txt b/public_test_cases/p00776/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..703842f32c1d45cbb384acb5a1bd603048912f6b
--- /dev/null
+++ b/public_test_cases/p00776/input.1.txt
@@ -0,0 +1,5 @@
+enw
+abc
+abcdefghijklmnopqrst
+z
+#
diff --git a/public_test_cases/p00776/output.0.txt b/public_test_cases/p00776/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1ae4d1aa98183e665ae76845e96a6145e2fd13f
--- /dev/null
+++ b/public_test_cases/p00776/output.0.txt
@@ -0,0 +1,20 @@
+1
+fox
+5
+acc
+acd
+bbd
+bcc
+bcd
+17711
+acceeggiikkmmooqqssu
+acceeggiikkmmooqqstt
+acceeggiikkmmooqqstu
+acceeggiikkmmooqrrtt
+acceeggiikkmmooqrrtu
+bcdefghijklmnopqrrtt
+bcdefghijklmnopqrrtu
+bcdefghijklmnopqrssu
+bcdefghijklmnopqrstt
+bcdefghijklmnopqrstu
+0
diff --git a/public_test_cases/p00776/output.1.txt b/public_test_cases/p00776/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1ae4d1aa98183e665ae76845e96a6145e2fd13f
--- /dev/null
+++ b/public_test_cases/p00776/output.1.txt
@@ -0,0 +1,20 @@
+1
+fox
+5
+acc
+acd
+bbd
+bcc
+bcd
+17711
+acceeggiikkmmooqqssu
+acceeggiikkmmooqqstt
+acceeggiikkmmooqqstu
+acceeggiikkmmooqrrtt
+acceeggiikkmmooqrrtu
+bcdefghijklmnopqrrtt
+bcdefghijklmnopqrrtu
+bcdefghijklmnopqrssu
+bcdefghijklmnopqrstt
+bcdefghijklmnopqrstu
+0
diff --git a/public_test_cases/p00777/input.0.txt b/public_test_cases/p00777/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7c7e29bb156d9a135574c77ddce5f5b9d7c0ddb
--- /dev/null
+++ b/public_test_cases/p00777/input.0.txt
@@ -0,0 +1,10 @@
+4
+1 2 3
+10 20 30
+10
+1 2 2 1 5 5 1 8 8
+10 1 1 20 1 1 30 1 1
+3
+1 1
+1 1
+0
diff --git a/public_test_cases/p00777/input.1.txt b/public_test_cases/p00777/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7c7e29bb156d9a135574c77ddce5f5b9d7c0ddb
--- /dev/null
+++ b/public_test_cases/p00777/input.1.txt
@@ -0,0 +1,10 @@
+4
+1 2 3
+10 20 30
+10
+1 2 2 1 5 5 1 8 8
+10 1 1 20 1 1 30 1 1
+3
+1 1
+1 1
+0
diff --git a/public_test_cases/p00777/output.0.txt b/public_test_cases/p00777/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee19f056faf479589b08b4d94683e5867741bbc9
--- /dev/null
+++ b/public_test_cases/p00777/output.0.txt
@@ -0,0 +1,3 @@
+80
+136
+2
diff --git a/public_test_cases/p00777/output.1.txt b/public_test_cases/p00777/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee19f056faf479589b08b4d94683e5867741bbc9
--- /dev/null
+++ b/public_test_cases/p00777/output.1.txt
@@ -0,0 +1,3 @@
+80
+136
+2
diff --git a/public_test_cases/p00778/input.0.txt b/public_test_cases/p00778/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4155c1a4b7afb1e412e1a4ab86fd5e11cce0acff
--- /dev/null
+++ b/public_test_cases/p00778/input.0.txt
@@ -0,0 +1,15 @@
+1 1 1 1 1 1
+1 6
+1 1 1 1 1 1
+4 5
+0 0 0 0 0 2
+1 2
+0 0 2 2 2 4
+5 9
+1 2 3 4 5 6
+15 16
+0 1 2 3 5 9
+13 16
+2 13 22 27 31 91
+100 170
+0 0 0 0 0 0
diff --git a/public_test_cases/p00778/input.1.txt b/public_test_cases/p00778/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4155c1a4b7afb1e412e1a4ab86fd5e11cce0acff
--- /dev/null
+++ b/public_test_cases/p00778/input.1.txt
@@ -0,0 +1,15 @@
+1 1 1 1 1 1
+1 6
+1 1 1 1 1 1
+4 5
+0 0 0 0 0 2
+1 2
+0 0 2 2 2 4
+5 9
+1 2 3 4 5 6
+15 16
+0 1 2 3 5 9
+13 16
+2 13 22 27 31 91
+100 170
+0 0 0 0 0 0
diff --git a/public_test_cases/p00778/output.0.txt b/public_test_cases/p00778/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf99fd3801140fb76a7dbd639d8e48b01d123148
--- /dev/null
+++ b/public_test_cases/p00778/output.0.txt
@@ -0,0 +1,7 @@
+EEENEE
+NE
+impossible
+NSSNW
+EN
+EWNS
+SNSNSNSNSNSNSNSNSNSNSNSSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNWEWE
diff --git a/public_test_cases/p00778/output.1.txt b/public_test_cases/p00778/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf99fd3801140fb76a7dbd639d8e48b01d123148
--- /dev/null
+++ b/public_test_cases/p00778/output.1.txt
@@ -0,0 +1,7 @@
+EEENEE
+NE
+impossible
+NSSNW
+EN
+EWNS
+SNSNSNSNSNSNSNSNSNSNSNSSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNSNWEWE
diff --git a/public_test_cases/p00779/input.0.txt b/public_test_cases/p00779/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5141e7d81aeb590d8d496a3aaee0d554f99d0cb
--- /dev/null
+++ b/public_test_cases/p00779/input.0.txt
@@ -0,0 +1,79 @@
+5 3
+0 0 1000
+1399 1331 931
+0 1331 500
+1398 0 400
+2000 360 340
+450 950 1600 380
+450 950 1399 1331
+450 950 450 2000
+1 2
+50 50 50
+0 10 100 90
+0 10 50 50
+2 2
+50 50 50
+100 50 50
+40 50 110 50
+40 50 0 0
+4 1
+25 100 26
+75 100 26
+50 40 40
+50 160 40
+50 81 50 119
+6 1
+100 50 40
+0 50 40
+50 0 48
+50 50 3
+55 55 4
+55 105 48
+50 55 55 50
+20 6
+270 180 50
+360 170 50
+0 0 50
+10 0 10
+0 90 50
+0 180 50
+90 180 50
+180 180 50
+205 90 50
+180 0 50
+65 0 20
+75 30 16
+90 78 36
+105 30 16
+115 0 20
+128 48 15
+128 100 15
+280 0 30
+330 0 30
+305 65 42
+0 20 10 20
+0 20 10 0
+50 30 133 0
+50 30 133 30
+90 40 305 20
+90 40 240 30
+16 2
+0 0 50
+0 90 50
+0 180 50
+90 180 50
+180 180 50
+205 90 50
+180 0 50
+65 0 20
+115 0 20
+90 0 15
+280 0 30
+330 0 30
+305 65 42
+75 40 16
+90 88 36
+105 40 16
+128 35 250 30
+90 50 305 20
+0 0
diff --git a/public_test_cases/p00779/input.1.txt b/public_test_cases/p00779/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5141e7d81aeb590d8d496a3aaee0d554f99d0cb
--- /dev/null
+++ b/public_test_cases/p00779/input.1.txt
@@ -0,0 +1,79 @@
+5 3
+0 0 1000
+1399 1331 931
+0 1331 500
+1398 0 400
+2000 360 340
+450 950 1600 380
+450 950 1399 1331
+450 950 450 2000
+1 2
+50 50 50
+0 10 100 90
+0 10 50 50
+2 2
+50 50 50
+100 50 50
+40 50 110 50
+40 50 0 0
+4 1
+25 100 26
+75 100 26
+50 40 40
+50 160 40
+50 81 50 119
+6 1
+100 50 40
+0 50 40
+50 0 48
+50 50 3
+55 55 4
+55 105 48
+50 55 55 50
+20 6
+270 180 50
+360 170 50
+0 0 50
+10 0 10
+0 90 50
+0 180 50
+90 180 50
+180 180 50
+205 90 50
+180 0 50
+65 0 20
+75 30 16
+90 78 36
+105 30 16
+115 0 20
+128 48 15
+128 100 15
+280 0 30
+330 0 30
+305 65 42
+0 20 10 20
+0 20 10 0
+50 30 133 0
+50 30 133 30
+90 40 305 20
+90 40 240 30
+16 2
+0 0 50
+0 90 50
+0 180 50
+90 180 50
+180 180 50
+205 90 50
+180 0 50
+65 0 20
+115 0 20
+90 0 15
+280 0 30
+330 0 30
+305 65 42
+75 40 16
+90 88 36
+105 40 16
+128 35 250 30
+90 50 305 20
+0 0
diff --git a/public_test_cases/p00779/output.0.txt b/public_test_cases/p00779/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e528a7ee258e150d36ad9fc7cec0069d43171b2
--- /dev/null
+++ b/public_test_cases/p00779/output.0.txt
@@ -0,0 +1,7 @@
+YES NO NO
+YES NO
+NO NO
+NO
+YES
+YES NO NO YES NO NO
+NO NO
diff --git a/public_test_cases/p00779/output.1.txt b/public_test_cases/p00779/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e528a7ee258e150d36ad9fc7cec0069d43171b2
--- /dev/null
+++ b/public_test_cases/p00779/output.1.txt
@@ -0,0 +1,7 @@
+YES NO NO
+YES NO
+NO NO
+NO
+YES
+YES NO NO YES NO NO
+NO NO
diff --git a/public_test_cases/p00780/input.0.txt b/public_test_cases/p00780/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a1d39327b0c3cd0de2ba74aa9f099e75fe3fd07
--- /dev/null
+++ b/public_test_cases/p00780/input.0.txt
@@ -0,0 +1,4 @@
+6
+10
+12
+0
diff --git a/public_test_cases/p00780/input.1.txt b/public_test_cases/p00780/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a1d39327b0c3cd0de2ba74aa9f099e75fe3fd07
--- /dev/null
+++ b/public_test_cases/p00780/input.1.txt
@@ -0,0 +1,4 @@
+6
+10
+12
+0
diff --git a/public_test_cases/p00780/output.0.txt b/public_test_cases/p00780/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e13c5bfaa64f706a467fbfed13e3c609dc07a95e
--- /dev/null
+++ b/public_test_cases/p00780/output.0.txt
@@ -0,0 +1,3 @@
+1
+2
+1
diff --git a/public_test_cases/p00780/output.1.txt b/public_test_cases/p00780/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e13c5bfaa64f706a467fbfed13e3c609dc07a95e
--- /dev/null
+++ b/public_test_cases/p00780/output.1.txt
@@ -0,0 +1,3 @@
+1
+2
+1
diff --git a/public_test_cases/p00781/input.0.txt b/public_test_cases/p00781/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..750e3acb8fcc4859c77a8d9d668d323fbf011654
--- /dev/null
+++ b/public_test_cases/p00781/input.0.txt
@@ -0,0 +1,3 @@
+10000 01000 00100 11000 01100 11111 01110 11100 10110 11110
+10101 01000 00000 11001 01100 11101 01110 11100 10110 11010
+END
diff --git a/public_test_cases/p00781/input.1.txt b/public_test_cases/p00781/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..750e3acb8fcc4859c77a8d9d668d323fbf011654
--- /dev/null
+++ b/public_test_cases/p00781/input.1.txt
@@ -0,0 +1,3 @@
+10000 01000 00100 11000 01100 11111 01110 11100 10110 11110
+10101 01000 00000 11001 01100 11101 01110 11100 10110 11010
+END
diff --git a/public_test_cases/p00781/output.0.txt b/public_test_cases/p00781/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48ec64da2889d3818d1fbfd06e0ff5f97b16513b
--- /dev/null
+++ b/public_test_cases/p00781/output.0.txt
@@ -0,0 +1,2 @@
+40
+6
diff --git a/public_test_cases/p00781/output.1.txt b/public_test_cases/p00781/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48ec64da2889d3818d1fbfd06e0ff5f97b16513b
--- /dev/null
+++ b/public_test_cases/p00781/output.1.txt
@@ -0,0 +1,2 @@
+40
+6
diff --git a/public_test_cases/p00782/input.0.txt b/public_test_cases/p00782/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be4829e3abbd9c198bf900714950f241aaefcd6f
--- /dev/null
+++ b/public_test_cases/p00782/input.0.txt
@@ -0,0 +1,8 @@
+3
+4.0 4.0 3.0
+5.0 6.0 3.0
+5.5 4.5 1.0
+2
+3.0 3.0 3.0
+1.5 1.5 1.0
+0
diff --git a/public_test_cases/p00782/input.1.txt b/public_test_cases/p00782/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be4829e3abbd9c198bf900714950f241aaefcd6f
--- /dev/null
+++ b/public_test_cases/p00782/input.1.txt
@@ -0,0 +1,8 @@
+3
+4.0 4.0 3.0
+5.0 6.0 3.0
+5.5 4.5 1.0
+2
+3.0 3.0 3.0
+1.5 1.5 1.0
+0
diff --git a/public_test_cases/p00782/output.0.txt b/public_test_cases/p00782/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c82c1f76bb29ccae7a82a486231da351bd82a2cc
--- /dev/null
+++ b/public_test_cases/p00782/output.0.txt
@@ -0,0 +1,2 @@
+1 52.00
+2 36.00
diff --git a/public_test_cases/p00782/output.1.txt b/public_test_cases/p00782/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c82c1f76bb29ccae7a82a486231da351bd82a2cc
--- /dev/null
+++ b/public_test_cases/p00782/output.1.txt
@@ -0,0 +1,2 @@
+1 52.00
+2 36.00
diff --git a/public_test_cases/p00783/input.0.txt b/public_test_cases/p00783/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afdd4c1e794fbc822619c5c651a261dd2f0320b9
--- /dev/null
+++ b/public_test_cases/p00783/input.0.txt
@@ -0,0 +1,5 @@
+As the first man said to the
+first woman:
+"Madam, I'm Adam."
+She responded:
+"Eve."
diff --git a/public_test_cases/p00783/input.1.txt b/public_test_cases/p00783/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afdd4c1e794fbc822619c5c651a261dd2f0320b9
--- /dev/null
+++ b/public_test_cases/p00783/input.1.txt
@@ -0,0 +1,5 @@
+As the first man said to the
+first woman:
+"Madam, I'm Adam."
+She responded:
+"Eve."
diff --git a/public_test_cases/p00783/output.0.txt b/public_test_cases/p00783/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..803cf46d7597b841d67cf7e829dd3e753146dd43
--- /dev/null
+++ b/public_test_cases/p00783/output.0.txt
@@ -0,0 +1,5 @@
+TOT
+
+MADAMIMADAM MADAM
+ERE DED
+EVE
diff --git a/public_test_cases/p00783/output.1.txt b/public_test_cases/p00783/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..803cf46d7597b841d67cf7e829dd3e753146dd43
--- /dev/null
+++ b/public_test_cases/p00783/output.1.txt
@@ -0,0 +1,5 @@
+TOT
+
+MADAMIMADAM MADAM
+ERE DED
+EVE
diff --git a/public_test_cases/p00784/input.0.txt b/public_test_cases/p00784/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81aee7aca650173d62e81eadaed86c44ed521777
--- /dev/null
+++ b/public_test_cases/p00784/input.0.txt
@@ -0,0 +1,7 @@
+7
+X...XX.
+.X.....
+..X....
+...X...
+......X
+0
diff --git a/public_test_cases/p00784/input.1.txt b/public_test_cases/p00784/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81aee7aca650173d62e81eadaed86c44ed521777
--- /dev/null
+++ b/public_test_cases/p00784/input.1.txt
@@ -0,0 +1,7 @@
+7
+X...XX.
+.X.....
+..X....
+...X...
+......X
+0
diff --git a/public_test_cases/p00784/output.0.txt b/public_test_cases/p00784/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p00784/output.0.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p00784/output.1.txt b/public_test_cases/p00784/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p00784/output.1.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p00785/input.0.txt b/public_test_cases/p00785/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d86c10cf053d50333835a8f29db1ff82bd324066
--- /dev/null
+++ b/public_test_cases/p00785/input.0.txt
@@ -0,0 +1,12 @@
+3
+100 500
+200 500
+300 500
+6
+100 300
+100 600
+200 100
+200 700
+500 100
+600 300
+0
diff --git a/public_test_cases/p00785/output.0.txt b/public_test_cases/p00785/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d622081392a87ce49f347a78570004526b847547
--- /dev/null
+++ b/public_test_cases/p00785/output.0.txt
@@ -0,0 +1,2 @@
+166.6667 555.5556
+333.3333 333.3333
diff --git a/public_test_cases/p00786/input.0.txt b/public_test_cases/p00786/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ece716a98be267aa8e7f1e6332f7fdde4cfb603
--- /dev/null
+++ b/public_test_cases/p00786/input.0.txt
@@ -0,0 +1,21 @@
+a(A,b(B,C));
+x( y( y( z(z), v( s, t ) ) ), u ) ;
+
+a( b( c,
+ d(
+ e(f),
+ g
+ )
+ ),
+ h( i(
+ j(
+ k(k,k),
+ l(l)
+ ),
+ m(m)
+ )
+ )
+ );
+
+a(B(C),d(e(f(g(h(i(j,k),l),m),n),o),p))
+.
diff --git a/public_test_cases/p00786/input.1.txt b/public_test_cases/p00786/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ece716a98be267aa8e7f1e6332f7fdde4cfb603
--- /dev/null
+++ b/public_test_cases/p00786/input.1.txt
@@ -0,0 +1,21 @@
+a(A,b(B,C));
+x( y( y( z(z), v( s, t ) ) ), u ) ;
+
+a( b( c,
+ d(
+ e(f),
+ g
+ )
+ ),
+ h( i(
+ j(
+ k(k,k),
+ l(l)
+ ),
+ m(m)
+ )
+ )
+ );
+
+a(B(C),d(e(f(g(h(i(j,k),l),m),n),o),p))
+.
diff --git a/public_test_cases/p00786/input.2.txt b/public_test_cases/p00786/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf31ff9e42df5e7d6f9c8f9923a79f52951ae2c7
--- /dev/null
+++ b/public_test_cases/p00786/input.2.txt
@@ -0,0 +1,21 @@
+a(A,b(B,C));
+x( y( y( z(z), v( s, t ) ) ), u ) ;
+
+a( b( c,
+d(
+e(f),
+g
+)
+),
+h( i(
+j(
+k(k,k),
+l(l)
+),
+m(m)
+)
+)
+);
+
+a(B(C),d(e(f(g(h(i(j,k),l),m),n),o),p))
+.
diff --git a/public_test_cases/p00786/output.0.txt b/public_test_cases/p00786/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c8e9acb3289e570a97979afb0483a89197a5e06
--- /dev/null
+++ b/public_test_cases/p00786/output.0.txt
@@ -0,0 +1,44 @@
+1:
+ B C
+ ---
+A b
+---
+ a
+2:
+z s t
+- ---
+z v
+----
+ y
+ -
+ y u
+ ---
+ x
+3:
+ k k l
+ --- -
+ f k l m
+ - ---- -
+ e g j m
+ --- -----
+c d i
+--- -
+ b h
+ -------
+ a
+4:
+j k
+---
+ i l
+ ---
+ h m
+ ---
+ g n
+ ---
+ f o
+ ---
+ C e p
+ - ---
+ B d
+ ----
+ a
diff --git a/public_test_cases/p00786/output.1.txt b/public_test_cases/p00786/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c8e9acb3289e570a97979afb0483a89197a5e06
--- /dev/null
+++ b/public_test_cases/p00786/output.1.txt
@@ -0,0 +1,44 @@
+1:
+ B C
+ ---
+A b
+---
+ a
+2:
+z s t
+- ---
+z v
+----
+ y
+ -
+ y u
+ ---
+ x
+3:
+ k k l
+ --- -
+ f k l m
+ - ---- -
+ e g j m
+ --- -----
+c d i
+--- -
+ b h
+ -------
+ a
+4:
+j k
+---
+ i l
+ ---
+ h m
+ ---
+ g n
+ ---
+ f o
+ ---
+ C e p
+ - ---
+ B d
+ ----
+ a
diff --git a/public_test_cases/p00786/output.2.txt b/public_test_cases/p00786/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5baab08523ca217aece9c0a7fe2d8c9f45cd1f6d
--- /dev/null
+++ b/public_test_cases/p00786/output.2.txt
@@ -0,0 +1,44 @@
+1:
+B C
+---
+A b
+---
+a
+2:
+z s t
+- ---
+z v
+----
+y
+-
+y u
+---
+x
+3:
+k k l
+--- -
+f k l m
+- ---- -
+e g j m
+--- -----
+c d i
+--- -
+b h
+-------
+a
+4:
+j k
+---
+i l
+---
+h m
+---
+g n
+---
+f o
+---
+C e p
+- ---
+B d
+----
+a
diff --git a/public_test_cases/p00787/input.0.txt b/public_test_cases/p00787/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b79c335a6368de083a93681e971091ca5cb9b43f
--- /dev/null
+++ b/public_test_cases/p00787/input.0.txt
@@ -0,0 +1,23 @@
+6 28 6 32 25 32 26 27 26 24 6 24 99999
+2 28 2 35 30 35 30 20 2 20 99999
+
+3 28
+22.667
+0 1 1 1 1 0 0 -1 0 -1 1 0 0 0 1 0 -1 0 0 -1 -1 -1 -1 0 -1 0 -1 -1 -1 1 -1 1
+-1 1 -1 0 1 0 1 1 1 1 1 0 1 1 99999
+
+5 28
+22.667
+0 1 -1 1 1 0 1 -1 1 -1 1 0 1 0 1 0 -1 -1 -1 0 -1 -1 -1 0 -1 1 -1 -1 -1 1
+-1 0 -1 1 -1 0 1 0 1 0 1 1 1 1 1 1 99999
+
+4 28
+6.333
+0 1 0 1 1 -1 -1 -1 0 -1 0 -1 0 -1 99999
+
+3 28
+20.000
+0 -1 1 -1 1 0 1 1 1 1 1 0 -1 0 -1 0 -1 1 -1 1
+-1 1 -1 0 -1 -1 -1 -1 -1 -1 -1 0 1 0 1 -1 1 -1 1 -1 99999
+
+99999
diff --git a/public_test_cases/p00787/input.1.txt b/public_test_cases/p00787/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b79c335a6368de083a93681e971091ca5cb9b43f
--- /dev/null
+++ b/public_test_cases/p00787/input.1.txt
@@ -0,0 +1,23 @@
+6 28 6 32 25 32 26 27 26 24 6 24 99999
+2 28 2 35 30 35 30 20 2 20 99999
+
+3 28
+22.667
+0 1 1 1 1 0 0 -1 0 -1 1 0 0 0 1 0 -1 0 0 -1 -1 -1 -1 0 -1 0 -1 -1 -1 1 -1 1
+-1 1 -1 0 1 0 1 1 1 1 1 0 1 1 99999
+
+5 28
+22.667
+0 1 -1 1 1 0 1 -1 1 -1 1 0 1 0 1 0 -1 -1 -1 0 -1 -1 -1 0 -1 1 -1 -1 -1 1
+-1 0 -1 1 -1 0 1 0 1 0 1 1 1 1 1 1 99999
+
+4 28
+6.333
+0 1 0 1 1 -1 -1 -1 0 -1 0 -1 0 -1 99999
+
+3 28
+20.000
+0 -1 1 -1 1 0 1 1 1 1 1 0 -1 0 -1 0 -1 1 -1 1
+-1 1 -1 0 -1 -1 -1 -1 -1 -1 -1 0 1 0 1 -1 1 -1 1 -1 99999
+
+99999
diff --git a/public_test_cases/p00787/output.0.txt b/public_test_cases/p00787/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6884743a74fd90dace2e41bde37a746710576f09
--- /dev/null
+++ b/public_test_cases/p00787/output.0.txt
@@ -0,0 +1,4 @@
+OK
+NG
+NG
+NG
diff --git a/public_test_cases/p00787/output.1.txt b/public_test_cases/p00787/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6884743a74fd90dace2e41bde37a746710576f09
--- /dev/null
+++ b/public_test_cases/p00787/output.1.txt
@@ -0,0 +1,4 @@
+OK
+NG
+NG
+NG
diff --git a/public_test_cases/p00788/input.0.txt b/public_test_cases/p00788/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a707c2d9b79795a3ed02033d47f16bc09c403583
--- /dev/null
+++ b/public_test_cases/p00788/input.0.txt
@@ -0,0 +1,4 @@
+2 5
+3 10
+5 100
+0 0
diff --git a/public_test_cases/p00788/input.1.txt b/public_test_cases/p00788/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a707c2d9b79795a3ed02033d47f16bc09c403583
--- /dev/null
+++ b/public_test_cases/p00788/input.1.txt
@@ -0,0 +1,4 @@
+2 5
+3 10
+5 100
+0 0
diff --git a/public_test_cases/p00788/output.0.txt b/public_test_cases/p00788/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84a2778718648df7f3072fdc290a5b72fcaef7f2
--- /dev/null
+++ b/public_test_cases/p00788/output.0.txt
@@ -0,0 +1,3 @@
+3/2 4/3
+7/4 5/3
+85/38 38/17
diff --git a/public_test_cases/p00788/output.1.txt b/public_test_cases/p00788/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84a2778718648df7f3072fdc290a5b72fcaef7f2
--- /dev/null
+++ b/public_test_cases/p00788/output.1.txt
@@ -0,0 +1,3 @@
+3/2 4/3
+7/4 5/3
+85/38 38/17
diff --git a/public_test_cases/p00789/input.0.txt b/public_test_cases/p00789/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e4aae41f2c50b108a464ef04df24faba5b3df9a
--- /dev/null
+++ b/public_test_cases/p00789/input.0.txt
@@ -0,0 +1,4 @@
+2
+10
+30
+0
diff --git a/public_test_cases/p00789/input.1.txt b/public_test_cases/p00789/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e4aae41f2c50b108a464ef04df24faba5b3df9a
--- /dev/null
+++ b/public_test_cases/p00789/input.1.txt
@@ -0,0 +1,4 @@
+2
+10
+30
+0
diff --git a/public_test_cases/p00789/output.0.txt b/public_test_cases/p00789/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fbe9b3c179f294ffc3f3131365ee994149c7c26
--- /dev/null
+++ b/public_test_cases/p00789/output.0.txt
@@ -0,0 +1,3 @@
+1
+4
+27
diff --git a/public_test_cases/p00789/output.1.txt b/public_test_cases/p00789/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fbe9b3c179f294ffc3f3131365ee994149c7c26
--- /dev/null
+++ b/public_test_cases/p00789/output.1.txt
@@ -0,0 +1,3 @@
+1
+4
+27
diff --git a/public_test_cases/p00790/input.0.txt b/public_test_cases/p00790/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7ce5b1c61598b6c2b7daadf48f6ddff22b0b17f
--- /dev/null
+++ b/public_test_cases/p00790/input.0.txt
@@ -0,0 +1,7 @@
+1
+north
+3
+north
+east
+south
+0
diff --git a/public_test_cases/p00790/input.1.txt b/public_test_cases/p00790/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7ce5b1c61598b6c2b7daadf48f6ddff22b0b17f
--- /dev/null
+++ b/public_test_cases/p00790/input.1.txt
@@ -0,0 +1,7 @@
+1
+north
+3
+north
+east
+south
+0
diff --git a/public_test_cases/p00790/output.0.txt b/public_test_cases/p00790/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af74fdcd71a03732095b62ca716ac02310b9fa71
--- /dev/null
+++ b/public_test_cases/p00790/output.0.txt
@@ -0,0 +1,2 @@
+5
+1
diff --git a/public_test_cases/p00790/output.1.txt b/public_test_cases/p00790/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af74fdcd71a03732095b62ca716ac02310b9fa71
--- /dev/null
+++ b/public_test_cases/p00790/output.1.txt
@@ -0,0 +1,2 @@
+5
+1
diff --git a/public_test_cases/p00791/input.0.txt b/public_test_cases/p00791/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..973ba9a4dc2dfb573267b5079df758200e7a211d
--- /dev/null
+++ b/public_test_cases/p00791/input.0.txt
@@ -0,0 +1,31 @@
+7
+********
+* *
+* *** *
+* * * *
+* *** *
+* *
+********
+9
+
+***
+* *
+***** *****
+ * *
+ *** *****
+ * *
+ * *
+ ***
+11
+ **** *******************
+ * * ********* * *
+ ****** * * **** * ********* *
+ * *** * * * * * * *
+*** * * * * **** ******* * * *** *** * *
+* * * ***** * * * * * * * * * * *
+*** * * *** * * *** *** * *
+ ********* * * * *
+ * ********************* *
+ * *
+ *****************************
+0
diff --git a/public_test_cases/p00791/input.1.txt b/public_test_cases/p00791/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e53bfcf00095538362338aad29030e0b89afb411
--- /dev/null
+++ b/public_test_cases/p00791/input.1.txt
@@ -0,0 +1,31 @@
+7
+********
+* *
+* *** *
+* * * *
+* *** *
+* *
+********
+9
+
+***
+* *
+***** *****
+* *
+*** *****
+* *
+* *
+***
+11
+**** *******************
+* * ********* * *
+****** * * **** * ********* *
+* *** * * * * * * *
+*** * * * * **** ******* * * *** *** * *
+* * * ***** * * * * * * * * * * *
+*** * * *** * * *** *** * *
+********* * * * *
+* ********************* *
+* *
+*****************************
+0
diff --git a/public_test_cases/p00791/input.2.txt b/public_test_cases/p00791/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..973ba9a4dc2dfb573267b5079df758200e7a211d
--- /dev/null
+++ b/public_test_cases/p00791/input.2.txt
@@ -0,0 +1,31 @@
+7
+********
+* *
+* *** *
+* * * *
+* *** *
+* *
+********
+9
+
+***
+* *
+***** *****
+ * *
+ *** *****
+ * *
+ * *
+ ***
+11
+ **** *******************
+ * * ********* * *
+ ****** * * **** * ********* *
+ * *** * * * * * * *
+*** * * * * **** ******* * * *** *** * *
+* * * ***** * * * * * * * * * * *
+*** * * *** * * *** *** * *
+ ********* * * * *
+ * ********************* *
+ * *
+ *****************************
+0
diff --git a/public_test_cases/p00791/output.0.txt b/public_test_cases/p00791/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4f1551f68475b3500f310517bfa7812ee994878
--- /dev/null
+++ b/public_test_cases/p00791/output.0.txt
@@ -0,0 +1,12 @@
+9 1
+56 1
+----------
+12 2
+15 1
+----------
+9 3
+12 2
+15 2
+63 1
+105 1
+264 1
diff --git a/public_test_cases/p00791/output.1.txt b/public_test_cases/p00791/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4f1551f68475b3500f310517bfa7812ee994878
--- /dev/null
+++ b/public_test_cases/p00791/output.1.txt
@@ -0,0 +1,12 @@
+9 1
+56 1
+----------
+12 2
+15 1
+----------
+9 3
+12 2
+15 2
+63 1
+105 1
+264 1
diff --git a/public_test_cases/p00791/output.2.txt b/public_test_cases/p00791/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4f1551f68475b3500f310517bfa7812ee994878
--- /dev/null
+++ b/public_test_cases/p00791/output.2.txt
@@ -0,0 +1,12 @@
+9 1
+56 1
+----------
+12 2
+15 1
+----------
+9 3
+12 2
+15 2
+63 1
+105 1
+264 1
diff --git a/public_test_cases/p00792/input.0.txt b/public_test_cases/p00792/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b76682aef9e36aaf3cfe2243db2513f08c068989
--- /dev/null
+++ b/public_test_cases/p00792/input.0.txt
@@ -0,0 +1,14 @@
+0
+1
+y 8 7
+4
+y 8 7
+x 7 8
+y 0 0
+x 0 0
+4
+y 2 1
+x 1 2
+y 0 0
+x 0 0
+-1
diff --git a/public_test_cases/p00792/input.1.txt b/public_test_cases/p00792/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b76682aef9e36aaf3cfe2243db2513f08c068989
--- /dev/null
+++ b/public_test_cases/p00792/input.1.txt
@@ -0,0 +1,14 @@
+0
+1
+y 8 7
+4
+y 8 7
+x 7 8
+y 0 0
+x 0 0
+4
+y 2 1
+x 1 2
+y 0 0
+x 0 0
+-1
diff --git a/public_test_cases/p00792/output.0.txt b/public_test_cases/p00792/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14bf98308cbaf3fb553ebde6ed3aaf817fad4390
--- /dev/null
+++ b/public_test_cases/p00792/output.0.txt
@@ -0,0 +1,4 @@
+800 750
+750 800
+75 25
+75 25
diff --git a/public_test_cases/p00792/output.1.txt b/public_test_cases/p00792/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14bf98308cbaf3fb553ebde6ed3aaf817fad4390
--- /dev/null
+++ b/public_test_cases/p00792/output.1.txt
@@ -0,0 +1,4 @@
+800 750
+750 800
+75 25
+75 25
diff --git a/public_test_cases/p00793/input.0.txt b/public_test_cases/p00793/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a55c733381065fd6a0dae66b605ede87aa0a7f91
--- /dev/null
+++ b/public_test_cases/p00793/input.0.txt
@@ -0,0 +1,3 @@
+2000 2000 8000 8000 9000 9500
+2500 2500 7500 2500 2500 7500
+0 0 0 0 0 0
diff --git a/public_test_cases/p00793/input.1.txt b/public_test_cases/p00793/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a55c733381065fd6a0dae66b605ede87aa0a7f91
--- /dev/null
+++ b/public_test_cases/p00793/input.1.txt
@@ -0,0 +1,3 @@
+2000 2000 8000 8000 9000 9500
+2500 2500 7500 2500 2500 7500
+0 0 0 0 0 0
diff --git a/public_test_cases/p00793/output.0.txt b/public_test_cases/p00793/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67f6070a423bda87a4849d2af2cae9894a0bbcb2
--- /dev/null
+++ b/public_test_cases/p00793/output.0.txt
@@ -0,0 +1,2 @@
+1 0.50000
+2 0.25000
diff --git a/public_test_cases/p00793/output.1.txt b/public_test_cases/p00793/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67f6070a423bda87a4849d2af2cae9894a0bbcb2
--- /dev/null
+++ b/public_test_cases/p00793/output.1.txt
@@ -0,0 +1,2 @@
+1 0.50000
+2 0.25000
diff --git a/public_test_cases/p00794/input.0.txt b/public_test_cases/p00794/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a31ad90f3b5020447760e122b9077f457d4dcba1
--- /dev/null
+++ b/public_test_cases/p00794/input.0.txt
@@ -0,0 +1,16 @@
+3 3
+2 1 1
+1 1 0
+1 1 3
+8 4
+2 1 1 0 1 1 1 0
+1 0 4 1 1 0 4 1
+1 0 0 0 0 0 0 1
+1 1 1 4 1 1 1 3
+8 5
+1 2 1 1 1 1 1 4
+1 0 0 0 1 0 0 1
+1 4 1 0 1 1 0 1
+1 0 0 0 0 3 0 1
+1 1 4 1 1 1 1 1
+0 0
diff --git a/public_test_cases/p00794/output.0.txt b/public_test_cases/p00794/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..873870147d124c6d334985af4c6592823f074538
--- /dev/null
+++ b/public_test_cases/p00794/output.0.txt
@@ -0,0 +1,3 @@
+4
+-1
+13
diff --git a/public_test_cases/p00795/input.0.txt b/public_test_cases/p00795/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad443240007bd7e3b978a05829955848825a6dd7
--- /dev/null
+++ b/public_test_cases/p00795/input.0.txt
@@ -0,0 +1,25 @@
+Thefirstexampleistrivial.
+
+mfv
+
+AhugeamountofinformationisbeingheapedonWWW.Albeititisnot
+well-organized,userscanbrowseWWWasanunboundedsourceof
+up-to-dateinformation,insteadofconsultingestablishedbutalittle
+out-of-dateencyclopedia.However,youcanfurtherexploitWWWby
+learningmoreaboutkeywordsearchalgorithms.Forexample,ifyou
+wanttogetinformationonrecentcomparisonbetweenWindowsandUNIX,
+youmayexpecttogetrelevantdescriptionoutofabigbunchofWeb
+texts,byextractingtextsthatcontainbothkeywords"Windows"and"UNIX"
+closetogether.
+
+bWn
+
+3.1415926535897932384626433832795028841971693993751058209749445923078164
+
+pi
+
+Wagner,Bach,Beethoven,Chopin,Brahms,Hindemith,Ives,Suk,Mozart,Stravinsky
+
+Weary
+
+ASCIIcharacterssuchas+,*,[,#,
diff --git a/public_test_cases/p00795/input.1.txt b/public_test_cases/p00795/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad443240007bd7e3b978a05829955848825a6dd7
--- /dev/null
+++ b/public_test_cases/p00795/input.1.txt
@@ -0,0 +1,25 @@
+Thefirstexampleistrivial.
+
+mfv
+
+AhugeamountofinformationisbeingheapedonWWW.Albeititisnot
+well-organized,userscanbrowseWWWasanunboundedsourceof
+up-to-dateinformation,insteadofconsultingestablishedbutalittle
+out-of-dateencyclopedia.However,youcanfurtherexploitWWWby
+learningmoreaboutkeywordsearchalgorithms.Forexample,ifyou
+wanttogetinformationonrecentcomparisonbetweenWindowsandUNIX,
+youmayexpecttogetrelevantdescriptionoutofabigbunchofWeb
+texts,byextractingtextsthatcontainbothkeywords"Windows"and"UNIX"
+closetogether.
+
+bWn
+
+3.1415926535897932384626433832795028841971693993751058209749445923078164
+
+pi
+
+Wagner,Bach,Beethoven,Chopin,Brahms,Hindemith,Ives,Suk,Mozart,Stravinsky
+
+Weary
+
+ASCIIcharacterssuchas+,*,[,#,
diff --git a/public_test_cases/p00795/input.2.txt b/public_test_cases/p00795/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdb9ec4cf10b9636850efa6fd8b62becbec3c36e
--- /dev/null
+++ b/public_test_cases/p00795/input.2.txt
@@ -0,0 +1,35 @@
+Thefirstexampleistrivial.
+
+mfv
+
+AhugeamountofinformationisbeingheapedonWWW.Albeititisnot
+well-organized,userscanbrowseWWWasanunboundedsourceof
+up-to-dateinformation,insteadofconsultingestablishedbutalittle
+out-of-dateencyclopedia.However,youcanfurtherexploitWWWby
+learningmoreaboutkeywordsearchalgorithms.Forexample,ifyou
+wanttogetinformationonrecentcomparisonbetweenWindowsandUNIX,
+youmayexpecttogetrelevantdescriptionoutofabigbunchofWeb
+texts,byextractingtextsthatcontainbothkeywords"Windows"and"UNIX"
+closetogether.
+
+bWn
+
+3.1415926535897932384626433832795028841971693993751058209749445923078164
+
+pi
+
+Wagner,Bach,Beethoven,Chopin,Brahms,Hindemith,Ives,Suk,Mozart,Stravinsky
+
+Weary
+
+ASCIIcharacterssuchas+,*,[,#,<,},_arenotexcludedinagivenstringas
+thisexampleillustratesbyitself.Youshouldnotforgetthem.Onemorefact
+youshouldnoticeisthatuppercaselettersandlowercaselettersare
+distinguishedinthisproblem.Don'tidentify"g"and"G",forexmaple.
+However,weareafraidthatthisexamplegivesyoutoomuchhint!
+
+![GsC_l
+
+ETAONRISHDLFCMUGYPWBVKXJQZ
+
+ABCDEFGHIJKLMNOPQRSTUVWXYZ
diff --git a/public_test_cases/p00795/output.0.txt b/public_test_cases/p00795/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85a5e6d99a470062a45ff2131122ecbfae08eb80
--- /dev/null
+++ b/public_test_cases/p00795/output.0.txt
@@ -0,0 +1,17 @@
+1
+
+firstexampleistriv
+
+7
+
+nWWW.Alb
+
+0
+
+1
+
+Wagner,Bach,Beethoven,Chopin,Brahms,Hindemith,Ives,Suk,Mozart,Stravinsky
+
+1
+
+CIIcharacterssuchas+,*,[,#,
diff --git a/public_test_cases/p00795/output.1.txt b/public_test_cases/p00795/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85a5e6d99a470062a45ff2131122ecbfae08eb80
--- /dev/null
+++ b/public_test_cases/p00795/output.1.txt
@@ -0,0 +1,17 @@
+1
+
+firstexampleistriv
+
+7
+
+nWWW.Alb
+
+0
+
+1
+
+Wagner,Bach,Beethoven,Chopin,Brahms,Hindemith,Ives,Suk,Mozart,Stravinsky
+
+1
+
+CIIcharacterssuchas+,*,[,#,
diff --git a/public_test_cases/p00795/output.2.txt b/public_test_cases/p00795/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0596a0ea7a7f7355aeef0963d21ad02fbf8b8444
--- /dev/null
+++ b/public_test_cases/p00795/output.2.txt
@@ -0,0 +1,25 @@
+1
+
+firstexampleistriv
+
+7
+
+nWWW.Alb
+
+0
+
+1
+
+Wagner,Bach,Beethoven,Chopin,Brahms,Hindemith,Ives,Suk,Mozart,Stravinsky
+
+1
+
+CIIcharacterssuchas+,*,[,#,<,},_arenotexcludedinagivenstringasthisexampl
+eillustratesbyitself.Youshouldnotforgetthem.Onemorefactyoushouldnoticeis
+thatuppercaselettersandlowercaselettersaredistinguishedinthisproblem.Don
+'tidentify"g"and"G",forexmaple.However,weareafraidthatthisexamplegivesyo
+utoomuchhint!
+
+1
+
+ETAONRISHDLFCMUGYPWBVKXJQZ
diff --git a/public_test_cases/p00796/input.0.txt b/public_test_cases/p00796/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e69190861e47a234f77a3a72c92bf8b0e8fc8bee
--- /dev/null
+++ b/public_test_cases/p00796/input.0.txt
@@ -0,0 +1,15 @@
+2
+ 50.36493 81.61338 79.96592
+5
+ -10293.83 -4800.033 -5296.238
+ 14936.30 6964.826 7684.818
+ -4516.069 25748.41 -27016.06
+ 18301.59 -11946.25 5380.309
+ 27115.20 43415.93 -71607.81
+ 11.51547 13.35555 14.57307
+5
+ -56292.27 2583.892 67754.62
+ -567.5082 -756.2763 -118.7268
+ -1235.987 -213.3318 -216.4862
+ -317.6108 -54.81976 -55.63033
+ 22505.44 -40752.88 27482.94
diff --git a/public_test_cases/p00796/input.1.txt b/public_test_cases/p00796/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4090178339ab277fbad5de0a00599733a85c7332
--- /dev/null
+++ b/public_test_cases/p00796/input.1.txt
@@ -0,0 +1,15 @@
+2
+50.36493 81.61338 79.96592
+5
+-10293.83 -4800.033 -5296.238
+14936.30 6964.826 7684.818
+-4516.069 25748.41 -27016.06
+18301.59 -11946.25 5380.309
+27115.20 43415.93 -71607.81
+11.51547 13.35555 14.57307
+5
+-56292.27 2583.892 67754.62
+-567.5082 -756.2763 -118.7268
+-1235.987 -213.3318 -216.4862
+-317.6108 -54.81976 -55.63033
+22505.44 -40752.88 27482.94
diff --git a/public_test_cases/p00796/input.2.txt b/public_test_cases/p00796/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e69190861e47a234f77a3a72c92bf8b0e8fc8bee
--- /dev/null
+++ b/public_test_cases/p00796/input.2.txt
@@ -0,0 +1,15 @@
+2
+ 50.36493 81.61338 79.96592
+5
+ -10293.83 -4800.033 -5296.238
+ 14936.30 6964.826 7684.818
+ -4516.069 25748.41 -27016.06
+ 18301.59 -11946.25 5380.309
+ 27115.20 43415.93 -71607.81
+ 11.51547 13.35555 14.57307
+5
+ -56292.27 2583.892 67754.62
+ -567.5082 -756.2763 -118.7268
+ -1235.987 -213.3318 -216.4862
+ -317.6108 -54.81976 -55.63033
+ 22505.44 -40752.88 27482.94
diff --git a/public_test_cases/p00796/output.0.txt b/public_test_cases/p00796/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5211ea520df70b2389f901424290737499954737
--- /dev/null
+++ b/public_test_cases/p00796/output.0.txt
@@ -0,0 +1,2 @@
+1 2 4
+3 4 2
diff --git a/public_test_cases/p00796/output.1.txt b/public_test_cases/p00796/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5211ea520df70b2389f901424290737499954737
--- /dev/null
+++ b/public_test_cases/p00796/output.1.txt
@@ -0,0 +1,2 @@
+1 2 4
+3 4 2
diff --git a/public_test_cases/p00796/output.2.txt b/public_test_cases/p00796/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5211ea520df70b2389f901424290737499954737
--- /dev/null
+++ b/public_test_cases/p00796/output.2.txt
@@ -0,0 +1,2 @@
+1 2 4
+3 4 2
diff --git a/public_test_cases/p00797/input.0.txt b/public_test_cases/p00797/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90d544e40e7efdcfc07a0360d42ae4f2639745c3
--- /dev/null
+++ b/public_test_cases/p00797/input.0.txt
@@ -0,0 +1,17 @@
+6 5
+John
+ Robert
+ Frank
+ Andrew
+ Nancy
+ David
+Robert is a child of John.
+Robert is an ancestor of Andrew.
+Robert is a sibling of Nancy.
+Nancy is the parent of Frank.
+John is a descendant of Andrew.
+2 1
+abc
+ xyz
+xyz is a child of abc.
+0 0
diff --git a/public_test_cases/p00797/input.1.txt b/public_test_cases/p00797/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67cd522ee2e9ceff64c75054d8d7bafa4a6ddd95
--- /dev/null
+++ b/public_test_cases/p00797/input.1.txt
@@ -0,0 +1,17 @@
+6 5
+John
+Robert
+Frank
+Andrew
+Nancy
+David
+Robert is a child of John.
+Robert is an ancestor of Andrew.
+Robert is a sibling of Nancy.
+Nancy is the parent of Frank.
+John is a descendant of Andrew.
+2 1
+abc
+xyz
+xyz is a child of abc.
+0 0
diff --git a/public_test_cases/p00797/input.2.txt b/public_test_cases/p00797/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90d544e40e7efdcfc07a0360d42ae4f2639745c3
--- /dev/null
+++ b/public_test_cases/p00797/input.2.txt
@@ -0,0 +1,17 @@
+6 5
+John
+ Robert
+ Frank
+ Andrew
+ Nancy
+ David
+Robert is a child of John.
+Robert is an ancestor of Andrew.
+Robert is a sibling of Nancy.
+Nancy is the parent of Frank.
+John is a descendant of Andrew.
+2 1
+abc
+ xyz
+xyz is a child of abc.
+0 0
diff --git a/public_test_cases/p00797/output.0.txt b/public_test_cases/p00797/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36512ed31b2f14489e162b5e087e60f239bfba77
--- /dev/null
+++ b/public_test_cases/p00797/output.0.txt
@@ -0,0 +1,7 @@
+True
+True
+True
+False
+False
+
+True
diff --git a/public_test_cases/p00797/output.1.txt b/public_test_cases/p00797/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36512ed31b2f14489e162b5e087e60f239bfba77
--- /dev/null
+++ b/public_test_cases/p00797/output.1.txt
@@ -0,0 +1,7 @@
+True
+True
+True
+False
+False
+
+True
diff --git a/public_test_cases/p00797/output.2.txt b/public_test_cases/p00797/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36512ed31b2f14489e162b5e087e60f239bfba77
--- /dev/null
+++ b/public_test_cases/p00797/output.2.txt
@@ -0,0 +1,7 @@
+True
+True
+True
+False
+False
+
+True
diff --git a/public_test_cases/p00798/input.0.txt b/public_test_cases/p00798/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c3678bb62088e2bc3e49267b0c0d2312c29e20
--- /dev/null
+++ b/public_test_cases/p00798/input.0.txt
@@ -0,0 +1,24 @@
+5 5
+0 0 0 0 0
+4 2 0 1 1
+0 1 0 0 0
+1 0 0 0 3
+1 0 0 0 0
+5 3
+4 0 0 0 0
+2 0 0 0 0
+0 0 0 0 3
+7 5
+1 1 4 1 0 0 0
+1 1 2 1 0 0 0
+3 0 0 0 0 0 0
+0 1 0 1 0 0 0
+0 0 0 1 0 0 0
+6 6
+0 0 0 0 0 3
+0 0 0 0 0 0
+0 0 0 0 0 0
+0 0 0 0 0 0
+0 2 0 0 0 0
+4 0 0 0 0 0
+0 0
diff --git a/public_test_cases/p00798/input.1.txt b/public_test_cases/p00798/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c3678bb62088e2bc3e49267b0c0d2312c29e20
--- /dev/null
+++ b/public_test_cases/p00798/input.1.txt
@@ -0,0 +1,24 @@
+5 5
+0 0 0 0 0
+4 2 0 1 1
+0 1 0 0 0
+1 0 0 0 3
+1 0 0 0 0
+5 3
+4 0 0 0 0
+2 0 0 0 0
+0 0 0 0 3
+7 5
+1 1 4 1 0 0 0
+1 1 2 1 0 0 0
+3 0 0 0 0 0 0
+0 1 0 1 0 0 0
+0 0 0 1 0 0 0
+6 6
+0 0 0 0 0 3
+0 0 0 0 0 0
+0 0 0 0 0 0
+0 0 0 0 0 0
+0 2 0 0 0 0
+4 0 0 0 0 0
+0 0
diff --git a/public_test_cases/p00798/output.0.txt b/public_test_cases/p00798/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42a11b8d7572a02ca9ee5cbbdfcfd1ddf1bab170
--- /dev/null
+++ b/public_test_cases/p00798/output.0.txt
@@ -0,0 +1,4 @@
+5
+-1
+11
+8
diff --git a/public_test_cases/p00798/output.1.txt b/public_test_cases/p00798/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42a11b8d7572a02ca9ee5cbbdfcfd1ddf1bab170
--- /dev/null
+++ b/public_test_cases/p00798/output.1.txt
@@ -0,0 +1,4 @@
+5
+-1
+11
+8
diff --git a/public_test_cases/p00799/input.0.txt b/public_test_cases/p00799/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc5e026b3c0472b2545936179689108b2a773aa1
--- /dev/null
+++ b/public_test_cases/p00799/input.0.txt
@@ -0,0 +1,18 @@
+3 25
+3 1 2 1 4 1 0
+1 1 0
+2 1 3 2 0
+
+4 1000
+80 20 80 20 80 20 80 20 0
+80
+20
+0
+80 20 90
+10 80
+20
+0
+90 10
+0
+
+0 0
diff --git a/public_test_cases/p00799/input.1.txt b/public_test_cases/p00799/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc5e026b3c0472b2545936179689108b2a773aa1
--- /dev/null
+++ b/public_test_cases/p00799/input.1.txt
@@ -0,0 +1,18 @@
+3 25
+3 1 2 1 4 1 0
+1 1 0
+2 1 3 2 0
+
+4 1000
+80 20 80 20 80 20 80 20 0
+80
+20
+0
+80 20 90
+10 80
+20
+0
+90 10
+0
+
+0 0
diff --git a/public_test_cases/p00799/output.0.txt b/public_test_cases/p00799/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6c1b081dcc55115636f097ee34a5a3669363208
--- /dev/null
+++ b/public_test_cases/p00799/output.0.txt
@@ -0,0 +1,2 @@
+10
+110
diff --git a/public_test_cases/p00799/output.1.txt b/public_test_cases/p00799/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6c1b081dcc55115636f097ee34a5a3669363208
--- /dev/null
+++ b/public_test_cases/p00799/output.1.txt
@@ -0,0 +1,2 @@
+10
+110
diff --git a/public_test_cases/p00800/input.0.txt b/public_test_cases/p00800/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d12ab6bf69432146c5aa95cea6b43b68185ded1b
--- /dev/null
+++ b/public_test_cases/p00800/input.0.txt
@@ -0,0 +1,4 @@
+3
+12BC3BC4BNBBDD5
+aaaBCNBBBCb
+aaaBBCbNBC
diff --git a/public_test_cases/p00800/input.1.txt b/public_test_cases/p00800/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d12ab6bf69432146c5aa95cea6b43b68185ded1b
--- /dev/null
+++ b/public_test_cases/p00800/input.1.txt
@@ -0,0 +1,4 @@
+3
+12BC3BC4BNBBDD5
+aaaBCNBBBCb
+aaaBBCbNBC
diff --git a/public_test_cases/p00800/output.0.txt b/public_test_cases/p00800/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98081b5e7082421e71f368f6b370b30f735ee407
--- /dev/null
+++ b/public_test_cases/p00800/output.0.txt
@@ -0,0 +1,3 @@
+15234
+aba
+ERROR
diff --git a/public_test_cases/p00800/output.1.txt b/public_test_cases/p00800/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98081b5e7082421e71f368f6b370b30f735ee407
--- /dev/null
+++ b/public_test_cases/p00800/output.1.txt
@@ -0,0 +1,3 @@
+15234
+aba
+ERROR
diff --git a/public_test_cases/p00801/input.0.txt b/public_test_cases/p00801/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd8526bec5d16bd6721cf074dbda681c7f5e51b5
--- /dev/null
+++ b/public_test_cases/p00801/input.0.txt
@@ -0,0 +1,10 @@
+3
+5
+7
+15
+655
+2711
+6395
+7195
+8465
+0
diff --git a/public_test_cases/p00801/input.1.txt b/public_test_cases/p00801/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd8526bec5d16bd6721cf074dbda681c7f5e51b5
--- /dev/null
+++ b/public_test_cases/p00801/input.1.txt
@@ -0,0 +1,10 @@
+3
+5
+7
+15
+655
+2711
+6395
+7195
+8465
+0
diff --git a/public_test_cases/p00801/output.0.txt b/public_test_cases/p00801/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a79a88017e51e70f20d4c2c777743bd5e699273c
--- /dev/null
+++ b/public_test_cases/p00801/output.0.txt
@@ -0,0 +1,9 @@
+2 3
+1 1
+9 11
+105 65
+398 332
+415 332
+430 332
+428 332
+190 421
diff --git a/public_test_cases/p00801/output.1.txt b/public_test_cases/p00801/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a79a88017e51e70f20d4c2c777743bd5e699273c
--- /dev/null
+++ b/public_test_cases/p00801/output.1.txt
@@ -0,0 +1,9 @@
+2 3
+1 1
+9 11
+105 65
+398 332
+415 332
+430 332
+428 332
+190 421
diff --git a/public_test_cases/p00802/input.0.txt b/public_test_cases/p00802/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c4cfe89c325cf51617d7e60b7ecf59b9badc8a6
--- /dev/null
+++ b/public_test_cases/p00802/input.0.txt
@@ -0,0 +1,14 @@
+4 3
+0.0 0.25 0.5 0.666666666666666666667
+4 4
+0.0 0.25 0.5 0.75
+30 15
+0.00 0.03 0.06 0.09 0.12 0.15 0.18 0.21 0.24 0.27
+0.30 0.33 0.36 0.39 0.42 0.45 0.48 0.51 0.54 0.57
+0.61 0.64 0.66 0.69 0.72 0.75 0.78 0.81 0.84 0.87
+40 20
+0.351 0.353 0.355 0.357 0.359 0.361 0.363 0.365 0.367 0.369
+0.371 0.373 0.375 0.377 0.379 0.381 0.383 0.385 0.387 0.389
+0.611 0.613 0.615 0.617 0.619 0.621 0.623 0.625 0.627 0.629
+0.631 0.633 0.635 0.637 0.639 0.641 0.643 0.645 0.647 0.649
+0 0
diff --git a/public_test_cases/p00802/input.1.txt b/public_test_cases/p00802/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c4cfe89c325cf51617d7e60b7ecf59b9badc8a6
--- /dev/null
+++ b/public_test_cases/p00802/input.1.txt
@@ -0,0 +1,14 @@
+4 3
+0.0 0.25 0.5 0.666666666666666666667
+4 4
+0.0 0.25 0.5 0.75
+30 15
+0.00 0.03 0.06 0.09 0.12 0.15 0.18 0.21 0.24 0.27
+0.30 0.33 0.36 0.39 0.42 0.45 0.48 0.51 0.54 0.57
+0.61 0.64 0.66 0.69 0.72 0.75 0.78 0.81 0.84 0.87
+40 20
+0.351 0.353 0.355 0.357 0.359 0.361 0.363 0.365 0.367 0.369
+0.371 0.373 0.375 0.377 0.379 0.381 0.383 0.385 0.387 0.389
+0.611 0.613 0.615 0.617 0.619 0.621 0.623 0.625 0.627 0.629
+0.631 0.633 0.635 0.637 0.639 0.641 0.643 0.645 0.647 0.649
+0 0
diff --git a/public_test_cases/p00802/output.0.txt b/public_test_cases/p00802/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee52433097e92b852b9b62526070cb23eccef470
--- /dev/null
+++ b/public_test_cases/p00802/output.0.txt
@@ -0,0 +1,4 @@
+1.183013
+2.000000
+3.026998
+0.253581
diff --git a/public_test_cases/p00802/output.1.txt b/public_test_cases/p00802/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee52433097e92b852b9b62526070cb23eccef470
--- /dev/null
+++ b/public_test_cases/p00802/output.1.txt
@@ -0,0 +1,4 @@
+1.183013
+2.000000
+3.026998
+0.253581
diff --git a/public_test_cases/p00803/input.0.txt b/public_test_cases/p00803/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50578c93d06c070a956e4f1e86f0ff29294477ea
--- /dev/null
+++ b/public_test_cases/p00803/input.0.txt
@@ -0,0 +1,6 @@
+100
+64
+50
+20
+151200
+0
diff --git a/public_test_cases/p00803/input.1.txt b/public_test_cases/p00803/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50578c93d06c070a956e4f1e86f0ff29294477ea
--- /dev/null
+++ b/public_test_cases/p00803/input.1.txt
@@ -0,0 +1,6 @@
+100
+64
+50
+20
+151200
+0
diff --git a/public_test_cases/p00803/output.0.txt b/public_test_cases/p00803/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c70f13e7638e65fe78fffb6edeb946f19af306b
--- /dev/null
+++ b/public_test_cases/p00803/output.0.txt
@@ -0,0 +1,5 @@
+99
+64
+47
+20
+151200
diff --git a/public_test_cases/p00803/output.1.txt b/public_test_cases/p00803/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c70f13e7638e65fe78fffb6edeb946f19af306b
--- /dev/null
+++ b/public_test_cases/p00803/output.1.txt
@@ -0,0 +1,5 @@
+99
+64
+47
+20
+151200
diff --git a/public_test_cases/p00804/input.0.txt b/public_test_cases/p00804/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..601166e5fea854490c3959401df758bdfb6fce6e
--- /dev/null
+++ b/public_test_cases/p00804/input.0.txt
@@ -0,0 +1,24 @@
+3
+PERLIS SELL A 300
+WILKES BUY A 200
+HAMMING SELL A 100
+4
+BACKUS SELL A 10
+FLOYD BUY A 20
+IVERSON SELL B 30
+BACKUS BUY B 40
+7
+WILKINSON SELL A 500
+MCCARTHY BUY C 300
+WILKINSON SELL C 200
+DIJKSTRA SELL B 100
+BACHMAN BUY A 400
+DIJKSTRA BUY A 600
+WILKINSON SELL A 300
+2
+ABCD SELL X 10
+ABC BUY X 15
+2
+A SELL M 100
+A BUY M 100
+0
diff --git a/public_test_cases/p00804/input.1.txt b/public_test_cases/p00804/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..601166e5fea854490c3959401df758bdfb6fce6e
--- /dev/null
+++ b/public_test_cases/p00804/input.1.txt
@@ -0,0 +1,24 @@
+3
+PERLIS SELL A 300
+WILKES BUY A 200
+HAMMING SELL A 100
+4
+BACKUS SELL A 10
+FLOYD BUY A 20
+IVERSON SELL B 30
+BACKUS BUY B 40
+7
+WILKINSON SELL A 500
+MCCARTHY BUY C 300
+WILKINSON SELL C 200
+DIJKSTRA SELL B 100
+BACHMAN BUY A 400
+DIJKSTRA BUY A 600
+WILKINSON SELL A 300
+2
+ABCD SELL X 10
+ABC BUY X 15
+2
+A SELL M 100
+A BUY M 100
+0
diff --git a/public_test_cases/p00804/output.0.txt b/public_test_cases/p00804/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f467c2a0436837312b198aaf33ac3b65e46c7319
--- /dev/null
+++ b/public_test_cases/p00804/output.0.txt
@@ -0,0 +1,29 @@
+A 150 150 150
+--
+HAMMING 0 150
+PERLIS 0 0
+WILKES 150 0
+----------
+A 15 15 15
+B 35 35 35
+--
+BACKUS 35 15
+FLOYD 15 0
+IVERSON 0 35
+----------
+A 350 450 550
+C 250 250 250
+--
+BACHMAN 350 0
+DIJKSTRA 550 0
+MCCARTHY 250 0
+WILKINSON 0 1150
+----------
+X 12 12 12
+--
+ABC 12 0
+ABCD 0 12
+----------
+--
+A 0 0
+----------
diff --git a/public_test_cases/p00804/output.1.txt b/public_test_cases/p00804/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f467c2a0436837312b198aaf33ac3b65e46c7319
--- /dev/null
+++ b/public_test_cases/p00804/output.1.txt
@@ -0,0 +1,29 @@
+A 150 150 150
+--
+HAMMING 0 150
+PERLIS 0 0
+WILKES 150 0
+----------
+A 15 15 15
+B 35 35 35
+--
+BACKUS 35 15
+FLOYD 15 0
+IVERSON 0 35
+----------
+A 350 450 550
+C 250 250 250
+--
+BACHMAN 350 0
+DIJKSTRA 550 0
+MCCARTHY 250 0
+WILKINSON 0 1150
+----------
+X 12 12 12
+--
+ABC 12 0
+ABCD 0 12
+----------
+--
+A 0 0
+----------
diff --git a/public_test_cases/p00805/input.0.txt b/public_test_cases/p00805/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7599d29bdfb50dc63e4274ae0562b0595070aa2a
--- /dev/null
+++ b/public_test_cases/p00805/input.0.txt
@@ -0,0 +1,26 @@
+2
+0.2000000 0.6000000
+0.3000000 0.8000000
+0.3000000 0.5000000
+0.5000000 0.6000000
+2
+0.3333330 0.6666670
+0.3333330 0.6666670
+0.3333330 0.6666670
+0.3333330 0.6666670
+4
+0.2000000 0.4000000 0.6000000 0.8000000
+0.1000000 0.5000000 0.6000000 0.9000000
+0.2000000 0.4000000 0.6000000 0.8000000
+0.1000000 0.5000000 0.6000000 0.9000000
+2
+0.5138701 0.9476283
+0.1717362 0.1757412
+0.3086521 0.7022313
+0.2264312 0.5345343
+1
+0.4000000
+0.6000000
+0.3000000
+0.5000000
+0
diff --git a/public_test_cases/p00805/input.1.txt b/public_test_cases/p00805/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7599d29bdfb50dc63e4274ae0562b0595070aa2a
--- /dev/null
+++ b/public_test_cases/p00805/input.1.txt
@@ -0,0 +1,26 @@
+2
+0.2000000 0.6000000
+0.3000000 0.8000000
+0.3000000 0.5000000
+0.5000000 0.6000000
+2
+0.3333330 0.6666670
+0.3333330 0.6666670
+0.3333330 0.6666670
+0.3333330 0.6666670
+4
+0.2000000 0.4000000 0.6000000 0.8000000
+0.1000000 0.5000000 0.6000000 0.9000000
+0.2000000 0.4000000 0.6000000 0.8000000
+0.1000000 0.5000000 0.6000000 0.9000000
+2
+0.5138701 0.9476283
+0.1717362 0.1757412
+0.3086521 0.7022313
+0.2264312 0.5345343
+1
+0.4000000
+0.6000000
+0.3000000
+0.5000000
+0
diff --git a/public_test_cases/p00805/output.0.txt b/public_test_cases/p00805/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..039252cb58e16f6148fb7ddfd06c94efcc29bf40
--- /dev/null
+++ b/public_test_cases/p00805/output.0.txt
@@ -0,0 +1,5 @@
+0.215657
+0.111112
+0.078923
+0.279223
+0.348958
diff --git a/public_test_cases/p00805/output.1.txt b/public_test_cases/p00805/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..039252cb58e16f6148fb7ddfd06c94efcc29bf40
--- /dev/null
+++ b/public_test_cases/p00805/output.1.txt
@@ -0,0 +1,5 @@
+0.215657
+0.111112
+0.078923
+0.279223
+0.348958
diff --git a/public_test_cases/p00806/input.0.txt b/public_test_cases/p00806/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..400cbf269a93602d7e70b2bf4b4f00a6214f1495
--- /dev/null
+++ b/public_test_cases/p00806/input.0.txt
@@ -0,0 +1,19 @@
+5
+push
+press
+the
+button
+bottom
+77377843288866
+4
+i
+am
+going
+go
+42646464
+3
+a
+b
+c
+333
+0
diff --git a/public_test_cases/p00806/input.1.txt b/public_test_cases/p00806/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..400cbf269a93602d7e70b2bf4b4f00a6214f1495
--- /dev/null
+++ b/public_test_cases/p00806/input.1.txt
@@ -0,0 +1,19 @@
+5
+push
+press
+the
+button
+bottom
+77377843288866
+4
+i
+am
+going
+go
+42646464
+3
+a
+b
+c
+333
+0
diff --git a/public_test_cases/p00806/output.0.txt b/public_test_cases/p00806/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae9133cef17e7e9a665c9301e5cd74c932c1ffb8
--- /dev/null
+++ b/public_test_cases/p00806/output.0.txt
@@ -0,0 +1,6 @@
+press the button.
+--
+i am going.
+i am go go i.
+--
+--
diff --git a/public_test_cases/p00806/output.1.txt b/public_test_cases/p00806/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae9133cef17e7e9a665c9301e5cd74c932c1ffb8
--- /dev/null
+++ b/public_test_cases/p00806/output.1.txt
@@ -0,0 +1,6 @@
+press the button.
+--
+i am going.
+i am go go i.
+--
+--
diff --git a/public_test_cases/p00807/input.0.txt b/public_test_cases/p00807/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50d3ade25aa174958bcc785935dcd17fe78e6809
--- /dev/null
+++ b/public_test_cases/p00807/input.0.txt
@@ -0,0 +1,16 @@
+5
+faafd
+bcbdb
+-
+bcbdb
+bccac
+-
+faafd
+aafdd
+-
+aaafddd
+aaaeff
+-
+aaedd
+aafdd
+-
diff --git a/public_test_cases/p00807/input.1.txt b/public_test_cases/p00807/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50d3ade25aa174958bcc785935dcd17fe78e6809
--- /dev/null
+++ b/public_test_cases/p00807/input.1.txt
@@ -0,0 +1,16 @@
+5
+faafd
+bcbdb
+-
+bcbdb
+bccac
+-
+faafd
+aafdd
+-
+aaafddd
+aaaeff
+-
+aaedd
+aafdd
+-
diff --git a/public_test_cases/p00807/output.0.txt b/public_test_cases/p00807/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cfc907bd140a44da2be558b59f8f7d62189aa3a
--- /dev/null
+++ b/public_test_cases/p00807/output.0.txt
@@ -0,0 +1,5 @@
+true
+true
+false
+false
+false
diff --git a/public_test_cases/p00807/output.1.txt b/public_test_cases/p00807/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cfc907bd140a44da2be558b59f8f7d62189aa3a
--- /dev/null
+++ b/public_test_cases/p00807/output.1.txt
@@ -0,0 +1,5 @@
+true
+true
+false
+false
+false
diff --git a/public_test_cases/p00808/input.0.txt b/public_test_cases/p00808/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e92e88a1a1c4803fc3bd3f89a7356e662c8a03b
--- /dev/null
+++ b/public_test_cases/p00808/input.0.txt
@@ -0,0 +1,31 @@
+5
+Hakodate 08:15 Morioka 12:30 2500
+Morioka 14:05 Hakodate 17:30 2500
+Morioka 15:30 Hakodate 18:00 3000
+Morioka 14:30 Tokyo 17:50 3000
+Tokyo 08:30 Morioka 13:35 3000
+4
+Hakodate 08:15 Morioka 12:30 2500
+Morioka 14:04 Hakodate 17:30 2500
+Morioka 14:30 Tokyo 17:50 3000
+Tokyo 08:30 Morioka 13:35 3000
+18
+Hakodate 09:55 Akita 10:53 3840
+Hakodate 14:14 Akita 16:09 1920
+Hakodate 18:36 Akita 19:33 3840
+Hakodate 08:00 Morioka 08:53 3550
+Hakodate 22:40 Morioka 23:34 3550
+Akita 14:23 Tokyo 14:53 2010
+Akita 20:36 Tokyo 21:06 2010
+Akita 08:20 Hakodate 09:18 3840
+Akita 13:56 Hakodate 14:54 3840
+Akita 21:37 Hakodate 22:35 3840
+Morioka 09:51 Tokyo 10:31 2660
+Morioka 14:49 Tokyo 15:29 2660
+Morioka 19:42 Tokyo 20:22 2660
+Morioka 15:11 Hakodate 16:04 3550
+Morioka 23:03 Hakodate 23:56 3550
+Tokyo 09:44 Morioka 11:04 1330
+Tokyo 21:54 Morioka 22:34 2660
+Tokyo 11:34 Akita 12:04 2010
+0
diff --git a/public_test_cases/p00808/input.1.txt b/public_test_cases/p00808/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e92e88a1a1c4803fc3bd3f89a7356e662c8a03b
--- /dev/null
+++ b/public_test_cases/p00808/input.1.txt
@@ -0,0 +1,31 @@
+5
+Hakodate 08:15 Morioka 12:30 2500
+Morioka 14:05 Hakodate 17:30 2500
+Morioka 15:30 Hakodate 18:00 3000
+Morioka 14:30 Tokyo 17:50 3000
+Tokyo 08:30 Morioka 13:35 3000
+4
+Hakodate 08:15 Morioka 12:30 2500
+Morioka 14:04 Hakodate 17:30 2500
+Morioka 14:30 Tokyo 17:50 3000
+Tokyo 08:30 Morioka 13:35 3000
+18
+Hakodate 09:55 Akita 10:53 3840
+Hakodate 14:14 Akita 16:09 1920
+Hakodate 18:36 Akita 19:33 3840
+Hakodate 08:00 Morioka 08:53 3550
+Hakodate 22:40 Morioka 23:34 3550
+Akita 14:23 Tokyo 14:53 2010
+Akita 20:36 Tokyo 21:06 2010
+Akita 08:20 Hakodate 09:18 3840
+Akita 13:56 Hakodate 14:54 3840
+Akita 21:37 Hakodate 22:35 3840
+Morioka 09:51 Tokyo 10:31 2660
+Morioka 14:49 Tokyo 15:29 2660
+Morioka 19:42 Tokyo 20:22 2660
+Morioka 15:11 Hakodate 16:04 3550
+Morioka 23:03 Hakodate 23:56 3550
+Tokyo 09:44 Morioka 11:04 1330
+Tokyo 21:54 Morioka 22:34 2660
+Tokyo 11:34 Akita 12:04 2010
+0
diff --git a/public_test_cases/p00808/output.0.txt b/public_test_cases/p00808/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a5dbacac6b96792645dc587ec2883830d8de684
--- /dev/null
+++ b/public_test_cases/p00808/output.0.txt
@@ -0,0 +1,3 @@
+11000
+0
+11090
diff --git a/public_test_cases/p00808/output.1.txt b/public_test_cases/p00808/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a5dbacac6b96792645dc587ec2883830d8de684
--- /dev/null
+++ b/public_test_cases/p00808/output.1.txt
@@ -0,0 +1,3 @@
+11000
+0
+11090
diff --git a/public_test_cases/p00809/input.0.txt b/public_test_cases/p00809/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a582f444cd9b5e6ef7cd8dd4d9b45c0f24928f4
--- /dev/null
+++ b/public_test_cases/p00809/input.0.txt
@@ -0,0 +1,4 @@
+1 101 4 4
+1 100 4 4
+3 97 8 7 6 5 4 3
+0
diff --git a/public_test_cases/p00809/input.1.txt b/public_test_cases/p00809/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a582f444cd9b5e6ef7cd8dd4d9b45c0f24928f4
--- /dev/null
+++ b/public_test_cases/p00809/input.1.txt
@@ -0,0 +1,4 @@
+1 101 4 4
+1 100 4 4
+3 97 8 7 6 5 4 3
+0
diff --git a/public_test_cases/p00809/output.0.txt b/public_test_cases/p00809/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..986394f7c0fa05e52a94a3d93dee7085ed84cca4
--- /dev/null
+++ b/public_test_cases/p00809/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+1
diff --git a/public_test_cases/p00809/output.1.txt b/public_test_cases/p00809/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..986394f7c0fa05e52a94a3d93dee7085ed84cca4
--- /dev/null
+++ b/public_test_cases/p00809/output.1.txt
@@ -0,0 +1,3 @@
+0
+1
+1
diff --git a/public_test_cases/p00810/input.0.txt b/public_test_cases/p00810/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a14412b9fac2e9c41d65cf876b2b7bebe98b10ff
--- /dev/null
+++ b/public_test_cases/p00810/input.0.txt
@@ -0,0 +1,11 @@
+4
+10.00000 10.00000 10.00000
+20.00000 10.00000 10.00000
+20.00000 20.00000 10.00000
+10.00000 20.00000 10.00000
+4
+10.00000 10.00000 10.00000
+10.00000 50.00000 50.00000
+50.00000 10.00000 50.00000
+50.00000 50.00000 10.00000
+0
diff --git a/public_test_cases/p00810/input.1.txt b/public_test_cases/p00810/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a14412b9fac2e9c41d65cf876b2b7bebe98b10ff
--- /dev/null
+++ b/public_test_cases/p00810/input.1.txt
@@ -0,0 +1,11 @@
+4
+10.00000 10.00000 10.00000
+20.00000 10.00000 10.00000
+20.00000 20.00000 10.00000
+10.00000 20.00000 10.00000
+4
+10.00000 10.00000 10.00000
+10.00000 50.00000 50.00000
+50.00000 10.00000 50.00000
+50.00000 50.00000 10.00000
+0
diff --git a/public_test_cases/p00810/output.0.txt b/public_test_cases/p00810/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88dccd7b47e9937a3047cbe797983700eae02c70
--- /dev/null
+++ b/public_test_cases/p00810/output.0.txt
@@ -0,0 +1,2 @@
+7.07107
+34.64102
diff --git a/public_test_cases/p00810/output.1.txt b/public_test_cases/p00810/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88dccd7b47e9937a3047cbe797983700eae02c70
--- /dev/null
+++ b/public_test_cases/p00810/output.1.txt
@@ -0,0 +1,2 @@
+7.07107
+34.64102
diff --git a/public_test_cases/p00811/input.0.txt b/public_test_cases/p00811/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..922b089cbddfe60fbd1a3d68fce87181d8c7ed9e
--- /dev/null
+++ b/public_test_cases/p00811/input.0.txt
@@ -0,0 +1,6 @@
+5 1 2
+99999 999 999
+1680 5 16
+1970 1 1
+2002 4 11
+0 0 0
diff --git a/public_test_cases/p00811/input.1.txt b/public_test_cases/p00811/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..922b089cbddfe60fbd1a3d68fce87181d8c7ed9e
--- /dev/null
+++ b/public_test_cases/p00811/input.1.txt
@@ -0,0 +1,6 @@
+5 1 2
+99999 999 999
+1680 5 16
+1970 1 1
+2002 4 11
+0 0 0
diff --git a/public_test_cases/p00811/output.0.txt b/public_test_cases/p00811/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e193025d151a419dba3e77efb141eb20cd391e9e
--- /dev/null
+++ b/public_test_cases/p00811/output.0.txt
@@ -0,0 +1,5 @@
+2 2
+313 313
+23 73
+43 43
+37 53
diff --git a/public_test_cases/p00811/output.1.txt b/public_test_cases/p00811/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e193025d151a419dba3e77efb141eb20cd391e9e
--- /dev/null
+++ b/public_test_cases/p00811/output.1.txt
@@ -0,0 +1,5 @@
+2 2
+313 313
+23 73
+43 43
+37 53
diff --git a/public_test_cases/p00812/input.0.txt b/public_test_cases/p00812/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe96c21aae83832fe685a1e2cbb477e2a03b269c
--- /dev/null
+++ b/public_test_cases/p00812/input.0.txt
@@ -0,0 +1,13 @@
+a+b+c
+(a+b)+c
+a- (b-c)+2
+.
+4ab
+(a - b) (0-b+a) - 1a ^ 2 - b ^ 2
+2 b 2 a
+.
+108 a
+2 2 3 3 3 a
+4 a^1 27
+.
+.
diff --git a/public_test_cases/p00812/input.1.txt b/public_test_cases/p00812/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe96c21aae83832fe685a1e2cbb477e2a03b269c
--- /dev/null
+++ b/public_test_cases/p00812/input.1.txt
@@ -0,0 +1,13 @@
+a+b+c
+(a+b)+c
+a- (b-c)+2
+.
+4ab
+(a - b) (0-b+a) - 1a ^ 2 - b ^ 2
+2 b 2 a
+.
+108 a
+2 2 3 3 3 a
+4 a^1 27
+.
+.
diff --git a/public_test_cases/p00812/output.0.txt b/public_test_cases/p00812/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f97215043f66b03e999b1dd4d295fa503653b8d5
--- /dev/null
+++ b/public_test_cases/p00812/output.0.txt
@@ -0,0 +1,9 @@
+yes
+no
+.
+no
+yes
+.
+yes
+yes
+.
diff --git a/public_test_cases/p00812/output.1.txt b/public_test_cases/p00812/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f97215043f66b03e999b1dd4d295fa503653b8d5
--- /dev/null
+++ b/public_test_cases/p00812/output.1.txt
@@ -0,0 +1,9 @@
+yes
+no
+.
+no
+yes
+.
+yes
+yes
+.
diff --git a/public_test_cases/p00813/input.0.txt b/public_test_cases/p00813/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a08725b6f44b6352adf1ef613990ae1501a5d366
--- /dev/null
+++ b/public_test_cases/p00813/input.0.txt
@@ -0,0 +1,26 @@
+5
+_____*AAA__BBB__CCC__DDD
+*AAA_______0-0__0-0___-_
+_BBB_____________-___0-0
+_CCC_________________0-0
+_DDD____________________
+______CHN__CRC__TUR_*BRA
+_CHN_______0-2___-___0-4
+_CRC____________1-1___-_
+_TUR_________________1-2
+*BRA____________________
+______CMR_*KSA__GER__IRL
+_CMR_______1-0___-___1-1
+*KSA____________0-8___-_
+_GER_________________1-1
+_IRL____________________
+______TUN__JPN_*BEL__RUS
+_TUN________-___1-1__0-2
+_JPN____________2-2__1-0
+*BEL__________________-_
+_RUS____________________
+______MEX__CRO_*ECU__ITA
+_MEX_______1-0__2-1___-_
+_CRO_____________-___2-1
+*ECU_________________0-2
+_ITA____________________
diff --git a/public_test_cases/p00813/input.1.txt b/public_test_cases/p00813/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a08725b6f44b6352adf1ef613990ae1501a5d366
--- /dev/null
+++ b/public_test_cases/p00813/input.1.txt
@@ -0,0 +1,26 @@
+5
+_____*AAA__BBB__CCC__DDD
+*AAA_______0-0__0-0___-_
+_BBB_____________-___0-0
+_CCC_________________0-0
+_DDD____________________
+______CHN__CRC__TUR_*BRA
+_CHN_______0-2___-___0-4
+_CRC____________1-1___-_
+_TUR_________________1-2
+*BRA____________________
+______CMR_*KSA__GER__IRL
+_CMR_______1-0___-___1-1
+*KSA____________0-8___-_
+_GER_________________1-1
+_IRL____________________
+______TUN__JPN_*BEL__RUS
+_TUN________-___1-1__0-2
+_JPN____________2-2__1-0
+*BEL__________________-_
+_RUS____________________
+______MEX__CRO_*ECU__ITA
+_MEX_______1-0__2-1___-_
+_CRO_____________-___2-1
+*ECU_________________0-2
+_ITA____________________
diff --git a/public_test_cases/p00813/output.0.txt b/public_test_cases/p00813/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0210357bdb4985aca0831e9f52611a3d3c4c595c
--- /dev/null
+++ b/public_test_cases/p00813/output.0.txt
@@ -0,0 +1,5 @@
+0.5000000
+1.0000000
+0.0000000
+0.3852746
+0.0353304
diff --git a/public_test_cases/p00813/output.1.txt b/public_test_cases/p00813/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0210357bdb4985aca0831e9f52611a3d3c4c595c
--- /dev/null
+++ b/public_test_cases/p00813/output.1.txt
@@ -0,0 +1,5 @@
+0.5000000
+1.0000000
+0.0000000
+0.3852746
+0.0353304
diff --git a/public_test_cases/p00814/input.0.txt b/public_test_cases/p00814/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f2056b1ce57e9718a4446cbd782bae1d7a46661
--- /dev/null
+++ b/public_test_cases/p00814/input.0.txt
@@ -0,0 +1,65 @@
+4 4
+ 2
+ 2 3
+ 1 0 4
+1 1 4 0
+4 5
+ 2
+ 2 3
+ 3 0 4
+1 1 4 0
+4 1
+ 2
+ 2 3
+ 3 0 4
+1 1 4 0
+4 1
+ 1
+ 1 1
+ 1 1 1
+1 1 1 0
+4 2
+ 1
+ 1 1
+ 1 1 1
+1 1 1 0
+4 1
+ 0
+ 2 2
+ 5 0 7
+0 5 7 0
+4 2
+ 0
+ 0 3
+ 1 0 4
+0 1 0 4
+4 3
+ 0
+ 3 3
+ 3 2 3
+0 3 0 3
+4 2
+ 0
+ 3 3
+ 3 2 3
+0 3 0 3
+6 1
+ 1
+ 1 2
+ 1 1 0
+ 6 7 6 8
+ 0 7 6 8 2
+6 6 7 2 2 0
+5 9
+ 0
+ 0 0
+ 0 0 0
+ 0 0 0 0
+0 0 0 0 0
+5 3
+ 3
+ 3 2
+ 4 3 2
+ 4 4 0 3
+3 3 3 0 3
+0 0
diff --git a/public_test_cases/p00814/input.1.txt b/public_test_cases/p00814/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f2056b1ce57e9718a4446cbd782bae1d7a46661
--- /dev/null
+++ b/public_test_cases/p00814/input.1.txt
@@ -0,0 +1,65 @@
+4 4
+ 2
+ 2 3
+ 1 0 4
+1 1 4 0
+4 5
+ 2
+ 2 3
+ 3 0 4
+1 1 4 0
+4 1
+ 2
+ 2 3
+ 3 0 4
+1 1 4 0
+4 1
+ 1
+ 1 1
+ 1 1 1
+1 1 1 0
+4 2
+ 1
+ 1 1
+ 1 1 1
+1 1 1 0
+4 1
+ 0
+ 2 2
+ 5 0 7
+0 5 7 0
+4 2
+ 0
+ 0 3
+ 1 0 4
+0 1 0 4
+4 3
+ 0
+ 3 3
+ 3 2 3
+0 3 0 3
+4 2
+ 0
+ 3 3
+ 3 2 3
+0 3 0 3
+6 1
+ 1
+ 1 2
+ 1 1 0
+ 6 7 6 8
+ 0 7 6 8 2
+6 6 7 2 2 0
+5 9
+ 0
+ 0 0
+ 0 0 0
+ 0 0 0 0
+0 0 0 0 0
+5 3
+ 3
+ 3 2
+ 4 3 2
+ 4 4 0 3
+3 3 3 0 3
+0 0
diff --git a/public_test_cases/p00814/input.2.txt b/public_test_cases/p00814/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e9875f6e3ec5846c26c59f6db0ecda0474194d2
--- /dev/null
+++ b/public_test_cases/p00814/input.2.txt
@@ -0,0 +1,65 @@
+4 4
+2
+2 3
+1 0 4
+1 1 4 0
+4 5
+2
+2 3
+3 0 4
+1 1 4 0
+4 1
+2
+2 3
+3 0 4
+1 1 4 0
+4 1
+1
+1 1
+1 1 1
+1 1 1 0
+4 2
+1
+1 1
+1 1 1
+1 1 1 0
+4 1
+0
+2 2
+5 0 7
+0 5 7 0
+4 2
+0
+0 3
+1 0 4
+0 1 0 4
+4 3
+0
+3 3
+3 2 3
+0 3 0 3
+4 2
+0
+3 3
+3 2 3
+0 3 0 3
+6 1
+1
+1 2
+1 1 0
+6 7 6 8
+0 7 6 8 2
+6 6 7 2 2 0
+5 9
+0
+0 0
+0 0 0
+0 0 0 0
+0 0 0 0 0
+5 3
+3
+3 2
+4 3 2
+4 4 0 3
+3 3 3 0 3
+0 0
diff --git a/public_test_cases/p00814/output.0.txt b/public_test_cases/p00814/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e186ed7c859b5174e0168a794417b54a9e6879ed
--- /dev/null
+++ b/public_test_cases/p00814/output.0.txt
@@ -0,0 +1,12 @@
+6
+5
+1
+-10
+8
+-1
+0
+1
+-1
+5
+0
+5
diff --git a/public_test_cases/p00814/output.1.txt b/public_test_cases/p00814/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e186ed7c859b5174e0168a794417b54a9e6879ed
--- /dev/null
+++ b/public_test_cases/p00814/output.1.txt
@@ -0,0 +1,12 @@
+6
+5
+1
+-10
+8
+-1
+0
+1
+-1
+5
+0
+5
diff --git a/public_test_cases/p00814/output.2.txt b/public_test_cases/p00814/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e186ed7c859b5174e0168a794417b54a9e6879ed
--- /dev/null
+++ b/public_test_cases/p00814/output.2.txt
@@ -0,0 +1,12 @@
+6
+5
+1
+-10
+8
+-1
+0
+1
+-1
+5
+0
+5
diff --git a/public_test_cases/p00815/input.0.txt b/public_test_cases/p00815/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..feecdb8c1c80c91b11530262f0149069d981fef5
--- /dev/null
+++ b/public_test_cases/p00815/input.0.txt
@@ -0,0 +1,3 @@
+2
+3 3 3 3 -3 3 2 -5 3 2 -5 -3 0
+3 5 4 -2 4 -3 -2 -2 -1 0
diff --git a/public_test_cases/p00815/input.1.txt b/public_test_cases/p00815/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..feecdb8c1c80c91b11530262f0149069d981fef5
--- /dev/null
+++ b/public_test_cases/p00815/input.1.txt
@@ -0,0 +1,3 @@
+2
+3 3 3 3 -3 3 2 -5 3 2 -5 -3 0
+3 5 4 -2 4 -3 -2 -2 -1 0
diff --git a/public_test_cases/p00815/output.0.txt b/public_test_cases/p00815/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a9eee25906437c29a696b87cbbd2d4497290b95
--- /dev/null
+++ b/public_test_cases/p00815/output.0.txt
@@ -0,0 +1,12 @@
+1 2 4 6
+2 1 3 8
+3 2 4 7
+4 1 3 5
+5 4 6 7
+6 1 5
+7 3 5 8
+8 2 7
+1 2 3 4
+2 1 3 3 4 4
+3 1 2 2 4
+4 1 2 2 3
diff --git a/public_test_cases/p00815/output.1.txt b/public_test_cases/p00815/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a9eee25906437c29a696b87cbbd2d4497290b95
--- /dev/null
+++ b/public_test_cases/p00815/output.1.txt
@@ -0,0 +1,12 @@
+1 2 4 6
+2 1 3 8
+3 2 4 7
+4 1 3 5
+5 4 6 7
+6 1 5
+7 3 5 8
+8 2 7
+1 2 3 4
+2 1 3 3 4 4
+3 1 2 2 4
+4 1 2 2 3
diff --git a/public_test_cases/p00816/input.0.txt b/public_test_cases/p00816/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bb8f6a8769765d78eade59f1431d090c7604143
--- /dev/null
+++ b/public_test_cases/p00816/input.0.txt
@@ -0,0 +1,10 @@
+50 12346
+376 144139
+927438 927438
+18 3312
+9 3142
+25 1299
+111 33333
+103 862150
+6 1104
+0 0
diff --git a/public_test_cases/p00816/input.1.txt b/public_test_cases/p00816/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bb8f6a8769765d78eade59f1431d090c7604143
--- /dev/null
+++ b/public_test_cases/p00816/input.1.txt
@@ -0,0 +1,10 @@
+50 12346
+376 144139
+927438 927438
+18 3312
+9 3142
+25 1299
+111 33333
+103 862150
+6 1104
+0 0
diff --git a/public_test_cases/p00816/output.0.txt b/public_test_cases/p00816/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39fcdc5a86212c793c92d5ebbbce0ea937e52dc1
--- /dev/null
+++ b/public_test_cases/p00816/output.0.txt
@@ -0,0 +1,9 @@
+43 1 2 34 6
+283 144 139
+927438 927438
+18 3 3 12
+error
+21 1 2 9 9
+rejected
+103 86 2 15 0
+rejected
diff --git a/public_test_cases/p00816/output.1.txt b/public_test_cases/p00816/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39fcdc5a86212c793c92d5ebbbce0ea937e52dc1
--- /dev/null
+++ b/public_test_cases/p00816/output.1.txt
@@ -0,0 +1,9 @@
+43 1 2 34 6
+283 144 139
+927438 927438
+18 3 3 12
+error
+21 1 2 9 9
+rejected
+103 86 2 15 0
+rejected
diff --git a/public_test_cases/p00817/input.0.txt b/public_test_cases/p00817/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..503f9a218cb7dd7ffeafcc07d6344173b05acf63
--- /dev/null
+++ b/public_test_cases/p00817/input.0.txt
@@ -0,0 +1,17 @@
+2 1 1
+1 2 no
+2 1 no
+3 2 1
+1 1 yes
+2 2 yes
+3 3 yes
+2 2 1
+1 2 yes
+2 3 no
+5 4 3
+1 2 yes
+1 3 no
+4 5 yes
+5 6 yes
+6 7 no
+0 0 0
diff --git a/public_test_cases/p00817/input.1.txt b/public_test_cases/p00817/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..503f9a218cb7dd7ffeafcc07d6344173b05acf63
--- /dev/null
+++ b/public_test_cases/p00817/input.1.txt
@@ -0,0 +1,17 @@
+2 1 1
+1 2 no
+2 1 no
+3 2 1
+1 1 yes
+2 2 yes
+3 3 yes
+2 2 1
+1 2 yes
+2 3 no
+5 4 3
+1 2 yes
+1 3 no
+4 5 yes
+5 6 yes
+6 7 no
+0 0 0
diff --git a/public_test_cases/p00817/output.0.txt b/public_test_cases/p00817/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caa664280c65d27d279a191362d61b384a2e9a42
--- /dev/null
+++ b/public_test_cases/p00817/output.0.txt
@@ -0,0 +1,10 @@
+no
+no
+1
+2
+end
+3
+4
+5
+6
+end
diff --git a/public_test_cases/p00817/output.1.txt b/public_test_cases/p00817/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caa664280c65d27d279a191362d61b384a2e9a42
--- /dev/null
+++ b/public_test_cases/p00817/output.1.txt
@@ -0,0 +1,10 @@
+no
+no
+1
+2
+end
+3
+4
+5
+6
+end
diff --git a/public_test_cases/p00818/input.0.txt b/public_test_cases/p00818/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89a902547ecc9fa725d9b54e0913c36344583e1d
--- /dev/null
+++ b/public_test_cases/p00818/input.0.txt
@@ -0,0 +1,23 @@
+3
+0 0 0.5
+-0.9 0 1.00000000001
+0.9 0 1.00000000001
+5
+0 1 0.5
+1 1 1.00000000001
+0 2 1.00000000001
+-1 1 1.00000000001
+0 -0.00001 1.00000000001
+5
+0 1 0.5
+1 1 1.00000000001
+0 2 1.00000000001
+-1 1 1.00000000001
+0 0 1.00000000001
+2
+0 0 1.0000001
+0 0 1
+2
+0 0 1
+0.00000001 0 1
+0
diff --git a/public_test_cases/p00818/input.1.txt b/public_test_cases/p00818/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89a902547ecc9fa725d9b54e0913c36344583e1d
--- /dev/null
+++ b/public_test_cases/p00818/input.1.txt
@@ -0,0 +1,23 @@
+3
+0 0 0.5
+-0.9 0 1.00000000001
+0.9 0 1.00000000001
+5
+0 1 0.5
+1 1 1.00000000001
+0 2 1.00000000001
+-1 1 1.00000000001
+0 -0.00001 1.00000000001
+5
+0 1 0.5
+1 1 1.00000000001
+0 2 1.00000000001
+-1 1 1.00000000001
+0 0 1.00000000001
+2
+0 0 1.0000001
+0 0 1
+2
+0 0 1
+0.00000001 0 1
+0
diff --git a/public_test_cases/p00818/output.0.txt b/public_test_cases/p00818/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6ca2a729a690657d23e655af064badea63327fb
--- /dev/null
+++ b/public_test_cases/p00818/output.0.txt
@@ -0,0 +1,5 @@
+3
+5
+4
+2
+2
diff --git a/public_test_cases/p00818/output.1.txt b/public_test_cases/p00818/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6ca2a729a690657d23e655af064badea63327fb
--- /dev/null
+++ b/public_test_cases/p00818/output.1.txt
@@ -0,0 +1,5 @@
+3
+5
+4
+2
+2
diff --git a/public_test_cases/p00819/input.0.txt b/public_test_cases/p00819/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ade824270282faca24e11ff32e825e226363180
--- /dev/null
+++ b/public_test_cases/p00819/input.0.txt
@@ -0,0 +1,11 @@
+5
+AJMP
+aB23d
+E
+86AE
+AM
+6
+JPEM
+WaEaETC302Q
+CP
+rTurnAGundam1isdefferentf
diff --git a/public_test_cases/p00819/input.1.txt b/public_test_cases/p00819/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ade824270282faca24e11ff32e825e226363180
--- /dev/null
+++ b/public_test_cases/p00819/input.1.txt
@@ -0,0 +1,11 @@
+5
+AJMP
+aB23d
+E
+86AE
+AM
+6
+JPEM
+WaEaETC302Q
+CP
+rTurnAGundam1isdefferentf
diff --git a/public_test_cases/p00819/output.0.txt b/public_test_cases/p00819/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f49fa74e05bc1063cc4af14a05c2d056510b775
--- /dev/null
+++ b/public_test_cases/p00819/output.0.txt
@@ -0,0 +1,5 @@
+32Bad
+AE86
+7
+EC302QTWaEa
+TurnAGundam0isdefferentfr
diff --git a/public_test_cases/p00819/output.1.txt b/public_test_cases/p00819/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f49fa74e05bc1063cc4af14a05c2d056510b775
--- /dev/null
+++ b/public_test_cases/p00819/output.1.txt
@@ -0,0 +1,5 @@
+32Bad
+AE86
+7
+EC302QTWaEa
+TurnAGundam0isdefferentfr
diff --git a/public_test_cases/p00820/input.0.txt b/public_test_cases/p00820/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50efa34972f7358687c1cb4e962ecfd4306e7a32
--- /dev/null
+++ b/public_test_cases/p00820/input.0.txt
@@ -0,0 +1,6 @@
+1
+25
+2003
+211
+20007
+0
diff --git a/public_test_cases/p00820/input.1.txt b/public_test_cases/p00820/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50efa34972f7358687c1cb4e962ecfd4306e7a32
--- /dev/null
+++ b/public_test_cases/p00820/input.1.txt
@@ -0,0 +1,6 @@
+1
+25
+2003
+211
+20007
+0
diff --git a/public_test_cases/p00820/output.0.txt b/public_test_cases/p00820/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41069ce8fc1b43723c721fec32b2ee627bd5c7aa
--- /dev/null
+++ b/public_test_cases/p00820/output.0.txt
@@ -0,0 +1,5 @@
+1
+3
+48
+7
+738
diff --git a/public_test_cases/p00820/output.1.txt b/public_test_cases/p00820/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41069ce8fc1b43723c721fec32b2ee627bd5c7aa
--- /dev/null
+++ b/public_test_cases/p00820/output.1.txt
@@ -0,0 +1,5 @@
+1
+3
+48
+7
+738
diff --git a/public_test_cases/p00821/input.0.txt b/public_test_cases/p00821/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da286e2e17d18c53a8acc2444ac418c38ee686d7
--- /dev/null
+++ b/public_test_cases/p00821/input.0.txt
@@ -0,0 +1,20 @@
+4
+5 -3
+1 0
+1 7
+-7 -1
+3
+5 5
+18 5
+5 10
+3
+-5 -5
+-5 -10
+-18 -10
+5
+0 0
+20 2
+11 1
+21 2
+2 0
+0
diff --git a/public_test_cases/p00821/input.1.txt b/public_test_cases/p00821/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da286e2e17d18c53a8acc2444ac418c38ee686d7
--- /dev/null
+++ b/public_test_cases/p00821/input.1.txt
@@ -0,0 +1,20 @@
+4
+5 -3
+1 0
+1 7
+-7 -1
+3
+5 5
+18 5
+5 10
+3
+-5 -5
+-5 -10
+-18 -10
+5
+0 0
+20 2
+11 1
+21 2
+2 0
+0
diff --git a/public_test_cases/p00821/output.0.txt b/public_test_cases/p00821/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe5938957569097cf2c83e411190890936451bff
--- /dev/null
+++ b/public_test_cases/p00821/output.0.txt
@@ -0,0 +1,4 @@
+55
+41
+41
+23
diff --git a/public_test_cases/p00821/output.1.txt b/public_test_cases/p00821/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe5938957569097cf2c83e411190890936451bff
--- /dev/null
+++ b/public_test_cases/p00821/output.1.txt
@@ -0,0 +1,4 @@
+55
+41
+41
+23
diff --git a/public_test_cases/p00822/input.0.txt b/public_test_cases/p00822/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f256bc547747a2163fe689d90cb969565643b79
--- /dev/null
+++ b/public_test_cases/p00822/input.0.txt
@@ -0,0 +1,35 @@
+1
+0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
+7
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 1
+0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1
+0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0
+0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0
+1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1
+0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0
+7
+0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
+0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0
+0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0
+0 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0
+0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 1
+0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
+15
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
+0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
+0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0
+1 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0
+0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0
+0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0
+1 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
+0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0
+0
diff --git a/public_test_cases/p00822/input.1.txt b/public_test_cases/p00822/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f256bc547747a2163fe689d90cb969565643b79
--- /dev/null
+++ b/public_test_cases/p00822/input.1.txt
@@ -0,0 +1,35 @@
+1
+0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
+7
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 1
+0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1
+0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0
+0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0
+1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1
+0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0
+7
+0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
+0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0
+0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0
+0 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0
+0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 1
+0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
+15
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
+0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
+0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0
+1 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0
+0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0
+0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0
+1 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
+0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0
+0
diff --git a/public_test_cases/p00822/output.0.txt b/public_test_cases/p00822/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5565ed6787ffbbdfdde23a1dd76682900001d005
--- /dev/null
+++ b/public_test_cases/p00822/output.0.txt
@@ -0,0 +1,4 @@
+0
+1
+0
+1
diff --git a/public_test_cases/p00822/output.1.txt b/public_test_cases/p00822/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5565ed6787ffbbdfdde23a1dd76682900001d005
--- /dev/null
+++ b/public_test_cases/p00822/output.1.txt
@@ -0,0 +1,4 @@
+0
+1
+0
+1
diff --git a/public_test_cases/p00823/input.0.txt b/public_test_cases/p00823/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b742a37466979863816a8d3de60e4654c326970c
--- /dev/null
+++ b/public_test_cases/p00823/input.0.txt
@@ -0,0 +1,14 @@
+H 1
+He 4
+C 12
+O 16
+F 19
+Ne 20
+Cu 64
+Cc 333
+END_OF_FIRST_PART
+H2C
+(MgF)2As
+Cu(OH)2
+H((CO)2F)99
+0
diff --git a/public_test_cases/p00823/input.1.txt b/public_test_cases/p00823/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b742a37466979863816a8d3de60e4654c326970c
--- /dev/null
+++ b/public_test_cases/p00823/input.1.txt
@@ -0,0 +1,14 @@
+H 1
+He 4
+C 12
+O 16
+F 19
+Ne 20
+Cu 64
+Cc 333
+END_OF_FIRST_PART
+H2C
+(MgF)2As
+Cu(OH)2
+H((CO)2F)99
+0
diff --git a/public_test_cases/p00823/output.0.txt b/public_test_cases/p00823/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0d34ec5a6f8a053e539d33172f5e5d54a47fcf2
--- /dev/null
+++ b/public_test_cases/p00823/output.0.txt
@@ -0,0 +1,4 @@
+14
+UNKNOWN
+98
+7426
diff --git a/public_test_cases/p00823/output.1.txt b/public_test_cases/p00823/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0d34ec5a6f8a053e539d33172f5e5d54a47fcf2
--- /dev/null
+++ b/public_test_cases/p00823/output.1.txt
@@ -0,0 +1,4 @@
+14
+UNKNOWN
+98
+7426
diff --git a/public_test_cases/p00824/input.0.txt b/public_test_cases/p00824/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df135b66923f4ddfdf5d6b38edc4b34dc1c91983
--- /dev/null
+++ b/public_test_cases/p00824/input.0.txt
@@ -0,0 +1,21 @@
+4
+
+12 13 14 15 16 17 21
+22 23 24 25 26 27 31
+32 33 34 35 36 37 41
+42 43 44 45 46 47 11
+
+26 31 13 44 21 24 42
+17 45 23 25 41 36 11
+46 34 14 12 37 32 47
+16 43 27 35 22 33 15
+
+17 12 16 13 15 14 11
+27 22 26 23 25 24 21
+37 32 36 33 35 34 31
+47 42 46 43 45 44 41
+
+27 14 22 35 32 46 33
+13 17 36 24 44 21 15
+43 16 45 47 23 11 26
+25 37 41 34 42 12 31
diff --git a/public_test_cases/p00824/input.1.txt b/public_test_cases/p00824/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df135b66923f4ddfdf5d6b38edc4b34dc1c91983
--- /dev/null
+++ b/public_test_cases/p00824/input.1.txt
@@ -0,0 +1,21 @@
+4
+
+12 13 14 15 16 17 21
+22 23 24 25 26 27 31
+32 33 34 35 36 37 41
+42 43 44 45 46 47 11
+
+26 31 13 44 21 24 42
+17 45 23 25 41 36 11
+46 34 14 12 37 32 47
+16 43 27 35 22 33 15
+
+17 12 16 13 15 14 11
+27 22 26 23 25 24 21
+37 32 36 33 35 34 31
+47 42 46 43 45 44 41
+
+27 14 22 35 32 46 33
+13 17 36 24 44 21 15
+43 16 45 47 23 11 26
+25 37 41 34 42 12 31
diff --git a/public_test_cases/p00824/output.0.txt b/public_test_cases/p00824/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..361e78600a1ec2e62bb94e098332880a37179723
--- /dev/null
+++ b/public_test_cases/p00824/output.0.txt
@@ -0,0 +1,4 @@
+0
+33
+60
+-1
diff --git a/public_test_cases/p00824/output.1.txt b/public_test_cases/p00824/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..361e78600a1ec2e62bb94e098332880a37179723
--- /dev/null
+++ b/public_test_cases/p00824/output.1.txt
@@ -0,0 +1,4 @@
+0
+33
+60
+-1
diff --git a/public_test_cases/p00825/input.0.txt b/public_test_cases/p00825/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5c49874972825ae24829085f49b74db41307a1d
--- /dev/null
+++ b/public_test_cases/p00825/input.0.txt
@@ -0,0 +1,22 @@
+4
+1 2 10
+2 3 10
+3 3 10
+1 3 10
+6
+1 20 1000
+3 25 10000
+5 15 5000
+22 300 5500
+10 295 9000
+7 7 6000
+8
+32 251 2261
+123 281 1339
+211 235 5641
+162 217 7273
+22 139 7851
+194 198 9190
+119 274 878
+122 173 8640
+0
diff --git a/public_test_cases/p00825/input.1.txt b/public_test_cases/p00825/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5c49874972825ae24829085f49b74db41307a1d
--- /dev/null
+++ b/public_test_cases/p00825/input.1.txt
@@ -0,0 +1,22 @@
+4
+1 2 10
+2 3 10
+3 3 10
+1 3 10
+6
+1 20 1000
+3 25 10000
+5 15 5000
+22 300 5500
+10 295 9000
+7 7 6000
+8
+32 251 2261
+123 281 1339
+211 235 5641
+162 217 7273
+22 139 7851
+194 198 9190
+119 274 878
+122 173 8640
+0
diff --git a/public_test_cases/p00825/output.0.txt b/public_test_cases/p00825/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9430a1046e154ee444a0997c4ed55c1921f9c60a
--- /dev/null
+++ b/public_test_cases/p00825/output.0.txt
@@ -0,0 +1,3 @@
+30
+25500
+38595
diff --git a/public_test_cases/p00825/output.1.txt b/public_test_cases/p00825/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9430a1046e154ee444a0997c4ed55c1921f9c60a
--- /dev/null
+++ b/public_test_cases/p00825/output.1.txt
@@ -0,0 +1,3 @@
+30
+25500
+38595
diff --git a/public_test_cases/p00826/input.0.txt b/public_test_cases/p00826/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b179443eff582ec97ab7d9c35b3252af834529b
--- /dev/null
+++ b/public_test_cases/p00826/input.0.txt
@@ -0,0 +1,19 @@
+8
+-7 9 6 9
+-5 5 6 5
+-10 -5 10 -5
+-6 9 -9 -6
+6 9 9 -6
+-1 -2 -3 10
+1 -2 3 10
+-2 -3 2 -3
+8
+-7 9 5 7
+-5 5 6 5
+-10 -5 10 -5
+-6 9 -9 -6
+6 9 9 -6
+-1 -2 -3 10
+1 -2 3 10
+-2 -3 2 -3
+0
diff --git a/public_test_cases/p00826/input.1.txt b/public_test_cases/p00826/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b179443eff582ec97ab7d9c35b3252af834529b
--- /dev/null
+++ b/public_test_cases/p00826/input.1.txt
@@ -0,0 +1,19 @@
+8
+-7 9 6 9
+-5 5 6 5
+-10 -5 10 -5
+-6 9 -9 -6
+6 9 9 -6
+-1 -2 -3 10
+1 -2 3 10
+-2 -3 2 -3
+8
+-7 9 5 7
+-5 5 6 5
+-10 -5 10 -5
+-6 9 -9 -6
+6 9 9 -6
+-1 -2 -3 10
+1 -2 3 10
+-2 -3 2 -3
+0
diff --git a/public_test_cases/p00826/output.0.txt b/public_test_cases/p00826/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3548ec75745b4bab76190bb939fc489d7873f60
--- /dev/null
+++ b/public_test_cases/p00826/output.0.txt
@@ -0,0 +1,2 @@
+yes
+no
diff --git a/public_test_cases/p00826/output.1.txt b/public_test_cases/p00826/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3548ec75745b4bab76190bb939fc489d7873f60
--- /dev/null
+++ b/public_test_cases/p00826/output.1.txt
@@ -0,0 +1,2 @@
+yes
+no
diff --git a/public_test_cases/p00827/input.0.txt b/public_test_cases/p00827/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69e0abb035c2e73bda0d353dd0f0aaf1cec9515b
--- /dev/null
+++ b/public_test_cases/p00827/input.0.txt
@@ -0,0 +1,8 @@
+700 300 200
+500 200 300
+500 200 500
+275 110 330
+275 110 385
+648 375 4002
+3 1 10000
+0 0 0
diff --git a/public_test_cases/p00827/input.1.txt b/public_test_cases/p00827/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69e0abb035c2e73bda0d353dd0f0aaf1cec9515b
--- /dev/null
+++ b/public_test_cases/p00827/input.1.txt
@@ -0,0 +1,8 @@
+700 300 200
+500 200 300
+500 200 500
+275 110 330
+275 110 385
+648 375 4002
+3 1 10000
+0 0 0
diff --git a/public_test_cases/p00827/output.0.txt b/public_test_cases/p00827/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51320b439758a79a788697f1e6a71042fd94b779
--- /dev/null
+++ b/public_test_cases/p00827/output.0.txt
@@ -0,0 +1,7 @@
+1 3
+1 1
+1 0
+0 3
+1 1
+49 74
+3333 1
diff --git a/public_test_cases/p00827/output.1.txt b/public_test_cases/p00827/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51320b439758a79a788697f1e6a71042fd94b779
--- /dev/null
+++ b/public_test_cases/p00827/output.1.txt
@@ -0,0 +1,7 @@
+1 3
+1 1
+1 0
+0 3
+1 1
+49 74
+3333 1
diff --git a/public_test_cases/p00828/input.0.txt b/public_test_cases/p00828/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1f0cc880634291072b4ee59394be83eb029be91
--- /dev/null
+++ b/public_test_cases/p00828/input.0.txt
@@ -0,0 +1,29 @@
+3 3 3
+1 1
+1 1
+1 1
+3 3 7
+2 2
+1 3
+1 1
+2 3
+2 1
+3 3
+3 1
+4 3 15
+1 1
+2 2
+1 1
+3 3
+3 3
+1 1
+3 3
+3 3
+4 4
+1 1
+4 4
+4 4
+4 4
+4 1
+2 2
+0 0 0
diff --git a/public_test_cases/p00828/input.1.txt b/public_test_cases/p00828/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1f0cc880634291072b4ee59394be83eb029be91
--- /dev/null
+++ b/public_test_cases/p00828/input.1.txt
@@ -0,0 +1,29 @@
+3 3 3
+1 1
+1 1
+1 1
+3 3 7
+2 2
+1 3
+1 1
+2 3
+2 1
+3 3
+3 1
+4 3 15
+1 1
+2 2
+1 1
+3 3
+3 3
+1 1
+3 3
+3 3
+4 4
+1 1
+4 4
+4 4
+4 4
+4 1
+2 2
+0 0 0
diff --git a/public_test_cases/p00828/output.0.txt b/public_test_cases/p00828/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5f5c75cc7cbccbb02db6a37a1e598a38693c000
--- /dev/null
+++ b/public_test_cases/p00828/output.0.txt
@@ -0,0 +1,3 @@
+Draw
+White 6
+Black 15
diff --git a/public_test_cases/p00828/output.1.txt b/public_test_cases/p00828/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5f5c75cc7cbccbb02db6a37a1e598a38693c000
--- /dev/null
+++ b/public_test_cases/p00828/output.1.txt
@@ -0,0 +1,3 @@
+Draw
+White 6
+Black 15
diff --git a/public_test_cases/p00829/input.0.txt b/public_test_cases/p00829/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..935af1811c3b82cf23759c287640180aaed2cea2
--- /dev/null
+++ b/public_test_cases/p00829/input.0.txt
@@ -0,0 +1,11 @@
+8
+1 1 1 1 1 1 1 1 8
+3 2 3 2 3 2 3 2 6
+3 4 4 7 7 b a 2 2e
+e1 13 ce 28 ca 6 ab 46 a6d
+b08 49e2 6128 f27 8cf2 bc50 7380 7fe1 723b
+4eba eb4 a352 fd14 6ac1 eed1 dd06 bb83 392bc
+ef593c08 847e522f 74c02b9c 26f3a4e1 e2720a01 6fe66007
+7a4e96ad 6ee5cef6 3853cd88
+60202fb8 757d6d66 9c3a9525 fbcd7983 82b9571c ddc54bab 853e52da
+22047c88 e5524401
diff --git a/public_test_cases/p00829/input.1.txt b/public_test_cases/p00829/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..935af1811c3b82cf23759c287640180aaed2cea2
--- /dev/null
+++ b/public_test_cases/p00829/input.1.txt
@@ -0,0 +1,11 @@
+8
+1 1 1 1 1 1 1 1 8
+3 2 3 2 3 2 3 2 6
+3 4 4 7 7 b a 2 2e
+e1 13 ce 28 ca 6 ab 46 a6d
+b08 49e2 6128 f27 8cf2 bc50 7380 7fe1 723b
+4eba eb4 a352 fd14 6ac1 eed1 dd06 bb83 392bc
+ef593c08 847e522f 74c02b9c 26f3a4e1 e2720a01 6fe66007
+7a4e96ad 6ee5cef6 3853cd88
+60202fb8 757d6d66 9c3a9525 fbcd7983 82b9571c ddc54bab 853e52da
+22047c88 e5524401
diff --git a/public_test_cases/p00829/output.0.txt b/public_test_cases/p00829/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e09a90faaa4d8f6c1d52ccabd9f8cb339f124ba
--- /dev/null
+++ b/public_test_cases/p00829/output.0.txt
@@ -0,0 +1,8 @@
+0
+2
+6
+1c6
+4924afc7
+ffff95c5
+546991d
+901c4a16
diff --git a/public_test_cases/p00829/output.1.txt b/public_test_cases/p00829/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e09a90faaa4d8f6c1d52ccabd9f8cb339f124ba
--- /dev/null
+++ b/public_test_cases/p00829/output.1.txt
@@ -0,0 +1,8 @@
+0
+2
+6
+1c6
+4924afc7
+ffff95c5
+546991d
+901c4a16
diff --git a/public_test_cases/p00830/input.0.txt b/public_test_cases/p00830/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ec772b4e131fc153c32f2f4f0480f135719b8fe
--- /dev/null
+++ b/public_test_cases/p00830/input.0.txt
@@ -0,0 +1,29 @@
+5 6
+/home/ACM/index.html
+/ICPC/index.html
+/ICPC/general.html
+/ICPC/japanese/index.html
+/ICPC/secret/confidential/2005/index.html
+/home/ACM/
+/home/ICPC/../ACM/
+/ICPC/secret/
+/ICPC/secret/index.html
+/ICPC
+/ICPC/../ICPC/index.html
+/ICPC
+/ICPC/general.html
+/ICPC/japanese/.././
+/ICPC/japanese/./../
+/home/ACM/index.html
+/home/ACM/index.html/
+1 4
+/index.html/index.html
+/
+/index.html/index.html
+/index.html
+/index.html/index.html
+/..
+/index.html/../..
+/index.html/
+/index.html/index.html/..
+0 0
diff --git a/public_test_cases/p00830/input.1.txt b/public_test_cases/p00830/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ec772b4e131fc153c32f2f4f0480f135719b8fe
--- /dev/null
+++ b/public_test_cases/p00830/input.1.txt
@@ -0,0 +1,29 @@
+5 6
+/home/ACM/index.html
+/ICPC/index.html
+/ICPC/general.html
+/ICPC/japanese/index.html
+/ICPC/secret/confidential/2005/index.html
+/home/ACM/
+/home/ICPC/../ACM/
+/ICPC/secret/
+/ICPC/secret/index.html
+/ICPC
+/ICPC/../ICPC/index.html
+/ICPC
+/ICPC/general.html
+/ICPC/japanese/.././
+/ICPC/japanese/./../
+/home/ACM/index.html
+/home/ACM/index.html/
+1 4
+/index.html/index.html
+/
+/index.html/index.html
+/index.html
+/index.html/index.html
+/..
+/index.html/../..
+/index.html/
+/index.html/index.html/..
+0 0
diff --git a/public_test_cases/p00830/output.0.txt b/public_test_cases/p00830/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..933384c22d5fd247c13d0cb05b60d8e9c5acd97e
--- /dev/null
+++ b/public_test_cases/p00830/output.0.txt
@@ -0,0 +1,10 @@
+not found
+not found
+yes
+no
+yes
+not found
+not found
+yes
+not found
+not found
diff --git a/public_test_cases/p00830/output.1.txt b/public_test_cases/p00830/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..933384c22d5fd247c13d0cb05b60d8e9c5acd97e
--- /dev/null
+++ b/public_test_cases/p00830/output.1.txt
@@ -0,0 +1,10 @@
+not found
+not found
+yes
+no
+yes
+not found
+not found
+yes
+not found
+not found
diff --git a/public_test_cases/p00831/input.0.txt b/public_test_cases/p00831/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..758e8b5264632459fdfd62e15ee32d0e23b631da
--- /dev/null
+++ b/public_test_cases/p00831/input.0.txt
@@ -0,0 +1,26 @@
+8
+2
+omura
+toshio
+raku
+tanaka
+imura
+yoshoi
+hayashi
+miura
+3
+1
+tasaka
+nakata
+tanaka
+1
+1
+foo
+5
+2
+psqt
+abcdef
+abzdefa
+pqrst
+abdxcef
+0
diff --git a/public_test_cases/p00831/input.1.txt b/public_test_cases/p00831/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..758e8b5264632459fdfd62e15ee32d0e23b631da
--- /dev/null
+++ b/public_test_cases/p00831/input.1.txt
@@ -0,0 +1,26 @@
+8
+2
+omura
+toshio
+raku
+tanaka
+imura
+yoshoi
+hayashi
+miura
+3
+1
+tasaka
+nakata
+tanaka
+1
+1
+foo
+5
+2
+psqt
+abcdef
+abzdefa
+pqrst
+abdxcef
+0
diff --git a/public_test_cases/p00831/output.0.txt b/public_test_cases/p00831/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d754f0b6132273b31f0742f35cdbf47da04638d5
--- /dev/null
+++ b/public_test_cases/p00831/output.0.txt
@@ -0,0 +1,12 @@
+imura,miura
+imura,omura
+miura,omura
+toshio,yoshoi
+4
+tanaka,tasaka
+1
+0
+abcdef,abdxcef
+abcdef,abzdefa
+pqrst,psqt
+3
diff --git a/public_test_cases/p00831/output.1.txt b/public_test_cases/p00831/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d754f0b6132273b31f0742f35cdbf47da04638d5
--- /dev/null
+++ b/public_test_cases/p00831/output.1.txt
@@ -0,0 +1,12 @@
+imura,miura
+imura,omura
+miura,omura
+toshio,yoshoi
+4
+tanaka,tasaka
+1
+0
+abcdef,abdxcef
+abcdef,abzdefa
+pqrst,psqt
+3
diff --git a/public_test_cases/p00832/input.0.txt b/public_test_cases/p00832/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af557de344d740ef68429fbd13ba330fbb97f3c9
--- /dev/null
+++ b/public_test_cases/p00832/input.0.txt
@@ -0,0 +1,25 @@
+4
+1 1 1
+1 1 1
+1 1 1
+2 2 2
+2 2 2
+2 2 2
+4 3 3
+5 2 2
+4 3 3
+6 1 1
+6 1 1
+6 1 0
+1 0 0
+0 2 0
+0 0 0
+5 1 2
+5 1 2
+0 0 0
+2 0 0
+0 3 0
+0 0 0
+0 0 0
+0 0 0
+3 0 1
diff --git a/public_test_cases/p00832/input.1.txt b/public_test_cases/p00832/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af557de344d740ef68429fbd13ba330fbb97f3c9
--- /dev/null
+++ b/public_test_cases/p00832/input.1.txt
@@ -0,0 +1,25 @@
+4
+1 1 1
+1 1 1
+1 1 1
+2 2 2
+2 2 2
+2 2 2
+4 3 3
+5 2 2
+4 3 3
+6 1 1
+6 1 1
+6 1 0
+1 0 0
+0 2 0
+0 0 0
+5 1 2
+5 1 2
+0 0 0
+2 0 0
+0 3 0
+0 0 0
+0 0 0
+0 0 0
+3 0 1
diff --git a/public_test_cases/p00832/output.0.txt b/public_test_cases/p00832/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f2411f62078e946109003dc930b7ee4208b85a0
--- /dev/null
+++ b/public_test_cases/p00832/output.0.txt
@@ -0,0 +1,4 @@
+27
+24
+32 33 36
+0
diff --git a/public_test_cases/p00832/output.1.txt b/public_test_cases/p00832/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f2411f62078e946109003dc930b7ee4208b85a0
--- /dev/null
+++ b/public_test_cases/p00832/output.1.txt
@@ -0,0 +1,4 @@
+27
+24
+32 33 36
+0
diff --git a/public_test_cases/p00833/input.0.txt b/public_test_cases/p00833/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..585be75ac677489a2565f4d27f90d8fa54760db7
--- /dev/null
+++ b/public_test_cases/p00833/input.0.txt
@@ -0,0 +1,67 @@
+6
+Blizid
+0 0
+60 0
+60 60
+0 60
+0 50
+50 50
+50 10
+0 10
+-1
+Blizid
+0 10
+10 10
+10 50
+0 50
+-1
+Windom
+10 10
+50 10
+40 20
+20 20
+20 40
+10 50
+-1
+Accent
+50 10
+50 50
+35 50
+35 25
+-1
+Pilot
+35 25
+35 50
+10 50
+-1
+Blizid
+20 20
+40 20
+20 40
+-1
+4
+A1234567890123456789
+0 0
+0 100
+100 100
+100 0
+-1
+B1234567890123456789
+100 100
+100 200
+200 200
+200 100
+-1
+C1234567890123456789
+0 100
+100 100
+100 200
+0 200
+-1
+D123456789012345678
+100 0
+100 100
+200 100
+200 0
+-1
+0
diff --git a/public_test_cases/p00833/input.1.txt b/public_test_cases/p00833/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..585be75ac677489a2565f4d27f90d8fa54760db7
--- /dev/null
+++ b/public_test_cases/p00833/input.1.txt
@@ -0,0 +1,67 @@
+6
+Blizid
+0 0
+60 0
+60 60
+0 60
+0 50
+50 50
+50 10
+0 10
+-1
+Blizid
+0 10
+10 10
+10 50
+0 50
+-1
+Windom
+10 10
+50 10
+40 20
+20 20
+20 40
+10 50
+-1
+Accent
+50 10
+50 50
+35 50
+35 25
+-1
+Pilot
+35 25
+35 50
+10 50
+-1
+Blizid
+20 20
+40 20
+20 40
+-1
+4
+A1234567890123456789
+0 0
+0 100
+100 100
+100 0
+-1
+B1234567890123456789
+100 100
+100 200
+200 200
+200 100
+-1
+C1234567890123456789
+0 100
+100 100
+100 200
+0 200
+-1
+D123456789012345678
+100 0
+100 100
+200 100
+200 0
+-1
+0
diff --git a/public_test_cases/p00833/output.0.txt b/public_test_cases/p00833/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc7fa75e6a7bc42f0431e7fa75b59e3ddc4dc40f
--- /dev/null
+++ b/public_test_cases/p00833/output.0.txt
@@ -0,0 +1,2 @@
+4
+2
diff --git a/public_test_cases/p00833/output.1.txt b/public_test_cases/p00833/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc7fa75e6a7bc42f0431e7fa75b59e3ddc4dc40f
--- /dev/null
+++ b/public_test_cases/p00833/output.1.txt
@@ -0,0 +1,2 @@
+4
+2
diff --git a/public_test_cases/p00834/input.0.txt b/public_test_cases/p00834/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7201889b4ffb426cae9de0f845f9525f6426494c
--- /dev/null
+++ b/public_test_cases/p00834/input.0.txt
@@ -0,0 +1,30 @@
+3
+95 20 180 18
+125 20 185 18
+40 27 195 10
+1
+5 5 5 4
+2
+5 5 5 4
+5 5 5 3
+2
+5 5 5 4
+5 7 5 3
+16
+2338 3465 29034 710
+1571 14389 25019 842
+1706 8015 11324 1155
+1899 4359 33815 888
+2160 10364 20511 1264
+2048 8835 23706 1906
+2598 13041 23679 618
+1613 11112 8003 1125
+1777 4754 25986 929
+2707 9945 11458 617
+1153 10358 4305 755
+2462 8450 21838 934
+1822 11539 10025 1639
+1473 11939 12924 638
+1388 8519 18653 834
+2239 7384 32729 862
+0
diff --git a/public_test_cases/p00834/input.1.txt b/public_test_cases/p00834/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7201889b4ffb426cae9de0f845f9525f6426494c
--- /dev/null
+++ b/public_test_cases/p00834/input.1.txt
@@ -0,0 +1,30 @@
+3
+95 20 180 18
+125 20 185 18
+40 27 195 10
+1
+5 5 5 4
+2
+5 5 5 4
+5 5 5 3
+2
+5 5 5 4
+5 7 5 3
+16
+2338 3465 29034 710
+1571 14389 25019 842
+1706 8015 11324 1155
+1899 4359 33815 888
+2160 10364 20511 1264
+2048 8835 23706 1906
+2598 13041 23679 618
+1613 11112 8003 1125
+1777 4754 25986 929
+2707 9945 11458 617
+1153 10358 4305 755
+2462 8450 21838 934
+1822 11539 10025 1639
+1473 11939 12924 638
+1388 8519 18653 834
+2239 7384 32729 862
+0
diff --git a/public_test_cases/p00834/output.0.txt b/public_test_cases/p00834/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42338b9e7259e5ff2e6535a1c6c3bc49e1ee5a32
--- /dev/null
+++ b/public_test_cases/p00834/output.0.txt
@@ -0,0 +1,10 @@
+8
+11011000
+2
+10
+2
+10
+2
+10
+28
+1011100100110101101000101100
diff --git a/public_test_cases/p00834/output.1.txt b/public_test_cases/p00834/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42338b9e7259e5ff2e6535a1c6c3bc49e1ee5a32
--- /dev/null
+++ b/public_test_cases/p00834/output.1.txt
@@ -0,0 +1,10 @@
+8
+11011000
+2
+10
+2
+10
+2
+10
+28
+1011100100110101101000101100
diff --git a/public_test_cases/p00835/input.0.txt b/public_test_cases/p00835/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b2ec76c9df1ab6a57fe218389097eff40c7ffd6
--- /dev/null
+++ b/public_test_cases/p00835/input.0.txt
@@ -0,0 +1,40 @@
+4
+5 0
+0 10
+7 5
+10 5
+4
+7 5
+10 5
+5 0
+0 10
+4
+0 10
+10 10
+10 0
+0 0
+3
+0 0
+0 10
+10 0
+4
+0 10
+10 5
+0 0
+9 5
+4
+5 0
+0 10
+5 5
+10 10
+4
+0 5
+5 10
+10 5
+5 0
+4
+7 1
+4 1
+0 1
+9 5
+0
diff --git a/public_test_cases/p00835/input.1.txt b/public_test_cases/p00835/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b2ec76c9df1ab6a57fe218389097eff40c7ffd6
--- /dev/null
+++ b/public_test_cases/p00835/input.1.txt
@@ -0,0 +1,40 @@
+4
+5 0
+0 10
+7 5
+10 5
+4
+7 5
+10 5
+5 0
+0 10
+4
+0 10
+10 10
+10 0
+0 0
+3
+0 0
+0 10
+10 0
+4
+0 10
+10 5
+0 0
+9 5
+4
+5 0
+0 10
+5 5
+10 10
+4
+0 5
+5 10
+10 5
+5 0
+4
+7 1
+4 1
+0 1
+9 5
+0
diff --git a/public_test_cases/p00835/output.0.txt b/public_test_cases/p00835/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..012d4d0a712116e9a979c5a7f7fe28cbd34c5f93
--- /dev/null
+++ b/public_test_cases/p00835/output.0.txt
@@ -0,0 +1,8 @@
+194.8255
+194.8255
+600.0000
+341.4214
+42.9519
+182.5141
+282.8427
+149.2470
diff --git a/public_test_cases/p00835/output.1.txt b/public_test_cases/p00835/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..012d4d0a712116e9a979c5a7f7fe28cbd34c5f93
--- /dev/null
+++ b/public_test_cases/p00835/output.1.txt
@@ -0,0 +1,8 @@
+194.8255
+194.8255
+600.0000
+341.4214
+42.9519
+182.5141
+282.8427
+149.2470
diff --git a/public_test_cases/p00836/input.0.txt b/public_test_cases/p00836/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb5019c9487e6c2bdc26b8b53cc3f7df64e5fc0c
--- /dev/null
+++ b/public_test_cases/p00836/input.0.txt
@@ -0,0 +1,9 @@
+2
+3
+17
+41
+20
+666
+12
+53
+0
diff --git a/public_test_cases/p00836/input.1.txt b/public_test_cases/p00836/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb5019c9487e6c2bdc26b8b53cc3f7df64e5fc0c
--- /dev/null
+++ b/public_test_cases/p00836/input.1.txt
@@ -0,0 +1,9 @@
+2
+3
+17
+41
+20
+666
+12
+53
+0
diff --git a/public_test_cases/p00836/output.0.txt b/public_test_cases/p00836/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..690368aafbe3f07f68f6976a6143b6576c53a475
--- /dev/null
+++ b/public_test_cases/p00836/output.0.txt
@@ -0,0 +1,8 @@
+1
+1
+2
+3
+0
+0
+1
+2
diff --git a/public_test_cases/p00836/output.1.txt b/public_test_cases/p00836/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..690368aafbe3f07f68f6976a6143b6576c53a475
--- /dev/null
+++ b/public_test_cases/p00836/output.1.txt
@@ -0,0 +1,8 @@
+1
+1
+2
+3
+0
+0
+1
+2
diff --git a/public_test_cases/p00837/input.0.txt b/public_test_cases/p00837/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd4f9836edf7c34c2fee796b298722f6d486c9d
--- /dev/null
+++ b/public_test_cases/p00837/input.0.txt
@@ -0,0 +1,40 @@
+2 1 1
+1
+50
+2 1 2
+1
+50
+1
+60
+2 1 2
+2
+60 61
+1
+70
+4 2 3
+3
+60 61 62
+1
+70
+2
+80 81
+3 1 2
+3
+60 61 62
+2
+70 60
+1 2 5
+2
+87 95
+3
+96 71 35
+2
+68 2
+3
+3 18 93
+2
+57 2
+2 2 1
+5
+1 2 1 3 1
+0 0 0
diff --git a/public_test_cases/p00837/input.1.txt b/public_test_cases/p00837/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd4f9836edf7c34c2fee796b298722f6d486c9d
--- /dev/null
+++ b/public_test_cases/p00837/input.1.txt
@@ -0,0 +1,40 @@
+2 1 1
+1
+50
+2 1 2
+1
+50
+1
+60
+2 1 2
+2
+60 61
+1
+70
+4 2 3
+3
+60 61 62
+1
+70
+2
+80 81
+3 1 2
+3
+60 61 62
+2
+70 60
+1 2 5
+2
+87 95
+3
+96 71 35
+2
+68 2
+3
+3 18 93
+2
+57 2
+2 2 1
+5
+1 2 1 3 1
+0 0 0
diff --git a/public_test_cases/p00837/output.0.txt b/public_test_cases/p00837/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64dafdb1785e5222495332daeb2c52a3991cc722
--- /dev/null
+++ b/public_test_cases/p00837/output.0.txt
@@ -0,0 +1,7 @@
+4
+16
+28
+68
+58
+98
+23
diff --git a/public_test_cases/p00837/output.1.txt b/public_test_cases/p00837/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64dafdb1785e5222495332daeb2c52a3991cc722
--- /dev/null
+++ b/public_test_cases/p00837/output.1.txt
@@ -0,0 +1,7 @@
+4
+16
+28
+68
+58
+98
+23
diff --git a/public_test_cases/p00838/input.0.txt b/public_test_cases/p00838/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65b9af3207ee8a8c29656827584f6fedafab3bad
--- /dev/null
+++ b/public_test_cases/p00838/input.0.txt
@@ -0,0 +1,38 @@
+3
+scarlet green blue yellow magenta cyan
+blue pink green magenta cyan lemon
+purple red blue yellow cyan green
+2
+red green blue yellow magenta cyan
+cyan green blue yellow magenta red
+2
+red green gray gray magenta cyan
+cyan green gray gray magenta red
+2
+red green blue yellow magenta cyan
+magenta red blue yellow cyan green
+3
+red green blue yellow magenta cyan
+cyan green blue yellow magenta red
+magenta red blue yellow cyan green
+3
+blue green green green green blue
+green blue blue green green green
+green green green green green sea-green
+3
+red yellow red yellow red yellow
+red red yellow yellow red yellow
+red red red red red red
+4
+violet violet salmon salmon salmon salmon
+violet salmon salmon salmon salmon violet
+violet violet salmon salmon violet violet
+violet violet violet violet salmon salmon
+1
+red green blue yellow magenta cyan
+4
+magenta pink red scarlet vermilion wine-red
+aquamarine blue cyan indigo sky-blue turquoise-blue
+blond cream chrome-yellow lemon olive yellow
+chrome-green emerald-green green olive vilidian sky-blue
+0
diff --git a/public_test_cases/p00838/input.1.txt b/public_test_cases/p00838/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65b9af3207ee8a8c29656827584f6fedafab3bad
--- /dev/null
+++ b/public_test_cases/p00838/input.1.txt
@@ -0,0 +1,38 @@
+3
+scarlet green blue yellow magenta cyan
+blue pink green magenta cyan lemon
+purple red blue yellow cyan green
+2
+red green blue yellow magenta cyan
+cyan green blue yellow magenta red
+2
+red green gray gray magenta cyan
+cyan green gray gray magenta red
+2
+red green blue yellow magenta cyan
+magenta red blue yellow cyan green
+3
+red green blue yellow magenta cyan
+cyan green blue yellow magenta red
+magenta red blue yellow cyan green
+3
+blue green green green green blue
+green blue blue green green green
+green green green green green sea-green
+3
+red yellow red yellow red yellow
+red red yellow yellow red yellow
+red red red red red red
+4
+violet violet salmon salmon salmon salmon
+violet salmon salmon salmon salmon violet
+violet violet salmon salmon violet violet
+violet violet violet violet salmon salmon
+1
+red green blue yellow magenta cyan
+4
+magenta pink red scarlet vermilion wine-red
+aquamarine blue cyan indigo sky-blue turquoise-blue
+blond cream chrome-yellow lemon olive yellow
+chrome-green emerald-green green olive vilidian sky-blue
+0
diff --git a/public_test_cases/p00838/output.0.txt b/public_test_cases/p00838/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6941f8cd1190ea96c003aaab5bdd990e4159a9d
--- /dev/null
+++ b/public_test_cases/p00838/output.0.txt
@@ -0,0 +1,10 @@
+4
+2
+0
+0
+2
+3
+4
+4
+0
+16
diff --git a/public_test_cases/p00838/output.1.txt b/public_test_cases/p00838/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6941f8cd1190ea96c003aaab5bdd990e4159a9d
--- /dev/null
+++ b/public_test_cases/p00838/output.1.txt
@@ -0,0 +1,10 @@
+4
+2
+0
+0
+2
+3
+4
+4
+0
+16
diff --git a/public_test_cases/p00839/input.0.txt b/public_test_cases/p00839/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ef6aeb597c10ed01beb47f694bf7e4d0c133f48
--- /dev/null
+++ b/public_test_cases/p00839/input.0.txt
@@ -0,0 +1,34 @@
+3 5
+0W 1W
+0W 2W
+0W 2E
+0E 1E
+1E 2E
+aabbccdee
+-
+-
+-
+-
+bbaadeecc
+3 3
+0E 1W
+1E 2W
+2E 0W
+aabb
+bbcc
+aa
+bbbb
+cc
+aaaa
+3 4
+0E 1W
+0E 2E
+1E 2W
+2E 0W
+ababab
+-
+-
+aaabbb
+-
+-
+0 0
diff --git a/public_test_cases/p00839/input.1.txt b/public_test_cases/p00839/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ef6aeb597c10ed01beb47f694bf7e4d0c133f48
--- /dev/null
+++ b/public_test_cases/p00839/input.1.txt
@@ -0,0 +1,34 @@
+3 5
+0W 1W
+0W 2W
+0W 2E
+0E 1E
+1E 2E
+aabbccdee
+-
+-
+-
+-
+bbaadeecc
+3 3
+0E 1W
+1E 2W
+2E 0W
+aabb
+bbcc
+aa
+bbbb
+cc
+aaaa
+3 4
+0E 1W
+0E 2E
+1E 2W
+2E 0W
+ababab
+-
+-
+aaabbb
+-
+-
+0 0
diff --git a/public_test_cases/p00839/output.0.txt b/public_test_cases/p00839/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9e2036d6ff3461493e65010b4ed07ccbfd8d9ec
--- /dev/null
+++ b/public_test_cases/p00839/output.0.txt
@@ -0,0 +1,3 @@
+4
+2
+5
diff --git a/public_test_cases/p00839/output.1.txt b/public_test_cases/p00839/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9e2036d6ff3461493e65010b4ed07ccbfd8d9ec
--- /dev/null
+++ b/public_test_cases/p00839/output.1.txt
@@ -0,0 +1,3 @@
+4
+2
+5
diff --git a/public_test_cases/p00840/input.0.txt b/public_test_cases/p00840/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..161c8957e5a5ea9d77a12fe8d6f0a5dd78200561
--- /dev/null
+++ b/public_test_cases/p00840/input.0.txt
@@ -0,0 +1,28 @@
+5
+1.3
+3
+1
+2
+1
+1.4
+3
+1
+2
+1
+2.0
+3
+1
+2
+1
+1.59
+4
+2
+1
+1
+3
+1.7143
+4
+1
+2
+3
+5
diff --git a/public_test_cases/p00840/input.1.txt b/public_test_cases/p00840/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..161c8957e5a5ea9d77a12fe8d6f0a5dd78200561
--- /dev/null
+++ b/public_test_cases/p00840/input.1.txt
@@ -0,0 +1,28 @@
+5
+1.3
+3
+1
+2
+1
+1.4
+3
+1
+2
+1
+2.0
+3
+1
+2
+1
+1.59
+4
+2
+1
+1
+3
+1.7143
+4
+1
+2
+3
+5
diff --git a/public_test_cases/p00840/output.0.txt b/public_test_cases/p00840/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f11c7be2cb6c80347ba1eee9d7a552bc3843e410
--- /dev/null
+++ b/public_test_cases/p00840/output.0.txt
@@ -0,0 +1,5 @@
+-1
+1.3333333333333335
+1.6666666666666667
+1.5833333333333335
+1.7142857142857142
diff --git a/public_test_cases/p00840/output.1.txt b/public_test_cases/p00840/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f11c7be2cb6c80347ba1eee9d7a552bc3843e410
--- /dev/null
+++ b/public_test_cases/p00840/output.1.txt
@@ -0,0 +1,5 @@
+-1
+1.3333333333333335
+1.6666666666666667
+1.5833333333333335
+1.7142857142857142
diff --git a/public_test_cases/p00841/input.0.txt b/public_test_cases/p00841/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1223d629f0e47f831c98bf350fcfe382561e287
--- /dev/null
+++ b/public_test_cases/p00841/input.0.txt
@@ -0,0 +1,13 @@
+2
+2 3
+1.0
+1 1.0 0.1 0.3
+5
+5 10 15 20 25
+0.15
+1 1.0 0.04 0.5
+10
+1783 3640 3991 4623 5465 5481 6369 6533 6865 8425
+4.172
+72 59.4705 0.0052834 0.0611224
+0
diff --git a/public_test_cases/p00841/input.1.txt b/public_test_cases/p00841/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1223d629f0e47f831c98bf350fcfe382561e287
--- /dev/null
+++ b/public_test_cases/p00841/input.1.txt
@@ -0,0 +1,13 @@
+2
+2 3
+1.0
+1 1.0 0.1 0.3
+5
+5 10 15 20 25
+0.15
+1 1.0 0.04 0.5
+10
+1783 3640 3991 4623 5465 5481 6369 6533 6865 8425
+4.172
+72 59.4705 0.0052834 0.0611224
+0
diff --git a/public_test_cases/p00841/output.0.txt b/public_test_cases/p00841/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..158c70482c70aa62bb52ac1be8e38dc0c2e3ecd9
--- /dev/null
+++ b/public_test_cases/p00841/output.0.txt
@@ -0,0 +1,3 @@
+3.5397
+31.9249
+168.6682
diff --git a/public_test_cases/p00841/output.1.txt b/public_test_cases/p00841/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..158c70482c70aa62bb52ac1be8e38dc0c2e3ecd9
--- /dev/null
+++ b/public_test_cases/p00841/output.1.txt
@@ -0,0 +1,3 @@
+3.5397
+31.9249
+168.6682
diff --git a/public_test_cases/p00842/input.0.txt b/public_test_cases/p00842/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89c225a1cdd65ffa428e7a3c37c6b0d188c16f39
--- /dev/null
+++ b/public_test_cases/p00842/input.0.txt
@@ -0,0 +1,14 @@
+4
+ 0 2 2 2
+ 2 0 2 2
+ 2 2 0 2
+ 2 2 2 0
+4
+ 0 2 4 4
+ 2 0 4 4
+ 4 4 0 2
+ 4 4 2 0
+2
+ 0 12
+ 12 0
+0
diff --git a/public_test_cases/p00842/input.1.txt b/public_test_cases/p00842/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89c225a1cdd65ffa428e7a3c37c6b0d188c16f39
--- /dev/null
+++ b/public_test_cases/p00842/input.1.txt
@@ -0,0 +1,14 @@
+4
+ 0 2 2 2
+ 2 0 2 2
+ 2 2 0 2
+ 2 2 2 0
+4
+ 0 2 4 4
+ 2 0 4 4
+ 4 4 0 2
+ 4 4 2 0
+2
+ 0 12
+ 12 0
+0
diff --git a/public_test_cases/p00842/input.2.txt b/public_test_cases/p00842/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5fb6e63b6095c5a08f6db0b9a42fecc317abb56
--- /dev/null
+++ b/public_test_cases/p00842/input.2.txt
@@ -0,0 +1,14 @@
+4
+0 2 2 2
+2 0 2 2
+2 2 0 2
+2 2 2 0
+4
+0 2 4 4
+2 0 4 4
+4 4 0 2
+4 4 2 0
+2
+0 12
+12 0
+0
diff --git a/public_test_cases/p00842/output.0.txt b/public_test_cases/p00842/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0c9830ed5b045f6523faa2b515d40a3ec5a5291
--- /dev/null
+++ b/public_test_cases/p00842/output.0.txt
@@ -0,0 +1,3 @@
+4
+2 3 3
+2 2 2 2 2 2 2 2 2 2 2
diff --git a/public_test_cases/p00842/output.1.txt b/public_test_cases/p00842/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0c9830ed5b045f6523faa2b515d40a3ec5a5291
--- /dev/null
+++ b/public_test_cases/p00842/output.1.txt
@@ -0,0 +1,3 @@
+4
+2 3 3
+2 2 2 2 2 2 2 2 2 2 2
diff --git a/public_test_cases/p00842/output.2.txt b/public_test_cases/p00842/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0c9830ed5b045f6523faa2b515d40a3ec5a5291
--- /dev/null
+++ b/public_test_cases/p00842/output.2.txt
@@ -0,0 +1,3 @@
+4
+2 3 3
+2 2 2 2 2 2 2 2 2 2 2
diff --git a/public_test_cases/p00843/input.0.txt b/public_test_cases/p00843/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a3c075fc8e282c23cf880a1f7357087179caa09
--- /dev/null
+++ b/public_test_cases/p00843/input.0.txt
@@ -0,0 +1,21 @@
+4 3
+10 25 11 20 6 2 1 15 23
+5 21 3 12 23 17 7 26 2
+8 18 4 22 13 27 16 5 11
+19 9 24 2 11 5 14 28 16
+4 3
+12 13 20 24 28 32 15 16 17
+12 13 21 25 29 33 16 17 18
+12 13 22 26 30 34 17 18 15
+12 13 23 27 31 35 18 15 16
+4 3
+11 12 13 14 15 16 17 18 19
+21 22 23 24 25 26 27 28 29
+31 32 33 34 35 36 37 38 39
+41 42 43 44 45 46 47 48 49
+4 4
+2 6 9 21 15 23 17 31 33 12 25 4 8 24 13 36
+22 18 27 26 35 28 3 7 11 20 38 16 5 32 14 29
+26 7 16 29 27 3 38 14 18 28 20 32 22 35 11 5
+36 13 24 8 4 25 12 33 31 17 23 15 21 9 6 2
+0 0
diff --git a/public_test_cases/p00843/input.1.txt b/public_test_cases/p00843/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a3c075fc8e282c23cf880a1f7357087179caa09
--- /dev/null
+++ b/public_test_cases/p00843/input.1.txt
@@ -0,0 +1,21 @@
+4 3
+10 25 11 20 6 2 1 15 23
+5 21 3 12 23 17 7 26 2
+8 18 4 22 13 27 16 5 11
+19 9 24 2 11 5 14 28 16
+4 3
+12 13 20 24 28 32 15 16 17
+12 13 21 25 29 33 16 17 18
+12 13 22 26 30 34 17 18 15
+12 13 23 27 31 35 18 15 16
+4 3
+11 12 13 14 15 16 17 18 19
+21 22 23 24 25 26 27 28 29
+31 32 33 34 35 36 37 38 39
+41 42 43 44 45 46 47 48 49
+4 4
+2 6 9 21 15 23 17 31 33 12 25 4 8 24 13 36
+22 18 27 26 35 28 3 7 11 20 38 16 5 32 14 29
+26 7 16 29 27 3 38 14 18 28 20 32 22 35 11 5
+36 13 24 8 4 25 12 33 31 17 23 15 21 9 6 2
+0 0
diff --git a/public_test_cases/p00843/output.0.txt b/public_test_cases/p00843/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec3192a43df90d75bf3fda1249deda1da13dfda7
--- /dev/null
+++ b/public_test_cases/p00843/output.0.txt
@@ -0,0 +1,4 @@
+5
+4
+12
+0
diff --git a/public_test_cases/p00843/output.1.txt b/public_test_cases/p00843/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec3192a43df90d75bf3fda1249deda1da13dfda7
--- /dev/null
+++ b/public_test_cases/p00843/output.1.txt
@@ -0,0 +1,4 @@
+5
+4
+12
+0
diff --git a/public_test_cases/p00844/input.0.txt b/public_test_cases/p00844/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd54e47c165b7b5b7b9c02f49bcfd25333a38362
--- /dev/null
+++ b/public_test_cases/p00844/input.0.txt
@@ -0,0 +1,44 @@
+10.5235
+3
+0 0
+100 100
+0 100
+4
+0 50
+20 50
+20 80
+0 80
+10.0
+4
+120 45
+140 35
+140 65
+120 55
+8
+0 0
+100 0
+100 100
+0 100
+0 55
+80 90
+80 10
+0 45
+10.0
+3
+0 0
+1 0
+0 1
+3
+0 100
+1 101
+0 101
+10.0
+3
+0 0
+1 0
+0 100
+3
+0 50
+100 50
+0 51
+0
diff --git a/public_test_cases/p00844/input.1.txt b/public_test_cases/p00844/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd54e47c165b7b5b7b9c02f49bcfd25333a38362
--- /dev/null
+++ b/public_test_cases/p00844/input.1.txt
@@ -0,0 +1,44 @@
+10.5235
+3
+0 0
+100 100
+0 100
+4
+0 50
+20 50
+20 80
+0 80
+10.0
+4
+120 45
+140 35
+140 65
+120 55
+8
+0 0
+100 0
+100 100
+0 100
+0 55
+80 90
+80 10
+0 45
+10.0
+3
+0 0
+1 0
+0 1
+3
+0 100
+1 101
+0 101
+10.0
+3
+0 0
+1 0
+0 100
+3
+0 50
+100 50
+0 51
+0
diff --git a/public_test_cases/p00844/output.0.txt b/public_test_cases/p00844/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b20156c7fb842baa83ab36b16551d257d74f893c
--- /dev/null
+++ b/public_test_cases/p00844/output.0.txt
@@ -0,0 +1,4 @@
+114.882476
+100
+1
+110.5005
diff --git a/public_test_cases/p00844/output.1.txt b/public_test_cases/p00844/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b20156c7fb842baa83ab36b16551d257d74f893c
--- /dev/null
+++ b/public_test_cases/p00844/output.1.txt
@@ -0,0 +1,4 @@
+114.882476
+100
+1
+110.5005
diff --git a/public_test_cases/p00845/input.0.txt b/public_test_cases/p00845/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..839c5e15bb4be8229671f0dd233b89f9938d38a6
--- /dev/null
+++ b/public_test_cases/p00845/input.0.txt
@@ -0,0 +1,26 @@
+3
+100 0 500
+-500.243 -200.1 -300.5
+0 300 200
+2
+1 1 1 0.65
+-1 0 0 1.57
+3
+1 0 0
+0 1 0
+0 0 1
+4
+1 -1 -1 0.9553
+-1 1 -1 0.9554
+-1 -1 1 0.9553
+-1 1 -1 0.9554
+3
+1 0 0
+0 1 0
+0 0 1
+4
+1 -1 -1 0.9553
+-1 1 -1 0.9553
+-1 -1 1 0.9553
+-1 1 -1 0.9553
+0
diff --git a/public_test_cases/p00845/input.1.txt b/public_test_cases/p00845/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..839c5e15bb4be8229671f0dd233b89f9938d38a6
--- /dev/null
+++ b/public_test_cases/p00845/input.1.txt
@@ -0,0 +1,26 @@
+3
+100 0 500
+-500.243 -200.1 -300.5
+0 300 200
+2
+1 1 1 0.65
+-1 0 0 1.57
+3
+1 0 0
+0 1 0
+0 0 1
+4
+1 -1 -1 0.9553
+-1 1 -1 0.9554
+-1 -1 1 0.9553
+-1 1 -1 0.9554
+3
+1 0 0
+0 1 0
+0 0 1
+4
+1 -1 -1 0.9553
+-1 1 -1 0.9553
+-1 -1 1 0.9553
+-1 1 -1 0.9553
+0
diff --git a/public_test_cases/p00845/output.0.txt b/public_test_cases/p00845/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p00845/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p00845/output.1.txt b/public_test_cases/p00845/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p00845/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p00846/input.0.txt b/public_test_cases/p00846/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f444f6352d4bd62eaa3951eed4ed33d24c33dc36
--- /dev/null
+++ b/public_test_cases/p00846/input.0.txt
@@ -0,0 +1,17 @@
+6
+66 13
+96 61
+76 98
+13 94
+4 0
+45 68
+8
+27 21
+55 14
+93 12
+56 95
+15 48
+38 46
+51 65
+64 31
+0
diff --git a/public_test_cases/p00846/input.1.txt b/public_test_cases/p00846/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f444f6352d4bd62eaa3951eed4ed33d24c33dc36
--- /dev/null
+++ b/public_test_cases/p00846/input.1.txt
@@ -0,0 +1,17 @@
+6
+66 13
+96 61
+76 98
+13 94
+4 0
+45 68
+8
+27 21
+55 14
+93 12
+56 95
+15 48
+38 46
+51 65
+64 31
+0
diff --git a/public_test_cases/p00846/output.0.txt b/public_test_cases/p00846/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b261da18d51a39dc2cf0d156791e9c0b35dd83f4
--- /dev/null
+++ b/public_test_cases/p00846/output.0.txt
@@ -0,0 +1,2 @@
+1
+0
diff --git a/public_test_cases/p00846/output.1.txt b/public_test_cases/p00846/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b261da18d51a39dc2cf0d156791e9c0b35dd83f4
--- /dev/null
+++ b/public_test_cases/p00846/output.1.txt
@@ -0,0 +1,2 @@
+1
+0
diff --git a/public_test_cases/p00847/input.0.txt b/public_test_cases/p00847/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..645e314e4daac26130b8f7a4ab3ad33acae1ee13
--- /dev/null
+++ b/public_test_cases/p00847/input.0.txt
@@ -0,0 +1,33 @@
+1 2
+W W W
+E W W
+W W W
+2 1
+R B W
+R W W
+E W W
+3 3
+W B W
+B R E
+R B R
+3 3
+B W R
+B W R
+B E R
+2 1
+B B B
+B R B
+B R E
+1 1
+R R R
+W W W
+R R E
+2 1
+R R R
+B W B
+R R E
+3 2
+R R R
+W E W
+R R R
+0 0
diff --git a/public_test_cases/p00847/input.1.txt b/public_test_cases/p00847/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..645e314e4daac26130b8f7a4ab3ad33acae1ee13
--- /dev/null
+++ b/public_test_cases/p00847/input.1.txt
@@ -0,0 +1,33 @@
+1 2
+W W W
+E W W
+W W W
+2 1
+R B W
+R W W
+E W W
+3 3
+W B W
+B R E
+R B R
+3 3
+B W R
+B W R
+B E R
+2 1
+B B B
+B R B
+B R E
+1 1
+R R R
+W W W
+R R E
+2 1
+R R R
+B W B
+R R E
+3 2
+R R R
+W E W
+R R R
+0 0
diff --git a/public_test_cases/p00847/output.0.txt b/public_test_cases/p00847/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3882169660232eec9eeb1a5606a8b1945c3f6a1b
--- /dev/null
+++ b/public_test_cases/p00847/output.0.txt
@@ -0,0 +1,8 @@
+0
+3
+13
+23
+29
+30
+-1
+-1
diff --git a/public_test_cases/p00847/output.1.txt b/public_test_cases/p00847/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3882169660232eec9eeb1a5606a8b1945c3f6a1b
--- /dev/null
+++ b/public_test_cases/p00847/output.1.txt
@@ -0,0 +1,8 @@
+0
+3
+13
+23
+29
+30
+-1
+-1
diff --git a/public_test_cases/p00848/input.0.txt b/public_test_cases/p00848/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..beb2703e44e095fe311413e066d8e2877cc0a011
--- /dev/null
+++ b/public_test_cases/p00848/input.0.txt
@@ -0,0 +1,13 @@
+24 3
+24 2
+2 1
+1 1
+4 2
+18 3
+17 1
+17 3
+17 4
+100 5
+1000 10
+1120 14
+0 0
diff --git a/public_test_cases/p00848/input.1.txt b/public_test_cases/p00848/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..beb2703e44e095fe311413e066d8e2877cc0a011
--- /dev/null
+++ b/public_test_cases/p00848/input.1.txt
@@ -0,0 +1,13 @@
+24 3
+24 2
+2 1
+1 1
+4 2
+18 3
+17 1
+17 3
+17 4
+100 5
+1000 10
+1120 14
+0 0
diff --git a/public_test_cases/p00848/output.0.txt b/public_test_cases/p00848/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9dd54672b613ef9d655adf40fe87b8b2a839948
--- /dev/null
+++ b/public_test_cases/p00848/output.0.txt
@@ -0,0 +1,12 @@
+2
+3
+1
+0
+0
+2
+1
+0
+1
+55
+200102899
+2079324314
diff --git a/public_test_cases/p00848/output.1.txt b/public_test_cases/p00848/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9dd54672b613ef9d655adf40fe87b8b2a839948
--- /dev/null
+++ b/public_test_cases/p00848/output.1.txt
@@ -0,0 +1,12 @@
+2
+3
+1
+0
+0
+2
+1
+0
+1
+55
+200102899
+2079324314
diff --git a/public_test_cases/p00849/input.0.txt b/public_test_cases/p00849/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba409c02a34f09cbd5dacb714ecf21572d7545b6
--- /dev/null
+++ b/public_test_cases/p00849/input.0.txt
@@ -0,0 +1,53 @@
+5 5
+0 0 0 0 0
+0 0 0 3 0
+2 0 2 0 0
+1 0 1 1 1
+0 0 0 0 3
+2 3
+2 2 0
+0 3 3
+6 5
+2 0 0 0 0
+0 3 0 0 0
+0 0 0 0 0
+1 1 1 0 0
+0 0 0 0 0
+0 0 2 3 0
+5 9
+0 0 0 0 0 0 0 0 0
+0 0 0 0 3 0 0 0 0
+0 2 0 0 0 0 0 2 0
+0 0 0 0 3 0 0 0 0
+0 0 0 0 0 0 0 0 0
+9 9
+3 0 0 0 0 0 0 0 2
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+2 0 0 0 0 0 0 0 3
+9 9
+0 0 0 1 0 0 0 0 0
+0 2 0 1 0 0 0 0 3
+0 0 0 1 0 0 0 0 2
+0 0 0 1 0 0 0 0 3
+0 0 0 1 1 1 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+9 9
+0 0 0 0 0 0 0 0 0
+0 3 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 2 3 2
+0 0
diff --git a/public_test_cases/p00849/input.1.txt b/public_test_cases/p00849/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba409c02a34f09cbd5dacb714ecf21572d7545b6
--- /dev/null
+++ b/public_test_cases/p00849/input.1.txt
@@ -0,0 +1,53 @@
+5 5
+0 0 0 0 0
+0 0 0 3 0
+2 0 2 0 0
+1 0 1 1 1
+0 0 0 0 3
+2 3
+2 2 0
+0 3 3
+6 5
+2 0 0 0 0
+0 3 0 0 0
+0 0 0 0 0
+1 1 1 0 0
+0 0 0 0 0
+0 0 2 3 0
+5 9
+0 0 0 0 0 0 0 0 0
+0 0 0 0 3 0 0 0 0
+0 2 0 0 0 0 0 2 0
+0 0 0 0 3 0 0 0 0
+0 0 0 0 0 0 0 0 0
+9 9
+3 0 0 0 0 0 0 0 2
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+2 0 0 0 0 0 0 0 3
+9 9
+0 0 0 1 0 0 0 0 0
+0 2 0 1 0 0 0 0 3
+0 0 0 1 0 0 0 0 2
+0 0 0 1 0 0 0 0 3
+0 0 0 1 1 1 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+9 9
+0 0 0 0 0 0 0 0 0
+0 3 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 2 3 2
+0 0
diff --git a/public_test_cases/p00849/output.0.txt b/public_test_cases/p00849/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6010730fe3945e459a43db465eaf0cb42111fbe
--- /dev/null
+++ b/public_test_cases/p00849/output.0.txt
@@ -0,0 +1,7 @@
+18
+2
+17
+12
+0
+52
+43
diff --git a/public_test_cases/p00849/output.1.txt b/public_test_cases/p00849/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6010730fe3945e459a43db465eaf0cb42111fbe
--- /dev/null
+++ b/public_test_cases/p00849/output.1.txt
@@ -0,0 +1,7 @@
+18
+2
+17
+12
+0
+52
+43
diff --git a/public_test_cases/p00850/input.0.txt b/public_test_cases/p00850/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99b2234b3a7142a701fcd82eb7f0d8c93f489fd9
--- /dev/null
+++ b/public_test_cases/p00850/input.0.txt
@@ -0,0 +1,9 @@
+1
+31
+70
+91
+473
+512
+811
+953
+0
diff --git a/public_test_cases/p00850/input.1.txt b/public_test_cases/p00850/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99b2234b3a7142a701fcd82eb7f0d8c93f489fd9
--- /dev/null
+++ b/public_test_cases/p00850/input.1.txt
@@ -0,0 +1,9 @@
+1
+31
+70
+91
+473
+512
+811
+953
+0
diff --git a/public_test_cases/p00850/output.0.txt b/public_test_cases/p00850/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb6907667b6de6b5c369db26fb2510736bfa37cf
--- /dev/null
+++ b/public_test_cases/p00850/output.0.txt
@@ -0,0 +1,8 @@
+0
+6
+8
+9
+11
+9
+13
+12
diff --git a/public_test_cases/p00850/output.1.txt b/public_test_cases/p00850/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb6907667b6de6b5c369db26fb2510736bfa37cf
--- /dev/null
+++ b/public_test_cases/p00850/output.1.txt
@@ -0,0 +1,8 @@
+0
+6
+8
+9
+11
+9
+13
+12
diff --git a/public_test_cases/p00851/input.0.txt b/public_test_cases/p00851/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2acc2969eb2c4aa7b9cf56fdbeca23fd607e7cc5
--- /dev/null
+++ b/public_test_cases/p00851/input.0.txt
@@ -0,0 +1,13 @@
+3
+3 4 5
+5
+1 2 5 5 5
+6
+195 221 255 260 265 290
+6
+130 145 169 185 195 265
+3
+1 1 2
+6
+3 3 3 3 3 3
+0
diff --git a/public_test_cases/p00851/output.0.txt b/public_test_cases/p00851/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33813afc1bea4cc83f3e0aa8f6564357e6bde7bd
--- /dev/null
+++ b/public_test_cases/p00851/output.0.txt
@@ -0,0 +1,6 @@
+6
+19
+158253
+-1
+-1
+18
diff --git a/public_test_cases/p00852/input.0.txt b/public_test_cases/p00852/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dcaa1de9b66e2d6fc996bcb0b6f699a16a2d4ae
--- /dev/null
+++ b/public_test_cases/p00852/input.0.txt
@@ -0,0 +1,28 @@
+4 3
+A=a
+A=
+S=ASb
+S=Ab
+2 5
+S=aSb
+S=
+1 5
+S=S
+1 0
+S=S
+1 0
+A=
+2 0
+A=
+S=AA
+4 5
+A=aB
+A=b
+B=SA
+S=A
+4 20
+S=AAAAAAAAAA
+A=aA
+A=bA
+A=
+0 0
diff --git a/public_test_cases/p00852/input.1.txt b/public_test_cases/p00852/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dcaa1de9b66e2d6fc996bcb0b6f699a16a2d4ae
--- /dev/null
+++ b/public_test_cases/p00852/input.1.txt
@@ -0,0 +1,28 @@
+4 3
+A=a
+A=
+S=ASb
+S=Ab
+2 5
+S=aSb
+S=
+1 5
+S=S
+1 0
+S=S
+1 0
+A=
+2 0
+A=
+S=AA
+4 5
+A=aB
+A=b
+B=SA
+S=A
+4 20
+S=AAAAAAAAAA
+A=aA
+A=bA
+A=
+0 0
diff --git a/public_test_cases/p00852/output.0.txt b/public_test_cases/p00852/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee8bb3d2e57430e448bdf8b7cb7d30d0b1356e17
--- /dev/null
+++ b/public_test_cases/p00852/output.0.txt
@@ -0,0 +1,8 @@
+abb
+-
+-
+-
+-
+
+aabbb
+aaaaaaaaaaaaaaaaaaaa
diff --git a/public_test_cases/p00852/output.1.txt b/public_test_cases/p00852/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee8bb3d2e57430e448bdf8b7cb7d30d0b1356e17
--- /dev/null
+++ b/public_test_cases/p00852/output.1.txt
@@ -0,0 +1,8 @@
+abb
+-
+-
+-
+-
+
+aabbb
+aaaaaaaaaaaaaaaaaaaa
diff --git a/public_test_cases/p00853/input.0.txt b/public_test_cases/p00853/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8632f19c9cad9ec92289eece53d95acdc086712d
--- /dev/null
+++ b/public_test_cases/p00853/input.0.txt
@@ -0,0 +1,33 @@
+5 20 10 1 5
+1 2 1
+1 3 2
+1 4 1
+1 5 3
+2 1 1
+2 3 1
+2 4 2
+2 5 2
+3 1 1
+3 2 2
+3 4 1
+3 5 1
+4 1 1
+4 2 1
+4 3 1
+4 5 2
+5 1 1
+5 2 1
+5 3 1
+5 4 1
+4 6 1 1 4
+2 4 2
+1 3 2
+1 2 1
+1 4 3
+2 3 1
+3 4 1
+3 3 5 1 3
+1 2 1
+2 3 1
+1 3 1
+0 0 0 0 0
diff --git a/public_test_cases/p00853/input.1.txt b/public_test_cases/p00853/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8632f19c9cad9ec92289eece53d95acdc086712d
--- /dev/null
+++ b/public_test_cases/p00853/input.1.txt
@@ -0,0 +1,33 @@
+5 20 10 1 5
+1 2 1
+1 3 2
+1 4 1
+1 5 3
+2 1 1
+2 3 1
+2 4 2
+2 5 2
+3 1 1
+3 2 2
+3 4 1
+3 5 1
+4 1 1
+4 2 1
+4 3 1
+4 5 2
+5 1 1
+5 2 1
+5 3 1
+5 4 1
+4 6 1 1 4
+2 4 2
+1 3 2
+1 2 1
+1 4 3
+2 3 1
+3 4 1
+3 3 5 1 3
+1 2 1
+2 3 1
+1 3 1
+0 0 0 0 0
diff --git a/public_test_cases/p00853/output.0.txt b/public_test_cases/p00853/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6fee95c1f3bca7a9155e7d2dd383e7d4da40054
--- /dev/null
+++ b/public_test_cases/p00853/output.0.txt
@@ -0,0 +1,3 @@
+1-2-4-3-5
+1-2-3-4
+None
diff --git a/public_test_cases/p00853/output.1.txt b/public_test_cases/p00853/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6fee95c1f3bca7a9155e7d2dd383e7d4da40054
--- /dev/null
+++ b/public_test_cases/p00853/output.1.txt
@@ -0,0 +1,3 @@
+1-2-4-3-5
+1-2-3-4
+None
diff --git a/public_test_cases/p00854/input.0.txt b/public_test_cases/p00854/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29a40250307b2373f88e7a10f13bf71cdec6171a
--- /dev/null
+++ b/public_test_cases/p00854/input.0.txt
@@ -0,0 +1,4 @@
+8 5 3
+100 9999 98
+10000 10000 10000
+0 0 0
diff --git a/public_test_cases/p00854/input.1.txt b/public_test_cases/p00854/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29a40250307b2373f88e7a10f13bf71cdec6171a
--- /dev/null
+++ b/public_test_cases/p00854/input.1.txt
@@ -0,0 +1,4 @@
+8 5 3
+100 9999 98
+10000 10000 10000
+0 0 0
diff --git a/public_test_cases/p00854/output.0.txt b/public_test_cases/p00854/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f740acfc485b92875a929b5ed83f06ba0f7564cf
--- /dev/null
+++ b/public_test_cases/p00854/output.0.txt
@@ -0,0 +1,3 @@
+1
+93
+2019
diff --git a/public_test_cases/p00854/output.1.txt b/public_test_cases/p00854/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f740acfc485b92875a929b5ed83f06ba0f7564cf
--- /dev/null
+++ b/public_test_cases/p00854/output.1.txt
@@ -0,0 +1,3 @@
+1
+93
+2019
diff --git a/public_test_cases/p00855/input.0.txt b/public_test_cases/p00855/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61dcb8c379f4eb1605ad8e7eb623869e471050c1
--- /dev/null
+++ b/public_test_cases/p00855/input.0.txt
@@ -0,0 +1,6 @@
+10
+11
+27
+2
+492170
+0
diff --git a/public_test_cases/p00855/input.1.txt b/public_test_cases/p00855/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61dcb8c379f4eb1605ad8e7eb623869e471050c1
--- /dev/null
+++ b/public_test_cases/p00855/input.1.txt
@@ -0,0 +1,6 @@
+10
+11
+27
+2
+492170
+0
diff --git a/public_test_cases/p00855/output.0.txt b/public_test_cases/p00855/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c628b549997760a96ed24bf212739545520c2d2
--- /dev/null
+++ b/public_test_cases/p00855/output.0.txt
@@ -0,0 +1,5 @@
+4
+0
+6
+0
+114
diff --git a/public_test_cases/p00855/output.1.txt b/public_test_cases/p00855/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c628b549997760a96ed24bf212739545520c2d2
--- /dev/null
+++ b/public_test_cases/p00855/output.1.txt
@@ -0,0 +1,5 @@
+4
+0
+6
+0
+114
diff --git a/public_test_cases/p00856/input.0.txt b/public_test_cases/p00856/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eba8189bc3e04e86b5bdf3def0797642e0216f6f
--- /dev/null
+++ b/public_test_cases/p00856/input.0.txt
@@ -0,0 +1,14 @@
+6 1 0 0
+7 1 0 0
+7 2 0 0
+6 6 1 1
+2
+5
+7 10 0 6
+1
+2
+3
+4
+5
+6
+0 0 0 0
diff --git a/public_test_cases/p00856/input.1.txt b/public_test_cases/p00856/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eba8189bc3e04e86b5bdf3def0797642e0216f6f
--- /dev/null
+++ b/public_test_cases/p00856/input.1.txt
@@ -0,0 +1,14 @@
+6 1 0 0
+7 1 0 0
+7 2 0 0
+6 6 1 1
+2
+5
+7 10 0 6
+1
+2
+3
+4
+5
+6
+0 0 0 0
diff --git a/public_test_cases/p00856/output.0.txt b/public_test_cases/p00856/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e9abf1284e1b8c0568741a2499306bd0222fc0d
--- /dev/null
+++ b/public_test_cases/p00856/output.0.txt
@@ -0,0 +1,5 @@
+0.166667
+0.000000
+0.166667
+0.619642
+0.000000
diff --git a/public_test_cases/p00856/output.1.txt b/public_test_cases/p00856/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e9abf1284e1b8c0568741a2499306bd0222fc0d
--- /dev/null
+++ b/public_test_cases/p00856/output.1.txt
@@ -0,0 +1,5 @@
+0.166667
+0.000000
+0.166667
+0.619642
+0.000000
diff --git a/public_test_cases/p00857/input.0.txt b/public_test_cases/p00857/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21656236377ad1fc7d70cbda02e5100e5695eeb5
--- /dev/null
+++ b/public_test_cases/p00857/input.0.txt
@@ -0,0 +1,5 @@
+0 0 1 0 0 1
+0 0 5 0 2 5
+-100 -100 100 -100 0 100
+-72 -72 72 -72 0 72
+0 0 0 0 0 0
diff --git a/public_test_cases/p00857/input.1.txt b/public_test_cases/p00857/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21656236377ad1fc7d70cbda02e5100e5695eeb5
--- /dev/null
+++ b/public_test_cases/p00857/input.1.txt
@@ -0,0 +1,5 @@
+0 0 1 0 0 1
+0 0 5 0 2 5
+-100 -100 100 -100 0 100
+-72 -72 72 -72 0 72
+0 0 0 0 0 0
diff --git a/public_test_cases/p00857/output.0.txt b/public_test_cases/p00857/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b790c68f9050bed64260bec5773852b48b4d085
--- /dev/null
+++ b/public_test_cases/p00857/output.0.txt
@@ -0,0 +1,4 @@
+2
+1.49666
+-1
+8.52936
diff --git a/public_test_cases/p00857/output.1.txt b/public_test_cases/p00857/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b790c68f9050bed64260bec5773852b48b4d085
--- /dev/null
+++ b/public_test_cases/p00857/output.1.txt
@@ -0,0 +1,4 @@
+2
+1.49666
+-1
+8.52936
diff --git a/public_test_cases/p00858/input.0.txt b/public_test_cases/p00858/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4bd479282864c7a3237602b063b4db6637f985e
--- /dev/null
+++ b/public_test_cases/p00858/input.0.txt
@@ -0,0 +1,38 @@
+8
+1 1
+4 4
+1 1 4 1
+1 1 1 4
+3 1 3 4
+4 3 5 3
+2 4 3 5
+4 1 4 4
+3 3 2 2
+1 4 4 4
+9
+1 5
+5 1
+5 4 5 1
+1 5 1 1
+1 5 5 1
+2 3 2 4
+5 4 1 5
+3 2 2 1
+4 2 4 1
+1 1 5 1
+5 3 4 3
+11
+5 5
+1 0
+3 1 5 1
+4 3 4 2
+3 1 5 5
+2 3 2 2
+1 0 1 2
+1 2 3 4
+3 4 5 5
+1 0 5 2
+4 0 4 1
+5 5 5 1
+2 3 2 4
+0
diff --git a/public_test_cases/p00858/input.1.txt b/public_test_cases/p00858/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4bd479282864c7a3237602b063b4db6637f985e
--- /dev/null
+++ b/public_test_cases/p00858/input.1.txt
@@ -0,0 +1,38 @@
+8
+1 1
+4 4
+1 1 4 1
+1 1 1 4
+3 1 3 4
+4 3 5 3
+2 4 3 5
+4 1 4 4
+3 3 2 2
+1 4 4 4
+9
+1 5
+5 1
+5 4 5 1
+1 5 1 1
+1 5 5 1
+2 3 2 4
+5 4 1 5
+3 2 2 1
+4 2 4 1
+1 1 5 1
+5 3 4 3
+11
+5 5
+1 0
+3 1 5 1
+4 3 4 2
+3 1 5 5
+2 3 2 2
+1 0 1 2
+1 2 3 4
+3 4 5 5
+1 0 5 2
+4 0 4 1
+5 5 5 1
+2 3 2 4
+0
diff --git a/public_test_cases/p00858/output.0.txt b/public_test_cases/p00858/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaaaf6e9e93490a0a1206e17dc4ad9df38a02db4
--- /dev/null
+++ b/public_test_cases/p00858/output.0.txt
@@ -0,0 +1,11 @@
+1 1
+3 1
+3 4
+4 4
+0
+-1
+5 5
+5 2
+3 1
+1 0
+0
diff --git a/public_test_cases/p00858/output.1.txt b/public_test_cases/p00858/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaaaf6e9e93490a0a1206e17dc4ad9df38a02db4
--- /dev/null
+++ b/public_test_cases/p00858/output.1.txt
@@ -0,0 +1,11 @@
+1 1
+3 1
+3 4
+4 4
+0
+-1
+5 5
+5 2
+3 1
+1 0
+0
diff --git a/public_test_cases/p00859/input.0.txt b/public_test_cases/p00859/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4eb2878a454838c329c083f355b5fc44f43b651
--- /dev/null
+++ b/public_test_cases/p00859/input.0.txt
@@ -0,0 +1,54 @@
+4 5
+1 2 3
+1 3 5
+1 4 6
+2 4 6
+3 4 7
+4 6
+1 2 10
+1 3 100
+1 4 90
+2 3 20
+2 4 80
+3 4 40
+2 1
+1 2 1
+3 0
+3 1
+1 2 1
+3 3
+1 2 2
+2 3 5
+1 3 6
+5 10
+1 2 110
+1 3 120
+1 4 130
+1 5 120
+2 3 110
+2 4 120
+2 5 130
+3 4 120
+3 5 110
+4 5 120
+5 10
+1 2 9384
+1 3 887
+1 4 2778
+1 5 6916
+2 3 7794
+2 4 8336
+2 5 5387
+3 4 493
+3 5 6650
+4 5 1422
+5 8
+1 2 1
+2 3 100
+3 4 100
+4 5 100
+1 5 50
+2 5 50
+3 5 50
+4 1 150
+0 0
diff --git a/public_test_cases/p00859/input.1.txt b/public_test_cases/p00859/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4eb2878a454838c329c083f355b5fc44f43b651
--- /dev/null
+++ b/public_test_cases/p00859/input.1.txt
@@ -0,0 +1,54 @@
+4 5
+1 2 3
+1 3 5
+1 4 6
+2 4 6
+3 4 7
+4 6
+1 2 10
+1 3 100
+1 4 90
+2 3 20
+2 4 80
+3 4 40
+2 1
+1 2 1
+3 0
+3 1
+1 2 1
+3 3
+1 2 2
+2 3 5
+1 3 6
+5 10
+1 2 110
+1 3 120
+1 4 130
+1 5 120
+2 3 110
+2 4 120
+2 5 130
+3 4 120
+3 5 110
+4 5 120
+5 10
+1 2 9384
+1 3 887
+1 4 2778
+1 5 6916
+2 3 7794
+2 4 8336
+2 5 5387
+3 4 493
+3 5 6650
+4 5 1422
+5 8
+1 2 1
+2 3 100
+3 4 100
+4 5 100
+1 5 50
+2 5 50
+3 5 50
+4 1 150
+0 0
diff --git a/public_test_cases/p00859/output.0.txt b/public_test_cases/p00859/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0058daf62626e631b84196cb007cafcbdcf57e8c
--- /dev/null
+++ b/public_test_cases/p00859/output.0.txt
@@ -0,0 +1,9 @@
+1
+20
+0
+-1
+-1
+1
+0
+1686
+50
diff --git a/public_test_cases/p00859/output.1.txt b/public_test_cases/p00859/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0058daf62626e631b84196cb007cafcbdcf57e8c
--- /dev/null
+++ b/public_test_cases/p00859/output.1.txt
@@ -0,0 +1,9 @@
+1
+20
+0
+-1
+-1
+1
+0
+1686
+50
diff --git a/public_test_cases/p00860/input.0.txt b/public_test_cases/p00860/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..590b82730942cf58cc97c716038024a65dd561b2
--- /dev/null
+++ b/public_test_cases/p00860/input.0.txt
@@ -0,0 +1,29 @@
+5 5 2
+#####
+#A#B#
+# #
+#b#a#
+#####
+16 4 3
+################
+## ########## ##
+# ABCcba #
+################
+16 16 3
+################
+### ## # ##
+## # ## # c#
+# ## ########b#
+# ## # # # #
+# # ## # # ##
+## a# # # # #
+### ## #### ## #
+## # # # #
+# ##### # ## ##
+#### #B# # #
+## C# # ###
+# # # ####### #
+# ###### A## #
+# # ##
+################
+0 0 0
diff --git a/public_test_cases/p00860/input.1.txt b/public_test_cases/p00860/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..590b82730942cf58cc97c716038024a65dd561b2
--- /dev/null
+++ b/public_test_cases/p00860/input.1.txt
@@ -0,0 +1,29 @@
+5 5 2
+#####
+#A#B#
+# #
+#b#a#
+#####
+16 4 3
+################
+## ########## ##
+# ABCcba #
+################
+16 16 3
+################
+### ## # ##
+## # ## # c#
+# ## ########b#
+# ## # # # #
+# # ## # # ##
+## a# # # # #
+### ## #### ## #
+## # # # #
+# ##### # ## ##
+#### #B# # #
+## C# # ###
+# # # ####### #
+# ###### A## #
+# # ##
+################
+0 0 0
diff --git a/public_test_cases/p00860/input.2.txt b/public_test_cases/p00860/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..700a813e878f1f55357642eb009bfb8bde9cd644
--- /dev/null
+++ b/public_test_cases/p00860/input.2.txt
@@ -0,0 +1,29 @@
+5 5 2
+
+A#B#
+
+b#a#
+
+16 4 3
+
+
+ABCcba #
+
+16 16 3
+
+
+c#
+b#
+
+
+a# # # # #
+
+
+
+B# # #
+C# # ###
+
+A## #
+
+
+0 0 0
diff --git a/public_test_cases/p00860/output.0.txt b/public_test_cases/p00860/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cea2e5dda663a1e0f93c49cd91f04660232d6ad7
--- /dev/null
+++ b/public_test_cases/p00860/output.0.txt
@@ -0,0 +1,3 @@
+7
+36
+77
diff --git a/public_test_cases/p00860/output.1.txt b/public_test_cases/p00860/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cea2e5dda663a1e0f93c49cd91f04660232d6ad7
--- /dev/null
+++ b/public_test_cases/p00860/output.1.txt
@@ -0,0 +1,3 @@
+7
+36
+77
diff --git a/public_test_cases/p00860/output.2.txt b/public_test_cases/p00860/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cea2e5dda663a1e0f93c49cd91f04660232d6ad7
--- /dev/null
+++ b/public_test_cases/p00860/output.2.txt
@@ -0,0 +1,3 @@
+7
+36
+77
diff --git a/public_test_cases/p00861/input.0.txt b/public_test_cases/p00861/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c81e59ea99a105d866d4bc48ff9d961105b405c8
--- /dev/null
+++ b/public_test_cases/p00861/input.0.txt
@@ -0,0 +1,27 @@
+a[3]
+a[0]=a[1]
+.
+x[1]
+x[0]=x[0]
+.
+a[0]
+a[0]=1
+.
+b[2]
+b[0]=2
+b[1]=b[b[0]]
+b[0]=b[1]
+.
+g[2]
+G[10]
+g[0]=0
+g[1]=G[0]
+.
+a[2147483647]
+a[0]=1
+B[2]
+B[a[0]]=2
+a[B[a[0]]]=3
+a[2147483646]=a[2]
+.
+.
diff --git a/public_test_cases/p00861/input.1.txt b/public_test_cases/p00861/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c81e59ea99a105d866d4bc48ff9d961105b405c8
--- /dev/null
+++ b/public_test_cases/p00861/input.1.txt
@@ -0,0 +1,27 @@
+a[3]
+a[0]=a[1]
+.
+x[1]
+x[0]=x[0]
+.
+a[0]
+a[0]=1
+.
+b[2]
+b[0]=2
+b[1]=b[b[0]]
+b[0]=b[1]
+.
+g[2]
+G[10]
+g[0]=0
+g[1]=G[0]
+.
+a[2147483647]
+a[0]=1
+B[2]
+B[a[0]]=2
+a[B[a[0]]]=3
+a[2147483646]=a[2]
+.
+.
diff --git a/public_test_cases/p00861/output.0.txt b/public_test_cases/p00861/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d494e1966d08f9d35cd07e536f9d75b3aa99584
--- /dev/null
+++ b/public_test_cases/p00861/output.0.txt
@@ -0,0 +1,6 @@
+2
+2
+2
+3
+4
+0
diff --git a/public_test_cases/p00861/output.1.txt b/public_test_cases/p00861/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d494e1966d08f9d35cd07e536f9d75b3aa99584
--- /dev/null
+++ b/public_test_cases/p00861/output.1.txt
@@ -0,0 +1,6 @@
+2
+2
+2
+3
+4
+0
diff --git a/public_test_cases/p00862/input.0.txt b/public_test_cases/p00862/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef89fd81459b80878fba6b6df2a74efbea3c3b55
--- /dev/null
+++ b/public_test_cases/p00862/input.0.txt
@@ -0,0 +1,21 @@
+4
+0 0
+10000 0
+10000 10000
+0 10000
+3
+0 0
+10000 0
+7000 1000
+6
+0 40
+100 20
+250 40
+250 70
+100 90
+0 70
+3
+0 0
+10000 10000
+5000 5001
+0
diff --git a/public_test_cases/p00862/input.1.txt b/public_test_cases/p00862/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef89fd81459b80878fba6b6df2a74efbea3c3b55
--- /dev/null
+++ b/public_test_cases/p00862/input.1.txt
@@ -0,0 +1,21 @@
+4
+0 0
+10000 0
+10000 10000
+0 10000
+3
+0 0
+10000 0
+7000 1000
+6
+0 40
+100 20
+250 40
+250 70
+100 90
+0 70
+3
+0 0
+10000 10000
+5000 5001
+0
diff --git a/public_test_cases/p00862/output.0.txt b/public_test_cases/p00862/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d406264897df8e963fa963a58bf019deffe8a6bc
--- /dev/null
+++ b/public_test_cases/p00862/output.0.txt
@@ -0,0 +1,4 @@
+5000.000000
+494.233641
+34.542948
+0.353553
diff --git a/public_test_cases/p00862/output.1.txt b/public_test_cases/p00862/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d406264897df8e963fa963a58bf019deffe8a6bc
--- /dev/null
+++ b/public_test_cases/p00862/output.1.txt
@@ -0,0 +1,4 @@
+5000.000000
+494.233641
+34.542948
+0.353553
diff --git a/public_test_cases/p00863/input.0.txt b/public_test_cases/p00863/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..611f751886ae50ef4f276353d3013c6c2460e40e
--- /dev/null
+++ b/public_test_cases/p00863/input.0.txt
@@ -0,0 +1,6 @@
+3 2 2 2
+3 2 2 3
+2 2 3 4
+31 4 2 3
+3 2 2 7
+0 0 0 0
diff --git a/public_test_cases/p00863/input.1.txt b/public_test_cases/p00863/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..611f751886ae50ef4f276353d3013c6c2460e40e
--- /dev/null
+++ b/public_test_cases/p00863/input.1.txt
@@ -0,0 +1,6 @@
+3 2 2 2
+3 2 2 3
+2 2 3 4
+31 4 2 3
+3 2 2 7
+0 0 0 0
diff --git a/public_test_cases/p00863/output.0.txt b/public_test_cases/p00863/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b3d86db9c27cc59874e8bba8948d55169e19c04
--- /dev/null
+++ b/public_test_cases/p00863/output.0.txt
@@ -0,0 +1,5 @@
+1 0 -10 0 1
+1 0 -9 -4 27 -36 -23
+1 0 -8 0 18 0 -104 0 1
+1 0 0 -8 -93 0 24 -2976 2883 -32 -3720 -23064 -29775
+1 0 -21 0 189 0 -945 -4 2835 -252 -5103 -1260 5103 -756 -2183
diff --git a/public_test_cases/p00863/output.1.txt b/public_test_cases/p00863/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b3d86db9c27cc59874e8bba8948d55169e19c04
--- /dev/null
+++ b/public_test_cases/p00863/output.1.txt
@@ -0,0 +1,5 @@
+1 0 -10 0 1
+1 0 -9 -4 27 -36 -23
+1 0 -8 0 18 0 -104 0 1
+1 0 0 -8 -93 0 24 -2976 2883 -32 -3720 -23064 -29775
+1 0 -21 0 189 0 -945 -4 2835 -252 -5103 -1260 5103 -756 -2183
diff --git a/public_test_cases/p00864/input.0.txt b/public_test_cases/p00864/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66155414fa08cfc2e0d38b2cff56e34c7ee7651d
--- /dev/null
+++ b/public_test_cases/p00864/input.0.txt
@@ -0,0 +1,20 @@
+3 50
+100
+0
+100
+3 50
+100
+100
+50
+10 10
+1
+2
+3
+4
+5
+16
+17
+18
+29
+30
+0 0
diff --git a/public_test_cases/p00864/input.1.txt b/public_test_cases/p00864/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66155414fa08cfc2e0d38b2cff56e34c7ee7651d
--- /dev/null
+++ b/public_test_cases/p00864/input.1.txt
@@ -0,0 +1,20 @@
+3 50
+100
+0
+100
+3 50
+100
+100
+50
+10 10
+1
+2
+3
+4
+5
+16
+17
+18
+29
+30
+0 0
diff --git a/public_test_cases/p00864/output.0.txt b/public_test_cases/p00864/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..463ff6160c13a05021f1fc4389b68f5dcde89244
--- /dev/null
+++ b/public_test_cases/p00864/output.0.txt
@@ -0,0 +1,3 @@
+0.51
+0.26
+1.4766666666666667
diff --git a/public_test_cases/p00864/output.1.txt b/public_test_cases/p00864/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..463ff6160c13a05021f1fc4389b68f5dcde89244
--- /dev/null
+++ b/public_test_cases/p00864/output.1.txt
@@ -0,0 +1,3 @@
+0.51
+0.26
+1.4766666666666667
diff --git a/public_test_cases/p00865/input.0.txt b/public_test_cases/p00865/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72d51954251804b00cdccb3c0c9a85d2b293f084
--- /dev/null
+++ b/public_test_cases/p00865/input.0.txt
@@ -0,0 +1,6 @@
+2 6 0
+2 6 3
+3 10 9
+13 3 27
+1 2008 3
+0 0 0
diff --git a/public_test_cases/p00865/input.1.txt b/public_test_cases/p00865/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72d51954251804b00cdccb3c0c9a85d2b293f084
--- /dev/null
+++ b/public_test_cases/p00865/input.1.txt
@@ -0,0 +1,6 @@
+2 6 0
+2 6 3
+3 10 9
+13 3 27
+1 2008 3
+0 0 0
diff --git a/public_test_cases/p00865/output.0.txt b/public_test_cases/p00865/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37982e091babd37f17da66c0ad7bbe361a06d30d
--- /dev/null
+++ b/public_test_cases/p00865/output.0.txt
@@ -0,0 +1,5 @@
+7.00000000
+4.11111111
+7.71000000
+1.42902599
+1001.50298805
diff --git a/public_test_cases/p00865/output.1.txt b/public_test_cases/p00865/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37982e091babd37f17da66c0ad7bbe361a06d30d
--- /dev/null
+++ b/public_test_cases/p00865/output.1.txt
@@ -0,0 +1,5 @@
+7.00000000
+4.11111111
+7.71000000
+1.42902599
+1001.50298805
diff --git a/public_test_cases/p00866/input.0.txt b/public_test_cases/p00866/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b9d681f8a33d671ff0fead0002ea1e536f733a8
--- /dev/null
+++ b/public_test_cases/p00866/input.0.txt
@@ -0,0 +1,26 @@
+3
+8 8 18
+32 32 32
+57 2 57
+5
+49 3 49
+7 30 44
+27 21 21
+33 56 56
+21 46 4
+3
+45 52 28
+36 26 36
+20 55 50
+10
+33 8 39
+50 57 43
+35 21 12
+21 17 11
+16 21 58
+45 40 53
+45 30 53
+39 1 8
+55 48 30
+7 48 15
+0
diff --git a/public_test_cases/p00866/input.1.txt b/public_test_cases/p00866/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b9d681f8a33d671ff0fead0002ea1e536f733a8
--- /dev/null
+++ b/public_test_cases/p00866/input.1.txt
@@ -0,0 +1,26 @@
+3
+8 8 18
+32 32 32
+57 2 57
+5
+49 3 49
+7 30 44
+27 21 21
+33 56 56
+21 46 4
+3
+45 52 28
+36 26 36
+20 55 50
+10
+33 8 39
+50 57 43
+35 21 12
+21 17 11
+16 21 58
+45 40 53
+45 30 53
+39 1 8
+55 48 30
+7 48 15
+0
diff --git a/public_test_cases/p00866/output.0.txt b/public_test_cases/p00866/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1f603c9f7f7eaca578b75a254a5f0db83ca258f
--- /dev/null
+++ b/public_test_cases/p00866/output.0.txt
@@ -0,0 +1,4 @@
+00:00:00 00:00:10
+06:14:56 06:32:09
+07:27:37 07:32:02
+05:17:40 05:21:03
diff --git a/public_test_cases/p00866/output.1.txt b/public_test_cases/p00866/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1f603c9f7f7eaca578b75a254a5f0db83ca258f
--- /dev/null
+++ b/public_test_cases/p00866/output.1.txt
@@ -0,0 +1,4 @@
+00:00:00 00:00:10
+06:14:56 06:32:09
+07:27:37 07:32:02
+05:17:40 05:21:03
diff --git a/public_test_cases/p00867/input.0.txt b/public_test_cases/p00867/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c35a66fed309d677c3bd0cfea2ba3ef8ad430488
--- /dev/null
+++ b/public_test_cases/p00867/input.0.txt
@@ -0,0 +1,41 @@
+9
+60 140 200 300
+300 105 330 135
+330 135 250 215
+240 205 250 215
+298 167 285 154
+30 40 30 90
+30 90 150 90
+150 90 150 20
+30 40 150 40
+8
+320 20 300 60
+320 20 380 50
+380 50 240 330
+10 50 40 20
+10 50 110 150
+110 150 180 80
+40 20 37 17
+37 17 27 27
+20
+72 222 132 182
+204 154 204 54
+510 410 520 370
+404 54 204 54
+530 450 410 450
+204 68 404 68
+80 110 120 30
+130 160 180 60
+520 370 320 320
+310 360 320 320
+120 30 180 60
+60 100 80 110
+404 154 204 154
+80 60 60 100
+430 550 590 550
+510 410 310 360
+430 450 430 550
+404 54 404 154
+232 202 142 262
+142 262 102 202
+0
diff --git a/public_test_cases/p00867/input.1.txt b/public_test_cases/p00867/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c35a66fed309d677c3bd0cfea2ba3ef8ad430488
--- /dev/null
+++ b/public_test_cases/p00867/input.1.txt
@@ -0,0 +1,41 @@
+9
+60 140 200 300
+300 105 330 135
+330 135 250 215
+240 205 250 215
+298 167 285 154
+30 40 30 90
+30 90 150 90
+150 90 150 20
+30 40 150 40
+8
+320 20 300 60
+320 20 380 50
+380 50 240 330
+10 50 40 20
+10 50 110 150
+110 150 180 80
+40 20 37 17
+37 17 27 27
+20
+72 222 132 182
+204 154 204 54
+510 410 520 370
+404 54 204 54
+530 450 410 450
+204 68 404 68
+80 110 120 30
+130 160 180 60
+520 370 320 320
+310 360 320 320
+120 30 180 60
+60 100 80 110
+404 154 204 154
+80 60 60 100
+430 550 590 550
+510 410 310 360
+430 450 430 550
+404 54 404 154
+232 202 142 262
+142 262 102 202
+0
diff --git a/public_test_cases/p00867/output.0.txt b/public_test_cases/p00867/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a89181973e323f052e43b9fd19b6bf59d203d9
--- /dev/null
+++ b/public_test_cases/p00867/output.0.txt
@@ -0,0 +1,3 @@
+0 1 0 1 0 0 0 0 0 1
+0 0 0 0 0 1 0 1 0 0
+1 0 1 0 2 0 0 0 1 0
diff --git a/public_test_cases/p00867/output.1.txt b/public_test_cases/p00867/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a89181973e323f052e43b9fd19b6bf59d203d9
--- /dev/null
+++ b/public_test_cases/p00867/output.1.txt
@@ -0,0 +1,3 @@
+0 1 0 1 0 0 0 0 0 1
+0 0 0 0 0 1 0 1 0 0
+1 0 1 0 2 0 0 0 1 0
diff --git a/public_test_cases/p00868/input.0.txt b/public_test_cases/p00868/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e0510732350db863a7a92bc4aa6f58e0909a329
--- /dev/null
+++ b/public_test_cases/p00868/input.0.txt
@@ -0,0 +1,12 @@
+3
+-20 -20 -24
+100 100 100 30
+10 8 3 5
+-70 -70 -84 5
+4
+0 47 84
+-23 41 42 8
+45 -10 14 19
+-5 28 47 12
+-27 68 34 14
+0
diff --git a/public_test_cases/p00868/input.1.txt b/public_test_cases/p00868/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e0510732350db863a7a92bc4aa6f58e0909a329
--- /dev/null
+++ b/public_test_cases/p00868/input.1.txt
@@ -0,0 +1,12 @@
+3
+-20 -20 -24
+100 100 100 30
+10 8 3 5
+-70 -70 -84 5
+4
+0 47 84
+-23 41 42 8
+45 -10 14 19
+-5 28 47 12
+-27 68 34 14
+0
diff --git a/public_test_cases/p00868/output.0.txt b/public_test_cases/p00868/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..126c9ba1b713ca0d44e2bbc46cd16e26a583b73a
--- /dev/null
+++ b/public_test_cases/p00868/output.0.txt
@@ -0,0 +1,2 @@
+79.0940 79.0940 94.9128
+-21.8647 54.9770 34.1761
diff --git a/public_test_cases/p00868/output.1.txt b/public_test_cases/p00868/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..126c9ba1b713ca0d44e2bbc46cd16e26a583b73a
--- /dev/null
+++ b/public_test_cases/p00868/output.1.txt
@@ -0,0 +1,2 @@
+79.0940 79.0940 94.9128
+-21.8647 54.9770 34.1761
diff --git a/public_test_cases/p00869/input.0.txt b/public_test_cases/p00869/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ee0ce4951bf2db064da1de7921e73786b24fef2
--- /dev/null
+++ b/public_test_cases/p00869/input.0.txt
@@ -0,0 +1,22 @@
+10 5
+kkkkkwwwww
+w#wwwrwwww
+wwwwbgwwww
+kwwmcwwwkk
+kkwywwwkkk
+rgbcmy
+10 5
+kkkkkkkkkk
+k#kkkkkkkk
+kwkkkkkwwk
+kcmyrgbwwk
+kwwwwwwwwk
+cmyrgb
+10 5
+kkkkkkkkkk
+k#kkkkkkkk
+kwkkkkkwkk
+kcmyrgbwwk
+kwwwwwwwwk
+cmyrgb
+0 0
diff --git a/public_test_cases/p00869/input.1.txt b/public_test_cases/p00869/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ee0ce4951bf2db064da1de7921e73786b24fef2
--- /dev/null
+++ b/public_test_cases/p00869/input.1.txt
@@ -0,0 +1,22 @@
+10 5
+kkkkkwwwww
+w#wwwrwwww
+wwwwbgwwww
+kwwmcwwwkk
+kkwywwwkkk
+rgbcmy
+10 5
+kkkkkkkkkk
+k#kkkkkkkk
+kwkkkkkwwk
+kcmyrgbwwk
+kwwwwwwwwk
+cmyrgb
+10 5
+kkkkkkkkkk
+k#kkkkkkkk
+kwkkkkkwkk
+kcmyrgbwwk
+kwwwwwwwwk
+cmyrgb
+0 0
diff --git a/public_test_cases/p00869/output.0.txt b/public_test_cases/p00869/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99eed9587ce5bd74c6db5adb11ae9ff4061525cc
--- /dev/null
+++ b/public_test_cases/p00869/output.0.txt
@@ -0,0 +1,3 @@
+9
+49
+unreachable
diff --git a/public_test_cases/p00869/output.1.txt b/public_test_cases/p00869/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99eed9587ce5bd74c6db5adb11ae9ff4061525cc
--- /dev/null
+++ b/public_test_cases/p00869/output.1.txt
@@ -0,0 +1,3 @@
+9
+49
+unreachable
diff --git a/public_test_cases/p00870/input.0.txt b/public_test_cases/p00870/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ae74d7202160a46538bad8ed41da20bc03daf8b
--- /dev/null
+++ b/public_test_cases/p00870/input.0.txt
@@ -0,0 +1,19 @@
+3 1
+aa
+b
+ccc
+aabccczbaacccbaazaabbcccaa
+3 1
+a
+b
+c
+cbbcbcbabaacabccaccbaacbccbcaaaccccbcbcbbcacbaacccaccbbcaacbbabbabaccc
+3 4
+aaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+0 0
diff --git a/public_test_cases/p00870/input.1.txt b/public_test_cases/p00870/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ae74d7202160a46538bad8ed41da20bc03daf8b
--- /dev/null
+++ b/public_test_cases/p00870/input.1.txt
@@ -0,0 +1,19 @@
+3 1
+aa
+b
+ccc
+aabccczbaacccbaazaabbcccaa
+3 1
+a
+b
+c
+cbbcbcbabaacabccaccbaacbccbcaaaccccbcbcbbcacbaacccaccbbcaacbbabbabaccc
+3 4
+aaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
+0 0
diff --git a/public_test_cases/p00870/output.0.txt b/public_test_cases/p00870/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c600706208898f75efb631c4e74a4701f53d446
--- /dev/null
+++ b/public_test_cases/p00870/output.0.txt
@@ -0,0 +1,3 @@
+5
+12
+197
diff --git a/public_test_cases/p00870/output.1.txt b/public_test_cases/p00870/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c600706208898f75efb631c4e74a4701f53d446
--- /dev/null
+++ b/public_test_cases/p00870/output.1.txt
@@ -0,0 +1,3 @@
+5
+12
+197
diff --git a/public_test_cases/p00871/input.0.txt b/public_test_cases/p00871/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f40dfa214eb9419a2aa2acaf474c0e0cbbf3e5b
--- /dev/null
+++ b/public_test_cases/p00871/input.0.txt
@@ -0,0 +1,36 @@
+start 0 0
+arc 2 2 -2
+line 2 5
+arc 0 3 -2
+close
+start -1 1
+line 2 1
+line 2 2
+line -2 2
+arc -3 1 -1
+line -3 -2
+arc -2 -3 -1
+line 2 -3
+line 2 -2
+line -1 -2
+line -1 -1
+arc -1 0 2
+close
+start 0 0
+line 3 0
+line 5 -1
+arc 4 -2 -1
+line 6 -2
+line 6 1
+line 7 3
+arc 8 2 -1
+line 8 4
+line 5 4
+line 3 5
+arc 4 6 -1
+line 2 6
+line 2 3
+line 1 1
+arc 0 2 -1
+close
+end
diff --git a/public_test_cases/p00871/input.1.txt b/public_test_cases/p00871/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f40dfa214eb9419a2aa2acaf474c0e0cbbf3e5b
--- /dev/null
+++ b/public_test_cases/p00871/input.1.txt
@@ -0,0 +1,36 @@
+start 0 0
+arc 2 2 -2
+line 2 5
+arc 0 3 -2
+close
+start -1 1
+line 2 1
+line 2 2
+line -2 2
+arc -3 1 -1
+line -3 -2
+arc -2 -3 -1
+line 2 -3
+line 2 -2
+line -1 -2
+line -1 -1
+arc -1 0 2
+close
+start 0 0
+line 3 0
+line 5 -1
+arc 4 -2 -1
+line 6 -2
+line 6 1
+line 7 3
+arc 8 2 -1
+line 8 4
+line 5 4
+line 3 5
+arc 4 6 -1
+line 2 6
+line 2 3
+line 1 1
+arc 0 2 -1
+close
+end
diff --git a/public_test_cases/p00871/output.0.txt b/public_test_cases/p00871/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58a13a95dd3225665104ffc2a39908e38b3d8c51
--- /dev/null
+++ b/public_test_cases/p00871/output.0.txt
@@ -0,0 +1,3 @@
+1.00000 2.50000 +
+-1.01522 -0.50000 -
+4.00000 2.00000 +
diff --git a/public_test_cases/p00871/output.1.txt b/public_test_cases/p00871/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58a13a95dd3225665104ffc2a39908e38b3d8c51
--- /dev/null
+++ b/public_test_cases/p00871/output.1.txt
@@ -0,0 +1,3 @@
+1.00000 2.50000 +
+-1.01522 -0.50000 -
+4.00000 2.00000 +
diff --git a/public_test_cases/p00872/input.0.txt b/public_test_cases/p00872/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..751bf1a2eaf0f2aa62d1c5433b6da9a42de3ed41
--- /dev/null
+++ b/public_test_cases/p00872/input.0.txt
@@ -0,0 +1,7 @@
+-(x^3-3x^2+3x-1)
+(x-1)^2
+x^2+10x+25
+x^2+6x+5
+x^3+1
+x-1
+.
diff --git a/public_test_cases/p00872/input.1.txt b/public_test_cases/p00872/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..751bf1a2eaf0f2aa62d1c5433b6da9a42de3ed41
--- /dev/null
+++ b/public_test_cases/p00872/input.1.txt
@@ -0,0 +1,7 @@
+-(x^3-3x^2+3x-1)
+(x-1)^2
+x^2+10x+25
+x^2+6x+5
+x^3+1
+x-1
+.
diff --git a/public_test_cases/p00872/output.0.txt b/public_test_cases/p00872/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..345cbe0c440f6f6e615481285befb9cd18f98d6e
--- /dev/null
+++ b/public_test_cases/p00872/output.0.txt
@@ -0,0 +1,3 @@
+x^2-2x+1
+x+5
+1
diff --git a/public_test_cases/p00872/output.1.txt b/public_test_cases/p00872/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..345cbe0c440f6f6e615481285befb9cd18f98d6e
--- /dev/null
+++ b/public_test_cases/p00872/output.1.txt
@@ -0,0 +1,3 @@
+x^2-2x+1
+x+5
+1
diff --git a/public_test_cases/p00873/input.0.txt b/public_test_cases/p00873/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e667cffa9fd83dcd8834b0b0d65198ae35b151e
--- /dev/null
+++ b/public_test_cases/p00873/input.0.txt
@@ -0,0 +1,63 @@
+2
+0 0
+10 9
+4
+0 0
+3 1
+0 3
+3 3
+10
+2 2
+4 2
+6 2
+2 4
+4 4
+6 4
+2 6
+4 6
+6 6
+3 3
+10
+0 0
+2 0
+4 0
+0 2
+2 2
+4 2
+0 4
+2 4
+4 4
+6 8
+9
+0 0
+1 0
+3 0
+0 1
+1 1
+3 1
+0 2
+1 2
+2 2
+10
+0 0
+1 0
+0 1
+1 1
+9 9
+9 10
+10 9
+10 10
+0 2
+10 8
+10
+0 0
+0 10
+2 0
+2 1
+2 7
+2 10
+5 1
+6 7
+9 2
+10 9
+0
diff --git a/public_test_cases/p00873/input.1.txt b/public_test_cases/p00873/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e667cffa9fd83dcd8834b0b0d65198ae35b151e
--- /dev/null
+++ b/public_test_cases/p00873/input.1.txt
@@ -0,0 +1,63 @@
+2
+0 0
+10 9
+4
+0 0
+3 1
+0 3
+3 3
+10
+2 2
+4 2
+6 2
+2 4
+4 4
+6 4
+2 6
+4 6
+6 6
+3 3
+10
+0 0
+2 0
+4 0
+0 2
+2 2
+4 2
+0 4
+2 4
+4 4
+6 8
+9
+0 0
+1 0
+3 0
+0 1
+1 1
+3 1
+0 2
+1 2
+2 2
+10
+0 0
+1 0
+0 1
+1 1
+9 9
+9 10
+10 9
+10 10
+0 2
+10 8
+10
+0 0
+0 10
+2 0
+2 1
+2 7
+2 10
+5 1
+6 7
+9 2
+10 9
+0
diff --git a/public_test_cases/p00873/output.0.txt b/public_test_cases/p00873/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98fb59ce2513aea48bbb22eaf2f2fbf2fb3d5a4c
--- /dev/null
+++ b/public_test_cases/p00873/output.0.txt
@@ -0,0 +1,7 @@
+0 13.45362405
+1 18.48683298
+3 24.14213562
+4 24.94813673
+3 12.24264069
+3 60.78289622
+3 502.7804353
diff --git a/public_test_cases/p00873/output.1.txt b/public_test_cases/p00873/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98fb59ce2513aea48bbb22eaf2f2fbf2fb3d5a4c
--- /dev/null
+++ b/public_test_cases/p00873/output.1.txt
@@ -0,0 +1,7 @@
+0 13.45362405
+1 18.48683298
+3 24.14213562
+4 24.94813673
+3 12.24264069
+3 60.78289622
+3 502.7804353
diff --git a/public_test_cases/p00874/input.0.txt b/public_test_cases/p00874/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..892cc4839b74a6e498e1396480e225eee2e2b643
--- /dev/null
+++ b/public_test_cases/p00874/input.0.txt
@@ -0,0 +1,28 @@
+5 5
+1 2 3 4 5
+1 2 3 4 5
+5 5
+2 5 4 1 3
+4 1 5 3 2
+5 5
+1 2 3 4 5
+3 3 3 4 5
+3 3
+7 7 7
+7 7 7
+3 3
+4 4 4
+4 3 4
+4 3
+4 2 2 4
+4 2 1
+4 4
+2 8 8 8
+2 3 8 3
+10 10
+9 9 9 9 9 9 9 9 9 9
+9 9 9 9 9 9 9 9 9 9
+10 9
+20 1 20 20 20 20 20 18 20 20
+20 20 20 20 7 20 20 20 20
+0 0
diff --git a/public_test_cases/p00874/input.1.txt b/public_test_cases/p00874/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..892cc4839b74a6e498e1396480e225eee2e2b643
--- /dev/null
+++ b/public_test_cases/p00874/input.1.txt
@@ -0,0 +1,28 @@
+5 5
+1 2 3 4 5
+1 2 3 4 5
+5 5
+2 5 4 1 3
+4 1 5 3 2
+5 5
+1 2 3 4 5
+3 3 3 4 5
+3 3
+7 7 7
+7 7 7
+3 3
+4 4 4
+4 3 4
+4 3
+4 2 2 4
+4 2 1
+4 4
+2 8 8 8
+2 3 8 3
+10 10
+9 9 9 9 9 9 9 9 9 9
+9 9 9 9 9 9 9 9 9 9
+10 9
+20 1 20 20 20 20 20 18 20 20
+20 20 20 20 7 20 20 20 20
+0 0
diff --git a/public_test_cases/p00874/output.0.txt b/public_test_cases/p00874/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0568bcccd259ced9c0fbcd1d1666a7fe6ce2655
--- /dev/null
+++ b/public_test_cases/p00874/output.0.txt
@@ -0,0 +1,9 @@
+15
+15
+21
+21
+15
+13
+32
+90
+186
diff --git a/public_test_cases/p00874/output.1.txt b/public_test_cases/p00874/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0568bcccd259ced9c0fbcd1d1666a7fe6ce2655
--- /dev/null
+++ b/public_test_cases/p00874/output.1.txt
@@ -0,0 +1,9 @@
+15
+15
+21
+21
+15
+13
+32
+90
+186
diff --git a/public_test_cases/p00875/input.0.txt b/public_test_cases/p00875/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfc5b1816b6431bcb66b9cc1530382517bfe35ec
--- /dev/null
+++ b/public_test_cases/p00875/input.0.txt
@@ -0,0 +1,29 @@
+2
+a bb
+b aa
+a
+bbbbbbbb
+1
+a aa
+a
+aaaaa
+3
+ab aab
+abc aadc
+ad dee
+abc
+deeeeeeeec
+10
+a abc
+b bai
+c acf
+d bed
+e abh
+f fag
+g abe
+h bag
+i aaj
+j bbb
+a
+abacfaabe
+0
diff --git a/public_test_cases/p00875/input.1.txt b/public_test_cases/p00875/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfc5b1816b6431bcb66b9cc1530382517bfe35ec
--- /dev/null
+++ b/public_test_cases/p00875/input.1.txt
@@ -0,0 +1,29 @@
+2
+a bb
+b aa
+a
+bbbbbbbb
+1
+a aa
+a
+aaaaa
+3
+ab aab
+abc aadc
+ad dee
+abc
+deeeeeeeec
+10
+a abc
+b bai
+c acf
+d bed
+e abh
+f fag
+g abe
+h bag
+i aaj
+j bbb
+a
+abacfaabe
+0
diff --git a/public_test_cases/p00875/output.0.txt b/public_test_cases/p00875/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97f5f07f281fd5ee1fd427456086609aa4b3113b
--- /dev/null
+++ b/public_test_cases/p00875/output.0.txt
@@ -0,0 +1,4 @@
+3
+-1
+7
+4
diff --git a/public_test_cases/p00875/output.1.txt b/public_test_cases/p00875/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97f5f07f281fd5ee1fd427456086609aa4b3113b
--- /dev/null
+++ b/public_test_cases/p00875/output.1.txt
@@ -0,0 +1,4 @@
+3
+-1
+7
+4
diff --git a/public_test_cases/p00876/input.0.txt b/public_test_cases/p00876/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a35f3f582c1ff6bdc9d85d898ee78f9d3da8e0cc
--- /dev/null
+++ b/public_test_cases/p00876/input.0.txt
@@ -0,0 +1,16 @@
+2
+10 30
+15 20
+2
+10 240
+15 160
+3
+2 6
+7 2
+8 2
+4
+2 4
+7 2
+8 2
+18 1
+0
diff --git a/public_test_cases/p00876/input.1.txt b/public_test_cases/p00876/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a35f3f582c1ff6bdc9d85d898ee78f9d3da8e0cc
--- /dev/null
+++ b/public_test_cases/p00876/input.1.txt
@@ -0,0 +1,16 @@
+2
+10 30
+15 20
+2
+10 240
+15 160
+3
+2 6
+7 2
+8 2
+4
+2 4
+7 2
+8 2
+18 1
+0
diff --git a/public_test_cases/p00876/output.0.txt b/public_test_cases/p00876/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..148e0e9a34e9eca3bf7edd03a130874f0cf4a37e
--- /dev/null
+++ b/public_test_cases/p00876/output.0.txt
@@ -0,0 +1,4 @@
+600
+4800
+36
+40
diff --git a/public_test_cases/p00876/output.1.txt b/public_test_cases/p00876/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..148e0e9a34e9eca3bf7edd03a130874f0cf4a37e
--- /dev/null
+++ b/public_test_cases/p00876/output.1.txt
@@ -0,0 +1,4 @@
+600
+4800
+36
+40
diff --git a/public_test_cases/p00877/input.0.txt b/public_test_cases/p00877/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1eec29514f55e30798f53a2ec58a3dd2f815e04
--- /dev/null
+++ b/public_test_cases/p00877/input.0.txt
@@ -0,0 +1,61 @@
+3 3
+100 700
+200 200
+600 600
+500 100
+500 300
+800 500
+3 3
+100 300
+400 600
+400 100
+600 400
+500 900
+300 300
+3 4
+300 300
+500 300
+400 600
+100 100
+200 900
+500 900
+800 100
+1 2
+300 300
+100 100
+500 500
+1 1
+100 100
+200 100
+2 2
+0 0
+500 700
+1000 1400
+1500 2100
+2 2
+0 0
+1000 1000
+1000 0
+0 1000
+3 3
+0 100
+4999 102
+10000 103
+5001 102
+10000 102
+0 101
+3 3
+100 100
+200 100
+100 200
+0 0
+400 0
+0 400
+3 3
+2813 1640
+2583 2892
+2967 1916
+541 3562
+9298 3686
+7443 7921
+0 0
diff --git a/public_test_cases/p00877/input.1.txt b/public_test_cases/p00877/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1eec29514f55e30798f53a2ec58a3dd2f815e04
--- /dev/null
+++ b/public_test_cases/p00877/input.1.txt
@@ -0,0 +1,61 @@
+3 3
+100 700
+200 200
+600 600
+500 100
+500 300
+800 500
+3 3
+100 300
+400 600
+400 100
+600 400
+500 900
+300 300
+3 4
+300 300
+500 300
+400 600
+100 100
+200 900
+500 900
+800 100
+1 2
+300 300
+100 100
+500 500
+1 1
+100 100
+200 100
+2 2
+0 0
+500 700
+1000 1400
+1500 2100
+2 2
+0 0
+1000 1000
+1000 0
+0 1000
+3 3
+0 100
+4999 102
+10000 103
+5001 102
+10000 102
+0 101
+3 3
+100 100
+200 100
+100 200
+0 0
+400 0
+0 400
+3 3
+2813 1640
+2583 2892
+2967 1916
+541 3562
+9298 3686
+7443 7921
+0 0
diff --git a/public_test_cases/p00877/output.0.txt b/public_test_cases/p00877/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0268770b2979ccc57a517e8a5ce3b5afa736d98e
--- /dev/null
+++ b/public_test_cases/p00877/output.0.txt
@@ -0,0 +1,10 @@
+YES
+NO
+NO
+NO
+YES
+YES
+NO
+NO
+NO
+YES
diff --git a/public_test_cases/p00877/output.1.txt b/public_test_cases/p00877/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0268770b2979ccc57a517e8a5ce3b5afa736d98e
--- /dev/null
+++ b/public_test_cases/p00877/output.1.txt
@@ -0,0 +1,10 @@
+YES
+NO
+NO
+NO
+YES
+YES
+NO
+NO
+NO
+YES
diff --git a/public_test_cases/p00878/input.0.txt b/public_test_cases/p00878/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38c28d0bae5490e23b889fa863e9ca048ce261c1
--- /dev/null
+++ b/public_test_cases/p00878/input.0.txt
@@ -0,0 +1,40 @@
+2
+90 90 80 20
+80 20 75 50
+50 35
+2
+90 90 80 20
+75 50 80 20
+55 20
+3
+5 90 15 70
+95 90 85 75
+20 67 20 73
+20 75
+3
+5 90 15 70
+5 10 15 55
+20 67 20 73
+75 80
+8
+1 48 1 50
+10 73 10 75
+31 87 31 89
+91 94 91 96
+63 97 62 96
+63 80 61 82
+39 97 41 95
+62 89 62 90
+41 93
+5
+2 1 1 1
+-95 1 -96 1
+-190 1 -191 1
+-283 1 -284 1
+-373 1 -374 1
+-450 1
+2
+77 17 89 8
+103 13 85 10
+53 36
+0
diff --git a/public_test_cases/p00878/input.1.txt b/public_test_cases/p00878/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38c28d0bae5490e23b889fa863e9ca048ce261c1
--- /dev/null
+++ b/public_test_cases/p00878/input.1.txt
@@ -0,0 +1,40 @@
+2
+90 90 80 20
+80 20 75 50
+50 35
+2
+90 90 80 20
+75 50 80 20
+55 20
+3
+5 90 15 70
+95 90 85 75
+20 67 20 73
+20 75
+3
+5 90 15 70
+5 10 15 55
+20 67 20 73
+75 80
+8
+1 48 1 50
+10 73 10 75
+31 87 31 89
+91 94 91 96
+63 97 62 96
+63 80 61 82
+39 97 41 95
+62 89 62 90
+41 93
+5
+2 1 1 1
+-95 1 -96 1
+-190 1 -191 1
+-283 1 -284 1
+-373 1 -374 1
+-450 1
+2
+77 17 89 8
+103 13 85 10
+53 36
+0
diff --git a/public_test_cases/p00878/output.0.txt b/public_test_cases/p00878/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..991bf9e7b68121dca3d6a001c0ae1c2b42871dff
--- /dev/null
+++ b/public_test_cases/p00878/output.0.txt
@@ -0,0 +1,7 @@
+3
+4
+3
+2
+32
+1
+0
diff --git a/public_test_cases/p00878/output.1.txt b/public_test_cases/p00878/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..991bf9e7b68121dca3d6a001c0ae1c2b42871dff
--- /dev/null
+++ b/public_test_cases/p00878/output.1.txt
@@ -0,0 +1,7 @@
+3
+4
+3
+2
+32
+1
+0
diff --git a/public_test_cases/p00879/input.0.txt b/public_test_cases/p00879/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec22578fa47f14c5d06c63947d949d9699be162b
--- /dev/null
+++ b/public_test_cases/p00879/input.0.txt
@@ -0,0 +1,10 @@
+N2+H2->NH3.
+Na+Cl2->NaCl.
+Ca(OH)2+CO2->CaCO3+H2O.
+CaCl2+AgNO3->Ca(NO3)2+AgCl.
+C2H5OH+O2->CO2+H2O.
+C4H10+O2->CO2+H2O.
+A12B23+C34D45+ABCD->A6D7+B8C9.
+A98B+B98C+C98->A98B99C99.
+A2+B3+C5+D7+E11+F13->ABCDEF.
+.
diff --git a/public_test_cases/p00879/input.1.txt b/public_test_cases/p00879/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec22578fa47f14c5d06c63947d949d9699be162b
--- /dev/null
+++ b/public_test_cases/p00879/input.1.txt
@@ -0,0 +1,10 @@
+N2+H2->NH3.
+Na+Cl2->NaCl.
+Ca(OH)2+CO2->CaCO3+H2O.
+CaCl2+AgNO3->Ca(NO3)2+AgCl.
+C2H5OH+O2->CO2+H2O.
+C4H10+O2->CO2+H2O.
+A12B23+C34D45+ABCD->A6D7+B8C9.
+A98B+B98C+C98->A98B99C99.
+A2+B3+C5+D7+E11+F13->ABCDEF.
+.
diff --git a/public_test_cases/p00879/output.0.txt b/public_test_cases/p00879/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..301a6005c5704c4534d9dce31b3514fe50b9c7a0
--- /dev/null
+++ b/public_test_cases/p00879/output.0.txt
@@ -0,0 +1,9 @@
+1 3 2
+2 1 2
+1 1 1 1
+1 2 1 2
+1 3 2 3
+2 13 8 10
+2 123 33042 5511 4136
+1 1 1 1
+15015 10010 6006 4290 2730 2310 30030
diff --git a/public_test_cases/p00879/output.1.txt b/public_test_cases/p00879/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..301a6005c5704c4534d9dce31b3514fe50b9c7a0
--- /dev/null
+++ b/public_test_cases/p00879/output.1.txt
@@ -0,0 +1,9 @@
+1 3 2
+2 1 2
+1 1 1 1
+1 2 1 2
+1 3 2 3
+2 13 8 10
+2 123 33042 5511 4136
+1 1 1 1
+15015 10010 6006 4290 2730 2310 30030
diff --git a/public_test_cases/p00880/input.0.txt b/public_test_cases/p00880/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e56388dfbe1a07bf93fbc1d9f889700f1ac8f3a
--- /dev/null
+++ b/public_test_cases/p00880/input.0.txt
@@ -0,0 +1,10 @@
+20 80 -40 -20 120 -20
+20 -20 120 -20 -40 80
+0 0 1 0 0 1
+0 0 999 1 -999 1
+897 -916 847 -972 890 -925
+999 999 -999 -998 -998 -999
+-999 -999 999 -999 0 731
+-999 -999 999 -464 -464 999
+979 -436 -955 -337 157 -439
+0 0 0 0 0 0
diff --git a/public_test_cases/p00880/input.1.txt b/public_test_cases/p00880/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e56388dfbe1a07bf93fbc1d9f889700f1ac8f3a
--- /dev/null
+++ b/public_test_cases/p00880/input.1.txt
@@ -0,0 +1,10 @@
+20 80 -40 -20 120 -20
+20 -20 120 -20 -40 80
+0 0 1 0 0 1
+0 0 999 1 -999 1
+897 -916 847 -972 890 -925
+999 999 -999 -998 -998 -999
+-999 -999 999 -999 0 731
+-999 -999 999 -464 -464 999
+979 -436 -955 -337 157 -439
+0 0 0 0 0 0
diff --git a/public_test_cases/p00880/output.0.txt b/public_test_cases/p00880/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..addd24b3ecb7ad3a5ce1ff41e46334d96ad023d1
--- /dev/null
+++ b/public_test_cases/p00880/output.0.txt
@@ -0,0 +1,9 @@
+21.565935 24.409005 27.107493
+9.942044 19.150565 19.913790
+0.148847 0.207107 0.207107
+0.125125 0.499750 0.499750
+0.373458 0.383897 0.100456
+0.706768 0.353509 0.353509
+365.638023 365.638023 365.601038
+378.524085 378.605339 378.605339
+21.895803 22.052921 5.895714
diff --git a/public_test_cases/p00880/output.1.txt b/public_test_cases/p00880/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..addd24b3ecb7ad3a5ce1ff41e46334d96ad023d1
--- /dev/null
+++ b/public_test_cases/p00880/output.1.txt
@@ -0,0 +1,9 @@
+21.565935 24.409005 27.107493
+9.942044 19.150565 19.913790
+0.148847 0.207107 0.207107
+0.125125 0.499750 0.499750
+0.373458 0.383897 0.100456
+0.706768 0.353509 0.353509
+365.638023 365.638023 365.601038
+378.524085 378.605339 378.605339
+21.895803 22.052921 5.895714
diff --git a/public_test_cases/p00881/input.0.txt b/public_test_cases/p00881/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8edfcc0eddd17efcb660deb783cae508db54a12
--- /dev/null
+++ b/public_test_cases/p00881/input.0.txt
@@ -0,0 +1,71 @@
+8 1
+11010101
+11 4
+00111001100
+01001101011
+01010000011
+01100110001
+11 16
+01000101111
+01011000000
+01011111001
+01101101001
+01110010111
+01110100111
+10000001010
+10010001000
+10010110100
+10100010100
+10101010110
+10110100010
+11001010011
+11011001001
+11111000111
+11111011101
+11 12
+10000000000
+01000000000
+00100000000
+00010000000
+00001000000
+00000100000
+00000010000
+00000001000
+00000000100
+00000000010
+00000000001
+00000000000
+9 32
+001000000
+000100000
+000010000
+000001000
+000000100
+000000010
+000000001
+000000000
+011000000
+010100000
+010010000
+010001000
+010000100
+010000010
+010000001
+010000000
+101000000
+100100000
+100010000
+100001000
+100000100
+100000010
+100000001
+100000000
+111000000
+110100000
+110010000
+110001000
+110000100
+110000010
+110000001
+110000000
+0 0
diff --git a/public_test_cases/p00881/input.1.txt b/public_test_cases/p00881/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8edfcc0eddd17efcb660deb783cae508db54a12
--- /dev/null
+++ b/public_test_cases/p00881/input.1.txt
@@ -0,0 +1,71 @@
+8 1
+11010101
+11 4
+00111001100
+01001101011
+01010000011
+01100110001
+11 16
+01000101111
+01011000000
+01011111001
+01101101001
+01110010111
+01110100111
+10000001010
+10010001000
+10010110100
+10100010100
+10101010110
+10110100010
+11001010011
+11011001001
+11111000111
+11111011101
+11 12
+10000000000
+01000000000
+00100000000
+00010000000
+00001000000
+00000100000
+00000010000
+00000001000
+00000000100
+00000000010
+00000000001
+00000000000
+9 32
+001000000
+000100000
+000010000
+000001000
+000000100
+000000010
+000000001
+000000000
+011000000
+010100000
+010010000
+010001000
+010000100
+010000010
+010000001
+010000000
+101000000
+100100000
+100010000
+100001000
+100000100
+100000010
+100000001
+100000000
+111000000
+110100000
+110010000
+110001000
+110000100
+110000010
+110000001
+110000000
+0 0
diff --git a/public_test_cases/p00881/output.0.txt b/public_test_cases/p00881/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38de7dbeced0db6aaa18a98aa777ac9f72a9a91e
--- /dev/null
+++ b/public_test_cases/p00881/output.0.txt
@@ -0,0 +1,5 @@
+0
+2
+4
+11
+9
diff --git a/public_test_cases/p00881/output.1.txt b/public_test_cases/p00881/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38de7dbeced0db6aaa18a98aa777ac9f72a9a91e
--- /dev/null
+++ b/public_test_cases/p00881/output.1.txt
@@ -0,0 +1,5 @@
+0
+2
+4
+11
+9
diff --git a/public_test_cases/p00882/input.0.txt b/public_test_cases/p00882/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10110c3588952ce62393f123723d030ec5f5e27f
--- /dev/null
+++ b/public_test_cases/p00882/input.0.txt
@@ -0,0 +1,33 @@
+5 2
+C L S R C
+C C S C C
+6 4
+C C C C C C
+S L R R C S
+S S S L C S
+C C C C C C
+6 6
+C L S S S C
+C C C S S C
+C C C S S C
+C L C S S C
+C C L S S C
+C S L S S C
+6 6
+C S S S S C
+S C S L C S
+S C S R C S
+S C L S C S
+S C R S C S
+C S S S S C
+4 4
+S C C S
+S C L S
+S L C S
+C C C C
+6 4
+C R S S L C
+C R L R L C
+C S C C S C
+C S S S S C
+0 0
diff --git a/public_test_cases/p00882/input.1.txt b/public_test_cases/p00882/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10110c3588952ce62393f123723d030ec5f5e27f
--- /dev/null
+++ b/public_test_cases/p00882/input.1.txt
@@ -0,0 +1,33 @@
+5 2
+C L S R C
+C C S C C
+6 4
+C C C C C C
+S L R R C S
+S S S L C S
+C C C C C C
+6 6
+C L S S S C
+C C C S S C
+C C C S S C
+C L C S S C
+C C L S S C
+C S L S S C
+6 6
+C S S S S C
+S C S L C S
+S C S R C S
+S C L S C S
+S C R S C S
+C S S S S C
+4 4
+S C C S
+S C L S
+S L C S
+C C C C
+6 4
+C R S S L C
+C R L R L C
+C S C C S C
+C S S S S C
+0 0
diff --git a/public_test_cases/p00882/output.0.txt b/public_test_cases/p00882/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f38857a1bd4bfb17dd99dd5e30af25eed73ac91e
--- /dev/null
+++ b/public_test_cases/p00882/output.0.txt
@@ -0,0 +1,6 @@
+24
+20
+148
+14
+0
+178
diff --git a/public_test_cases/p00882/output.1.txt b/public_test_cases/p00882/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f38857a1bd4bfb17dd99dd5e30af25eed73ac91e
--- /dev/null
+++ b/public_test_cases/p00882/output.1.txt
@@ -0,0 +1,6 @@
+24
+20
+148
+14
+0
+178
diff --git a/public_test_cases/p00883/input.0.txt b/public_test_cases/p00883/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f14e4a9be01265f9f864e2821402db9cb8512a8b
--- /dev/null
+++ b/public_test_cases/p00883/input.0.txt
@@ -0,0 +1,43 @@
+3
+...
+.@.
+...
+3
+.##
+.#.
+@##
+3
+##.
+#..
+@..
+5
+....@
+##...
+#....
+...#.
+##.##
+5
+#...#
+...#.
+#....
+...##
+..@..
+5
+#....
+.....
+.....
+.....
+..@..
+5
+#..#.
+#.#.#
+.#.#.
+....#
+.#@##
+5
+..##.
+..#..
+#....
+#....
+.#@..
+0
diff --git a/public_test_cases/p00883/input.1.txt b/public_test_cases/p00883/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f14e4a9be01265f9f864e2821402db9cb8512a8b
--- /dev/null
+++ b/public_test_cases/p00883/input.1.txt
@@ -0,0 +1,43 @@
+3
+...
+.@.
+...
+3
+.##
+.#.
+@##
+3
+##.
+#..
+@..
+5
+....@
+##...
+#....
+...#.
+##.##
+5
+#...#
+...#.
+#....
+...##
+..@..
+5
+#....
+.....
+.....
+.....
+..@..
+5
+#..#.
+#.#.#
+.#.#.
+....#
+.#@##
+5
+..##.
+..#..
+#....
+#....
+.#@..
+0
diff --git a/public_test_cases/p00883/input.2.txt b/public_test_cases/p00883/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfaf4ed858b3d95e33a6a322f295b14f750cfa32
--- /dev/null
+++ b/public_test_cases/p00883/input.2.txt
@@ -0,0 +1,43 @@
+3
+...
+.@.
+...
+3
+.##
+.#.
+@##
+3
+.
+..
+@..
+5
+....@
+...
+....
+...#.
+.##
+5
+...#
+...#.
+....
+...##
+..@..
+5
+....
+.....
+.....
+.....
+..@..
+5
+..#.
+.#.#
+.#.#.
+....#
+.#@##
+5
+..##.
+..#..
+....
+....
+.#@..
+0
diff --git a/public_test_cases/p00883/output.0.txt b/public_test_cases/p00883/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db045b9ba449b0ad37f30abf32e446e53374457d
--- /dev/null
+++ b/public_test_cases/p00883/output.0.txt
@@ -0,0 +1,8 @@
+0
+10
+-1
+3
+2
+1
+6
+4
diff --git a/public_test_cases/p00883/output.1.txt b/public_test_cases/p00883/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db045b9ba449b0ad37f30abf32e446e53374457d
--- /dev/null
+++ b/public_test_cases/p00883/output.1.txt
@@ -0,0 +1,8 @@
+0
+10
+-1
+3
+2
+1
+6
+4
diff --git a/public_test_cases/p00883/output.2.txt b/public_test_cases/p00883/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db045b9ba449b0ad37f30abf32e446e53374457d
--- /dev/null
+++ b/public_test_cases/p00883/output.2.txt
@@ -0,0 +1,8 @@
+0
+10
+-1
+3
+2
+1
+6
+4
diff --git a/public_test_cases/p00884/input.0.txt b/public_test_cases/p00884/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f5fbbc65c7a574c0b173d43ff7b229e849ca885
--- /dev/null
+++ b/public_test_cases/p00884/input.0.txt
@@ -0,0 +1,23 @@
+2
+development:alice,bob,design,eve.
+design:carol,alice.
+3
+one:another.
+another:yetanother.
+yetanother:dave.
+3
+friends:alice,bob,bestfriends,carol,fran,badcompany.
+bestfriends:eve,alice.
+badcompany:dave,carol.
+5
+a:b,c,d,e.
+b:c,d,e,f.
+c:d,e,f,g.
+d:e,f,g,h.
+e:f,g,h,i.
+4
+aa:bb.
+cc:dd,ee.
+ff:gg.
+bb:cc.
+0
diff --git a/public_test_cases/p00884/input.1.txt b/public_test_cases/p00884/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f5fbbc65c7a574c0b173d43ff7b229e849ca885
--- /dev/null
+++ b/public_test_cases/p00884/input.1.txt
@@ -0,0 +1,23 @@
+2
+development:alice,bob,design,eve.
+design:carol,alice.
+3
+one:another.
+another:yetanother.
+yetanother:dave.
+3
+friends:alice,bob,bestfriends,carol,fran,badcompany.
+bestfriends:eve,alice.
+badcompany:dave,carol.
+5
+a:b,c,d,e.
+b:c,d,e,f.
+c:d,e,f,g.
+d:e,f,g,h.
+e:f,g,h,i.
+4
+aa:bb.
+cc:dd,ee.
+ff:gg.
+bb:cc.
+0
diff --git a/public_test_cases/p00884/output.0.txt b/public_test_cases/p00884/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c3873e6a6d0c53d642825b2e631f038a7de9bf2
--- /dev/null
+++ b/public_test_cases/p00884/output.0.txt
@@ -0,0 +1,5 @@
+4
+1
+6
+4
+2
diff --git a/public_test_cases/p00884/output.1.txt b/public_test_cases/p00884/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c3873e6a6d0c53d642825b2e631f038a7de9bf2
--- /dev/null
+++ b/public_test_cases/p00884/output.1.txt
@@ -0,0 +1,5 @@
+4
+1
+6
+4
+2
diff --git a/public_test_cases/p00885/input.0.txt b/public_test_cases/p00885/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82579356b797bb3ee34473b1bc39e5d945c50d8
--- /dev/null
+++ b/public_test_cases/p00885/input.0.txt
@@ -0,0 +1,28 @@
+2
+10 100
+100 270
+2
+10 100
+100 280
+3
+100 150
+10 360
+40 450
+3
+100 150
+10 360
+40 440
+2
+100 10
+50 200
+2
+100 100
+50 110
+1
+15 10
+4
+1 10
+2 20
+3 100
+90 200
+0
diff --git a/public_test_cases/p00885/input.1.txt b/public_test_cases/p00885/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82579356b797bb3ee34473b1bc39e5d945c50d8
--- /dev/null
+++ b/public_test_cases/p00885/input.1.txt
@@ -0,0 +1,28 @@
+2
+10 100
+100 270
+2
+10 100
+100 280
+3
+100 150
+10 360
+40 450
+3
+100 150
+10 360
+40 440
+2
+100 10
+50 200
+2
+100 100
+50 110
+1
+15 10
+4
+1 10
+2 20
+3 100
+90 200
+0
diff --git a/public_test_cases/p00885/output.0.txt b/public_test_cases/p00885/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6b07f051426b34ee520d5c43d4c975266e5cfa5
--- /dev/null
+++ b/public_test_cases/p00885/output.0.txt
@@ -0,0 +1,8 @@
+OK 220
+OK 200
+OK 260
+OK 280
+NG 1
+NG 2
+NG 1
+OK 188
diff --git a/public_test_cases/p00885/output.1.txt b/public_test_cases/p00885/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6b07f051426b34ee520d5c43d4c975266e5cfa5
--- /dev/null
+++ b/public_test_cases/p00885/output.1.txt
@@ -0,0 +1,8 @@
+OK 220
+OK 200
+OK 260
+OK 280
+NG 1
+NG 2
+NG 1
+OK 188
diff --git a/public_test_cases/p00886/input.0.txt b/public_test_cases/p00886/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ce773b594caefd9b6db459d7a5160067ecd5cb3
--- /dev/null
+++ b/public_test_cases/p00886/input.0.txt
@@ -0,0 +1,34 @@
+2
+1
+3
+5 3 2
+3
+6 3 2
+5
+9 8 7 6 6 4 3 2 2 1
+6
+9 8 8 7 6 6 5 5 3 3 3 2 2 1 1
+6
+11 10 9 8 7 6 6 5 5 4 3 2 2 1 1
+7
+72 65 55 51 48 45 40 38 34 32 27 25 24 23 21 17 14 13 11 10 7
+20
+190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171
+170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151
+150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131
+130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111
+110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91
+90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71
+70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
+50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31
+30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11
+10 9 8 7 6 5 4 3 2 1
+19
+60 59 58 56 53 52 51 50 48 48 47 46 45 45 44 43 43 42 42 41 41 40 40 40
+40 40 40 40 39 39 39 38 38 38 37 37 36 36 35 35 34 33 33 32 32 32 31 31
+30 30 30 29 28 28 28 28 27 27 26 26 25 25 25 25 24 24 23 23 23 23 22 22
+22 22 21 21 21 21 20 20 20 20 20 20 20 20 20 20 20 20 20 19 19 19 19 19
+18 18 18 18 18 17 17 17 17 16 16 16 15 15 15 15 14 14 13 13 13 12 12 12
+12 12 11 11 11 10 10 10 10 10 9 9 8 8 8 8 8 8 7 7 7 6 6 6 5 5 5 5 5 5 4
+4 4 3 3 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1
+0
diff --git a/public_test_cases/p00886/input.1.txt b/public_test_cases/p00886/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ce773b594caefd9b6db459d7a5160067ecd5cb3
--- /dev/null
+++ b/public_test_cases/p00886/input.1.txt
@@ -0,0 +1,34 @@
+2
+1
+3
+5 3 2
+3
+6 3 2
+5
+9 8 7 6 6 4 3 2 2 1
+6
+9 8 8 7 6 6 5 5 3 3 3 2 2 1 1
+6
+11 10 9 8 7 6 6 5 5 4 3 2 2 1 1
+7
+72 65 55 51 48 45 40 38 34 32 27 25 24 23 21 17 14 13 11 10 7
+20
+190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171
+170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151
+150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131
+130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111
+110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91
+90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71
+70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
+50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31
+30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11
+10 9 8 7 6 5 4 3 2 1
+19
+60 59 58 56 53 52 51 50 48 48 47 46 45 45 44 43 43 42 42 41 41 40 40 40
+40 40 40 40 39 39 39 38 38 38 37 37 36 36 35 35 34 33 33 32 32 32 31 31
+30 30 30 29 28 28 28 28 27 27 26 26 25 25 25 25 24 24 23 23 23 23 22 22
+22 22 21 21 21 21 20 20 20 20 20 20 20 20 20 20 20 20 20 19 19 19 19 19
+18 18 18 18 18 17 17 17 17 16 16 16 15 15 15 15 14 14 13 13 13 12 12 12
+12 12 11 11 11 10 10 10 10 10 9 9 8 8 8 8 8 8 7 7 7 6 6 6 5 5 5 5 5 5 4
+4 4 3 3 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1
+0
diff --git a/public_test_cases/p00886/output.0.txt b/public_test_cases/p00886/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..806bc714b58d631ae5759391e52c1f3aff5872df
--- /dev/null
+++ b/public_test_cases/p00886/output.0.txt
@@ -0,0 +1,23 @@
+1
+-----
+2 3
+3 2
+-----
+-----
+1 2 4 2
+2 4 2 1
+-----
+1 2 3 2 1
+-----
+1 1 4 2 3
+1 5 1 2 2
+2 2 1 5 1
+3 2 4 1 1
+-----
+7 14 11 13 10 17
+17 10 13 11 14 7
+-----
+-----
+1 1 2 3 5 8 1 1 2 3 5 8 1 1 2 3 5 8
+8 5 3 2 1 1 8 5 3 2 1 1 8 5 3 2 1 1
+-----
diff --git a/public_test_cases/p00886/output.1.txt b/public_test_cases/p00886/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..806bc714b58d631ae5759391e52c1f3aff5872df
--- /dev/null
+++ b/public_test_cases/p00886/output.1.txt
@@ -0,0 +1,23 @@
+1
+-----
+2 3
+3 2
+-----
+-----
+1 2 4 2
+2 4 2 1
+-----
+1 2 3 2 1
+-----
+1 1 4 2 3
+1 5 1 2 2
+2 2 1 5 1
+3 2 4 1 1
+-----
+7 14 11 13 10 17
+17 10 13 11 14 7
+-----
+-----
+1 1 2 3 5 8 1 1 2 3 5 8 1 1 2 3 5 8
+8 5 3 2 1 1 8 5 3 2 1 1 8 5 3 2 1 1
+-----
diff --git a/public_test_cases/p00887/input.0.txt b/public_test_cases/p00887/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94132bf4aa3b6c4f451b66e0e67137fed673cb90
--- /dev/null
+++ b/public_test_cases/p00887/input.0.txt
@@ -0,0 +1,68 @@
+1 1 1
+1
+2 2 1
+1 1
+1 1
+3 2 1
+1 0 1
+0 1 0
+3 3 1
+1 0 1
+0 1 0
+1 0 1
+4 4 2
+1 1 0 1
+0 0 0 1
+1 0 1 1
+1 0 0 0
+5 5 1
+1 1 1 0 1
+0 1 0 1 0
+1 0 1 0 1
+0 1 0 1 0
+1 0 1 0 1
+5 5 2
+0 0 0 0 0
+0 0 0 0 0
+0 0 1 0 0
+0 0 0 0 0
+0 0 0 0 0
+11 11 3
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 1 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+11 11 3
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 1 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+13 13 7
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 1 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0
diff --git a/public_test_cases/p00887/input.1.txt b/public_test_cases/p00887/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94132bf4aa3b6c4f451b66e0e67137fed673cb90
--- /dev/null
+++ b/public_test_cases/p00887/input.1.txt
@@ -0,0 +1,68 @@
+1 1 1
+1
+2 2 1
+1 1
+1 1
+3 2 1
+1 0 1
+0 1 0
+3 3 1
+1 0 1
+0 1 0
+1 0 1
+4 4 2
+1 1 0 1
+0 0 0 1
+1 0 1 1
+1 0 0 0
+5 5 1
+1 1 1 0 1
+0 1 0 1 0
+1 0 1 0 1
+0 1 0 1 0
+1 0 1 0 1
+5 5 2
+0 0 0 0 0
+0 0 0 0 0
+0 0 1 0 0
+0 0 0 0 0
+0 0 0 0 0
+11 11 3
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 1 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+11 11 3
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 1 1 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0
+13 13 7
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 1 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0
diff --git a/public_test_cases/p00887/output.0.txt b/public_test_cases/p00887/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4b3e5fe2a0b294b353a491db492aa9b91816fd7
--- /dev/null
+++ b/public_test_cases/p00887/output.0.txt
@@ -0,0 +1,10 @@
+1
+1
+0
+1
+0
+0
+1
+1
+0
+1
diff --git a/public_test_cases/p00887/output.1.txt b/public_test_cases/p00887/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4b3e5fe2a0b294b353a491db492aa9b91816fd7
--- /dev/null
+++ b/public_test_cases/p00887/output.1.txt
@@ -0,0 +1,10 @@
+1
+1
+0
+1
+0
+0
+1
+1
+0
+1
diff --git a/public_test_cases/p00888/input.0.txt b/public_test_cases/p00888/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91777cd206fd194c7ba68942800151e9be82c4c7
--- /dev/null
+++ b/public_test_cases/p00888/input.0.txt
@@ -0,0 +1,33 @@
+6
+0 0
+3 4
+9 12
+17 6
+21 9
+33 0
+5
+0 0
+10 0
+20 0
+30 0
+40 0
+10
+0 0
+1 2
+3 0
+6 3
+9 0
+11 2
+13 0
+15 2
+16 2
+18 0
+7
+0 0
+150 997
+300 1
+450 999
+600 2
+750 998
+900 0
+0
diff --git a/public_test_cases/p00888/input.1.txt b/public_test_cases/p00888/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91777cd206fd194c7ba68942800151e9be82c4c7
--- /dev/null
+++ b/public_test_cases/p00888/input.1.txt
@@ -0,0 +1,33 @@
+6
+0 0
+3 4
+9 12
+17 6
+21 9
+33 0
+5
+0 0
+10 0
+20 0
+30 0
+40 0
+10
+0 0
+1 2
+3 0
+6 3
+9 0
+11 2
+13 0
+15 2
+16 2
+18 0
+7
+0 0
+150 997
+300 1
+450 999
+600 2
+750 998
+900 0
+0
diff --git a/public_test_cases/p00888/output.0.txt b/public_test_cases/p00888/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d31cab8febf6d565d0c9cbbfe721e9e34f559ae4
--- /dev/null
+++ b/public_test_cases/p00888/output.0.txt
@@ -0,0 +1,4 @@
+52.5
+40.0
+30.3356209304689
+10078.072814085803
diff --git a/public_test_cases/p00888/output.1.txt b/public_test_cases/p00888/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d31cab8febf6d565d0c9cbbfe721e9e34f559ae4
--- /dev/null
+++ b/public_test_cases/p00888/output.1.txt
@@ -0,0 +1,4 @@
+52.5
+40.0
+30.3356209304689
+10078.072814085803
diff --git a/public_test_cases/p00889/input.0.txt b/public_test_cases/p00889/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c8d115c857fbcfd0b3c09a7d64f7df4698ad8fb
--- /dev/null
+++ b/public_test_cases/p00889/input.0.txt
@@ -0,0 +1,6 @@
+3 32 64 7
+4 35 89 5
+5 555 442 3
+5 777 465 11
+100000 666 701622763 65537
+0 0 0 0
diff --git a/public_test_cases/p00889/input.1.txt b/public_test_cases/p00889/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c8d115c857fbcfd0b3c09a7d64f7df4698ad8fb
--- /dev/null
+++ b/public_test_cases/p00889/input.1.txt
@@ -0,0 +1,6 @@
+3 32 64 7
+4 35 89 5
+5 555 442 3
+5 777 465 11
+100000 666 701622763 65537
+0 0 0 0
diff --git a/public_test_cases/p00889/output.0.txt b/public_test_cases/p00889/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d07661aa938924e6d860a6c355da66f9bdb3477b
--- /dev/null
+++ b/public_test_cases/p00889/output.0.txt
@@ -0,0 +1,5 @@
+2
+4
+6
+3
+68530
diff --git a/public_test_cases/p00889/output.1.txt b/public_test_cases/p00889/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d07661aa938924e6d860a6c355da66f9bdb3477b
--- /dev/null
+++ b/public_test_cases/p00889/output.1.txt
@@ -0,0 +1,5 @@
+2
+4
+6
+3
+68530
diff --git a/public_test_cases/p00890/input.0.txt b/public_test_cases/p00890/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea96a72ecc385879f4507f0c706448020ffe4898
--- /dev/null
+++ b/public_test_cases/p00890/input.0.txt
@@ -0,0 +1,37 @@
+3 3 3
+1 2 3
+2 3 3
+1 3 8
+12 12 2010
+1 2 0
+2 3 3000
+3 4 0
+4 5 3000
+5 6 3000
+6 12 2010
+2 7 100
+7 8 200
+8 9 300
+9 10 400
+10 11 500
+11 6 512
+10 18 1
+1 2 9
+1 3 2
+1 4 6
+2 5 0
+2 6 10
+2 7 2
+3 5 10
+3 6 3
+3 7 10
+4 7 6
+5 8 10
+6 8 2
+6 9 11
+7 9 3
+8 9 9
+8 10 8
+9 10 1
+8 2 1
+0 0 0
diff --git a/public_test_cases/p00890/input.1.txt b/public_test_cases/p00890/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea96a72ecc385879f4507f0c706448020ffe4898
--- /dev/null
+++ b/public_test_cases/p00890/input.1.txt
@@ -0,0 +1,37 @@
+3 3 3
+1 2 3
+2 3 3
+1 3 8
+12 12 2010
+1 2 0
+2 3 3000
+3 4 0
+4 5 3000
+5 6 3000
+6 12 2010
+2 7 100
+7 8 200
+8 9 300
+9 10 400
+10 11 500
+11 6 512
+10 18 1
+1 2 9
+1 3 2
+1 4 6
+2 5 0
+2 6 10
+2 7 2
+3 5 10
+3 6 3
+3 7 10
+4 7 6
+5 8 10
+6 8 2
+6 9 11
+7 9 3
+8 9 9
+8 10 8
+9 10 1
+8 2 1
+0 0 0
diff --git a/public_test_cases/p00890/output.0.txt b/public_test_cases/p00890/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01e79c32a8c99c557f0757da7cb6d65b3414466d
--- /dev/null
+++ b/public_test_cases/p00890/output.0.txt
@@ -0,0 +1,3 @@
+1
+2
+3
diff --git a/public_test_cases/p00890/output.1.txt b/public_test_cases/p00890/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01e79c32a8c99c557f0757da7cb6d65b3414466d
--- /dev/null
+++ b/public_test_cases/p00890/output.1.txt
@@ -0,0 +1,3 @@
+1
+2
+3
diff --git a/public_test_cases/p00891/input.0.txt b/public_test_cases/p00891/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdd7f6db2e1f66874432d7eeb6705608ec625c1d
--- /dev/null
+++ b/public_test_cases/p00891/input.0.txt
@@ -0,0 +1,25 @@
+48 3 3
+gAY4I4wA
+gIIgIIgg
+w4IAYAg4
+g
+g
+w
+153 3 3
+kkkkkkkkkkkkkkkkkkkkkkkkkg
+SSSSSSSSSSSSSSSSSSSSSSSSSQ
+JJJJJJJJJJJJJJJJJJJJJJJJJI
+g
+Q
+I
+1 1 2
+A
+A
+A
+384 3 2
+ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
+BCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/A
+CDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/AB
+A
+A
+0 0 0
diff --git a/public_test_cases/p00891/input.1.txt b/public_test_cases/p00891/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdd7f6db2e1f66874432d7eeb6705608ec625c1d
--- /dev/null
+++ b/public_test_cases/p00891/input.1.txt
@@ -0,0 +1,25 @@
+48 3 3
+gAY4I4wA
+gIIgIIgg
+w4IAYAg4
+g
+g
+w
+153 3 3
+kkkkkkkkkkkkkkkkkkkkkkkkkg
+SSSSSSSSSSSSSSSSSSSSSSSSSQ
+JJJJJJJJJJJJJJJJJJJJJJJJJI
+g
+Q
+I
+1 1 2
+A
+A
+A
+384 3 2
+ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
+BCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/A
+CDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/AB
+A
+A
+0 0 0
diff --git a/public_test_cases/p00891/output.0.txt b/public_test_cases/p00891/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4487f9656ca7d0e77621945139f9116a4dc50c55
--- /dev/null
+++ b/public_test_cases/p00891/output.0.txt
@@ -0,0 +1,4 @@
+8
+51
+0
+98
diff --git a/public_test_cases/p00891/output.1.txt b/public_test_cases/p00891/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4487f9656ca7d0e77621945139f9116a4dc50c55
--- /dev/null
+++ b/public_test_cases/p00891/output.1.txt
@@ -0,0 +1,4 @@
+8
+51
+0
+98
diff --git a/public_test_cases/p00892/input.0.txt b/public_test_cases/p00892/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..657344da003358ffa5086327d8eed82318e2c6c6
--- /dev/null
+++ b/public_test_cases/p00892/input.0.txt
@@ -0,0 +1,48 @@
+4 3
+7 2
+3 3
+0 2
+3 1
+4 2
+0 1
+8 1
+4 4
+30 2
+30 12
+2 12
+2 2
+15 2
+30 8
+13 14
+2 8
+8 5
+13 5
+21 7
+21 9
+18 15
+11 15
+6 10
+6 8
+8 5
+10 12
+5 9
+15 6
+20 10
+18 12
+3 3
+5 5
+10 3
+10 10
+20 8
+10 15
+10 8
+4 4
+-98 99
+-99 -99
+99 -98
+99 97
+-99 99
+-98 -98
+99 -99
+96 99
+0 0
diff --git a/public_test_cases/p00892/input.1.txt b/public_test_cases/p00892/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..657344da003358ffa5086327d8eed82318e2c6c6
--- /dev/null
+++ b/public_test_cases/p00892/input.1.txt
@@ -0,0 +1,48 @@
+4 3
+7 2
+3 3
+0 2
+3 1
+4 2
+0 1
+8 1
+4 4
+30 2
+30 12
+2 12
+2 2
+15 2
+30 8
+13 14
+2 8
+8 5
+13 5
+21 7
+21 9
+18 15
+11 15
+6 10
+6 8
+8 5
+10 12
+5 9
+15 6
+20 10
+18 12
+3 3
+5 5
+10 3
+10 10
+20 8
+10 15
+10 8
+4 4
+-98 99
+-99 -99
+99 -98
+99 97
+-99 99
+-98 -98
+99 -99
+96 99
+0 0
diff --git a/public_test_cases/p00892/output.0.txt b/public_test_cases/p00892/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2da4a167bf4f8abfa6dae7f4b654b37dca9bd9c
--- /dev/null
+++ b/public_test_cases/p00892/output.0.txt
@@ -0,0 +1,5 @@
+4.708333333333333
+1680.0000000000005
+491.1500000000007
+0.0
+7600258.4847715655
diff --git a/public_test_cases/p00892/output.1.txt b/public_test_cases/p00892/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2da4a167bf4f8abfa6dae7f4b654b37dca9bd9c
--- /dev/null
+++ b/public_test_cases/p00892/output.1.txt
@@ -0,0 +1,5 @@
+4.708333333333333
+1680.0000000000005
+491.1500000000007
+0.0
+7600258.4847715655
diff --git a/public_test_cases/p00893/input.0.txt b/public_test_cases/p00893/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..498397669b98cd98de3f784e3bfab106cd264da9
--- /dev/null
+++ b/public_test_cases/p00893/input.0.txt
@@ -0,0 +1,51 @@
+1
+A=[1 2 3;4 5 6].
+1
+A=[[1 2 3;4 5 6] [7 8;9 10] [11;12];13 14 15 16 17 18].
+3
+B=[3 -2 1;-9 8 7].
+C=([1 2 3;4 5 6]+B)(2,3).
+D=([1 2 3;4 5 6]+B)([1 2],[2 3]).
+5
+A=2*[1 2;-3 4]'.
+B=A([2 1 2],[2 1]).
+A=[1 2;3 4]*3.
+A=[2]*[1 2;3 4].
+A=[1 2;3 4]*[3].
+2
+A=[11 12 13;0 22 23;0 0 33].
+A=[A A';--A''' A].
+2
+A=[1 -1 1;1 1 -1;-1 1 1]*3.
+A=[A -A+-A;-A'([3 2 1],[3 2 1]) -A'].
+1
+A=1([1 1 1],[1 1 1 1]).
+3
+A=[1 2 -3;4 -5 6;-7 8 9].
+B=A([3 1 2],[2 1 3]).
+C=A*B-B*A+-A*-B-B*-A.
+3
+A=[1 2 3 4 5].
+B=A'*A.
+C=B([1 5],[5 1]).
+3
+A=[-11 12 13;21 -22 23;31 32 -33].
+B=[1 0 0;0 1 0;0 0 1].
+C=[(A-B) (A+B)*B (A+B)*(B-A)([1 1 1],[3 2 1]) [1 2 3;2 1 1;-1 2 1]*(A-B)].
+3
+A=[11 12 13;0 22 23;0 0 33].
+B=[1 2].
+C=------A((((B))),B)(B,B)''''''.
+2
+A=1+[2]+[[3]]+[[[4]]]+2*[[[[5]]]]*3.
+B=[(-[([(-A)]+-A)])].
+8
+A=[1 2;3 4].
+B=[A A+[1 1;0 1]*4;A+[1 1;0 1]'*8 A+[1 1;0 1]''*12].
+C=B([1],[1]).
+C=B([1],[1 2 3 4]).
+C=B([1 2 3 4],[1]).
+C=B([2 3],[2 3]).
+A=[1 2;1 2].
+D=(A*-A+-A)'(A'(1,[1 2]),A'(2,[1 2])).
+0
diff --git a/public_test_cases/p00893/input.1.txt b/public_test_cases/p00893/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..498397669b98cd98de3f784e3bfab106cd264da9
--- /dev/null
+++ b/public_test_cases/p00893/input.1.txt
@@ -0,0 +1,51 @@
+1
+A=[1 2 3;4 5 6].
+1
+A=[[1 2 3;4 5 6] [7 8;9 10] [11;12];13 14 15 16 17 18].
+3
+B=[3 -2 1;-9 8 7].
+C=([1 2 3;4 5 6]+B)(2,3).
+D=([1 2 3;4 5 6]+B)([1 2],[2 3]).
+5
+A=2*[1 2;-3 4]'.
+B=A([2 1 2],[2 1]).
+A=[1 2;3 4]*3.
+A=[2]*[1 2;3 4].
+A=[1 2;3 4]*[3].
+2
+A=[11 12 13;0 22 23;0 0 33].
+A=[A A';--A''' A].
+2
+A=[1 -1 1;1 1 -1;-1 1 1]*3.
+A=[A -A+-A;-A'([3 2 1],[3 2 1]) -A'].
+1
+A=1([1 1 1],[1 1 1 1]).
+3
+A=[1 2 -3;4 -5 6;-7 8 9].
+B=A([3 1 2],[2 1 3]).
+C=A*B-B*A+-A*-B-B*-A.
+3
+A=[1 2 3 4 5].
+B=A'*A.
+C=B([1 5],[5 1]).
+3
+A=[-11 12 13;21 -22 23;31 32 -33].
+B=[1 0 0;0 1 0;0 0 1].
+C=[(A-B) (A+B)*B (A+B)*(B-A)([1 1 1],[3 2 1]) [1 2 3;2 1 1;-1 2 1]*(A-B)].
+3
+A=[11 12 13;0 22 23;0 0 33].
+B=[1 2].
+C=------A((((B))),B)(B,B)''''''.
+2
+A=1+[2]+[[3]]+[[[4]]]+2*[[[[5]]]]*3.
+B=[(-[([(-A)]+-A)])].
+8
+A=[1 2;3 4].
+B=[A A+[1 1;0 1]*4;A+[1 1;0 1]'*8 A+[1 1;0 1]''*12].
+C=B([1],[1]).
+C=B([1],[1 2 3 4]).
+C=B([1 2 3 4],[1]).
+C=B([2 3],[2 3]).
+A=[1 2;1 2].
+D=(A*-A+-A)'(A'(1,[1 2]),A'(2,[1 2])).
+0
diff --git a/public_test_cases/p00893/output.0.txt b/public_test_cases/p00893/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29ddce8cbd7ff40459432933f251bbd618517c50
--- /dev/null
+++ b/public_test_cases/p00893/output.0.txt
@@ -0,0 +1,107 @@
+1 2 3
+4 5 6
+-----
+1 2 3 7 8 11
+4 5 6 9 10 12
+13 14 15 16 17 18
+-----
+3 32766 1
+32759 8 7
+13
+0 4
+13 13
+-----
+2 32762
+4 8
+8 4
+32762 2
+8 4
+3 6
+9 12
+2 4
+6 8
+3 6
+9 12
+-----
+11 12 13
+0 22 23
+0 0 33
+11 12 13 11 0 0
+0 22 23 12 22 0
+0 0 33 13 23 33
+11 0 0 11 12 13
+12 22 0 0 22 23
+13 23 33 0 0 33
+-----
+3 32765 3
+3 3 32765
+32765 3 3
+3 32765 3 32762 6 32762
+3 3 32765 32762 32762 6
+32765 3 3 6 32762 32762
+32765 3 32765 32765 32765 3
+32765 32765 3 3 32765 32765
+3 32765 32765 32765 3 32765
+-----
+1 1 1 1
+1 1 1 1
+1 1 1 1
+-----
+1 2 32765
+4 32763 6
+32761 8 9
+8 32761 9
+2 1 32765
+32763 4 6
+54 32734 32738
+32752 32750 174
+32598 186 32702
+-----
+1 2 3 4 5
+1 2 3 4 5
+2 4 6 8 10
+3 6 9 12 15
+4 8 12 16 20
+5 10 15 20 25
+5 1
+25 5
+-----
+32757 12 13
+21 32746 23
+31 32 32735
+1 0 0
+0 1 0
+0 0 1
+32756 12 13 32758 12 13 32573 32588 180 123 62 32725
+21 32745 23 21 32747 23 32469 32492 276 28 33 15
+31 32 32734 31 32 32736 32365 32396 372 85 32742 32767
+-----
+11 12 13
+0 22 23
+0 0 33
+1 2
+11 12
+0 22
+-----
+40
+80
+-----
+1 2
+3 4
+1 2 5 6
+3 4 3 8
+9 2 13 14
+11 12 3 16
+1
+1 2 5 6
+1
+3
+9
+11
+4 3
+2 13
+1 2
+1 2
+32764 32764
+32764 32764
+-----
diff --git a/public_test_cases/p00893/output.1.txt b/public_test_cases/p00893/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29ddce8cbd7ff40459432933f251bbd618517c50
--- /dev/null
+++ b/public_test_cases/p00893/output.1.txt
@@ -0,0 +1,107 @@
+1 2 3
+4 5 6
+-----
+1 2 3 7 8 11
+4 5 6 9 10 12
+13 14 15 16 17 18
+-----
+3 32766 1
+32759 8 7
+13
+0 4
+13 13
+-----
+2 32762
+4 8
+8 4
+32762 2
+8 4
+3 6
+9 12
+2 4
+6 8
+3 6
+9 12
+-----
+11 12 13
+0 22 23
+0 0 33
+11 12 13 11 0 0
+0 22 23 12 22 0
+0 0 33 13 23 33
+11 0 0 11 12 13
+12 22 0 0 22 23
+13 23 33 0 0 33
+-----
+3 32765 3
+3 3 32765
+32765 3 3
+3 32765 3 32762 6 32762
+3 3 32765 32762 32762 6
+32765 3 3 6 32762 32762
+32765 3 32765 32765 32765 3
+32765 32765 3 3 32765 32765
+3 32765 32765 32765 3 32765
+-----
+1 1 1 1
+1 1 1 1
+1 1 1 1
+-----
+1 2 32765
+4 32763 6
+32761 8 9
+8 32761 9
+2 1 32765
+32763 4 6
+54 32734 32738
+32752 32750 174
+32598 186 32702
+-----
+1 2 3 4 5
+1 2 3 4 5
+2 4 6 8 10
+3 6 9 12 15
+4 8 12 16 20
+5 10 15 20 25
+5 1
+25 5
+-----
+32757 12 13
+21 32746 23
+31 32 32735
+1 0 0
+0 1 0
+0 0 1
+32756 12 13 32758 12 13 32573 32588 180 123 62 32725
+21 32745 23 21 32747 23 32469 32492 276 28 33 15
+31 32 32734 31 32 32736 32365 32396 372 85 32742 32767
+-----
+11 12 13
+0 22 23
+0 0 33
+1 2
+11 12
+0 22
+-----
+40
+80
+-----
+1 2
+3 4
+1 2 5 6
+3 4 3 8
+9 2 13 14
+11 12 3 16
+1
+1 2 5 6
+1
+3
+9
+11
+4 3
+2 13
+1 2
+1 2
+32764 32764
+32764 32764
+-----
diff --git a/public_test_cases/p00894/input.0.txt b/public_test_cases/p00894/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b65d0b69f5f84fad846ef00999638187b84ab3a
--- /dev/null
+++ b/public_test_cases/p00894/input.0.txt
@@ -0,0 +1,37 @@
+14
+04/21 09:00 I 000
+04/21 09:00 I 001
+04/21 09:15 I 002
+04/21 09:30 O 001
+04/21 09:45 O 000
+04/21 10:00 O 002
+04/28 09:00 I 003
+04/28 09:15 I 000
+04/28 09:30 I 004
+04/28 09:45 O 004
+04/28 10:00 O 000
+04/28 10:15 O 003
+04/29 20:00 I 002
+04/29 21:30 O 002
+20
+06/01 09:00 I 001
+06/01 09:15 I 002
+06/01 09:15 I 003
+06/01 09:30 O 002
+06/01 10:00 I 000
+06/01 10:15 O 001
+06/01 10:30 I 002
+06/01 10:45 O 002
+06/01 11:00 I 001
+06/01 11:15 O 000
+06/01 11:30 I 002
+06/01 11:45 O 001
+06/01 12:00 O 002
+06/01 12:15 I 000
+06/01 12:30 I 002
+06/01 12:45 O 000
+06/01 13:00 I 000
+06/01 13:15 O 000
+06/01 13:30 O 002
+06/01 13:45 O 003
+0
diff --git a/public_test_cases/p00894/input.1.txt b/public_test_cases/p00894/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b65d0b69f5f84fad846ef00999638187b84ab3a
--- /dev/null
+++ b/public_test_cases/p00894/input.1.txt
@@ -0,0 +1,37 @@
+14
+04/21 09:00 I 000
+04/21 09:00 I 001
+04/21 09:15 I 002
+04/21 09:30 O 001
+04/21 09:45 O 000
+04/21 10:00 O 002
+04/28 09:00 I 003
+04/28 09:15 I 000
+04/28 09:30 I 004
+04/28 09:45 O 004
+04/28 10:00 O 000
+04/28 10:15 O 003
+04/29 20:00 I 002
+04/29 21:30 O 002
+20
+06/01 09:00 I 001
+06/01 09:15 I 002
+06/01 09:15 I 003
+06/01 09:30 O 002
+06/01 10:00 I 000
+06/01 10:15 O 001
+06/01 10:30 I 002
+06/01 10:45 O 002
+06/01 11:00 I 001
+06/01 11:15 O 000
+06/01 11:30 I 002
+06/01 11:45 O 001
+06/01 12:00 O 002
+06/01 12:15 I 000
+06/01 12:30 I 002
+06/01 12:45 O 000
+06/01 13:00 I 000
+06/01 13:15 O 000
+06/01 13:30 O 002
+06/01 13:45 O 003
+0
diff --git a/public_test_cases/p00894/output.0.txt b/public_test_cases/p00894/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa145646691535b1d8b89d6fa201b8e3eda619b2
--- /dev/null
+++ b/public_test_cases/p00894/output.0.txt
@@ -0,0 +1,2 @@
+45
+120
diff --git a/public_test_cases/p00894/output.1.txt b/public_test_cases/p00894/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa145646691535b1d8b89d6fa201b8e3eda619b2
--- /dev/null
+++ b/public_test_cases/p00894/output.1.txt
@@ -0,0 +1,2 @@
+45
+120
diff --git a/public_test_cases/p00895/input.0.txt b/public_test_cases/p00895/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd28b77b6da407c5fce74f2b8b49836174d94292
--- /dev/null
+++ b/public_test_cases/p00895/input.0.txt
@@ -0,0 +1,30 @@
+5 7
+RRCABXT
+AABMFAB
+RROMJAC
+APTADAB
+YABADAO
+3 13
+ABCDEFGHIJKLM
+XMADAMIMADAMY
+ACEGIKMOQSUWY
+3 4
+DEFG
+ACAB
+HIJK
+3 6
+ABCDEF
+GHIAKL
+MNOPQR
+10 19
+JFZODYDXMZZPEYTRNCW
+XVGHPOKEYNZTQFZJKOD
+EYEHHQKHFZOVNRGOOLP
+QFZOIHRQMGHPNISHXOC
+DRGILJHSQEHHQLYTILL
+NCSHQMKHTZZIHRPAUJA
+NCCTINCLAUTFJHSZBVK
+LPBAUJIUMBVQYKHTZCW
+XMYHBVKUGNCWTLLAUID
+EYNDCCWLEOODXYUMBVN
+0 0
diff --git a/public_test_cases/p00895/input.1.txt b/public_test_cases/p00895/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd28b77b6da407c5fce74f2b8b49836174d94292
--- /dev/null
+++ b/public_test_cases/p00895/input.1.txt
@@ -0,0 +1,30 @@
+5 7
+RRCABXT
+AABMFAB
+RROMJAC
+APTADAB
+YABADAO
+3 13
+ABCDEFGHIJKLM
+XMADAMIMADAMY
+ACEGIKMOQSUWY
+3 4
+DEFG
+ACAB
+HIJK
+3 6
+ABCDEF
+GHIAKL
+MNOPQR
+10 19
+JFZODYDXMZZPEYTRNCW
+XVGHPOKEYNZTQFZJKOD
+EYEHHQKHFZOVNRGOOLP
+QFZOIHRQMGHPNISHXOC
+DRGILJHSQEHHQLYTILL
+NCSHQMKHTZZIHRPAUJA
+NCCTINCLAUTFJHSZBVK
+LPBAUJIUMBVQYKHTZCW
+XMYHBVKUGNCWTLLAUID
+EYNDCCWLEOODXYUMBVN
+0 0
diff --git a/public_test_cases/p00895/output.0.txt b/public_test_cases/p00895/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c7f88917bccadeedd7509db93f5577a373708d9
--- /dev/null
+++ b/public_test_cases/p00895/output.0.txt
@@ -0,0 +1,5 @@
+ABRACADABRA
+MADAMIMADAM
+ABAC
+0
+ABCDEFGHIJKLMNOPQRSTUVWXYZHHHHHABCDEFGHIJKLMNOPQRSTUVWXYZ
diff --git a/public_test_cases/p00895/output.1.txt b/public_test_cases/p00895/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c7f88917bccadeedd7509db93f5577a373708d9
--- /dev/null
+++ b/public_test_cases/p00895/output.1.txt
@@ -0,0 +1,5 @@
+ABRACADABRA
+MADAMIMADAM
+ABAC
+0
+ABCDEFGHIJKLMNOPQRSTUVWXYZHHHHHABCDEFGHIJKLMNOPQRSTUVWXYZ
diff --git a/public_test_cases/p00896/input.0.txt b/public_test_cases/p00896/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..711a55342f61699ab868bcb4c94cf970e9e650a0
--- /dev/null
+++ b/public_test_cases/p00896/input.0.txt
@@ -0,0 +1,33 @@
+4
+A
+AND
+CAT
+DOG
+Z XUW ZVX Z YZT.
+2
+AZ
+AY
+ZA.
+2
+AA
+BB
+CC.
+16
+A
+B
+C
+D
+E
+F
+G
+H
+I
+J
+K
+L
+M
+N
+O
+ABCDEFGHIJKLMNO
+A B C D E F G H I J K L M N O ABCDEFGHIJKLMNO.
+0
diff --git a/public_test_cases/p00896/input.1.txt b/public_test_cases/p00896/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..711a55342f61699ab868bcb4c94cf970e9e650a0
--- /dev/null
+++ b/public_test_cases/p00896/input.1.txt
@@ -0,0 +1,33 @@
+4
+A
+AND
+CAT
+DOG
+Z XUW ZVX Z YZT.
+2
+AZ
+AY
+ZA.
+2
+AA
+BB
+CC.
+16
+A
+B
+C
+D
+E
+F
+G
+H
+I
+J
+K
+L
+M
+N
+O
+ABCDEFGHIJKLMNO
+A B C D E F G H I J K L M N O ABCDEFGHIJKLMNO.
+0
diff --git a/public_test_cases/p00896/output.0.txt b/public_test_cases/p00896/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4555504caa29cea78cda2ebaa7b3b7d999f99bc9
--- /dev/null
+++ b/public_test_cases/p00896/output.0.txt
@@ -0,0 +1,4 @@
+A DOG AND A CAT.
+AZ.
+-.
+A B C D E F G H I J K L M N O ABCDEFGHIJKLMNO.
diff --git a/public_test_cases/p00896/output.1.txt b/public_test_cases/p00896/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4555504caa29cea78cda2ebaa7b3b7d999f99bc9
--- /dev/null
+++ b/public_test_cases/p00896/output.1.txt
@@ -0,0 +1,4 @@
+A DOG AND A CAT.
+AZ.
+-.
+A B C D E F G H I J K L M N O ABCDEFGHIJKLMNO.
diff --git a/public_test_cases/p00897/input.0.txt b/public_test_cases/p00897/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc241e4d2a6521d8a9febc1fe1eac05e09f7b6ab
--- /dev/null
+++ b/public_test_cases/p00897/input.0.txt
@@ -0,0 +1,23 @@
+6 3 34
+Tokyo Kyoto
+Tokyo Niigata 335
+Tokyo Shizuoka 174
+Shizuoka Nagoya 176
+Nagoya Kyoto 195
+Toyama Niigata 215
+Toyama Kyoto 296
+Nagoya
+Niigata
+Toyama
+6 3 30
+Tokyo Kyoto
+Tokyo Niigata 335
+Tokyo Shizuoka 174
+Shizuoka Nagoya 176
+Nagoya Kyoto 195
+Toyama Niigata 215
+Toyama Kyoto 296
+Nagoya
+Niigata
+Toyama
+0 0 0
diff --git a/public_test_cases/p00897/input.1.txt b/public_test_cases/p00897/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc241e4d2a6521d8a9febc1fe1eac05e09f7b6ab
--- /dev/null
+++ b/public_test_cases/p00897/input.1.txt
@@ -0,0 +1,23 @@
+6 3 34
+Tokyo Kyoto
+Tokyo Niigata 335
+Tokyo Shizuoka 174
+Shizuoka Nagoya 176
+Nagoya Kyoto 195
+Toyama Niigata 215
+Toyama Kyoto 296
+Nagoya
+Niigata
+Toyama
+6 3 30
+Tokyo Kyoto
+Tokyo Niigata 335
+Tokyo Shizuoka 174
+Shizuoka Nagoya 176
+Nagoya Kyoto 195
+Toyama Niigata 215
+Toyama Kyoto 296
+Nagoya
+Niigata
+Toyama
+0 0 0
diff --git a/public_test_cases/p00897/output.0.txt b/public_test_cases/p00897/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fe4fc854193e604de2c6147032c814ef0e148a4
--- /dev/null
+++ b/public_test_cases/p00897/output.0.txt
@@ -0,0 +1,2 @@
+846
+-1
diff --git a/public_test_cases/p00897/output.1.txt b/public_test_cases/p00897/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fe4fc854193e604de2c6147032c814ef0e148a4
--- /dev/null
+++ b/public_test_cases/p00897/output.1.txt
@@ -0,0 +1,2 @@
+846
+-1
diff --git a/public_test_cases/p00898/input.0.txt b/public_test_cases/p00898/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18b776ca803e4126c9adb26d73732d98a0847311
--- /dev/null
+++ b/public_test_cases/p00898/input.0.txt
@@ -0,0 +1,7 @@
+0 0 1
+3 5 2
+-4 1 3
+13 -13 2
+-32 15 9
+-50 50 0
+0 0 0
diff --git a/public_test_cases/p00898/input.1.txt b/public_test_cases/p00898/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18b776ca803e4126c9adb26d73732d98a0847311
--- /dev/null
+++ b/public_test_cases/p00898/input.1.txt
@@ -0,0 +1,7 @@
+0 0 1
+3 5 2
+-4 1 3
+13 -13 2
+-32 15 9
+-50 50 0
+0 0 0
diff --git a/public_test_cases/p00898/output.0.txt b/public_test_cases/p00898/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..002a10c81278a5ad9242576837841e734ea7e30a
--- /dev/null
+++ b/public_test_cases/p00898/output.0.txt
@@ -0,0 +1,6 @@
+6
+10
+9
+30
+47
+100
diff --git a/public_test_cases/p00898/output.1.txt b/public_test_cases/p00898/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..002a10c81278a5ad9242576837841e734ea7e30a
--- /dev/null
+++ b/public_test_cases/p00898/output.1.txt
@@ -0,0 +1,6 @@
+6
+10
+9
+30
+47
+100
diff --git a/public_test_cases/p00899/input.0.txt b/public_test_cases/p00899/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00899/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00899/input.1.txt b/public_test_cases/p00899/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcc6b694d4b0734970d7af84ffdbbaeecd211e86
--- /dev/null
+++ b/public_test_cases/p00899/input.1.txt
@@ -0,0 +1,35 @@
+3
+FUKUOKA
+OKAYAMA
+YAMAGUCHI
+3
+FUKUOKA
+FUKUYAMA
+OKAYAMA
+2
+ABCDE
+EDCBA
+4
+GA
+DEFG
+CDDE
+ABCD
+2
+ABCDE
+C
+14
+AAAAA
+BBBBB
+CCCCC
+DDDDD
+EEEEE
+FFFFF
+GGGGG
+HHHHH
+IIIII
+JJJJJ
+KKKKK
+LLLLL
+MMMMM
+NNNNN
+0
diff --git a/public_test_cases/p00899/input.2.txt b/public_test_cases/p00899/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00899/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00899/output.0.txt b/public_test_cases/p00899/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p00899/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p00899/output.1.txt b/public_test_cases/p00899/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3e3cfeb85de75069a9a09562fa9a6178026c328
--- /dev/null
+++ b/public_test_cases/p00899/output.1.txt
@@ -0,0 +1,6 @@
+16
+19
+9
+9
+5
+70
diff --git a/public_test_cases/p00899/output.2.txt b/public_test_cases/p00899/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p00899/output.2.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p00900/input.0.txt b/public_test_cases/p00900/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e605fb09576858f177be31a77eb690c0191c0182
--- /dev/null
+++ b/public_test_cases/p00900/input.0.txt
@@ -0,0 +1 @@
+5 6
diff --git a/public_test_cases/p00900/input.1.txt b/public_test_cases/p00900/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67b7659d92aafce63213d466d6023e26f51a78b1
--- /dev/null
+++ b/public_test_cases/p00900/input.1.txt
@@ -0,0 +1,37 @@
+5 6
+*2.2**
+..*...
+..2...
+..*...
+*2.2**
+6 5
+.*2*.
+..*..
+..*..
+..2..
+..*..
+.*2*.
+5 6
+.1111.
+**...*
+33....
+**...0
+.*2**.
+6 9
+....1....
+...1.1...
+....1....
+.1..*..1.
+1.1***1.1
+.1..*..1.
+9 9
+*********
+*4*4*4*4*
+*********
+*4*4*4*4*
+*********
+*4*4*4*4*
+*********
+*4*4*4***
+*********
+0 0
diff --git a/public_test_cases/p00900/input.2.txt b/public_test_cases/p00900/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e605fb09576858f177be31a77eb690c0191c0182
--- /dev/null
+++ b/public_test_cases/p00900/input.2.txt
@@ -0,0 +1 @@
+5 6
diff --git a/public_test_cases/p00900/output.0.txt b/public_test_cases/p00900/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00900/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00900/output.1.txt b/public_test_cases/p00900/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ef444dc563580be778a0f40bc4d847883b316e0
--- /dev/null
+++ b/public_test_cases/p00900/output.1.txt
@@ -0,0 +1,5 @@
+6
+5
+5
+6
+23
diff --git a/public_test_cases/p00900/output.2.txt b/public_test_cases/p00900/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00900/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00901/input.0.txt b/public_test_cases/p00901/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b2a6ea36fff5702952867e725110e1d47b598db
--- /dev/null
+++ b/public_test_cases/p00901/input.0.txt
@@ -0,0 +1,80 @@
+4
+........4...2..........
+(.1.-.----.)..*.-.5.+.6
+........2..............
+.......3...............
+3
+...3.
+-.---
+...4.
+4
+.3.+.4.*.-.2.
+-------------
+..........2..
+...-.1.-.2...
+2
+...2..3
+(.4..).
+1
+2.+.3.*.5.-.7.+.9
+1
+(.2.+.3.).*.(.5.-.7.).+.9
+3
+.2....3.
+4..+.---
+......5.
+3
+.2......-.-.3.
+4..-.-.-------
+..........5...
+9
+............1............
+-------------------------
+..............1..........
+.1.+.-------------------.
+................1........
+......1.+.-------------..
+..................1......
+...........1.+.-------...
+................1.+.2....
+15
+.................2......
+................---.....
+.......2.........5....3.
+.(.---------.+.-----.)..
+.....7...........3......
+....---.+.1.............
+.....4..................
+------------------------
+.......2................
+......---...............
+.......5.......2....2...
+...(.-----.+.-----.)....
+.......3.......3........
+..............---.......
+...............4........
+2
+.0....2....
+3..+.4..*.5
+20
+............2............................2......................................
+...........3............................3.......................................
+..........----.........................----.....................................
+............4............................4......................................
+.....2.+.------.+.1...............2.+.------.+.1................................
+............2............................2......................................
+...........2............................2........................2..............
+..........----.........................----.....................3...............
+............2............................2.....................----.............
+...........3............................3........................4..............
+(.(.----------------.+.2.+.3.).*.----------------.+.2.).*.2.+.------.+.1.+.2.*.5
+............2............................2.......................2..............
+...........5............................5.......................2...............
+..........----.........................----....................----.............
+............6............................6.......................2..............
+.........------.......................------....................3...............
+............3............................3......................................
+..........----.........................----.....................................
+............2............................2......................................
+...........7............................7.......................................
+0
diff --git a/public_test_cases/p00901/input.1.txt b/public_test_cases/p00901/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b2a6ea36fff5702952867e725110e1d47b598db
--- /dev/null
+++ b/public_test_cases/p00901/input.1.txt
@@ -0,0 +1,80 @@
+4
+........4...2..........
+(.1.-.----.)..*.-.5.+.6
+........2..............
+.......3...............
+3
+...3.
+-.---
+...4.
+4
+.3.+.4.*.-.2.
+-------------
+..........2..
+...-.1.-.2...
+2
+...2..3
+(.4..).
+1
+2.+.3.*.5.-.7.+.9
+1
+(.2.+.3.).*.(.5.-.7.).+.9
+3
+.2....3.
+4..+.---
+......5.
+3
+.2......-.-.3.
+4..-.-.-------
+..........5...
+9
+............1............
+-------------------------
+..............1..........
+.1.+.-------------------.
+................1........
+......1.+.-------------..
+..................1......
+...........1.+.-------...
+................1.+.2....
+15
+.................2......
+................---.....
+.......2.........5....3.
+.(.---------.+.-----.)..
+.....7...........3......
+....---.+.1.............
+.....4..................
+------------------------
+.......2................
+......---...............
+.......5.......2....2...
+...(.-----.+.-----.)....
+.......3.......3........
+..............---.......
+...............4........
+2
+.0....2....
+3..+.4..*.5
+20
+............2............................2......................................
+...........3............................3.......................................
+..........----.........................----.....................................
+............4............................4......................................
+.....2.+.------.+.1...............2.+.------.+.1................................
+............2............................2......................................
+...........2............................2........................2..............
+..........----.........................----.....................3...............
+............2............................2.....................----.............
+...........3............................3........................4..............
+(.(.----------------.+.2.+.3.).*.----------------.+.2.).*.2.+.------.+.1.+.2.*.5
+............2............................2.......................2..............
+...........5............................5.......................2...............
+..........----.........................----....................----.............
+............6............................6.......................2..............
+.........------.......................------....................3...............
+............3............................3......................................
+..........----.........................----.....................................
+............2............................2......................................
+...........7............................7.......................................
+0
diff --git a/public_test_cases/p00901/output.0.txt b/public_test_cases/p00901/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1850a02095d0f690b0b7b1aa664bbf606a882c33
--- /dev/null
+++ b/public_test_cases/p00901/output.0.txt
@@ -0,0 +1,12 @@
+501
+502
+1
+74
+19
+2010
+821
+821
+1646
+148
+81
+1933
diff --git a/public_test_cases/p00901/output.1.txt b/public_test_cases/p00901/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1850a02095d0f690b0b7b1aa664bbf606a882c33
--- /dev/null
+++ b/public_test_cases/p00901/output.1.txt
@@ -0,0 +1,12 @@
+501
+502
+1
+74
+19
+2010
+821
+821
+1646
+148
+81
+1933
diff --git a/public_test_cases/p00902/input.0.txt b/public_test_cases/p00902/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d92784b3c3760802282b8da4474482e6e74649d8
--- /dev/null
+++ b/public_test_cases/p00902/input.0.txt
@@ -0,0 +1,75 @@
+1 10
+5 5 7
+2 12
+5 5 7
+8 6 3
+3 10
+3 11 2
+2 1 1
+2 16 3
+3 15
+-5 2 5
+9 2 9
+5 8 6
+3 38
+-25 -10 8
+30 5 7
+-3 35 11
+3 39
+-25 -10 8
+30 5 7
+-3 35 11
+3 800
+-400 400 2
+300 300 1
+300 302 1
+3 800
+400 -400 2
+300 300 1
+307 300 3
+8 147
+130 80 12
+130 -40 12
+-110 80 12
+-110 -40 12
+70 140 12
+70 -100 12
+-50 140 12
+-50 -100 12
+3 493
+345 154 10
+291 111 75
+-275 -301 46
+4 55
+54 0 1
+40 30 5
+27 36 10
+0 48 7
+3 30
+0 3 3
+-3 0 4
+400 0 3
+3 7
+2 3 2
+-5 -4 2
+-4 3 2
+3 10
+-5 -4 5
+2 3 5
+-4 3 5
+4 6
+4 6 1
+5 5 1
+1 7 1
+0 1 1
+3 493
+345 154 10
+291 111 75
+-275 -301 46
+5 20
+-9 12 5
+0 15 5
+3 -3 3
+12 9 5
+-12 9 5
+0 0
diff --git a/public_test_cases/p00902/input.1.txt b/public_test_cases/p00902/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d92784b3c3760802282b8da4474482e6e74649d8
--- /dev/null
+++ b/public_test_cases/p00902/input.1.txt
@@ -0,0 +1,75 @@
+1 10
+5 5 7
+2 12
+5 5 7
+8 6 3
+3 10
+3 11 2
+2 1 1
+2 16 3
+3 15
+-5 2 5
+9 2 9
+5 8 6
+3 38
+-25 -10 8
+30 5 7
+-3 35 11
+3 39
+-25 -10 8
+30 5 7
+-3 35 11
+3 800
+-400 400 2
+300 300 1
+300 302 1
+3 800
+400 -400 2
+300 300 1
+307 300 3
+8 147
+130 80 12
+130 -40 12
+-110 80 12
+-110 -40 12
+70 140 12
+70 -100 12
+-50 140 12
+-50 -100 12
+3 493
+345 154 10
+291 111 75
+-275 -301 46
+4 55
+54 0 1
+40 30 5
+27 36 10
+0 48 7
+3 30
+0 3 3
+-3 0 4
+400 0 3
+3 7
+2 3 2
+-5 -4 2
+-4 3 2
+3 10
+-5 -4 5
+2 3 5
+-4 3 5
+4 6
+4 6 1
+5 5 1
+1 7 1
+0 1 1
+3 493
+345 154 10
+291 111 75
+-275 -301 46
+5 20
+-9 12 5
+0 15 5
+3 -3 3
+12 9 5
+-12 9 5
+0 0
diff --git a/public_test_cases/p00902/output.0.txt b/public_test_cases/p00902/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd4d0327c3b21b4159fbbba497840682c583c103
--- /dev/null
+++ b/public_test_cases/p00902/output.0.txt
@@ -0,0 +1,17 @@
+81.68140899333463
+106.81415022205297
+74.11215318612639
+108.92086846105579
+0.0
+254.85616536128433
+8576.936716409238
+8569.462129048667
+929.1977057481128
+4181.124698202453
+505.09134735536804
+0.0
+46.82023824234038
+65.66979416387915
+50.990642291793506
+4181.124698202453
+158.87951420768937
diff --git a/public_test_cases/p00902/output.1.txt b/public_test_cases/p00902/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd4d0327c3b21b4159fbbba497840682c583c103
--- /dev/null
+++ b/public_test_cases/p00902/output.1.txt
@@ -0,0 +1,17 @@
+81.68140899333463
+106.81415022205297
+74.11215318612639
+108.92086846105579
+0.0
+254.85616536128433
+8576.936716409238
+8569.462129048667
+929.1977057481128
+4181.124698202453
+505.09134735536804
+0.0
+46.82023824234038
+65.66979416387915
+50.990642291793506
+4181.124698202453
+158.87951420768937
diff --git a/public_test_cases/p00903/input.0.txt b/public_test_cases/p00903/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd3824f719a250a136befea912a079ea8fb4015f
--- /dev/null
+++ b/public_test_cases/p00903/input.0.txt
@@ -0,0 +1,27 @@
+3 6
+3 1
+1 2 1
+2 3 1
+3 2 1
+2 1 1
+1 3 4
+3 1 4
+3 6
+5 1
+1 2 1
+2 3 1
+3 2 1
+2 1 1
+1 3 4
+3 1 4
+4 5
+3 1
+3 1
+1 2 5
+2 3 5
+3 4 5
+4 2 5
+3 1 5
+2 1
+2 1 1
+0 0
diff --git a/public_test_cases/p00903/input.1.txt b/public_test_cases/p00903/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd3824f719a250a136befea912a079ea8fb4015f
--- /dev/null
+++ b/public_test_cases/p00903/input.1.txt
@@ -0,0 +1,27 @@
+3 6
+3 1
+1 2 1
+2 3 1
+3 2 1
+2 1 1
+1 3 4
+3 1 4
+3 6
+5 1
+1 2 1
+2 3 1
+3 2 1
+2 1 1
+1 3 4
+3 1 4
+4 5
+3 1
+3 1
+1 2 5
+2 3 5
+3 4 5
+4 2 5
+3 1 5
+2 1
+2 1 1
+0 0
diff --git a/public_test_cases/p00903/output.0.txt b/public_test_cases/p00903/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebc1826f6dcbd08150b0139b16c9e97540e3cb8d
--- /dev/null
+++ b/public_test_cases/p00903/output.0.txt
@@ -0,0 +1,4 @@
+7
+8
+36
+-1
diff --git a/public_test_cases/p00903/output.1.txt b/public_test_cases/p00903/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebc1826f6dcbd08150b0139b16c9e97540e3cb8d
--- /dev/null
+++ b/public_test_cases/p00903/output.1.txt
@@ -0,0 +1,4 @@
+7
+8
+36
+-1
diff --git a/public_test_cases/p00904/input.0.txt b/public_test_cases/p00904/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecf1bf4a938ca6820d2b9610f5a4ba9c3e409f82
--- /dev/null
+++ b/public_test_cases/p00904/input.0.txt
@@ -0,0 +1,9 @@
+8
+10 0
+0 2
+-3 0
+4 2
+0 -13
+-4 1
+-2 -1
+3 -1
diff --git a/public_test_cases/p00904/input.1.txt b/public_test_cases/p00904/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecf1bf4a938ca6820d2b9610f5a4ba9c3e409f82
--- /dev/null
+++ b/public_test_cases/p00904/input.1.txt
@@ -0,0 +1,9 @@
+8
+10 0
+0 2
+-3 0
+4 2
+0 -13
+-4 1
+-2 -1
+3 -1
diff --git a/public_test_cases/p00904/output.0.txt b/public_test_cases/p00904/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7622f3cb9776be26bfa711ccad504a2ba329d393
--- /dev/null
+++ b/public_test_cases/p00904/output.0.txt
@@ -0,0 +1,8 @@
+C
+C
+P
+C
+C
+P
+P
+C
diff --git a/public_test_cases/p00904/output.1.txt b/public_test_cases/p00904/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7622f3cb9776be26bfa711ccad504a2ba329d393
--- /dev/null
+++ b/public_test_cases/p00904/output.1.txt
@@ -0,0 +1,8 @@
+C
+C
+P
+C
+C
+P
+P
+C
diff --git a/public_test_cases/p00905/input.0.txt b/public_test_cases/p00905/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..610c642290eca020485702f17ca3c2d98fcdeffb
--- /dev/null
+++ b/public_test_cases/p00905/input.0.txt
@@ -0,0 +1,58 @@
+5 4
+(Follow.my.style
+.........starting.from.round.brackets)
+{then.curly.brackets
+.....[.and.finally
+.......square.brackets.]}
+(Thank.you
+{for.showing.me
+[all
+the.secrets]})
+4 2
+(This.time.I.will.show.you
+.........(how.to.use.round.brackets)
+.........[but.not.about.square.brackets]
+.........{nor.curly.brackets})
+(I.learned
+how.to.use.round.brackets)
+4 2
+(This.time.I.will.show.you
+.........(how.to.use.round.brackets)
+.........[but.not.about.square.brackets]
+.........{nor.curly.brackets})
+[I.have.not.learned
+how.to.use.square.brackets]
+2 2
+(Be.smart.and.let.fear.of
+..(closed.brackets).go)
+(A.pair.of.round.brackets.enclosing
+[A.line.enclosed.in.square.brackets])
+1 2
+Telling.you.nothing.but.you.can.make.it
+[One.liner.(is).(never.indented)]
+[One.liner.(is).(never.indented)]
+2 4
+([{Learn.from.my.KungFu
+...}])
+((
+{{
+[[
+]]}}))
+1 2
+Do.not.waste.your.time.trying.to.read.from.emptiness
+(
+)
+2 3
+({Quite.interesting.art.of.ambiguity
+....})
+{
+(
+)}
+2 4
+({[
+............................................................]})
+(
+{
+[
+]})
+0 0
diff --git a/public_test_cases/p00905/input.1.txt b/public_test_cases/p00905/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..610c642290eca020485702f17ca3c2d98fcdeffb
--- /dev/null
+++ b/public_test_cases/p00905/input.1.txt
@@ -0,0 +1,58 @@
+5 4
+(Follow.my.style
+.........starting.from.round.brackets)
+{then.curly.brackets
+.....[.and.finally
+.......square.brackets.]}
+(Thank.you
+{for.showing.me
+[all
+the.secrets]})
+4 2
+(This.time.I.will.show.you
+.........(how.to.use.round.brackets)
+.........[but.not.about.square.brackets]
+.........{nor.curly.brackets})
+(I.learned
+how.to.use.round.brackets)
+4 2
+(This.time.I.will.show.you
+.........(how.to.use.round.brackets)
+.........[but.not.about.square.brackets]
+.........{nor.curly.brackets})
+[I.have.not.learned
+how.to.use.square.brackets]
+2 2
+(Be.smart.and.let.fear.of
+..(closed.brackets).go)
+(A.pair.of.round.brackets.enclosing
+[A.line.enclosed.in.square.brackets])
+1 2
+Telling.you.nothing.but.you.can.make.it
+[One.liner.(is).(never.indented)]
+[One.liner.(is).(never.indented)]
+2 4
+([{Learn.from.my.KungFu
+...}])
+((
+{{
+[[
+]]}}))
+1 2
+Do.not.waste.your.time.trying.to.read.from.emptiness
+(
+)
+2 3
+({Quite.interesting.art.of.ambiguity
+....})
+{
+(
+)}
+2 4
+({[
+............................................................]})
+(
+{
+[
+]})
+0 0
diff --git a/public_test_cases/p00905/output.0.txt b/public_test_cases/p00905/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..029d809760e3ed92f527e2ae06eebe0d5e4ae7ff
--- /dev/null
+++ b/public_test_cases/p00905/output.0.txt
@@ -0,0 +1,9 @@
+0 9 14 16
+0 9
+0 -1
+0 2
+0 0
+0 2 4 6
+0 -1
+0 -1 4
+0 20 40 60
diff --git a/public_test_cases/p00905/output.1.txt b/public_test_cases/p00905/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..029d809760e3ed92f527e2ae06eebe0d5e4ae7ff
--- /dev/null
+++ b/public_test_cases/p00905/output.1.txt
@@ -0,0 +1,9 @@
+0 9 14 16
+0 9
+0 -1
+0 2
+0 0
+0 2 4 6
+0 -1
+0 -1 4
+0 20 40 60
diff --git a/public_test_cases/p00906/input.0.txt b/public_test_cases/p00906/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffd36a575db6e98550d9176434db79e157243554
--- /dev/null
+++ b/public_test_cases/p00906/input.0.txt
@@ -0,0 +1,19 @@
+5 4 1 3 2 0
+0 1 2 0 1
+5 7 1 3 2 1
+0 1 2 0 1
+5 13 1 3 2 11
+0 1 2 0 1
+5 5 2 0 1 100
+0 1 2 0 1
+6 6 0 2 3 1000
+0 1 2 0 1 4
+20 1000 0 2 3 1000000000
+0 1 2 0 1 0 1 2 0 1 0 1 2 0 1 0 1 2 0 1
+30 2 1 0 1 1000000000
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
+30 2 1 1 1 1000000000
+1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+30 5 2 3 1 1000000000
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0
diff --git a/public_test_cases/p00906/input.1.txt b/public_test_cases/p00906/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffd36a575db6e98550d9176434db79e157243554
--- /dev/null
+++ b/public_test_cases/p00906/input.1.txt
@@ -0,0 +1,19 @@
+5 4 1 3 2 0
+0 1 2 0 1
+5 7 1 3 2 1
+0 1 2 0 1
+5 13 1 3 2 11
+0 1 2 0 1
+5 5 2 0 1 100
+0 1 2 0 1
+6 6 0 2 3 1000
+0 1 2 0 1 4
+20 1000 0 2 3 1000000000
+0 1 2 0 1 0 1 2 0 1 0 1 2 0 1 0 1 2 0 1
+30 2 1 0 1 1000000000
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
+30 2 1 1 1 1000000000
+1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+30 5 2 3 1 1000000000
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0
diff --git a/public_test_cases/p00906/output.0.txt b/public_test_cases/p00906/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaa8e87e54b40d52d16113a9d4494d280009b6fa
--- /dev/null
+++ b/public_test_cases/p00906/output.0.txt
@@ -0,0 +1,9 @@
+0 1 2 0 1
+2 0 0 4 3
+2 12 10 9 11
+3 0 4 2 1
+0 4 2 0 4 4
+0 376 752 0 376 0 376 752 0 376 0 376 752 0 376 0 376 752 0 376
+1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
+1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
+1 1 3 2 2 2 3 3 1 4 3 1 2 3 0 4 3 3 0 4 2 2 2 2 1 1 2 1 3 0
diff --git a/public_test_cases/p00906/output.1.txt b/public_test_cases/p00906/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaa8e87e54b40d52d16113a9d4494d280009b6fa
--- /dev/null
+++ b/public_test_cases/p00906/output.1.txt
@@ -0,0 +1,9 @@
+0 1 2 0 1
+2 0 0 4 3
+2 12 10 9 11
+3 0 4 2 1
+0 4 2 0 4 4
+0 376 752 0 376 0 376 752 0 376 0 376 752 0 376 0 376 752 0 376
+1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
+1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
+1 1 3 2 2 2 3 3 1 4 3 1 2 3 0 4 3 3 0 4 2 2 2 2 1 1 2 1 3 0
diff --git a/public_test_cases/p00907/input.0.txt b/public_test_cases/p00907/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..819250aca4b95f5f6d463b0cdc228e6e0159488c
--- /dev/null
+++ b/public_test_cases/p00907/input.0.txt
@@ -0,0 +1,29 @@
+2
+1.0
+4.0
+12.0
+16.0
+25.0
+1
+-30.5893962764
+5.76397083962
+39.3853798058
+74.3727663177
+4
+42.4715310246
+79.5420238202
+28.0282396675
+-30.3627807522
+-49.8363481393
+-25.5101480106
+7.58575761381
+5
+-21.9161699038
+-48.469304271
+-24.3188578417
+-2.35085940324
+-9.70239202086
+-47.2709510623
+-93.5066246072
+-82.5073836498
+0
diff --git a/public_test_cases/p00907/input.1.txt b/public_test_cases/p00907/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..819250aca4b95f5f6d463b0cdc228e6e0159488c
--- /dev/null
+++ b/public_test_cases/p00907/input.1.txt
@@ -0,0 +1,29 @@
+2
+1.0
+4.0
+12.0
+16.0
+25.0
+1
+-30.5893962764
+5.76397083962
+39.3853798058
+74.3727663177
+4
+42.4715310246
+79.5420238202
+28.0282396675
+-30.3627807522
+-49.8363481393
+-25.5101480106
+7.58575761381
+5
+-21.9161699038
+-48.469304271
+-24.3188578417
+-2.35085940324
+-9.70239202086
+-47.2709510623
+-93.5066246072
+-82.5073836498
+0
diff --git a/public_test_cases/p00907/output.0.txt b/public_test_cases/p00907/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b1d45f6d0814e36350c724cce690a1967e37ecd
--- /dev/null
+++ b/public_test_cases/p00907/output.0.txt
@@ -0,0 +1,4 @@
+2
+1
+1
+6
diff --git a/public_test_cases/p00907/output.1.txt b/public_test_cases/p00907/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b1d45f6d0814e36350c724cce690a1967e37ecd
--- /dev/null
+++ b/public_test_cases/p00907/output.1.txt
@@ -0,0 +1,4 @@
+2
+1
+1
+6
diff --git a/public_test_cases/p00908/input.0.txt b/public_test_cases/p00908/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1f5b0a020ea5f67b6fc7e6763652f5a417f8886
--- /dev/null
+++ b/public_test_cases/p00908/input.0.txt
@@ -0,0 +1,27 @@
+3 3
+oo.
+oXX
+.XX
+3 3
+XXo
+XX.
+o.o
+3 5
+.o*XX
+oooXX
+oooo.
+7 12
+oooooooooooo
+ooooo*****oo
+oooooo****oo
+o**ooo***ooo
+o***ooooo..o
+o**ooooooXXo
+ooooo****XXo
+5 30
+oooooooooooooooooooooooooooooo
+oooooooooooooooooooooooooooooo
+o***************************oo
+XX.ooooooooooooooooooooooooooo
+XX.ooooooooooooooooooooooooooo
+0 0
diff --git a/public_test_cases/p00908/input.1.txt b/public_test_cases/p00908/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1f5b0a020ea5f67b6fc7e6763652f5a417f8886
--- /dev/null
+++ b/public_test_cases/p00908/input.1.txt
@@ -0,0 +1,27 @@
+3 3
+oo.
+oXX
+.XX
+3 3
+XXo
+XX.
+o.o
+3 5
+.o*XX
+oooXX
+oooo.
+7 12
+oooooooooooo
+ooooo*****oo
+oooooo****oo
+o**ooo***ooo
+o***ooooo..o
+o**ooooooXXo
+ooooo****XXo
+5 30
+oooooooooooooooooooooooooooooo
+oooooooooooooooooooooooooooooo
+o***************************oo
+XX.ooooooooooooooooooooooooooo
+XX.ooooooooooooooooooooooooooo
+0 0
diff --git a/public_test_cases/p00908/output.0.txt b/public_test_cases/p00908/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9786882852bc251bbe27300b758c261d8b7cdd4e
--- /dev/null
+++ b/public_test_cases/p00908/output.0.txt
@@ -0,0 +1,5 @@
+11
+0
+-1
+382
+6807
diff --git a/public_test_cases/p00908/output.1.txt b/public_test_cases/p00908/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9786882852bc251bbe27300b758c261d8b7cdd4e
--- /dev/null
+++ b/public_test_cases/p00908/output.1.txt
@@ -0,0 +1,5 @@
+11
+0
+-1
+382
+6807
diff --git a/public_test_cases/p00909/input.0.txt b/public_test_cases/p00909/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c29e09cab13998b54d1e9aa4e325377cd28e02f1
--- /dev/null
+++ b/public_test_cases/p00909/input.0.txt
@@ -0,0 +1,15 @@
+2 2
+! 1 2 1
+? 1 2
+2 2
+! 1 2 1
+? 2 1
+4 7
+! 1 2 100
+? 2 3
+! 2 3 100
+? 2 3
+? 1 3
+! 4 3 150
+? 4 1
+0 0
diff --git a/public_test_cases/p00909/input.1.txt b/public_test_cases/p00909/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c29e09cab13998b54d1e9aa4e325377cd28e02f1
--- /dev/null
+++ b/public_test_cases/p00909/input.1.txt
@@ -0,0 +1,15 @@
+2 2
+! 1 2 1
+? 1 2
+2 2
+! 1 2 1
+? 2 1
+4 7
+! 1 2 100
+? 2 3
+! 2 3 100
+? 2 3
+? 1 3
+! 4 3 150
+? 4 1
+0 0
diff --git a/public_test_cases/p00909/output.0.txt b/public_test_cases/p00909/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cdc88568e3eb21f64098200c24a6f78336d05cf
--- /dev/null
+++ b/public_test_cases/p00909/output.0.txt
@@ -0,0 +1,6 @@
+1
+-1
+UNKNOWN
+100
+200
+-50
diff --git a/public_test_cases/p00909/output.1.txt b/public_test_cases/p00909/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cdc88568e3eb21f64098200c24a6f78336d05cf
--- /dev/null
+++ b/public_test_cases/p00909/output.1.txt
@@ -0,0 +1,6 @@
+1
+-1
+UNKNOWN
+100
+200
+-50
diff --git a/public_test_cases/p00910/input.0.txt b/public_test_cases/p00910/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b04ee707529b48cb0f87c2e1cdf9a49e2a53953e
--- /dev/null
+++ b/public_test_cases/p00910/input.0.txt
@@ -0,0 +1,55 @@
+12 5 4
+0 10 0 1
+1 5 0 2
+1 4 0 2
+0 0 0 2
+10 0 0 1
+3 -1 0 2
+5 -1 0 2
+10 10 0 15
+0 -10 0 1
+10 -10 0 1
+-10 -10 0 1
+10 10 0 1
+0 10 0 240
+10 0 0 200
+10 -2 0 52
+-10 0 0 100
+1 1 0 2
+0 0 0
+12 5 4
+0 10 0 1
+1 5 0 2
+1 4 0 2
+0 0 0 2
+10 0 0 1
+3 -1 0 2
+5 -1 0 2
+10 10 0 15
+0 -10 0 1
+10 -10 0 1
+-10 -10 0 1
+10 10 0 1
+0 10 0 260
+10 0 0 200
+10 -2 0 52
+-10 0 0 100
+1 1 0 2
+0 0 0
+5 1 3
+1 2 0 2
+-1 8 -1 8
+-2 -3 5 6
+-2 1 3 3
+-4 2 3 5
+1 1 2 7
+0 0 0
+5 1 2
+1 2 0 2
+-1 8 -1 8
+-2 -3 5 6
+-2 1 3 3
+-4 2 3 5
+1 1 2 7
+0 0 0
+0 0 0
diff --git a/public_test_cases/p00910/input.1.txt b/public_test_cases/p00910/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b04ee707529b48cb0f87c2e1cdf9a49e2a53953e
--- /dev/null
+++ b/public_test_cases/p00910/input.1.txt
@@ -0,0 +1,55 @@
+12 5 4
+0 10 0 1
+1 5 0 2
+1 4 0 2
+0 0 0 2
+10 0 0 1
+3 -1 0 2
+5 -1 0 2
+10 10 0 15
+0 -10 0 1
+10 -10 0 1
+-10 -10 0 1
+10 10 0 1
+0 10 0 240
+10 0 0 200
+10 -2 0 52
+-10 0 0 100
+1 1 0 2
+0 0 0
+12 5 4
+0 10 0 1
+1 5 0 2
+1 4 0 2
+0 0 0 2
+10 0 0 1
+3 -1 0 2
+5 -1 0 2
+10 10 0 15
+0 -10 0 1
+10 -10 0 1
+-10 -10 0 1
+10 10 0 1
+0 10 0 260
+10 0 0 200
+10 -2 0 52
+-10 0 0 100
+1 1 0 2
+0 0 0
+5 1 3
+1 2 0 2
+-1 8 -1 8
+-2 -3 5 6
+-2 1 3 3
+-4 2 3 5
+1 1 2 7
+0 0 0
+5 1 2
+1 2 0 2
+-1 8 -1 8
+-2 -3 5 6
+-2 1 3 3
+-4 2 3 5
+1 1 2 7
+0 0 0
+0 0 0
diff --git a/public_test_cases/p00910/output.0.txt b/public_test_cases/p00910/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ff89df06e0a074d9f11a7a0402afacdb7ce8be0
--- /dev/null
+++ b/public_test_cases/p00910/output.0.txt
@@ -0,0 +1,4 @@
+3.5
+3.6
+1.1666666666666667
+0.0
diff --git a/public_test_cases/p00910/output.1.txt b/public_test_cases/p00910/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ff89df06e0a074d9f11a7a0402afacdb7ce8be0
--- /dev/null
+++ b/public_test_cases/p00910/output.1.txt
@@ -0,0 +1,4 @@
+3.5
+3.6
+1.1666666666666667
+0.0
diff --git a/public_test_cases/p00911/input.0.txt b/public_test_cases/p00911/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfc3aab3f8702d2dcc45f22cde19b5b8237f888f
--- /dev/null
+++ b/public_test_cases/p00911/input.0.txt
@@ -0,0 +1,22 @@
+4 5
+1 2 1
+1 3 2
+1 1 3
+3 1 3
+1 3 1
+4 4
+1 2 1
+1 3 2
+1 1 3
+4 1 3
+4 5
+1 2 1
+1 3 2
+1 1 3
+4 1 3
+5 1 3
+2 3
+1 1 2
+2 1 2
+3 1 2
+0 0
diff --git a/public_test_cases/p00911/output.0.txt b/public_test_cases/p00911/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d99b619f547604cf45c4a45eb646db49ae3912ed
--- /dev/null
+++ b/public_test_cases/p00911/output.0.txt
@@ -0,0 +1,4 @@
+3
+4
+4
+2
diff --git a/public_test_cases/p00912/input.0.txt b/public_test_cases/p00912/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5416ba96cf6af86418bea1d0f0b9382239f8bb8
--- /dev/null
+++ b/public_test_cases/p00912/input.0.txt
@@ -0,0 +1,11 @@
+11 4
+4 2 1 3
+5 7
+1 1 1 2 2 1 2
+11 7
+3 1 3 1 3 3 4
+100 3
+30 30 39
+30 3
+2 5 3
+0 0
diff --git a/public_test_cases/p00912/output.0.txt b/public_test_cases/p00912/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c12b24cf6a60ceb02fa0740e499124bac6cd143
--- /dev/null
+++ b/public_test_cases/p00912/output.0.txt
@@ -0,0 +1,5 @@
+2
+1
+2
+40
+1
diff --git a/public_test_cases/p00913/input.0.txt b/public_test_cases/p00913/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54569fab3a403bfa9c1501ec3ce0a2bd408c05e0
--- /dev/null
+++ b/public_test_cases/p00913/input.0.txt
@@ -0,0 +1,51 @@
+0 0 0 3 3 3
+###
+###
+###
+###
+###
+###
+###
+###
+###
+3 3 0 0 0 3
+#..
+###
+###
+###
+###
+###
+#.#
+###
+###
+0 0 2 2 2 2
+...
+...
+...
+.#.
+#..
+...
+##.
+##.
+...
+0 1 2 2 1 1
+...
+...
+...
+.#.
+#..
+...
+##.
+##.
+...
+3 2 0 2 3 2
+###
+..#
+...
+..#
+...
+.#.
+..#
+..#
+.##
+0 0 0 0 0 0
diff --git a/public_test_cases/p00913/input.1.txt b/public_test_cases/p00913/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54569fab3a403bfa9c1501ec3ce0a2bd408c05e0
--- /dev/null
+++ b/public_test_cases/p00913/input.1.txt
@@ -0,0 +1,51 @@
+0 0 0 3 3 3
+###
+###
+###
+###
+###
+###
+###
+###
+###
+3 3 0 0 0 3
+#..
+###
+###
+###
+###
+###
+#.#
+###
+###
+0 0 2 2 2 2
+...
+...
+...
+.#.
+#..
+...
+##.
+##.
+...
+0 1 2 2 1 1
+...
+...
+...
+.#.
+#..
+...
+##.
+##.
+...
+3 2 0 2 3 2
+###
+..#
+...
+..#
+...
+.#.
+..#
+..#
+.##
+0 0 0 0 0 0
diff --git a/public_test_cases/p00913/output.0.txt b/public_test_cases/p00913/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0635202b37966d3bb9e283351c3f8f4975817103
--- /dev/null
+++ b/public_test_cases/p00913/output.0.txt
@@ -0,0 +1,5 @@
+6.70820393249936941515
+6.47870866461907457534
+2.82842712474619029095
+2.23606797749978980505
+2.82842712474619029095
diff --git a/public_test_cases/p00913/output.1.txt b/public_test_cases/p00913/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0635202b37966d3bb9e283351c3f8f4975817103
--- /dev/null
+++ b/public_test_cases/p00913/output.1.txt
@@ -0,0 +1,5 @@
+6.70820393249936941515
+6.47870866461907457534
+2.82842712474619029095
+2.23606797749978980505
+2.82842712474619029095
diff --git a/public_test_cases/p00914/input.0.txt b/public_test_cases/p00914/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa299021c970d2d66a899784156ed48e71e8a1a1
--- /dev/null
+++ b/public_test_cases/p00914/input.0.txt
@@ -0,0 +1,10 @@
+9 3 23
+9 3 22
+10 3 28
+16 10 107
+20 8 102
+20 10 105
+20 10 155
+3 4 3
+4 2 11
+0 0 0
diff --git a/public_test_cases/p00914/input.1.txt b/public_test_cases/p00914/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa299021c970d2d66a899784156ed48e71e8a1a1
--- /dev/null
+++ b/public_test_cases/p00914/input.1.txt
@@ -0,0 +1,10 @@
+9 3 23
+9 3 22
+10 3 28
+16 10 107
+20 8 102
+20 10 105
+20 10 155
+3 4 3
+4 2 11
+0 0 0
diff --git a/public_test_cases/p00914/output.0.txt b/public_test_cases/p00914/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47061306dbb5eebeb3676067bc81b48e8a8c2e10
--- /dev/null
+++ b/public_test_cases/p00914/output.0.txt
@@ -0,0 +1,9 @@
+1
+2
+0
+20
+1542
+5448
+1
+0
+0
diff --git a/public_test_cases/p00914/output.1.txt b/public_test_cases/p00914/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47061306dbb5eebeb3676067bc81b48e8a8c2e10
--- /dev/null
+++ b/public_test_cases/p00914/output.1.txt
@@ -0,0 +1,9 @@
+1
+2
+0
+20
+1542
+5448
+1
+0
+0
diff --git a/public_test_cases/p00915/input.0.txt b/public_test_cases/p00915/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47124828102190cfd10bd8d19b5c540d07351ca1
--- /dev/null
+++ b/public_test_cases/p00915/input.0.txt
@@ -0,0 +1,28 @@
+3 6
+R 1
+L 2
+L 5
+1 10
+R 1
+2 10
+R 5
+L 7
+2 10
+R 3
+L 8
+2 99
+R 1
+L 98
+4 10
+L 1
+R 2
+L 8
+R 9
+6 10
+R 2
+R 3
+L 4
+R 6
+L 7
+L 8
+0 0
diff --git a/public_test_cases/p00915/input.1.txt b/public_test_cases/p00915/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47124828102190cfd10bd8d19b5c540d07351ca1
--- /dev/null
+++ b/public_test_cases/p00915/input.1.txt
@@ -0,0 +1,28 @@
+3 6
+R 1
+L 2
+L 5
+1 10
+R 1
+2 10
+R 5
+L 7
+2 10
+R 3
+L 8
+2 99
+R 1
+L 98
+4 10
+L 1
+R 2
+L 8
+R 9
+6 10
+R 2
+R 3
+L 4
+R 6
+L 7
+L 8
+0 0
diff --git a/public_test_cases/p00915/output.0.txt b/public_test_cases/p00915/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..250cdc06dc1c39cca3739fd4198c17aae33172ba
--- /dev/null
+++ b/public_test_cases/p00915/output.0.txt
@@ -0,0 +1,7 @@
+5 1
+9 1
+7 1
+8 2
+98 2
+8 2
+8 3
diff --git a/public_test_cases/p00915/output.1.txt b/public_test_cases/p00915/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..250cdc06dc1c39cca3739fd4198c17aae33172ba
--- /dev/null
+++ b/public_test_cases/p00915/output.1.txt
@@ -0,0 +1,7 @@
+5 1
+9 1
+7 1
+8 2
+98 2
+8 2
+8 3
diff --git a/public_test_cases/p00916/input.0.txt b/public_test_cases/p00916/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbe904a7e59770e74267f6f8e44cfe36f086f84a
--- /dev/null
+++ b/public_test_cases/p00916/input.0.txt
@@ -0,0 +1,14 @@
+3
+4 28 27 11
+15 20 42 5
+11 24 33 14
+5
+4 28 27 11
+12 11 34 2
+7 26 14 16
+14 16 19 12
+17 28 27 21
+2
+300000 1000000 600000 0
+0 600000 1000000 300000
+0
diff --git a/public_test_cases/p00916/input.1.txt b/public_test_cases/p00916/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbe904a7e59770e74267f6f8e44cfe36f086f84a
--- /dev/null
+++ b/public_test_cases/p00916/input.1.txt
@@ -0,0 +1,14 @@
+3
+4 28 27 11
+15 20 42 5
+11 24 33 14
+5
+4 28 27 11
+12 11 34 2
+7 26 14 16
+14 16 19 12
+17 28 27 21
+2
+300000 1000000 600000 0
+0 600000 1000000 300000
+0
diff --git a/public_test_cases/p00916/output.0.txt b/public_test_cases/p00916/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fea14c26b691d25a3209399c86759b403a79dbff
--- /dev/null
+++ b/public_test_cases/p00916/output.0.txt
@@ -0,0 +1,3 @@
+8
+6
+6
diff --git a/public_test_cases/p00916/output.1.txt b/public_test_cases/p00916/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fea14c26b691d25a3209399c86759b403a79dbff
--- /dev/null
+++ b/public_test_cases/p00916/output.1.txt
@@ -0,0 +1,3 @@
+8
+6
+6
diff --git a/public_test_cases/p00917/input.0.txt b/public_test_cases/p00917/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8216068f0073a4c77745097ae77b968f787d5c5b
--- /dev/null
+++ b/public_test_cases/p00917/input.0.txt
@@ -0,0 +1,25 @@
+12 0 0 0
+12 11 59 59
+12 1 56 0
+12 1 56 3
+12 1 56 34
+12 3 9 43
+12 3 10 14
+12 7 17 58
+12 7 18 28
+12 7 23 0
+12 7 23 31
+2 0 38 29
+2 0 39 0
+2 0 39 30
+2 1 6 20
+2 1 20 1
+2 1 20 31
+3 2 15 0
+3 2 59 30
+4 0 28 48
+5 1 5 40
+5 1 6 10
+5 1 7 41
+11 0 55 0
+0 0 0 0
diff --git a/public_test_cases/p00917/input.1.txt b/public_test_cases/p00917/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8216068f0073a4c77745097ae77b968f787d5c5b
--- /dev/null
+++ b/public_test_cases/p00917/input.1.txt
@@ -0,0 +1,25 @@
+12 0 0 0
+12 11 59 59
+12 1 56 0
+12 1 56 3
+12 1 56 34
+12 3 9 43
+12 3 10 14
+12 7 17 58
+12 7 18 28
+12 7 23 0
+12 7 23 31
+2 0 38 29
+2 0 39 0
+2 0 39 30
+2 1 6 20
+2 1 20 1
+2 1 20 31
+3 2 15 0
+3 2 59 30
+4 0 28 48
+5 1 5 40
+5 1 6 10
+5 1 7 41
+11 0 55 0
+0 0 0 0
diff --git a/public_test_cases/p00917/output.0.txt b/public_test_cases/p00917/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5a8de7b541942fcbbb703ec5ba8f000316d1a24
--- /dev/null
+++ b/public_test_cases/p00917/output.0.txt
@@ -0,0 +1,24 @@
+0 0 43200 1427
+0 0 43200 1427
+1 56 4080 1427
+1 56 47280 1427
+1 57 4860 1427
+3 10 18600 1427
+3 10 61800 1427
+7 18 39240 1427
+7 18 82440 1427
+7 23 43140 1427
+7 24 720 1427
+0 38 4680 79
+0 39 2340 79
+0 40 0 1
+1 6 3960 79
+1 20 2400 79
+1 21 60 79
+2 15 0 1
+0 0 2700 89
+0 28 48 1
+1 6 320 33
+1 6 40 1
+1 8 120 11
+0 55 0 1
diff --git a/public_test_cases/p00917/output.1.txt b/public_test_cases/p00917/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5a8de7b541942fcbbb703ec5ba8f000316d1a24
--- /dev/null
+++ b/public_test_cases/p00917/output.1.txt
@@ -0,0 +1,24 @@
+0 0 43200 1427
+0 0 43200 1427
+1 56 4080 1427
+1 56 47280 1427
+1 57 4860 1427
+3 10 18600 1427
+3 10 61800 1427
+7 18 39240 1427
+7 18 82440 1427
+7 23 43140 1427
+7 24 720 1427
+0 38 4680 79
+0 39 2340 79
+0 40 0 1
+1 6 3960 79
+1 20 2400 79
+1 21 60 79
+2 15 0 1
+0 0 2700 89
+0 28 48 1
+1 6 320 33
+1 6 40 1
+1 8 120 11
+0 55 0 1
diff --git a/public_test_cases/p00918/input.0.txt b/public_test_cases/p00918/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c8d9ad79802fc3cea75dfcc42433cedce2663c5
--- /dev/null
+++ b/public_test_cases/p00918/input.0.txt
@@ -0,0 +1,29 @@
+4 9
+6 3 0
+8 1 2
+4 5 7
+6 3 0
+8 1 2
+4 5 7
+31 31
+4 3 6
+0 1 5
+8 2 7
+0 3 6
+4 1 5
+8 2 7
+92 4
+1 5 3
+4 0 7
+8 2 6
+1 5 0
+4 7 3
+8 2 6
+12 28
+3 4 5
+0 2 6
+7 1 8
+5 7 1
+8 6 2
+0 3 4
+0 0
diff --git a/public_test_cases/p00918/input.1.txt b/public_test_cases/p00918/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c8d9ad79802fc3cea75dfcc42433cedce2663c5
--- /dev/null
+++ b/public_test_cases/p00918/input.1.txt
@@ -0,0 +1,29 @@
+4 9
+6 3 0
+8 1 2
+4 5 7
+6 3 0
+8 1 2
+4 5 7
+31 31
+4 3 6
+0 1 5
+8 2 7
+0 3 6
+4 1 5
+8 2 7
+92 4
+1 5 3
+4 0 7
+8 2 6
+1 5 0
+4 7 3
+8 2 6
+12 28
+3 4 5
+0 2 6
+7 1 8
+5 7 1
+8 6 2
+0 3 4
+0 0
diff --git a/public_test_cases/p00918/output.0.txt b/public_test_cases/p00918/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eec3249d4c66ebf938b20fb79904913e1aa6689b
--- /dev/null
+++ b/public_test_cases/p00918/output.0.txt
@@ -0,0 +1,4 @@
+0
+31
+96
+312
diff --git a/public_test_cases/p00918/output.1.txt b/public_test_cases/p00918/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eec3249d4c66ebf938b20fb79904913e1aa6689b
--- /dev/null
+++ b/public_test_cases/p00918/output.1.txt
@@ -0,0 +1,4 @@
+0
+31
+96
+312
diff --git a/public_test_cases/p00919/input.0.txt b/public_test_cases/p00919/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1ccafdb0794d1378bc0601835cef497d7f3e47
--- /dev/null
+++ b/public_test_cases/p00919/input.0.txt
@@ -0,0 +1,10 @@
+4 0 2013 1124
+1 1 1
+2 2 2
+2 1 1
+1 2 1
+2 100 131832453 129800231
+42 40 46
+42 40 46
+0 100000 7004674 484521438
+0 0 0 0
diff --git a/public_test_cases/p00919/input.1.txt b/public_test_cases/p00919/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1ccafdb0794d1378bc0601835cef497d7f3e47
--- /dev/null
+++ b/public_test_cases/p00919/input.1.txt
@@ -0,0 +1,10 @@
+4 0 2013 1124
+1 1 1
+2 2 2
+2 1 1
+1 2 1
+2 100 131832453 129800231
+42 40 46
+42 40 46
+0 100000 7004674 484521438
+0 0 0 0
diff --git a/public_test_cases/p00919/output.0.txt b/public_test_cases/p00919/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d410d19a0c428b58bafb57f43f1e50687214eb4f
--- /dev/null
+++ b/public_test_cases/p00919/output.0.txt
@@ -0,0 +1,3 @@
+1 1 1 1 2 1
+42 40 46 83 79 91
+92 92 79 99 99 85
diff --git a/public_test_cases/p00919/output.1.txt b/public_test_cases/p00919/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d410d19a0c428b58bafb57f43f1e50687214eb4f
--- /dev/null
+++ b/public_test_cases/p00919/output.1.txt
@@ -0,0 +1,3 @@
+1 1 1 1 2 1
+42 40 46 83 79 91
+92 92 79 99 99 85
diff --git a/public_test_cases/p00920/input.0.txt b/public_test_cases/p00920/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..162581835343c91a32f96f98795f6c05f49b63e0
--- /dev/null
+++ b/public_test_cases/p00920/input.0.txt
@@ -0,0 +1,26 @@
+6 0 1 1
+0 0 0
+0 2 2
+1 1 1
+2 0 2
+2 2 0
+2 2 2
+5 0 1 1
+0 0 0
+1 1 1
+2 2 2
+3 3 3
+4 4 4
+10 0 1 1
+3 0 0
+2 1 0
+2 0 1
+1 2 0
+1 1 1
+1 0 2
+0 3 0
+0 2 1
+0 1 2
+0 0 3
+0 10 1 1
+0 0 0 0
diff --git a/public_test_cases/p00920/input.1.txt b/public_test_cases/p00920/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..162581835343c91a32f96f98795f6c05f49b63e0
--- /dev/null
+++ b/public_test_cases/p00920/input.1.txt
@@ -0,0 +1,26 @@
+6 0 1 1
+0 0 0
+0 2 2
+1 1 1
+2 0 2
+2 2 0
+2 2 2
+5 0 1 1
+0 0 0
+1 1 1
+2 2 2
+3 3 3
+4 4 4
+10 0 1 1
+3 0 0
+2 1 0
+2 0 1
+1 2 0
+1 1 1
+1 0 2
+0 3 0
+0 2 1
+0 1 2
+0 0 3
+0 10 1 1
+0 0 0 0
diff --git a/public_test_cases/p00920/output.0.txt b/public_test_cases/p00920/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b5e7a6ae03292acfd0642ce7cc9d4f05e65998
--- /dev/null
+++ b/public_test_cases/p00920/output.0.txt
@@ -0,0 +1,4 @@
+3
+5
+1
+3
diff --git a/public_test_cases/p00920/output.1.txt b/public_test_cases/p00920/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b5e7a6ae03292acfd0642ce7cc9d4f05e65998
--- /dev/null
+++ b/public_test_cases/p00920/output.1.txt
@@ -0,0 +1,4 @@
+3
+5
+1
+3
diff --git a/public_test_cases/p00921/input.0.txt b/public_test_cases/p00921/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f699cdda73e11894f6d9fabd351e521befc47505
--- /dev/null
+++ b/public_test_cases/p00921/input.0.txt
@@ -0,0 +1,22 @@
+5 16
+70 66 40
+38 52 20
+40 35 10
+70 30 10
+20 60 10
+1 100
+54 75 200
+1 10
+90 10 1
+1 11
+54 75 200
+3 10
+53 60 1
+61 38 1
+45 48 1
+4 10
+20 20 10
+20 80 10
+80 20 10
+80 80 10
+0 0
diff --git a/public_test_cases/p00921/input.1.txt b/public_test_cases/p00921/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f699cdda73e11894f6d9fabd351e521befc47505
--- /dev/null
+++ b/public_test_cases/p00921/input.1.txt
@@ -0,0 +1,22 @@
+5 16
+70 66 40
+38 52 20
+40 35 10
+70 30 10
+20 60 10
+1 100
+54 75 200
+1 10
+90 10 1
+1 11
+54 75 200
+3 10
+53 60 1
+61 38 1
+45 48 1
+4 10
+20 20 10
+20 80 10
+80 20 10
+80 80 10
+0 0
diff --git a/public_test_cases/p00921/output.0.txt b/public_test_cases/p00921/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36134583e93d0bd9f3d9c8f9508ba4d39cf74287
--- /dev/null
+++ b/public_test_cases/p00921/output.0.txt
@@ -0,0 +1,6 @@
+26.00000
+39.00000
+130.00000
+49.49777
+85.00000
+95.00000
diff --git a/public_test_cases/p00921/output.1.txt b/public_test_cases/p00921/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36134583e93d0bd9f3d9c8f9508ba4d39cf74287
--- /dev/null
+++ b/public_test_cases/p00921/output.1.txt
@@ -0,0 +1,6 @@
+26.00000
+39.00000
+130.00000
+49.49777
+85.00000
+95.00000
diff --git a/public_test_cases/p00922/input.0.txt b/public_test_cases/p00922/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5be28bbda1fce3dd5c025bc50a6f3e61e1a650a2
--- /dev/null
+++ b/public_test_cases/p00922/input.0.txt
@@ -0,0 +1,11 @@
+9
+3 4 1 3 1 2 4 4 6
+4
+3 12 6 3
+10
+10 9 8 7 6 5 4 3 2 1
+11
+10 9 8 7 6 5 4 3 2 1 1
+8
+1 1 1 1 1 1 1 1
+0
diff --git a/public_test_cases/p00922/input.1.txt b/public_test_cases/p00922/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5be28bbda1fce3dd5c025bc50a6f3e61e1a650a2
--- /dev/null
+++ b/public_test_cases/p00922/input.1.txt
@@ -0,0 +1,11 @@
+9
+3 4 1 3 1 2 4 4 6
+4
+3 12 6 3
+10
+10 9 8 7 6 5 4 3 2 1
+11
+10 9 8 7 6 5 4 3 2 1 1
+8
+1 1 1 1 1 1 1 1
+0
diff --git a/public_test_cases/p00922/output.0.txt b/public_test_cases/p00922/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09b82d920af56517d053a640550f1a66a3caa8dc
--- /dev/null
+++ b/public_test_cases/p00922/output.0.txt
@@ -0,0 +1,5 @@
+6
+2
+1
+5
+8
diff --git a/public_test_cases/p00922/output.1.txt b/public_test_cases/p00922/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09b82d920af56517d053a640550f1a66a3caa8dc
--- /dev/null
+++ b/public_test_cases/p00922/output.1.txt
@@ -0,0 +1,5 @@
+6
+2
+1
+5
+8
diff --git a/public_test_cases/p00923/input.0.txt b/public_test_cases/p00923/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e119c2b0025b40686cc1cd9da0e523a7a852f683
--- /dev/null
+++ b/public_test_cases/p00923/input.0.txt
@@ -0,0 +1,2 @@
+2 2
+^(C|I|T|Y)*
diff --git a/public_test_cases/p00923/input.1.txt b/public_test_cases/p00923/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20ae769b14dc094e079d8e73b2c873ea5961071a
--- /dev/null
+++ b/public_test_cases/p00923/input.1.txt
@@ -0,0 +1,38 @@
+2 2
+^(C|I|T|Y)*$
+^(C|O|P|S)*$
+^(F|L|I|P)*$
+^(B|A|C|K)*$
+2 2
+^HE|LL|O*$
+^(P|L|E|A|S|E)*$
+^(H|L)*$
+^EP|IP|EF$
+4 4
+^LONG|TALL|S*ALLY$
+^(R*EV*|OL*U(TIO)*N)*$
+^(STRAWBERRY|F*I*E*L*D*S*|FOREVER)*$
+^P.S.|I|LOVE|YOU$
+^(RE|A|L)((L|OV*E)*)$
+^(LUC*Y*|IN.THE.SKY)(WITH|DI*A*M*ON*D*S*)$
+^(IVE*|GOT|A|F*E*E*L*I*N*G*)*$
+^YEST*E*R*D*A*Y*$
+2 3
+^(C|P)(OL|AS)$
+^(LU|TO)(X|R)$
+^CT|PL$
+^OU|AO$
+^SR|LX$
+2 2
+^T*|(HI)|S*$
+^SE|NT|EN|CE$
+^IS$
+^(F|A|L|S|E)*$
+2 4
+^ARKA|BARB|COLU$
+^NSAS|ADOS|MBIA$
+^..$
+^..$
+^KA|RO|LI$
+^AS|BA|US$
+0 0
diff --git a/public_test_cases/p00923/output.0.txt b/public_test_cases/p00923/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b35c60e9eca842b8553db84870d06517b0f1395
--- /dev/null
+++ b/public_test_cases/p00923/output.0.txt
@@ -0,0 +1,12 @@
+IC
+PC
+HE
+LP
+ALLY
+OUNE
+EDIS
+LOVE
+ambiguous
+none
+ARKA
+NSAS
diff --git a/public_test_cases/p00923/output.1.txt b/public_test_cases/p00923/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b35c60e9eca842b8553db84870d06517b0f1395
--- /dev/null
+++ b/public_test_cases/p00923/output.1.txt
@@ -0,0 +1,12 @@
+IC
+PC
+HE
+LP
+ALLY
+OUNE
+EDIS
+LOVE
+ambiguous
+none
+ARKA
+NSAS
diff --git a/public_test_cases/p00924/input.0.txt b/public_test_cases/p00924/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0252bf02f105fc6a7bd7bbafa1e24e611482c7f7
--- /dev/null
+++ b/public_test_cases/p00924/input.0.txt
@@ -0,0 +1,3 @@
+6 3
+1 0 0 1 0 1
+1 3 2
diff --git a/public_test_cases/p00924/input.1.txt b/public_test_cases/p00924/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0252bf02f105fc6a7bd7bbafa1e24e611482c7f7
--- /dev/null
+++ b/public_test_cases/p00924/input.1.txt
@@ -0,0 +1,3 @@
+6 3
+1 0 0 1 0 1
+1 3 2
diff --git a/public_test_cases/p00924/output.0.txt b/public_test_cases/p00924/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00924/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00924/output.1.txt b/public_test_cases/p00924/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00924/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00925/input.0.txt b/public_test_cases/p00925/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1827f7a57f7b4fed6b3f7681332257a4e259c3f5
--- /dev/null
+++ b/public_test_cases/p00925/input.0.txt
@@ -0,0 +1,2 @@
+1+2*3+4
+11
diff --git a/public_test_cases/p00925/input.1.txt b/public_test_cases/p00925/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1827f7a57f7b4fed6b3f7681332257a4e259c3f5
--- /dev/null
+++ b/public_test_cases/p00925/input.1.txt
@@ -0,0 +1,2 @@
+1+2*3+4
+11
diff --git a/public_test_cases/p00925/output.0.txt b/public_test_cases/p00925/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab7768987ce64e0490e93767ca9a4bcd950c79f6
--- /dev/null
+++ b/public_test_cases/p00925/output.0.txt
@@ -0,0 +1 @@
+M
diff --git a/public_test_cases/p00925/output.1.txt b/public_test_cases/p00925/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab7768987ce64e0490e93767ca9a4bcd950c79f6
--- /dev/null
+++ b/public_test_cases/p00925/output.1.txt
@@ -0,0 +1 @@
+M
diff --git a/public_test_cases/p00926/input.0.txt b/public_test_cases/p00926/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2542f843ae857d425354c786aa1f82c66fd25c65
--- /dev/null
+++ b/public_test_cases/p00926/input.0.txt
@@ -0,0 +1,4 @@
+10 3
+3 7
+8 9
+2 5
diff --git a/public_test_cases/p00926/input.1.txt b/public_test_cases/p00926/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2542f843ae857d425354c786aa1f82c66fd25c65
--- /dev/null
+++ b/public_test_cases/p00926/input.1.txt
@@ -0,0 +1,4 @@
+10 3
+3 7
+8 9
+2 5
diff --git a/public_test_cases/p00926/output.0.txt b/public_test_cases/p00926/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p00926/output.0.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p00926/output.1.txt b/public_test_cases/p00926/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p00926/output.1.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p00927/input.0.txt b/public_test_cases/p00927/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfb2f002df7088426ef4fc02cd981c81a4265e9f
--- /dev/null
+++ b/public_test_cases/p00927/input.0.txt
@@ -0,0 +1,2 @@
+100 1 0
+50 100
diff --git a/public_test_cases/p00927/input.1.txt b/public_test_cases/p00927/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfb2f002df7088426ef4fc02cd981c81a4265e9f
--- /dev/null
+++ b/public_test_cases/p00927/input.1.txt
@@ -0,0 +1,2 @@
+100 1 0
+50 100
diff --git a/public_test_cases/p00927/output.0.txt b/public_test_cases/p00927/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..359f144ef8f40420341c0a1ee10d877a367e0dca
--- /dev/null
+++ b/public_test_cases/p00927/output.0.txt
@@ -0,0 +1 @@
+14.57738
diff --git a/public_test_cases/p00927/output.1.txt b/public_test_cases/p00927/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..359f144ef8f40420341c0a1ee10d877a367e0dca
--- /dev/null
+++ b/public_test_cases/p00927/output.1.txt
@@ -0,0 +1 @@
+14.57738
diff --git a/public_test_cases/p00928/input.0.txt b/public_test_cases/p00928/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65d2bcd6a72edd199440fc7692e80d031117c32f
--- /dev/null
+++ b/public_test_cases/p00928/input.0.txt
@@ -0,0 +1,6 @@
+4 2 1 1
+1 1 1 2
+2 2 2 1
+2 2 1 2
+1 1 2 1
+9 N
diff --git a/public_test_cases/p00928/input.1.txt b/public_test_cases/p00928/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65d2bcd6a72edd199440fc7692e80d031117c32f
--- /dev/null
+++ b/public_test_cases/p00928/input.1.txt
@@ -0,0 +1,6 @@
+4 2 1 1
+1 1 1 2
+2 2 2 1
+2 2 1 2
+1 1 2 1
+9 N
diff --git a/public_test_cases/p00928/output.0.txt b/public_test_cases/p00928/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..534fb831b52dd06eb844551dc8df3424726f91c8
--- /dev/null
+++ b/public_test_cases/p00928/output.0.txt
@@ -0,0 +1,2 @@
+1 1
+2 2
diff --git a/public_test_cases/p00928/output.1.txt b/public_test_cases/p00928/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..534fb831b52dd06eb844551dc8df3424726f91c8
--- /dev/null
+++ b/public_test_cases/p00928/output.1.txt
@@ -0,0 +1,2 @@
+1 1
+2 2
diff --git a/public_test_cases/p00929/input.0.txt b/public_test_cases/p00929/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05b6876bae0716848c08d9347a5623f0ee8a5e72
--- /dev/null
+++ b/public_test_cases/p00929/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+1 2 3
+1 3 3
+2 3 3
+2 4 3
diff --git a/public_test_cases/p00929/input.1.txt b/public_test_cases/p00929/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05b6876bae0716848c08d9347a5623f0ee8a5e72
--- /dev/null
+++ b/public_test_cases/p00929/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+1 2 3
+1 3 3
+2 3 3
+2 4 3
diff --git a/public_test_cases/p00929/output.0.txt b/public_test_cases/p00929/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p00929/output.0.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p00929/output.1.txt b/public_test_cases/p00929/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p00929/output.1.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p00930/input.0.txt b/public_test_cases/p00930/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..969f6555b09c5e843f07c28f9f4c5f86a2a0f0de
--- /dev/null
+++ b/public_test_cases/p00930/input.0.txt
@@ -0,0 +1,5 @@
+6 3
+((()))
+4
+3
+1
diff --git a/public_test_cases/p00930/input.1.txt b/public_test_cases/p00930/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..969f6555b09c5e843f07c28f9f4c5f86a2a0f0de
--- /dev/null
+++ b/public_test_cases/p00930/input.1.txt
@@ -0,0 +1,5 @@
+6 3
+((()))
+4
+3
+1
diff --git a/public_test_cases/p00930/output.0.txt b/public_test_cases/p00930/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19920de3d3ca2f47740788afd7bd6979b4753a25
--- /dev/null
+++ b/public_test_cases/p00930/output.0.txt
@@ -0,0 +1,3 @@
+2
+2
+1
diff --git a/public_test_cases/p00930/output.1.txt b/public_test_cases/p00930/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19920de3d3ca2f47740788afd7bd6979b4753a25
--- /dev/null
+++ b/public_test_cases/p00930/output.1.txt
@@ -0,0 +1,3 @@
+2
+2
+1
diff --git a/public_test_cases/p00931/input.0.txt b/public_test_cases/p00931/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd8290ddbdb3edc5a263934a5246a246cae091
--- /dev/null
+++ b/public_test_cases/p00931/input.0.txt
@@ -0,0 +1,9 @@
+8 900 0
+40 100
+70 -80
+350 30
+680 -20
+230 230
+300 400
+530 130
+75 -275
diff --git a/public_test_cases/p00931/input.1.txt b/public_test_cases/p00931/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd8290ddbdb3edc5a263934a5246a246cae091
--- /dev/null
+++ b/public_test_cases/p00931/input.1.txt
@@ -0,0 +1,9 @@
+8 900 0
+40 100
+70 -80
+350 30
+680 -20
+230 230
+300 400
+530 130
+75 -275
diff --git a/public_test_cases/p00931/output.0.txt b/public_test_cases/p00931/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..738fe25d1db02db1f954b5459cfd718aee8e8627
--- /dev/null
+++ b/public_test_cases/p00931/output.0.txt
@@ -0,0 +1 @@
+1210.99416
diff --git a/public_test_cases/p00931/output.1.txt b/public_test_cases/p00931/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..738fe25d1db02db1f954b5459cfd718aee8e8627
--- /dev/null
+++ b/public_test_cases/p00931/output.1.txt
@@ -0,0 +1 @@
+1210.99416
diff --git a/public_test_cases/p00932/input.0.txt b/public_test_cases/p00932/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b675d8b23035141754b796eebefa2423272e368
--- /dev/null
+++ b/public_test_cases/p00932/input.0.txt
@@ -0,0 +1,3 @@
+2 5 4
+5 7
+4 8
diff --git a/public_test_cases/p00932/input.1.txt b/public_test_cases/p00932/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b675d8b23035141754b796eebefa2423272e368
--- /dev/null
+++ b/public_test_cases/p00932/input.1.txt
@@ -0,0 +1,3 @@
+2 5 4
+5 7
+4 8
diff --git a/public_test_cases/p00932/output.0.txt b/public_test_cases/p00932/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b931b626951453f7df0a8d00612b2153fb38ae0f
--- /dev/null
+++ b/public_test_cases/p00932/output.0.txt
@@ -0,0 +1 @@
+8 7
diff --git a/public_test_cases/p00932/output.1.txt b/public_test_cases/p00932/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b931b626951453f7df0a8d00612b2153fb38ae0f
--- /dev/null
+++ b/public_test_cases/p00932/output.1.txt
@@ -0,0 +1 @@
+8 7
diff --git a/public_test_cases/p00933/input.0.txt b/public_test_cases/p00933/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcaf2a48d232d435d45debac34acd2edc9c75f64
--- /dev/null
+++ b/public_test_cases/p00933/input.0.txt
@@ -0,0 +1,7 @@
+6 5 1 2 3
+5 5 5
+1 5 5
+2 5 4
+3 5 3
+4 5 2
+5 5 1
diff --git a/public_test_cases/p00933/input.1.txt b/public_test_cases/p00933/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcaf2a48d232d435d45debac34acd2edc9c75f64
--- /dev/null
+++ b/public_test_cases/p00933/input.1.txt
@@ -0,0 +1,7 @@
+6 5 1 2 3
+5 5 5
+1 5 5
+2 5 4
+3 5 3
+4 5 2
+5 5 1
diff --git a/public_test_cases/p00933/output.0.txt b/public_test_cases/p00933/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b577109f2c38b587bbe85cf6f62a249a7d6b0993
--- /dev/null
+++ b/public_test_cases/p00933/output.0.txt
@@ -0,0 +1 @@
+0.631579
diff --git a/public_test_cases/p00933/output.1.txt b/public_test_cases/p00933/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b577109f2c38b587bbe85cf6f62a249a7d6b0993
--- /dev/null
+++ b/public_test_cases/p00933/output.1.txt
@@ -0,0 +1 @@
+0.631579
diff --git a/public_test_cases/p00934/input.0.txt b/public_test_cases/p00934/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6eed801e8a5eaf7ae770d9d3736452ff2b74c061
--- /dev/null
+++ b/public_test_cases/p00934/input.0.txt
@@ -0,0 +1,4 @@
+3 2 4 0
+2 2
+-2 -2
+-2 2
diff --git a/public_test_cases/p00934/input.1.txt b/public_test_cases/p00934/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6eed801e8a5eaf7ae770d9d3736452ff2b74c061
--- /dev/null
+++ b/public_test_cases/p00934/input.1.txt
@@ -0,0 +1,4 @@
+3 2 4 0
+2 2
+-2 -2
+-2 2
diff --git a/public_test_cases/p00934/output.0.txt b/public_test_cases/p00934/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p00934/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p00934/output.1.txt b/public_test_cases/p00934/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p00934/output.1.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p00935/input.0.txt b/public_test_cases/p00935/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01b9e21f7db584fe04191f0fb0b3758a047cc1ce
--- /dev/null
+++ b/public_test_cases/p00935/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 0 1
diff --git a/public_test_cases/p00935/input.1.txt b/public_test_cases/p00935/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01b9e21f7db584fe04191f0fb0b3758a047cc1ce
--- /dev/null
+++ b/public_test_cases/p00935/input.1.txt
@@ -0,0 +1,2 @@
+3
+3 0 1
diff --git a/public_test_cases/p00935/output.0.txt b/public_test_cases/p00935/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00935/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00935/output.1.txt b/public_test_cases/p00935/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00935/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00936/input.0.txt b/public_test_cases/p00936/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3314d15e70c1c64f25f278a70ac685bc43dca403
--- /dev/null
+++ b/public_test_cases/p00936/input.0.txt
@@ -0,0 +1,2 @@
+2
+10 10
diff --git a/public_test_cases/p00936/input.1.txt b/public_test_cases/p00936/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3314d15e70c1c64f25f278a70ac685bc43dca403
--- /dev/null
+++ b/public_test_cases/p00936/input.1.txt
@@ -0,0 +1,2 @@
+2
+10 10
diff --git a/public_test_cases/p00936/output.0.txt b/public_test_cases/p00936/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7301d4c91097107817a52fd3302b651d724cffc7
--- /dev/null
+++ b/public_test_cases/p00936/output.0.txt
@@ -0,0 +1 @@
+40.00000000
diff --git a/public_test_cases/p00936/output.1.txt b/public_test_cases/p00936/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7301d4c91097107817a52fd3302b651d724cffc7
--- /dev/null
+++ b/public_test_cases/p00936/output.1.txt
@@ -0,0 +1 @@
+40.00000000
diff --git a/public_test_cases/p00937/input.0.txt b/public_test_cases/p00937/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..829615584e7034e77f6370a9bab487d613b54a7b
--- /dev/null
+++ b/public_test_cases/p00937/input.0.txt
@@ -0,0 +1,4 @@
+3 3 1 2 4
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p00937/input.1.txt b/public_test_cases/p00937/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..829615584e7034e77f6370a9bab487d613b54a7b
--- /dev/null
+++ b/public_test_cases/p00937/input.1.txt
@@ -0,0 +1,4 @@
+3 3 1 2 4
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p00937/output.0.txt b/public_test_cases/p00937/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p00937/output.0.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p00937/output.1.txt b/public_test_cases/p00937/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p00937/output.1.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p00938/input.0.txt b/public_test_cases/p00938/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6db901c21a47c6a04fbb7477e40599b6910f372
--- /dev/null
+++ b/public_test_cases/p00938/input.0.txt
@@ -0,0 +1,3 @@
+2 10 6
+4 4 E
+6 4 W
diff --git a/public_test_cases/p00938/input.1.txt b/public_test_cases/p00938/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6db901c21a47c6a04fbb7477e40599b6910f372
--- /dev/null
+++ b/public_test_cases/p00938/input.1.txt
@@ -0,0 +1,3 @@
+2 10 6
+4 4 E
+6 4 W
diff --git a/public_test_cases/p00938/output.0.txt b/public_test_cases/p00938/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00938/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00938/output.1.txt b/public_test_cases/p00938/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00938/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00939/input.0.txt b/public_test_cases/p00939/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p00939/input.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p00939/input.1.txt b/public_test_cases/p00939/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p00939/input.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p00939/output.0.txt b/public_test_cases/p00939/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00939/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00939/output.1.txt b/public_test_cases/p00939/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00939/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00940/input.0.txt b/public_test_cases/p00940/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27ea32e24385a1f65613b03261854f28704b3428
--- /dev/null
+++ b/public_test_cases/p00940/input.0.txt
@@ -0,0 +1,11 @@
+2 2 7
+3 4
+3 2
+1 3
+1 1
+2 2
+1 2
+2 1
+1 2
+2 2
+1 1
diff --git a/public_test_cases/p00940/input.1.txt b/public_test_cases/p00940/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27ea32e24385a1f65613b03261854f28704b3428
--- /dev/null
+++ b/public_test_cases/p00940/input.1.txt
@@ -0,0 +1,11 @@
+2 2 7
+3 4
+3 2
+1 3
+1 1
+2 2
+1 2
+2 1
+1 2
+2 2
+1 1
diff --git a/public_test_cases/p00940/output.0.txt b/public_test_cases/p00940/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00940/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00940/output.1.txt b/public_test_cases/p00940/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00940/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00941/input.0.txt b/public_test_cases/p00941/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba393ea5c64524c08ca0c79545f7338a2596292a
--- /dev/null
+++ b/public_test_cases/p00941/input.0.txt
@@ -0,0 +1,2 @@
+crc
+1
diff --git a/public_test_cases/p00941/input.1.txt b/public_test_cases/p00941/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba393ea5c64524c08ca0c79545f7338a2596292a
--- /dev/null
+++ b/public_test_cases/p00941/input.1.txt
@@ -0,0 +1,2 @@
+crc
+1
diff --git a/public_test_cases/p00941/output.0.txt b/public_test_cases/p00941/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4267887735831d77a420901ff7c2493cf5fac344
--- /dev/null
+++ b/public_test_cases/p00941/output.0.txt
@@ -0,0 +1 @@
+crc
diff --git a/public_test_cases/p00941/output.1.txt b/public_test_cases/p00941/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4267887735831d77a420901ff7c2493cf5fac344
--- /dev/null
+++ b/public_test_cases/p00941/output.1.txt
@@ -0,0 +1 @@
+crc
diff --git a/public_test_cases/p00942/input.0.txt b/public_test_cases/p00942/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..021f8343579d9f09449c4b9ad5b03fd890adad00
--- /dev/null
+++ b/public_test_cases/p00942/input.0.txt
@@ -0,0 +1,11 @@
+4 6 5
+-2 5
+-2 -1
+2 -1
+2 5
+-2 1
+-2 0
+0 0
+0 -2
+2 -2
+2 1
diff --git a/public_test_cases/p00942/input.1.txt b/public_test_cases/p00942/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..021f8343579d9f09449c4b9ad5b03fd890adad00
--- /dev/null
+++ b/public_test_cases/p00942/input.1.txt
@@ -0,0 +1,11 @@
+4 6 5
+-2 5
+-2 -1
+2 -1
+2 5
+-2 1
+-2 0
+0 0
+0 -2
+2 -2
+2 1
diff --git a/public_test_cases/p00942/output.0.txt b/public_test_cases/p00942/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00942/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00942/output.1.txt b/public_test_cases/p00942/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p00942/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p00943/input.0.txt b/public_test_cases/p00943/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbec3e75a11fc50242437c78ee957f77be0ea3c0
--- /dev/null
+++ b/public_test_cases/p00943/input.0.txt
@@ -0,0 +1,13 @@
+6 6
+3
+1
+9
+4
+3
+6
+1 2
+1 4
+2 6
+5 4
+6 5
+3 2
diff --git a/public_test_cases/p00943/input.1.txt b/public_test_cases/p00943/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbec3e75a11fc50242437c78ee957f77be0ea3c0
--- /dev/null
+++ b/public_test_cases/p00943/input.1.txt
@@ -0,0 +1,13 @@
+6 6
+3
+1
+9
+4
+3
+6
+1 2
+1 4
+2 6
+5 4
+6 5
+3 2
diff --git a/public_test_cases/p00943/output.0.txt b/public_test_cases/p00943/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p00943/output.0.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p00943/output.1.txt b/public_test_cases/p00943/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p00943/output.1.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p00944/input.0.txt b/public_test_cases/p00944/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c18c738c70a9cf61425242f8fa8309bf8a0fd2d
--- /dev/null
+++ b/public_test_cases/p00944/input.0.txt
@@ -0,0 +1,21 @@
+8 8
+1 2
+1 3
+2 4
+2 5
+2 8
+3 5
+3 6
+4 7
+1000
+100
+100
+10
+10
+10
+1
+1
+3
+2 8 6
+2 4 7
+2 7 8
diff --git a/public_test_cases/p00944/input.1.txt b/public_test_cases/p00944/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c18c738c70a9cf61425242f8fa8309bf8a0fd2d
--- /dev/null
+++ b/public_test_cases/p00944/input.1.txt
@@ -0,0 +1,21 @@
+8 8
+1 2
+1 3
+2 4
+2 5
+2 8
+3 5
+3 6
+4 7
+1000
+100
+100
+10
+10
+10
+1
+1
+3
+2 8 6
+2 4 7
+2 7 8
diff --git a/public_test_cases/p00944/output.0.txt b/public_test_cases/p00944/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01ce9d0260a273ad67d1e00baddd689c41f7b84b
--- /dev/null
+++ b/public_test_cases/p00944/output.0.txt
@@ -0,0 +1,3 @@
+1000
+10
+100
diff --git a/public_test_cases/p00944/output.1.txt b/public_test_cases/p00944/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01ce9d0260a273ad67d1e00baddd689c41f7b84b
--- /dev/null
+++ b/public_test_cases/p00944/output.1.txt
@@ -0,0 +1,3 @@
+1000
+10
+100
diff --git a/public_test_cases/p00945/input.0.txt b/public_test_cases/p00945/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..701f1aba1c07c8f092ac0ea2e46324efad80b51e
--- /dev/null
+++ b/public_test_cases/p00945/input.0.txt
@@ -0,0 +1,2 @@
+5 Alice
+10 20 30 40 50
diff --git a/public_test_cases/p00945/input.1.txt b/public_test_cases/p00945/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..701f1aba1c07c8f092ac0ea2e46324efad80b51e
--- /dev/null
+++ b/public_test_cases/p00945/input.1.txt
@@ -0,0 +1,2 @@
+5 Alice
+10 20 30 40 50
diff --git a/public_test_cases/p00945/output.0.txt b/public_test_cases/p00945/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p00945/output.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p00945/output.1.txt b/public_test_cases/p00945/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p00945/output.1.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p00946/input.0.txt b/public_test_cases/p00946/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06aaaeb44c1d7c147b3a0d474d263ae80b277dee
--- /dev/null
+++ b/public_test_cases/p00946/input.0.txt
@@ -0,0 +1,4 @@
+5 3
+4
+2
+5
diff --git a/public_test_cases/p00946/input.1.txt b/public_test_cases/p00946/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06aaaeb44c1d7c147b3a0d474d263ae80b277dee
--- /dev/null
+++ b/public_test_cases/p00946/input.1.txt
@@ -0,0 +1,4 @@
+5 3
+4
+2
+5
diff --git a/public_test_cases/p00946/output.0.txt b/public_test_cases/p00946/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbcbd24bd8d4c4a420b38fc3b8b91d7c72080960
--- /dev/null
+++ b/public_test_cases/p00946/output.0.txt
@@ -0,0 +1,5 @@
+5
+2
+4
+1
+3
diff --git a/public_test_cases/p00946/output.1.txt b/public_test_cases/p00946/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbcbd24bd8d4c4a420b38fc3b8b91d7c72080960
--- /dev/null
+++ b/public_test_cases/p00946/output.1.txt
@@ -0,0 +1,5 @@
+5
+2
+4
+1
+3
diff --git a/public_test_cases/p00947/input.0.txt b/public_test_cases/p00947/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38d5e7849b8ec61302fb4168968612fc7740bedb
--- /dev/null
+++ b/public_test_cases/p00947/input.0.txt
@@ -0,0 +1,10 @@
+0 3 1 7 5 9 8 6 4 2
+7 0 9 2 1 5 4 8 6 3
+4 2 0 6 8 7 1 3 5 9
+1 7 5 0 9 8 3 4 2 6
+6 1 2 3 0 4 5 9 7 8
+3 6 7 4 2 0 9 5 8 1
+5 8 6 9 7 2 0 1 3 4
+8 9 4 5 3 6 2 0 1 7
+9 4 3 8 6 1 7 2 0 5
+2 5 8 1 4 3 6 7 9 0
diff --git a/public_test_cases/p00947/input.1.txt b/public_test_cases/p00947/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38d5e7849b8ec61302fb4168968612fc7740bedb
--- /dev/null
+++ b/public_test_cases/p00947/input.1.txt
@@ -0,0 +1,10 @@
+0 3 1 7 5 9 8 6 4 2
+7 0 9 2 1 5 4 8 6 3
+4 2 0 6 8 7 1 3 5 9
+1 7 5 0 9 8 3 4 2 6
+6 1 2 3 0 4 5 9 7 8
+3 6 7 4 2 0 9 5 8 1
+5 8 6 9 7 2 0 1 3 4
+8 9 4 5 3 6 2 0 1 7
+9 4 3 8 6 1 7 2 0 5
+2 5 8 1 4 3 6 7 9 0
diff --git a/public_test_cases/p00947/output.0.txt b/public_test_cases/p00947/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00947/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00947/output.1.txt b/public_test_cases/p00947/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00947/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00948/input.0.txt b/public_test_cases/p00948/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bf5902674c7a752b957d269ab6724c15c66e043
--- /dev/null
+++ b/public_test_cases/p00948/input.0.txt
@@ -0,0 +1,4 @@
+4 3
+1000 1
+2000 2
+3000 3
diff --git a/public_test_cases/p00948/input.1.txt b/public_test_cases/p00948/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bf5902674c7a752b957d269ab6724c15c66e043
--- /dev/null
+++ b/public_test_cases/p00948/input.1.txt
@@ -0,0 +1,4 @@
+4 3
+1000 1
+2000 2
+3000 3
diff --git a/public_test_cases/p00948/output.0.txt b/public_test_cases/p00948/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e96def4da39925f003d00125f6047f560e56b5f
--- /dev/null
+++ b/public_test_cases/p00948/output.0.txt
@@ -0,0 +1 @@
+2 3 4 4
diff --git a/public_test_cases/p00948/output.1.txt b/public_test_cases/p00948/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e96def4da39925f003d00125f6047f560e56b5f
--- /dev/null
+++ b/public_test_cases/p00948/output.1.txt
@@ -0,0 +1 @@
+2 3 4 4
diff --git a/public_test_cases/p00949/input.0.txt b/public_test_cases/p00949/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b0c396a2e52213252b8ab553115f413b7c68d70
--- /dev/null
+++ b/public_test_cases/p00949/input.0.txt
@@ -0,0 +1,2 @@
+anagram
+grandmother
diff --git a/public_test_cases/p00949/input.1.txt b/public_test_cases/p00949/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b0c396a2e52213252b8ab553115f413b7c68d70
--- /dev/null
+++ b/public_test_cases/p00949/input.1.txt
@@ -0,0 +1,2 @@
+anagram
+grandmother
diff --git a/public_test_cases/p00949/output.0.txt b/public_test_cases/p00949/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00949/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00949/output.1.txt b/public_test_cases/p00949/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00949/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00950/input.0.txt b/public_test_cases/p00950/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71095f0089edb4eebc182047b16e0d1e66155944
--- /dev/null
+++ b/public_test_cases/p00950/input.0.txt
@@ -0,0 +1 @@
+ACM
diff --git a/public_test_cases/p00950/input.1.txt b/public_test_cases/p00950/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71095f0089edb4eebc182047b16e0d1e66155944
--- /dev/null
+++ b/public_test_cases/p00950/input.1.txt
@@ -0,0 +1 @@
+ACM
diff --git a/public_test_cases/p00950/output.0.txt b/public_test_cases/p00950/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00950/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00950/output.1.txt b/public_test_cases/p00950/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00950/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00951/input.0.txt b/public_test_cases/p00951/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7dad9bc12d6526976d5104c693e84096683705e
--- /dev/null
+++ b/public_test_cases/p00951/input.0.txt
@@ -0,0 +1,11 @@
+Alice Bob
+3
+2
+Alice Bob
+Bob Clare
+2
+Bob Clare
+Clare David
+2
+Clare David
+David Alice
diff --git a/public_test_cases/p00951/input.1.txt b/public_test_cases/p00951/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7dad9bc12d6526976d5104c693e84096683705e
--- /dev/null
+++ b/public_test_cases/p00951/input.1.txt
@@ -0,0 +1,11 @@
+Alice Bob
+3
+2
+Alice Bob
+Bob Clare
+2
+Bob Clare
+Clare David
+2
+Clare David
+David Alice
diff --git a/public_test_cases/p00951/output.0.txt b/public_test_cases/p00951/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p00951/output.0.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p00951/output.1.txt b/public_test_cases/p00951/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p00951/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p00952/input.0.txt b/public_test_cases/p00952/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b847c740ca208bc70defd3b99ce74904c0297062
--- /dev/null
+++ b/public_test_cases/p00952/input.0.txt
@@ -0,0 +1,7 @@
+6
+2
+3
+1
+1
+4
+2
diff --git a/public_test_cases/p00952/input.1.txt b/public_test_cases/p00952/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b847c740ca208bc70defd3b99ce74904c0297062
--- /dev/null
+++ b/public_test_cases/p00952/input.1.txt
@@ -0,0 +1,7 @@
+6
+2
+3
+1
+1
+4
+2
diff --git a/public_test_cases/p00952/output.0.txt b/public_test_cases/p00952/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebd85b34895a7d6e2047278e995a907d70f7e3d9
--- /dev/null
+++ b/public_test_cases/p00952/output.0.txt
@@ -0,0 +1,6 @@
+Yes
+Yes
+Yes
+No
+Yes
+No
diff --git a/public_test_cases/p00952/output.1.txt b/public_test_cases/p00952/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebd85b34895a7d6e2047278e995a907d70f7e3d9
--- /dev/null
+++ b/public_test_cases/p00952/output.1.txt
@@ -0,0 +1,6 @@
+Yes
+Yes
+Yes
+No
+Yes
+No
diff --git a/public_test_cases/p00953/input.0.txt b/public_test_cases/p00953/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68583a202a6df246d3f363a0c145ff72dbad34fc
--- /dev/null
+++ b/public_test_cases/p00953/input.0.txt
@@ -0,0 +1,2 @@
+2 1
+1 2 2
diff --git a/public_test_cases/p00953/input.1.txt b/public_test_cases/p00953/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68583a202a6df246d3f363a0c145ff72dbad34fc
--- /dev/null
+++ b/public_test_cases/p00953/input.1.txt
@@ -0,0 +1,2 @@
+2 1
+1 2 2
diff --git a/public_test_cases/p00953/output.0.txt b/public_test_cases/p00953/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00953/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00953/output.1.txt b/public_test_cases/p00953/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00953/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00954/input.0.txt b/public_test_cases/p00954/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..238e77d1ce997981ca3625612ec74e7e901d04b3
--- /dev/null
+++ b/public_test_cases/p00954/input.0.txt
@@ -0,0 +1,3 @@
+2
+5 6
+1000000000 2
diff --git a/public_test_cases/p00954/input.1.txt b/public_test_cases/p00954/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..238e77d1ce997981ca3625612ec74e7e901d04b3
--- /dev/null
+++ b/public_test_cases/p00954/input.1.txt
@@ -0,0 +1,3 @@
+2
+5 6
+1000000000 2
diff --git a/public_test_cases/p00954/output.0.txt b/public_test_cases/p00954/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f411cb49cf1030897f1967a7b78f0158c129a1e6
--- /dev/null
+++ b/public_test_cases/p00954/output.0.txt
@@ -0,0 +1,9 @@
+4
+5 6
+0 6
+0 0
+5 0
+3
+1000000000 0
+0 2
+999999999 0
diff --git a/public_test_cases/p00954/output.1.txt b/public_test_cases/p00954/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f411cb49cf1030897f1967a7b78f0158c129a1e6
--- /dev/null
+++ b/public_test_cases/p00954/output.1.txt
@@ -0,0 +1,9 @@
+4
+5 6
+0 6
+0 0
+5 0
+3
+1000000000 0
+0 2
+999999999 0
diff --git a/public_test_cases/p00955/input.0.txt b/public_test_cases/p00955/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a36461d7da058013f9f8468ae02863364b9f142
--- /dev/null
+++ b/public_test_cases/p00955/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+0 0
+6 0
+6 6
+0 6
diff --git a/public_test_cases/p00955/input.1.txt b/public_test_cases/p00955/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a36461d7da058013f9f8468ae02863364b9f142
--- /dev/null
+++ b/public_test_cases/p00955/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+0 0
+6 0
+6 6
+0 6
diff --git a/public_test_cases/p00955/output.0.txt b/public_test_cases/p00955/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba8e3f4ac3f15a1e2831aff4b3c44bd3023877e5
--- /dev/null
+++ b/public_test_cases/p00955/output.0.txt
@@ -0,0 +1 @@
+35.759506
diff --git a/public_test_cases/p00955/output.1.txt b/public_test_cases/p00955/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba8e3f4ac3f15a1e2831aff4b3c44bd3023877e5
--- /dev/null
+++ b/public_test_cases/p00955/output.1.txt
@@ -0,0 +1 @@
+35.759506
diff --git a/public_test_cases/p00956/input.0.txt b/public_test_cases/p00956/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4517805b4b9eda6d89d898a1064863b14c16ffe7
--- /dev/null
+++ b/public_test_cases/p00956/input.0.txt
@@ -0,0 +1,5 @@
+4
+B
+W
+WB
+WB
diff --git a/public_test_cases/p00956/input.1.txt b/public_test_cases/p00956/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4517805b4b9eda6d89d898a1064863b14c16ffe7
--- /dev/null
+++ b/public_test_cases/p00956/input.1.txt
@@ -0,0 +1,5 @@
+4
+B
+W
+WB
+WB
diff --git a/public_test_cases/p00956/output.0.txt b/public_test_cases/p00956/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00956/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00956/output.1.txt b/public_test_cases/p00956/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00956/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00957/input.0.txt b/public_test_cases/p00957/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p00957/input.0.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p00957/input.1.txt b/public_test_cases/p00957/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p00957/input.1.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p00957/output.0.txt b/public_test_cases/p00957/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00957/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00957/output.1.txt b/public_test_cases/p00957/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p00957/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p00958/input.0.txt b/public_test_cases/p00958/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..032dd219e74aaca58a42a045f4762a0dc48761fe
--- /dev/null
+++ b/public_test_cases/p00958/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 0
+1 1
+0 2
+2 4
diff --git a/public_test_cases/p00958/input.1.txt b/public_test_cases/p00958/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..032dd219e74aaca58a42a045f4762a0dc48761fe
--- /dev/null
+++ b/public_test_cases/p00958/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 0
+1 1
+0 2
+2 4
diff --git a/public_test_cases/p00958/output.0.txt b/public_test_cases/p00958/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00958/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00958/output.1.txt b/public_test_cases/p00958/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00958/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00959/input.0.txt b/public_test_cases/p00959/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6126bad35f529ade2a4fe3b262adb47c28dafe0
--- /dev/null
+++ b/public_test_cases/p00959/input.0.txt
@@ -0,0 +1,4 @@
+3 20
+5
+7
+3
diff --git a/public_test_cases/p00959/input.1.txt b/public_test_cases/p00959/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6126bad35f529ade2a4fe3b262adb47c28dafe0
--- /dev/null
+++ b/public_test_cases/p00959/input.1.txt
@@ -0,0 +1,4 @@
+3 20
+5
+7
+3
diff --git a/public_test_cases/p00959/output.0.txt b/public_test_cases/p00959/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1f394db19e9252b3d2f55039da3727fdd8e3780
--- /dev/null
+++ b/public_test_cases/p00959/output.0.txt
@@ -0,0 +1,3 @@
+5
+3
+2
diff --git a/public_test_cases/p00959/output.1.txt b/public_test_cases/p00959/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1f394db19e9252b3d2f55039da3727fdd8e3780
--- /dev/null
+++ b/public_test_cases/p00959/output.1.txt
@@ -0,0 +1,3 @@
+5
+3
+2
diff --git a/public_test_cases/p00960/input.0.txt b/public_test_cases/p00960/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaa6a17e699e2040e8b35e90914a9a584da68509
--- /dev/null
+++ b/public_test_cases/p00960/input.0.txt
@@ -0,0 +1,11 @@
+10
+-53 62
+-19 58
+-11 11
+-9 -22
+45 -7
+37 -39
+47 -58
+-2 41
+-37 10
+13 42
diff --git a/public_test_cases/p00960/input.1.txt b/public_test_cases/p00960/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaa6a17e699e2040e8b35e90914a9a584da68509
--- /dev/null
+++ b/public_test_cases/p00960/input.1.txt
@@ -0,0 +1,11 @@
+10
+-53 62
+-19 58
+-11 11
+-9 -22
+45 -7
+37 -39
+47 -58
+-2 41
+-37 10
+13 42
diff --git a/public_test_cases/p00960/output.0.txt b/public_test_cases/p00960/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d0d1652ac407069ff017cf3e515f3be2f460fac
--- /dev/null
+++ b/public_test_cases/p00960/output.0.txt
@@ -0,0 +1 @@
+72.96316928
diff --git a/public_test_cases/p00960/output.1.txt b/public_test_cases/p00960/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d0d1652ac407069ff017cf3e515f3be2f460fac
--- /dev/null
+++ b/public_test_cases/p00960/output.1.txt
@@ -0,0 +1 @@
+72.96316928
diff --git a/public_test_cases/p00961/input.0.txt b/public_test_cases/p00961/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e21fad4fed23c2ec831f8686c80fcd37c317fc01
--- /dev/null
+++ b/public_test_cases/p00961/input.0.txt
@@ -0,0 +1,3 @@
+4 4
+BWWB
+WBBW
diff --git a/public_test_cases/p00961/input.1.txt b/public_test_cases/p00961/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e21fad4fed23c2ec831f8686c80fcd37c317fc01
--- /dev/null
+++ b/public_test_cases/p00961/input.1.txt
@@ -0,0 +1,3 @@
+4 4
+BWWB
+WBBW
diff --git a/public_test_cases/p00961/output.0.txt b/public_test_cases/p00961/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00961/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00961/output.1.txt b/public_test_cases/p00961/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00961/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00962/input.0.txt b/public_test_cases/p00962/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e94812c9872832f96e1eb70054c38af4cd026f02
--- /dev/null
+++ b/public_test_cases/p00962/input.0.txt
@@ -0,0 +1,6 @@
+4 5
+1 3 5
+3 4 6
+4 2 7
+2 1 18
+2 3 12
diff --git a/public_test_cases/p00962/input.1.txt b/public_test_cases/p00962/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e94812c9872832f96e1eb70054c38af4cd026f02
--- /dev/null
+++ b/public_test_cases/p00962/input.1.txt
@@ -0,0 +1,6 @@
+4 5
+1 3 5
+3 4 6
+4 2 7
+2 1 18
+2 3 12
diff --git a/public_test_cases/p00962/output.0.txt b/public_test_cases/p00962/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bc85352f975465d9b13acf789dff5a08293a14d
--- /dev/null
+++ b/public_test_cases/p00962/output.0.txt
@@ -0,0 +1,5 @@
+SAD
+SAD
+SAD
+SOSO
+HAPPY
diff --git a/public_test_cases/p00962/output.1.txt b/public_test_cases/p00962/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bc85352f975465d9b13acf789dff5a08293a14d
--- /dev/null
+++ b/public_test_cases/p00962/output.1.txt
@@ -0,0 +1,5 @@
+SAD
+SAD
+SAD
+SOSO
+HAPPY
diff --git a/public_test_cases/p00963/input.0.txt b/public_test_cases/p00963/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e5fa2c39924e6ffc78b786d9e3ecd5bbc363162
--- /dev/null
+++ b/public_test_cases/p00963/input.0.txt
@@ -0,0 +1,2 @@
+CD 30 1
+DB 30 1
diff --git a/public_test_cases/p00963/input.1.txt b/public_test_cases/p00963/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e5fa2c39924e6ffc78b786d9e3ecd5bbc363162
--- /dev/null
+++ b/public_test_cases/p00963/input.1.txt
@@ -0,0 +1,2 @@
+CD 30 1
+DB 30 1
diff --git a/public_test_cases/p00963/output.0.txt b/public_test_cases/p00963/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p00963/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p00963/output.1.txt b/public_test_cases/p00963/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p00963/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p00964/input.0.txt b/public_test_cases/p00964/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d629cf439fc349ab5b51a134bae1e393b5d8fa52
--- /dev/null
+++ b/public_test_cases/p00964/input.0.txt
@@ -0,0 +1,7 @@
+6 3
+1 2
+1 5
+2 3
+2 6
+4 5
+4 6
diff --git a/public_test_cases/p00964/output.0.txt b/public_test_cases/p00964/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74abe52ea08f303355ad2b8a25939c5ba57c9224
--- /dev/null
+++ b/public_test_cases/p00964/output.0.txt
@@ -0,0 +1,2 @@
+6
+2
diff --git a/public_test_cases/p00965/input.0.txt b/public_test_cases/p00965/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a8548f7f726074e75eea5f91c7c76b2350971cf
--- /dev/null
+++ b/public_test_cases/p00965/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 3
+1 3
+3 6
+3 6
diff --git a/public_test_cases/p00965/input.1.txt b/public_test_cases/p00965/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a8548f7f726074e75eea5f91c7c76b2350971cf
--- /dev/null
+++ b/public_test_cases/p00965/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 3
+1 3
+3 6
+3 6
diff --git a/public_test_cases/p00965/output.0.txt b/public_test_cases/p00965/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p00965/output.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p00965/output.1.txt b/public_test_cases/p00965/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p00965/output.1.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p00966/input.0.txt b/public_test_cases/p00966/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a10c84d83db78f672ccf5c93b00751b43fa75b
--- /dev/null
+++ b/public_test_cases/p00966/input.0.txt
@@ -0,0 +1,14 @@
+9 4 5 4
+3 C
+4 I
+7 C
+9 P
+2 1
+4 0
+6 2
+7 0
+8 4
+8
+1
+9
+6
diff --git a/public_test_cases/p00966/input.1.txt b/public_test_cases/p00966/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a10c84d83db78f672ccf5c93b00751b43fa75b
--- /dev/null
+++ b/public_test_cases/p00966/input.1.txt
@@ -0,0 +1,14 @@
+9 4 5 4
+3 C
+4 I
+7 C
+9 P
+2 1
+4 0
+6 2
+7 0
+8 4
+8
+1
+9
+6
diff --git a/public_test_cases/p00966/output.0.txt b/public_test_cases/p00966/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f9942a39cec662030bad290e85515385f2b9361
--- /dev/null
+++ b/public_test_cases/p00966/output.0.txt
@@ -0,0 +1 @@
+ICPC
diff --git a/public_test_cases/p00966/output.1.txt b/public_test_cases/p00966/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f9942a39cec662030bad290e85515385f2b9361
--- /dev/null
+++ b/public_test_cases/p00966/output.1.txt
@@ -0,0 +1 @@
+ICPC
diff --git a/public_test_cases/p00967/input.0.txt b/public_test_cases/p00967/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d543efe645160a1c7785e94bfa586aa20767ce8
--- /dev/null
+++ b/public_test_cases/p00967/input.0.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+1 3
+1 4
+2 3
+3 4
diff --git a/public_test_cases/p00967/input.1.txt b/public_test_cases/p00967/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d543efe645160a1c7785e94bfa586aa20767ce8
--- /dev/null
+++ b/public_test_cases/p00967/input.1.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+1 3
+1 4
+2 3
+3 4
diff --git a/public_test_cases/p00967/output.0.txt b/public_test_cases/p00967/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00967/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00967/output.1.txt b/public_test_cases/p00967/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00967/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00968/input.0.txt b/public_test_cases/p00968/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75b02ee23568bcbbc5147fe52f9090b937b0c10e
--- /dev/null
+++ b/public_test_cases/p00968/input.0.txt
@@ -0,0 +1,4 @@
+2
+file10
+file20
+file3
diff --git a/public_test_cases/p00968/input.1.txt b/public_test_cases/p00968/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75b02ee23568bcbbc5147fe52f9090b937b0c10e
--- /dev/null
+++ b/public_test_cases/p00968/input.1.txt
@@ -0,0 +1,4 @@
+2
+file10
+file20
+file3
diff --git a/public_test_cases/p00968/output.0.txt b/public_test_cases/p00968/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58f2351689788f641f0cbc0222e0f86da3bede50
--- /dev/null
+++ b/public_test_cases/p00968/output.0.txt
@@ -0,0 +1,2 @@
++
+-
diff --git a/public_test_cases/p00968/output.1.txt b/public_test_cases/p00968/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58f2351689788f641f0cbc0222e0f86da3bede50
--- /dev/null
+++ b/public_test_cases/p00968/output.1.txt
@@ -0,0 +1,2 @@
++
+-
diff --git a/public_test_cases/p00969/input.0.txt b/public_test_cases/p00969/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3150c77111a49edc3eaa2c56054e2b16cc33b81
--- /dev/null
+++ b/public_test_cases/p00969/input.0.txt
@@ -0,0 +1,2 @@
+6
+0 1 3 5 6 9
diff --git a/public_test_cases/p00969/input.1.txt b/public_test_cases/p00969/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3150c77111a49edc3eaa2c56054e2b16cc33b81
--- /dev/null
+++ b/public_test_cases/p00969/input.1.txt
@@ -0,0 +1,2 @@
+6
+0 1 3 5 6 9
diff --git a/public_test_cases/p00969/output.0.txt b/public_test_cases/p00969/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00969/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00969/output.1.txt b/public_test_cases/p00969/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00969/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00970/input.0.txt b/public_test_cases/p00970/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a175c31998e44768538b46e5fead4e7dfcdf541e
--- /dev/null
+++ b/public_test_cases/p00970/input.0.txt
@@ -0,0 +1,8 @@
+5 2 7
+1 1
+1 2
+1 3
+2 3
+2 4
+4 4
+5 2
diff --git a/public_test_cases/p00970/input.1.txt b/public_test_cases/p00970/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a175c31998e44768538b46e5fead4e7dfcdf541e
--- /dev/null
+++ b/public_test_cases/p00970/input.1.txt
@@ -0,0 +1,8 @@
+5 2 7
+1 1
+1 2
+1 3
+2 3
+2 4
+4 4
+5 2
diff --git a/public_test_cases/p00970/output.0.txt b/public_test_cases/p00970/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p00970/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p00970/output.1.txt b/public_test_cases/p00970/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p00970/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p00971/input.0.txt b/public_test_cases/p00971/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a08e1a0dd3ad4603035f3a62d1f1d4939049760
--- /dev/null
+++ b/public_test_cases/p00971/input.0.txt
@@ -0,0 +1,2 @@
+0101
+1100001
diff --git a/public_test_cases/p00971/input.1.txt b/public_test_cases/p00971/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a08e1a0dd3ad4603035f3a62d1f1d4939049760
--- /dev/null
+++ b/public_test_cases/p00971/input.1.txt
@@ -0,0 +1,2 @@
+0101
+1100001
diff --git a/public_test_cases/p00971/output.0.txt b/public_test_cases/p00971/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66375d5000b615df5a358e796369a416871d0bef
--- /dev/null
+++ b/public_test_cases/p00971/output.0.txt
@@ -0,0 +1 @@
+0010
diff --git a/public_test_cases/p00971/output.1.txt b/public_test_cases/p00971/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66375d5000b615df5a358e796369a416871d0bef
--- /dev/null
+++ b/public_test_cases/p00971/output.1.txt
@@ -0,0 +1 @@
+0010
diff --git a/public_test_cases/p00972/input.0.txt b/public_test_cases/p00972/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e24350da4dcc86fbf3fbe2775e72d0d00043af06
--- /dev/null
+++ b/public_test_cases/p00972/input.0.txt
@@ -0,0 +1,3 @@
+4 2
+1 2
+3 4
diff --git a/public_test_cases/p00972/input.1.txt b/public_test_cases/p00972/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e24350da4dcc86fbf3fbe2775e72d0d00043af06
--- /dev/null
+++ b/public_test_cases/p00972/input.1.txt
@@ -0,0 +1,3 @@
+4 2
+1 2
+3 4
diff --git a/public_test_cases/p00972/output.0.txt b/public_test_cases/p00972/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6ba1f7d0c19599ab70f0a325be1f6b7fdbfeb43
--- /dev/null
+++ b/public_test_cases/p00972/output.0.txt
@@ -0,0 +1,3 @@
+2
+1 4
+2 3
diff --git a/public_test_cases/p00972/output.1.txt b/public_test_cases/p00972/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6ba1f7d0c19599ab70f0a325be1f6b7fdbfeb43
--- /dev/null
+++ b/public_test_cases/p00972/output.1.txt
@@ -0,0 +1,3 @@
+2
+1 4
+2 3
diff --git a/public_test_cases/p00973/input.0.txt b/public_test_cases/p00973/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d5068448b7f24d961044caa0a2364befd8481e7
--- /dev/null
+++ b/public_test_cases/p00973/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 0
+10 0
+10 10
+0 10
diff --git a/public_test_cases/p00973/input.1.txt b/public_test_cases/p00973/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d5068448b7f24d961044caa0a2364befd8481e7
--- /dev/null
+++ b/public_test_cases/p00973/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 0
+10 0
+10 10
+0 10
diff --git a/public_test_cases/p00973/output.0.txt b/public_test_cases/p00973/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c9715714211c690f5bc9498a141d103794c8d18
--- /dev/null
+++ b/public_test_cases/p00973/output.0.txt
@@ -0,0 +1,2 @@
+10
+14.142135623730950488
diff --git a/public_test_cases/p00973/output.1.txt b/public_test_cases/p00973/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c9715714211c690f5bc9498a141d103794c8d18
--- /dev/null
+++ b/public_test_cases/p00973/output.1.txt
@@ -0,0 +1,2 @@
+10
+14.142135623730950488
diff --git a/public_test_cases/p00974/input.0.txt b/public_test_cases/p00974/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e87d7a086c27bcb29567dd1086f15cc55abd524
--- /dev/null
+++ b/public_test_cases/p00974/input.0.txt
@@ -0,0 +1,2 @@
+7
+3 1 4 1 5 9 2
diff --git a/public_test_cases/p00974/input.1.txt b/public_test_cases/p00974/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e87d7a086c27bcb29567dd1086f15cc55abd524
--- /dev/null
+++ b/public_test_cases/p00974/input.1.txt
@@ -0,0 +1,2 @@
+7
+3 1 4 1 5 9 2
diff --git a/public_test_cases/p00974/output.0.txt b/public_test_cases/p00974/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00974/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00974/output.1.txt b/public_test_cases/p00974/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00974/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00975/input.0.txt b/public_test_cases/p00975/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad04b14d836580364bfd760bf14a0915b0a36c9f
--- /dev/null
+++ b/public_test_cases/p00975/input.0.txt
@@ -0,0 +1,14 @@
+5 8
+0 0
+2 0
+0 2
+2 2
+1 1
+1 2
+1 3
+1 5
+2 4
+2 5
+3 4
+3 5
+4 5
diff --git a/public_test_cases/p00975/input.1.txt b/public_test_cases/p00975/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad04b14d836580364bfd760bf14a0915b0a36c9f
--- /dev/null
+++ b/public_test_cases/p00975/input.1.txt
@@ -0,0 +1,14 @@
+5 8
+0 0
+2 0
+0 2
+2 2
+1 1
+1 2
+1 3
+1 5
+2 4
+2 5
+3 4
+3 5
+4 5
diff --git a/public_test_cases/p00975/output.0.txt b/public_test_cases/p00975/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2272d0d0ecd659c805a87c06bd1909a0bc31a6e9
--- /dev/null
+++ b/public_test_cases/p00975/output.0.txt
@@ -0,0 +1,5 @@
+1
+2
+2
+1
+3
diff --git a/public_test_cases/p00975/output.1.txt b/public_test_cases/p00975/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2272d0d0ecd659c805a87c06bd1909a0bc31a6e9
--- /dev/null
+++ b/public_test_cases/p00975/output.1.txt
@@ -0,0 +1,5 @@
+1
+2
+2
+1
+3
diff --git a/public_test_cases/p00976/input.0.txt b/public_test_cases/p00976/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc2e386f170b0278d6ceafb4b5fe49d64bef59a0
--- /dev/null
+++ b/public_test_cases/p00976/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+001
+101
diff --git a/public_test_cases/p00976/input.1.txt b/public_test_cases/p00976/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc2e386f170b0278d6ceafb4b5fe49d64bef59a0
--- /dev/null
+++ b/public_test_cases/p00976/input.1.txt
@@ -0,0 +1,3 @@
+2 3
+001
+101
diff --git a/public_test_cases/p00976/output.0.txt b/public_test_cases/p00976/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcbbe1b8e52e1c702e2ef0a0e561bbc301309211
--- /dev/null
+++ b/public_test_cases/p00976/output.0.txt
@@ -0,0 +1,2 @@
+-0-
+-00
diff --git a/public_test_cases/p00976/output.1.txt b/public_test_cases/p00976/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcbbe1b8e52e1c702e2ef0a0e561bbc301309211
--- /dev/null
+++ b/public_test_cases/p00976/output.1.txt
@@ -0,0 +1,2 @@
+-0-
+-00
diff --git a/public_test_cases/p00977/input.0.txt b/public_test_cases/p00977/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98270692f8f19feba05ac8b0be8eed251ae7e2ee
--- /dev/null
+++ b/public_test_cases/p00977/input.0.txt
@@ -0,0 +1,18 @@
+5
+1 2
+2 3
+3 4
+2 5
+1 2 1 2 3
+11
+Q 1
+Q 2
+Q 3
+Q 4
+U 5 1
+Q 1
+U 3 2
+Q 1
+Q 2
+U 5 4
+Q 1
diff --git a/public_test_cases/p00977/input.1.txt b/public_test_cases/p00977/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98270692f8f19feba05ac8b0be8eed251ae7e2ee
--- /dev/null
+++ b/public_test_cases/p00977/input.1.txt
@@ -0,0 +1,18 @@
+5
+1 2
+2 3
+3 4
+2 5
+1 2 1 2 3
+11
+Q 1
+Q 2
+Q 3
+Q 4
+U 5 1
+Q 1
+U 3 2
+Q 1
+Q 2
+U 5 4
+Q 1
diff --git a/public_test_cases/p00977/output.0.txt b/public_test_cases/p00977/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45bcb8ca1fbc7d5a2bcac4a3ab675a23a630f5dc
--- /dev/null
+++ b/public_test_cases/p00977/output.0.txt
@@ -0,0 +1,8 @@
+2
+2
+0
+-1
+3
+2
+2
+0
diff --git a/public_test_cases/p00977/output.1.txt b/public_test_cases/p00977/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45bcb8ca1fbc7d5a2bcac4a3ab675a23a630f5dc
--- /dev/null
+++ b/public_test_cases/p00977/output.1.txt
@@ -0,0 +1,8 @@
+2
+2
+0
+-1
+3
+2
+2
+0
diff --git a/public_test_cases/p00978/input.0.txt b/public_test_cases/p00978/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87f24fba09d68504b852c6b3be97212f97651b90
--- /dev/null
+++ b/public_test_cases/p00978/input.0.txt
@@ -0,0 +1,3 @@
+5
+1 2 3 4 5
+1 2 3 4 5
diff --git a/public_test_cases/p00978/input.1.txt b/public_test_cases/p00978/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87f24fba09d68504b852c6b3be97212f97651b90
--- /dev/null
+++ b/public_test_cases/p00978/input.1.txt
@@ -0,0 +1,3 @@
+5
+1 2 3 4 5
+1 2 3 4 5
diff --git a/public_test_cases/p00978/output.0.txt b/public_test_cases/p00978/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0aea478dd748e3319cbdb3130376fadc9608568
--- /dev/null
+++ b/public_test_cases/p00978/output.0.txt
@@ -0,0 +1 @@
+2 3 4 5 1
diff --git a/public_test_cases/p00978/output.1.txt b/public_test_cases/p00978/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0aea478dd748e3319cbdb3130376fadc9608568
--- /dev/null
+++ b/public_test_cases/p00978/output.1.txt
@@ -0,0 +1 @@
+2 3 4 5 1
diff --git a/public_test_cases/p00979/input.0.txt b/public_test_cases/p00979/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p00979/input.0.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p00979/input.1.txt b/public_test_cases/p00979/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p00979/input.1.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p00979/output.0.txt b/public_test_cases/p00979/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00979/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00979/output.1.txt b/public_test_cases/p00979/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p00979/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p00980/input.0.txt b/public_test_cases/p00980/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62d6db627746c41ae15afa50dd58833bc7f90d22
--- /dev/null
+++ b/public_test_cases/p00980/input.0.txt
@@ -0,0 +1,3 @@
+5 4 2
+1 1 10
+5 4 3
diff --git a/public_test_cases/p00980/input.1.txt b/public_test_cases/p00980/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62d6db627746c41ae15afa50dd58833bc7f90d22
--- /dev/null
+++ b/public_test_cases/p00980/input.1.txt
@@ -0,0 +1,3 @@
+5 4 2
+1 1 10
+5 4 3
diff --git a/public_test_cases/p00980/output.0.txt b/public_test_cases/p00980/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd03ab2a61f407d4bd9068d6faf07cb898805cc0
--- /dev/null
+++ b/public_test_cases/p00980/output.0.txt
@@ -0,0 +1 @@
+130
diff --git a/public_test_cases/p00980/output.1.txt b/public_test_cases/p00980/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd03ab2a61f407d4bd9068d6faf07cb898805cc0
--- /dev/null
+++ b/public_test_cases/p00980/output.1.txt
@@ -0,0 +1 @@
+130
diff --git a/public_test_cases/p00981/input.0.txt b/public_test_cases/p00981/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cb0190fce925b5bb372663e072cae6212e2a0ef
--- /dev/null
+++ b/public_test_cases/p00981/input.0.txt
@@ -0,0 +1,6 @@
+8 5 10 5
+1 1 7
+3 1 2
+1 5 6
+3 1 4
+3 6 8
diff --git a/public_test_cases/p00981/input.1.txt b/public_test_cases/p00981/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cb0190fce925b5bb372663e072cae6212e2a0ef
--- /dev/null
+++ b/public_test_cases/p00981/input.1.txt
@@ -0,0 +1,6 @@
+8 5 10 5
+1 1 7
+3 1 2
+1 5 6
+3 1 4
+3 6 8
diff --git a/public_test_cases/p00981/output.0.txt b/public_test_cases/p00981/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bbd69c2e548374bb9a87e06a2cfe52136f28465
--- /dev/null
+++ b/public_test_cases/p00981/output.0.txt
@@ -0,0 +1 @@
+70
diff --git a/public_test_cases/p00981/output.1.txt b/public_test_cases/p00981/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bbd69c2e548374bb9a87e06a2cfe52136f28465
--- /dev/null
+++ b/public_test_cases/p00981/output.1.txt
@@ -0,0 +1 @@
+70
diff --git a/public_test_cases/p00982/input.0.txt b/public_test_cases/p00982/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87f490b4c178136e11c553dc1c7802469adc8827
--- /dev/null
+++ b/public_test_cases/p00982/input.0.txt
@@ -0,0 +1,11 @@
+3
+0 0 0
+1 0 0
+3 0 0
+1 2
+2 3
+0 0 0
+0 2 2
+0 3 3
+4 5
+5 6
diff --git a/public_test_cases/p00982/input.1.txt b/public_test_cases/p00982/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87f490b4c178136e11c553dc1c7802469adc8827
--- /dev/null
+++ b/public_test_cases/p00982/input.1.txt
@@ -0,0 +1,11 @@
+3
+0 0 0
+1 0 0
+3 0 0
+1 2
+2 3
+0 0 0
+0 2 2
+0 3 3
+4 5
+5 6
diff --git a/public_test_cases/p00982/output.0.txt b/public_test_cases/p00982/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00982/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00982/output.1.txt b/public_test_cases/p00982/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00982/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00983/input.0.txt b/public_test_cases/p00983/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf0b66608ba6a1a3178a8b32ebdd2f03e9061e0c
--- /dev/null
+++ b/public_test_cases/p00983/input.0.txt
@@ -0,0 +1,2 @@
+6 3
+1 3 4 2 6 5
diff --git a/public_test_cases/p00983/input.1.txt b/public_test_cases/p00983/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf0b66608ba6a1a3178a8b32ebdd2f03e9061e0c
--- /dev/null
+++ b/public_test_cases/p00983/input.1.txt
@@ -0,0 +1,2 @@
+6 3
+1 3 4 2 6 5
diff --git a/public_test_cases/p00983/output.0.txt b/public_test_cases/p00983/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00983/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00983/output.1.txt b/public_test_cases/p00983/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00983/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00984/input.0.txt b/public_test_cases/p00984/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c325ab72f14861e314c2822cd3be1c8d5bcf3fa
--- /dev/null
+++ b/public_test_cases/p00984/input.0.txt
@@ -0,0 +1,3 @@
+2 0
+5 1 2 1 1
+10 1 3 2 2
diff --git a/public_test_cases/p00984/input.1.txt b/public_test_cases/p00984/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c325ab72f14861e314c2822cd3be1c8d5bcf3fa
--- /dev/null
+++ b/public_test_cases/p00984/input.1.txt
@@ -0,0 +1,3 @@
+2 0
+5 1 2 1 1
+10 1 3 2 2
diff --git a/public_test_cases/p00984/output.0.txt b/public_test_cases/p00984/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p00984/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p00984/output.1.txt b/public_test_cases/p00984/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p00984/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p00985/input.0.txt b/public_test_cases/p00985/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6e1963b49cecaa477a7a58eee42cf0de8ef51b
--- /dev/null
+++ b/public_test_cases/p00985/input.0.txt
@@ -0,0 +1,4 @@
+3
+0
+01
+10
diff --git a/public_test_cases/p00985/input.1.txt b/public_test_cases/p00985/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6e1963b49cecaa477a7a58eee42cf0de8ef51b
--- /dev/null
+++ b/public_test_cases/p00985/input.1.txt
@@ -0,0 +1,4 @@
+3
+0
+01
+10
diff --git a/public_test_cases/p00985/output.0.txt b/public_test_cases/p00985/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00985/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00985/output.1.txt b/public_test_cases/p00985/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00985/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00986/input.0.txt b/public_test_cases/p00986/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0397e493a137c471cb2a2d52ca8ccd982b7e1bbe
--- /dev/null
+++ b/public_test_cases/p00986/input.0.txt
@@ -0,0 +1 @@
+(()())---)
diff --git a/public_test_cases/p00986/input.1.txt b/public_test_cases/p00986/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0397e493a137c471cb2a2d52ca8ccd982b7e1bbe
--- /dev/null
+++ b/public_test_cases/p00986/input.1.txt
@@ -0,0 +1 @@
+(()())---)
diff --git a/public_test_cases/p00986/output.0.txt b/public_test_cases/p00986/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a9dc15be9c3463b11790de22e24632793f49f2e
--- /dev/null
+++ b/public_test_cases/p00986/output.0.txt
@@ -0,0 +1,10 @@
+0
+0
+1
+1
+3
+4
+3
+1
+1
+2
diff --git a/public_test_cases/p00986/output.1.txt b/public_test_cases/p00986/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a9dc15be9c3463b11790de22e24632793f49f2e
--- /dev/null
+++ b/public_test_cases/p00986/output.1.txt
@@ -0,0 +1,10 @@
+0
+0
+1
+1
+3
+4
+3
+1
+1
+2
diff --git a/public_test_cases/p00987/input.0.txt b/public_test_cases/p00987/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd048a83a6e08bbb7573940461c43b1c40556587
--- /dev/null
+++ b/public_test_cases/p00987/input.0.txt
@@ -0,0 +1,7 @@
+3 2
+1 2
+2 3
+3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p00987/input.1.txt b/public_test_cases/p00987/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd048a83a6e08bbb7573940461c43b1c40556587
--- /dev/null
+++ b/public_test_cases/p00987/input.1.txt
@@ -0,0 +1,7 @@
+3 2
+1 2
+2 3
+3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p00987/output.0.txt b/public_test_cases/p00987/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ce42eefbc5dadd71a38d24c1b79349cd71ba7bf
--- /dev/null
+++ b/public_test_cases/p00987/output.0.txt
@@ -0,0 +1,3 @@
+Yes
+1 2
+2 3
diff --git a/public_test_cases/p00987/output.1.txt b/public_test_cases/p00987/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ce42eefbc5dadd71a38d24c1b79349cd71ba7bf
--- /dev/null
+++ b/public_test_cases/p00987/output.1.txt
@@ -0,0 +1,3 @@
+Yes
+1 2
+2 3
diff --git a/public_test_cases/p00988/input.0.txt b/public_test_cases/p00988/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db2f09217e5d7e0c7292e72407767f2fd4ca8205
--- /dev/null
+++ b/public_test_cases/p00988/input.0.txt
@@ -0,0 +1,5 @@
+4
+10 0
+20 10
+10 30
+0 10
diff --git a/public_test_cases/p00988/input.1.txt b/public_test_cases/p00988/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db2f09217e5d7e0c7292e72407767f2fd4ca8205
--- /dev/null
+++ b/public_test_cases/p00988/input.1.txt
@@ -0,0 +1,5 @@
+4
+10 0
+20 10
+10 30
+0 10
diff --git a/public_test_cases/p00988/output.0.txt b/public_test_cases/p00988/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56e040a2fb15adbe575b788826e882f18abed084
--- /dev/null
+++ b/public_test_cases/p00988/output.0.txt
@@ -0,0 +1 @@
+300.00
diff --git a/public_test_cases/p00988/output.1.txt b/public_test_cases/p00988/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56e040a2fb15adbe575b788826e882f18abed084
--- /dev/null
+++ b/public_test_cases/p00988/output.1.txt
@@ -0,0 +1 @@
+300.00
diff --git a/public_test_cases/p00989/input.0.txt b/public_test_cases/p00989/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a255422f825fc448aff57c6e90e9d3694291b0
--- /dev/null
+++ b/public_test_cases/p00989/input.0.txt
@@ -0,0 +1,4 @@
+3 3 1 2 3
+.#.
+###
+.#.
diff --git a/public_test_cases/p00989/input.1.txt b/public_test_cases/p00989/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a255422f825fc448aff57c6e90e9d3694291b0
--- /dev/null
+++ b/public_test_cases/p00989/input.1.txt
@@ -0,0 +1,4 @@
+3 3 1 2 3
+.#.
+###
+.#.
diff --git a/public_test_cases/p00989/output.0.txt b/public_test_cases/p00989/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00989/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00989/output.1.txt b/public_test_cases/p00989/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00989/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00990/input.0.txt b/public_test_cases/p00990/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb1505768e1a5bf2c2f7c0fcfe4b3fd234eaa73e
--- /dev/null
+++ b/public_test_cases/p00990/input.0.txt
@@ -0,0 +1,4 @@
+5
+5*57*
+2
+3 9
diff --git a/public_test_cases/p00990/input.1.txt b/public_test_cases/p00990/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb1505768e1a5bf2c2f7c0fcfe4b3fd234eaa73e
--- /dev/null
+++ b/public_test_cases/p00990/input.1.txt
@@ -0,0 +1,4 @@
+5
+5*57*
+2
+3 9
diff --git a/public_test_cases/p00990/input.2.txt b/public_test_cases/p00990/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17da0ea33c89c8ad55329916775d6702988ae3dd
--- /dev/null
+++ b/public_test_cases/p00990/input.2.txt
@@ -0,0 +1,4 @@
+15
+2***9*2*6*1199*
+9
+0 1 2 3 4 6 7 8 9
diff --git a/public_test_cases/p00990/output.0.txt b/public_test_cases/p00990/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00990/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00990/output.1.txt b/public_test_cases/p00990/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00990/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00990/output.2.txt b/public_test_cases/p00990/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd14f3beab95384a0a2fc92d09601ab2f2b32f6c
--- /dev/null
+++ b/public_test_cases/p00990/output.2.txt
@@ -0,0 +1 @@
+478297
diff --git a/public_test_cases/p00991/input.0.txt b/public_test_cases/p00991/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cd9041630f58056d7b075e5c31aba14e2b4f151
--- /dev/null
+++ b/public_test_cases/p00991/input.0.txt
@@ -0,0 +1 @@
+4 4 0 0 3 3
diff --git a/public_test_cases/p00991/input.1.txt b/public_test_cases/p00991/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d4dbaaa29370c0848137a1ebde0d430c1ad79df
--- /dev/null
+++ b/public_test_cases/p00991/input.1.txt
@@ -0,0 +1 @@
+500 500 0 0 200 200
diff --git a/public_test_cases/p00991/input.2.txt b/public_test_cases/p00991/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2325b4bcd61217365fc554cbb061e49738c94aa9
--- /dev/null
+++ b/public_test_cases/p00991/input.2.txt
@@ -0,0 +1 @@
+4 4 0 0 1 1
diff --git a/public_test_cases/p00991/input.3.txt b/public_test_cases/p00991/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cd9041630f58056d7b075e5c31aba14e2b4f151
--- /dev/null
+++ b/public_test_cases/p00991/input.3.txt
@@ -0,0 +1 @@
+4 4 0 0 3 3
diff --git a/public_test_cases/p00991/input.4.txt b/public_test_cases/p00991/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e53acc069eeef13fe6e6295a39aea542de4fc2cc
--- /dev/null
+++ b/public_test_cases/p00991/input.4.txt
@@ -0,0 +1 @@
+2 3 0 0 1 2
diff --git a/public_test_cases/p00991/output.0.txt b/public_test_cases/p00991/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00991/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00991/output.1.txt b/public_test_cases/p00991/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53e98daa050cdbd82bd093f2c14755c4591a86e0
--- /dev/null
+++ b/public_test_cases/p00991/output.1.txt
@@ -0,0 +1 @@
+34807775
diff --git a/public_test_cases/p00991/output.2.txt b/public_test_cases/p00991/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00991/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00991/output.3.txt b/public_test_cases/p00991/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00991/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00991/output.4.txt b/public_test_cases/p00991/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p00991/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p00992/input.0.txt b/public_test_cases/p00992/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43ef02e3de6652847b39caafa66b03c7897b9e7a
--- /dev/null
+++ b/public_test_cases/p00992/input.0.txt
@@ -0,0 +1,3 @@
+2
+5
+5
diff --git a/public_test_cases/p00992/input.1.txt b/public_test_cases/p00992/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c39b59ac349d289935dd2b1c14e59c8e5572bee0
--- /dev/null
+++ b/public_test_cases/p00992/input.1.txt
@@ -0,0 +1,11 @@
+10
+10
+10
+10
+10
+10
+10
+10
+10
+10
+10
diff --git a/public_test_cases/p00992/input.2.txt b/public_test_cases/p00992/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43ef02e3de6652847b39caafa66b03c7897b9e7a
--- /dev/null
+++ b/public_test_cases/p00992/input.2.txt
@@ -0,0 +1,3 @@
+2
+5
+5
diff --git a/public_test_cases/p00992/input.3.txt b/public_test_cases/p00992/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74fc6f901f7e14b2a1243ec3e8ab6c3e49b438f6
--- /dev/null
+++ b/public_test_cases/p00992/input.3.txt
@@ -0,0 +1,6 @@
+5
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p00992/output.0.txt b/public_test_cases/p00992/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00992/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00992/output.1.txt b/public_test_cases/p00992/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c67f579c9a811e9614857067f83cdfc7434920bf
--- /dev/null
+++ b/public_test_cases/p00992/output.1.txt
@@ -0,0 +1 @@
+93
diff --git a/public_test_cases/p00992/output.2.txt b/public_test_cases/p00992/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p00992/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p00992/output.3.txt b/public_test_cases/p00992/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p00992/output.3.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p00993/input.0.txt b/public_test_cases/p00993/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00993/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00993/input.1.txt b/public_test_cases/p00993/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00993/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00993/input.2.txt b/public_test_cases/p00993/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p00993/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p00993/output.0.txt b/public_test_cases/p00993/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f4116020ef96ae272a8d72fbdee3778a31681c
--- /dev/null
+++ b/public_test_cases/p00993/output.0.txt
@@ -0,0 +1,3 @@
+8
+2
+3
diff --git a/public_test_cases/p00993/output.1.txt b/public_test_cases/p00993/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca2c5d49b582e2df64024bc06e808597bde46550
--- /dev/null
+++ b/public_test_cases/p00993/output.1.txt
@@ -0,0 +1,4 @@
+8
+2
+3
+5
diff --git a/public_test_cases/p00993/output.2.txt b/public_test_cases/p00993/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f4116020ef96ae272a8d72fbdee3778a31681c
--- /dev/null
+++ b/public_test_cases/p00993/output.2.txt
@@ -0,0 +1,3 @@
+8
+2
+3
diff --git a/public_test_cases/p00994/input.0.txt b/public_test_cases/p00994/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04de1359f567af40937debd1eb13e5ec920bef20
--- /dev/null
+++ b/public_test_cases/p00994/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+.1.
+1.1
+.1.
diff --git a/public_test_cases/p00994/input.1.txt b/public_test_cases/p00994/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e803339956ba9cb276183089d2fadea4a428e76
--- /dev/null
+++ b/public_test_cases/p00994/input.1.txt
@@ -0,0 +1,8 @@
+7 7
+2.3.1.1
+.......
+2......
+.......
+..3.3..
+.......
+2.2.4.3
diff --git a/public_test_cases/p00994/input.2.txt b/public_test_cases/p00994/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04de1359f567af40937debd1eb13e5ec920bef20
--- /dev/null
+++ b/public_test_cases/p00994/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+.1.
+1.1
+.1.
diff --git a/public_test_cases/p00994/input.3.txt b/public_test_cases/p00994/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e8a241f1e32bcbf5e0fdfaee60eedeeb27c620e
--- /dev/null
+++ b/public_test_cases/p00994/input.3.txt
@@ -0,0 +1,2 @@
+1 3
+1.1
diff --git a/public_test_cases/p00994/input.4.txt b/public_test_cases/p00994/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bb91e7721e9b2d6b2dcaba328734d49efdec97e
--- /dev/null
+++ b/public_test_cases/p00994/input.4.txt
@@ -0,0 +1,4 @@
+3 3
+4.2
+...
+2..
diff --git a/public_test_cases/p00994/output.0.txt b/public_test_cases/p00994/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00994/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00994/output.1.txt b/public_test_cases/p00994/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p00994/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p00994/output.2.txt b/public_test_cases/p00994/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p00994/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p00994/output.3.txt b/public_test_cases/p00994/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00994/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00994/output.4.txt b/public_test_cases/p00994/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p00994/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p00995/input.0.txt b/public_test_cases/p00995/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b7730dbe8372bc18eadb92b8dde16c26001b00a
--- /dev/null
+++ b/public_test_cases/p00995/input.0.txt
@@ -0,0 +1,10 @@
+4 4
+0 1 3
+1 3 4
+0 2 2
+2 3 1
+4
+0 0
+2 2
+2 1
+3 4
diff --git a/public_test_cases/p00995/input.1.txt b/public_test_cases/p00995/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b7730dbe8372bc18eadb92b8dde16c26001b00a
--- /dev/null
+++ b/public_test_cases/p00995/input.1.txt
@@ -0,0 +1,10 @@
+4 4
+0 1 3
+1 3 4
+0 2 2
+2 3 1
+4
+0 0
+2 2
+2 1
+3 4
diff --git a/public_test_cases/p00995/output.0.txt b/public_test_cases/p00995/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c35630e3ebade68a1b866f3b58b95f7533785fc7
--- /dev/null
+++ b/public_test_cases/p00995/output.0.txt
@@ -0,0 +1,4 @@
+1
+1
+2
+1
diff --git a/public_test_cases/p00995/output.1.txt b/public_test_cases/p00995/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c35630e3ebade68a1b866f3b58b95f7533785fc7
--- /dev/null
+++ b/public_test_cases/p00995/output.1.txt
@@ -0,0 +1,4 @@
+1
+1
+2
+1
diff --git a/public_test_cases/p00996/input.0.txt b/public_test_cases/p00996/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1817035476248eda77ef353cd7b0f17bb1180f45
--- /dev/null
+++ b/public_test_cases/p00996/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+4o.
+4o.
+4o.
diff --git a/public_test_cases/p00996/input.1.txt b/public_test_cases/p00996/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd6ed0b69cfe82b1fa5f2402fabe9ae2eb04c07c
--- /dev/null
+++ b/public_test_cases/p00996/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+4o..
+.o3.
+.o..
+.5..
diff --git a/public_test_cases/p00996/input.2.txt b/public_test_cases/p00996/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1817035476248eda77ef353cd7b0f17bb1180f45
--- /dev/null
+++ b/public_test_cases/p00996/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+4o.
+4o.
+4o.
diff --git a/public_test_cases/p00996/input.3.txt b/public_test_cases/p00996/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fda7925c59006c2eb5f69e7d6f1b080fa54d869
--- /dev/null
+++ b/public_test_cases/p00996/input.3.txt
@@ -0,0 +1,7 @@
+6 10
+1xxxxxxxxx
+o.......o.
+xxxx.xxxx4
+xoxx.xxxx.
+x....3xx..
+x..xxxxx..
diff --git a/public_test_cases/p00996/output.0.txt b/public_test_cases/p00996/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c68b42835be0cfa8ce1104c349a75c77a78406a8
--- /dev/null
+++ b/public_test_cases/p00996/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00996/output.1.txt b/public_test_cases/p00996/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p00996/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00996/output.2.txt b/public_test_cases/p00996/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c68b42835be0cfa8ce1104c349a75c77a78406a8
--- /dev/null
+++ b/public_test_cases/p00996/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p00996/output.3.txt b/public_test_cases/p00996/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p00996/output.3.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p00997/input.0.txt b/public_test_cases/p00997/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f7cba1fe1459397ea2cdc8220b2294bb37c2310
--- /dev/null
+++ b/public_test_cases/p00997/input.0.txt
@@ -0,0 +1,4 @@
+4
+0 1 3
+1 2 5
+1 3 2
diff --git a/public_test_cases/p00997/input.1.txt b/public_test_cases/p00997/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f7cba1fe1459397ea2cdc8220b2294bb37c2310
--- /dev/null
+++ b/public_test_cases/p00997/input.1.txt
@@ -0,0 +1,4 @@
+4
+0 1 3
+1 2 5
+1 3 2
diff --git a/public_test_cases/p00997/input.2.txt b/public_test_cases/p00997/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c8e13be994cd473c497eb64d253c19486ebd289
--- /dev/null
+++ b/public_test_cases/p00997/input.2.txt
@@ -0,0 +1,6 @@
+6
+0 2 5
+2 1 1
+2 3 10
+3 5 4
+3 4 2
diff --git a/public_test_cases/p00997/output.0.txt b/public_test_cases/p00997/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p00997/output.0.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p00997/output.1.txt b/public_test_cases/p00997/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p00997/output.1.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p00997/output.2.txt b/public_test_cases/p00997/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p00997/output.2.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p00998/input.0.txt b/public_test_cases/p00998/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12348c5af0a9296195990a2aae8058ac0a579a65
--- /dev/null
+++ b/public_test_cases/p00998/input.0.txt
@@ -0,0 +1,14 @@
+10 3
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+1 5 7
+0 2 5
+1 5 7
diff --git a/public_test_cases/p00998/input.1.txt b/public_test_cases/p00998/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12348c5af0a9296195990a2aae8058ac0a579a65
--- /dev/null
+++ b/public_test_cases/p00998/input.1.txt
@@ -0,0 +1,14 @@
+10 3
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+1 5 7
+0 2 5
+1 5 7
diff --git a/public_test_cases/p00998/input.2.txt b/public_test_cases/p00998/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8aa696a664ed7448d5940a78a1063b78d3240711
--- /dev/null
+++ b/public_test_cases/p00998/input.2.txt
@@ -0,0 +1,21 @@
+10 10
+289383
+930886
+692777
+636915
+747793
+238335
+885386
+760492
+516649
+641421
+2 7 368690
+1 3 6
+0 2 6
+1 1 8
+0 2 9
+2 2 665123
+1 5 9
+0 2 8
+2 7 961393
+1 1 2
diff --git a/public_test_cases/p00998/output.0.txt b/public_test_cases/p00998/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5104f3ba92814f8a900b02edfd354d47ebfb143
--- /dev/null
+++ b/public_test_cases/p00998/output.0.txt
@@ -0,0 +1,2 @@
+5
+4
diff --git a/public_test_cases/p00998/output.1.txt b/public_test_cases/p00998/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5104f3ba92814f8a900b02edfd354d47ebfb143
--- /dev/null
+++ b/public_test_cases/p00998/output.1.txt
@@ -0,0 +1,2 @@
+5
+4
diff --git a/public_test_cases/p00998/output.2.txt b/public_test_cases/p00998/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d285930fa4cf2c163533af6d96a0736ae3a5b0fd
--- /dev/null
+++ b/public_test_cases/p00998/output.2.txt
@@ -0,0 +1,4 @@
+238335
+238335
+238335
+368690
diff --git a/public_test_cases/p00999/input.0.txt b/public_test_cases/p00999/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99b4d5354772a3c714af0655b5ad317e8bce7175
--- /dev/null
+++ b/public_test_cases/p00999/input.0.txt
@@ -0,0 +1,7 @@
+70 100 340 4 200
+1 1 4
+70 100 340 4 200
+0 1 3
+70 100 340 4 200
+1 1 2
+0 0 0 0 0
diff --git a/public_test_cases/p00999/input.1.txt b/public_test_cases/p00999/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99b4d5354772a3c714af0655b5ad317e8bce7175
--- /dev/null
+++ b/public_test_cases/p00999/input.1.txt
@@ -0,0 +1,7 @@
+70 100 340 4 200
+1 1 4
+70 100 340 4 200
+0 1 3
+70 100 340 4 200
+1 1 2
+0 0 0 0 0
diff --git a/public_test_cases/p00999/output.0.txt b/public_test_cases/p00999/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..050b69256b7233cf9a1708665bb114fa1bff0d78
--- /dev/null
+++ b/public_test_cases/p00999/output.0.txt
@@ -0,0 +1,3 @@
+970
+800
+800
diff --git a/public_test_cases/p00999/output.1.txt b/public_test_cases/p00999/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..050b69256b7233cf9a1708665bb114fa1bff0d78
--- /dev/null
+++ b/public_test_cases/p00999/output.1.txt
@@ -0,0 +1,3 @@
+970
+800
+800
diff --git a/public_test_cases/p01000/input.0.txt b/public_test_cases/p01000/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f6d01a28e23f393d8bf4e67b0c7092648482476
--- /dev/null
+++ b/public_test_cases/p01000/input.0.txt
@@ -0,0 +1,100 @@
+5
+00000
+01010
+00000
+00100
+00000
+
+00000
+01010
+00000
+01010
+00000
+
+00000
+00100
+00000
+01010
+00000
+
+00000
+01010
+00000
+00100
+00000
+
+00000
+00000
+00100
+00000
+00000
+
+1 2
+2 3 4
+4
+01110
+00100
+00100
+00100
+01110
+
+01110
+10001
+10000
+10001
+01110
+
+11111
+10001
+11111
+10000
+10000
+
+01110
+10001
+10000
+10001
+01110
+
+00000
+00000
+00000
+00000
+00000
+
+2 3 4
+1 2
+100
+00100
+01010
+01110
+10001
+10001
+
+01110
+00100
+00100
+00100
+01110
+
+00000
+00000
+00000
+00000
+00000
+
+11111
+00010
+00100
+01000
+11111
+
+10001
+10001
+10001
+10001
+01110
+
+5 1 3 5 7 9
+5 0 2 4 6 8
+0
diff --git a/public_test_cases/p01000/input.1.txt b/public_test_cases/p01000/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f6d01a28e23f393d8bf4e67b0c7092648482476
--- /dev/null
+++ b/public_test_cases/p01000/input.1.txt
@@ -0,0 +1,100 @@
+5
+00000
+01010
+00000
+00100
+00000
+
+00000
+01010
+00000
+01010
+00000
+
+00000
+00100
+00000
+01010
+00000
+
+00000
+01010
+00000
+00100
+00000
+
+00000
+00000
+00100
+00000
+00000
+
+1 2
+2 3 4
+4
+01110
+00100
+00100
+00100
+01110
+
+01110
+10001
+10000
+10001
+01110
+
+11111
+10001
+11111
+10000
+10000
+
+01110
+10001
+10000
+10001
+01110
+
+00000
+00000
+00000
+00000
+00000
+
+2 3 4
+1 2
+100
+00100
+01010
+01110
+10001
+10001
+
+01110
+00100
+00100
+00100
+01110
+
+00000
+00000
+00000
+00000
+00000
+
+11111
+00010
+00100
+01000
+11111
+
+10001
+10001
+10001
+10001
+01110
+
+5 1 3 5 7 9
+5 0 2 4 6 8
+0
diff --git a/public_test_cases/p01000/output.0.txt b/public_test_cases/p01000/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d67e71eeba56962aff61d318c81f78d12d240bc
--- /dev/null
+++ b/public_test_cases/p01000/output.0.txt
@@ -0,0 +1,92 @@
+Case 1:
+00000
+00000
+01010
+01110
+10101
+
+00000
+10001
+00000
+00000
+00000
+
+00000
+00000
+11111
+10001
+00000
+
+00000
+00000
+00000
+00000
+01010
+
+00000
+00000
+01110
+00100
+11111
+
+Case 2:
+00010
+10110
+00000
+11000
+10000
+
+00001
+00000
+10101
+00010
+00100
+
+10001
+00000
+00000
+00000
+00010
+
+01110
+10001
+00000
+00001
+10000
+
+00000
+00000
+00111
+01001
+01000
+
+Case 3:
+00000
+00000
+00000
+00000
+00000
+
+00000
+00000
+00000
+00000
+00000
+
+00000
+00000
+00000
+00000
+00000
+
+00000
+00000
+00000
+00000
+00000
+
+00000
+00000
+00000
+00000
+00000
diff --git a/public_test_cases/p01000/output.1.txt b/public_test_cases/p01000/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d67e71eeba56962aff61d318c81f78d12d240bc
--- /dev/null
+++ b/public_test_cases/p01000/output.1.txt
@@ -0,0 +1,92 @@
+Case 1:
+00000
+00000
+01010
+01110
+10101
+
+00000
+10001
+00000
+00000
+00000
+
+00000
+00000
+11111
+10001
+00000
+
+00000
+00000
+00000
+00000
+01010
+
+00000
+00000
+01110
+00100
+11111
+
+Case 2:
+00010
+10110
+00000
+11000
+10000
+
+00001
+00000
+10101
+00010
+00100
+
+10001
+00000
+00000
+00000
+00010
+
+01110
+10001
+00000
+00001
+10000
+
+00000
+00000
+00111
+01001
+01000
+
+Case 3:
+00000
+00000
+00000
+00000
+00000
+
+00000
+00000
+00000
+00000
+00000
+
+00000
+00000
+00000
+00000
+00000
+
+00000
+00000
+00000
+00000
+00000
+
+00000
+00000
+00000
+00000
+00000
diff --git a/public_test_cases/p01001/input.0.txt b/public_test_cases/p01001/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aaa1a6d8e80310f9bc21bb296121127ef679d44
--- /dev/null
+++ b/public_test_cases/p01001/input.0.txt
@@ -0,0 +1,22 @@
+9 0 0 0
+0 9 0 0
+0 0 0 0
+0 0 0 0
+5
+1 1 1 1 1
+1000 500
+10 10 10 10
+10 10 10 10
+10 10 10 10
+10 10 10 10
+5
+1 0 2 0 1
+1000 2000
+3 8 6 10
+0 1 6 8
+10 2 4 7
+8 6 6 8
+19
+2 2 0 2 2 0 2 1 0 1 2 0 1 2 0 1 0 2 2
+200 100
+-1 -1 -1 -1
diff --git a/public_test_cases/p01001/input.1.txt b/public_test_cases/p01001/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aaa1a6d8e80310f9bc21bb296121127ef679d44
--- /dev/null
+++ b/public_test_cases/p01001/input.1.txt
@@ -0,0 +1,22 @@
+9 0 0 0
+0 9 0 0
+0 0 0 0
+0 0 0 0
+5
+1 1 1 1 1
+1000 500
+10 10 10 10
+10 10 10 10
+10 10 10 10
+10 10 10 10
+5
+1 0 2 0 1
+1000 2000
+3 8 6 10
+0 1 6 8
+10 2 4 7
+8 6 6 8
+19
+2 2 0 2 2 0 2 1 0 1 2 0 1 2 0 1 0 2 2
+200 100
+-1 -1 -1 -1
diff --git a/public_test_cases/p01001/output.0.txt b/public_test_cases/p01001/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b82511d6e69fc8253a4581933c2902d760cfe7b2
--- /dev/null
+++ b/public_test_cases/p01001/output.0.txt
@@ -0,0 +1,3 @@
+0.3024000000
+0.0000000000
+0.5120000000
diff --git a/public_test_cases/p01001/output.1.txt b/public_test_cases/p01001/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b82511d6e69fc8253a4581933c2902d760cfe7b2
--- /dev/null
+++ b/public_test_cases/p01001/output.1.txt
@@ -0,0 +1,3 @@
+0.3024000000
+0.0000000000
+0.5120000000
diff --git a/public_test_cases/p01002/input.0.txt b/public_test_cases/p01002/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b064a85eba8b5dee306efd24ebe8232d9d535124
--- /dev/null
+++ b/public_test_cases/p01002/input.0.txt
@@ -0,0 +1,22 @@
+0
+1 1 1 5 5
+5 5 5 5 5
+5 5 1 5 5
+5 1 1 1 5
+5 5 5 5 5
+0 0 0 0 1
+2
+1 2 3 4 5
+2 3 4 5 5
+2 3 4 5 5
+3 4 5 5 1
+5 4 3 2 1
+100 99 98 97 96
+5
+1 2 3 4 5
+2 3 4 5 1
+1 2 3 4 5
+5 4 3 2 1
+1 2 3 4 5
+99 79 31 23 56
+-1
diff --git a/public_test_cases/p01002/input.1.txt b/public_test_cases/p01002/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b064a85eba8b5dee306efd24ebe8232d9d535124
--- /dev/null
+++ b/public_test_cases/p01002/input.1.txt
@@ -0,0 +1,22 @@
+0
+1 1 1 5 5
+5 5 5 5 5
+5 5 1 5 5
+5 1 1 1 5
+5 5 5 5 5
+0 0 0 0 1
+2
+1 2 3 4 5
+2 3 4 5 5
+2 3 4 5 5
+3 4 5 5 1
+5 4 3 2 1
+100 99 98 97 96
+5
+1 2 3 4 5
+2 3 4 5 1
+1 2 3 4 5
+5 4 3 2 1
+1 2 3 4 5
+99 79 31 23 56
+-1
diff --git a/public_test_cases/p01002/output.0.txt b/public_test_cases/p01002/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cff67184e2ebed24b03f18bc02383d34eeb3888
--- /dev/null
+++ b/public_test_cases/p01002/output.0.txt
@@ -0,0 +1,3 @@
+17
+2040
+926
diff --git a/public_test_cases/p01002/output.1.txt b/public_test_cases/p01002/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cff67184e2ebed24b03f18bc02383d34eeb3888
--- /dev/null
+++ b/public_test_cases/p01002/output.1.txt
@@ -0,0 +1,3 @@
+17
+2040
+926
diff --git a/public_test_cases/p01003/input.0.txt b/public_test_cases/p01003/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dde08dcf31a745c9ab0a8e6e8739d910d069d57f
--- /dev/null
+++ b/public_test_cases/p01003/input.0.txt
@@ -0,0 +1,69 @@
+9 14 5 10
+1 2 1
+1 4 5
+2 4 4
+2 3 3
+2 6 2
+3 6 3
+3 7 2
+4 6 5
+4 5 6
+5 8 8
+6 7 3
+7 8 1
+7 9 9
+8 9 2
+1 9
+1
+2
+5
+7
+9
+4 5 1 3
+1 2 1
+1 3 2
+2 3 2
+2 4 9
+3 4 1
+1 4
+2
+4 5 1 10
+1 2 1
+1 3 2
+2 3 2
+2 4 9
+3 4 1
+1 4
+2
+4 3 1 1
+1 2 1
+2 3 1
+3 4 1
+1 4
+1
+4 3 1 2
+1 2 1
+2 3 1
+3 4 1
+1 4
+1
+4 3 1 10
+1 2 1
+2 3 1
+3 4 1
+1 4
+1
+2 1 1 1
+1 2 1
+1 2
+1
+2 1 1 10
+1 2 1
+1 2
+1
+4 2 1 4
+1 2 1
+3 4 1
+1 4
+2
+0 0 0 0
diff --git a/public_test_cases/p01003/input.1.txt b/public_test_cases/p01003/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dde08dcf31a745c9ab0a8e6e8739d910d069d57f
--- /dev/null
+++ b/public_test_cases/p01003/input.1.txt
@@ -0,0 +1,69 @@
+9 14 5 10
+1 2 1
+1 4 5
+2 4 4
+2 3 3
+2 6 2
+3 6 3
+3 7 2
+4 6 5
+4 5 6
+5 8 8
+6 7 3
+7 8 1
+7 9 9
+8 9 2
+1 9
+1
+2
+5
+7
+9
+4 5 1 3
+1 2 1
+1 3 2
+2 3 2
+2 4 9
+3 4 1
+1 4
+2
+4 5 1 10
+1 2 1
+1 3 2
+2 3 2
+2 4 9
+3 4 1
+1 4
+2
+4 3 1 1
+1 2 1
+2 3 1
+3 4 1
+1 4
+1
+4 3 1 2
+1 2 1
+2 3 1
+3 4 1
+1 4
+1
+4 3 1 10
+1 2 1
+2 3 1
+3 4 1
+1 4
+1
+2 1 1 1
+1 2 1
+1 2
+1
+2 1 1 10
+1 2 1
+1 2
+1
+4 2 1 4
+1 2 1
+3 4 1
+1 4
+2
+0 0 0 0
diff --git a/public_test_cases/p01003/output.0.txt b/public_test_cases/p01003/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9676f2e72bfd2374a69cedfd3546fd9b1c6d9675
--- /dev/null
+++ b/public_test_cases/p01003/output.0.txt
@@ -0,0 +1,9 @@
+27
+6
+8
+3
+5
+7
+1
+19
+NA
diff --git a/public_test_cases/p01003/output.1.txt b/public_test_cases/p01003/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9676f2e72bfd2374a69cedfd3546fd9b1c6d9675
--- /dev/null
+++ b/public_test_cases/p01003/output.1.txt
@@ -0,0 +1,9 @@
+27
+6
+8
+3
+5
+7
+1
+19
+NA
diff --git a/public_test_cases/p01004/input.0.txt b/public_test_cases/p01004/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdc1aeb66915905104080dda75abdf0b9681a714
--- /dev/null
+++ b/public_test_cases/p01004/input.0.txt
@@ -0,0 +1,19 @@
+3 4
+10 75
+50 5
+90 75
+50 50 10 10 2
+40 90 1 1 3
+10 20 10 15 1
+50 70 50 50 4
+4 2
+25 25
+25 75
+75 75
+75 25
+50 50 10 10 1
+50 50 15 15 2
+1 1
+5 5
+1 1 1 1 1
+0 0
diff --git a/public_test_cases/p01004/input.1.txt b/public_test_cases/p01004/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdc1aeb66915905104080dda75abdf0b9681a714
--- /dev/null
+++ b/public_test_cases/p01004/input.1.txt
@@ -0,0 +1,19 @@
+3 4
+10 75
+50 5
+90 75
+50 50 10 10 2
+40 90 1 1 3
+10 20 10 15 1
+50 70 50 50 4
+4 2
+25 25
+25 75
+75 75
+75 25
+50 50 10 10 1
+50 50 15 15 2
+1 1
+5 5
+1 1 1 1 1
+0 0
diff --git a/public_test_cases/p01004/output.0.txt b/public_test_cases/p01004/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20a6ffda5204180a16ada837cb7c6adcb3169917
--- /dev/null
+++ b/public_test_cases/p01004/output.0.txt
@@ -0,0 +1,3 @@
+5.442857
+0.750000
+1.000000
diff --git a/public_test_cases/p01004/output.1.txt b/public_test_cases/p01004/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20a6ffda5204180a16ada837cb7c6adcb3169917
--- /dev/null
+++ b/public_test_cases/p01004/output.1.txt
@@ -0,0 +1,3 @@
+5.442857
+0.750000
+1.000000
diff --git a/public_test_cases/p01005/input.0.txt b/public_test_cases/p01005/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02b7795ea1ce9cd8863b57ab6d5c45113f057238
--- /dev/null
+++ b/public_test_cases/p01005/input.0.txt
@@ -0,0 +1,30 @@
+18 10
+0
+4 1
+1 1
+4 1
+0
+1 1
+0
+2 2
+1 10
+0
+1 1
+0
+1 1
+0
+1 5
+3 4 0
+3 4 1
+0
+9 10
+4 1
+2 2
+3 5 5
+0
+4 1
+2 2
+3 5 5
+0
+2 1
+0 0
diff --git a/public_test_cases/p01005/input.1.txt b/public_test_cases/p01005/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02b7795ea1ce9cd8863b57ab6d5c45113f057238
--- /dev/null
+++ b/public_test_cases/p01005/input.1.txt
@@ -0,0 +1,30 @@
+18 10
+0
+4 1
+1 1
+4 1
+0
+1 1
+0
+2 2
+1 10
+0
+1 1
+0
+1 1
+0
+1 5
+3 4 0
+3 4 1
+0
+9 10
+4 1
+2 2
+3 5 5
+0
+4 1
+2 2
+3 5 5
+0
+2 1
+0 0
diff --git a/public_test_cases/p01005/output.0.txt b/public_test_cases/p01005/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dac4d21cf5525a13c5c919230fb4a5e41325aa8
--- /dev/null
+++ b/public_test_cases/p01005/output.0.txt
@@ -0,0 +1,15 @@
+distance 10
+distance 9
+hit
+damage 2
+bomb 1
+bomb 2
+end
+distance -1
+miss
+bomb 0
+distance 10
+miss
+bomb 1
+hit
+end
diff --git a/public_test_cases/p01005/output.1.txt b/public_test_cases/p01005/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dac4d21cf5525a13c5c919230fb4a5e41325aa8
--- /dev/null
+++ b/public_test_cases/p01005/output.1.txt
@@ -0,0 +1,15 @@
+distance 10
+distance 9
+hit
+damage 2
+bomb 1
+bomb 2
+end
+distance -1
+miss
+bomb 0
+distance 10
+miss
+bomb 1
+hit
+end
diff --git a/public_test_cases/p01006/input.0.txt b/public_test_cases/p01006/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09d59b54c33d6a2a958e7fc094fc87cae9825822
--- /dev/null
+++ b/public_test_cases/p01006/input.0.txt
@@ -0,0 +1,8 @@
+ABCFI
+ABCABCABC
+AEI
+EFC
+(中略)
+DEHED
+EEEEE
+(以上でちょうど1000個)
diff --git a/public_test_cases/p01006/input.1.txt b/public_test_cases/p01006/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09d59b54c33d6a2a958e7fc094fc87cae9825822
--- /dev/null
+++ b/public_test_cases/p01006/input.1.txt
@@ -0,0 +1,8 @@
+ABCFI
+ABCABCABC
+AEI
+EFC
+(中略)
+DEHED
+EEEEE
+(以上でちょうど1000個)
diff --git a/public_test_cases/p01006/output.0.txt b/public_test_cases/p01006/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21bbe9637c8379403a4bf0176a5b3ebb96650f87
--- /dev/null
+++ b/public_test_cases/p01006/output.0.txt
@@ -0,0 +1,4 @@
+ABCFI
+EFC
+(中略)
+DEHED
diff --git a/public_test_cases/p01006/output.1.txt b/public_test_cases/p01006/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21bbe9637c8379403a4bf0176a5b3ebb96650f87
--- /dev/null
+++ b/public_test_cases/p01006/output.1.txt
@@ -0,0 +1,4 @@
+ABCFI
+EFC
+(中略)
+DEHED
diff --git a/public_test_cases/p01007/input.0.txt b/public_test_cases/p01007/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b7fd99fa755c05a97f57f9b2f4ff4f03a8dffe2
--- /dev/null
+++ b/public_test_cases/p01007/input.0.txt
@@ -0,0 +1,5 @@
+3 1
+1 1 0
+0 1 1
+1 0 1
+0 2 2 2 90
diff --git a/public_test_cases/p01007/input.1.txt b/public_test_cases/p01007/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209bc2f106443de1daa357e3bb980bbb6b013855
--- /dev/null
+++ b/public_test_cases/p01007/input.1.txt
@@ -0,0 +1,8 @@
+5 2
+0 0 0 0 0
+1 0 0 0 0
+0 1 1 1 0
+0 1 1 1 0
+0 0 0 0 0
+3 2
+4 2 2
diff --git a/public_test_cases/p01007/input.2.txt b/public_test_cases/p01007/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b7fd99fa755c05a97f57f9b2f4ff4f03a8dffe2
--- /dev/null
+++ b/public_test_cases/p01007/input.2.txt
@@ -0,0 +1,5 @@
+3 1
+1 1 0
+0 1 1
+1 0 1
+0 2 2 2 90
diff --git a/public_test_cases/p01007/input.3.txt b/public_test_cases/p01007/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51a210cb461dc1d22faa92335cedcb375a7b7990
--- /dev/null
+++ b/public_test_cases/p01007/input.3.txt
@@ -0,0 +1,8 @@
+5 2
+1 1 1 0 1
+1 0 0 0 0
+0 0 0 1 1
+0 1 0 0 0
+0 1 1 1 0
+1 3 3 3
+0 1 1 5 90
diff --git a/public_test_cases/p01007/output.0.txt b/public_test_cases/p01007/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29203a4f485bf2fb12291b0d6e1794c4eb6637b1
--- /dev/null
+++ b/public_test_cases/p01007/output.0.txt
@@ -0,0 +1,3 @@
+1 1 0
+0 0 1
+1 1 1
diff --git a/public_test_cases/p01007/output.1.txt b/public_test_cases/p01007/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae6ea0650e376781256001828dc5a6e4e71ef06b
--- /dev/null
+++ b/public_test_cases/p01007/output.1.txt
@@ -0,0 +1,5 @@
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 0 0
diff --git a/public_test_cases/p01007/output.2.txt b/public_test_cases/p01007/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29203a4f485bf2fb12291b0d6e1794c4eb6637b1
--- /dev/null
+++ b/public_test_cases/p01007/output.2.txt
@@ -0,0 +1,3 @@
+1 1 0
+0 0 1
+1 1 1
diff --git a/public_test_cases/p01007/output.3.txt b/public_test_cases/p01007/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b2d4b6f9f39fa4d903811e019c4880e70d778cb
--- /dev/null
+++ b/public_test_cases/p01007/output.3.txt
@@ -0,0 +1,5 @@
+0 0 0 1 1
+1 1 0 0 1
+0 1 1 0 1
+0 1 0 0 0
+1 1 0 0 1
diff --git a/public_test_cases/p01008/input.0.txt b/public_test_cases/p01008/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c55485e368d3504203dd7ee802592a74df0acd88
--- /dev/null
+++ b/public_test_cases/p01008/input.0.txt
@@ -0,0 +1,2 @@
+1
+10 1
diff --git a/public_test_cases/p01008/input.1.txt b/public_test_cases/p01008/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c55485e368d3504203dd7ee802592a74df0acd88
--- /dev/null
+++ b/public_test_cases/p01008/input.1.txt
@@ -0,0 +1,2 @@
+1
+10 1
diff --git a/public_test_cases/p01008/input.2.txt b/public_test_cases/p01008/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f957e8c490c043503e085bc4bf3c9dff3a1c22a
--- /dev/null
+++ b/public_test_cases/p01008/input.2.txt
@@ -0,0 +1,4 @@
+3
+25 53AI
+43 3BI0
+62 pn6
diff --git a/public_test_cases/p01008/input.3.txt b/public_test_cases/p01008/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87502fb67058652648240c0c5b55a5ea5e97a610
--- /dev/null
+++ b/public_test_cases/p01008/input.3.txt
@@ -0,0 +1,3 @@
+2
+10 1
+10 1
diff --git a/public_test_cases/p01008/output.0.txt b/public_test_cases/p01008/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58382f8c03ab8e8d916fca122e8a0f36d7fd4b7b
--- /dev/null
+++ b/public_test_cases/p01008/output.0.txt
@@ -0,0 +1 @@
+win
diff --git a/public_test_cases/p01008/output.1.txt b/public_test_cases/p01008/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58382f8c03ab8e8d916fca122e8a0f36d7fd4b7b
--- /dev/null
+++ b/public_test_cases/p01008/output.1.txt
@@ -0,0 +1 @@
+win
diff --git a/public_test_cases/p01008/output.2.txt b/public_test_cases/p01008/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58382f8c03ab8e8d916fca122e8a0f36d7fd4b7b
--- /dev/null
+++ b/public_test_cases/p01008/output.2.txt
@@ -0,0 +1 @@
+win
diff --git a/public_test_cases/p01008/output.3.txt b/public_test_cases/p01008/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54f937b21c7e5e4e394a0324a2e7025ec0750593
--- /dev/null
+++ b/public_test_cases/p01008/output.3.txt
@@ -0,0 +1 @@
+lose
diff --git a/public_test_cases/p01009/input.0.txt b/public_test_cases/p01009/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce27d208076f765dae14fd9e4d4233f8c09d51d2
--- /dev/null
+++ b/public_test_cases/p01009/input.0.txt
@@ -0,0 +1,6 @@
+3 5
+COMPARE 1 2
+IN 1 2 5
+IN 2 3 3
+COMPARE 2 3
+COMPARE 1 3
diff --git a/public_test_cases/p01009/input.1.txt b/public_test_cases/p01009/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd3e2d2ef380432435aa30bef9e88187a72aabcb
--- /dev/null
+++ b/public_test_cases/p01009/input.1.txt
@@ -0,0 +1,4 @@
+4 3
+IN 1 4 10
+IN 2 3 20
+COMPARE 1 2
diff --git a/public_test_cases/p01009/input.2.txt b/public_test_cases/p01009/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b45607132d390151c7bf7d09df02820797c2475
--- /dev/null
+++ b/public_test_cases/p01009/input.2.txt
@@ -0,0 +1,5 @@
+10 4
+IN 10 8 2328
+IN 8 4 3765
+IN 3 8 574
+COMPARE 4 8
diff --git a/public_test_cases/p01009/input.3.txt b/public_test_cases/p01009/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce27d208076f765dae14fd9e4d4233f8c09d51d2
--- /dev/null
+++ b/public_test_cases/p01009/input.3.txt
@@ -0,0 +1,6 @@
+3 5
+COMPARE 1 2
+IN 1 2 5
+IN 2 3 3
+COMPARE 2 3
+COMPARE 1 3
diff --git a/public_test_cases/p01009/input.4.txt b/public_test_cases/p01009/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30712ed1832b6f51615777c94412c931a0663f85
--- /dev/null
+++ b/public_test_cases/p01009/input.4.txt
@@ -0,0 +1,5 @@
+3 4
+IN 2 1 2
+IN 3 1 2
+COMPARE 1 3
+COMPARE 2 3
diff --git a/public_test_cases/p01009/input.5.txt b/public_test_cases/p01009/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..533437b708a47b0e46765862c1a3fab0edf0d3b2
--- /dev/null
+++ b/public_test_cases/p01009/input.5.txt
@@ -0,0 +1,6 @@
+3 5
+IN 1 2 5
+IN 1 2 5
+IN 2 3 10
+COMPARE 1 2
+COMPARE 2 3
diff --git a/public_test_cases/p01009/output.0.txt b/public_test_cases/p01009/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded4a29ccb3c797b82d08ade747de9c8aad0f3fe
--- /dev/null
+++ b/public_test_cases/p01009/output.0.txt
@@ -0,0 +1,3 @@
+WARNING
+3
+11
diff --git a/public_test_cases/p01009/output.1.txt b/public_test_cases/p01009/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2500fa5ab0745ff1ff3a4ec0e759e2c6480e966
--- /dev/null
+++ b/public_test_cases/p01009/output.1.txt
@@ -0,0 +1 @@
+WARNING
diff --git a/public_test_cases/p01009/output.2.txt b/public_test_cases/p01009/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddfd7fdf295d66f6dd106cc876b10a396d7f6a11
--- /dev/null
+++ b/public_test_cases/p01009/output.2.txt
@@ -0,0 +1 @@
+-3191
diff --git a/public_test_cases/p01009/output.3.txt b/public_test_cases/p01009/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded4a29ccb3c797b82d08ade747de9c8aad0f3fe
--- /dev/null
+++ b/public_test_cases/p01009/output.3.txt
@@ -0,0 +1,3 @@
+WARNING
+3
+11
diff --git a/public_test_cases/p01009/output.4.txt b/public_test_cases/p01009/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c848c1a3a44be597439d85f76c53bf986cc05e2
--- /dev/null
+++ b/public_test_cases/p01009/output.4.txt
@@ -0,0 +1,2 @@
+-2
+2
diff --git a/public_test_cases/p01009/output.5.txt b/public_test_cases/p01009/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3010439f278d7262d59df55452093bd75d736f3c
--- /dev/null
+++ b/public_test_cases/p01009/output.5.txt
@@ -0,0 +1,2 @@
+15
+10
diff --git a/public_test_cases/p01010/input.0.txt b/public_test_cases/p01010/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..014e50a78942e67faaf74b88c678fe3f9a4c0b72
--- /dev/null
+++ b/public_test_cases/p01010/input.0.txt
@@ -0,0 +1,4 @@
+1
+90 10 20
+3 3 1 90 10 315 10
+6 0 1
diff --git a/public_test_cases/p01010/input.1.txt b/public_test_cases/p01010/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13a581599d83ef1cb0c1fb8b0fab932dcdab7510
--- /dev/null
+++ b/public_test_cases/p01010/input.1.txt
@@ -0,0 +1,5 @@
+2
+90 10 10
+-3 0 1 45 10 90 10
+-6 0 2 30 3 180 10
+-9 0 1
diff --git a/public_test_cases/p01010/input.2.txt b/public_test_cases/p01010/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..014e50a78942e67faaf74b88c678fe3f9a4c0b72
--- /dev/null
+++ b/public_test_cases/p01010/input.2.txt
@@ -0,0 +1,4 @@
+1
+90 10 20
+3 3 1 90 10 315 10
+6 0 1
diff --git a/public_test_cases/p01010/output.0.txt b/public_test_cases/p01010/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p01010/output.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p01010/output.1.txt b/public_test_cases/p01010/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01010/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01010/output.2.txt b/public_test_cases/p01010/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p01010/output.2.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p01011/input.0.txt b/public_test_cases/p01011/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17028dca42c65456530d7d112247996071a9339e
--- /dev/null
+++ b/public_test_cases/p01011/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+0 0 0
+0 18 0
+0 0 0
diff --git a/public_test_cases/p01011/input.1.txt b/public_test_cases/p01011/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..247528d4dce51fc193bd002c85760c284f9140d0
--- /dev/null
+++ b/public_test_cases/p01011/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+0 0 0
+0 2 0
+0 0 0
diff --git a/public_test_cases/p01011/input.2.txt b/public_test_cases/p01011/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e187511da969aa37303890aa623729789223f3e7
--- /dev/null
+++ b/public_test_cases/p01011/input.2.txt
@@ -0,0 +1,7 @@
+6 6
+0 0 0 0 0 0
+0 0 0 0 0 0
+0 0 0 0 0 0
+0 0 0 0 0 0
+0 0 0 0 0 0
+0 0 0 0 0 0
diff --git a/public_test_cases/p01011/input.3.txt b/public_test_cases/p01011/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c8f67345dc0733270c06550b563b1a23243d582
--- /dev/null
+++ b/public_test_cases/p01011/input.3.txt
@@ -0,0 +1,2 @@
+1 1
+1
diff --git a/public_test_cases/p01011/input.4.txt b/public_test_cases/p01011/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffed043323e1a0ab637668adede2863c9de6c3af
--- /dev/null
+++ b/public_test_cases/p01011/input.4.txt
@@ -0,0 +1,4 @@
+3 3
+0 1 0
+1 0 0
+0 1 1
diff --git a/public_test_cases/p01011/input.5.txt b/public_test_cases/p01011/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17028dca42c65456530d7d112247996071a9339e
--- /dev/null
+++ b/public_test_cases/p01011/input.5.txt
@@ -0,0 +1,4 @@
+3 3
+0 0 0
+0 18 0
+0 0 0
diff --git a/public_test_cases/p01011/output.0.txt b/public_test_cases/p01011/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p01011/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p01011/output.1.txt b/public_test_cases/p01011/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e64f24d5508a94514dd5ea2d1025ae91f3f70760
--- /dev/null
+++ b/public_test_cases/p01011/output.1.txt
@@ -0,0 +1 @@
+336
diff --git a/public_test_cases/p01011/output.2.txt b/public_test_cases/p01011/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f758e8084f7a4dcb6488d5121e0d844f61996220
--- /dev/null
+++ b/public_test_cases/p01011/output.2.txt
@@ -0,0 +1 @@
+80065005
diff --git a/public_test_cases/p01011/output.3.txt b/public_test_cases/p01011/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01011/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01011/output.4.txt b/public_test_cases/p01011/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01011/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01011/output.5.txt b/public_test_cases/p01011/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p01011/output.5.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p01012/input.0.txt b/public_test_cases/p01012/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e154dfee663d01fa97287e2eb3e88e9953a7fbda
--- /dev/null
+++ b/public_test_cases/p01012/input.0.txt
@@ -0,0 +1,2 @@
+1 1 1
+1 1 1
diff --git a/public_test_cases/p01012/input.1.txt b/public_test_cases/p01012/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bace2e108ba83becf7f00340b48da3b09f8951c8
--- /dev/null
+++ b/public_test_cases/p01012/input.1.txt
@@ -0,0 +1,2 @@
+1 2 2
+1 1 1
diff --git a/public_test_cases/p01012/input.2.txt b/public_test_cases/p01012/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40b6c15b544933407220282e2d031fcbce7c1bef
--- /dev/null
+++ b/public_test_cases/p01012/input.2.txt
@@ -0,0 +1,2 @@
+1 2 0
+3 4 0
diff --git a/public_test_cases/p01012/input.3.txt b/public_test_cases/p01012/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e154dfee663d01fa97287e2eb3e88e9953a7fbda
--- /dev/null
+++ b/public_test_cases/p01012/input.3.txt
@@ -0,0 +1,2 @@
+1 1 1
+1 1 1
diff --git a/public_test_cases/p01012/output.0.txt b/public_test_cases/p01012/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66993079a80fea53114bc9aaf886aec4881f923f
--- /dev/null
+++ b/public_test_cases/p01012/output.0.txt
@@ -0,0 +1 @@
+0.562500
diff --git a/public_test_cases/p01012/output.1.txt b/public_test_cases/p01012/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfea2a97e5aaefcb8d995d1387fe87ce7450ae6d
--- /dev/null
+++ b/public_test_cases/p01012/output.1.txt
@@ -0,0 +1 @@
+0.490741
diff --git a/public_test_cases/p01012/output.2.txt b/public_test_cases/p01012/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..961b372472a1809353ba4658ea88ca265d88b75c
--- /dev/null
+++ b/public_test_cases/p01012/output.2.txt
@@ -0,0 +1 @@
+1.000000
diff --git a/public_test_cases/p01012/output.3.txt b/public_test_cases/p01012/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66993079a80fea53114bc9aaf886aec4881f923f
--- /dev/null
+++ b/public_test_cases/p01012/output.3.txt
@@ -0,0 +1 @@
+0.562500
diff --git a/public_test_cases/p01013/input.0.txt b/public_test_cases/p01013/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83ea1ffaf922e90921373533e5c5e247d8d01a01
--- /dev/null
+++ b/public_test_cases/p01013/input.0.txt
@@ -0,0 +1,3 @@
+0 0 10
+0 0 0 4
+0 0 1
diff --git a/public_test_cases/p01013/input.1.txt b/public_test_cases/p01013/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83ea1ffaf922e90921373533e5c5e247d8d01a01
--- /dev/null
+++ b/public_test_cases/p01013/input.1.txt
@@ -0,0 +1,3 @@
+0 0 10
+0 0 0 4
+0 0 1
diff --git a/public_test_cases/p01013/output.0.txt b/public_test_cases/p01013/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af2ef66fefc56beb90860e425a62e8d82d44a389
--- /dev/null
+++ b/public_test_cases/p01013/output.0.txt
@@ -0,0 +1 @@
+91.769438 75.782170
diff --git a/public_test_cases/p01013/output.1.txt b/public_test_cases/p01013/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af2ef66fefc56beb90860e425a62e8d82d44a389
--- /dev/null
+++ b/public_test_cases/p01013/output.1.txt
@@ -0,0 +1 @@
+91.769438 75.782170
diff --git a/public_test_cases/p01014/input.0.txt b/public_test_cases/p01014/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb4e1cb7c96b3b54de6113bd4145aaa72ebd6615
--- /dev/null
+++ b/public_test_cases/p01014/input.0.txt
@@ -0,0 +1,6 @@
+5 5 2
+#####
+#S.G#
+#...#
+#...#
+#####
diff --git a/public_test_cases/p01014/input.1.txt b/public_test_cases/p01014/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb4e1cb7c96b3b54de6113bd4145aaa72ebd6615
--- /dev/null
+++ b/public_test_cases/p01014/input.1.txt
@@ -0,0 +1,6 @@
+5 5 2
+#####
+#S.G#
+#...#
+#...#
+#####
diff --git a/public_test_cases/p01014/input.2.txt b/public_test_cases/p01014/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64a0e3668012b99f8b362191539f08b92673532
--- /dev/null
+++ b/public_test_cases/p01014/input.2.txt
@@ -0,0 +1,3 @@
+3 12 2
+
+S...A.a..G#
diff --git a/public_test_cases/p01014/input.3.txt b/public_test_cases/p01014/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29a949049e951f4cde69f9923a3dc807d420968e
--- /dev/null
+++ b/public_test_cases/p01014/input.3.txt
@@ -0,0 +1,3 @@
+3 12 2
+
+S^^.^^.^^G#
diff --git a/public_test_cases/p01014/input.4.txt b/public_test_cases/p01014/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b4da17c934f7f707c56666e40d7db9f723c6149
--- /dev/null
+++ b/public_test_cases/p01014/input.4.txt
@@ -0,0 +1,3 @@
+3 12 2
+
+S..A..a..G#
diff --git a/public_test_cases/p01014/input.5.txt b/public_test_cases/p01014/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0030612bfc4e2e3d210c8defab55b4f8c2b5c90e
--- /dev/null
+++ b/public_test_cases/p01014/input.5.txt
@@ -0,0 +1,5 @@
+5 5 2
+
+S.G#
+...#
+...#
diff --git a/public_test_cases/p01014/input.6.txt b/public_test_cases/p01014/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c946ebb824e7b66a0f799a7bf77325733d512b07
--- /dev/null
+++ b/public_test_cases/p01014/input.6.txt
@@ -0,0 +1,7 @@
+7 13 3
+
+S....#.....#
+.....#.....#
+.....#.....#
+...........#
+..........G#
diff --git a/public_test_cases/p01014/output.0.txt b/public_test_cases/p01014/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01014/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01014/output.1.txt b/public_test_cases/p01014/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01014/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01014/output.2.txt b/public_test_cases/p01014/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01014/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01014/output.3.txt b/public_test_cases/p01014/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01014/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01014/output.4.txt b/public_test_cases/p01014/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01014/output.4.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01014/output.5.txt b/public_test_cases/p01014/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01014/output.5.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01014/output.6.txt b/public_test_cases/p01014/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01014/output.6.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01015/input.0.txt b/public_test_cases/p01015/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6678986ee1cef52f6ae548d38a7b1e91bdbe5c51
--- /dev/null
+++ b/public_test_cases/p01015/input.0.txt
@@ -0,0 +1,3 @@
+10 2
+9 left : 9 left
+9 right : 9 right
diff --git a/public_test_cases/p01015/input.1.txt b/public_test_cases/p01015/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6678986ee1cef52f6ae548d38a7b1e91bdbe5c51
--- /dev/null
+++ b/public_test_cases/p01015/input.1.txt
@@ -0,0 +1,3 @@
+10 2
+9 left : 9 left
+9 right : 9 right
diff --git a/public_test_cases/p01015/input.2.txt b/public_test_cases/p01015/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..116309768c0936be612f819881dd0e24f11c21a4
--- /dev/null
+++ b/public_test_cases/p01015/input.2.txt
@@ -0,0 +1,6 @@
+4 5
+1 left : 2 right
+2 left : 3 right
+2 left : 3 left
+1 right : 3 left
+2 right : 3 right
diff --git a/public_test_cases/p01015/output.0.txt b/public_test_cases/p01015/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01015/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01015/output.1.txt b/public_test_cases/p01015/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01015/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01015/output.2.txt b/public_test_cases/p01015/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01015/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01016/input.0.txt b/public_test_cases/p01016/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..019fa7f9a5d738fab94817ff9d46989b1da4434d
--- /dev/null
+++ b/public_test_cases/p01016/input.0.txt
@@ -0,0 +1,2 @@
+ABCDE
+ABC
diff --git a/public_test_cases/p01016/input.1.txt b/public_test_cases/p01016/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..708952918d5ce3106ff4570f932c0e7aee4d075c
--- /dev/null
+++ b/public_test_cases/p01016/input.1.txt
@@ -0,0 +1,2 @@
+KUSATSU
+KSATSU
diff --git a/public_test_cases/p01016/input.2.txt b/public_test_cases/p01016/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0eb676f66d5546a5e66802d0b4fa453f4e08b61
--- /dev/null
+++ b/public_test_cases/p01016/input.2.txt
@@ -0,0 +1,2 @@
+ABCABC
+ACBA_B
diff --git a/public_test_cases/p01016/input.3.txt b/public_test_cases/p01016/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc5477bd401544434ebd1e5024baec48d6909daa
--- /dev/null
+++ b/public_test_cases/p01016/input.3.txt
@@ -0,0 +1,2 @@
+RUPCUAPC
+__PC
diff --git a/public_test_cases/p01016/input.4.txt b/public_test_cases/p01016/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9df49a575dcb5e46d22ae29e0cb738d01795e72a
--- /dev/null
+++ b/public_test_cases/p01016/input.4.txt
@@ -0,0 +1,2 @@
+AIZU
+_A
diff --git a/public_test_cases/p01016/input.5.txt b/public_test_cases/p01016/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..019fa7f9a5d738fab94817ff9d46989b1da4434d
--- /dev/null
+++ b/public_test_cases/p01016/input.5.txt
@@ -0,0 +1,2 @@
+ABCDE
+ABC
diff --git a/public_test_cases/p01016/output.0.txt b/public_test_cases/p01016/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01016/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01016/output.1.txt b/public_test_cases/p01016/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01016/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01016/output.2.txt b/public_test_cases/p01016/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01016/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01016/output.3.txt b/public_test_cases/p01016/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01016/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01016/output.4.txt b/public_test_cases/p01016/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01016/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01016/output.5.txt b/public_test_cases/p01016/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01016/output.5.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01017/input.0.txt b/public_test_cases/p01017/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f183675b5229be817d8ab337ffbc95f7aa2c13f
--- /dev/null
+++ b/public_test_cases/p01017/input.0.txt
@@ -0,0 +1,12 @@
+4 4
+10 2 -1 6
+8 1 -100 41
+22 47 32 11
+-41 99 12 -8
+1 0 0 1
+0 0 1 0
+0 1 0 1
+0 0 1 0
+2 3
+1 0 1
+0 1 0
diff --git a/public_test_cases/p01017/input.1.txt b/public_test_cases/p01017/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f183675b5229be817d8ab337ffbc95f7aa2c13f
--- /dev/null
+++ b/public_test_cases/p01017/input.1.txt
@@ -0,0 +1,12 @@
+4 4
+10 2 -1 6
+8 1 -100 41
+22 47 32 11
+-41 99 12 -8
+1 0 0 1
+0 0 1 0
+0 1 0 1
+0 0 1 0
+2 3
+1 0 1
+0 1 0
diff --git a/public_test_cases/p01017/input.2.txt b/public_test_cases/p01017/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b70dcf0df2370ba82a58321d4499a8cc0d197b98
--- /dev/null
+++ b/public_test_cases/p01017/input.2.txt
@@ -0,0 +1,9 @@
+3 4
+4 1 9 1
+9 1 -1 3
+2 -4 1 10
+1 1 0 1
+0 1 1 1
+1 1 0 0
+1 4
+1 1 1 1
diff --git a/public_test_cases/p01017/input.3.txt b/public_test_cases/p01017/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13a4f374f5c65d0ff4387061fc50f1b6951308b1
--- /dev/null
+++ b/public_test_cases/p01017/input.3.txt
@@ -0,0 +1,9 @@
+3 3
+5 1 3
+2 5 9
+0 1 5
+1 0 0
+0 1 1
+0 1 1
+1 1
+1
diff --git a/public_test_cases/p01017/output.0.txt b/public_test_cases/p01017/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2455a46adf1375e99d0a55c3b2b8ccf30b322204
--- /dev/null
+++ b/public_test_cases/p01017/output.0.txt
@@ -0,0 +1 @@
+193
diff --git a/public_test_cases/p01017/output.1.txt b/public_test_cases/p01017/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2455a46adf1375e99d0a55c3b2b8ccf30b322204
--- /dev/null
+++ b/public_test_cases/p01017/output.1.txt
@@ -0,0 +1 @@
+193
diff --git a/public_test_cases/p01017/output.2.txt b/public_test_cases/p01017/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69fc4ef2be0c2550c183850902cb55dbf3d37b30
--- /dev/null
+++ b/public_test_cases/p01017/output.2.txt
@@ -0,0 +1 @@
+NA
diff --git a/public_test_cases/p01017/output.3.txt b/public_test_cases/p01017/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01017/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01018/input.0.txt b/public_test_cases/p01018/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc20050c32578c8cded560809f88ef66d5d9144e
--- /dev/null
+++ b/public_test_cases/p01018/input.0.txt
@@ -0,0 +1,4 @@
+10 3
+2 2 1
+4 2 1
+8 1 1
diff --git a/public_test_cases/p01018/input.1.txt b/public_test_cases/p01018/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ffd4e75e55ebb1f5d670c9b77d2d0a32579ee67
--- /dev/null
+++ b/public_test_cases/p01018/input.1.txt
@@ -0,0 +1,3 @@
+10 2
+2 3 1
+3 5 1
diff --git a/public_test_cases/p01018/input.2.txt b/public_test_cases/p01018/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80c0cc79aabb27a7894c5795860fa87c6473f004
--- /dev/null
+++ b/public_test_cases/p01018/input.2.txt
@@ -0,0 +1 @@
+1 0
diff --git a/public_test_cases/p01018/input.3.txt b/public_test_cases/p01018/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc20050c32578c8cded560809f88ef66d5d9144e
--- /dev/null
+++ b/public_test_cases/p01018/input.3.txt
@@ -0,0 +1,4 @@
+10 3
+2 2 1
+4 2 1
+8 1 1
diff --git a/public_test_cases/p01018/output.0.txt b/public_test_cases/p01018/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01018/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01018/output.1.txt b/public_test_cases/p01018/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01018/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01018/output.2.txt b/public_test_cases/p01018/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01018/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01018/output.3.txt b/public_test_cases/p01018/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01018/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01019/input.0.txt b/public_test_cases/p01019/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd0d4ff80eb70548e08a6178e366b4cb59216f11
--- /dev/null
+++ b/public_test_cases/p01019/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 1 1 5
+3 3 5 3
+4 2 4 4
+7 1 7 5
diff --git a/public_test_cases/p01019/input.1.txt b/public_test_cases/p01019/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd0d4ff80eb70548e08a6178e366b4cb59216f11
--- /dev/null
+++ b/public_test_cases/p01019/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 1 1 5
+3 3 5 3
+4 2 4 4
+7 1 7 5
diff --git a/public_test_cases/p01019/input.2.txt b/public_test_cases/p01019/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b8d40c1dc3a95026e86df9c2e396b16a281a110
--- /dev/null
+++ b/public_test_cases/p01019/input.2.txt
@@ -0,0 +1,24 @@
+23
+1 1 3 1
+3 1 3 3
+3 3 1 3
+1 3 1 5
+1 5 3 5
+5 2 7 2
+7 2 7 4
+7 4 5 4
+5 4 5 6
+5 6 7 6
+11 4 13 4
+13 0 15 0
+15 0 15 4
+18 2 18 2
+21 5 23 5
+21 5 21 7
+21 7 23 7
+23 7 23 9
+23 9 21 9
+24 0 26 0
+24 0 24 4
+24 4 26 4
+26 0 26 4
diff --git a/public_test_cases/p01019/output.0.txt b/public_test_cases/p01019/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01019/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01019/output.1.txt b/public_test_cases/p01019/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01019/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01019/output.2.txt b/public_test_cases/p01019/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8972e8d8994232788218b7eb5e8e8d14fec32dd
--- /dev/null
+++ b/public_test_cases/p01019/output.2.txt
@@ -0,0 +1 @@
+-328
diff --git a/public_test_cases/p01020/input.0.txt b/public_test_cases/p01020/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a4d515660c3c567ab07859fc5e252f8c966e46
--- /dev/null
+++ b/public_test_cases/p01020/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 4
diff --git a/public_test_cases/p01020/input.1.txt b/public_test_cases/p01020/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a4d515660c3c567ab07859fc5e252f8c966e46
--- /dev/null
+++ b/public_test_cases/p01020/input.1.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 4
diff --git a/public_test_cases/p01020/input.2.txt b/public_test_cases/p01020/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6ad0ca15d6caa972e6ddf0d652c404bffd885a2
--- /dev/null
+++ b/public_test_cases/p01020/input.2.txt
@@ -0,0 +1,2 @@
+5
+3 3 3 3 3
diff --git a/public_test_cases/p01020/output.0.txt b/public_test_cases/p01020/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01020/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01020/output.1.txt b/public_test_cases/p01020/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01020/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01020/output.2.txt b/public_test_cases/p01020/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p01020/output.2.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p01021/input.0.txt b/public_test_cases/p01021/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b22984e2f8ea7169acbd3871296eb5976daef60
--- /dev/null
+++ b/public_test_cases/p01021/input.0.txt
@@ -0,0 +1,3 @@
+1 2
+18
+6 9
diff --git a/public_test_cases/p01021/output.0.txt b/public_test_cases/p01021/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01021/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01022/input.0.txt b/public_test_cases/p01022/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cf4dcc8688300be6f6260f78b1dc27ca658939b
--- /dev/null
+++ b/public_test_cases/p01022/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 1
+2 2
+3 3
diff --git a/public_test_cases/p01022/input.1.txt b/public_test_cases/p01022/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cf4dcc8688300be6f6260f78b1dc27ca658939b
--- /dev/null
+++ b/public_test_cases/p01022/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 1
+2 2
+3 3
diff --git a/public_test_cases/p01022/input.2.txt b/public_test_cases/p01022/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2072965c94828c89f81d4a943e80f619638dd658
--- /dev/null
+++ b/public_test_cases/p01022/input.2.txt
@@ -0,0 +1,6 @@
+5
+1 5
+2 4
+3 3
+4 2
+5 1
diff --git a/public_test_cases/p01022/input.3.txt b/public_test_cases/p01022/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2feb24ec39f73c21b03d74f166bee1737a44f784
--- /dev/null
+++ b/public_test_cases/p01022/input.3.txt
@@ -0,0 +1,6 @@
+5
+2 3
+3 5
+1 2
+1 4
+3 5
diff --git a/public_test_cases/p01022/input.4.txt b/public_test_cases/p01022/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31ca5160e48efa4278576402aa930af30b840579
--- /dev/null
+++ b/public_test_cases/p01022/input.4.txt
@@ -0,0 +1,11 @@
+10
+5 11
+12 12
+4 14
+22 12
+11 13
+3 3
+3 3
+12 5
+55 55
+1 1
diff --git a/public_test_cases/p01022/output.0.txt b/public_test_cases/p01022/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01022/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01022/output.1.txt b/public_test_cases/p01022/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01022/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01022/output.2.txt b/public_test_cases/p01022/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01022/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01022/output.3.txt b/public_test_cases/p01022/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01022/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01022/output.4.txt b/public_test_cases/p01022/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01022/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01023/input.0.txt b/public_test_cases/p01023/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d68e47b49f2bbecc2dbebe5a1c61388f1d6d84bb
--- /dev/null
+++ b/public_test_cases/p01023/input.0.txt
@@ -0,0 +1,6 @@
+5 8 3
+#.......
+#.####2#
+#.#.3..#
+#.######
+.1Sabcde
diff --git a/public_test_cases/p01023/input.1.txt b/public_test_cases/p01023/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d68e47b49f2bbecc2dbebe5a1c61388f1d6d84bb
--- /dev/null
+++ b/public_test_cases/p01023/input.1.txt
@@ -0,0 +1,6 @@
+5 8 3
+#.......
+#.####2#
+#.#.3..#
+#.######
+.1Sabcde
diff --git a/public_test_cases/p01023/input.2.txt b/public_test_cases/p01023/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fd2f2a31129e87500ff030e53e7d0182328d225
--- /dev/null
+++ b/public_test_cases/p01023/input.2.txt
@@ -0,0 +1,3 @@
+2 6 2
+.1.baS
+.2.cde
diff --git a/public_test_cases/p01023/input.3.txt b/public_test_cases/p01023/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4679cdbdeac0d84350e79cded8cee38c7afae559
--- /dev/null
+++ b/public_test_cases/p01023/input.3.txt
@@ -0,0 +1,3 @@
+2 6 2
+.1#baS
+.2.cde
diff --git a/public_test_cases/p01023/input.4.txt b/public_test_cases/p01023/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ed01b4ef8cb4e3a390ca2dbea38f08912974ec9
--- /dev/null
+++ b/public_test_cases/p01023/input.4.txt
@@ -0,0 +1,6 @@
+5 8 3
+.......
+.####2#
+.#.3..#
+.######
+.1Sabcde
diff --git a/public_test_cases/p01023/output.0.txt b/public_test_cases/p01023/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01023/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01023/output.1.txt b/public_test_cases/p01023/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01023/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01023/output.2.txt b/public_test_cases/p01023/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01023/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01023/output.3.txt b/public_test_cases/p01023/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01023/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01023/output.4.txt b/public_test_cases/p01023/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01023/output.4.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01024/input.0.txt b/public_test_cases/p01024/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..039a4eb056bbf6e477a135d4d5a290c9ebde0ff4
--- /dev/null
+++ b/public_test_cases/p01024/input.0.txt
@@ -0,0 +1 @@
+1 1 9
diff --git a/public_test_cases/p01024/input.1.txt b/public_test_cases/p01024/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..039a4eb056bbf6e477a135d4d5a290c9ebde0ff4
--- /dev/null
+++ b/public_test_cases/p01024/input.1.txt
@@ -0,0 +1 @@
+1 1 9
diff --git a/public_test_cases/p01024/input.2.txt b/public_test_cases/p01024/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea03bbd6afb25a6f7d7de81b26e5f6c82337c2ad
--- /dev/null
+++ b/public_test_cases/p01024/input.2.txt
@@ -0,0 +1 @@
+100 7 12
diff --git a/public_test_cases/p01024/input.3.txt b/public_test_cases/p01024/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5327bb22b576be8bc6917669fb95d05f27aa4819
--- /dev/null
+++ b/public_test_cases/p01024/input.3.txt
@@ -0,0 +1 @@
+6 11 11
diff --git a/public_test_cases/p01024/input.4.txt b/public_test_cases/p01024/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaee162b8456e2053528a953d12c3db963e8c3b0
--- /dev/null
+++ b/public_test_cases/p01024/input.4.txt
@@ -0,0 +1 @@
+2 1 3
diff --git a/public_test_cases/p01024/input.5.txt b/public_test_cases/p01024/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..634157c25377f8436fb0616cc566ed8498ecb0b0
--- /dev/null
+++ b/public_test_cases/p01024/input.5.txt
@@ -0,0 +1 @@
+123 123 3
diff --git a/public_test_cases/p01024/output.0.txt b/public_test_cases/p01024/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01024/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01024/output.1.txt b/public_test_cases/p01024/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01024/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01024/output.2.txt b/public_test_cases/p01024/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01024/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01024/output.3.txt b/public_test_cases/p01024/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69a893aa31141827125ddaaee26966b7aed3de74
--- /dev/null
+++ b/public_test_cases/p01024/output.3.txt
@@ -0,0 +1 @@
+66
diff --git a/public_test_cases/p01024/output.4.txt b/public_test_cases/p01024/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01024/output.4.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01024/output.5.txt b/public_test_cases/p01024/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01024/output.5.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01026/input.0.txt b/public_test_cases/p01026/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f463d72beeef25f3da21d02d8b157691fdda3cac
--- /dev/null
+++ b/public_test_cases/p01026/input.0.txt
@@ -0,0 +1,25 @@
+7
+1
+2
+3
+4
+5
+6
+7
+1 2
+1 3
+3 4
+3 5
+5 6
+5 7
+10
+0 1 7
+0 2 7
+1 1 15
+0 1 7
+0 2 7
+0 1 1
+1 1 -15
+0 1 7
+0 2 7
+0 1 1
diff --git a/public_test_cases/p01026/input.1.txt b/public_test_cases/p01026/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f463d72beeef25f3da21d02d8b157691fdda3cac
--- /dev/null
+++ b/public_test_cases/p01026/input.1.txt
@@ -0,0 +1,25 @@
+7
+1
+2
+3
+4
+5
+6
+7
+1 2
+1 3
+3 4
+3 5
+5 6
+5 7
+10
+0 1 7
+0 2 7
+1 1 15
+0 1 7
+0 2 7
+0 1 1
+1 1 -15
+0 1 7
+0 2 7
+0 1 1
diff --git a/public_test_cases/p01026/output.0.txt b/public_test_cases/p01026/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b18c2a3284ec6e74105cd8e881c2f348fa8f2b0
--- /dev/null
+++ b/public_test_cases/p01026/output.0.txt
@@ -0,0 +1,8 @@
+16
+18
+31
+33
+16
+16
+18
+1
diff --git a/public_test_cases/p01026/output.1.txt b/public_test_cases/p01026/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b18c2a3284ec6e74105cd8e881c2f348fa8f2b0
--- /dev/null
+++ b/public_test_cases/p01026/output.1.txt
@@ -0,0 +1,8 @@
+16
+18
+31
+33
+16
+16
+18
+1
diff --git a/public_test_cases/p01027/input.0.txt b/public_test_cases/p01027/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17400e35ce9b8026e97930715965fbfe33212565
--- /dev/null
+++ b/public_test_cases/p01027/input.0.txt
@@ -0,0 +1,10 @@
+3
+frence 1
+usi 1
+powland 1
+2
+usi 0 frence 0 10
+frence 0 powland 0 10
+2
+usi 0
+powland 0
diff --git a/public_test_cases/p01027/input.1.txt b/public_test_cases/p01027/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3098605e7248a213c8d62e01848a290bd8a57e5c
--- /dev/null
+++ b/public_test_cases/p01027/input.1.txt
@@ -0,0 +1,14 @@
+3
+chinax 1
+ok 1
+austraria 2
+6
+chinax 0 austraria 0 5
+austraria 0 chinax 0 5
+austraria 1 austraria 0 1
+ok 0 austraria 0 5
+austraria 0 ok 0 5
+ok 0 austraria 1 1
+2
+chinax 0
+ok 0
diff --git a/public_test_cases/p01027/input.2.txt b/public_test_cases/p01027/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ac7c2977105ba6d3269f2188c41d100cec033c9
--- /dev/null
+++ b/public_test_cases/p01027/input.2.txt
@@ -0,0 +1,10 @@
+2
+usso 2
+caneda 2
+4
+usso 1 usso 0 1
+usso 0 caneda 0 10
+usso 0 caneda 1 2
+caneda 1 caneda 0 2
+1
+usso 1
diff --git a/public_test_cases/p01027/input.3.txt b/public_test_cases/p01027/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e1cf9036758683a7131946c0a88792355841e4
--- /dev/null
+++ b/public_test_cases/p01027/input.3.txt
@@ -0,0 +1,21 @@
+3
+neepal 2
+luxenbourg 4
+noway 2
+12
+neepal 1 neepal 0 2
+neepal 0 noway 1 2
+neepal 0 luxenbourg 0 10
+neepal 0 luxenbourg 3 2
+luxenbourg 3 luxenbourg 1 2
+luxenbourg 3 luxenbourg 2 2
+luxenbourg 1 luxenbourg 0 2
+luxenbourg 2 luxenbourg 0 2
+noway 1 noway 0 2
+noway 0 neepal 0 2
+noway 0 luxenbourg 3 2
+noway 0 luxenbourg 0 10
+3
+neepal 1
+luxenbourg 3
+noway 1
diff --git a/public_test_cases/p01027/input.4.txt b/public_test_cases/p01027/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17400e35ce9b8026e97930715965fbfe33212565
--- /dev/null
+++ b/public_test_cases/p01027/input.4.txt
@@ -0,0 +1,10 @@
+3
+frence 1
+usi 1
+powland 1
+2
+usi 0 frence 0 10
+frence 0 powland 0 10
+2
+usi 0
+powland 0
diff --git a/public_test_cases/p01027/output.0.txt b/public_test_cases/p01027/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5573a4f69c78ec68b717d45440b633e92db54677
--- /dev/null
+++ b/public_test_cases/p01027/output.0.txt
@@ -0,0 +1,6 @@
+20
+usi 0 frence 0
+frence 0 powland 0
+-----
+Impossible
+-----
diff --git a/public_test_cases/p01027/output.1.txt b/public_test_cases/p01027/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79a50b53ea3429b81500181d36f575043299af78
--- /dev/null
+++ b/public_test_cases/p01027/output.1.txt
@@ -0,0 +1,9 @@
+10
+chinax 0 austraria 0
+austraria 0 ok 0
+-----
+7
+ok 0 austraria 1
+austraria 1 austraria 0
+austraria 0 chinax 0
+-----
diff --git a/public_test_cases/p01027/output.2.txt b/public_test_cases/p01027/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3c3a40c98b399c1837fa6bb030c068207013fa3
--- /dev/null
+++ b/public_test_cases/p01027/output.2.txt
@@ -0,0 +1,5 @@
+5
+usso 1 usso 0
+usso 0 caneda 1
+caneda 1 caneda 0
+-----
diff --git a/public_test_cases/p01027/output.3.txt b/public_test_cases/p01027/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7ea0dc919c257ba6d9ebdda6c276552eeb088be
--- /dev/null
+++ b/public_test_cases/p01027/output.3.txt
@@ -0,0 +1,17 @@
+12
+neepal 1 neepal 0
+neepal 0 luxenbourg 3
+luxenbourg 3 luxenbourg 2
+luxenbourg 2 luxenbourg 0
+neepal 0 noway 1
+noway 1 noway 0
+-----
+Impossible
+-----
+10
+noway 1 noway 0
+neepal 0 luxenbourg 3
+luxenbourg 3 luxenbourg 2
+luxenbourg 2 luxenbourg 0
+noway 0 neepal 0
+-----
diff --git a/public_test_cases/p01027/output.4.txt b/public_test_cases/p01027/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5573a4f69c78ec68b717d45440b633e92db54677
--- /dev/null
+++ b/public_test_cases/p01027/output.4.txt
@@ -0,0 +1,6 @@
+20
+usi 0 frence 0
+frence 0 powland 0
+-----
+Impossible
+-----
diff --git a/public_test_cases/p01028/input.0.txt b/public_test_cases/p01028/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d249d05ec9a08a09c61c1d6b23ca75834619d174
--- /dev/null
+++ b/public_test_cases/p01028/input.0.txt
@@ -0,0 +1,2 @@
+1 10
+1 2 3 4 5 6 7 8 9 10
diff --git a/public_test_cases/p01028/input.1.txt b/public_test_cases/p01028/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d27f4a3f68a1ea04523047ae8a89b108917763c
--- /dev/null
+++ b/public_test_cases/p01028/input.1.txt
@@ -0,0 +1,2 @@
+5 30
+25 51 32 9 2 1 10 2 5 10
diff --git a/public_test_cases/p01028/input.2.txt b/public_test_cases/p01028/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d249d05ec9a08a09c61c1d6b23ca75834619d174
--- /dev/null
+++ b/public_test_cases/p01028/input.2.txt
@@ -0,0 +1,2 @@
+1 10
+1 2 3 4 5 6 7 8 9 10
diff --git a/public_test_cases/p01028/input.3.txt b/public_test_cases/p01028/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cd3ea678d6dac07edbb601ed65fffc15536f2da
--- /dev/null
+++ b/public_test_cases/p01028/input.3.txt
@@ -0,0 +1,2 @@
+5 100
+101 101 101 101 101 101 101 101 101 101
diff --git a/public_test_cases/p01028/input.4.txt b/public_test_cases/p01028/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cb2bbe4ec181adfc3d5a6ea1506d04495fbe8fa
--- /dev/null
+++ b/public_test_cases/p01028/input.4.txt
@@ -0,0 +1,2 @@
+3 10
+8 4 5 3 5 6 9 10 11 2
diff --git a/public_test_cases/p01028/output.0.txt b/public_test_cases/p01028/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01028/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01028/output.1.txt b/public_test_cases/p01028/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2420c5e8665a68c89ca774f8b5a71c517d2c03dd
--- /dev/null
+++ b/public_test_cases/p01028/output.1.txt
@@ -0,0 +1 @@
+04555
diff --git a/public_test_cases/p01028/output.2.txt b/public_test_cases/p01028/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01028/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01028/output.3.txt b/public_test_cases/p01028/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69fc4ef2be0c2550c183850902cb55dbf3d37b30
--- /dev/null
+++ b/public_test_cases/p01028/output.3.txt
@@ -0,0 +1 @@
+NA
diff --git a/public_test_cases/p01028/output.4.txt b/public_test_cases/p01028/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..078fa0fe576b141de649b5439c1fbebbb391dff4
--- /dev/null
+++ b/public_test_cases/p01028/output.4.txt
@@ -0,0 +1 @@
+119
diff --git a/public_test_cases/p01029/input.0.txt b/public_test_cases/p01029/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb1c9bf4a1ed4b45ffacb10fcd9470f53a4cc611
--- /dev/null
+++ b/public_test_cases/p01029/input.0.txt
@@ -0,0 +1,5 @@
+3 3
+c ? ?
+0 1
+0 2
+1 2
diff --git a/public_test_cases/p01029/input.1.txt b/public_test_cases/p01029/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b06cb80b2c8408a7d139d382d184b0af466c1711
--- /dev/null
+++ b/public_test_cases/p01029/input.1.txt
@@ -0,0 +1,4 @@
+3 2
+c ? ?
+0 1
+0 2
diff --git a/public_test_cases/p01029/input.2.txt b/public_test_cases/p01029/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39b6efcd9465aa9fc3fa122e392f7b0d68c6beeb
--- /dev/null
+++ b/public_test_cases/p01029/input.2.txt
@@ -0,0 +1,2 @@
+5 0
+? ? ? ? ?
diff --git a/public_test_cases/p01029/input.3.txt b/public_test_cases/p01029/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb1c9bf4a1ed4b45ffacb10fcd9470f53a4cc611
--- /dev/null
+++ b/public_test_cases/p01029/input.3.txt
@@ -0,0 +1,5 @@
+3 3
+c ? ?
+0 1
+0 2
+1 2
diff --git a/public_test_cases/p01029/input.4.txt b/public_test_cases/p01029/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77ae6482d9b36422d0aab8159ef5f88c02547bda
--- /dev/null
+++ b/public_test_cases/p01029/input.4.txt
@@ -0,0 +1,8 @@
+7 6
+? a ? ? z a ?
+0 1
+0 2
+3 4
+4 5
+4 6
+5 6
diff --git a/public_test_cases/p01029/output.0.txt b/public_test_cases/p01029/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c9f758ee968ddbcacc8fb53856ed91e141ab815
--- /dev/null
+++ b/public_test_cases/p01029/output.0.txt
@@ -0,0 +1 @@
+cab
diff --git a/public_test_cases/p01029/output.1.txt b/public_test_cases/p01029/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c07c90f93bb95cbe78b79f97ba018f48bb15a1df
--- /dev/null
+++ b/public_test_cases/p01029/output.1.txt
@@ -0,0 +1 @@
+caa
diff --git a/public_test_cases/p01029/output.2.txt b/public_test_cases/p01029/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccc3e7b48da0932cc0f7c4ce7b4fd834c7032fe1
--- /dev/null
+++ b/public_test_cases/p01029/output.2.txt
@@ -0,0 +1 @@
+aaaaa
diff --git a/public_test_cases/p01029/output.3.txt b/public_test_cases/p01029/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c9f758ee968ddbcacc8fb53856ed91e141ab815
--- /dev/null
+++ b/public_test_cases/p01029/output.3.txt
@@ -0,0 +1 @@
+cab
diff --git a/public_test_cases/p01029/output.4.txt b/public_test_cases/p01029/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aae3b51e1c53779a03be22c0f555c18d96dd6cf3
--- /dev/null
+++ b/public_test_cases/p01029/output.4.txt
@@ -0,0 +1 @@
+baaazab
diff --git a/public_test_cases/p01030/input.0.txt b/public_test_cases/p01030/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45d548864ee3d6c80dce52aa3a811038426d67eb
--- /dev/null
+++ b/public_test_cases/p01030/input.0.txt
@@ -0,0 +1,7 @@
+2 2
+S.
+.G
+1
+3
+##
+##
diff --git a/public_test_cases/p01030/input.1.txt b/public_test_cases/p01030/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..068519234ec4db44804d0711cdc5a48c2d6ef220
--- /dev/null
+++ b/public_test_cases/p01030/input.1.txt
@@ -0,0 +1,14 @@
+2 3
+S##
+G
+4
+2
+
+.##
+3
+
+.#
+5
+
+.
+7
diff --git a/public_test_cases/p01030/input.2.txt b/public_test_cases/p01030/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..216f654c4592a10de17bbefa8a921e86a9ab11e3
--- /dev/null
+++ b/public_test_cases/p01030/input.2.txt
@@ -0,0 +1,25 @@
+4 3
+S..
+...
+.G.
+...
+4
+2
+
+.#
+
+.#
+4
+
+..
+..
+
+6
+
+.#
+
+..
+8
+
+..
+..
diff --git a/public_test_cases/p01030/input.3.txt b/public_test_cases/p01030/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..530db091be2eed72dbd2b8b267c2ee373f03844c
--- /dev/null
+++ b/public_test_cases/p01030/input.3.txt
@@ -0,0 +1,9 @@
+3 3
+S##
+
+G
+1
+1
+...
+...
+...
diff --git a/public_test_cases/p01030/input.4.txt b/public_test_cases/p01030/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8938a867484bf8d26f3a8bd8ec94eb539a342962
--- /dev/null
+++ b/public_test_cases/p01030/input.4.txt
@@ -0,0 +1,5 @@
+2 2
+S.
+.G
+1
+3
diff --git a/public_test_cases/p01030/input.5.txt b/public_test_cases/p01030/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfb81fc234c59427b7aeb275effa9951b6724ec9
--- /dev/null
+++ b/public_test_cases/p01030/input.5.txt
@@ -0,0 +1,5 @@
+2 2
+S.
+.G
+1
+2
diff --git a/public_test_cases/p01030/input.6.txt b/public_test_cases/p01030/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45d548864ee3d6c80dce52aa3a811038426d67eb
--- /dev/null
+++ b/public_test_cases/p01030/input.6.txt
@@ -0,0 +1,7 @@
+2 2
+S.
+.G
+1
+3
+##
+##
diff --git a/public_test_cases/p01030/output.0.txt b/public_test_cases/p01030/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01030/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01030/output.1.txt b/public_test_cases/p01030/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01030/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01030/output.2.txt b/public_test_cases/p01030/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01030/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01030/output.3.txt b/public_test_cases/p01030/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01030/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01030/output.4.txt b/public_test_cases/p01030/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01030/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01030/output.5.txt b/public_test_cases/p01030/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01030/output.5.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01030/output.6.txt b/public_test_cases/p01030/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01030/output.6.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01031/input.0.txt b/public_test_cases/p01031/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c62d9281b8fe149271a4c150cff330e0de9a8306
--- /dev/null
+++ b/public_test_cases/p01031/input.0.txt
@@ -0,0 +1,2 @@
+6 25 3
+8 5 1 1 2 6
diff --git a/public_test_cases/p01031/input.1.txt b/public_test_cases/p01031/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32d2d95b501cb5cfd24a5204d509282aab806d59
--- /dev/null
+++ b/public_test_cases/p01031/input.1.txt
@@ -0,0 +1,2 @@
+4 10 1
+1 2 3 4
diff --git a/public_test_cases/p01031/input.2.txt b/public_test_cases/p01031/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60e1fbf1948ad8173896e93ed602dba3828191ec
--- /dev/null
+++ b/public_test_cases/p01031/input.2.txt
@@ -0,0 +1,2 @@
+4 11 1
+1 2 3 4
diff --git a/public_test_cases/p01031/input.3.txt b/public_test_cases/p01031/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c62d9281b8fe149271a4c150cff330e0de9a8306
--- /dev/null
+++ b/public_test_cases/p01031/input.3.txt
@@ -0,0 +1,2 @@
+6 25 3
+8 5 1 1 2 6
diff --git a/public_test_cases/p01031/output.0.txt b/public_test_cases/p01031/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01031/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01031/output.1.txt b/public_test_cases/p01031/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01031/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01031/output.2.txt b/public_test_cases/p01031/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01031/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01031/output.3.txt b/public_test_cases/p01031/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01031/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01032/input.0.txt b/public_test_cases/p01032/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b07e54d3ad0910b13b678fef5356036fb8f85b70
--- /dev/null
+++ b/public_test_cases/p01032/input.0.txt
@@ -0,0 +1,4 @@
+6 3
+4
+4
+5
diff --git a/public_test_cases/p01032/input.1.txt b/public_test_cases/p01032/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b07e54d3ad0910b13b678fef5356036fb8f85b70
--- /dev/null
+++ b/public_test_cases/p01032/input.1.txt
@@ -0,0 +1,4 @@
+6 3
+4
+4
+5
diff --git a/public_test_cases/p01032/input.2.txt b/public_test_cases/p01032/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ffc927ab8cdfb8b703bed04bcaf1bc473b1ee7c
--- /dev/null
+++ b/public_test_cases/p01032/input.2.txt
@@ -0,0 +1,5 @@
+6 4
+2
+5
+4
+5
diff --git a/public_test_cases/p01032/output.0.txt b/public_test_cases/p01032/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p01032/output.0.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p01032/output.1.txt b/public_test_cases/p01032/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p01032/output.1.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p01032/output.2.txt b/public_test_cases/p01032/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p01032/output.2.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p01033/input.0.txt b/public_test_cases/p01033/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b97e512eda80bea9efaca7190fced08b574761a1
--- /dev/null
+++ b/public_test_cases/p01033/input.0.txt
@@ -0,0 +1,15 @@
+3 3
+3
+0 0
+1 1
+2 2
+2
+1 0
+2 1
+3
+1 1
+2 2
+0 1
+2
+1 0
+2 0
diff --git a/public_test_cases/p01033/input.1.txt b/public_test_cases/p01033/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b97e512eda80bea9efaca7190fced08b574761a1
--- /dev/null
+++ b/public_test_cases/p01033/input.1.txt
@@ -0,0 +1,15 @@
+3 3
+3
+0 0
+1 1
+2 2
+2
+1 0
+2 1
+3
+1 1
+2 2
+0 1
+2
+1 0
+2 0
diff --git a/public_test_cases/p01033/input.2.txt b/public_test_cases/p01033/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e1b9ecae76f4f16f671f908caa23a419d0f6c7a
--- /dev/null
+++ b/public_test_cases/p01033/input.2.txt
@@ -0,0 +1,25 @@
+5 5
+5
+4 1
+2 2
+1 4
+1 3
+4 2
+5
+1 1
+1 2
+3 3
+3 0
+3 4
+5
+2 3
+2 2
+0 3
+0 2
+4 1
+5
+2 0
+4 0
+1 0
+4 3
+2 1
diff --git a/public_test_cases/p01033/output.0.txt b/public_test_cases/p01033/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55a3691e6307c272f9b59fccd659236978ccea23
--- /dev/null
+++ b/public_test_cases/p01033/output.0.txt
@@ -0,0 +1 @@
+2 0 0
diff --git a/public_test_cases/p01033/output.1.txt b/public_test_cases/p01033/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55a3691e6307c272f9b59fccd659236978ccea23
--- /dev/null
+++ b/public_test_cases/p01033/output.1.txt
@@ -0,0 +1 @@
+2 0 0
diff --git a/public_test_cases/p01033/output.2.txt b/public_test_cases/p01033/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf3b95ccb2dce2dba412eba3a42880252b3238a3
--- /dev/null
+++ b/public_test_cases/p01033/output.2.txt
@@ -0,0 +1 @@
+2 1 0
diff --git a/public_test_cases/p01034/input.0.txt b/public_test_cases/p01034/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a716789f457f205e23450d17a864936a60a6fed
--- /dev/null
+++ b/public_test_cases/p01034/input.0.txt
@@ -0,0 +1,3 @@
+3 2 -3
+0 1 1
+0 2 5
diff --git a/public_test_cases/p01034/input.1.txt b/public_test_cases/p01034/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de7714a3561e29d45952202fe44c842f46c03fa8
--- /dev/null
+++ b/public_test_cases/p01034/input.1.txt
@@ -0,0 +1,9 @@
+7 8 -8
+0 1 5
+0 4 3
+1 2 10
+1 3 1
+3 6 6
+4 3 1
+4 5 2
+4 6 2
diff --git a/public_test_cases/p01034/input.2.txt b/public_test_cases/p01034/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..694fe7b4782d4c6f0498529f5101f60f6815e6eb
--- /dev/null
+++ b/public_test_cases/p01034/input.2.txt
@@ -0,0 +1,3 @@
+3 2 -1
+0 1 1
+0 2 5
diff --git a/public_test_cases/p01034/input.3.txt b/public_test_cases/p01034/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a716789f457f205e23450d17a864936a60a6fed
--- /dev/null
+++ b/public_test_cases/p01034/input.3.txt
@@ -0,0 +1,3 @@
+3 2 -3
+0 1 1
+0 2 5
diff --git a/public_test_cases/p01034/input.4.txt b/public_test_cases/p01034/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da3bc12d843c427cc4845c3b860f12a924c39134
--- /dev/null
+++ b/public_test_cases/p01034/input.4.txt
@@ -0,0 +1,5 @@
+5 4 -30
+0 1 1
+1 3 15
+1 4 4
+2 1 3
diff --git a/public_test_cases/p01034/output.0.txt b/public_test_cases/p01034/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fbedf693b51d80a9480634ff720815943de9889
--- /dev/null
+++ b/public_test_cases/p01034/output.0.txt
@@ -0,0 +1 @@
+-2
diff --git a/public_test_cases/p01034/output.1.txt b/public_test_cases/p01034/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01034/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01034/output.2.txt b/public_test_cases/p01034/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69fc4ef2be0c2550c183850902cb55dbf3d37b30
--- /dev/null
+++ b/public_test_cases/p01034/output.2.txt
@@ -0,0 +1 @@
+NA
diff --git a/public_test_cases/p01034/output.3.txt b/public_test_cases/p01034/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fbedf693b51d80a9480634ff720815943de9889
--- /dev/null
+++ b/public_test_cases/p01034/output.3.txt
@@ -0,0 +1 @@
+-2
diff --git a/public_test_cases/p01034/output.4.txt b/public_test_cases/p01034/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53c2ee5a7f6d46d703d90a7958e1d2d6e013e1fe
--- /dev/null
+++ b/public_test_cases/p01034/output.4.txt
@@ -0,0 +1 @@
+-12
diff --git a/public_test_cases/p01035/input.0.txt b/public_test_cases/p01035/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7f9ef63288f1c327d7b5891ae6091cca3318948
--- /dev/null
+++ b/public_test_cases/p01035/input.0.txt
@@ -0,0 +1,6 @@
+3
+1 2 3
+3
+0 2 2
+0 2 4
+0 0 2
diff --git a/public_test_cases/p01035/input.1.txt b/public_test_cases/p01035/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7f9ef63288f1c327d7b5891ae6091cca3318948
--- /dev/null
+++ b/public_test_cases/p01035/input.1.txt
@@ -0,0 +1,6 @@
+3
+1 2 3
+3
+0 2 2
+0 2 4
+0 0 2
diff --git a/public_test_cases/p01035/input.2.txt b/public_test_cases/p01035/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f734c1c88bb207497f53e69b4ed9daa578a3a26f
--- /dev/null
+++ b/public_test_cases/p01035/input.2.txt
@@ -0,0 +1,8 @@
+10
+4 5 0 21 9 100 12 9 0 8
+5
+0 3 20
+2 5 100
+8 9 9
+5 5 10
+0 9 20
diff --git a/public_test_cases/p01035/output.0.txt b/public_test_cases/p01035/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..986394f7c0fa05e52a94a3d93dee7085ed84cca4
--- /dev/null
+++ b/public_test_cases/p01035/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+1
diff --git a/public_test_cases/p01035/output.1.txt b/public_test_cases/p01035/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..986394f7c0fa05e52a94a3d93dee7085ed84cca4
--- /dev/null
+++ b/public_test_cases/p01035/output.1.txt
@@ -0,0 +1,3 @@
+0
+1
+1
diff --git a/public_test_cases/p01035/output.2.txt b/public_test_cases/p01035/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8652982420f51521b0dbe5503e7ee6787ec2d5bf
--- /dev/null
+++ b/public_test_cases/p01035/output.2.txt
@@ -0,0 +1,5 @@
+1
+0
+1
+90
+1
diff --git a/public_test_cases/p01036/input.0.txt b/public_test_cases/p01036/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65f8e9f6243b330606d6fafa0bc5295c07a58e61
--- /dev/null
+++ b/public_test_cases/p01036/input.0.txt
@@ -0,0 +1,6 @@
+1 2 2 1
+4 1
+0 0
+2 0
+2 2
+0 2
diff --git a/public_test_cases/p01036/input.1.txt b/public_test_cases/p01036/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ab0e796b40c957f97a267cd4c60ecb32137883f
--- /dev/null
+++ b/public_test_cases/p01036/input.1.txt
@@ -0,0 +1,6 @@
+1 2 2 1
+4 1
+0 0
+5 0
+5 5
+0 5
diff --git a/public_test_cases/p01036/input.2.txt b/public_test_cases/p01036/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65f8e9f6243b330606d6fafa0bc5295c07a58e61
--- /dev/null
+++ b/public_test_cases/p01036/input.2.txt
@@ -0,0 +1,6 @@
+1 2 2 1
+4 1
+0 0
+2 0
+2 2
+0 2
diff --git a/public_test_cases/p01036/input.3.txt b/public_test_cases/p01036/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6919a8bd72554d6c080a86783d85a284a9c9f25
--- /dev/null
+++ b/public_test_cases/p01036/input.3.txt
@@ -0,0 +1,6 @@
+1 10 10 1
+4 10
+0 0
+1 0
+1 1
+0 1
diff --git a/public_test_cases/p01036/input.4.txt b/public_test_cases/p01036/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e666ffbf044bfc21f5e7249a6575dac47fcd2f0
--- /dev/null
+++ b/public_test_cases/p01036/input.4.txt
@@ -0,0 +1,19 @@
+4 3 3 2
+3 1
+1 1
+3 3
+1 5
+4 2
+2 0
+5 0
+4 2
+3 2
+3 3
+4 3
+6 1
+6 5
+4 4
+3 4
+4 4
+5 6
+2 6
diff --git a/public_test_cases/p01036/output.0.txt b/public_test_cases/p01036/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc245fcad7d3c100b33c2e91359706373a8dc3e8
--- /dev/null
+++ b/public_test_cases/p01036/output.0.txt
@@ -0,0 +1 @@
+0.2500000000
diff --git a/public_test_cases/p01036/output.1.txt b/public_test_cases/p01036/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..487cbbc74cbdc97e962d1773d88da2ca4f560520
--- /dev/null
+++ b/public_test_cases/p01036/output.1.txt
@@ -0,0 +1 @@
+1.0000000000
diff --git a/public_test_cases/p01036/output.2.txt b/public_test_cases/p01036/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc245fcad7d3c100b33c2e91359706373a8dc3e8
--- /dev/null
+++ b/public_test_cases/p01036/output.2.txt
@@ -0,0 +1 @@
+0.2500000000
diff --git a/public_test_cases/p01036/output.3.txt b/public_test_cases/p01036/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9ea018f39fb93217cb6e831e08c8a7d15907f1a
--- /dev/null
+++ b/public_test_cases/p01036/output.3.txt
@@ -0,0 +1 @@
+0.0000000000
diff --git a/public_test_cases/p01036/output.4.txt b/public_test_cases/p01036/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c89f3ed9b7b797d0179d94307c4895271507846b
--- /dev/null
+++ b/public_test_cases/p01036/output.4.txt
@@ -0,0 +1 @@
+1.0574955319
diff --git a/public_test_cases/p01037/input.0.txt b/public_test_cases/p01037/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ef7105cdcd6ea255d2eb2c78b7e69613839dde5
--- /dev/null
+++ b/public_test_cases/p01037/input.0.txt
@@ -0,0 +1,4 @@
+5 3
+0 1
+2 1
+3 1
diff --git a/public_test_cases/p01037/input.1.txt b/public_test_cases/p01037/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..491d4d8adbe34566a5ea5a9d93aa76d73f874f79
--- /dev/null
+++ b/public_test_cases/p01037/input.1.txt
@@ -0,0 +1,3 @@
+4 2
+0 2
+1 2
diff --git a/public_test_cases/p01037/input.2.txt b/public_test_cases/p01037/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c39bf4cd760e083a448f208a8f751acde834539
--- /dev/null
+++ b/public_test_cases/p01037/input.2.txt
@@ -0,0 +1,4 @@
+10 3
+2 1
+4 1
+9 2
diff --git a/public_test_cases/p01037/input.3.txt b/public_test_cases/p01037/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ef7105cdcd6ea255d2eb2c78b7e69613839dde5
--- /dev/null
+++ b/public_test_cases/p01037/input.3.txt
@@ -0,0 +1,4 @@
+5 3
+0 1
+2 1
+3 1
diff --git a/public_test_cases/p01037/output.0.txt b/public_test_cases/p01037/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0962b6a34ef917a2b7cbd89e1894e4541155cf0
--- /dev/null
+++ b/public_test_cases/p01037/output.0.txt
@@ -0,0 +1,2 @@
+2 1
+1 1
diff --git a/public_test_cases/p01037/output.1.txt b/public_test_cases/p01037/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p01037/output.1.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p01037/output.2.txt b/public_test_cases/p01037/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fa10279583c299e9d987e8a5ad331bc6c8704d
--- /dev/null
+++ b/public_test_cases/p01037/output.2.txt
@@ -0,0 +1,2 @@
+2 1
+1 2
diff --git a/public_test_cases/p01037/output.3.txt b/public_test_cases/p01037/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0962b6a34ef917a2b7cbd89e1894e4541155cf0
--- /dev/null
+++ b/public_test_cases/p01037/output.3.txt
@@ -0,0 +1,2 @@
+2 1
+1 1
diff --git a/public_test_cases/p01038/input.0.txt b/public_test_cases/p01038/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21cda1691d5d903687be133f4cb6c9fbaafa0965
--- /dev/null
+++ b/public_test_cases/p01038/input.0.txt
@@ -0,0 +1 @@
+5 1 2 3 4 3
diff --git a/public_test_cases/p01038/output.0.txt b/public_test_cases/p01038/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7df794048e03bdb00a8732afa470f6c8326d40f
--- /dev/null
+++ b/public_test_cases/p01038/output.0.txt
@@ -0,0 +1 @@
+0 0 0 1 0
diff --git a/public_test_cases/p01039/input.0.txt b/public_test_cases/p01039/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d6846178d9240773ed9c764d4b18bd034a2d717
--- /dev/null
+++ b/public_test_cases/p01039/input.0.txt
@@ -0,0 +1,3 @@
+2 5
+1 1
+2 1
diff --git a/public_test_cases/p01039/input.1.txt b/public_test_cases/p01039/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c049490168783326daf5006e1899937bd87ea8d1
--- /dev/null
+++ b/public_test_cases/p01039/input.1.txt
@@ -0,0 +1,2 @@
+1 3
+4 1
diff --git a/public_test_cases/p01039/input.2.txt b/public_test_cases/p01039/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18fd2ac0597ffff008663daa938609c2c6e63932
--- /dev/null
+++ b/public_test_cases/p01039/input.2.txt
@@ -0,0 +1,3 @@
+2 12
+9 1
+3 2
diff --git a/public_test_cases/p01039/input.3.txt b/public_test_cases/p01039/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d6846178d9240773ed9c764d4b18bd034a2d717
--- /dev/null
+++ b/public_test_cases/p01039/input.3.txt
@@ -0,0 +1,3 @@
+2 5
+1 1
+2 1
diff --git a/public_test_cases/p01039/output.0.txt b/public_test_cases/p01039/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01039/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01039/output.1.txt b/public_test_cases/p01039/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01039/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01039/output.2.txt b/public_test_cases/p01039/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01039/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01039/output.3.txt b/public_test_cases/p01039/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01039/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01040/input.0.txt b/public_test_cases/p01040/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..038f1dd3e3a8a3629cd5325528d86d1a7bd67640
--- /dev/null
+++ b/public_test_cases/p01040/input.0.txt
@@ -0,0 +1 @@
+2015 3 13 2015 3 13
diff --git a/public_test_cases/p01040/input.1.txt b/public_test_cases/p01040/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..038f1dd3e3a8a3629cd5325528d86d1a7bd67640
--- /dev/null
+++ b/public_test_cases/p01040/input.1.txt
@@ -0,0 +1 @@
+2015 3 13 2015 3 13
diff --git a/public_test_cases/p01040/input.2.txt b/public_test_cases/p01040/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5a1444870c5c1b9e45722e1b2b8741da4d8d734
--- /dev/null
+++ b/public_test_cases/p01040/input.2.txt
@@ -0,0 +1 @@
+2015 2 14 2015 3 15
diff --git a/public_test_cases/p01040/input.3.txt b/public_test_cases/p01040/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a558fd1a40845f1082473ddf0a0ef6c5fc5599af
--- /dev/null
+++ b/public_test_cases/p01040/input.3.txt
@@ -0,0 +1 @@
+1234 5 6 789012345678901234 5 6
diff --git a/public_test_cases/p01040/output.0.txt b/public_test_cases/p01040/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01040/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01040/output.1.txt b/public_test_cases/p01040/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01040/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01040/output.2.txt b/public_test_cases/p01040/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01040/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01040/output.3.txt b/public_test_cases/p01040/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..103571ef6651aa5e2f3dbcb67184756d0d8ec0b0
--- /dev/null
+++ b/public_test_cases/p01040/output.3.txt
@@ -0,0 +1 @@
+1357101234567708000
diff --git a/public_test_cases/p01041/input.0.txt b/public_test_cases/p01041/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2d85d4d03a94359339b65a7e9032ffa67842f79
--- /dev/null
+++ b/public_test_cases/p01041/input.0.txt
@@ -0,0 +1,14 @@
+3
+apple
+app
+banana
+9
+1 1
+3 1
+3 2
+3 3
+2 1
+1 2
+3 1
+3 2
+3 3
diff --git a/public_test_cases/p01041/input.1.txt b/public_test_cases/p01041/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2d85d4d03a94359339b65a7e9032ffa67842f79
--- /dev/null
+++ b/public_test_cases/p01041/input.1.txt
@@ -0,0 +1,14 @@
+3
+apple
+app
+banana
+9
+1 1
+3 1
+3 2
+3 3
+2 1
+1 2
+3 1
+3 2
+3 3
diff --git a/public_test_cases/p01041/input.2.txt b/public_test_cases/p01041/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87dc35cf59a8c244beeebb9a964af2fc720c9d82
--- /dev/null
+++ b/public_test_cases/p01041/input.2.txt
@@ -0,0 +1,22 @@
+7
+aaaab
+aaa
+aaaa
+aaaaaabc
+abbbbbc
+ab
+abbb
+13
+1 1
+3 2
+1 4
+3 2
+1 3
+3 2
+2 3
+3 3
+1 5
+1 7
+3 6
+2 5
+3 6
diff --git a/public_test_cases/p01041/output.0.txt b/public_test_cases/p01041/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7efb0a539e76475821ef7b1a09acfcbc771a2133
--- /dev/null
+++ b/public_test_cases/p01041/output.0.txt
@@ -0,0 +1,6 @@
+1
+1
+-1
+-1
+2
+-1
diff --git a/public_test_cases/p01041/output.1.txt b/public_test_cases/p01041/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7efb0a539e76475821ef7b1a09acfcbc771a2133
--- /dev/null
+++ b/public_test_cases/p01041/output.1.txt
@@ -0,0 +1,6 @@
+1
+1
+-1
+-1
+2
+-1
diff --git a/public_test_cases/p01041/output.2.txt b/public_test_cases/p01041/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0aca568aeaa122c7db302da6973c98069834b811
--- /dev/null
+++ b/public_test_cases/p01041/output.2.txt
@@ -0,0 +1,6 @@
+1
+4
+3
+4
+7
+7
diff --git a/public_test_cases/p01042/input.0.txt b/public_test_cases/p01042/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8dad79ae16d34988419a776183e7ba2ff7cf2b2
--- /dev/null
+++ b/public_test_cases/p01042/input.0.txt
@@ -0,0 +1 @@
+2 5 3 3 11
diff --git a/public_test_cases/p01042/input.1.txt b/public_test_cases/p01042/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8dad79ae16d34988419a776183e7ba2ff7cf2b2
--- /dev/null
+++ b/public_test_cases/p01042/input.1.txt
@@ -0,0 +1 @@
+2 5 3 3 11
diff --git a/public_test_cases/p01042/input.2.txt b/public_test_cases/p01042/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8012e69a9d8a86746712ff57750b859a21098a4a
--- /dev/null
+++ b/public_test_cases/p01042/input.2.txt
@@ -0,0 +1 @@
+1 2 3 4 100
diff --git a/public_test_cases/p01042/output.0.txt b/public_test_cases/p01042/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01042/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01042/output.1.txt b/public_test_cases/p01042/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01042/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01042/output.2.txt b/public_test_cases/p01042/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01042/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01043/input.0.txt b/public_test_cases/p01043/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a3a48676370ccf45f945355c65d7084b6e95877
--- /dev/null
+++ b/public_test_cases/p01043/input.0.txt
@@ -0,0 +1,19 @@
+3 1
+4
+0 4
+2 4
+2 7
+0 7
+1 6
+5
+1 0
+6 0
+4 5
+2 2
+1 4
+4 2
+3
+2 6
+6 4
+6 7
+5 6
diff --git a/public_test_cases/p01043/input.1.txt b/public_test_cases/p01043/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98b835b87db5f6884c9a7c0eaba77e6a9984f003
--- /dev/null
+++ b/public_test_cases/p01043/input.1.txt
@@ -0,0 +1,23 @@
+4 4
+3
+0 5
+3 8
+0 8
+1 7
+3
+1 3
+4 3
+1 6
+2 4
+5
+2 0
+7 0
+7 2
+3 2
+2 3
+6 1
+3
+6 2
+7 7
+2 7
+6 6
diff --git a/public_test_cases/p01043/input.2.txt b/public_test_cases/p01043/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5214ddd0c5e8cb58e39cc940a5450c5d63a37f62
--- /dev/null
+++ b/public_test_cases/p01043/input.2.txt
@@ -0,0 +1,16 @@
+3 2
+3
+0 2
+3 5
+0 5
+1 4
+3
+1 0
+4 0
+1 3
+2 1
+3
+2 2
+4 3
+2 4
+3 3
diff --git a/public_test_cases/p01043/input.3.txt b/public_test_cases/p01043/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a3a48676370ccf45f945355c65d7084b6e95877
--- /dev/null
+++ b/public_test_cases/p01043/input.3.txt
@@ -0,0 +1,19 @@
+3 1
+4
+0 4
+2 4
+2 7
+0 7
+1 6
+5
+1 0
+6 0
+4 5
+2 2
+1 4
+4 2
+3
+2 6
+6 4
+6 7
+5 6
diff --git a/public_test_cases/p01043/output.0.txt b/public_test_cases/p01043/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e068e41881c3fa76bfae1ee81500eb563777991
--- /dev/null
+++ b/public_test_cases/p01043/output.0.txt
@@ -0,0 +1 @@
+14.6502815399
diff --git a/public_test_cases/p01043/output.1.txt b/public_test_cases/p01043/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..059ebde8c8440dda32266bc42dfba53b62c074c6
--- /dev/null
+++ b/public_test_cases/p01043/output.1.txt
@@ -0,0 +1 @@
+18.9356648257
diff --git a/public_test_cases/p01043/output.2.txt b/public_test_cases/p01043/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f0de41e89a4663d7ffc2c9fe794ff9ccecda90d
--- /dev/null
+++ b/public_test_cases/p01043/output.2.txt
@@ -0,0 +1 @@
+8.0644951022
diff --git a/public_test_cases/p01043/output.3.txt b/public_test_cases/p01043/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e068e41881c3fa76bfae1ee81500eb563777991
--- /dev/null
+++ b/public_test_cases/p01043/output.3.txt
@@ -0,0 +1 @@
+14.6502815399
diff --git a/public_test_cases/p01044/input.0.txt b/public_test_cases/p01044/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b323070ac3426b5f3681ee495b3f44d0ea694fb7
--- /dev/null
+++ b/public_test_cases/p01044/input.0.txt
@@ -0,0 +1,6 @@
+3 3
+RGR
+RBP
+YEB
+1
+1 1
diff --git a/public_test_cases/p01044/input.1.txt b/public_test_cases/p01044/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e72f4ba413c754788a5906f654acccbdc3085e6
--- /dev/null
+++ b/public_test_cases/p01044/input.1.txt
@@ -0,0 +1,8 @@
+4 5
+BYYGG
+RRRRR
+RRBRR
+YYGGB
+2
+3 1
+3 1
diff --git a/public_test_cases/p01044/input.2.txt b/public_test_cases/p01044/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b323070ac3426b5f3681ee495b3f44d0ea694fb7
--- /dev/null
+++ b/public_test_cases/p01044/input.2.txt
@@ -0,0 +1,6 @@
+3 3
+RGR
+RBP
+YEB
+1
+1 1
diff --git a/public_test_cases/p01044/input.3.txt b/public_test_cases/p01044/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6219d38b56ed47cb195a710e4b5be2ba5a6b9de8
--- /dev/null
+++ b/public_test_cases/p01044/input.3.txt
@@ -0,0 +1,7 @@
+4 4
+BEEP
+ERYY
+BBRP
+RBYP
+1
+1 2
diff --git a/public_test_cases/p01044/output.0.txt b/public_test_cases/p01044/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cfc5d471ea14075a774fac7847fc6676db4258f
--- /dev/null
+++ b/public_test_cases/p01044/output.0.txt
@@ -0,0 +1,3 @@
+…
+YBG
+EBP
diff --git a/public_test_cases/p01044/output.1.txt b/public_test_cases/p01044/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2996942bc91ecd921709dad00d89fc99df84dd92
--- /dev/null
+++ b/public_test_cases/p01044/output.1.txt
@@ -0,0 +1,4 @@
+.....
+.....
+.....
+B.BGB
diff --git a/public_test_cases/p01044/output.2.txt b/public_test_cases/p01044/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cfc5d471ea14075a774fac7847fc6676db4258f
--- /dev/null
+++ b/public_test_cases/p01044/output.2.txt
@@ -0,0 +1,3 @@
+…
+YBG
+EBP
diff --git a/public_test_cases/p01044/output.3.txt b/public_test_cases/p01044/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1e89fb5f95a5f346b5f3b05d7ae4a0e0446687e
--- /dev/null
+++ b/public_test_cases/p01044/output.3.txt
@@ -0,0 +1,4 @@
+....
+....
+....
+.B..
diff --git a/public_test_cases/p01045/input.0.txt b/public_test_cases/p01045/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0deecdc4457d447b400b25b5828d9ef033a41222
--- /dev/null
+++ b/public_test_cases/p01045/input.0.txt
@@ -0,0 +1,4 @@
+3 3 2
+...
+...
+...
diff --git a/public_test_cases/p01045/input.1.txt b/public_test_cases/p01045/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0deecdc4457d447b400b25b5828d9ef033a41222
--- /dev/null
+++ b/public_test_cases/p01045/input.1.txt
@@ -0,0 +1,4 @@
+3 3 2
+...
+...
+...
diff --git a/public_test_cases/p01045/input.2.txt b/public_test_cases/p01045/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1ef3a93ac27affb7745edf6550f1bc79ba34c41
--- /dev/null
+++ b/public_test_cases/p01045/input.2.txt
@@ -0,0 +1,4 @@
+3 3 2
+.#
+.#.
+..
diff --git a/public_test_cases/p01045/output.0.txt b/public_test_cases/p01045/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f10b6db8a931de62c5205aefcbb9ba9eece291b
--- /dev/null
+++ b/public_test_cases/p01045/output.0.txt
@@ -0,0 +1 @@
+Chieno
diff --git a/public_test_cases/p01045/output.1.txt b/public_test_cases/p01045/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f10b6db8a931de62c5205aefcbb9ba9eece291b
--- /dev/null
+++ b/public_test_cases/p01045/output.1.txt
@@ -0,0 +1 @@
+Chieno
diff --git a/public_test_cases/p01045/output.2.txt b/public_test_cases/p01045/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a24d2f28c071c24f9b990ecf481d7c6896fdb9f
--- /dev/null
+++ b/public_test_cases/p01045/output.2.txt
@@ -0,0 +1 @@
+Cacao
diff --git a/public_test_cases/p01046/input.0.txt b/public_test_cases/p01046/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e685b5e2ee232b1ef7269f8f60f510201f43398
--- /dev/null
+++ b/public_test_cases/p01046/input.0.txt
@@ -0,0 +1,5 @@
+3 3 1 10
+@0.
+...
+...
+0 100
diff --git a/public_test_cases/p01046/input.1.txt b/public_test_cases/p01046/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b3ed9ca6f7c099c2c925f1fbd1b2240357d2f4e
--- /dev/null
+++ b/public_test_cases/p01046/input.1.txt
@@ -0,0 +1,5 @@
+3 3 1 10
+@#b
+.#.
+.#.
+b 100
diff --git a/public_test_cases/p01046/input.2.txt b/public_test_cases/p01046/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..293671de848fa94d5050522caae61b2ba8714a36
--- /dev/null
+++ b/public_test_cases/p01046/input.2.txt
@@ -0,0 +1,5 @@
+3 3 1 20
+@*C
+..*
+...
+C 10
diff --git a/public_test_cases/p01046/input.3.txt b/public_test_cases/p01046/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e685b5e2ee232b1ef7269f8f60f510201f43398
--- /dev/null
+++ b/public_test_cases/p01046/input.3.txt
@@ -0,0 +1,5 @@
+3 3 1 10
+@0.
+...
+...
+0 100
diff --git a/public_test_cases/p01046/output.0.txt b/public_test_cases/p01046/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p01046/output.0.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p01046/output.1.txt b/public_test_cases/p01046/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01046/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01046/output.2.txt b/public_test_cases/p01046/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01046/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01046/output.3.txt b/public_test_cases/p01046/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p01046/output.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p01047/input.0.txt b/public_test_cases/p01047/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..294a1c78bf86dc56473e2f65c2297d7bb3088d52
--- /dev/null
+++ b/public_test_cases/p01047/input.0.txt
@@ -0,0 +1,3 @@
+2 1
+1 2
+5 0 0
diff --git a/public_test_cases/p01047/output.0.txt b/public_test_cases/p01047/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01047/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01048/input.0.txt b/public_test_cases/p01048/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01048/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01048/input.1.txt b/public_test_cases/p01048/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01048/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01048/input.2.txt b/public_test_cases/p01048/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01048/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01048/input.3.txt b/public_test_cases/p01048/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01048/input.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01048/output.0.txt b/public_test_cases/p01048/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01048/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01048/output.1.txt b/public_test_cases/p01048/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01048/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01048/output.2.txt b/public_test_cases/p01048/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01048/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01048/output.3.txt b/public_test_cases/p01048/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01048/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01049/input.0.txt b/public_test_cases/p01049/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..806dc2531e4f939d8117e86987fb85bb9af9f4bb
--- /dev/null
+++ b/public_test_cases/p01049/input.0.txt
@@ -0,0 +1,7 @@
+5
+2 3
+3
+0 2 5
+0 3 5
+1 2 4
+2
diff --git a/public_test_cases/p01049/input.1.txt b/public_test_cases/p01049/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..441cd54c0481460b6debcf8ce2cd158acfd170f6
--- /dev/null
+++ b/public_test_cases/p01049/input.1.txt
@@ -0,0 +1,8 @@
+6
+5 5
+4
+0 1 2
+1 1 2
+0 4 1
+1 1 6
+3
diff --git a/public_test_cases/p01049/input.2.txt b/public_test_cases/p01049/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..806dc2531e4f939d8117e86987fb85bb9af9f4bb
--- /dev/null
+++ b/public_test_cases/p01049/input.2.txt
@@ -0,0 +1,7 @@
+5
+2 3
+3
+0 2 5
+0 3 5
+1 2 4
+2
diff --git a/public_test_cases/p01049/output.0.txt b/public_test_cases/p01049/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01049/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01049/output.1.txt b/public_test_cases/p01049/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01049/output.1.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01049/output.2.txt b/public_test_cases/p01049/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01049/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01050/input.0.txt b/public_test_cases/p01050/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7bd7af3062fd4ddf5ecec42c19213487bea7d3a
--- /dev/null
+++ b/public_test_cases/p01050/input.0.txt
@@ -0,0 +1 @@
+0ig3he12fz99
diff --git a/public_test_cases/p01050/input.1.txt b/public_test_cases/p01050/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7bd7af3062fd4ddf5ecec42c19213487bea7d3a
--- /dev/null
+++ b/public_test_cases/p01050/input.1.txt
@@ -0,0 +1 @@
+0ig3he12fz99
diff --git a/public_test_cases/p01050/input.2.txt b/public_test_cases/p01050/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c4af41619703a4d59e8a45db2a60984f91179bb
--- /dev/null
+++ b/public_test_cases/p01050/input.2.txt
@@ -0,0 +1 @@
+1122334455
diff --git a/public_test_cases/p01050/output.0.txt b/public_test_cases/p01050/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01050/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01050/output.1.txt b/public_test_cases/p01050/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01050/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01050/output.2.txt b/public_test_cases/p01050/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01050/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01051/input.0.txt b/public_test_cases/p01051/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..584fd19e3af5c74d5d52822172195fe804175438
--- /dev/null
+++ b/public_test_cases/p01051/input.0.txt
@@ -0,0 +1,6 @@
+5 5
+S....
+.....
+.....
+.....
+....G
diff --git a/public_test_cases/p01051/input.1.txt b/public_test_cases/p01051/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aedcf17287086c28f66dcc571c7e6288b920c7e0
--- /dev/null
+++ b/public_test_cases/p01051/input.1.txt
@@ -0,0 +1,5 @@
+4 5
+S#...
+.#.#.
+.#.#.
+...#G
diff --git a/public_test_cases/p01051/input.2.txt b/public_test_cases/p01051/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..311267d82d0252dd15cbf2630fa62519298e1549
--- /dev/null
+++ b/public_test_cases/p01051/input.2.txt
@@ -0,0 +1,6 @@
+5 5
+Sxxxx
+xxxxx
+xxxxx
+xxxxx
+xxxxG
diff --git a/public_test_cases/p01051/input.3.txt b/public_test_cases/p01051/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..855248f11974e109237a8b9178ab8d4bae352d51
--- /dev/null
+++ b/public_test_cases/p01051/input.3.txt
@@ -0,0 +1,5 @@
+4 5
+S#ooo
+o#o#o
+o#o#o
+ooo#G
diff --git a/public_test_cases/p01051/input.4.txt b/public_test_cases/p01051/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..584fd19e3af5c74d5d52822172195fe804175438
--- /dev/null
+++ b/public_test_cases/p01051/input.4.txt
@@ -0,0 +1,6 @@
+5 5
+S....
+.....
+.....
+.....
+....G
diff --git a/public_test_cases/p01051/input.5.txt b/public_test_cases/p01051/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f649e22ea471a429828c2cb6cfab017b2e2477c
--- /dev/null
+++ b/public_test_cases/p01051/input.5.txt
@@ -0,0 +1,5 @@
+4 5
+G####
+ooxoo
+x#o
+Soooo
diff --git a/public_test_cases/p01051/output.0.txt b/public_test_cases/p01051/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01051/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01051/output.1.txt b/public_test_cases/p01051/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p01051/output.1.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p01051/output.2.txt b/public_test_cases/p01051/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01051/output.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01051/output.3.txt b/public_test_cases/p01051/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01051/output.3.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01051/output.4.txt b/public_test_cases/p01051/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01051/output.4.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01051/output.5.txt b/public_test_cases/p01051/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01051/output.5.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01052/input.0.txt b/public_test_cases/p01052/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b09859e0dc2f624b91ff09b77719da7b7747db47
--- /dev/null
+++ b/public_test_cases/p01052/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 31
+2 2
+2 3
+3 3
diff --git a/public_test_cases/p01052/input.1.txt b/public_test_cases/p01052/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b09859e0dc2f624b91ff09b77719da7b7747db47
--- /dev/null
+++ b/public_test_cases/p01052/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 31
+2 2
+2 3
+3 3
diff --git a/public_test_cases/p01052/input.2.txt b/public_test_cases/p01052/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba40e6bf70aa48ef6f3e9b8c2afc301cfa8e1c92
--- /dev/null
+++ b/public_test_cases/p01052/input.2.txt
@@ -0,0 +1,6 @@
+5
+1 10
+10 20
+20 21
+22 31
+4 20
diff --git a/public_test_cases/p01052/output.0.txt b/public_test_cases/p01052/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9eea8f079dcc914d9ddbaf169fc05433d03a862
--- /dev/null
+++ b/public_test_cases/p01052/output.0.txt
@@ -0,0 +1 @@
+1700
diff --git a/public_test_cases/p01052/output.1.txt b/public_test_cases/p01052/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9eea8f079dcc914d9ddbaf169fc05433d03a862
--- /dev/null
+++ b/public_test_cases/p01052/output.1.txt
@@ -0,0 +1 @@
+1700
diff --git a/public_test_cases/p01052/output.2.txt b/public_test_cases/p01052/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb08106db05e908c6bca41665d2f6d746dd9f9ac
--- /dev/null
+++ b/public_test_cases/p01052/output.2.txt
@@ -0,0 +1 @@
+1800
diff --git a/public_test_cases/p01053/input.0.txt b/public_test_cases/p01053/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e02b3fef23a3b1de39ae093f2d039150b86d45d9
--- /dev/null
+++ b/public_test_cases/p01053/input.0.txt
@@ -0,0 +1,11 @@
+6 3 1 10
+0 1 0
+0 2 0
+0 3 0
+1 3 3
+0 2 1
+2 2 2
+2 3 2
+2 2 0
+1 1 1
+2 2 1
diff --git a/public_test_cases/p01053/input.1.txt b/public_test_cases/p01053/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e02b3fef23a3b1de39ae093f2d039150b86d45d9
--- /dev/null
+++ b/public_test_cases/p01053/input.1.txt
@@ -0,0 +1,11 @@
+6 3 1 10
+0 1 0
+0 2 0
+0 3 0
+1 3 3
+0 2 1
+2 2 2
+2 3 2
+2 2 0
+1 1 1
+2 2 1
diff --git a/public_test_cases/p01053/output.0.txt b/public_test_cases/p01053/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8120fd0948e74c7095d0df823d8b41920fb0ba5a
--- /dev/null
+++ b/public_test_cases/p01053/output.0.txt
@@ -0,0 +1,10 @@
+1
+3
+9
+9
+0
+3
+9
+3
+1
+0
diff --git a/public_test_cases/p01053/output.1.txt b/public_test_cases/p01053/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8120fd0948e74c7095d0df823d8b41920fb0ba5a
--- /dev/null
+++ b/public_test_cases/p01053/output.1.txt
@@ -0,0 +1,10 @@
+1
+3
+9
+9
+0
+3
+9
+3
+1
+0
diff --git a/public_test_cases/p01054/input.0.txt b/public_test_cases/p01054/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdce47caa488b8cd3ce07fa99d9816b98b6227d5
--- /dev/null
+++ b/public_test_cases/p01054/input.0.txt
@@ -0,0 +1,3 @@
+3
+abc
+xyz
diff --git a/public_test_cases/p01054/input.1.txt b/public_test_cases/p01054/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdce47caa488b8cd3ce07fa99d9816b98b6227d5
--- /dev/null
+++ b/public_test_cases/p01054/input.1.txt
@@ -0,0 +1,3 @@
+3
+abc
+xyz
diff --git a/public_test_cases/p01054/input.2.txt b/public_test_cases/p01054/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..381fb646ab6394cda36ba8491c6f0cfa3b101648
--- /dev/null
+++ b/public_test_cases/p01054/input.2.txt
@@ -0,0 +1,3 @@
+5
+aaabb
+xyxyz
diff --git a/public_test_cases/p01054/output.0.txt b/public_test_cases/p01054/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01054/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01054/output.1.txt b/public_test_cases/p01054/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01054/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01054/output.2.txt b/public_test_cases/p01054/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01054/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01055/input.0.txt b/public_test_cases/p01055/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e2eb69ade31b1a42ac539bd27c43f679ec8cde1
--- /dev/null
+++ b/public_test_cases/p01055/input.0.txt
@@ -0,0 +1,3 @@
+2 2 1
+2 1
+3 1 1 1 2 2 2
diff --git a/public_test_cases/p01055/input.1.txt b/public_test_cases/p01055/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94c25c1e6cd549c108dfaa9a11416b53e4a0277a
--- /dev/null
+++ b/public_test_cases/p01055/input.1.txt
@@ -0,0 +1,3 @@
+3 3 1
+2 2
+2 2 2 2 1
diff --git a/public_test_cases/p01055/input.2.txt b/public_test_cases/p01055/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e0e4e31c7ea0080bd1c2fe7c7913de1bb4e1f50
--- /dev/null
+++ b/public_test_cases/p01055/input.2.txt
@@ -0,0 +1,3 @@
+2 2 1
+2 1
+2 1 1 1 2
diff --git a/public_test_cases/p01055/input.3.txt b/public_test_cases/p01055/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e2eb69ade31b1a42ac539bd27c43f679ec8cde1
--- /dev/null
+++ b/public_test_cases/p01055/input.3.txt
@@ -0,0 +1,3 @@
+2 2 1
+2 1
+3 1 1 1 2 2 2
diff --git a/public_test_cases/p01055/input.4.txt b/public_test_cases/p01055/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b62ebe736a0af50db20c86eaf420e6e206803007
--- /dev/null
+++ b/public_test_cases/p01055/input.4.txt
@@ -0,0 +1,4 @@
+3 3 2
+1 3
+3 2 3 2 2 2 1
+5 2 1 1 1 1 2 2 2 3 2
diff --git a/public_test_cases/p01055/output.0.txt b/public_test_cases/p01055/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01055/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01055/output.1.txt b/public_test_cases/p01055/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01055/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01055/output.2.txt b/public_test_cases/p01055/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01055/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01055/output.3.txt b/public_test_cases/p01055/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01055/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01055/output.4.txt b/public_test_cases/p01055/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01055/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01056/input.0.txt b/public_test_cases/p01056/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44d5f0a71e160542eb308030eaad6ca0ef61c482
--- /dev/null
+++ b/public_test_cases/p01056/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+0 4
diff --git a/public_test_cases/p01056/input.1.txt b/public_test_cases/p01056/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..345e7cc849aa3f48d25485c523ec1540cfc24e2d
--- /dev/null
+++ b/public_test_cases/p01056/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+2 2
+2 3
diff --git a/public_test_cases/p01056/input.2.txt b/public_test_cases/p01056/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44d5f0a71e160542eb308030eaad6ca0ef61c482
--- /dev/null
+++ b/public_test_cases/p01056/input.2.txt
@@ -0,0 +1,2 @@
+3 1
+0 4
diff --git a/public_test_cases/p01056/output.0.txt b/public_test_cases/p01056/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p01056/output.0.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p01056/output.1.txt b/public_test_cases/p01056/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01056/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01056/output.2.txt b/public_test_cases/p01056/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p01056/output.2.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p01057/input.0.txt b/public_test_cases/p01057/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d06614baffc45ad967d4769e655e34d89a772af
--- /dev/null
+++ b/public_test_cases/p01057/input.0.txt
@@ -0,0 +1,4 @@
+2 1
+abcd
+efgh
+1 1 2 2 3
diff --git a/public_test_cases/p01057/input.1.txt b/public_test_cases/p01057/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d06614baffc45ad967d4769e655e34d89a772af
--- /dev/null
+++ b/public_test_cases/p01057/input.1.txt
@@ -0,0 +1,4 @@
+2 1
+abcd
+efgh
+1 1 2 2 3
diff --git a/public_test_cases/p01057/input.2.txt b/public_test_cases/p01057/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d89bec949d654e241b6033023236b65b4ab32dd
--- /dev/null
+++ b/public_test_cases/p01057/input.2.txt
@@ -0,0 +1,6 @@
+2 3
+abcd
+efgh
+1 1 2 2 3
+2 1 3 x
+2 2 4 x
diff --git a/public_test_cases/p01057/input.3.txt b/public_test_cases/p01057/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..180ffeb84e027cd3218d0ba528fa5f5d1586d868
--- /dev/null
+++ b/public_test_cases/p01057/input.3.txt
@@ -0,0 +1,21 @@
+10 10
+sjcvpauokb
+fmeaowomscy
+sepeqqfcosrjmonfsv
+zapc
+aromazjzqoeiqswvcaf
+clifpa
+dusudcz
+qeqdzdtdzlkhc
+gkpsjvdvadmf
+xrtyxnkolluagwxp
+1 4 4 6 3
+1 7 1 8 1
+2 2 6 o
+1 4 4 3 7
+2 1 2 i
+1 6 3 3 2
+1 6 5 1 9
+2 10 9 j
+1 2 2 7 3
+2 3 2 b
diff --git a/public_test_cases/p01057/output.0.txt b/public_test_cases/p01057/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..615c145e1d4214cacfa3db0740bc484eb42395a2
--- /dev/null
+++ b/public_test_cases/p01057/output.0.txt
@@ -0,0 +1,2 @@
+agh
+efbcd
diff --git a/public_test_cases/p01057/output.1.txt b/public_test_cases/p01057/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..615c145e1d4214cacfa3db0740bc484eb42395a2
--- /dev/null
+++ b/public_test_cases/p01057/output.1.txt
@@ -0,0 +1,2 @@
+agh
+efbcd
diff --git a/public_test_cases/p01057/output.2.txt b/public_test_cases/p01057/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96edd04f7eed331e0972adee33c1b4945bf3d311
--- /dev/null
+++ b/public_test_cases/p01057/output.2.txt
@@ -0,0 +1,2 @@
+agx
+efbxd
diff --git a/public_test_cases/p01057/output.3.txt b/public_test_cases/p01057/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc333a7547a9cdcc38ee271f0ebfb344e5308e36
--- /dev/null
+++ b/public_test_cases/p01057/output.3.txt
@@ -0,0 +1,10 @@
+sicvpauoeqqifpa
+fqdzdtdzlkhc
+sb
+zapfcosrjmonfsv
+aromazjzqoeiqswvcaf
+clepkb
+qemeaooomscy
+dusudcz
+gkpsjvdvadmf
+xrtyxnkojluagwxp
diff --git a/public_test_cases/p01058/input.0.txt b/public_test_cases/p01058/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0008eb3f6e552b4c1490e57e83fc6760ac9ba2d
--- /dev/null
+++ b/public_test_cases/p01058/input.0.txt
@@ -0,0 +1 @@
+2 2 0 0 0 1
diff --git a/public_test_cases/p01058/input.1.txt b/public_test_cases/p01058/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0008eb3f6e552b4c1490e57e83fc6760ac9ba2d
--- /dev/null
+++ b/public_test_cases/p01058/input.1.txt
@@ -0,0 +1 @@
+2 2 0 0 0 1
diff --git a/public_test_cases/p01058/input.2.txt b/public_test_cases/p01058/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a736c77baffd0d8deff9bacc9e5772c6b3b7d287
--- /dev/null
+++ b/public_test_cases/p01058/input.2.txt
@@ -0,0 +1 @@
+3 2 1 0 0 0
diff --git a/public_test_cases/p01058/output.0.txt b/public_test_cases/p01058/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01058/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01058/output.1.txt b/public_test_cases/p01058/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01058/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01058/output.2.txt b/public_test_cases/p01058/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01058/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01059/input.0.txt b/public_test_cases/p01059/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01e1eb3dc73c7c5ad813adbcec6427b9aaf0a39a
--- /dev/null
+++ b/public_test_cases/p01059/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+1 3
diff --git a/public_test_cases/p01059/input.1.txt b/public_test_cases/p01059/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d082dc5970808de0259d6425d901708b602e4d18
--- /dev/null
+++ b/public_test_cases/p01059/input.1.txt
@@ -0,0 +1,2 @@
+10 3
+2 5 7
diff --git a/public_test_cases/p01059/input.2.txt b/public_test_cases/p01059/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d5e12a89a8834ce635d71bc7831890e6693a4e7
--- /dev/null
+++ b/public_test_cases/p01059/input.2.txt
@@ -0,0 +1,2 @@
+100000 1
+1
diff --git a/public_test_cases/p01059/input.3.txt b/public_test_cases/p01059/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4f52b8f6461d406437886ebf9379e46b51778fb
--- /dev/null
+++ b/public_test_cases/p01059/input.3.txt
@@ -0,0 +1,2 @@
+10 5
+2 5 6 8 10
diff --git a/public_test_cases/p01059/input.4.txt b/public_test_cases/p01059/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01e1eb3dc73c7c5ad813adbcec6427b9aaf0a39a
--- /dev/null
+++ b/public_test_cases/p01059/input.4.txt
@@ -0,0 +1,2 @@
+3 2
+1 3
diff --git a/public_test_cases/p01059/output.0.txt b/public_test_cases/p01059/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01059/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01059/output.1.txt b/public_test_cases/p01059/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01059/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01059/output.2.txt b/public_test_cases/p01059/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90ef1ea404f5aeb59bc233448c4e724c91f3fff8
--- /dev/null
+++ b/public_test_cases/p01059/output.2.txt
@@ -0,0 +1 @@
+99999
diff --git a/public_test_cases/p01059/output.3.txt b/public_test_cases/p01059/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01059/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01059/output.4.txt b/public_test_cases/p01059/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01059/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01060/input.0.txt b/public_test_cases/p01060/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03ae260cff4af88bed167ec100f62e084bdb46ee
--- /dev/null
+++ b/public_test_cases/p01060/input.0.txt
@@ -0,0 +1,3 @@
+11 11
+5
+0 0 0 0 0
diff --git a/public_test_cases/p01060/input.1.txt b/public_test_cases/p01060/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03ae260cff4af88bed167ec100f62e084bdb46ee
--- /dev/null
+++ b/public_test_cases/p01060/input.1.txt
@@ -0,0 +1,3 @@
+11 11
+5
+0 0 0 0 0
diff --git a/public_test_cases/p01060/input.2.txt b/public_test_cases/p01060/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2993a5a2495cbb9c874d1ef02acaf4feddf2c01c
--- /dev/null
+++ b/public_test_cases/p01060/input.2.txt
@@ -0,0 +1,3 @@
+11 11
+5
+0 0 1 1 1
diff --git a/public_test_cases/p01060/output.0.txt b/public_test_cases/p01060/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01060/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01060/output.1.txt b/public_test_cases/p01060/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01060/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01060/output.2.txt b/public_test_cases/p01060/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01060/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01061/input.0.txt b/public_test_cases/p01061/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fa34b26edbf5a028e89c0ad87b196b184ac114a
--- /dev/null
+++ b/public_test_cases/p01061/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+1 2
diff --git a/public_test_cases/p01061/input.1.txt b/public_test_cases/p01061/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2310894e6580b3c491ef5a783bbc55ea17774df
--- /dev/null
+++ b/public_test_cases/p01061/input.1.txt
@@ -0,0 +1,3 @@
+4 2
+1 4
+2 3
diff --git a/public_test_cases/p01061/input.2.txt b/public_test_cases/p01061/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e846a7c6282b3642ed86ac23209829f4a4a48586
--- /dev/null
+++ b/public_test_cases/p01061/input.2.txt
@@ -0,0 +1 @@
+5 0
diff --git a/public_test_cases/p01061/input.3.txt b/public_test_cases/p01061/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75655a92a759224497f519a03cd42cfcd806ba1b
--- /dev/null
+++ b/public_test_cases/p01061/input.3.txt
@@ -0,0 +1,6 @@
+10 5
+3 4
+1 2
+9 6
+2 6
+2 9
diff --git a/public_test_cases/p01061/input.4.txt b/public_test_cases/p01061/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fa34b26edbf5a028e89c0ad87b196b184ac114a
--- /dev/null
+++ b/public_test_cases/p01061/input.4.txt
@@ -0,0 +1,2 @@
+3 1
+1 2
diff --git a/public_test_cases/p01061/input.5.txt b/public_test_cases/p01061/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57b9c358b596a57fe065011680d481a8d16e7691
--- /dev/null
+++ b/public_test_cases/p01061/input.5.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01061/input.6.txt b/public_test_cases/p01061/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p01061/input.6.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p01061/input.7.txt b/public_test_cases/p01061/input.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2541fa8c8f4122ab63ae35baf61e4f58826c484
--- /dev/null
+++ b/public_test_cases/p01061/input.7.txt
@@ -0,0 +1,5 @@
+5 4
+1 2
+2 3
+3 4
+4 5
diff --git a/public_test_cases/p01061/output.0.txt b/public_test_cases/p01061/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01061/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01061/output.1.txt b/public_test_cases/p01061/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01061/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01061/output.2.txt b/public_test_cases/p01061/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01061/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01061/output.3.txt b/public_test_cases/p01061/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01061/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01061/output.4.txt b/public_test_cases/p01061/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01061/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01061/output.5.txt b/public_test_cases/p01061/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01061/output.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01061/output.6.txt b/public_test_cases/p01061/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01061/output.6.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01061/output.7.txt b/public_test_cases/p01061/output.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01061/output.7.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01062/input.0.txt b/public_test_cases/p01062/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..629655e7d3be0789a713920d65d98e399e909085
--- /dev/null
+++ b/public_test_cases/p01062/input.0.txt
@@ -0,0 +1,4 @@
+4 1 4
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p01062/input.1.txt b/public_test_cases/p01062/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44cd3f9b8eac52defdc6fc48ed7635d8db3660fc
--- /dev/null
+++ b/public_test_cases/p01062/input.1.txt
@@ -0,0 +1,4 @@
+4 2 3
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p01062/input.2.txt b/public_test_cases/p01062/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e1b74484c8adbf26268723de13a3a8b0cf954fa
--- /dev/null
+++ b/public_test_cases/p01062/input.2.txt
@@ -0,0 +1,6 @@
+6 1 5
+1 2
+1 4
+2 3
+4 5
+3 6
diff --git a/public_test_cases/p01062/input.3.txt b/public_test_cases/p01062/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43a4fb333b43a38cacb630fa1a688c64d7197f31
--- /dev/null
+++ b/public_test_cases/p01062/input.3.txt
@@ -0,0 +1,8 @@
+8 3 6
+1 2
+2 4
+3 4
+4 5
+5 6
+6 7
+7 8
diff --git a/public_test_cases/p01062/input.4.txt b/public_test_cases/p01062/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..629655e7d3be0789a713920d65d98e399e909085
--- /dev/null
+++ b/public_test_cases/p01062/input.4.txt
@@ -0,0 +1,4 @@
+4 1 4
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p01062/output.0.txt b/public_test_cases/p01062/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01062/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01062/output.1.txt b/public_test_cases/p01062/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01062/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01062/output.2.txt b/public_test_cases/p01062/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01062/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01062/output.3.txt b/public_test_cases/p01062/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01062/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01062/output.4.txt b/public_test_cases/p01062/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01062/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01063/input.0.txt b/public_test_cases/p01063/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5cb7437c2f62713a090322f8f157aaea959cc21
--- /dev/null
+++ b/public_test_cases/p01063/input.0.txt
@@ -0,0 +1,3 @@
+3
+0 0 0
+1 2 2
diff --git a/public_test_cases/p01063/input.1.txt b/public_test_cases/p01063/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4cee505bdd0d9ba3c94e75d1d0c2f7227c1452a4
--- /dev/null
+++ b/public_test_cases/p01063/input.1.txt
@@ -0,0 +1,3 @@
+3
+0 0 0
+0 0 2
diff --git a/public_test_cases/p01063/input.2.txt b/public_test_cases/p01063/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5cb7437c2f62713a090322f8f157aaea959cc21
--- /dev/null
+++ b/public_test_cases/p01063/input.2.txt
@@ -0,0 +1,3 @@
+3
+0 0 0
+1 2 2
diff --git a/public_test_cases/p01063/output.0.txt b/public_test_cases/p01063/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01063/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01063/output.1.txt b/public_test_cases/p01063/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01063/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01063/output.2.txt b/public_test_cases/p01063/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01063/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01064/input.0.txt b/public_test_cases/p01064/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4378ea45ea06e1509b7d21fb81f5a7e3f40603ad
--- /dev/null
+++ b/public_test_cases/p01064/input.0.txt
@@ -0,0 +1,7 @@
+4
+2 1
+3
+0 1 2
+1 1 4
+2 2 4
+3
diff --git a/public_test_cases/p01064/input.1.txt b/public_test_cases/p01064/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f16755edb69d29e4b5c1708956feb850a7763f5
--- /dev/null
+++ b/public_test_cases/p01064/input.1.txt
@@ -0,0 +1,7 @@
+5
+1 2
+3
+1 2 3
+2 3 5
+0 1 5
+1
diff --git a/public_test_cases/p01064/input.2.txt b/public_test_cases/p01064/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4378ea45ea06e1509b7d21fb81f5a7e3f40603ad
--- /dev/null
+++ b/public_test_cases/p01064/input.2.txt
@@ -0,0 +1,7 @@
+4
+2 1
+3
+0 1 2
+1 1 4
+2 2 4
+3
diff --git a/public_test_cases/p01064/output.0.txt b/public_test_cases/p01064/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01064/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01064/output.1.txt b/public_test_cases/p01064/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01064/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01064/output.2.txt b/public_test_cases/p01064/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01064/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01065/input.0.txt b/public_test_cases/p01065/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ffa7bf56300dcf55d673632c6f82c0f40885723
--- /dev/null
+++ b/public_test_cases/p01065/input.0.txt
@@ -0,0 +1,5 @@
+3
+3 3
+3 2 4 1
+5 1 2 1
+3 1 3 2
diff --git a/public_test_cases/p01065/input.1.txt b/public_test_cases/p01065/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1cf4b0aa44d8ad06c4b25bd70b4bc640428d8075
--- /dev/null
+++ b/public_test_cases/p01065/input.1.txt
@@ -0,0 +1,6 @@
+4
+5 0
+5 1 1 1
+2 1 2 1
+4 1 1 1
+3 1 3 1
diff --git a/public_test_cases/p01065/input.2.txt b/public_test_cases/p01065/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ffa7bf56300dcf55d673632c6f82c0f40885723
--- /dev/null
+++ b/public_test_cases/p01065/input.2.txt
@@ -0,0 +1,5 @@
+3
+3 3
+3 2 4 1
+5 1 2 1
+3 1 3 2
diff --git a/public_test_cases/p01065/input.3.txt b/public_test_cases/p01065/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9dae2db87f8808795d3c23f3d3b4758be9966614
--- /dev/null
+++ b/public_test_cases/p01065/input.3.txt
@@ -0,0 +1,5 @@
+3
+3 4
+3 1 3 1
+3 1 4 1
+3 1 2 1
diff --git a/public_test_cases/p01065/input.4.txt b/public_test_cases/p01065/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2a09bcdaa469ddc9c7c4c77f0efcf1025f18133
--- /dev/null
+++ b/public_test_cases/p01065/input.4.txt
@@ -0,0 +1,6 @@
+4
+0 0
+1 10 1 10
+2 5 2 5
+3 25 5 6
+1 15 2 20
diff --git a/public_test_cases/p01065/output.0.txt b/public_test_cases/p01065/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01065/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01065/output.1.txt b/public_test_cases/p01065/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01065/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01065/output.2.txt b/public_test_cases/p01065/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01065/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01065/output.3.txt b/public_test_cases/p01065/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01065/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01065/output.4.txt b/public_test_cases/p01065/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01065/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01066/input.0.txt b/public_test_cases/p01066/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea858fa58f0a5657638c17a89379c3474218e764
--- /dev/null
+++ b/public_test_cases/p01066/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0
+0 1
+1 0
diff --git a/public_test_cases/p01066/input.1.txt b/public_test_cases/p01066/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c027162d921993a5ec30c1fba0edbfc43e972690
--- /dev/null
+++ b/public_test_cases/p01066/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 0
+0 1
+0 2
+0 3
diff --git a/public_test_cases/p01066/input.2.txt b/public_test_cases/p01066/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea858fa58f0a5657638c17a89379c3474218e764
--- /dev/null
+++ b/public_test_cases/p01066/input.2.txt
@@ -0,0 +1,4 @@
+3
+0 0
+0 1
+1 0
diff --git a/public_test_cases/p01066/output.0.txt b/public_test_cases/p01066/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01066/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01066/output.1.txt b/public_test_cases/p01066/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01066/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01066/output.2.txt b/public_test_cases/p01066/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01066/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01067/input.0.txt b/public_test_cases/p01067/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fa6faeda85b79030b0ccef36f5e393bc3fbaa8c
--- /dev/null
+++ b/public_test_cases/p01067/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0 2
+3 3 1
+6 1 1
diff --git a/public_test_cases/p01067/input.1.txt b/public_test_cases/p01067/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d67bed923816600c6afc67fbe615bac3f6ebf91
--- /dev/null
+++ b/public_test_cases/p01067/input.1.txt
@@ -0,0 +1,6 @@
+5
+0 0 5
+0 10 1
+10 0 1
+-10 0 1
+0 -10 1
diff --git a/public_test_cases/p01067/input.2.txt b/public_test_cases/p01067/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28747460b143dfaeb3711227cabb9c25d4492c0c
--- /dev/null
+++ b/public_test_cases/p01067/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 2 3
+12 2 2
+7 6 2
+1 9 3
diff --git a/public_test_cases/p01067/input.3.txt b/public_test_cases/p01067/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fa6faeda85b79030b0ccef36f5e393bc3fbaa8c
--- /dev/null
+++ b/public_test_cases/p01067/input.3.txt
@@ -0,0 +1,4 @@
+3
+0 0 2
+3 3 1
+6 1 1
diff --git a/public_test_cases/p01067/output.0.txt b/public_test_cases/p01067/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01067/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01067/output.1.txt b/public_test_cases/p01067/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01067/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01067/output.2.txt b/public_test_cases/p01067/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01067/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01067/output.3.txt b/public_test_cases/p01067/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01067/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01068/input.0.txt b/public_test_cases/p01068/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..889b446b2a61af35eb3faffade49fbddecbbcbca
--- /dev/null
+++ b/public_test_cases/p01068/input.0.txt
@@ -0,0 +1,4 @@
+2 1
+0 0 1
+0 1 0
+0
diff --git a/public_test_cases/p01068/input.1.txt b/public_test_cases/p01068/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9163fae5e18aeb09cacebd164d4cfbcb22b84cb3
--- /dev/null
+++ b/public_test_cases/p01068/input.1.txt
@@ -0,0 +1,13 @@
+6 6
+0 1 5
+1 1 1
+0 1 5
+0 2 1
+0 5 1
+1 5 5
+0
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p01068/input.2.txt b/public_test_cases/p01068/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..889b446b2a61af35eb3faffade49fbddecbbcbca
--- /dev/null
+++ b/public_test_cases/p01068/input.2.txt
@@ -0,0 +1,4 @@
+2 1
+0 0 1
+0 1 0
+0
diff --git a/public_test_cases/p01068/output.0.txt b/public_test_cases/p01068/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01068/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01068/output.1.txt b/public_test_cases/p01068/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..880ebd048330c374e8b01d539e1d3e8a9adbe166
--- /dev/null
+++ b/public_test_cases/p01068/output.1.txt
@@ -0,0 +1,6 @@
+3
+2
+3
+1
+3
+2
diff --git a/public_test_cases/p01068/output.2.txt b/public_test_cases/p01068/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01068/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01069/input.0.txt b/public_test_cases/p01069/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b4be63c8ac4934b5fa31db03d4e725075a564e
--- /dev/null
+++ b/public_test_cases/p01069/input.0.txt
@@ -0,0 +1,4 @@
+3 3 1
+1 2 3
+3 1 2
+3
diff --git a/public_test_cases/p01069/input.1.txt b/public_test_cases/p01069/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b4be63c8ac4934b5fa31db03d4e725075a564e
--- /dev/null
+++ b/public_test_cases/p01069/input.1.txt
@@ -0,0 +1,4 @@
+3 3 1
+1 2 3
+3 1 2
+3
diff --git a/public_test_cases/p01069/input.2.txt b/public_test_cases/p01069/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ff387dbde98245c64c8dae925de883850e8b2ec
--- /dev/null
+++ b/public_test_cases/p01069/input.2.txt
@@ -0,0 +1,5 @@
+5 4 2
+1 2 3 4 5
+2 2 2 2
+11
+12
diff --git a/public_test_cases/p01069/output.0.txt b/public_test_cases/p01069/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01069/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01069/output.1.txt b/public_test_cases/p01069/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01069/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01069/output.2.txt b/public_test_cases/p01069/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b94473479cd96f84ea5fdd389a9f4f9d3786b8c1
--- /dev/null
+++ b/public_test_cases/p01069/output.2.txt
@@ -0,0 +1,2 @@
+3
+4
diff --git a/public_test_cases/p01070/input.0.txt b/public_test_cases/p01070/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..036d3873a2e6ba15c4a1d4bd894d5e2376bc3379
--- /dev/null
+++ b/public_test_cases/p01070/input.0.txt
@@ -0,0 +1,6 @@
+rupcrupc 5
+0 3 rupc
+0 7 rupc
+2 7 ru
+2 7 pc
+1 5 u
diff --git a/public_test_cases/p01070/input.1.txt b/public_test_cases/p01070/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b15721aa2b3a152af5eb963c9c4d99f04402e748
--- /dev/null
+++ b/public_test_cases/p01070/input.1.txt
@@ -0,0 +1,6 @@
+aaaaaaaaaa 5
+0 9 aaa
+0 9 aa
+5 9 aaaa
+2 8 aa
+1 2 a
diff --git a/public_test_cases/p01070/input.2.txt b/public_test_cases/p01070/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..036d3873a2e6ba15c4a1d4bd894d5e2376bc3379
--- /dev/null
+++ b/public_test_cases/p01070/input.2.txt
@@ -0,0 +1,6 @@
+rupcrupc 5
+0 3 rupc
+0 7 rupc
+2 7 ru
+2 7 pc
+1 5 u
diff --git a/public_test_cases/p01070/input.3.txt b/public_test_cases/p01070/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ea84e3c8f59e6e585542cab9d98775de8a2fa96
--- /dev/null
+++ b/public_test_cases/p01070/input.3.txt
@@ -0,0 +1,9 @@
+abatagaadbura 8
+0 6 a
+6 12 a
+0 6 aa
+0 3 a
+3 5 a
+5 9 a
+1 8 b
+1 12 b
diff --git a/public_test_cases/p01070/output.0.txt b/public_test_cases/p01070/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..128dde7896d82e5bf2d86ff8e526f848808c91c4
--- /dev/null
+++ b/public_test_cases/p01070/output.0.txt
@@ -0,0 +1,5 @@
+1
+2
+1
+2
+2
diff --git a/public_test_cases/p01070/output.1.txt b/public_test_cases/p01070/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..211598b9afbef02dbc65c64a1d678d2381cc4de8
--- /dev/null
+++ b/public_test_cases/p01070/output.1.txt
@@ -0,0 +1,5 @@
+8
+9
+2
+6
+2
diff --git a/public_test_cases/p01070/output.2.txt b/public_test_cases/p01070/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..128dde7896d82e5bf2d86ff8e526f848808c91c4
--- /dev/null
+++ b/public_test_cases/p01070/output.2.txt
@@ -0,0 +1,5 @@
+1
+2
+1
+2
+2
diff --git a/public_test_cases/p01070/output.3.txt b/public_test_cases/p01070/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5a7202b7ab42d40baa7ce09bde51f3a07afc2c2
--- /dev/null
+++ b/public_test_cases/p01070/output.3.txt
@@ -0,0 +1,8 @@
+4
+3
+0
+2
+1
+2
+1
+2
diff --git a/public_test_cases/p01071/input.0.txt b/public_test_cases/p01071/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09389fe17b1a95d21a245a7164fd54a52d2f1b7a
--- /dev/null
+++ b/public_test_cases/p01071/input.0.txt
@@ -0,0 +1,7 @@
+5 4
+5
+1 1 3 3
+3 2 4 2
+4 3 5 4
+1 4 5 4
+4 1 4 1
diff --git a/public_test_cases/p01071/input.1.txt b/public_test_cases/p01071/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09389fe17b1a95d21a245a7164fd54a52d2f1b7a
--- /dev/null
+++ b/public_test_cases/p01071/input.1.txt
@@ -0,0 +1,7 @@
+5 4
+5
+1 1 3 3
+3 2 4 2
+4 3 5 4
+1 4 5 4
+4 1 4 1
diff --git a/public_test_cases/p01071/output.0.txt b/public_test_cases/p01071/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f662d9ddfdee314291ff8eedf5d64e8c59395192
--- /dev/null
+++ b/public_test_cases/p01071/output.0.txt
@@ -0,0 +1,5 @@
+9
+9
+13
+13
+14
diff --git a/public_test_cases/p01071/output.1.txt b/public_test_cases/p01071/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f662d9ddfdee314291ff8eedf5d64e8c59395192
--- /dev/null
+++ b/public_test_cases/p01071/output.1.txt
@@ -0,0 +1,5 @@
+9
+9
+13
+13
+14
diff --git a/public_test_cases/p01072/input.0.txt b/public_test_cases/p01072/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a679e0c915ab5cdda15e732033701ccb05d014bc
--- /dev/null
+++ b/public_test_cases/p01072/input.0.txt
@@ -0,0 +1,10 @@
+3 3 3
+5
+2 0 0
+0 1 0
+1 1 1
+1 2 1
+2 2 0
+0 0 0
+0 1 0
+0 0 0
diff --git a/public_test_cases/p01072/input.1.txt b/public_test_cases/p01072/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a04d6a1c5e0d9969923e5e8f725f06a17e57609d
--- /dev/null
+++ b/public_test_cases/p01072/input.1.txt
@@ -0,0 +1,7 @@
+2 3 4
+2
+0 0 0
+1 1 3
+1 0
+0 0
+0 0
diff --git a/public_test_cases/p01072/input.2.txt b/public_test_cases/p01072/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89761367e70a6d7852168cf90d7c18fdd42a7174
--- /dev/null
+++ b/public_test_cases/p01072/input.2.txt
@@ -0,0 +1,16 @@
+3 8 6
+6
+0 4 3
+2 5 3
+0 2 3
+2 2 5
+1 1 3
+2 2 1
+1 1 1
+1 1 1
+1 1 1
+1 0 1
+0 1 1
+1 1 0
+1 0 1
+0 1 0
diff --git a/public_test_cases/p01072/input.3.txt b/public_test_cases/p01072/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d353efb79b7fcc96e1771cdea4a5d8c4c398f2a
--- /dev/null
+++ b/public_test_cases/p01072/input.3.txt
@@ -0,0 +1,12 @@
+8 3 3
+7
+0 1 1
+5 1 0
+4 0 2
+3 2 0
+3 1 1
+3 0 1
+5 1 1
+1 0 1 1 0 0 1 0
+0 0 1 1 0 1 0 1
+0 1 0 0 0 1 0 1
diff --git a/public_test_cases/p01072/input.4.txt b/public_test_cases/p01072/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a679e0c915ab5cdda15e732033701ccb05d014bc
--- /dev/null
+++ b/public_test_cases/p01072/input.4.txt
@@ -0,0 +1,10 @@
+3 3 3
+5
+2 0 0
+0 1 0
+1 1 1
+1 2 1
+2 2 0
+0 0 0
+0 1 0
+0 0 0
diff --git a/public_test_cases/p01072/output.0.txt b/public_test_cases/p01072/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01072/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01072/output.1.txt b/public_test_cases/p01072/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01072/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01072/output.2.txt b/public_test_cases/p01072/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01072/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01072/output.3.txt b/public_test_cases/p01072/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01072/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01072/output.4.txt b/public_test_cases/p01072/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01072/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01073/input.0.txt b/public_test_cases/p01073/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e508b5b3ef1a68e6e9ea837079d9fa5a8f04ab5
--- /dev/null
+++ b/public_test_cases/p01073/input.0.txt
@@ -0,0 +1,3 @@
+5 100 3
+2 3 4 5 6
+50 40 20 10 5
diff --git a/public_test_cases/p01073/input.1.txt b/public_test_cases/p01073/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e508b5b3ef1a68e6e9ea837079d9fa5a8f04ab5
--- /dev/null
+++ b/public_test_cases/p01073/input.1.txt
@@ -0,0 +1,3 @@
+5 100 3
+2 3 4 5 6
+50 40 20 10 5
diff --git a/public_test_cases/p01073/input.2.txt b/public_test_cases/p01073/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..829bf1388c8cda23a2a009ee51d8077bb14b2de0
--- /dev/null
+++ b/public_test_cases/p01073/input.2.txt
@@ -0,0 +1,3 @@
+5 100 3
+2 3 4 5 100
+50 40 20 10 1
diff --git a/public_test_cases/p01073/output.0.txt b/public_test_cases/p01073/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b1c1312820bf5617d09108d59f960ecb19cc8ac
--- /dev/null
+++ b/public_test_cases/p01073/output.0.txt
@@ -0,0 +1 @@
+280
diff --git a/public_test_cases/p01073/output.1.txt b/public_test_cases/p01073/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b1c1312820bf5617d09108d59f960ecb19cc8ac
--- /dev/null
+++ b/public_test_cases/p01073/output.1.txt
@@ -0,0 +1 @@
+280
diff --git a/public_test_cases/p01073/output.2.txt b/public_test_cases/p01073/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ce6b02d782bd9e4200abe5d3bdc752070c3c517
--- /dev/null
+++ b/public_test_cases/p01073/output.2.txt
@@ -0,0 +1 @@
+339
diff --git a/public_test_cases/p01074/input.0.txt b/public_test_cases/p01074/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99565f3385300a6100e391870aca9086168d627a
--- /dev/null
+++ b/public_test_cases/p01074/input.0.txt
@@ -0,0 +1,8 @@
+3 7 3
+0 1 1 1
+0 1 1 2
+1 1 3 4
+1 1 1 1
+1 2 1 2
+2 1 1 3
+2 2 2 1
diff --git a/public_test_cases/p01074/input.1.txt b/public_test_cases/p01074/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99565f3385300a6100e391870aca9086168d627a
--- /dev/null
+++ b/public_test_cases/p01074/input.1.txt
@@ -0,0 +1,8 @@
+3 7 3
+0 1 1 1
+0 1 1 2
+1 1 3 4
+1 1 1 1
+1 2 1 2
+2 1 1 3
+2 2 2 1
diff --git a/public_test_cases/p01074/input.2.txt b/public_test_cases/p01074/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..286830a56f8d87eef30d9540b90caa4f8c271dc2
--- /dev/null
+++ b/public_test_cases/p01074/input.2.txt
@@ -0,0 +1,11 @@
+5 10 5
+0 1 1 2
+0 2 1 2
+0 1 2 3
+1 2 1 2
+1 4 2 3
+2 1 1 1
+2 1 1 2
+3 3 2 3
+4 1 1 2
+4 2 1 2
diff --git a/public_test_cases/p01074/output.0.txt b/public_test_cases/p01074/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01074/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01074/output.1.txt b/public_test_cases/p01074/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01074/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01074/output.2.txt b/public_test_cases/p01074/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p01074/output.2.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p01075/input.0.txt b/public_test_cases/p01075/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb2f243d19d9cae5f280bbab8e7d8fd92baad6e8
--- /dev/null
+++ b/public_test_cases/p01075/input.0.txt
@@ -0,0 +1,3 @@
+3 2
+1 2 10
+2 3 20
diff --git a/public_test_cases/p01075/input.1.txt b/public_test_cases/p01075/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5e75a7e6aa042f51d5acb1a9733bc914d024cdd
--- /dev/null
+++ b/public_test_cases/p01075/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+1 2 20
+2 3 10
diff --git a/public_test_cases/p01075/input.2.txt b/public_test_cases/p01075/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18bdf2a3da9c6dadb41d5e5993f890ac46755635
--- /dev/null
+++ b/public_test_cases/p01075/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+1 2 27
+1 3 37
+2 3 47
+3 1 57
diff --git a/public_test_cases/p01075/input.3.txt b/public_test_cases/p01075/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb2f243d19d9cae5f280bbab8e7d8fd92baad6e8
--- /dev/null
+++ b/public_test_cases/p01075/input.3.txt
@@ -0,0 +1,3 @@
+3 2
+1 2 10
+2 3 20
diff --git a/public_test_cases/p01075/input.4.txt b/public_test_cases/p01075/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b764578e6c23af6e20fd2106aac0625dfa4d2f1
--- /dev/null
+++ b/public_test_cases/p01075/input.4.txt
@@ -0,0 +1,3 @@
+3 2
+1 2 10
+2 3 10
diff --git a/public_test_cases/p01075/input.5.txt b/public_test_cases/p01075/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f08786f615c2200be90d8de521893dcc302b40e8
--- /dev/null
+++ b/public_test_cases/p01075/input.5.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 13
+2 3 17
+2 3 15
diff --git a/public_test_cases/p01075/output.0.txt b/public_test_cases/p01075/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p01075/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p01075/output.1.txt b/public_test_cases/p01075/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01075/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01075/output.2.txt b/public_test_cases/p01075/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01075/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01075/output.3.txt b/public_test_cases/p01075/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p01075/output.3.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p01075/output.4.txt b/public_test_cases/p01075/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01075/output.4.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01075/output.5.txt b/public_test_cases/p01075/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p01075/output.5.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p01076/input.0.txt b/public_test_cases/p01076/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p01076/input.0.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p01076/input.1.txt b/public_test_cases/p01076/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805e7f5a05abb0767d277398dd810d64910d282f
--- /dev/null
+++ b/public_test_cases/p01076/input.1.txt
@@ -0,0 +1 @@
+4 2
diff --git a/public_test_cases/p01076/input.2.txt b/public_test_cases/p01076/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c3e36b56c13943c0b4452e45c0f58d406a76285
--- /dev/null
+++ b/public_test_cases/p01076/input.2.txt
@@ -0,0 +1 @@
+5 1
diff --git a/public_test_cases/p01076/input.3.txt b/public_test_cases/p01076/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p01076/input.3.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p01076/output.0.txt b/public_test_cases/p01076/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01076/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01076/output.1.txt b/public_test_cases/p01076/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01076/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01076/output.2.txt b/public_test_cases/p01076/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01076/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01076/output.3.txt b/public_test_cases/p01076/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01076/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01077/input.0.txt b/public_test_cases/p01077/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9254fb5e238a7cfd4ca254934d7ebeceb6a641bb
--- /dev/null
+++ b/public_test_cases/p01077/input.0.txt
@@ -0,0 +1,2 @@
+1 10
+o........@
diff --git a/public_test_cases/p01077/input.1.txt b/public_test_cases/p01077/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b8bf7fb06c09e5ffd7608fda20732691a47714c
--- /dev/null
+++ b/public_test_cases/p01077/input.1.txt
@@ -0,0 +1,4 @@
+3 6
+......
+.o..@.
+......
diff --git a/public_test_cases/p01077/input.2.txt b/public_test_cases/p01077/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcd41549dc43c5896d85ec6c9fe067a901f83753
--- /dev/null
+++ b/public_test_cases/p01077/input.2.txt
@@ -0,0 +1,7 @@
+6 4
+....
+.oo.
+.oo.
+....
+.@..
+....
diff --git a/public_test_cases/p01077/input.3.txt b/public_test_cases/p01077/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9254fb5e238a7cfd4ca254934d7ebeceb6a641bb
--- /dev/null
+++ b/public_test_cases/p01077/input.3.txt
@@ -0,0 +1,2 @@
+1 10
+o........@
diff --git a/public_test_cases/p01077/output.0.txt b/public_test_cases/p01077/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p01077/output.0.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p01077/output.1.txt b/public_test_cases/p01077/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p01077/output.1.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p01077/output.2.txt b/public_test_cases/p01077/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p01077/output.2.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p01077/output.3.txt b/public_test_cases/p01077/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p01077/output.3.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p01078/input.0.txt b/public_test_cases/p01078/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p01078/input.0.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p01078/input.1.txt b/public_test_cases/p01078/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c69a2a059f23a72f2508e7b0e321371a28eb8fb7
--- /dev/null
+++ b/public_test_cases/p01078/input.1.txt
@@ -0,0 +1 @@
+100000 3
diff --git a/public_test_cases/p01078/input.2.txt b/public_test_cases/p01078/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13786522932ed94919370205cbb84d301c1c3499
--- /dev/null
+++ b/public_test_cases/p01078/input.2.txt
@@ -0,0 +1 @@
+20 3
diff --git a/public_test_cases/p01078/input.3.txt b/public_test_cases/p01078/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f036e7ba038ea9020e90a29f669ac3db830dd66
--- /dev/null
+++ b/public_test_cases/p01078/input.3.txt
@@ -0,0 +1 @@
+7 3
diff --git a/public_test_cases/p01078/input.4.txt b/public_test_cases/p01078/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p01078/input.4.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p01078/output.0.txt b/public_test_cases/p01078/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a2e611db0f0e715f6ccae730d468da3be927d1b
--- /dev/null
+++ b/public_test_cases/p01078/output.0.txt
@@ -0,0 +1 @@
+1.12256994
diff --git a/public_test_cases/p01078/output.1.txt b/public_test_cases/p01078/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2f0ccc68873eceed7b493b7e539d6ae19f83203
--- /dev/null
+++ b/public_test_cases/p01078/output.1.txt
@@ -0,0 +1 @@
+3.14159265
diff --git a/public_test_cases/p01078/output.2.txt b/public_test_cases/p01078/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4389715ced1d7c2aec24adfdd248e6f16ffbe10f
--- /dev/null
+++ b/public_test_cases/p01078/output.2.txt
@@ -0,0 +1 @@
+2.93114293
diff --git a/public_test_cases/p01078/output.3.txt b/public_test_cases/p01078/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6e0d1df3b6acbb5ab92954d59c7b345f9777cdd
--- /dev/null
+++ b/public_test_cases/p01078/output.3.txt
@@ -0,0 +1 @@
+1.08395920
diff --git a/public_test_cases/p01078/output.4.txt b/public_test_cases/p01078/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a2e611db0f0e715f6ccae730d468da3be927d1b
--- /dev/null
+++ b/public_test_cases/p01078/output.4.txt
@@ -0,0 +1 @@
+1.12256994
diff --git a/public_test_cases/p01079/input.0.txt b/public_test_cases/p01079/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6b32806e63d65ce3478fc0f2950fb51a7dee8c3
--- /dev/null
+++ b/public_test_cases/p01079/input.0.txt
@@ -0,0 +1,6 @@
+5 4 40
+0 1 1 1 0
+1 2 5
+2 3 5
+3 4 5
+4 5 5
diff --git a/public_test_cases/p01079/input.1.txt b/public_test_cases/p01079/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7c9a9c6774af32303b3d98f27ade62a668295d3
--- /dev/null
+++ b/public_test_cases/p01079/input.1.txt
@@ -0,0 +1,6 @@
+5 4 50
+0 1 1 10 0
+1 2 10
+2 3 10
+2 4 10
+4 5 10
diff --git a/public_test_cases/p01079/input.2.txt b/public_test_cases/p01079/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6b32806e63d65ce3478fc0f2950fb51a7dee8c3
--- /dev/null
+++ b/public_test_cases/p01079/input.2.txt
@@ -0,0 +1,6 @@
+5 4 40
+0 1 1 1 0
+1 2 5
+2 3 5
+3 4 5
+4 5 5
diff --git a/public_test_cases/p01079/input.3.txt b/public_test_cases/p01079/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd2fa306c07407331410bde32ff0b2b75fb46f82
--- /dev/null
+++ b/public_test_cases/p01079/input.3.txt
@@ -0,0 +1,5 @@
+4 3 100
+0 3 1 0
+1 2 5
+2 3 30
+3 4 5
diff --git a/public_test_cases/p01079/output.0.txt b/public_test_cases/p01079/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01079/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01079/output.1.txt b/public_test_cases/p01079/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p01079/output.1.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p01079/output.2.txt b/public_test_cases/p01079/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01079/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01079/output.3.txt b/public_test_cases/p01079/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p01079/output.3.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p01080/input.0.txt b/public_test_cases/p01080/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p01080/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p01080/input.1.txt b/public_test_cases/p01080/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b002149a43b17d23d74efb6535e90c2ba0cc53ea
--- /dev/null
+++ b/public_test_cases/p01080/input.1.txt
@@ -0,0 +1,6 @@
+6
+1 2
+1 3
+3 4
+3 5
+5 6
diff --git a/public_test_cases/p01080/input.2.txt b/public_test_cases/p01080/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p01080/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p01080/output.0.txt b/public_test_cases/p01080/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p01080/output.0.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p01080/output.1.txt b/public_test_cases/p01080/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e587d298ab8fd27e4815bba1f42f347c0da5edc
--- /dev/null
+++ b/public_test_cases/p01080/output.1.txt
@@ -0,0 +1,6 @@
+7
+6
+8
+7
+7
+6
diff --git a/public_test_cases/p01080/output.2.txt b/public_test_cases/p01080/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p01080/output.2.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p01081/input.0.txt b/public_test_cases/p01081/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d73f4a01eab55c1ad6db28331e0262c69a76d7e
--- /dev/null
+++ b/public_test_cases/p01081/input.0.txt
@@ -0,0 +1 @@
+acca
diff --git a/public_test_cases/p01081/input.1.txt b/public_test_cases/p01081/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d73f4a01eab55c1ad6db28331e0262c69a76d7e
--- /dev/null
+++ b/public_test_cases/p01081/input.1.txt
@@ -0,0 +1 @@
+acca
diff --git a/public_test_cases/p01081/input.2.txt b/public_test_cases/p01081/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b4665e2a8f6fe3f9032253e7a2e86da103aebcc
--- /dev/null
+++ b/public_test_cases/p01081/input.2.txt
@@ -0,0 +1 @@
+acpcacpc
diff --git a/public_test_cases/p01081/input.3.txt b/public_test_cases/p01081/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7a4fbd9f02df7bd987d8bbfff727b9436610eea
--- /dev/null
+++ b/public_test_cases/p01081/input.3.txt
@@ -0,0 +1 @@
+aizu
diff --git a/public_test_cases/p01081/output.0.txt b/public_test_cases/p01081/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01081/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01081/output.1.txt b/public_test_cases/p01081/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01081/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01081/output.2.txt b/public_test_cases/p01081/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01081/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01081/output.3.txt b/public_test_cases/p01081/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01081/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01082/input.0.txt b/public_test_cases/p01082/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d868a6723ff8527e5c96f72c30b665fb569eaee
--- /dev/null
+++ b/public_test_cases/p01082/input.0.txt
@@ -0,0 +1,2 @@
+20 10 1
+0 0
diff --git a/public_test_cases/p01082/input.1.txt b/public_test_cases/p01082/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d868a6723ff8527e5c96f72c30b665fb569eaee
--- /dev/null
+++ b/public_test_cases/p01082/input.1.txt
@@ -0,0 +1,2 @@
+20 10 1
+0 0
diff --git a/public_test_cases/p01082/input.2.txt b/public_test_cases/p01082/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6d881751b30f4339dfa34b979b114cb95e50239
--- /dev/null
+++ b/public_test_cases/p01082/input.2.txt
@@ -0,0 +1,3 @@
+20 10 2
+0 0
+17 5
diff --git a/public_test_cases/p01082/input.3.txt b/public_test_cases/p01082/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd2fc7b06d0f05196270ed7671ce5811ff250ea3
--- /dev/null
+++ b/public_test_cases/p01082/input.3.txt
@@ -0,0 +1,4 @@
+20 10 3
+0 0
+17 5
+6 9
diff --git a/public_test_cases/p01082/output.0.txt b/public_test_cases/p01082/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9902f17848a8974ab57d57999b74a63198fe6e23
--- /dev/null
+++ b/public_test_cases/p01082/output.0.txt
@@ -0,0 +1 @@
+28
diff --git a/public_test_cases/p01082/output.1.txt b/public_test_cases/p01082/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9902f17848a8974ab57d57999b74a63198fe6e23
--- /dev/null
+++ b/public_test_cases/p01082/output.1.txt
@@ -0,0 +1 @@
+28
diff --git a/public_test_cases/p01082/output.2.txt b/public_test_cases/p01082/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01082/output.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01082/output.3.txt b/public_test_cases/p01082/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01082/output.3.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01083/input.0.txt b/public_test_cases/p01083/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8054fa6c307fef07a39829b1d5f391e958e4538d
--- /dev/null
+++ b/public_test_cases/p01083/input.0.txt
@@ -0,0 +1,7 @@
+2
+3 3 2
+8 3 2
+0 3
+3 7
+8 0
+8 7
diff --git a/public_test_cases/p01083/input.1.txt b/public_test_cases/p01083/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b46dfe9a84d441bcd3c95819301848cac28a0ce0
--- /dev/null
+++ b/public_test_cases/p01083/input.1.txt
@@ -0,0 +1,7 @@
+2
+3 3 2
+8 3 2
+3 0
+3 7
+8 0
+8 7
diff --git a/public_test_cases/p01083/input.2.txt b/public_test_cases/p01083/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8054fa6c307fef07a39829b1d5f391e958e4538d
--- /dev/null
+++ b/public_test_cases/p01083/input.2.txt
@@ -0,0 +1,7 @@
+2
+3 3 2
+8 3 2
+0 3
+3 7
+8 0
+8 7
diff --git a/public_test_cases/p01083/input.3.txt b/public_test_cases/p01083/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9268787e79f8a5c931dac4fa1597640a5058a20
--- /dev/null
+++ b/public_test_cases/p01083/input.3.txt
@@ -0,0 +1,5 @@
+1
+10 10 10
+31 10 10
+15 19
+26 1
diff --git a/public_test_cases/p01083/input.4.txt b/public_test_cases/p01083/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..281e7444e1ee034706b3891dfbece0049139f514
--- /dev/null
+++ b/public_test_cases/p01083/input.4.txt
@@ -0,0 +1,7 @@
+2
+3 3 2
+8 3 2
+0 0
+0 5
+11 0
+11 5
diff --git a/public_test_cases/p01083/output.0.txt b/public_test_cases/p01083/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b86ad468934ad4478c253bfc07aa0ef978c43e48
--- /dev/null
+++ b/public_test_cases/p01083/output.0.txt
@@ -0,0 +1 @@
+13.8190642862
diff --git a/public_test_cases/p01083/output.1.txt b/public_test_cases/p01083/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31f007a37d6576182ea4296f8bb330a9416475fa
--- /dev/null
+++ b/public_test_cases/p01083/output.1.txt
@@ -0,0 +1 @@
+10.0000000000
diff --git a/public_test_cases/p01083/output.2.txt b/public_test_cases/p01083/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b86ad468934ad4478c253bfc07aa0ef978c43e48
--- /dev/null
+++ b/public_test_cases/p01083/output.2.txt
@@ -0,0 +1 @@
+13.8190642862
diff --git a/public_test_cases/p01083/output.3.txt b/public_test_cases/p01083/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p01083/output.3.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p01083/output.4.txt b/public_test_cases/p01083/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a39d631d3a81abdaa984c25e324b955748ffdbd0
--- /dev/null
+++ b/public_test_cases/p01083/output.4.txt
@@ -0,0 +1 @@
+22.0000000000
diff --git a/public_test_cases/p01084/input.0.txt b/public_test_cases/p01084/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb9a61b2b57340c7349cd3dc5a2c70467ccb3392
--- /dev/null
+++ b/public_test_cases/p01084/input.0.txt
@@ -0,0 +1,2 @@
+1
+0111f
diff --git a/public_test_cases/p01084/input.1.txt b/public_test_cases/p01084/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..789d2b15421449da7af4abd1a4bfdb4b0d9f8734
--- /dev/null
+++ b/public_test_cases/p01084/input.1.txt
@@ -0,0 +1,4 @@
+3
+57567
+57587
+0d351
diff --git a/public_test_cases/p01084/input.2.txt b/public_test_cases/p01084/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb9a61b2b57340c7349cd3dc5a2c70467ccb3392
--- /dev/null
+++ b/public_test_cases/p01084/input.2.txt
@@ -0,0 +1,2 @@
+1
+0111f
diff --git a/public_test_cases/p01084/input.3.txt b/public_test_cases/p01084/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec7ecb6e13d01ae157b99a3443792f1b93a2f40b
--- /dev/null
+++ b/public_test_cases/p01084/input.3.txt
@@ -0,0 +1,7 @@
+6
+1811b
+1a11b
+f3b1e
+f3b1c
+b0df3
+bedf3
diff --git a/public_test_cases/p01084/output.0.txt b/public_test_cases/p01084/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb9a61b2b57340c7349cd3dc5a2c70467ccb3392
--- /dev/null
+++ b/public_test_cases/p01084/output.0.txt
@@ -0,0 +1,2 @@
+1
+0111f
diff --git a/public_test_cases/p01084/output.1.txt b/public_test_cases/p01084/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3ca12f676704e5d5a1232fb952e5647dc0e2266
--- /dev/null
+++ b/public_test_cases/p01084/output.1.txt
@@ -0,0 +1,3 @@
+2
+0d351
+57577
diff --git a/public_test_cases/p01084/output.2.txt b/public_test_cases/p01084/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb9a61b2b57340c7349cd3dc5a2c70467ccb3392
--- /dev/null
+++ b/public_test_cases/p01084/output.2.txt
@@ -0,0 +1,2 @@
+1
+0111f
diff --git a/public_test_cases/p01084/output.3.txt b/public_test_cases/p01084/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..488fbfa2fc5d6a3835e1be0576e037ed99c5a242
--- /dev/null
+++ b/public_test_cases/p01084/output.3.txt
@@ -0,0 +1,4 @@
+3
+1911b
+bfdf3
+f3b1d
diff --git a/public_test_cases/p01085/input.0.txt b/public_test_cases/p01085/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c93104021613eaaa182c05bf841c5041904c94c
--- /dev/null
+++ b/public_test_cases/p01085/input.0.txt
@@ -0,0 +1,33 @@
+5 2 4
+100
+90
+82
+70
+65
+5 2 4
+100
+90
+80
+75
+65
+3 1 2
+5000
+4000
+3000
+4 2 3
+10000
+10000
+8000
+8000
+4 2 3
+10000
+10000
+10000
+8000
+5 2 3
+100
+80
+68
+60
+45
+0 0 0
diff --git a/public_test_cases/p01085/input.1.txt b/public_test_cases/p01085/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c93104021613eaaa182c05bf841c5041904c94c
--- /dev/null
+++ b/public_test_cases/p01085/input.1.txt
@@ -0,0 +1,33 @@
+5 2 4
+100
+90
+82
+70
+65
+5 2 4
+100
+90
+80
+75
+65
+3 1 2
+5000
+4000
+3000
+4 2 3
+10000
+10000
+8000
+8000
+4 2 3
+10000
+10000
+10000
+8000
+5 2 3
+100
+80
+68
+60
+45
+0 0 0
diff --git a/public_test_cases/p01085/output.0.txt b/public_test_cases/p01085/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce913a2f1d9d163549c051febc1fb2d852ab694
--- /dev/null
+++ b/public_test_cases/p01085/output.0.txt
@@ -0,0 +1,6 @@
+3
+4
+2
+2
+3
+2
diff --git a/public_test_cases/p01085/output.1.txt b/public_test_cases/p01085/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce913a2f1d9d163549c051febc1fb2d852ab694
--- /dev/null
+++ b/public_test_cases/p01085/output.1.txt
@@ -0,0 +1,6 @@
+3
+4
+2
+2
+3
+2
diff --git a/public_test_cases/p01086/input.0.txt b/public_test_cases/p01086/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec8d263cbf326c09860a7adb44de1b3911c9010a
--- /dev/null
+++ b/public_test_cases/p01086/input.0.txt
@@ -0,0 +1,42 @@
+9
+do
+the
+best
+and
+enjoy
+today
+at
+acm
+icpc
+14
+oh
+yes
+by
+far
+it
+is
+wow
+so
+bad
+to
+me
+you
+know
+hey
+15
+abcde
+fghijkl
+mnopq
+rstuvwx
+yzz
+abcde
+fghijkl
+mnopq
+rstuvwx
+yz
+abcde
+fghijkl
+mnopq
+rstuvwx
+yz
+0
diff --git a/public_test_cases/p01086/input.1.txt b/public_test_cases/p01086/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec8d263cbf326c09860a7adb44de1b3911c9010a
--- /dev/null
+++ b/public_test_cases/p01086/input.1.txt
@@ -0,0 +1,42 @@
+9
+do
+the
+best
+and
+enjoy
+today
+at
+acm
+icpc
+14
+oh
+yes
+by
+far
+it
+is
+wow
+so
+bad
+to
+me
+you
+know
+hey
+15
+abcde
+fghijkl
+mnopq
+rstuvwx
+yzz
+abcde
+fghijkl
+mnopq
+rstuvwx
+yz
+abcde
+fghijkl
+mnopq
+rstuvwx
+yz
+0
diff --git a/public_test_cases/p01086/output.0.txt b/public_test_cases/p01086/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e47fd69325dd935eb530f94d9dbe48d312f5decf
--- /dev/null
+++ b/public_test_cases/p01086/output.0.txt
@@ -0,0 +1,3 @@
+1
+2
+6
diff --git a/public_test_cases/p01086/output.1.txt b/public_test_cases/p01086/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e47fd69325dd935eb530f94d9dbe48d312f5decf
--- /dev/null
+++ b/public_test_cases/p01086/output.1.txt
@@ -0,0 +1,3 @@
+1
+2
+6
diff --git a/public_test_cases/p01087/input.0.txt b/public_test_cases/p01087/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a90199a652aabc225259e0aa7dd9cad7e12112f
--- /dev/null
+++ b/public_test_cases/p01087/input.0.txt
@@ -0,0 +1,29 @@
+1
+9
+4
++
+.1
+.2
+.3
+9
++
+.0
+.+
+..*
+...1
+...*
+....1
+....2
+..0
+10
++
+.+
+..6
+..2
+.+
+..1
+..*
+...7
+...6
+.3
+0
diff --git a/public_test_cases/p01087/input.1.txt b/public_test_cases/p01087/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a90199a652aabc225259e0aa7dd9cad7e12112f
--- /dev/null
+++ b/public_test_cases/p01087/input.1.txt
@@ -0,0 +1,29 @@
+1
+9
+4
++
+.1
+.2
+.3
+9
++
+.0
+.+
+..*
+...1
+...*
+....1
+....2
+..0
+10
++
+.+
+..6
+..2
+.+
+..1
+..*
+...7
+...6
+.3
+0
diff --git a/public_test_cases/p01087/output.0.txt b/public_test_cases/p01087/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f88dda1b467ff16e98fa7ff6e2b2f9b74160a038
--- /dev/null
+++ b/public_test_cases/p01087/output.0.txt
@@ -0,0 +1,4 @@
+9
+6
+2
+54
diff --git a/public_test_cases/p01087/output.1.txt b/public_test_cases/p01087/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f88dda1b467ff16e98fa7ff6e2b2f9b74160a038
--- /dev/null
+++ b/public_test_cases/p01087/output.1.txt
@@ -0,0 +1,4 @@
+9
+6
+2
+54
diff --git a/public_test_cases/p01088/input.0.txt b/public_test_cases/p01088/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8222f5fafd472dfbc4e1de166b1304cb9f7f7e9
--- /dev/null
+++ b/public_test_cases/p01088/input.0.txt
@@ -0,0 +1,29 @@
+4
+800
+700
+1600
+600
+4
+300
+700
+1600
+600
+4
+300
+700
+1600
+650
+3
+1000
+2000
+500
+3
+250
+250
+1000
+4
+1251
+667
+876
+299
+0
diff --git a/public_test_cases/p01088/input.1.txt b/public_test_cases/p01088/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8222f5fafd472dfbc4e1de166b1304cb9f7f7e9
--- /dev/null
+++ b/public_test_cases/p01088/input.1.txt
@@ -0,0 +1,29 @@
+4
+800
+700
+1600
+600
+4
+300
+700
+1600
+600
+4
+300
+700
+1600
+650
+3
+1000
+2000
+500
+3
+250
+250
+1000
+4
+1251
+667
+876
+299
+0
diff --git a/public_test_cases/p01088/output.0.txt b/public_test_cases/p01088/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75507fc281f05e5262a385ad9657ea1628eb5bc4
--- /dev/null
+++ b/public_test_cases/p01088/output.0.txt
@@ -0,0 +1,6 @@
+2 2900
+3 2500
+3 3250
+1 500
+3 1500
+3 2217
diff --git a/public_test_cases/p01088/output.1.txt b/public_test_cases/p01088/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75507fc281f05e5262a385ad9657ea1628eb5bc4
--- /dev/null
+++ b/public_test_cases/p01088/output.1.txt
@@ -0,0 +1,6 @@
+2 2900
+3 2500
+3 3250
+1 500
+3 1500
+3 2217
diff --git a/public_test_cases/p01089/input.0.txt b/public_test_cases/p01089/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4d66fc9fb224585bd4c65a05aa59aea3fe58e8b
--- /dev/null
+++ b/public_test_cases/p01089/input.0.txt
@@ -0,0 +1,13 @@
+11
+01u12u0123u
+6
+01u10u
+8
+201u210u
+9
+01u12u20u
+3
+77u
+12
+9u8u845u954u
+0
diff --git a/public_test_cases/p01089/input.1.txt b/public_test_cases/p01089/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4d66fc9fb224585bd4c65a05aa59aea3fe58e8b
--- /dev/null
+++ b/public_test_cases/p01089/input.1.txt
@@ -0,0 +1,13 @@
+11
+01u12u0123u
+6
+01u10u
+8
+201u210u
+9
+01u12u20u
+3
+77u
+12
+9u8u845u954u
+0
diff --git a/public_test_cases/p01089/output.0.txt b/public_test_cases/p01089/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee8123bc2a800bff7f30c2342a772aec50d6db5c
--- /dev/null
+++ b/public_test_cases/p01089/output.0.txt
@@ -0,0 +1,6 @@
+SAFE
+UNSAFE
+SAFE
+UNSAFE
+UNSAFE
+UNSAFE
diff --git a/public_test_cases/p01089/output.1.txt b/public_test_cases/p01089/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee8123bc2a800bff7f30c2342a772aec50d6db5c
--- /dev/null
+++ b/public_test_cases/p01089/output.1.txt
@@ -0,0 +1,6 @@
+SAFE
+UNSAFE
+SAFE
+UNSAFE
+UNSAFE
+UNSAFE
diff --git a/public_test_cases/p01090/input.0.txt b/public_test_cases/p01090/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..855dfbc0a0e6e42027ba3ed5b1d6534e4fd7c3ea
--- /dev/null
+++ b/public_test_cases/p01090/input.0.txt
@@ -0,0 +1,28 @@
+4 5 2
+1 2 2 A
+1 3 2 A
+1 4 2 A
+2 3 1 B
+3 4 1 B
+5 8 2
+1 2 1 A
+2 3 1 A
+3 4 3 A
+4 5 3 A
+1 2 5 B
+2 3 5 B
+3 4 8 B
+4 5 8 B
+5 5 1
+1 2 1 A
+2 3 1 A
+3 4 1 A
+4 5 1 B
+3 5 1 B
+4 5 3
+1 2 2 A
+2 4 3 B
+3 4 4 B
+2 3 5 A
+3 1 6 A
+0 0 0
diff --git a/public_test_cases/p01090/input.1.txt b/public_test_cases/p01090/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..855dfbc0a0e6e42027ba3ed5b1d6534e4fd7c3ea
--- /dev/null
+++ b/public_test_cases/p01090/input.1.txt
@@ -0,0 +1,28 @@
+4 5 2
+1 2 2 A
+1 3 2 A
+1 4 2 A
+2 3 1 B
+3 4 1 B
+5 8 2
+1 2 1 A
+2 3 1 A
+3 4 3 A
+4 5 3 A
+1 2 5 B
+2 3 5 B
+3 4 8 B
+4 5 8 B
+5 5 1
+1 2 1 A
+2 3 1 A
+3 4 1 A
+4 5 1 B
+3 5 1 B
+4 5 3
+1 2 2 A
+2 4 3 B
+3 4 4 B
+2 3 5 A
+3 1 6 A
+0 0 0
diff --git a/public_test_cases/p01090/output.0.txt b/public_test_cases/p01090/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38afd1b0e8674afb3b96b6d870c61bd25f0aee73
--- /dev/null
+++ b/public_test_cases/p01090/output.0.txt
@@ -0,0 +1,4 @@
+5
+16
+-1
+-1
diff --git a/public_test_cases/p01090/output.1.txt b/public_test_cases/p01090/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38afd1b0e8674afb3b96b6d870c61bd25f0aee73
--- /dev/null
+++ b/public_test_cases/p01090/output.1.txt
@@ -0,0 +1,4 @@
+5
+16
+-1
+-1
diff --git a/public_test_cases/p01091/input.0.txt b/public_test_cases/p01091/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..782df0d1d6f8fa53a5df09e740187f10af29e074
--- /dev/null
+++ b/public_test_cases/p01091/input.0.txt
@@ -0,0 +1,59 @@
+4
+0 0
+10 0
+10 5
+0 5
+3
+5 0
+17 3
+7 10
+4
+0 5
+5 0
+10 0
+7 8
+4
+0 0
+40 0
+50 5
+0 5
+4
+0 0
+10 0
+20 5
+10 5
+7
+4 0
+20 0
+24 1
+22 10
+2 10
+0 6
+0 4
+18
+728 997
+117 996
+14 988
+1 908
+0 428
+2 98
+6 54
+30 28
+106 2
+746 1
+979 17
+997 25
+998 185
+999 573
+999 938
+995 973
+970 993
+910 995
+6
+0 40
+0 30
+10 0
+20 0
+40 70
+30 70
+0
diff --git a/public_test_cases/p01091/input.1.txt b/public_test_cases/p01091/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..782df0d1d6f8fa53a5df09e740187f10af29e074
--- /dev/null
+++ b/public_test_cases/p01091/input.1.txt
@@ -0,0 +1,59 @@
+4
+0 0
+10 0
+10 5
+0 5
+3
+5 0
+17 3
+7 10
+4
+0 5
+5 0
+10 0
+7 8
+4
+0 0
+40 0
+50 5
+0 5
+4
+0 0
+10 0
+20 5
+10 5
+7
+4 0
+20 0
+24 1
+22 10
+2 10
+0 6
+0 4
+18
+728 997
+117 996
+14 988
+1 908
+0 428
+2 98
+6 54
+30 28
+106 2
+746 1
+979 17
+997 25
+998 185
+999 573
+999 938
+995 973
+970 993
+910 995
+6
+0 40
+0 30
+10 0
+20 0
+40 70
+30 70
+0
diff --git a/public_test_cases/p01091/output.0.txt b/public_test_cases/p01091/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16967545e565593825a95a68355448267418edce
--- /dev/null
+++ b/public_test_cases/p01091/output.0.txt
@@ -0,0 +1,8 @@
+23.090170
+28.528295
+23.553450
+97.135255
+34.270510
+57.124116
+3327.900180
+142.111776
diff --git a/public_test_cases/p01091/output.1.txt b/public_test_cases/p01091/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16967545e565593825a95a68355448267418edce
--- /dev/null
+++ b/public_test_cases/p01091/output.1.txt
@@ -0,0 +1,8 @@
+23.090170
+28.528295
+23.553450
+97.135255
+34.270510
+57.124116
+3327.900180
+142.111776
diff --git a/public_test_cases/p01092/input.0.txt b/public_test_cases/p01092/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae1bd28b096f29c5868d5d5050e2375f374baeb3
--- /dev/null
+++ b/public_test_cases/p01092/input.0.txt
@@ -0,0 +1,82 @@
+2
+1 2 8
+1 1 1
+8 8 1
+3 3 3 3 2
+3
+3 2 3
+1 1 2
+1 1 2
+1 1 2
+1 1 1 1 2
+1 2 1 2 2
+2 1 2 1 2
+2
+2 3 100
+100 50 1
+1 50 3
+100 1 100 100 3
+1 1 1 100 2
+5
+6 7 60
+11 11 1
+11 51 1
+51 11 1
+51 51 1
+31 31 1
+11 11 51 51 2
+11 11 51 51 3
+11 11 51 51 4
+11 11 51 51 5
+18 1 54 42 6
+1 43 59 60 7
+5
+6 4 9
+5 5 3
+1 1 1
+1 9 1
+9 1 1
+9 9 1
+3 3 7 7 4
+4 4 6 6 2
+1 1 2 2 3
+1 8 2 9 3
+8 1 9 2 3
+8 8 9 9 3
+5
+10 5 50
+3 40 1
+29 13 2
+39 28 1
+50 50 1
+25 30 5
+3 5 10 10 2
+11 11 14 14 2
+15 15 20 23 2
+40 40 41 50 2
+1 49 3 50 2
+30 30 50 50 3
+1 1 10 10 4
+1 30 1 50 5
+20 30 20 50 5
+40 30 40 50 5
+15
+2 2 1000000
+514898 704203 1
+743530 769450 1
+202298 424059 1
+803485 898125 1
+271735 512227 1
+442644 980009 1
+444735 799591 1
+474132 623298 1
+67459 184056 1
+467347 302466 1
+477265 160425 2
+425470 102631 2
+547058 210758 2
+52246 779950 2
+291896 907904 2
+480318 350180 768473 486661 2
+776214 135749 872708 799857 2
+0
diff --git a/public_test_cases/p01092/input.1.txt b/public_test_cases/p01092/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae1bd28b096f29c5868d5d5050e2375f374baeb3
--- /dev/null
+++ b/public_test_cases/p01092/input.1.txt
@@ -0,0 +1,82 @@
+2
+1 2 8
+1 1 1
+8 8 1
+3 3 3 3 2
+3
+3 2 3
+1 1 2
+1 1 2
+1 1 2
+1 1 1 1 2
+1 2 1 2 2
+2 1 2 1 2
+2
+2 3 100
+100 50 1
+1 50 3
+100 1 100 100 3
+1 1 1 100 2
+5
+6 7 60
+11 11 1
+11 51 1
+51 11 1
+51 51 1
+31 31 1
+11 11 51 51 2
+11 11 51 51 3
+11 11 51 51 4
+11 11 51 51 5
+18 1 54 42 6
+1 43 59 60 7
+5
+6 4 9
+5 5 3
+1 1 1
+1 9 1
+9 1 1
+9 9 1
+3 3 7 7 4
+4 4 6 6 2
+1 1 2 2 3
+1 8 2 9 3
+8 1 9 2 3
+8 8 9 9 3
+5
+10 5 50
+3 40 1
+29 13 2
+39 28 1
+50 50 1
+25 30 5
+3 5 10 10 2
+11 11 14 14 2
+15 15 20 23 2
+40 40 41 50 2
+1 49 3 50 2
+30 30 50 50 3
+1 1 10 10 4
+1 30 1 50 5
+20 30 20 50 5
+40 30 40 50 5
+15
+2 2 1000000
+514898 704203 1
+743530 769450 1
+202298 424059 1
+803485 898125 1
+271735 512227 1
+442644 980009 1
+444735 799591 1
+474132 623298 1
+67459 184056 1
+467347 302466 1
+477265 160425 2
+425470 102631 2
+547058 210758 2
+52246 779950 2
+291896 907904 2
+480318 350180 768473 486661 2
+776214 135749 872708 799857 2
+0
diff --git a/public_test_cases/p01092/output.0.txt b/public_test_cases/p01092/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..614c54c8badc4e3c3c638a2f23e8db0164efbd1b
--- /dev/null
+++ b/public_test_cases/p01092/output.0.txt
@@ -0,0 +1,7 @@
+216
+6
+497
+3181
+1365
+1930
+6485356
diff --git a/public_test_cases/p01092/output.1.txt b/public_test_cases/p01092/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..614c54c8badc4e3c3c638a2f23e8db0164efbd1b
--- /dev/null
+++ b/public_test_cases/p01092/output.1.txt
@@ -0,0 +1,7 @@
+216
+6
+497
+3181
+1365
+1930
+6485356
diff --git a/public_test_cases/p01093/input.0.txt b/public_test_cases/p01093/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7a99ce71d157a7fb4e2e02c17554844cc284eed
--- /dev/null
+++ b/public_test_cases/p01093/input.0.txt
@@ -0,0 +1,7 @@
+5
+10 10 10 10 10
+5
+1 5 8 9 11
+7
+11 34 83 47 59 29 70
+0
diff --git a/public_test_cases/p01093/input.1.txt b/public_test_cases/p01093/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7a99ce71d157a7fb4e2e02c17554844cc284eed
--- /dev/null
+++ b/public_test_cases/p01093/input.1.txt
@@ -0,0 +1,7 @@
+5
+10 10 10 10 10
+5
+1 5 8 9 11
+7
+11 34 83 47 59 29 70
+0
diff --git a/public_test_cases/p01093/output.0.txt b/public_test_cases/p01093/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1029ed67f6200e05a29f5ee7c33a376c0fc6d116
--- /dev/null
+++ b/public_test_cases/p01093/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+5
diff --git a/public_test_cases/p01093/output.1.txt b/public_test_cases/p01093/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1029ed67f6200e05a29f5ee7c33a376c0fc6d116
--- /dev/null
+++ b/public_test_cases/p01093/output.1.txt
@@ -0,0 +1,3 @@
+0
+1
+5
diff --git a/public_test_cases/p01094/input.0.txt b/public_test_cases/p01094/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ef28e0d070b3fce21e2eb89236c56f3bb237627
--- /dev/null
+++ b/public_test_cases/p01094/input.0.txt
@@ -0,0 +1,15 @@
+1
+A
+4
+A A B B
+5
+L M N L N
+6
+K K K K K K
+6
+X X X Y Z X
+10
+A A A B A C A C C B
+10
+U U U U U V V W W W
+0
diff --git a/public_test_cases/p01094/input.1.txt b/public_test_cases/p01094/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ef28e0d070b3fce21e2eb89236c56f3bb237627
--- /dev/null
+++ b/public_test_cases/p01094/input.1.txt
@@ -0,0 +1,15 @@
+1
+A
+4
+A A B B
+5
+L M N L N
+6
+K K K K K K
+6
+X X X Y Z X
+10
+A A A B A C A C C B
+10
+U U U U U V V W W W
+0
diff --git a/public_test_cases/p01094/output.0.txt b/public_test_cases/p01094/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2259c70702a62c1f3899f8cd37a3c0d012d9305d
--- /dev/null
+++ b/public_test_cases/p01094/output.0.txt
@@ -0,0 +1,7 @@
+A 1
+TIE
+TIE
+K 4
+X 5
+A 7
+U 8
diff --git a/public_test_cases/p01094/output.1.txt b/public_test_cases/p01094/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2259c70702a62c1f3899f8cd37a3c0d012d9305d
--- /dev/null
+++ b/public_test_cases/p01094/output.1.txt
@@ -0,0 +1,7 @@
+A 1
+TIE
+TIE
+K 4
+X 5
+A 7
+U 8
diff --git a/public_test_cases/p01095/input.0.txt b/public_test_cases/p01095/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19ecbe7d0039a658cd50de87857380ece7fe4eff
--- /dev/null
+++ b/public_test_cases/p01095/input.0.txt
@@ -0,0 +1,6 @@
+3 1
+3 4
+10 20
+100 50
+2 500000
+0 0
diff --git a/public_test_cases/p01095/input.1.txt b/public_test_cases/p01095/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19ecbe7d0039a658cd50de87857380ece7fe4eff
--- /dev/null
+++ b/public_test_cases/p01095/input.1.txt
@@ -0,0 +1,6 @@
+3 1
+3 4
+10 20
+100 50
+2 500000
+0 0
diff --git a/public_test_cases/p01095/output.0.txt b/public_test_cases/p01095/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de3412e5907fd15938a902b51dcd78967ad3870f
--- /dev/null
+++ b/public_test_cases/p01095/output.0.txt
@@ -0,0 +1,5 @@
+4
+11
+47
+150
+7368791
diff --git a/public_test_cases/p01095/output.1.txt b/public_test_cases/p01095/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de3412e5907fd15938a902b51dcd78967ad3870f
--- /dev/null
+++ b/public_test_cases/p01095/output.1.txt
@@ -0,0 +1,5 @@
+4
+11
+47
+150
+7368791
diff --git a/public_test_cases/p01096/input.0.txt b/public_test_cases/p01096/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e046906392cfcd8aa769a9108abc6a089a5c1ebc
--- /dev/null
+++ b/public_test_cases/p01096/input.0.txt
@@ -0,0 +1,11 @@
+4
+1 2 3 4
+4
+1 2 3 1
+5
+5 1 2 3 6
+14
+8 7 1 4 3 5 4 1 6 8 10 4 6 5
+5
+1 3 5 1 3
+0
diff --git a/public_test_cases/p01096/input.1.txt b/public_test_cases/p01096/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e046906392cfcd8aa769a9108abc6a089a5c1ebc
--- /dev/null
+++ b/public_test_cases/p01096/input.1.txt
@@ -0,0 +1,11 @@
+4
+1 2 3 4
+4
+1 2 3 1
+5
+5 1 2 3 6
+14
+8 7 1 4 3 5 4 1 6 8 10 4 6 5
+5
+1 3 5 1 3
+0
diff --git a/public_test_cases/p01096/output.0.txt b/public_test_cases/p01096/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1aee74b290a2272657d43714f3c40f955c4126fa
--- /dev/null
+++ b/public_test_cases/p01096/output.0.txt
@@ -0,0 +1,5 @@
+4
+4
+2
+12
+0
diff --git a/public_test_cases/p01096/output.1.txt b/public_test_cases/p01096/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1aee74b290a2272657d43714f3c40f955c4126fa
--- /dev/null
+++ b/public_test_cases/p01096/output.1.txt
@@ -0,0 +1,5 @@
+4
+4
+2
+12
+0
diff --git a/public_test_cases/p01097/input.0.txt b/public_test_cases/p01097/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c7db202964802d613e6fb10a1fd901be6a538e7
--- /dev/null
+++ b/public_test_cases/p01097/input.0.txt
@@ -0,0 +1,72 @@
+1 1 100
+100 100 100
+6 4 10
+100 100 100
+106 102 102
+112 110 104
+104 116 102
+100 114 104
+92 107 100
+10 4 10
+-100 101 100
+-108 102 120
+-116 103 100
+-124 100 100
+-132 99 100
+-92 98 100
+-84 100 140
+-76 103 100
+-68 102 100
+-60 101 100
+10 4 10
+100 100 100
+108 101 100
+116 102 100
+124 100 100
+132 102 100
+200 100 103
+192 100 102
+184 100 101
+176 100 100
+168 100 103
+4 4 10
+100 100 100
+108 94 100
+116 100 100
+108 106 100
+23 6 10
+100 100 100
+96 109 100
+100 118 100
+109 126 100
+118 126 100
+127 118 98
+127 109 104
+127 100 97
+118 91 102
+109 91 100
+111 102 100
+111 102 109
+111 102 118
+111 102 91
+111 102 82
+111 114 96
+111 114 105
+102 114 114
+93 114 114
+84 114 105
+84 114 96
+93 114 87
+102 114 87
+10 3 10
+100 100 100
+116 116 102
+132 132 104
+148 148 106
+164 164 108
+108 108 108
+124 124 106
+140 140 104
+156 156 102
+172 172 100
+0 0 0
diff --git a/public_test_cases/p01097/input.1.txt b/public_test_cases/p01097/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c7db202964802d613e6fb10a1fd901be6a538e7
--- /dev/null
+++ b/public_test_cases/p01097/input.1.txt
@@ -0,0 +1,72 @@
+1 1 100
+100 100 100
+6 4 10
+100 100 100
+106 102 102
+112 110 104
+104 116 102
+100 114 104
+92 107 100
+10 4 10
+-100 101 100
+-108 102 120
+-116 103 100
+-124 100 100
+-132 99 100
+-92 98 100
+-84 100 140
+-76 103 100
+-68 102 100
+-60 101 100
+10 4 10
+100 100 100
+108 101 100
+116 102 100
+124 100 100
+132 102 100
+200 100 103
+192 100 102
+184 100 101
+176 100 100
+168 100 103
+4 4 10
+100 100 100
+108 94 100
+116 100 100
+108 106 100
+23 6 10
+100 100 100
+96 109 100
+100 118 100
+109 126 100
+118 126 100
+127 118 98
+127 109 104
+127 100 97
+118 91 102
+109 91 100
+111 102 100
+111 102 109
+111 102 118
+111 102 91
+111 102 82
+111 114 96
+111 114 105
+102 114 114
+93 114 114
+84 114 105
+84 114 96
+93 114 87
+102 114 87
+10 3 10
+100 100 100
+116 116 102
+132 132 104
+148 148 106
+164 164 108
+108 108 108
+124 124 106
+140 140 104
+156 156 102
+172 172 100
+0 0 0
diff --git a/public_test_cases/p01097/output.0.txt b/public_test_cases/p01097/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11fa95172958b9c84b73fee9f306d2090812e0c8
--- /dev/null
+++ b/public_test_cases/p01097/output.0.txt
@@ -0,0 +1,7 @@
+60000
+1856
+-1
+1632
+1856
+2796
+1640
diff --git a/public_test_cases/p01097/output.1.txt b/public_test_cases/p01097/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11fa95172958b9c84b73fee9f306d2090812e0c8
--- /dev/null
+++ b/public_test_cases/p01097/output.1.txt
@@ -0,0 +1,7 @@
+60000
+1856
+-1
+1632
+1856
+2796
+1640
diff --git a/public_test_cases/p01098/input.0.txt b/public_test_cases/p01098/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ead6a0e6a1ba4bf55fe2d64ab283a74c87fdfe45
--- /dev/null
+++ b/public_test_cases/p01098/input.0.txt
@@ -0,0 +1,92 @@
+3 6
+.#..#.
+#.##.#
+.#..#.
+8 7
+.#####.
+#.....#
+#..#..#
+#.#.#.#
+#..#..#
+#..#..#
+.#####.
+...#...
+3 3
+#..
+...
+#..
+3 3
+#..
+.#.
+#..
+3 3
+...
+...
+...
+3 3
+...
+.#.
+...
+3 3
+.#.
+#.#
+.#.
+3 3
+.#.
+###
+.#.
+7 7
+.#####.
+#.....#
+#..#..#
+#.#.#.#
+#..#..#
+#.....#
+.#####.
+7 7
+.#####.
+#.....#
+#..#..#
+#.#.#.#
+#..#..#
+#..#..#
+.#####.
+7 7
+.#####.
+#.....#
+#..#..#
+#.#.#.#
+#..#..#
+#.....#
+.#####.
+7 11
+.#####.....
+#.....#....
+#..#..#..#.
+#.#.#.#.#.#
+#..#..#..#.
+#.....#....
+.#####.....
+7 3
+.#.
+#.#
+.#.
+#.#
+.#.
+#.#
+.#.
+7 7
+.#####.
+#..#..#
+#..#..#
+#.#.#.#
+#..#..#
+#..#..#
+.#####.
+3 1
+#
+#
+.
+1 2
+#.
+0 0
diff --git a/public_test_cases/p01098/input.1.txt b/public_test_cases/p01098/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ead6a0e6a1ba4bf55fe2d64ab283a74c87fdfe45
--- /dev/null
+++ b/public_test_cases/p01098/input.1.txt
@@ -0,0 +1,92 @@
+3 6
+.#..#.
+#.##.#
+.#..#.
+8 7
+.#####.
+#.....#
+#..#..#
+#.#.#.#
+#..#..#
+#..#..#
+.#####.
+...#...
+3 3
+#..
+...
+#..
+3 3
+#..
+.#.
+#..
+3 3
+...
+...
+...
+3 3
+...
+.#.
+...
+3 3
+.#.
+#.#
+.#.
+3 3
+.#.
+###
+.#.
+7 7
+.#####.
+#.....#
+#..#..#
+#.#.#.#
+#..#..#
+#.....#
+.#####.
+7 7
+.#####.
+#.....#
+#..#..#
+#.#.#.#
+#..#..#
+#..#..#
+.#####.
+7 7
+.#####.
+#.....#
+#..#..#
+#.#.#.#
+#..#..#
+#.....#
+.#####.
+7 11
+.#####.....
+#.....#....
+#..#..#..#.
+#.#.#.#.#.#
+#..#..#..#.
+#.....#....
+.#####.....
+7 3
+.#.
+#.#
+.#.
+#.#
+.#.
+#.#
+.#.
+7 7
+.#####.
+#..#..#
+#..#..#
+#.#.#.#
+#..#..#
+#..#..#
+.#####.
+3 1
+#
+#
+.
+1 2
+#.
+0 0
diff --git a/public_test_cases/p01098/output.0.txt b/public_test_cases/p01098/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f730fa7078343f99a6f6750ac1d9b380094c6a0
--- /dev/null
+++ b/public_test_cases/p01098/output.0.txt
@@ -0,0 +1,8 @@
+yes
+no
+no
+no
+no
+no
+yes
+yes
diff --git a/public_test_cases/p01098/output.1.txt b/public_test_cases/p01098/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f730fa7078343f99a6f6750ac1d9b380094c6a0
--- /dev/null
+++ b/public_test_cases/p01098/output.1.txt
@@ -0,0 +1,8 @@
+yes
+no
+no
+no
+no
+no
+yes
+yes
diff --git a/public_test_cases/p01099/input.0.txt b/public_test_cases/p01099/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b69172a5eba83370fcf295d3687b5d2158a71e9
--- /dev/null
+++ b/public_test_cases/p01099/input.0.txt
@@ -0,0 +1,53 @@
+3 4
+100 4
+100 0
+0 0
+1 2 1.00
+2 1 1.00
+3 1 9.99
+3 2 9.99
+7 6
+0 0
+1 0
+2 0
+0 10
+1 10
+2 10
+20 5
+1 7 1.00
+2 7 1.00
+3 7 1.00
+4 7 1.00
+5 7 1.00
+6 7 1.00
+4 4
+-1 -1
+1 -1
+-1 1
+1 1
+1 4 1.10
+4 2 2.10
+2 3 3.10
+3 1 4.10
+8 12
+-91 0
+-62 0
+-18 0
+2 0
+23 0
+55 0
+63 0
+80 0
+2 7 3.96
+3 2 2.25
+2 4 5.48
+8 7 9.74
+5 6 6.70
+7 6 1.51
+4 1 7.41
+5 8 1.11
+6 3 2.98
+3 4 2.75
+1 8 5.89
+4 5 5.37
+0 0
diff --git a/public_test_cases/p01099/input.1.txt b/public_test_cases/p01099/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b69172a5eba83370fcf295d3687b5d2158a71e9
--- /dev/null
+++ b/public_test_cases/p01099/input.1.txt
@@ -0,0 +1,53 @@
+3 4
+100 4
+100 0
+0 0
+1 2 1.00
+2 1 1.00
+3 1 9.99
+3 2 9.99
+7 6
+0 0
+1 0
+2 0
+0 10
+1 10
+2 10
+20 5
+1 7 1.00
+2 7 1.00
+3 7 1.00
+4 7 1.00
+5 7 1.00
+6 7 1.00
+4 4
+-1 -1
+1 -1
+-1 1
+1 1
+1 4 1.10
+4 2 2.10
+2 3 3.10
+3 1 4.10
+8 12
+-91 0
+-62 0
+-18 0
+2 0
+23 0
+55 0
+63 0
+80 0
+2 7 3.96
+3 2 2.25
+2 4 5.48
+8 7 9.74
+5 6 6.70
+7 6 1.51
+4 1 7.41
+5 8 1.11
+6 3 2.98
+3 4 2.75
+1 8 5.89
+4 5 5.37
+0 0
diff --git a/public_test_cases/p01099/output.0.txt b/public_test_cases/p01099/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa0672908b8b494dfcc4ddf7f03e03b19fd51dac
--- /dev/null
+++ b/public_test_cases/p01099/output.0.txt
@@ -0,0 +1,4 @@
+1.414214
+0.816497
+0.356001
+5.854704
diff --git a/public_test_cases/p01099/output.1.txt b/public_test_cases/p01099/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa0672908b8b494dfcc4ddf7f03e03b19fd51dac
--- /dev/null
+++ b/public_test_cases/p01099/output.1.txt
@@ -0,0 +1,4 @@
+1.414214
+0.816497
+0.356001
+5.854704
diff --git a/public_test_cases/p01100/input.0.txt b/public_test_cases/p01100/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a19e791848c3976cebea0154c57316d90f01052
--- /dev/null
+++ b/public_test_cases/p01100/input.0.txt
@@ -0,0 +1,16 @@
+3 3
+1 2
+2 3
+1 3
+4 3
+1 2
+1 3
+1 4
+4 6
+1 2
+1 3
+1 4
+2 3
+3 4
+2 4
+0 0
diff --git a/public_test_cases/p01100/input.1.txt b/public_test_cases/p01100/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a19e791848c3976cebea0154c57316d90f01052
--- /dev/null
+++ b/public_test_cases/p01100/input.1.txt
@@ -0,0 +1,16 @@
+3 3
+1 2
+2 3
+1 3
+4 3
+1 2
+1 3
+1 4
+4 6
+1 2
+1 3
+1 4
+2 3
+3 4
+2 4
+0 0
diff --git a/public_test_cases/p01100/output.0.txt b/public_test_cases/p01100/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c5dc14e83a88800a515699e3495fc3be5e15db6
--- /dev/null
+++ b/public_test_cases/p01100/output.0.txt
@@ -0,0 +1,3 @@
+1 1
+0 1
+1 2
diff --git a/public_test_cases/p01100/output.1.txt b/public_test_cases/p01100/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c5dc14e83a88800a515699e3495fc3be5e15db6
--- /dev/null
+++ b/public_test_cases/p01100/output.1.txt
@@ -0,0 +1,3 @@
+1 1
+0 1
+1 2
diff --git a/public_test_cases/p01101/input.0.txt b/public_test_cases/p01101/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..474b43e25bf7f99419173cb4b3f3c049360a1ca8
--- /dev/null
+++ b/public_test_cases/p01101/input.0.txt
@@ -0,0 +1,11 @@
+3 45
+10 20 30
+6 10
+1 2 5 8 9 11
+7 100
+11 34 83 47 59 29 70
+4 100
+80 70 60 50
+4 20
+10 5 10 16
+0 0
diff --git a/public_test_cases/p01101/input.1.txt b/public_test_cases/p01101/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..474b43e25bf7f99419173cb4b3f3c049360a1ca8
--- /dev/null
+++ b/public_test_cases/p01101/input.1.txt
@@ -0,0 +1,11 @@
+3 45
+10 20 30
+6 10
+1 2 5 8 9 11
+7 100
+11 34 83 47 59 29 70
+4 100
+80 70 60 50
+4 20
+10 5 10 16
+0 0
diff --git a/public_test_cases/p01101/output.0.txt b/public_test_cases/p01101/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4122920b2cd3fe996e5c797be7da3c072f9cb402
--- /dev/null
+++ b/public_test_cases/p01101/output.0.txt
@@ -0,0 +1,5 @@
+40
+10
+99
+NONE
+20
diff --git a/public_test_cases/p01101/output.1.txt b/public_test_cases/p01101/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4122920b2cd3fe996e5c797be7da3c072f9cb402
--- /dev/null
+++ b/public_test_cases/p01101/output.1.txt
@@ -0,0 +1,5 @@
+40
+10
+99
+NONE
+20
diff --git a/public_test_cases/p01102/input.0.txt b/public_test_cases/p01102/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69ceb72e6d452367ba22046583d065346c15348f
--- /dev/null
+++ b/public_test_cases/p01102/input.0.txt
@@ -0,0 +1,19 @@
+print"hello";print123
+print"hello";print123
+read"B1input";solve;output;
+read"B2";solve;output;
+read"C1";solve;output"C1ans";
+read"C2";solve;output"C2ans";
+""""""""
+"""42"""""
+slow"program"
+fast"code"
+"super"fast"program"
+"super"faster"program"
+X""
+X
+I"S""CREAM"
+I"CE""CREAM"
+11"22"11
+1"33"111
+.
diff --git a/public_test_cases/p01102/input.1.txt b/public_test_cases/p01102/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69ceb72e6d452367ba22046583d065346c15348f
--- /dev/null
+++ b/public_test_cases/p01102/input.1.txt
@@ -0,0 +1,19 @@
+print"hello";print123
+print"hello";print123
+read"B1input";solve;output;
+read"B2";solve;output;
+read"C1";solve;output"C1ans";
+read"C2";solve;output"C2ans";
+""""""""
+"""42"""""
+slow"program"
+fast"code"
+"super"fast"program"
+"super"faster"program"
+X""
+X
+I"S""CREAM"
+I"CE""CREAM"
+11"22"11
+1"33"111
+.
diff --git a/public_test_cases/p01102/output.0.txt b/public_test_cases/p01102/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60fa109888724f8141bd7d68af1cba408e065533
--- /dev/null
+++ b/public_test_cases/p01102/output.0.txt
@@ -0,0 +1,9 @@
+IDENTICAL
+CLOSE
+DIFFERENT
+CLOSE
+DIFFERENT
+DIFFERENT
+DIFFERENT
+CLOSE
+DIFFERENT
diff --git a/public_test_cases/p01102/output.1.txt b/public_test_cases/p01102/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60fa109888724f8141bd7d68af1cba408e065533
--- /dev/null
+++ b/public_test_cases/p01102/output.1.txt
@@ -0,0 +1,9 @@
+IDENTICAL
+CLOSE
+DIFFERENT
+CLOSE
+DIFFERENT
+DIFFERENT
+DIFFERENT
+CLOSE
+DIFFERENT
diff --git a/public_test_cases/p01103/input.0.txt b/public_test_cases/p01103/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..886a5bffc013c6b7cd7cec9b6c67d1a5cc79519d
--- /dev/null
+++ b/public_test_cases/p01103/input.0.txt
@@ -0,0 +1,24 @@
+3 3
+2 3 2
+2 1 2
+2 3 1
+3 5
+3 3 4 3 3
+3 1 0 2 3
+3 3 4 3 2
+7 7
+1 1 1 1 1 0 0
+1 0 0 0 1 0 0
+1 0 1 1 1 1 1
+1 0 1 0 1 0 1
+1 1 1 1 1 0 1
+0 0 1 0 0 0 1
+0 0 1 1 1 1 1
+6 6
+1 1 1 1 2 2
+1 0 0 2 0 2
+1 0 0 2 0 2
+3 3 3 9 9 9
+3 0 0 9 0 9
+3 3 3 9 9 9
+0 0
diff --git a/public_test_cases/p01103/input.1.txt b/public_test_cases/p01103/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..886a5bffc013c6b7cd7cec9b6c67d1a5cc79519d
--- /dev/null
+++ b/public_test_cases/p01103/input.1.txt
@@ -0,0 +1,24 @@
+3 3
+2 3 2
+2 1 2
+2 3 1
+3 5
+3 3 4 3 3
+3 1 0 2 3
+3 3 4 3 2
+7 7
+1 1 1 1 1 0 0
+1 0 0 0 1 0 0
+1 0 1 1 1 1 1
+1 0 1 0 1 0 1
+1 1 1 1 1 0 1
+0 0 1 0 0 0 1
+0 0 1 1 1 1 1
+6 6
+1 1 1 1 2 2
+1 0 0 2 0 2
+1 0 0 2 0 2
+3 3 3 9 9 9
+3 0 0 9 0 9
+3 3 3 9 9 9
+0 0
diff --git a/public_test_cases/p01103/output.0.txt b/public_test_cases/p01103/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2f6d89f5a5a197d1119135f23395b8c6ee2b92a
--- /dev/null
+++ b/public_test_cases/p01103/output.0.txt
@@ -0,0 +1,4 @@
+0
+3
+1
+9
diff --git a/public_test_cases/p01103/output.1.txt b/public_test_cases/p01103/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2f6d89f5a5a197d1119135f23395b8c6ee2b92a
--- /dev/null
+++ b/public_test_cases/p01103/output.1.txt
@@ -0,0 +1,4 @@
+0
+3
+1
+9
diff --git a/public_test_cases/p01104/input.0.txt b/public_test_cases/p01104/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9921367dfdfe0eecd961916e35a224b71a14f0da
--- /dev/null
+++ b/public_test_cases/p01104/input.0.txt
@@ -0,0 +1,26 @@
+4 3
+110
+101
+011
+110
+7 1
+1
+1
+1
+1
+1
+1
+1
+4 5
+10000
+01000
+00100
+00010
+6 6
+111111
+011000
+100000
+000010
+100001
+100100
+0 0
diff --git a/public_test_cases/p01104/input.1.txt b/public_test_cases/p01104/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9921367dfdfe0eecd961916e35a224b71a14f0da
--- /dev/null
+++ b/public_test_cases/p01104/input.1.txt
@@ -0,0 +1,26 @@
+4 3
+110
+101
+011
+110
+7 1
+1
+1
+1
+1
+1
+1
+1
+4 5
+10000
+01000
+00100
+00010
+6 6
+111111
+011000
+100000
+000010
+100001
+100100
+0 0
diff --git a/public_test_cases/p01104/output.0.txt b/public_test_cases/p01104/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b38158a7ad769f092fcb02f6eb1f40bc4919404
--- /dev/null
+++ b/public_test_cases/p01104/output.0.txt
@@ -0,0 +1,4 @@
+3
+6
+0
+6
diff --git a/public_test_cases/p01104/output.1.txt b/public_test_cases/p01104/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b38158a7ad769f092fcb02f6eb1f40bc4919404
--- /dev/null
+++ b/public_test_cases/p01104/output.1.txt
@@ -0,0 +1,4 @@
+3
+6
+0
+6
diff --git a/public_test_cases/p01105/input.0.txt b/public_test_cases/p01105/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..250aa900e47f319dff271f65404d57561057d219
--- /dev/null
+++ b/public_test_cases/p01105/input.0.txt
@@ -0,0 +1,6 @@
+0
+(a*(1*b))
+(1^a)
+(-(-a*-b)*a)
+(a^(b^(c^d)))
+.
diff --git a/public_test_cases/p01105/input.1.txt b/public_test_cases/p01105/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..250aa900e47f319dff271f65404d57561057d219
--- /dev/null
+++ b/public_test_cases/p01105/input.1.txt
@@ -0,0 +1,6 @@
+0
+(a*(1*b))
+(1^a)
+(-(-a*-b)*a)
+(a^(b^(c^d)))
+.
diff --git a/public_test_cases/p01105/output.0.txt b/public_test_cases/p01105/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dce30daa0e74ad41233c5511fad41512df406d67
--- /dev/null
+++ b/public_test_cases/p01105/output.0.txt
@@ -0,0 +1,5 @@
+1
+5
+2
+1
+13
diff --git a/public_test_cases/p01105/output.1.txt b/public_test_cases/p01105/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dce30daa0e74ad41233c5511fad41512df406d67
--- /dev/null
+++ b/public_test_cases/p01105/output.1.txt
@@ -0,0 +1,5 @@
+1
+5
+2
+1
+13
diff --git a/public_test_cases/p01106/input.0.txt b/public_test_cases/p01106/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e78e5599864697be98939410a589fb4da3fe0d7f
--- /dev/null
+++ b/public_test_cases/p01106/input.0.txt
@@ -0,0 +1,4 @@
+3 3 2
+12 578 2214
+59 471605241352156968 431565444592236940
+0 0 0
diff --git a/public_test_cases/p01106/input.1.txt b/public_test_cases/p01106/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e78e5599864697be98939410a589fb4da3fe0d7f
--- /dev/null
+++ b/public_test_cases/p01106/input.1.txt
@@ -0,0 +1,4 @@
+3 3 2
+12 578 2214
+59 471605241352156968 431565444592236940
+0 0 0
diff --git a/public_test_cases/p01106/output.0.txt b/public_test_cases/p01106/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..882268284557ba8cf9a89a1a501f980f84b27d73
--- /dev/null
+++ b/public_test_cases/p01106/output.0.txt
@@ -0,0 +1,3 @@
+LRR
+RLLLRRRLRRLL
+LRRRLRRLLRRRRLLLLRLLRRRLRRLLRLLLLLLRLRLLRLRLLLRLRLLRLLRRRLL
diff --git a/public_test_cases/p01106/output.1.txt b/public_test_cases/p01106/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..882268284557ba8cf9a89a1a501f980f84b27d73
--- /dev/null
+++ b/public_test_cases/p01106/output.1.txt
@@ -0,0 +1,3 @@
+LRR
+RLLLRRRLRRLL
+LRRRLRRLLRRRRLLLLRLLRRRLRRLLRLLLLLLRLRLLRLRLLLRLRLLRLLRRRLL
diff --git a/public_test_cases/p01107/input.0.txt b/public_test_cases/p01107/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..181c4253689f1ed293dc5597f2418b2ba7bcaa5b
--- /dev/null
+++ b/public_test_cases/p01107/input.0.txt
@@ -0,0 +1,24 @@
+3 3
+...
+.#.
+...
+5 5
+..#..
+.....
+#....
+.....
+.....
+3 8
+..#.....
+........
+.....#..
+3 5
+..#..
+.....
+..#..
+4 4
+....
+....
+..##
+..#.
+0 0
diff --git a/public_test_cases/p01107/input.1.txt b/public_test_cases/p01107/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..181c4253689f1ed293dc5597f2418b2ba7bcaa5b
--- /dev/null
+++ b/public_test_cases/p01107/input.1.txt
@@ -0,0 +1,24 @@
+3 3
+...
+.#.
+...
+5 5
+..#..
+.....
+#....
+.....
+.....
+3 8
+..#.....
+........
+.....#..
+3 5
+..#..
+.....
+..#..
+4 4
+....
+....
+..##
+..#.
+0 0
diff --git a/public_test_cases/p01107/output.0.txt b/public_test_cases/p01107/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eea507683ac1bcb6111264c5273c80f68e87fd4d
--- /dev/null
+++ b/public_test_cases/p01107/output.0.txt
@@ -0,0 +1,5 @@
+YES
+NO
+YES
+NO
+NO
diff --git a/public_test_cases/p01107/output.1.txt b/public_test_cases/p01107/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eea507683ac1bcb6111264c5273c80f68e87fd4d
--- /dev/null
+++ b/public_test_cases/p01107/output.1.txt
@@ -0,0 +1,5 @@
+YES
+NO
+YES
+NO
+NO
diff --git a/public_test_cases/p01108/input.0.txt b/public_test_cases/p01108/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ef1db6bed271d768501578d7cd6d2d1f087035c
--- /dev/null
+++ b/public_test_cases/p01108/input.0.txt
@@ -0,0 +1,90 @@
+0 1
+2 2
+1 0
+1 3
+5 2
+4 3
+
+0 0
+0 1
+1 0
+0 3
+0 2
+1 -1
+
+-5 -4
+0 1
+0 15
+-10 14
+-5 10
+0 -8
+
+-110 221
+-731 525
+-555 -258
+511 -83
+-1000 -737
+66 -562
+
+533 -45
+-525 -450
+-282 -667
+-439 823
+-196 606
+-768 -233
+
+0 0
+0 1
+1 0
+99 1
+100 1
+55 2
+
+354 -289
+89 -79
+256 -166
+131 -196
+-774 -809
+-519 -623
+
+-990 688
+-38 601
+-360 712
+384 759
+-241 140
+-59 196
+
+629 -591
+360 -847
+936 -265
+109 -990
+-456 -913
+-787 -884
+
+-1000 -1000
+-999 -999
+-1000 -998
+1000 1000
+999 999
+1000 998
+
+-386 -83
+404 -83
+-408 -117
+-162 -348
+128 -88
+296 -30
+
+-521 -245
+-613 -250
+797 451
+-642 239
+646 309
+-907 180
+
+-909 -544
+-394 10
+-296 260
+-833 268
+-875 882
+-907 -423
diff --git a/public_test_cases/p01108/input.1.txt b/public_test_cases/p01108/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ef1db6bed271d768501578d7cd6d2d1f087035c
--- /dev/null
+++ b/public_test_cases/p01108/input.1.txt
@@ -0,0 +1,90 @@
+0 1
+2 2
+1 0
+1 3
+5 2
+4 3
+
+0 0
+0 1
+1 0
+0 3
+0 2
+1 -1
+
+-5 -4
+0 1
+0 15
+-10 14
+-5 10
+0 -8
+
+-110 221
+-731 525
+-555 -258
+511 -83
+-1000 -737
+66 -562
+
+533 -45
+-525 -450
+-282 -667
+-439 823
+-196 606
+-768 -233
+
+0 0
+0 1
+1 0
+99 1
+100 1
+55 2
+
+354 -289
+89 -79
+256 -166
+131 -196
+-774 -809
+-519 -623
+
+-990 688
+-38 601
+-360 712
+384 759
+-241 140
+-59 196
+
+629 -591
+360 -847
+936 -265
+109 -990
+-456 -913
+-787 -884
+
+-1000 -1000
+-999 -999
+-1000 -998
+1000 1000
+999 999
+1000 998
+
+-386 -83
+404 -83
+-408 -117
+-162 -348
+128 -88
+296 -30
+
+-521 -245
+-613 -250
+797 451
+-642 239
+646 309
+-907 180
+
+-909 -544
+-394 10
+-296 260
+-833 268
+-875 882
+-907 -423
diff --git a/public_test_cases/p01108/output.0.txt b/public_test_cases/p01108/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a612811fc557bca4e37197c6d29302cef4dc34ab
--- /dev/null
+++ b/public_test_cases/p01108/output.0.txt
@@ -0,0 +1,13 @@
+4
+3
+3
+3
+3
+4
+4
+4
+4
+Many
+Many
+Many
+Many
diff --git a/public_test_cases/p01108/output.1.txt b/public_test_cases/p01108/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a612811fc557bca4e37197c6d29302cef4dc34ab
--- /dev/null
+++ b/public_test_cases/p01108/output.1.txt
@@ -0,0 +1,13 @@
+4
+3
+3
+3
+3
+4
+4
+4
+4
+Many
+Many
+Many
+Many
diff --git a/public_test_cases/p01109/input.0.txt b/public_test_cases/p01109/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b1d9a111d4dbb63defde60c82b1ffdd13f48b7c
--- /dev/null
+++ b/public_test_cases/p01109/input.0.txt
@@ -0,0 +1,11 @@
+7
+15 15 15 15 15 15 15
+4
+10 20 30 60
+10
+1 1 1 1 1 1 1 1 1 100
+7
+90 90 90 90 90 90 10
+7
+2 7 1 8 2 8 4
+0
diff --git a/public_test_cases/p01109/input.1.txt b/public_test_cases/p01109/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b1d9a111d4dbb63defde60c82b1ffdd13f48b7c
--- /dev/null
+++ b/public_test_cases/p01109/input.1.txt
@@ -0,0 +1,11 @@
+7
+15 15 15 15 15 15 15
+4
+10 20 30 60
+10
+1 1 1 1 1 1 1 1 1 100
+7
+90 90 90 90 90 90 10
+7
+2 7 1 8 2 8 4
+0
diff --git a/public_test_cases/p01109/output.0.txt b/public_test_cases/p01109/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f411fbe9efb896b75ba549eec19cdf8a090723c5
--- /dev/null
+++ b/public_test_cases/p01109/output.0.txt
@@ -0,0 +1,5 @@
+7
+3
+9
+1
+4
diff --git a/public_test_cases/p01109/output.1.txt b/public_test_cases/p01109/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f411fbe9efb896b75ba549eec19cdf8a090723c5
--- /dev/null
+++ b/public_test_cases/p01109/output.1.txt
@@ -0,0 +1,5 @@
+7
+3
+9
+1
+4
diff --git a/public_test_cases/p01110/input.0.txt b/public_test_cases/p01110/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8226a5c1a547566d5d5cf8dcf09cb23b1328aa7c
--- /dev/null
+++ b/public_test_cases/p01110/input.0.txt
@@ -0,0 +1,20 @@
+2 1 1 1
+1 1
+0 0
+1 3 2 1
+2 1
+2 1
+0 0
+10 8 3 2
+2 2
+1 3
+1 1
+0 1
+3 4
+3 3 3 2
+1 2
+2 1
+1 1
+0 1
+0 0
+0 0 0 0
diff --git a/public_test_cases/p01110/input.1.txt b/public_test_cases/p01110/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8226a5c1a547566d5d5cf8dcf09cb23b1328aa7c
--- /dev/null
+++ b/public_test_cases/p01110/input.1.txt
@@ -0,0 +1,20 @@
+2 1 1 1
+1 1
+0 0
+1 3 2 1
+2 1
+2 1
+0 0
+10 8 3 2
+2 2
+1 3
+1 1
+0 1
+3 4
+3 3 3 2
+1 2
+2 1
+1 1
+0 1
+0 0
+0 0 0 0
diff --git a/public_test_cases/p01110/output.0.txt b/public_test_cases/p01110/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bd293d130e4fefaef33291d43c8fef680fe8171
--- /dev/null
+++ b/public_test_cases/p01110/output.0.txt
@@ -0,0 +1,6 @@
+2
+3
+8
+1
+3
+6
diff --git a/public_test_cases/p01110/output.1.txt b/public_test_cases/p01110/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bd293d130e4fefaef33291d43c8fef680fe8171
--- /dev/null
+++ b/public_test_cases/p01110/output.1.txt
@@ -0,0 +1,6 @@
+2
+3
+8
+1
+3
+6
diff --git a/public_test_cases/p01111/input.0.txt b/public_test_cases/p01111/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2df91af098ab50fe5140f5ccdf1e2b7fe026ec4
--- /dev/null
+++ b/public_test_cases/p01111/input.0.txt
@@ -0,0 +1,11 @@
+15
+16
+2
+3
+9699690
+223092870
+847288609
+900660121
+987698769
+999999999
+0
diff --git a/public_test_cases/p01111/input.1.txt b/public_test_cases/p01111/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2df91af098ab50fe5140f5ccdf1e2b7fe026ec4
--- /dev/null
+++ b/public_test_cases/p01111/input.1.txt
@@ -0,0 +1,11 @@
+15
+16
+2
+3
+9699690
+223092870
+847288609
+900660121
+987698769
+999999999
+0
diff --git a/public_test_cases/p01111/output.0.txt b/public_test_cases/p01111/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee911e0228f52ab95e603d202c9ecec672cbf505
--- /dev/null
+++ b/public_test_cases/p01111/output.0.txt
@@ -0,0 +1,10 @@
+1 5
+16 1
+2 1
+1 2
+16 4389
+129 20995
+4112949 206
+15006 30011
+46887 17718
+163837 5994
diff --git a/public_test_cases/p01111/output.1.txt b/public_test_cases/p01111/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee911e0228f52ab95e603d202c9ecec672cbf505
--- /dev/null
+++ b/public_test_cases/p01111/output.1.txt
@@ -0,0 +1,10 @@
+1 5
+16 1
+2 1
+1 2
+16 4389
+129 20995
+4112949 206
+15006 30011
+46887 17718
+163837 5994
diff --git a/public_test_cases/p01112/input.0.txt b/public_test_cases/p01112/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e411762e08d2675eebea97bd08a19811b6a2ff4
--- /dev/null
+++ b/public_test_cases/p01112/input.0.txt
@@ -0,0 +1,66 @@
+5
+3
+3 2
+4 1
+5 1
+3
+1
+1 2
+3
+2
+1 2
+3 2
+5
+4
+4 1
+4 2
+5 1
+5 2
+5
+3
+4 1
+4 2
+5 1
+5
+4
+3 2
+4 1
+5 1
+5 2
+9
+11
+6 1
+6 4
+7 2
+7 3
+7 4
+8 2
+8 3
+8 4
+9 1
+9 3
+9 5
+9
+10
+6 1
+6 4
+7 2
+7 3
+7 4
+8 2
+8 3
+8 4
+9 1
+9 3
+5
+6
+4 3
+2 1
+5 1
+2 4
+1 3
+2 3
+9
+1
+1 2
+0
diff --git a/public_test_cases/p01112/input.1.txt b/public_test_cases/p01112/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e411762e08d2675eebea97bd08a19811b6a2ff4
--- /dev/null
+++ b/public_test_cases/p01112/input.1.txt
@@ -0,0 +1,66 @@
+5
+3
+3 2
+4 1
+5 1
+3
+1
+1 2
+3
+2
+1 2
+3 2
+5
+4
+4 1
+4 2
+5 1
+5 2
+5
+3
+4 1
+4 2
+5 1
+5
+4
+3 2
+4 1
+5 1
+5 2
+9
+11
+6 1
+6 4
+7 2
+7 3
+7 4
+8 2
+8 3
+8 4
+9 1
+9 3
+9 5
+9
+10
+6 1
+6 4
+7 2
+7 3
+7 4
+8 2
+8 3
+8 4
+9 1
+9 3
+5
+6
+4 3
+2 1
+5 1
+2 4
+1 3
+2 3
+9
+1
+1 2
+0
diff --git a/public_test_cases/p01112/output.0.txt b/public_test_cases/p01112/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f3b3701791158c0977e5715a4eebce9b4c7b4c1
--- /dev/null
+++ b/public_test_cases/p01112/output.0.txt
@@ -0,0 +1,10 @@
+2
+1
+0
+0
+1
+0
+0
+16
+0
+1615040
diff --git a/public_test_cases/p01112/output.1.txt b/public_test_cases/p01112/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f3b3701791158c0977e5715a4eebce9b4c7b4c1
--- /dev/null
+++ b/public_test_cases/p01112/output.1.txt
@@ -0,0 +1,10 @@
+2
+1
+0
+0
+1
+0
+0
+16
+0
+1615040
diff --git a/public_test_cases/p01113/input.0.txt b/public_test_cases/p01113/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..950f21dc987821210b1a89aa1e6c1c4b2cbca40a
--- /dev/null
+++ b/public_test_cases/p01113/input.0.txt
@@ -0,0 +1,17 @@
+1
+0000000000000000000000000000000000000000000000000000
+2
+0000000000000000000000000000000000000000000000000000
+3
+0000000000000000000000000000000000000000000000000000
+4
+0000000000000000000000000000000000000000000000000000
+7
+1101000000000000000000000000000000000000000000000000
+100
+1100011010100001100111100101000111001001111100101011
+123456789
+1010101010101010101010101010101010101010101010101010
+1000000000000000000
+1111111111111111111111111111111111111111111111111111
+0
diff --git a/public_test_cases/p01113/input.1.txt b/public_test_cases/p01113/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..950f21dc987821210b1a89aa1e6c1c4b2cbca40a
--- /dev/null
+++ b/public_test_cases/p01113/input.1.txt
@@ -0,0 +1,17 @@
+1
+0000000000000000000000000000000000000000000000000000
+2
+0000000000000000000000000000000000000000000000000000
+3
+0000000000000000000000000000000000000000000000000000
+4
+0000000000000000000000000000000000000000000000000000
+7
+1101000000000000000000000000000000000000000000000000
+100
+1100011010100001100111100101000111001001111100101011
+123456789
+1010101010101010101010101010101010101010101010101010
+1000000000000000000
+1111111111111111111111111111111111111111111111111111
+0
diff --git a/public_test_cases/p01113/output.0.txt b/public_test_cases/p01113/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8838e81d4b3669e72c31ee7e9bd7ab0b1eb9753
--- /dev/null
+++ b/public_test_cases/p01113/output.0.txt
@@ -0,0 +1,8 @@
+0000000000010000000000000000000000000000000000000000000000000000
+0000000000011000000000000000000000000000000000000000000000000000
+0000000000100000000000000000000000000000000000000000000000000000
+0000000000100100000000000000000000000000000000000000000000000000
+0000000000111101000000000000000000000000000000000000000000000000
+0000000001110110011010111011100001101110110010001001010101111111
+0000000110111000100001110101011001000111100001010011110101011000
+0000001101010000000000000000000000000000000000000000000000000000
diff --git a/public_test_cases/p01113/output.1.txt b/public_test_cases/p01113/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8838e81d4b3669e72c31ee7e9bd7ab0b1eb9753
--- /dev/null
+++ b/public_test_cases/p01113/output.1.txt
@@ -0,0 +1,8 @@
+0000000000010000000000000000000000000000000000000000000000000000
+0000000000011000000000000000000000000000000000000000000000000000
+0000000000100000000000000000000000000000000000000000000000000000
+0000000000100100000000000000000000000000000000000000000000000000
+0000000000111101000000000000000000000000000000000000000000000000
+0000000001110110011010111011100001101110110010001001010101111111
+0000000110111000100001110101011001000111100001010011110101011000
+0000001101010000000000000000000000000000000000000000000000000000
diff --git a/public_test_cases/p01114/input.0.txt b/public_test_cases/p01114/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97af30871a706da85811168b8e36d0f9f8f0d6f5
--- /dev/null
+++ b/public_test_cases/p01114/input.0.txt
@@ -0,0 +1,40 @@
+4
+1
+0 1
+1 2
+-1 2
+2 1
+4
+1
+1 1
+2 2
+1 3
+1 4
+4
+1
+1 1
+2 2
+3 1
+4 1
+4
+1
+1 2
+2 1
+3 2
+4 2
+5
+2
+0 1
+0 2
+0 3
+0 4
+0 5
+6
+3
+0 2
+2 2
+1 1
+0 3
+2 3
+1 4
+0
diff --git a/public_test_cases/p01114/input.1.txt b/public_test_cases/p01114/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97af30871a706da85811168b8e36d0f9f8f0d6f5
--- /dev/null
+++ b/public_test_cases/p01114/input.1.txt
@@ -0,0 +1,40 @@
+4
+1
+0 1
+1 2
+-1 2
+2 1
+4
+1
+1 1
+2 2
+1 3
+1 4
+4
+1
+1 1
+2 2
+3 1
+4 1
+4
+1
+1 2
+2 1
+3 2
+4 2
+5
+2
+0 1
+0 2
+0 3
+0 4
+0 5
+6
+3
+0 2
+2 2
+1 1
+0 3
+2 3
+1 4
+0
diff --git a/public_test_cases/p01114/output.0.txt b/public_test_cases/p01114/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..131c01c667089dc96346e5cefb2a62a4c53f0215
--- /dev/null
+++ b/public_test_cases/p01114/output.0.txt
@@ -0,0 +1,6 @@
+6.000000000000
+6.928203230276
+6.000000000000
+7.732050807569
+6.928203230276
+6.000000000000
diff --git a/public_test_cases/p01114/output.1.txt b/public_test_cases/p01114/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..131c01c667089dc96346e5cefb2a62a4c53f0215
--- /dev/null
+++ b/public_test_cases/p01114/output.1.txt
@@ -0,0 +1,6 @@
+6.000000000000
+6.928203230276
+6.000000000000
+7.732050807569
+6.928203230276
+6.000000000000
diff --git a/public_test_cases/p01115/input.0.txt b/public_test_cases/p01115/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0076d600392cf7849b84d6522eef644b981db0d8
--- /dev/null
+++ b/public_test_cases/p01115/input.0.txt
@@ -0,0 +1,7 @@
+3
+(1+2)*3+3
+2
+1*1*1+1*1*1
+587
+1*(2*3*4)+5+((6+7*8))*(9)
+0
diff --git a/public_test_cases/p01115/input.1.txt b/public_test_cases/p01115/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0076d600392cf7849b84d6522eef644b981db0d8
--- /dev/null
+++ b/public_test_cases/p01115/input.1.txt
@@ -0,0 +1,7 @@
+3
+(1+2)*3+3
+2
+1*1*1+1*1*1
+587
+1*(2*3*4)+5+((6+7*8))*(9)
+0
diff --git a/public_test_cases/p01115/output.0.txt b/public_test_cases/p01115/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be8d50347ef0017b16de5171b85881ae6d42b0e9
--- /dev/null
+++ b/public_test_cases/p01115/output.0.txt
@@ -0,0 +1,3 @@
+4
+9
+2
diff --git a/public_test_cases/p01115/output.1.txt b/public_test_cases/p01115/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be8d50347ef0017b16de5171b85881ae6d42b0e9
--- /dev/null
+++ b/public_test_cases/p01115/output.1.txt
@@ -0,0 +1,3 @@
+4
+9
+2
diff --git a/public_test_cases/p01116/input.0.txt b/public_test_cases/p01116/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89556e825c79f34e0be283f3360a434ad910b81c
--- /dev/null
+++ b/public_test_cases/p01116/input.0.txt
@@ -0,0 +1,16 @@
+3 10
+5 4 3
+1 2 3
+1 2
+5 2
+5 40
+10 10 10 10 8
+1 2 3 4 5
+1 1 2 3
+10 10 10 10
+5 10
+2 2 2 5 2
+2 2 2 5 2
+1 1 2 2
+2 1 2 1
+0 0
diff --git a/public_test_cases/p01116/input.1.txt b/public_test_cases/p01116/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89556e825c79f34e0be283f3360a434ad910b81c
--- /dev/null
+++ b/public_test_cases/p01116/input.1.txt
@@ -0,0 +1,16 @@
+3 10
+5 4 3
+1 2 3
+1 2
+5 2
+5 40
+10 10 10 10 8
+1 2 3 4 5
+1 1 2 3
+10 10 10 10
+5 10
+2 2 2 5 2
+2 2 2 5 2
+1 1 2 2
+2 1 2 1
+0 0
diff --git a/public_test_cases/p01116/output.0.txt b/public_test_cases/p01116/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44973e7878dc282c879033fa0418f896d6ed3bc9
--- /dev/null
+++ b/public_test_cases/p01116/output.0.txt
@@ -0,0 +1,3 @@
+18
+108
+35
diff --git a/public_test_cases/p01116/output.1.txt b/public_test_cases/p01116/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44973e7878dc282c879033fa0418f896d6ed3bc9
--- /dev/null
+++ b/public_test_cases/p01116/output.1.txt
@@ -0,0 +1,3 @@
+18
+108
+35
diff --git a/public_test_cases/p01117/input.0.txt b/public_test_cases/p01117/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17c53848da51e5e7099644c8d14fe1065b963192
--- /dev/null
+++ b/public_test_cases/p01117/input.0.txt
@@ -0,0 +1,11 @@
+5 2
+10 20 30 40 50
+15 25 35 45 55
+6 3
+10 20 30 15 25 35
+21 34 11 52 20 18
+31 15 42 10 21 19
+4 2
+0 0 0 0
+0 0 0 0
+0 0
diff --git a/public_test_cases/p01117/input.1.txt b/public_test_cases/p01117/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17c53848da51e5e7099644c8d14fe1065b963192
--- /dev/null
+++ b/public_test_cases/p01117/input.1.txt
@@ -0,0 +1,11 @@
+5 2
+10 20 30 40 50
+15 25 35 45 55
+6 3
+10 20 30 15 25 35
+21 34 11 52 20 18
+31 15 42 10 21 19
+4 2
+0 0 0 0
+0 0 0 0
+0 0
diff --git a/public_test_cases/p01117/output.0.txt b/public_test_cases/p01117/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3099353c8a95ce6fbcaab83faf9027a3f91211f0
--- /dev/null
+++ b/public_test_cases/p01117/output.0.txt
@@ -0,0 +1,3 @@
+105
+83
+0
diff --git a/public_test_cases/p01117/output.1.txt b/public_test_cases/p01117/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3099353c8a95ce6fbcaab83faf9027a3f91211f0
--- /dev/null
+++ b/public_test_cases/p01117/output.1.txt
@@ -0,0 +1,3 @@
+105
+83
+0
diff --git a/public_test_cases/p01118/input.0.txt b/public_test_cases/p01118/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5115c1f4f37b6246c5f0a3c51bd4b18451e30474
--- /dev/null
+++ b/public_test_cases/p01118/input.0.txt
@@ -0,0 +1,19 @@
+3 9
+ABCDEFGHI
+JKLMNOPQR
+STUVWXYZ_
+ICPC
+5 11
+___________
+____A______
+________M__
+___________
+_C_________
+ACM
+4 21
+1_2_3_4_5_6_7_8_9_0_-
+QqWwEeRrTtYyUuIiOoPp@
+AaSsDdFfGgHhJjKkLl;_:
+ZzXxCcVvBbNnMm,_._/__
+ICPC2019,AsiaYokohamaRegional,QualificationRound
+0 0
diff --git a/public_test_cases/p01118/input.1.txt b/public_test_cases/p01118/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5115c1f4f37b6246c5f0a3c51bd4b18451e30474
--- /dev/null
+++ b/public_test_cases/p01118/input.1.txt
@@ -0,0 +1,19 @@
+3 9
+ABCDEFGHI
+JKLMNOPQR
+STUVWXYZ_
+ICPC
+5 11
+___________
+____A______
+________M__
+___________
+_C_________
+ACM
+4 21
+1_2_3_4_5_6_7_8_9_0_-
+QqWwEeRrTtYyUuIiOoPp@
+AaSsDdFfGgHhJjKkLl;_:
+ZzXxCcVvBbNnMm,_._/__
+ICPC2019,AsiaYokohamaRegional,QualificationRound
+0 0
diff --git a/public_test_cases/p01118/output.0.txt b/public_test_cases/p01118/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..167b6eeac728958aea105850a2a9898ab28ae438
--- /dev/null
+++ b/public_test_cases/p01118/output.0.txt
@@ -0,0 +1,3 @@
+28
+23
+493
diff --git a/public_test_cases/p01118/output.1.txt b/public_test_cases/p01118/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..167b6eeac728958aea105850a2a9898ab28ae438
--- /dev/null
+++ b/public_test_cases/p01118/output.1.txt
@@ -0,0 +1,3 @@
+28
+23
+493
diff --git a/public_test_cases/p01119/input.0.txt b/public_test_cases/p01119/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7ff18de89388ea2db8a0534a1e4db33e01a2da7
--- /dev/null
+++ b/public_test_cases/p01119/input.0.txt
@@ -0,0 +1,13 @@
+4 2
+9 2 7 11
+2 9
+6 2
+7 3 6 12 16 9
+2 9
+5 2
+7 3 6 12 17
+2 9
+7 5
+15 21 33 48 51 75 111
+36 54 57 93 113
+0 0
diff --git a/public_test_cases/p01119/input.1.txt b/public_test_cases/p01119/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7ff18de89388ea2db8a0534a1e4db33e01a2da7
--- /dev/null
+++ b/public_test_cases/p01119/input.1.txt
@@ -0,0 +1,13 @@
+4 2
+9 2 7 11
+2 9
+6 2
+7 3 6 12 16 9
+2 9
+5 2
+7 3 6 12 17
+2 9
+7 5
+15 21 33 48 51 75 111
+36 54 57 93 113
+0 0
diff --git a/public_test_cases/p01119/output.0.txt b/public_test_cases/p01119/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..883dd019e51cf1df3db4a7dd4d64c11b3fe4db25
--- /dev/null
+++ b/public_test_cases/p01119/output.0.txt
@@ -0,0 +1,4 @@
+0
+5
+-1
+5
diff --git a/public_test_cases/p01119/output.1.txt b/public_test_cases/p01119/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..883dd019e51cf1df3db4a7dd4d64c11b3fe4db25
--- /dev/null
+++ b/public_test_cases/p01119/output.1.txt
@@ -0,0 +1,4 @@
+0
+5
+-1
+5
diff --git a/public_test_cases/p01120/input.0.txt b/public_test_cases/p01120/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d52f788c06a0652d9be93cc4a4b757abd7105d2
--- /dev/null
+++ b/public_test_cases/p01120/input.0.txt
@@ -0,0 +1,10 @@
+4 5
+2 3 1 4
+2 5 5 2
+3 100
+1 10 100
+1 10 100
+5 10000
+4971 7482 1238 8523 1823
+3287 9013 9812 297 1809
+0 0
diff --git a/public_test_cases/p01120/input.1.txt b/public_test_cases/p01120/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d52f788c06a0652d9be93cc4a4b757abd7105d2
--- /dev/null
+++ b/public_test_cases/p01120/input.1.txt
@@ -0,0 +1,10 @@
+4 5
+2 3 1 4
+2 5 5 2
+3 100
+1 10 100
+1 10 100
+5 10000
+4971 7482 1238 8523 1823
+3287 9013 9812 297 1809
+0 0
diff --git a/public_test_cases/p01120/output.0.txt b/public_test_cases/p01120/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9f0614fb1628c29e67340d6893daed27a20875a
--- /dev/null
+++ b/public_test_cases/p01120/output.0.txt
@@ -0,0 +1,3 @@
+4
+0
+14731
diff --git a/public_test_cases/p01120/output.1.txt b/public_test_cases/p01120/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9f0614fb1628c29e67340d6893daed27a20875a
--- /dev/null
+++ b/public_test_cases/p01120/output.1.txt
@@ -0,0 +1,3 @@
+4
+0
+14731
diff --git a/public_test_cases/p01121/input.0.txt b/public_test_cases/p01121/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c85331ffc8db59bb670631cad9a0893bc9d35abe
--- /dev/null
+++ b/public_test_cases/p01121/input.0.txt
@@ -0,0 +1,63 @@
+5
+..XX.
+.XXX.
+XXXXX
+XXXXX
+X....
+....X
+XXXXX
+.XXX.
+.XXX.
+.....
+..XXX
+XXXX.
+.XXXX
+.XXXX
+...X.
+...X.
+.XXXX
+XXXX.
+XXXX.
+.X.X.
+XXX.X
+.XXXX
+XXXXX
+.XXXX
+.XXXX
+XX...
+.XXXX
+XXXXX
+XXXXX
+XX...
+5
+..XX.
+.XXX.
+XXXXX
+XXXX.
+X....
+....X
+XXXXX
+.XXX.
+.XXX.
+.....
+.XXXX
+XXXX.
+.XXXX
+.XXXX
+...X.
+...X.
+.XXXX
+XXXX.
+XXXX.
+.X.X.
+XXX.X
+.XXXX
+XXXXX
+.XXXX
+.XXXX
+XX...
+XXXXX
+XXXXX
+.XXXX
+XX...
+0
diff --git a/public_test_cases/p01121/input.1.txt b/public_test_cases/p01121/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c85331ffc8db59bb670631cad9a0893bc9d35abe
--- /dev/null
+++ b/public_test_cases/p01121/input.1.txt
@@ -0,0 +1,63 @@
+5
+..XX.
+.XXX.
+XXXXX
+XXXXX
+X....
+....X
+XXXXX
+.XXX.
+.XXX.
+.....
+..XXX
+XXXX.
+.XXXX
+.XXXX
+...X.
+...X.
+.XXXX
+XXXX.
+XXXX.
+.X.X.
+XXX.X
+.XXXX
+XXXXX
+.XXXX
+.XXXX
+XX...
+.XXXX
+XXXXX
+XXXXX
+XX...
+5
+..XX.
+.XXX.
+XXXXX
+XXXX.
+X....
+....X
+XXXXX
+.XXX.
+.XXX.
+.....
+.XXXX
+XXXX.
+.XXXX
+.XXXX
+...X.
+...X.
+.XXXX
+XXXX.
+XXXX.
+.X.X.
+XXX.X
+.XXXX
+XXXXX
+.XXXX
+.XXXX
+XX...
+XXXXX
+XXXXX
+.XXXX
+XX...
+0
diff --git a/public_test_cases/p01121/output.0.txt b/public_test_cases/p01121/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p01121/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p01121/output.1.txt b/public_test_cases/p01121/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p01121/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p01122/input.0.txt b/public_test_cases/p01122/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6bd038763e7bde68cbb2b4e477c6758bb510697
--- /dev/null
+++ b/public_test_cases/p01122/input.0.txt
@@ -0,0 +1,17 @@
+4
+3 3 1
+2 6
+-4
+3
+1 -10
+100
+5
+-2 -2 -2 -2
+-1 -1 -1
+-1 -1
+1
+4
+-4 7 6
+2 3
+-1
+0
diff --git a/public_test_cases/p01122/input.1.txt b/public_test_cases/p01122/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6bd038763e7bde68cbb2b4e477c6758bb510697
--- /dev/null
+++ b/public_test_cases/p01122/input.1.txt
@@ -0,0 +1,17 @@
+4
+3 3 1
+2 6
+-4
+3
+1 -10
+100
+5
+-2 -2 -2 -2
+-1 -1 -1
+-1 -1
+1
+4
+-4 7 6
+2 3
+-1
+0
diff --git a/public_test_cases/p01122/output.0.txt b/public_test_cases/p01122/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c38471455b5decf8bf7895433cb9ceec48d1fcee
--- /dev/null
+++ b/public_test_cases/p01122/output.0.txt
@@ -0,0 +1,4 @@
+7
+11
+-1
+9
diff --git a/public_test_cases/p01122/output.1.txt b/public_test_cases/p01122/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c38471455b5decf8bf7895433cb9ceec48d1fcee
--- /dev/null
+++ b/public_test_cases/p01122/output.1.txt
@@ -0,0 +1,4 @@
+7
+11
+-1
+9
diff --git a/public_test_cases/p01123/input.0.txt b/public_test_cases/p01123/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49bff2ae25111250d8db0afd9e54d24126d73961
--- /dev/null
+++ b/public_test_cases/p01123/input.0.txt
@@ -0,0 +1,55 @@
+4
+..E.
+.AD.
+B...
+..C.
+D
+4
+..E.
+.AD.
+B...
+..C.
+DR
+3
+...
+.A.
+BC.
+((URD)3L)2R
+5
+...P.
+PPPPP
+PPP..
+PPPPP
+..P..
+LRLR(LR)12RLLR
+20
+....................
+....................
+.III..CC..PPP...CC..
+..I..C..C.P..P.C..C.
+..I..C....P..P.C....
+..I..C....PPP..C....
+..I..C....P....C....
+..I..C..C.P....C..C.
+.III..CC..P.....CC..
+....................
+..XX...XX...X...XX..
+.X..X.X..X..X..X..X.
+....X.X..X..X..X..X.
+...X..X..X..X..X..X.
+...X..X..X..X...XXX.
+..X...X..X..X.....X.
+..X...X..X..X.....X.
+.XXXX..XX...X...XX..
+....................
+....................
+((LDRU)1000(DLUR)2000(RULD)3000(URDL)4000)123456789012
+6
+...NE.
+MFJ..G
+...E..
+.FBN.K
+....MN
+RA.I..
+((((((((((((((((((((((((URD)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L
+0
diff --git a/public_test_cases/p01123/input.1.txt b/public_test_cases/p01123/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49bff2ae25111250d8db0afd9e54d24126d73961
--- /dev/null
+++ b/public_test_cases/p01123/input.1.txt
@@ -0,0 +1,55 @@
+4
+..E.
+.AD.
+B...
+..C.
+D
+4
+..E.
+.AD.
+B...
+..C.
+DR
+3
+...
+.A.
+BC.
+((URD)3L)2R
+5
+...P.
+PPPPP
+PPP..
+PPPPP
+..P..
+LRLR(LR)12RLLR
+20
+....................
+....................
+.III..CC..PPP...CC..
+..I..C..C.P..P.C..C.
+..I..C....P..P.C....
+..I..C....PPP..C....
+..I..C....P....C....
+..I..C..C.P....C..C.
+.III..CC..P.....CC..
+....................
+..XX...XX...X...XX..
+.X..X.X..X..X..X..X.
+....X.X..X..X..X..X.
+...X..X..X..X..X..X.
+...X..X..X..X...XXX.
+..X...X..X..X.....X.
+..X...X..X..X.....X.
+.XXXX..XX...X...XX..
+....................
+....................
+((LDRU)1000(DLUR)2000(RULD)3000(URDL)4000)123456789012
+6
+...NE.
+MFJ..G
+...E..
+.FBN.K
+....MN
+RA.I..
+((((((((((((((((((((((((URD)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L)2L
+0
diff --git a/public_test_cases/p01123/output.0.txt b/public_test_cases/p01123/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78f669ede6a3890f0bdc815c89e80b29d86774f5
--- /dev/null
+++ b/public_test_cases/p01123/output.0.txt
@@ -0,0 +1,42 @@
+....
+..E.
+..D.
+BAC.
+....
+...E
+...D
+.BAC
+...
+..C
+.AB
+....P
+PPPPP
+..PPP
+PPPPP
+....P
+....................
+....................
+....................
+....................
+....................
+XXXX................
+PXXXX...............
+CXXXX...............
+XXXXX...............
+XXPCXX..............
+CCXXCX..............
+CXXXXX..............
+CXXXXX..............
+CPCIXXX.............
+CXPPCXX.............
+PCXXXIC.............
+CPPCCXI.............
+CXCIPXXX............
+XCPCICIXX...........
+PIPPICIXII..........
+......
+......
+N.....
+JNG...
+RMMKFE
+BEAIFN
diff --git a/public_test_cases/p01123/output.1.txt b/public_test_cases/p01123/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78f669ede6a3890f0bdc815c89e80b29d86774f5
--- /dev/null
+++ b/public_test_cases/p01123/output.1.txt
@@ -0,0 +1,42 @@
+....
+..E.
+..D.
+BAC.
+....
+...E
+...D
+.BAC
+...
+..C
+.AB
+....P
+PPPPP
+..PPP
+PPPPP
+....P
+....................
+....................
+....................
+....................
+....................
+XXXX................
+PXXXX...............
+CXXXX...............
+XXXXX...............
+XXPCXX..............
+CCXXCX..............
+CXXXXX..............
+CXXXXX..............
+CPCIXXX.............
+CXPPCXX.............
+PCXXXIC.............
+CPPCCXI.............
+CXCIPXXX............
+XCPCICIXX...........
+PIPPICIXII..........
+......
+......
+N.....
+JNG...
+RMMKFE
+BEAIFN
diff --git a/public_test_cases/p01124/input.0.txt b/public_test_cases/p01124/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..219d7f66c164ee5ac7386ad06f62887d2dae55a0
--- /dev/null
+++ b/public_test_cases/p01124/input.0.txt
@@ -0,0 +1,51 @@
+5 3
+0 0
+2 0
+2 1
+1 2
+0 2
+0 0
+1 0
+0 1
+4 4
+0 0
+5 0
+5 5
+0 5
+0 0
+2 0
+2 2
+0 2
+3 3
+0 0
+1 0
+0 1
+0 1
+0 0
+1 1
+3 3
+0 0
+1 0
+1 1
+0 0
+1 0
+1 1
+4 4
+0 0
+2 0
+2 2
+0 2
+0 0
+1 0
+1 2
+0 2
+4 4
+0 0
+3 0
+3 1
+0 1
+0 0
+1 0
+1 1
+0 1
+0 0
diff --git a/public_test_cases/p01124/input.1.txt b/public_test_cases/p01124/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..219d7f66c164ee5ac7386ad06f62887d2dae55a0
--- /dev/null
+++ b/public_test_cases/p01124/input.1.txt
@@ -0,0 +1,51 @@
+5 3
+0 0
+2 0
+2 1
+1 2
+0 2
+0 0
+1 0
+0 1
+4 4
+0 0
+5 0
+5 5
+0 5
+0 0
+2 0
+2 2
+0 2
+3 3
+0 0
+1 0
+0 1
+0 1
+0 0
+1 1
+3 3
+0 0
+1 0
+1 1
+0 0
+1 0
+1 1
+4 4
+0 0
+2 0
+2 2
+0 2
+0 0
+1 0
+1 2
+0 2
+4 4
+0 0
+3 0
+3 1
+0 1
+0 0
+1 0
+1 1
+0 1
+0 0
diff --git a/public_test_cases/p01124/output.0.txt b/public_test_cases/p01124/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..366296807f14b693f4d332d954a22c7b30d7480b
--- /dev/null
+++ b/public_test_cases/p01124/output.0.txt
@@ -0,0 +1,6 @@
+3
+2
+2
+1
+0
+2
diff --git a/public_test_cases/p01124/output.1.txt b/public_test_cases/p01124/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..366296807f14b693f4d332d954a22c7b30d7480b
--- /dev/null
+++ b/public_test_cases/p01124/output.1.txt
@@ -0,0 +1,6 @@
+3
+2
+2
+1
+0
+2
diff --git a/public_test_cases/p01125/input.0.txt b/public_test_cases/p01125/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0712c6c71190e40cbb5bb9fd62747ed205028bc7
--- /dev/null
+++ b/public_test_cases/p01125/input.0.txt
@@ -0,0 +1,23 @@
+2
+10 11
+11 12
+2
+N 2
+E 1
+2
+10 11
+11 12
+2
+N 2
+W 1
+3
+0 15
+5 10
+5 15
+5
+W 10
+S 10
+N 20
+E 10
+S 10
+0
diff --git a/public_test_cases/p01125/input.1.txt b/public_test_cases/p01125/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0712c6c71190e40cbb5bb9fd62747ed205028bc7
--- /dev/null
+++ b/public_test_cases/p01125/input.1.txt
@@ -0,0 +1,23 @@
+2
+10 11
+11 12
+2
+N 2
+E 1
+2
+10 11
+11 12
+2
+N 2
+W 1
+3
+0 15
+5 10
+5 15
+5
+W 10
+S 10
+N 20
+E 10
+S 10
+0
diff --git a/public_test_cases/p01125/output.0.txt b/public_test_cases/p01125/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bf36cc5d20dabeb408ab3ef5f5dfcf9cf66dd41
--- /dev/null
+++ b/public_test_cases/p01125/output.0.txt
@@ -0,0 +1,3 @@
+Yes
+No
+No
diff --git a/public_test_cases/p01125/output.1.txt b/public_test_cases/p01125/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bf36cc5d20dabeb408ab3ef5f5dfcf9cf66dd41
--- /dev/null
+++ b/public_test_cases/p01125/output.1.txt
@@ -0,0 +1,3 @@
+Yes
+No
+No
diff --git a/public_test_cases/p01126/input.0.txt b/public_test_cases/p01126/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fecaaf9306113c51ee72dec53d1d76bac3d7346
--- /dev/null
+++ b/public_test_cases/p01126/input.0.txt
@@ -0,0 +1,6 @@
+4 4 1
+3 1 2
+2 2 3
+3 3 4
+1 3 4
+0 0 0
diff --git a/public_test_cases/p01126/input.1.txt b/public_test_cases/p01126/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fecaaf9306113c51ee72dec53d1d76bac3d7346
--- /dev/null
+++ b/public_test_cases/p01126/input.1.txt
@@ -0,0 +1,6 @@
+4 4 1
+3 1 2
+2 2 3
+3 3 4
+1 3 4
+0 0 0
diff --git a/public_test_cases/p01126/output.0.txt b/public_test_cases/p01126/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01126/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01126/output.1.txt b/public_test_cases/p01126/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01126/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01127/input.0.txt b/public_test_cases/p01127/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2f5b6b7130913165a95557355232a5a7e6484dd
--- /dev/null
+++ b/public_test_cases/p01127/input.0.txt
@@ -0,0 +1,57 @@
+6
+1 1
+.
+3 3
+...
+.W.
+...
+10 10
+..........
+.DDDDCCC..
+.DDDDCCC..
+.DDDDCCC..
+ADDDDCCC..
+AAA..CCC..
+AAABBBBC..
+AAABBBB...
+..BBBBB...
+..........
+10 10
+..........
+.DDDDDD...
+.DDDDCCC..
+.DDDDCCC..
+ADDDDCCC..
+AAA..CCC..
+AAABBBBC..
+AAABBBB...
+..BBBBB...
+..........
+10 10
+R..E..C.T.
+R.EEE.C.T.
+.EEEEE....
+EEEEEEE...
+.EEEEEEE..
+..EEEEEEE.
+...EEEEEEE
+....EEEEE.
+.....EEE..
+......E...
+16 50
+..................................................
+.........AAAAAAAAAAAAAAAA.........................
+....PPP...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.....
+....PPP...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.....
+....PPP...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA....
+....PPP..............AAAAA.AAAAAAAAAAAAAAAA.......
+....PPP................A....AAA.AAAAAAAAAA........
+....PPP...........IIIIIAAIIAIII.AAAAAAAAAA........
+..CCCCCCCCCCCCC...IIIIIIAAAAAAAAAAAAAAAAAA........
+..CCCCCCCCCCCCC...IIIIIIIIIIIII...AAAAAAAAAA......
+....PPP............................AAAAAAAAAA.....
+MMMMPPPMMMMMMMMMMMMMMM.............AAAAAAAAAAA....
+MMMMPPPMMMMMMMMMMMMMMM..............AAAAAAAAAAA...
+MMMMMMMMMMMMMMMMMMMMMM...............AAAAAAAAAA...
+MMMMMMMMMMMMMMMMMMMMMM...............AAAAAAAAAA...
+MMMMMMMMMMMMMMMMMMMMMM............................
diff --git a/public_test_cases/p01127/input.1.txt b/public_test_cases/p01127/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2f5b6b7130913165a95557355232a5a7e6484dd
--- /dev/null
+++ b/public_test_cases/p01127/input.1.txt
@@ -0,0 +1,57 @@
+6
+1 1
+.
+3 3
+...
+.W.
+...
+10 10
+..........
+.DDDDCCC..
+.DDDDCCC..
+.DDDDCCC..
+ADDDDCCC..
+AAA..CCC..
+AAABBBBC..
+AAABBBB...
+..BBBBB...
+..........
+10 10
+..........
+.DDDDDD...
+.DDDDCCC..
+.DDDDCCC..
+ADDDDCCC..
+AAA..CCC..
+AAABBBBC..
+AAABBBB...
+..BBBBB...
+..........
+10 10
+R..E..C.T.
+R.EEE.C.T.
+.EEEEE....
+EEEEEEE...
+.EEEEEEE..
+..EEEEEEE.
+...EEEEEEE
+....EEEEE.
+.....EEE..
+......E...
+16 50
+..................................................
+.........AAAAAAAAAAAAAAAA.........................
+....PPP...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.....
+....PPP...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.....
+....PPP...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA....
+....PPP..............AAAAA.AAAAAAAAAAAAAAAA.......
+....PPP................A....AAA.AAAAAAAAAA........
+....PPP...........IIIIIAAIIAIII.AAAAAAAAAA........
+..CCCCCCCCCCCCC...IIIIIIAAAAAAAAAAAAAAAAAA........
+..CCCCCCCCCCCCC...IIIIIIIIIIIII...AAAAAAAAAA......
+....PPP............................AAAAAAAAAA.....
+MMMMPPPMMMMMMMMMMMMMMM.............AAAAAAAAAAA....
+MMMMPPPMMMMMMMMMMMMMMM..............AAAAAAAAAAA...
+MMMMMMMMMMMMMMMMMMMMMM...............AAAAAAAAAA...
+MMMMMMMMMMMMMMMMMMMMMM...............AAAAAAAAAA...
+MMMMMMMMMMMMMMMMMMMMMM............................
diff --git a/public_test_cases/p01127/output.0.txt b/public_test_cases/p01127/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..150ef565f2000f86d0d0fb1b057ac0c76a31b828
--- /dev/null
+++ b/public_test_cases/p01127/output.0.txt
@@ -0,0 +1,6 @@
+SAFE
+SAFE
+SAFE
+SUSPICIOUS
+SUSPICIOUS
+SUSPICIOUS
diff --git a/public_test_cases/p01127/output.1.txt b/public_test_cases/p01127/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..150ef565f2000f86d0d0fb1b057ac0c76a31b828
--- /dev/null
+++ b/public_test_cases/p01127/output.1.txt
@@ -0,0 +1,6 @@
+SAFE
+SAFE
+SAFE
+SUSPICIOUS
+SUSPICIOUS
+SUSPICIOUS
diff --git a/public_test_cases/p01128/input.0.txt b/public_test_cases/p01128/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32454884cfa4de2cf64dd5e61ec22c75cf56e7a9
--- /dev/null
+++ b/public_test_cases/p01128/input.0.txt
@@ -0,0 +1,17 @@
+2
+-10 1 10 1
+4
+-6 2 -2 -2 0 1
+-6 -2 -2 2 1 0
+6 2 2 -2 0 0
+6 -2 2 2 1 1
+8 12 -7 -3
+8
+4 -5 4 -2 1 1
+4 -2 4 9 1 0
+6 9 6 14 1 1
+-7 6 7 6 0 0
+1 0 1 10 0 0
+-5 0 -5 10 0 1
+-7 0 7 0 0 1
+-1 0 -1 -5 0 1
diff --git a/public_test_cases/p01128/input.1.txt b/public_test_cases/p01128/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32454884cfa4de2cf64dd5e61ec22c75cf56e7a9
--- /dev/null
+++ b/public_test_cases/p01128/input.1.txt
@@ -0,0 +1,17 @@
+2
+-10 1 10 1
+4
+-6 2 -2 -2 0 1
+-6 -2 -2 2 1 0
+6 2 2 -2 0 0
+6 -2 2 2 1 1
+8 12 -7 -3
+8
+4 -5 4 -2 1 1
+4 -2 4 9 1 0
+6 9 6 14 1 1
+-7 6 7 6 0 0
+1 0 1 10 0 0
+-5 0 -5 10 0 1
+-7 0 7 0 0 1
+-1 0 -1 -5 0 1
diff --git a/public_test_cases/p01128/output.0.txt b/public_test_cases/p01128/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p01128/output.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p01128/output.1.txt b/public_test_cases/p01128/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p01128/output.1.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p01129/input.0.txt b/public_test_cases/p01129/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f52fca66476ef7c4d5e8a9bc3183ade1ef04706a
--- /dev/null
+++ b/public_test_cases/p01129/input.0.txt
@@ -0,0 +1,7 @@
+5 2
+5000
+10 20 0 30 5
+10 1000 6 1
+20 500 8 1
+3 40 25 30
+0 0
diff --git a/public_test_cases/p01129/input.1.txt b/public_test_cases/p01129/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f52fca66476ef7c4d5e8a9bc3183ade1ef04706a
--- /dev/null
+++ b/public_test_cases/p01129/input.1.txt
@@ -0,0 +1,7 @@
+5 2
+5000
+10 20 0 30 5
+10 1000 6 1
+20 500 8 1
+3 40 25 30
+0 0
diff --git a/public_test_cases/p01129/output.0.txt b/public_test_cases/p01129/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a269a13c508634846490474c2182c111384f02aa
--- /dev/null
+++ b/public_test_cases/p01129/output.0.txt
@@ -0,0 +1 @@
+50 84.000
diff --git a/public_test_cases/p01129/output.1.txt b/public_test_cases/p01129/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a269a13c508634846490474c2182c111384f02aa
--- /dev/null
+++ b/public_test_cases/p01129/output.1.txt
@@ -0,0 +1 @@
+50 84.000
diff --git a/public_test_cases/p01130/input.0.txt b/public_test_cases/p01130/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffbdda0a0a7ffa7587137ff5dd7eafc157c785e5
--- /dev/null
+++ b/public_test_cases/p01130/input.0.txt
@@ -0,0 +1,7 @@
+4 5 1 3 4
+1 2 5
+2 3 5
+2 4 5
+1 3 8
+1 4 8
+0 0 0 0 0
diff --git a/public_test_cases/p01130/input.1.txt b/public_test_cases/p01130/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffbdda0a0a7ffa7587137ff5dd7eafc157c785e5
--- /dev/null
+++ b/public_test_cases/p01130/input.1.txt
@@ -0,0 +1,7 @@
+4 5 1 3 4
+1 2 5
+2 3 5
+2 4 5
+1 3 8
+1 4 8
+0 0 0 0 0
diff --git a/public_test_cases/p01130/output.0.txt b/public_test_cases/p01130/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01130/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01130/output.1.txt b/public_test_cases/p01130/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01130/output.1.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01131/input.0.txt b/public_test_cases/p01131/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ada384fc2c42d4ec8f14147d9c18235fb6287d0
--- /dev/null
+++ b/public_test_cases/p01131/input.0.txt
@@ -0,0 +1,6 @@
+5
+20
+220
+222220
+44033055505550666011011111090666077705550301110
+000555555550000330000444000080000200004440000
diff --git a/public_test_cases/p01131/input.1.txt b/public_test_cases/p01131/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ada384fc2c42d4ec8f14147d9c18235fb6287d0
--- /dev/null
+++ b/public_test_cases/p01131/input.1.txt
@@ -0,0 +1,6 @@
+5
+20
+220
+222220
+44033055505550666011011111090666077705550301110
+000555555550000330000444000080000200004440000
diff --git a/public_test_cases/p01131/output.0.txt b/public_test_cases/p01131/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eeda45ef4bd85e787d33ea76be39c76a97c3e21d
--- /dev/null
+++ b/public_test_cases/p01131/output.0.txt
@@ -0,0 +1,5 @@
+a
+b
+b
+hello, world!
+keitai
diff --git a/public_test_cases/p01131/output.1.txt b/public_test_cases/p01131/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eeda45ef4bd85e787d33ea76be39c76a97c3e21d
--- /dev/null
+++ b/public_test_cases/p01131/output.1.txt
@@ -0,0 +1,5 @@
+a
+b
+b
+hello, world!
+keitai
diff --git a/public_test_cases/p01132/input.0.txt b/public_test_cases/p01132/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..609e9fb79cbbb2f46e2469a888c153cfcae6b0ad
--- /dev/null
+++ b/public_test_cases/p01132/input.0.txt
@@ -0,0 +1,5 @@
+160
+1 1 2 0
+160
+1 0 2 10
+0
diff --git a/public_test_cases/p01132/input.1.txt b/public_test_cases/p01132/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..609e9fb79cbbb2f46e2469a888c153cfcae6b0ad
--- /dev/null
+++ b/public_test_cases/p01132/input.1.txt
@@ -0,0 +1,5 @@
+160
+1 1 2 0
+160
+1 0 2 10
+0
diff --git a/public_test_cases/p01132/output.0.txt b/public_test_cases/p01132/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cabd566a5e0a59a8b120c94e491a854ebd3fcc0f
--- /dev/null
+++ b/public_test_cases/p01132/output.0.txt
@@ -0,0 +1,6 @@
+10 1
+50 1
+100 1
+
+10 1
+100 2
diff --git a/public_test_cases/p01132/output.1.txt b/public_test_cases/p01132/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cabd566a5e0a59a8b120c94e491a854ebd3fcc0f
--- /dev/null
+++ b/public_test_cases/p01132/output.1.txt
@@ -0,0 +1,6 @@
+10 1
+50 1
+100 1
+
+10 1
+100 2
diff --git a/public_test_cases/p01133/input.0.txt b/public_test_cases/p01133/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b94ef9ffdfc6081a55f1dbd3eb1bad63e4f90e2e
--- /dev/null
+++ b/public_test_cases/p01133/input.0.txt
@@ -0,0 +1,10 @@
+2 0 0 10 10
+1 1
+4 4
+2 0 0 10 10
+1 1
+6 6
+2 0 0 10 10
+1 1
+5 5
+0 0 0 0 0
diff --git a/public_test_cases/p01133/input.1.txt b/public_test_cases/p01133/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b94ef9ffdfc6081a55f1dbd3eb1bad63e4f90e2e
--- /dev/null
+++ b/public_test_cases/p01133/input.1.txt
@@ -0,0 +1,10 @@
+2 0 0 10 10
+1 1
+4 4
+2 0 0 10 10
+1 1
+6 6
+2 0 0 10 10
+1 1
+5 5
+0 0 0 0 0
diff --git a/public_test_cases/p01133/output.0.txt b/public_test_cases/p01133/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6e03a3424cbc9fd3c1c5139fbef28b53ec422af
--- /dev/null
+++ b/public_test_cases/p01133/output.0.txt
@@ -0,0 +1,3 @@
+YES
+NO
+NO
diff --git a/public_test_cases/p01133/output.1.txt b/public_test_cases/p01133/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6e03a3424cbc9fd3c1c5139fbef28b53ec422af
--- /dev/null
+++ b/public_test_cases/p01133/output.1.txt
@@ -0,0 +1,3 @@
+YES
+NO
+NO
diff --git a/public_test_cases/p01134/input.0.txt b/public_test_cases/p01134/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4d6f65946d9edf6b491dad45547022c74e631ed
--- /dev/null
+++ b/public_test_cases/p01134/input.0.txt
@@ -0,0 +1,7 @@
+2
+-100 -20 100 20
+-20 -100 20 100
+2
+-100 -20 -20 -100
+20 100 100 20
+0
diff --git a/public_test_cases/p01134/input.1.txt b/public_test_cases/p01134/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4d6f65946d9edf6b491dad45547022c74e631ed
--- /dev/null
+++ b/public_test_cases/p01134/input.1.txt
@@ -0,0 +1,7 @@
+2
+-100 -20 100 20
+-20 -100 20 100
+2
+-100 -20 -20 -100
+20 100 100 20
+0
diff --git a/public_test_cases/p01134/output.0.txt b/public_test_cases/p01134/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81450f3d334f886509a186abffcf1a1aee0866a5
--- /dev/null
+++ b/public_test_cases/p01134/output.0.txt
@@ -0,0 +1,2 @@
+4
+3
diff --git a/public_test_cases/p01134/output.1.txt b/public_test_cases/p01134/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81450f3d334f886509a186abffcf1a1aee0866a5
--- /dev/null
+++ b/public_test_cases/p01134/output.1.txt
@@ -0,0 +1,2 @@
+4
+3
diff --git a/public_test_cases/p01135/input.0.txt b/public_test_cases/p01135/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..193db4aa2c0c2e03468eb1cf1d8d2156c61dcbfa
--- /dev/null
+++ b/public_test_cases/p01135/input.0.txt
@@ -0,0 +1,18 @@
+4 5
+1 2 10
+1 3 15
+2 3 5
+2 4 3
+3 4 10
+2
+1 4 10 LoveLetter
+2 3 20 Greetings
+3 3
+1 2 1
+2 3 1
+3 1 1
+3
+1 2 1 BusinessMailC
+2 3 1 BusinessMailB
+3 1 1 BusinessMailA
+0 0
diff --git a/public_test_cases/p01135/input.1.txt b/public_test_cases/p01135/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..193db4aa2c0c2e03468eb1cf1d8d2156c61dcbfa
--- /dev/null
+++ b/public_test_cases/p01135/input.1.txt
@@ -0,0 +1,18 @@
+4 5
+1 2 10
+1 3 15
+2 3 5
+2 4 3
+3 4 10
+2
+1 4 10 LoveLetter
+2 3 20 Greetings
+3 3
+1 2 1
+2 3 1
+3 1 1
+3
+1 2 1 BusinessMailC
+2 3 1 BusinessMailB
+3 1 1 BusinessMailA
+0 0
diff --git a/public_test_cases/p01135/output.0.txt b/public_test_cases/p01135/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ef1284ea44376ef4a8e88ecdd80ac9087f2bfc9
--- /dev/null
+++ b/public_test_cases/p01135/output.0.txt
@@ -0,0 +1,6 @@
+Greetings 25
+LoveLetter 33
+
+BusinessMailA 2
+BusinessMailB 2
+BusinessMailC 2
diff --git a/public_test_cases/p01135/output.1.txt b/public_test_cases/p01135/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ef1284ea44376ef4a8e88ecdd80ac9087f2bfc9
--- /dev/null
+++ b/public_test_cases/p01135/output.1.txt
@@ -0,0 +1,6 @@
+Greetings 25
+LoveLetter 33
+
+BusinessMailA 2
+BusinessMailB 2
+BusinessMailC 2
diff --git a/public_test_cases/p01136/input.0.txt b/public_test_cases/p01136/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a55d8ad8b334ecf7c1812261c296e0f94aa3e5a
--- /dev/null
+++ b/public_test_cases/p01136/input.0.txt
@@ -0,0 +1,6 @@
+4
+1 1
+2 2 3
+2 1 2
+3 3 4 5
+0
diff --git a/public_test_cases/p01136/input.1.txt b/public_test_cases/p01136/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a55d8ad8b334ecf7c1812261c296e0f94aa3e5a
--- /dev/null
+++ b/public_test_cases/p01136/input.1.txt
@@ -0,0 +1,6 @@
+4
+1 1
+2 2 3
+2 1 2
+3 3 4 5
+0
diff --git a/public_test_cases/p01136/output.0.txt b/public_test_cases/p01136/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01136/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01136/output.1.txt b/public_test_cases/p01136/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01136/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01137/input.0.txt b/public_test_cases/p01137/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..078fb536f108940533b25364557b17472c7ab364
--- /dev/null
+++ b/public_test_cases/p01137/input.0.txt
@@ -0,0 +1,7 @@
+1
+2
+4
+27
+300
+1250
+0
diff --git a/public_test_cases/p01137/input.1.txt b/public_test_cases/p01137/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..078fb536f108940533b25364557b17472c7ab364
--- /dev/null
+++ b/public_test_cases/p01137/input.1.txt
@@ -0,0 +1,7 @@
+1
+2
+4
+27
+300
+1250
+0
diff --git a/public_test_cases/p01137/output.0.txt b/public_test_cases/p01137/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27469545ac6271314db950cb0f1f943042f64d7b
--- /dev/null
+++ b/public_test_cases/p01137/output.0.txt
@@ -0,0 +1,6 @@
+1
+2
+2
+3
+18
+44
diff --git a/public_test_cases/p01137/output.1.txt b/public_test_cases/p01137/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27469545ac6271314db950cb0f1f943042f64d7b
--- /dev/null
+++ b/public_test_cases/p01137/output.1.txt
@@ -0,0 +1,6 @@
+1
+2
+2
+3
+18
+44
diff --git a/public_test_cases/p01138/input.0.txt b/public_test_cases/p01138/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c4fffadd257878fe11b0e0d274fa37337465df1
--- /dev/null
+++ b/public_test_cases/p01138/input.0.txt
@@ -0,0 +1,12 @@
+3
+05:47:15 09:54:40
+12:12:59 12:13:00
+16:30:20 21:18:53
+6
+00:00:00 03:00:00
+01:00:00 03:00:00
+02:00:00 03:00:00
+03:00:00 04:00:00
+03:00:00 05:00:00
+03:00:00 06:00:00
+0
diff --git a/public_test_cases/p01138/input.1.txt b/public_test_cases/p01138/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c4fffadd257878fe11b0e0d274fa37337465df1
--- /dev/null
+++ b/public_test_cases/p01138/input.1.txt
@@ -0,0 +1,12 @@
+3
+05:47:15 09:54:40
+12:12:59 12:13:00
+16:30:20 21:18:53
+6
+00:00:00 03:00:00
+01:00:00 03:00:00
+02:00:00 03:00:00
+03:00:00 04:00:00
+03:00:00 05:00:00
+03:00:00 06:00:00
+0
diff --git a/public_test_cases/p01138/output.0.txt b/public_test_cases/p01138/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p01138/output.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p01138/output.1.txt b/public_test_cases/p01138/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p01138/output.1.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p01139/input.0.txt b/public_test_cases/p01139/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88b42350b06d70bf243e2b9029cae371286b0887
--- /dev/null
+++ b/public_test_cases/p01139/input.0.txt
@@ -0,0 +1,18 @@
+10 10
+.....W....
+....W.W...
+...W...W..
+....W...W.
+.....W...W
+......W.W.
+BBB....W..
+..B..BBBBB
+..B..B....
+..B..B..W.
+5 3
+...B.
+...BB
+.....
+1 1
+.
+0 0
diff --git a/public_test_cases/p01139/input.1.txt b/public_test_cases/p01139/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88b42350b06d70bf243e2b9029cae371286b0887
--- /dev/null
+++ b/public_test_cases/p01139/input.1.txt
@@ -0,0 +1,18 @@
+10 10
+.....W....
+....W.W...
+...W...W..
+....W...W.
+.....W...W
+......W.W.
+BBB....W..
+..B..BBBBB
+..B..B....
+..B..B..W.
+5 3
+...B.
+...BB
+.....
+1 1
+.
+0 0
diff --git a/public_test_cases/p01139/output.0.txt b/public_test_cases/p01139/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7948314237a7bb50e0a7e0f78e887125a7d3df11
--- /dev/null
+++ b/public_test_cases/p01139/output.0.txt
@@ -0,0 +1,3 @@
+6 21
+12 0
+0 0
diff --git a/public_test_cases/p01139/output.1.txt b/public_test_cases/p01139/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7948314237a7bb50e0a7e0f78e887125a7d3df11
--- /dev/null
+++ b/public_test_cases/p01139/output.1.txt
@@ -0,0 +1,3 @@
+6 21
+12 0
+0 0
diff --git a/public_test_cases/p01140/input.0.txt b/public_test_cases/p01140/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4aded3f83e8bd3e0499bb6509f3820feeba34578
--- /dev/null
+++ b/public_test_cases/p01140/input.0.txt
@@ -0,0 +1,12 @@
+3 3
+1
+1
+4
+2
+3
+1
+1 2
+10
+10
+10
+0 0
diff --git a/public_test_cases/p01140/input.1.txt b/public_test_cases/p01140/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4aded3f83e8bd3e0499bb6509f3820feeba34578
--- /dev/null
+++ b/public_test_cases/p01140/input.1.txt
@@ -0,0 +1,12 @@
+3 3
+1
+1
+4
+2
+3
+1
+1 2
+10
+10
+10
+0 0
diff --git a/public_test_cases/p01140/output.0.txt b/public_test_cases/p01140/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74abe52ea08f303355ad2b8a25939c5ba57c9224
--- /dev/null
+++ b/public_test_cases/p01140/output.0.txt
@@ -0,0 +1,2 @@
+6
+2
diff --git a/public_test_cases/p01140/output.1.txt b/public_test_cases/p01140/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74abe52ea08f303355ad2b8a25939c5ba57c9224
--- /dev/null
+++ b/public_test_cases/p01140/output.1.txt
@@ -0,0 +1,2 @@
+6
+2
diff --git a/public_test_cases/p01141/input.0.txt b/public_test_cases/p01141/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55ea99b537d1d040204db1c24a68c6aa09f26f0f
--- /dev/null
+++ b/public_test_cases/p01141/input.0.txt
@@ -0,0 +1,25 @@
+4
+0 0 10 0 10 10 0 10
+10
+12
+0 5
+9 5
+4
+0 0 10 0 10 10 0 10
+10
+12
+0 0
+9 1
+4
+0 0 10 0 10 10 0 10
+10
+12
+0 1
+9 1
+8
+2 0 4 0 6 2 6 4 4 6 2 6 0 4 0 2
+10
+12
+3 0
+3 5
+0
diff --git a/public_test_cases/p01141/input.1.txt b/public_test_cases/p01141/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55ea99b537d1d040204db1c24a68c6aa09f26f0f
--- /dev/null
+++ b/public_test_cases/p01141/input.1.txt
@@ -0,0 +1,25 @@
+4
+0 0 10 0 10 10 0 10
+10
+12
+0 5
+9 5
+4
+0 0 10 0 10 10 0 10
+10
+12
+0 0
+9 1
+4
+0 0 10 0 10 10 0 10
+10
+12
+0 1
+9 1
+8
+2 0 4 0 6 2 6 4 4 6 2 6 0 4 0 2
+10
+12
+3 0
+3 5
+0
diff --git a/public_test_cases/p01141/output.0.txt b/public_test_cases/p01141/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11a685aa4f9287958b56cce87fb53d9241e8e48c
--- /dev/null
+++ b/public_test_cases/p01141/output.0.txt
@@ -0,0 +1,4 @@
+108.0
+96.63324958071081
+103.2664991614216
+60.0
diff --git a/public_test_cases/p01141/output.1.txt b/public_test_cases/p01141/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11a685aa4f9287958b56cce87fb53d9241e8e48c
--- /dev/null
+++ b/public_test_cases/p01141/output.1.txt
@@ -0,0 +1,4 @@
+108.0
+96.63324958071081
+103.2664991614216
+60.0
diff --git a/public_test_cases/p01142/input.0.txt b/public_test_cases/p01142/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cb2b2854f77bba31457c0112912264e8517251e
--- /dev/null
+++ b/public_test_cases/p01142/input.0.txt
@@ -0,0 +1,105 @@
+5 3
+#####
+#K.M#
+#####
+9 5
+#########
+#.....###
+#.###..M#
+#K#######
+#########
+9 5
+#########
+#K......#
+####.####
+####M####
+#########
+9 5
+#########
+#M......#
+####.####
+####K####
+#########
+7 9
+#######
+#####M#
+#####.#
+#.....#
+#.###.#
+#.....#
+#.#####
+#K#####
+#######
+7 6
+#######
+#####.#
+##....#
+#K..#.#
+###M#.#
+#######
+7 8
+#######
+##...##
+###.#M#
+#.....#
+#.#...#
+#.#..##
+#.K####
+#######
+9 6
+#########
+###..##.#
+##......#
+#K....#.#
+##..#M#.#
+#########
+9 6
+#########
+#.#######
+#....#M.#
+#.#...#.#
+###K#...#
+#########
+12 7
+############
+###...####.#
+##K#...M##.#
+##.....#...#
+#........#.#
+###..#...#.#
+############
+23 16
+#######################
+#########...###########
+##########.###.########
+##########.....########
+##########.#.#.###...##
+########.#.#.######.###
+########............###
+########.###.######.###
+############.######.###
+#K...........######.###
+####.#######.######.###
+####.#######.######.###
+####.................M#
+####.#######.##########
+###...#####...#########
+#######################
+46 16
+##############################################
+#..............#..############################
+#..#..........#.#.###....#...................#
+#.................###.#.#.#...............#..#
+#...#..#....#...#.###.#......................#
+#...#....#....#.#.###.#.#...#....#....#..#...#
+#.#........#..........#.#.#....#....#....#...#
+#...#...#.......###.#........#.........#...#.#
+#.#...#.........###.#..##.......#........#...#
+#...#........#..###.#..##.........#........#.#
+#...............###.#..##..#.........#...#...#
+############.######.#..##....................#
+###########K...........#.########.############
+###################...............M###########
+##################.......#####################
+##############################################
+0 0
diff --git a/public_test_cases/p01142/input.1.txt b/public_test_cases/p01142/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cb2b2854f77bba31457c0112912264e8517251e
--- /dev/null
+++ b/public_test_cases/p01142/input.1.txt
@@ -0,0 +1,105 @@
+5 3
+#####
+#K.M#
+#####
+9 5
+#########
+#.....###
+#.###..M#
+#K#######
+#########
+9 5
+#########
+#K......#
+####.####
+####M####
+#########
+9 5
+#########
+#M......#
+####.####
+####K####
+#########
+7 9
+#######
+#####M#
+#####.#
+#.....#
+#.###.#
+#.....#
+#.#####
+#K#####
+#######
+7 6
+#######
+#####.#
+##....#
+#K..#.#
+###M#.#
+#######
+7 8
+#######
+##...##
+###.#M#
+#.....#
+#.#...#
+#.#..##
+#.K####
+#######
+9 6
+#########
+###..##.#
+##......#
+#K....#.#
+##..#M#.#
+#########
+9 6
+#########
+#.#######
+#....#M.#
+#.#...#.#
+###K#...#
+#########
+12 7
+############
+###...####.#
+##K#...M##.#
+##.....#...#
+#........#.#
+###..#...#.#
+############
+23 16
+#######################
+#########...###########
+##########.###.########
+##########.....########
+##########.#.#.###...##
+########.#.#.######.###
+########............###
+########.###.######.###
+############.######.###
+#K...........######.###
+####.#######.######.###
+####.#######.######.###
+####.................M#
+####.#######.##########
+###...#####...#########
+#######################
+46 16
+##############################################
+#..............#..############################
+#..#..........#.#.###....#...................#
+#.................###.#.#.#...............#..#
+#...#..#....#...#.###.#......................#
+#...#....#....#.#.###.#.#...#....#....#..#...#
+#.#........#..........#.#.#....#....#....#...#
+#...#...#.......###.#........#.........#...#.#
+#.#...#.........###.#..##.......#........#...#
+#...#........#..###.#..##.........#........#.#
+#...............###.#..##..#.........#...#...#
+############.######.#..##....................#
+###########K...........#.########.############
+###################...............M###########
+##################.......#####################
+##############################################
+0 0
diff --git a/public_test_cases/p01142/output.0.txt b/public_test_cases/p01142/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..944c09245604b356d889d903cd2aa2d86bf9f522
--- /dev/null
+++ b/public_test_cases/p01142/output.0.txt
@@ -0,0 +1,12 @@
+He can accomplish his mission.
+He can accomplish his mission.
+He cannot bring tea to his master.
+He cannot return to the kitchen.
+He can accomplish his mission.
+He can accomplish his mission.
+He cannot return to the kitchen.
+He cannot return to the kitchen.
+He can accomplish his mission.
+He can accomplish his mission.
+He cannot return to the kitchen.
+He can accomplish his mission.
diff --git a/public_test_cases/p01142/output.1.txt b/public_test_cases/p01142/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..944c09245604b356d889d903cd2aa2d86bf9f522
--- /dev/null
+++ b/public_test_cases/p01142/output.1.txt
@@ -0,0 +1,12 @@
+He can accomplish his mission.
+He can accomplish his mission.
+He cannot bring tea to his master.
+He cannot return to the kitchen.
+He can accomplish his mission.
+He can accomplish his mission.
+He cannot return to the kitchen.
+He cannot return to the kitchen.
+He can accomplish his mission.
+He can accomplish his mission.
+He cannot return to the kitchen.
+He can accomplish his mission.
diff --git a/public_test_cases/p01143/input.0.txt b/public_test_cases/p01143/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b359f753b6c0b197e613da26b048df51ef3649b1
--- /dev/null
+++ b/public_test_cases/p01143/input.0.txt
@@ -0,0 +1,14 @@
+3 2 50
+1
+2
+3
+4 4 75
+1
+2
+3
+0
+3 1 10
+8
+1
+1
+0 0 0
diff --git a/public_test_cases/p01143/input.1.txt b/public_test_cases/p01143/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b359f753b6c0b197e613da26b048df51ef3649b1
--- /dev/null
+++ b/public_test_cases/p01143/input.1.txt
@@ -0,0 +1,14 @@
+3 2 50
+1
+2
+3
+4 4 75
+1
+2
+3
+0
+3 1 10
+8
+1
+1
+0 0 0
diff --git a/public_test_cases/p01143/output.0.txt b/public_test_cases/p01143/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78956d4b69f3fe72f864e5d2650ec855ecbea669
--- /dev/null
+++ b/public_test_cases/p01143/output.0.txt
@@ -0,0 +1,3 @@
+150
+0
+112
diff --git a/public_test_cases/p01143/output.1.txt b/public_test_cases/p01143/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78956d4b69f3fe72f864e5d2650ec855ecbea669
--- /dev/null
+++ b/public_test_cases/p01143/output.1.txt
@@ -0,0 +1,3 @@
+150
+0
+112
diff --git a/public_test_cases/p01144/input.0.txt b/public_test_cases/p01144/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fecaca7d95705e95e473ab0e6afb4e8a95d7d18
--- /dev/null
+++ b/public_test_cases/p01144/input.0.txt
@@ -0,0 +1,8 @@
+2 8
+5 6
+4 5
+3 1
+5 10
+5 10
+5 10
+0 0
diff --git a/public_test_cases/p01144/input.1.txt b/public_test_cases/p01144/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fecaca7d95705e95e473ab0e6afb4e8a95d7d18
--- /dev/null
+++ b/public_test_cases/p01144/input.1.txt
@@ -0,0 +1,8 @@
+2 8
+5 6
+4 5
+3 1
+5 10
+5 10
+5 10
+0 0
diff --git a/public_test_cases/p01144/output.0.txt b/public_test_cases/p01144/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e9ce252efd0fec511ca7d2628fbdd27b3ea3915
--- /dev/null
+++ b/public_test_cases/p01144/output.0.txt
@@ -0,0 +1,2 @@
+5
+140
diff --git a/public_test_cases/p01144/output.1.txt b/public_test_cases/p01144/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e9ce252efd0fec511ca7d2628fbdd27b3ea3915
--- /dev/null
+++ b/public_test_cases/p01144/output.1.txt
@@ -0,0 +1,2 @@
+5
+140
diff --git a/public_test_cases/p01145/input.0.txt b/public_test_cases/p01145/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb625ee6baee4fa536f380b55d1b3316b5926a67
--- /dev/null
+++ b/public_test_cases/p01145/input.0.txt
@@ -0,0 +1,9 @@
+kusa
+haha
+hakata
+kippu
+sasakisan
+sosonokasu
+hottokouhii
+i
+#
diff --git a/public_test_cases/p01145/output.0.txt b/public_test_cases/p01145/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..468b3fa46cc3b737cfcf912c37222cce7f42d7f6
--- /dev/null
+++ b/public_test_cases/p01145/output.0.txt
@@ -0,0 +1,8 @@
+k(u)sa
+h(a)ha
+h(a)kata
+k(i)ppu
+s(a)sak(i)san
+s(o)sonokas(u)
+hott(o)kouhii
+i
diff --git a/public_test_cases/p01146/input.0.txt b/public_test_cases/p01146/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e9ba118040e697527e87d2c8327bb00acf73de
--- /dev/null
+++ b/public_test_cases/p01146/input.0.txt
@@ -0,0 +1,33 @@
+2 1 0 1 0 1
+0 1 2
+3 1 1 2 0 1
+2
+0 2 1
+1 2 1
+3 2 1 2 0 1
+2
+0 2 1
+1 2 1
+4 4 1 4 1 3
+2
+0 1 2
+1 2 4
+0 2 1
+3 0 3
+5 3 2 6 0 3
+1 2
+2 1 2
+1 0 1
+3 4 1
+2 4 1
+4 1 2
+2 0 2
+5 4 2 6 0 3
+1 2
+4 2 4
+2 1 2
+4 3 1
+0 1 5
+1 4 2
+2 0 3
+0 0 0 0 0 0
diff --git a/public_test_cases/p01146/input.1.txt b/public_test_cases/p01146/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e9ba118040e697527e87d2c8327bb00acf73de
--- /dev/null
+++ b/public_test_cases/p01146/input.1.txt
@@ -0,0 +1,33 @@
+2 1 0 1 0 1
+0 1 2
+3 1 1 2 0 1
+2
+0 2 1
+1 2 1
+3 2 1 2 0 1
+2
+0 2 1
+1 2 1
+4 4 1 4 1 3
+2
+0 1 2
+1 2 4
+0 2 1
+3 0 3
+5 3 2 6 0 3
+1 2
+2 1 2
+1 0 1
+3 4 1
+2 4 1
+4 1 2
+2 0 2
+5 4 2 6 0 3
+1 2
+4 2 4
+2 1 2
+4 3 1
+0 1 5
+1 4 2
+2 0 3
+0 0 0 0 0 0
diff --git a/public_test_cases/p01146/output.0.txt b/public_test_cases/p01146/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..007fea144e4774b920641189448568ac72afc118
--- /dev/null
+++ b/public_test_cases/p01146/output.0.txt
@@ -0,0 +1,6 @@
+Help!
+3
+2
+10
+5
+12
diff --git a/public_test_cases/p01146/output.1.txt b/public_test_cases/p01146/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..007fea144e4774b920641189448568ac72afc118
--- /dev/null
+++ b/public_test_cases/p01146/output.1.txt
@@ -0,0 +1,6 @@
+Help!
+3
+2
+10
+5
+12
diff --git a/public_test_cases/p01147/input.0.txt b/public_test_cases/p01147/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d1bee64fb56d8c2dae88ec1680ea1a399c9faaa
--- /dev/null
+++ b/public_test_cases/p01147/input.0.txt
@@ -0,0 +1,16 @@
+4
+apple
+length
+things
+thin
+2
+icp
+cpc
+3
+zeta
+eta
+alphabet
+2
+until
+till
+0
diff --git a/public_test_cases/p01147/input.1.txt b/public_test_cases/p01147/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d1bee64fb56d8c2dae88ec1680ea1a399c9faaa
--- /dev/null
+++ b/public_test_cases/p01147/input.1.txt
@@ -0,0 +1,16 @@
+4
+apple
+length
+things
+thin
+2
+icp
+cpc
+3
+zeta
+eta
+alphabet
+2
+until
+till
+0
diff --git a/public_test_cases/p01147/output.0.txt b/public_test_cases/p01147/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1312cfea4c41548849db33c98dd2fb5d849d303b
--- /dev/null
+++ b/public_test_cases/p01147/output.0.txt
@@ -0,0 +1,4 @@
+applengthings
+icpc
+zetalphabet
+untill
diff --git a/public_test_cases/p01147/output.1.txt b/public_test_cases/p01147/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1312cfea4c41548849db33c98dd2fb5d849d303b
--- /dev/null
+++ b/public_test_cases/p01147/output.1.txt
@@ -0,0 +1,4 @@
+applengthings
+icpc
+zetalphabet
+untill
diff --git a/public_test_cases/p01148/input.0.txt b/public_test_cases/p01148/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82b49820d12399f23f27a5b205f6ebe7cc22ed6c
--- /dev/null
+++ b/public_test_cases/p01148/input.0.txt
@@ -0,0 +1,8 @@
+4 1 1
+1 1
+1 2
+-1 2
+-1 1
+2 1 0
+0 1 0 1 2
+0 0 0
diff --git a/public_test_cases/p01148/input.1.txt b/public_test_cases/p01148/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82b49820d12399f23f27a5b205f6ebe7cc22ed6c
--- /dev/null
+++ b/public_test_cases/p01148/input.1.txt
@@ -0,0 +1,8 @@
+4 1 1
+1 1
+1 2
+-1 2
+-1 1
+2 1 0
+0 1 0 1 2
+0 0 0
diff --git a/public_test_cases/p01148/output.0.txt b/public_test_cases/p01148/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..112836e3d65356d5decb054f4c85d7201f618aef
--- /dev/null
+++ b/public_test_cases/p01148/output.0.txt
@@ -0,0 +1,2 @@
+1
+1.000
diff --git a/public_test_cases/p01148/output.1.txt b/public_test_cases/p01148/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..112836e3d65356d5decb054f4c85d7201f618aef
--- /dev/null
+++ b/public_test_cases/p01148/output.1.txt
@@ -0,0 +1,2 @@
+1
+1.000
diff --git a/public_test_cases/p01149/input.0.txt b/public_test_cases/p01149/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..959707ed361d20d60ea0ad2c0e58ac55b20db2bd
--- /dev/null
+++ b/public_test_cases/p01149/input.0.txt
@@ -0,0 +1,9 @@
+4
+5 4
+9 2 8 3 7 4 6 5
+A J
+K Q J T 9 8 7 6
+T 4
+7 J A 6 Q T K 7
+2 2
+2 3 4 K 2 3 4 K
diff --git a/public_test_cases/p01149/input.1.txt b/public_test_cases/p01149/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..959707ed361d20d60ea0ad2c0e58ac55b20db2bd
--- /dev/null
+++ b/public_test_cases/p01149/input.1.txt
@@ -0,0 +1,9 @@
+4
+5 4
+9 2 8 3 7 4 6 5
+A J
+K Q J T 9 8 7 6
+T 4
+7 J A 6 Q T K 7
+2 2
+2 3 4 K 2 3 4 K
diff --git a/public_test_cases/p01149/output.0.txt b/public_test_cases/p01149/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7c6f2f1eed280d39777e5d6ddde23eb10abb905
--- /dev/null
+++ b/public_test_cases/p01149/output.0.txt
@@ -0,0 +1,4 @@
+18
+blackjack
+21
+bust
diff --git a/public_test_cases/p01149/output.1.txt b/public_test_cases/p01149/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7c6f2f1eed280d39777e5d6ddde23eb10abb905
--- /dev/null
+++ b/public_test_cases/p01149/output.1.txt
@@ -0,0 +1,4 @@
+18
+blackjack
+21
+bust
diff --git a/public_test_cases/p01150/input.0.txt b/public_test_cases/p01150/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9f2f89bafab08d66ba1b1835614023bf5a3b9e5
--- /dev/null
+++ b/public_test_cases/p01150/input.0.txt
@@ -0,0 +1,4 @@
+8
+16
+17
+0
diff --git a/public_test_cases/p01150/input.1.txt b/public_test_cases/p01150/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9f2f89bafab08d66ba1b1835614023bf5a3b9e5
--- /dev/null
+++ b/public_test_cases/p01150/input.1.txt
@@ -0,0 +1,4 @@
+8
+16
+17
+0
diff --git a/public_test_cases/p01150/output.0.txt b/public_test_cases/p01150/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d46fc6aa9dff5bfd3582c771643cd74adbed61d
--- /dev/null
+++ b/public_test_cases/p01150/output.0.txt
@@ -0,0 +1,3 @@
+0
+0
+685440
diff --git a/public_test_cases/p01150/output.1.txt b/public_test_cases/p01150/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d46fc6aa9dff5bfd3582c771643cd74adbed61d
--- /dev/null
+++ b/public_test_cases/p01150/output.1.txt
@@ -0,0 +1,3 @@
+0
+0
+685440
diff --git a/public_test_cases/p01151/input.0.txt b/public_test_cases/p01151/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1cc6eb8234026f673a507f11f6de62b778e29c04
--- /dev/null
+++ b/public_test_cases/p01151/input.0.txt
@@ -0,0 +1,5 @@
+5
+1 2 3 3 7
+4
+2 3 3 3
+0
diff --git a/public_test_cases/p01151/input.1.txt b/public_test_cases/p01151/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1cc6eb8234026f673a507f11f6de62b778e29c04
--- /dev/null
+++ b/public_test_cases/p01151/input.1.txt
@@ -0,0 +1,5 @@
+5
+1 2 3 3 7
+4
+2 3 3 3
+0
diff --git a/public_test_cases/p01151/output.0.txt b/public_test_cases/p01151/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e3063f4322585d2825f986727c69b45ca00c6d6
--- /dev/null
+++ b/public_test_cases/p01151/output.0.txt
@@ -0,0 +1,2 @@
+3 3 1 7 2
+No
diff --git a/public_test_cases/p01151/output.1.txt b/public_test_cases/p01151/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e3063f4322585d2825f986727c69b45ca00c6d6
--- /dev/null
+++ b/public_test_cases/p01151/output.1.txt
@@ -0,0 +1,2 @@
+3 3 1 7 2
+No
diff --git a/public_test_cases/p01152/input.0.txt b/public_test_cases/p01152/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f991579427fa8cdda87ea9825e2c00c0a212440f
--- /dev/null
+++ b/public_test_cases/p01152/input.0.txt
@@ -0,0 +1,6 @@
+5
+3 C E G
+3 C E G#
+4 C A G E
+5 F A C E D
+3 C D E
diff --git a/public_test_cases/p01152/input.1.txt b/public_test_cases/p01152/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f991579427fa8cdda87ea9825e2c00c0a212440f
--- /dev/null
+++ b/public_test_cases/p01152/input.1.txt
@@ -0,0 +1,6 @@
+5
+3 C E G
+3 C E G#
+4 C A G E
+5 F A C E D
+3 C D E
diff --git a/public_test_cases/p01152/output.0.txt b/public_test_cases/p01152/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..071bde7a0e336c04fad6f26fcf253d7aefd25773
--- /dev/null
+++ b/public_test_cases/p01152/output.0.txt
@@ -0,0 +1,5 @@
+C Em(+5)
+C(+5) E(+5) G#(+5)
+C(13) Am7 Am(+13)
+Dm7(9) FM7(13)
+UNKNOWN
diff --git a/public_test_cases/p01152/output.1.txt b/public_test_cases/p01152/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..071bde7a0e336c04fad6f26fcf253d7aefd25773
--- /dev/null
+++ b/public_test_cases/p01152/output.1.txt
@@ -0,0 +1,5 @@
+C Em(+5)
+C(+5) E(+5) G#(+5)
+C(13) Am7 Am(+13)
+Dm7(9) FM7(13)
+UNKNOWN
diff --git a/public_test_cases/p01153/input.0.txt b/public_test_cases/p01153/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..537e3f97a2a83b376c22f69a218a7b311dbb0af8
--- /dev/null
+++ b/public_test_cases/p01153/input.0.txt
@@ -0,0 +1,3 @@
+2
+4 0 1 2 3
+6 1 8 0 3 5 9
diff --git a/public_test_cases/p01153/input.1.txt b/public_test_cases/p01153/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..537e3f97a2a83b376c22f69a218a7b311dbb0af8
--- /dev/null
+++ b/public_test_cases/p01153/input.1.txt
@@ -0,0 +1,3 @@
+2
+4 0 1 2 3
+6 1 8 0 3 5 9
diff --git a/public_test_cases/p01153/output.0.txt b/public_test_cases/p01153/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff6593e176d8c3cdb49109a3cdf2c411c30dff8f
--- /dev/null
+++ b/public_test_cases/p01153/output.0.txt
@@ -0,0 +1,2 @@
+6
+34
diff --git a/public_test_cases/p01153/output.1.txt b/public_test_cases/p01153/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff6593e176d8c3cdb49109a3cdf2c411c30dff8f
--- /dev/null
+++ b/public_test_cases/p01153/output.1.txt
@@ -0,0 +1,2 @@
+6
+34
diff --git a/public_test_cases/p01154/input.0.txt b/public_test_cases/p01154/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e50423d958276ddb27cad607117e75d13846a4fa
--- /dev/null
+++ b/public_test_cases/p01154/input.0.txt
@@ -0,0 +1,15 @@
+4
+0 0
+2 0
+2 2
+0 2
+1 1
+6
+2 2
+2 5
+0 5
+0 0
+5 0
+5 2
+1 4
+0
diff --git a/public_test_cases/p01154/input.1.txt b/public_test_cases/p01154/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e50423d958276ddb27cad607117e75d13846a4fa
--- /dev/null
+++ b/public_test_cases/p01154/input.1.txt
@@ -0,0 +1,15 @@
+4
+0 0
+2 0
+2 2
+0 2
+1 1
+6
+2 2
+2 5
+0 5
+0 0
+5 0
+5 2
+1 4
+0
diff --git a/public_test_cases/p01154/output.0.txt b/public_test_cases/p01154/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..202b0c58fcc90431004c8d41ac5ac3891f1bdff8
--- /dev/null
+++ b/public_test_cases/p01154/output.0.txt
@@ -0,0 +1,2 @@
+0.000
+3.000
diff --git a/public_test_cases/p01154/output.1.txt b/public_test_cases/p01154/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..202b0c58fcc90431004c8d41ac5ac3891f1bdff8
--- /dev/null
+++ b/public_test_cases/p01154/output.1.txt
@@ -0,0 +1,2 @@
+0.000
+3.000
diff --git a/public_test_cases/p01155/input.0.txt b/public_test_cases/p01155/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70501dd3de561b2f59275188c4ac6c0283669f4f
--- /dev/null
+++ b/public_test_cases/p01155/input.0.txt
@@ -0,0 +1,3 @@
+33 40
+57 144
+0 0
diff --git a/public_test_cases/p01155/input.1.txt b/public_test_cases/p01155/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70501dd3de561b2f59275188c4ac6c0283669f4f
--- /dev/null
+++ b/public_test_cases/p01155/input.1.txt
@@ -0,0 +1,3 @@
+33 40
+57 144
+0 0
diff --git a/public_test_cases/p01155/output.0.txt b/public_test_cases/p01155/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbde413bca5a7bf7a619b1d0fb0afd1bc5a5bb35
--- /dev/null
+++ b/public_test_cases/p01155/output.0.txt
@@ -0,0 +1,2 @@
+22
+94
diff --git a/public_test_cases/p01155/output.1.txt b/public_test_cases/p01155/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbde413bca5a7bf7a619b1d0fb0afd1bc5a5bb35
--- /dev/null
+++ b/public_test_cases/p01155/output.1.txt
@@ -0,0 +1,2 @@
+22
+94
diff --git a/public_test_cases/p01156/input.0.txt b/public_test_cases/p01156/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea508bd2d8f7cb963beff3851ae2e1636f274306
--- /dev/null
+++ b/public_test_cases/p01156/input.0.txt
@@ -0,0 +1,14 @@
+8
+Lightning
+Gun
+Paper
+Sponge
+Water
+Dragon
+Devil
+Air
+3
+Rock
+Scissors
+Paper
+0
diff --git a/public_test_cases/p01156/input.1.txt b/public_test_cases/p01156/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea508bd2d8f7cb963beff3851ae2e1636f274306
--- /dev/null
+++ b/public_test_cases/p01156/input.1.txt
@@ -0,0 +1,14 @@
+8
+Lightning
+Gun
+Paper
+Sponge
+Water
+Dragon
+Devil
+Air
+3
+Rock
+Scissors
+Paper
+0
diff --git a/public_test_cases/p01156/output.0.txt b/public_test_cases/p01156/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e693b8bd3e2ce67d8f293760020d68c40dd64b4d
--- /dev/null
+++ b/public_test_cases/p01156/output.0.txt
@@ -0,0 +1,2 @@
+Sponge
+Draw
diff --git a/public_test_cases/p01156/output.1.txt b/public_test_cases/p01156/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e693b8bd3e2ce67d8f293760020d68c40dd64b4d
--- /dev/null
+++ b/public_test_cases/p01156/output.1.txt
@@ -0,0 +1,2 @@
+Sponge
+Draw
diff --git a/public_test_cases/p01157/input.0.txt b/public_test_cases/p01157/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b82dd181ca45953e6e32ee0e5375c422c21da77
--- /dev/null
+++ b/public_test_cases/p01157/input.0.txt
@@ -0,0 +1,21 @@
+3 2
+1 2 10
+3
+0 3420 o
+1 4589 o
+2 4638 x
+3
+1 6577 SUZUMIYA
+2 7644 SUZUMIYA
+0 19979 YASUZUMI
+4 2
+150 150 150 150
+4
+0 1344 HOGEHOGE
+1 1466 HOGEHOGE
+2 1789 HOGEHOGE
+3 19100 GEHO
+2
+2 1200 SETTEN
+3 700 SETTEN
+0 0
diff --git a/public_test_cases/p01157/input.1.txt b/public_test_cases/p01157/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b82dd181ca45953e6e32ee0e5375c422c21da77
--- /dev/null
+++ b/public_test_cases/p01157/input.1.txt
@@ -0,0 +1,21 @@
+3 2
+1 2 10
+3
+0 3420 o
+1 4589 o
+2 4638 x
+3
+1 6577 SUZUMIYA
+2 7644 SUZUMIYA
+0 19979 YASUZUMI
+4 2
+150 150 150 150
+4
+0 1344 HOGEHOGE
+1 1466 HOGEHOGE
+2 1789 HOGEHOGE
+3 19100 GEHO
+2
+2 1200 SETTEN
+3 700 SETTEN
+0 0
diff --git a/public_test_cases/p01157/output.0.txt b/public_test_cases/p01157/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e2276fc01b3f29605145e2cc9f161f17b6959b1
--- /dev/null
+++ b/public_test_cases/p01157/output.0.txt
@@ -0,0 +1,10 @@
+177 57
+19 58
+19 57
+19 62
+
+253 70
+13 58
+13 58
+24 66
+20 71
diff --git a/public_test_cases/p01157/output.1.txt b/public_test_cases/p01157/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e2276fc01b3f29605145e2cc9f161f17b6959b1
--- /dev/null
+++ b/public_test_cases/p01157/output.1.txt
@@ -0,0 +1,10 @@
+177 57
+19 58
+19 57
+19 62
+
+253 70
+13 58
+13 58
+24 66
+20 71
diff --git a/public_test_cases/p01158/input.0.txt b/public_test_cases/p01158/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9c15ba3f600627d7791c776d3e6efda34763fff
--- /dev/null
+++ b/public_test_cases/p01158/input.0.txt
@@ -0,0 +1,17 @@
+3
+gu 20 pa 10
+ci 20 gu 10
+pa 20 ci 10
+2
+tool 20 tool 10
+product 1000 tool 10
+8
+fishhook 21 disk 3
+mill 14 axe 7
+boomerang 56 sundial 28
+flint 35 fishhook 5
+axe 35 flint 14
+disk 42 disk 2
+sundial 14 disk 7
+hammer 28 mill 7
+0
diff --git a/public_test_cases/p01158/input.1.txt b/public_test_cases/p01158/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9c15ba3f600627d7791c776d3e6efda34763fff
--- /dev/null
+++ b/public_test_cases/p01158/input.1.txt
@@ -0,0 +1,17 @@
+3
+gu 20 pa 10
+ci 20 gu 10
+pa 20 ci 10
+2
+tool 20 tool 10
+product 1000 tool 10
+8
+fishhook 21 disk 3
+mill 14 axe 7
+boomerang 56 sundial 28
+flint 35 fishhook 5
+axe 35 flint 14
+disk 42 disk 2
+sundial 14 disk 7
+hammer 28 mill 7
+0
diff --git a/public_test_cases/p01158/output.0.txt b/public_test_cases/p01158/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81df06b34b3d8b5e560b75cb5c009688f8b0361a
--- /dev/null
+++ b/public_test_cases/p01158/output.0.txt
@@ -0,0 +1,3 @@
+40
+30
+113
diff --git a/public_test_cases/p01158/output.1.txt b/public_test_cases/p01158/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81df06b34b3d8b5e560b75cb5c009688f8b0361a
--- /dev/null
+++ b/public_test_cases/p01158/output.1.txt
@@ -0,0 +1,3 @@
+40
+30
+113
diff --git a/public_test_cases/p01159/input.0.txt b/public_test_cases/p01159/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49e6de4b2a8d4110f7c88e82a69a548c6750eddb
--- /dev/null
+++ b/public_test_cases/p01159/input.0.txt
@@ -0,0 +1,17 @@
+3 1
+0 0
+1 1
+2 0
+11 1.5
+0 0
+2 7
+5 3
+7 8
+10 -5
+13 4
+15 -1
+17 3
+20 -7
+23 9
+24 0
+0 0
diff --git a/public_test_cases/p01159/input.1.txt b/public_test_cases/p01159/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49e6de4b2a8d4110f7c88e82a69a548c6750eddb
--- /dev/null
+++ b/public_test_cases/p01159/input.1.txt
@@ -0,0 +1,17 @@
+3 1
+0 0
+1 1
+2 0
+11 1.5
+0 0
+2 7
+5 3
+7 8
+10 -5
+13 4
+15 -1
+17 3
+20 -7
+23 9
+24 0
+0 0
diff --git a/public_test_cases/p01159/output.0.txt b/public_test_cases/p01159/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fd3915ae8aba4f1fb9147ac2a508d0ab56406ef
--- /dev/null
+++ b/public_test_cases/p01159/output.0.txt
@@ -0,0 +1,2 @@
+0.166666666666667
+165.213541666667
diff --git a/public_test_cases/p01159/output.1.txt b/public_test_cases/p01159/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fd3915ae8aba4f1fb9147ac2a508d0ab56406ef
--- /dev/null
+++ b/public_test_cases/p01159/output.1.txt
@@ -0,0 +1,2 @@
+0.166666666666667
+165.213541666667
diff --git a/public_test_cases/p01160/input.0.txt b/public_test_cases/p01160/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7d7097fbcb708c1cd80f289bcf398f6efbed6b3
--- /dev/null
+++ b/public_test_cases/p01160/input.0.txt
@@ -0,0 +1,2 @@
+YMAOKDOAMIMHAADAMMA
+LELVEEL
diff --git a/public_test_cases/p01160/input.1.txt b/public_test_cases/p01160/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7d7097fbcb708c1cd80f289bcf398f6efbed6b3
--- /dev/null
+++ b/public_test_cases/p01160/input.1.txt
@@ -0,0 +1,2 @@
+YMAOKDOAMIMHAADAMMA
+LELVEEL
diff --git a/public_test_cases/p01160/output.0.txt b/public_test_cases/p01160/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b982e59af2f44aaade94cd4d5ff620bdafb79644
--- /dev/null
+++ b/public_test_cases/p01160/output.0.txt
@@ -0,0 +1,2 @@
+MADAMIMADAM
+LEVEL
diff --git a/public_test_cases/p01160/output.1.txt b/public_test_cases/p01160/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b982e59af2f44aaade94cd4d5ff620bdafb79644
--- /dev/null
+++ b/public_test_cases/p01160/output.1.txt
@@ -0,0 +1,2 @@
+MADAMIMADAM
+LEVEL
diff --git a/public_test_cases/p01161/input.0.txt b/public_test_cases/p01161/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b021a723732c1a213938d5d4f007bd0e6a5440ff
--- /dev/null
+++ b/public_test_cases/p01161/input.0.txt
@@ -0,0 +1,31 @@
+4 4
+2 2 2
+2 2 2
+99 1 0
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+99 1 0
+99 1 0
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+99 1 0
+1 0
+1 6
+2 2
+10
+10
+5 5 0
+5 5 0
+5 5 0
+5 5 0
+5 0
+5 10
+0 0
diff --git a/public_test_cases/p01161/input.1.txt b/public_test_cases/p01161/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b021a723732c1a213938d5d4f007bd0e6a5440ff
--- /dev/null
+++ b/public_test_cases/p01161/input.1.txt
@@ -0,0 +1,31 @@
+4 4
+2 2 2
+2 2 2
+99 1 0
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+99 1 0
+99 1 0
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+1 99 1
+99 1 0
+1 0
+1 6
+2 2
+10
+10
+5 5 0
+5 5 0
+5 5 0
+5 5 0
+5 0
+5 10
+0 0
diff --git a/public_test_cases/p01161/output.0.txt b/public_test_cases/p01161/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea1bb27e6e00123ced5e4d79955baae1a010f1d2
--- /dev/null
+++ b/public_test_cases/p01161/output.0.txt
@@ -0,0 +1,2 @@
+28
+25
diff --git a/public_test_cases/p01161/output.1.txt b/public_test_cases/p01161/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea1bb27e6e00123ced5e4d79955baae1a010f1d2
--- /dev/null
+++ b/public_test_cases/p01161/output.1.txt
@@ -0,0 +1,2 @@
+28
+25
diff --git a/public_test_cases/p01162/input.0.txt b/public_test_cases/p01162/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ebf69e68f33697a5ff642293a4507f1264d20ed
--- /dev/null
+++ b/public_test_cases/p01162/input.0.txt
@@ -0,0 +1,6 @@
+4
+0 4 2 4
+0 2 2 0
+3 0 4 2
+6 2 6 0
+0
diff --git a/public_test_cases/p01162/output.0.txt b/public_test_cases/p01162/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e928a5889e7d5aed929417626b96ac8ede80160
--- /dev/null
+++ b/public_test_cases/p01162/output.0.txt
@@ -0,0 +1 @@
+8.0000
diff --git a/public_test_cases/p01163/input.0.txt b/public_test_cases/p01163/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee6b28fc6e5615a4af37ab5e682a75d4091bcfa5
--- /dev/null
+++ b/public_test_cases/p01163/input.0.txt
@@ -0,0 +1,7 @@
+10
+12
+15
+777
+4999
+5000
+0
diff --git a/public_test_cases/p01163/input.1.txt b/public_test_cases/p01163/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee6b28fc6e5615a4af37ab5e682a75d4091bcfa5
--- /dev/null
+++ b/public_test_cases/p01163/input.1.txt
@@ -0,0 +1,7 @@
+10
+12
+15
+777
+4999
+5000
+0
diff --git a/public_test_cases/p01163/output.0.txt b/public_test_cases/p01163/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8bf5544213aea5691882ed7d11e17dc38354dd
--- /dev/null
+++ b/public_test_cases/p01163/output.0.txt
@@ -0,0 +1,6 @@
+0
+1
+2
+110
+2780
+0
diff --git a/public_test_cases/p01163/output.1.txt b/public_test_cases/p01163/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8bf5544213aea5691882ed7d11e17dc38354dd
--- /dev/null
+++ b/public_test_cases/p01163/output.1.txt
@@ -0,0 +1,6 @@
+0
+1
+2
+110
+2780
+0
diff --git a/public_test_cases/p01164/input.0.txt b/public_test_cases/p01164/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..662c1397293bc4eb5bd0ab8b9afc5ec89cccd9be
--- /dev/null
+++ b/public_test_cases/p01164/input.0.txt
@@ -0,0 +1,7 @@
+4
+WBWB
+BWBW
+8
+WWWWBWBB
+WWBBWBWW
+0
diff --git a/public_test_cases/p01164/input.1.txt b/public_test_cases/p01164/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..662c1397293bc4eb5bd0ab8b9afc5ec89cccd9be
--- /dev/null
+++ b/public_test_cases/p01164/input.1.txt
@@ -0,0 +1,7 @@
+4
+WBWB
+BWBW
+8
+WWWWBWBB
+WWBBWBWW
+0
diff --git a/public_test_cases/p01164/output.0.txt b/public_test_cases/p01164/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d57ce06bb401400d884d7e254adf735e6bf49a8
--- /dev/null
+++ b/public_test_cases/p01164/output.0.txt
@@ -0,0 +1,2 @@
+3
+9
diff --git a/public_test_cases/p01164/output.1.txt b/public_test_cases/p01164/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d57ce06bb401400d884d7e254adf735e6bf49a8
--- /dev/null
+++ b/public_test_cases/p01164/output.1.txt
@@ -0,0 +1,2 @@
+3
+9
diff --git a/public_test_cases/p01165/input.0.txt b/public_test_cases/p01165/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1cb50071bebd48eee6585ef3b9173f429b49a8e
--- /dev/null
+++ b/public_test_cases/p01165/input.0.txt
@@ -0,0 +1,65 @@
+5 1 1
+0 0 2 0
+1 1 2 1
+1 2 3 2
+1 0 1 2
+2 0 2 2
+0 0
+3 2
+2 1
+1 2
+2 1 1
+1 0 1 2
+0 1 2 1
+1 0
+0 1
+1 0
+2 1
+2 1 1
+1 0 1 2
+0 1 2 1
+1 0
+0 1
+1 2
+2 1
+4 1 1
+0 0 2 0
+1 1 3 1
+1 0 1 1
+2 0 2 1
+0 0
+3 1
+1 0
+2 1
+5 1 1
+0 0 2 0
+1 1 2 1
+1 2 3 2
+1 0 1 2
+2 0 2 2
+0 0
+3 2
+3 2
+0 0
+8 3 3
+1 1 3 1
+0 2 4 2
+1 3 5 3
+2 4 4 4
+1 1 1 3
+2 0 2 4
+3 1 3 5
+4 2 4 4
+0 2
+1 1
+2 0
+3 5
+4 4
+5 3
+3 5
+4 4
+5 3
+0 2
+1 1
+2 0
+0 0 0
diff --git a/public_test_cases/p01165/output.0.txt b/public_test_cases/p01165/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc19af68c636104864afddd5c85c6cac5bdb352c
--- /dev/null
+++ b/public_test_cases/p01165/output.0.txt
@@ -0,0 +1,6 @@
+3
+1
+2
+2
+7
+18
diff --git a/public_test_cases/p01166/input.0.txt b/public_test_cases/p01166/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94a1256626089f8704bfa9d8cfd2336bbf5d4c98
--- /dev/null
+++ b/public_test_cases/p01166/input.0.txt
@@ -0,0 +1,42 @@
+3 1
+1 09:00 3 10:00
+3
+1 09:10
+2 09:30
+3 09:40
+3 2
+1 09:00 1 10:00
+3
+1 09:10
+2 09:30
+3 09:40
+3
+3 09:20
+2 09:30
+1 10:00
+1 0
+1 09:00 1 10:00
+1 0
+1 10:00 1 09:00
+3 1
+1 09:00 3 09:35
+3
+1 09:10
+2 09:30
+3 09:40
+4 3
+1 09:00 4 11:00
+3
+1 09:10
+2 09:20
+4 09:40
+3
+1 10:30
+3 10:40
+4 10:50
+4
+1 08:50
+2 09:30
+3 10:30
+4 11:10
+0 0
diff --git a/public_test_cases/p01166/input.1.txt b/public_test_cases/p01166/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94a1256626089f8704bfa9d8cfd2336bbf5d4c98
--- /dev/null
+++ b/public_test_cases/p01166/input.1.txt
@@ -0,0 +1,42 @@
+3 1
+1 09:00 3 10:00
+3
+1 09:10
+2 09:30
+3 09:40
+3 2
+1 09:00 1 10:00
+3
+1 09:10
+2 09:30
+3 09:40
+3
+3 09:20
+2 09:30
+1 10:00
+1 0
+1 09:00 1 10:00
+1 0
+1 10:00 1 09:00
+3 1
+1 09:00 3 09:35
+3
+1 09:10
+2 09:30
+3 09:40
+4 3
+1 09:00 4 11:00
+3
+1 09:10
+2 09:20
+4 09:40
+3
+1 10:30
+3 10:40
+4 10:50
+4
+1 08:50
+2 09:30
+3 10:30
+4 11:10
+0 0
diff --git a/public_test_cases/p01166/output.0.txt b/public_test_cases/p01166/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8b7a74c5cc674a3475587ab00db978e9937b5d1
--- /dev/null
+++ b/public_test_cases/p01166/output.0.txt
@@ -0,0 +1,6 @@
+30
+30
+0
+impossible
+impossible
+60
diff --git a/public_test_cases/p01166/output.1.txt b/public_test_cases/p01166/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8b7a74c5cc674a3475587ab00db978e9937b5d1
--- /dev/null
+++ b/public_test_cases/p01166/output.1.txt
@@ -0,0 +1,6 @@
+30
+30
+0
+impossible
+impossible
+60
diff --git a/public_test_cases/p01167/input.0.txt b/public_test_cases/p01167/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..274a350f051290a18c151926338d4e8784384634
--- /dev/null
+++ b/public_test_cases/p01167/input.0.txt
@@ -0,0 +1,10 @@
+czujthebdgfoliskax
+bdgchuptzefliskaox
+fox
+fennec
+oinarisama
+xiaorong
+customizedrevisedfoooox
+accurateredundantfooooooooox
+fox
+*
diff --git a/public_test_cases/p01167/output.0.txt b/public_test_cases/p01167/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60f504c86e15b3b5e3139040f494a4e9837cec27
--- /dev/null
+++ b/public_test_cases/p01167/output.0.txt
@@ -0,0 +1,3 @@
+cutefox
+Impossible
+cuteredfox
diff --git a/public_test_cases/p01168/input.0.txt b/public_test_cases/p01168/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..089629ae1428d47f30986db0407901f26d3cf63b
--- /dev/null
+++ b/public_test_cases/p01168/input.0.txt
@@ -0,0 +1,3 @@
+23 18 53
+46 30 47
+-1 -1 -1
diff --git a/public_test_cases/p01168/input.1.txt b/public_test_cases/p01168/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..089629ae1428d47f30986db0407901f26d3cf63b
--- /dev/null
+++ b/public_test_cases/p01168/input.1.txt
@@ -0,0 +1,3 @@
+23 18 53
+46 30 47
+-1 -1 -1
diff --git a/public_test_cases/p01168/output.0.txt b/public_test_cases/p01168/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b08e49504a4c0be80bb9e32b4db7dc65575e61d8
--- /dev/null
+++ b/public_test_cases/p01168/output.0.txt
@@ -0,0 +1,2 @@
+49
+-1
diff --git a/public_test_cases/p01168/output.1.txt b/public_test_cases/p01168/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b08e49504a4c0be80bb9e32b4db7dc65575e61d8
--- /dev/null
+++ b/public_test_cases/p01168/output.1.txt
@@ -0,0 +1,2 @@
+49
+-1
diff --git a/public_test_cases/p01169/input.0.txt b/public_test_cases/p01169/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425b975c2482c8969dbe3a0b4b50815a1cf385fb
--- /dev/null
+++ b/public_test_cases/p01169/input.0.txt
@@ -0,0 +1,13 @@
+5 4
+0 0 20 0 20 10 0 10 1 5
+10 3 12 5 10 7 8 5
+10 5
+4 3
+0 0 10 0 10 5 0 5
+3 1 6 1 5 4
+0 0
+5 3
+0 0 10 0 10 10 0 10 3 5
+1 1 4 1 4 6
+0 0
+0 0
diff --git a/public_test_cases/p01169/input.1.txt b/public_test_cases/p01169/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425b975c2482c8969dbe3a0b4b50815a1cf385fb
--- /dev/null
+++ b/public_test_cases/p01169/input.1.txt
@@ -0,0 +1,13 @@
+5 4
+0 0 20 0 20 10 0 10 1 5
+10 3 12 5 10 7 8 5
+10 5
+4 3
+0 0 10 0 10 5 0 5
+3 1 6 1 5 4
+0 0
+5 3
+0 0 10 0 10 10 0 10 3 5
+1 1 4 1 4 6
+0 0
+0 0
diff --git a/public_test_cases/p01169/output.0.txt b/public_test_cases/p01169/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70814357d8a01fe450b2a5ea52f15905beb3ebb1
--- /dev/null
+++ b/public_test_cases/p01169/output.0.txt
@@ -0,0 +1,3 @@
+360.0000000
+12.6803835
+3.3722867
diff --git a/public_test_cases/p01169/output.1.txt b/public_test_cases/p01169/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70814357d8a01fe450b2a5ea52f15905beb3ebb1
--- /dev/null
+++ b/public_test_cases/p01169/output.1.txt
@@ -0,0 +1,3 @@
+360.0000000
+12.6803835
+3.3722867
diff --git a/public_test_cases/p01170/input.0.txt b/public_test_cases/p01170/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ed0e8e1e89ffb3e1314532d769204d8c9bfc666
--- /dev/null
+++ b/public_test_cases/p01170/input.0.txt
@@ -0,0 +1,11 @@
+2
+1.0 0.0
+0.5
+0.0 0.0 1
+2.0 0.0 -1
+2
+1.0 0.0
+0.5
+0.0 0.0 -1
+2.0 0.0 1
+0
diff --git a/public_test_cases/p01170/input.1.txt b/public_test_cases/p01170/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ed0e8e1e89ffb3e1314532d769204d8c9bfc666
--- /dev/null
+++ b/public_test_cases/p01170/input.1.txt
@@ -0,0 +1,11 @@
+2
+1.0 0.0
+0.5
+0.0 0.0 1
+2.0 0.0 -1
+2
+1.0 0.0
+0.5
+0.0 0.0 -1
+2.0 0.0 1
+0
diff --git a/public_test_cases/p01170/output.0.txt b/public_test_cases/p01170/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3808dfb243e38ba00d73ffb528e603d8bb2f0686
--- /dev/null
+++ b/public_test_cases/p01170/output.0.txt
@@ -0,0 +1,2 @@
+0.500000
+SAFE
diff --git a/public_test_cases/p01170/output.1.txt b/public_test_cases/p01170/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3808dfb243e38ba00d73ffb528e603d8bb2f0686
--- /dev/null
+++ b/public_test_cases/p01170/output.1.txt
@@ -0,0 +1,2 @@
+0.500000
+SAFE
diff --git a/public_test_cases/p01171/input.0.txt b/public_test_cases/p01171/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..204cec9e666082321840c28f6ab2e1a51d009a82
--- /dev/null
+++ b/public_test_cases/p01171/input.0.txt
@@ -0,0 +1,3 @@
+10 15
+30 20
+0 0
diff --git a/public_test_cases/p01171/input.1.txt b/public_test_cases/p01171/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..204cec9e666082321840c28f6ab2e1a51d009a82
--- /dev/null
+++ b/public_test_cases/p01171/input.1.txt
@@ -0,0 +1,3 @@
+10 15
+30 20
+0 0
diff --git a/public_test_cases/p01171/output.0.txt b/public_test_cases/p01171/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..422c2b7ab3b3c668038da977e4e93a5fc623169c
--- /dev/null
+++ b/public_test_cases/p01171/output.0.txt
@@ -0,0 +1,2 @@
+a
+b
diff --git a/public_test_cases/p01171/output.1.txt b/public_test_cases/p01171/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..422c2b7ab3b3c668038da977e4e93a5fc623169c
--- /dev/null
+++ b/public_test_cases/p01171/output.1.txt
@@ -0,0 +1,2 @@
+a
+b
diff --git a/public_test_cases/p01172/input.0.txt b/public_test_cases/p01172/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6134de3acf16b883887129149f8366f966bae42
--- /dev/null
+++ b/public_test_cases/p01172/input.0.txt
@@ -0,0 +1,6 @@
+1 3
+1 6
+3 5
+2 200
+25 99
+0 0
diff --git a/public_test_cases/p01172/input.1.txt b/public_test_cases/p01172/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6134de3acf16b883887129149f8366f966bae42
--- /dev/null
+++ b/public_test_cases/p01172/input.1.txt
@@ -0,0 +1,6 @@
+1 3
+1 6
+3 5
+2 200
+25 99
+0 0
diff --git a/public_test_cases/p01172/output.0.txt b/public_test_cases/p01172/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ffe521d026adcf665b12cf05c032ef868e13c02
--- /dev/null
+++ b/public_test_cases/p01172/output.0.txt
@@ -0,0 +1,5 @@
+0 1
+1 1
+1 0
+2 0
+0 2
diff --git a/public_test_cases/p01172/output.1.txt b/public_test_cases/p01172/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ffe521d026adcf665b12cf05c032ef868e13c02
--- /dev/null
+++ b/public_test_cases/p01172/output.1.txt
@@ -0,0 +1,5 @@
+0 1
+1 1
+1 0
+2 0
+0 2
diff --git a/public_test_cases/p01173/input.0.txt b/public_test_cases/p01173/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c9c857c728f23575e6b3de182721e1ee50aee09
--- /dev/null
+++ b/public_test_cases/p01173/input.0.txt
@@ -0,0 +1,29 @@
+3
+2 1
+0 0
+50 50
+100 0
+3
+1 1
+0 0
+50 50
+100 0
+3
+1 2
+0 0
+50 50
+100 0
+3
+2 1
+0 0
+100 100
+150 50
+6
+1 2
+0 0
+50 50
+100 0
+150 0
+200 50
+250 0
+0
diff --git a/public_test_cases/p01173/input.1.txt b/public_test_cases/p01173/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c9c857c728f23575e6b3de182721e1ee50aee09
--- /dev/null
+++ b/public_test_cases/p01173/input.1.txt
@@ -0,0 +1,29 @@
+3
+2 1
+0 0
+50 50
+100 0
+3
+1 1
+0 0
+50 50
+100 0
+3
+1 2
+0 0
+50 50
+100 0
+3
+2 1
+0 0
+100 100
+150 50
+6
+1 2
+0 0
+50 50
+100 0
+150 0
+200 50
+250 0
+0
diff --git a/public_test_cases/p01173/output.0.txt b/public_test_cases/p01173/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09c1512ce6ea93ef10577e072a576ea22f042c35
--- /dev/null
+++ b/public_test_cases/p01173/output.0.txt
@@ -0,0 +1,5 @@
+70.710678
+100.000000
+50.000000
+106.066017
+150.000000
diff --git a/public_test_cases/p01173/output.1.txt b/public_test_cases/p01173/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09c1512ce6ea93ef10577e072a576ea22f042c35
--- /dev/null
+++ b/public_test_cases/p01173/output.1.txt
@@ -0,0 +1,5 @@
+70.710678
+100.000000
+50.000000
+106.066017
+150.000000
diff --git a/public_test_cases/p01174/input.0.txt b/public_test_cases/p01174/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..630eb13c307e231b1797501cd7f6cac1e5151fa2
--- /dev/null
+++ b/public_test_cases/p01174/input.0.txt
@@ -0,0 +1,8 @@
+3
+0.0 0.0
+1.0 1.0
+0.0 1.0
+3.0 3.0
+2.0 2.0
+3.0 2.0
+0
diff --git a/public_test_cases/p01174/input.1.txt b/public_test_cases/p01174/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..630eb13c307e231b1797501cd7f6cac1e5151fa2
--- /dev/null
+++ b/public_test_cases/p01174/input.1.txt
@@ -0,0 +1,8 @@
+3
+0.0 0.0
+1.0 1.0
+0.0 1.0
+3.0 3.0
+2.0 2.0
+3.0 2.0
+0
diff --git a/public_test_cases/p01174/output.0.txt b/public_test_cases/p01174/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1113b83e8f16ef607af4427b77d90ed0bfec0b8
--- /dev/null
+++ b/public_test_cases/p01174/output.0.txt
@@ -0,0 +1 @@
+3.14159265359
diff --git a/public_test_cases/p01174/output.1.txt b/public_test_cases/p01174/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1113b83e8f16ef607af4427b77d90ed0bfec0b8
--- /dev/null
+++ b/public_test_cases/p01174/output.1.txt
@@ -0,0 +1 @@
+3.14159265359
diff --git a/public_test_cases/p01175/input.0.txt b/public_test_cases/p01175/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fd07e143bedca4351980fcf66927fc5f8f37f2a
--- /dev/null
+++ b/public_test_cases/p01175/input.0.txt
@@ -0,0 +1,4 @@
+3
+R2R2
+R1R2R4R8R16R32R64
+R1R4R16
diff --git a/public_test_cases/p01175/input.1.txt b/public_test_cases/p01175/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fd07e143bedca4351980fcf66927fc5f8f37f2a
--- /dev/null
+++ b/public_test_cases/p01175/input.1.txt
@@ -0,0 +1,4 @@
+3
+R2R2
+R1R2R4R8R16R32R64
+R1R4R16
diff --git a/public_test_cases/p01175/output.0.txt b/public_test_cases/p01175/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14113c758be4ddd2d3eae0a1dc12334751010b57
--- /dev/null
+++ b/public_test_cases/p01175/output.0.txt
@@ -0,0 +1,3 @@
+R1
+R1......
+R16R1R4
diff --git a/public_test_cases/p01175/output.1.txt b/public_test_cases/p01175/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14113c758be4ddd2d3eae0a1dc12334751010b57
--- /dev/null
+++ b/public_test_cases/p01175/output.1.txt
@@ -0,0 +1,3 @@
+R1
+R1......
+R16R1R4
diff --git a/public_test_cases/p01176/input.0.txt b/public_test_cases/p01176/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..126cbaaccbf8ee9a099a58d8ca326aa38d3f3315
--- /dev/null
+++ b/public_test_cases/p01176/input.0.txt
@@ -0,0 +1,47 @@
+2 1
+0 1
+0 0
+2 1
+0 0
+1 0
+3 3
+0 1 1
+0 0 1
+0 0 0
+3 3
+0 1 0
+0 0 0
+1 1 0
+3 1
+0 1 0
+0 0 0
+1 1 0
+3 3
+0 1 0
+0 0 1
+1 0 0
+6 4
+0 0 0 0 0 1
+1 0 1 0 1 0
+1 0 0 1 1 0
+1 1 0 0 1 0
+1 0 0 0 0 0
+0 1 1 1 1 0
+7 2
+0 1 0 0 0 1 0
+0 0 1 0 1 1 1
+1 0 0 1 1 0 0
+1 1 0 0 0 1 0
+1 0 0 1 0 0 1
+0 0 1 0 1 0 0
+1 0 1 1 0 1 0
+8 6
+0 0 0 0 1 0 0 0
+1 0 1 1 0 0 0 0
+1 0 0 0 1 0 0 0
+1 0 1 0 0 1 0 1
+0 1 0 1 0 0 1 0
+1 1 1 0 1 0 0 1
+1 1 1 1 0 1 0 0
+1 1 1 0 1 0 1 0
+0 0
diff --git a/public_test_cases/p01176/input.1.txt b/public_test_cases/p01176/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..126cbaaccbf8ee9a099a58d8ca326aa38d3f3315
--- /dev/null
+++ b/public_test_cases/p01176/input.1.txt
@@ -0,0 +1,47 @@
+2 1
+0 1
+0 0
+2 1
+0 0
+1 0
+3 3
+0 1 1
+0 0 1
+0 0 0
+3 3
+0 1 0
+0 0 0
+1 1 0
+3 1
+0 1 0
+0 0 0
+1 1 0
+3 3
+0 1 0
+0 0 1
+1 0 0
+6 4
+0 0 0 0 0 1
+1 0 1 0 1 0
+1 0 0 1 1 0
+1 1 0 0 1 0
+1 0 0 0 0 0
+0 1 1 1 1 0
+7 2
+0 1 0 0 0 1 0
+0 0 1 0 1 1 1
+1 0 0 1 1 0 0
+1 1 0 0 0 1 0
+1 0 0 1 0 0 1
+0 0 1 0 1 0 0
+1 0 1 1 0 1 0
+8 6
+0 0 0 0 1 0 0 0
+1 0 1 1 0 0 0 0
+1 0 0 0 1 0 0 0
+1 0 1 0 0 1 0 1
+0 1 0 1 0 0 1 0
+1 1 1 0 1 0 0 1
+1 1 1 1 0 1 0 0
+1 1 1 0 1 0 1 0
+0 0
diff --git a/public_test_cases/p01176/output.0.txt b/public_test_cases/p01176/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9adce95de8ee05bb939f2cdedefea728ac0927ab
--- /dev/null
+++ b/public_test_cases/p01176/output.0.txt
@@ -0,0 +1,9 @@
+1
+0
+0
+3
+0
+1
+11
+139
+78
diff --git a/public_test_cases/p01176/output.1.txt b/public_test_cases/p01176/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9adce95de8ee05bb939f2cdedefea728ac0927ab
--- /dev/null
+++ b/public_test_cases/p01176/output.1.txt
@@ -0,0 +1,9 @@
+1
+0
+0
+3
+0
+1
+11
+139
+78
diff --git a/public_test_cases/p01177/input.0.txt b/public_test_cases/p01177/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fe3bdb27b9f3f09df3195849add9106988dd31
--- /dev/null
+++ b/public_test_cases/p01177/input.0.txt
@@ -0,0 +1,53 @@
+3 2 3
+10 2 1 2
+20 2 3 2
+1
+2
+3
+5 2 5
+10 3 1 2 4
+20 3 2 3 5
+1
+2
+3
+4
+5
+4 1 4
+10 2 1 4
+1
+2
+3
+4
+4 3 4
+30 2 1 4
+20 2 2 4
+10 2 3 4
+1
+2
+3
+4
+4 3 4
+10 2 1 4
+20 2 2 4
+30 2 3 4
+1
+2
+3
+4
+4 3 4
+10 2 1 2
+15 2 1 4
+20 2 2 3
+1
+2
+3
+4
+3 2 3
+10 2 2 3
+20 2 1 2
+1
+2
+3
+1 0 1
+1
+0 0 0
diff --git a/public_test_cases/p01177/input.1.txt b/public_test_cases/p01177/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fe3bdb27b9f3f09df3195849add9106988dd31
--- /dev/null
+++ b/public_test_cases/p01177/input.1.txt
@@ -0,0 +1,53 @@
+3 2 3
+10 2 1 2
+20 2 3 2
+1
+2
+3
+5 2 5
+10 3 1 2 4
+20 3 2 3 5
+1
+2
+3
+4
+5
+4 1 4
+10 2 1 4
+1
+2
+3
+4
+4 3 4
+30 2 1 4
+20 2 2 4
+10 2 3 4
+1
+2
+3
+4
+4 3 4
+10 2 1 4
+20 2 2 4
+30 2 3 4
+1
+2
+3
+4
+4 3 4
+10 2 1 2
+15 2 1 4
+20 2 2 3
+1
+2
+3
+4
+3 2 3
+10 2 2 3
+20 2 1 2
+1
+2
+3
+1 0 1
+1
+0 0 0
diff --git a/public_test_cases/p01177/output.0.txt b/public_test_cases/p01177/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b20f2f9a71a914c8c137ee1920fec2a9c7999e98
--- /dev/null
+++ b/public_test_cases/p01177/output.0.txt
@@ -0,0 +1,35 @@
+1
+2
+3
+
+1
+2
+3
+5
+4
+
+1
+4
+2
+3
+
+1
+4
+2
+3
+
+1
+2
+3
+4
+
+1
+4
+2
+3
+
+1
+2
+3
+
+1
diff --git a/public_test_cases/p01177/output.1.txt b/public_test_cases/p01177/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b20f2f9a71a914c8c137ee1920fec2a9c7999e98
--- /dev/null
+++ b/public_test_cases/p01177/output.1.txt
@@ -0,0 +1,35 @@
+1
+2
+3
+
+1
+2
+3
+5
+4
+
+1
+4
+2
+3
+
+1
+4
+2
+3
+
+1
+2
+3
+4
+
+1
+4
+2
+3
+
+1
+2
+3
+
+1
diff --git a/public_test_cases/p01178/input.0.txt b/public_test_cases/p01178/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a66f46dbcb36d1d27842c8a4b7ed16d45b51864b
--- /dev/null
+++ b/public_test_cases/p01178/input.0.txt
@@ -0,0 +1,24 @@
+1 4 100
+7
+10 1 50 50
+15 2 50 50
+25 1 50 50
+35 3 50 50
+1 2 100
+5
+30 3 20 50
+40 4 40 50
+1 2 100
+5
+49 3 20 50
+60 4 50 30
+1 2 100
+5
+50 3 20 50
+60 4 50 30
+2 3 100
+4 2
+10 4 20 20
+30 2 20 20
+40 4 20 20
+0 0 0
diff --git a/public_test_cases/p01178/input.1.txt b/public_test_cases/p01178/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a66f46dbcb36d1d27842c8a4b7ed16d45b51864b
--- /dev/null
+++ b/public_test_cases/p01178/input.1.txt
@@ -0,0 +1,24 @@
+1 4 100
+7
+10 1 50 50
+15 2 50 50
+25 1 50 50
+35 3 50 50
+1 2 100
+5
+30 3 20 50
+40 4 40 50
+1 2 100
+5
+49 3 20 50
+60 4 50 30
+1 2 100
+5
+50 3 20 50
+60 4 50 30
+2 3 100
+4 2
+10 4 20 20
+30 2 20 20
+40 4 20 20
+0 0 0
diff --git a/public_test_cases/p01178/output.0.txt b/public_test_cases/p01178/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b7992ac77cce259cb1b07aa8c0545cf7c8c8dec
--- /dev/null
+++ b/public_test_cases/p01178/output.0.txt
@@ -0,0 +1,5 @@
+0.7428571428571429
+0.4285714285714285
+0.5542857142857143
+-0.1428571428571428
+0.8000000000000000
diff --git a/public_test_cases/p01178/output.1.txt b/public_test_cases/p01178/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b7992ac77cce259cb1b07aa8c0545cf7c8c8dec
--- /dev/null
+++ b/public_test_cases/p01178/output.1.txt
@@ -0,0 +1,5 @@
+0.7428571428571429
+0.4285714285714285
+0.5542857142857143
+-0.1428571428571428
+0.8000000000000000
diff --git a/public_test_cases/p01179/input.0.txt b/public_test_cases/p01179/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87492835724bfdc6f72193621db77aea727a5ac5
--- /dev/null
+++ b/public_test_cases/p01179/input.0.txt
@@ -0,0 +1,8 @@
+7
+C is A’s father’s brother’s son’s aunt
+C is A’s mother’s brother’s son’s aunt
+C is A’s son’s mother’s mother’s son
+C is A’s aunt’s niece’s aunt’s niece
+C is A’s father’s son’s brother
+C is A’s son’s son’s mother
+C is A
diff --git a/public_test_cases/p01179/input.1.txt b/public_test_cases/p01179/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87492835724bfdc6f72193621db77aea727a5ac5
--- /dev/null
+++ b/public_test_cases/p01179/input.1.txt
@@ -0,0 +1,8 @@
+7
+C is A’s father’s brother’s son’s aunt
+C is A’s mother’s brother’s son’s aunt
+C is A’s son’s mother’s mother’s son
+C is A’s aunt’s niece’s aunt’s niece
+C is A’s father’s son’s brother
+C is A’s son’s son’s mother
+C is A
diff --git a/public_test_cases/p01179/output.0.txt b/public_test_cases/p01179/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..200cb28dc22370669eb2787ba2b4bb346d81bd7a
--- /dev/null
+++ b/public_test_cases/p01179/output.0.txt
@@ -0,0 +1,7 @@
+5 3
+5 1
+2 2
+6 0
+2 0
+1 1
+0 0
diff --git a/public_test_cases/p01179/output.1.txt b/public_test_cases/p01179/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..200cb28dc22370669eb2787ba2b4bb346d81bd7a
--- /dev/null
+++ b/public_test_cases/p01179/output.1.txt
@@ -0,0 +1,7 @@
+5 3
+5 1
+2 2
+6 0
+2 0
+1 1
+0 0
diff --git a/public_test_cases/p01180/input.0.txt b/public_test_cases/p01180/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e745cdf4582723119758bbb550f0c9c9d80a509
--- /dev/null
+++ b/public_test_cases/p01180/input.0.txt
@@ -0,0 +1,6 @@
+4
+1.0 0.0 0.0
+1.5 0.0 3.0
+2.0 4.0 0.0
+1.0 3.0 4.0
+0
diff --git a/public_test_cases/p01180/input.1.txt b/public_test_cases/p01180/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e745cdf4582723119758bbb550f0c9c9d80a509
--- /dev/null
+++ b/public_test_cases/p01180/input.1.txt
@@ -0,0 +1,6 @@
+4
+1.0 0.0 0.0
+1.5 0.0 3.0
+2.0 4.0 0.0
+1.0 3.0 4.0
+0
diff --git a/public_test_cases/p01180/output.0.txt b/public_test_cases/p01180/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb3c4fe4eebcdea3da0790cc0ba74cb286ec4f4
--- /dev/null
+++ b/public_test_cases/p01180/output.0.txt
@@ -0,0 +1 @@
+0.5
diff --git a/public_test_cases/p01180/output.1.txt b/public_test_cases/p01180/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb3c4fe4eebcdea3da0790cc0ba74cb286ec4f4
--- /dev/null
+++ b/public_test_cases/p01180/output.1.txt
@@ -0,0 +1 @@
+0.5
diff --git a/public_test_cases/p01181/input.0.txt b/public_test_cases/p01181/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80d02ee0f43e29a9ac1c2c38010a73fac4211603
--- /dev/null
+++ b/public_test_cases/p01181/input.0.txt
@@ -0,0 +1,3 @@
+3 1 6 8 10 7 0 0 2 5
+0 0 0 0 0 0 0 0 0 1
+-1 -1 -1 -1 -1 -1 -1 -1 -1 -1
diff --git a/public_test_cases/p01181/input.1.txt b/public_test_cases/p01181/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80d02ee0f43e29a9ac1c2c38010a73fac4211603
--- /dev/null
+++ b/public_test_cases/p01181/input.1.txt
@@ -0,0 +1,3 @@
+3 1 6 8 10 7 0 0 2 5
+0 0 0 0 0 0 0 0 0 1
+-1 -1 -1 -1 -1 -1 -1 -1 -1 -1
diff --git a/public_test_cases/p01181/output.0.txt b/public_test_cases/p01181/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7372cac2f09cea706418d519b3553a8905add0e7
--- /dev/null
+++ b/public_test_cases/p01181/output.0.txt
@@ -0,0 +1,2 @@
+2
+362880
diff --git a/public_test_cases/p01181/output.1.txt b/public_test_cases/p01181/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7372cac2f09cea706418d519b3553a8905add0e7
--- /dev/null
+++ b/public_test_cases/p01181/output.1.txt
@@ -0,0 +1,2 @@
+2
+362880
diff --git a/public_test_cases/p01182/input.0.txt b/public_test_cases/p01182/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19cba5b18ff7cd327492905b8214674b1083b506
--- /dev/null
+++ b/public_test_cases/p01182/input.0.txt
@@ -0,0 +1,11 @@
+5 4
+Ramen 3 10
+Chahan 5 5
+Gyoza 5 10
+Rice 1 1
+Soup 1 1
+5 2 Ramen Gyoza
+10 6 Chahan Gyoza Soup Ramen Gyoza Rice
+20 1 Chahan
+25 1 Ramen
+0 0
diff --git a/public_test_cases/p01182/input.1.txt b/public_test_cases/p01182/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19cba5b18ff7cd327492905b8214674b1083b506
--- /dev/null
+++ b/public_test_cases/p01182/input.1.txt
@@ -0,0 +1,11 @@
+5 4
+Ramen 3 10
+Chahan 5 5
+Gyoza 5 10
+Rice 1 1
+Soup 1 1
+5 2 Ramen Gyoza
+10 6 Chahan Gyoza Soup Ramen Gyoza Rice
+20 1 Chahan
+25 1 Ramen
+0 0
diff --git a/public_test_cases/p01182/output.0.txt b/public_test_cases/p01182/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d14269a40171ec270834ed028efd93a6421abb59
--- /dev/null
+++ b/public_test_cases/p01182/output.0.txt
@@ -0,0 +1,4 @@
+25
+42
+40
+35
diff --git a/public_test_cases/p01182/output.1.txt b/public_test_cases/p01182/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d14269a40171ec270834ed028efd93a6421abb59
--- /dev/null
+++ b/public_test_cases/p01182/output.1.txt
@@ -0,0 +1,4 @@
+25
+42
+40
+35
diff --git a/public_test_cases/p01183/input.0.txt b/public_test_cases/p01183/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..935e5a2c7b73fffb9499ad30d71375dc8cdb1be4
--- /dev/null
+++ b/public_test_cases/p01183/input.0.txt
@@ -0,0 +1,2 @@
+7 1 2 2 2 2 2 2
+0
diff --git a/public_test_cases/p01183/input.1.txt b/public_test_cases/p01183/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..935e5a2c7b73fffb9499ad30d71375dc8cdb1be4
--- /dev/null
+++ b/public_test_cases/p01183/input.1.txt
@@ -0,0 +1,2 @@
+7 1 2 2 2 2 2 2
+0
diff --git a/public_test_cases/p01183/output.0.txt b/public_test_cases/p01183/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17f7b59f4cf09b92e4ff94010c7d29e9e04c116a
--- /dev/null
+++ b/public_test_cases/p01183/output.0.txt
@@ -0,0 +1 @@
+0.942809
diff --git a/public_test_cases/p01183/output.1.txt b/public_test_cases/p01183/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17f7b59f4cf09b92e4ff94010c7d29e9e04c116a
--- /dev/null
+++ b/public_test_cases/p01183/output.1.txt
@@ -0,0 +1 @@
+0.942809
diff --git a/public_test_cases/p01184/input.0.txt b/public_test_cases/p01184/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d25d46efdd555a64e0361882964492af088f90b5
--- /dev/null
+++ b/public_test_cases/p01184/input.0.txt
@@ -0,0 +1,28 @@
+3 4
+English
+French
+Japanese
+1 English
+2 French English
+2 Japanese English
+1 Japanese
+2 2
+English
+Japanese
+1 English
+1 Japanese
+6 7
+English
+Dutch
+German
+French
+Italian
+Spanish
+1 English
+2 English Dutch
+2 Dutch German
+2 German French
+2 French Italian
+2 Italian Spanish
+1 Spanish
+0 0
diff --git a/public_test_cases/p01184/input.1.txt b/public_test_cases/p01184/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d25d46efdd555a64e0361882964492af088f90b5
--- /dev/null
+++ b/public_test_cases/p01184/input.1.txt
@@ -0,0 +1,28 @@
+3 4
+English
+French
+Japanese
+1 English
+2 French English
+2 Japanese English
+1 Japanese
+2 2
+English
+Japanese
+1 English
+1 Japanese
+6 7
+English
+Dutch
+German
+French
+Italian
+Spanish
+1 English
+2 English Dutch
+2 Dutch German
+2 German French
+2 French Italian
+2 Italian Spanish
+1 Spanish
+0 0
diff --git a/public_test_cases/p01184/output.0.txt b/public_test_cases/p01184/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b45afb8519c31117a87bfa390bc866a438424ed
--- /dev/null
+++ b/public_test_cases/p01184/output.0.txt
@@ -0,0 +1,7 @@
+2
+English
+Japanese
+
+Impossible
+
+Impossible
diff --git a/public_test_cases/p01184/output.1.txt b/public_test_cases/p01184/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b45afb8519c31117a87bfa390bc866a438424ed
--- /dev/null
+++ b/public_test_cases/p01184/output.1.txt
@@ -0,0 +1,7 @@
+2
+English
+Japanese
+
+Impossible
+
+Impossible
diff --git a/public_test_cases/p01185/input.0.txt b/public_test_cases/p01185/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d896eaae5ca898e1d01821da07be90ba278c75f1
--- /dev/null
+++ b/public_test_cases/p01185/input.0.txt
@@ -0,0 +1,5 @@
+2
+0 0 3 3
+0 4 3 1
+1 1
+0
diff --git a/public_test_cases/p01185/input.1.txt b/public_test_cases/p01185/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d896eaae5ca898e1d01821da07be90ba278c75f1
--- /dev/null
+++ b/public_test_cases/p01185/input.1.txt
@@ -0,0 +1,5 @@
+2
+0 0 3 3
+0 4 3 1
+1 1
+0
diff --git a/public_test_cases/p01185/output.0.txt b/public_test_cases/p01185/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44537cf1d5579dd6e0250acc16cb13fd8f8d5880
--- /dev/null
+++ b/public_test_cases/p01185/output.0.txt
@@ -0,0 +1 @@
+4.243
diff --git a/public_test_cases/p01185/output.1.txt b/public_test_cases/p01185/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44537cf1d5579dd6e0250acc16cb13fd8f8d5880
--- /dev/null
+++ b/public_test_cases/p01185/output.1.txt
@@ -0,0 +1 @@
+4.243
diff --git a/public_test_cases/p01186/input.0.txt b/public_test_cases/p01186/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0976f7337a70cf5d9d1750b148ba3edeaa4b52e6
--- /dev/null
+++ b/public_test_cases/p01186/input.0.txt
@@ -0,0 +1,12 @@
+4
+OmoikkiriTV 12:00 13:00 5 1
+WaratteIitomo 12:00 13:00 10 2
+WatarusekennhaOnibakari 20:00 21:00 10 3
+SuzumiyaharuhiNoYuuutsu 23:00 23:30 100 40
+5
+a 0:00 1:00 100 100
+b 0:00 1:00 101 101
+c 0:00 1:00 102 102
+d 0:00 1:00 103 103
+e 0:00 1:00 104 104
+0
diff --git a/public_test_cases/p01186/input.1.txt b/public_test_cases/p01186/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0976f7337a70cf5d9d1750b148ba3edeaa4b52e6
--- /dev/null
+++ b/public_test_cases/p01186/input.1.txt
@@ -0,0 +1,12 @@
+4
+OmoikkiriTV 12:00 13:00 5 1
+WaratteIitomo 12:00 13:00 10 2
+WatarusekennhaOnibakari 20:00 21:00 10 3
+SuzumiyaharuhiNoYuuutsu 23:00 23:30 100 40
+5
+a 0:00 1:00 100 100
+b 0:00 1:00 101 101
+c 0:00 1:00 102 102
+d 0:00 1:00 103 103
+e 0:00 1:00 104 104
+0
diff --git a/public_test_cases/p01186/output.0.txt b/public_test_cases/p01186/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9499cfd80e6f3ae2c071c00209ed666f2830be9
--- /dev/null
+++ b/public_test_cases/p01186/output.0.txt
@@ -0,0 +1,2 @@
+121
+207
diff --git a/public_test_cases/p01186/output.1.txt b/public_test_cases/p01186/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9499cfd80e6f3ae2c071c00209ed666f2830be9
--- /dev/null
+++ b/public_test_cases/p01186/output.1.txt
@@ -0,0 +1,2 @@
+121
+207
diff --git a/public_test_cases/p01187/input.0.txt b/public_test_cases/p01187/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffd235150a9b960807f12621fb3ac8e06a8d1c33
--- /dev/null
+++ b/public_test_cases/p01187/input.0.txt
@@ -0,0 +1,6 @@
+3
+3 1 3 5
+2 1 4
+4 1 2 3 6
+1 3
+0
diff --git a/public_test_cases/p01187/input.1.txt b/public_test_cases/p01187/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffd235150a9b960807f12621fb3ac8e06a8d1c33
--- /dev/null
+++ b/public_test_cases/p01187/input.1.txt
@@ -0,0 +1,6 @@
+3
+3 1 3 5
+2 1 4
+4 1 2 3 6
+1 3
+0
diff --git a/public_test_cases/p01187/output.0.txt b/public_test_cases/p01187/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01187/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01187/output.1.txt b/public_test_cases/p01187/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01187/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01188/input.0.txt b/public_test_cases/p01188/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8f47012417524c45ec5a640d8c35eef39a1c587
--- /dev/null
+++ b/public_test_cases/p01188/input.0.txt
@@ -0,0 +1,27 @@
+3
+10 30
+......#############...........
+....##_____________#..........
+...#________________####......
+..#________####_________#.....
+.#________#....##________#....
+#_________#......#________#...
+#__________###...#_____^^_#...
+.#__________A_#...#____^^_#...
+..#___________#...#_>__###....
+...###########.....####.......
+7 17
+......#..........
+.....#_##........
+.#...#_A_#.......
+#^####___#.......
+#_______#........
+#>_____#.........
+########.........
+6 5
+#####
+#_A_#
+#___#
+#_>_#
+#___#
+#####
diff --git a/public_test_cases/p01188/input.1.txt b/public_test_cases/p01188/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8f47012417524c45ec5a640d8c35eef39a1c587
--- /dev/null
+++ b/public_test_cases/p01188/input.1.txt
@@ -0,0 +1,27 @@
+3
+10 30
+......#############...........
+....##_____________#..........
+...#________________####......
+..#________####_________#.....
+.#________#....##________#....
+#_________#......#________#...
+#__________###...#_____^^_#...
+.#__________A_#...#____^^_#...
+..#___________#...#_>__###....
+...###########.....####.......
+7 17
+......#..........
+.....#_##........
+.#...#_A_#.......
+#^####___#.......
+#_______#........
+#>_____#.........
+########.........
+6 5
+#####
+#_A_#
+#___#
+#_>_#
+#___#
+#####
diff --git a/public_test_cases/p01188/input.2.txt b/public_test_cases/p01188/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dd9d62a8f46d84f6f184e3a2c1ff4f256e9a074
--- /dev/null
+++ b/public_test_cases/p01188/input.2.txt
@@ -0,0 +1,26 @@
+3
+10 30
+......#############...........
+....##_____________#..........
+...#________________####......
+..#________####_________#.....
+.#________#....##________#....
+_________#......#________#...
+__________###...#_____^^_#...
+.#__________A_#...#____^^_#...
+..#___________#...#_>__###....
+...###########.....####.......
+7 17
+......#..........
+.....#_##........
+.#...#_A_#.......
+^####___#.......
+_______#........
+>_____#.........
+.........
+6 5
+
+_A_#
+___#
+_>_#
+___#
diff --git a/public_test_cases/p01188/output.0.txt b/public_test_cases/p01188/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p01188/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p01188/output.1.txt b/public_test_cases/p01188/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p01188/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p01188/output.2.txt b/public_test_cases/p01188/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p01188/output.2.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p01189/input.0.txt b/public_test_cases/p01189/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa5fefc293e5ecc49d3693d15dd7dabdfc5a3b98
--- /dev/null
+++ b/public_test_cases/p01189/input.0.txt
@@ -0,0 +1,4 @@
+2
+0 -12 0 0 2
+0 0 12 0 2
+0
diff --git a/public_test_cases/p01189/input.1.txt b/public_test_cases/p01189/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa5fefc293e5ecc49d3693d15dd7dabdfc5a3b98
--- /dev/null
+++ b/public_test_cases/p01189/input.1.txt
@@ -0,0 +1,4 @@
+2
+0 -12 0 0 2
+0 0 12 0 2
+0
diff --git a/public_test_cases/p01189/output.0.txt b/public_test_cases/p01189/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2a0f6f3c78a703c0b8b63bcb51efb29afacacdd
--- /dev/null
+++ b/public_test_cases/p01189/output.0.txt
@@ -0,0 +1 @@
+39.14159
diff --git a/public_test_cases/p01189/output.1.txt b/public_test_cases/p01189/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2a0f6f3c78a703c0b8b63bcb51efb29afacacdd
--- /dev/null
+++ b/public_test_cases/p01189/output.1.txt
@@ -0,0 +1 @@
+39.14159
diff --git a/public_test_cases/p01190/input.0.txt b/public_test_cases/p01190/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c141011cb3308d2cbef5af243b6720e6606b163
--- /dev/null
+++ b/public_test_cases/p01190/input.0.txt
@@ -0,0 +1,5 @@
+4
+a list of A, B, C and D
+a list of A, a list of P and Q, B, a list of X, Y and Z and C
+a list of A
+a list of a list of A and B
diff --git a/public_test_cases/p01190/input.1.txt b/public_test_cases/p01190/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c141011cb3308d2cbef5af243b6720e6606b163
--- /dev/null
+++ b/public_test_cases/p01190/input.1.txt
@@ -0,0 +1,5 @@
+4
+a list of A, B, C and D
+a list of A, a list of P and Q, B, a list of X, Y and Z and C
+a list of A
+a list of a list of A and B
diff --git a/public_test_cases/p01190/output.0.txt b/public_test_cases/p01190/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59b3df652d369ae4abbdecd51d72f1c7c44ecb30
--- /dev/null
+++ b/public_test_cases/p01190/output.0.txt
@@ -0,0 +1,4 @@
+(A B C D)
+(A (P Q) B (X Y Z) C)
+(A)
+AMBIGUOUS
diff --git a/public_test_cases/p01190/output.1.txt b/public_test_cases/p01190/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59b3df652d369ae4abbdecd51d72f1c7c44ecb30
--- /dev/null
+++ b/public_test_cases/p01190/output.1.txt
@@ -0,0 +1,4 @@
+(A B C D)
+(A (P Q) B (X Y Z) C)
+(A)
+AMBIGUOUS
diff --git a/public_test_cases/p01191/input.0.txt b/public_test_cases/p01191/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de344edeccf7198ef25909c588075873956b0bd9
--- /dev/null
+++ b/public_test_cases/p01191/input.0.txt
@@ -0,0 +1,9 @@
+2
+1 2
+1
+42 3.141592653589793
+5 20
+3
+0 307.09242465218927
+180 307.09242465218927
+90 728.30573874452591
diff --git a/public_test_cases/p01191/input.1.txt b/public_test_cases/p01191/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de344edeccf7198ef25909c588075873956b0bd9
--- /dev/null
+++ b/public_test_cases/p01191/input.1.txt
@@ -0,0 +1,9 @@
+2
+1 2
+1
+42 3.141592653589793
+5 20
+3
+0 307.09242465218927
+180 307.09242465218927
+90 728.30573874452591
diff --git a/public_test_cases/p01191/output.0.txt b/public_test_cases/p01191/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0c9d30785ef063055f618e986a7f17d997b3c27
--- /dev/null
+++ b/public_test_cases/p01191/output.0.txt
@@ -0,0 +1,2 @@
+2.0 3.141592653589793
+8.660254038 5.235987756
diff --git a/public_test_cases/p01191/output.1.txt b/public_test_cases/p01191/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0c9d30785ef063055f618e986a7f17d997b3c27
--- /dev/null
+++ b/public_test_cases/p01191/output.1.txt
@@ -0,0 +1,2 @@
+2.0 3.141592653589793
+8.660254038 5.235987756
diff --git a/public_test_cases/p01192/input.0.txt b/public_test_cases/p01192/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fa4e5829d5305e1522d48f1f248d93377f096ea
--- /dev/null
+++ b/public_test_cases/p01192/input.0.txt
@@ -0,0 +1,4 @@
+3 1 5 25
+3 7 77 777
+4 1 8 27 64
+0
diff --git a/public_test_cases/p01192/input.1.txt b/public_test_cases/p01192/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fa4e5829d5305e1522d48f1f248d93377f096ea
--- /dev/null
+++ b/public_test_cases/p01192/input.1.txt
@@ -0,0 +1,4 @@
+3 1 5 25
+3 7 77 777
+4 1 8 27 64
+0
diff --git a/public_test_cases/p01192/output.0.txt b/public_test_cases/p01192/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fb01a09cdcff1d4c2afed64633b1e773481427c
--- /dev/null
+++ b/public_test_cases/p01192/output.0.txt
@@ -0,0 +1,3 @@
+Case #1: OK
+Case #2: Cannot pay some amount
+Case #3: Cannot use greedy algorithm
diff --git a/public_test_cases/p01192/output.1.txt b/public_test_cases/p01192/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fb01a09cdcff1d4c2afed64633b1e773481427c
--- /dev/null
+++ b/public_test_cases/p01192/output.1.txt
@@ -0,0 +1,3 @@
+Case #1: OK
+Case #2: Cannot pay some amount
+Case #3: Cannot use greedy algorithm
diff --git a/public_test_cases/p01193/input.0.txt b/public_test_cases/p01193/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d6720dbadfe107b773ba0ec49a487de1babcf54
--- /dev/null
+++ b/public_test_cases/p01193/input.0.txt
@@ -0,0 +1,7 @@
+1+2+3+4+5+6+7+8+9+10=
+1000-500-250-125=
+1*2*3*4*5*6=
+5000*5000=
+10-100=
+100*100=
+10000=
diff --git a/public_test_cases/p01193/input.1.txt b/public_test_cases/p01193/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d6720dbadfe107b773ba0ec49a487de1babcf54
--- /dev/null
+++ b/public_test_cases/p01193/input.1.txt
@@ -0,0 +1,7 @@
+1+2+3+4+5+6+7+8+9+10=
+1000-500-250-125=
+1*2*3*4*5*6=
+5000*5000=
+10-100=
+100*100=
+10000=
diff --git a/public_test_cases/p01193/output.0.txt b/public_test_cases/p01193/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ffa2ca81656d969540312f3751ba8f2da280a87
--- /dev/null
+++ b/public_test_cases/p01193/output.0.txt
@@ -0,0 +1,7 @@
+55
+125
+720
+E
+E
+E
+E
diff --git a/public_test_cases/p01193/output.1.txt b/public_test_cases/p01193/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ffa2ca81656d969540312f3751ba8f2da280a87
--- /dev/null
+++ b/public_test_cases/p01193/output.1.txt
@@ -0,0 +1,7 @@
+55
+125
+720
+E
+E
+E
+E
diff --git a/public_test_cases/p01194/input.0.txt b/public_test_cases/p01194/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48247eea62f2206be66866262fe22516666962ed
--- /dev/null
+++ b/public_test_cases/p01194/input.0.txt
@@ -0,0 +1,4 @@
+5 1
+2 1 3 2
+2 1 2 2
+0 0
diff --git a/public_test_cases/p01194/input.1.txt b/public_test_cases/p01194/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48247eea62f2206be66866262fe22516666962ed
--- /dev/null
+++ b/public_test_cases/p01194/input.1.txt
@@ -0,0 +1,4 @@
+5 1
+2 1 3 2
+2 1 2 2
+0 0
diff --git a/public_test_cases/p01194/output.0.txt b/public_test_cases/p01194/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdaefe3468b581d104b44a7918e02d57e12d4efc
--- /dev/null
+++ b/public_test_cases/p01194/output.0.txt
@@ -0,0 +1 @@
+4.18
diff --git a/public_test_cases/p01194/output.1.txt b/public_test_cases/p01194/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdaefe3468b581d104b44a7918e02d57e12d4efc
--- /dev/null
+++ b/public_test_cases/p01194/output.1.txt
@@ -0,0 +1 @@
+4.18
diff --git a/public_test_cases/p01195/input.0.txt b/public_test_cases/p01195/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7492acb3a8314b404d3444017280db3fcdee35f
--- /dev/null
+++ b/public_test_cases/p01195/input.0.txt
@@ -0,0 +1,51 @@
+3
+philosopher’s-stone
+4 10
+tongue 1
+tear 1
+dunkelheit 1
+aroma-materia 1
+
+aroma-materia
+4 5
+solt 1
+holy-water 1
+golden-rock 1
+neutralizer 2
+
+neutralizer
+1 1
+red-rock 5
+
+7
+tongue 1
+tear 1
+dunkelheit 1
+solt 2
+holy-water 3
+golden-rock 2
+red-rock 10
+
+2
+philosopher’s-stone
+5 3
+ninjin 1
+jagaimo 3
+tamanegi 1
+barmont 12
+
+barmont
+3 1
+curry 5
+komugiko 20
+batar 10
+
+7
+ninjin 3
+jagaimo 2
+tamanegi 5
+curry 150
+komugiko 750
+batar 200
+
+0
diff --git a/public_test_cases/p01195/output.0.txt b/public_test_cases/p01195/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e29252f2d71219bcf1616f21e8d835290701d60c
--- /dev/null
+++ b/public_test_cases/p01195/output.0.txt
@@ -0,0 +1,2 @@
+16
+impossible
diff --git a/public_test_cases/p01196/input.0.txt b/public_test_cases/p01196/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a1d7ba17a03f73084b95ef2f9e49d810a26a90f
--- /dev/null
+++ b/public_test_cases/p01196/input.0.txt
@@ -0,0 +1,7 @@
+4 4
+3 3 5 3
+3 5 5 6
+4 4
+3 3 5 3
+3 5 5 5
+0 0
diff --git a/public_test_cases/p01196/input.1.txt b/public_test_cases/p01196/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a1d7ba17a03f73084b95ef2f9e49d810a26a90f
--- /dev/null
+++ b/public_test_cases/p01196/input.1.txt
@@ -0,0 +1,7 @@
+4 4
+3 3 5 3
+3 5 5 6
+4 4
+3 3 5 3
+3 5 5 5
+0 0
diff --git a/public_test_cases/p01196/output.0.txt b/public_test_cases/p01196/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d25b2b9a0a86dbcfe905e6c58b36bbfb95cb918d
--- /dev/null
+++ b/public_test_cases/p01196/output.0.txt
@@ -0,0 +1,2 @@
+4
+TOO MANY
diff --git a/public_test_cases/p01196/output.1.txt b/public_test_cases/p01196/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d25b2b9a0a86dbcfe905e6c58b36bbfb95cb918d
--- /dev/null
+++ b/public_test_cases/p01196/output.1.txt
@@ -0,0 +1,2 @@
+4
+TOO MANY
diff --git a/public_test_cases/p01197/input.0.txt b/public_test_cases/p01197/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d3bded7235edb53834a6e84c3e88ecee5dfb1bc
--- /dev/null
+++ b/public_test_cases/p01197/input.0.txt
@@ -0,0 +1,13 @@
+2
+
+3 3
+0 2
+0 2 240 80
+0 1 130 60
+1 2 260 60
+
+3 3
+0 2
+0 2 180 60
+0 1 130 60
+1 2 260 60
diff --git a/public_test_cases/p01197/input.1.txt b/public_test_cases/p01197/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d3bded7235edb53834a6e84c3e88ecee5dfb1bc
--- /dev/null
+++ b/public_test_cases/p01197/input.1.txt
@@ -0,0 +1,13 @@
+2
+
+3 3
+0 2
+0 2 240 80
+0 1 130 60
+1 2 260 60
+
+3 3
+0 2
+0 2 180 60
+0 1 130 60
+1 2 260 60
diff --git a/public_test_cases/p01197/output.0.txt b/public_test_cases/p01197/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6477f819bd3f87fad6a6c5f550c5b8f25e12d64
--- /dev/null
+++ b/public_test_cases/p01197/output.0.txt
@@ -0,0 +1,2 @@
+3.2500
+3.0000
diff --git a/public_test_cases/p01197/output.1.txt b/public_test_cases/p01197/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6477f819bd3f87fad6a6c5f550c5b8f25e12d64
--- /dev/null
+++ b/public_test_cases/p01197/output.1.txt
@@ -0,0 +1,2 @@
+3.2500
+3.0000
diff --git a/public_test_cases/p01198/input.0.txt b/public_test_cases/p01198/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20cacb3e56ed34b5337fdb89cbf18cb4f8adb20c
--- /dev/null
+++ b/public_test_cases/p01198/input.0.txt
@@ -0,0 +1,8 @@
+1
+3
+2 4 6
+4
+10 100
+2 3
+10 6
+7 6
diff --git a/public_test_cases/p01198/input.1.txt b/public_test_cases/p01198/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20cacb3e56ed34b5337fdb89cbf18cb4f8adb20c
--- /dev/null
+++ b/public_test_cases/p01198/input.1.txt
@@ -0,0 +1,8 @@
+1
+3
+2 4 6
+4
+10 100
+2 3
+10 6
+7 6
diff --git a/public_test_cases/p01198/output.0.txt b/public_test_cases/p01198/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdc5619afd31e87ea2fdb1b0f883e157eb52ecef
--- /dev/null
+++ b/public_test_cases/p01198/output.0.txt
@@ -0,0 +1,4 @@
+crash
+try again
+good 1.000
+perfect
diff --git a/public_test_cases/p01198/output.1.txt b/public_test_cases/p01198/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdc5619afd31e87ea2fdb1b0f883e157eb52ecef
--- /dev/null
+++ b/public_test_cases/p01198/output.1.txt
@@ -0,0 +1,4 @@
+crash
+try again
+good 1.000
+perfect
diff --git a/public_test_cases/p01199/input.0.txt b/public_test_cases/p01199/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9be39bcf9467427489230b84ee888ddb0b12b1d6
--- /dev/null
+++ b/public_test_cases/p01199/input.0.txt
@@ -0,0 +1,13 @@
+1 0 1
+51
+50
+2 1 1
+1 2 1
+1000 0
+0 1000
+4 3 5
+1 2 4
+1 3 1
+3 4 2
+0 1000 1000 1000
+3000 0 0 0
diff --git a/public_test_cases/p01199/input.1.txt b/public_test_cases/p01199/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9be39bcf9467427489230b84ee888ddb0b12b1d6
--- /dev/null
+++ b/public_test_cases/p01199/input.1.txt
@@ -0,0 +1,13 @@
+1 0 1
+51
+50
+2 1 1
+1 2 1
+1000 0
+0 1000
+4 3 5
+1 2 4
+1 3 1
+3 4 2
+0 1000 1000 1000
+3000 0 0 0
diff --git a/public_test_cases/p01199/output.0.txt b/public_test_cases/p01199/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5170a22506485bd2cc935e4460b22ca21da7704
--- /dev/null
+++ b/public_test_cases/p01199/output.0.txt
@@ -0,0 +1,3 @@
+50
+0
+3000
diff --git a/public_test_cases/p01199/output.1.txt b/public_test_cases/p01199/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5170a22506485bd2cc935e4460b22ca21da7704
--- /dev/null
+++ b/public_test_cases/p01199/output.1.txt
@@ -0,0 +1,3 @@
+50
+0
+3000
diff --git a/public_test_cases/p01200/input.0.txt b/public_test_cases/p01200/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccdb0af427fc3744f02a50d9cdb8c71cc72e5f5a
--- /dev/null
+++ b/public_test_cases/p01200/input.0.txt
@@ -0,0 +1,15 @@
+2 3
+10.00
+3 10 10 20 10 10 20
+4 30 10 40 10 40 20 30 20
+1.00 3 0 0 10 0 0 10
+0.50 4 20 15 25 15 25 20 20 20
+0.75 6 40 35 50 40 40 50 30 50 25 45 30 40
+4 1
+5.00
+3 0 0 24 0 0 24
+3 50 0 50 24 26 0
+3 0 50 0 26 24 50
+3 50 50 26 50 50 26
+1.00 4 25 0 50 25 25 50 0 25
+0 0
diff --git a/public_test_cases/p01200/input.1.txt b/public_test_cases/p01200/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccdb0af427fc3744f02a50d9cdb8c71cc72e5f5a
--- /dev/null
+++ b/public_test_cases/p01200/input.1.txt
@@ -0,0 +1,15 @@
+2 3
+10.00
+3 10 10 20 10 10 20
+4 30 10 40 10 40 20 30 20
+1.00 3 0 0 10 0 0 10
+0.50 4 20 15 25 15 25 20 20 20
+0.75 6 40 35 50 40 40 50 30 50 25 45 30 40
+4 1
+5.00
+3 0 0 24 0 0 24
+3 50 0 50 24 26 0
+3 0 50 0 26 24 50
+3 50 50 26 50 50 26
+1.00 4 25 0 50 25 25 50 0 25
+0 0
diff --git a/public_test_cases/p01200/output.0.txt b/public_test_cases/p01200/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..787f68905cedc72a349de9d355cba74bbf73775c
--- /dev/null
+++ b/public_test_cases/p01200/output.0.txt
@@ -0,0 +1,7 @@
+35.4
+5.6
+
+133.3
+133.3
+133.3
+133.3
diff --git a/public_test_cases/p01200/output.1.txt b/public_test_cases/p01200/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..787f68905cedc72a349de9d355cba74bbf73775c
--- /dev/null
+++ b/public_test_cases/p01200/output.1.txt
@@ -0,0 +1,7 @@
+35.4
+5.6
+
+133.3
+133.3
+133.3
+133.3
diff --git a/public_test_cases/p01201/input.0.txt b/public_test_cases/p01201/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0b6d86a1fc6d0fe10a30af923ae43d0492d7cc4
--- /dev/null
+++ b/public_test_cases/p01201/input.0.txt
@@ -0,0 +1,19 @@
+push 1
+push 2
+sqrt
+div
+push 1
+push 3
+sqrt
+div
+add
+disp
+push 8
+sqrt
+push 3
+push 2
+sqrt
+mul
+add
+disp
+stop
diff --git a/public_test_cases/p01201/output.0.txt b/public_test_cases/p01201/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec33fa80fed4f7a83aceee15229f07939222499c
--- /dev/null
+++ b/public_test_cases/p01201/output.0.txt
@@ -0,0 +1,2 @@
+1/2*sqrt(2) + 1/3*sqrt(3)
+5*sqrt(2)
diff --git a/public_test_cases/p01202/input.0.txt b/public_test_cases/p01202/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7bec0c76f3cdb3426efaf2081d22914c2d3c17a
--- /dev/null
+++ b/public_test_cases/p01202/input.0.txt
@@ -0,0 +1,4 @@
+3
+UU
+RDUL
+ULDURDULDURDULDURDULDURD
diff --git a/public_test_cases/p01202/input.1.txt b/public_test_cases/p01202/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7bec0c76f3cdb3426efaf2081d22914c2d3c17a
--- /dev/null
+++ b/public_test_cases/p01202/input.1.txt
@@ -0,0 +1,4 @@
+3
+UU
+RDUL
+ULDURDULDURDULDURDULDURD
diff --git a/public_test_cases/p01202/output.0.txt b/public_test_cases/p01202/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..833b95f1a1278c9952face6007de225c51813935
--- /dev/null
+++ b/public_test_cases/p01202/output.0.txt
@@ -0,0 +1,3 @@
+No
+Yes
+Yes
diff --git a/public_test_cases/p01202/output.1.txt b/public_test_cases/p01202/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..833b95f1a1278c9952face6007de225c51813935
--- /dev/null
+++ b/public_test_cases/p01202/output.1.txt
@@ -0,0 +1,3 @@
+No
+Yes
+Yes
diff --git a/public_test_cases/p01203/input.0.txt b/public_test_cases/p01203/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a86ec20eb4ff0cbc59e76e58661f3d39cb9e978
--- /dev/null
+++ b/public_test_cases/p01203/input.0.txt
@@ -0,0 +1,10 @@
+6 1
+2 1
+2 1
+2 1
+2 1
+2 1
+5 1
+1 1
+4 2
+0 0
diff --git a/public_test_cases/p01203/input.1.txt b/public_test_cases/p01203/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a86ec20eb4ff0cbc59e76e58661f3d39cb9e978
--- /dev/null
+++ b/public_test_cases/p01203/input.1.txt
@@ -0,0 +1,10 @@
+6 1
+2 1
+2 1
+2 1
+2 1
+2 1
+5 1
+1 1
+4 2
+0 0
diff --git a/public_test_cases/p01203/output.0.txt b/public_test_cases/p01203/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97828e9446fed69e0c983da1695fda0e6d2a9620
--- /dev/null
+++ b/public_test_cases/p01203/output.0.txt
@@ -0,0 +1,2 @@
+2
+Impossible
diff --git a/public_test_cases/p01203/output.1.txt b/public_test_cases/p01203/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97828e9446fed69e0c983da1695fda0e6d2a9620
--- /dev/null
+++ b/public_test_cases/p01203/output.1.txt
@@ -0,0 +1,2 @@
+2
+Impossible
diff --git a/public_test_cases/p01204/input.0.txt b/public_test_cases/p01204/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82564110727a16b52841ace42952bd69f92f71c7
--- /dev/null
+++ b/public_test_cases/p01204/input.0.txt
@@ -0,0 +1,14 @@
+2
+0 0 0 0 2 0
+0 0 1 0 0 -1
+2 0 0 0 2 0
+3
+0 5 0 3 1 4
+0 1 0 0 -1 0
+1 0 1 -1 0 1
+3 1 -1 3 1 1
+2
+0 0 0 3 0 0
+0 0 0 0 1 0
+3 0 0 3 1 0
+0
diff --git a/public_test_cases/p01204/input.1.txt b/public_test_cases/p01204/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82564110727a16b52841ace42952bd69f92f71c7
--- /dev/null
+++ b/public_test_cases/p01204/input.1.txt
@@ -0,0 +1,14 @@
+2
+0 0 0 0 2 0
+0 0 1 0 0 -1
+2 0 0 0 2 0
+3
+0 5 0 3 1 4
+0 1 0 0 -1 0
+1 0 1 -1 0 1
+3 1 -1 3 1 1
+2
+0 0 0 3 0 0
+0 0 0 0 1 0
+3 0 0 3 1 0
+0
diff --git a/public_test_cases/p01204/output.0.txt b/public_test_cases/p01204/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a1474823bacd1cc068fc0714a2f1e0f733e495
--- /dev/null
+++ b/public_test_cases/p01204/output.0.txt
@@ -0,0 +1,3 @@
+1.414
+2.000
+3.000
diff --git a/public_test_cases/p01204/output.1.txt b/public_test_cases/p01204/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a1474823bacd1cc068fc0714a2f1e0f733e495
--- /dev/null
+++ b/public_test_cases/p01204/output.1.txt
@@ -0,0 +1,3 @@
+1.414
+2.000
+3.000
diff --git a/public_test_cases/p01205/input.0.txt b/public_test_cases/p01205/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c00eebdd056f798246a2391689247ee8d94ea505
--- /dev/null
+++ b/public_test_cases/p01205/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+4 3 2 2
+4 4
+4 3 2 3
+0 0
diff --git a/public_test_cases/p01205/input.1.txt b/public_test_cases/p01205/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c00eebdd056f798246a2391689247ee8d94ea505
--- /dev/null
+++ b/public_test_cases/p01205/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+4 3 2 2
+4 4
+4 3 2 3
+0 0
diff --git a/public_test_cases/p01205/output.0.txt b/public_test_cases/p01205/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a832874bc0f938d08aaf13abcfeff133789d9887
--- /dev/null
+++ b/public_test_cases/p01205/output.0.txt
@@ -0,0 +1,2 @@
+1111001
+Goofy
diff --git a/public_test_cases/p01205/output.1.txt b/public_test_cases/p01205/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a832874bc0f938d08aaf13abcfeff133789d9887
--- /dev/null
+++ b/public_test_cases/p01205/output.1.txt
@@ -0,0 +1,2 @@
+1111001
+Goofy
diff --git a/public_test_cases/p01206/input.0.txt b/public_test_cases/p01206/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11f28a0b2992dc06b45af1af73df6fd1a5dedb62
--- /dev/null
+++ b/public_test_cases/p01206/input.0.txt
@@ -0,0 +1,31 @@
+4 4 1 1
+2 2 2 2
+2 1 1 2
+2 1 1 2
+2 1 2 2
+1 1
+4 4 1 1
+2 2 2 2
+2 1 1 2
+2 1 1 2
+2 1 2 2
+2 2
+4 4 1 1
+2 2 2 2
+2 1 1 2
+2 1 1 2
+2 1 1 2
+1 1
+3 6 6 1
+1 6 7 1 7 1
+5 1 2 8 1 6
+1 4 3 1 5 1
+1 4
+5 6 21 1
+1 3 3 3 3 1
+3 1 1 1 1 3
+3 1 1 3 2 2
+3 1 1 1 1 3
+1 3 3 3 3 1
+3 4
+0 0 0 0
diff --git a/public_test_cases/p01206/input.1.txt b/public_test_cases/p01206/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11f28a0b2992dc06b45af1af73df6fd1a5dedb62
--- /dev/null
+++ b/public_test_cases/p01206/input.1.txt
@@ -0,0 +1,31 @@
+4 4 1 1
+2 2 2 2
+2 1 1 2
+2 1 1 2
+2 1 2 2
+1 1
+4 4 1 1
+2 2 2 2
+2 1 1 2
+2 1 1 2
+2 1 2 2
+2 2
+4 4 1 1
+2 2 2 2
+2 1 1 2
+2 1 1 2
+2 1 1 2
+1 1
+3 6 6 1
+1 6 7 1 7 1
+5 1 2 8 1 6
+1 4 3 1 5 1
+1 4
+5 6 21 1
+1 3 3 3 3 1
+3 1 1 1 1 3
+3 1 1 3 2 2
+3 1 1 1 1 3
+1 3 3 3 3 1
+3 4
+0 0 0 0
diff --git a/public_test_cases/p01206/output.0.txt b/public_test_cases/p01206/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b02b677570662263248e87dce70af0f0f69bc63
--- /dev/null
+++ b/public_test_cases/p01206/output.0.txt
@@ -0,0 +1,5 @@
+Yes
+No
+No
+No
+Yes
diff --git a/public_test_cases/p01206/output.1.txt b/public_test_cases/p01206/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b02b677570662263248e87dce70af0f0f69bc63
--- /dev/null
+++ b/public_test_cases/p01206/output.1.txt
@@ -0,0 +1,5 @@
+Yes
+No
+No
+No
+Yes
diff --git a/public_test_cases/p01207/input.0.txt b/public_test_cases/p01207/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..301393b8c5ac74e7857c2c49c7301e834bf688e2
--- /dev/null
+++ b/public_test_cases/p01207/input.0.txt
@@ -0,0 +1,9 @@
+2
+1234 3 0
+1245 3 0
+1
+1234 0 0
+2
+0123 0 4
+1230 0 4
+0
diff --git a/public_test_cases/p01207/input.1.txt b/public_test_cases/p01207/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..301393b8c5ac74e7857c2c49c7301e834bf688e2
--- /dev/null
+++ b/public_test_cases/p01207/input.1.txt
@@ -0,0 +1,9 @@
+2
+1234 3 0
+1245 3 0
+1
+1234 0 0
+2
+0123 0 4
+1230 0 4
+0
diff --git a/public_test_cases/p01207/output.0.txt b/public_test_cases/p01207/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd3f7073fb868bf5130b80d0b50f49f16e8ceaa2
--- /dev/null
+++ b/public_test_cases/p01207/output.0.txt
@@ -0,0 +1,3 @@
+1235
+????
+0132
diff --git a/public_test_cases/p01207/output.1.txt b/public_test_cases/p01207/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd3f7073fb868bf5130b80d0b50f49f16e8ceaa2
--- /dev/null
+++ b/public_test_cases/p01207/output.1.txt
@@ -0,0 +1,3 @@
+1235
+????
+0132
diff --git a/public_test_cases/p01208/input.0.txt b/public_test_cases/p01208/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94dc3c955ccc77836659bdc4e7fab19d6b9e5f24
--- /dev/null
+++ b/public_test_cases/p01208/input.0.txt
@@ -0,0 +1,56 @@
+2 1
+KarasumaKitaoji 0 6150
+KarasumaNanajo 0 0
+KarasumaNanajo KarasumaKitaoji
+KarasumaKitaoji KarasumaNanajo
+3 2
+KujoOmiya 0 0
+KujoAburanokoji 400 0
+OmiyaNanajo 0 1150
+KujoOmiya KujoAburanokoji
+KujoOmiya OmiyaNanajo
+KujoAburanokoji OmiyaNanajo
+10 12
+KarasumaGojo 745 0
+HorikawaShijo 0 870
+ShijoKarasuma 745 870
+ShijoKawaramachi 1645 870
+HorikawaOike 0 1700
+KarasumaOike 745 1700
+KawaramachiOike 1645 1700
+KawabataOike 1945 1700
+KarasumaMarutamachi 745 2445
+KawaramachiMarutamachi 1645 2445
+KarasumaGojo ShijoKarasuma
+HorikawaShijo ShijoKarasuma
+ShijoKarasuma ShijoKawaramachi
+HorikawaShijo HorikawaOike
+ShijoKarasuma KarasumaOike
+ShijoKawaramachi KawaramachiOike
+HorikawaOike KarasumaOike
+KarasumaOike KawaramachiOike
+KawaramachiOike KawabataOike
+KarasumaOike KarasumaMarutamachi
+KawaramachiOike KawaramachiMarutamachi
+KarasumaMarutamachi KawaramachiMarutamachi
+KarasumaGojo KawabataOike
+8 9
+NishikojiNanajo 0 0
+NishiojiNanajo 750 0
+NishikojiGojo 0 800
+NishiojiGojo 750 800
+HorikawaGojo 2550 800
+NishiojiShijo 750 1700
+Enmachi 750 3250
+HorikawaMarutamachi 2550 3250
+NishikojiNanajo NishiojiNanajo
+NishikojiNanajo NishikojiGojo
+NishiojiNanajo NishiojiGojo
+NishikojiGojo NishiojiGojo
+NishiojiGojo HorikawaGojo
+NishiojiGojo NishiojiShijo
+HorikawaGojo HorikawaMarutamachi
+NishiojiShijo Enmachi
+Enmachi HorikawaMarutamachi
+HorikawaGojo NishiojiShijo
+0 0
diff --git a/public_test_cases/p01208/input.1.txt b/public_test_cases/p01208/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94dc3c955ccc77836659bdc4e7fab19d6b9e5f24
--- /dev/null
+++ b/public_test_cases/p01208/input.1.txt
@@ -0,0 +1,56 @@
+2 1
+KarasumaKitaoji 0 6150
+KarasumaNanajo 0 0
+KarasumaNanajo KarasumaKitaoji
+KarasumaKitaoji KarasumaNanajo
+3 2
+KujoOmiya 0 0
+KujoAburanokoji 400 0
+OmiyaNanajo 0 1150
+KujoOmiya KujoAburanokoji
+KujoOmiya OmiyaNanajo
+KujoAburanokoji OmiyaNanajo
+10 12
+KarasumaGojo 745 0
+HorikawaShijo 0 870
+ShijoKarasuma 745 870
+ShijoKawaramachi 1645 870
+HorikawaOike 0 1700
+KarasumaOike 745 1700
+KawaramachiOike 1645 1700
+KawabataOike 1945 1700
+KarasumaMarutamachi 745 2445
+KawaramachiMarutamachi 1645 2445
+KarasumaGojo ShijoKarasuma
+HorikawaShijo ShijoKarasuma
+ShijoKarasuma ShijoKawaramachi
+HorikawaShijo HorikawaOike
+ShijoKarasuma KarasumaOike
+ShijoKawaramachi KawaramachiOike
+HorikawaOike KarasumaOike
+KarasumaOike KawaramachiOike
+KawaramachiOike KawabataOike
+KarasumaOike KarasumaMarutamachi
+KawaramachiOike KawaramachiMarutamachi
+KarasumaMarutamachi KawaramachiMarutamachi
+KarasumaGojo KawabataOike
+8 9
+NishikojiNanajo 0 0
+NishiojiNanajo 750 0
+NishikojiGojo 0 800
+NishiojiGojo 750 800
+HorikawaGojo 2550 800
+NishiojiShijo 750 1700
+Enmachi 750 3250
+HorikawaMarutamachi 2550 3250
+NishikojiNanajo NishiojiNanajo
+NishikojiNanajo NishikojiGojo
+NishiojiNanajo NishiojiGojo
+NishikojiGojo NishiojiGojo
+NishiojiGojo HorikawaGojo
+NishiojiGojo NishiojiShijo
+HorikawaGojo HorikawaMarutamachi
+NishiojiShijo Enmachi
+Enmachi HorikawaMarutamachi
+HorikawaGojo NishiojiShijo
+0 0
diff --git a/public_test_cases/p01208/output.0.txt b/public_test_cases/p01208/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdc9f1640612d52cca289cc96a51263ee39d51aa
--- /dev/null
+++ b/public_test_cases/p01208/output.0.txt
@@ -0,0 +1,4 @@
+2
+impossible
+13
+4
diff --git a/public_test_cases/p01208/output.1.txt b/public_test_cases/p01208/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdc9f1640612d52cca289cc96a51263ee39d51aa
--- /dev/null
+++ b/public_test_cases/p01208/output.1.txt
@@ -0,0 +1,4 @@
+2
+impossible
+13
+4
diff --git a/public_test_cases/p01209/input.0.txt b/public_test_cases/p01209/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8b25e9802e71f31b95d2c463589657d96b0bcaa
--- /dev/null
+++ b/public_test_cases/p01209/input.0.txt
@@ -0,0 +1,3 @@
+10 500
+16 A
+0 0
diff --git a/public_test_cases/p01209/input.1.txt b/public_test_cases/p01209/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8b25e9802e71f31b95d2c463589657d96b0bcaa
--- /dev/null
+++ b/public_test_cases/p01209/input.1.txt
@@ -0,0 +1,3 @@
+10 500
+16 A
+0 0
diff --git a/public_test_cases/p01209/output.0.txt b/public_test_cases/p01209/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30d5b67fbeacc6a283af364f6f5340f3a06c9f1d
--- /dev/null
+++ b/public_test_cases/p01209/output.0.txt
@@ -0,0 +1,2 @@
+124
+2
diff --git a/public_test_cases/p01209/output.1.txt b/public_test_cases/p01209/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30d5b67fbeacc6a283af364f6f5340f3a06c9f1d
--- /dev/null
+++ b/public_test_cases/p01209/output.1.txt
@@ -0,0 +1,2 @@
+124
+2
diff --git a/public_test_cases/p01210/input.0.txt b/public_test_cases/p01210/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6da8a459dcbb972257095ecf83d9d46e7b4e3a5
--- /dev/null
+++ b/public_test_cases/p01210/input.0.txt
@@ -0,0 +1,17 @@
+1
+SA
+1
+C2
+2
+SA HA
+2
+C2 C3
+5
+S3 S5 S8 S9 S2
+3
+H7 H3 H4
+10
+H7 CJ C5 CA C6 S2 D8 DA S6 HK
+10
+C2 D6 D4 H5 DJ CX S8 S9 D3 D5
+0
diff --git a/public_test_cases/p01210/input.1.txt b/public_test_cases/p01210/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6da8a459dcbb972257095ecf83d9d46e7b4e3a5
--- /dev/null
+++ b/public_test_cases/p01210/input.1.txt
@@ -0,0 +1,17 @@
+1
+SA
+1
+C2
+2
+SA HA
+2
+C2 C3
+5
+S3 S5 S8 S9 S2
+3
+H7 H3 H4
+10
+H7 CJ C5 CA C6 S2 D8 DA S6 HK
+10
+C2 D6 D4 H5 DJ CX S8 S9 D3 D5
+0
diff --git a/public_test_cases/p01210/output.0.txt b/public_test_cases/p01210/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2196d52e23e3ab920ba3bd99afa9d6ea412dbb01
--- /dev/null
+++ b/public_test_cases/p01210/output.0.txt
@@ -0,0 +1,4 @@
+A wins.
+B wins.
+B wins.
+A wins.
diff --git a/public_test_cases/p01210/output.1.txt b/public_test_cases/p01210/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2196d52e23e3ab920ba3bd99afa9d6ea412dbb01
--- /dev/null
+++ b/public_test_cases/p01210/output.1.txt
@@ -0,0 +1,4 @@
+A wins.
+B wins.
+B wins.
+A wins.
diff --git a/public_test_cases/p01211/input.0.txt b/public_test_cases/p01211/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16e4c76efaeb15bdda0e8b765a186094ef7aa520
--- /dev/null
+++ b/public_test_cases/p01211/input.0.txt
@@ -0,0 +1,3 @@
+3 2 1
+3 2 0
+0 0 0
diff --git a/public_test_cases/p01211/input.1.txt b/public_test_cases/p01211/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16e4c76efaeb15bdda0e8b765a186094ef7aa520
--- /dev/null
+++ b/public_test_cases/p01211/input.1.txt
@@ -0,0 +1,3 @@
+3 2 1
+3 2 0
+0 0 0
diff --git a/public_test_cases/p01211/output.0.txt b/public_test_cases/p01211/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36a3982157c0609b9c24409ccdb09c5d6be16c8d
--- /dev/null
+++ b/public_test_cases/p01211/output.0.txt
@@ -0,0 +1,2 @@
+13.36
+6.28
diff --git a/public_test_cases/p01211/output.1.txt b/public_test_cases/p01211/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36a3982157c0609b9c24409ccdb09c5d6be16c8d
--- /dev/null
+++ b/public_test_cases/p01211/output.1.txt
@@ -0,0 +1,2 @@
+13.36
+6.28
diff --git a/public_test_cases/p01212/input.0.txt b/public_test_cases/p01212/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2ccb2b5166f369d7b0ec52c369e36d0b49014c8
--- /dev/null
+++ b/public_test_cases/p01212/input.0.txt
@@ -0,0 +1,23 @@
+8 3
+########
+# gb) {
+ VAR saa;
+ VAR sab;
+ IF(saa > ga) {
+ saa = sab;
+ }
+}
+WHILE(gb > ga) {
+ VAR sba;
+ sba = ga;
+ ga = gb;
+}
+7
+VAR thisisthelongest;
+IF(thisisthelongest / 0) {
+ VARone;
+ one = thisisthelongest + 1234567890123456789012345;
+}
+VAR another;
+32 = another;
+0
diff --git a/public_test_cases/p01221/input.1.txt b/public_test_cases/p01221/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2f114f4581c49d670a910b1c5d5b7015bd11598
--- /dev/null
+++ b/public_test_cases/p01221/input.1.txt
@@ -0,0 +1,24 @@
+14
+VAR ga;
+VAR gb;
+IF(ga > gb) {
+VAR saa;
+VAR sab;
+IF(saa > ga) {
+saa = sab;
+}
+}
+WHILE(gb > ga) {
+VAR sba;
+sba = ga;
+ga = gb;
+}
+7
+VAR thisisthelongest;
+IF(thisisthelongest / 0) {
+VARone;
+one = thisisthelongest + 1234567890123456789012345;
+}
+VAR another;
+32 = another;
+0
diff --git a/public_test_cases/p01221/input.2.txt b/public_test_cases/p01221/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23c774ae9f40161039fd5f30fd7ddd522d6711f9
--- /dev/null
+++ b/public_test_cases/p01221/input.2.txt
@@ -0,0 +1,24 @@
+14
+VAR ga;
+VAR gb;
+IF(ga > gb) {
+ VAR saa;
+ VAR sab;
+ IF(saa > ga) {
+ saa = sab;
+ }
+}
+WHILE(gb > ga) {
+ VAR sba;
+ sba = ga;
+ ga = gb;
+}
+7
+VAR thisisthelongest;
+IF(thisisthelongest / 0) {
+ VARone;
+ one = thisisthelongest + 1234567890123456789012345;
+}
+VAR another;
+32 = another;
+0
diff --git a/public_test_cases/p01221/output.0.txt b/public_test_cases/p01221/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcf644afb412167f24e8e8078fd69185daf74c0e
--- /dev/null
+++ b/public_test_cases/p01221/output.0.txt
@@ -0,0 +1,2 @@
+73
+59
diff --git a/public_test_cases/p01221/output.1.txt b/public_test_cases/p01221/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcf644afb412167f24e8e8078fd69185daf74c0e
--- /dev/null
+++ b/public_test_cases/p01221/output.1.txt
@@ -0,0 +1,2 @@
+73
+59
diff --git a/public_test_cases/p01221/output.2.txt b/public_test_cases/p01221/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcf644afb412167f24e8e8078fd69185daf74c0e
--- /dev/null
+++ b/public_test_cases/p01221/output.2.txt
@@ -0,0 +1,2 @@
+73
+59
diff --git a/public_test_cases/p01222/input.0.txt b/public_test_cases/p01222/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f8fc38bd932c57e18cc24e4d5229fb723e41504
--- /dev/null
+++ b/public_test_cases/p01222/input.0.txt
@@ -0,0 +1,6 @@
+1 1
+4 10 0 0 10 0 10 10 0 10
+-5 -20 30 15
+135 45
+0 -15 15 0
+0 0
diff --git a/public_test_cases/p01222/input.1.txt b/public_test_cases/p01222/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f8fc38bd932c57e18cc24e4d5229fb723e41504
--- /dev/null
+++ b/public_test_cases/p01222/input.1.txt
@@ -0,0 +1,6 @@
+1 1
+4 10 0 0 10 0 10 10 0 10
+-5 -20 30 15
+135 45
+0 -15 15 0
+0 0
diff --git a/public_test_cases/p01222/output.0.txt b/public_test_cases/p01222/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4080e821acfe2cb6228f6bb7e90187c915553707
--- /dev/null
+++ b/public_test_cases/p01222/output.0.txt
@@ -0,0 +1 @@
+11.213
diff --git a/public_test_cases/p01222/output.1.txt b/public_test_cases/p01222/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4080e821acfe2cb6228f6bb7e90187c915553707
--- /dev/null
+++ b/public_test_cases/p01222/output.1.txt
@@ -0,0 +1 @@
+11.213
diff --git a/public_test_cases/p01223/input.0.txt b/public_test_cases/p01223/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec989ac962f5207167fb4cd6d7cba3d607d82f78
--- /dev/null
+++ b/public_test_cases/p01223/input.0.txt
@@ -0,0 +1,11 @@
+5
+5
+10 70 30 50 90
+2
+20 100
+2
+100 30
+3
+50 50 50
+7
+123 45 678 901 234 567 890
diff --git a/public_test_cases/p01223/input.1.txt b/public_test_cases/p01223/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec989ac962f5207167fb4cd6d7cba3d607d82f78
--- /dev/null
+++ b/public_test_cases/p01223/input.1.txt
@@ -0,0 +1,11 @@
+5
+5
+10 70 30 50 90
+2
+20 100
+2
+100 30
+3
+50 50 50
+7
+123 45 678 901 234 567 890
diff --git a/public_test_cases/p01223/output.0.txt b/public_test_cases/p01223/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f17f2d47dc8e32965dd391b80758791307fe69ef
--- /dev/null
+++ b/public_test_cases/p01223/output.0.txt
@@ -0,0 +1,5 @@
+60 40
+80 0
+0 70
+0 0
+633 667
diff --git a/public_test_cases/p01223/output.1.txt b/public_test_cases/p01223/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f17f2d47dc8e32965dd391b80758791307fe69ef
--- /dev/null
+++ b/public_test_cases/p01223/output.1.txt
@@ -0,0 +1,5 @@
+60 40
+80 0
+0 70
+0 0
+633 667
diff --git a/public_test_cases/p01224/input.0.txt b/public_test_cases/p01224/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba867bd4b23a5983b3be68ba227b77f171cabf3d
--- /dev/null
+++ b/public_test_cases/p01224/input.0.txt
@@ -0,0 +1,13 @@
+1
+2
+3
+4
+6
+12
+16
+28
+33550336
+99999998
+99999999
+100000000
+0
diff --git a/public_test_cases/p01224/input.1.txt b/public_test_cases/p01224/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba867bd4b23a5983b3be68ba227b77f171cabf3d
--- /dev/null
+++ b/public_test_cases/p01224/input.1.txt
@@ -0,0 +1,13 @@
+1
+2
+3
+4
+6
+12
+16
+28
+33550336
+99999998
+99999999
+100000000
+0
diff --git a/public_test_cases/p01224/output.0.txt b/public_test_cases/p01224/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c58100102e42755881f3f0948e61f1dc0eaba026
--- /dev/null
+++ b/public_test_cases/p01224/output.0.txt
@@ -0,0 +1,12 @@
+deficient number
+deficient number
+deficient number
+deficient number
+perfect number
+abundant number
+deficient number
+perfect number
+perfect number
+deficient number
+deficient number
+abundant number
diff --git a/public_test_cases/p01224/output.1.txt b/public_test_cases/p01224/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c58100102e42755881f3f0948e61f1dc0eaba026
--- /dev/null
+++ b/public_test_cases/p01224/output.1.txt
@@ -0,0 +1,12 @@
+deficient number
+deficient number
+deficient number
+deficient number
+perfect number
+abundant number
+deficient number
+perfect number
+perfect number
+deficient number
+deficient number
+abundant number
diff --git a/public_test_cases/p01225/input.0.txt b/public_test_cases/p01225/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcae5ce46b102d44c430993ee1ff7d8009f2a7b0
--- /dev/null
+++ b/public_test_cases/p01225/input.0.txt
@@ -0,0 +1,11 @@
+5
+1 2 3 3 4 5 7 7 7
+R R R R R R G G G
+1 2 2 3 4 4 4 4 5
+R R R R R R R R R
+1 2 3 4 4 4 5 5 5
+R R B R R R R R R
+1 1 1 3 4 5 6 6 6
+R R B G G G R R R
+2 2 2 3 3 3 1 1 1
+R G B R G B R G B
diff --git a/public_test_cases/p01225/input.1.txt b/public_test_cases/p01225/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcae5ce46b102d44c430993ee1ff7d8009f2a7b0
--- /dev/null
+++ b/public_test_cases/p01225/input.1.txt
@@ -0,0 +1,11 @@
+5
+1 2 3 3 4 5 7 7 7
+R R R R R R G G G
+1 2 2 3 4 4 4 4 5
+R R R R R R R R R
+1 2 3 4 4 4 5 5 5
+R R B R R R R R R
+1 1 1 3 4 5 6 6 6
+R R B G G G R R R
+2 2 2 3 3 3 1 1 1
+R G B R G B R G B
diff --git a/public_test_cases/p01225/output.0.txt b/public_test_cases/p01225/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b3b3c74d7cc2e59d6efb1dd215f934120513e2f
--- /dev/null
+++ b/public_test_cases/p01225/output.0.txt
@@ -0,0 +1,5 @@
+1
+0
+0
+0
+1
diff --git a/public_test_cases/p01225/output.1.txt b/public_test_cases/p01225/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b3b3c74d7cc2e59d6efb1dd215f934120513e2f
--- /dev/null
+++ b/public_test_cases/p01225/output.1.txt
@@ -0,0 +1,5 @@
+1
+0
+0
+0
+1
diff --git a/public_test_cases/p01226/input.0.txt b/public_test_cases/p01226/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f012b38d64a42dcc83a657590683f2e437de9339
--- /dev/null
+++ b/public_test_cases/p01226/input.0.txt
@@ -0,0 +1,27 @@
+4
+4 6
+*.*..*
+*.....
+..-...
+^.*#..
+10
+SRSSRRUSSR
+2 2
+<.
+..
+12
+DDSRRSUUSLLS
+3 5
+>-#**
+.-*#*
+.-**#
+15
+SSSDRSSSDRSSSUU
+5 5
+v****
+*****
+*****
+*****
+*****
+44
+SSSSDDRSDRSRDSULUURSSSSRRRRDSSSSDDLSDLSDLSSD
diff --git a/public_test_cases/p01226/input.1.txt b/public_test_cases/p01226/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f012b38d64a42dcc83a657590683f2e437de9339
--- /dev/null
+++ b/public_test_cases/p01226/input.1.txt
@@ -0,0 +1,27 @@
+4
+4 6
+*.*..*
+*.....
+..-...
+^.*#..
+10
+SRSSRRUSSR
+2 2
+<.
+..
+12
+DDSRRSUUSLLS
+3 5
+>-#**
+.-*#*
+.-**#
+15
+SSSDRSSSDRSSSUU
+5 5
+v****
+*****
+*****
+*****
+*****
+44
+SSSSDDRSDRSRDSULUURSSSSRRRRDSSSSDDLSDLSDLSSD
diff --git a/public_test_cases/p01226/output.0.txt b/public_test_cases/p01226/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..987a19ad6c312f4c430f14512b4c97da169ad9f1
--- /dev/null
+++ b/public_test_cases/p01226/output.0.txt
@@ -0,0 +1,17 @@
+*....*
+......
+..-...
+..>#..
+
+<.
+..
+
+^-#**
+.-.#*
+.-..#
+
+.....
+.***.
+..*..
+..*..
+....v
diff --git a/public_test_cases/p01226/output.1.txt b/public_test_cases/p01226/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..987a19ad6c312f4c430f14512b4c97da169ad9f1
--- /dev/null
+++ b/public_test_cases/p01226/output.1.txt
@@ -0,0 +1,17 @@
+*....*
+......
+..-...
+..>#..
+
+<.
+..
+
+^-#**
+.-.#*
+.-..#
+
+.....
+.***.
+..*..
+..*..
+....v
diff --git a/public_test_cases/p01227/input.0.txt b/public_test_cases/p01227/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85b0c5628c459fc1e004b63e2e27c763a53c0709
--- /dev/null
+++ b/public_test_cases/p01227/input.0.txt
@@ -0,0 +1,13 @@
+6
+5 2
+10 30 40 70 100
+7 3
+3 6 10 17 21 26 28
+1 1
+100
+2 1
+0 1000000
+3 5
+30 70 150
+6 4
+0 10 20 30 40 50
diff --git a/public_test_cases/p01227/input.1.txt b/public_test_cases/p01227/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85b0c5628c459fc1e004b63e2e27c763a53c0709
--- /dev/null
+++ b/public_test_cases/p01227/input.1.txt
@@ -0,0 +1,13 @@
+6
+5 2
+10 30 40 70 100
+7 3
+3 6 10 17 21 26 28
+1 1
+100
+2 1
+0 1000000
+3 5
+30 70 150
+6 4
+0 10 20 30 40 50
diff --git a/public_test_cases/p01227/output.0.txt b/public_test_cases/p01227/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96d4619617d007aeb7cfb52ae4e8b3ffedf16181
--- /dev/null
+++ b/public_test_cases/p01227/output.0.txt
@@ -0,0 +1,6 @@
+60
+13
+0
+1000000
+0
+20
diff --git a/public_test_cases/p01227/output.1.txt b/public_test_cases/p01227/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96d4619617d007aeb7cfb52ae4e8b3ffedf16181
--- /dev/null
+++ b/public_test_cases/p01227/output.1.txt
@@ -0,0 +1,6 @@
+60
+13
+0
+1000000
+0
+20
diff --git a/public_test_cases/p01228/input.0.txt b/public_test_cases/p01228/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42f284db6bf28f67adf68ce0416d123866e0e96a
--- /dev/null
+++ b/public_test_cases/p01228/input.0.txt
@@ -0,0 +1,17 @@
+5
+2
+01000100
+00020202
+2
+0102
+00000810
+1
+0200020008000200
+5
+0001
+000001
+0000000001
+00000000000001
+0000000000000000000001
+1
+000000
diff --git a/public_test_cases/p01228/input.1.txt b/public_test_cases/p01228/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42f284db6bf28f67adf68ce0416d123866e0e96a
--- /dev/null
+++ b/public_test_cases/p01228/input.1.txt
@@ -0,0 +1,17 @@
+5
+2
+01000100
+00020202
+2
+0102
+00000810
+1
+0200020008000200
+5
+0001
+000001
+0000000001
+00000000000001
+0000000000000000000001
+1
+000000
diff --git a/public_test_cases/p01228/output.0.txt b/public_test_cases/p01228/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..503a9e2d0fce3ee9627526c8cb453a8dcacafd04
--- /dev/null
+++ b/public_test_cases/p01228/output.0.txt
@@ -0,0 +1,5 @@
+01020302
+01000A10
+02020802
+Too complex.
+00
diff --git a/public_test_cases/p01228/output.1.txt b/public_test_cases/p01228/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..503a9e2d0fce3ee9627526c8cb453a8dcacafd04
--- /dev/null
+++ b/public_test_cases/p01228/output.1.txt
@@ -0,0 +1,5 @@
+01020302
+01000A10
+02020802
+Too complex.
+00
diff --git a/public_test_cases/p01229/input.0.txt b/public_test_cases/p01229/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa047c3ca71d58fda1b908d76552bf3a30e87dbb
--- /dev/null
+++ b/public_test_cases/p01229/input.0.txt
@@ -0,0 +1,15 @@
+7
+1
+2
+2
+1 2
+3
+4 1 4
+3
+4 0 4
+5
+4 1 4 0 4
+5
+4 1 4 1 4
+5
+4 2 4 0 4
diff --git a/public_test_cases/p01229/input.1.txt b/public_test_cases/p01229/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa047c3ca71d58fda1b908d76552bf3a30e87dbb
--- /dev/null
+++ b/public_test_cases/p01229/input.1.txt
@@ -0,0 +1,15 @@
+7
+1
+2
+2
+1 2
+3
+4 1 4
+3
+4 0 4
+5
+4 1 4 0 4
+5
+4 1 4 1 4
+5
+4 2 4 0 4
diff --git a/public_test_cases/p01229/output.0.txt b/public_test_cases/p01229/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f37a88e34dec23c8bf979366051f536417d0e91b
--- /dev/null
+++ b/public_test_cases/p01229/output.0.txt
@@ -0,0 +1,7 @@
+2
+2
+8
+4
+7
+12
+11
diff --git a/public_test_cases/p01229/output.1.txt b/public_test_cases/p01229/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f37a88e34dec23c8bf979366051f536417d0e91b
--- /dev/null
+++ b/public_test_cases/p01229/output.1.txt
@@ -0,0 +1,7 @@
+2
+2
+8
+4
+7
+12
+11
diff --git a/public_test_cases/p01230/input.0.txt b/public_test_cases/p01230/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6749b59785c3fe23b5e5d80e36dc02f178b35da
--- /dev/null
+++ b/public_test_cases/p01230/input.0.txt
@@ -0,0 +1,25 @@
+2 1 1
+1 2
+2 1 2
+1 2
+3 1 2
+1 2
+8 8 5778
+1 2
+2 3
+2 4
+3 5
+5 6
+6 7
+7 8
+4 8
+8 8 5777
+1 2
+2 3
+2 4
+3 5
+5 6
+6 7
+7 8
+4 8
+0 0 0
diff --git a/public_test_cases/p01230/input.1.txt b/public_test_cases/p01230/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6749b59785c3fe23b5e5d80e36dc02f178b35da
--- /dev/null
+++ b/public_test_cases/p01230/input.1.txt
@@ -0,0 +1,25 @@
+2 1 1
+1 2
+2 1 2
+1 2
+3 1 2
+1 2
+8 8 5778
+1 2
+2 3
+2 4
+3 5
+5 6
+6 7
+7 8
+4 8
+8 8 5777
+1 2
+2 3
+2 4
+3 5
+5 6
+6 7
+7 8
+4 8
+0 0 0
diff --git a/public_test_cases/p01230/output.0.txt b/public_test_cases/p01230/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6660bb915970364ebfb69efdc9ca21fc5722161
--- /dev/null
+++ b/public_test_cases/p01230/output.0.txt
@@ -0,0 +1,5 @@
+yes
+no
+no
+yes
+no
diff --git a/public_test_cases/p01230/output.1.txt b/public_test_cases/p01230/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6660bb915970364ebfb69efdc9ca21fc5722161
--- /dev/null
+++ b/public_test_cases/p01230/output.1.txt
@@ -0,0 +1,5 @@
+yes
+no
+no
+yes
+no
diff --git a/public_test_cases/p01231/input.0.txt b/public_test_cases/p01231/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a852a3628d7f610a04faa8780ca3c3ee1212ad1d
--- /dev/null
+++ b/public_test_cases/p01231/input.0.txt
@@ -0,0 +1,45 @@
+6
+8
+0 1 0 0 0 0 0 0
+1 0 1 0 0 0 0 0
+0 1 0 1 1 0 0 0
+0 0 1 0 0 0 0 0
+0 0 1 0 0 1 1 0
+0 0 0 0 1 0 0 0
+0 0 0 0 1 0 0 1
+0 0 0 0 0 0 1 0
+3 0
+4
+0 1 1 0
+1 0 0 1
+1 0 0 1
+0 1 1 0
+1 0
+5
+0 1 0 1 0
+1 0 0 1 0
+0 0 0 0 1
+1 1 0 0 0
+0 0 1 0 0
+2 0
+5
+0 1 0 0 1
+1 0 1 1 1
+0 1 0 1 0
+0 1 1 0 1
+1 1 0 1 0
+2 4
+5
+0 1 0 1 0
+1 0 1 1 0
+0 1 0 0 1
+1 1 0 0 1
+0 0 1 1 0
+3 0
+5
+0 1 0 1 1
+1 0 1 0 1
+0 1 0 1 0
+1 0 1 0 1
+1 1 0 1 0
+0 4
diff --git a/public_test_cases/p01231/input.1.txt b/public_test_cases/p01231/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a852a3628d7f610a04faa8780ca3c3ee1212ad1d
--- /dev/null
+++ b/public_test_cases/p01231/input.1.txt
@@ -0,0 +1,45 @@
+6
+8
+0 1 0 0 0 0 0 0
+1 0 1 0 0 0 0 0
+0 1 0 1 1 0 0 0
+0 0 1 0 0 0 0 0
+0 0 1 0 0 1 1 0
+0 0 0 0 1 0 0 0
+0 0 0 0 1 0 0 1
+0 0 0 0 0 0 1 0
+3 0
+4
+0 1 1 0
+1 0 0 1
+1 0 0 1
+0 1 1 0
+1 0
+5
+0 1 0 1 0
+1 0 0 1 0
+0 0 0 0 1
+1 1 0 0 0
+0 0 1 0 0
+2 0
+5
+0 1 0 0 1
+1 0 1 1 1
+0 1 0 1 0
+0 1 1 0 1
+1 1 0 1 0
+2 4
+5
+0 1 0 1 0
+1 0 1 1 0
+0 1 0 0 1
+1 1 0 0 1
+0 0 1 1 0
+3 0
+5
+0 1 0 1 1
+1 0 1 0 1
+0 1 0 1 0
+1 0 1 0 1
+1 1 0 1 0
+0 4
diff --git a/public_test_cases/p01231/output.0.txt b/public_test_cases/p01231/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fb8c95c0f947b539ab56d34d4d12d4371c40288
--- /dev/null
+++ b/public_test_cases/p01231/output.0.txt
@@ -0,0 +1,6 @@
+5
+infinity
+infinity
+2
+infinity
+1
diff --git a/public_test_cases/p01231/output.1.txt b/public_test_cases/p01231/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fb8c95c0f947b539ab56d34d4d12d4371c40288
--- /dev/null
+++ b/public_test_cases/p01231/output.1.txt
@@ -0,0 +1,6 @@
+5
+infinity
+infinity
+2
+infinity
+1
diff --git a/public_test_cases/p01232/input.0.txt b/public_test_cases/p01232/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7290a17f774a5947ce924088badcf91d95ebee2
--- /dev/null
+++ b/public_test_cases/p01232/input.0.txt
@@ -0,0 +1,18 @@
+2
+3
+R 1 =
+L 2 + -
+L 2 * /
+6
+a+b*c-d
+(p-q)/q/d
+a+b*c=d-e
+t+t+t+t+t
+s=s=s=s=s
+(((((z)))))
+3
+R 3 = < >
+L 3 & | ^
+L 4 + - * /
+1
+a>b*c=dk
diff --git a/public_test_cases/p01232/input.1.txt b/public_test_cases/p01232/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7290a17f774a5947ce924088badcf91d95ebee2
--- /dev/null
+++ b/public_test_cases/p01232/input.1.txt
@@ -0,0 +1,18 @@
+2
+3
+R 1 =
+L 2 + -
+L 2 * /
+6
+a+b*c-d
+(p-q)/q/d
+a+b*c=d-e
+t+t+t+t+t
+s=s=s=s=s
+(((((z)))))
+3
+R 3 = < >
+L 3 & | ^
+L 4 + - * /
+1
+a>b*c=dk
diff --git a/public_test_cases/p01232/output.0.txt b/public_test_cases/p01232/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8779ac598c4d1e0feacc0623519ce34477d3d864
--- /dev/null
+++ b/public_test_cases/p01232/output.0.txt
@@ -0,0 +1,8 @@
+((a+(b*c))-d)
+(((p-q)/q)/d)
+((a+(b*c))=(d-e))
+((((t+t)+t)+t)+t)
+(s=(s=(s=(s=s))))
+z
+
+(a>((b*c)=(d<((((e|(f+g))^h)&i)<(j>k)))))
diff --git a/public_test_cases/p01232/output.1.txt b/public_test_cases/p01232/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8779ac598c4d1e0feacc0623519ce34477d3d864
--- /dev/null
+++ b/public_test_cases/p01232/output.1.txt
@@ -0,0 +1,8 @@
+((a+(b*c))-d)
+(((p-q)/q)/d)
+((a+(b*c))=(d-e))
+((((t+t)+t)+t)+t)
+(s=(s=(s=(s=s))))
+z
+
+(a>((b*c)=(d<((((e|(f+g))^h)&i)<(j>k)))))
diff --git a/public_test_cases/p01233/input.0.txt b/public_test_cases/p01233/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8a372b1900127e7925fc63afef3fbb6f3858899
--- /dev/null
+++ b/public_test_cases/p01233/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 1 3 2 0 1
+1 1 2 2 9 9
+0 0 1 4 5 5
+0 0 1 4 5 10
diff --git a/public_test_cases/p01233/input.1.txt b/public_test_cases/p01233/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8a372b1900127e7925fc63afef3fbb6f3858899
--- /dev/null
+++ b/public_test_cases/p01233/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 1 3 2 0 1
+1 1 2 2 9 9
+0 0 1 4 5 5
+0 0 1 4 5 10
diff --git a/public_test_cases/p01233/output.0.txt b/public_test_cases/p01233/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc856dafab0941942ccea4202bfa3a5b02bf4371
--- /dev/null
+++ b/public_test_cases/p01233/output.0.txt
@@ -0,0 +1,4 @@
+0
+1
+2
+3
diff --git a/public_test_cases/p01233/output.1.txt b/public_test_cases/p01233/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc856dafab0941942ccea4202bfa3a5b02bf4371
--- /dev/null
+++ b/public_test_cases/p01233/output.1.txt
@@ -0,0 +1,4 @@
+0
+1
+2
+3
diff --git a/public_test_cases/p01234/input.0.txt b/public_test_cases/p01234/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76892ff1c4f0af620db4758d09ceff0b70475ed7
--- /dev/null
+++ b/public_test_cases/p01234/input.0.txt
@@ -0,0 +1,3 @@
+2
+150 1 50 30 50
+100 1 20 30 40
diff --git a/public_test_cases/p01234/output.0.txt b/public_test_cases/p01234/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9963ba1ab61a4001cc2cba5207ac773e65538567
--- /dev/null
+++ b/public_test_cases/p01234/output.0.txt
@@ -0,0 +1,6 @@
+Case 1:
+Fire at 37.995392 degree(s).
+Projectile destroyed in 2.290123 second(s).
+
+Case 2:
+Projectile reaches the land.
diff --git a/public_test_cases/p01235/input.0.txt b/public_test_cases/p01235/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77cfbf4299d48746447e0efbf92add1d05f6cf0f
--- /dev/null
+++ b/public_test_cases/p01235/input.0.txt
@@ -0,0 +1,5 @@
+2
+2 1 2 2
+0 0 1 0
+0 1 0 2
+0
diff --git a/public_test_cases/p01235/input.1.txt b/public_test_cases/p01235/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77cfbf4299d48746447e0efbf92add1d05f6cf0f
--- /dev/null
+++ b/public_test_cases/p01235/input.1.txt
@@ -0,0 +1,5 @@
+2
+2 1 2 2
+0 0 1 0
+0 1 0 2
+0
diff --git a/public_test_cases/p01235/output.0.txt b/public_test_cases/p01235/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b60e7120826afb7e33767ef68b38de129f831ab
--- /dev/null
+++ b/public_test_cases/p01235/output.0.txt
@@ -0,0 +1 @@
+Case 1: 3.00000
diff --git a/public_test_cases/p01235/output.1.txt b/public_test_cases/p01235/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b60e7120826afb7e33767ef68b38de129f831ab
--- /dev/null
+++ b/public_test_cases/p01235/output.1.txt
@@ -0,0 +1 @@
+Case 1: 3.00000
diff --git a/public_test_cases/p01236/input.0.txt b/public_test_cases/p01236/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f40f9c611f85c399498288dcb2c9db7ee3a329ad
--- /dev/null
+++ b/public_test_cases/p01236/input.0.txt
@@ -0,0 +1,22 @@
+5 5
+#####
+#####
+#####
+#####
+#####
+4 4
+####
+####
+####
+####
+4 4
+#...
+....
+....
+...#
+4 4
+.#.#
+#.#.
+.#.#
+#.#.
+0 0
diff --git a/public_test_cases/p01236/input.1.txt b/public_test_cases/p01236/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffb66d2dcf41d51e70f909c1f57b7a99b275a40b
--- /dev/null
+++ b/public_test_cases/p01236/input.1.txt
@@ -0,0 +1,22 @@
+5 5
+
+
+
+
+
+4 4
+
+
+
+
+4 4
+...
+....
+....
+...#
+4 4
+.#.#
+.#.
+.#.#
+.#.
+0 0
diff --git a/public_test_cases/p01236/input.2.txt b/public_test_cases/p01236/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f40f9c611f85c399498288dcb2c9db7ee3a329ad
--- /dev/null
+++ b/public_test_cases/p01236/input.2.txt
@@ -0,0 +1,22 @@
+5 5
+#####
+#####
+#####
+#####
+#####
+4 4
+####
+####
+####
+####
+4 4
+#...
+....
+....
+...#
+4 4
+.#.#
+#.#.
+.#.#
+#.#.
+0 0
diff --git a/public_test_cases/p01236/output.0.txt b/public_test_cases/p01236/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4110aff8e1b1e99fb6e3ee72dfbeed57fc6d1e35
--- /dev/null
+++ b/public_test_cases/p01236/output.0.txt
@@ -0,0 +1,4 @@
+Case 1: 10
+Case 2: 6
+Case 3: 2
+Case 4: Impossible
diff --git a/public_test_cases/p01236/output.1.txt b/public_test_cases/p01236/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4110aff8e1b1e99fb6e3ee72dfbeed57fc6d1e35
--- /dev/null
+++ b/public_test_cases/p01236/output.1.txt
@@ -0,0 +1,4 @@
+Case 1: 10
+Case 2: 6
+Case 3: 2
+Case 4: Impossible
diff --git a/public_test_cases/p01236/output.2.txt b/public_test_cases/p01236/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4110aff8e1b1e99fb6e3ee72dfbeed57fc6d1e35
--- /dev/null
+++ b/public_test_cases/p01236/output.2.txt
@@ -0,0 +1,4 @@
+Case 1: 10
+Case 2: 6
+Case 3: 2
+Case 4: Impossible
diff --git a/public_test_cases/p01237/input.0.txt b/public_test_cases/p01237/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a33a141cca02bbf67ca0308a06ab1ed8cb5cbbf
--- /dev/null
+++ b/public_test_cases/p01237/input.0.txt
@@ -0,0 +1,13 @@
+3 3 1
+1 0 0
+0 0 0 0
+0 0 0 0 0
+0 0 0 0
+0 0 1
+3 3 2
+1 0 0
+0 0 0 0
+0 0 0 0 0
+0 0 0 0
+0 0 1
+0 0 0
diff --git a/public_test_cases/p01237/input.1.txt b/public_test_cases/p01237/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a33a141cca02bbf67ca0308a06ab1ed8cb5cbbf
--- /dev/null
+++ b/public_test_cases/p01237/input.1.txt
@@ -0,0 +1,13 @@
+3 3 1
+1 0 0
+0 0 0 0
+0 0 0 0 0
+0 0 0 0
+0 0 1
+3 3 2
+1 0 0
+0 0 0 0
+0 0 0 0 0
+0 0 0 0
+0 0 1
+0 0 0
diff --git a/public_test_cases/p01237/output.0.txt b/public_test_cases/p01237/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af760e1dc4bf6ef835d7b99a4e621a26d7fed2cd
--- /dev/null
+++ b/public_test_cases/p01237/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 8
+Case 2: 18
diff --git a/public_test_cases/p01237/output.1.txt b/public_test_cases/p01237/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af760e1dc4bf6ef835d7b99a4e621a26d7fed2cd
--- /dev/null
+++ b/public_test_cases/p01237/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 8
+Case 2: 18
diff --git a/public_test_cases/p01238/input.0.txt b/public_test_cases/p01238/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a384d6e47192315a7e2bf6737b188b13b20f9c9e
--- /dev/null
+++ b/public_test_cases/p01238/input.0.txt
@@ -0,0 +1,3 @@
+1
+2
+0
diff --git a/public_test_cases/p01238/input.1.txt b/public_test_cases/p01238/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a384d6e47192315a7e2bf6737b188b13b20f9c9e
--- /dev/null
+++ b/public_test_cases/p01238/input.1.txt
@@ -0,0 +1,3 @@
+1
+2
+0
diff --git a/public_test_cases/p01238/output.0.txt b/public_test_cases/p01238/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adc8aa4ca6dccbf900193ccb72f3b5913186f20c
--- /dev/null
+++ b/public_test_cases/p01238/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 3 2
+Case 2: 2 1
diff --git a/public_test_cases/p01238/output.1.txt b/public_test_cases/p01238/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adc8aa4ca6dccbf900193ccb72f3b5913186f20c
--- /dev/null
+++ b/public_test_cases/p01238/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 3 2
+Case 2: 2 1
diff --git a/public_test_cases/p01239/input.0.txt b/public_test_cases/p01239/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd5192b0b8a310db935e4987ecf5459510c8c2c5
--- /dev/null
+++ b/public_test_cases/p01239/input.0.txt
@@ -0,0 +1,9 @@
+4
+0 1 0 9
+10 1 10 9
+1 0 9 0
+1 10 9 10
+2
+1.2 3.4 5.6 7.8
+5.6 3.4 1.2 7.8
+0
diff --git a/public_test_cases/p01239/input.1.txt b/public_test_cases/p01239/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd5192b0b8a310db935e4987ecf5459510c8c2c5
--- /dev/null
+++ b/public_test_cases/p01239/input.1.txt
@@ -0,0 +1,9 @@
+4
+0 1 0 9
+10 1 10 9
+1 0 9 0
+1 10 9 10
+2
+1.2 3.4 5.6 7.8
+5.6 3.4 1.2 7.8
+0
diff --git a/public_test_cases/p01239/output.0.txt b/public_test_cases/p01239/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b0707d332de1ce20a3f95ddf4d5f08cf73d0577
--- /dev/null
+++ b/public_test_cases/p01239/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 36.24264
+Case 2: 16.84508
diff --git a/public_test_cases/p01239/output.1.txt b/public_test_cases/p01239/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b0707d332de1ce20a3f95ddf4d5f08cf73d0577
--- /dev/null
+++ b/public_test_cases/p01239/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 36.24264
+Case 2: 16.84508
diff --git a/public_test_cases/p01240/input.0.txt b/public_test_cases/p01240/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3be27d7e4a950de6905041c5078edb9958024fd
--- /dev/null
+++ b/public_test_cases/p01240/input.0.txt
@@ -0,0 +1,7 @@
+2
+2 2
+2 3
+3 5
+3 2
+4 1 1
+2 1 4
diff --git a/public_test_cases/p01240/input.1.txt b/public_test_cases/p01240/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3be27d7e4a950de6905041c5078edb9958024fd
--- /dev/null
+++ b/public_test_cases/p01240/input.1.txt
@@ -0,0 +1,7 @@
+2
+2 2
+2 3
+3 5
+3 2
+4 1 1
+2 1 4
diff --git a/public_test_cases/p01240/output.0.txt b/public_test_cases/p01240/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57a02a4be312ac3c97d92e5993be2af8fd09def0
--- /dev/null
+++ b/public_test_cases/p01240/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 7
+Case 2: 8
diff --git a/public_test_cases/p01240/output.1.txt b/public_test_cases/p01240/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57a02a4be312ac3c97d92e5993be2af8fd09def0
--- /dev/null
+++ b/public_test_cases/p01240/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 7
+Case 2: 8
diff --git a/public_test_cases/p01241/input.0.txt b/public_test_cases/p01241/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcad53721e29bdd219b8869b3ae8f4ada88d0b29
--- /dev/null
+++ b/public_test_cases/p01241/input.0.txt
@@ -0,0 +1,4 @@
+2 1
+10 5
+15 10
+0 0
diff --git a/public_test_cases/p01241/input.1.txt b/public_test_cases/p01241/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcad53721e29bdd219b8869b3ae8f4ada88d0b29
--- /dev/null
+++ b/public_test_cases/p01241/input.1.txt
@@ -0,0 +1,4 @@
+2 1
+10 5
+15 10
+0 0
diff --git a/public_test_cases/p01241/output.0.txt b/public_test_cases/p01241/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a58ce8a171677aadc88086ec632d2bf4776f1b35
--- /dev/null
+++ b/public_test_cases/p01241/output.0.txt
@@ -0,0 +1,3 @@
+Case 1: 1
+Case 2: 11
+Case 3: 210
diff --git a/public_test_cases/p01241/output.1.txt b/public_test_cases/p01241/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a58ce8a171677aadc88086ec632d2bf4776f1b35
--- /dev/null
+++ b/public_test_cases/p01241/output.1.txt
@@ -0,0 +1,3 @@
+Case 1: 1
+Case 2: 11
+Case 3: 210
diff --git a/public_test_cases/p01242/input.0.txt b/public_test_cases/p01242/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..059ce6f1747b61484faef3d77b4b1d49775c2049
--- /dev/null
+++ b/public_test_cases/p01242/input.0.txt
@@ -0,0 +1,12 @@
+4 3
+ooxx
+ooxx
+ooxx
+4 1
+null
+4 4
+aabb
+aabb
+ccdd
+ccdd
+0 0
diff --git a/public_test_cases/p01242/output.0.txt b/public_test_cases/p01242/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..942b2714a342aa264b1b737ab7c06b99ae5ff98f
--- /dev/null
+++ b/public_test_cases/p01242/output.0.txt
@@ -0,0 +1,12 @@
+Case 1:
+o 0 0
+x 2 0
+Case 2:
+l 2 0
+n 0 0
+u 1 0
+Case 3:
+a 0 0
+b 2 0
+c 0 2
+d 2 2
diff --git a/public_test_cases/p01243/input.0.txt b/public_test_cases/p01243/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a3eec57f26818ff352a0352708f8a1ec9f07a5d
--- /dev/null
+++ b/public_test_cases/p01243/input.0.txt
@@ -0,0 +1,16 @@
+5 4
+0 0
+4 0
+4 4
+2 2
+0 4
+8 80
+45 41
+70 31
+86 61
+72 64
+80 79
+40 80
+8 94
+28 22
+0 0
diff --git a/public_test_cases/p01243/input.1.txt b/public_test_cases/p01243/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a3eec57f26818ff352a0352708f8a1ec9f07a5d
--- /dev/null
+++ b/public_test_cases/p01243/input.1.txt
@@ -0,0 +1,16 @@
+5 4
+0 0
+4 0
+4 4
+2 2
+0 4
+8 80
+45 41
+70 31
+86 61
+72 64
+80 79
+40 80
+8 94
+28 22
+0 0
diff --git a/public_test_cases/p01243/output.0.txt b/public_test_cases/p01243/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fbfcdfd4408bef2615a6a63bca0e11af53467d
--- /dev/null
+++ b/public_test_cases/p01243/output.0.txt
@@ -0,0 +1,2 @@
+case 1: 16.0
+case 2: 3375.0
diff --git a/public_test_cases/p01243/output.1.txt b/public_test_cases/p01243/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fbfcdfd4408bef2615a6a63bca0e11af53467d
--- /dev/null
+++ b/public_test_cases/p01243/output.1.txt
@@ -0,0 +1,2 @@
+case 1: 16.0
+case 2: 3375.0
diff --git a/public_test_cases/p01244/input.0.txt b/public_test_cases/p01244/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c78acc9afbcd5e69ad4fa555d5b7bfba1389dd6e
--- /dev/null
+++ b/public_test_cases/p01244/input.0.txt
@@ -0,0 +1,6 @@
+1
+2
+3
+10
+50
+0
diff --git a/public_test_cases/p01244/input.1.txt b/public_test_cases/p01244/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c78acc9afbcd5e69ad4fa555d5b7bfba1389dd6e
--- /dev/null
+++ b/public_test_cases/p01244/input.1.txt
@@ -0,0 +1,6 @@
+1
+2
+3
+10
+50
+0
diff --git a/public_test_cases/p01244/output.0.txt b/public_test_cases/p01244/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..092c1e9d2f2a56f2dd3cf61b4912cc8e25e43f41
--- /dev/null
+++ b/public_test_cases/p01244/output.0.txt
@@ -0,0 +1,5 @@
+1.000000
+1.500000
+1.500000
+2.000000
+2.583333
diff --git a/public_test_cases/p01244/output.1.txt b/public_test_cases/p01244/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..092c1e9d2f2a56f2dd3cf61b4912cc8e25e43f41
--- /dev/null
+++ b/public_test_cases/p01244/output.1.txt
@@ -0,0 +1,5 @@
+1.000000
+1.500000
+1.500000
+2.000000
+2.583333
diff --git a/public_test_cases/p01245/input.0.txt b/public_test_cases/p01245/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a69ea11bb33b284334f72892faebec0bda15948
--- /dev/null
+++ b/public_test_cases/p01245/input.0.txt
@@ -0,0 +1,49 @@
+7 8
+0 2 3
+2 3 -20
+3 4 3
+4 1 -5
+1 5 1
+5 4 5
+1 3 2
+3 6 -2
+0 6 30
+7 8
+0 2 3
+2 3 -20
+3 4 3
+4 1 -5
+1 5 1
+5 4 5
+1 3 2
+3 6 -2
+0 6 20
+4 4
+0 1 -10
+1 2 -50
+2 1 51
+1 3 1
+0 3 20
+11 14
+0 1 -49
+1 2 1
+2 3 40
+3 1 -40
+1 4 -9
+4 5 40
+5 1 -30
+1 6 -19
+6 7 40
+7 1 -20
+1 8 -30
+8 9 40
+9 1 -9
+1 10 1
+0 10 50
+3 4
+0 1 -49
+1 2 10
+2 0 50
+2 1 10
+0 1 50
+0 0
diff --git a/public_test_cases/p01245/input.1.txt b/public_test_cases/p01245/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a69ea11bb33b284334f72892faebec0bda15948
--- /dev/null
+++ b/public_test_cases/p01245/input.1.txt
@@ -0,0 +1,49 @@
+7 8
+0 2 3
+2 3 -20
+3 4 3
+4 1 -5
+1 5 1
+5 4 5
+1 3 2
+3 6 -2
+0 6 30
+7 8
+0 2 3
+2 3 -20
+3 4 3
+4 1 -5
+1 5 1
+5 4 5
+1 3 2
+3 6 -2
+0 6 20
+4 4
+0 1 -10
+1 2 -50
+2 1 51
+1 3 1
+0 3 20
+11 14
+0 1 -49
+1 2 1
+2 3 40
+3 1 -40
+1 4 -9
+4 5 40
+5 1 -30
+1 6 -19
+6 7 40
+7 1 -20
+1 8 -30
+8 9 40
+9 1 -9
+1 10 1
+0 10 50
+3 4
+0 1 -49
+1 2 10
+2 0 50
+2 1 10
+0 1 50
+0 0
diff --git a/public_test_cases/p01245/output.0.txt b/public_test_cases/p01245/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55206362d074ed3d47acaf6cf6bc1cfee64c9861
--- /dev/null
+++ b/public_test_cases/p01245/output.0.txt
@@ -0,0 +1,5 @@
+Case 1: 25
+Case 2: GAME OVER
+Case 3: 11
+Case 4: 31
+Case 5: 1
diff --git a/public_test_cases/p01245/output.1.txt b/public_test_cases/p01245/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55206362d074ed3d47acaf6cf6bc1cfee64c9861
--- /dev/null
+++ b/public_test_cases/p01245/output.1.txt
@@ -0,0 +1,5 @@
+Case 1: 25
+Case 2: GAME OVER
+Case 3: 11
+Case 4: 31
+Case 5: 1
diff --git a/public_test_cases/p01246/input.0.txt b/public_test_cases/p01246/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a17547d277e59cdec1a20fba613351fa98a6c267
--- /dev/null
+++ b/public_test_cases/p01246/input.0.txt
@@ -0,0 +1,27 @@
+8
+1 0
+2 0
+3 1
+3 2
+2 3
+1 3
+0 2
+0 1
+1 2 3 4 5 6 7 8
+8
+1 0
+2 0
+3 1
+3 2
+2 3
+1 3
+0 2
+0 1
+4 3 2 1 8 7 6 5
+4
+0 0
+1 0
+1 1
+0 1
+1 2 3 4
+0
diff --git a/public_test_cases/p01246/input.1.txt b/public_test_cases/p01246/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a17547d277e59cdec1a20fba613351fa98a6c267
--- /dev/null
+++ b/public_test_cases/p01246/input.1.txt
@@ -0,0 +1,27 @@
+8
+1 0
+2 0
+3 1
+3 2
+2 3
+1 3
+0 2
+0 1
+1 2 3 4 5 6 7 8
+8
+1 0
+2 0
+3 1
+3 2
+2 3
+1 3
+0 2
+0 1
+4 3 2 1 8 7 6 5
+4
+0 0
+1 0
+1 1
+0 1
+1 2 3 4
+0
diff --git a/public_test_cases/p01246/output.0.txt b/public_test_cases/p01246/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..729f25eb7fbbf3020a22aeb8e54b1731285d9c00
--- /dev/null
+++ b/public_test_cases/p01246/output.0.txt
@@ -0,0 +1,3 @@
+Case 1: 10.00000
+Case 2: No area
+Case 3: Infinity
diff --git a/public_test_cases/p01246/output.1.txt b/public_test_cases/p01246/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..729f25eb7fbbf3020a22aeb8e54b1731285d9c00
--- /dev/null
+++ b/public_test_cases/p01246/output.1.txt
@@ -0,0 +1,3 @@
+Case 1: 10.00000
+Case 2: No area
+Case 3: Infinity
diff --git a/public_test_cases/p01247/input.0.txt b/public_test_cases/p01247/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ca200fd03d013dd183c48245c5ac04254cfe2ad
--- /dev/null
+++ b/public_test_cases/p01247/input.0.txt
@@ -0,0 +1,20 @@
+3
+0.7 0.1 0.2
+0.1 0.8 0.1
+0.0 0.0 1.0
+4 3 2
+8
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+2 2 2 2 2 2 2 2
+2
+1 0
+1 0
+2 2
+0
diff --git a/public_test_cases/p01247/input.1.txt b/public_test_cases/p01247/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ca200fd03d013dd183c48245c5ac04254cfe2ad
--- /dev/null
+++ b/public_test_cases/p01247/input.1.txt
@@ -0,0 +1,20 @@
+3
+0.7 0.1 0.2
+0.1 0.8 0.1
+0.0 0.0 1.0
+4 3 2
+8
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
+2 2 2 2 2 2 2 2
+2
+1 0
+1 0
+2 2
+0
diff --git a/public_test_cases/p01247/output.0.txt b/public_test_cases/p01247/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..844dd271b4ff98405d7f184e1ed1b1f08ecb578f
--- /dev/null
+++ b/public_test_cases/p01247/output.0.txt
@@ -0,0 +1,3 @@
+Case 1: -1.89723999
+Case 2: -8.14438201
+Case 3: -INFINITY
diff --git a/public_test_cases/p01247/output.1.txt b/public_test_cases/p01247/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..844dd271b4ff98405d7f184e1ed1b1f08ecb578f
--- /dev/null
+++ b/public_test_cases/p01247/output.1.txt
@@ -0,0 +1,3 @@
+Case 1: -1.89723999
+Case 2: -8.14438201
+Case 3: -INFINITY
diff --git a/public_test_cases/p01248/input.0.txt b/public_test_cases/p01248/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e20713a9241dd53e533386768c5babe58097621
--- /dev/null
+++ b/public_test_cases/p01248/input.0.txt
@@ -0,0 +1,11 @@
+4 10
+8
+6
+9
+1
+4 7
+1
+2
+3
+4
+0 0
diff --git a/public_test_cases/p01248/input.1.txt b/public_test_cases/p01248/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e20713a9241dd53e533386768c5babe58097621
--- /dev/null
+++ b/public_test_cases/p01248/input.1.txt
@@ -0,0 +1,11 @@
+4 10
+8
+6
+9
+1
+4 7
+1
+2
+3
+4
+0 0
diff --git a/public_test_cases/p01248/output.0.txt b/public_test_cases/p01248/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b89b54f39a503a76ed59b6af0d2a2c015f0b9e2
--- /dev/null
+++ b/public_test_cases/p01248/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 4
+Case 2: 1
diff --git a/public_test_cases/p01248/output.1.txt b/public_test_cases/p01248/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b89b54f39a503a76ed59b6af0d2a2c015f0b9e2
--- /dev/null
+++ b/public_test_cases/p01248/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 4
+Case 2: 1
diff --git a/public_test_cases/p01249/input.0.txt b/public_test_cases/p01249/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59a03206c4dbe7ee298088688eee129d3ab22de7
--- /dev/null
+++ b/public_test_cases/p01249/input.0.txt
@@ -0,0 +1,23 @@
+3
+billion 9
+million 6
+thousand 3
+billionmillionthousand
+3
+oku 8
+sen 3
+man 4
+okusenman
+2
+nico 2
+video 4
+niconicovideo
+6
+abcd 1
+efgh 2
+abcde 4
+fgh 6
+y 8
+yy 10
+abcdefgh
+0
diff --git a/public_test_cases/p01249/input.1.txt b/public_test_cases/p01249/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59a03206c4dbe7ee298088688eee129d3ab22de7
--- /dev/null
+++ b/public_test_cases/p01249/input.1.txt
@@ -0,0 +1,23 @@
+3
+billion 9
+million 6
+thousand 3
+billionmillionthousand
+3
+oku 8
+sen 3
+man 4
+okusenman
+2
+nico 2
+video 4
+niconicovideo
+6
+abcd 1
+efgh 2
+abcde 4
+fgh 6
+y 8
+yy 10
+abcdefgh
+0
diff --git a/public_test_cases/p01249/output.0.txt b/public_test_cases/p01249/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad76a7f7078a38951dbcbc3ac7b588a9bc28b3b5
--- /dev/null
+++ b/public_test_cases/p01249/output.0.txt
@@ -0,0 +1,4 @@
+Case 1: 14
+Case 2: 9
+Case 3: 10
+Case 4: 2
diff --git a/public_test_cases/p01249/output.1.txt b/public_test_cases/p01249/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad76a7f7078a38951dbcbc3ac7b588a9bc28b3b5
--- /dev/null
+++ b/public_test_cases/p01249/output.1.txt
@@ -0,0 +1,4 @@
+Case 1: 14
+Case 2: 9
+Case 3: 10
+Case 4: 2
diff --git a/public_test_cases/p01250/input.0.txt b/public_test_cases/p01250/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91f5363abb0a094b0bf0ef2255c664eaf396095b
--- /dev/null
+++ b/public_test_cases/p01250/input.0.txt
@@ -0,0 +1,3 @@
+0.15
+0.05
+0.0
diff --git a/public_test_cases/p01250/input.1.txt b/public_test_cases/p01250/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91f5363abb0a094b0bf0ef2255c664eaf396095b
--- /dev/null
+++ b/public_test_cases/p01250/input.1.txt
@@ -0,0 +1,3 @@
+0.15
+0.05
+0.0
diff --git a/public_test_cases/p01250/output.0.txt b/public_test_cases/p01250/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13f08633e58c88f39c7186fb727fe0f8199de94a
--- /dev/null
+++ b/public_test_cases/p01250/output.0.txt
@@ -0,0 +1,2 @@
+3/1
+19/6
diff --git a/public_test_cases/p01250/output.1.txt b/public_test_cases/p01250/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13f08633e58c88f39c7186fb727fe0f8199de94a
--- /dev/null
+++ b/public_test_cases/p01250/output.1.txt
@@ -0,0 +1,2 @@
+3/1
+19/6
diff --git a/public_test_cases/p01251/input.0.txt b/public_test_cases/p01251/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce5b8aa00d9f8ea7d66143f5defef18688d20453
--- /dev/null
+++ b/public_test_cases/p01251/input.0.txt
@@ -0,0 +1,14 @@
+3 3 3
+1 0 1 2
+1 2 2 2
+2 2 2 1
+0 0 1 0 1 1
+3 3 4
+1 0 1 2
+1 2 2 2
+2 2 2 1
+2 1 1 1
+0 0 1 0 1 1
+3 3 0
+0 0 1 0 1 1
+0 0 0
diff --git a/public_test_cases/p01251/input.1.txt b/public_test_cases/p01251/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce5b8aa00d9f8ea7d66143f5defef18688d20453
--- /dev/null
+++ b/public_test_cases/p01251/input.1.txt
@@ -0,0 +1,14 @@
+3 3 3
+1 0 1 2
+1 2 2 2
+2 2 2 1
+0 0 1 0 1 1
+3 3 4
+1 0 1 2
+1 2 2 2
+2 2 2 1
+2 1 1 1
+0 0 1 0 1 1
+3 3 0
+0 0 1 0 1 1
+0 0 0
diff --git a/public_test_cases/p01251/output.0.txt b/public_test_cases/p01251/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71c919bf16dc6800352fb2e268ae634c9a33d1af
--- /dev/null
+++ b/public_test_cases/p01251/output.0.txt
@@ -0,0 +1,3 @@
+9
+Impossible
+Impossible
diff --git a/public_test_cases/p01251/output.1.txt b/public_test_cases/p01251/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71c919bf16dc6800352fb2e268ae634c9a33d1af
--- /dev/null
+++ b/public_test_cases/p01251/output.1.txt
@@ -0,0 +1,3 @@
+9
+Impossible
+Impossible
diff --git a/public_test_cases/p01252/input.0.txt b/public_test_cases/p01252/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..079ea6064da97c81389b456d91a96e2fbab4369e
--- /dev/null
+++ b/public_test_cases/p01252/input.0.txt
@@ -0,0 +1,21 @@
+1
+3 3 7 7
+2 2 8 2
+2
+2 5 5 9
+6 1 9 5
+1 5 10 5
+2
+2 1 3 2
+2 3 3 4
+1 1 4 4
+1
+3 3 7 7
+1 5 9 5
+1
+3 3 7 7
+1 5 8 5
+1
+3 3 7 7
+1 5 10 5
+0
diff --git a/public_test_cases/p01252/input.1.txt b/public_test_cases/p01252/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..079ea6064da97c81389b456d91a96e2fbab4369e
--- /dev/null
+++ b/public_test_cases/p01252/input.1.txt
@@ -0,0 +1,21 @@
+1
+3 3 7 7
+2 2 8 2
+2
+2 5 5 9
+6 1 9 5
+1 5 10 5
+2
+2 1 3 2
+2 3 3 4
+1 1 4 4
+1
+3 3 7 7
+1 5 9 5
+1
+3 3 7 7
+1 5 8 5
+1
+3 3 7 7
+1 5 10 5
+0
diff --git a/public_test_cases/p01252/output.0.txt b/public_test_cases/p01252/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d4941ea71cd3464efd1ac727dd5e516f7058c93
--- /dev/null
+++ b/public_test_cases/p01252/output.0.txt
@@ -0,0 +1,6 @@
+0.000
+0.000
+0.000
+5.657
+6.406
+4.992
diff --git a/public_test_cases/p01252/output.1.txt b/public_test_cases/p01252/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d4941ea71cd3464efd1ac727dd5e516f7058c93
--- /dev/null
+++ b/public_test_cases/p01252/output.1.txt
@@ -0,0 +1,6 @@
+0.000
+0.000
+0.000
+5.657
+6.406
+4.992
diff --git a/public_test_cases/p01253/input.0.txt b/public_test_cases/p01253/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bec650cbd90f6c4acf2395b866d62998f5b35a2a
--- /dev/null
+++ b/public_test_cases/p01253/input.0.txt
@@ -0,0 +1,9 @@
+6 1
+RBRBRB
+10 1
+RBBBRBBBBB
+10 2
+RBBBRBBBBB
+10 10
+RBBBBBBBBB
+0 0
diff --git a/public_test_cases/p01253/input.1.txt b/public_test_cases/p01253/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bec650cbd90f6c4acf2395b866d62998f5b35a2a
--- /dev/null
+++ b/public_test_cases/p01253/input.1.txt
@@ -0,0 +1,9 @@
+6 1
+RBRBRB
+10 1
+RBBBRBBBBB
+10 2
+RBBBRBBBBB
+10 10
+RBBBBBBBBB
+0 0
diff --git a/public_test_cases/p01253/output.0.txt b/public_test_cases/p01253/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc4d339e97da6a6d186a5977c652cae444d2a33a
--- /dev/null
+++ b/public_test_cases/p01253/output.0.txt
@@ -0,0 +1,4 @@
+0.50000000
+0.33333333
+0.22222222
+0.10025221
diff --git a/public_test_cases/p01253/output.1.txt b/public_test_cases/p01253/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc4d339e97da6a6d186a5977c652cae444d2a33a
--- /dev/null
+++ b/public_test_cases/p01253/output.1.txt
@@ -0,0 +1,4 @@
+0.50000000
+0.33333333
+0.22222222
+0.10025221
diff --git a/public_test_cases/p01254/input.0.txt b/public_test_cases/p01254/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30b6acdffaf833512616642bde4bf0a330b08c4c
--- /dev/null
+++ b/public_test_cases/p01254/input.0.txt
@@ -0,0 +1,8 @@
+4
+1 4
+4
+1 2
+2 3
+3 4
+4 1
+0
diff --git a/public_test_cases/p01254/input.1.txt b/public_test_cases/p01254/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30b6acdffaf833512616642bde4bf0a330b08c4c
--- /dev/null
+++ b/public_test_cases/p01254/input.1.txt
@@ -0,0 +1,8 @@
+4
+1 4
+4
+1 2
+2 3
+3 4
+4 1
+0
diff --git a/public_test_cases/p01254/output.0.txt b/public_test_cases/p01254/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c67935b4f7ea6b9e676e8dae3b32b6f5aa810ee
--- /dev/null
+++ b/public_test_cases/p01254/output.0.txt
@@ -0,0 +1 @@
+1 4
diff --git a/public_test_cases/p01254/output.1.txt b/public_test_cases/p01254/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c67935b4f7ea6b9e676e8dae3b32b6f5aa810ee
--- /dev/null
+++ b/public_test_cases/p01254/output.1.txt
@@ -0,0 +1 @@
+1 4
diff --git a/public_test_cases/p01255/input.0.txt b/public_test_cases/p01255/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42b93c9e8ca099a41d127727a20accd8a4b4ea44
--- /dev/null
+++ b/public_test_cases/p01255/input.0.txt
@@ -0,0 +1,25 @@
+2
+2
+0 0
+10 0
+2
+0 10
+10 10
+2
+2
+0 0
+10 10
+2
+0 10
+10 0
+3
+2
+0 0
+10 10
+2
+0 10
+10 0
+2
+1 0
+1 10
+0
diff --git a/public_test_cases/p01255/input.1.txt b/public_test_cases/p01255/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42b93c9e8ca099a41d127727a20accd8a4b4ea44
--- /dev/null
+++ b/public_test_cases/p01255/input.1.txt
@@ -0,0 +1,25 @@
+2
+2
+0 0
+10 0
+2
+0 10
+10 10
+2
+2
+0 0
+10 10
+2
+0 10
+10 0
+3
+2
+0 0
+10 10
+2
+0 10
+10 0
+2
+1 0
+1 10
+0
diff --git a/public_test_cases/p01255/output.0.txt b/public_test_cases/p01255/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01e79c32a8c99c557f0757da7cb6d65b3414466d
--- /dev/null
+++ b/public_test_cases/p01255/output.0.txt
@@ -0,0 +1,3 @@
+1
+2
+3
diff --git a/public_test_cases/p01255/output.1.txt b/public_test_cases/p01255/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01e79c32a8c99c557f0757da7cb6d65b3414466d
--- /dev/null
+++ b/public_test_cases/p01255/output.1.txt
@@ -0,0 +1,3 @@
+1
+2
+3
diff --git a/public_test_cases/p01256/input.0.txt b/public_test_cases/p01256/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b37db9f2fda547dee6b6dc14bc3f96ea0a36d90
--- /dev/null
+++ b/public_test_cases/p01256/input.0.txt
@@ -0,0 +1,22 @@
+7 6
+#######
+#.._..#
+#.*.*.#
+#.@.*.#
+#_..._#
+#######
+10 13
+##########
+####___###
+####...###
+####...###
+#####.####
+#.....#..#
+#.#*.*.*.#
+#...###..#
+###.#.#.##
+###.#.#.##
+###.....##
+###..@..##
+##########
+0 0
diff --git a/public_test_cases/p01256/input.1.txt b/public_test_cases/p01256/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67a855a3488cb6e42ca9a6866e302f0abeb812a9
--- /dev/null
+++ b/public_test_cases/p01256/input.1.txt
@@ -0,0 +1,22 @@
+7 6
+
+.._..#
+.*.*.#
+.@.*.#
+_..._#
+
+10 13
+
+___###
+...###
+...###
+.####
+.....#..#
+.#*.*.*.#
+...###..#
+.#.#.##
+.#.#.##
+.....##
+..@..##
+
+0 0
diff --git a/public_test_cases/p01256/input.2.txt b/public_test_cases/p01256/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b37db9f2fda547dee6b6dc14bc3f96ea0a36d90
--- /dev/null
+++ b/public_test_cases/p01256/input.2.txt
@@ -0,0 +1,22 @@
+7 6
+#######
+#.._..#
+#.*.*.#
+#.@.*.#
+#_..._#
+#######
+10 13
+##########
+####___###
+####...###
+####...###
+#####.####
+#.....#..#
+#.#*.*.*.#
+#...###..#
+###.#.#.##
+###.#.#.##
+###.....##
+###..@..##
+##########
+0 0
diff --git a/public_test_cases/p01256/output.0.txt b/public_test_cases/p01256/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a872aee34c1f504c8e1d8307d39806ede4b7d00
--- /dev/null
+++ b/public_test_cases/p01256/output.0.txt
@@ -0,0 +1,2 @@
+15
+118
diff --git a/public_test_cases/p01256/output.1.txt b/public_test_cases/p01256/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a872aee34c1f504c8e1d8307d39806ede4b7d00
--- /dev/null
+++ b/public_test_cases/p01256/output.1.txt
@@ -0,0 +1,2 @@
+15
+118
diff --git a/public_test_cases/p01256/output.2.txt b/public_test_cases/p01256/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a872aee34c1f504c8e1d8307d39806ede4b7d00
--- /dev/null
+++ b/public_test_cases/p01256/output.2.txt
@@ -0,0 +1,2 @@
+15
+118
diff --git a/public_test_cases/p01257/input.0.txt b/public_test_cases/p01257/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..160a55345969a4eba84e54f1898220f4ab49dea1
--- /dev/null
+++ b/public_test_cases/p01257/input.0.txt
@@ -0,0 +1,7 @@
+6 330
+1 5 10 50 100 500
+7 127
+1 2 4 8 16 32 64
+2 10000
+1000 2000
+0 0
diff --git a/public_test_cases/p01257/input.1.txt b/public_test_cases/p01257/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..160a55345969a4eba84e54f1898220f4ab49dea1
--- /dev/null
+++ b/public_test_cases/p01257/input.1.txt
@@ -0,0 +1,7 @@
+6 330
+1 5 10 50 100 500
+7 127
+1 2 4 8 16 32 64
+2 10000
+1000 2000
+0 0
diff --git a/public_test_cases/p01257/output.0.txt b/public_test_cases/p01257/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eb1267296b5c72164a6cf76bcde9d16dd5a83c0
--- /dev/null
+++ b/public_test_cases/p01257/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+4
diff --git a/public_test_cases/p01257/output.1.txt b/public_test_cases/p01257/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eb1267296b5c72164a6cf76bcde9d16dd5a83c0
--- /dev/null
+++ b/public_test_cases/p01257/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+4
diff --git a/public_test_cases/p01258/input.0.txt b/public_test_cases/p01258/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28a3d5d1cdd87c2def9fae5271db7124bcf39159
--- /dev/null
+++ b/public_test_cases/p01258/input.0.txt
@@ -0,0 +1,7 @@
+2
+4
+6
+8
+10
+52
+0
diff --git a/public_test_cases/p01258/input.1.txt b/public_test_cases/p01258/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28a3d5d1cdd87c2def9fae5271db7124bcf39159
--- /dev/null
+++ b/public_test_cases/p01258/input.1.txt
@@ -0,0 +1,7 @@
+2
+4
+6
+8
+10
+52
+0
diff --git a/public_test_cases/p01258/output.0.txt b/public_test_cases/p01258/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28371011e3f9c211f96227603098ef181670055d
--- /dev/null
+++ b/public_test_cases/p01258/output.0.txt
@@ -0,0 +1,6 @@
+0.0000000000
+0.6666666667
+1.3333333333
+1.9238095238
+2.5523809524
+15.4435236099
diff --git a/public_test_cases/p01258/output.1.txt b/public_test_cases/p01258/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28371011e3f9c211f96227603098ef181670055d
--- /dev/null
+++ b/public_test_cases/p01258/output.1.txt
@@ -0,0 +1,6 @@
+0.0000000000
+0.6666666667
+1.3333333333
+1.9238095238
+2.5523809524
+15.4435236099
diff --git a/public_test_cases/p01259/input.0.txt b/public_test_cases/p01259/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..612911871ea34bfe63ee617998731b9d0b3db7f2
--- /dev/null
+++ b/public_test_cases/p01259/input.0.txt
@@ -0,0 +1,12 @@
+4
+3 1 2 3
+1 1 0 1
+2 0 2 2
+3 1 2 3
+5
+3 3 3 0 0
+3 3 3 0 0
+3 3 0 4 4
+0 0 4 4 4
+0 0 4 4 4
+0
diff --git a/public_test_cases/p01259/output.0.txt b/public_test_cases/p01259/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b16233ba9cb6f58321be5b0f8bc46cfa8891f36c
--- /dev/null
+++ b/public_test_cases/p01259/output.0.txt
@@ -0,0 +1,10 @@
+1 0 0 0
+0 0 0 0
+0 0 0 0
+0 0 0 2
+
+0 0 0 0 0
+0 3 0 0 0
+0 0 0 0 0
+0 0 0 4 0
+0 0 0 0 0
diff --git a/public_test_cases/p01260/input.0.txt b/public_test_cases/p01260/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b99c48c32367f3b953204c5749ed0fb171331bf
--- /dev/null
+++ b/public_test_cases/p01260/input.0.txt
@@ -0,0 +1,7 @@
+6
+1 GB
+3 GBGBBB
+9 BBBGBBBGGG
+9 GGBGBBGBBB
+7 GBGGGGBGGG
+3 BBBBBGBBBB
diff --git a/public_test_cases/p01260/input.1.txt b/public_test_cases/p01260/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b99c48c32367f3b953204c5749ed0fb171331bf
--- /dev/null
+++ b/public_test_cases/p01260/input.1.txt
@@ -0,0 +1,7 @@
+6
+1 GB
+3 GBGBBB
+9 BBBGBBBGGG
+9 GGBGBBGBBB
+7 GBGGGGBGGG
+3 BBBBBGBBBB
diff --git a/public_test_cases/p01260/output.0.txt b/public_test_cases/p01260/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce01d285d8881d2655a2cdf2188bcb6c0fe7a473
--- /dev/null
+++ b/public_test_cases/p01260/output.0.txt
@@ -0,0 +1,6 @@
+1
+4
+4
+1
+0
+8
diff --git a/public_test_cases/p01260/output.1.txt b/public_test_cases/p01260/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce01d285d8881d2655a2cdf2188bcb6c0fe7a473
--- /dev/null
+++ b/public_test_cases/p01260/output.1.txt
@@ -0,0 +1,6 @@
+1
+4
+4
+1
+0
+8
diff --git a/public_test_cases/p01261/input.0.txt b/public_test_cases/p01261/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1c0645298e3ab64ae917aefadb8dad1751c9ff9
--- /dev/null
+++ b/public_test_cases/p01261/input.0.txt
@@ -0,0 +1,3 @@
+3 3
+3 5
+0 0
diff --git a/public_test_cases/p01261/input.1.txt b/public_test_cases/p01261/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1c0645298e3ab64ae917aefadb8dad1751c9ff9
--- /dev/null
+++ b/public_test_cases/p01261/input.1.txt
@@ -0,0 +1,3 @@
+3 3
+3 5
+0 0
diff --git a/public_test_cases/p01261/output.0.txt b/public_test_cases/p01261/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94728aea03443e8615f7510a8f60aef357d7dcdf
--- /dev/null
+++ b/public_test_cases/p01261/output.0.txt
@@ -0,0 +1,2 @@
+010
+011
diff --git a/public_test_cases/p01261/output.1.txt b/public_test_cases/p01261/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94728aea03443e8615f7510a8f60aef357d7dcdf
--- /dev/null
+++ b/public_test_cases/p01261/output.1.txt
@@ -0,0 +1,2 @@
+010
+011
diff --git a/public_test_cases/p01262/input.0.txt b/public_test_cases/p01262/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3b79490a97a5c31e3d11d5d849b67ce4deb80e5
--- /dev/null
+++ b/public_test_cases/p01262/input.0.txt
@@ -0,0 +1,5 @@
+5 2 1
+0.1 0.2 0.3 0.4 0.5
+6 2 2
+0.1 0.2 0.3 0.4 0.5 0.6
+0 0 0
diff --git a/public_test_cases/p01262/input.1.txt b/public_test_cases/p01262/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3b79490a97a5c31e3d11d5d849b67ce4deb80e5
--- /dev/null
+++ b/public_test_cases/p01262/input.1.txt
@@ -0,0 +1,5 @@
+5 2 1
+0.1 0.2 0.3 0.4 0.5
+6 2 2
+0.1 0.2 0.3 0.4 0.5 0.6
+0 0 0
diff --git a/public_test_cases/p01262/output.0.txt b/public_test_cases/p01262/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31149b0de9e65e45dc0358662ac3eb470b9d258e
--- /dev/null
+++ b/public_test_cases/p01262/output.0.txt
@@ -0,0 +1,2 @@
+0.01
+0.00
diff --git a/public_test_cases/p01262/output.1.txt b/public_test_cases/p01262/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31149b0de9e65e45dc0358662ac3eb470b9d258e
--- /dev/null
+++ b/public_test_cases/p01262/output.1.txt
@@ -0,0 +1,2 @@
+0.01
+0.00
diff --git a/public_test_cases/p01263/input.0.txt b/public_test_cases/p01263/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc943620a2ab416f92cc768f0e330f6e5309af54
--- /dev/null
+++ b/public_test_cases/p01263/input.0.txt
@@ -0,0 +1,25 @@
+2 2
+1 1
+1 1
+4
+A 10
+B 20
+C 30
+D 40
+4
+1 1 3 A A A
+1 2 2 B C
+2 1 1 D
+2 2 3 A A B
+2 2
+1 2
+2 1
+3
+Scroll 50
+Bastard 100
+Heal100 10
+3
+1 1 1 Scroll
+2 1 1 Bastard
+2 2 1 Heal100
+0 0
diff --git a/public_test_cases/p01263/input.1.txt b/public_test_cases/p01263/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc943620a2ab416f92cc768f0e330f6e5309af54
--- /dev/null
+++ b/public_test_cases/p01263/input.1.txt
@@ -0,0 +1,25 @@
+2 2
+1 1
+1 1
+4
+A 10
+B 20
+C 30
+D 40
+4
+1 1 3 A A A
+1 2 2 B C
+2 1 1 D
+2 2 3 A A B
+2 2
+1 2
+2 1
+3
+Scroll 50
+Bastard 100
+Heal100 10
+3
+1 1 1 Scroll
+2 1 1 Bastard
+2 2 1 Heal100
+0 0
diff --git a/public_test_cases/p01263/output.0.txt b/public_test_cases/p01263/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb9b7977151d42b089f5a1518c18623aa17b162d
--- /dev/null
+++ b/public_test_cases/p01263/output.0.txt
@@ -0,0 +1,2 @@
+90
+200
diff --git a/public_test_cases/p01263/output.1.txt b/public_test_cases/p01263/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb9b7977151d42b089f5a1518c18623aa17b162d
--- /dev/null
+++ b/public_test_cases/p01263/output.1.txt
@@ -0,0 +1,2 @@
+90
+200
diff --git a/public_test_cases/p01264/input.0.txt b/public_test_cases/p01264/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8fe69cdd31e1d1ba403255070ee65994f086e3b
--- /dev/null
+++ b/public_test_cases/p01264/input.0.txt
@@ -0,0 +1,4 @@
+1 1 1
+10 15 5
+15 10 100
+0 0 0
diff --git a/public_test_cases/p01264/input.1.txt b/public_test_cases/p01264/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8fe69cdd31e1d1ba403255070ee65994f086e3b
--- /dev/null
+++ b/public_test_cases/p01264/input.1.txt
@@ -0,0 +1,4 @@
+1 1 1
+10 15 5
+15 10 100
+0 0 0
diff --git a/public_test_cases/p01264/output.0.txt b/public_test_cases/p01264/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9725466b96a2131d9942bdc74cf3901c3554836
--- /dev/null
+++ b/public_test_cases/p01264/output.0.txt
@@ -0,0 +1,3 @@
+8.000
+409.479
+861.420
diff --git a/public_test_cases/p01264/output.1.txt b/public_test_cases/p01264/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9725466b96a2131d9942bdc74cf3901c3554836
--- /dev/null
+++ b/public_test_cases/p01264/output.1.txt
@@ -0,0 +1,3 @@
+8.000
+409.479
+861.420
diff --git a/public_test_cases/p01265/input.0.txt b/public_test_cases/p01265/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..316b8dd3e6a54d0f0ca2d3f70c9deaf1d3fcc1b3
--- /dev/null
+++ b/public_test_cases/p01265/input.0.txt
@@ -0,0 +1,14 @@
+6 23
+#######################
+#%.^.^#################
+#^^^^^######^^^^^^^^^^#
+#^^^...^^^^...^^*^^..*#
+#^^^^^^^^^^^^^^^^^^^^^#
+#######################
+5 16
+################
+#^^^^^^^^^^^^^^#
+#*..^^^.%.^^..*#
+#^^#####^^^^^^^#
+################
+0 0
diff --git a/public_test_cases/p01265/input.1.txt b/public_test_cases/p01265/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..316b8dd3e6a54d0f0ca2d3f70c9deaf1d3fcc1b3
--- /dev/null
+++ b/public_test_cases/p01265/input.1.txt
@@ -0,0 +1,14 @@
+6 23
+#######################
+#%.^.^#################
+#^^^^^######^^^^^^^^^^#
+#^^^...^^^^...^^*^^..*#
+#^^^^^^^^^^^^^^^^^^^^^#
+#######################
+5 16
+################
+#^^^^^^^^^^^^^^#
+#*..^^^.%.^^..*#
+#^^#####^^^^^^^#
+################
+0 0
diff --git a/public_test_cases/p01265/output.0.txt b/public_test_cases/p01265/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..587e79739c5d3c5a6a412f137cdb062b35e813a3
--- /dev/null
+++ b/public_test_cases/p01265/output.0.txt
@@ -0,0 +1,2 @@
+1 44
+2 28
diff --git a/public_test_cases/p01265/output.1.txt b/public_test_cases/p01265/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..587e79739c5d3c5a6a412f137cdb062b35e813a3
--- /dev/null
+++ b/public_test_cases/p01265/output.1.txt
@@ -0,0 +1,2 @@
+1 44
+2 28
diff --git a/public_test_cases/p01266/input.0.txt b/public_test_cases/p01266/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acd0dcedb61c6c706891c0dccac1744f598dc8ee
--- /dev/null
+++ b/public_test_cases/p01266/input.0.txt
@@ -0,0 +1,11 @@
+4 2
+2 0 0 1
+0 4 1 0
+4 6 0 -1
+6 2 -1 0
+4 6
+2 0 0 1
+0 4 1 0
+4 6 0 -1
+6 2 -1 0
+0 0
diff --git a/public_test_cases/p01266/input.1.txt b/public_test_cases/p01266/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acd0dcedb61c6c706891c0dccac1744f598dc8ee
--- /dev/null
+++ b/public_test_cases/p01266/input.1.txt
@@ -0,0 +1,11 @@
+4 2
+2 0 0 1
+0 4 1 0
+4 6 0 -1
+6 2 -1 0
+4 6
+2 0 0 1
+0 4 1 0
+4 6 0 -1
+6 2 -1 0
+0 0
diff --git a/public_test_cases/p01266/output.0.txt b/public_test_cases/p01266/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5e34826108b49ed4e533c32a8dbe15651694530
--- /dev/null
+++ b/public_test_cases/p01266/output.0.txt
@@ -0,0 +1,2 @@
+6.00000000
+4.24264069
diff --git a/public_test_cases/p01266/output.1.txt b/public_test_cases/p01266/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5e34826108b49ed4e533c32a8dbe15651694530
--- /dev/null
+++ b/public_test_cases/p01266/output.1.txt
@@ -0,0 +1,2 @@
+6.00000000
+4.24264069
diff --git a/public_test_cases/p01267/input.0.txt b/public_test_cases/p01267/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed20c8343851bcb49aab86d9a204443f2910ca56
--- /dev/null
+++ b/public_test_cases/p01267/input.0.txt
@@ -0,0 +1,17 @@
+1 5 7 11 10
+10
+2 5 7 11 10
+2 4
+2 1 1 256 0
+128 255
+2 0 0 1 0
+1234 5678
+2 1 1 100 0
+99 98
+2 1 1 100 0
+99 99
+2 1 1 10000 0
+1 0
+2 1 1 10000 0
+2 1
+0 0 0 0 0
diff --git a/public_test_cases/p01267/input.1.txt b/public_test_cases/p01267/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed20c8343851bcb49aab86d9a204443f2910ca56
--- /dev/null
+++ b/public_test_cases/p01267/input.1.txt
@@ -0,0 +1,17 @@
+1 5 7 11 10
+10
+2 5 7 11 10
+2 4
+2 1 1 256 0
+128 255
+2 0 0 1 0
+1234 5678
+2 1 1 100 0
+99 98
+2 1 1 100 0
+99 99
+2 1 1 10000 0
+1 0
+2 1 1 10000 0
+2 1
+0 0 0 0 0
diff --git a/public_test_cases/p01267/output.0.txt b/public_test_cases/p01267/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fe41f0a253adf98059a8a3b312657388ed01353
--- /dev/null
+++ b/public_test_cases/p01267/output.0.txt
@@ -0,0 +1,8 @@
+0
+3
+255
+-1
+198
+199
+10000
+-1
diff --git a/public_test_cases/p01267/output.1.txt b/public_test_cases/p01267/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fe41f0a253adf98059a8a3b312657388ed01353
--- /dev/null
+++ b/public_test_cases/p01267/output.1.txt
@@ -0,0 +1,8 @@
+0
+3
+255
+-1
+198
+199
+10000
+-1
diff --git a/public_test_cases/p01268/input.0.txt b/public_test_cases/p01268/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..315f64beee7f4384b107964fb874213efe87dbee
--- /dev/null
+++ b/public_test_cases/p01268/input.0.txt
@@ -0,0 +1,15 @@
+0 55
+0 1
+0 2
+0 3
+10 1
+10 2
+10 3
+10 4
+10 5
+10 6
+11 1
+11 2
+11 3
+100000 100
+-1 -1
diff --git a/public_test_cases/p01268/input.1.txt b/public_test_cases/p01268/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..315f64beee7f4384b107964fb874213efe87dbee
--- /dev/null
+++ b/public_test_cases/p01268/input.1.txt
@@ -0,0 +1,15 @@
+0 55
+0 1
+0 2
+0 3
+10 1
+10 2
+10 3
+10 4
+10 5
+10 6
+11 1
+11 2
+11 3
+100000 100
+-1 -1
diff --git a/public_test_cases/p01268/output.0.txt b/public_test_cases/p01268/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8879f5f8f17b70d85f5db411fd68d1a20ac82b75
--- /dev/null
+++ b/public_test_cases/p01268/output.0.txt
@@ -0,0 +1,14 @@
+42
+4
+5
+6
+22
+24
+26
+28
+30
+30
+26
+30
+32
+200274
diff --git a/public_test_cases/p01268/output.1.txt b/public_test_cases/p01268/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8879f5f8f17b70d85f5db411fd68d1a20ac82b75
--- /dev/null
+++ b/public_test_cases/p01268/output.1.txt
@@ -0,0 +1,14 @@
+42
+4
+5
+6
+22
+24
+26
+28
+30
+30
+26
+30
+32
+200274
diff --git a/public_test_cases/p01269/input.0.txt b/public_test_cases/p01269/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cce04496c79b432b91ef7a09178929234e247079
--- /dev/null
+++ b/public_test_cases/p01269/input.0.txt
@@ -0,0 +1,16 @@
+3 2 10
+1 2 8 6
+2 3 10 3
+3 2 10
+1 2 3 8
+2 3 7 7
+3 3 10
+1 3 17 6
+1 2 2 4
+2 3 9 13
+4 4 5
+1 3 9 3
+1 4 7 25
+2 3 8 2
+2 4 9 3
+0 0 0
diff --git a/public_test_cases/p01269/input.1.txt b/public_test_cases/p01269/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cce04496c79b432b91ef7a09178929234e247079
--- /dev/null
+++ b/public_test_cases/p01269/input.1.txt
@@ -0,0 +1,16 @@
+3 2 10
+1 2 8 6
+2 3 10 3
+3 2 10
+1 2 3 8
+2 3 7 7
+3 3 10
+1 3 17 6
+1 2 2 4
+2 3 9 13
+4 4 5
+1 3 9 3
+1 4 7 25
+2 3 8 2
+2 4 9 3
+0 0 0
diff --git a/public_test_cases/p01269/output.0.txt b/public_test_cases/p01269/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..406fe50e349c3a712a43e7dfba7e5dcb85a7e951
--- /dev/null
+++ b/public_test_cases/p01269/output.0.txt
@@ -0,0 +1,4 @@
+3
+0
+4
+8
diff --git a/public_test_cases/p01269/output.1.txt b/public_test_cases/p01269/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..406fe50e349c3a712a43e7dfba7e5dcb85a7e951
--- /dev/null
+++ b/public_test_cases/p01269/output.1.txt
@@ -0,0 +1,4 @@
+3
+0
+4
+8
diff --git a/public_test_cases/p01270/input.0.txt b/public_test_cases/p01270/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14d9efdcbc9ab4835f5dee00db4d5adda691b6c5
--- /dev/null
+++ b/public_test_cases/p01270/input.0.txt
@@ -0,0 +1,10 @@
+6
+W 0 2
+W 1 2
+D 0
+W 2 4
+R 3
+R 1
+1
+R 1000000000
+0
diff --git a/public_test_cases/p01270/input.1.txt b/public_test_cases/p01270/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14d9efdcbc9ab4835f5dee00db4d5adda691b6c5
--- /dev/null
+++ b/public_test_cases/p01270/input.1.txt
@@ -0,0 +1,10 @@
+6
+W 0 2
+W 1 2
+D 0
+W 2 4
+R 3
+R 1
+1
+R 1000000000
+0
diff --git a/public_test_cases/p01270/output.0.txt b/public_test_cases/p01270/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a84aba42bb27a95d4451ae4ce928659902a02ef5
--- /dev/null
+++ b/public_test_cases/p01270/output.0.txt
@@ -0,0 +1,4 @@
+1
+2
+
+-1
diff --git a/public_test_cases/p01270/output.1.txt b/public_test_cases/p01270/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a84aba42bb27a95d4451ae4ce928659902a02ef5
--- /dev/null
+++ b/public_test_cases/p01270/output.1.txt
@@ -0,0 +1,4 @@
+1
+2
+
+-1
diff --git a/public_test_cases/p01271/input.0.txt b/public_test_cases/p01271/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90925bc8942a0202f719e69ccb3a4b0dc7e14a91
--- /dev/null
+++ b/public_test_cases/p01271/input.0.txt
@@ -0,0 +1,12 @@
+5 5
+%#... ...#%
+.#.#. .#.#.
+.#.#. .#.#.
+.#.#. .#.#.
+...#L R#...
+3 2
+.L. .R#
+%.. .%.
+4 1
+L.%. %..R
+0 0
diff --git a/public_test_cases/p01271/input.1.txt b/public_test_cases/p01271/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90925bc8942a0202f719e69ccb3a4b0dc7e14a91
--- /dev/null
+++ b/public_test_cases/p01271/input.1.txt
@@ -0,0 +1,12 @@
+5 5
+%#... ...#%
+.#.#. .#.#.
+.#.#. .#.#.
+.#.#. .#.#.
+...#L R#...
+3 2
+.L. .R#
+%.. .%.
+4 1
+L.%. %..R
+0 0
diff --git a/public_test_cases/p01271/output.0.txt b/public_test_cases/p01271/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e42eaccba8fbb670afcbc090ead039c26258d21
--- /dev/null
+++ b/public_test_cases/p01271/output.0.txt
@@ -0,0 +1,3 @@
+Yes
+Yes
+No
diff --git a/public_test_cases/p01271/output.1.txt b/public_test_cases/p01271/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e42eaccba8fbb670afcbc090ead039c26258d21
--- /dev/null
+++ b/public_test_cases/p01271/output.1.txt
@@ -0,0 +1,3 @@
+Yes
+Yes
+No
diff --git a/public_test_cases/p01272/input.0.txt b/public_test_cases/p01272/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81721d00817155a0d7a7acb31858e5e34cb7d399
--- /dev/null
+++ b/public_test_cases/p01272/input.0.txt
@@ -0,0 +1,14 @@
+3 1
+0 0
+10 0
+5 10
+3 1
+0 0
+10 0
+0 10
+4 1
+0 0
+10 0
+10 10
+0 10
+0 0
diff --git a/public_test_cases/p01272/input.1.txt b/public_test_cases/p01272/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81721d00817155a0d7a7acb31858e5e34cb7d399
--- /dev/null
+++ b/public_test_cases/p01272/input.1.txt
@@ -0,0 +1,14 @@
+3 1
+0 0
+10 0
+5 10
+3 1
+0 0
+10 0
+0 10
+4 1
+0 0
+10 0
+10 10
+0 10
+0 0
diff --git a/public_test_cases/p01272/output.0.txt b/public_test_cases/p01272/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3090b6b04cb1fe9f2443e7c00a12a1e370b5c14
--- /dev/null
+++ b/public_test_cases/p01272/output.0.txt
@@ -0,0 +1,3 @@
+22.6524758425
+23.8994949366
+32.0000000000
diff --git a/public_test_cases/p01272/output.1.txt b/public_test_cases/p01272/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3090b6b04cb1fe9f2443e7c00a12a1e370b5c14
--- /dev/null
+++ b/public_test_cases/p01272/output.1.txt
@@ -0,0 +1,3 @@
+22.6524758425
+23.8994949366
+32.0000000000
diff --git a/public_test_cases/p01273/input.0.txt b/public_test_cases/p01273/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d92686ff021b2f61a2a4bdc480c4d824d1bb540
--- /dev/null
+++ b/public_test_cases/p01273/input.0.txt
@@ -0,0 +1,7 @@
+3 2
+1 1 2
+2 2 3
+3 2
+2 3 2
+1 2 1
+0 0
diff --git a/public_test_cases/p01273/input.1.txt b/public_test_cases/p01273/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d92686ff021b2f61a2a4bdc480c4d824d1bb540
--- /dev/null
+++ b/public_test_cases/p01273/input.1.txt
@@ -0,0 +1,7 @@
+3 2
+1 1 2
+2 2 3
+3 2
+2 3 2
+1 2 1
+0 0
diff --git a/public_test_cases/p01273/output.0.txt b/public_test_cases/p01273/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p01273/output.0.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p01273/output.1.txt b/public_test_cases/p01273/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p01273/output.1.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p01274/input.0.txt b/public_test_cases/p01274/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d53d11d593626f3818dfac1fb58bc7c2f542c13b
--- /dev/null
+++ b/public_test_cases/p01274/input.0.txt
@@ -0,0 +1,7 @@
+3
+8000 15000 30000
+3
+Flare 45 Single 8000
+Meteor 62 All 6000
+Ultimate 80 All 9999
+0
diff --git a/public_test_cases/p01274/input.1.txt b/public_test_cases/p01274/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d53d11d593626f3818dfac1fb58bc7c2f542c13b
--- /dev/null
+++ b/public_test_cases/p01274/input.1.txt
@@ -0,0 +1,7 @@
+3
+8000 15000 30000
+3
+Flare 45 Single 8000
+Meteor 62 All 6000
+Ultimate 80 All 9999
+0
diff --git a/public_test_cases/p01274/output.0.txt b/public_test_cases/p01274/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c022aedd2727a0a82f74d783431c9cd293a295f
--- /dev/null
+++ b/public_test_cases/p01274/output.0.txt
@@ -0,0 +1 @@
+232
diff --git a/public_test_cases/p01274/output.1.txt b/public_test_cases/p01274/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c022aedd2727a0a82f74d783431c9cd293a295f
--- /dev/null
+++ b/public_test_cases/p01274/output.1.txt
@@ -0,0 +1 @@
+232
diff --git a/public_test_cases/p01275/input.0.txt b/public_test_cases/p01275/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3014306d26a94580af33e91fd1b62debbd12d9bc
--- /dev/null
+++ b/public_test_cases/p01275/input.0.txt
@@ -0,0 +1,5 @@
+4
+1357 4680
+6
+777777 003330
+0
diff --git a/public_test_cases/p01275/input.1.txt b/public_test_cases/p01275/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3014306d26a94580af33e91fd1b62debbd12d9bc
--- /dev/null
+++ b/public_test_cases/p01275/input.1.txt
@@ -0,0 +1,5 @@
+4
+1357 4680
+6
+777777 003330
+0
diff --git a/public_test_cases/p01275/output.0.txt b/public_test_cases/p01275/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p01275/output.0.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p01275/output.1.txt b/public_test_cases/p01275/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p01275/output.1.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p01276/input.0.txt b/public_test_cases/p01276/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7723e0e02038f61e2570d13986b05e606727299
--- /dev/null
+++ b/public_test_cases/p01276/input.0.txt
@@ -0,0 +1,22 @@
+5
+5 5
+4 4
+3 3
+2 2
+1 1
+5
+1 5
+3 4
+2 5
+2 3
+1 4
+8
+8 3
+4 2
+6 4
+3 5
+5 8
+7 1
+2 6
+1 7
+0
diff --git a/public_test_cases/p01276/input.1.txt b/public_test_cases/p01276/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7723e0e02038f61e2570d13986b05e606727299
--- /dev/null
+++ b/public_test_cases/p01276/input.1.txt
@@ -0,0 +1,22 @@
+5
+5 5
+4 4
+3 3
+2 2
+1 1
+5
+1 5
+3 4
+2 5
+2 3
+1 4
+8
+8 3
+4 2
+6 4
+3 5
+5 8
+7 1
+2 6
+1 7
+0
diff --git a/public_test_cases/p01276/output.0.txt b/public_test_cases/p01276/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ffd0808ee2e8c7952ef8a57f1c7f44797f65f1c
--- /dev/null
+++ b/public_test_cases/p01276/output.0.txt
@@ -0,0 +1,3 @@
+15
+9
+21
diff --git a/public_test_cases/p01276/output.1.txt b/public_test_cases/p01276/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ffd0808ee2e8c7952ef8a57f1c7f44797f65f1c
--- /dev/null
+++ b/public_test_cases/p01276/output.1.txt
@@ -0,0 +1,3 @@
+15
+9
+21
diff --git a/public_test_cases/p01277/input.0.txt b/public_test_cases/p01277/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19de14ac707a86dfb49ff10854773593c9f2ed58
--- /dev/null
+++ b/public_test_cases/p01277/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 1
+1 0
+0 0
+1 1
diff --git a/public_test_cases/p01277/input.1.txt b/public_test_cases/p01277/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edd3f854ea2531f6c2fe4a0b762ca78f823204d6
--- /dev/null
+++ b/public_test_cases/p01277/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 2
+0 0
+-1 0
+1 0
diff --git a/public_test_cases/p01277/input.2.txt b/public_test_cases/p01277/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19de14ac707a86dfb49ff10854773593c9f2ed58
--- /dev/null
+++ b/public_test_cases/p01277/input.2.txt
@@ -0,0 +1,5 @@
+4
+0 1
+1 0
+0 0
+1 1
diff --git a/public_test_cases/p01277/input.3.txt b/public_test_cases/p01277/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a77af2b56ba06ad203fe025ac40357701e7f7986
--- /dev/null
+++ b/public_test_cases/p01277/input.3.txt
@@ -0,0 +1,10 @@
+9
+-1 1
+0 1
+1 1
+-1 0
+0 0
+1 0
+-1 -1
+0 -1
+1 -1
diff --git a/public_test_cases/p01277/input.4.txt b/public_test_cases/p01277/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48d67a86fb9b86ad08c5ae9bb68cd837cd744e0b
--- /dev/null
+++ b/public_test_cases/p01277/input.4.txt
@@ -0,0 +1,5 @@
+4
+0 1
+1 -1
+0 0
+1 1
diff --git a/public_test_cases/p01277/input.5.txt b/public_test_cases/p01277/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98cc916af670b2023ba2260e0bb75ff74e714a51
--- /dev/null
+++ b/public_test_cases/p01277/input.5.txt
@@ -0,0 +1,4 @@
+3
+-1 -1
+0 0
+1 1
diff --git a/public_test_cases/p01277/output.0.txt b/public_test_cases/p01277/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01277/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01277/output.1.txt b/public_test_cases/p01277/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01277/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01277/output.2.txt b/public_test_cases/p01277/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01277/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01277/output.3.txt b/public_test_cases/p01277/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01277/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01277/output.4.txt b/public_test_cases/p01277/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01277/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01277/output.5.txt b/public_test_cases/p01277/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01277/output.5.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01278/input.0.txt b/public_test_cases/p01278/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc6ae18d04b324501b6d4d668f0e1d2cd92bb9a2
--- /dev/null
+++ b/public_test_cases/p01278/input.0.txt
@@ -0,0 +1,8 @@
+3 3
+0 0
+8 0
+0 8
+2 2
+4 2
+2 4
+0 0
diff --git a/public_test_cases/p01278/input.1.txt b/public_test_cases/p01278/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc6ae18d04b324501b6d4d668f0e1d2cd92bb9a2
--- /dev/null
+++ b/public_test_cases/p01278/input.1.txt
@@ -0,0 +1,8 @@
+3 3
+0 0
+8 0
+0 8
+2 2
+4 2
+2 4
+0 0
diff --git a/public_test_cases/p01278/output.0.txt b/public_test_cases/p01278/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19096fb8ae4dfa6027cb18a8ac444acb8507a5a3
--- /dev/null
+++ b/public_test_cases/p01278/output.0.txt
@@ -0,0 +1,3 @@
+9.0
+11.5
+11.5
diff --git a/public_test_cases/p01278/output.1.txt b/public_test_cases/p01278/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19096fb8ae4dfa6027cb18a8ac444acb8507a5a3
--- /dev/null
+++ b/public_test_cases/p01278/output.1.txt
@@ -0,0 +1,3 @@
+9.0
+11.5
+11.5
diff --git a/public_test_cases/p01279/input.0.txt b/public_test_cases/p01279/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97f339b016908b66c5db128aa4d8914d84059453
--- /dev/null
+++ b/public_test_cases/p01279/input.0.txt
@@ -0,0 +1,6 @@
+2 2
+10 20 1
+0 10 1
+0 10
+10 0
+0 0
diff --git a/public_test_cases/p01279/input.1.txt b/public_test_cases/p01279/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97f339b016908b66c5db128aa4d8914d84059453
--- /dev/null
+++ b/public_test_cases/p01279/input.1.txt
@@ -0,0 +1,6 @@
+2 2
+10 20 1
+0 10 1
+0 10
+10 0
+0 0
diff --git a/public_test_cases/p01279/output.0.txt b/public_test_cases/p01279/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2268880eccf0013311e2456fc52d9d20e828c08
--- /dev/null
+++ b/public_test_cases/p01279/output.0.txt
@@ -0,0 +1 @@
+14.14213562
diff --git a/public_test_cases/p01279/output.1.txt b/public_test_cases/p01279/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2268880eccf0013311e2456fc52d9d20e828c08
--- /dev/null
+++ b/public_test_cases/p01279/output.1.txt
@@ -0,0 +1 @@
+14.14213562
diff --git a/public_test_cases/p01280/input.0.txt b/public_test_cases/p01280/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45efd81736b5af6d9e92e7efb26a6de0b246500e
--- /dev/null
+++ b/public_test_cases/p01280/input.0.txt
@@ -0,0 +1,4 @@
+2
+4 0 1 2 3 4
+2 0 2 1
+0
diff --git a/public_test_cases/p01280/input.1.txt b/public_test_cases/p01280/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45efd81736b5af6d9e92e7efb26a6de0b246500e
--- /dev/null
+++ b/public_test_cases/p01280/input.1.txt
@@ -0,0 +1,4 @@
+2
+4 0 1 2 3 4
+2 0 2 1
+0
diff --git a/public_test_cases/p01280/output.0.txt b/public_test_cases/p01280/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01280/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01280/output.1.txt b/public_test_cases/p01280/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01280/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01281/input.0.txt b/public_test_cases/p01281/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d267fce9b9cf6f5f469e99c553828623f9f8c1dd
--- /dev/null
+++ b/public_test_cases/p01281/input.0.txt
@@ -0,0 +1,3 @@
+3 4
+4 4
+0 0
diff --git a/public_test_cases/p01281/input.1.txt b/public_test_cases/p01281/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d267fce9b9cf6f5f469e99c553828623f9f8c1dd
--- /dev/null
+++ b/public_test_cases/p01281/input.1.txt
@@ -0,0 +1,3 @@
+3 4
+4 4
+0 0
diff --git a/public_test_cases/p01281/output.0.txt b/public_test_cases/p01281/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc7fa75e6a7bc42f0431e7fa75b59e3ddc4dc40f
--- /dev/null
+++ b/public_test_cases/p01281/output.0.txt
@@ -0,0 +1,2 @@
+4
+2
diff --git a/public_test_cases/p01281/output.1.txt b/public_test_cases/p01281/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc7fa75e6a7bc42f0431e7fa75b59e3ddc4dc40f
--- /dev/null
+++ b/public_test_cases/p01281/output.1.txt
@@ -0,0 +1,2 @@
+4
+2
diff --git a/public_test_cases/p01282/input.0.txt b/public_test_cases/p01282/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ec4bafb91609bc435f600fa7415ea7ca5e959de
--- /dev/null
+++ b/public_test_cases/p01282/input.0.txt
@@ -0,0 +1,7 @@
+3 1
+3 2
+3 3
+4 2
+10 5
+1000 500
+0 0
diff --git a/public_test_cases/p01282/input.1.txt b/public_test_cases/p01282/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ec4bafb91609bc435f600fa7415ea7ca5e959de
--- /dev/null
+++ b/public_test_cases/p01282/input.1.txt
@@ -0,0 +1,7 @@
+3 1
+3 2
+3 3
+4 2
+10 5
+1000 500
+0 0
diff --git a/public_test_cases/p01282/output.0.txt b/public_test_cases/p01282/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..667e6c56863f6554e2e78c7d9794b6ffb8a476dd
--- /dev/null
+++ b/public_test_cases/p01282/output.0.txt
@@ -0,0 +1,6 @@
+0
+2
+4
+2
+90
+570682
diff --git a/public_test_cases/p01282/output.1.txt b/public_test_cases/p01282/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..667e6c56863f6554e2e78c7d9794b6ffb8a476dd
--- /dev/null
+++ b/public_test_cases/p01282/output.1.txt
@@ -0,0 +1,6 @@
+0
+2
+4
+2
+90
+570682
diff --git a/public_test_cases/p01283/input.0.txt b/public_test_cases/p01283/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e770c183308f477c6dbced84bd9177f69005d40b
--- /dev/null
+++ b/public_test_cases/p01283/input.0.txt
@@ -0,0 +1,7 @@
+5
+5 4 3 2 1
+5
+7 7 7 7 7
+10
+186 8 42 24 154 40 10 56 122 72
+0
diff --git a/public_test_cases/p01283/input.1.txt b/public_test_cases/p01283/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e770c183308f477c6dbced84bd9177f69005d40b
--- /dev/null
+++ b/public_test_cases/p01283/input.1.txt
@@ -0,0 +1,7 @@
+5
+5 4 3 2 1
+5
+7 7 7 7 7
+10
+186 8 42 24 154 40 10 56 122 72
+0
diff --git a/public_test_cases/p01283/output.0.txt b/public_test_cases/p01283/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdd9e694d2b484c17fe65335277cffe74888329d
--- /dev/null
+++ b/public_test_cases/p01283/output.0.txt
@@ -0,0 +1,3 @@
+0 1 1
+0 0 0
+8 7 14
diff --git a/public_test_cases/p01283/output.1.txt b/public_test_cases/p01283/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdd9e694d2b484c17fe65335277cffe74888329d
--- /dev/null
+++ b/public_test_cases/p01283/output.1.txt
@@ -0,0 +1,3 @@
+0 1 1
+0 0 0
+8 7 14
diff --git a/public_test_cases/p01284/input.0.txt b/public_test_cases/p01284/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15b3c782d8e2a658fc273008dc002bd94d576208
--- /dev/null
+++ b/public_test_cases/p01284/input.0.txt
@@ -0,0 +1,7 @@
+2
+1 23
+3
+1 1
+2 1
+3 1
+0
diff --git a/public_test_cases/p01284/input.1.txt b/public_test_cases/p01284/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15b3c782d8e2a658fc273008dc002bd94d576208
--- /dev/null
+++ b/public_test_cases/p01284/input.1.txt
@@ -0,0 +1,7 @@
+2
+1 23
+3
+1 1
+2 1
+3 1
+0
diff --git a/public_test_cases/p01284/output.0.txt b/public_test_cases/p01284/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01284/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01284/output.1.txt b/public_test_cases/p01284/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01284/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01285/input.0.txt b/public_test_cases/p01285/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5cdaf2daa64f81277f49fae725eb2daa263741e
--- /dev/null
+++ b/public_test_cases/p01285/input.0.txt
@@ -0,0 +1,14 @@
+2
+-35 -35 100 100
+-49 49 2000 -2000
+4
+0 0 0 3
+0 0 3 0
+0 3 3 3
+3 0 3 3
+4
+0 3 -4 6
+3 0 6 -4
+2 3 6 6
+-1 2 -4 6
+0
diff --git a/public_test_cases/p01285/input.1.txt b/public_test_cases/p01285/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5cdaf2daa64f81277f49fae725eb2daa263741e
--- /dev/null
+++ b/public_test_cases/p01285/input.1.txt
@@ -0,0 +1,14 @@
+2
+-35 -35 100 100
+-49 49 2000 -2000
+4
+0 0 0 3
+0 0 3 0
+0 3 3 3
+3 0 3 3
+4
+0 3 -4 6
+3 0 6 -4
+2 3 6 6
+-1 2 -4 6
+0
diff --git a/public_test_cases/p01285/output.0.txt b/public_test_cases/p01285/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f1475c8adcf2da1c9f0def485d0ffe8d03a297
--- /dev/null
+++ b/public_test_cases/p01285/output.0.txt
@@ -0,0 +1,3 @@
+Many
+1.5000 1.5000
+1.000 1.000
diff --git a/public_test_cases/p01285/output.1.txt b/public_test_cases/p01285/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f1475c8adcf2da1c9f0def485d0ffe8d03a297
--- /dev/null
+++ b/public_test_cases/p01285/output.1.txt
@@ -0,0 +1,3 @@
+Many
+1.5000 1.5000
+1.000 1.000
diff --git a/public_test_cases/p01286/input.0.txt b/public_test_cases/p01286/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82ba959c0d5ae1b1c834fcb855b4522a742f4d44
--- /dev/null
+++ b/public_test_cases/p01286/input.0.txt
@@ -0,0 +1,17 @@
+2 1 1 1 1 1 1
+1 1
+1 1
+1 1
+1 1 1 1 0 0 0
+1 1
+1 1
+1 1
+1 0 1 0 1 0 1
+0
+1 1 0 1 0 1 0
+0
+0
+1 1 0 1 0 1 0
+1 1
+0
+-1 -1 -1 -1 -1 -1 -1
diff --git a/public_test_cases/p01286/output.0.txt b/public_test_cases/p01286/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d7f4fae2649db723974e64058aa456109f8584a
--- /dev/null
+++ b/public_test_cases/p01286/output.0.txt
@@ -0,0 +1,5 @@
+2
+1
+1
+0
+1
diff --git a/public_test_cases/p01287/input.0.txt b/public_test_cases/p01287/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a52521ab8fb73cd840139567b045133162e3a961
--- /dev/null
+++ b/public_test_cases/p01287/input.0.txt
@@ -0,0 +1,3 @@
+blue blue blue blue blue blue blue blue
+red blue blue blue blue blue blue blue
+red red blue blue blue blue blue blue
diff --git a/public_test_cases/p01287/input.1.txt b/public_test_cases/p01287/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a52521ab8fb73cd840139567b045133162e3a961
--- /dev/null
+++ b/public_test_cases/p01287/input.1.txt
@@ -0,0 +1,3 @@
+blue blue blue blue blue blue blue blue
+red blue blue blue blue blue blue blue
+red red blue blue blue blue blue blue
diff --git a/public_test_cases/p01287/output.0.txt b/public_test_cases/p01287/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a3a1ad4e15825ece4f696edeb27c252126408b2
--- /dev/null
+++ b/public_test_cases/p01287/output.0.txt
@@ -0,0 +1,3 @@
+1
+1
+3
diff --git a/public_test_cases/p01287/output.1.txt b/public_test_cases/p01287/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a3a1ad4e15825ece4f696edeb27c252126408b2
--- /dev/null
+++ b/public_test_cases/p01287/output.1.txt
@@ -0,0 +1,3 @@
+1
+1
+3
diff --git a/public_test_cases/p01288/input.0.txt b/public_test_cases/p01288/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc2500975b943654da5c2d031d9db3638654910f
--- /dev/null
+++ b/public_test_cases/p01288/input.0.txt
@@ -0,0 +1,10 @@
+6 3
+1
+1
+2
+3
+3
+Q 5
+M 3
+Q 5
+0 0
diff --git a/public_test_cases/p01288/input.1.txt b/public_test_cases/p01288/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc2500975b943654da5c2d031d9db3638654910f
--- /dev/null
+++ b/public_test_cases/p01288/input.1.txt
@@ -0,0 +1,10 @@
+6 3
+1
+1
+2
+3
+3
+Q 5
+M 3
+Q 5
+0 0
diff --git a/public_test_cases/p01288/output.0.txt b/public_test_cases/p01288/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01288/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01288/output.1.txt b/public_test_cases/p01288/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01288/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01289/input.0.txt b/public_test_cases/p01289/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08d038357ae1087e664869a1eba231be1bfbbf63
--- /dev/null
+++ b/public_test_cases/p01289/input.0.txt
@@ -0,0 +1,8 @@
+5 1 5
+1 0 1 0 0
+0 2 1 0 0
+2 0 0 1 0
+1 0 0 1 0
+0 1 1 0 1
+0 0 0 1 0
+0 0 0
diff --git a/public_test_cases/p01289/input.1.txt b/public_test_cases/p01289/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08d038357ae1087e664869a1eba231be1bfbbf63
--- /dev/null
+++ b/public_test_cases/p01289/input.1.txt
@@ -0,0 +1,8 @@
+5 1 5
+1 0 1 0 0
+0 2 1 0 0
+2 0 0 1 0
+1 0 0 1 0
+0 1 1 0 1
+0 0 0 1 0
+0 0 0
diff --git a/public_test_cases/p01289/output.0.txt b/public_test_cases/p01289/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c4898a5ecfd8ac493da68eaef3523a050e273bd
--- /dev/null
+++ b/public_test_cases/p01289/output.0.txt
@@ -0,0 +1 @@
+8.50000000
diff --git a/public_test_cases/p01289/output.1.txt b/public_test_cases/p01289/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c4898a5ecfd8ac493da68eaef3523a050e273bd
--- /dev/null
+++ b/public_test_cases/p01289/output.1.txt
@@ -0,0 +1 @@
+8.50000000
diff --git a/public_test_cases/p01290/input.0.txt b/public_test_cases/p01290/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..842ae2861203b968165b6db1faf9af3c221c8acc
--- /dev/null
+++ b/public_test_cases/p01290/input.0.txt
@@ -0,0 +1,22 @@
+2 2
+QE
+EA
+3 1
+QAE
+3 1
+AQE
+5 5
+..E..
+.###.
+A###Q
+.###.
+..E..
+5 1
+A.E.Q
+5 5
+A....
+####.
+..E..
+.####
+....Q
+0 0
diff --git a/public_test_cases/p01290/input.1.txt b/public_test_cases/p01290/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..759bf1c77bfda25dd62cd10cd193fd39bd2f4aa0
--- /dev/null
+++ b/public_test_cases/p01290/input.1.txt
@@ -0,0 +1,22 @@
+2 2
+QE
+EA
+3 1
+QAE
+3 1
+AQE
+5 5
+..E..
+.###.
+A###Q
+.###.
+..E..
+5 1
+A.E.Q
+5 5
+A....
+.
+..E..
+.####
+....Q
+0 0
diff --git a/public_test_cases/p01290/input.2.txt b/public_test_cases/p01290/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..842ae2861203b968165b6db1faf9af3c221c8acc
--- /dev/null
+++ b/public_test_cases/p01290/input.2.txt
@@ -0,0 +1,22 @@
+2 2
+QE
+EA
+3 1
+QAE
+3 1
+AQE
+5 5
+..E..
+.###.
+A###Q
+.###.
+..E..
+5 1
+A.E.Q
+5 5
+A....
+####.
+..E..
+.####
+....Q
+0 0
diff --git a/public_test_cases/p01290/output.0.txt b/public_test_cases/p01290/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8e4ba6d6094d90016b25c148b8eff8ed3f15f2c
--- /dev/null
+++ b/public_test_cases/p01290/output.0.txt
@@ -0,0 +1,6 @@
+Queen can not escape and Army can not catch Queen.
+Army can catch Queen.
+Queen can escape.
+Queen can not escape and Army can not catch Queen.
+Army can catch Queen.
+Army can catch Queen.
diff --git a/public_test_cases/p01290/output.1.txt b/public_test_cases/p01290/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8e4ba6d6094d90016b25c148b8eff8ed3f15f2c
--- /dev/null
+++ b/public_test_cases/p01290/output.1.txt
@@ -0,0 +1,6 @@
+Queen can not escape and Army can not catch Queen.
+Army can catch Queen.
+Queen can escape.
+Queen can not escape and Army can not catch Queen.
+Army can catch Queen.
+Army can catch Queen.
diff --git a/public_test_cases/p01290/output.2.txt b/public_test_cases/p01290/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8e4ba6d6094d90016b25c148b8eff8ed3f15f2c
--- /dev/null
+++ b/public_test_cases/p01290/output.2.txt
@@ -0,0 +1,6 @@
+Queen can not escape and Army can not catch Queen.
+Army can catch Queen.
+Queen can escape.
+Queen can not escape and Army can not catch Queen.
+Army can catch Queen.
+Army can catch Queen.
diff --git a/public_test_cases/p01291/input.0.txt b/public_test_cases/p01291/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a7a16c845f0749715814168affe1bed03fdabe7
--- /dev/null
+++ b/public_test_cases/p01291/input.0.txt
@@ -0,0 +1,12 @@
+5 2
+4
+1 1
+1 2
+2 2
+2 1
+4
+3 3
+3 4
+4 4
+4 3
+0 0
diff --git a/public_test_cases/p01291/input.1.txt b/public_test_cases/p01291/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a7a16c845f0749715814168affe1bed03fdabe7
--- /dev/null
+++ b/public_test_cases/p01291/input.1.txt
@@ -0,0 +1,12 @@
+5 2
+4
+1 1
+1 2
+2 2
+2 1
+4
+3 3
+3 4
+4 4
+4 3
+0 0
diff --git a/public_test_cases/p01291/output.0.txt b/public_test_cases/p01291/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..591a254521455a4628aed24c3b18c96891ffbc0f
--- /dev/null
+++ b/public_test_cases/p01291/output.0.txt
@@ -0,0 +1 @@
+3.41421356
diff --git a/public_test_cases/p01291/output.1.txt b/public_test_cases/p01291/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..591a254521455a4628aed24c3b18c96891ffbc0f
--- /dev/null
+++ b/public_test_cases/p01291/output.1.txt
@@ -0,0 +1 @@
+3.41421356
diff --git a/public_test_cases/p01292/input.0.txt b/public_test_cases/p01292/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..589690af74d5900d4c9fe605d862f53532f8c4e8
--- /dev/null
+++ b/public_test_cases/p01292/input.0.txt
@@ -0,0 +1,9 @@
+50 100
+2
+50 50 0
+51 51 50
+2
+0 0 0
+1 1 50
+0
+0 0
diff --git a/public_test_cases/p01292/input.1.txt b/public_test_cases/p01292/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..589690af74d5900d4c9fe605d862f53532f8c4e8
--- /dev/null
+++ b/public_test_cases/p01292/input.1.txt
@@ -0,0 +1,9 @@
+50 100
+2
+50 50 0
+51 51 50
+2
+0 0 0
+1 1 50
+0
+0 0
diff --git a/public_test_cases/p01292/output.0.txt b/public_test_cases/p01292/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p01292/output.0.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p01292/output.1.txt b/public_test_cases/p01292/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p01292/output.1.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p01293/input.0.txt b/public_test_cases/p01293/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b7fe2efc61c4e3583e48c2bae9293f9eb4a42d3
--- /dev/null
+++ b/public_test_cases/p01293/input.0.txt
@@ -0,0 +1,11 @@
+H
+4C 8H QS 5D JD KS 8S AH 6H 7H 3S 7S 6D
+TC JC JS KD AC QC QD 2H QH 3H 3C 7C 4D
+6C 9C AS TD 5H 6S 5S KH TH AD 9S 8D 2D
+8C 5C 2S 7D KC 4S TS JH 4H 9H 2C 9D 3D
+D
+8D 9D 9S QS 4H 5H JD JS 9H 6S TH 6H QH
+QD 9C 5S 7S 7H AC 2D KD 6C 3D 8C TC 7C
+5D QC 3S 4S 3H 3C 6D KS JC AS 5C 8H TS
+4D 4C 8S 2S 2H KC TD JH 2C AH 7D AD KH
+#
diff --git a/public_test_cases/p01293/input.1.txt b/public_test_cases/p01293/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26ea3dd1c2a826b45e2ff4d980477bbbc71a6761
--- /dev/null
+++ b/public_test_cases/p01293/input.1.txt
@@ -0,0 +1,10 @@
+H
+4C 8H QS 5D JD KS 8S AH 6H 7H 3S 7S 6D
+TC JC JS KD AC QC QD 2H QH 3H 3C 7C 4D
+6C 9C AS TD 5H 6S 5S KH TH AD 9S 8D 2D
+8C 5C 2S 7D KC 4S TS JH 4H 9H 2C 9D 3D
+D
+8D 9D 9S QS 4H 5H JD JS 9H 6S TH 6H QH
+QD 9C 5S 7S 7H AC 2D KD 6C 3D 8C TC 7C
+5D QC 3S 4S 3H 3C 6D KS JC AS 5C 8H TS
+4D 4C 8S 2S 2H KC TD JH 2C AH 7D AD KH
diff --git a/public_test_cases/p01293/input.2.txt b/public_test_cases/p01293/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b7fe2efc61c4e3583e48c2bae9293f9eb4a42d3
--- /dev/null
+++ b/public_test_cases/p01293/input.2.txt
@@ -0,0 +1,11 @@
+H
+4C 8H QS 5D JD KS 8S AH 6H 7H 3S 7S 6D
+TC JC JS KD AC QC QD 2H QH 3H 3C 7C 4D
+6C 9C AS TD 5H 6S 5S KH TH AD 9S 8D 2D
+8C 5C 2S 7D KC 4S TS JH 4H 9H 2C 9D 3D
+D
+8D 9D 9S QS 4H 5H JD JS 9H 6S TH 6H QH
+QD 9C 5S 7S 7H AC 2D KD 6C 3D 8C TC 7C
+5D QC 3S 4S 3H 3C 6D KS JC AS 5C 8H TS
+4D 4C 8S 2S 2H KC TD JH 2C AH 7D AD KH
+#
diff --git a/public_test_cases/p01293/output.0.txt b/public_test_cases/p01293/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1792b789be0c06a7fb84225b80625a20139906d
--- /dev/null
+++ b/public_test_cases/p01293/output.0.txt
@@ -0,0 +1,2 @@
+EW 1
+EW 2
diff --git a/public_test_cases/p01293/output.1.txt b/public_test_cases/p01293/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1792b789be0c06a7fb84225b80625a20139906d
--- /dev/null
+++ b/public_test_cases/p01293/output.1.txt
@@ -0,0 +1,2 @@
+EW 1
+EW 2
diff --git a/public_test_cases/p01293/output.2.txt b/public_test_cases/p01293/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1792b789be0c06a7fb84225b80625a20139906d
--- /dev/null
+++ b/public_test_cases/p01293/output.2.txt
@@ -0,0 +1,2 @@
+EW 1
+EW 2
diff --git a/public_test_cases/p01294/input.0.txt b/public_test_cases/p01294/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..572864f2c01171304e86c9aab9be356d49973a93
--- /dev/null
+++ b/public_test_cases/p01294/input.0.txt
@@ -0,0 +1,9 @@
+3 3
+3 4 1 1
+2 1 5
+2 3 3
+3 3
+3 2 3 1
+2 1 5
+2 3 3
+0 0
diff --git a/public_test_cases/p01294/input.1.txt b/public_test_cases/p01294/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..572864f2c01171304e86c9aab9be356d49973a93
--- /dev/null
+++ b/public_test_cases/p01294/input.1.txt
@@ -0,0 +1,9 @@
+3 3
+3 4 1 1
+2 1 5
+2 3 3
+3 3
+3 2 3 1
+2 1 5
+2 3 3
+0 0
diff --git a/public_test_cases/p01294/output.0.txt b/public_test_cases/p01294/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p01294/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p01294/output.1.txt b/public_test_cases/p01294/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p01294/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p01295/input.0.txt b/public_test_cases/p01295/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0da6c134f84c556116712bf22c5efb6af4c09f0
--- /dev/null
+++ b/public_test_cases/p01295/input.0.txt
@@ -0,0 +1,3 @@
+4 5
+6 7
+0 0
diff --git a/public_test_cases/p01295/input.1.txt b/public_test_cases/p01295/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0da6c134f84c556116712bf22c5efb6af4c09f0
--- /dev/null
+++ b/public_test_cases/p01295/input.1.txt
@@ -0,0 +1,3 @@
+4 5
+6 7
+0 0
diff --git a/public_test_cases/p01295/output.0.txt b/public_test_cases/p01295/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..643021915a0a646eaa3a7723640f6fcc6cef5c1e
--- /dev/null
+++ b/public_test_cases/p01295/output.0.txt
@@ -0,0 +1,2 @@
+45678
+6789101
diff --git a/public_test_cases/p01295/output.1.txt b/public_test_cases/p01295/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..643021915a0a646eaa3a7723640f6fcc6cef5c1e
--- /dev/null
+++ b/public_test_cases/p01295/output.1.txt
@@ -0,0 +1,2 @@
+45678
+6789101
diff --git a/public_test_cases/p01296/input.0.txt b/public_test_cases/p01296/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dc42972ae1a6c7f206b64b37fdcf23295042eed
--- /dev/null
+++ b/public_test_cases/p01296/input.0.txt
@@ -0,0 +1,16 @@
+4
+0 0 x
+2 0 x
+0 1 x
+2 1 x
+4
+1 0 x
+0 1 x
+2 1 x
+1 2 x
+4
+0 0 x
+2 0 y
+0 1 y
+1 2 x
+0
diff --git a/public_test_cases/p01296/input.1.txt b/public_test_cases/p01296/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dc42972ae1a6c7f206b64b37fdcf23295042eed
--- /dev/null
+++ b/public_test_cases/p01296/input.1.txt
@@ -0,0 +1,16 @@
+4
+0 0 x
+2 0 x
+0 1 x
+2 1 x
+4
+1 0 x
+0 1 x
+2 1 x
+1 2 x
+4
+0 0 x
+2 0 y
+0 1 y
+1 2 x
+0
diff --git a/public_test_cases/p01296/output.0.txt b/public_test_cases/p01296/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef5c0439807192f2948a416361d3fec90374dac
--- /dev/null
+++ b/public_test_cases/p01296/output.0.txt
@@ -0,0 +1,3 @@
+Yes
+No
+Yes
diff --git a/public_test_cases/p01296/output.1.txt b/public_test_cases/p01296/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef5c0439807192f2948a416361d3fec90374dac
--- /dev/null
+++ b/public_test_cases/p01296/output.1.txt
@@ -0,0 +1,3 @@
+Yes
+No
+Yes
diff --git a/public_test_cases/p01297/input.0.txt b/public_test_cases/p01297/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..816eeeda548b7430cf438aaa85e3bb14d2c4fb4f
--- /dev/null
+++ b/public_test_cases/p01297/input.0.txt
@@ -0,0 +1,5 @@
+100 100 1 1
+50 0 50 100 50
+640 480 1 1
+0 0 640 480 100
+0 0 0 0
diff --git a/public_test_cases/p01297/input.1.txt b/public_test_cases/p01297/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..816eeeda548b7430cf438aaa85e3bb14d2c4fb4f
--- /dev/null
+++ b/public_test_cases/p01297/input.1.txt
@@ -0,0 +1,5 @@
+100 100 1 1
+50 0 50 100 50
+640 480 1 1
+0 0 640 480 100
+0 0 0 0
diff --git a/public_test_cases/p01297/output.0.txt b/public_test_cases/p01297/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6631b22779376d4c1b0470c35390d511ec268e3c
--- /dev/null
+++ b/public_test_cases/p01297/output.0.txt
@@ -0,0 +1,2 @@
+No
+Yes
diff --git a/public_test_cases/p01297/output.1.txt b/public_test_cases/p01297/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6631b22779376d4c1b0470c35390d511ec268e3c
--- /dev/null
+++ b/public_test_cases/p01297/output.1.txt
@@ -0,0 +1,2 @@
+No
+Yes
diff --git a/public_test_cases/p01298/input.0.txt b/public_test_cases/p01298/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28ff868b6613dd75eba5f48d9b38de9479d7d21b
--- /dev/null
+++ b/public_test_cases/p01298/input.0.txt
@@ -0,0 +1,5 @@
+1 100
+0 86400 1
+1 100
+43200 86400 1
+0 0
diff --git a/public_test_cases/p01298/input.1.txt b/public_test_cases/p01298/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28ff868b6613dd75eba5f48d9b38de9479d7d21b
--- /dev/null
+++ b/public_test_cases/p01298/input.1.txt
@@ -0,0 +1,5 @@
+1 100
+0 86400 1
+1 100
+43200 86400 1
+0 0
diff --git a/public_test_cases/p01298/output.0.txt b/public_test_cases/p01298/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd311e8bf8bb6b31c4195ff6d782dd83285a62e5
--- /dev/null
+++ b/public_test_cases/p01298/output.0.txt
@@ -0,0 +1,2 @@
+1.000000
+0.997685
diff --git a/public_test_cases/p01298/output.1.txt b/public_test_cases/p01298/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd311e8bf8bb6b31c4195ff6d782dd83285a62e5
--- /dev/null
+++ b/public_test_cases/p01298/output.1.txt
@@ -0,0 +1,2 @@
+1.000000
+0.997685
diff --git a/public_test_cases/p01299/input.0.txt b/public_test_cases/p01299/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ccc3b9b1ddf4741dcab6af025fcddbc941982d0
--- /dev/null
+++ b/public_test_cases/p01299/input.0.txt
@@ -0,0 +1,12 @@
+3
+0 0 100 100
+60 100 50
+100 100 10
+80 80 50
+4
+0 0 100 100
+50 50 50
+150 50 50
+50 150 50
+150 150 50
+0
diff --git a/public_test_cases/p01299/input.1.txt b/public_test_cases/p01299/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ccc3b9b1ddf4741dcab6af025fcddbc941982d0
--- /dev/null
+++ b/public_test_cases/p01299/input.1.txt
@@ -0,0 +1,12 @@
+3
+0 0 100 100
+60 100 50
+100 100 10
+80 80 50
+4
+0 0 100 100
+50 50 50
+150 50 50
+50 150 50
+150 150 50
+0
diff --git a/public_test_cases/p01299/output.0.txt b/public_test_cases/p01299/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..389e2621455b5b9129a49a4006e658565a970912
--- /dev/null
+++ b/public_test_cases/p01299/output.0.txt
@@ -0,0 +1,2 @@
+2
+0
diff --git a/public_test_cases/p01299/output.1.txt b/public_test_cases/p01299/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..389e2621455b5b9129a49a4006e658565a970912
--- /dev/null
+++ b/public_test_cases/p01299/output.1.txt
@@ -0,0 +1,2 @@
+2
+0
diff --git a/public_test_cases/p01300/input.0.txt b/public_test_cases/p01300/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea263ce151f8a0c256b460b4f5fdef7f68590d38
--- /dev/null
+++ b/public_test_cases/p01300/input.0.txt
@@ -0,0 +1,5 @@
+17819
+1111
+11011
+1234567891011121314151617181920
+0
diff --git a/public_test_cases/p01300/input.1.txt b/public_test_cases/p01300/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea263ce151f8a0c256b460b4f5fdef7f68590d38
--- /dev/null
+++ b/public_test_cases/p01300/input.1.txt
@@ -0,0 +1,5 @@
+17819
+1111
+11011
+1234567891011121314151617181920
+0
diff --git a/public_test_cases/p01300/output.0.txt b/public_test_cases/p01300/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1b8efdaca7c827d6be106f76ac7d35294e9b7a
--- /dev/null
+++ b/public_test_cases/p01300/output.0.txt
@@ -0,0 +1,4 @@
+1
+4
+4
+38
diff --git a/public_test_cases/p01300/output.1.txt b/public_test_cases/p01300/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1b8efdaca7c827d6be106f76ac7d35294e9b7a
--- /dev/null
+++ b/public_test_cases/p01300/output.1.txt
@@ -0,0 +1,4 @@
+1
+4
+4
+38
diff --git a/public_test_cases/p01301/input.0.txt b/public_test_cases/p01301/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29f3991bf1503ad7b4ae0c6617160823c8d9eb6e
--- /dev/null
+++ b/public_test_cases/p01301/input.0.txt
@@ -0,0 +1,59 @@
+3 3 3 5
+3 2 2
+***
+.*.
+
+.*.
+...
+
+3 2 1
+***
+**.
+
+3 1 3
+..*
+
+.**
+
+**.
+
+3 2 2
+..*
+...
+
+***
+..*
+
+3 1 3
+.**
+
+.**
+
+***
+
+3 3 3 2
+3 3 3
+***
+***
+***
+
+***
+*.*
+***
+
+***
+***
+***
+
+1 1 1
+*
+
+3 2 1 2
+3 1 1
+***
+
+2 2 1
+**
+*.
+
+0 0 0 0
diff --git a/public_test_cases/p01301/input.1.txt b/public_test_cases/p01301/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29f3991bf1503ad7b4ae0c6617160823c8d9eb6e
--- /dev/null
+++ b/public_test_cases/p01301/input.1.txt
@@ -0,0 +1,59 @@
+3 3 3 5
+3 2 2
+***
+.*.
+
+.*.
+...
+
+3 2 1
+***
+**.
+
+3 1 3
+..*
+
+.**
+
+**.
+
+3 2 2
+..*
+...
+
+***
+..*
+
+3 1 3
+.**
+
+.**
+
+***
+
+3 3 3 2
+3 3 3
+***
+***
+***
+
+***
+*.*
+***
+
+***
+***
+***
+
+1 1 1
+*
+
+3 2 1 2
+3 1 1
+***
+
+2 2 1
+**
+*.
+
+0 0 0 0
diff --git a/public_test_cases/p01301/output.0.txt b/public_test_cases/p01301/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e42eaccba8fbb670afcbc090ead039c26258d21
--- /dev/null
+++ b/public_test_cases/p01301/output.0.txt
@@ -0,0 +1,3 @@
+Yes
+Yes
+No
diff --git a/public_test_cases/p01301/output.1.txt b/public_test_cases/p01301/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e42eaccba8fbb670afcbc090ead039c26258d21
--- /dev/null
+++ b/public_test_cases/p01301/output.1.txt
@@ -0,0 +1,3 @@
+Yes
+Yes
+No
diff --git a/public_test_cases/p01302/input.0.txt b/public_test_cases/p01302/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ed900c1de4d4e398c9f778d51c13898c9b4849
--- /dev/null
+++ b/public_test_cases/p01302/input.0.txt
@@ -0,0 +1,17 @@
+5
+0 1
+0 0
+5 0
+1 1
+5 2
+0 2
+7
+9999 9998
+0 0
+2 0
+3 1
+1 1
+10000 9999
+2 2
+0 2
+0
diff --git a/public_test_cases/p01302/input.1.txt b/public_test_cases/p01302/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ed900c1de4d4e398c9f778d51c13898c9b4849
--- /dev/null
+++ b/public_test_cases/p01302/input.1.txt
@@ -0,0 +1,17 @@
+5
+0 1
+0 0
+5 0
+1 1
+5 2
+0 2
+7
+9999 9998
+0 0
+2 0
+3 1
+1 1
+10000 9999
+2 2
+0 2
+0
diff --git a/public_test_cases/p01302/output.0.txt b/public_test_cases/p01302/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac96f0888cfc8bf6c04e8ffeaba016e1db9b8d3f
--- /dev/null
+++ b/public_test_cases/p01302/output.0.txt
@@ -0,0 +1,2 @@
+2.00
+2.2500000
diff --git a/public_test_cases/p01302/output.1.txt b/public_test_cases/p01302/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac96f0888cfc8bf6c04e8ffeaba016e1db9b8d3f
--- /dev/null
+++ b/public_test_cases/p01302/output.1.txt
@@ -0,0 +1,2 @@
+2.00
+2.2500000
diff --git a/public_test_cases/p01303/input.0.txt b/public_test_cases/p01303/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5d9380f4cd61f775bc09a28b348696139cea60b
--- /dev/null
+++ b/public_test_cases/p01303/input.0.txt
@@ -0,0 +1,13 @@
+2
+1 3 20 10
+4
+21 13
+1 15
+10 10
+25 10
+1 3 20 10
+4
+21 13
+1 15
+10 10
+25 10
diff --git a/public_test_cases/p01303/input.1.txt b/public_test_cases/p01303/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5d9380f4cd61f775bc09a28b348696139cea60b
--- /dev/null
+++ b/public_test_cases/p01303/input.1.txt
@@ -0,0 +1,13 @@
+2
+1 3 20 10
+4
+21 13
+1 15
+10 10
+25 10
+1 3 20 10
+4
+21 13
+1 15
+10 10
+25 10
diff --git a/public_test_cases/p01303/output.0.txt b/public_test_cases/p01303/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51993f072d5832f20b98b6bd0cf763fb8b4c8a1b
--- /dev/null
+++ b/public_test_cases/p01303/output.0.txt
@@ -0,0 +1,2 @@
+2
+2
diff --git a/public_test_cases/p01303/output.1.txt b/public_test_cases/p01303/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51993f072d5832f20b98b6bd0cf763fb8b4c8a1b
--- /dev/null
+++ b/public_test_cases/p01303/output.1.txt
@@ -0,0 +1,2 @@
+2
+2
diff --git a/public_test_cases/p01304/input.0.txt b/public_test_cases/p01304/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db1ce6f32afdcfcd352c920bbdf40d4889a6c374
--- /dev/null
+++ b/public_test_cases/p01304/input.0.txt
@@ -0,0 +1,15 @@
+4
+2 2
+0
+1 1
+2
+0 0 0 1
+0 0 1 0
+4 3
+4
+1 0 0 0
+3 3 4 3
+4 1 4 0
+0 2 0 3
+15 15
+0
diff --git a/public_test_cases/p01304/input.1.txt b/public_test_cases/p01304/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db1ce6f32afdcfcd352c920bbdf40d4889a6c374
--- /dev/null
+++ b/public_test_cases/p01304/input.1.txt
@@ -0,0 +1,15 @@
+4
+2 2
+0
+1 1
+2
+0 0 0 1
+0 0 1 0
+4 3
+4
+1 0 0 0
+3 3 4 3
+4 1 4 0
+0 2 0 3
+15 15
+0
diff --git a/public_test_cases/p01304/output.0.txt b/public_test_cases/p01304/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8814d77731b96237d5ddcc6fdd61dd1a2e4f94ca
--- /dev/null
+++ b/public_test_cases/p01304/output.0.txt
@@ -0,0 +1,4 @@
+6
+Miserable Hokusai!
+5
+155117520
diff --git a/public_test_cases/p01304/output.1.txt b/public_test_cases/p01304/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8814d77731b96237d5ddcc6fdd61dd1a2e4f94ca
--- /dev/null
+++ b/public_test_cases/p01304/output.1.txt
@@ -0,0 +1,4 @@
+6
+Miserable Hokusai!
+5
+155117520
diff --git a/public_test_cases/p01305/input.0.txt b/public_test_cases/p01305/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee1a130d2f9f274f73404ef354b23cd3c8098f98
--- /dev/null
+++ b/public_test_cases/p01305/input.0.txt
@@ -0,0 +1,5 @@
+2
+1 3 5 7 9 11 13 15 17
+2 4 6 8 10 12 14 16 18
+1 5 7 9 11 13 15 17 18
+2 3 4 6 8 10 12 14 16
diff --git a/public_test_cases/p01305/input.1.txt b/public_test_cases/p01305/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee1a130d2f9f274f73404ef354b23cd3c8098f98
--- /dev/null
+++ b/public_test_cases/p01305/input.1.txt
@@ -0,0 +1,5 @@
+2
+1 3 5 7 9 11 13 15 17
+2 4 6 8 10 12 14 16 18
+1 5 7 9 11 13 15 17 18
+2 3 4 6 8 10 12 14 16
diff --git a/public_test_cases/p01305/output.0.txt b/public_test_cases/p01305/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f277275b076aa5f252032d8f8b91c58d1931bca2
--- /dev/null
+++ b/public_test_cases/p01305/output.0.txt
@@ -0,0 +1,2 @@
+0.30891 0.69109
+0.92747 0.07253
diff --git a/public_test_cases/p01305/output.1.txt b/public_test_cases/p01305/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f277275b076aa5f252032d8f8b91c58d1931bca2
--- /dev/null
+++ b/public_test_cases/p01305/output.1.txt
@@ -0,0 +1,2 @@
+0.30891 0.69109
+0.92747 0.07253
diff --git a/public_test_cases/p01306/input.0.txt b/public_test_cases/p01306/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b66bca9dd97f4d2891f9aa2476700eb3e518e64
--- /dev/null
+++ b/public_test_cases/p01306/input.0.txt
@@ -0,0 +1,8 @@
+7
+12.3 kilo meters
+0.45 mega watts
+0.000000000000000000000001 yotta grams
+1000000000000000000000000 yocto seconds
+42 amperes
+0.42 joules
+1234.56789012345678901234567890 hecto pascals
diff --git a/public_test_cases/p01306/input.1.txt b/public_test_cases/p01306/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b66bca9dd97f4d2891f9aa2476700eb3e518e64
--- /dev/null
+++ b/public_test_cases/p01306/input.1.txt
@@ -0,0 +1,8 @@
+7
+12.3 kilo meters
+0.45 mega watts
+0.000000000000000000000001 yotta grams
+1000000000000000000000000 yocto seconds
+42 amperes
+0.42 joules
+1234.56789012345678901234567890 hecto pascals
diff --git a/public_test_cases/p01306/output.0.txt b/public_test_cases/p01306/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab6be12db9f4c5fb10b73d1cd7a453503d1608c4
--- /dev/null
+++ b/public_test_cases/p01306/output.0.txt
@@ -0,0 +1,7 @@
+1.23 * 10^4 meters
+4.5 * 10^5 watts
+1 * 10^0 grams
+1.000000000000000000000000 * 10^0 seconds
+4.2 * 10^1 amperes
+4.2 * 10^-1 joules
+1.23456789012345678901234567890 * 10^5 pascals
diff --git a/public_test_cases/p01306/output.1.txt b/public_test_cases/p01306/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab6be12db9f4c5fb10b73d1cd7a453503d1608c4
--- /dev/null
+++ b/public_test_cases/p01306/output.1.txt
@@ -0,0 +1,7 @@
+1.23 * 10^4 meters
+4.5 * 10^5 watts
+1 * 10^0 grams
+1.000000000000000000000000 * 10^0 seconds
+4.2 * 10^1 amperes
+4.2 * 10^-1 joules
+1.23456789012345678901234567890 * 10^5 pascals
diff --git a/public_test_cases/p01307/input.0.txt b/public_test_cases/p01307/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e576fd77a403af35c0819e66e401314c175c76a
--- /dev/null
+++ b/public_test_cases/p01307/input.0.txt
@@ -0,0 +1,4 @@
+3
+1234
+5555
+9
diff --git a/public_test_cases/p01307/input.1.txt b/public_test_cases/p01307/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e576fd77a403af35c0819e66e401314c175c76a
--- /dev/null
+++ b/public_test_cases/p01307/input.1.txt
@@ -0,0 +1,4 @@
+3
+1234
+5555
+9
diff --git a/public_test_cases/p01307/output.0.txt b/public_test_cases/p01307/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f42ed7177dbc64ecf0b40a4df62fff9478d0323e
--- /dev/null
+++ b/public_test_cases/p01307/output.0.txt
@@ -0,0 +1,3 @@
+Audrey wins.
+Fabre wins.
+Audrey wins.
diff --git a/public_test_cases/p01307/output.1.txt b/public_test_cases/p01307/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f42ed7177dbc64ecf0b40a4df62fff9478d0323e
--- /dev/null
+++ b/public_test_cases/p01307/output.1.txt
@@ -0,0 +1,3 @@
+Audrey wins.
+Fabre wins.
+Audrey wins.
diff --git a/public_test_cases/p01308/input.0.txt b/public_test_cases/p01308/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc05001e54037f8c3bddf31f302d652d2c7a77c0
--- /dev/null
+++ b/public_test_cases/p01308/input.0.txt
@@ -0,0 +1,13 @@
+4
+6 4
+C E D# F G A
+C E F G
+6 4
+C E D# F G A
+C D# F G
+3 6
+C D D
+D# B D B D# C#
+8 8
+C B B B B B F F
+C B B B B B B B
diff --git a/public_test_cases/p01308/input.1.txt b/public_test_cases/p01308/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc05001e54037f8c3bddf31f302d652d2c7a77c0
--- /dev/null
+++ b/public_test_cases/p01308/input.1.txt
@@ -0,0 +1,13 @@
+4
+6 4
+C E D# F G A
+C E F G
+6 4
+C E D# F G A
+C D# F G
+3 6
+C D D
+D# B D B D# C#
+8 8
+C B B B B B F F
+C B B B B B B B
diff --git a/public_test_cases/p01308/output.0.txt b/public_test_cases/p01308/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8108ded7943097dbb59a48405f78663efad42e90
--- /dev/null
+++ b/public_test_cases/p01308/output.0.txt
@@ -0,0 +1,4 @@
+Yes
+No
+Yes
+No
diff --git a/public_test_cases/p01308/output.1.txt b/public_test_cases/p01308/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8108ded7943097dbb59a48405f78663efad42e90
--- /dev/null
+++ b/public_test_cases/p01308/output.1.txt
@@ -0,0 +1,4 @@
+Yes
+No
+Yes
+No
diff --git a/public_test_cases/p01309/input.0.txt b/public_test_cases/p01309/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c825c498db0a572f9e8f551bf93badd4ac9c86
--- /dev/null
+++ b/public_test_cases/p01309/input.0.txt
@@ -0,0 +1,24 @@
+4
+3 3 5
+0 0
+10 0
+40 40
+40 90
+4 5 10
+100 100
+50 100
+50 150
+100 50
+100 150
+4 60 10
+100 100
+90 100
+110 100
+100 90
+100 110
+4 60 10
+100 100
+80 100
+110 100
+100 80
+100 110
diff --git a/public_test_cases/p01309/input.1.txt b/public_test_cases/p01309/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c825c498db0a572f9e8f551bf93badd4ac9c86
--- /dev/null
+++ b/public_test_cases/p01309/input.1.txt
@@ -0,0 +1,24 @@
+4
+3 3 5
+0 0
+10 0
+40 40
+40 90
+4 5 10
+100 100
+50 100
+50 150
+100 50
+100 150
+4 60 10
+100 100
+90 100
+110 100
+100 90
+100 110
+4 60 10
+100 100
+80 100
+110 100
+100 80
+100 110
diff --git a/public_test_cases/p01309/output.0.txt b/public_test_cases/p01309/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4031939a2288a78cbd4ea5cf8788f0b0b89473d4
--- /dev/null
+++ b/public_test_cases/p01309/output.0.txt
@@ -0,0 +1,4 @@
+9
+0
+60
+You're always welcome!
diff --git a/public_test_cases/p01309/output.1.txt b/public_test_cases/p01309/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4031939a2288a78cbd4ea5cf8788f0b0b89473d4
--- /dev/null
+++ b/public_test_cases/p01309/output.1.txt
@@ -0,0 +1,4 @@
+9
+0
+60
+You're always welcome!
diff --git a/public_test_cases/p01310/input.0.txt b/public_test_cases/p01310/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d75ecf3ea290c1766a10e96484f5c9b208b319e
--- /dev/null
+++ b/public_test_cases/p01310/input.0.txt
@@ -0,0 +1,16 @@
+4
+3 2 1
+20 1
+10 2
+5 7 3
+70 1
+60 4
+50 2
+40 4
+30 1
+20 3
+10 2
+1 0 1
+4 2 1
+10 1
+10 3
diff --git a/public_test_cases/p01310/input.1.txt b/public_test_cases/p01310/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d75ecf3ea290c1766a10e96484f5c9b208b319e
--- /dev/null
+++ b/public_test_cases/p01310/input.1.txt
@@ -0,0 +1,16 @@
+4
+3 2 1
+20 1
+10 2
+5 7 3
+70 1
+60 4
+50 2
+40 4
+30 1
+20 3
+10 2
+1 0 1
+4 2 1
+10 1
+10 3
diff --git a/public_test_cases/p01310/output.0.txt b/public_test_cases/p01310/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3eb584b1d7af4ccb1b070a7d932460ed5b5c7d5
--- /dev/null
+++ b/public_test_cases/p01310/output.0.txt
@@ -0,0 +1,13 @@
+1
+0
+1
+1
+0
+1
+1
+2
+0
+1
+0
+1
+2
diff --git a/public_test_cases/p01310/output.1.txt b/public_test_cases/p01310/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3eb584b1d7af4ccb1b070a7d932460ed5b5c7d5
--- /dev/null
+++ b/public_test_cases/p01310/output.1.txt
@@ -0,0 +1,13 @@
+1
+0
+1
+1
+0
+1
+1
+2
+0
+1
+0
+1
+2
diff --git a/public_test_cases/p01311/input.0.txt b/public_test_cases/p01311/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..761d7d1d82bfa1400477eb89132377e9d92e8167
--- /dev/null
+++ b/public_test_cases/p01311/input.0.txt
@@ -0,0 +1,17 @@
+2
+4 6
+1 2
+1 2 N
+2 3 N
+3 4 N
+4 1 N
+1 4 L
+4 0 L
+4 6
+1 2
+1 2 N
+2 3 N
+3 4 N
+4 1 N
+1 4 L
+4 0 N
diff --git a/public_test_cases/p01311/input.1.txt b/public_test_cases/p01311/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..761d7d1d82bfa1400477eb89132377e9d92e8167
--- /dev/null
+++ b/public_test_cases/p01311/input.1.txt
@@ -0,0 +1,17 @@
+2
+4 6
+1 2
+1 2 N
+2 3 N
+3 4 N
+4 1 N
+1 4 L
+4 0 L
+4 6
+1 2
+1 2 N
+2 3 N
+3 4 N
+4 1 N
+1 4 L
+4 0 N
diff --git a/public_test_cases/p01311/output.0.txt b/public_test_cases/p01311/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p01311/output.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p01311/output.1.txt b/public_test_cases/p01311/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p01311/output.1.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p01312/input.0.txt b/public_test_cases/p01312/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e49e6442664b715d9e31da1b395fe8ac7909126
--- /dev/null
+++ b/public_test_cases/p01312/input.0.txt
@@ -0,0 +1,13 @@
+2
+0 0
+0 0
+15:00:00
+18:00:00
+1
+4 0 7199 1125 7199 1125 8324 0 8324
+0 0
+0 0
+15:00:00
+18:00:00
+1
+4 0 7201 1125 7201 1125 8326 0 8326
diff --git a/public_test_cases/p01312/input.1.txt b/public_test_cases/p01312/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e49e6442664b715d9e31da1b395fe8ac7909126
--- /dev/null
+++ b/public_test_cases/p01312/input.1.txt
@@ -0,0 +1,13 @@
+2
+0 0
+0 0
+15:00:00
+18:00:00
+1
+4 0 7199 1125 7199 1125 8324 0 8324
+0 0
+0 0
+15:00:00
+18:00:00
+1
+4 0 7201 1125 7201 1125 8326 0 8326
diff --git a/public_test_cases/p01312/output.0.txt b/public_test_cases/p01312/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a905cc546837f700099f1c9ecb2e26a1bb75c303
--- /dev/null
+++ b/public_test_cases/p01312/output.0.txt
@@ -0,0 +1,4 @@
+1
+17 59 59.076923
+0
+15 00 00.000000
diff --git a/public_test_cases/p01312/output.1.txt b/public_test_cases/p01312/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a905cc546837f700099f1c9ecb2e26a1bb75c303
--- /dev/null
+++ b/public_test_cases/p01312/output.1.txt
@@ -0,0 +1,4 @@
+1
+17 59 59.076923
+0
+15 00 00.000000
diff --git a/public_test_cases/p01313/input.0.txt b/public_test_cases/p01313/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43b66826b330595fcf1f0cf963af92253e8d5337
--- /dev/null
+++ b/public_test_cases/p01313/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 1
+1 3
+1 4
+2 2
diff --git a/public_test_cases/p01313/output.0.txt b/public_test_cases/p01313/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6add108a1a5cbe07c2bd3c6e0f92e9f52d415eba
--- /dev/null
+++ b/public_test_cases/p01313/output.0.txt
@@ -0,0 +1,8 @@
+1 5
+2 7
+7 119
+No cats.
+13 53
+18 63
+33 88
+35 91
diff --git a/public_test_cases/p01314/input.0.txt b/public_test_cases/p01314/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38d74319b84dfccff5cf0cc3a7bfae35268b41ce
--- /dev/null
+++ b/public_test_cases/p01314/input.0.txt
@@ -0,0 +1,3 @@
+9
+500
+0
diff --git a/public_test_cases/p01314/input.1.txt b/public_test_cases/p01314/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38d74319b84dfccff5cf0cc3a7bfae35268b41ce
--- /dev/null
+++ b/public_test_cases/p01314/input.1.txt
@@ -0,0 +1,3 @@
+9
+500
+0
diff --git a/public_test_cases/p01314/output.0.txt b/public_test_cases/p01314/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4792e70f333077a81456ca2bc74e492ab8bb58c3
--- /dev/null
+++ b/public_test_cases/p01314/output.0.txt
@@ -0,0 +1,2 @@
+2
+3
diff --git a/public_test_cases/p01314/output.1.txt b/public_test_cases/p01314/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4792e70f333077a81456ca2bc74e492ab8bb58c3
--- /dev/null
+++ b/public_test_cases/p01314/output.1.txt
@@ -0,0 +1,2 @@
+2
+3
diff --git a/public_test_cases/p01315/input.0.txt b/public_test_cases/p01315/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b27661a0169a19411acd00271fce8bb570714cdd
--- /dev/null
+++ b/public_test_cases/p01315/input.0.txt
@@ -0,0 +1,16 @@
+5
+apple 1 1 1 1 1 1 1 10 1
+banana 1 2 2 2 2 2 1 10 1
+carrot 1 2 2 2 2 2 1 10 2
+durian 1 3 3 3 3 3 1 10 1
+eggplant 1 3 3 3 3 3 1 100 1
+4
+enoki 1 3 3 3 3 3 1 10 1
+tomato 1 3 3 3 3 3 1 10 1
+potato 1 3 3 3 3 3 1 10 1
+onion 1 3 3 3 3 3 1 10 1
+3
+a 10 1 1 1 1 1 1 10 1
+b 10 2 2 2 2 2 2 10 1
+c 10 2 2 2 2 2 2 10 1
+0
diff --git a/public_test_cases/p01315/input.1.txt b/public_test_cases/p01315/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b27661a0169a19411acd00271fce8bb570714cdd
--- /dev/null
+++ b/public_test_cases/p01315/input.1.txt
@@ -0,0 +1,16 @@
+5
+apple 1 1 1 1 1 1 1 10 1
+banana 1 2 2 2 2 2 1 10 1
+carrot 1 2 2 2 2 2 1 10 2
+durian 1 3 3 3 3 3 1 10 1
+eggplant 1 3 3 3 3 3 1 100 1
+4
+enoki 1 3 3 3 3 3 1 10 1
+tomato 1 3 3 3 3 3 1 10 1
+potato 1 3 3 3 3 3 1 10 1
+onion 1 3 3 3 3 3 1 10 1
+3
+a 10 1 1 1 1 1 1 10 1
+b 10 2 2 2 2 2 2 10 1
+c 10 2 2 2 2 2 2 10 1
+0
diff --git a/public_test_cases/p01315/output.0.txt b/public_test_cases/p01315/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fd03f79c6efab99cb79ab1e822941297152e0a0
--- /dev/null
+++ b/public_test_cases/p01315/output.0.txt
@@ -0,0 +1,15 @@
+eggplant
+apple
+carrot
+banana
+durian
+#
+enoki
+onion
+potato
+tomato
+#
+b
+c
+a
+#
diff --git a/public_test_cases/p01315/output.1.txt b/public_test_cases/p01315/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fd03f79c6efab99cb79ab1e822941297152e0a0
--- /dev/null
+++ b/public_test_cases/p01315/output.1.txt
@@ -0,0 +1,15 @@
+eggplant
+apple
+carrot
+banana
+durian
+#
+enoki
+onion
+potato
+tomato
+#
+b
+c
+a
+#
diff --git a/public_test_cases/p01316/input.0.txt b/public_test_cases/p01316/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dd65b73701a783490bf55b87427cd86992a985b
--- /dev/null
+++ b/public_test_cases/p01316/input.0.txt
@@ -0,0 +1,52 @@
+2 7
+4
+2
+1
+0
+-1
+-2
+-4
+131
+137
+2 7
+4
+2
+1
+0
+-1
+-2
+-4
+131
+123
+10 7
+-4
+-2
+-1
+0
+1
+2
+4
+132
+134
+135
+134
+132
+128
+124
+122
+121
+122
+5 1
+255
+0
+0
+0
+0
+0
+4 1
+0
+255
+0
+255
+0
+0 0
diff --git a/public_test_cases/p01316/input.1.txt b/public_test_cases/p01316/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dd65b73701a783490bf55b87427cd86992a985b
--- /dev/null
+++ b/public_test_cases/p01316/input.1.txt
@@ -0,0 +1,52 @@
+2 7
+4
+2
+1
+0
+-1
+-2
+-4
+131
+137
+2 7
+4
+2
+1
+0
+-1
+-2
+-4
+131
+123
+10 7
+-4
+-2
+-1
+0
+1
+2
+4
+132
+134
+135
+134
+132
+128
+124
+122
+121
+122
+5 1
+255
+0
+0
+0
+0
+0
+4 1
+0
+255
+0
+255
+0
+0 0
diff --git a/public_test_cases/p01316/output.0.txt b/public_test_cases/p01316/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..350d4463f5c54c9a7ddfa73d296b6747c04c65e6
--- /dev/null
+++ b/public_test_cases/p01316/output.0.txt
@@ -0,0 +1,5 @@
+2
+8
+0
+325125
+65026
diff --git a/public_test_cases/p01316/output.1.txt b/public_test_cases/p01316/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..350d4463f5c54c9a7ddfa73d296b6747c04c65e6
--- /dev/null
+++ b/public_test_cases/p01316/output.1.txt
@@ -0,0 +1,5 @@
+2
+8
+0
+325125
+65026
diff --git a/public_test_cases/p01317/input.0.txt b/public_test_cases/p01317/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2a7f58137e48c757636ffa90ae413996438076e
--- /dev/null
+++ b/public_test_cases/p01317/input.0.txt
@@ -0,0 +1,15 @@
+3 3
+1 2 5 L
+1 2 7 S
+2 3 11 S
+3
+1 2 3
+5 5
+1 2 15 L
+2 3 10 L
+4 5 7 L
+1 3 30 S
+3 4 100 S
+5
+1 3 5 4 1
+0 0
diff --git a/public_test_cases/p01317/input.1.txt b/public_test_cases/p01317/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2a7f58137e48c757636ffa90ae413996438076e
--- /dev/null
+++ b/public_test_cases/p01317/input.1.txt
@@ -0,0 +1,15 @@
+3 3
+1 2 5 L
+1 2 7 S
+2 3 11 S
+3
+1 2 3
+5 5
+1 2 15 L
+2 3 10 L
+4 5 7 L
+1 3 30 S
+3 4 100 S
+5
+1 3 5 4 1
+0 0
diff --git a/public_test_cases/p01317/output.0.txt b/public_test_cases/p01317/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27e9431df7d57586f781b0f7f392722e3191a85a
--- /dev/null
+++ b/public_test_cases/p01317/output.0.txt
@@ -0,0 +1,2 @@
+18
+269
diff --git a/public_test_cases/p01317/output.1.txt b/public_test_cases/p01317/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27e9431df7d57586f781b0f7f392722e3191a85a
--- /dev/null
+++ b/public_test_cases/p01317/output.1.txt
@@ -0,0 +1,2 @@
+18
+269
diff --git a/public_test_cases/p01318/input.0.txt b/public_test_cases/p01318/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6024cfc3322cbd1994bf4d10c3812d97faf5f013
--- /dev/null
+++ b/public_test_cases/p01318/input.0.txt
@@ -0,0 +1,22 @@
+6
+-2 -2 1 1
+2 2 2 0
+5 7 1 1
+8 0 3 1
+13 4 1 1
+16 1 1 2
+3
+0 0 2 1
+10 0 2 1
+0 10 2 1
+3
+0 0 2 1
+10 0 2 1
+0 6 2 1
+3
+0 0 2 1
+10 0 2 1
+0 4 2 1
+1
+0 0 1 1
+0
diff --git a/public_test_cases/p01318/input.1.txt b/public_test_cases/p01318/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6024cfc3322cbd1994bf4d10c3812d97faf5f013
--- /dev/null
+++ b/public_test_cases/p01318/input.1.txt
@@ -0,0 +1,22 @@
+6
+-2 -2 1 1
+2 2 2 0
+5 7 1 1
+8 0 3 1
+13 4 1 1
+16 1 1 2
+3
+0 0 2 1
+10 0 2 1
+0 10 2 1
+3
+0 0 2 1
+10 0 2 1
+0 6 2 1
+3
+0 0 2 1
+10 0 2 1
+0 4 2 1
+1
+0 0 1 1
+0
diff --git a/public_test_cases/p01318/output.0.txt b/public_test_cases/p01318/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b3da84cf16d1c98e5101c7fdd8c85099dfa49ef
--- /dev/null
+++ b/public_test_cases/p01318/output.0.txt
@@ -0,0 +1,5 @@
+4
+2
+3
+3
+1
diff --git a/public_test_cases/p01318/output.1.txt b/public_test_cases/p01318/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b3da84cf16d1c98e5101c7fdd8c85099dfa49ef
--- /dev/null
+++ b/public_test_cases/p01318/output.1.txt
@@ -0,0 +1,5 @@
+4
+2
+3
+3
+1
diff --git a/public_test_cases/p01319/input.0.txt b/public_test_cases/p01319/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a04fcc09f0d68e5399dd0d9b30ac59886764088
--- /dev/null
+++ b/public_test_cases/p01319/input.0.txt
@@ -0,0 +1,19 @@
+1 1 100
+50 200 20 40 0
+1
+2 4 100
+7 4 1 4 1
+19 5 1 4 0
+5
+3
+7
+9
+1 2 3
+1 1 1 1 0
+1
+3
+1 2 10
+5 10 1 1 1
+2
+3
+0 0 0
diff --git a/public_test_cases/p01319/input.1.txt b/public_test_cases/p01319/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a04fcc09f0d68e5399dd0d9b30ac59886764088
--- /dev/null
+++ b/public_test_cases/p01319/input.1.txt
@@ -0,0 +1,19 @@
+1 1 100
+50 200 20 40 0
+1
+2 4 100
+7 4 1 4 1
+19 5 1 4 0
+5
+3
+7
+9
+1 2 3
+1 1 1 1 0
+1
+3
+1 2 10
+5 10 1 1 1
+2
+3
+0 0 0
diff --git a/public_test_cases/p01319/output.0.txt b/public_test_cases/p01319/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a68c36c32e69b2b0850c8b63cdbb60b38b37fb
--- /dev/null
+++ b/public_test_cases/p01319/output.0.txt
@@ -0,0 +1,4 @@
+110
+46.6666666667
+5
+41.6666666667
diff --git a/public_test_cases/p01319/output.1.txt b/public_test_cases/p01319/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a68c36c32e69b2b0850c8b63cdbb60b38b37fb
--- /dev/null
+++ b/public_test_cases/p01319/output.1.txt
@@ -0,0 +1,4 @@
+110
+46.6666666667
+5
+41.6666666667
diff --git a/public_test_cases/p01320/input.0.txt b/public_test_cases/p01320/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d90f24eaa1ee740a432e5790031db68bf8ffea5a
--- /dev/null
+++ b/public_test_cases/p01320/input.0.txt
@@ -0,0 +1,12 @@
+4 4 1
+1 0
+0 1
+-1 0
+0 -1
+5 6 2
+1 1
+4 4
+2 -4
+-4 2
+1 5
+0 0 0
diff --git a/public_test_cases/p01320/input.1.txt b/public_test_cases/p01320/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d90f24eaa1ee740a432e5790031db68bf8ffea5a
--- /dev/null
+++ b/public_test_cases/p01320/input.1.txt
@@ -0,0 +1,12 @@
+4 4 1
+1 0
+0 1
+-1 0
+0 -1
+5 6 2
+1 1
+4 4
+2 -4
+-4 2
+1 5
+0 0 0
diff --git a/public_test_cases/p01320/output.0.txt b/public_test_cases/p01320/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94557bf9e9b7dbda9533d9090d3890cdf9aac673
--- /dev/null
+++ b/public_test_cases/p01320/output.0.txt
@@ -0,0 +1,2 @@
+1.000000000
+6.797434948
diff --git a/public_test_cases/p01320/output.1.txt b/public_test_cases/p01320/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94557bf9e9b7dbda9533d9090d3890cdf9aac673
--- /dev/null
+++ b/public_test_cases/p01320/output.1.txt
@@ -0,0 +1,2 @@
+1.000000000
+6.797434948
diff --git a/public_test_cases/p01321/input.0.txt b/public_test_cases/p01321/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a16d99e67105414cd0deeb30039a9291fea3a25a
--- /dev/null
+++ b/public_test_cases/p01321/input.0.txt
@@ -0,0 +1,10 @@
+3
+49 50 87 78 41
+27 61 100 45 84
+28 88 40 95 66
+2
+100 100 100 100 100
+0 0 0 0 0
+1
+89 90 85 93 82
+0
diff --git a/public_test_cases/p01321/input.1.txt b/public_test_cases/p01321/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a16d99e67105414cd0deeb30039a9291fea3a25a
--- /dev/null
+++ b/public_test_cases/p01321/input.1.txt
@@ -0,0 +1,10 @@
+3
+49 50 87 78 41
+27 61 100 45 84
+28 88 40 95 66
+2
+100 100 100 100 100
+0 0 0 0 0
+1
+89 90 85 93 82
+0
diff --git a/public_test_cases/p01321/input.2.txt b/public_test_cases/p01321/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0ccd4b00dc7ff4ec4bd42d67d461f509b265b41
--- /dev/null
+++ b/public_test_cases/p01321/input.2.txt
@@ -0,0 +1,3 @@
+2
+100 100 100 100 100
+0 0 0 0 0
diff --git a/public_test_cases/p01321/input.3.txt b/public_test_cases/p01321/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de9426d6e387247bcaf97471859fbc9e015c5f0c
--- /dev/null
+++ b/public_test_cases/p01321/input.3.txt
@@ -0,0 +1,2 @@
+1
+89 90 85 93 82
diff --git a/public_test_cases/p01321/input.4.txt b/public_test_cases/p01321/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e20df62744a6202afee4d72ccf20d3a6ab3fd138
--- /dev/null
+++ b/public_test_cases/p01321/input.4.txt
@@ -0,0 +1,4 @@
+3
+49 50 87 78 41
+27 61 100 45 84
+28 88 40 95 66
diff --git a/public_test_cases/p01321/output.0.txt b/public_test_cases/p01321/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58d6edc1e0919fe44087ae1a6570c793f08fa87d
--- /dev/null
+++ b/public_test_cases/p01321/output.0.txt
@@ -0,0 +1,3 @@
+317 305
+500 0
+439 439
diff --git a/public_test_cases/p01321/output.1.txt b/public_test_cases/p01321/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58d6edc1e0919fe44087ae1a6570c793f08fa87d
--- /dev/null
+++ b/public_test_cases/p01321/output.1.txt
@@ -0,0 +1,3 @@
+317 305
+500 0
+439 439
diff --git a/public_test_cases/p01321/output.2.txt b/public_test_cases/p01321/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..221202e49da0c4c4be5952b355c2f909d518ff0f
--- /dev/null
+++ b/public_test_cases/p01321/output.2.txt
@@ -0,0 +1 @@
+500 0
diff --git a/public_test_cases/p01321/output.3.txt b/public_test_cases/p01321/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce6ba0b2bdcac285bd25d321c9702ce235bda6b2
--- /dev/null
+++ b/public_test_cases/p01321/output.3.txt
@@ -0,0 +1 @@
+439 439
diff --git a/public_test_cases/p01321/output.4.txt b/public_test_cases/p01321/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3dc63d64d7260690913c4023fee1c2e79540d7b
--- /dev/null
+++ b/public_test_cases/p01321/output.4.txt
@@ -0,0 +1 @@
+317 305
diff --git a/public_test_cases/p01322/input.0.txt b/public_test_cases/p01322/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..befe663848822a7d08d2b8779868ceca71046eb0
--- /dev/null
+++ b/public_test_cases/p01322/input.0.txt
@@ -0,0 +1,29 @@
+3 3
+*******1 100
+******22 1000
+11111112 1000000
+01203291
+02382022
+11111111
+10 10
+****3228 149416
+****3992 198635
+****4286 77783
+****4843 225244
+***49835 231046
+***59393 379996
+*5763748 437345
+*6726222 58054
+*8117882 16375
+*9244339 537727
+77885716
+96726222
+26971031
+66652868
+89599648
+37772338
+64679621
+65479161
+92959393
+57855682
+0 0
diff --git a/public_test_cases/p01322/input.1.txt b/public_test_cases/p01322/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..befe663848822a7d08d2b8779868ceca71046eb0
--- /dev/null
+++ b/public_test_cases/p01322/input.1.txt
@@ -0,0 +1,29 @@
+3 3
+*******1 100
+******22 1000
+11111112 1000000
+01203291
+02382022
+11111111
+10 10
+****3228 149416
+****3992 198635
+****4286 77783
+****4843 225244
+***49835 231046
+***59393 379996
+*5763748 437345
+*6726222 58054
+*8117882 16375
+*9244339 537727
+77885716
+96726222
+26971031
+66652868
+89599648
+37772338
+64679621
+65479161
+92959393
+57855682
+0 0
diff --git a/public_test_cases/p01322/input.2.txt b/public_test_cases/p01322/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4a7a25fbcb1ac66f0f2a36286d30832dc340f07
--- /dev/null
+++ b/public_test_cases/p01322/input.2.txt
@@ -0,0 +1,7 @@
+3 3
+*******1 100
+******22 1000
+11111112 1000000
+01203291
+02382022
+11111111
diff --git a/public_test_cases/p01322/input.3.txt b/public_test_cases/p01322/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43a09c89bcea6c9a49b87007529ccc94d08badf8
--- /dev/null
+++ b/public_test_cases/p01322/input.3.txt
@@ -0,0 +1,21 @@
+10 10
+****3228 149416
+****3992 198635
+****4286 77783
+****4843 225244
+***49835 231046
+***59393 379996
+*5763748 437345
+*6726222 58054
+*8117882 16375
+*9244339 537727
+77885716
+96726222
+26971031
+66652868
+89599648
+37772338
+64679621
+65479161
+92959393
+57855682
diff --git a/public_test_cases/p01322/output.0.txt b/public_test_cases/p01322/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9669651e3a9b60f681ea9e4836efdd365242774
--- /dev/null
+++ b/public_test_cases/p01322/output.0.txt
@@ -0,0 +1,2 @@
+1200
+438050
diff --git a/public_test_cases/p01322/output.1.txt b/public_test_cases/p01322/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9669651e3a9b60f681ea9e4836efdd365242774
--- /dev/null
+++ b/public_test_cases/p01322/output.1.txt
@@ -0,0 +1,2 @@
+1200
+438050
diff --git a/public_test_cases/p01322/output.2.txt b/public_test_cases/p01322/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59a3ec59b53573619be25381cf973b173e2a60ba
--- /dev/null
+++ b/public_test_cases/p01322/output.2.txt
@@ -0,0 +1 @@
+1200
diff --git a/public_test_cases/p01322/output.3.txt b/public_test_cases/p01322/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cef62d58221b55152f330b41ca21b6983e1825e4
--- /dev/null
+++ b/public_test_cases/p01322/output.3.txt
@@ -0,0 +1 @@
+438050
diff --git a/public_test_cases/p01323/input.0.txt b/public_test_cases/p01323/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa94c4db899cd9fb97f051661124de45aa71bef6
--- /dev/null
+++ b/public_test_cases/p01323/input.0.txt
@@ -0,0 +1,37 @@
+3
+......
+......
+......
+......
+......
+......
+......
+......
+.RGB..
+RGOP..
+RGBPB.
+RGBPP.
+GBRGYP
+GBRRYP
+BGGRBB
+BPRGYY
+GGPRRY
+BYPPRB
+YGGGPB
+GYYYPR
+YRBRBR
+YBRBRB
+BRBRBR
+BRBRBR
+......
+......
+......
+......
+......
+......
+......
+......
+......
+......
+..OO..
+..OO..
diff --git a/public_test_cases/p01323/input.1.txt b/public_test_cases/p01323/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa94c4db899cd9fb97f051661124de45aa71bef6
--- /dev/null
+++ b/public_test_cases/p01323/input.1.txt
@@ -0,0 +1,37 @@
+3
+......
+......
+......
+......
+......
+......
+......
+......
+.RGB..
+RGOP..
+RGBPB.
+RGBPP.
+GBRGYP
+GBRRYP
+BGGRBB
+BPRGYY
+GGPRRY
+BYPPRB
+YGGGPB
+GYYYPR
+YRBRBR
+YBRBRB
+BRBRBR
+BRBRBR
+......
+......
+......
+......
+......
+......
+......
+......
+......
+......
+..OO..
+..OO..
diff --git a/public_test_cases/p01323/output.0.txt b/public_test_cases/p01323/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9888c2468189dca538ed5f7c638d2fe24284f9c2
--- /dev/null
+++ b/public_test_cases/p01323/output.0.txt
@@ -0,0 +1,3 @@
+3
+18
+0
diff --git a/public_test_cases/p01323/output.1.txt b/public_test_cases/p01323/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9888c2468189dca538ed5f7c638d2fe24284f9c2
--- /dev/null
+++ b/public_test_cases/p01323/output.1.txt
@@ -0,0 +1,3 @@
+3
+18
+0
diff --git a/public_test_cases/p01324/input.0.txt b/public_test_cases/p01324/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..622db439075b561aa0193e01241522831787e5f0
--- /dev/null
+++ b/public_test_cases/p01324/input.0.txt
@@ -0,0 +1,23 @@
+3
+1 km = 10^3 m
+1 m = 10^2 cm
+1 km = 10^5 cm
+7
+1 kilometre = 10^3 metre
+1 megametre = 10^3 kilometre
+1 metre = 10^-6 megametre
+1 terametre = 10^3 gigametre
+1 petametre = 10^3 terametre
+1 gigametre = 10^-6 petametre
+1 metre = 10^-15 petametre
+4
+1 a = 10^2 b
+1 a = 10^3 c
+1 b = 10^2 c
+1 c = 10^1 d
+4
+1 acm = 10^2 icpc
+1 icpc = 10^3 utpc
+1 utpc = 10^4 topcoder
+1 topcoder = 10^-1 acm
+0
diff --git a/public_test_cases/p01324/input.1.txt b/public_test_cases/p01324/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32650d341d8da62f36a847c927dec674d701ecd7
--- /dev/null
+++ b/public_test_cases/p01324/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 km = 10^3 m
+1 m = 10^2 cm
+1 km = 10^5 cm
diff --git a/public_test_cases/p01324/input.2.txt b/public_test_cases/p01324/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c10af45022e9fa841f257e7968d324876d62436a
--- /dev/null
+++ b/public_test_cases/p01324/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 acm = 10^2 icpc
+1 icpc = 10^3 utpc
+1 utpc = 10^4 topcoder
+1 topcoder = 10^-1 acm
diff --git a/public_test_cases/p01324/input.3.txt b/public_test_cases/p01324/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71e9ebd763eab48e9083e67ce7d516fd6585b133
--- /dev/null
+++ b/public_test_cases/p01324/input.3.txt
@@ -0,0 +1,8 @@
+7
+1 kilometre = 10^3 metre
+1 megametre = 10^3 kilometre
+1 metre = 10^-6 megametre
+1 terametre = 10^3 gigametre
+1 petametre = 10^3 terametre
+1 gigametre = 10^-6 petametre
+1 metre = 10^-15 petametre
diff --git a/public_test_cases/p01324/input.4.txt b/public_test_cases/p01324/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b89d1c349c3bf6d8fc354ce4de4161bfd5d1648d
--- /dev/null
+++ b/public_test_cases/p01324/input.4.txt
@@ -0,0 +1,5 @@
+4
+1 a = 10^2 b
+1 a = 10^3 c
+1 b = 10^2 c
+1 c = 10^1 d
diff --git a/public_test_cases/p01324/input.5.txt b/public_test_cases/p01324/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..622db439075b561aa0193e01241522831787e5f0
--- /dev/null
+++ b/public_test_cases/p01324/input.5.txt
@@ -0,0 +1,23 @@
+3
+1 km = 10^3 m
+1 m = 10^2 cm
+1 km = 10^5 cm
+7
+1 kilometre = 10^3 metre
+1 megametre = 10^3 kilometre
+1 metre = 10^-6 megametre
+1 terametre = 10^3 gigametre
+1 petametre = 10^3 terametre
+1 gigametre = 10^-6 petametre
+1 metre = 10^-15 petametre
+4
+1 a = 10^2 b
+1 a = 10^3 c
+1 b = 10^2 c
+1 c = 10^1 d
+4
+1 acm = 10^2 icpc
+1 icpc = 10^3 utpc
+1 utpc = 10^4 topcoder
+1 topcoder = 10^-1 acm
+0
diff --git a/public_test_cases/p01324/output.0.txt b/public_test_cases/p01324/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e2693a6a646517947eac7e545ff980e868b191f
--- /dev/null
+++ b/public_test_cases/p01324/output.0.txt
@@ -0,0 +1,4 @@
+Yes
+Yes
+No
+No
diff --git a/public_test_cases/p01324/output.1.txt b/public_test_cases/p01324/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01324/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01324/output.2.txt b/public_test_cases/p01324/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01324/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01324/output.3.txt b/public_test_cases/p01324/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01324/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01324/output.4.txt b/public_test_cases/p01324/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01324/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01324/output.5.txt b/public_test_cases/p01324/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e2693a6a646517947eac7e545ff980e868b191f
--- /dev/null
+++ b/public_test_cases/p01324/output.5.txt
@@ -0,0 +1,4 @@
+Yes
+Yes
+No
+No
diff --git a/public_test_cases/p01325/input.0.txt b/public_test_cases/p01325/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be17aba850feaeb5cf834269d1523c5443c9bb69
--- /dev/null
+++ b/public_test_cases/p01325/input.0.txt
@@ -0,0 +1,10 @@
+2
+1 2
+2 1
+3
+2 1 2
+2 1 2
+10
+0 1 1 2 5 5 5 8 8 9
+0 1 3 3 3 6 6 6 7 9
+0
diff --git a/public_test_cases/p01325/input.1.txt b/public_test_cases/p01325/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be17aba850feaeb5cf834269d1523c5443c9bb69
--- /dev/null
+++ b/public_test_cases/p01325/input.1.txt
@@ -0,0 +1,10 @@
+2
+1 2
+2 1
+3
+2 1 2
+2 1 2
+10
+0 1 1 2 5 5 5 8 8 9
+0 1 3 3 3 6 6 6 7 9
+0
diff --git a/public_test_cases/p01325/input.2.txt b/public_test_cases/p01325/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa7d0f0f1e28959d848625a44b83ea744d8ff49d
--- /dev/null
+++ b/public_test_cases/p01325/input.2.txt
@@ -0,0 +1,3 @@
+10
+0 1 1 2 5 5 5 8 8 9
+0 1 3 3 3 6 6 6 7 9
diff --git a/public_test_cases/p01325/input.3.txt b/public_test_cases/p01325/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df4c71bf55331ba9589f15a71b8c771322bb9597
--- /dev/null
+++ b/public_test_cases/p01325/input.3.txt
@@ -0,0 +1,3 @@
+3
+2 1 2
+2 1 2
diff --git a/public_test_cases/p01325/input.4.txt b/public_test_cases/p01325/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc5603f7239f6d1e1aed210053e696b76f11df91
--- /dev/null
+++ b/public_test_cases/p01325/input.4.txt
@@ -0,0 +1,3 @@
+2
+1 2
+2 1
diff --git a/public_test_cases/p01325/output.0.txt b/public_test_cases/p01325/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef5c0439807192f2948a416361d3fec90374dac
--- /dev/null
+++ b/public_test_cases/p01325/output.0.txt
@@ -0,0 +1,3 @@
+Yes
+No
+Yes
diff --git a/public_test_cases/p01325/output.1.txt b/public_test_cases/p01325/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef5c0439807192f2948a416361d3fec90374dac
--- /dev/null
+++ b/public_test_cases/p01325/output.1.txt
@@ -0,0 +1,3 @@
+Yes
+No
+Yes
diff --git a/public_test_cases/p01325/output.2.txt b/public_test_cases/p01325/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01325/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01325/output.3.txt b/public_test_cases/p01325/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01325/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01325/output.4.txt b/public_test_cases/p01325/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01325/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01326/input.0.txt b/public_test_cases/p01326/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc57055ba73724b28e787502610a3e37d067078a
--- /dev/null
+++ b/public_test_cases/p01326/input.0.txt
@@ -0,0 +1,16 @@
+1
+xxxxxxxx
+3
+11100000
+10x00000
+10111111
+3
+11100000
+10000000
+10111111
+4
+xxxxxxxx
+xxxxxxxx
+xxxxxxxx
+xxxxxxxx
+0
diff --git a/public_test_cases/p01326/input.1.txt b/public_test_cases/p01326/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85cc31978b4aef24f5b8c368ff8ad3b790724ed2
--- /dev/null
+++ b/public_test_cases/p01326/input.1.txt
@@ -0,0 +1,2 @@
+1
+xxxxxxxx
diff --git a/public_test_cases/p01326/input.2.txt b/public_test_cases/p01326/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc57055ba73724b28e787502610a3e37d067078a
--- /dev/null
+++ b/public_test_cases/p01326/input.2.txt
@@ -0,0 +1,16 @@
+1
+xxxxxxxx
+3
+11100000
+10x00000
+10111111
+3
+11100000
+10000000
+10111111
+4
+xxxxxxxx
+xxxxxxxx
+xxxxxxxx
+xxxxxxxx
+0
diff --git a/public_test_cases/p01326/input.3.txt b/public_test_cases/p01326/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ab018ecfcd548d0c9621ab1fb398c4d38b89c76
--- /dev/null
+++ b/public_test_cases/p01326/input.3.txt
@@ -0,0 +1,4 @@
+3
+11100000
+10000000
+10111111
diff --git a/public_test_cases/p01326/input.4.txt b/public_test_cases/p01326/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8263f5e9f89377dc64c2bcb6312778c2a0534ce3
--- /dev/null
+++ b/public_test_cases/p01326/input.4.txt
@@ -0,0 +1,4 @@
+3
+11100000
+10x00000
+10111111
diff --git a/public_test_cases/p01326/input.5.txt b/public_test_cases/p01326/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6b2e745d0d90365e488fe332e0d57e7be1629c6
--- /dev/null
+++ b/public_test_cases/p01326/input.5.txt
@@ -0,0 +1,5 @@
+4
+xxxxxxxx
+xxxxxxxx
+xxxxxxxx
+xxxxxxxx
diff --git a/public_test_cases/p01326/output.0.txt b/public_test_cases/p01326/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5f1ad8af3585b2b9bb6c942ceb52a7574bf2acd
--- /dev/null
+++ b/public_test_cases/p01326/output.0.txt
@@ -0,0 +1,4 @@
+128
+1
+0
+778240
diff --git a/public_test_cases/p01326/output.1.txt b/public_test_cases/p01326/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a949a93dfcca659638ff00284e1d1703accef77a
--- /dev/null
+++ b/public_test_cases/p01326/output.1.txt
@@ -0,0 +1 @@
+128
diff --git a/public_test_cases/p01326/output.2.txt b/public_test_cases/p01326/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5f1ad8af3585b2b9bb6c942ceb52a7574bf2acd
--- /dev/null
+++ b/public_test_cases/p01326/output.2.txt
@@ -0,0 +1,4 @@
+128
+1
+0
+778240
diff --git a/public_test_cases/p01326/output.3.txt b/public_test_cases/p01326/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01326/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01326/output.4.txt b/public_test_cases/p01326/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01326/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01326/output.5.txt b/public_test_cases/p01326/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87dfba2c8c4721d2fff6ff2e0a74d43b4c6b42d6
--- /dev/null
+++ b/public_test_cases/p01326/output.5.txt
@@ -0,0 +1 @@
+778240
diff --git a/public_test_cases/p01327/input.0.txt b/public_test_cases/p01327/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2cc1186600f8d3bce35926bd021dac9e13c2ba6
--- /dev/null
+++ b/public_test_cases/p01327/input.0.txt
@@ -0,0 +1,1244 @@
+3
+7/7 18:30
+3
+Aquila 8
+359.216 -32.936
+358.624 -49.913
+352.155 -43.404
+346.852 -35.279
+345.110 -36.796
+342.448 -44.407
+343.088 -38.981
+336.070 -43.369
+Cygnus 11
+357.838 6.615
+355.808 5.107
+353.475 -18.553
+348.868 -10.771
+347.949 1.298
+344.907 -4.637
+342.909 1.163
+338.483 -9.293
+338.854 -1.786
+338.515 1.304
+331.752 -10.737
+Lyra 4
+5.063 -7.812
+2.708 -13.386
+1.327 -2.841
+0.815 -14.109
+9/3 02:40
+3
+SevenStars 7
+40.483 50.729
+48.968 50.637
+50.421 42.796
+44.855 40.960
+43.493 35.637
+42.111 31.430
+44.997 25.256
+SummerTriangle 3
+342.909 1.163
+345.110 -36.796
+5.063 -7.812
+WinterTriangle 3
+165.368 51.176
+207.400 51.262
+184.960 31.381
+7/7 19:00
+91
+Andromeda 25
+300.224 10.559
+313.114 22.235
+304.593 17.311
+305.145 18.508
+299.557 18.169
+295.825 15.561
+296.928 16.703
+290.573 13.699
+304.020 24.766
+300.872 24.287
+296.636 24.636
+304.470 32.153
+303.783 32.893
+298.697 32.261
+306.181 35.986
+296.619 37.096
+301.005 41.728
+319.394 10.944
+323.303 16.879
+313.853 10.187
+313.295 13.504
+317.463 18.294
+315.012 16.124
+315.502 17.165
+316.369 19.322
+Antila 5
+150.199 5.822
+143.663 11.282
+144.808 2.868
+138.069 2.334
+136.680 -6.080
+Apus 6
+159.498 -45.403
+165.358 -47.196
+157.404 -51.717
+166.529 -52.133
+167.065 -52.812
+162.765 -60.430
+Aquarius 28
+318.790 -48.408
+321.209 -45.287
+318.270 -46.509
+310.269 -47.366
+305.625 -45.668
+308.937 -39.175
+306.021 -39.676
+303.902 -30.310
+293.964 -39.757
+296.515 -33.643
+282.661 -42.871
+299.661 -28.583
+300.287 -26.468
+290.965 -33.635
+281.107 -39.811
+297.231 -25.827
+293.848 -28.361
+279.450 -36.914
+284.435 -32.529
+288.734 -27.776
+281.899 -32.844
+273.078 -34.510
+284.834 -23.654
+282.207 -25.447
+282.043 -24.537
+271.558 -31.463
+273.631 -23.685
+269.813 -26.206
+Aquila 19
+0.874 -31.730
+359.216 -32.936
+358.624 -49.913
+355.895 -52.798
+355.474 -35.099
+353.377 -34.624
+352.155 -43.404
+349.613 -47.552
+349.977 -38.924
+345.808 -53.003
+346.852 -35.279
+339.294 -54.454
+345.110 -36.796
+342.448 -44.407
+343.088 -38.981
+340.624 -37.632
+336.070 -43.369
+340.114 -29.343
+329.215 -43.658
+Ara 8
+139.371 -64.281
+128.988 -67.070
+126.140 -67.495
+133.937 -70.565
+146.948 -68.649
+115.206 -73.448
+124.296 -74.895
+129.807 -78.284
+Aries 16
+275.089 19.700
+277.208 23.346
+277.494 27.270
+273.485 25.417
+269.538 23.135
+277.570 29.777
+272.582 27.036
+270.956 32.094
+275.776 36.366
+274.279 37.296
+262.543 29.989
+266.391 34.798
+273.056 41.891
+263.012 36.658
+263.680 38.088
+262.590 39.297
+Auriga 21
+258.333 63.534
+282.118 68.223
+274.900 67.732
+274.775 68.507
+266.432 68.904
+287.684 71.012
+269.744 70.488
+245.605 69.176
+303.422 75.275
+259.211 76.033
+324.841 73.413
+322.545 74.855
+284.226 78.538
+218.521 73.350
+316.324 81.078
+231.890 84.097
+278.842 87.076
+336.299 83.829
+155.787 85.774
+127.797 86.332
+120.527 85.282
+Bootes 24
+63.869 9.873
+69.774 4.070
+67.862 3.467
+60.529 5.629
+63.774 0.539
+40.081 23.036
+44.262 19.473
+67.421 -4.525
+38.676 22.314
+61.891 -1.179
+53.418 6.177
+47.886 11.938
+53.387 5.299
+42.612 15.477
+64.297 -9.243
+54.097 1.616
+42.092 9.644
+50.239 -1.089
+36.476 15.172
+51.041 -3.111
+44.417 2.429
+40.498 4.563
+37.434 6.614
+36.639 5.466
+Caelum 3
+206.749 -2.707
+206.383 0.705
+207.503 3.802
+Camelopardis 9
+336.366 53.550
+306.868 63.261
+314.379 64.832
+333.859 61.000
+324.283 65.152
+333.999 66.052
+347.170 66.444
+358.133 64.282
+22.412 70.692
+Cancer 14
+152.932 60.247
+141.543 68.586
+149.220 52.365
+129.286 67.634
+139.314 59.869
+141.009 55.655
+133.303 60.477
+128.079 59.843
+131.349 56.985
+116.140 64.655
+132.656 49.904
+105.407 64.702
+130.791 47.655
+118.700 56.309
+CanesVenatici 9
+63.515 33.891
+54.117 37.264
+64.014 31.442
+60.753 31.416
+60.907 26.172
+61.859 23.114
+58.947 24.067
+56.181 24.166
+56.197 23.490
+CanisMajor 12
+189.554 16.222
+191.117 30.052
+187.145 25.454
+184.960 31.381
+182.841 15.253
+182.535 34.807
+180.964 19.769
+180.236 20.737
+179.917 24.636
+179.696 32.436
+178.624 21.184
+175.070 17.938
+CanisMinor 5
+169.498 54.684
+167.330 58.263
+165.368 51.176
+160.497 56.218
+161.829 47.153
+Capricornus 15
+327.283 -54.381
+319.640 -62.109
+327.152 -54.307
+324.725 -55.607
+313.330 -57.369
+302.734 -61.915
+300.239 -61.281
+305.714 -52.841
+295.483 -58.754
+302.466 -49.134
+294.302 -53.161
+297.453 -46.446
+300.104 -41.866
+295.158 -45.704
+296.821 -42.155
+Carina 7
+186.061 -4.875
+171.511 -4.945
+169.452 -13.029
+167.374 -24.125
+162.642 -15.652
+163.244 -28.369
+156.225 -25.313
+Cassiopeia 18
+324.796 30.076
+326.794 34.518
+317.285 30.327
+319.592 32.153
+311.156 28.226
+340.196 40.324
+322.818 35.995
+315.615 34.775
+320.474 39.098
+330.339 41.508
+332.996 42.444
+336.611 43.459
+329.769 42.982
+323.558 43.299
+335.542 45.252
+327.048 45.835
+331.423 27.745
+324.605 27.533
+Centaurus 16
+144.780 -21.358
+151.103 -29.155
+136.031 -24.020
+134.304 -26.850
+128.655 -31.224
+114.889 -26.222
+130.425 -37.948
+109.349 -29.106
+117.349 -34.385
+122.386 -37.770
+137.790 -43.449
+109.153 -34.197
+107.859 -36.848
+112.627 -42.112
+135.878 -47.823
+110.171 -46.148
+Cepheus 16
+355.930 31.338
+349.846 17.598
+347.662 17.057
+344.189 19.225
+347.193 26.771
+346.570 27.967
+340.498 19.415
+339.367 22.048
+345.204 30.053
+335.982 18.661
+334.049 20.245
+349.184 35.742
+344.517 32.277
+336.609 24.983
+337.594 27.709
+345.323 37.813
+Cetus 29
+267.392 -21.962
+272.139 -12.783
+274.115 -7.347
+261.316 -14.311
+265.273 -8.669
+271.035 -2.352
+270.805 1.139
+261.818 -5.639
+260.665 -1.490
+256.455 -4.506
+250.542 -9.105
+252.749 -2.256
+255.205 2.027
+254.630 2.111
+245.181 -4.356
+264.415 18.831
+253.034 9.471
+247.128 6.587
+261.394 21.309
+243.942 5.376
+257.758 20.709
+249.146 12.323
+253.144 17.620
+243.530 9.279
+259.617 25.458
+255.832 27.254
+251.561 24.282
+245.843 22.473
+247.574 26.675
+Chamaeleon 6
+174.828 -30.357
+173.717 -31.227
+167.691 -34.936
+169.124 -36.723
+161.658 -35.846
+165.432 -40.069
+Circinus 2
+141.590 -48.550
+132.085 -52.609
+Columba 6
+202.143 9.996
+197.412 10.578
+195.025 10.858
+193.570 10.680
+191.926 4.413
+189.632 11.237
+ComaBerenices 7
+76.648 24.387
+79.683 19.987
+77.453 20.178
+80.843 17.387
+70.827 20.336
+73.668 13.661
+67.542 17.115
+CoronaAustralis 3
+76.831 -84.408
+72.159 -87.309
+349.050 -82.780
+CoronaBorealis 6
+44.830 -2.520
+42.619 -1.332
+44.991 -5.346
+37.053 0.095
+40.620 -8.046
+33.560 -1.062
+Corvus 4
+114.367 -5.461
+109.900 -2.973
+106.846 -4.729
+111.347 -10.379
+Crater 7
+124.123 8.440
+124.193 3.979
+117.555 8.787
+118.622 5.586
+110.936 9.608
+116.023 1.385
+113.531 0.100
+Crux 4
+142.482 -29.634
+147.192 -33.867
+140.733 -31.246
+140.848 -33.879
+Cygnus 26
+357.838 6.615
+355.808 5.107
+353.475 -18.553
+353.876 -12.067
+354.603 3.708
+351.653 -8.897
+348.868 -10.771
+346.567 -8.538
+350.193 10.869
+347.949 1.298
+344.907 -4.637
+342.557 -7.945
+340.846 -13.795
+342.909 1.163
+338.483 -9.293
+338.854 -1.786
+340.656 4.326
+338.515 1.304
+336.234 -3.364
+331.752 -10.737
+334.609 -1.970
+332.686 -6.040
+335.619 5.437
+334.489 4.935
+331.664 0.559
+334.307 9.233
+Delphinus 5
+333.672 -31.713
+331.571 -32.362
+333.741 -26.848
+332.447 -27.320
+332.054 -26.066
+Dorado 7
+205.464 -10.486
+200.871 -13.113
+196.063 -12.729
+191.203 -21.965
+190.853 -16.249
+188.787 -18.553
+185.561 -20.832
+Draco 28
+28.940 47.754
+32.728 46.686
+27.652 42.406
+32.423 39.207
+30.070 33.592
+29.528 32.232
+26.812 21.591
+22.960 18.431
+14.533 25.591
+12.136 21.124
+13.986 7.554
+8.952 22.630
+12.900 10.242
+12.891 10.228
+8.276 23.088
+6.773 26.220
+4.729 30.713
+9.530 11.119
+10.253 5.765
+5.511 18.022
+3.426 26.157
+1.169 28.661
+1.500 12.613
+0.731 24.504
+358.998 20.874
+358.972 26.573
+353.557 29.067
+356.093 36.356
+Equuleus 2
+323.384 -29.260
+319.354 -32.975
+Eridanus 29
+219.089 -30.779
+223.136 -24.855
+220.757 -22.413
+222.767 -18.286
+226.742 -10.667
+236.404 3.705
+244.644 15.058
+223.094 -9.567
+233.490 4.341
+240.785 18.142
+239.287 22.218
+236.398 19.741
+228.885 10.392
+230.696 13.844
+234.428 21.532
+239.136 27.577
+224.969 10.176
+228.619 20.174
+235.564 30.495
+230.014 28.159
+229.050 32.214
+212.080 4.745
+211.967 9.906
+225.626 33.576
+218.908 24.204
+220.788 30.349
+223.184 34.664
+215.927 35.337
+214.381 33.359
+Fornax 7
+238.898 -9.116
+237.171 -8.220
+240.540 -1.605
+231.177 -8.178
+229.829 -4.623
+224.613 6.412
+221.710 3.538
+Gemini 22
+215.932 66.683
+204.877 67.736
+199.742 65.953
+193.146 62.679
+193.518 71.530
+188.373 59.467
+192.635 80.565
+180.202 71.018
+179.143 67.371
+174.375 62.866
+171.813 63.143
+168.932 68.478
+161.323 73.914
+153.261 77.453
+148.264 77.059
+154.841 72.360
+152.127 69.337
+146.998 72.565
+156.258 63.667
+134.440 76.874
+143.773 70.603
+136.491 70.307
+Grus 10
+266.639 -56.891
+261.892 -55.418
+250.399 -57.109
+258.350 -51.534
+252.761 -52.750
+247.501 -51.272
+238.441 -51.698
+236.933 -49.917
+245.584 -46.524
+235.380 -46.029
+Hercules 31
+33.142 5.662
+43.844 -17.673
+29.344 6.259
+26.982 6.515
+39.748 -17.544
+45.996 -28.329
+41.678 -22.405
+36.788 -16.433
+26.483 1.894
+22.911 7.383
+26.485 -1.995
+30.710 -15.768
+27.551 -9.426
+26.391 -10.747
+25.126 -8.401
+32.749 -27.966
+25.531 -17.599
+21.385 -6.334
+21.711 -10.815
+15.742 3.862
+21.581 -17.539
+14.288 1.096
+17.591 -16.951
+15.964 -19.046
+13.290 -8.148
+14.702 -16.037
+17.081 -28.351
+12.616 -16.934
+9.946 -24.416
+4.443 -26.136
+4.239 -28.516
+Horologium 4
+212.195 -27.502
+215.685 -21.711
+209.563 -22.898
+210.127 -2.984
+Hydra 24
+143.985 47.058
+145.069 44.803
+151.923 30.938
+145.140 38.337
+138.169 45.241
+135.092 39.726
+136.675 32.126
+137.556 29.724
+130.493 33.636
+138.050 22.682
+132.130 20.111
+130.180 20.428
+129.080 15.379
+131.778 8.535
+124.835 11.440
+128.852 0.658
+126.517 -5.926
+127.538 -9.245
+104.527 -18.245
+98.485 -25.440
+99.975 -26.915
+99.280 -28.259
+98.943 -34.064
+93.274 -36.105
+Hydrus 11
+198.297 -43.876
+202.979 -41.907
+208.163 -34.122
+213.775 -30.545
+205.448 -32.460
+200.398 -35.209
+193.118 -38.207
+203.866 -31.341
+200.214 -31.329
+193.659 -34.973
+194.307 -31.540
+Indus 7
+249.907 -72.922
+239.450 -71.406
+220.919 -67.358
+206.717 -56.713
+235.616 -59.690
+231.364 -58.806
+207.454 -50.856
+Lacerta 4
+330.868 14.794
+328.679 13.927
+320.762 5.716
+321.696 8.482
+Leo 27
+108.913 56.585
+123.339 44.644
+122.115 42.133
+99.000 55.511
+117.773 44.879
+106.792 51.358
+102.424 51.543
+118.908 37.713
+109.440 42.916
+113.660 39.315
+100.430 45.670
+106.478 36.782
+110.515 33.255
+99.191 37.449
+106.077 31.291
+109.303 24.383
+105.551 26.268
+109.300 22.087
+92.537 33.471
+97.094 30.159
+110.548 17.282
+103.478 22.505
+104.608 19.066
+104.441 16.037
+87.023 27.107
+91.610 23.269
+89.591 22.768
+LeoMinor 9
+90.267 60.380
+78.517 57.855
+92.724 53.388
+86.200 50.349
+81.581 50.769
+86.265 46.546
+95.468 40.706
+86.698 44.569
+81.288 45.027
+Lepus 9
+208.923 19.793
+209.526 25.864
+209.073 29.219
+204.435 23.896
+204.385 27.140
+199.741 22.797
+201.635 31.020
+198.720 25.558
+198.849 30.984
+Libra 16
+81.767 -29.125
+83.418 -30.457
+77.768 -27.899
+74.449 -26.474
+89.322 -38.371
+81.462 -35.785
+72.163 -30.079
+75.587 -36.700
+69.669 -33.980
+72.203 -36.540
+86.964 -46.207
+75.625 -41.168
+74.720 -44.181
+67.649 -40.782
+68.788 -42.391
+61.765 -36.662
+Lupus 11
+117.171 -41.790
+118.068 -45.036
+111.531 -46.416
+116.593 -50.101
+123.695 -51.230
+93.851 -43.568
+104.221 -48.998
+99.276 -47.504
+98.305 -47.468
+90.274 -51.170
+91.817 -55.374
+Lynx 10
+340.957 72.851
+350.646 71.341
+13.353 77.484
+18.414 73.281
+59.902 79.893
+47.406 76.156
+83.141 75.429
+72.888 72.348
+78.567 66.265
+96.482 61.871
+Lyra 7
+8.778 -10.140
+5.063 -7.812
+2.708 -13.386
+1.327 -2.841
+0.815 -14.109
+359.054 -10.696
+357.282 -8.610
+Mensa 7
+188.214 -35.195
+193.058 -25.199
+190.066 -28.325
+185.361 -35.800
+186.324 -29.775
+184.202 -26.795
+181.257 -32.429
+Microscopium 5
+264.385 -70.579
+286.221 -64.016
+274.073 -66.473
+281.802 -61.120
+266.935 -63.909
+Monoceros 11
+193.937 39.673
+195.344 50.445
+191.879 42.909
+192.497 53.543
+187.013 55.210
+185.664 49.081
+177.432 43.009
+176.624 47.247
+168.308 42.271
+167.934 37.614
+160.433 42.707
+Musca 5
+152.442 -31.405
+156.829 -38.365
+153.135 -37.536
+154.045 -40.135
+148.162 -39.941
+Norma 3
+108.500 -58.666
+125.170 -60.575
+117.887 -61.581
+Octans 13
+198.046 -45.252
+176.567 -38.166
+173.012 -42.811
+172.072 -43.886
+172.730 -47.145
+179.818 -46.801
+191.207 -53.945
+182.212 -45.697
+194.137 -52.731
+192.192 -49.399
+186.876 -46.654
+191.609 -47.909
+184.474 -44.508
+Ophiuchus 20
+54.470 -34.618
+54.219 -36.013
+48.446 -37.238
+54.066 -43.720
+50.326 -45.370
+36.864 -29.115
+36.334 -30.222
+43.032 -42.256
+53.910 -61.019
+53.402 -62.293
+31.010 -37.921
+59.681 -65.616
+25.109 -30.741
+42.187 -61.743
+25.758 -38.990
+25.154 -41.103
+26.385 -52.352
+20.997 -41.799
+16.895 -35.752
+14.223 -42.479
+Orion 20
+228.557 43.501
+227.159 42.547
+233.926 49.831
+224.091 40.245
+231.313 52.497
+224.916 48.508
+212.650 33.396
+213.079 36.124
+214.760 41.605
+217.291 47.355
+211.550 42.550
+216.105 51.230
+208.390 38.774
+209.681 41.921
+203.047 35.727
+207.400 51.262
+202.907 45.028
+202.227 48.919
+206.751 59.217
+201.381 57.499
+Pavo 10
+157.654 -67.059
+164.415 -71.696
+176.459 -62.514
+176.133 -71.320
+189.680 -61.203
+196.371 -65.611
+220.726 -71.988
+203.251 -63.374
+200.903 -58.638
+210.828 -60.620
+Pegasus 31
+289.423 1.639
+292.789 5.389
+325.271 -19.328
+325.355 -15.082
+321.576 -18.057
+315.029 -25.454
+309.887 -31.091
+324.502 -7.231
+321.746 -10.569
+313.113 -20.498
+318.709 -9.439
+322.477 -2.549
+322.345 -2.460
+306.855 -24.931
+308.208 -18.427
+304.677 -19.779
+318.503 -0.637
+303.255 -16.572
+314.882 -0.922
+310.240 -4.458
+309.992 0.187
+301.577 -9.597
+297.306 -13.646
+295.935 -13.393
+304.294 -0.680
+309.331 6.413
+303.256 -0.214
+295.450 -7.529
+295.715 0.944
+290.000 -4.903
+299.060 6.102
+Perseus 24
+307.992 37.714
+307.408 38.982
+311.185 41.765
+294.837 44.540
+301.426 46.254
+310.678 48.794
+305.863 48.704
+281.711 43.164
+306.515 50.399
+285.480 45.931
+287.939 47.329
+300.332 50.249
+299.861 52.709
+296.472 53.324
+295.380 55.305
+286.455 54.355
+269.053 51.499
+280.841 55.738
+273.943 54.251
+299.144 59.485
+293.899 59.557
+295.040 60.674
+268.445 57.603
+282.731 62.992
+Phoenix 9
+240.413 -36.726
+241.278 -32.781
+234.988 -34.724
+235.320 -32.610
+223.631 -37.224
+233.002 -23.838
+227.369 -22.186
+247.359 -41.041
+233.157 -41.238
+Pictor 5
+199.115 -5.204
+196.549 -5.314
+190.277 -10.223
+187.892 -6.886
+181.859 -13.299
+Pisces 30
+276.084 -15.147
+276.760 -13.373
+283.165 -1.965
+277.824 -5.444
+287.819 5.104
+277.923 2.647
+284.761 9.075
+292.714 18.557
+275.728 5.436
+280.618 10.596
+284.273 15.764
+291.602 21.582
+273.667 7.181
+270.057 5.224
+288.083 21.157
+280.421 17.307
+276.573 15.617
+273.154 14.509
+267.381 10.808
+269.460 14.019
+263.563 11.435
+294.064 -18.352
+291.117 -16.513
+287.818 -16.306
+291.268 -12.413
+288.534 -10.905
+285.402 -13.291
+282.129 -14.379
+279.313 -13.299
+285.935 -6.652
+PiscesAustrinus 8
+278.189 -58.674
+274.140 -56.842
+272.659 -51.571
+277.649 -47.812
+267.833 -47.693
+271.890 -43.451
+267.416 -41.162
+260.978 -42.711
+Puppis 9
+184.580 3.817
+182.079 -2.625
+177.070 9.833
+175.119 3.899
+167.505 32.508
+168.381 22.802
+168.339 5.677
+164.057 21.464
+160.076 30.354
+Pyxis 4
+158.634 10.564
+154.957 16.224
+152.121 11.537
+147.334 15.581
+Reticulum 5
+204.908 -22.855
+201.994 -23.451
+202.121 -20.347
+199.887 -20.103
+198.493 -20.590
+Sagitta 3
+349.566 -28.691
+348.056 -27.420
+345.286 -25.999
+Sagittarius 25
+48.012 -67.119
+44.526 -72.258
+28.519 -65.511
+51.339 -78.206
+32.619 -72.785
+41.334 -77.820
+23.740 -70.063
+12.238 -71.480
+5.559 -72.441
+3.057 -67.672
+356.728 -73.111
+355.646 -67.730
+351.935 -63.658
+350.579 -60.563
+262.868 -86.361
+312.000 -84.491
+337.993 -68.724
+340.644 -61.337
+339.682 -61.389
+336.325 -63.392
+282.888 -79.729
+333.366 -58.963
+302.710 -76.078
+319.336 -69.154
+268.021 -75.299
+Scorpius 14
+80.363 -49.004
+74.835 -46.432
+70.299 -45.175
+73.601 -52.052
+73.114 -54.227
+74.595 -56.737
+80.967 -62.586
+89.217 -64.779
+98.307 -69.868
+77.481 -71.296
+77.193 -71.890
+89.403 -74.055
+81.163 -74.348
+83.072 -75.589
+Sculptor 11
+258.000 -26.547
+249.899 -31.550
+243.095 -27.647
+248.893 -19.849
+246.841 -20.340
+240.080 -14.665
+244.594 -9.531
+260.749 -39.021
+253.603 -38.949
+257.110 -35.369
+259.902 -31.592
+Scutum 5
+16.148 -59.376
+11.653 -54.049
+8.921 -55.461
+8.156 -54.279
+6.023 -49.906
+Serpens 13
+62.443 -19.751
+53.456 -13.220
+55.387 -23.131
+49.361 -16.131
+47.238 -14.241
+60.461 -31.027
+55.246 -25.667
+47.088 -17.328
+50.255 -33.010
+39.013 -56.091
+15.238 -46.901
+11.969 -46.189
+2.194 -42.577
+SevenStars 7
+40.483 50.729
+48.968 50.637
+50.421 42.796
+44.855 40.960
+43.493 35.637
+42.111 31.430
+44.997 25.256
+Sextans 5
+129.626 29.644
+126.345 22.444
+122.446 24.760
+119.299 25.894
+119.015 18.085
+SummerTriangle 3
+342.909 1.163
+345.110 -36.796
+5.063 -7.812
+Taurus 27
+250.893 31.722
+250.982 32.632
+252.943 35.539
+241.685 27.325
+261.126 45.412
+244.002 33.045
+260.593 45.877
+260.194 46.146
+245.956 40.306
+239.935 35.811
+254.646 47.658
+250.907 46.787
+258.577 51.508
+239.262 40.001
+244.242 45.761
+245.368 47.668
+245.642 49.782
+239.805 47.440
+240.886 49.021
+246.413 54.695
+238.949 53.205
+238.548 57.087
+240.905 65.777
+226.104 57.692
+225.532 61.707
+217.863 59.965
+227.613 69.046
+Telescopium 6
+99.632 -80.656
+100.423 -83.483
+175.148 -82.103
+227.583 -82.622
+206.443 -75.581
+228.471 -76.495
+Triangulum 5
+285.165 28.434
+288.118 34.349
+285.904 35.093
+280.102 34.723
+286.401 38.875
+TriangulumAustrale 6
+148.672 -52.090
+146.607 -54.162
+142.070 -56.831
+142.826 -59.157
+156.860 -56.997
+157.390 -58.985
+Tucana 6
+216.837 -42.185
+208.705 -40.221
+217.821 -35.934
+223.308 -56.356
+226.434 -48.712
+215.737 -44.634
+UrsaMajor 29
+29.282 68.109
+66.378 69.195
+22.970 60.853
+68.864 68.465
+34.212 60.841
+58.080 63.568
+23.054 57.220
+43.463 59.925
+73.296 55.002
+33.894 55.376
+75.061 53.630
+50.113 54.941
+48.195 54.330
+72.518 46.730
+48.968 50.637
+40.483 50.729
+65.995 46.548
+79.010 39.942
+73.034 42.329
+65.674 42.568
+74.681 36.517
+58.506 41.892
+50.421 42.796
+44.855 40.960
+42.300 39.601
+36.409 39.726
+43.493 35.637
+42.111 31.430
+44.997 25.256
+UrsaMinor 10
+359.062 43.472
+15.334 38.584
+16.704 36.737
+17.194 34.620
+17.526 31.442
+11.304 34.699
+11.341 32.253
+11.030 31.917
+5.554 36.468
+1.714 40.033
+Vela 5
+168.619 -1.071
+164.855 -6.629
+157.488 -0.252
+160.372 -12.557
+155.025 -13.588
+Virgo 33
+98.539 18.430
+101.244 14.256
+95.800 15.774
+93.423 16.427
+96.882 8.238
+94.860 9.978
+97.474 1.850
+98.384 0.141
+86.005 10.761
+87.288 8.349
+97.602 -4.270
+88.734 3.618
+92.116 -0.944
+82.053 7.572
+92.018 -4.372
+83.466 1.036
+100.540 -14.806
+94.167 -11.471
+94.253 -12.053
+75.583 4.802
+81.944 -3.198
+84.072 -5.412
+87.744 -9.129
+88.703 -12.071
+94.791 -18.290
+95.548 -20.598
+78.670 -9.609
+85.118 -19.408
+81.691 -17.430
+86.326 -22.486
+76.304 -16.663
+75.459 -21.104
+70.253 -17.188
+Volans 6
+181.087 -22.253
+179.426 -22.704
+178.481 -19.274
+176.577 -24.804
+171.114 -20.237
+167.223 -21.251
+Vulpecula 7
+353.634 -21.875
+350.153 -20.389
+346.451 -17.791
+342.107 -20.025
+335.915 -21.936
+334.725 -14.255
+331.735 -19.292
+WinterTriangle 3
+165.368 51.176
+207.400 51.262
+184.960 31.381
diff --git a/public_test_cases/p01327/output.0.txt b/public_test_cases/p01327/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79693f8d5cd5afdfe32332b5da5551978adec360
--- /dev/null
+++ b/public_test_cases/p01327/output.0.txt
@@ -0,0 +1,36 @@
+Cygnus
+Lyra
+SevenStars
+SummerTriangle
+WinterTriangle
+Bootes
+Camelopardis
+Cancer
+CanesVenatici
+Cassiopeia
+Cepheus
+ComaBerenices
+CoronaBorealis
+Corvus
+Crater
+Cygnus
+Delphinus
+Draco
+Hercules
+Lacerta
+Leo
+LeoMinor
+Libra
+Lynx
+Lyra
+Ophiuchus
+Sagitta
+Scutum
+Serpens
+SevenStars
+Sextans
+SummerTriangle
+UrsaMajor
+UrsaMinor
+Virgo
+Vulpecula
diff --git a/public_test_cases/p01328/input.0.txt b/public_test_cases/p01328/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e3be6a6a5eafc19956def07cfaa3346fbe2d5be
--- /dev/null
+++ b/public_test_cases/p01328/input.0.txt
@@ -0,0 +1,2 @@
+N M
+x
diff --git a/public_test_cases/p01328/input.1.txt b/public_test_cases/p01328/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9779a780efa8cf17af0a35007bed9ca38ded1fef
--- /dev/null
+++ b/public_test_cases/p01328/input.1.txt
@@ -0,0 +1,19 @@
+3 3
+-1 1 1
+0 1 1
+1 1 1
+-3
+0
+3
+5 5
+7 3 5
+-9 2 7
+4 9 6
+10 5 9
+-9 7 9
+0
+-1
+-2
+-9
+-8
+0 0
diff --git a/public_test_cases/p01328/output.0.txt b/public_test_cases/p01328/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad91b58948dceb1b8ddbbef65f18bfea2ed50baf
--- /dev/null
+++ b/public_test_cases/p01328/output.0.txt
@@ -0,0 +1,2 @@
+2
+20
diff --git a/public_test_cases/p01328/output.1.txt b/public_test_cases/p01328/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad91b58948dceb1b8ddbbef65f18bfea2ed50baf
--- /dev/null
+++ b/public_test_cases/p01328/output.1.txt
@@ -0,0 +1,2 @@
+2
+20
diff --git a/public_test_cases/p01329/input.0.txt b/public_test_cases/p01329/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be29a115d69e1261001dd64f72be0a111980c662
--- /dev/null
+++ b/public_test_cases/p01329/input.0.txt
@@ -0,0 +1,55 @@
+7 6
+......
+.####.
+.####.
+...S#.
+...##.
+...##.
+.....G
+3
+LD
+DD
+LLL
+7 8
+S#......
+.#.####.
+.#.#G.#.
+.#.##.#.
+.#....#.
+.######.
+........
+8
+DDDD
+DDDU
+UUUU
+UUUD
+RRRR
+RRRL
+LLLL
+LLLR
+3 8
+########
+S......G
+########
+2
+U
+D
+6 10
+..........
+.S........
+..........
+..........
+........G.
+..........
+0
+6 7
+.......
+...#...
+...#.S.
+...###.
+.G.....
+.......
+2
+LL
+DD
+0 0
diff --git a/public_test_cases/p01329/input.1.txt b/public_test_cases/p01329/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e720005d77d993bdbbf6c17e34766306976a03c
--- /dev/null
+++ b/public_test_cases/p01329/input.1.txt
@@ -0,0 +1,10 @@
+6 7
+.......
+...#...
+...#.S.
+...###.
+.G.....
+.......
+2
+LL
+DD
diff --git a/public_test_cases/p01329/input.2.txt b/public_test_cases/p01329/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a710d7482cbb11c0ee13b73a2929cb91c113f334
--- /dev/null
+++ b/public_test_cases/p01329/input.2.txt
@@ -0,0 +1,55 @@
+7 6
+......
+.####.
+.####.
+...S#.
+...##.
+...##.
+.....G
+3
+LD
+DD
+LLL
+7 8
+S#......
+.#.####.
+.#.#G.#.
+.#.##.#.
+.#....#.
+.######.
+........
+8
+DDDD
+DDDU
+UUUU
+UUUD
+RRRR
+RRRL
+LLLL
+LLLR
+3 8
+
+S......G
+
+2
+U
+D
+6 10
+..........
+.S........
+..........
+..........
+........G.
+..........
+0
+6 7
+.......
+...#...
+...#.S.
+...###.
+.G.....
+.......
+2
+LL
+DD
+0 0
diff --git a/public_test_cases/p01329/input.3.txt b/public_test_cases/p01329/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95a6903f4bd696e9d2336228d342af49a0e4d75c
--- /dev/null
+++ b/public_test_cases/p01329/input.3.txt
@@ -0,0 +1,7 @@
+3 8
+
+S......G
+
+2
+U
+D
diff --git a/public_test_cases/p01329/input.4.txt b/public_test_cases/p01329/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..003e54755b4b7af281238281cc5f687bc025fe12
--- /dev/null
+++ b/public_test_cases/p01329/input.4.txt
@@ -0,0 +1,8 @@
+6 10
+..........
+.S........
+..........
+..........
+........G.
+..........
+0
diff --git a/public_test_cases/p01329/input.5.txt b/public_test_cases/p01329/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be29a115d69e1261001dd64f72be0a111980c662
--- /dev/null
+++ b/public_test_cases/p01329/input.5.txt
@@ -0,0 +1,55 @@
+7 6
+......
+.####.
+.####.
+...S#.
+...##.
+...##.
+.....G
+3
+LD
+DD
+LLL
+7 8
+S#......
+.#.####.
+.#.#G.#.
+.#.##.#.
+.#....#.
+.######.
+........
+8
+DDDD
+DDDU
+UUUU
+UUUD
+RRRR
+RRRL
+LLLL
+LLLR
+3 8
+########
+S......G
+########
+2
+U
+D
+6 10
+..........
+.S........
+..........
+..........
+........G.
+..........
+0
+6 7
+.......
+...#...
+...#.S.
+...###.
+.G.....
+.......
+2
+LL
+DD
+0 0
diff --git a/public_test_cases/p01329/input.6.txt b/public_test_cases/p01329/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a44e07f02170c8155edf91d56d7d48321f8beb7
--- /dev/null
+++ b/public_test_cases/p01329/input.6.txt
@@ -0,0 +1,12 @@
+7 6
+......
+.####.
+.####.
+...S#.
+...##.
+...##.
+.....G
+3
+LD
+DD
+LLL
diff --git a/public_test_cases/p01329/input.7.txt b/public_test_cases/p01329/input.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b79927109448d4557ece4c7e6a1b41b681f13015
--- /dev/null
+++ b/public_test_cases/p01329/input.7.txt
@@ -0,0 +1,17 @@
+7 8
+S#......
+.#.####.
+.#.#G.#.
+.#.##.#.
+.#....#.
+.######.
+........
+8
+DDDD
+DDDU
+UUUU
+UUUD
+RRRR
+RRRL
+LLLL
+LLLR
diff --git a/public_test_cases/p01329/output.0.txt b/public_test_cases/p01329/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..872819c586afb4f9fdf57820b12c83635446b897
--- /dev/null
+++ b/public_test_cases/p01329/output.0.txt
@@ -0,0 +1,5 @@
+13
+60
+7
+10
+-1
diff --git a/public_test_cases/p01329/output.1.txt b/public_test_cases/p01329/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01329/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01329/output.2.txt b/public_test_cases/p01329/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..872819c586afb4f9fdf57820b12c83635446b897
--- /dev/null
+++ b/public_test_cases/p01329/output.2.txt
@@ -0,0 +1,5 @@
+13
+60
+7
+10
+-1
diff --git a/public_test_cases/p01329/output.3.txt b/public_test_cases/p01329/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01329/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01329/output.4.txt b/public_test_cases/p01329/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01329/output.4.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01329/output.5.txt b/public_test_cases/p01329/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..872819c586afb4f9fdf57820b12c83635446b897
--- /dev/null
+++ b/public_test_cases/p01329/output.5.txt
@@ -0,0 +1,5 @@
+13
+60
+7
+10
+-1
diff --git a/public_test_cases/p01329/output.6.txt b/public_test_cases/p01329/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p01329/output.6.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p01329/output.7.txt b/public_test_cases/p01329/output.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p01329/output.7.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p01330/input.0.txt b/public_test_cases/p01330/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9001471f93e7185932171d308c3585ae8a95963f
--- /dev/null
+++ b/public_test_cases/p01330/input.0.txt
@@ -0,0 +1,5 @@
+2 3
+1 2 1
+2 3
+1 2 6
+0 0
diff --git a/public_test_cases/p01330/input.1.txt b/public_test_cases/p01330/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4253ee1f6ffb341f375e06f12aee6c563dfa8636
--- /dev/null
+++ b/public_test_cases/p01330/input.1.txt
@@ -0,0 +1,2 @@
+2 3
+1 2 6
diff --git a/public_test_cases/p01330/input.2.txt b/public_test_cases/p01330/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9001471f93e7185932171d308c3585ae8a95963f
--- /dev/null
+++ b/public_test_cases/p01330/input.2.txt
@@ -0,0 +1,5 @@
+2 3
+1 2 1
+2 3
+1 2 6
+0 0
diff --git a/public_test_cases/p01330/input.3.txt b/public_test_cases/p01330/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a42365b17a2f576124c939eb2f9a504e78c7f4ff
--- /dev/null
+++ b/public_test_cases/p01330/input.3.txt
@@ -0,0 +1,2 @@
+2 3
+1 2 1
diff --git a/public_test_cases/p01330/output.0.txt b/public_test_cases/p01330/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p01330/output.0.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p01330/output.1.txt b/public_test_cases/p01330/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01330/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01330/output.2.txt b/public_test_cases/p01330/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p01330/output.2.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p01330/output.3.txt b/public_test_cases/p01330/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01330/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01331/input.0.txt b/public_test_cases/p01331/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49f0e4e9c7c651f53c416f16cebe0e06e1c80ecb
--- /dev/null
+++ b/public_test_cases/p01331/input.0.txt
@@ -0,0 +1,15 @@
+4 4 1
+2 2 3 3
+1 4 1
+1 2 1 3
+5 5 2
+2 2 3 4
+3 3 5 3
+5 5 3
+4 4 5 5
+2 2 3 3
+3 3 4 4
+100000 100000 1
+2 2 99999 99999
+1 1 0
+0 0 0
diff --git a/public_test_cases/p01331/input.1.txt b/public_test_cases/p01331/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..936f0031f4d6c7409652246e16cb6bbaafe67506
--- /dev/null
+++ b/public_test_cases/p01331/input.1.txt
@@ -0,0 +1 @@
+1 1 0
diff --git a/public_test_cases/p01331/input.2.txt b/public_test_cases/p01331/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c685a9c869e1dc0c3735e628699d81848709b816
--- /dev/null
+++ b/public_test_cases/p01331/input.2.txt
@@ -0,0 +1,4 @@
+5 5 3
+4 4 5 5
+2 2 3 3
+3 3 4 4
diff --git a/public_test_cases/p01331/input.3.txt b/public_test_cases/p01331/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42f7018c36fb6e567334e4b981f5080f7c46484a
--- /dev/null
+++ b/public_test_cases/p01331/input.3.txt
@@ -0,0 +1,2 @@
+1 4 1
+1 2 1 3
diff --git a/public_test_cases/p01331/input.4.txt b/public_test_cases/p01331/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9bbbf6f72e27c355b56910f15e1be17c9e64301
--- /dev/null
+++ b/public_test_cases/p01331/input.4.txt
@@ -0,0 +1,2 @@
+4 4 1
+2 2 3 3
diff --git a/public_test_cases/p01331/input.5.txt b/public_test_cases/p01331/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49f0e4e9c7c651f53c416f16cebe0e06e1c80ecb
--- /dev/null
+++ b/public_test_cases/p01331/input.5.txt
@@ -0,0 +1,15 @@
+4 4 1
+2 2 3 3
+1 4 1
+1 2 1 3
+5 5 2
+2 2 3 4
+3 3 5 3
+5 5 3
+4 4 5 5
+2 2 3 3
+3 3 4 4
+100000 100000 1
+2 2 99999 99999
+1 1 0
+0 0 0
diff --git a/public_test_cases/p01331/input.6.txt b/public_test_cases/p01331/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a2f1a3632686e6d52f1d9d5285164a575265b07
--- /dev/null
+++ b/public_test_cases/p01331/input.6.txt
@@ -0,0 +1,2 @@
+100000 100000 1
+2 2 99999 99999
diff --git a/public_test_cases/p01331/input.7.txt b/public_test_cases/p01331/input.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26e9039785d22d4f0a86891236d863dfe6eb5569
--- /dev/null
+++ b/public_test_cases/p01331/input.7.txt
@@ -0,0 +1,3 @@
+5 5 2
+2 2 3 4
+3 3 5 3
diff --git a/public_test_cases/p01331/output.0.txt b/public_test_cases/p01331/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d79b1c1a0127e283cabc7cd2ff2030b275619d3
--- /dev/null
+++ b/public_test_cases/p01331/output.0.txt
@@ -0,0 +1,6 @@
+12
+1
+26
+18
+615667476
+1
diff --git a/public_test_cases/p01331/output.1.txt b/public_test_cases/p01331/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01331/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01331/output.2.txt b/public_test_cases/p01331/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p01331/output.2.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p01331/output.3.txt b/public_test_cases/p01331/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01331/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01331/output.4.txt b/public_test_cases/p01331/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p01331/output.4.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p01331/output.5.txt b/public_test_cases/p01331/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d79b1c1a0127e283cabc7cd2ff2030b275619d3
--- /dev/null
+++ b/public_test_cases/p01331/output.5.txt
@@ -0,0 +1,6 @@
+12
+1
+26
+18
+615667476
+1
diff --git a/public_test_cases/p01331/output.6.txt b/public_test_cases/p01331/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9dc35b67c9c40bb3c7d6c47b3ddbd9ee312a4581
--- /dev/null
+++ b/public_test_cases/p01331/output.6.txt
@@ -0,0 +1 @@
+615667476
diff --git a/public_test_cases/p01331/output.7.txt b/public_test_cases/p01331/output.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p01331/output.7.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p01332/input.0.txt b/public_test_cases/p01332/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee5f8162f5b0e1d46b64f1e6ba249575b9976987
--- /dev/null
+++ b/public_test_cases/p01332/input.0.txt
@@ -0,0 +1,47 @@
+4
+0 0
+100 0
+100 100
+0 100
+4
+0 0
+100 0
+100 100
+0 100
+4
+0 0
+100 0
+100 100
+0 100
+3
+0 0
+100 0
+0 100
+3
+0 0
+100 0
+0 100
+3
+0 0
+100 0
+0 100
+5
+0 0
+200 0
+200 200
+100 100
+0 200
+5
+0 0
+200 0
+100 100
+200 200
+0 200
+4
+0 0
+200 0
+200 200
+0 200
+0
+0
+0
diff --git a/public_test_cases/p01332/input.1.txt b/public_test_cases/p01332/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee5f8162f5b0e1d46b64f1e6ba249575b9976987
--- /dev/null
+++ b/public_test_cases/p01332/input.1.txt
@@ -0,0 +1,47 @@
+4
+0 0
+100 0
+100 100
+0 100
+4
+0 0
+100 0
+100 100
+0 100
+4
+0 0
+100 0
+100 100
+0 100
+3
+0 0
+100 0
+0 100
+3
+0 0
+100 0
+0 100
+3
+0 0
+100 0
+0 100
+5
+0 0
+200 0
+200 200
+100 100
+0 200
+5
+0 0
+200 0
+100 100
+200 200
+0 200
+4
+0 0
+200 0
+200 200
+0 200
+0
+0
+0
diff --git a/public_test_cases/p01332/input.2.txt b/public_test_cases/p01332/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..263caae33fa64ccf96ed62483bf46d90f99e3a14
--- /dev/null
+++ b/public_test_cases/p01332/input.2.txt
@@ -0,0 +1,15 @@
+4
+0 0
+100 0
+100 100
+0 100
+4
+0 0
+100 0
+100 100
+0 100
+4
+0 0
+100 0
+100 100
+0 100
diff --git a/public_test_cases/p01332/input.3.txt b/public_test_cases/p01332/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49f271386b97de0f965f3ccbf9a167829afe1a2a
--- /dev/null
+++ b/public_test_cases/p01332/input.3.txt
@@ -0,0 +1,17 @@
+5
+0 0
+200 0
+200 200
+100 100
+0 200
+5
+0 0
+200 0
+100 100
+200 200
+0 200
+4
+0 0
+200 0
+200 200
+0 200
diff --git a/public_test_cases/p01332/input.4.txt b/public_test_cases/p01332/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aeae86d1193d9d323e5a5fc03845269b1a49c91
--- /dev/null
+++ b/public_test_cases/p01332/input.4.txt
@@ -0,0 +1,12 @@
+3
+0 0
+100 0
+0 100
+3
+0 0
+100 0
+0 100
+3
+0 0
+100 0
+0 100
diff --git a/public_test_cases/p01332/output.0.txt b/public_test_cases/p01332/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75b351934b875fcd8b289bdc2301847652899f2e
--- /dev/null
+++ b/public_test_cases/p01332/output.0.txt
@@ -0,0 +1,3 @@
+1000000.0000
+250000.0000
+5333333.3333
diff --git a/public_test_cases/p01332/output.1.txt b/public_test_cases/p01332/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75b351934b875fcd8b289bdc2301847652899f2e
--- /dev/null
+++ b/public_test_cases/p01332/output.1.txt
@@ -0,0 +1,3 @@
+1000000.0000
+250000.0000
+5333333.3333
diff --git a/public_test_cases/p01332/output.2.txt b/public_test_cases/p01332/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33f127646b992a33b4a66d2225cec0056cdf575a
--- /dev/null
+++ b/public_test_cases/p01332/output.2.txt
@@ -0,0 +1 @@
+1000000.0000
diff --git a/public_test_cases/p01332/output.3.txt b/public_test_cases/p01332/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..772b9b42fdc2441b210e941230fed6061270e01a
--- /dev/null
+++ b/public_test_cases/p01332/output.3.txt
@@ -0,0 +1 @@
+5333333.3333
diff --git a/public_test_cases/p01332/output.4.txt b/public_test_cases/p01332/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adbaf81d6ec945d9ac1d060ff24f79c56667fe4d
--- /dev/null
+++ b/public_test_cases/p01332/output.4.txt
@@ -0,0 +1 @@
+250000.0000
diff --git a/public_test_cases/p01333/input.0.txt b/public_test_cases/p01333/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af20bd7d76dfb19b311e26d548999f2e93ff1f99
--- /dev/null
+++ b/public_test_cases/p01333/input.0.txt
@@ -0,0 +1,6 @@
+500 1000
+100 10000
+400 700
+600 5000
+10000 10000
+0 0
diff --git a/public_test_cases/p01333/input.1.txt b/public_test_cases/p01333/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af20bd7d76dfb19b311e26d548999f2e93ff1f99
--- /dev/null
+++ b/public_test_cases/p01333/input.1.txt
@@ -0,0 +1,6 @@
+500 1000
+100 10000
+400 700
+600 5000
+10000 10000
+0 0
diff --git a/public_test_cases/p01333/output.0.txt b/public_test_cases/p01333/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0a7b15fb77feed7e0aadcce6e3606cb00b24c04
--- /dev/null
+++ b/public_test_cases/p01333/output.0.txt
@@ -0,0 +1,5 @@
+0 1 0
+4 1 9
+3 0 0
+4 0 4
+0 0 0
diff --git a/public_test_cases/p01333/output.1.txt b/public_test_cases/p01333/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0a7b15fb77feed7e0aadcce6e3606cb00b24c04
--- /dev/null
+++ b/public_test_cases/p01333/output.1.txt
@@ -0,0 +1,5 @@
+0 1 0
+4 1 9
+3 0 0
+4 0 4
+0 0 0
diff --git a/public_test_cases/p01334/input.0.txt b/public_test_cases/p01334/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..456945cf06d43a213b652ab967d95b4faa3d9b10
--- /dev/null
+++ b/public_test_cases/p01334/input.0.txt
@@ -0,0 +1,18 @@
+1
+0 0
+2
+1 1 0 1
+1 0 0 0
+2
+1 1 0 1
+1 1 1 0
+3
+0 1 2 2 2 1
+0 2 1 2 2 1
+0 0 0 1 1 1
+4
+3 2 2 0 3 2 2 1
+1 1 0 3 1 1 3 1
+0 3 2 3 3 0 2 3
+1 1 1 1 3 2 1 3
+0
diff --git a/public_test_cases/p01334/input.1.txt b/public_test_cases/p01334/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..456945cf06d43a213b652ab967d95b4faa3d9b10
--- /dev/null
+++ b/public_test_cases/p01334/input.1.txt
@@ -0,0 +1,18 @@
+1
+0 0
+2
+1 1 0 1
+1 0 0 0
+2
+1 1 0 1
+1 1 1 0
+3
+0 1 2 2 2 1
+0 2 1 2 2 1
+0 0 0 1 1 1
+4
+3 2 2 0 3 2 2 1
+1 1 0 3 1 1 3 1
+0 3 2 3 3 0 2 3
+1 1 1 1 3 2 1 3
+0
diff --git a/public_test_cases/p01334/output.0.txt b/public_test_cases/p01334/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4265686e0eb7910dbc7902e6ceeb2d39c320867
--- /dev/null
+++ b/public_test_cases/p01334/output.0.txt
@@ -0,0 +1,5 @@
+1
+2
+1
+2
+3
diff --git a/public_test_cases/p01334/output.1.txt b/public_test_cases/p01334/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4265686e0eb7910dbc7902e6ceeb2d39c320867
--- /dev/null
+++ b/public_test_cases/p01334/output.1.txt
@@ -0,0 +1,5 @@
+1
+2
+1
+2
+3
diff --git a/public_test_cases/p01335/input.0.txt b/public_test_cases/p01335/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5882c087c1da77aee6a938e0a348e8c5b3588791
--- /dev/null
+++ b/public_test_cases/p01335/input.0.txt
@@ -0,0 +1,25 @@
+3
+0 1 0 1 0 0 0 0 0 1 0 0 0
+1 0 0 0 0 0 1 0 0 1 0 0 2
+0 1 1 0 1 1 1 0 0 0 0 5 5
+3 1 1 1 0 1 0 0 1 0 3 0 2
+1 1 2 4 5 10 20 50 100
+7H 6H 2H 5H 3H
+9S 9C 9H 8H 8D
+KS KH QH JD TS
+10
+1 1 1 1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1 1 1 1
+1 2 3 4 5 6 7 8 9
+AS 3D 2C 5D 6H
+6S 6C 7D 8H 9C
+TS TD QC JD JC
+KD KH KC AD 2C
+3D 4H 6D 5H 7C
+2S KS QS AS JS
+TS TD JD JC TH
+8H 8D TC 8C 8S
+4S 5S 3S 7S 6S
+KD QD JD TD AD
diff --git a/public_test_cases/p01335/input.1.txt b/public_test_cases/p01335/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5882c087c1da77aee6a938e0a348e8c5b3588791
--- /dev/null
+++ b/public_test_cases/p01335/input.1.txt
@@ -0,0 +1,25 @@
+3
+0 1 0 1 0 0 0 0 0 1 0 0 0
+1 0 0 0 0 0 1 0 0 1 0 0 2
+0 1 1 0 1 1 1 0 0 0 0 5 5
+3 1 1 1 0 1 0 0 1 0 3 0 2
+1 1 2 4 5 10 20 50 100
+7H 6H 2H 5H 3H
+9S 9C 9H 8H 8D
+KS KH QH JD TS
+10
+1 1 1 1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1 1 1 1
+1 2 3 4 5 6 7 8 9
+AS 3D 2C 5D 6H
+6S 6C 7D 8H 9C
+TS TD QC JD JC
+KD KH KC AD 2C
+3D 4H 6D 5H 7C
+2S KS QS AS JS
+TS TD JD JC TH
+8H 8D TC 8C 8S
+4S 5S 3S 7S 6S
+KD QD JD TD AD
diff --git a/public_test_cases/p01335/output.0.txt b/public_test_cases/p01335/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10c51ea475de2fa8aaefc7deec9d0e2fabf3a595
--- /dev/null
+++ b/public_test_cases/p01335/output.0.txt
@@ -0,0 +1,14 @@
+25
+0
+14
+
+0
+5
+10
+15
+20
+25
+30
+35
+40
+45
diff --git a/public_test_cases/p01335/output.1.txt b/public_test_cases/p01335/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10c51ea475de2fa8aaefc7deec9d0e2fabf3a595
--- /dev/null
+++ b/public_test_cases/p01335/output.1.txt
@@ -0,0 +1,14 @@
+25
+0
+14
+
+0
+5
+10
+15
+20
+25
+30
+35
+40
+45
diff --git a/public_test_cases/p01336/input.0.txt b/public_test_cases/p01336/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ce51926507de9b2b8c52b8fbcaa10b3fcb3b265
--- /dev/null
+++ b/public_test_cases/p01336/input.0.txt
@@ -0,0 +1,12 @@
+3 10
+Dobkeradops
+7 5 23 10
+PataPata
+1 1 2 1
+dop
+5 3 11 14
+2 300
+Bydo System Alpha
+7 11 4 7
+Green Inferno
+300 300 300 300
diff --git a/public_test_cases/p01336/input.1.txt b/public_test_cases/p01336/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ce51926507de9b2b8c52b8fbcaa10b3fcb3b265
--- /dev/null
+++ b/public_test_cases/p01336/input.1.txt
@@ -0,0 +1,12 @@
+3 10
+Dobkeradops
+7 5 23 10
+PataPata
+1 1 2 1
+dop
+5 3 11 14
+2 300
+Bydo System Alpha
+7 11 4 7
+Green Inferno
+300 300 300 300
diff --git a/public_test_cases/p01336/output.0.txt b/public_test_cases/p01336/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7f0ae08adb788fd0e6e5fcee941951c0da7ea2f
--- /dev/null
+++ b/public_test_cases/p01336/output.0.txt
@@ -0,0 +1,2 @@
+29
+462
diff --git a/public_test_cases/p01336/output.1.txt b/public_test_cases/p01336/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7f0ae08adb788fd0e6e5fcee941951c0da7ea2f
--- /dev/null
+++ b/public_test_cases/p01336/output.1.txt
@@ -0,0 +1,2 @@
+29
+462
diff --git a/public_test_cases/p01337/input.0.txt b/public_test_cases/p01337/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c394dfad733608febeda6a97b302febfa0679f02
--- /dev/null
+++ b/public_test_cases/p01337/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 3 3 1
+-10 0 0 0
diff --git a/public_test_cases/p01337/input.1.txt b/public_test_cases/p01337/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c394dfad733608febeda6a97b302febfa0679f02
--- /dev/null
+++ b/public_test_cases/p01337/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 3 3 1
+-10 0 0 0
diff --git a/public_test_cases/p01337/output.0.txt b/public_test_cases/p01337/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c353561c042b658802ef4dc244572016f992d65
--- /dev/null
+++ b/public_test_cases/p01337/output.0.txt
@@ -0,0 +1,2 @@
+0 3
+0 0
diff --git a/public_test_cases/p01337/output.1.txt b/public_test_cases/p01337/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c353561c042b658802ef4dc244572016f992d65
--- /dev/null
+++ b/public_test_cases/p01337/output.1.txt
@@ -0,0 +1,2 @@
+0 3
+0 0
diff --git a/public_test_cases/p01338/input.0.txt b/public_test_cases/p01338/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f803f96f12d7ded1e38a38313cb63ce78d5925cf
--- /dev/null
+++ b/public_test_cases/p01338/input.0.txt
@@ -0,0 +1,31 @@
+5
+
+1 1 0 3 3
+1 1 0 3 3
+0 0 0 0 0
+2 2 0 4 4
+2 2 0 4 4
+
+1 1 1 0 0
+1 1 1 1 0
+1 0 1 1 0
+0 0 1 1 1
+1 1 1 1 1
+
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 0 0
+
+4 3 4 3 4
+3 4 3 4 3
+4 3 4 3 4
+3 4 3 4 3
+4 3 4 3 4
+
+2 2 2 2 2
+0 0 0 2 0
+2 2 0 2 0
+2 2 0 2 0
+0 0 0 2 0
diff --git a/public_test_cases/p01338/input.1.txt b/public_test_cases/p01338/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f803f96f12d7ded1e38a38313cb63ce78d5925cf
--- /dev/null
+++ b/public_test_cases/p01338/input.1.txt
@@ -0,0 +1,31 @@
+5
+
+1 1 0 3 3
+1 1 0 3 3
+0 0 0 0 0
+2 2 0 4 4
+2 2 0 4 4
+
+1 1 1 0 0
+1 1 1 1 0
+1 0 1 1 0
+0 0 1 1 1
+1 1 1 1 1
+
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 0 0
+0 0 0 0 0
+
+4 3 4 3 4
+3 4 3 4 3
+4 3 4 3 4
+3 4 3 4 3
+4 3 4 3 4
+
+2 2 2 2 2
+0 0 0 2 0
+2 2 0 2 0
+2 2 0 2 0
+0 0 0 2 0
diff --git a/public_test_cases/p01338/output.0.txt b/public_test_cases/p01338/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8c4f2db080aaeff5a5570c2bfd8c4b7e22994ee
--- /dev/null
+++ b/public_test_cases/p01338/output.0.txt
@@ -0,0 +1,5 @@
+1280
+1420
+0
+1920
+1020
diff --git a/public_test_cases/p01338/output.1.txt b/public_test_cases/p01338/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8c4f2db080aaeff5a5570c2bfd8c4b7e22994ee
--- /dev/null
+++ b/public_test_cases/p01338/output.1.txt
@@ -0,0 +1,5 @@
+1280
+1420
+0
+1920
+1020
diff --git a/public_test_cases/p01339/input.0.txt b/public_test_cases/p01339/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c870f880507179ea9b47351e19f5bf33c947f81
--- /dev/null
+++ b/public_test_cases/p01339/input.0.txt
@@ -0,0 +1,5 @@
+5 4
+2 3
+3 4
+4 3
+5 4
diff --git a/public_test_cases/p01339/input.1.txt b/public_test_cases/p01339/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c870f880507179ea9b47351e19f5bf33c947f81
--- /dev/null
+++ b/public_test_cases/p01339/input.1.txt
@@ -0,0 +1,5 @@
+5 4
+2 3
+3 4
+4 3
+5 4
diff --git a/public_test_cases/p01339/input.2.txt b/public_test_cases/p01339/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e846a7c6282b3642ed86ac23209829f4a4a48586
--- /dev/null
+++ b/public_test_cases/p01339/input.2.txt
@@ -0,0 +1 @@
+5 0
diff --git a/public_test_cases/p01339/input.3.txt b/public_test_cases/p01339/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..769d2bcf06e88eaf5f9d9d5db4fd57d96bbb5a4e
--- /dev/null
+++ b/public_test_cases/p01339/input.3.txt
@@ -0,0 +1,6 @@
+5 5
+1 2
+2 3
+3 4
+4 5
+5 1
diff --git a/public_test_cases/p01339/output.0.txt b/public_test_cases/p01339/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01339/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01339/output.1.txt b/public_test_cases/p01339/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01339/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01339/output.2.txt b/public_test_cases/p01339/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p01339/output.2.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p01339/output.3.txt b/public_test_cases/p01339/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01339/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01340/input.0.txt b/public_test_cases/p01340/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..beb4ae90a7fc5a3631175cfdb9eccb9a34a26a4b
--- /dev/null
+++ b/public_test_cases/p01340/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+Uo.
+.oo
diff --git a/public_test_cases/p01340/input.1.txt b/public_test_cases/p01340/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00480645176146a20aafb4ea5e96157e0f3bb10a
--- /dev/null
+++ b/public_test_cases/p01340/input.1.txt
@@ -0,0 +1,11 @@
+10 10
+.o....o...
+o.oo......
+..oo..oo..
+..o.......
+..oo..oo..
+..o...o.o.
+o..U.o....
+oo......oo
+oo........
+oo..oo....
diff --git a/public_test_cases/p01340/input.2.txt b/public_test_cases/p01340/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b2baf5ac29a26717bdd024bf046ce2469059f7e
--- /dev/null
+++ b/public_test_cases/p01340/input.2.txt
@@ -0,0 +1,11 @@
+10 1
+D
+.
+.
+.
+.
+.
+.
+.
+.
+o
diff --git a/public_test_cases/p01340/input.3.txt b/public_test_cases/p01340/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..beb4ae90a7fc5a3631175cfdb9eccb9a34a26a4b
--- /dev/null
+++ b/public_test_cases/p01340/input.3.txt
@@ -0,0 +1,3 @@
+2 3
+Uo.
+.oo
diff --git a/public_test_cases/p01340/output.0.txt b/public_test_cases/p01340/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..699fd525ccb3785daa51f3612f1ca5664fecff99
--- /dev/null
+++ b/public_test_cases/p01340/output.0.txt
@@ -0,0 +1 @@
+RDR
diff --git a/public_test_cases/p01340/output.1.txt b/public_test_cases/p01340/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75de0fb3e33d98aac72a727e9b7335e11e07292c
--- /dev/null
+++ b/public_test_cases/p01340/output.1.txt
@@ -0,0 +1 @@
+URRULULDDLUURDLLLURRDLDDDRRDR
diff --git a/public_test_cases/p01340/output.2.txt b/public_test_cases/p01340/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..178481050188cf00d7d9cd5a11e43ab8fab9294f
--- /dev/null
+++ b/public_test_cases/p01340/output.2.txt
@@ -0,0 +1 @@
+D
diff --git a/public_test_cases/p01340/output.3.txt b/public_test_cases/p01340/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..699fd525ccb3785daa51f3612f1ca5664fecff99
--- /dev/null
+++ b/public_test_cases/p01340/output.3.txt
@@ -0,0 +1 @@
+RDR
diff --git a/public_test_cases/p01341/input.0.txt b/public_test_cases/p01341/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0d9d0f6c42f8b917cc336b38118559af42172bc
--- /dev/null
+++ b/public_test_cases/p01341/input.0.txt
@@ -0,0 +1,7 @@
+3 3
+0 0
+3 0
+0 4
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01341/input.1.txt b/public_test_cases/p01341/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0d9d0f6c42f8b917cc336b38118559af42172bc
--- /dev/null
+++ b/public_test_cases/p01341/input.1.txt
@@ -0,0 +1,7 @@
+3 3
+0 0
+3 0
+0 4
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01341/input.2.txt b/public_test_cases/p01341/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9622e61b1b733afa6476b6aa7b1a3cb3a6bc073
--- /dev/null
+++ b/public_test_cases/p01341/input.2.txt
@@ -0,0 +1,13 @@
+6 6
+0 0
+0 1
+1 0
+30 0
+0 40
+30 40
+1 2
+2 3
+3 1
+4 5
+5 6
+6 4
diff --git a/public_test_cases/p01341/input.3.txt b/public_test_cases/p01341/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..143fed849db714daebd4df72d578343a5ca715df
--- /dev/null
+++ b/public_test_cases/p01341/input.3.txt
@@ -0,0 +1,8 @@
+4 3
+0 0
+-100 0
+100 0
+0 100
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p01341/input.4.txt b/public_test_cases/p01341/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..969749344330e76fc07f2ab0b8fa48f529ca69d7
--- /dev/null
+++ b/public_test_cases/p01341/input.4.txt
@@ -0,0 +1,14 @@
+6 7
+2 0
+6 0
+8 2
+6 3
+0 5
+1 7
+1 2
+2 3
+3 4
+4 1
+5 1
+5 4
+5 6
diff --git a/public_test_cases/p01341/output.0.txt b/public_test_cases/p01341/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecbc2d38c9e969ddeb8209870bd7bf039e343db0
--- /dev/null
+++ b/public_test_cases/p01341/output.0.txt
@@ -0,0 +1 @@
+3.000
diff --git a/public_test_cases/p01341/output.1.txt b/public_test_cases/p01341/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecbc2d38c9e969ddeb8209870bd7bf039e343db0
--- /dev/null
+++ b/public_test_cases/p01341/output.1.txt
@@ -0,0 +1 @@
+3.000
diff --git a/public_test_cases/p01341/output.2.txt b/public_test_cases/p01341/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c885a87f61a87143556e0ed904cce8de26b898a
--- /dev/null
+++ b/public_test_cases/p01341/output.2.txt
@@ -0,0 +1 @@
+31.000
diff --git a/public_test_cases/p01341/output.3.txt b/public_test_cases/p01341/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b54df995394a3c063f473ae761d97774b7b58fa
--- /dev/null
+++ b/public_test_cases/p01341/output.3.txt
@@ -0,0 +1 @@
+0.000
diff --git a/public_test_cases/p01341/output.4.txt b/public_test_cases/p01341/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb5b611fea872343cb606dd812c0e36fbc515fc4
--- /dev/null
+++ b/public_test_cases/p01341/output.4.txt
@@ -0,0 +1 @@
+7.236
diff --git a/public_test_cases/p01342/input.0.txt b/public_test_cases/p01342/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1517420d2efb54ef6d0e39a0d63fd717e58fa76c
--- /dev/null
+++ b/public_test_cases/p01342/input.0.txt
@@ -0,0 +1,7 @@
+3 4 4
+1 0 1 1
+1 3 1 4
+1 2 2 2
+2 1 2 3
+0 0
+1 0
diff --git a/public_test_cases/p01342/input.1.txt b/public_test_cases/p01342/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d3785f63f5964d897d57f2f38335390b1bddd56
--- /dev/null
+++ b/public_test_cases/p01342/input.1.txt
@@ -0,0 +1,3 @@
+50 2 0
+0 0
+49 1
diff --git a/public_test_cases/p01342/input.2.txt b/public_test_cases/p01342/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61023f16faab8651689f8ec135e8a3c7ab4754ed
--- /dev/null
+++ b/public_test_cases/p01342/input.2.txt
@@ -0,0 +1,3 @@
+50 2 0
+0 0
+49 0
diff --git a/public_test_cases/p01342/input.3.txt b/public_test_cases/p01342/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1517420d2efb54ef6d0e39a0d63fd717e58fa76c
--- /dev/null
+++ b/public_test_cases/p01342/input.3.txt
@@ -0,0 +1,7 @@
+3 4 4
+1 0 1 1
+1 3 1 4
+1 2 2 2
+2 1 2 3
+0 0
+1 0
diff --git a/public_test_cases/p01342/output.0.txt b/public_test_cases/p01342/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01342/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01342/output.1.txt b/public_test_cases/p01342/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01342/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01342/output.2.txt b/public_test_cases/p01342/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01342/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01342/output.3.txt b/public_test_cases/p01342/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01342/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01343/input.0.txt b/public_test_cases/p01343/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b690d6ca68201704e85bcb5537de61ab50d5baa
--- /dev/null
+++ b/public_test_cases/p01343/input.0.txt
@@ -0,0 +1,3 @@
+2 1
+0 0 1 0
+1 1 0 1
diff --git a/public_test_cases/p01343/input.1.txt b/public_test_cases/p01343/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff2629ce7035ab422878f6886af2c1d48af01c0b
--- /dev/null
+++ b/public_test_cases/p01343/input.1.txt
@@ -0,0 +1,2 @@
+1 1
+0 0 2 0
diff --git a/public_test_cases/p01343/input.2.txt b/public_test_cases/p01343/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b690d6ca68201704e85bcb5537de61ab50d5baa
--- /dev/null
+++ b/public_test_cases/p01343/input.2.txt
@@ -0,0 +1,3 @@
+2 1
+0 0 1 0
+1 1 0 1
diff --git a/public_test_cases/p01343/input.3.txt b/public_test_cases/p01343/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8100fc969e79961905867c7430af9b0a8b56aefc
--- /dev/null
+++ b/public_test_cases/p01343/input.3.txt
@@ -0,0 +1,4 @@
+3 2
+0 0 2 0
+1 -1 1 2
+0 1 2 1
diff --git a/public_test_cases/p01343/output.0.txt b/public_test_cases/p01343/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea2470b527dc31800c5da5b6e6df213ba857a66b
--- /dev/null
+++ b/public_test_cases/p01343/output.0.txt
@@ -0,0 +1 @@
+5.2793638507
diff --git a/public_test_cases/p01343/output.1.txt b/public_test_cases/p01343/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9eeebef101196fa6bd9639d1e493472995848ed6
--- /dev/null
+++ b/public_test_cases/p01343/output.1.txt
@@ -0,0 +1 @@
+2.8284271082
diff --git a/public_test_cases/p01343/output.2.txt b/public_test_cases/p01343/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea2470b527dc31800c5da5b6e6df213ba857a66b
--- /dev/null
+++ b/public_test_cases/p01343/output.2.txt
@@ -0,0 +1 @@
+5.2793638507
diff --git a/public_test_cases/p01343/output.3.txt b/public_test_cases/p01343/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ed2ea04e2ab4bab6e33eb7eae74d8b02e1ecbb8
--- /dev/null
+++ b/public_test_cases/p01343/output.3.txt
@@ -0,0 +1 @@
+11.1364603512
diff --git a/public_test_cases/p01344/input.0.txt b/public_test_cases/p01344/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1b4f9686b5384991d848367b778eb566e4f56a9
--- /dev/null
+++ b/public_test_cases/p01344/input.0.txt
@@ -0,0 +1,8 @@
+6
+4 3 3
+10 17
+15 14
+10 15
+11 12
+16 18
+15 22
diff --git a/public_test_cases/p01344/input.1.txt b/public_test_cases/p01344/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ccb79aa9236ded593e3dd866f4da0494e086da0
--- /dev/null
+++ b/public_test_cases/p01344/input.1.txt
@@ -0,0 +1,9 @@
+7
+4 2 4
+11 18
+14 18
+10 14
+13 14
+14 17
+17 21
+16 26
diff --git a/public_test_cases/p01344/input.2.txt b/public_test_cases/p01344/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f7ae77dae789bc06387e9e3949735e6d001cb5d
--- /dev/null
+++ b/public_test_cases/p01344/input.2.txt
@@ -0,0 +1,8 @@
+6
+2 3 3
+11 22
+12 20
+10 15
+11 17
+13 23
+16 22
diff --git a/public_test_cases/p01344/input.3.txt b/public_test_cases/p01344/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3d20923f5ce80c8d156dd231917ef83b075df44
--- /dev/null
+++ b/public_test_cases/p01344/input.3.txt
@@ -0,0 +1,8 @@
+6
+2 2 4
+12 22
+13 21
+14 15
+10 16
+16 24
+10 35
diff --git a/public_test_cases/p01344/input.4.txt b/public_test_cases/p01344/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1b4f9686b5384991d848367b778eb566e4f56a9
--- /dev/null
+++ b/public_test_cases/p01344/input.4.txt
@@ -0,0 +1,8 @@
+6
+4 3 3
+10 17
+15 14
+10 15
+11 12
+16 18
+15 22
diff --git a/public_test_cases/p01344/output.0.txt b/public_test_cases/p01344/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01344/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01344/output.1.txt b/public_test_cases/p01344/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01344/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01344/output.2.txt b/public_test_cases/p01344/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01344/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01344/output.3.txt b/public_test_cases/p01344/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01344/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01344/output.4.txt b/public_test_cases/p01344/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01344/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01345/input.0.txt b/public_test_cases/p01345/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93687b0a2cb0ee289754745024494fadd04768f3
--- /dev/null
+++ b/public_test_cases/p01345/input.0.txt
@@ -0,0 +1,6 @@
+4
+0 0
+10 10
+10 -10
+-10 -10
+-10 10
diff --git a/public_test_cases/p01345/input.1.txt b/public_test_cases/p01345/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abe5c130a6ee546ebd6a955718615e6c617c8823
--- /dev/null
+++ b/public_test_cases/p01345/input.1.txt
@@ -0,0 +1,6 @@
+4
+89 0
+0 0
+0 -90
+0 180
+0 90
diff --git a/public_test_cases/p01345/input.2.txt b/public_test_cases/p01345/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93687b0a2cb0ee289754745024494fadd04768f3
--- /dev/null
+++ b/public_test_cases/p01345/input.2.txt
@@ -0,0 +1,6 @@
+4
+0 0
+10 10
+10 -10
+-10 -10
+-10 10
diff --git a/public_test_cases/p01345/input.3.txt b/public_test_cases/p01345/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51f98975c6017f37f5df3d8b7aa6d7effa9ae26c
--- /dev/null
+++ b/public_test_cases/p01345/input.3.txt
@@ -0,0 +1,6 @@
+4
+89 0
+0 0
+0 90
+0 180
+0 -90
diff --git a/public_test_cases/p01345/output.0.txt b/public_test_cases/p01345/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01345/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01345/output.1.txt b/public_test_cases/p01345/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01345/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01345/output.2.txt b/public_test_cases/p01345/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01345/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01345/output.3.txt b/public_test_cases/p01345/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01345/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01346/input.0.txt b/public_test_cases/p01346/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..171f08b13fb4b2fcdeac0febc7573bae55857d3d
--- /dev/null
+++ b/public_test_cases/p01346/input.0.txt
@@ -0,0 +1,2 @@
+3 3 2 1
+1 1 4
diff --git a/public_test_cases/p01346/input.1.txt b/public_test_cases/p01346/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..171f08b13fb4b2fcdeac0febc7573bae55857d3d
--- /dev/null
+++ b/public_test_cases/p01346/input.1.txt
@@ -0,0 +1,2 @@
+3 3 2 1
+1 1 4
diff --git a/public_test_cases/p01346/input.2.txt b/public_test_cases/p01346/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0369e2b937ba800a1bc14315b7d0da42a6525506
--- /dev/null
+++ b/public_test_cases/p01346/input.2.txt
@@ -0,0 +1,2 @@
+3 3 2 1
+1 4 1
diff --git a/public_test_cases/p01346/output.0.txt b/public_test_cases/p01346/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01346/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01346/output.1.txt b/public_test_cases/p01346/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01346/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01346/output.2.txt b/public_test_cases/p01346/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01346/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01347/input.0.txt b/public_test_cases/p01347/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f92b55f50eaae9feb22b37504590883b2c1c3bce
--- /dev/null
+++ b/public_test_cases/p01347/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+0 1 5
+1 2 3
+0 2 2
diff --git a/public_test_cases/p01347/input.1.txt b/public_test_cases/p01347/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7722f072fe096dbeef7f2a0a5a4f26c89ff0cdbd
--- /dev/null
+++ b/public_test_cases/p01347/input.1.txt
@@ -0,0 +1,7 @@
+4 6
+0 1 5
+0 2 5
+0 3 5
+1 2 5
+1 3 5
+2 3 5
diff --git a/public_test_cases/p01347/input.2.txt b/public_test_cases/p01347/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f289a7b6851759f1022f0921856b235b86eb4dbf
--- /dev/null
+++ b/public_test_cases/p01347/input.2.txt
@@ -0,0 +1,2 @@
+2 1
+0 1 10
diff --git a/public_test_cases/p01347/input.3.txt b/public_test_cases/p01347/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f92b55f50eaae9feb22b37504590883b2c1c3bce
--- /dev/null
+++ b/public_test_cases/p01347/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+0 1 5
+1 2 3
+0 2 2
diff --git a/public_test_cases/p01347/output.0.txt b/public_test_cases/p01347/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01347/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01347/output.1.txt b/public_test_cases/p01347/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p01347/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p01347/output.2.txt b/public_test_cases/p01347/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01347/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01347/output.3.txt b/public_test_cases/p01347/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01347/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01348/input.0.txt b/public_test_cases/p01348/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1c7c60a6bfbd0a1c1c28e7c33cec21564c420b5
--- /dev/null
+++ b/public_test_cases/p01348/input.0.txt
@@ -0,0 +1,3 @@
+4 2
+0 2
+3 1
diff --git a/public_test_cases/p01348/input.1.txt b/public_test_cases/p01348/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b0b3975c97c4e7d0770175c1d96db5ab8fba4f3
--- /dev/null
+++ b/public_test_cases/p01348/input.1.txt
@@ -0,0 +1,4 @@
+10 3
+0 0
+4 4
+1 4
diff --git a/public_test_cases/p01348/input.2.txt b/public_test_cases/p01348/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..405a1e1131a1c53906d6a9ba02f8e1137d25d99d
--- /dev/null
+++ b/public_test_cases/p01348/input.2.txt
@@ -0,0 +1,3 @@
+4 2
+2 3
+3 2
diff --git a/public_test_cases/p01348/input.3.txt b/public_test_cases/p01348/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1c7c60a6bfbd0a1c1c28e7c33cec21564c420b5
--- /dev/null
+++ b/public_test_cases/p01348/input.3.txt
@@ -0,0 +1,3 @@
+4 2
+0 2
+3 1
diff --git a/public_test_cases/p01348/output.0.txt b/public_test_cases/p01348/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01348/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01348/output.1.txt b/public_test_cases/p01348/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb8e83187e71f102f8a11bf0a40ca13fd7bf5449
--- /dev/null
+++ b/public_test_cases/p01348/output.1.txt
@@ -0,0 +1 @@
+1127
diff --git a/public_test_cases/p01348/output.2.txt b/public_test_cases/p01348/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01348/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01348/output.3.txt b/public_test_cases/p01348/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01348/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01349/input.0.txt b/public_test_cases/p01349/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3c8eadeaa6a273ba85a63331c28532bccfbb1da
--- /dev/null
+++ b/public_test_cases/p01349/input.0.txt
@@ -0,0 +1,5 @@
+4 6 3
+......
+...Y..
+...Y..
+RRYRYY
diff --git a/public_test_cases/p01349/input.1.txt b/public_test_cases/p01349/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3c8eadeaa6a273ba85a63331c28532bccfbb1da
--- /dev/null
+++ b/public_test_cases/p01349/input.1.txt
@@ -0,0 +1,5 @@
+4 6 3
+......
+...Y..
+...Y..
+RRYRYY
diff --git a/public_test_cases/p01349/input.2.txt b/public_test_cases/p01349/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c44f4f963549fd097c6da031e3fb79a273dee3ee
--- /dev/null
+++ b/public_test_cases/p01349/input.2.txt
@@ -0,0 +1,5 @@
+4 6 3
+......
+...Y..
+...Y..
+RRYRY.
diff --git a/public_test_cases/p01349/output.0.txt b/public_test_cases/p01349/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01349/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01349/output.1.txt b/public_test_cases/p01349/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01349/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01349/output.2.txt b/public_test_cases/p01349/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p01349/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p01350/input.0.txt b/public_test_cases/p01350/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0896f7651e2118cffc80dd6fa656b875b408f82
--- /dev/null
+++ b/public_test_cases/p01350/input.0.txt
@@ -0,0 +1,7 @@
+5
+100.1 90.1
+0 0
+0 10
+5 5
+10 0
+10 10
diff --git a/public_test_cases/p01350/input.1.txt b/public_test_cases/p01350/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0896f7651e2118cffc80dd6fa656b875b408f82
--- /dev/null
+++ b/public_test_cases/p01350/input.1.txt
@@ -0,0 +1,7 @@
+5
+100.1 90.1
+0 0
+0 10
+5 5
+10 0
+10 10
diff --git a/public_test_cases/p01350/output.0.txt b/public_test_cases/p01350/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01350/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01350/output.1.txt b/public_test_cases/p01350/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01350/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01351/input.0.txt b/public_test_cases/p01351/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0639a7f9a9b2d067ec7b9a9f9da4e842e66a46c
--- /dev/null
+++ b/public_test_cases/p01351/input.0.txt
@@ -0,0 +1 @@
+6 6 2 2 2 4
diff --git a/public_test_cases/p01351/input.1.txt b/public_test_cases/p01351/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0639a7f9a9b2d067ec7b9a9f9da4e842e66a46c
--- /dev/null
+++ b/public_test_cases/p01351/input.1.txt
@@ -0,0 +1 @@
+6 6 2 2 2 4
diff --git a/public_test_cases/p01351/output.0.txt b/public_test_cases/p01351/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01351/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01351/output.1.txt b/public_test_cases/p01351/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01351/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01352/input.0.txt b/public_test_cases/p01352/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4233e56ecfff0a86aa315d5e688a0ca8cedaf13e
--- /dev/null
+++ b/public_test_cases/p01352/input.0.txt
@@ -0,0 +1,11 @@
+4 10
+1 0 1
+1 0 2
+3 1 2
+2 0 1
+1 2 3
+3 0 1
+1 0 1
+2 0 2
+1 1 3
+3 0 2
diff --git a/public_test_cases/p01352/input.1.txt b/public_test_cases/p01352/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4233e56ecfff0a86aa315d5e688a0ca8cedaf13e
--- /dev/null
+++ b/public_test_cases/p01352/input.1.txt
@@ -0,0 +1,11 @@
+4 10
+1 0 1
+1 0 2
+3 1 2
+2 0 1
+1 2 3
+3 0 1
+1 0 1
+2 0 2
+1 1 3
+3 0 2
diff --git a/public_test_cases/p01352/output.0.txt b/public_test_cases/p01352/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0db7433a539f2df28a97ee70cae486285cc2acad
--- /dev/null
+++ b/public_test_cases/p01352/output.0.txt
@@ -0,0 +1,3 @@
+YES
+NO
+YES
diff --git a/public_test_cases/p01352/output.1.txt b/public_test_cases/p01352/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0db7433a539f2df28a97ee70cae486285cc2acad
--- /dev/null
+++ b/public_test_cases/p01352/output.1.txt
@@ -0,0 +1,3 @@
+YES
+NO
+YES
diff --git a/public_test_cases/p01353/input.0.txt b/public_test_cases/p01353/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..765dd463098d854fc69a426a407245ce8a5f2fa7
--- /dev/null
+++ b/public_test_cases/p01353/input.0.txt
@@ -0,0 +1,4 @@
+2
+10 3 1 2
+2 4 1 3
+2 2 1 1
diff --git a/public_test_cases/p01353/input.1.txt b/public_test_cases/p01353/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72b1126af7dfdeebbafdb4e74f08bf3b9f02b3aa
--- /dev/null
+++ b/public_test_cases/p01353/input.1.txt
@@ -0,0 +1,3 @@
+1
+1 1 1 1
+10000 10000 10000 10000
diff --git a/public_test_cases/p01353/input.2.txt b/public_test_cases/p01353/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..765dd463098d854fc69a426a407245ce8a5f2fa7
--- /dev/null
+++ b/public_test_cases/p01353/input.2.txt
@@ -0,0 +1,4 @@
+2
+10 3 1 2
+2 4 1 3
+2 2 1 1
diff --git a/public_test_cases/p01353/output.0.txt b/public_test_cases/p01353/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01353/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01353/output.1.txt b/public_test_cases/p01353/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01353/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01353/output.2.txt b/public_test_cases/p01353/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01353/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01354/input.0.txt b/public_test_cases/p01354/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83afc928e459165eedab395fb9b63c50a546f5ac
--- /dev/null
+++ b/public_test_cases/p01354/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+0.900 0.500 0.100
+0.500 0.500 0.500
diff --git a/public_test_cases/p01354/input.1.txt b/public_test_cases/p01354/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83afc928e459165eedab395fb9b63c50a546f5ac
--- /dev/null
+++ b/public_test_cases/p01354/input.1.txt
@@ -0,0 +1,3 @@
+2 3
+0.900 0.500 0.100
+0.500 0.500 0.500
diff --git a/public_test_cases/p01354/output.0.txt b/public_test_cases/p01354/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2814a15f8648b668f398ed3831615857d288917f
--- /dev/null
+++ b/public_test_cases/p01354/output.0.txt
@@ -0,0 +1 @@
+0.372500000000
diff --git a/public_test_cases/p01354/output.1.txt b/public_test_cases/p01354/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2814a15f8648b668f398ed3831615857d288917f
--- /dev/null
+++ b/public_test_cases/p01354/output.1.txt
@@ -0,0 +1 @@
+0.372500000000
diff --git a/public_test_cases/p01355/input.0.txt b/public_test_cases/p01355/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffec93763b1f91f96c3f3425377782ca6f626696
--- /dev/null
+++ b/public_test_cases/p01355/input.0.txt
@@ -0,0 +1,3 @@
+2 1
+10 0 10
+20 0 10
diff --git a/public_test_cases/p01355/input.1.txt b/public_test_cases/p01355/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffec93763b1f91f96c3f3425377782ca6f626696
--- /dev/null
+++ b/public_test_cases/p01355/input.1.txt
@@ -0,0 +1,3 @@
+2 1
+10 0 10
+20 0 10
diff --git a/public_test_cases/p01355/output.0.txt b/public_test_cases/p01355/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01355/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01355/output.1.txt b/public_test_cases/p01355/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01355/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01356/input.0.txt b/public_test_cases/p01356/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bfffc0fe58ded2a1a890585410c60ca9ed42644
--- /dev/null
+++ b/public_test_cases/p01356/input.0.txt
@@ -0,0 +1 @@
+6 200 2 3 4 5
diff --git a/public_test_cases/p01356/input.1.txt b/public_test_cases/p01356/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..263b0a96c4486f9e744493145e65561b080215ba
--- /dev/null
+++ b/public_test_cases/p01356/input.1.txt
@@ -0,0 +1 @@
+6 1 2 3 4 5
diff --git a/public_test_cases/p01356/input.2.txt b/public_test_cases/p01356/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bfffc0fe58ded2a1a890585410c60ca9ed42644
--- /dev/null
+++ b/public_test_cases/p01356/input.2.txt
@@ -0,0 +1 @@
+6 200 2 3 4 5
diff --git a/public_test_cases/p01356/output.0.txt b/public_test_cases/p01356/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01356/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01356/output.1.txt b/public_test_cases/p01356/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01356/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01356/output.2.txt b/public_test_cases/p01356/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01356/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01357/input.0.txt b/public_test_cases/p01357/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c1162cf2f3d221a7191b183031463e459b1229a
--- /dev/null
+++ b/public_test_cases/p01357/input.0.txt
@@ -0,0 +1,7 @@
+2
+1 -1 3 -1 3 1 1 3 -1 3 -1 1
+3 0 4 0 4 1 3 2 2 2 2 1
+3
+1 1
+-1 -1
+2 4
diff --git a/public_test_cases/p01357/input.1.txt b/public_test_cases/p01357/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c1162cf2f3d221a7191b183031463e459b1229a
--- /dev/null
+++ b/public_test_cases/p01357/input.1.txt
@@ -0,0 +1,7 @@
+2
+1 -1 3 -1 3 1 1 3 -1 3 -1 1
+3 0 4 0 4 1 3 2 2 2 2 1
+3
+1 1
+-1 -1
+2 4
diff --git a/public_test_cases/p01357/output.0.txt b/public_test_cases/p01357/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0db7433a539f2df28a97ee70cae486285cc2acad
--- /dev/null
+++ b/public_test_cases/p01357/output.0.txt
@@ -0,0 +1,3 @@
+YES
+NO
+YES
diff --git a/public_test_cases/p01357/output.1.txt b/public_test_cases/p01357/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0db7433a539f2df28a97ee70cae486285cc2acad
--- /dev/null
+++ b/public_test_cases/p01357/output.1.txt
@@ -0,0 +1,3 @@
+YES
+NO
+YES
diff --git a/public_test_cases/p01358/input.0.txt b/public_test_cases/p01358/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f46337be4374406b2ef19e61fa3cd7c69db1def
--- /dev/null
+++ b/public_test_cases/p01358/input.0.txt
@@ -0,0 +1,17 @@
+3 2 2 10
+1 2 3
+4 5 6
+7 8 9
+1 2 3
+6 5 4
+7 8 9
+11
+4
+7
+5
+10
+9
+2
+1
+3
+8
diff --git a/public_test_cases/p01358/input.1.txt b/public_test_cases/p01358/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f46337be4374406b2ef19e61fa3cd7c69db1def
--- /dev/null
+++ b/public_test_cases/p01358/input.1.txt
@@ -0,0 +1,17 @@
+3 2 2 10
+1 2 3
+4 5 6
+7 8 9
+1 2 3
+6 5 4
+7 8 9
+11
+4
+7
+5
+10
+9
+2
+1
+3
+8
diff --git a/public_test_cases/p01358/input.2.txt b/public_test_cases/p01358/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..529a79b612d182660aa0cc6f3356de8bf3bd23ed
--- /dev/null
+++ b/public_test_cases/p01358/input.2.txt
@@ -0,0 +1,17 @@
+3 2 1 10
+1 2 3
+4 5 6
+7 8 9
+1 2 3
+6 5 4
+7 8 9
+11
+4
+7
+5
+10
+9
+2
+1
+3
+8
diff --git a/public_test_cases/p01358/output.0.txt b/public_test_cases/p01358/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2604de8b3a8927c9a3f7239eba4290e3d496f25
--- /dev/null
+++ b/public_test_cases/p01358/output.0.txt
@@ -0,0 +1 @@
+USAGI
diff --git a/public_test_cases/p01358/output.1.txt b/public_test_cases/p01358/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2604de8b3a8927c9a3f7239eba4290e3d496f25
--- /dev/null
+++ b/public_test_cases/p01358/output.1.txt
@@ -0,0 +1 @@
+USAGI
diff --git a/public_test_cases/p01358/output.2.txt b/public_test_cases/p01358/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ce347c6df96e59194f0123cc266c1d81bdea49a
--- /dev/null
+++ b/public_test_cases/p01358/output.2.txt
@@ -0,0 +1 @@
+DRAW
diff --git a/public_test_cases/p01359/input.0.txt b/public_test_cases/p01359/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b454bb0a9bb2ae3787347f16ba82caa665dba3a
--- /dev/null
+++ b/public_test_cases/p01359/input.0.txt
@@ -0,0 +1,12 @@
+4 3
+meiji 10 1877
+taisho 6 1917
+showa 62 1987
+heisei 22 2010
+1868
+1917
+1988
+1 1
+universalcentury 123 2168
+2010
+0 0
diff --git a/public_test_cases/p01359/input.1.txt b/public_test_cases/p01359/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b454bb0a9bb2ae3787347f16ba82caa665dba3a
--- /dev/null
+++ b/public_test_cases/p01359/input.1.txt
@@ -0,0 +1,12 @@
+4 3
+meiji 10 1877
+taisho 6 1917
+showa 62 1987
+heisei 22 2010
+1868
+1917
+1988
+1 1
+universalcentury 123 2168
+2010
+0 0
diff --git a/public_test_cases/p01359/output.0.txt b/public_test_cases/p01359/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79f66c1e43a290e95c34770d08bfeaffc2f12ee0
--- /dev/null
+++ b/public_test_cases/p01359/output.0.txt
@@ -0,0 +1,4 @@
+meiji 1
+taisho 6
+Unknown
+Unknown
diff --git a/public_test_cases/p01359/output.1.txt b/public_test_cases/p01359/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79f66c1e43a290e95c34770d08bfeaffc2f12ee0
--- /dev/null
+++ b/public_test_cases/p01359/output.1.txt
@@ -0,0 +1,4 @@
+meiji 1
+taisho 6
+Unknown
+Unknown
diff --git a/public_test_cases/p01360/input.0.txt b/public_test_cases/p01360/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5fc975791fd47cf3b4c87507e8914b38d06ed9a
--- /dev/null
+++ b/public_test_cases/p01360/input.0.txt
@@ -0,0 +1,8 @@
+1
+12
+123
+369
+6748
+4247219123
+1232123212321232
+#
diff --git a/public_test_cases/p01360/input.1.txt b/public_test_cases/p01360/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac92c26dfd414407da0c3dfaf81ac530ed58c5c
--- /dev/null
+++ b/public_test_cases/p01360/input.1.txt
@@ -0,0 +1,7 @@
+1
+12
+123
+369
+6748
+4247219123
+1232123212321232
diff --git a/public_test_cases/p01360/input.2.txt b/public_test_cases/p01360/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5fc975791fd47cf3b4c87507e8914b38d06ed9a
--- /dev/null
+++ b/public_test_cases/p01360/input.2.txt
@@ -0,0 +1,8 @@
+1
+12
+123
+369
+6748
+4247219123
+1232123212321232
+#
diff --git a/public_test_cases/p01360/output.0.txt b/public_test_cases/p01360/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99564e9d7e5bba043676dd81702ca8c8960a0849
--- /dev/null
+++ b/public_test_cases/p01360/output.0.txt
@@ -0,0 +1,7 @@
+0
+0
+1
+0
+1
+2
+7
diff --git a/public_test_cases/p01360/output.1.txt b/public_test_cases/p01360/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99564e9d7e5bba043676dd81702ca8c8960a0849
--- /dev/null
+++ b/public_test_cases/p01360/output.1.txt
@@ -0,0 +1,7 @@
+0
+0
+1
+0
+1
+2
+7
diff --git a/public_test_cases/p01360/output.2.txt b/public_test_cases/p01360/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99564e9d7e5bba043676dd81702ca8c8960a0849
--- /dev/null
+++ b/public_test_cases/p01360/output.2.txt
@@ -0,0 +1,7 @@
+0
+0
+1
+0
+1
+2
+7
diff --git a/public_test_cases/p01361/input.0.txt b/public_test_cases/p01361/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ad4aca9b9a83a2ad99358d318b08bb062a3b69a
--- /dev/null
+++ b/public_test_cases/p01361/input.0.txt
@@ -0,0 +1,54 @@
+1 10
+3 3
+AAA
+ABA
+CCC
+3
+A 0
+B 5
+C 9
+3
+D 2
+R 1
+U 2
+5
+10
+10
+10
+10
+10
+100 100
+10 10
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+8
+T 0
+H 1
+I 2
+S 3
+A 4
+P 5
+E 6
+N 7
+9
+R 1
+D 3
+R 8
+D 2
+L 9
+D 2
+R 9
+D 2
+L 9
+2
+20
+10
+0 0
diff --git a/public_test_cases/p01361/input.1.txt b/public_test_cases/p01361/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ad4aca9b9a83a2ad99358d318b08bb062a3b69a
--- /dev/null
+++ b/public_test_cases/p01361/input.1.txt
@@ -0,0 +1,54 @@
+1 10
+3 3
+AAA
+ABA
+CCC
+3
+A 0
+B 5
+C 9
+3
+D 2
+R 1
+U 2
+5
+10
+10
+10
+10
+10
+100 100
+10 10
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+THISISAPEN
+8
+T 0
+H 1
+I 2
+S 3
+A 4
+P 5
+E 6
+N 7
+9
+R 1
+D 3
+R 8
+D 2
+L 9
+D 2
+R 9
+D 2
+L 9
+2
+20
+10
+0 0
diff --git a/public_test_cases/p01361/output.0.txt b/public_test_cases/p01361/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p01361/output.0.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p01361/output.1.txt b/public_test_cases/p01361/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p01361/output.1.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p01362/input.0.txt b/public_test_cases/p01362/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a1def9bb4bbeaddbe316da08872526728b051ca
--- /dev/null
+++ b/public_test_cases/p01362/input.0.txt
@@ -0,0 +1,58 @@
+...
+...
+.*.
+...
+...
+.*.
+...
+...
+...
+...
+...
+.*.
+...
+...
+.*.
+...
+...
+...
+
+...
+.*.
+...
+*..
+...
+..*
+*.*
+*.*
+*.*
+*.*
+.*.
+*.*
+*..
+.*.
+..*
+*.*
+...
+*.*
+
+...
+.*.
+.*.
+...
+.**
+*..
+...
+...
+.*.
+.*.
+...
+*..
+..*
+...
+.**
+...
+*..
+...
+
+#
diff --git a/public_test_cases/p01362/input.1.txt b/public_test_cases/p01362/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e65bf4fbf505a0886ed44ea398cd88997d752b18
--- /dev/null
+++ b/public_test_cases/p01362/input.1.txt
@@ -0,0 +1,56 @@
+...
+...
+.*.
+...
+...
+.*.
+...
+...
+...
+...
+...
+.*.
+...
+...
+.*.
+...
+...
+...
+
+...
+.*.
+...
+*..
+...
+..*
+*.*
+*.*
+*.*
+*.*
+.*.
+*.*
+*..
+.*.
+..*
+*.*
+...
+*.*
+
+...
+.*.
+.*.
+...
+.**
+*..
+...
+...
+.*.
+.*.
+...
+*..
+..*
+...
+.**
+...
+*..
+...
diff --git a/public_test_cases/p01362/input.2.txt b/public_test_cases/p01362/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a1def9bb4bbeaddbe316da08872526728b051ca
--- /dev/null
+++ b/public_test_cases/p01362/input.2.txt
@@ -0,0 +1,58 @@
+...
+...
+.*.
+...
+...
+.*.
+...
+...
+...
+...
+...
+.*.
+...
+...
+.*.
+...
+...
+...
+
+...
+.*.
+...
+*..
+...
+..*
+*.*
+*.*
+*.*
+*.*
+.*.
+*.*
+*..
+.*.
+..*
+*.*
+...
+*.*
+
+...
+.*.
+.*.
+...
+.**
+*..
+...
+...
+.*.
+.*.
+...
+*..
+..*
+...
+.**
+...
+*..
+...
+
+#
diff --git a/public_test_cases/p01362/output.0.txt b/public_test_cases/p01362/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b90379abb74e1fddf978dc94ff316bc2412331c
--- /dev/null
+++ b/public_test_cases/p01362/output.0.txt
@@ -0,0 +1,3 @@
+3
+1
+0
diff --git a/public_test_cases/p01362/output.1.txt b/public_test_cases/p01362/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b90379abb74e1fddf978dc94ff316bc2412331c
--- /dev/null
+++ b/public_test_cases/p01362/output.1.txt
@@ -0,0 +1,3 @@
+3
+1
+0
diff --git a/public_test_cases/p01362/output.2.txt b/public_test_cases/p01362/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b90379abb74e1fddf978dc94ff316bc2412331c
--- /dev/null
+++ b/public_test_cases/p01362/output.2.txt
@@ -0,0 +1,3 @@
+3
+1
+0
diff --git a/public_test_cases/p01363/input.0.txt b/public_test_cases/p01363/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6caa534c8a93b959ef7ed0202bb6f99ec58e25c6
--- /dev/null
+++ b/public_test_cases/p01363/input.0.txt
@@ -0,0 +1,20 @@
+1
+1 1
+4 -1 0 -2 -1 -1 -2 0 -1
+1
+0 3
+4 1 1 1 2 -1 2 -1 1
+1
+-6 -6
+6 1 -2 2 -2 2 3 -2 3 -2 1 1 1
+1
+-10 0
+4 0 -5 1 -5 1 5 0 5
+1
+10 1
+4 5 1 6 2 5 3 4 2
+2
+-47 -37
+4 14 3 20 13 9 12 15 9
+4 -38 -3 -34 -19 -34 -14 -24 -10
+0
diff --git a/public_test_cases/p01363/input.1.txt b/public_test_cases/p01363/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6caa534c8a93b959ef7ed0202bb6f99ec58e25c6
--- /dev/null
+++ b/public_test_cases/p01363/input.1.txt
@@ -0,0 +1,20 @@
+1
+1 1
+4 -1 0 -2 -1 -1 -2 0 -1
+1
+0 3
+4 1 1 1 2 -1 2 -1 1
+1
+-6 -6
+6 1 -2 2 -2 2 3 -2 3 -2 1 1 1
+1
+-10 0
+4 0 -5 1 -5 1 5 0 5
+1
+10 1
+4 5 1 6 2 5 3 4 2
+2
+-47 -37
+4 14 3 20 13 9 12 15 9
+4 -38 -3 -34 -19 -34 -14 -24 -10
+0
diff --git a/public_test_cases/p01363/output.0.txt b/public_test_cases/p01363/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b8a742f3f077619d582cf442ca77c833d6ac830
--- /dev/null
+++ b/public_test_cases/p01363/output.0.txt
@@ -0,0 +1,6 @@
+1.00000000
+0.00000000
+3.23606798
+5.00000000
+1.00000000
+11.78517297
diff --git a/public_test_cases/p01363/output.1.txt b/public_test_cases/p01363/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b8a742f3f077619d582cf442ca77c833d6ac830
--- /dev/null
+++ b/public_test_cases/p01363/output.1.txt
@@ -0,0 +1,6 @@
+1.00000000
+0.00000000
+3.23606798
+5.00000000
+1.00000000
+11.78517297
diff --git a/public_test_cases/p01364/input.0.txt b/public_test_cases/p01364/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb440576cba3d65721dec57b93ebba95b607dc50
--- /dev/null
+++ b/public_test_cases/p01364/input.0.txt
@@ -0,0 +1,12 @@
+1 1
+180 90 2
+1 1
+180 180 20
+2 10
+360 -360 5
+-90 360 8
+3 2
+100 60 9
+-72 -72 10
+-45 -225 5
+0 0
diff --git a/public_test_cases/p01364/input.1.txt b/public_test_cases/p01364/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb440576cba3d65721dec57b93ebba95b607dc50
--- /dev/null
+++ b/public_test_cases/p01364/input.1.txt
@@ -0,0 +1,12 @@
+1 1
+180 90 2
+1 1
+180 180 20
+2 10
+360 -360 5
+-90 360 8
+3 2
+100 60 9
+-72 -72 10
+-45 -225 5
+0 0
diff --git a/public_test_cases/p01364/output.0.txt b/public_test_cases/p01364/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fbb60dd4f0ba13a55cb1996338fd84cc24d6960
--- /dev/null
+++ b/public_test_cases/p01364/output.0.txt
@@ -0,0 +1,8 @@
+3.00000
+3.00000
+0.00000
+62.83185
+12.00000
+0.00000
+-2.44505
+13.12132
diff --git a/public_test_cases/p01364/output.1.txt b/public_test_cases/p01364/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fbb60dd4f0ba13a55cb1996338fd84cc24d6960
--- /dev/null
+++ b/public_test_cases/p01364/output.1.txt
@@ -0,0 +1,8 @@
+3.00000
+3.00000
+0.00000
+62.83185
+12.00000
+0.00000
+-2.44505
+13.12132
diff --git a/public_test_cases/p01365/input.0.txt b/public_test_cases/p01365/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc5d72561c8149fdad1ee12e6b0499f6eb2fab1c
--- /dev/null
+++ b/public_test_cases/p01365/input.0.txt
@@ -0,0 +1,41 @@
+2
+0 0
+2
+-5 5 0
+5 5 10
+1
+0 6
+2
+5 5 0
+-5 5 10
+1
+6 10
+1
+7 -65
+2
+-65 10 0
+65 1 3
+2
+0 1
+23 24
+2
+0 0
+2
+100 10 0
+-10 10 10
+5
+0 1
+2 3
+4 5
+6 7
+8 9
+2
+10 0 0
+0 10 10
+5
+1 2
+3 4
+5 6
+7 8
+9 10
+0
diff --git a/public_test_cases/p01365/input.1.txt b/public_test_cases/p01365/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc5d72561c8149fdad1ee12e6b0499f6eb2fab1c
--- /dev/null
+++ b/public_test_cases/p01365/input.1.txt
@@ -0,0 +1,41 @@
+2
+0 0
+2
+-5 5 0
+5 5 10
+1
+0 6
+2
+5 5 0
+-5 5 10
+1
+6 10
+1
+7 -65
+2
+-65 10 0
+65 1 3
+2
+0 1
+23 24
+2
+0 0
+2
+100 10 0
+-10 10 10
+5
+0 1
+2 3
+4 5
+6 7
+8 9
+2
+10 0 0
+0 10 10
+5
+1 2
+3 4
+5 6
+7 8
+9 10
+0
diff --git a/public_test_cases/p01365/output.0.txt b/public_test_cases/p01365/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9e02a3b7796ef0d05067a41f41378808cf5ce38
--- /dev/null
+++ b/public_test_cases/p01365/output.0.txt
@@ -0,0 +1,3 @@
+9.00000000
+2.00000000
+5.98862017
diff --git a/public_test_cases/p01365/output.1.txt b/public_test_cases/p01365/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9e02a3b7796ef0d05067a41f41378808cf5ce38
--- /dev/null
+++ b/public_test_cases/p01365/output.1.txt
@@ -0,0 +1,3 @@
+9.00000000
+2.00000000
+5.98862017
diff --git a/public_test_cases/p01366/input.0.txt b/public_test_cases/p01366/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0fe10e744d5e0c416ddfffd5bf084bb25bd0047
--- /dev/null
+++ b/public_test_cases/p01366/input.0.txt
@@ -0,0 +1,33 @@
+3 3
+1 2 1 2
+2 3 2 1
+3 1 3 2
+5 5
+1 2 2 2
+2 3 1 1
+1 4 1 1
+4 5 1 1
+5 3 1 1
+5 10
+1 2 32 10
+1 3 43 43
+1 4 12 52
+1 5 84 23
+2 3 58 42
+2 4 86 99
+2 5 57 83
+3 4 11 32
+3 5 75 21
+4 5 23 43
+5 10
+1 2 1 53
+1 3 1 65
+1 4 1 24
+1 5 1 76
+2 3 1 19
+2 4 1 46
+2 5 1 25
+3 4 1 13
+3 5 1 65
+4 5 1 34
+0 0
diff --git a/public_test_cases/p01366/input.1.txt b/public_test_cases/p01366/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0fe10e744d5e0c416ddfffd5bf084bb25bd0047
--- /dev/null
+++ b/public_test_cases/p01366/input.1.txt
@@ -0,0 +1,33 @@
+3 3
+1 2 1 2
+2 3 2 1
+3 1 3 2
+5 5
+1 2 2 2
+2 3 1 1
+1 4 1 1
+4 5 1 1
+5 3 1 1
+5 10
+1 2 32 10
+1 3 43 43
+1 4 12 52
+1 5 84 23
+2 3 58 42
+2 4 86 99
+2 5 57 83
+3 4 11 32
+3 5 75 21
+4 5 23 43
+5 10
+1 2 1 53
+1 3 1 65
+1 4 1 24
+1 5 1 76
+2 3 1 19
+2 4 1 46
+2 5 1 25
+3 4 1 13
+3 5 1 65
+4 5 1 34
+0 0
diff --git a/public_test_cases/p01366/output.0.txt b/public_test_cases/p01366/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc3be338ae4748f83707a586412c17ec22a93e02
--- /dev/null
+++ b/public_test_cases/p01366/output.0.txt
@@ -0,0 +1,4 @@
+3
+5
+137
+218
diff --git a/public_test_cases/p01366/output.1.txt b/public_test_cases/p01366/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc3be338ae4748f83707a586412c17ec22a93e02
--- /dev/null
+++ b/public_test_cases/p01366/output.1.txt
@@ -0,0 +1,4 @@
+3
+5
+137
+218
diff --git a/public_test_cases/p01367/input.0.txt b/public_test_cases/p01367/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd0922417061dd698519b8aaa1271e05159b2b65
--- /dev/null
+++ b/public_test_cases/p01367/input.0.txt
@@ -0,0 +1,30 @@
+3 300
+100 50 150
+100 50 150
+100 50 150
+3 300
+100 50 150
+100 50 150
+200 50 150
+9 18
+3 1 1
+3 1 1
+3 1 1
+4 100 1
+5 100 1
+5 100 1
+10 5 3
+10 5 3
+1 7 1000
+10 18
+1 2 3
+2 3 4
+3 4 5
+4 5 6
+5 6 7
+6 7 8
+7 8 9
+8 9 10
+9 10 11
+10 11 12
+0 0
diff --git a/public_test_cases/p01367/input.1.txt b/public_test_cases/p01367/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd0922417061dd698519b8aaa1271e05159b2b65
--- /dev/null
+++ b/public_test_cases/p01367/input.1.txt
@@ -0,0 +1,30 @@
+3 300
+100 50 150
+100 50 150
+100 50 150
+3 300
+100 50 150
+100 50 150
+200 50 150
+9 18
+3 1 1
+3 1 1
+3 1 1
+4 100 1
+5 100 1
+5 100 1
+10 5 3
+10 5 3
+1 7 1000
+10 18
+1 2 3
+2 3 4
+3 4 5
+4 5 6
+5 6 7
+6 7 8
+7 8 9
+8 9 10
+9 10 11
+10 11 12
+0 0
diff --git a/public_test_cases/p01367/output.0.txt b/public_test_cases/p01367/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0a74072125fe583055f512ca095803b58c07526
--- /dev/null
+++ b/public_test_cases/p01367/output.0.txt
@@ -0,0 +1,4 @@
+2
+3
+3
+4
diff --git a/public_test_cases/p01367/output.1.txt b/public_test_cases/p01367/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0a74072125fe583055f512ca095803b58c07526
--- /dev/null
+++ b/public_test_cases/p01367/output.1.txt
@@ -0,0 +1,4 @@
+2
+3
+3
+4
diff --git a/public_test_cases/p01368/input.0.txt b/public_test_cases/p01368/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96f9aa3df86bc1a1396c07c5e1bf814f8633eece
--- /dev/null
+++ b/public_test_cases/p01368/input.0.txt
@@ -0,0 +1,35 @@
+3 2 3
+0 1 10
+1 2 10
+0 0
+1 10
+2 0
+3 2 4
+0 1 10
+1 2 10
+0 0
+1 10
+2 20
+0 40
+10 10 10
+0 1 39
+2 3 48
+3 5 20
+4 8 43
+3 9 10
+8 9 40
+3 4 5
+5 7 20
+1 7 93
+1 3 20
+0 0
+1 100000000
+2 100
+3 543
+4 500
+5 400
+6 300
+7 200
+8 100
+9 100
+0 0 0
diff --git a/public_test_cases/p01368/input.1.txt b/public_test_cases/p01368/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96f9aa3df86bc1a1396c07c5e1bf814f8633eece
--- /dev/null
+++ b/public_test_cases/p01368/input.1.txt
@@ -0,0 +1,35 @@
+3 2 3
+0 1 10
+1 2 10
+0 0
+1 10
+2 0
+3 2 4
+0 1 10
+1 2 10
+0 0
+1 10
+2 20
+0 40
+10 10 10
+0 1 39
+2 3 48
+3 5 20
+4 8 43
+3 9 10
+8 9 40
+3 4 5
+5 7 20
+1 7 93
+1 3 20
+0 0
+1 100000000
+2 100
+3 543
+4 500
+5 400
+6 300
+7 200
+8 100
+9 100
+0 0 0
diff --git a/public_test_cases/p01368/output.0.txt b/public_test_cases/p01368/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eb1267296b5c72164a6cf76bcde9d16dd5a83c0
--- /dev/null
+++ b/public_test_cases/p01368/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+4
diff --git a/public_test_cases/p01368/output.1.txt b/public_test_cases/p01368/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eb1267296b5c72164a6cf76bcde9d16dd5a83c0
--- /dev/null
+++ b/public_test_cases/p01368/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+4
diff --git a/public_test_cases/p01388/input.0.txt b/public_test_cases/p01388/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9aa7a9e7863fbe5ed1dcdf474efa972ae7a4daae
--- /dev/null
+++ b/public_test_cases/p01388/input.0.txt
@@ -0,0 +1 @@
+KUPCkupcKUPC
diff --git a/public_test_cases/p01388/output.0.txt b/public_test_cases/p01388/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01388/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01389/input.0.txt b/public_test_cases/p01389/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bee545f73996adbace14d0c11483cc5d56df097
--- /dev/null
+++ b/public_test_cases/p01389/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+023
+321
+120
diff --git a/public_test_cases/p01389/output.0.txt b/public_test_cases/p01389/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01389/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01391/input.0.txt b/public_test_cases/p01391/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dd2b56c245c89cd95c2f5aee7d8379b3dcb2295
--- /dev/null
+++ b/public_test_cases/p01391/input.0.txt
@@ -0,0 +1,3 @@
+8 2
+1 2 7 8
+4 5 7 8
diff --git a/public_test_cases/p01391/output.0.txt b/public_test_cases/p01391/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f8f880f4cba452dd4c4b777420091a8280c9552
--- /dev/null
+++ b/public_test_cases/p01391/output.0.txt
@@ -0,0 +1 @@
+01010101
diff --git a/public_test_cases/p01392/input.0.txt b/public_test_cases/p01392/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a61e6d0473363a17ef5b5e8fdd57c49dcb6d3d59
--- /dev/null
+++ b/public_test_cases/p01392/input.0.txt
@@ -0,0 +1 @@
+18 2
diff --git a/public_test_cases/p01392/output.0.txt b/public_test_cases/p01392/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01392/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01393/input.0.txt b/public_test_cases/p01393/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabdcf858d8622aba2264711f15ccad7b6b33ffc
--- /dev/null
+++ b/public_test_cases/p01393/input.0.txt
@@ -0,0 +1,3 @@
+2 1
+10 10 10
+-10 10 10
diff --git a/public_test_cases/p01393/output.0.txt b/public_test_cases/p01393/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c49766cb9841829dbdb4dd01ba3c80da1b5c9c58
--- /dev/null
+++ b/public_test_cases/p01393/output.0.txt
@@ -0,0 +1 @@
+0.50
diff --git a/public_test_cases/p01395/input.0.txt b/public_test_cases/p01395/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54c99059a0546e50c09fd5b191c1208664961e05
--- /dev/null
+++ b/public_test_cases/p01395/input.0.txt
@@ -0,0 +1,2 @@
+1 100
+1 1 1
diff --git a/public_test_cases/p01395/output.0.txt b/public_test_cases/p01395/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..997b0a01edffc3b74257c31a4292f5300f73c4f1
--- /dev/null
+++ b/public_test_cases/p01395/output.0.txt
@@ -0,0 +1 @@
+100.0
diff --git a/public_test_cases/p01396/input.0.txt b/public_test_cases/p01396/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12280a7cfe1970f45239e01f62a0650514469da6
--- /dev/null
+++ b/public_test_cases/p01396/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 3 2
+7 9 8
+4 6 5
diff --git a/public_test_cases/p01396/output.0.txt b/public_test_cases/p01396/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01396/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01397/input.0.txt b/public_test_cases/p01397/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4371a50934ae6d97aea700881cbfb015854b0419
--- /dev/null
+++ b/public_test_cases/p01397/input.0.txt
@@ -0,0 +1,6 @@
+5 5
+0 2 0 2 0
+2 0 0 0 2
+0 0 0 0 0
+2 0 0 0 2
+0 2 0 2 0
diff --git a/public_test_cases/p01397/output.0.txt b/public_test_cases/p01397/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01397/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01398/input.0.txt b/public_test_cases/p01398/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c12eab2ac170ab51f132ed7e230213fc7892ab05
--- /dev/null
+++ b/public_test_cases/p01398/input.0.txt
@@ -0,0 +1,18 @@
+1
+tojxo
+1 4
+5
+uhcqmlmkv
+4 5
+6 9
+3 6
+1 7
+3 6
+5
+shzxadexonr
+8 9
+3 9
+5 8
+4 9
+10 11
+0
diff --git a/public_test_cases/p01398/input.1.txt b/public_test_cases/p01398/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c12eab2ac170ab51f132ed7e230213fc7892ab05
--- /dev/null
+++ b/public_test_cases/p01398/input.1.txt
@@ -0,0 +1,18 @@
+1
+tojxo
+1 4
+5
+uhcqmlmkv
+4 5
+6 9
+3 6
+1 7
+3 6
+5
+shzxadexonr
+8 9
+3 9
+5 8
+4 9
+10 11
+0
diff --git a/public_test_cases/p01398/output.0.txt b/public_test_cases/p01398/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bc9ca75bfe10c18acb1912eb1720e6d95b0a882
--- /dev/null
+++ b/public_test_cases/p01398/output.0.txt
@@ -0,0 +1,3 @@
+aojwo
+shinryaku
+shitadegeso
diff --git a/public_test_cases/p01398/output.1.txt b/public_test_cases/p01398/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bc9ca75bfe10c18acb1912eb1720e6d95b0a882
--- /dev/null
+++ b/public_test_cases/p01398/output.1.txt
@@ -0,0 +1,3 @@
+aojwo
+shinryaku
+shitadegeso
diff --git a/public_test_cases/p01399/input.0.txt b/public_test_cases/p01399/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bac3c2fd925685a72c4a225bb945cdd9bfbb423
--- /dev/null
+++ b/public_test_cases/p01399/input.0.txt
@@ -0,0 +1,7 @@
+3 100
+3 7 4
+5 24
+4 6 12 3 8
+5 1
+1 1 2 2 3
+0 0
diff --git a/public_test_cases/p01399/input.1.txt b/public_test_cases/p01399/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bac3c2fd925685a72c4a225bb945cdd9bfbb423
--- /dev/null
+++ b/public_test_cases/p01399/input.1.txt
@@ -0,0 +1,7 @@
+3 100
+3 7 4
+5 24
+4 6 12 3 8
+5 1
+1 1 2 2 3
+0 0
diff --git a/public_test_cases/p01399/output.0.txt b/public_test_cases/p01399/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0429fae9e5f6d96184dd0c4c28363722419c29ae
--- /dev/null
+++ b/public_test_cases/p01399/output.0.txt
@@ -0,0 +1,3 @@
+2
+4
+5
diff --git a/public_test_cases/p01399/output.1.txt b/public_test_cases/p01399/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0429fae9e5f6d96184dd0c4c28363722419c29ae
--- /dev/null
+++ b/public_test_cases/p01399/output.1.txt
@@ -0,0 +1,3 @@
+2
+4
+5
diff --git a/public_test_cases/p01400/input.0.txt b/public_test_cases/p01400/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..732346f7945dfca21c9a3561a202d5f6c016790c
--- /dev/null
+++ b/public_test_cases/p01400/input.0.txt
@@ -0,0 +1,15 @@
+4 4
+A B G
+A B 40 3
+B C 80 0
+A G 40 0
+B G 80 0
+5 6
+Kusatsu Tokyo Aizu
+Tokyo Nagoya 120 3
+Kusatsu Nagoya 40 0
+Kusatsu Kanazawa 40 0
+Kanazawa Aizu 40 0
+Tokyo Kanazawa 40 0
+Tokyo Aizu 80 4
+0 0
diff --git a/public_test_cases/p01400/input.1.txt b/public_test_cases/p01400/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..732346f7945dfca21c9a3561a202d5f6c016790c
--- /dev/null
+++ b/public_test_cases/p01400/input.1.txt
@@ -0,0 +1,15 @@
+4 4
+A B G
+A B 40 3
+B C 80 0
+A G 40 0
+B G 80 0
+5 6
+Kusatsu Tokyo Aizu
+Tokyo Nagoya 120 3
+Kusatsu Nagoya 40 0
+Kusatsu Kanazawa 40 0
+Kanazawa Aizu 40 0
+Tokyo Kanazawa 40 0
+Tokyo Aizu 80 4
+0 0
diff --git a/public_test_cases/p01400/output.0.txt b/public_test_cases/p01400/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5104f3ba92814f8a900b02edfd354d47ebfb143
--- /dev/null
+++ b/public_test_cases/p01400/output.0.txt
@@ -0,0 +1,2 @@
+5
+4
diff --git a/public_test_cases/p01400/output.1.txt b/public_test_cases/p01400/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5104f3ba92814f8a900b02edfd354d47ebfb143
--- /dev/null
+++ b/public_test_cases/p01400/output.1.txt
@@ -0,0 +1,2 @@
+5
+4
diff --git a/public_test_cases/p01401/input.0.txt b/public_test_cases/p01401/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f97d6470da3efa32489e87ab107e663c3419c7c
--- /dev/null
+++ b/public_test_cases/p01401/input.0.txt
@@ -0,0 +1,34 @@
+10 10
+S . . . . . . . . .
+. . . . . . . . . .
+. . . . 1 . . . . .
+. . . . . . . . . .
+. . . . . . . . . .
+. . . . . . . 3 . .
+. . . . . . . . . .
+. . . . . 4 . . . .
+. . . . . . . . . .
+2 . . . . . . . . G
+10 10
+S . . . . . 3 . . .
+. . 3 . . . . . . .
+. . . . 1 . . . . .
+. . . . . . 4 . . .
+. . 3 . . . 1 . . .
+. . . . . . . 3 . .
+. . . . . . . . . .
+. . . . . 4 . . . .
+. . . . . 5 . . . .
+2 . . . . . . . . G
+10 10
+S . . . . . . . . 1
+. . . . . 5 . . . .
+. 4 . . . . . . . .
+. . . . 8 . 9 . . .
+. . . . 10 . . . . .
+. . 7 . G . . . . .
+. . . 11 . . . . . .
+3 . . . . . . . . 6
+. . . . . . . 2 . .
+. . . . . . . . . .
+0 0
diff --git a/public_test_cases/p01401/input.1.txt b/public_test_cases/p01401/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f97d6470da3efa32489e87ab107e663c3419c7c
--- /dev/null
+++ b/public_test_cases/p01401/input.1.txt
@@ -0,0 +1,34 @@
+10 10
+S . . . . . . . . .
+. . . . . . . . . .
+. . . . 1 . . . . .
+. . . . . . . . . .
+. . . . . . . . . .
+. . . . . . . 3 . .
+. . . . . . . . . .
+. . . . . 4 . . . .
+. . . . . . . . . .
+2 . . . . . . . . G
+10 10
+S . . . . . 3 . . .
+. . 3 . . . . . . .
+. . . . 1 . . . . .
+. . . . . . 4 . . .
+. . 3 . . . 1 . . .
+. . . . . . . 3 . .
+. . . . . . . . . .
+. . . . . 4 . . . .
+. . . . . 5 . . . .
+2 . . . . . . . . G
+10 10
+S . . . . . . . . 1
+. . . . . 5 . . . .
+. 4 . . . . . . . .
+. . . . 8 . 9 . . .
+. . . . 10 . . . . .
+. . 7 . G . . . . .
+. . . 11 . . . . . .
+3 . . . . . . . . 6
+. . . . . . . 2 . .
+. . . . . . . . . .
+0 0
diff --git a/public_test_cases/p01401/output.0.txt b/public_test_cases/p01401/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53937aeeb43a3acb3dc6c84e36e7243c62849fb9
--- /dev/null
+++ b/public_test_cases/p01401/output.0.txt
@@ -0,0 +1,3 @@
+38
+36
+71
diff --git a/public_test_cases/p01401/output.1.txt b/public_test_cases/p01401/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53937aeeb43a3acb3dc6c84e36e7243c62849fb9
--- /dev/null
+++ b/public_test_cases/p01401/output.1.txt
@@ -0,0 +1,3 @@
+38
+36
+71
diff --git a/public_test_cases/p01402/input.0.txt b/public_test_cases/p01402/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..feeebd667105550ff4e338ddec58336e139f68b6
--- /dev/null
+++ b/public_test_cases/p01402/input.0.txt
@@ -0,0 +1,28 @@
+100 2 2 2
+A 5 6
+B 7 8
+C 1 2
+D 3 4
+27 2 3 3
+A 8 10
+B 8 10
+C 6 7
+D 5 4
+E 8 9
+27 2 3 2
+A 8 10
+B 8 10
+C 6 7
+D 5 4
+E 8 9
+44 3 6 5
+YamatoNoHito 9 10
+ZettoNoHito 9 10
+TMR 10 10
+SkillNoGroup 8 10
+NanaSama 6 9
+FRPSD 6 8
+Magi3rdDeshi 5 7
+Magi13thDeshi 2 2
+MagicalItoh 4 6
+0 0 0 0
diff --git a/public_test_cases/p01402/input.1.txt b/public_test_cases/p01402/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..feeebd667105550ff4e338ddec58336e139f68b6
--- /dev/null
+++ b/public_test_cases/p01402/input.1.txt
@@ -0,0 +1,28 @@
+100 2 2 2
+A 5 6
+B 7 8
+C 1 2
+D 3 4
+27 2 3 3
+A 8 10
+B 8 10
+C 6 7
+D 5 4
+E 8 9
+27 2 3 2
+A 8 10
+B 8 10
+C 6 7
+D 5 4
+E 8 9
+44 3 6 5
+YamatoNoHito 9 10
+ZettoNoHito 9 10
+TMR 10 10
+SkillNoGroup 8 10
+NanaSama 6 9
+FRPSD 6 8
+Magi3rdDeshi 5 7
+Magi13thDeshi 2 2
+MagicalItoh 4 6
+0 0 0 0
diff --git a/public_test_cases/p01402/output.0.txt b/public_test_cases/p01402/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205f6a7949140d552f996607f1f2867d2cc88715
--- /dev/null
+++ b/public_test_cases/p01402/output.0.txt
@@ -0,0 +1,4 @@
+20
+30
+31
+55
diff --git a/public_test_cases/p01402/output.1.txt b/public_test_cases/p01402/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205f6a7949140d552f996607f1f2867d2cc88715
--- /dev/null
+++ b/public_test_cases/p01402/output.1.txt
@@ -0,0 +1,4 @@
+20
+30
+31
+55
diff --git a/public_test_cases/p01403/input.0.txt b/public_test_cases/p01403/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e543d3934759d715ac9ca39e71e2b14a992e64e0
--- /dev/null
+++ b/public_test_cases/p01403/input.0.txt
@@ -0,0 +1,3 @@
+2
+3
+5
diff --git a/public_test_cases/p01403/input.1.txt b/public_test_cases/p01403/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e543d3934759d715ac9ca39e71e2b14a992e64e0
--- /dev/null
+++ b/public_test_cases/p01403/input.1.txt
@@ -0,0 +1,3 @@
+2
+3
+5
diff --git a/public_test_cases/p01403/output.0.txt b/public_test_cases/p01403/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dc7263c90abb77ccd1520502336f3bf563b7a1b
--- /dev/null
+++ b/public_test_cases/p01403/output.0.txt
@@ -0,0 +1,2 @@
+5
+11
diff --git a/public_test_cases/p01403/output.1.txt b/public_test_cases/p01403/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dc7263c90abb77ccd1520502336f3bf563b7a1b
--- /dev/null
+++ b/public_test_cases/p01403/output.1.txt
@@ -0,0 +1,2 @@
+5
+11
diff --git a/public_test_cases/p01404/input.0.txt b/public_test_cases/p01404/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb43f6261ea251e30c056a002c25f9c10877b7a
--- /dev/null
+++ b/public_test_cases/p01404/input.0.txt
@@ -0,0 +1,22 @@
+3 3
+1 1 900
+0 10 0
+10 45 10
+10 0 0
+3
+5 1 1
+50 1 0
+100 0 1
+5 5
+2 0 9000
+0 0 4 0 0
+0 3 3 3 0
+2 2 2 2 2
+0 0 1 0 0
+0 0 1 0 0
+4
+5 2 0
+10 2 1
+100 2 2
+250 2 3
+0 0
diff --git a/public_test_cases/p01404/input.1.txt b/public_test_cases/p01404/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb43f6261ea251e30c056a002c25f9c10877b7a
--- /dev/null
+++ b/public_test_cases/p01404/input.1.txt
@@ -0,0 +1,22 @@
+3 3
+1 1 900
+0 10 0
+10 45 10
+10 0 0
+3
+5 1 1
+50 1 0
+100 0 1
+5 5
+2 0 9000
+0 0 4 0 0
+0 3 3 3 0
+2 2 2 2 2
+0 0 1 0 0
+0 0 1 0 0
+4
+5 2 0
+10 2 1
+100 2 2
+250 2 3
+0 0
diff --git a/public_test_cases/p01404/output.0.txt b/public_test_cases/p01404/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a71da40561a653f6e981259f62155006d37294e
--- /dev/null
+++ b/public_test_cases/p01404/output.0.txt
@@ -0,0 +1,7 @@
+5
+5
+8
+30
+5
+13
+4
diff --git a/public_test_cases/p01404/output.1.txt b/public_test_cases/p01404/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a71da40561a653f6e981259f62155006d37294e
--- /dev/null
+++ b/public_test_cases/p01404/output.1.txt
@@ -0,0 +1,7 @@
+5
+5
+8
+30
+5
+13
+4
diff --git a/public_test_cases/p01405/input.0.txt b/public_test_cases/p01405/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5612c59d1915fabe1454cd4e5844a8c463880428
--- /dev/null
+++ b/public_test_cases/p01405/input.0.txt
@@ -0,0 +1,39 @@
+4
+2 1
+0 1 a
+2 2
+0 1 a
+0 1 b
+5 5
+0 1 a
+0 2 b
+1 3 a
+2 3 c
+3 4 e
+3 3
+0 1 aa
+0 2 bce
+1 2 a
+2 4
+0 1 abc
+0 1 def
+0 1 ghi
+0 1 jkl
+2 4
+0 1 ghi
+0 1 jkl
+0 1 mno
+0 1 pqr
+6 7
+0 1 haru
+0 1 natsu
+1 2 wa
+2 3 ake
+2 4 saron
+3 5 bono
+4 5 pusu
+5 4
+0 1 haruw
+1 2 aakeb
+2 3 o
+3 4 no
diff --git a/public_test_cases/p01405/input.1.txt b/public_test_cases/p01405/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5612c59d1915fabe1454cd4e5844a8c463880428
--- /dev/null
+++ b/public_test_cases/p01405/input.1.txt
@@ -0,0 +1,39 @@
+4
+2 1
+0 1 a
+2 2
+0 1 a
+0 1 b
+5 5
+0 1 a
+0 2 b
+1 3 a
+2 3 c
+3 4 e
+3 3
+0 1 aa
+0 2 bce
+1 2 a
+2 4
+0 1 abc
+0 1 def
+0 1 ghi
+0 1 jkl
+2 4
+0 1 ghi
+0 1 jkl
+0 1 mno
+0 1 pqr
+6 7
+0 1 haru
+0 1 natsu
+1 2 wa
+2 3 ake
+2 4 saron
+3 5 bono
+4 5 pusu
+5 4
+0 1 haruw
+1 2 aakeb
+2 3 o
+3 4 no
diff --git a/public_test_cases/p01405/output.0.txt b/public_test_cases/p01405/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c35630e3ebade68a1b866f3b58b95f7533785fc7
--- /dev/null
+++ b/public_test_cases/p01405/output.0.txt
@@ -0,0 +1,4 @@
+1
+1
+2
+1
diff --git a/public_test_cases/p01405/output.1.txt b/public_test_cases/p01405/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c35630e3ebade68a1b866f3b58b95f7533785fc7
--- /dev/null
+++ b/public_test_cases/p01405/output.1.txt
@@ -0,0 +1,4 @@
+1
+1
+2
+1
diff --git a/public_test_cases/p01406/input.0.txt b/public_test_cases/p01406/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..303f9b6b696e014d4eda01c657398ebbbc946add
--- /dev/null
+++ b/public_test_cases/p01406/input.0.txt
@@ -0,0 +1,12 @@
+3
+3
+17 12 7 340 180
+26 22 10 150 270
+27 13 5 100 230
+3
+0 0 8 0 90
+10 10 8 180 0
+50 50 5 180 270
+2
+10 10 5 0 270
+0 0 30 0 90
diff --git a/public_test_cases/p01406/input.1.txt b/public_test_cases/p01406/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..303f9b6b696e014d4eda01c657398ebbbc946add
--- /dev/null
+++ b/public_test_cases/p01406/input.1.txt
@@ -0,0 +1,12 @@
+3
+3
+17 12 7 340 180
+26 22 10 150 270
+27 13 5 100 230
+3
+0 0 8 0 90
+10 10 8 180 0
+50 50 5 180 270
+2
+10 10 5 0 270
+0 0 30 0 90
diff --git a/public_test_cases/p01406/output.0.txt b/public_test_cases/p01406/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3cb04507b740b492d5c49c55e8ac5dc39be987f
--- /dev/null
+++ b/public_test_cases/p01406/output.0.txt
@@ -0,0 +1,3 @@
+3
+2
+2
diff --git a/public_test_cases/p01406/output.1.txt b/public_test_cases/p01406/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3cb04507b740b492d5c49c55e8ac5dc39be987f
--- /dev/null
+++ b/public_test_cases/p01406/output.1.txt
@@ -0,0 +1,3 @@
+3
+2
+2
diff --git a/public_test_cases/p01407/input.0.txt b/public_test_cases/p01407/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b0f30eeaa66ca2ac2462980192ab3b312c08cd3
--- /dev/null
+++ b/public_test_cases/p01407/input.0.txt
@@ -0,0 +1,4 @@
+3 10 150 250
+100 20 123
+201 10 67
+202 10 45
diff --git a/public_test_cases/p01407/input.1.txt b/public_test_cases/p01407/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f4a70485197a803d2a9d175972617deab633fb5
--- /dev/null
+++ b/public_test_cases/p01407/input.1.txt
@@ -0,0 +1,2 @@
+1 7 20 90
+55 5 73
diff --git a/public_test_cases/p01407/input.2.txt b/public_test_cases/p01407/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c3d6bdf4b70d39a1d8f9fad6abca37cb156a814
--- /dev/null
+++ b/public_test_cases/p01407/input.2.txt
@@ -0,0 +1,11 @@
+10 2 1000 2000
+400 300 1
+600 200 1
+700 800 1
+700 500 1
+900 600 1
+1000 700 1
+1300 900 1
+1400 400 1
+1500 1000 1
+2000 100 1
diff --git a/public_test_cases/p01407/input.3.txt b/public_test_cases/p01407/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b0f30eeaa66ca2ac2462980192ab3b312c08cd3
--- /dev/null
+++ b/public_test_cases/p01407/input.3.txt
@@ -0,0 +1,4 @@
+3 10 150 250
+100 20 123
+201 10 67
+202 10 45
diff --git a/public_test_cases/p01407/output.0.txt b/public_test_cases/p01407/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..598ed30e89eae2dd245fbeb4558c57a57e10ea6d
--- /dev/null
+++ b/public_test_cases/p01407/output.0.txt
@@ -0,0 +1 @@
+190
diff --git a/public_test_cases/p01407/output.1.txt b/public_test_cases/p01407/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d69c74c8b95c8c0574cec707ab1a39d5926b9398
--- /dev/null
+++ b/public_test_cases/p01407/output.1.txt
@@ -0,0 +1 @@
+73
diff --git a/public_test_cases/p01407/output.2.txt b/public_test_cases/p01407/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01407/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01407/output.3.txt b/public_test_cases/p01407/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..598ed30e89eae2dd245fbeb4558c57a57e10ea6d
--- /dev/null
+++ b/public_test_cases/p01407/output.3.txt
@@ -0,0 +1 @@
+190
diff --git a/public_test_cases/p01408/input.0.txt b/public_test_cases/p01408/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..137968e7029c9e8f4b84af2bf329db389034065d
--- /dev/null
+++ b/public_test_cases/p01408/input.0.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p01408/input.1.txt b/public_test_cases/p01408/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c10d33ca00c79b2468a0aa071314560a78f097d
--- /dev/null
+++ b/public_test_cases/p01408/input.1.txt
@@ -0,0 +1,6 @@
+11 5
+1 2
+3 4
+5 6
+7 8
+9 10
diff --git a/public_test_cases/p01408/input.2.txt b/public_test_cases/p01408/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..137968e7029c9e8f4b84af2bf329db389034065d
--- /dev/null
+++ b/public_test_cases/p01408/input.2.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p01408/input.3.txt b/public_test_cases/p01408/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cac59b9f07f878b1027c6a7e470826b6103b34ac
--- /dev/null
+++ b/public_test_cases/p01408/input.3.txt
@@ -0,0 +1,15 @@
+9 14
+1 2
+1 3
+2 3
+3 4
+3 5
+3 6
+3 7
+3 8
+3 9
+4 5
+4 6
+5 6
+7 8
+8 9
diff --git a/public_test_cases/p01408/output.0.txt b/public_test_cases/p01408/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p01408/output.0.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p01408/output.1.txt b/public_test_cases/p01408/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68ceb98804160c3b00040a8d60e7f66c0a64de98
--- /dev/null
+++ b/public_test_cases/p01408/output.1.txt
@@ -0,0 +1,2 @@
+6
+32
diff --git a/public_test_cases/p01408/output.2.txt b/public_test_cases/p01408/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p01408/output.2.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p01408/output.3.txt b/public_test_cases/p01408/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfbeb15fac5256c14238255de929074ca952a96e
--- /dev/null
+++ b/public_test_cases/p01408/output.3.txt
@@ -0,0 +1,2 @@
+4
+6
diff --git a/public_test_cases/p01409/input.0.txt b/public_test_cases/p01409/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..619d0b4112bb48799df1482ed258d4328e9a3984
--- /dev/null
+++ b/public_test_cases/p01409/input.0.txt
@@ -0,0 +1,2 @@
+ICPC
+CPCPC
diff --git a/public_test_cases/p01409/input.1.txt b/public_test_cases/p01409/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..619d0b4112bb48799df1482ed258d4328e9a3984
--- /dev/null
+++ b/public_test_cases/p01409/input.1.txt
@@ -0,0 +1,2 @@
+ICPC
+CPCPC
diff --git a/public_test_cases/p01409/input.2.txt b/public_test_cases/p01409/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98c6f1440ad57ae7abd490fa084a1238a384853b
--- /dev/null
+++ b/public_test_cases/p01409/input.2.txt
@@ -0,0 +1,2 @@
+MYON
+USAGI
diff --git a/public_test_cases/p01409/input.3.txt b/public_test_cases/p01409/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..064833e4e4173f4461dd53212252e1e993f91af2
--- /dev/null
+++ b/public_test_cases/p01409/input.3.txt
@@ -0,0 +1,2 @@
+BABBAB
+ABBA
diff --git a/public_test_cases/p01409/output.0.txt b/public_test_cases/p01409/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01409/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01409/output.1.txt b/public_test_cases/p01409/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01409/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01409/output.2.txt b/public_test_cases/p01409/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01409/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01409/output.3.txt b/public_test_cases/p01409/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01409/output.3.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01410/input.0.txt b/public_test_cases/p01410/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be5d179de1320c20bbbcdad3607756b6d1680c31
--- /dev/null
+++ b/public_test_cases/p01410/input.0.txt
@@ -0,0 +1,4 @@
+3
+10 40
+10 40
+20 30
diff --git a/public_test_cases/p01410/input.1.txt b/public_test_cases/p01410/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be5d179de1320c20bbbcdad3607756b6d1680c31
--- /dev/null
+++ b/public_test_cases/p01410/input.1.txt
@@ -0,0 +1,4 @@
+3
+10 40
+10 40
+20 30
diff --git a/public_test_cases/p01410/input.2.txt b/public_test_cases/p01410/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..832c36e16729902d033d7600badfba284a4a6ea2
--- /dev/null
+++ b/public_test_cases/p01410/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 2
+2 3
+3 4
+4 1
diff --git a/public_test_cases/p01410/output.0.txt b/public_test_cases/p01410/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p01410/output.0.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p01410/output.1.txt b/public_test_cases/p01410/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p01410/output.1.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p01410/output.2.txt b/public_test_cases/p01410/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01410/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01411/input.0.txt b/public_test_cases/p01411/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74943bb51d66de5d3c21f63c809caf03e8c353ea
--- /dev/null
+++ b/public_test_cases/p01411/input.0.txt
@@ -0,0 +1,3 @@
+9 4 3 2 1
+2 1
+7 3
diff --git a/public_test_cases/p01411/input.1.txt b/public_test_cases/p01411/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9da3abb49675c9a42c2c74ec5ad9aeb24c8af407
--- /dev/null
+++ b/public_test_cases/p01411/input.1.txt
@@ -0,0 +1,3 @@
+9 4 3 2 3
+2 1
+7 3
diff --git a/public_test_cases/p01411/input.2.txt b/public_test_cases/p01411/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74943bb51d66de5d3c21f63c809caf03e8c353ea
--- /dev/null
+++ b/public_test_cases/p01411/input.2.txt
@@ -0,0 +1,3 @@
+9 4 3 2 1
+2 1
+7 3
diff --git a/public_test_cases/p01411/output.0.txt b/public_test_cases/p01411/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f99627272a36a0acbbbdc2a3b96613ea50bd69f
--- /dev/null
+++ b/public_test_cases/p01411/output.0.txt
@@ -0,0 +1 @@
+0.571428571
diff --git a/public_test_cases/p01411/output.1.txt b/public_test_cases/p01411/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00cf2295ae6ec302cb058079de1d4a501d154c01
--- /dev/null
+++ b/public_test_cases/p01411/output.1.txt
@@ -0,0 +1 @@
+0.375661376
diff --git a/public_test_cases/p01411/output.2.txt b/public_test_cases/p01411/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f99627272a36a0acbbbdc2a3b96613ea50bd69f
--- /dev/null
+++ b/public_test_cases/p01411/output.2.txt
@@ -0,0 +1 @@
+0.571428571
diff --git a/public_test_cases/p01412/input.0.txt b/public_test_cases/p01412/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82ce1652d7070516de8f52c40a64e27d1bb4d772
--- /dev/null
+++ b/public_test_cases/p01412/input.0.txt
@@ -0,0 +1,5 @@
+4
+7
+5
+10
+6
diff --git a/public_test_cases/p01412/input.1.txt b/public_test_cases/p01412/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..582d858463ce0429a3b1f5f60cfe25a188e72572
--- /dev/null
+++ b/public_test_cases/p01412/input.1.txt
@@ -0,0 +1,4 @@
+3
+0
+0
+1000000000
diff --git a/public_test_cases/p01412/input.2.txt b/public_test_cases/p01412/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82ce1652d7070516de8f52c40a64e27d1bb4d772
--- /dev/null
+++ b/public_test_cases/p01412/input.2.txt
@@ -0,0 +1,5 @@
+4
+7
+5
+10
+6
diff --git a/public_test_cases/p01412/output.0.txt b/public_test_cases/p01412/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..459e27ca69be020c33ba2d8f61532a57a8e2ef24
--- /dev/null
+++ b/public_test_cases/p01412/output.0.txt
@@ -0,0 +1,4 @@
+5
+6
+7
+10
diff --git a/public_test_cases/p01412/output.1.txt b/public_test_cases/p01412/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17cb999bb0c21363b09bca4caa27c7edeb959db7
--- /dev/null
+++ b/public_test_cases/p01412/output.1.txt
@@ -0,0 +1,3 @@
+1000000000
+0
+0
diff --git a/public_test_cases/p01412/output.2.txt b/public_test_cases/p01412/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..459e27ca69be020c33ba2d8f61532a57a8e2ef24
--- /dev/null
+++ b/public_test_cases/p01412/output.2.txt
@@ -0,0 +1,4 @@
+5
+6
+7
+10
diff --git a/public_test_cases/p01413/input.0.txt b/public_test_cases/p01413/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaaf132db3becb74451248efed4e3d2cd5eceb94
--- /dev/null
+++ b/public_test_cases/p01413/input.0.txt
@@ -0,0 +1,7 @@
+2 2 100 20
+alfalfa 10 10
+carrot 5 10
+1 1 6
+carrot 4
+1 -3 0
+alfalfa 5
diff --git a/public_test_cases/p01413/input.1.txt b/public_test_cases/p01413/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef3cee9c8ceda8e6da216336054062c7e03af5a4
--- /dev/null
+++ b/public_test_cases/p01413/input.1.txt
@@ -0,0 +1,11 @@
+2 3 100 20
+vim 10 10
+emacs 5 10
+vstudio 65 100
+2 1 6
+emacs 4
+vstudio 13
+3 -3 0
+vim 5
+emacs 9
+vstudio 62
diff --git a/public_test_cases/p01413/input.2.txt b/public_test_cases/p01413/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaaf132db3becb74451248efed4e3d2cd5eceb94
--- /dev/null
+++ b/public_test_cases/p01413/input.2.txt
@@ -0,0 +1,7 @@
+2 2 100 20
+alfalfa 10 10
+carrot 5 10
+1 1 6
+carrot 4
+1 -3 0
+alfalfa 5
diff --git a/public_test_cases/p01413/output.0.txt b/public_test_cases/p01413/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cd1cfa2cfe0f845d31839e6c8500e55df8fad41
--- /dev/null
+++ b/public_test_cases/p01413/output.0.txt
@@ -0,0 +1 @@
+170
diff --git a/public_test_cases/p01413/output.1.txt b/public_test_cases/p01413/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90afb3e998fd880687c5db3cfb3c166313f2483c
--- /dev/null
+++ b/public_test_cases/p01413/output.1.txt
@@ -0,0 +1 @@
+183
diff --git a/public_test_cases/p01413/output.2.txt b/public_test_cases/p01413/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cd1cfa2cfe0f845d31839e6c8500e55df8fad41
--- /dev/null
+++ b/public_test_cases/p01413/output.2.txt
@@ -0,0 +1 @@
+170
diff --git a/public_test_cases/p01414/input.0.txt b/public_test_cases/p01414/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd11b57fd963afb6084ba64600c6a3da2e5a450
--- /dev/null
+++ b/public_test_cases/p01414/input.0.txt
@@ -0,0 +1,7 @@
+2
+4 4
+1 1
+RRRR
+RRGR
+RBRR
+RRRR
diff --git a/public_test_cases/p01414/input.1.txt b/public_test_cases/p01414/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8264d5f1b0289b570115a3483fab804fabe30dcf
--- /dev/null
+++ b/public_test_cases/p01414/input.1.txt
@@ -0,0 +1,6 @@
+1
+2 3
+RRGG
+BRGG
+BRRR
+BRRR
diff --git a/public_test_cases/p01414/input.2.txt b/public_test_cases/p01414/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd11b57fd963afb6084ba64600c6a3da2e5a450
--- /dev/null
+++ b/public_test_cases/p01414/input.2.txt
@@ -0,0 +1,7 @@
+2
+4 4
+1 1
+RRRR
+RRGR
+RBRR
+RRRR
diff --git a/public_test_cases/p01414/output.0.txt b/public_test_cases/p01414/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01414/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01414/output.1.txt b/public_test_cases/p01414/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01414/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01414/output.2.txt b/public_test_cases/p01414/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01414/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01415/input.0.txt b/public_test_cases/p01415/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3bccf7c7fdd266b48813250e5e9a113c07ae4d7
--- /dev/null
+++ b/public_test_cases/p01415/input.0.txt
@@ -0,0 +1,2 @@
+1 1 1 2 3 100
+50
diff --git a/public_test_cases/p01415/input.1.txt b/public_test_cases/p01415/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3bccf7c7fdd266b48813250e5e9a113c07ae4d7
--- /dev/null
+++ b/public_test_cases/p01415/input.1.txt
@@ -0,0 +1,2 @@
+1 1 1 2 3 100
+50
diff --git a/public_test_cases/p01415/input.2.txt b/public_test_cases/p01415/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d6d86ac8763334e4290ad52bbe4e2f5f043187c
--- /dev/null
+++ b/public_test_cases/p01415/input.2.txt
@@ -0,0 +1,4 @@
+3 1 1 2 3 100
+49
+50
+51
diff --git a/public_test_cases/p01415/output.0.txt b/public_test_cases/p01415/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97abf75a141be5ca24c9d0276483797e59fe964f
--- /dev/null
+++ b/public_test_cases/p01415/output.0.txt
@@ -0,0 +1 @@
+49.500000000
diff --git a/public_test_cases/p01415/output.1.txt b/public_test_cases/p01415/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97abf75a141be5ca24c9d0276483797e59fe964f
--- /dev/null
+++ b/public_test_cases/p01415/output.1.txt
@@ -0,0 +1 @@
+49.500000000
diff --git a/public_test_cases/p01415/output.2.txt b/public_test_cases/p01415/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ed8cc5354f1e0812469b5b5a8652223426f2e4c
--- /dev/null
+++ b/public_test_cases/p01415/output.2.txt
@@ -0,0 +1 @@
+48.666666667
diff --git a/public_test_cases/p01416/input.0.txt b/public_test_cases/p01416/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82173bfbba3b5b9aec22f9327441f0c44444189d
--- /dev/null
+++ b/public_test_cases/p01416/input.0.txt
@@ -0,0 +1,6 @@
+5 10
+..A.......
+.......B..
+..........
+..B.......
+..A.CC....
diff --git a/public_test_cases/p01416/input.1.txt b/public_test_cases/p01416/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9d494dd2bea3d993562dfaefe2f99e4bcf6a898
--- /dev/null
+++ b/public_test_cases/p01416/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+ABC
+D.D
+CBA
diff --git a/public_test_cases/p01416/input.2.txt b/public_test_cases/p01416/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82173bfbba3b5b9aec22f9327441f0c44444189d
--- /dev/null
+++ b/public_test_cases/p01416/input.2.txt
@@ -0,0 +1,6 @@
+5 10
+..A.......
+.......B..
+..........
+..B.......
+..A.CC....
diff --git a/public_test_cases/p01416/input.3.txt b/public_test_cases/p01416/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76b44a91162970ee7ed63706b35a58c65eadc1bf
--- /dev/null
+++ b/public_test_cases/p01416/input.3.txt
@@ -0,0 +1,6 @@
+5 7
+NUTUBOR
+QT.SZRQ
+SANAGIP
+LMDGZBM
+KLKIODP
diff --git a/public_test_cases/p01416/output.0.txt b/public_test_cases/p01416/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01416/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01416/output.1.txt b/public_test_cases/p01416/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01416/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01416/output.2.txt b/public_test_cases/p01416/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01416/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01416/output.3.txt b/public_test_cases/p01416/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p01416/output.3.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p01417/input.0.txt b/public_test_cases/p01417/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c064451d93a6eb2cef770de671f6f420f792f11c
--- /dev/null
+++ b/public_test_cases/p01417/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+0 0 0
+10 10 10
+100 100 100
diff --git a/public_test_cases/p01417/input.1.txt b/public_test_cases/p01417/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60145b6ecc3d54580c9eb2919df59c190fd8a62e
--- /dev/null
+++ b/public_test_cases/p01417/input.1.txt
@@ -0,0 +1,3 @@
+2 1
+1.0 1.0 1.0
+0.0 0.0 0.0
diff --git a/public_test_cases/p01417/input.2.txt b/public_test_cases/p01417/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..462fe5d460a86bef315c6a8a8095a5cebe4411c4
--- /dev/null
+++ b/public_test_cases/p01417/input.2.txt
@@ -0,0 +1,6 @@
+5 3
+12.0 15.0 9.0
+10.0 -3.0 2.2
+3.5 6.8 9.0
+2.1 4.4 5.9
+1.2 4.0 -5.4
diff --git a/public_test_cases/p01417/input.3.txt b/public_test_cases/p01417/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c064451d93a6eb2cef770de671f6f420f792f11c
--- /dev/null
+++ b/public_test_cases/p01417/input.3.txt
@@ -0,0 +1,4 @@
+3 2
+0 0 0
+10 10 10
+100 100 100
diff --git a/public_test_cases/p01417/output.0.txt b/public_test_cases/p01417/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e98aafc398692ed1df6f4b010a6a2c0325ac706e
--- /dev/null
+++ b/public_test_cases/p01417/output.0.txt
@@ -0,0 +1 @@
+30000.00000000000000000000
diff --git a/public_test_cases/p01417/output.1.txt b/public_test_cases/p01417/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30510ba1e67cfacc2fcbfd622ff9118cd19b3a28
--- /dev/null
+++ b/public_test_cases/p01417/output.1.txt
@@ -0,0 +1 @@
+0.00000000000000000000
diff --git a/public_test_cases/p01417/output.2.txt b/public_test_cases/p01417/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb2ecab264e122e469ad04fc1c1bcd3c5072721a
--- /dev/null
+++ b/public_test_cases/p01417/output.2.txt
@@ -0,0 +1 @@
+1003.44000000000005456968
diff --git a/public_test_cases/p01417/output.3.txt b/public_test_cases/p01417/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e98aafc398692ed1df6f4b010a6a2c0325ac706e
--- /dev/null
+++ b/public_test_cases/p01417/output.3.txt
@@ -0,0 +1 @@
+30000.00000000000000000000
diff --git a/public_test_cases/p01418/input.0.txt b/public_test_cases/p01418/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c76b4d1d7015d775bf5e664f1409df6676c586f4
--- /dev/null
+++ b/public_test_cases/p01418/input.0.txt
@@ -0,0 +1,4 @@
+3 0 2
+0.10000000000
+0.50000000000
+1.00000000000
diff --git a/public_test_cases/p01418/input.1.txt b/public_test_cases/p01418/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb442152f66ba639cc5c3b5fb2b404987f440574
--- /dev/null
+++ b/public_test_cases/p01418/input.1.txt
@@ -0,0 +1,4 @@
+3 0 2
+0.10000000000
+0.00000100000
+0.37500000000
diff --git a/public_test_cases/p01418/input.2.txt b/public_test_cases/p01418/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d620020e97a1f86cd233618e470b8129d4b3107a
--- /dev/null
+++ b/public_test_cases/p01418/input.2.txt
@@ -0,0 +1,4 @@
+3 0 2
+0.10000000000
+0.37499999977
+1.00000000000
diff --git a/public_test_cases/p01418/input.3.txt b/public_test_cases/p01418/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c76b4d1d7015d775bf5e664f1409df6676c586f4
--- /dev/null
+++ b/public_test_cases/p01418/input.3.txt
@@ -0,0 +1,4 @@
+3 0 2
+0.10000000000
+0.50000000000
+1.00000000000
diff --git a/public_test_cases/p01418/input.4.txt b/public_test_cases/p01418/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d122d6734f9a25c23f1ca438e69ff0e97ead6286
--- /dev/null
+++ b/public_test_cases/p01418/input.4.txt
@@ -0,0 +1,4 @@
+3 0 2
+0.20000000000
+0.00000100000
+0.37500000000
diff --git a/public_test_cases/p01418/output.0.txt b/public_test_cases/p01418/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cc0c9f209a4992ecc63dd1a6afadedac77e148e
--- /dev/null
+++ b/public_test_cases/p01418/output.0.txt
@@ -0,0 +1 @@
+0.900000
diff --git a/public_test_cases/p01418/output.1.txt b/public_test_cases/p01418/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..226f407660089e719dd2cb7c83e08ae19acea534
--- /dev/null
+++ b/public_test_cases/p01418/output.1.txt
@@ -0,0 +1 @@
+0.729000
diff --git a/public_test_cases/p01418/output.2.txt b/public_test_cases/p01418/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bdaddc448e76d4155ba58020df4edcedb42e9b0
--- /dev/null
+++ b/public_test_cases/p01418/output.2.txt
@@ -0,0 +1 @@
+0.810000
diff --git a/public_test_cases/p01418/output.3.txt b/public_test_cases/p01418/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cc0c9f209a4992ecc63dd1a6afadedac77e148e
--- /dev/null
+++ b/public_test_cases/p01418/output.3.txt
@@ -0,0 +1 @@
+0.900000
diff --git a/public_test_cases/p01418/output.4.txt b/public_test_cases/p01418/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b6d10961336d7175615444ac994434725882aa4
--- /dev/null
+++ b/public_test_cases/p01418/output.4.txt
@@ -0,0 +1 @@
+0.512000
diff --git a/public_test_cases/p01419/input.0.txt b/public_test_cases/p01419/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..895fd724773f37fd9853e5c249b930f80da67ded
--- /dev/null
+++ b/public_test_cases/p01419/input.0.txt
@@ -0,0 +1,7 @@
+1 3 2
+...
+1 1 1
+1 2 1
+1 1 1
+0 0
+0 2
diff --git a/public_test_cases/p01419/input.1.txt b/public_test_cases/p01419/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30eef881ea771c9012b53e208d500df36996f6cd
--- /dev/null
+++ b/public_test_cases/p01419/input.1.txt
@@ -0,0 +1,18 @@
+3 3 5
+...
+.##
+..#
+1 1 1
+1 0 0
+1 1 0
+3 3 3
+3 0 0
+3 3 0
+5 4 5
+4 0 0
+5 4 0
+1 0
+2 1
+0 2
+2 0
+0 0
diff --git a/public_test_cases/p01419/input.2.txt b/public_test_cases/p01419/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..895fd724773f37fd9853e5c249b930f80da67ded
--- /dev/null
+++ b/public_test_cases/p01419/input.2.txt
@@ -0,0 +1,7 @@
+1 3 2
+...
+1 1 1
+1 2 1
+1 1 1
+0 0
+0 2
diff --git a/public_test_cases/p01419/input.3.txt b/public_test_cases/p01419/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5151dff234d100e1cdeaae4929ce99863212cc4a
--- /dev/null
+++ b/public_test_cases/p01419/input.3.txt
@@ -0,0 +1,31 @@
+5 5 10
+.###
+....
+.#
+..#.#
+....
+0 12 0 0 0
+0 4 3 2 10
+0 0 0 99 0
+11 13 0 2 0
+0 1 1 2 1
+0 4 0 0 0
+0 13 8 2 4
+0 0 0 16 0
+1 1 0 2 0
+0 2 3 1 99
+0 2 0 0 0
+0 12 2 12 2
+0 0 0 3 0
+4 14 0 16 0
+0 2 14 2 90
+0 1
+3 0
+4 4
+1 4
+1 1
+4 4
+1 1
+4 3
+3 0
+1 4
diff --git a/public_test_cases/p01419/output.0.txt b/public_test_cases/p01419/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01419/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01419/output.1.txt b/public_test_cases/p01419/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..987e7ca9a76df749c99da91a829e772e9aa622f6
--- /dev/null
+++ b/public_test_cases/p01419/output.1.txt
@@ -0,0 +1 @@
+77
diff --git a/public_test_cases/p01419/output.2.txt b/public_test_cases/p01419/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01419/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01419/output.3.txt b/public_test_cases/p01419/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e68a0f7e9e1d2da6cdabd3d1588fc2eaa0c9e64
--- /dev/null
+++ b/public_test_cases/p01419/output.3.txt
@@ -0,0 +1 @@
+777
diff --git a/public_test_cases/p01420/input.0.txt b/public_test_cases/p01420/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..517648c7ff1d33b49d4c17fb7524c8718c247308
--- /dev/null
+++ b/public_test_cases/p01420/input.0.txt
@@ -0,0 +1,3 @@
+2 2 50
+30 50 1
+30 50 2
diff --git a/public_test_cases/p01420/input.1.txt b/public_test_cases/p01420/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7cb71cdee5dbb4db076059a9ce26003c57efe2d
--- /dev/null
+++ b/public_test_cases/p01420/input.1.txt
@@ -0,0 +1,3 @@
+2 1 100
+100 100 10
+0 100 1
diff --git a/public_test_cases/p01420/input.2.txt b/public_test_cases/p01420/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51eb8472cb05f735ce6a575b10c22f87d0b7a847
--- /dev/null
+++ b/public_test_cases/p01420/input.2.txt
@@ -0,0 +1,3 @@
+2 2 50
+30 0 1
+30 50 2
diff --git a/public_test_cases/p01420/input.3.txt b/public_test_cases/p01420/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..517648c7ff1d33b49d4c17fb7524c8718c247308
--- /dev/null
+++ b/public_test_cases/p01420/input.3.txt
@@ -0,0 +1,3 @@
+2 2 50
+30 50 1
+30 50 2
diff --git a/public_test_cases/p01420/input.4.txt b/public_test_cases/p01420/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7031376eee20197170cce0cc6d9004199f2343ca
--- /dev/null
+++ b/public_test_cases/p01420/input.4.txt
@@ -0,0 +1,4 @@
+3 1 100
+50 1 1
+50 1 1
+50 1 1
diff --git a/public_test_cases/p01420/output.0.txt b/public_test_cases/p01420/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..700f2b1aef12f5957b468e10659129613c45c257
--- /dev/null
+++ b/public_test_cases/p01420/output.0.txt
@@ -0,0 +1,2 @@
+0.28770000
+0.71230000
diff --git a/public_test_cases/p01420/output.1.txt b/public_test_cases/p01420/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..969e882926113ee88e387b38747ab9b338c60567
--- /dev/null
+++ b/public_test_cases/p01420/output.1.txt
@@ -0,0 +1,2 @@
+0.00000000
+1.00000000
diff --git a/public_test_cases/p01420/output.2.txt b/public_test_cases/p01420/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a28e020d99b44f32890860f86b947daa2ea291c4
--- /dev/null
+++ b/public_test_cases/p01420/output.2.txt
@@ -0,0 +1,2 @@
+0.51000000
+0.49000000
diff --git a/public_test_cases/p01420/output.3.txt b/public_test_cases/p01420/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..700f2b1aef12f5957b468e10659129613c45c257
--- /dev/null
+++ b/public_test_cases/p01420/output.3.txt
@@ -0,0 +1,2 @@
+0.28770000
+0.71230000
diff --git a/public_test_cases/p01420/output.4.txt b/public_test_cases/p01420/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..428d8e80f43d17906263eae834b8183e48815753
--- /dev/null
+++ b/public_test_cases/p01420/output.4.txt
@@ -0,0 +1,3 @@
+0.12500000
+0.12500000
+0.12500000
diff --git a/public_test_cases/p01421/input.0.txt b/public_test_cases/p01421/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3304c9c1bf0a75fd9fd95d16d84d0d00bb4f027e
--- /dev/null
+++ b/public_test_cases/p01421/input.0.txt
@@ -0,0 +1,3 @@
+2 1
+2 1
+2 1
diff --git a/public_test_cases/p01421/input.1.txt b/public_test_cases/p01421/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3304c9c1bf0a75fd9fd95d16d84d0d00bb4f027e
--- /dev/null
+++ b/public_test_cases/p01421/input.1.txt
@@ -0,0 +1,3 @@
+2 1
+2 1
+2 1
diff --git a/public_test_cases/p01421/input.2.txt b/public_test_cases/p01421/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bef3b5a2820701ed81f9ab0a8ece97b1087ce4a2
--- /dev/null
+++ b/public_test_cases/p01421/input.2.txt
@@ -0,0 +1,3 @@
+2 1
+1 2
+2 1
diff --git a/public_test_cases/p01421/input.3.txt b/public_test_cases/p01421/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b8ac05bfe34fe94a18c828e34e01b642394a223
--- /dev/null
+++ b/public_test_cases/p01421/input.3.txt
@@ -0,0 +1,5 @@
+3 3
+3 2
+1 2
+3 1
+1 3
diff --git a/public_test_cases/p01421/output.0.txt b/public_test_cases/p01421/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b261da18d51a39dc2cf0d156791e9c0b35dd83f4
--- /dev/null
+++ b/public_test_cases/p01421/output.0.txt
@@ -0,0 +1,2 @@
+1
+0
diff --git a/public_test_cases/p01421/output.1.txt b/public_test_cases/p01421/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b261da18d51a39dc2cf0d156791e9c0b35dd83f4
--- /dev/null
+++ b/public_test_cases/p01421/output.1.txt
@@ -0,0 +1,2 @@
+1
+0
diff --git a/public_test_cases/p01421/output.2.txt b/public_test_cases/p01421/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8183f05f5db68b3934e93f4bf6bed2bb664e0b5
--- /dev/null
+++ b/public_test_cases/p01421/output.2.txt
@@ -0,0 +1,3 @@
+1
+1
+1
diff --git a/public_test_cases/p01421/output.3.txt b/public_test_cases/p01421/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd0f1430b7c8e910d00fb5aa5d65f53c3c41df20
--- /dev/null
+++ b/public_test_cases/p01421/output.3.txt
@@ -0,0 +1,4 @@
+2
+2
+1
+3
diff --git a/public_test_cases/p01422/input.0.txt b/public_test_cases/p01422/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..499aaee910e71b3cb0d991854ec235e17579a629
--- /dev/null
+++ b/public_test_cases/p01422/input.0.txt
@@ -0,0 +1,2 @@
+3
+6 11 12
diff --git a/public_test_cases/p01422/input.1.txt b/public_test_cases/p01422/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d0efa9625d006b3a78f803110df3584416da2a2
--- /dev/null
+++ b/public_test_cases/p01422/input.1.txt
@@ -0,0 +1,2 @@
+3
+6 11 24
diff --git a/public_test_cases/p01422/input.2.txt b/public_test_cases/p01422/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99a77bf681438c3e379b1e4486aed429aa7c19ed
--- /dev/null
+++ b/public_test_cases/p01422/input.2.txt
@@ -0,0 +1,2 @@
+3
+6 11 30
diff --git a/public_test_cases/p01422/input.3.txt b/public_test_cases/p01422/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..499aaee910e71b3cb0d991854ec235e17579a629
--- /dev/null
+++ b/public_test_cases/p01422/input.3.txt
@@ -0,0 +1,2 @@
+3
+6 11 12
diff --git a/public_test_cases/p01422/output.0.txt b/public_test_cases/p01422/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03d7df72b70f39fa289f3295c36de07e40fe2304
--- /dev/null
+++ b/public_test_cases/p01422/output.0.txt
@@ -0,0 +1 @@
+0.090909090909
diff --git a/public_test_cases/p01422/output.1.txt b/public_test_cases/p01422/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03d7df72b70f39fa289f3295c36de07e40fe2304
--- /dev/null
+++ b/public_test_cases/p01422/output.1.txt
@@ -0,0 +1 @@
+0.090909090909
diff --git a/public_test_cases/p01422/output.2.txt b/public_test_cases/p01422/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f74ee430eef00182751de889408d33a18639185b
--- /dev/null
+++ b/public_test_cases/p01422/output.2.txt
@@ -0,0 +1 @@
+0.166666666667
diff --git a/public_test_cases/p01422/output.3.txt b/public_test_cases/p01422/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03d7df72b70f39fa289f3295c36de07e40fe2304
--- /dev/null
+++ b/public_test_cases/p01422/output.3.txt
@@ -0,0 +1 @@
+0.090909090909
diff --git a/public_test_cases/p01423/input.0.txt b/public_test_cases/p01423/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3f55b2dd4744161cead05cfc8ac32ce396fd8dd
--- /dev/null
+++ b/public_test_cases/p01423/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 3
+2 3 1
+3 1 2
diff --git a/public_test_cases/p01423/input.1.txt b/public_test_cases/p01423/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3f55b2dd4744161cead05cfc8ac32ce396fd8dd
--- /dev/null
+++ b/public_test_cases/p01423/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 3
+2 3 1
+3 1 2
diff --git a/public_test_cases/p01423/input.2.txt b/public_test_cases/p01423/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bb8fccd53586fa6e574f7e95d9c83cf965fd263
--- /dev/null
+++ b/public_test_cases/p01423/input.2.txt
@@ -0,0 +1,2 @@
+2 1
+1 2 5
diff --git a/public_test_cases/p01423/input.3.txt b/public_test_cases/p01423/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dee0375cff201233d99ece7f559c2e725dfbb0a
--- /dev/null
+++ b/public_test_cases/p01423/input.3.txt
@@ -0,0 +1,6 @@
+4 5
+1 2 4
+1 3 3
+2 3 7
+2 4 5
+3 4 6
diff --git a/public_test_cases/p01423/input.4.txt b/public_test_cases/p01423/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80c0cc79aabb27a7894c5795860fa87c6473f004
--- /dev/null
+++ b/public_test_cases/p01423/input.4.txt
@@ -0,0 +1 @@
+1 0
diff --git a/public_test_cases/p01423/output.0.txt b/public_test_cases/p01423/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01423/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01423/output.1.txt b/public_test_cases/p01423/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01423/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01423/output.2.txt b/public_test_cases/p01423/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01423/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01423/output.3.txt b/public_test_cases/p01423/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p01423/output.3.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p01423/output.4.txt b/public_test_cases/p01423/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01423/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01424/input.0.txt b/public_test_cases/p01424/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54d5bccee535d28a4ae269a2dccec6470b6d8675
--- /dev/null
+++ b/public_test_cases/p01424/input.0.txt
@@ -0,0 +1,5 @@
+2 2
+ab
+ba
+1 1
+1 2
diff --git a/public_test_cases/p01424/input.1.txt b/public_test_cases/p01424/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5000f0c7e8723bc94eeeada0eb28301345e2ae48
--- /dev/null
+++ b/public_test_cases/p01424/input.1.txt
@@ -0,0 +1,5 @@
+2 2
+ab
+ba
+1 1
+2 2
diff --git a/public_test_cases/p01424/input.2.txt b/public_test_cases/p01424/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54d5bccee535d28a4ae269a2dccec6470b6d8675
--- /dev/null
+++ b/public_test_cases/p01424/input.2.txt
@@ -0,0 +1,5 @@
+2 2
+ab
+ba
+1 1
+1 2
diff --git a/public_test_cases/p01424/input.3.txt b/public_test_cases/p01424/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5ae37f458b3a82a23752f2b0c48ef7ad7f51839
--- /dev/null
+++ b/public_test_cases/p01424/input.3.txt
@@ -0,0 +1,5 @@
+2 2
+ab
+a
+1 1
+1 2
diff --git a/public_test_cases/p01424/output.0.txt b/public_test_cases/p01424/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01424/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01424/output.1.txt b/public_test_cases/p01424/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01424/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01424/output.2.txt b/public_test_cases/p01424/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01424/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01424/output.3.txt b/public_test_cases/p01424/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01424/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01425/input.0.txt b/public_test_cases/p01425/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b949f5642e813df2b62f78a520d88b8f2df190e
--- /dev/null
+++ b/public_test_cases/p01425/input.0.txt
@@ -0,0 +1 @@
+0 7 3 1
diff --git a/public_test_cases/p01425/input.1.txt b/public_test_cases/p01425/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b949f5642e813df2b62f78a520d88b8f2df190e
--- /dev/null
+++ b/public_test_cases/p01425/input.1.txt
@@ -0,0 +1 @@
+0 7 3 1
diff --git a/public_test_cases/p01425/input.2.txt b/public_test_cases/p01425/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..621ec2df01cb254c0ee51627ecb576649ed95ef6
--- /dev/null
+++ b/public_test_cases/p01425/input.2.txt
@@ -0,0 +1,2 @@
+1 7 2 2
+0 1 1 2
diff --git a/public_test_cases/p01425/input.3.txt b/public_test_cases/p01425/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46da63b7b24ac57bd305daffc7711f78519765ae
--- /dev/null
+++ b/public_test_cases/p01425/input.3.txt
@@ -0,0 +1,2 @@
+1 7 3 1
+1 1 2 2
diff --git a/public_test_cases/p01425/output.0.txt b/public_test_cases/p01425/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01425/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01425/output.1.txt b/public_test_cases/p01425/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01425/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01425/output.2.txt b/public_test_cases/p01425/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01425/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01425/output.3.txt b/public_test_cases/p01425/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01425/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01426/input.0.txt b/public_test_cases/p01426/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f64b7de79426a5f83c225f12d1ad90dc3c9229c
--- /dev/null
+++ b/public_test_cases/p01426/input.0.txt
@@ -0,0 +1,4 @@
+2 3
+1.0 1.0
+-1.0 0.0
+0.5 0.5
diff --git a/public_test_cases/p01426/input.1.txt b/public_test_cases/p01426/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f64b7de79426a5f83c225f12d1ad90dc3c9229c
--- /dev/null
+++ b/public_test_cases/p01426/input.1.txt
@@ -0,0 +1,4 @@
+2 3
+1.0 1.0
+-1.0 0.0
+0.5 0.5
diff --git a/public_test_cases/p01426/input.2.txt b/public_test_cases/p01426/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd0d553670c99f1d8326f2d782380913d5126782
--- /dev/null
+++ b/public_test_cases/p01426/input.2.txt
@@ -0,0 +1,4 @@
+4 3
+1.0 1.0 0.0 0.0
+-1.0 0.0 -1.0 0.0
+0.5 0.5 0.5 0.5
diff --git a/public_test_cases/p01426/input.3.txt b/public_test_cases/p01426/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b03d2bba43909b6567e0094a859a35a93cdf674
--- /dev/null
+++ b/public_test_cases/p01426/input.3.txt
@@ -0,0 +1,2 @@
+1 1
+1.0
diff --git a/public_test_cases/p01426/output.0.txt b/public_test_cases/p01426/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3827e75a5cadb9fe4a27e1cb9b6d192e7323120
--- /dev/null
+++ b/public_test_cases/p01426/output.0.txt
@@ -0,0 +1 @@
+1.0
diff --git a/public_test_cases/p01426/output.1.txt b/public_test_cases/p01426/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3827e75a5cadb9fe4a27e1cb9b6d192e7323120
--- /dev/null
+++ b/public_test_cases/p01426/output.1.txt
@@ -0,0 +1 @@
+1.0
diff --git a/public_test_cases/p01426/output.2.txt b/public_test_cases/p01426/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f55b2ccb5f234fc6b87ada62389a3d73815d0d1
--- /dev/null
+++ b/public_test_cases/p01426/output.2.txt
@@ -0,0 +1 @@
+3.0
diff --git a/public_test_cases/p01426/output.3.txt b/public_test_cases/p01426/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3827e75a5cadb9fe4a27e1cb9b6d192e7323120
--- /dev/null
+++ b/public_test_cases/p01426/output.3.txt
@@ -0,0 +1 @@
+1.0
diff --git a/public_test_cases/p01427/input.0.txt b/public_test_cases/p01427/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..993903dd6feb6ffe5c3960296815c8730e28fc61
--- /dev/null
+++ b/public_test_cases/p01427/input.0.txt
@@ -0,0 +1,4 @@
+3 5
+##..#
+#..##
+####.
diff --git a/public_test_cases/p01427/output.0.txt b/public_test_cases/p01427/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01427/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01428/input.0.txt b/public_test_cases/p01428/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85b089d6a8772c5855e8b815c64a681dac003517
--- /dev/null
+++ b/public_test_cases/p01428/input.0.txt
@@ -0,0 +1,8 @@
+ooox....
+.x......
+ooo.....
+........
+........
+........
+........
+........
diff --git a/public_test_cases/p01428/output.0.txt b/public_test_cases/p01428/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25fded20ddb35e641bd3909fd2e5578f58672c43
--- /dev/null
+++ b/public_test_cases/p01428/output.0.txt
@@ -0,0 +1,8 @@
+ooooo...
+.o......
+ooo.....
+...o....
+....o...
+........
+........
+........
diff --git a/public_test_cases/p01429/input.0.txt b/public_test_cases/p01429/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..764c72d74ac7d05412638e29ec3e324d75bd7cfb
--- /dev/null
+++ b/public_test_cases/p01429/input.0.txt
@@ -0,0 +1,3 @@
+4 5 99
+1 4 5 3
+100 200 300 400 500
diff --git a/public_test_cases/p01429/output.0.txt b/public_test_cases/p01429/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81b5c5d06cc0b8290c264b408abb32cc0986e8f2
--- /dev/null
+++ b/public_test_cases/p01429/output.0.txt
@@ -0,0 +1 @@
+37
diff --git a/public_test_cases/p01430/input.0.txt b/public_test_cases/p01430/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..665c22fdc906e42ec00494d5f2866fca358b6ff5
--- /dev/null
+++ b/public_test_cases/p01430/input.0.txt
@@ -0,0 +1,4 @@
+2 1 2
+1 2
+2 1 2
+1 2 1
diff --git a/public_test_cases/p01430/output.0.txt b/public_test_cases/p01430/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d66ea1aee9527bfa39185ead1f9cdbd96bba88c
--- /dev/null
+++ b/public_test_cases/p01430/output.0.txt
@@ -0,0 +1,2 @@
+0
+1
diff --git a/public_test_cases/p01431/input.0.txt b/public_test_cases/p01431/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9060f16d61c069dfb9e0801355f58018d6f85d33
--- /dev/null
+++ b/public_test_cases/p01431/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+.##.
+#??#
+.#?#
diff --git a/public_test_cases/p01431/output.0.txt b/public_test_cases/p01431/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01431/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01432/input.0.txt b/public_test_cases/p01432/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..408d47c88b70c3171521ad84537daaa1d7b8b657
--- /dev/null
+++ b/public_test_cases/p01432/input.0.txt
@@ -0,0 +1 @@
+6 6 1
diff --git a/public_test_cases/p01432/output.0.txt b/public_test_cases/p01432/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..576e90a7a937ebd635d232de1e461edde119f985
--- /dev/null
+++ b/public_test_cases/p01432/output.0.txt
@@ -0,0 +1 @@
+6.00000000
diff --git a/public_test_cases/p01433/input.0.txt b/public_test_cases/p01433/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc7b47bf8cdddc04c8188367d863ca68bea5f34a
--- /dev/null
+++ b/public_test_cases/p01433/input.0.txt
@@ -0,0 +1,5 @@
+4 5 25
+0 10
+10 0
+20 0
+30 10
diff --git a/public_test_cases/p01433/output.0.txt b/public_test_cases/p01433/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d30c10806e6b92fddd5794c9fdc1857b75369792
--- /dev/null
+++ b/public_test_cases/p01433/output.0.txt
@@ -0,0 +1 @@
+Red
diff --git a/public_test_cases/p01434/input.0.txt b/public_test_cases/p01434/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23c7f5ae255ffac6a690d0a14dd48557544e8a5e
--- /dev/null
+++ b/public_test_cases/p01434/input.0.txt
@@ -0,0 +1,6 @@
+2 3
+1 8
+20 5
+3
+7
+15
diff --git a/public_test_cases/p01434/output.0.txt b/public_test_cases/p01434/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01434/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01435/input.0.txt b/public_test_cases/p01435/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4020ea9e614e93a8639b725f5540ac4c8c10c2d2
--- /dev/null
+++ b/public_test_cases/p01435/input.0.txt
@@ -0,0 +1,3 @@
+3 1 3
+1 1 0
+3 2 1 2
diff --git a/public_test_cases/p01435/output.0.txt b/public_test_cases/p01435/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01435/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01436/input.0.txt b/public_test_cases/p01436/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b563acc19ae69bf3f87ef14f196d132c3660466c
--- /dev/null
+++ b/public_test_cases/p01436/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+.S..
+K...
+....
+..sk
diff --git a/public_test_cases/p01436/output.0.txt b/public_test_cases/p01436/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01436/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01437/input.0.txt b/public_test_cases/p01437/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae7e3d924a76f74ca2a6e74c977674d097d5ac27
--- /dev/null
+++ b/public_test_cases/p01437/input.0.txt
@@ -0,0 +1,23 @@
+3 3 10
+E..
+.#.
+...
+5 5 19
+####.
+.....
+.#S#.
+...#.
+#.##.
+5 5 6
+#.#..
+#....
+##.#.
+#..S.
+#....
+5 4 35
+..##
+....
+.##.
+.#S.
+...#
+0 0 0
diff --git a/public_test_cases/p01437/input.1.txt b/public_test_cases/p01437/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae7e3d924a76f74ca2a6e74c977674d097d5ac27
--- /dev/null
+++ b/public_test_cases/p01437/input.1.txt
@@ -0,0 +1,23 @@
+3 3 10
+E..
+.#.
+...
+5 5 19
+####.
+.....
+.#S#.
+...#.
+#.##.
+5 5 6
+#.#..
+#....
+##.#.
+#..S.
+#....
+5 4 35
+..##
+....
+.##.
+.#S.
+...#
+0 0 0
diff --git a/public_test_cases/p01437/input.2.txt b/public_test_cases/p01437/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94ce42fdc54919bfc114efff2e14666669fd4068
--- /dev/null
+++ b/public_test_cases/p01437/input.2.txt
@@ -0,0 +1,23 @@
+3 3 10
+E..
+.#.
+...
+5 5 19
+.
+.....
+.#S#.
+...#.
+.##.
+5 5 6
+.#..
+....
+.#.
+..S.
+....
+5 4 35
+..##
+....
+.##.
+.#S.
+...#
+0 0 0
diff --git a/public_test_cases/p01437/output.0.txt b/public_test_cases/p01437/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38db59a19a5f2d2b0f6cbf66a55e9fb7aa94ad4d
--- /dev/null
+++ b/public_test_cases/p01437/output.0.txt
@@ -0,0 +1,4 @@
+1 3 E
+4 5 S
+4 4 E
+1 1 N
diff --git a/public_test_cases/p01437/output.1.txt b/public_test_cases/p01437/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38db59a19a5f2d2b0f6cbf66a55e9fb7aa94ad4d
--- /dev/null
+++ b/public_test_cases/p01437/output.1.txt
@@ -0,0 +1,4 @@
+1 3 E
+4 5 S
+4 4 E
+1 1 N
diff --git a/public_test_cases/p01437/output.2.txt b/public_test_cases/p01437/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38db59a19a5f2d2b0f6cbf66a55e9fb7aa94ad4d
--- /dev/null
+++ b/public_test_cases/p01437/output.2.txt
@@ -0,0 +1,4 @@
+1 3 E
+4 5 S
+4 4 E
+1 1 N
diff --git a/public_test_cases/p01438/input.0.txt b/public_test_cases/p01438/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94c34ee70aca79361889c0400ca44f09f879fb30
--- /dev/null
+++ b/public_test_cases/p01438/input.0.txt
@@ -0,0 +1,50 @@
+2
+2 100
+10 12
+14 16
+2 200
+12 13
+18 20
+4
+1 100
+6 22
+1 1000
+6 22
+1 10000
+6 22
+1 100000
+6 22
+16
+1 100000000
+6 7
+1 100000000
+7 8
+1 100000000
+8 9
+1 100000000
+9 10
+1 100000000
+10 11
+1 100000000
+11 12
+1 100000000
+12 13
+1 100000000
+13 14
+1 100000000
+14 15
+1 100000000
+15 16
+1 100000000
+16 17
+1 100000000
+17 18
+1 100000000
+18 19
+1 100000000
+19 20
+1 100000000
+20 21
+1 100000000
+21 22
+0
diff --git a/public_test_cases/p01438/input.1.txt b/public_test_cases/p01438/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94c34ee70aca79361889c0400ca44f09f879fb30
--- /dev/null
+++ b/public_test_cases/p01438/input.1.txt
@@ -0,0 +1,50 @@
+2
+2 100
+10 12
+14 16
+2 200
+12 13
+18 20
+4
+1 100
+6 22
+1 1000
+6 22
+1 10000
+6 22
+1 100000
+6 22
+16
+1 100000000
+6 7
+1 100000000
+7 8
+1 100000000
+8 9
+1 100000000
+9 10
+1 100000000
+10 11
+1 100000000
+11 12
+1 100000000
+12 13
+1 100000000
+13 14
+1 100000000
+14 15
+1 100000000
+15 16
+1 100000000
+16 17
+1 100000000
+17 18
+1 100000000
+18 19
+1 100000000
+19 20
+1 100000000
+20 21
+1 100000000
+21 22
+0
diff --git a/public_test_cases/p01438/output.0.txt b/public_test_cases/p01438/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7748152d69aaaf0179c28e004b0b6e16bab5105
--- /dev/null
+++ b/public_test_cases/p01438/output.0.txt
@@ -0,0 +1,3 @@
+300
+100000
+1600000000
diff --git a/public_test_cases/p01438/output.1.txt b/public_test_cases/p01438/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7748152d69aaaf0179c28e004b0b6e16bab5105
--- /dev/null
+++ b/public_test_cases/p01438/output.1.txt
@@ -0,0 +1,3 @@
+300
+100000
+1600000000
diff --git a/public_test_cases/p01439/input.0.txt b/public_test_cases/p01439/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72be167351edf43e55e3818845e04f0df659bc37
--- /dev/null
+++ b/public_test_cases/p01439/input.0.txt
@@ -0,0 +1,23 @@
+6
+onetwo2
+-
+onetwo1
+onetwo2
+-
+onetwo1
+7
+v
+topbottom2
+onetwo2
+-
+onetwo1
+topbottom1
+-
+6
+baz2
+foo2
+baz1v
+bar2
+foo1
+bar1
+0
diff --git a/public_test_cases/p01439/input.1.txt b/public_test_cases/p01439/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72be167351edf43e55e3818845e04f0df659bc37
--- /dev/null
+++ b/public_test_cases/p01439/input.1.txt
@@ -0,0 +1,23 @@
+6
+onetwo2
+-
+onetwo1
+onetwo2
+-
+onetwo1
+7
+v
+topbottom2
+onetwo2
+-
+onetwo1
+topbottom1
+-
+6
+baz2
+foo2
+baz1v
+bar2
+foo1
+bar1
+0
diff --git a/public_test_cases/p01439/output.0.txt b/public_test_cases/p01439/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a58449d64e5138ff3ad86d76cb7149aa2c872efd
--- /dev/null
+++ b/public_test_cases/p01439/output.0.txt
@@ -0,0 +1,19 @@
+2
+3
+1
+5
+6
+4
+4
+5
+3
+6
+2
+1
+7
+5
+2
+6
+4
+3
+1
diff --git a/public_test_cases/p01439/output.1.txt b/public_test_cases/p01439/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a58449d64e5138ff3ad86d76cb7149aa2c872efd
--- /dev/null
+++ b/public_test_cases/p01439/output.1.txt
@@ -0,0 +1,19 @@
+2
+3
+1
+5
+6
+4
+4
+5
+3
+6
+2
+1
+7
+5
+2
+6
+4
+3
+1
diff --git a/public_test_cases/p01440/input.0.txt b/public_test_cases/p01440/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b42b50da3cd65f33bf72c59941aa79bf8b0e2cf9
--- /dev/null
+++ b/public_test_cases/p01440/input.0.txt
@@ -0,0 +1,5 @@
+45678
+67891011
+21
+314159265358979
+#
diff --git a/public_test_cases/p01440/input.1.txt b/public_test_cases/p01440/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c73ab5ec487927d55a846780eb3f80d51f2fecd7
--- /dev/null
+++ b/public_test_cases/p01440/input.1.txt
@@ -0,0 +1,4 @@
+45678
+67891011
+21
+314159265358979
diff --git a/public_test_cases/p01440/input.2.txt b/public_test_cases/p01440/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b42b50da3cd65f33bf72c59941aa79bf8b0e2cf9
--- /dev/null
+++ b/public_test_cases/p01440/input.2.txt
@@ -0,0 +1,5 @@
+45678
+67891011
+21
+314159265358979
+#
diff --git a/public_test_cases/p01440/output.0.txt b/public_test_cases/p01440/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7392ee5ad802e2850bcb8948822d67b639dc0393
--- /dev/null
+++ b/public_test_cases/p01440/output.0.txt
@@ -0,0 +1,4 @@
+4
+6
+15
+2012778692735799
diff --git a/public_test_cases/p01440/output.1.txt b/public_test_cases/p01440/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7392ee5ad802e2850bcb8948822d67b639dc0393
--- /dev/null
+++ b/public_test_cases/p01440/output.1.txt
@@ -0,0 +1,4 @@
+4
+6
+15
+2012778692735799
diff --git a/public_test_cases/p01440/output.2.txt b/public_test_cases/p01440/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7392ee5ad802e2850bcb8948822d67b639dc0393
--- /dev/null
+++ b/public_test_cases/p01440/output.2.txt
@@ -0,0 +1,4 @@
+4
+6
+15
+2012778692735799
diff --git a/public_test_cases/p01441/input.0.txt b/public_test_cases/p01441/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..174772f3e44d6a6664bf1f1e0f57c95067fa2e4f
--- /dev/null
+++ b/public_test_cases/p01441/input.0.txt
@@ -0,0 +1,7 @@
+a
+QMAClone
+acmicpc
+abcdefgha
+abcdefgdhbi
+abcbcd
+#
diff --git a/public_test_cases/p01441/input.1.txt b/public_test_cases/p01441/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eafc85241da17962b0672e6b588c376bcee7263a
--- /dev/null
+++ b/public_test_cases/p01441/input.1.txt
@@ -0,0 +1,6 @@
+a
+QMAClone
+acmicpc
+abcdefgha
+abcdefgdhbi
+abcbcd
diff --git a/public_test_cases/p01441/input.2.txt b/public_test_cases/p01441/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..174772f3e44d6a6664bf1f1e0f57c95067fa2e4f
--- /dev/null
+++ b/public_test_cases/p01441/input.2.txt
@@ -0,0 +1,7 @@
+a
+QMAClone
+acmicpc
+abcdefgha
+abcdefgdhbi
+abcbcd
+#
diff --git a/public_test_cases/p01441/output.0.txt b/public_test_cases/p01441/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46b7e959c638e641b3ac41584c840b513eeb7300
--- /dev/null
+++ b/public_test_cases/p01441/output.0.txt
@@ -0,0 +1,6 @@
+No Results
+9
+7
+9
+12
+6
diff --git a/public_test_cases/p01441/output.1.txt b/public_test_cases/p01441/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46b7e959c638e641b3ac41584c840b513eeb7300
--- /dev/null
+++ b/public_test_cases/p01441/output.1.txt
@@ -0,0 +1,6 @@
+No Results
+9
+7
+9
+12
+6
diff --git a/public_test_cases/p01441/output.2.txt b/public_test_cases/p01441/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46b7e959c638e641b3ac41584c840b513eeb7300
--- /dev/null
+++ b/public_test_cases/p01441/output.2.txt
@@ -0,0 +1,6 @@
+No Results
+9
+7
+9
+12
+6
diff --git a/public_test_cases/p01442/input.0.txt b/public_test_cases/p01442/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19bc4ef259942886d7861a5b3ea6f85694081790
--- /dev/null
+++ b/public_test_cases/p01442/input.0.txt
@@ -0,0 +1,14 @@
+2 2 1
+L
+G.
+#S
+2 2 2
+RR
+G.
+.S
+3 3 6
+LLLLLL
+G#.
+...
+.#S
+0 0 0
diff --git a/public_test_cases/p01442/input.1.txt b/public_test_cases/p01442/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19bc4ef259942886d7861a5b3ea6f85694081790
--- /dev/null
+++ b/public_test_cases/p01442/input.1.txt
@@ -0,0 +1,14 @@
+2 2 1
+L
+G.
+#S
+2 2 2
+RR
+G.
+.S
+3 3 6
+LLLLLL
+G#.
+...
+.#S
+0 0 0
diff --git a/public_test_cases/p01442/input.2.txt b/public_test_cases/p01442/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d229247142dc0245f74a80f734dc694c7845663
--- /dev/null
+++ b/public_test_cases/p01442/input.2.txt
@@ -0,0 +1,14 @@
+2 2 1
+L
+G.
+S
+2 2 2
+RR
+G.
+.S
+3 3 6
+LLLLLL
+G#.
+...
+.#S
+0 0 0
diff --git a/public_test_cases/p01442/output.0.txt b/public_test_cases/p01442/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef5c0439807192f2948a416361d3fec90374dac
--- /dev/null
+++ b/public_test_cases/p01442/output.0.txt
@@ -0,0 +1,3 @@
+Yes
+No
+Yes
diff --git a/public_test_cases/p01442/output.1.txt b/public_test_cases/p01442/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef5c0439807192f2948a416361d3fec90374dac
--- /dev/null
+++ b/public_test_cases/p01442/output.1.txt
@@ -0,0 +1,3 @@
+Yes
+No
+Yes
diff --git a/public_test_cases/p01442/output.2.txt b/public_test_cases/p01442/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef5c0439807192f2948a416361d3fec90374dac
--- /dev/null
+++ b/public_test_cases/p01442/output.2.txt
@@ -0,0 +1,3 @@
+Yes
+No
+Yes
diff --git a/public_test_cases/p01443/input.0.txt b/public_test_cases/p01443/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6ab5d0dbda3c4b5aa9b39a2e229d20d0d6924bd
--- /dev/null
+++ b/public_test_cases/p01443/input.0.txt
@@ -0,0 +1,4 @@
+1 10 1000
+1 100000 1000000000
+999999999 1000099998 1000000000
+0 0 0
diff --git a/public_test_cases/p01443/input.1.txt b/public_test_cases/p01443/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6ab5d0dbda3c4b5aa9b39a2e229d20d0d6924bd
--- /dev/null
+++ b/public_test_cases/p01443/input.1.txt
@@ -0,0 +1,4 @@
+1 10 1000
+1 100000 1000000000
+999999999 1000099998 1000000000
+0 0 0
diff --git a/public_test_cases/p01443/output.0.txt b/public_test_cases/p01443/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c4a01a1d188a2a74cab624f166e9d49058d14a6
--- /dev/null
+++ b/public_test_cases/p01443/output.0.txt
@@ -0,0 +1,3 @@
+513
+899507743
+941554688
diff --git a/public_test_cases/p01443/output.1.txt b/public_test_cases/p01443/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c4a01a1d188a2a74cab624f166e9d49058d14a6
--- /dev/null
+++ b/public_test_cases/p01443/output.1.txt
@@ -0,0 +1,3 @@
+513
+899507743
+941554688
diff --git a/public_test_cases/p01444/input.0.txt b/public_test_cases/p01444/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..809e4b3d312f870c1b19e5f678ffa30042d65f44
--- /dev/null
+++ b/public_test_cases/p01444/input.0.txt
@@ -0,0 +1,13 @@
+1
+1 1
+10 -480
+2
+6 7
+5 5
+4 1
+3
+10 5
+4 4
+8 4
+2 0
+0
diff --git a/public_test_cases/p01444/input.1.txt b/public_test_cases/p01444/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..809e4b3d312f870c1b19e5f678ffa30042d65f44
--- /dev/null
+++ b/public_test_cases/p01444/input.1.txt
@@ -0,0 +1,13 @@
+1
+1 1
+10 -480
+2
+6 7
+5 5
+4 1
+3
+10 5
+4 4
+8 4
+2 0
+0
diff --git a/public_test_cases/p01444/output.0.txt b/public_test_cases/p01444/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e42eaccba8fbb670afcbc090ead039c26258d21
--- /dev/null
+++ b/public_test_cases/p01444/output.0.txt
@@ -0,0 +1,3 @@
+Yes
+Yes
+No
diff --git a/public_test_cases/p01444/output.1.txt b/public_test_cases/p01444/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e42eaccba8fbb670afcbc090ead039c26258d21
--- /dev/null
+++ b/public_test_cases/p01444/output.1.txt
@@ -0,0 +1,3 @@
+Yes
+Yes
+No
diff --git a/public_test_cases/p01445/input.0.txt b/public_test_cases/p01445/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aa3320864586f7aef0cd0c3ed1cd5add66873b4
--- /dev/null
+++ b/public_test_cases/p01445/input.0.txt
@@ -0,0 +1,13 @@
+3 3
+1 2 x+2
+2 3 2x+1
+3 1 x+1
+2 0
+3 2
+1 2 x
+2 3 2
+4 3
+1 2 x^3+2x^2+3x+4
+2 3 x^2+2x+3
+3 4 x+2
+0 0
diff --git a/public_test_cases/p01445/input.1.txt b/public_test_cases/p01445/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aa3320864586f7aef0cd0c3ed1cd5add66873b4
--- /dev/null
+++ b/public_test_cases/p01445/input.1.txt
@@ -0,0 +1,13 @@
+3 3
+1 2 x+2
+2 3 2x+1
+3 1 x+1
+2 0
+3 2
+1 2 x
+2 3 2
+4 3
+1 2 x^3+2x^2+3x+4
+2 3 x^2+2x+3
+3 4 x+2
+0 0
diff --git a/public_test_cases/p01445/output.0.txt b/public_test_cases/p01445/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdc4747fbee10fa6b0f932afc853cbf01317c97d
--- /dev/null
+++ b/public_test_cases/p01445/output.0.txt
@@ -0,0 +1,4 @@
+2x+3
+0
+2
+x+2
diff --git a/public_test_cases/p01445/output.1.txt b/public_test_cases/p01445/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdc4747fbee10fa6b0f932afc853cbf01317c97d
--- /dev/null
+++ b/public_test_cases/p01445/output.1.txt
@@ -0,0 +1,4 @@
+2x+3
+0
+2
+x+2
diff --git a/public_test_cases/p01446/input.0.txt b/public_test_cases/p01446/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b3fd2b4d3063377169a9c6dae1f1e84291606de
--- /dev/null
+++ b/public_test_cases/p01446/input.0.txt
@@ -0,0 +1,110 @@
+2
+5
+0 0
+10 0
+20 0
+30 0
+30 10
+4
+1 2
+2 3
+3 4
+4 5
+2
+1 2 4
+3 2 2
+5
+-10 0
+0 0
+0 -10
+0 -20
+0 -30
+4
+1 2
+2 3
+3 4
+4 5
+1
+4 1 3
+1 1
+2 1
+4
+3
+4 3
+0 0
+5 0
+2
+1 2
+2 3
+0
+3
+0 0
+3 4
+0 5
+2
+1 2
+1 3
+1
+2 3 4
+4
+0 13
+0 0
+13 0
+13 13
+4
+1 2
+1 4
+2 3
+2 4
+0
+4
+5 12
+0 0
+-7 17
+-12 5
+4
+1 2
+2 3
+2 4
+4 3
+0
+1 1
+4 1
+4
+3
+0 0
+2 0
+0 4
+2
+1 2
+1 3
+0
+3
+0 0
+-2 0
+0 4
+2
+1 2
+1 3
+1
+1 4 1
+3
+0 0
+1 0
+0 2
+2
+1 2
+1 3
+1
+1 4 1
+3
+0 0
+2 0
+0 4
+2
+1 2
+2 3
+0
+1 1
+4 1
+0
diff --git a/public_test_cases/p01446/input.1.txt b/public_test_cases/p01446/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b3fd2b4d3063377169a9c6dae1f1e84291606de
--- /dev/null
+++ b/public_test_cases/p01446/input.1.txt
@@ -0,0 +1,110 @@
+2
+5
+0 0
+10 0
+20 0
+30 0
+30 10
+4
+1 2
+2 3
+3 4
+4 5
+2
+1 2 4
+3 2 2
+5
+-10 0
+0 0
+0 -10
+0 -20
+0 -30
+4
+1 2
+2 3
+3 4
+4 5
+1
+4 1 3
+1 1
+2 1
+4
+3
+4 3
+0 0
+5 0
+2
+1 2
+2 3
+0
+3
+0 0
+3 4
+0 5
+2
+1 2
+1 3
+1
+2 3 4
+4
+0 13
+0 0
+13 0
+13 13
+4
+1 2
+1 4
+2 3
+2 4
+0
+4
+5 12
+0 0
+-7 17
+-12 5
+4
+1 2
+2 3
+2 4
+4 3
+0
+1 1
+4 1
+4
+3
+0 0
+2 0
+0 4
+2
+1 2
+1 3
+0
+3
+0 0
+-2 0
+0 4
+2
+1 2
+1 3
+1
+1 4 1
+3
+0 0
+1 0
+0 2
+2
+1 2
+1 3
+1
+1 4 1
+3
+0 0
+2 0
+0 4
+2
+1 2
+2 3
+0
+1 1
+4 1
+0
diff --git a/public_test_cases/p01446/output.0.txt b/public_test_cases/p01446/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d621f3509ce5eccfd8446006c6fac44469e12ca
--- /dev/null
+++ b/public_test_cases/p01446/output.0.txt
@@ -0,0 +1,3 @@
+10.0000000000
+41.3847763109
+-1.000000000
diff --git a/public_test_cases/p01446/output.1.txt b/public_test_cases/p01446/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d621f3509ce5eccfd8446006c6fac44469e12ca
--- /dev/null
+++ b/public_test_cases/p01446/output.1.txt
@@ -0,0 +1,3 @@
+10.0000000000
+41.3847763109
+-1.000000000
diff --git a/public_test_cases/p01447/input.0.txt b/public_test_cases/p01447/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01447/input.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01447/input.1.txt b/public_test_cases/p01447/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p01447/input.1.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p01447/input.2.txt b/public_test_cases/p01447/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01447/input.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01447/input.3.txt b/public_test_cases/p01447/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04b2646e30b0383d7bab169b05c1edc80feed7b0
--- /dev/null
+++ b/public_test_cases/p01447/input.3.txt
@@ -0,0 +1 @@
+2000000000
diff --git a/public_test_cases/p01447/output.0.txt b/public_test_cases/p01447/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01447/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01447/output.1.txt b/public_test_cases/p01447/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01447/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01447/output.2.txt b/public_test_cases/p01447/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01447/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01447/output.3.txt b/public_test_cases/p01447/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p01447/output.3.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p01448/input.0.txt b/public_test_cases/p01448/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29ab1b3022c1f55398c7131f01375168b1a27446
--- /dev/null
+++ b/public_test_cases/p01448/input.0.txt
@@ -0,0 +1,5 @@
+4
+2 5
+4 7
+2 4
+3 6
diff --git a/public_test_cases/p01448/input.1.txt b/public_test_cases/p01448/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e165c53a06bd4c1633b0a761bd5061f7e6095ab0
--- /dev/null
+++ b/public_test_cases/p01448/input.1.txt
@@ -0,0 +1,6 @@
+5
+8 100001
+7 100001
+12 100001
+8 100001
+3 100001
diff --git a/public_test_cases/p01448/input.2.txt b/public_test_cases/p01448/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29ab1b3022c1f55398c7131f01375168b1a27446
--- /dev/null
+++ b/public_test_cases/p01448/input.2.txt
@@ -0,0 +1,5 @@
+4
+2 5
+4 7
+2 4
+3 6
diff --git a/public_test_cases/p01448/input.3.txt b/public_test_cases/p01448/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afaf2af13c890ed9f29420f68e66052d2824b6f9
--- /dev/null
+++ b/public_test_cases/p01448/input.3.txt
@@ -0,0 +1,7 @@
+6
+2 9
+4 8
+6 7
+6 6
+5 7
+2 100001
diff --git a/public_test_cases/p01448/output.0.txt b/public_test_cases/p01448/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01448/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01448/output.1.txt b/public_test_cases/p01448/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01448/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01448/output.2.txt b/public_test_cases/p01448/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01448/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01448/output.3.txt b/public_test_cases/p01448/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01448/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01449/input.0.txt b/public_test_cases/p01449/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0a6defa1b7bd2677756e9d2991e0e67de464771
--- /dev/null
+++ b/public_test_cases/p01449/input.0.txt
@@ -0,0 +1,12 @@
+11
+0
+0
+-2
+0
+-4
+1
+-1
+2
+0
+0
+0
diff --git a/public_test_cases/p01449/input.1.txt b/public_test_cases/p01449/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0a6defa1b7bd2677756e9d2991e0e67de464771
--- /dev/null
+++ b/public_test_cases/p01449/input.1.txt
@@ -0,0 +1,12 @@
+11
+0
+0
+-2
+0
+-4
+1
+-1
+2
+0
+0
+0
diff --git a/public_test_cases/p01449/input.2.txt b/public_test_cases/p01449/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9627f87ed0361c5efa60094138ebfa739eac3ef3
--- /dev/null
+++ b/public_test_cases/p01449/input.2.txt
@@ -0,0 +1,13 @@
+12
+0
+0
+7
+0
+2
+0
+0
+3
+-6
+-2
+1
+0
diff --git a/public_test_cases/p01449/input.3.txt b/public_test_cases/p01449/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..daf86eb9ef6eaf04e16438aa40b4e2377d82f12b
--- /dev/null
+++ b/public_test_cases/p01449/input.3.txt
@@ -0,0 +1,9 @@
+8
+0
+4
+-1
+1
+-2
+-2
+0
+0
diff --git a/public_test_cases/p01449/output.0.txt b/public_test_cases/p01449/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01449/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01449/output.1.txt b/public_test_cases/p01449/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01449/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01449/output.2.txt b/public_test_cases/p01449/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01449/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01449/output.3.txt b/public_test_cases/p01449/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01449/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01450/input.0.txt b/public_test_cases/p01450/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21b0e22b3c35fe8d63c3ee9dfa61475df4f840f6
--- /dev/null
+++ b/public_test_cases/p01450/input.0.txt
@@ -0,0 +1,5 @@
+4 8
+1
+2
+7
+9
diff --git a/public_test_cases/p01450/input.1.txt b/public_test_cases/p01450/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..087421ee95256ee0ee932c7a0dfe61e58baf4067
--- /dev/null
+++ b/public_test_cases/p01450/input.1.txt
@@ -0,0 +1,7 @@
+6 37
+5
+9
+13
+18
+26
+33
diff --git a/public_test_cases/p01450/input.2.txt b/public_test_cases/p01450/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..beac3b0350ca379f77b2b71e8cec0b8e4f92687a
--- /dev/null
+++ b/public_test_cases/p01450/input.2.txt
@@ -0,0 +1,5 @@
+4 25
+20
+15
+20
+15
diff --git a/public_test_cases/p01450/input.3.txt b/public_test_cases/p01450/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21b0e22b3c35fe8d63c3ee9dfa61475df4f840f6
--- /dev/null
+++ b/public_test_cases/p01450/input.3.txt
@@ -0,0 +1,5 @@
+4 8
+1
+2
+7
+9
diff --git a/public_test_cases/p01450/output.0.txt b/public_test_cases/p01450/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01450/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01450/output.1.txt b/public_test_cases/p01450/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01450/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01450/output.2.txt b/public_test_cases/p01450/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01450/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01450/output.3.txt b/public_test_cases/p01450/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01450/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01451/input.0.txt b/public_test_cases/p01451/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f962bd7fde7852c29d5fc8a75eea729580a0c454
--- /dev/null
+++ b/public_test_cases/p01451/input.0.txt
@@ -0,0 +1,5 @@
+2 2
+0 0
+1 1
+2 0
+2 -1
diff --git a/public_test_cases/p01451/input.1.txt b/public_test_cases/p01451/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c49be354a3bb1240408e7d28c5b8a502998341c
--- /dev/null
+++ b/public_test_cases/p01451/input.1.txt
@@ -0,0 +1,6 @@
+2 3
+4 0
+0 0
+2 3
+2 -2
+3 1
diff --git a/public_test_cases/p01451/input.2.txt b/public_test_cases/p01451/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f962bd7fde7852c29d5fc8a75eea729580a0c454
--- /dev/null
+++ b/public_test_cases/p01451/input.2.txt
@@ -0,0 +1,5 @@
+2 2
+0 0
+1 1
+2 0
+2 -1
diff --git a/public_test_cases/p01451/input.3.txt b/public_test_cases/p01451/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..083e71f06aa4ba46af182945d62467589ad20d2c
--- /dev/null
+++ b/public_test_cases/p01451/input.3.txt
@@ -0,0 +1,8 @@
+5 2
+-2 1
+1 2
+-1 3
+-1 5
+1 4
+0 4
+0 0
diff --git a/public_test_cases/p01451/output.0.txt b/public_test_cases/p01451/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e05ff84f68212a888fbe9661dcac0f7aca498365
--- /dev/null
+++ b/public_test_cases/p01451/output.0.txt
@@ -0,0 +1 @@
+2.414213562373
diff --git a/public_test_cases/p01451/output.1.txt b/public_test_cases/p01451/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01451/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01451/output.2.txt b/public_test_cases/p01451/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e05ff84f68212a888fbe9661dcac0f7aca498365
--- /dev/null
+++ b/public_test_cases/p01451/output.2.txt
@@ -0,0 +1 @@
+2.414213562373
diff --git a/public_test_cases/p01451/output.3.txt b/public_test_cases/p01451/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5dbe491838e6dd5f72eee7b9e286c1ebbfd700a8
--- /dev/null
+++ b/public_test_cases/p01451/output.3.txt
@@ -0,0 +1 @@
+12.359173603117
diff --git a/public_test_cases/p01452/input.0.txt b/public_test_cases/p01452/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3249ef73fc1bab6d88800daa9ded7b31f6001310
--- /dev/null
+++ b/public_test_cases/p01452/input.0.txt
@@ -0,0 +1 @@
+6 4 0
diff --git a/public_test_cases/p01452/input.1.txt b/public_test_cases/p01452/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3249ef73fc1bab6d88800daa9ded7b31f6001310
--- /dev/null
+++ b/public_test_cases/p01452/input.1.txt
@@ -0,0 +1 @@
+6 4 0
diff --git a/public_test_cases/p01452/input.2.txt b/public_test_cases/p01452/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4bfbd71f51f7e06235ec9dc7d620f404bcf15b9
--- /dev/null
+++ b/public_test_cases/p01452/input.2.txt
@@ -0,0 +1 @@
+124 218 367
diff --git a/public_test_cases/p01452/input.3.txt b/public_test_cases/p01452/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1674dab122422fc07619df25d2934abc4b8cbd89
--- /dev/null
+++ b/public_test_cases/p01452/input.3.txt
@@ -0,0 +1 @@
+3 3 1
diff --git a/public_test_cases/p01452/output.0.txt b/public_test_cases/p01452/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd7da05e3d264bd30a49a5f2c4c647a4ee0d3ec3
--- /dev/null
+++ b/public_test_cases/p01452/output.0.txt
@@ -0,0 +1 @@
+210
diff --git a/public_test_cases/p01452/output.1.txt b/public_test_cases/p01452/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd7da05e3d264bd30a49a5f2c4c647a4ee0d3ec3
--- /dev/null
+++ b/public_test_cases/p01452/output.1.txt
@@ -0,0 +1 @@
+210
diff --git a/public_test_cases/p01452/output.2.txt b/public_test_cases/p01452/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..926d12b77a26af832d15c7ccc755b2c5caaa4b84
--- /dev/null
+++ b/public_test_cases/p01452/output.2.txt
@@ -0,0 +1 @@
+817857665
diff --git a/public_test_cases/p01452/output.3.txt b/public_test_cases/p01452/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5379c470da317d0e62ea78acdded4eb1f48cd7aa
--- /dev/null
+++ b/public_test_cases/p01452/output.3.txt
@@ -0,0 +1 @@
+448
diff --git a/public_test_cases/p01453/input.0.txt b/public_test_cases/p01453/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c99993a2bd5781d8cf80dc662d0a825c570d08fb
--- /dev/null
+++ b/public_test_cases/p01453/input.0.txt
@@ -0,0 +1,7 @@
+8 6
+########
+#..##g.#
+#*#.*#.#
+#......#
+#*s#*.*#
+########
diff --git a/public_test_cases/p01453/input.1.txt b/public_test_cases/p01453/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c99993a2bd5781d8cf80dc662d0a825c570d08fb
--- /dev/null
+++ b/public_test_cases/p01453/input.1.txt
@@ -0,0 +1,7 @@
+8 6
+########
+#..##g.#
+#*#.*#.#
+#......#
+#*s#*.*#
+########
diff --git a/public_test_cases/p01453/input.2.txt b/public_test_cases/p01453/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26bb970299c59217755cd3f1ba6496efa3d6dacf
--- /dev/null
+++ b/public_test_cases/p01453/input.2.txt
@@ -0,0 +1,6 @@
+8 6
+
+..##g.#
+*#.*#.#
+......#
+*s#*.*#
diff --git a/public_test_cases/p01453/input.3.txt b/public_test_cases/p01453/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..635c13aa22e286cf76cb8381bcd40a445471f345
--- /dev/null
+++ b/public_test_cases/p01453/input.3.txt
@@ -0,0 +1,11 @@
+21 11
+
+*#*.*.*.*.*.*.*.*#*#
+*#...............#*#
+*#.#.#.#.#.#.#.#.#*#
+.#.#.#.#.#.#.#.#.##
+...................#
+.#.#.#.#.#.#.#.#.##
+s#.#.#.#.#.#.#.#.#g#
+...................#
+...................#
diff --git a/public_test_cases/p01453/input.4.txt b/public_test_cases/p01453/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb544f744b3040f5ea9bfe5c0f6e7317b84d5b4c
--- /dev/null
+++ b/public_test_cases/p01453/input.4.txt
@@ -0,0 +1,8 @@
+9 8
+
+...#*.*#
+.*.#...#
+...#*.*#
+
+.s....g#
+.*#.*..#
diff --git a/public_test_cases/p01453/output.0.txt b/public_test_cases/p01453/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10cb0e376588b4e059fcfb811929923e62b092dd
--- /dev/null
+++ b/public_test_cases/p01453/output.0.txt
@@ -0,0 +1 @@
+5.857142857143
diff --git a/public_test_cases/p01453/output.1.txt b/public_test_cases/p01453/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10cb0e376588b4e059fcfb811929923e62b092dd
--- /dev/null
+++ b/public_test_cases/p01453/output.1.txt
@@ -0,0 +1 @@
+5.857142857143
diff --git a/public_test_cases/p01453/output.2.txt b/public_test_cases/p01453/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10cb0e376588b4e059fcfb811929923e62b092dd
--- /dev/null
+++ b/public_test_cases/p01453/output.2.txt
@@ -0,0 +1 @@
+5.857142857143
diff --git a/public_test_cases/p01453/output.3.txt b/public_test_cases/p01453/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bd630466260f0fc38d3a1f0590de16cdd23f843
--- /dev/null
+++ b/public_test_cases/p01453/output.3.txt
@@ -0,0 +1 @@
+20.000000000000
diff --git a/public_test_cases/p01453/output.4.txt b/public_test_cases/p01453/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..524a22b44e14110cd1ca1275d0e9b44059fe6cb8
--- /dev/null
+++ b/public_test_cases/p01453/output.4.txt
@@ -0,0 +1 @@
+5.000000000000
diff --git a/public_test_cases/p01454/input.0.txt b/public_test_cases/p01454/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97ee703ebd89a4e0a14a817ccd92ad82fc9f8c4a
--- /dev/null
+++ b/public_test_cases/p01454/input.0.txt
@@ -0,0 +1,8 @@
+4 3 12
+3 6
+2 4
+7 9
+10 1
+6 5
+8 4
+15 19
diff --git a/public_test_cases/p01454/input.1.txt b/public_test_cases/p01454/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c70446a6202ca16b9e48dfa0123b88b78f967fb8
--- /dev/null
+++ b/public_test_cases/p01454/input.1.txt
@@ -0,0 +1,15 @@
+8 6 65
+30 98
+27 51
+4 74
+65 87
+49 19
+27 48
+43 7
+35 28
+43 69
+8 47
+64 75
+18 23
+54 29
+40 43
diff --git a/public_test_cases/p01454/input.2.txt b/public_test_cases/p01454/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95ff8985f965df12818fbe493161a10a656bf7a7
--- /dev/null
+++ b/public_test_cases/p01454/input.2.txt
@@ -0,0 +1,5 @@
+1 3 10
+1 15
+6 8
+5 9
+8 7
diff --git a/public_test_cases/p01454/input.3.txt b/public_test_cases/p01454/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97ee703ebd89a4e0a14a817ccd92ad82fc9f8c4a
--- /dev/null
+++ b/public_test_cases/p01454/input.3.txt
@@ -0,0 +1,8 @@
+4 3 12
+3 6
+2 4
+7 9
+10 1
+6 5
+8 4
+15 19
diff --git a/public_test_cases/p01454/output.0.txt b/public_test_cases/p01454/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01454/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01454/output.1.txt b/public_test_cases/p01454/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01454/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01454/output.2.txt b/public_test_cases/p01454/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01454/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01454/output.3.txt b/public_test_cases/p01454/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01454/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01455/input.0.txt b/public_test_cases/p01455/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59d5c380a0f40fd0423effb351cbab820c407995
--- /dev/null
+++ b/public_test_cases/p01455/input.0.txt
@@ -0,0 +1,8 @@
+4 3
+huda
+leide
+loar
+sheza
+huda leide
+leide loar
+loar sheza
diff --git a/public_test_cases/p01455/input.1.txt b/public_test_cases/p01455/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8608f59db853bd050e7af79ad688b0e221d3429b
--- /dev/null
+++ b/public_test_cases/p01455/input.1.txt
@@ -0,0 +1,20 @@
+9 10
+riris
+soa
+elah
+clar
+arma
+memori
+neoles
+qhaon
+clue
+clar riris
+riris memori
+riris neoles
+soa clar
+soa memori
+neoles elah
+elah qhaon
+neoles qhaon
+clue riris
+arma elah
diff --git a/public_test_cases/p01455/input.2.txt b/public_test_cases/p01455/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d36dca56872a05cd796fc72fc8119900fe374481
--- /dev/null
+++ b/public_test_cases/p01455/input.2.txt
@@ -0,0 +1,7 @@
+3 3
+torn
+siole
+dimi
+torn siole
+torn dimi
+siole dimi
diff --git a/public_test_cases/p01455/input.3.txt b/public_test_cases/p01455/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59d5c380a0f40fd0423effb351cbab820c407995
--- /dev/null
+++ b/public_test_cases/p01455/input.3.txt
@@ -0,0 +1,8 @@
+4 3
+huda
+leide
+loar
+sheza
+huda leide
+leide loar
+loar sheza
diff --git a/public_test_cases/p01455/output.0.txt b/public_test_cases/p01455/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01455/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01455/output.1.txt b/public_test_cases/p01455/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1e7bc86996a80d4a16529b990adda1d3434c92
--- /dev/null
+++ b/public_test_cases/p01455/output.1.txt
@@ -0,0 +1 @@
+54
diff --git a/public_test_cases/p01455/output.2.txt b/public_test_cases/p01455/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01455/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01455/output.3.txt b/public_test_cases/p01455/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01455/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01456/input.0.txt b/public_test_cases/p01456/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86a492254601383b0487ec65ae9f013cc7205f76
--- /dev/null
+++ b/public_test_cases/p01456/input.0.txt
@@ -0,0 +1,12 @@
+6 5
+7
+14
+5
+11
+2
+5
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p01456/input.1.txt b/public_test_cases/p01456/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e85d1048ab8c52e961f14ba4d1f2ec559b628f2
--- /dev/null
+++ b/public_test_cases/p01456/input.1.txt
@@ -0,0 +1,16 @@
+8 7
+6
+1
+7
+2
+5
+2
+6
+3
+1 3
+6 3
+7 4
+4 2
+1 6
+5 4
+7 5
diff --git a/public_test_cases/p01456/input.2.txt b/public_test_cases/p01456/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1436a883d5f0384bc6495e57430dd7fba3327b0
--- /dev/null
+++ b/public_test_cases/p01456/input.2.txt
@@ -0,0 +1,13 @@
+5 7
+295
+127
+350
+982
+426
+1 5
+3 5
+4 2
+3 1
+3 4
+5 4
+3 2
diff --git a/public_test_cases/p01456/input.3.txt b/public_test_cases/p01456/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86a492254601383b0487ec65ae9f013cc7205f76
--- /dev/null
+++ b/public_test_cases/p01456/input.3.txt
@@ -0,0 +1,12 @@
+6 5
+7
+14
+5
+11
+2
+5
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p01456/output.0.txt b/public_test_cases/p01456/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01456/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01456/output.1.txt b/public_test_cases/p01456/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01456/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01456/output.2.txt b/public_test_cases/p01456/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01456/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01456/output.3.txt b/public_test_cases/p01456/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01456/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01457/input.0.txt b/public_test_cases/p01457/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bdda566485ba2788e4c7c4a0079efa3992bc177
--- /dev/null
+++ b/public_test_cases/p01457/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 ( 10
+10 ) 5
+10 ) 5
diff --git a/public_test_cases/p01457/input.1.txt b/public_test_cases/p01457/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a5054123ced5bb33075485cbce20c8bc2c9e0c5
--- /dev/null
+++ b/public_test_cases/p01457/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 ( 10
+10 ) 20
+0 ( 10
diff --git a/public_test_cases/p01457/input.2.txt b/public_test_cases/p01457/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bdda566485ba2788e4c7c4a0079efa3992bc177
--- /dev/null
+++ b/public_test_cases/p01457/input.2.txt
@@ -0,0 +1,4 @@
+3
+0 ( 10
+10 ) 5
+10 ) 5
diff --git a/public_test_cases/p01457/input.3.txt b/public_test_cases/p01457/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac7edb819b25326bd1090b46bf48f4b33a3f9580
--- /dev/null
+++ b/public_test_cases/p01457/input.3.txt
@@ -0,0 +1,4 @@
+3
+0 ) 10
+10 ( 5
+10 ( 5
diff --git a/public_test_cases/p01457/output.0.txt b/public_test_cases/p01457/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464d18dabd8db5efc162bbdc98b6fbe51d6d78dc
--- /dev/null
+++ b/public_test_cases/p01457/output.0.txt
@@ -0,0 +1,3 @@
+No
+No
+Yes
diff --git a/public_test_cases/p01457/output.1.txt b/public_test_cases/p01457/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464d18dabd8db5efc162bbdc98b6fbe51d6d78dc
--- /dev/null
+++ b/public_test_cases/p01457/output.1.txt
@@ -0,0 +1,3 @@
+No
+No
+Yes
diff --git a/public_test_cases/p01457/output.2.txt b/public_test_cases/p01457/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464d18dabd8db5efc162bbdc98b6fbe51d6d78dc
--- /dev/null
+++ b/public_test_cases/p01457/output.2.txt
@@ -0,0 +1,3 @@
+No
+No
+Yes
diff --git a/public_test_cases/p01457/output.3.txt b/public_test_cases/p01457/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464d18dabd8db5efc162bbdc98b6fbe51d6d78dc
--- /dev/null
+++ b/public_test_cases/p01457/output.3.txt
@@ -0,0 +1,3 @@
+No
+No
+Yes
diff --git a/public_test_cases/p01458/input.0.txt b/public_test_cases/p01458/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f4cdbff6dc24cedaa89dfd1da1c88310de50f83
--- /dev/null
+++ b/public_test_cases/p01458/input.0.txt
@@ -0,0 +1,3 @@
+2 10 2
+hello
+world
diff --git a/public_test_cases/p01458/input.1.txt b/public_test_cases/p01458/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9b0c3d25f2b2d3aff5af6b0fcae43fc7e26031c
--- /dev/null
+++ b/public_test_cases/p01458/input.1.txt
@@ -0,0 +1,4 @@
+3 3 6
+a
+aa
+b
diff --git a/public_test_cases/p01458/input.2.txt b/public_test_cases/p01458/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f4cdbff6dc24cedaa89dfd1da1c88310de50f83
--- /dev/null
+++ b/public_test_cases/p01458/input.2.txt
@@ -0,0 +1,3 @@
+2 10 2
+hello
+world
diff --git a/public_test_cases/p01458/input.3.txt b/public_test_cases/p01458/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4cb8b2e2e8d1201c55dd777b20fdb2eec6d02e5f
--- /dev/null
+++ b/public_test_cases/p01458/input.3.txt
@@ -0,0 +1,3 @@
+2 59 1000000000000000000
+a
+b
diff --git a/public_test_cases/p01458/output.0.txt b/public_test_cases/p01458/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31e0fce560e96c8b357f5b8630c7d8fbeb0a3ec8
--- /dev/null
+++ b/public_test_cases/p01458/output.0.txt
@@ -0,0 +1 @@
+helloworld
diff --git a/public_test_cases/p01458/output.1.txt b/public_test_cases/p01458/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9265f8251cfab3529825e5c708c15c55801bed5
--- /dev/null
+++ b/public_test_cases/p01458/output.1.txt
@@ -0,0 +1 @@
+aba
diff --git a/public_test_cases/p01458/output.2.txt b/public_test_cases/p01458/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31e0fce560e96c8b357f5b8630c7d8fbeb0a3ec8
--- /dev/null
+++ b/public_test_cases/p01458/output.2.txt
@@ -0,0 +1 @@
+helloworld
diff --git a/public_test_cases/p01458/output.3.txt b/public_test_cases/p01458/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39cdd0ded6df763f8ef1209d48a407a427a5edb7
--- /dev/null
+++ b/public_test_cases/p01458/output.3.txt
@@ -0,0 +1 @@
+-
diff --git a/public_test_cases/p01459/input.0.txt b/public_test_cases/p01459/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90bcb30c04fa50c5975288522b31d762cbd874b6
--- /dev/null
+++ b/public_test_cases/p01459/input.0.txt
@@ -0,0 +1,4 @@
+3 3 2
+S#.
+...
+.#G
diff --git a/public_test_cases/p01459/input.1.txt b/public_test_cases/p01459/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ee9cfff0d9984b4dcf49ea49f5d4a1ad8c329db
--- /dev/null
+++ b/public_test_cases/p01459/input.1.txt
@@ -0,0 +1,4 @@
+3 3 1
+S#.
+...
+.#G
diff --git a/public_test_cases/p01459/input.2.txt b/public_test_cases/p01459/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..def15fabe2c8fc7db8fbd6b3289e25df9bb5e2e1
--- /dev/null
+++ b/public_test_cases/p01459/input.2.txt
@@ -0,0 +1,4 @@
+3 3 1
+S#G
+...
+.#.
diff --git a/public_test_cases/p01459/input.3.txt b/public_test_cases/p01459/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90bcb30c04fa50c5975288522b31d762cbd874b6
--- /dev/null
+++ b/public_test_cases/p01459/input.3.txt
@@ -0,0 +1,4 @@
+3 3 2
+S#.
+...
+.#G
diff --git a/public_test_cases/p01459/input.4.txt b/public_test_cases/p01459/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..303d759f9156f7b1298a43b7d894d1c592615d04
--- /dev/null
+++ b/public_test_cases/p01459/input.4.txt
@@ -0,0 +1,5 @@
+4 3 2
+S..
+...
+..#
+.#G
diff --git a/public_test_cases/p01459/output.0.txt b/public_test_cases/p01459/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01459/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01459/output.1.txt b/public_test_cases/p01459/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01459/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01459/output.2.txt b/public_test_cases/p01459/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01459/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01459/output.3.txt b/public_test_cases/p01459/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01459/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01459/output.4.txt b/public_test_cases/p01459/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01459/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01460/input.0.txt b/public_test_cases/p01460/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fb8c304af3ea99a528174214c75db4b595e4481
--- /dev/null
+++ b/public_test_cases/p01460/input.0.txt
@@ -0,0 +1,2 @@
+2 1 3 6 12 1 2 1 2
+WR 1 1 1
diff --git a/public_test_cases/p01460/input.1.txt b/public_test_cases/p01460/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c049ae2871c78f40127032c8b1826f18233b711a
--- /dev/null
+++ b/public_test_cases/p01460/input.1.txt
@@ -0,0 +1,2 @@
+2 1 3 6 12 1 2 1 2
+RL
diff --git a/public_test_cases/p01460/input.2.txt b/public_test_cases/p01460/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5ce5fa26296037484908396bb7758af878e2dc4
--- /dev/null
+++ b/public_test_cases/p01460/input.2.txt
@@ -0,0 +1,2 @@
+2 1 3 6 12 1 2 1 2
+RH
diff --git a/public_test_cases/p01460/input.3.txt b/public_test_cases/p01460/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8acf7f293ebdc8c5656f73ac8ec931f7f854b0bc
--- /dev/null
+++ b/public_test_cases/p01460/input.3.txt
@@ -0,0 +1,7 @@
+39989 6 999983 999979 999961 1 1000 1 1000
+SR 1 39989
+SC 1 39989
+RL
+RH
+RR
+RV
diff --git a/public_test_cases/p01460/input.4.txt b/public_test_cases/p01460/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fb8c304af3ea99a528174214c75db4b595e4481
--- /dev/null
+++ b/public_test_cases/p01460/input.4.txt
@@ -0,0 +1,2 @@
+2 1 3 6 12 1 2 1 2
+WR 1 1 1
diff --git a/public_test_cases/p01460/output.0.txt b/public_test_cases/p01460/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77ee16e960f84c638494db16b482c23c76fa0740
--- /dev/null
+++ b/public_test_cases/p01460/output.0.txt
@@ -0,0 +1 @@
+676573821
diff --git a/public_test_cases/p01460/output.1.txt b/public_test_cases/p01460/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f5755c2a809750dea2b43ede051840503a4ce1d
--- /dev/null
+++ b/public_test_cases/p01460/output.1.txt
@@ -0,0 +1 @@
+676636559
diff --git a/public_test_cases/p01460/output.2.txt b/public_test_cases/p01460/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30edd44c3e2ce075f7c8dc25fda66ae644d4a81f
--- /dev/null
+++ b/public_test_cases/p01460/output.2.txt
@@ -0,0 +1 @@
+676547189
diff --git a/public_test_cases/p01460/output.3.txt b/public_test_cases/p01460/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..746c48944295f44a2f0139ac559299a7654aaed7
--- /dev/null
+++ b/public_test_cases/p01460/output.3.txt
@@ -0,0 +1 @@
+458797120
diff --git a/public_test_cases/p01460/output.4.txt b/public_test_cases/p01460/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77ee16e960f84c638494db16b482c23c76fa0740
--- /dev/null
+++ b/public_test_cases/p01460/output.4.txt
@@ -0,0 +1 @@
+676573821
diff --git a/public_test_cases/p01461/input.0.txt b/public_test_cases/p01461/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0be75d3147aa0f1aaa598f611c2613c64400432d
--- /dev/null
+++ b/public_test_cases/p01461/input.0.txt
@@ -0,0 +1,4 @@
+4
+2 3
+4 4
+4 4
diff --git a/public_test_cases/p01461/input.1.txt b/public_test_cases/p01461/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..847c1edd0e42b03a02d04005453819a4507de829
--- /dev/null
+++ b/public_test_cases/p01461/input.1.txt
@@ -0,0 +1,5 @@
+5
+5 2
+3 5
+5 4
+5 5
diff --git a/public_test_cases/p01461/input.2.txt b/public_test_cases/p01461/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0be75d3147aa0f1aaa598f611c2613c64400432d
--- /dev/null
+++ b/public_test_cases/p01461/input.2.txt
@@ -0,0 +1,4 @@
+4
+2 3
+4 4
+4 4
diff --git a/public_test_cases/p01461/output.0.txt b/public_test_cases/p01461/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01461/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01461/output.1.txt b/public_test_cases/p01461/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01461/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01461/output.2.txt b/public_test_cases/p01461/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01461/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01462/input.0.txt b/public_test_cases/p01462/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d25b8badfb92ca8fc06cfdfd706273b30fe4e1a6
--- /dev/null
+++ b/public_test_cases/p01462/input.0.txt
@@ -0,0 +1,4 @@
+3 3 50
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01462/input.1.txt b/public_test_cases/p01462/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..817c5e39567be4a5c25fb3fc1ec3e7f0093a78f8
--- /dev/null
+++ b/public_test_cases/p01462/input.1.txt
@@ -0,0 +1,4 @@
+3 3 10
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01462/input.2.txt b/public_test_cases/p01462/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cc10ea49ea976969d0e7a5f082f7ee669dfbc69
--- /dev/null
+++ b/public_test_cases/p01462/input.2.txt
@@ -0,0 +1,6 @@
+4 5 50
+1 2
+2 3
+3 4
+4 1
+1 3
diff --git a/public_test_cases/p01462/input.3.txt b/public_test_cases/p01462/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d25b8badfb92ca8fc06cfdfd706273b30fe4e1a6
--- /dev/null
+++ b/public_test_cases/p01462/input.3.txt
@@ -0,0 +1,4 @@
+3 3 50
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01462/output.0.txt b/public_test_cases/p01462/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ebd5c87b2e73360d7a176e595e520f4107af874
--- /dev/null
+++ b/public_test_cases/p01462/output.0.txt
@@ -0,0 +1 @@
+0.500000000000
diff --git a/public_test_cases/p01462/output.1.txt b/public_test_cases/p01462/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43e221125001a0a996d09c65b4ec46479418303a
--- /dev/null
+++ b/public_test_cases/p01462/output.1.txt
@@ -0,0 +1 @@
+0.972000000000
diff --git a/public_test_cases/p01462/output.2.txt b/public_test_cases/p01462/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..530d0c96ddcaf9acb1ef27b8ee1886f1c90d30e4
--- /dev/null
+++ b/public_test_cases/p01462/output.2.txt
@@ -0,0 +1 @@
+0.437500000000
diff --git a/public_test_cases/p01462/output.3.txt b/public_test_cases/p01462/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ebd5c87b2e73360d7a176e595e520f4107af874
--- /dev/null
+++ b/public_test_cases/p01462/output.3.txt
@@ -0,0 +1 @@
+0.500000000000
diff --git a/public_test_cases/p01463/input.0.txt b/public_test_cases/p01463/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5fa956cfcf39c25b87b4e994149b4709d57d3b5
--- /dev/null
+++ b/public_test_cases/p01463/input.0.txt
@@ -0,0 +1,5 @@
+2
+0 0
+15 0
+5 0 1
+10 10 2
diff --git a/public_test_cases/p01463/input.1.txt b/public_test_cases/p01463/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5fa956cfcf39c25b87b4e994149b4709d57d3b5
--- /dev/null
+++ b/public_test_cases/p01463/input.1.txt
@@ -0,0 +1,5 @@
+2
+0 0
+15 0
+5 0 1
+10 10 2
diff --git a/public_test_cases/p01463/input.2.txt b/public_test_cases/p01463/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c137e95a7bb89b51019e8864cfc80c099a5415b5
--- /dev/null
+++ b/public_test_cases/p01463/input.2.txt
@@ -0,0 +1,5 @@
+2
+0 0
+10 0
+5 0 1
+9 0 3
diff --git a/public_test_cases/p01463/input.3.txt b/public_test_cases/p01463/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eee9c723414d3dbebbba598b115ca96532ed2b1c
--- /dev/null
+++ b/public_test_cases/p01463/input.3.txt
@@ -0,0 +1,6 @@
+3
+-10 0
+0 0
+0 10
+-1 0 1
+3 0 2
diff --git a/public_test_cases/p01463/output.0.txt b/public_test_cases/p01463/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..819e07a22435f1e8efcbdd1d1c062deef0e501b1
--- /dev/null
+++ b/public_test_cases/p01463/output.0.txt
@@ -0,0 +1 @@
+5.0
diff --git a/public_test_cases/p01463/output.1.txt b/public_test_cases/p01463/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..819e07a22435f1e8efcbdd1d1c062deef0e501b1
--- /dev/null
+++ b/public_test_cases/p01463/output.1.txt
@@ -0,0 +1 @@
+5.0
diff --git a/public_test_cases/p01463/output.2.txt b/public_test_cases/p01463/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd5ac039d67e0bdadb17976e4ac39f0ffe6bb6e4
--- /dev/null
+++ b/public_test_cases/p01463/output.2.txt
@@ -0,0 +1 @@
+2.0
diff --git a/public_test_cases/p01463/output.3.txt b/public_test_cases/p01463/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34d88b2e8c0c94da69a21eb143db68cb62159629
--- /dev/null
+++ b/public_test_cases/p01463/output.3.txt
@@ -0,0 +1 @@
+4.072027
diff --git a/public_test_cases/p01464/input.0.txt b/public_test_cases/p01464/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1204717e6e39b2ab86a540636a8793ecebb3654f
--- /dev/null
+++ b/public_test_cases/p01464/input.0.txt
@@ -0,0 +1,6 @@
+5 5
+1 2
+2 3
+3 4
+4 5
+1 3
diff --git a/public_test_cases/p01464/input.1.txt b/public_test_cases/p01464/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1204717e6e39b2ab86a540636a8793ecebb3654f
--- /dev/null
+++ b/public_test_cases/p01464/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+1 2
+2 3
+3 4
+4 5
+1 3
diff --git a/public_test_cases/p01464/input.2.txt b/public_test_cases/p01464/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a0e0f9c4948bc5ff9e0cf74ba0a8105ad799456
--- /dev/null
+++ b/public_test_cases/p01464/input.2.txt
@@ -0,0 +1,6 @@
+5 5
+1 2
+2 3
+3 4
+4 5
+1 4
diff --git a/public_test_cases/p01464/output.0.txt b/public_test_cases/p01464/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01464/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01464/output.1.txt b/public_test_cases/p01464/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01464/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01464/output.2.txt b/public_test_cases/p01464/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01464/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01465/input.0.txt b/public_test_cases/p01465/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fd957790793ccce4db85502d5cec762f1e2a121
--- /dev/null
+++ b/public_test_cases/p01465/input.0.txt
@@ -0,0 +1 @@
+(x1&x2)
diff --git a/public_test_cases/p01465/input.1.txt b/public_test_cases/p01465/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fd957790793ccce4db85502d5cec762f1e2a121
--- /dev/null
+++ b/public_test_cases/p01465/input.1.txt
@@ -0,0 +1 @@
+(x1&x2)
diff --git a/public_test_cases/p01465/input.2.txt b/public_test_cases/p01465/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fa0067d3a76a8700a9fbaf31c3d0d65a08f231f
--- /dev/null
+++ b/public_test_cases/p01465/input.2.txt
@@ -0,0 +1 @@
+(x1&x2)|(x3&x4)|(~(x5|x6)&(x7&x8))
diff --git a/public_test_cases/p01465/output.0.txt b/public_test_cases/p01465/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01465/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01465/output.1.txt b/public_test_cases/p01465/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01465/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01465/output.2.txt b/public_test_cases/p01465/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9289ddcee3446cde7bd64e816af423a090ea0226
--- /dev/null
+++ b/public_test_cases/p01465/output.2.txt
@@ -0,0 +1 @@
+121
diff --git a/public_test_cases/p01466/input.0.txt b/public_test_cases/p01466/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..564b5a96a75187ec248633b674d70d3824c14890
--- /dev/null
+++ b/public_test_cases/p01466/input.0.txt
@@ -0,0 +1,9 @@
+4 6
+1 1 1 1
+1 1 1 1
+1 1 2 1 1
+1 1 3 1 2
+1 1 4 1 1
+2 1 3 1 1
+2 1 4 1 2
+3 1 4 1 1
diff --git a/public_test_cases/p01466/input.1.txt b/public_test_cases/p01466/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93cc05e13ada82f418c409dd6c1f23fd2eefe9eb
--- /dev/null
+++ b/public_test_cases/p01466/input.1.txt
@@ -0,0 +1,19 @@
+2 16
+4 4
+2 2
+1 1 1 2 1
+1 1 1 3 2
+1 1 1 4 1
+1 2 1 3 1
+1 2 1 4 2
+1 3 1 4 1
+2 1 2 2 1
+2 1 2 3 2
+2 1 2 4 1
+2 2 2 3 1
+2 2 2 4 2
+2 3 2 4 1
+1 1 2 1 1
+1 1 2 2 2
+1 2 2 1 2
+1 2 2 2 1
diff --git a/public_test_cases/p01466/input.2.txt b/public_test_cases/p01466/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b59d92d305223697eae77848ecd7db0130b04d25
--- /dev/null
+++ b/public_test_cases/p01466/input.2.txt
@@ -0,0 +1,5 @@
+2 2
+2 1
+1 1
+1 1 1 2 1
+1 1 2 1 1
diff --git a/public_test_cases/p01466/input.3.txt b/public_test_cases/p01466/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..564b5a96a75187ec248633b674d70d3824c14890
--- /dev/null
+++ b/public_test_cases/p01466/input.3.txt
@@ -0,0 +1,9 @@
+4 6
+1 1 1 1
+1 1 1 1
+1 1 2 1 1
+1 1 3 1 2
+1 1 4 1 1
+2 1 3 1 1
+2 1 4 1 2
+3 1 4 1 1
diff --git a/public_test_cases/p01466/output.0.txt b/public_test_cases/p01466/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01466/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01466/output.1.txt b/public_test_cases/p01466/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01466/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01466/output.2.txt b/public_test_cases/p01466/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01466/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01466/output.3.txt b/public_test_cases/p01466/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01466/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01467/input.0.txt b/public_test_cases/p01467/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54e451ad068d587c6b4692120448376249557a6f
--- /dev/null
+++ b/public_test_cases/p01467/input.0.txt
@@ -0,0 +1 @@
+99 98 1
diff --git a/public_test_cases/p01467/input.1.txt b/public_test_cases/p01467/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6f065ca52355b1e64cff12b79b6c001c2b65fd0
--- /dev/null
+++ b/public_test_cases/p01467/input.1.txt
@@ -0,0 +1 @@
+538 84 1
diff --git a/public_test_cases/p01467/input.2.txt b/public_test_cases/p01467/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4260df8fed54ac0f5685a6271e94680cc6c0ae
--- /dev/null
+++ b/public_test_cases/p01467/input.2.txt
@@ -0,0 +1 @@
+2012 1987 1
diff --git a/public_test_cases/p01467/input.3.txt b/public_test_cases/p01467/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54e451ad068d587c6b4692120448376249557a6f
--- /dev/null
+++ b/public_test_cases/p01467/input.3.txt
@@ -0,0 +1 @@
+99 98 1
diff --git a/public_test_cases/p01467/input.4.txt b/public_test_cases/p01467/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37f1f2a8a901bf7ce59d6fb4fc8bfe784657d1a3
--- /dev/null
+++ b/public_test_cases/p01467/input.4.txt
@@ -0,0 +1 @@
+100 2 3
diff --git a/public_test_cases/p01467/output.0.txt b/public_test_cases/p01467/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01467/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01467/output.1.txt b/public_test_cases/p01467/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1f994ac98222c4c3a9c3d5458e5061aea54cce5
--- /dev/null
+++ b/public_test_cases/p01467/output.1.txt
@@ -0,0 +1 @@
+554
diff --git a/public_test_cases/p01467/output.2.txt b/public_test_cases/p01467/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bec4b5cd08949f80a44e721b14a31d39bfc7b7df
--- /dev/null
+++ b/public_test_cases/p01467/output.2.txt
@@ -0,0 +1 @@
+1025
diff --git a/public_test_cases/p01467/output.3.txt b/public_test_cases/p01467/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01467/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01467/output.4.txt b/public_test_cases/p01467/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca55a6c593be020340f95b3ada9f869955700e60
--- /dev/null
+++ b/public_test_cases/p01467/output.4.txt
@@ -0,0 +1 @@
+198
diff --git a/public_test_cases/p01468/input.0.txt b/public_test_cases/p01468/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..180b3b8c8c8d95a7d4c85b2526ba5de19ef94805
--- /dev/null
+++ b/public_test_cases/p01468/input.0.txt
@@ -0,0 +1,5 @@
+4
+2 0 2 25
+0 30 15 20
+16 20 5 15
+23 0 23 30
diff --git a/public_test_cases/p01468/input.1.txt b/public_test_cases/p01468/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e1743079908fddfe16da470935f86316ef60056
--- /dev/null
+++ b/public_test_cases/p01468/input.1.txt
@@ -0,0 +1,7 @@
+6
+5 5 5 45
+7 45 19 45
+7 30 19 30
+21 34 21 44
+26 45 36 28
+45 45 26 5
diff --git a/public_test_cases/p01468/input.2.txt b/public_test_cases/p01468/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..180b3b8c8c8d95a7d4c85b2526ba5de19ef94805
--- /dev/null
+++ b/public_test_cases/p01468/input.2.txt
@@ -0,0 +1,5 @@
+4
+2 0 2 25
+0 30 15 20
+16 20 5 15
+23 0 23 30
diff --git a/public_test_cases/p01468/input.3.txt b/public_test_cases/p01468/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e087a4510af2d379460c1aedcc6dc33e3bd17895
--- /dev/null
+++ b/public_test_cases/p01468/input.3.txt
@@ -0,0 +1,12 @@
+11
+10 10 10 90
+10 90 35 90
+10 60 35 60
+35 60 35 90
+40 10 40 90
+37 45 60 45
+60 10 60 45
+65 10 65 90
+65 90 90 90
+65 60 90 65
+90 60 90 90
diff --git a/public_test_cases/p01468/input.4.txt b/public_test_cases/p01468/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6332174369989286470315cf4d30c207610eefeb
--- /dev/null
+++ b/public_test_cases/p01468/input.4.txt
@@ -0,0 +1,7 @@
+6
+0 0 0 5
+1 3 3 5
+6 0 6 10
+7 4 10 4
+11 1 11 3
+7 0 10 0
diff --git a/public_test_cases/p01468/output.0.txt b/public_test_cases/p01468/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18dce6dc8462d7d124afff69a2f475dc8b68aa26
--- /dev/null
+++ b/public_test_cases/p01468/output.0.txt
@@ -0,0 +1 @@
+0.41380294
diff --git a/public_test_cases/p01468/output.1.txt b/public_test_cases/p01468/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4a74e9118f0fc0dd7f05717eb2414940e14801e
--- /dev/null
+++ b/public_test_cases/p01468/output.1.txt
@@ -0,0 +1 @@
+0.83553169
diff --git a/public_test_cases/p01468/output.2.txt b/public_test_cases/p01468/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18dce6dc8462d7d124afff69a2f475dc8b68aa26
--- /dev/null
+++ b/public_test_cases/p01468/output.2.txt
@@ -0,0 +1 @@
+0.41380294
diff --git a/public_test_cases/p01468/output.3.txt b/public_test_cases/p01468/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84f5e5cefe21999a6f810d40c1c626050ac26e6f
--- /dev/null
+++ b/public_test_cases/p01468/output.3.txt
@@ -0,0 +1 @@
+0.00000000
diff --git a/public_test_cases/p01468/output.4.txt b/public_test_cases/p01468/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0791a90d6a252124e045a06241ead70bf6c2855
--- /dev/null
+++ b/public_test_cases/p01468/output.4.txt
@@ -0,0 +1 @@
+1.00000000
diff --git a/public_test_cases/p01469/input.0.txt b/public_test_cases/p01469/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0beea95e717453c3acb7685446eb5ebaff8cbdcb
--- /dev/null
+++ b/public_test_cases/p01469/input.0.txt
@@ -0,0 +1,2 @@
+3
+25 125 5
diff --git a/public_test_cases/p01469/input.1.txt b/public_test_cases/p01469/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f57bcddee648facdcc70bb49e0fd89cc5b95e1e
--- /dev/null
+++ b/public_test_cases/p01469/input.1.txt
@@ -0,0 +1,2 @@
+3
+6 3 2
diff --git a/public_test_cases/p01469/input.2.txt b/public_test_cases/p01469/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c78f37d5b104dc2323d424eba0fb725c449d1a8c
--- /dev/null
+++ b/public_test_cases/p01469/input.2.txt
@@ -0,0 +1,2 @@
+10
+10 9 8 7 6 5 4 3 2 1
diff --git a/public_test_cases/p01469/input.3.txt b/public_test_cases/p01469/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0beea95e717453c3acb7685446eb5ebaff8cbdcb
--- /dev/null
+++ b/public_test_cases/p01469/input.3.txt
@@ -0,0 +1,2 @@
+3
+25 125 5
diff --git a/public_test_cases/p01469/output.0.txt b/public_test_cases/p01469/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01469/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01469/output.1.txt b/public_test_cases/p01469/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p01469/output.1.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p01469/output.2.txt b/public_test_cases/p01469/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aacb59525ae5e32096372e24707fe291c5a4dae4
--- /dev/null
+++ b/public_test_cases/p01469/output.2.txt
@@ -0,0 +1 @@
+1 2 3 4 5
diff --git a/public_test_cases/p01469/output.3.txt b/public_test_cases/p01469/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01469/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01470/input.0.txt b/public_test_cases/p01470/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8dd4603f5ae406a1ea4968a19f0741b754a1bb3
--- /dev/null
+++ b/public_test_cases/p01470/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 1
+4 2
+2 4
+3 4
diff --git a/public_test_cases/p01470/input.1.txt b/public_test_cases/p01470/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8dd4603f5ae406a1ea4968a19f0741b754a1bb3
--- /dev/null
+++ b/public_test_cases/p01470/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 1
+4 2
+2 4
+3 4
diff --git a/public_test_cases/p01470/output.0.txt b/public_test_cases/p01470/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad4d9c340c1491418f0d0b84ce1751712f397406
--- /dev/null
+++ b/public_test_cases/p01470/output.0.txt
@@ -0,0 +1 @@
+-14
diff --git a/public_test_cases/p01470/output.1.txt b/public_test_cases/p01470/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad4d9c340c1491418f0d0b84ce1751712f397406
--- /dev/null
+++ b/public_test_cases/p01470/output.1.txt
@@ -0,0 +1 @@
+-14
diff --git a/public_test_cases/p01471/input.0.txt b/public_test_cases/p01471/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f71a7b0841352dec6384113f07778abcc613c9b
--- /dev/null
+++ b/public_test_cases/p01471/input.0.txt
@@ -0,0 +1,2 @@
+1 1
+3 1
diff --git a/public_test_cases/p01471/input.1.txt b/public_test_cases/p01471/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f71a7b0841352dec6384113f07778abcc613c9b
--- /dev/null
+++ b/public_test_cases/p01471/input.1.txt
@@ -0,0 +1,2 @@
+1 1
+3 1
diff --git a/public_test_cases/p01471/input.2.txt b/public_test_cases/p01471/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ada4554c860eafbd1bc6da20a11fb60fd3f910d7
--- /dev/null
+++ b/public_test_cases/p01471/input.2.txt
@@ -0,0 +1,3 @@
+2 1
+-1 -3
+3 10
diff --git a/public_test_cases/p01471/input.3.txt b/public_test_cases/p01471/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50647895a4afb562236fcc206a05d7e1624fa030
--- /dev/null
+++ b/public_test_cases/p01471/input.3.txt
@@ -0,0 +1,3 @@
+2 3
+3 3
+1 2
diff --git a/public_test_cases/p01471/output.0.txt b/public_test_cases/p01471/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bbca1c98f8fdb4d556e05f72f9ebb8a6f4ded2b
--- /dev/null
+++ b/public_test_cases/p01471/output.0.txt
@@ -0,0 +1 @@
+0.333333
diff --git a/public_test_cases/p01471/output.1.txt b/public_test_cases/p01471/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bbca1c98f8fdb4d556e05f72f9ebb8a6f4ded2b
--- /dev/null
+++ b/public_test_cases/p01471/output.1.txt
@@ -0,0 +1 @@
+0.333333
diff --git a/public_test_cases/p01471/output.2.txt b/public_test_cases/p01471/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ef28ab59e5b22105dab1a96d62b036b5bc4ff6c
--- /dev/null
+++ b/public_test_cases/p01471/output.2.txt
@@ -0,0 +1 @@
+3.666667
diff --git a/public_test_cases/p01471/output.3.txt b/public_test_cases/p01471/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9406425c60fc6c56a6ddcfaec9467d926c62225b
--- /dev/null
+++ b/public_test_cases/p01471/output.3.txt
@@ -0,0 +1 @@
+4.000000
diff --git a/public_test_cases/p01472/input.0.txt b/public_test_cases/p01472/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d556dc0caed9e25a428b234b1cd539b83eb7379f
--- /dev/null
+++ b/public_test_cases/p01472/input.0.txt
@@ -0,0 +1,3 @@
+2 0
+1 3
+1 1
diff --git a/public_test_cases/p01472/input.1.txt b/public_test_cases/p01472/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef26b296eec1bf799dcd502d45af1cca9cff0925
--- /dev/null
+++ b/public_test_cases/p01472/input.1.txt
@@ -0,0 +1,3 @@
+2 5
+3 4
+7 6
diff --git a/public_test_cases/p01472/input.2.txt b/public_test_cases/p01472/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d556dc0caed9e25a428b234b1cd539b83eb7379f
--- /dev/null
+++ b/public_test_cases/p01472/input.2.txt
@@ -0,0 +1,3 @@
+2 0
+1 3
+1 1
diff --git a/public_test_cases/p01472/input.3.txt b/public_test_cases/p01472/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e765bae60568912f6dc29b66ca137cfcde41c10b
--- /dev/null
+++ b/public_test_cases/p01472/input.3.txt
@@ -0,0 +1,3 @@
+2 100
+0 0
+0 0
diff --git a/public_test_cases/p01472/output.0.txt b/public_test_cases/p01472/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c428bd646570b717cf3c9895414efe12d942248
--- /dev/null
+++ b/public_test_cases/p01472/output.0.txt
@@ -0,0 +1,2 @@
+Second
+3
diff --git a/public_test_cases/p01472/output.1.txt b/public_test_cases/p01472/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc63740ccf338055e903c194333c4bd70855626
--- /dev/null
+++ b/public_test_cases/p01472/output.1.txt
@@ -0,0 +1,2 @@
+Draw
+4
diff --git a/public_test_cases/p01472/output.2.txt b/public_test_cases/p01472/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c428bd646570b717cf3c9895414efe12d942248
--- /dev/null
+++ b/public_test_cases/p01472/output.2.txt
@@ -0,0 +1,2 @@
+Second
+3
diff --git a/public_test_cases/p01472/output.3.txt b/public_test_cases/p01472/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba15f7df5e35e569908af959b699335f8db3ed7
--- /dev/null
+++ b/public_test_cases/p01472/output.3.txt
@@ -0,0 +1,2 @@
+First
+2
diff --git a/public_test_cases/p01473/input.0.txt b/public_test_cases/p01473/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81bf396956110ad81c14860af1bbcc9dfbe4df20
--- /dev/null
+++ b/public_test_cases/p01473/input.0.txt
@@ -0,0 +1 @@
+ab
diff --git a/public_test_cases/p01473/input.1.txt b/public_test_cases/p01473/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81bf396956110ad81c14860af1bbcc9dfbe4df20
--- /dev/null
+++ b/public_test_cases/p01473/input.1.txt
@@ -0,0 +1 @@
+ab
diff --git a/public_test_cases/p01473/input.2.txt b/public_test_cases/p01473/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3656652b938f9c8893ac99318173682282fff1bc
--- /dev/null
+++ b/public_test_cases/p01473/input.2.txt
@@ -0,0 +1 @@
+abba
diff --git a/public_test_cases/p01473/output.0.txt b/public_test_cases/p01473/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01473/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01473/output.1.txt b/public_test_cases/p01473/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01473/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01473/output.2.txt b/public_test_cases/p01473/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01473/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01474/input.0.txt b/public_test_cases/p01474/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b25f17f033c7fd49540a1806978cb87f114ffe64
--- /dev/null
+++ b/public_test_cases/p01474/input.0.txt
@@ -0,0 +1,2 @@
+3 1 1 1
+1 3
diff --git a/public_test_cases/p01474/input.1.txt b/public_test_cases/p01474/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b25f17f033c7fd49540a1806978cb87f114ffe64
--- /dev/null
+++ b/public_test_cases/p01474/input.1.txt
@@ -0,0 +1,2 @@
+3 1 1 1
+1 3
diff --git a/public_test_cases/p01474/input.2.txt b/public_test_cases/p01474/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e78f8675d4ec47ab2e0a42d1c9a3361620e8ca40
--- /dev/null
+++ b/public_test_cases/p01474/input.2.txt
@@ -0,0 +1,3 @@
+4 2 1 1
+2 3
+3 2
diff --git a/public_test_cases/p01474/output.0.txt b/public_test_cases/p01474/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01474/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01474/output.1.txt b/public_test_cases/p01474/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01474/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01474/output.2.txt b/public_test_cases/p01474/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01474/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01475/input.0.txt b/public_test_cases/p01475/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cf20a77d2506169f8f622ea167a58e67899f278
--- /dev/null
+++ b/public_test_cases/p01475/input.0.txt
@@ -0,0 +1,3 @@
+1
+1 0 1 0 0 -1
+1 -1 0
diff --git a/public_test_cases/p01475/input.1.txt b/public_test_cases/p01475/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..449226baa1fe9716406e402a10461ff4aaf337b4
--- /dev/null
+++ b/public_test_cases/p01475/input.1.txt
@@ -0,0 +1,4 @@
+2
+1 0 -1 0 0 -1
+3 0 6
+-5 0 -10
diff --git a/public_test_cases/p01475/input.2.txt b/public_test_cases/p01475/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8818b3464076600847c74ce32ee0a37c8bf0bca
--- /dev/null
+++ b/public_test_cases/p01475/input.2.txt
@@ -0,0 +1,4 @@
+2
+1 0 0 0 -1 0
+2 -1 -1
+6 9 1
diff --git a/public_test_cases/p01475/input.3.txt b/public_test_cases/p01475/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cf20a77d2506169f8f622ea167a58e67899f278
--- /dev/null
+++ b/public_test_cases/p01475/input.3.txt
@@ -0,0 +1,3 @@
+1
+1 0 1 0 0 -1
+1 -1 0
diff --git a/public_test_cases/p01475/output.0.txt b/public_test_cases/p01475/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01475/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01475/output.1.txt b/public_test_cases/p01475/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01475/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01475/output.2.txt b/public_test_cases/p01475/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01475/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01475/output.3.txt b/public_test_cases/p01475/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01475/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01476/input.0.txt b/public_test_cases/p01476/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ab20a34cd6d5f19348d237b0a69fc68586cbefe
--- /dev/null
+++ b/public_test_cases/p01476/input.0.txt
@@ -0,0 +1,6 @@
+5
+0 1 2 8
+0 2 3 9
+0 2 2 11
+1 2 2 7
+0 1 3 7
diff --git a/public_test_cases/p01476/input.1.txt b/public_test_cases/p01476/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eac60f5aba3ba50fcfa5dd40c29c1d61da6b8afb
--- /dev/null
+++ b/public_test_cases/p01476/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 10 100 333
+0 100 1000 555
diff --git a/public_test_cases/p01476/input.2.txt b/public_test_cases/p01476/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ab20a34cd6d5f19348d237b0a69fc68586cbefe
--- /dev/null
+++ b/public_test_cases/p01476/input.2.txt
@@ -0,0 +1,6 @@
+5
+0 1 2 8
+0 2 3 9
+0 2 2 11
+1 2 2 7
+0 1 3 7
diff --git a/public_test_cases/p01476/output.0.txt b/public_test_cases/p01476/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01476/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01476/output.1.txt b/public_test_cases/p01476/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p01476/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p01476/output.2.txt b/public_test_cases/p01476/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01476/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01477/input.0.txt b/public_test_cases/p01477/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8a739b1fe5efb69b73dc3c06ab81f18a8fab34a
--- /dev/null
+++ b/public_test_cases/p01477/input.0.txt
@@ -0,0 +1,2 @@
+2 1
+1 -2
diff --git a/public_test_cases/p01477/input.1.txt b/public_test_cases/p01477/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76db56d391a04f69c2bc020f8da93543a07fdd68
--- /dev/null
+++ b/public_test_cases/p01477/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+-1 -2
+1 -3
diff --git a/public_test_cases/p01477/input.2.txt b/public_test_cases/p01477/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8a739b1fe5efb69b73dc3c06ab81f18a8fab34a
--- /dev/null
+++ b/public_test_cases/p01477/input.2.txt
@@ -0,0 +1,2 @@
+2 1
+1 -2
diff --git a/public_test_cases/p01477/output.0.txt b/public_test_cases/p01477/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01477/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01477/output.1.txt b/public_test_cases/p01477/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01477/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01477/output.2.txt b/public_test_cases/p01477/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01477/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01478/input.0.txt b/public_test_cases/p01478/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0ff138eb8a992ddb18766f36b085841f2a6141e
--- /dev/null
+++ b/public_test_cases/p01478/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 1 3
+1 0 8
+3 8 0
diff --git a/public_test_cases/p01478/input.1.txt b/public_test_cases/p01478/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0ff138eb8a992ddb18766f36b085841f2a6141e
--- /dev/null
+++ b/public_test_cases/p01478/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 1 3
+1 0 8
+3 8 0
diff --git a/public_test_cases/p01478/output.0.txt b/public_test_cases/p01478/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01478/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01478/output.1.txt b/public_test_cases/p01478/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01478/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01479/input.0.txt b/public_test_cases/p01479/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67b8760eab8043ebc0d8e8bd5f183794ed067f46
--- /dev/null
+++ b/public_test_cases/p01479/input.0.txt
@@ -0,0 +1 @@
+eggchickenegg
diff --git a/public_test_cases/p01479/input.1.txt b/public_test_cases/p01479/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67b8760eab8043ebc0d8e8bd5f183794ed067f46
--- /dev/null
+++ b/public_test_cases/p01479/input.1.txt
@@ -0,0 +1 @@
+eggchickenegg
diff --git a/public_test_cases/p01479/output.0.txt b/public_test_cases/p01479/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d464a4941c87d8bfd46c2caa039e6d5247e3b18
--- /dev/null
+++ b/public_test_cases/p01479/output.0.txt
@@ -0,0 +1 @@
+egg
diff --git a/public_test_cases/p01479/output.1.txt b/public_test_cases/p01479/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d464a4941c87d8bfd46c2caa039e6d5247e3b18
--- /dev/null
+++ b/public_test_cases/p01479/output.1.txt
@@ -0,0 +1 @@
+egg
diff --git a/public_test_cases/p01480/input.0.txt b/public_test_cases/p01480/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8bd72d474525f3bf94978b68bf09a449e44239b
--- /dev/null
+++ b/public_test_cases/p01480/input.0.txt
@@ -0,0 +1,10 @@
+2
+4 2
+4 0.4000000
+3 0.5000000
+4 1
+5 0.3333333
+5 3
+5 0.7777777
+4 0.1111111
+2 0.0001111
diff --git a/public_test_cases/p01480/input.1.txt b/public_test_cases/p01480/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8bd72d474525f3bf94978b68bf09a449e44239b
--- /dev/null
+++ b/public_test_cases/p01480/input.1.txt
@@ -0,0 +1,10 @@
+2
+4 2
+4 0.4000000
+3 0.5000000
+4 1
+5 0.3333333
+5 3
+5 0.7777777
+4 0.1111111
+2 0.0001111
diff --git a/public_test_cases/p01480/output.0.txt b/public_test_cases/p01480/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01480/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01480/output.1.txt b/public_test_cases/p01480/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01480/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01481/input.0.txt b/public_test_cases/p01481/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4755778e3651de95ec48f9f1cce50e38f4f4b5
--- /dev/null
+++ b/public_test_cases/p01481/input.0.txt
@@ -0,0 +1,15 @@
+10 10
+.....#....
+.....#....
+.....#....
+######....
+..........
+####......
+....###...
+t..#..####
+...##.....
+....#...##
+3
+0 3
+0 5
+4 6
diff --git a/public_test_cases/p01481/input.1.txt b/public_test_cases/p01481/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4755778e3651de95ec48f9f1cce50e38f4f4b5
--- /dev/null
+++ b/public_test_cases/p01481/input.1.txt
@@ -0,0 +1,15 @@
+10 10
+.....#....
+.....#....
+.....#....
+######....
+..........
+####......
+....###...
+t..#..####
+...##.....
+....#...##
+3
+0 3
+0 5
+4 6
diff --git a/public_test_cases/p01481/output.0.txt b/public_test_cases/p01481/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01481/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01481/output.1.txt b/public_test_cases/p01481/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01481/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01482/input.0.txt b/public_test_cases/p01482/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8543dcc23f7422dba00b2dcf2ca633bc914e185d
--- /dev/null
+++ b/public_test_cases/p01482/input.0.txt
@@ -0,0 +1,4 @@
+100
+A=malloc(10)
+B=clone(A)
+free(A)
diff --git a/public_test_cases/p01482/input.1.txt b/public_test_cases/p01482/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8543dcc23f7422dba00b2dcf2ca633bc914e185d
--- /dev/null
+++ b/public_test_cases/p01482/input.1.txt
@@ -0,0 +1,4 @@
+100
+A=malloc(10)
+B=clone(A)
+free(A)
diff --git a/public_test_cases/p01482/output.0.txt b/public_test_cases/p01482/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01482/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01482/output.1.txt b/public_test_cases/p01482/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01482/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01483/input.0.txt b/public_test_cases/p01483/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04c67f0fa92f27004a5af2b953f34822bb27ffd6
--- /dev/null
+++ b/public_test_cases/p01483/input.0.txt
@@ -0,0 +1,4 @@
+3 3 2
+1 1
+2 1 1
+3 1 1 1
diff --git a/public_test_cases/p01483/input.1.txt b/public_test_cases/p01483/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04c67f0fa92f27004a5af2b953f34822bb27ffd6
--- /dev/null
+++ b/public_test_cases/p01483/input.1.txt
@@ -0,0 +1,4 @@
+3 3 2
+1 1
+2 1 1
+3 1 1 1
diff --git a/public_test_cases/p01483/output.0.txt b/public_test_cases/p01483/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01483/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01483/output.1.txt b/public_test_cases/p01483/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01483/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01484/input.0.txt b/public_test_cases/p01484/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..519b415e0ab0d0915b0d81edf16d8a9d6dcd0bd4
--- /dev/null
+++ b/public_test_cases/p01484/input.0.txt
@@ -0,0 +1,4 @@
+5 3 2
+aaaaa
+aaa
+aab
diff --git a/public_test_cases/p01484/input.1.txt b/public_test_cases/p01484/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..519b415e0ab0d0915b0d81edf16d8a9d6dcd0bd4
--- /dev/null
+++ b/public_test_cases/p01484/input.1.txt
@@ -0,0 +1,4 @@
+5 3 2
+aaaaa
+aaa
+aab
diff --git a/public_test_cases/p01484/output.0.txt b/public_test_cases/p01484/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32ac9cc4e429950e6787fbe4aa5c9a1e40874ec0
--- /dev/null
+++ b/public_test_cases/p01484/output.0.txt
@@ -0,0 +1 @@
+1 6
diff --git a/public_test_cases/p01484/output.1.txt b/public_test_cases/p01484/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32ac9cc4e429950e6787fbe4aa5c9a1e40874ec0
--- /dev/null
+++ b/public_test_cases/p01484/output.1.txt
@@ -0,0 +1 @@
+1 6
diff --git a/public_test_cases/p01485/input.0.txt b/public_test_cases/p01485/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b77f9bdf68957d07c7ec01e22600286bb4470ef5
--- /dev/null
+++ b/public_test_cases/p01485/input.0.txt
@@ -0,0 +1,6 @@
+2
+0 0 5 0 10
+1 0 6 0 10
+1
+0.000000 0.000000
+6.000000 0.000000
diff --git a/public_test_cases/p01485/input.1.txt b/public_test_cases/p01485/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b77f9bdf68957d07c7ec01e22600286bb4470ef5
--- /dev/null
+++ b/public_test_cases/p01485/input.1.txt
@@ -0,0 +1,6 @@
+2
+0 0 5 0 10
+1 0 6 0 10
+1
+0.000000 0.000000
+6.000000 0.000000
diff --git a/public_test_cases/p01485/output.0.txt b/public_test_cases/p01485/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01485/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01485/output.1.txt b/public_test_cases/p01485/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01485/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01486/input.0.txt b/public_test_cases/p01486/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5a36825698d29204a9da5454bc3e4391adeecb6
--- /dev/null
+++ b/public_test_cases/p01486/input.0.txt
@@ -0,0 +1 @@
+mmemewwemeww
diff --git a/public_test_cases/p01486/input.1.txt b/public_test_cases/p01486/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5a36825698d29204a9da5454bc3e4391adeecb6
--- /dev/null
+++ b/public_test_cases/p01486/input.1.txt
@@ -0,0 +1 @@
+mmemewwemeww
diff --git a/public_test_cases/p01486/output.0.txt b/public_test_cases/p01486/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b651cbbd95463c39ef3ef1958c6ee01974db1938
--- /dev/null
+++ b/public_test_cases/p01486/output.0.txt
@@ -0,0 +1 @@
+Cat
diff --git a/public_test_cases/p01486/output.1.txt b/public_test_cases/p01486/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b651cbbd95463c39ef3ef1958c6ee01974db1938
--- /dev/null
+++ b/public_test_cases/p01486/output.1.txt
@@ -0,0 +1 @@
+Cat
diff --git a/public_test_cases/p01487/input.0.txt b/public_test_cases/p01487/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acab9620f7fb7cc6062b5916060f362036eb1fee
--- /dev/null
+++ b/public_test_cases/p01487/input.0.txt
@@ -0,0 +1,6 @@
+8 5
+1 2
+6 5
+6 4
+1 3
+4 7
diff --git a/public_test_cases/p01487/input.1.txt b/public_test_cases/p01487/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acab9620f7fb7cc6062b5916060f362036eb1fee
--- /dev/null
+++ b/public_test_cases/p01487/input.1.txt
@@ -0,0 +1,6 @@
+8 5
+1 2
+6 5
+6 4
+1 3
+4 7
diff --git a/public_test_cases/p01487/output.0.txt b/public_test_cases/p01487/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01487/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01487/output.1.txt b/public_test_cases/p01487/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01487/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01488/input.0.txt b/public_test_cases/p01488/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c34b83525083a7ad524de2654469de65077f285
--- /dev/null
+++ b/public_test_cases/p01488/input.0.txt
@@ -0,0 +1,8 @@
+2 10
+Warsaw Petersburg
+3
+Kiev Moscow Petersburg
+150 120
+3
+Moscow Minsk Warsaw
+100 150
diff --git a/public_test_cases/p01488/input.1.txt b/public_test_cases/p01488/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c34b83525083a7ad524de2654469de65077f285
--- /dev/null
+++ b/public_test_cases/p01488/input.1.txt
@@ -0,0 +1,8 @@
+2 10
+Warsaw Petersburg
+3
+Kiev Moscow Petersburg
+150 120
+3
+Moscow Minsk Warsaw
+100 150
diff --git a/public_test_cases/p01488/output.0.txt b/public_test_cases/p01488/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a33a84892990993004852adfb4ebc8c09d04d9bb
--- /dev/null
+++ b/public_test_cases/p01488/output.0.txt
@@ -0,0 +1 @@
+380 1
diff --git a/public_test_cases/p01488/output.1.txt b/public_test_cases/p01488/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a33a84892990993004852adfb4ebc8c09d04d9bb
--- /dev/null
+++ b/public_test_cases/p01488/output.1.txt
@@ -0,0 +1 @@
+380 1
diff --git a/public_test_cases/p01489/input.0.txt b/public_test_cases/p01489/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01489/input.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01489/input.1.txt b/public_test_cases/p01489/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01489/input.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01489/output.0.txt b/public_test_cases/p01489/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01489/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01489/output.1.txt b/public_test_cases/p01489/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01489/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01490/input.0.txt b/public_test_cases/p01490/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..065bedafca86dee03244a6a3c9675269f55e7184
--- /dev/null
+++ b/public_test_cases/p01490/input.0.txt
@@ -0,0 +1,5 @@
+4
+5
+8
+58
+85
diff --git a/public_test_cases/p01490/input.1.txt b/public_test_cases/p01490/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..065bedafca86dee03244a6a3c9675269f55e7184
--- /dev/null
+++ b/public_test_cases/p01490/input.1.txt
@@ -0,0 +1,5 @@
+4
+5
+8
+58
+85
diff --git a/public_test_cases/p01490/output.0.txt b/public_test_cases/p01490/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b483cabaa1252aed42541b75043a54c5acf12f26
--- /dev/null
+++ b/public_test_cases/p01490/output.0.txt
@@ -0,0 +1 @@
+2970.000000000
diff --git a/public_test_cases/p01490/output.1.txt b/public_test_cases/p01490/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b483cabaa1252aed42541b75043a54c5acf12f26
--- /dev/null
+++ b/public_test_cases/p01490/output.1.txt
@@ -0,0 +1 @@
+2970.000000000
diff --git a/public_test_cases/p01491/input.0.txt b/public_test_cases/p01491/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..038b10d57ab06b4684d4d4fddac4096e5341b694
--- /dev/null
+++ b/public_test_cases/p01491/input.0.txt
@@ -0,0 +1 @@
+2 3 1 3 1 0
diff --git a/public_test_cases/p01491/input.1.txt b/public_test_cases/p01491/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..038b10d57ab06b4684d4d4fddac4096e5341b694
--- /dev/null
+++ b/public_test_cases/p01491/input.1.txt
@@ -0,0 +1 @@
+2 3 1 3 1 0
diff --git a/public_test_cases/p01491/output.0.txt b/public_test_cases/p01491/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01491/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01491/output.1.txt b/public_test_cases/p01491/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01491/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01492/input.0.txt b/public_test_cases/p01492/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01492/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01492/input.1.txt b/public_test_cases/p01492/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01492/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01492/output.0.txt b/public_test_cases/p01492/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb194a309884f6002ed6bc2b3dde6b7597e7ee4b
--- /dev/null
+++ b/public_test_cases/p01492/output.0.txt
@@ -0,0 +1,5 @@
+4
+0 0
+1 0
+2 0
+1 1
diff --git a/public_test_cases/p01492/output.1.txt b/public_test_cases/p01492/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb194a309884f6002ed6bc2b3dde6b7597e7ee4b
--- /dev/null
+++ b/public_test_cases/p01492/output.1.txt
@@ -0,0 +1,5 @@
+4
+0 0
+1 0
+2 0
+1 1
diff --git a/public_test_cases/p01493/input.0.txt b/public_test_cases/p01493/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e98e1d626ccca555473db176684af11832aee44
--- /dev/null
+++ b/public_test_cases/p01493/input.0.txt
@@ -0,0 +1,4 @@
+3
+NNN
+NNN
+NNN
diff --git a/public_test_cases/p01493/input.1.txt b/public_test_cases/p01493/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e98e1d626ccca555473db176684af11832aee44
--- /dev/null
+++ b/public_test_cases/p01493/input.1.txt
@@ -0,0 +1,4 @@
+3
+NNN
+NNN
+NNN
diff --git a/public_test_cases/p01493/output.0.txt b/public_test_cases/p01493/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09944d98ec0b61a33b7c995d56052895ea55d2a2
--- /dev/null
+++ b/public_test_cases/p01493/output.0.txt
@@ -0,0 +1 @@
+Taro
diff --git a/public_test_cases/p01493/output.1.txt b/public_test_cases/p01493/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09944d98ec0b61a33b7c995d56052895ea55d2a2
--- /dev/null
+++ b/public_test_cases/p01493/output.1.txt
@@ -0,0 +1 @@
+Taro
diff --git a/public_test_cases/p01494/input.0.txt b/public_test_cases/p01494/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0d0cdbd2101e3d07f1ea334194a44fe1e17c5ad
--- /dev/null
+++ b/public_test_cases/p01494/input.0.txt
@@ -0,0 +1,2 @@
+3 3 1
+0 0
diff --git a/public_test_cases/p01494/input.1.txt b/public_test_cases/p01494/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0d0cdbd2101e3d07f1ea334194a44fe1e17c5ad
--- /dev/null
+++ b/public_test_cases/p01494/input.1.txt
@@ -0,0 +1,2 @@
+3 3 1
+0 0
diff --git a/public_test_cases/p01494/output.0.txt b/public_test_cases/p01494/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01494/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01494/output.1.txt b/public_test_cases/p01494/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01494/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01495/input.0.txt b/public_test_cases/p01495/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ec6acd8fc112be1f012c8aa382ca84fba04a0b9
--- /dev/null
+++ b/public_test_cases/p01495/input.0.txt
@@ -0,0 +1 @@
+3 1 0 1
diff --git a/public_test_cases/p01495/input.1.txt b/public_test_cases/p01495/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ec6acd8fc112be1f012c8aa382ca84fba04a0b9
--- /dev/null
+++ b/public_test_cases/p01495/input.1.txt
@@ -0,0 +1 @@
+3 1 0 1
diff --git a/public_test_cases/p01495/output.0.txt b/public_test_cases/p01495/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p01495/output.0.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p01495/output.1.txt b/public_test_cases/p01495/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p01495/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p01496/input.0.txt b/public_test_cases/p01496/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5ca58da03939b75c047f58754d90dbca0071580
--- /dev/null
+++ b/public_test_cases/p01496/input.0.txt
@@ -0,0 +1,4 @@
+3 40
+.a....a....a....a....f....f....f....f...
+#bc#.#cd#.#de#.#eb#.#cb#.#dc#.#ed#.#be#.
+.#....#....#....#....#....#....#....#...
diff --git a/public_test_cases/p01496/input.1.txt b/public_test_cases/p01496/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e542d19d33d2375c72815a94f8f054f3e052558b
--- /dev/null
+++ b/public_test_cases/p01496/input.1.txt
@@ -0,0 +1,4 @@
+3 40
+.a....a....a....a....f....f....f....f...
+bc#.#cd#.#de#.#eb#.#cb#.#dc#.#ed#.#eb#.
+.#....#....#....#....#....#....#....#...
diff --git a/public_test_cases/p01496/input.2.txt b/public_test_cases/p01496/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89a14be3c7ef578552bb8de94d9fc645ecc5e782
--- /dev/null
+++ b/public_test_cases/p01496/input.2.txt
@@ -0,0 +1,4 @@
+3 40
+.a....a....a....a....f....f....f....f...
+bc#.#cd#.#de#.#eb#.#cb#.#dc#.#ed#.#be#.
+.#....#....#....#....#....#....#....#...
diff --git a/public_test_cases/p01496/input.3.txt b/public_test_cases/p01496/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5ca58da03939b75c047f58754d90dbca0071580
--- /dev/null
+++ b/public_test_cases/p01496/input.3.txt
@@ -0,0 +1,4 @@
+3 40
+.a....a....a....a....f....f....f....f...
+#bc#.#cd#.#de#.#eb#.#cb#.#dc#.#ed#.#be#.
+.#....#....#....#....#....#....#....#...
diff --git a/public_test_cases/p01496/input.4.txt b/public_test_cases/p01496/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ceaf733e47a2606ca94323e49cf0710786bd896
--- /dev/null
+++ b/public_test_cases/p01496/input.4.txt
@@ -0,0 +1,6 @@
+5 35
+.a....a....a....a....f....f....f...
+bc#.#cd#.#de#.#eb#.#cb#.#dc#.#ed#.
+.#..f.#....#....#....#....#....#...
+..e##..............................
+.b#................................
diff --git a/public_test_cases/p01496/output.0.txt b/public_test_cases/p01496/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01496/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01496/output.1.txt b/public_test_cases/p01496/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01496/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01496/output.2.txt b/public_test_cases/p01496/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01496/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01496/output.3.txt b/public_test_cases/p01496/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01496/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01496/output.4.txt b/public_test_cases/p01496/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01496/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01497/input.0.txt b/public_test_cases/p01497/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba81a47ca4f97e63ab9d7e18df514bbececb3933
--- /dev/null
+++ b/public_test_cases/p01497/input.0.txt
@@ -0,0 +1,4 @@
+4 4 4 4
+4 4 4 4
+4 4 4 4
+4 4 4 4
diff --git a/public_test_cases/p01497/input.1.txt b/public_test_cases/p01497/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cb1cef85e73793dc94f6ea67e7b7bb435f727c8
--- /dev/null
+++ b/public_test_cases/p01497/input.1.txt
@@ -0,0 +1,4 @@
+2 4 4 1
+2 4 4 1
+2 4 4 1
+2 4 4 1
diff --git a/public_test_cases/p01497/input.2.txt b/public_test_cases/p01497/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba81a47ca4f97e63ab9d7e18df514bbececb3933
--- /dev/null
+++ b/public_test_cases/p01497/input.2.txt
@@ -0,0 +1,4 @@
+4 4 4 4
+4 4 4 4
+4 4 4 4
+4 4 4 4
diff --git a/public_test_cases/p01497/input.3.txt b/public_test_cases/p01497/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9f9ee373a664d47f31adabfec9252d387d74526
--- /dev/null
+++ b/public_test_cases/p01497/input.3.txt
@@ -0,0 +1,4 @@
+2 4 3 4
+2 2 4 4
+3 3 2 2
+2 3 3 3
diff --git a/public_test_cases/p01497/output.0.txt b/public_test_cases/p01497/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01497/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01497/output.1.txt b/public_test_cases/p01497/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01497/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01497/output.2.txt b/public_test_cases/p01497/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01497/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01497/output.3.txt b/public_test_cases/p01497/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01497/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01498/input.0.txt b/public_test_cases/p01498/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f514fcce7d61b9c77d851ee9efe2b67c70ced32
--- /dev/null
+++ b/public_test_cases/p01498/input.0.txt
@@ -0,0 +1,5 @@
+4 3 3
+1 1
+1 3
+3 1
+3 3
diff --git a/public_test_cases/p01498/input.1.txt b/public_test_cases/p01498/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7ad3d1e5ecc38e41d3a35f9693a1abbc634e626
--- /dev/null
+++ b/public_test_cases/p01498/input.1.txt
@@ -0,0 +1,3 @@
+2 3 3
+2 2
+3 3
diff --git a/public_test_cases/p01498/input.2.txt b/public_test_cases/p01498/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f514fcce7d61b9c77d851ee9efe2b67c70ced32
--- /dev/null
+++ b/public_test_cases/p01498/input.2.txt
@@ -0,0 +1,5 @@
+4 3 3
+1 1
+1 3
+3 1
+3 3
diff --git a/public_test_cases/p01498/input.3.txt b/public_test_cases/p01498/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b5956286e4aaaaaeac523c5257e6da86d4c46c9
--- /dev/null
+++ b/public_test_cases/p01498/input.3.txt
@@ -0,0 +1,3 @@
+2 4 4
+2 2
+3 3
diff --git a/public_test_cases/p01498/input.4.txt b/public_test_cases/p01498/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a91dcab57baffc91b80d5298105791d31b1bc3a1
--- /dev/null
+++ b/public_test_cases/p01498/input.4.txt
@@ -0,0 +1,3 @@
+2 4 4
+2 2
+2 3
diff --git a/public_test_cases/p01498/output.0.txt b/public_test_cases/p01498/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01498/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01498/output.1.txt b/public_test_cases/p01498/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01498/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01498/output.2.txt b/public_test_cases/p01498/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01498/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01498/output.3.txt b/public_test_cases/p01498/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01498/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01498/output.4.txt b/public_test_cases/p01498/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01498/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01499/input.0.txt b/public_test_cases/p01499/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e404b76a3220609ea50d574f3d2a4455d079d263
--- /dev/null
+++ b/public_test_cases/p01499/input.0.txt
@@ -0,0 +1,4 @@
+3 1
+1
+2
+3
diff --git a/public_test_cases/p01499/input.1.txt b/public_test_cases/p01499/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e404b76a3220609ea50d574f3d2a4455d079d263
--- /dev/null
+++ b/public_test_cases/p01499/input.1.txt
@@ -0,0 +1,4 @@
+3 1
+1
+2
+3
diff --git a/public_test_cases/p01499/input.2.txt b/public_test_cases/p01499/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df69403341bfaecd62999afb379e31e099beb455
--- /dev/null
+++ b/public_test_cases/p01499/input.2.txt
@@ -0,0 +1,6 @@
+5 3
+9
+2
+6
+8
+8
diff --git a/public_test_cases/p01499/input.3.txt b/public_test_cases/p01499/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bd3cbbf2c84a7c676ea9e2564a7be21f18c7e75
--- /dev/null
+++ b/public_test_cases/p01499/input.3.txt
@@ -0,0 +1,6 @@
+5 7
+9
+9
+9
+1
+5
diff --git a/public_test_cases/p01499/output.0.txt b/public_test_cases/p01499/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01499/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01499/output.1.txt b/public_test_cases/p01499/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01499/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01499/output.2.txt b/public_test_cases/p01499/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p01499/output.2.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p01499/output.3.txt b/public_test_cases/p01499/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21e72e8ac3d7e23bd6532b5f1f4a6bdf8362e6cf
--- /dev/null
+++ b/public_test_cases/p01499/output.3.txt
@@ -0,0 +1 @@
+48
diff --git a/public_test_cases/p01500/input.0.txt b/public_test_cases/p01500/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf55745ab03b5a740c1152f075f3e094931f1095
--- /dev/null
+++ b/public_test_cases/p01500/input.0.txt
@@ -0,0 +1,9 @@
+6 3 1.0
+1 2 3
+4 5 6
+0 0
+1 0
+2 0
+0 1
+1 1
+2 1
diff --git a/public_test_cases/p01500/input.1.txt b/public_test_cases/p01500/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf55745ab03b5a740c1152f075f3e094931f1095
--- /dev/null
+++ b/public_test_cases/p01500/input.1.txt
@@ -0,0 +1,9 @@
+6 3 1.0
+1 2 3
+4 5 6
+0 0
+1 0
+2 0
+0 1
+1 1
+2 1
diff --git a/public_test_cases/p01500/output.0.txt b/public_test_cases/p01500/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01500/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01500/output.1.txt b/public_test_cases/p01500/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01500/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01501/input.0.txt b/public_test_cases/p01501/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88be9ac94f5aded6390ffd0a78f239064de547ac
--- /dev/null
+++ b/public_test_cases/p01501/input.0.txt
@@ -0,0 +1,6 @@
+4 1
+0 0
+3 0
+3 3
+0 3
+1 1
diff --git a/public_test_cases/p01501/input.1.txt b/public_test_cases/p01501/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88be9ac94f5aded6390ffd0a78f239064de547ac
--- /dev/null
+++ b/public_test_cases/p01501/input.1.txt
@@ -0,0 +1,6 @@
+4 1
+0 0
+3 0
+3 3
+0 3
+1 1
diff --git a/public_test_cases/p01501/output.0.txt b/public_test_cases/p01501/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b79fe6d0e019db65d91d38d05cb8616be73a00a
--- /dev/null
+++ b/public_test_cases/p01501/output.0.txt
@@ -0,0 +1 @@
+2.0000000000
diff --git a/public_test_cases/p01501/output.1.txt b/public_test_cases/p01501/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b79fe6d0e019db65d91d38d05cb8616be73a00a
--- /dev/null
+++ b/public_test_cases/p01501/output.1.txt
@@ -0,0 +1 @@
+2.0000000000
diff --git a/public_test_cases/p01502/input.0.txt b/public_test_cases/p01502/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ec16339886bd6d000ff75931b04e2ad2209172c
--- /dev/null
+++ b/public_test_cases/p01502/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 2 7
+2 0 4
+5 8 0
diff --git a/public_test_cases/p01502/input.1.txt b/public_test_cases/p01502/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ec16339886bd6d000ff75931b04e2ad2209172c
--- /dev/null
+++ b/public_test_cases/p01502/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 2 7
+2 0 4
+5 8 0
diff --git a/public_test_cases/p01502/output.0.txt b/public_test_cases/p01502/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01502/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01502/output.1.txt b/public_test_cases/p01502/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01502/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01503/input.0.txt b/public_test_cases/p01503/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac7d099c15d38a622aa5789cebffc3ce3d37ea96
--- /dev/null
+++ b/public_test_cases/p01503/input.0.txt
@@ -0,0 +1 @@
+1 1 1 1 1
diff --git a/public_test_cases/p01503/input.1.txt b/public_test_cases/p01503/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac7d099c15d38a622aa5789cebffc3ce3d37ea96
--- /dev/null
+++ b/public_test_cases/p01503/input.1.txt
@@ -0,0 +1 @@
+1 1 1 1 1
diff --git a/public_test_cases/p01503/output.0.txt b/public_test_cases/p01503/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae15b90673dd72da308bf241b7567543c4b07ea9
--- /dev/null
+++ b/public_test_cases/p01503/output.0.txt
@@ -0,0 +1 @@
+0.000000000000
diff --git a/public_test_cases/p01503/output.1.txt b/public_test_cases/p01503/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae15b90673dd72da308bf241b7567543c4b07ea9
--- /dev/null
+++ b/public_test_cases/p01503/output.1.txt
@@ -0,0 +1 @@
+0.000000000000
diff --git a/public_test_cases/p01504/input.0.txt b/public_test_cases/p01504/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9dd73863e9160af62d1288b90e118eb8503a6ea7
--- /dev/null
+++ b/public_test_cases/p01504/input.0.txt
@@ -0,0 +1,12 @@
+2 2 1
+1 2 1
+1
+2
+4 3 2
+1 2 1
+1 3 2
+1 4 3
+2
+3
+4
+0 0 0
diff --git a/public_test_cases/p01504/input.1.txt b/public_test_cases/p01504/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9dd73863e9160af62d1288b90e118eb8503a6ea7
--- /dev/null
+++ b/public_test_cases/p01504/input.1.txt
@@ -0,0 +1,12 @@
+2 2 1
+1 2 1
+1
+2
+4 3 2
+1 2 1
+1 3 2
+1 4 3
+2
+3
+4
+0 0 0
diff --git a/public_test_cases/p01504/output.0.txt b/public_test_cases/p01504/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ba033b1fdce7c74553ab143861906f4d670e0be
--- /dev/null
+++ b/public_test_cases/p01504/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 1
+Case 2: 3
diff --git a/public_test_cases/p01504/output.1.txt b/public_test_cases/p01504/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ba033b1fdce7c74553ab143861906f4d670e0be
--- /dev/null
+++ b/public_test_cases/p01504/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 1
+Case 2: 3
diff --git a/public_test_cases/p01505/input.0.txt b/public_test_cases/p01505/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ff0555a869700be07eb9255e3bd1e03c6e73fc0
--- /dev/null
+++ b/public_test_cases/p01505/input.0.txt
@@ -0,0 +1,9 @@
+2
+3
+2 1
+4
+9
+2 4
+8 5 3
+7 1 6 10
+0
diff --git a/public_test_cases/p01505/input.1.txt b/public_test_cases/p01505/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ff0555a869700be07eb9255e3bd1e03c6e73fc0
--- /dev/null
+++ b/public_test_cases/p01505/input.1.txt
@@ -0,0 +1,9 @@
+2
+3
+2 1
+4
+9
+2 4
+8 5 3
+7 1 6 10
+0
diff --git a/public_test_cases/p01505/output.0.txt b/public_test_cases/p01505/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f3d597dd3ec7e647f2e3a413d01bcc26f25d484
--- /dev/null
+++ b/public_test_cases/p01505/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 1
+Case 2: 13
diff --git a/public_test_cases/p01505/output.1.txt b/public_test_cases/p01505/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f3d597dd3ec7e647f2e3a413d01bcc26f25d484
--- /dev/null
+++ b/public_test_cases/p01505/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 1
+Case 2: 13
diff --git a/public_test_cases/p01506/input.0.txt b/public_test_cases/p01506/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40133f206a05f9c53946de62eb0de42f7a091713
--- /dev/null
+++ b/public_test_cases/p01506/input.0.txt
@@ -0,0 +1,3 @@
+0 1000 10
+1 1000 10
+0 0 0
diff --git a/public_test_cases/p01506/input.1.txt b/public_test_cases/p01506/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40133f206a05f9c53946de62eb0de42f7a091713
--- /dev/null
+++ b/public_test_cases/p01506/input.1.txt
@@ -0,0 +1,3 @@
+0 1000 10
+1 1000 10
+0 0 0
diff --git a/public_test_cases/p01506/output.0.txt b/public_test_cases/p01506/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ab1d37528dadfb81d09539ac4816432d4a5c304
--- /dev/null
+++ b/public_test_cases/p01506/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 1
+Case 2: 10
diff --git a/public_test_cases/p01506/output.1.txt b/public_test_cases/p01506/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ab1d37528dadfb81d09539ac4816432d4a5c304
--- /dev/null
+++ b/public_test_cases/p01506/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 1
+Case 2: 10
diff --git a/public_test_cases/p01507/input.0.txt b/public_test_cases/p01507/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b90bd3aaec4a20d6935630f9050e4f0e99868da8
--- /dev/null
+++ b/public_test_cases/p01507/input.0.txt
@@ -0,0 +1,8 @@
+2 2
+..
+..
+3 3
+...
+...
+..#
+0 0
diff --git a/public_test_cases/p01507/input.1.txt b/public_test_cases/p01507/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b90bd3aaec4a20d6935630f9050e4f0e99868da8
--- /dev/null
+++ b/public_test_cases/p01507/input.1.txt
@@ -0,0 +1,8 @@
+2 2
+..
+..
+3 3
+...
+...
+..#
+0 0
diff --git a/public_test_cases/p01507/output.0.txt b/public_test_cases/p01507/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5aae7c9b05672c6b2e0a9416ba548529fc1502e
--- /dev/null
+++ b/public_test_cases/p01507/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 4
+Case 2: 56
diff --git a/public_test_cases/p01507/output.1.txt b/public_test_cases/p01507/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5aae7c9b05672c6b2e0a9416ba548529fc1502e
--- /dev/null
+++ b/public_test_cases/p01507/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 4
+Case 2: 56
diff --git a/public_test_cases/p01508/input.0.txt b/public_test_cases/p01508/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a1a7d39e712cf28e8ad63e9cf3f1761a7a0f252
--- /dev/null
+++ b/public_test_cases/p01508/input.0.txt
@@ -0,0 +1,10 @@
+4
+0 0
+10 0
+10 10
+0 10
+3
+0 0
+1 0
+0 1
+0
diff --git a/public_test_cases/p01508/input.1.txt b/public_test_cases/p01508/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a1a7d39e712cf28e8ad63e9cf3f1761a7a0f252
--- /dev/null
+++ b/public_test_cases/p01508/input.1.txt
@@ -0,0 +1,10 @@
+4
+0 0
+10 0
+10 10
+0 10
+3
+0 0
+1 0
+0 1
+0
diff --git a/public_test_cases/p01508/output.0.txt b/public_test_cases/p01508/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c531b56b1449e51170baef833da02e936b68f276
--- /dev/null
+++ b/public_test_cases/p01508/output.0.txt
@@ -0,0 +1,2 @@
+Case 1: 14.142135624
+Case 2: 1.41421356
diff --git a/public_test_cases/p01508/output.1.txt b/public_test_cases/p01508/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c531b56b1449e51170baef833da02e936b68f276
--- /dev/null
+++ b/public_test_cases/p01508/output.1.txt
@@ -0,0 +1,2 @@
+Case 1: 14.142135624
+Case 2: 1.41421356
diff --git a/public_test_cases/p01509/input.0.txt b/public_test_cases/p01509/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..381cf1f599a761c8ccc14bee0cdcada3d2ed7a64
--- /dev/null
+++ b/public_test_cases/p01509/input.0.txt
@@ -0,0 +1,4 @@
+C4C4G4G4A4A4G2F4F4E4E4D4D4C2
+O4C4.C8F4.F8G8F8E8D8C2
+B-8>C8C8Markup language has Declined
Programmers world
+1
+15 3 0 index
diff --git a/public_test_cases/p01535/input.1.txt b/public_test_cases/p01535/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9ca273331992bba02dd06db1c862c11f9ddf5fb
--- /dev/null
+++ b/public_test_cases/p01535/input.1.txt
@@ -0,0 +1,5 @@
+1
+index.dml
+Markup language has Declined
Programmers world
+1
+15 3 0 index
diff --git a/public_test_cases/p01535/output.0.txt b/public_test_cases/p01535/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e471e338cff73d11f82fb385f2c342afbc4a0f
--- /dev/null
+++ b/public_test_cases/p01535/output.0.txt
@@ -0,0 +1,3 @@
+Markup language
+ has Declined..
+Programmers wor
diff --git a/public_test_cases/p01535/output.1.txt b/public_test_cases/p01535/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e471e338cff73d11f82fb385f2c342afbc4a0f
--- /dev/null
+++ b/public_test_cases/p01535/output.1.txt
@@ -0,0 +1,3 @@
+Markup language
+ has Declined..
+Programmers wor
diff --git a/public_test_cases/p01536/input.0.txt b/public_test_cases/p01536/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35150757276332fc7de8e40973295f1bdef5c8b2
--- /dev/null
+++ b/public_test_cases/p01536/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 1 1 3 3 3 5 5 5 7 7 7 9
diff --git a/public_test_cases/p01536/input.1.txt b/public_test_cases/p01536/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35150757276332fc7de8e40973295f1bdef5c8b2
--- /dev/null
+++ b/public_test_cases/p01536/input.1.txt
@@ -0,0 +1,2 @@
+4
+1 1 1 3 3 3 5 5 5 7 7 7 9
diff --git a/public_test_cases/p01536/output.0.txt b/public_test_cases/p01536/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..512858e6043259188cb34dca269dc909c1e59537
--- /dev/null
+++ b/public_test_cases/p01536/output.0.txt
@@ -0,0 +1,2 @@
+8
+9
diff --git a/public_test_cases/p01536/output.1.txt b/public_test_cases/p01536/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..512858e6043259188cb34dca269dc909c1e59537
--- /dev/null
+++ b/public_test_cases/p01536/output.1.txt
@@ -0,0 +1,2 @@
+8
+9
diff --git a/public_test_cases/p01537/input.0.txt b/public_test_cases/p01537/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..195120bbf7e4dac60684d5de988fce51c79e2ec5
--- /dev/null
+++ b/public_test_cases/p01537/input.0.txt
@@ -0,0 +1,20 @@
+3 3
+25 100 10
+8
+-10 0
+-2 2
+0 10
+2 2
+10 0
+2 -2
+0 -10
+-2 -2
+4
+30 0
+50 0
+50 40
+30 40
+3
+30 -10
+45 -70
+60 -10
diff --git a/public_test_cases/p01537/input.1.txt b/public_test_cases/p01537/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..195120bbf7e4dac60684d5de988fce51c79e2ec5
--- /dev/null
+++ b/public_test_cases/p01537/input.1.txt
@@ -0,0 +1,20 @@
+3 3
+25 100 10
+8
+-10 0
+-2 2
+0 10
+2 2
+10 0
+2 -2
+0 -10
+-2 -2
+4
+30 0
+50 0
+50 40
+30 40
+3
+30 -10
+45 -70
+60 -10
diff --git a/public_test_cases/p01537/output.0.txt b/public_test_cases/p01537/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0571a2e15a712887514f5eabbbe731a4b1b70672
--- /dev/null
+++ b/public_test_cases/p01537/output.0.txt
@@ -0,0 +1,3 @@
+3
+1
+2
diff --git a/public_test_cases/p01537/output.1.txt b/public_test_cases/p01537/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0571a2e15a712887514f5eabbbe731a4b1b70672
--- /dev/null
+++ b/public_test_cases/p01537/output.1.txt
@@ -0,0 +1,3 @@
+3
+1
+2
diff --git a/public_test_cases/p01538/input.0.txt b/public_test_cases/p01538/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14fd726975cc907fc30daa3ecce6dcc53b28bb0b
--- /dev/null
+++ b/public_test_cases/p01538/input.0.txt
@@ -0,0 +1,4 @@
+3
+9
+99
+123
diff --git a/public_test_cases/p01538/input.1.txt b/public_test_cases/p01538/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ac2467bf68b5a57aeefa70178c9f62f607c13ed
--- /dev/null
+++ b/public_test_cases/p01538/input.1.txt
@@ -0,0 +1,3 @@
+2
+999999
+1000000
diff --git a/public_test_cases/p01538/input.2.txt b/public_test_cases/p01538/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14fd726975cc907fc30daa3ecce6dcc53b28bb0b
--- /dev/null
+++ b/public_test_cases/p01538/input.2.txt
@@ -0,0 +1,4 @@
+3
+9
+99
+123
diff --git a/public_test_cases/p01538/output.0.txt b/public_test_cases/p01538/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1556c06ea8333942b224f233562f1ab167635aff
--- /dev/null
+++ b/public_test_cases/p01538/output.0.txt
@@ -0,0 +1,3 @@
+0
+2
+3
diff --git a/public_test_cases/p01538/output.1.txt b/public_test_cases/p01538/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfe9b7e72d47952b069f1ddfad0ed10429dacbae
--- /dev/null
+++ b/public_test_cases/p01538/output.1.txt
@@ -0,0 +1,2 @@
+12
+1
diff --git a/public_test_cases/p01538/output.2.txt b/public_test_cases/p01538/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1556c06ea8333942b224f233562f1ab167635aff
--- /dev/null
+++ b/public_test_cases/p01538/output.2.txt
@@ -0,0 +1,3 @@
+0
+2
+3
diff --git a/public_test_cases/p01539/input.0.txt b/public_test_cases/p01539/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85019046c1e6277fd1a3e3819210f3e759583b02
--- /dev/null
+++ b/public_test_cases/p01539/input.0.txt
@@ -0,0 +1,3 @@
+0 0 0 2
+0
+2 2
diff --git a/public_test_cases/p01539/input.1.txt b/public_test_cases/p01539/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5927f0654c3643d6c70a42e356c481076579d76c
--- /dev/null
+++ b/public_test_cases/p01539/input.1.txt
@@ -0,0 +1,4 @@
+0 0 0 2
+1
+0 1
+2 2
diff --git a/public_test_cases/p01539/input.2.txt b/public_test_cases/p01539/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..738e13be7230eefd4ff5ea28c6ea740c33a4e08e
--- /dev/null
+++ b/public_test_cases/p01539/input.2.txt
@@ -0,0 +1,9 @@
+0 0 0 2
+6
+0 1
+1 0
+1 -1
+0 -1
+-1 -1
+-1 0
+2 2
diff --git a/public_test_cases/p01539/input.3.txt b/public_test_cases/p01539/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85019046c1e6277fd1a3e3819210f3e759583b02
--- /dev/null
+++ b/public_test_cases/p01539/input.3.txt
@@ -0,0 +1,3 @@
+0 0 0 2
+0
+2 2
diff --git a/public_test_cases/p01539/output.0.txt b/public_test_cases/p01539/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01539/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01539/output.1.txt b/public_test_cases/p01539/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01539/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01539/output.2.txt b/public_test_cases/p01539/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01539/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01539/output.3.txt b/public_test_cases/p01539/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01539/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01540/input.0.txt b/public_test_cases/p01540/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..638ae73f634f2d4e802bfdb98654e0df7b004395
--- /dev/null
+++ b/public_test_cases/p01540/input.0.txt
@@ -0,0 +1,5 @@
+3 1
+1 1
+2 4
+5 3
+0 0 5 5
diff --git a/public_test_cases/p01540/input.1.txt b/public_test_cases/p01540/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c978a0ca209b2be9394b78e316f8eb5609f5d6
--- /dev/null
+++ b/public_test_cases/p01540/input.1.txt
@@ -0,0 +1,11 @@
+5 5
+10 5
+-3 -8
+2 11
+6 0
+-1 3
+-3 1 3 13
+-1 -1 9 5
+-3 -8 10 11
+0 0 5 5
+-10 -9 15 10
diff --git a/public_test_cases/p01540/input.2.txt b/public_test_cases/p01540/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..638ae73f634f2d4e802bfdb98654e0df7b004395
--- /dev/null
+++ b/public_test_cases/p01540/input.2.txt
@@ -0,0 +1,5 @@
+3 1
+1 1
+2 4
+5 3
+0 0 5 5
diff --git a/public_test_cases/p01540/input.3.txt b/public_test_cases/p01540/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac0f92e26fab927b61e64ce63710ac21026f17e
--- /dev/null
+++ b/public_test_cases/p01540/input.3.txt
@@ -0,0 +1,7 @@
+4 2
+-1 1
+0 3
+4 0
+2 1
+-3 1 5 1
+4 0 4 0
diff --git a/public_test_cases/p01540/input.4.txt b/public_test_cases/p01540/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ab384f88e04921f3e9b8e55d934c5bb1a8ac222
--- /dev/null
+++ b/public_test_cases/p01540/input.4.txt
@@ -0,0 +1,6 @@
+2 3
+0 0
+0 0
+-1 -1 1 1
+0 0 2 2
+1 1 4 4
diff --git a/public_test_cases/p01540/output.0.txt b/public_test_cases/p01540/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01540/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01540/output.1.txt b/public_test_cases/p01540/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28c3b9d1c6696e2b34276650f7918694e6ac8fa3
--- /dev/null
+++ b/public_test_cases/p01540/output.1.txt
@@ -0,0 +1,5 @@
+2
+2
+5
+0
+4
diff --git a/public_test_cases/p01540/output.2.txt b/public_test_cases/p01540/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01540/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01540/output.3.txt b/public_test_cases/p01540/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p01540/output.3.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p01540/output.4.txt b/public_test_cases/p01540/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..073f6a1f4553b50607f473c89c54ef74adab11c4
--- /dev/null
+++ b/public_test_cases/p01540/output.4.txt
@@ -0,0 +1,3 @@
+2
+2
+0
diff --git a/public_test_cases/p01541/input.0.txt b/public_test_cases/p01541/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fa4b16938340a4e415e06180ae61b73e33c40d0
--- /dev/null
+++ b/public_test_cases/p01541/input.0.txt
@@ -0,0 +1,5 @@
+100
+2
+1
+2
+0
diff --git a/public_test_cases/p01541/input.1.txt b/public_test_cases/p01541/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff60234e31a857359ed7a8cba3a77b95f2668882
--- /dev/null
+++ b/public_test_cases/p01541/input.1.txt
@@ -0,0 +1,9 @@
+100
+4
+3
+1
+1
+3
+2
+40
+60
diff --git a/public_test_cases/p01541/input.2.txt b/public_test_cases/p01541/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c333e90727f1bcc8cd9e760efd19c48e63319aba
--- /dev/null
+++ b/public_test_cases/p01541/input.2.txt
@@ -0,0 +1,5 @@
+100
+2
+2
+1
+0
diff --git a/public_test_cases/p01541/input.3.txt b/public_test_cases/p01541/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c780fa6b6f52529fb408c7312f7a53cde07ddd6
--- /dev/null
+++ b/public_test_cases/p01541/input.3.txt
@@ -0,0 +1,7 @@
+100
+3
+2
+1
+1
+1
+50
diff --git a/public_test_cases/p01541/input.4.txt b/public_test_cases/p01541/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fa4b16938340a4e415e06180ae61b73e33c40d0
--- /dev/null
+++ b/public_test_cases/p01541/input.4.txt
@@ -0,0 +1,5 @@
+100
+2
+1
+2
+0
diff --git a/public_test_cases/p01541/output.0.txt b/public_test_cases/p01541/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bc92d44ac9d8a185fa33dec183c593d71d79372
--- /dev/null
+++ b/public_test_cases/p01541/output.0.txt
@@ -0,0 +1 @@
+201
diff --git a/public_test_cases/p01541/output.1.txt b/public_test_cases/p01541/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bb7ac539ae8f07b73046a3afb611ab976ccbd5d
--- /dev/null
+++ b/public_test_cases/p01541/output.1.txt
@@ -0,0 +1 @@
+421
diff --git a/public_test_cases/p01541/output.2.txt b/public_test_cases/p01541/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08839f6bb296e888d311d8ea2f35f7ff82dd3f2d
--- /dev/null
+++ b/public_test_cases/p01541/output.2.txt
@@ -0,0 +1 @@
+200
diff --git a/public_test_cases/p01541/output.3.txt b/public_test_cases/p01541/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08839f6bb296e888d311d8ea2f35f7ff82dd3f2d
--- /dev/null
+++ b/public_test_cases/p01541/output.3.txt
@@ -0,0 +1 @@
+200
diff --git a/public_test_cases/p01541/output.4.txt b/public_test_cases/p01541/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bc92d44ac9d8a185fa33dec183c593d71d79372
--- /dev/null
+++ b/public_test_cases/p01541/output.4.txt
@@ -0,0 +1 @@
+201
diff --git a/public_test_cases/p01542/input.0.txt b/public_test_cases/p01542/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f087a34c80c2123f05aae01e910c871b9e23773
--- /dev/null
+++ b/public_test_cases/p01542/input.0.txt
@@ -0,0 +1 @@
+000
diff --git a/public_test_cases/p01542/input.1.txt b/public_test_cases/p01542/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba66466c2a0d0a1080ad71d8e1a67a97f336c384
--- /dev/null
+++ b/public_test_cases/p01542/input.1.txt
@@ -0,0 +1 @@
+0.0
diff --git a/public_test_cases/p01542/input.2.txt b/public_test_cases/p01542/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39259d1c3efd03eab6a1982812db25f47aa7129b
--- /dev/null
+++ b/public_test_cases/p01542/input.2.txt
@@ -0,0 +1 @@
+(1.1)
diff --git a/public_test_cases/p01542/input.3.txt b/public_test_cases/p01542/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb1ae458f8ee6e88c072a9989724d7685c56beb1
--- /dev/null
+++ b/public_test_cases/p01542/input.3.txt
@@ -0,0 +1 @@
+...
diff --git a/public_test_cases/p01542/input.4.txt b/public_test_cases/p01542/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba25aea5642b5df8019bcc185def9da860917a0e
--- /dev/null
+++ b/public_test_cases/p01542/input.4.txt
@@ -0,0 +1 @@
+0-1.
diff --git a/public_test_cases/p01542/input.5.txt b/public_test_cases/p01542/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f087a34c80c2123f05aae01e910c871b9e23773
--- /dev/null
+++ b/public_test_cases/p01542/input.5.txt
@@ -0,0 +1 @@
+000
diff --git a/public_test_cases/p01542/output.0.txt b/public_test_cases/p01542/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01542/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01542/output.1.txt b/public_test_cases/p01542/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01542/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01542/output.2.txt b/public_test_cases/p01542/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01542/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01542/output.3.txt b/public_test_cases/p01542/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01542/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01542/output.4.txt b/public_test_cases/p01542/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01542/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01542/output.5.txt b/public_test_cases/p01542/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01542/output.5.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01543/input.0.txt b/public_test_cases/p01543/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f56a128a67862ea2ec7e0c4ad671a18a16429b34
--- /dev/null
+++ b/public_test_cases/p01543/input.0.txt
@@ -0,0 +1,10 @@
+3
+1 1 1
+1 1 1
+1 1 1
+1 1 1
+1 1 1
+1 1 1
+o.o
+...
+.o.
diff --git a/public_test_cases/p01543/input.1.txt b/public_test_cases/p01543/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fb26381c2c8705485baf7000f51f78ba646f128
--- /dev/null
+++ b/public_test_cases/p01543/input.1.txt
@@ -0,0 +1,13 @@
+4
+1 2 3 4
+1 2 3 4
+1 2 3 4
+1 2 3 4
+1 2 3 4
+1 2 3 4
+1 2 3 4
+1 2 3 4
+oooo
+oooo
+oooo
+oooo
diff --git a/public_test_cases/p01543/input.2.txt b/public_test_cases/p01543/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb2534db2a1da683e644c5fde4a16efbd37137ad
--- /dev/null
+++ b/public_test_cases/p01543/input.2.txt
@@ -0,0 +1,10 @@
+3
+1 1 1
+1 1 1
+1 1 1
+1 1 1
+1 1 1
+1 1 1
+o..
+.o.
+..o
diff --git a/public_test_cases/p01543/input.3.txt b/public_test_cases/p01543/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f56a128a67862ea2ec7e0c4ad671a18a16429b34
--- /dev/null
+++ b/public_test_cases/p01543/input.3.txt
@@ -0,0 +1,10 @@
+3
+1 1 1
+1 1 1
+1 1 1
+1 1 1
+1 1 1
+1 1 1
+o.o
+...
+.o.
diff --git a/public_test_cases/p01543/output.0.txt b/public_test_cases/p01543/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..489a08cf26de862776766c3318037cf7832ea8ee
--- /dev/null
+++ b/public_test_cases/p01543/output.0.txt
@@ -0,0 +1,4 @@
+2
+2
+1 3 erase
+2 3 write
diff --git a/public_test_cases/p01543/output.1.txt b/public_test_cases/p01543/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..862cecfc8e7a181dc4381697f758c8208ade0cd7
--- /dev/null
+++ b/public_test_cases/p01543/output.1.txt
@@ -0,0 +1,14 @@
+30
+12
+1 1 erase
+1 2 erase
+1 3 erase
+2 1 erase
+2 2 erase
+2 4 erase
+3 1 erase
+3 3 erase
+3 4 erase
+4 2 erase
+4 3 erase
+4 4 erase
diff --git a/public_test_cases/p01543/output.2.txt b/public_test_cases/p01543/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa47d0d46d47a06090f436b0b851b76bb6f3b6e2
--- /dev/null
+++ b/public_test_cases/p01543/output.2.txt
@@ -0,0 +1,2 @@
+0
+0
diff --git a/public_test_cases/p01543/output.3.txt b/public_test_cases/p01543/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..489a08cf26de862776766c3318037cf7832ea8ee
--- /dev/null
+++ b/public_test_cases/p01543/output.3.txt
@@ -0,0 +1,4 @@
+2
+2
+1 3 erase
+2 3 write
diff --git a/public_test_cases/p01544/input.0.txt b/public_test_cases/p01544/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb25ab683c82bc3289c24336d1b3cd8a711b58c9
--- /dev/null
+++ b/public_test_cases/p01544/input.0.txt
@@ -0,0 +1,4 @@
+3
+1
+2
+4
diff --git a/public_test_cases/p01544/input.1.txt b/public_test_cases/p01544/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..330933ffc0f69e762f248c9d032f2dfcadbeefd3
--- /dev/null
+++ b/public_test_cases/p01544/input.1.txt
@@ -0,0 +1,4 @@
+3
+4
+2
+1
diff --git a/public_test_cases/p01544/input.2.txt b/public_test_cases/p01544/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb25ab683c82bc3289c24336d1b3cd8a711b58c9
--- /dev/null
+++ b/public_test_cases/p01544/input.2.txt
@@ -0,0 +1,4 @@
+3
+1
+2
+4
diff --git a/public_test_cases/p01544/input.3.txt b/public_test_cases/p01544/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47caebfbef7dff406435e96bcb077353adfe2a4e
--- /dev/null
+++ b/public_test_cases/p01544/input.3.txt
@@ -0,0 +1,4 @@
+3
+2
+2
+2
diff --git a/public_test_cases/p01544/output.0.txt b/public_test_cases/p01544/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..655926867979efc0d6df8145b3df7ec0b9be971a
--- /dev/null
+++ b/public_test_cases/p01544/output.0.txt
@@ -0,0 +1,2 @@
+3
+1 2
diff --git a/public_test_cases/p01544/output.1.txt b/public_test_cases/p01544/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0882bc13239cdd33e350d87c7888c8da565a232b
--- /dev/null
+++ b/public_test_cases/p01544/output.1.txt
@@ -0,0 +1,2 @@
+1
+(空行)
diff --git a/public_test_cases/p01544/output.2.txt b/public_test_cases/p01544/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..655926867979efc0d6df8145b3df7ec0b9be971a
--- /dev/null
+++ b/public_test_cases/p01544/output.2.txt
@@ -0,0 +1,2 @@
+3
+1 2
diff --git a/public_test_cases/p01544/output.3.txt b/public_test_cases/p01544/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p01544/output.3.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p01545/input.0.txt b/public_test_cases/p01545/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98c3cdb827e227fc2dae7159ec6ebd576f5306ce
--- /dev/null
+++ b/public_test_cases/p01545/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 4 2 3
diff --git a/public_test_cases/p01545/input.1.txt b/public_test_cases/p01545/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a6d86d594377511b91f16cb4e83f6746e1b5e7e
--- /dev/null
+++ b/public_test_cases/p01545/input.1.txt
@@ -0,0 +1,2 @@
+8
+6 2 1 3 8 5 4 7
diff --git a/public_test_cases/p01545/input.2.txt b/public_test_cases/p01545/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3211909f096efb51d4e8ba04f21ce00cd75693fa
--- /dev/null
+++ b/public_test_cases/p01545/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 5 3 2 4
diff --git a/public_test_cases/p01545/input.3.txt b/public_test_cases/p01545/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1867bcc2bb2dbdce09956ca9bd917b085cfdda7b
--- /dev/null
+++ b/public_test_cases/p01545/input.3.txt
@@ -0,0 +1,2 @@
+7
+1 2 3 4 5 6 7
diff --git a/public_test_cases/p01545/input.4.txt b/public_test_cases/p01545/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98c3cdb827e227fc2dae7159ec6ebd576f5306ce
--- /dev/null
+++ b/public_test_cases/p01545/input.4.txt
@@ -0,0 +1,2 @@
+4
+1 4 2 3
diff --git a/public_test_cases/p01545/output.0.txt b/public_test_cases/p01545/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01545/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01545/output.1.txt b/public_test_cases/p01545/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p01545/output.1.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p01545/output.2.txt b/public_test_cases/p01545/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01545/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01545/output.3.txt b/public_test_cases/p01545/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01545/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01545/output.4.txt b/public_test_cases/p01545/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01545/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01546/input.0.txt b/public_test_cases/p01546/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..983433d87103a8719556a6fb2eecc847c4989aec
--- /dev/null
+++ b/public_test_cases/p01546/input.0.txt
@@ -0,0 +1,10 @@
+3 9 89
+2 0 2
+1 0 3
+2 0 1
+2 0 3
+0 1 1
+0 1 2
+1 2 3
+0 1 1
+1 0 2
diff --git a/public_test_cases/p01546/input.1.txt b/public_test_cases/p01546/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4a7cf962a3734fb7884e1584b8213e89ccf0439
--- /dev/null
+++ b/public_test_cases/p01546/input.1.txt
@@ -0,0 +1,9 @@
+7 8 4000
+0 1 1
+1 0 1
+1 2 2
+2 3 2
+3 4 2
+5 4 3
+3 5 4
+5 6 5
diff --git a/public_test_cases/p01546/input.2.txt b/public_test_cases/p01546/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73c24018a0866d8a224f58f77b2dc95913c24333
--- /dev/null
+++ b/public_test_cases/p01546/input.2.txt
@@ -0,0 +1 @@
+2 0 1
diff --git a/public_test_cases/p01546/input.3.txt b/public_test_cases/p01546/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..983433d87103a8719556a6fb2eecc847c4989aec
--- /dev/null
+++ b/public_test_cases/p01546/input.3.txt
@@ -0,0 +1,10 @@
+3 9 89
+2 0 2
+1 0 3
+2 0 1
+2 0 3
+0 1 1
+0 1 2
+1 2 3
+0 1 1
+1 0 2
diff --git a/public_test_cases/p01546/output.0.txt b/public_test_cases/p01546/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..659d12303394c198a1669a15b1549a6db6d0978d
--- /dev/null
+++ b/public_test_cases/p01546/output.0.txt
@@ -0,0 +1,2 @@
+34
+1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 0
diff --git a/public_test_cases/p01546/output.1.txt b/public_test_cases/p01546/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3f9da2b2a6b17e3b3ed9246842c2f2b31dd78fb
--- /dev/null
+++ b/public_test_cases/p01546/output.1.txt
@@ -0,0 +1 @@
+3991
diff --git a/public_test_cases/p01546/output.2.txt b/public_test_cases/p01546/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01546/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01546/output.3.txt b/public_test_cases/p01546/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..659d12303394c198a1669a15b1549a6db6d0978d
--- /dev/null
+++ b/public_test_cases/p01546/output.3.txt
@@ -0,0 +1,2 @@
+34
+1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 0
diff --git a/public_test_cases/p01547/input.0.txt b/public_test_cases/p01547/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..974132f40fda2f572214d40f2bc78fe0fd3a006f
--- /dev/null
+++ b/public_test_cases/p01547/input.0.txt
@@ -0,0 +1,12 @@
+2
+4
+0 4
+1 1
+3 1
+4 4
+3
+6 0
+10 0
+8 7
+1
+2 3 9 1
diff --git a/public_test_cases/p01547/input.1.txt b/public_test_cases/p01547/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..974132f40fda2f572214d40f2bc78fe0fd3a006f
--- /dev/null
+++ b/public_test_cases/p01547/input.1.txt
@@ -0,0 +1,12 @@
+2
+4
+0 4
+1 1
+3 1
+4 4
+3
+6 0
+10 0
+8 7
+1
+2 3 9 1
diff --git a/public_test_cases/p01547/input.2.txt b/public_test_cases/p01547/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..570d064242f161423dacab368f9fc4acb8884251
--- /dev/null
+++ b/public_test_cases/p01547/input.2.txt
@@ -0,0 +1,13 @@
+2
+4
+0 0
+10 0
+10 10
+0 10
+4
+10 0
+20 0
+20 10
+10 10
+1
+5 5 15 5
diff --git a/public_test_cases/p01547/input.3.txt b/public_test_cases/p01547/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6f386db78de1382ad7a07f5f11a10c31b7da672
--- /dev/null
+++ b/public_test_cases/p01547/input.3.txt
@@ -0,0 +1,14 @@
+2
+4
+0 0
+10 0
+10 10
+0 10
+4
+0 0
+10 0
+10 10
+0 10
+2
+15 5 5 5
+5 5 15 5
diff --git a/public_test_cases/p01547/input.4.txt b/public_test_cases/p01547/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..313172450dc5a8392de9ad75d493c8ff74f3bebe
--- /dev/null
+++ b/public_test_cases/p01547/input.4.txt
@@ -0,0 +1,9 @@
+1
+4
+0 0
+10 0
+10 10
+0 10
+2
+15 5 5 5
+5 5 15 5
diff --git a/public_test_cases/p01547/input.5.txt b/public_test_cases/p01547/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e0d911e44ac4e3a986a6678acb04f82f919fc98
--- /dev/null
+++ b/public_test_cases/p01547/input.5.txt
@@ -0,0 +1,11 @@
+2
+3
+0 0
+10 0
+5 10
+3
+5 0
+15 0
+10 10
+1
+5 5 10 5
diff --git a/public_test_cases/p01547/output.0.txt b/public_test_cases/p01547/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01547/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01547/output.1.txt b/public_test_cases/p01547/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01547/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01547/output.2.txt b/public_test_cases/p01547/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01547/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01547/output.3.txt b/public_test_cases/p01547/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51993f072d5832f20b98b6bd0cf763fb8b4c8a1b
--- /dev/null
+++ b/public_test_cases/p01547/output.3.txt
@@ -0,0 +1,2 @@
+2
+2
diff --git a/public_test_cases/p01547/output.4.txt b/public_test_cases/p01547/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p01547/output.4.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p01547/output.5.txt b/public_test_cases/p01547/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01547/output.5.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01548/input.0.txt b/public_test_cases/p01548/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38f3701c75d4347393880f3036b6e8895fe180d0
--- /dev/null
+++ b/public_test_cases/p01548/input.0.txt
@@ -0,0 +1,5 @@
+4 1
+1 1 1
+1 1 1
+1 1 1
+1 1 1
diff --git a/public_test_cases/p01548/input.1.txt b/public_test_cases/p01548/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38f3701c75d4347393880f3036b6e8895fe180d0
--- /dev/null
+++ b/public_test_cases/p01548/input.1.txt
@@ -0,0 +1,5 @@
+4 1
+1 1 1
+1 1 1
+1 1 1
+1 1 1
diff --git a/public_test_cases/p01548/input.2.txt b/public_test_cases/p01548/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..176fa923190b4e2f727ce4e2dc74afd43450a74e
--- /dev/null
+++ b/public_test_cases/p01548/input.2.txt
@@ -0,0 +1,10 @@
+9 9
+13 5 19
+19 21 37
+15 1 7
+7 11 15
+21 23 25
+33 29 19
+13 19 11
+21 5 15
+7 13 1
diff --git a/public_test_cases/p01548/input.3.txt b/public_test_cases/p01548/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e14775a1395a39df1aa7b236bf9438bb132d49fe
--- /dev/null
+++ b/public_test_cases/p01548/input.3.txt
@@ -0,0 +1,5 @@
+4 10
+1 1 1
+10 10 10
+10 10 10
+10 10 10
diff --git a/public_test_cases/p01548/output.0.txt b/public_test_cases/p01548/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c2970418cb91498c0defa164f996a936836d82b
--- /dev/null
+++ b/public_test_cases/p01548/output.0.txt
@@ -0,0 +1 @@
+2.777777777778
diff --git a/public_test_cases/p01548/output.1.txt b/public_test_cases/p01548/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c2970418cb91498c0defa164f996a936836d82b
--- /dev/null
+++ b/public_test_cases/p01548/output.1.txt
@@ -0,0 +1 @@
+2.777777777778
diff --git a/public_test_cases/p01548/output.2.txt b/public_test_cases/p01548/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88b17dcf91e970573b61a25ad28948733be5da2b
--- /dev/null
+++ b/public_test_cases/p01548/output.2.txt
@@ -0,0 +1 @@
+4.678837855075
diff --git a/public_test_cases/p01548/output.3.txt b/public_test_cases/p01548/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc70ff0d610a6ed122eb2503260acab3011dfa4c
--- /dev/null
+++ b/public_test_cases/p01548/output.3.txt
@@ -0,0 +1 @@
+-2.335340954780
diff --git a/public_test_cases/p01549/input.0.txt b/public_test_cases/p01549/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5840196d6e003eb0a8e8ac9386f687f35d291f26
--- /dev/null
+++ b/public_test_cases/p01549/input.0.txt
@@ -0,0 +1,4 @@
+1
+a 1 10
+3
+10 a /
diff --git a/public_test_cases/p01549/input.1.txt b/public_test_cases/p01549/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4249cf6f5f12c812532a457809b265c45f0323a6
--- /dev/null
+++ b/public_test_cases/p01549/input.1.txt
@@ -0,0 +1,4 @@
+1
+a 0 255
+7
+1 a 2 * 1 + /
diff --git a/public_test_cases/p01549/input.2.txt b/public_test_cases/p01549/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5840196d6e003eb0a8e8ac9386f687f35d291f26
--- /dev/null
+++ b/public_test_cases/p01549/input.2.txt
@@ -0,0 +1,4 @@
+1
+a 1 10
+3
+10 a /
diff --git a/public_test_cases/p01549/input.3.txt b/public_test_cases/p01549/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b9e38ab295e3a2ebf804299541bb7292570c463
--- /dev/null
+++ b/public_test_cases/p01549/input.3.txt
@@ -0,0 +1,5 @@
+2
+a 1 10
+b 1 10
+5
+1 a b - /
diff --git a/public_test_cases/p01549/output.0.txt b/public_test_cases/p01549/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..818e321255fbb4a60638e17ad13b35731bace83b
--- /dev/null
+++ b/public_test_cases/p01549/output.0.txt
@@ -0,0 +1 @@
+correct
diff --git a/public_test_cases/p01549/output.1.txt b/public_test_cases/p01549/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..818e321255fbb4a60638e17ad13b35731bace83b
--- /dev/null
+++ b/public_test_cases/p01549/output.1.txt
@@ -0,0 +1 @@
+correct
diff --git a/public_test_cases/p01549/output.2.txt b/public_test_cases/p01549/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..818e321255fbb4a60638e17ad13b35731bace83b
--- /dev/null
+++ b/public_test_cases/p01549/output.2.txt
@@ -0,0 +1 @@
+correct
diff --git a/public_test_cases/p01549/output.3.txt b/public_test_cases/p01549/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8276753746b12b5843b25ec22b5a061787b0b670
--- /dev/null
+++ b/public_test_cases/p01549/output.3.txt
@@ -0,0 +1 @@
+error
diff --git a/public_test_cases/p01550/input.0.txt b/public_test_cases/p01550/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p01550/input.0.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p01550/input.1.txt b/public_test_cases/p01550/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p01550/input.1.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p01550/input.2.txt b/public_test_cases/p01550/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aeb669e1498972cef39c1770a1422b92c7e1ff16
--- /dev/null
+++ b/public_test_cases/p01550/input.2.txt
@@ -0,0 +1,5 @@
+4
+0
+4
+7
+8
diff --git a/public_test_cases/p01550/input.3.txt b/public_test_cases/p01550/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98116a7daf0bcccd73a52dc0a9239d00138aefba
--- /dev/null
+++ b/public_test_cases/p01550/input.3.txt
@@ -0,0 +1,3 @@
+2
+1
+11
diff --git a/public_test_cases/p01550/output.0.txt b/public_test_cases/p01550/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p01550/output.0.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p01550/output.1.txt b/public_test_cases/p01550/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p01550/output.1.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p01550/output.2.txt b/public_test_cases/p01550/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8994f58e46dc55f5a54e2201d58aa19e0e0f9ea
--- /dev/null
+++ b/public_test_cases/p01550/output.2.txt
@@ -0,0 +1 @@
+135299
diff --git a/public_test_cases/p01550/output.3.txt b/public_test_cases/p01550/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b5813c6a7ebef887d9dc34812413e64603bc838
--- /dev/null
+++ b/public_test_cases/p01550/output.3.txt
@@ -0,0 +1 @@
+234
diff --git a/public_test_cases/p01551/input.0.txt b/public_test_cases/p01551/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..930fdfa352e64e76fb76ae6e24f2c93a1e861bd0
--- /dev/null
+++ b/public_test_cases/p01551/input.0.txt
@@ -0,0 +1,5 @@
+1 0 1 0
+3
+dna: a b
+a: [AT]
+b: [GC]
diff --git a/public_test_cases/p01551/input.1.txt b/public_test_cases/p01551/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c3f7fa86aa9202920d22f9f4bd05899f68bf48d
--- /dev/null
+++ b/public_test_cases/p01551/input.1.txt
@@ -0,0 +1,3 @@
+1 1 1 2
+1
+k: [ATG] [ATG] [ATG] [C] [C]
diff --git a/public_test_cases/p01551/input.2.txt b/public_test_cases/p01551/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8b05463bb79c9aa54f551291a36af35ae83f9ec
--- /dev/null
+++ b/public_test_cases/p01551/input.2.txt
@@ -0,0 +1,5 @@
+3 1 1 1
+3
+inv: at b b b
+at: [ATG] b
+b: [C]
diff --git a/public_test_cases/p01551/input.3.txt b/public_test_cases/p01551/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..930fdfa352e64e76fb76ae6e24f2c93a1e861bd0
--- /dev/null
+++ b/public_test_cases/p01551/input.3.txt
@@ -0,0 +1,5 @@
+1 0 1 0
+3
+dna: a b
+a: [AT]
+b: [GC]
diff --git a/public_test_cases/p01551/output.0.txt b/public_test_cases/p01551/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01551/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01551/output.1.txt b/public_test_cases/p01551/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01551/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01551/output.2.txt b/public_test_cases/p01551/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01551/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01551/output.3.txt b/public_test_cases/p01551/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01551/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01552/input.0.txt b/public_test_cases/p01552/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f020ce9d2e4fccdaf458c9c30a02f376a8fc026
--- /dev/null
+++ b/public_test_cases/p01552/input.0.txt
@@ -0,0 +1,6 @@
+.tweets.1
+name: shimeji
+id: shimejitan
+tweets:
+ 1: shimejilove
+ 2: azupero
diff --git a/public_test_cases/p01552/input.1.txt b/public_test_cases/p01552/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc73cd0ea101adcfa2a3a008e2758affbd450cf5
--- /dev/null
+++ b/public_test_cases/p01552/input.1.txt
@@ -0,0 +1,6 @@
+.tweets.1
+name: shimeji
+id: shimejitan
+tweets:
+1: shimejilove
+2: azupero
diff --git a/public_test_cases/p01552/input.2.txt b/public_test_cases/p01552/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3baeb42adb74ebb624037711a1c50f5fcc93279f
--- /dev/null
+++ b/public_test_cases/p01552/input.2.txt
@@ -0,0 +1,4 @@
+.no.such.property
+object:
+prop1: str
+prop2: str
diff --git a/public_test_cases/p01552/input.3.txt b/public_test_cases/p01552/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f020ce9d2e4fccdaf458c9c30a02f376a8fc026
--- /dev/null
+++ b/public_test_cases/p01552/input.3.txt
@@ -0,0 +1,6 @@
+.tweets.1
+name: shimeji
+id: shimejitan
+tweets:
+ 1: shimejilove
+ 2: azupero
diff --git a/public_test_cases/p01552/input.4.txt b/public_test_cases/p01552/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d78d4de892b62fccb55077d5857466cf8259e9f7
--- /dev/null
+++ b/public_test_cases/p01552/input.4.txt
@@ -0,0 +1,7 @@
+.my.obj
+my:
+str: string value
+obj:
+a: a
+b: b
+c: c
diff --git a/public_test_cases/p01552/input.5.txt b/public_test_cases/p01552/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e0758a18c7e207043cc462bf044ecca1aa0853d
--- /dev/null
+++ b/public_test_cases/p01552/input.5.txt
@@ -0,0 +1,2 @@
+.a
+a: sample case
diff --git a/public_test_cases/p01552/input.6.txt b/public_test_cases/p01552/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b97a8e24f91cdca2f9aa7a37bca53c5f2a71d4b8
--- /dev/null
+++ b/public_test_cases/p01552/input.6.txt
@@ -0,0 +1,2 @@
+.str.inner
+str: inner
diff --git a/public_test_cases/p01552/output.0.txt b/public_test_cases/p01552/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf5c7c7cf29dde0654582849629491291e32aea5
--- /dev/null
+++ b/public_test_cases/p01552/output.0.txt
@@ -0,0 +1 @@
+string "shimejilove"
diff --git a/public_test_cases/p01552/output.1.txt b/public_test_cases/p01552/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf5c7c7cf29dde0654582849629491291e32aea5
--- /dev/null
+++ b/public_test_cases/p01552/output.1.txt
@@ -0,0 +1 @@
+string "shimejilove"
diff --git a/public_test_cases/p01552/output.2.txt b/public_test_cases/p01552/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b0a9ad0af189ef480ec0f8887da515cb21b19b3
--- /dev/null
+++ b/public_test_cases/p01552/output.2.txt
@@ -0,0 +1 @@
+no such property
diff --git a/public_test_cases/p01552/output.3.txt b/public_test_cases/p01552/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf5c7c7cf29dde0654582849629491291e32aea5
--- /dev/null
+++ b/public_test_cases/p01552/output.3.txt
@@ -0,0 +1 @@
+string "shimejilove"
diff --git a/public_test_cases/p01552/output.4.txt b/public_test_cases/p01552/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2f6b779bb955caccbca4cafb2886569e46608f2
--- /dev/null
+++ b/public_test_cases/p01552/output.4.txt
@@ -0,0 +1 @@
+object
diff --git a/public_test_cases/p01552/output.5.txt b/public_test_cases/p01552/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9da678118db62a6c03a0ae5fe4a78a765f6bfef8
--- /dev/null
+++ b/public_test_cases/p01552/output.5.txt
@@ -0,0 +1 @@
+string "sample case"
diff --git a/public_test_cases/p01552/output.6.txt b/public_test_cases/p01552/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b0a9ad0af189ef480ec0f8887da515cb21b19b3
--- /dev/null
+++ b/public_test_cases/p01552/output.6.txt
@@ -0,0 +1 @@
+no such property
diff --git a/public_test_cases/p01553/input.0.txt b/public_test_cases/p01553/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3952b3499ceefef3b59bd5e3fe33a135c3e6bba2
--- /dev/null
+++ b/public_test_cases/p01553/input.0.txt
@@ -0,0 +1,4 @@
+3
+-
+U
+D
diff --git a/public_test_cases/p01553/input.1.txt b/public_test_cases/p01553/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3952b3499ceefef3b59bd5e3fe33a135c3e6bba2
--- /dev/null
+++ b/public_test_cases/p01553/input.1.txt
@@ -0,0 +1,4 @@
+3
+-
+U
+D
diff --git a/public_test_cases/p01553/input.2.txt b/public_test_cases/p01553/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d0d05a718d6b3fddc741c159cbda80788243a5c
--- /dev/null
+++ b/public_test_cases/p01553/input.2.txt
@@ -0,0 +1,11 @@
+10
+U
+D
+U
+D
+U
+D
+U
+D
+U
+D
diff --git a/public_test_cases/p01553/input.3.txt b/public_test_cases/p01553/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d54e00c161fb5c545e674edd71527fcbfd9922a
--- /dev/null
+++ b/public_test_cases/p01553/input.3.txt
@@ -0,0 +1,9 @@
+8
+U
+D
+D
+D
+D
+D
+D
+D
diff --git a/public_test_cases/p01553/input.4.txt b/public_test_cases/p01553/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..680d1a1a4746969109de5bdcbca335a8bfab19b8
--- /dev/null
+++ b/public_test_cases/p01553/input.4.txt
@@ -0,0 +1,3 @@
+2
+D
+U
diff --git a/public_test_cases/p01553/input.5.txt b/public_test_cases/p01553/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6238ce0f203f017276f97baa3ea5f32bf5d319f3
--- /dev/null
+++ b/public_test_cases/p01553/input.5.txt
@@ -0,0 +1,6 @@
+5
+U
+U
+-
+D
+D
diff --git a/public_test_cases/p01553/output.0.txt b/public_test_cases/p01553/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01553/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01553/output.1.txt b/public_test_cases/p01553/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01553/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01553/output.2.txt b/public_test_cases/p01553/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce5acf70991a02c791a7b82fa6ad9537e8576366
--- /dev/null
+++ b/public_test_cases/p01553/output.2.txt
@@ -0,0 +1 @@
+608
diff --git a/public_test_cases/p01553/output.3.txt b/public_test_cases/p01553/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01553/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01553/output.4.txt b/public_test_cases/p01553/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01553/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01553/output.5.txt b/public_test_cases/p01553/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01553/output.5.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01554/input.0.txt b/public_test_cases/p01554/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbb640c2c395fec19b4b7d08ea75053788f58cf5
--- /dev/null
+++ b/public_test_cases/p01554/input.0.txt
@@ -0,0 +1,11 @@
+4
+abcd
+efgh
+ijkl
+mnop
+5
+abcd
+abcc
+efgh
+abcd
+mnop
diff --git a/public_test_cases/p01554/output.0.txt b/public_test_cases/p01554/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87d6e5774bc124098e73db562ea7474669c3f178
--- /dev/null
+++ b/public_test_cases/p01554/output.0.txt
@@ -0,0 +1,5 @@
+Opened by abcd
+Unknown abcc
+Closed by efgh
+Opened by abcd
+Closed by mnop
diff --git a/public_test_cases/p01555/input.0.txt b/public_test_cases/p01555/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01555/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01555/input.1.txt b/public_test_cases/p01555/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p01555/input.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p01555/input.2.txt b/public_test_cases/p01555/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa70b89f2419392b9755e77e59b6b93b424cca9a
--- /dev/null
+++ b/public_test_cases/p01555/input.2.txt
@@ -0,0 +1 @@
+10000000000
diff --git a/public_test_cases/p01555/input.3.txt b/public_test_cases/p01555/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01555/input.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01555/output.0.txt b/public_test_cases/p01555/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..234bdd8db06dd8ce4c24da815c9c977a4929a7b6
--- /dev/null
+++ b/public_test_cases/p01555/output.0.txt
@@ -0,0 +1 @@
+12Fizz4BuzzFizz78Fiz
diff --git a/public_test_cases/p01555/output.1.txt b/public_test_cases/p01555/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12248914f4861db2d1619d0db8d807415dad1c08
--- /dev/null
+++ b/public_test_cases/p01555/output.1.txt
@@ -0,0 +1 @@
+zzBuzz11Fizz1314Fizz
diff --git a/public_test_cases/p01555/output.2.txt b/public_test_cases/p01555/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95f536ba9c2fa8981483395aa9dfcd2e83a88b38
--- /dev/null
+++ b/public_test_cases/p01555/output.2.txt
@@ -0,0 +1 @@
+93FizzBuzz1418650796
diff --git a/public_test_cases/p01555/output.3.txt b/public_test_cases/p01555/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..234bdd8db06dd8ce4c24da815c9c977a4929a7b6
--- /dev/null
+++ b/public_test_cases/p01555/output.3.txt
@@ -0,0 +1 @@
+12Fizz4BuzzFizz78Fiz
diff --git a/public_test_cases/p01556/input.0.txt b/public_test_cases/p01556/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1a49c5457dbf5f05a951ef9c8c63e5b18591355
--- /dev/null
+++ b/public_test_cases/p01556/input.0.txt
@@ -0,0 +1,5 @@
+4
+100 100
+0 100
+0 0
+100 0
diff --git a/public_test_cases/p01556/input.1.txt b/public_test_cases/p01556/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1a49c5457dbf5f05a951ef9c8c63e5b18591355
--- /dev/null
+++ b/public_test_cases/p01556/input.1.txt
@@ -0,0 +1,5 @@
+4
+100 100
+0 100
+0 0
+100 0
diff --git a/public_test_cases/p01556/input.2.txt b/public_test_cases/p01556/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60fb45158917b35eb258232eb7f2178167ef126c
--- /dev/null
+++ b/public_test_cases/p01556/input.2.txt
@@ -0,0 +1,4 @@
+3
+100 100
+0 100
+0 0
diff --git a/public_test_cases/p01556/output.0.txt b/public_test_cases/p01556/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2b2918388e8789b576e640acdcef041bf943a57
--- /dev/null
+++ b/public_test_cases/p01556/output.0.txt
@@ -0,0 +1 @@
+50.00000 50.00000
diff --git a/public_test_cases/p01556/output.1.txt b/public_test_cases/p01556/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2b2918388e8789b576e640acdcef041bf943a57
--- /dev/null
+++ b/public_test_cases/p01556/output.1.txt
@@ -0,0 +1 @@
+50.00000 50.00000
diff --git a/public_test_cases/p01556/output.2.txt b/public_test_cases/p01556/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69fc4ef2be0c2550c183850902cb55dbf3d37b30
--- /dev/null
+++ b/public_test_cases/p01556/output.2.txt
@@ -0,0 +1 @@
+NA
diff --git a/public_test_cases/p01557/input.0.txt b/public_test_cases/p01557/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28360663082779fc5b0073c379f3bd0a3995650e
--- /dev/null
+++ b/public_test_cases/p01557/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 4 3 5 2
diff --git a/public_test_cases/p01557/input.1.txt b/public_test_cases/p01557/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p01557/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p01557/input.2.txt b/public_test_cases/p01557/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28360663082779fc5b0073c379f3bd0a3995650e
--- /dev/null
+++ b/public_test_cases/p01557/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 4 3 5 2
diff --git a/public_test_cases/p01557/input.3.txt b/public_test_cases/p01557/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..395c0477b6ff70177fb8ef2a7be17d33d7915f36
--- /dev/null
+++ b/public_test_cases/p01557/input.3.txt
@@ -0,0 +1,2 @@
+10
+3 1 5 2 7 4 9 6 10 8
diff --git a/public_test_cases/p01557/input.4.txt b/public_test_cases/p01557/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88e49fe3ef69b291a170f7b8516b9395c79e54fd
--- /dev/null
+++ b/public_test_cases/p01557/input.4.txt
@@ -0,0 +1,2 @@
+5
+3 1 5 2 4
diff --git a/public_test_cases/p01557/output.0.txt b/public_test_cases/p01557/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01557/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01557/output.1.txt b/public_test_cases/p01557/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01557/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01557/output.2.txt b/public_test_cases/p01557/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01557/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01557/output.3.txt b/public_test_cases/p01557/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01557/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01557/output.4.txt b/public_test_cases/p01557/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01557/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01558/input.0.txt b/public_test_cases/p01558/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c790f1c45d30245590c5c1948688cab6f37ff89
--- /dev/null
+++ b/public_test_cases/p01558/input.0.txt
@@ -0,0 +1,6 @@
+5 4
+abcde
+R++
+R++
+L++
+L--
diff --git a/public_test_cases/p01558/input.1.txt b/public_test_cases/p01558/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c790f1c45d30245590c5c1948688cab6f37ff89
--- /dev/null
+++ b/public_test_cases/p01558/input.1.txt
@@ -0,0 +1,6 @@
+5 4
+abcde
+R++
+R++
+L++
+L--
diff --git a/public_test_cases/p01558/input.2.txt b/public_test_cases/p01558/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..466e4aecbc3772582b283009f1ecb20507918e09
--- /dev/null
+++ b/public_test_cases/p01558/input.2.txt
@@ -0,0 +1,15 @@
+10 13
+aacacbabac
+R++
+R++
+L++
+R++
+R++
+L++
+L++
+R++
+R++
+L--
+L--
+R--
+R--
diff --git a/public_test_cases/p01558/input.3.txt b/public_test_cases/p01558/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04e6da6db799f0783482c9d822e1dde1f2224146
--- /dev/null
+++ b/public_test_cases/p01558/input.3.txt
@@ -0,0 +1,8 @@
+4 6
+abab
+R++
+L++
+R++
+L++
+R++
+L++
diff --git a/public_test_cases/p01558/output.0.txt b/public_test_cases/p01558/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01558/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01558/output.1.txt b/public_test_cases/p01558/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01558/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01558/output.2.txt b/public_test_cases/p01558/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01558/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01558/output.3.txt b/public_test_cases/p01558/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01558/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01559/input.0.txt b/public_test_cases/p01559/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c91fc456a55f62b231b0bb99a48540e5320a73b
--- /dev/null
+++ b/public_test_cases/p01559/input.0.txt
@@ -0,0 +1 @@
+3 0
diff --git a/public_test_cases/p01559/input.1.txt b/public_test_cases/p01559/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c91fc456a55f62b231b0bb99a48540e5320a73b
--- /dev/null
+++ b/public_test_cases/p01559/input.1.txt
@@ -0,0 +1 @@
+3 0
diff --git a/public_test_cases/p01559/input.2.txt b/public_test_cases/p01559/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a722fbed65d7af24e7bb40865060083927e55e3a
--- /dev/null
+++ b/public_test_cases/p01559/input.2.txt
@@ -0,0 +1,2 @@
+3 1
+2 2
diff --git a/public_test_cases/p01559/input.3.txt b/public_test_cases/p01559/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a03909c9118f8dd57b202dd59dd023111ce6f1a5
--- /dev/null
+++ b/public_test_cases/p01559/input.3.txt
@@ -0,0 +1,11 @@
+1000 10
+104 87
+637 366
+393 681
+215 604
+707 876
+943 414
+95 327
+93 415
+663 596
+661 842
diff --git a/public_test_cases/p01559/input.4.txt b/public_test_cases/p01559/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..391ed66acee5eb4b85c929e5c4673ac3c0c84bb8
--- /dev/null
+++ b/public_test_cases/p01559/input.4.txt
@@ -0,0 +1,9 @@
+5 8
+4 3
+2 1
+4 2
+4 4
+3 4
+2 2
+2 4
+1 4
diff --git a/public_test_cases/p01559/input.5.txt b/public_test_cases/p01559/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf26463ad0c816f4a3965504e371b6421ce43892
--- /dev/null
+++ b/public_test_cases/p01559/input.5.txt
@@ -0,0 +1,3 @@
+2 2
+1 2
+2 1
diff --git a/public_test_cases/p01559/output.0.txt b/public_test_cases/p01559/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01559/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01559/output.1.txt b/public_test_cases/p01559/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01559/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01559/output.2.txt b/public_test_cases/p01559/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01559/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01559/output.3.txt b/public_test_cases/p01559/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9dcb769021f4557cae932bf4d8697cda4e0ecf89
--- /dev/null
+++ b/public_test_cases/p01559/output.3.txt
@@ -0,0 +1 @@
+340340391
diff --git a/public_test_cases/p01559/output.4.txt b/public_test_cases/p01559/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01559/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01559/output.5.txt b/public_test_cases/p01559/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01559/output.5.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01560/input.0.txt b/public_test_cases/p01560/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3174de00ff648a72e1e2cf079a62b1b6b464a2f
--- /dev/null
+++ b/public_test_cases/p01560/input.0.txt
@@ -0,0 +1,3 @@
+2 15
+3 5
+50 50
diff --git a/public_test_cases/p01560/input.1.txt b/public_test_cases/p01560/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3174de00ff648a72e1e2cf079a62b1b6b464a2f
--- /dev/null
+++ b/public_test_cases/p01560/input.1.txt
@@ -0,0 +1,3 @@
+2 15
+3 5
+50 50
diff --git a/public_test_cases/p01560/input.2.txt b/public_test_cases/p01560/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d861c6b2e1132ae9f9aa4e1cdff55c008a0abbc
--- /dev/null
+++ b/public_test_cases/p01560/input.2.txt
@@ -0,0 +1,3 @@
+4 100
+2 3 5 7
+80 60 40 20
diff --git a/public_test_cases/p01560/input.3.txt b/public_test_cases/p01560/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..577717a7730ee984e4c668bb26f14bf6d9c8b64b
--- /dev/null
+++ b/public_test_cases/p01560/input.3.txt
@@ -0,0 +1,3 @@
+4 210
+2 3 5 7
+80 60 40 20
diff --git a/public_test_cases/p01560/output.0.txt b/public_test_cases/p01560/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3446ce26825770db08a5d7818a42d335892df74d
--- /dev/null
+++ b/public_test_cases/p01560/output.0.txt
@@ -0,0 +1 @@
+3.75
diff --git a/public_test_cases/p01560/output.1.txt b/public_test_cases/p01560/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3446ce26825770db08a5d7818a42d335892df74d
--- /dev/null
+++ b/public_test_cases/p01560/output.1.txt
@@ -0,0 +1 @@
+3.75
diff --git a/public_test_cases/p01560/output.2.txt b/public_test_cases/p01560/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb7faaeff4ac6d57ab221dae899123bef08134b7
--- /dev/null
+++ b/public_test_cases/p01560/output.2.txt
@@ -0,0 +1 @@
+57.352
diff --git a/public_test_cases/p01560/output.3.txt b/public_test_cases/p01560/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b667dbd47cdad9f58b0cc43e4e6b6078c8d41f82
--- /dev/null
+++ b/public_test_cases/p01560/output.3.txt
@@ -0,0 +1 @@
+119.9136
diff --git a/public_test_cases/p01561/input.0.txt b/public_test_cases/p01561/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b77565ee39685b01a3df439dedb831354119140
--- /dev/null
+++ b/public_test_cases/p01561/input.0.txt
@@ -0,0 +1,20 @@
+6 6
+######
+#_|A%#
+#B#_|#
+#^BBa#
+#B&A##
+######
+2
+######
+#*|*.#
+#.#.|#
+#*.**#
+#...##
+######
+######
+#*|*.#
+#*#.|#
+#..**#
+#..*##
+######
diff --git a/public_test_cases/p01561/input.1.txt b/public_test_cases/p01561/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35dc5b6bd07e851afc1a2b3a8a0399c23a481b90
--- /dev/null
+++ b/public_test_cases/p01561/input.1.txt
@@ -0,0 +1,19 @@
+6 6
+
+_|A%#
+B#_|#
+^BBa#
+B&A##
+
+2
+
+*|*.#
+.#.|#
+*.**#
+...##
+
+
+*|*.#
+*#.|#
+..**#
+..*##
diff --git a/public_test_cases/p01561/input.2.txt b/public_test_cases/p01561/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd6e3a8794418b545a49d2947fde38fec324e019
--- /dev/null
+++ b/public_test_cases/p01561/input.2.txt
@@ -0,0 +1,10 @@
+8 3
+
+%||Aa
+
+2
+
+*||*..#
+
+
+.||*.*#
diff --git a/public_test_cases/p01561/input.3.txt b/public_test_cases/p01561/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2e9a92e831cc92ca00ae07776ae40d174013b2a
--- /dev/null
+++ b/public_test_cases/p01561/input.3.txt
@@ -0,0 +1,7 @@
+3 5
+
+%#
+^#
+
+
+0
diff --git a/public_test_cases/p01561/input.4.txt b/public_test_cases/p01561/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1506bfbfbcc26a067e5f82d4337bac0ce503e70a
--- /dev/null
+++ b/public_test_cases/p01561/input.4.txt
@@ -0,0 +1,6 @@
+3 4
+
+%#
+
+
+0
diff --git a/public_test_cases/p01561/input.5.txt b/public_test_cases/p01561/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b77565ee39685b01a3df439dedb831354119140
--- /dev/null
+++ b/public_test_cases/p01561/input.5.txt
@@ -0,0 +1,20 @@
+6 6
+######
+#_|A%#
+#B#_|#
+#^BBa#
+#B&A##
+######
+2
+######
+#*|*.#
+#.#.|#
+#*.**#
+#...##
+######
+######
+#*|*.#
+#*#.|#
+#..**#
+#..*##
+######
diff --git a/public_test_cases/p01561/output.0.txt b/public_test_cases/p01561/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p01561/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p01561/output.1.txt b/public_test_cases/p01561/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p01561/output.1.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p01561/output.2.txt b/public_test_cases/p01561/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01561/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01561/output.3.txt b/public_test_cases/p01561/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01561/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01561/output.4.txt b/public_test_cases/p01561/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01561/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01561/output.5.txt b/public_test_cases/p01561/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p01561/output.5.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p01562/input.0.txt b/public_test_cases/p01562/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30af226578b2b66c0224da9cc7437353bc39a71e
--- /dev/null
+++ b/public_test_cases/p01562/input.0.txt
@@ -0,0 +1,6 @@
+5
+0 0
+1 1
+1 0
+0 1
+0 0
diff --git a/public_test_cases/p01562/input.1.txt b/public_test_cases/p01562/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a67fb186a9093cba9417b7cb67d2283ab5fb450
--- /dev/null
+++ b/public_test_cases/p01562/input.1.txt
@@ -0,0 +1,6 @@
+5
+0 0
+1 1
+1 0
+0 1
+1 0
diff --git a/public_test_cases/p01562/input.2.txt b/public_test_cases/p01562/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9c45dc7a148b5474580559bf57432bda3a28685
--- /dev/null
+++ b/public_test_cases/p01562/input.2.txt
@@ -0,0 +1,8 @@
+7
+26 52
+33 12
+-51 68
+16 61
+43 -26
+87 24
+12 10
diff --git a/public_test_cases/p01562/input.3.txt b/public_test_cases/p01562/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6c428de4551524d56ddd5c517e05986f93e7ebf
--- /dev/null
+++ b/public_test_cases/p01562/input.3.txt
@@ -0,0 +1,17 @@
+16
+0 0
+1 0
+1 1
+0 1
+0 2
+0 3
+1 3
+1 2
+2 2
+2 3
+3 3
+3 2
+3 1
+2 1
+2 0
+3 0
diff --git a/public_test_cases/p01562/input.4.txt b/public_test_cases/p01562/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30af226578b2b66c0224da9cc7437353bc39a71e
--- /dev/null
+++ b/public_test_cases/p01562/input.4.txt
@@ -0,0 +1,6 @@
+5
+0 0
+1 1
+1 0
+0 1
+0 0
diff --git a/public_test_cases/p01562/input.5.txt b/public_test_cases/p01562/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5fcd3896c5d4eec55200b724b6b9bcfe75b2950
--- /dev/null
+++ b/public_test_cases/p01562/input.5.txt
@@ -0,0 +1,22 @@
+21
+1 1
+-1 1
+-1 2
+-2 2
+-2 1
+-1 1
+-1 -1
+-2 -1
+-2 -2
+-1 -2
+-1 -1
+1 -1
+1 -2
+2 -2
+2 -1
+1 -1
+1 1
+2 1
+2 2
+1 2
+1 1
diff --git a/public_test_cases/p01562/output.0.txt b/public_test_cases/p01562/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb3c4fe4eebcdea3da0790cc0ba74cb286ec4f4
--- /dev/null
+++ b/public_test_cases/p01562/output.0.txt
@@ -0,0 +1 @@
+0.5
diff --git a/public_test_cases/p01562/output.1.txt b/public_test_cases/p01562/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d385d419cc848ee6394256288edbcd8f4f7522a
--- /dev/null
+++ b/public_test_cases/p01562/output.1.txt
@@ -0,0 +1 @@
+0.25
diff --git a/public_test_cases/p01562/output.2.txt b/public_test_cases/p01562/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58393e087c702572e7d5ba4ccebef4f577324827
--- /dev/null
+++ b/public_test_cases/p01562/output.2.txt
@@ -0,0 +1 @@
+2714.840579710
diff --git a/public_test_cases/p01562/output.3.txt b/public_test_cases/p01562/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01562/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01562/output.4.txt b/public_test_cases/p01562/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb3c4fe4eebcdea3da0790cc0ba74cb286ec4f4
--- /dev/null
+++ b/public_test_cases/p01562/output.4.txt
@@ -0,0 +1 @@
+0.5
diff --git a/public_test_cases/p01562/output.5.txt b/public_test_cases/p01562/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01562/output.5.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01563/input.0.txt b/public_test_cases/p01563/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205c1ab6f846667bfb882a553e789c7728c1d557
--- /dev/null
+++ b/public_test_cases/p01563/input.0.txt
@@ -0,0 +1,3 @@
+2 4
+ACM
+ICPC
diff --git a/public_test_cases/p01563/input.1.txt b/public_test_cases/p01563/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e53bfe7eafdc81420f57e0de53e23c366e20e41e
--- /dev/null
+++ b/public_test_cases/p01563/input.1.txt
@@ -0,0 +1,5 @@
+4 16
+INTERNATIONAL
+COLLEGIATE
+PROGRAMMING
+CONTEST
diff --git a/public_test_cases/p01563/input.2.txt b/public_test_cases/p01563/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205c1ab6f846667bfb882a553e789c7728c1d557
--- /dev/null
+++ b/public_test_cases/p01563/input.2.txt
@@ -0,0 +1,3 @@
+2 4
+ACM
+ICPC
diff --git a/public_test_cases/p01563/input.3.txt b/public_test_cases/p01563/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..565ad582b4be8e2bb3ff85f4e5b574937a0d0ac2
--- /dev/null
+++ b/public_test_cases/p01563/input.3.txt
@@ -0,0 +1,3 @@
+2 9
+PROBLEMF
+CONNECT
diff --git a/public_test_cases/p01563/output.0.txt b/public_test_cases/p01563/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01563/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01563/output.1.txt b/public_test_cases/p01563/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p01563/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p01563/output.2.txt b/public_test_cases/p01563/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01563/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01563/output.3.txt b/public_test_cases/p01563/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01563/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01564/input.0.txt b/public_test_cases/p01564/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df0443926faf6dfe8ac41f26a43932a821cdc188
--- /dev/null
+++ b/public_test_cases/p01564/input.0.txt
@@ -0,0 +1,8 @@
+3 4
+1 2 3
+1 2
+2 3
+2 1 3 0
+1 2 2 -4
+2 1 3 0
+2 2 2 0
diff --git a/public_test_cases/p01564/input.1.txt b/public_test_cases/p01564/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7796bcc995b3a4a7d35ab0eb71b3033358169d48
--- /dev/null
+++ b/public_test_cases/p01564/input.1.txt
@@ -0,0 +1,13 @@
+7 5
+-8 5 5 5 5 5 5
+1 2
+2 3
+1 4
+4 5
+1 6
+6 7
+2 3 7 0
+2 5 2 0
+2 4 3 0
+1 1 1 -1
+2 3 7 0
diff --git a/public_test_cases/p01564/input.2.txt b/public_test_cases/p01564/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4c28f12b1054c50a4da01999cd36997b044be0e
--- /dev/null
+++ b/public_test_cases/p01564/input.2.txt
@@ -0,0 +1,52 @@
+21 30
+10 0 -10 -8 5 -5 -4 -3 1 -2 8 -1 -7 2 7 6 -9 -6 3 4 9
+10 3
+3 2
+3 12
+12 4
+4 13
+4 9
+10 21
+21 1
+1 11
+11 14
+1 15
+10 6
+6 17
+6 16
+6 5
+5 18
+5 19
+10 7
+10 8
+8 20
+1 1 21 -10
+1 3 19 10
+2 1 13 0
+1 4 18 8
+1 5 17 -5
+2 16 7 0
+1 6 16 5
+1 7 15 4
+2 4 20 0
+1 8 14 3
+1 9 13 -1
+2 9 18 0
+1 10 12 2
+1 11 11 -8
+2 21 15 0
+1 12 10 1
+1 13 9 7
+2 6 14 0
+1 14 8 -2
+1 15 7 -7
+2 10 2 0
+1 16 6 -6
+1 17 5 9
+2 12 17 0
+1 18 4 6
+1 19 3 -3
+2 11 8 0
+1 20 2 -4
+1 21 1 -9
+2 5 19 0
diff --git a/public_test_cases/p01564/input.3.txt b/public_test_cases/p01564/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df0443926faf6dfe8ac41f26a43932a821cdc188
--- /dev/null
+++ b/public_test_cases/p01564/input.3.txt
@@ -0,0 +1,8 @@
+3 4
+1 2 3
+1 2
+2 3
+2 1 3 0
+1 2 2 -4
+2 1 3 0
+2 2 2 0
diff --git a/public_test_cases/p01564/output.0.txt b/public_test_cases/p01564/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f43a16f22a69935dc005050c49caf4ec9ab41f3
--- /dev/null
+++ b/public_test_cases/p01564/output.0.txt
@@ -0,0 +1,3 @@
+6
+3
+-4
diff --git a/public_test_cases/p01564/output.1.txt b/public_test_cases/p01564/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b3cbea0cccb68de7c7c67c4f937777eca5bbf48
--- /dev/null
+++ b/public_test_cases/p01564/output.1.txt
@@ -0,0 +1,4 @@
+12
+10
+10
+19
diff --git a/public_test_cases/p01564/output.2.txt b/public_test_cases/p01564/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..886d528bfc0b9b7cdcb0d19cb40e125f71c19746
--- /dev/null
+++ b/public_test_cases/p01564/output.2.txt
@@ -0,0 +1,10 @@
+20
+9
+29
+27
+10
+12
+1
+18
+-2
+-3
diff --git a/public_test_cases/p01564/output.3.txt b/public_test_cases/p01564/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f43a16f22a69935dc005050c49caf4ec9ab41f3
--- /dev/null
+++ b/public_test_cases/p01564/output.3.txt
@@ -0,0 +1,3 @@
+6
+3
+-4
diff --git a/public_test_cases/p01565/input.0.txt b/public_test_cases/p01565/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..159f3af0ccc32ed051d15c0d6116623943a604ac
--- /dev/null
+++ b/public_test_cases/p01565/input.0.txt
@@ -0,0 +1,10 @@
+1 3
++++
+6
+5
+4
+3
+2
+1
+1 3
+1 1
diff --git a/public_test_cases/p01565/input.1.txt b/public_test_cases/p01565/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf1bdce7a644c58fb31834ba0d38f9320942fcbc
--- /dev/null
+++ b/public_test_cases/p01565/input.1.txt
@@ -0,0 +1,12 @@
+3 3
+->|
+..v
+.^<
+JAG
+2012
+SUMMER
+HOGE
+HOGE
+CAMP
+1 1
+2 2
diff --git a/public_test_cases/p01565/input.2.txt b/public_test_cases/p01565/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27e12d63de358a073764de215b153d1f70385be3
--- /dev/null
+++ b/public_test_cases/p01565/input.2.txt
@@ -0,0 +1,10 @@
+1 3
++++
+1
+2
+3
+4
+5
+6
+1 3
+1 1
diff --git a/public_test_cases/p01565/input.3.txt b/public_test_cases/p01565/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..159f3af0ccc32ed051d15c0d6116623943a604ac
--- /dev/null
+++ b/public_test_cases/p01565/input.3.txt
@@ -0,0 +1,10 @@
+1 3
++++
+6
+5
+4
+3
+2
+1
+1 3
+1 1
diff --git a/public_test_cases/p01565/input.4.txt b/public_test_cases/p01565/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4955a98f48223b955655285cadcb086239b40ba
--- /dev/null
+++ b/public_test_cases/p01565/input.4.txt
@@ -0,0 +1,10 @@
+1 3
+...
+1
+2
+3
+4
+5
+6
+1 3
+1 1
diff --git a/public_test_cases/p01565/output.0.txt b/public_test_cases/p01565/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e1aa32192b67217772ba258842c25eff63c3da2
--- /dev/null
+++ b/public_test_cases/p01565/output.0.txt
@@ -0,0 +1 @@
+621
diff --git a/public_test_cases/p01565/output.1.txt b/public_test_cases/p01565/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6f05c7db4564b15fcf94577d2524ac1b2420c3d
--- /dev/null
+++ b/public_test_cases/p01565/output.1.txt
@@ -0,0 +1 @@
+JAGSUMMERCAMP2012JAGSUMMER2012
diff --git a/public_test_cases/p01565/output.2.txt b/public_test_cases/p01565/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8b599f5c1f952c74f898f0cb600847542ac4aa1
--- /dev/null
+++ b/public_test_cases/p01565/output.2.txt
@@ -0,0 +1 @@
+infinite
diff --git a/public_test_cases/p01565/output.3.txt b/public_test_cases/p01565/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e1aa32192b67217772ba258842c25eff63c3da2
--- /dev/null
+++ b/public_test_cases/p01565/output.3.txt
@@ -0,0 +1 @@
+621
diff --git a/public_test_cases/p01565/output.4.txt b/public_test_cases/p01565/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p01565/output.4.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p01566/input.0.txt b/public_test_cases/p01566/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..179d032b109ac0fd4a62d4694b5d0a08fec3a1e2
--- /dev/null
+++ b/public_test_cases/p01566/input.0.txt
@@ -0,0 +1,2 @@
+3 3
+4 2 2 0 0 0 0 0 0 0 0 1
diff --git a/public_test_cases/p01566/input.1.txt b/public_test_cases/p01566/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a5f96fa021908b8e4647d730795399da7d549f1
--- /dev/null
+++ b/public_test_cases/p01566/input.1.txt
@@ -0,0 +1,2 @@
+3 3
+0 1 1 0 0 0 0 0 0 0 0 7
diff --git a/public_test_cases/p01566/input.2.txt b/public_test_cases/p01566/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83e9ddd00dba74721b6e5031bcb3604fd178085d
--- /dev/null
+++ b/public_test_cases/p01566/input.2.txt
@@ -0,0 +1,2 @@
+2 4
+0 0 1 1 1 2 0 1 0 0 1 1
diff --git a/public_test_cases/p01566/input.3.txt b/public_test_cases/p01566/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5e40a0cd23572ed50d5bc52dbc5d0bd187ddaeb
--- /dev/null
+++ b/public_test_cases/p01566/input.3.txt
@@ -0,0 +1,2 @@
+3 3
+0 0 0 0 0 0 0 0 0 0 0 10
diff --git a/public_test_cases/p01566/input.4.txt b/public_test_cases/p01566/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..179d032b109ac0fd4a62d4694b5d0a08fec3a1e2
--- /dev/null
+++ b/public_test_cases/p01566/input.4.txt
@@ -0,0 +1,2 @@
+3 3
+4 2 2 0 0 0 0 0 0 0 0 1
diff --git a/public_test_cases/p01566/input.5.txt b/public_test_cases/p01566/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e264930968f36add27ff91f3e267d0e7c4a16168
--- /dev/null
+++ b/public_test_cases/p01566/input.5.txt
@@ -0,0 +1,2 @@
+5 2
+0 1 1 1 0 1 2 1 2 0 0 1
diff --git a/public_test_cases/p01566/output.0.txt b/public_test_cases/p01566/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01566/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01566/output.1.txt b/public_test_cases/p01566/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69a893aa31141827125ddaaee26966b7aed3de74
--- /dev/null
+++ b/public_test_cases/p01566/output.1.txt
@@ -0,0 +1 @@
+66
diff --git a/public_test_cases/p01566/output.2.txt b/public_test_cases/p01566/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a43b7bf6621a3e17298441fcd441759abe35cb82
--- /dev/null
+++ b/public_test_cases/p01566/output.2.txt
@@ -0,0 +1 @@
+2012
diff --git a/public_test_cases/p01566/output.3.txt b/public_test_cases/p01566/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01566/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01566/output.4.txt b/public_test_cases/p01566/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01566/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01566/output.5.txt b/public_test_cases/p01566/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bbc9494d783fdd3e20c1e1d00aba40f345b7c69
--- /dev/null
+++ b/public_test_cases/p01566/output.5.txt
@@ -0,0 +1 @@
+8512
diff --git a/public_test_cases/p01567/input.0.txt b/public_test_cases/p01567/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d73b0046ce4b462e95a51aefc5085b94e343a9d
--- /dev/null
+++ b/public_test_cases/p01567/input.0.txt
@@ -0,0 +1 @@
+((()())(((()())(()()))()))
diff --git a/public_test_cases/p01567/input.1.txt b/public_test_cases/p01567/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c41a81fc3a0ac16acef6036197b9906e919f003d
--- /dev/null
+++ b/public_test_cases/p01567/input.1.txt
@@ -0,0 +1 @@
+((()(()()))((()(()()))()))
diff --git a/public_test_cases/p01567/input.2.txt b/public_test_cases/p01567/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0f3165b01e104673f5c019edbe5b50b3f20125a
--- /dev/null
+++ b/public_test_cases/p01567/input.2.txt
@@ -0,0 +1 @@
+(()())
diff --git a/public_test_cases/p01567/input.3.txt b/public_test_cases/p01567/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f36fed1d268451ef599858c0b1ed816c53271693
--- /dev/null
+++ b/public_test_cases/p01567/input.3.txt
@@ -0,0 +1 @@
+(((()())(()()))(()()))
diff --git a/public_test_cases/p01567/input.4.txt b/public_test_cases/p01567/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d73b0046ce4b462e95a51aefc5085b94e343a9d
--- /dev/null
+++ b/public_test_cases/p01567/input.4.txt
@@ -0,0 +1 @@
+((()())(((()())(()()))()))
diff --git a/public_test_cases/p01567/output.0.txt b/public_test_cases/p01567/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01567/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01567/output.1.txt b/public_test_cases/p01567/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01567/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01567/output.2.txt b/public_test_cases/p01567/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01567/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01567/output.3.txt b/public_test_cases/p01567/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01567/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01567/output.4.txt b/public_test_cases/p01567/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01567/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01568/input.0.txt b/public_test_cases/p01568/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99f22eb74c8e92a27c92fe4bc5927ddf73916b63
--- /dev/null
+++ b/public_test_cases/p01568/input.0.txt
@@ -0,0 +1,6 @@
+1 2
+0 0 10 0
+1 0
+9 0
+0 0
+5 0
diff --git a/public_test_cases/p01568/input.1.txt b/public_test_cases/p01568/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6449c4db1f5d5046d81dec1e628df7c363380883
--- /dev/null
+++ b/public_test_cases/p01568/input.1.txt
@@ -0,0 +1,6 @@
+2 1
+0 0 0 4
+0 2 2 2
+1 2
+0 1
+0 3
diff --git a/public_test_cases/p01568/input.2.txt b/public_test_cases/p01568/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c70273d646db52ed0b44cdba9f6c9e465937bd26
--- /dev/null
+++ b/public_test_cases/p01568/input.2.txt
@@ -0,0 +1,11 @@
+5 3
+0 4 2 4
+0 2 2 2
+0 0 2 0
+0 0 0 4
+2 0 2 4
+0 2
+1 0
+2 2
+1 4
+2 1
diff --git a/public_test_cases/p01568/input.3.txt b/public_test_cases/p01568/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99f22eb74c8e92a27c92fe4bc5927ddf73916b63
--- /dev/null
+++ b/public_test_cases/p01568/input.3.txt
@@ -0,0 +1,6 @@
+1 2
+0 0 10 0
+1 0
+9 0
+0 0
+5 0
diff --git a/public_test_cases/p01568/output.0.txt b/public_test_cases/p01568/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd98ee6cb6411dcd240ba4a6b54d71c7f6da23c1
--- /dev/null
+++ b/public_test_cases/p01568/output.0.txt
@@ -0,0 +1 @@
+9.0
diff --git a/public_test_cases/p01568/output.1.txt b/public_test_cases/p01568/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01568/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01568/output.2.txt b/public_test_cases/p01568/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f55b2ccb5f234fc6b87ada62389a3d73815d0d1
--- /dev/null
+++ b/public_test_cases/p01568/output.2.txt
@@ -0,0 +1 @@
+3.0
diff --git a/public_test_cases/p01568/output.3.txt b/public_test_cases/p01568/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd98ee6cb6411dcd240ba4a6b54d71c7f6da23c1
--- /dev/null
+++ b/public_test_cases/p01568/output.3.txt
@@ -0,0 +1 @@
+9.0
diff --git a/public_test_cases/p01569/input.0.txt b/public_test_cases/p01569/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aedb6abf40a2119de24afef19e16cff1b2827f4c
--- /dev/null
+++ b/public_test_cases/p01569/input.0.txt
@@ -0,0 +1,10 @@
+9
+2 1
+1 -1
+1 -1
+1 -1
+1 -1
+0 1
+0 1
+0 1
+0 1
diff --git a/public_test_cases/p01569/input.1.txt b/public_test_cases/p01569/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..597d05a6b5e2f55cf184ef4499e2c5ef5d62a838
--- /dev/null
+++ b/public_test_cases/p01569/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 1
+0 -1
diff --git a/public_test_cases/p01569/input.2.txt b/public_test_cases/p01569/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aedb6abf40a2119de24afef19e16cff1b2827f4c
--- /dev/null
+++ b/public_test_cases/p01569/input.2.txt
@@ -0,0 +1,10 @@
+9
+2 1
+1 -1
+1 -1
+1 -1
+1 -1
+0 1
+0 1
+0 1
+0 1
diff --git a/public_test_cases/p01569/output.0.txt b/public_test_cases/p01569/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8163297e8be6c70b86617cd2d2e2c7cfccb68a5e
--- /dev/null
+++ b/public_test_cases/p01569/output.0.txt
@@ -0,0 +1 @@
+Yes 2
diff --git a/public_test_cases/p01569/output.1.txt b/public_test_cases/p01569/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01569/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01569/output.2.txt b/public_test_cases/p01569/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8163297e8be6c70b86617cd2d2e2c7cfccb68a5e
--- /dev/null
+++ b/public_test_cases/p01569/output.2.txt
@@ -0,0 +1 @@
+Yes 2
diff --git a/public_test_cases/p01570/input.0.txt b/public_test_cases/p01570/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..816a00d2a5d4b3f586f7d2601f02d59a80083ebd
--- /dev/null
+++ b/public_test_cases/p01570/input.0.txt
@@ -0,0 +1,4 @@
+3
+3 -1
+4 0
+5 0
diff --git a/public_test_cases/p01570/input.1.txt b/public_test_cases/p01570/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..816a00d2a5d4b3f586f7d2601f02d59a80083ebd
--- /dev/null
+++ b/public_test_cases/p01570/input.1.txt
@@ -0,0 +1,4 @@
+3
+3 -1
+4 0
+5 0
diff --git a/public_test_cases/p01570/input.2.txt b/public_test_cases/p01570/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8aa08a5a4e11fbeb9c6988a3c4f9fe3b95c83b9
--- /dev/null
+++ b/public_test_cases/p01570/input.2.txt
@@ -0,0 +1,4 @@
+3
+10 -1
+10 0
+10 1
diff --git a/public_test_cases/p01570/input.3.txt b/public_test_cases/p01570/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9b56d571ea0d67f755b608863afc45906eb4680
--- /dev/null
+++ b/public_test_cases/p01570/input.3.txt
@@ -0,0 +1,5 @@
+4
+1 -1
+1 0
+1 1
+1 0
diff --git a/public_test_cases/p01570/output.0.txt b/public_test_cases/p01570/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01570/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01570/output.1.txt b/public_test_cases/p01570/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01570/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01570/output.2.txt b/public_test_cases/p01570/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01570/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01570/output.3.txt b/public_test_cases/p01570/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01570/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01571/input.0.txt b/public_test_cases/p01571/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00782449a3b3a2bf145ffb9406f0559a5a0e7098
--- /dev/null
+++ b/public_test_cases/p01571/input.0.txt
@@ -0,0 +1,7 @@
+1 5
+qwerty asdf zxcv
+qwert
+asf
+tyui
+zxcvb
+ghjk
diff --git a/public_test_cases/p01571/input.1.txt b/public_test_cases/p01571/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00782449a3b3a2bf145ffb9406f0559a5a0e7098
--- /dev/null
+++ b/public_test_cases/p01571/input.1.txt
@@ -0,0 +1,7 @@
+1 5
+qwerty asdf zxcv
+qwert
+asf
+tyui
+zxcvb
+ghjk
diff --git a/public_test_cases/p01571/output.0.txt b/public_test_cases/p01571/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01571/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01571/output.1.txt b/public_test_cases/p01571/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01571/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01572/input.0.txt b/public_test_cases/p01572/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f03196b689fff57002b4f33d84dd7799d666044
--- /dev/null
+++ b/public_test_cases/p01572/input.0.txt
@@ -0,0 +1,2 @@
+2
+8 -1 2 1 2 1 -3 2 -3 2 3 -2 3 -2 -3 -1 -3
diff --git a/public_test_cases/p01572/input.1.txt b/public_test_cases/p01572/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f03196b689fff57002b4f33d84dd7799d666044
--- /dev/null
+++ b/public_test_cases/p01572/input.1.txt
@@ -0,0 +1,2 @@
+2
+8 -1 2 1 2 1 -3 2 -3 2 3 -2 3 -2 -3 -1 -3
diff --git a/public_test_cases/p01572/output.0.txt b/public_test_cases/p01572/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be3438bcc020242363479c4a4ac4c315bdd61403
--- /dev/null
+++ b/public_test_cases/p01572/output.0.txt
@@ -0,0 +1 @@
+22.6303
diff --git a/public_test_cases/p01572/output.1.txt b/public_test_cases/p01572/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be3438bcc020242363479c4a4ac4c315bdd61403
--- /dev/null
+++ b/public_test_cases/p01572/output.1.txt
@@ -0,0 +1 @@
+22.6303
diff --git a/public_test_cases/p01573/input.0.txt b/public_test_cases/p01573/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8ce6e7048a9f1fc56181358e685666810f7a238
--- /dev/null
+++ b/public_test_cases/p01573/input.0.txt
@@ -0,0 +1,2 @@
+4
+-2 0 0 0 2
diff --git a/public_test_cases/p01573/input.1.txt b/public_test_cases/p01573/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8ce6e7048a9f1fc56181358e685666810f7a238
--- /dev/null
+++ b/public_test_cases/p01573/input.1.txt
@@ -0,0 +1,2 @@
+4
+-2 0 0 0 2
diff --git a/public_test_cases/p01573/input.2.txt b/public_test_cases/p01573/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ae4e8daa11ea97dfd953ceb7016df2325dedab5
--- /dev/null
+++ b/public_test_cases/p01573/input.2.txt
@@ -0,0 +1,2 @@
+8
+0 0 25 15 17 -10 1 -1 1
diff --git a/public_test_cases/p01573/output.0.txt b/public_test_cases/p01573/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa5ab1c454c6dec2be67a1a1fce6a0c2bc7fc1d1
--- /dev/null
+++ b/public_test_cases/p01573/output.0.txt
@@ -0,0 +1,2 @@
+4
+-1 -i i 1
diff --git a/public_test_cases/p01573/output.1.txt b/public_test_cases/p01573/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa5ab1c454c6dec2be67a1a1fce6a0c2bc7fc1d1
--- /dev/null
+++ b/public_test_cases/p01573/output.1.txt
@@ -0,0 +1,2 @@
+4
+-1 -i i 1
diff --git a/public_test_cases/p01573/output.2.txt b/public_test_cases/p01573/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8fce64aef7a43fbfd17655cc7b8b0abbe409e8f
--- /dev/null
+++ b/public_test_cases/p01573/output.2.txt
@@ -0,0 +1,2 @@
+5
+-1-2i -1+2i 0 2-i 2+i
diff --git a/public_test_cases/p01574/input.0.txt b/public_test_cases/p01574/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..437a94acc9755bc9a10bc9cf260007c5fadde474
--- /dev/null
+++ b/public_test_cases/p01574/input.0.txt
@@ -0,0 +1,3 @@
+6 2
+2
+5
diff --git a/public_test_cases/p01574/input.1.txt b/public_test_cases/p01574/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b0f64d2656348969d15eddf6b8eee8de4b0dfed
--- /dev/null
+++ b/public_test_cases/p01574/input.1.txt
@@ -0,0 +1,2 @@
+3 1
+1
diff --git a/public_test_cases/p01574/input.2.txt b/public_test_cases/p01574/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..437a94acc9755bc9a10bc9cf260007c5fadde474
--- /dev/null
+++ b/public_test_cases/p01574/input.2.txt
@@ -0,0 +1,3 @@
+6 2
+2
+5
diff --git a/public_test_cases/p01574/input.3.txt b/public_test_cases/p01574/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29ac846ecbcb1e669ca9cc4265db8d4f2693389f
--- /dev/null
+++ b/public_test_cases/p01574/input.3.txt
@@ -0,0 +1,3 @@
+4 2
+2
+4
diff --git a/public_test_cases/p01574/output.0.txt b/public_test_cases/p01574/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01574/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01574/output.1.txt b/public_test_cases/p01574/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01574/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01574/output.2.txt b/public_test_cases/p01574/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01574/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01574/output.3.txt b/public_test_cases/p01574/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01574/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01575/input.0.txt b/public_test_cases/p01575/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p01575/input.0.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p01575/input.1.txt b/public_test_cases/p01575/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p01575/input.1.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p01575/input.2.txt b/public_test_cases/p01575/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p01575/input.2.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p01575/output.0.txt b/public_test_cases/p01575/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01575/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01575/output.1.txt b/public_test_cases/p01575/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01575/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01575/output.2.txt b/public_test_cases/p01575/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01575/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01576/input.0.txt b/public_test_cases/p01576/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1aa4ba93302a1ab12aa548c6e1ce6b5e46803bd3
--- /dev/null
+++ b/public_test_cases/p01576/input.0.txt
@@ -0,0 +1,6 @@
+5 10
+0 0
+10 10
+20 0
+30 10
+40 0
diff --git a/public_test_cases/p01576/input.1.txt b/public_test_cases/p01576/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6824494a5bf534a0a4e598f716e605627c2a7b4a
--- /dev/null
+++ b/public_test_cases/p01576/input.1.txt
@@ -0,0 +1,3 @@
+2 10
+0 0
+10000 0
diff --git a/public_test_cases/p01576/input.2.txt b/public_test_cases/p01576/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7d71c068748c2de3c27bddaef0071d47a741bec
--- /dev/null
+++ b/public_test_cases/p01576/input.2.txt
@@ -0,0 +1,5 @@
+4 50
+0 10000
+1 10000
+2 0
+10000 0
diff --git a/public_test_cases/p01576/input.3.txt b/public_test_cases/p01576/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1aa4ba93302a1ab12aa548c6e1ce6b5e46803bd3
--- /dev/null
+++ b/public_test_cases/p01576/input.3.txt
@@ -0,0 +1,6 @@
+5 10
+0 0
+10 10
+20 0
+30 10
+40 0
diff --git a/public_test_cases/p01576/input.4.txt b/public_test_cases/p01576/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95773f8bcad071f2f648b350f782eedfdc32209c
--- /dev/null
+++ b/public_test_cases/p01576/input.4.txt
@@ -0,0 +1,5 @@
+4 10000
+0 0
+1 1
+9999 0
+10000 10000
diff --git a/public_test_cases/p01576/output.0.txt b/public_test_cases/p01576/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03e392d783aea73463e7b39732d17d3340091ad5
--- /dev/null
+++ b/public_test_cases/p01576/output.0.txt
@@ -0,0 +1 @@
+22.22335598
diff --git a/public_test_cases/p01576/output.1.txt b/public_test_cases/p01576/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b756f0cf8f9dcf491dba5e82580c90ffeef4359
--- /dev/null
+++ b/public_test_cases/p01576/output.1.txt
@@ -0,0 +1 @@
+10000.00000000
diff --git a/public_test_cases/p01576/output.2.txt b/public_test_cases/p01576/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f31f3cda27cb275ca809651db8bdde3b6d1c61f
--- /dev/null
+++ b/public_test_cases/p01576/output.2.txt
@@ -0,0 +1 @@
+7741.23024274
diff --git a/public_test_cases/p01576/output.3.txt b/public_test_cases/p01576/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03e392d783aea73463e7b39732d17d3340091ad5
--- /dev/null
+++ b/public_test_cases/p01576/output.3.txt
@@ -0,0 +1 @@
+22.22335598
diff --git a/public_test_cases/p01576/output.4.txt b/public_test_cases/p01576/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21e6f85dca1df289d2a54b71c8cf4be3e4d79006
--- /dev/null
+++ b/public_test_cases/p01576/output.4.txt
@@ -0,0 +1 @@
+11.21323169
diff --git a/public_test_cases/p01577/input.0.txt b/public_test_cases/p01577/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f442d8b9b51d95430ad2793b95ebe93936b70194
--- /dev/null
+++ b/public_test_cases/p01577/input.0.txt
@@ -0,0 +1,6 @@
+5
+2 0
+0 1
+1 3
+4 2
+3 4
diff --git a/public_test_cases/p01577/input.1.txt b/public_test_cases/p01577/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0116bee7072b9bc7bb99792d3d7a6aa2533e5c20
--- /dev/null
+++ b/public_test_cases/p01577/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 0
+0 3
+1 1
+3 0
diff --git a/public_test_cases/p01577/input.2.txt b/public_test_cases/p01577/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f442d8b9b51d95430ad2793b95ebe93936b70194
--- /dev/null
+++ b/public_test_cases/p01577/input.2.txt
@@ -0,0 +1,6 @@
+5
+2 0
+0 1
+1 3
+4 2
+3 4
diff --git a/public_test_cases/p01577/output.0.txt b/public_test_cases/p01577/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c382960e38796254910dcdfb506d19fcf1685cf4
--- /dev/null
+++ b/public_test_cases/p01577/output.0.txt
@@ -0,0 +1 @@
+7.5
diff --git a/public_test_cases/p01577/output.1.txt b/public_test_cases/p01577/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f55b2ccb5f234fc6b87ada62389a3d73815d0d1
--- /dev/null
+++ b/public_test_cases/p01577/output.1.txt
@@ -0,0 +1 @@
+3.0
diff --git a/public_test_cases/p01577/output.2.txt b/public_test_cases/p01577/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c382960e38796254910dcdfb506d19fcf1685cf4
--- /dev/null
+++ b/public_test_cases/p01577/output.2.txt
@@ -0,0 +1 @@
+7.5
diff --git a/public_test_cases/p01578/input.0.txt b/public_test_cases/p01578/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p01578/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p01578/output.0.txt b/public_test_cases/p01578/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01578/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01579/input.0.txt b/public_test_cases/p01579/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7948c169b8028fed66f19c81417e6b6a26b154f3
--- /dev/null
+++ b/public_test_cases/p01579/input.0.txt
@@ -0,0 +1 @@
+((()())())
diff --git a/public_test_cases/p01579/input.1.txt b/public_test_cases/p01579/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7948c169b8028fed66f19c81417e6b6a26b154f3
--- /dev/null
+++ b/public_test_cases/p01579/input.1.txt
@@ -0,0 +1 @@
+((()())())
diff --git a/public_test_cases/p01579/output.0.txt b/public_test_cases/p01579/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01579/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01579/output.1.txt b/public_test_cases/p01579/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01579/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01580/input.0.txt b/public_test_cases/p01580/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a75515c1d034b0b8ac597e5683e511d4faf4497
--- /dev/null
+++ b/public_test_cases/p01580/input.0.txt
@@ -0,0 +1,4 @@
+2
+1 0 0
+0 1 0
+40
diff --git a/public_test_cases/p01580/output.0.txt b/public_test_cases/p01580/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01580/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01581/input.1.txt b/public_test_cases/p01581/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01581/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01581/output.1.txt b/public_test_cases/p01581/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01581/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01582/input.1.txt b/public_test_cases/p01582/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01582/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01582/output.1.txt b/public_test_cases/p01582/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01582/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01584/input.1.txt b/public_test_cases/p01584/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01584/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01584/output.1.txt b/public_test_cases/p01584/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01584/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01585/input.1.txt b/public_test_cases/p01585/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01585/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01585/output.1.txt b/public_test_cases/p01585/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01585/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01588/input.1.txt b/public_test_cases/p01588/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01588/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01588/output.1.txt b/public_test_cases/p01588/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01588/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01589/input.1.txt b/public_test_cases/p01589/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01589/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01589/output.1.txt b/public_test_cases/p01589/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01589/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01590/input.1.txt b/public_test_cases/p01590/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01590/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01590/output.1.txt b/public_test_cases/p01590/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01590/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01591/input.0.txt b/public_test_cases/p01591/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6dbeb901ccdb80144b7771a9794d826822547e1
--- /dev/null
+++ b/public_test_cases/p01591/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 0
+100 0
+100 100
+0 100
diff --git a/public_test_cases/p01591/input.1.txt b/public_test_cases/p01591/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6dbeb901ccdb80144b7771a9794d826822547e1
--- /dev/null
+++ b/public_test_cases/p01591/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 0
+100 0
+100 100
+0 100
diff --git a/public_test_cases/p01591/input.2.txt b/public_test_cases/p01591/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1786150ad4ef72f0dc239823e4cf53f67feb2031
--- /dev/null
+++ b/public_test_cases/p01591/input.2.txt
@@ -0,0 +1,4 @@
+3
+0 0
+10 0
+5 100
diff --git a/public_test_cases/p01591/output.0.txt b/public_test_cases/p01591/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d3959d789bf20163af9d4c62f72748f4375f186
--- /dev/null
+++ b/public_test_cases/p01591/output.0.txt
@@ -0,0 +1 @@
+-100.000 -100.000 0.000
diff --git a/public_test_cases/p01591/output.1.txt b/public_test_cases/p01591/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d3959d789bf20163af9d4c62f72748f4375f186
--- /dev/null
+++ b/public_test_cases/p01591/output.1.txt
@@ -0,0 +1 @@
+-100.000 -100.000 0.000
diff --git a/public_test_cases/p01591/output.2.txt b/public_test_cases/p01591/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f77bba137469037deafca263e1c7d9b2c52b0486
--- /dev/null
+++ b/public_test_cases/p01591/output.2.txt
@@ -0,0 +1 @@
+-10.000 -99.750 0.000
diff --git a/public_test_cases/p01592/input.0.txt b/public_test_cases/p01592/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c2442fcc20e13c591c895f87547b150a8f1360a
--- /dev/null
+++ b/public_test_cases/p01592/input.0.txt
@@ -0,0 +1,2 @@
+1 1
+1 1
diff --git a/public_test_cases/p01592/input.1.txt b/public_test_cases/p01592/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c2442fcc20e13c591c895f87547b150a8f1360a
--- /dev/null
+++ b/public_test_cases/p01592/input.1.txt
@@ -0,0 +1,2 @@
+1 1
+1 1
diff --git a/public_test_cases/p01592/input.2.txt b/public_test_cases/p01592/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49bd53e9e9e30a0a572bcb8f7af2414a91bf8fb9
--- /dev/null
+++ b/public_test_cases/p01592/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+3 1 2 3
+1 3
+1 3
diff --git a/public_test_cases/p01592/output.0.txt b/public_test_cases/p01592/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p01592/output.0.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p01592/output.1.txt b/public_test_cases/p01592/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p01592/output.1.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p01592/output.2.txt b/public_test_cases/p01592/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p01592/output.2.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p01593/input.0.txt b/public_test_cases/p01593/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p01593/input.0.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p01593/input.1.txt b/public_test_cases/p01593/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p01593/input.1.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p01593/input.2.txt b/public_test_cases/p01593/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7a0cd9a94fb04cb3474cbb41495f5afa4827e80
--- /dev/null
+++ b/public_test_cases/p01593/input.2.txt
@@ -0,0 +1 @@
+100 50
diff --git a/public_test_cases/p01593/output.0.txt b/public_test_cases/p01593/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c132d9d97c017819fb23d51bf1dc8e5942899e2
--- /dev/null
+++ b/public_test_cases/p01593/output.0.txt
@@ -0,0 +1 @@
+0.50000000
diff --git a/public_test_cases/p01593/output.1.txt b/public_test_cases/p01593/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c132d9d97c017819fb23d51bf1dc8e5942899e2
--- /dev/null
+++ b/public_test_cases/p01593/output.1.txt
@@ -0,0 +1 @@
+0.50000000
diff --git a/public_test_cases/p01593/output.2.txt b/public_test_cases/p01593/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd33dd5961d124041fa190c21a73e9375b342afe
--- /dev/null
+++ b/public_test_cases/p01593/output.2.txt
@@ -0,0 +1 @@
+0.31182782
diff --git a/public_test_cases/p01594/input.0.txt b/public_test_cases/p01594/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d5d092f984288a74d7799b887b14ba43e2a01ba
--- /dev/null
+++ b/public_test_cases/p01594/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 0 0
+0 0 1
+0 1 0
+1 0 0
diff --git a/public_test_cases/p01594/input.1.txt b/public_test_cases/p01594/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d5d092f984288a74d7799b887b14ba43e2a01ba
--- /dev/null
+++ b/public_test_cases/p01594/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 0 0
+0 0 1
+0 1 0
+1 0 0
diff --git a/public_test_cases/p01594/input.2.txt b/public_test_cases/p01594/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f9e1bb310f5e5637f9fe894e89a6dd0b9186585
--- /dev/null
+++ b/public_test_cases/p01594/input.2.txt
@@ -0,0 +1,9 @@
+8
+0 0 0
+0 0 1
+0 1 0
+0 1 1
+1 0 0
+1 0 1
+1 1 0
+1 1 1
diff --git a/public_test_cases/p01594/output.0.txt b/public_test_cases/p01594/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0f66d8f52267b32184ed8994f0af17af707beb0
--- /dev/null
+++ b/public_test_cases/p01594/output.0.txt
@@ -0,0 +1 @@
+2.366
diff --git a/public_test_cases/p01594/output.1.txt b/public_test_cases/p01594/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0f66d8f52267b32184ed8994f0af17af707beb0
--- /dev/null
+++ b/public_test_cases/p01594/output.1.txt
@@ -0,0 +1 @@
+2.366
diff --git a/public_test_cases/p01594/output.2.txt b/public_test_cases/p01594/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3bbf7f41953302dab4fd6cbe9d615c0e4069263
--- /dev/null
+++ b/public_test_cases/p01594/output.2.txt
@@ -0,0 +1 @@
+6.000
diff --git a/public_test_cases/p01595/input.0.txt b/public_test_cases/p01595/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..120a2d363f83d69146c073e9c9403d5badc367da
--- /dev/null
+++ b/public_test_cases/p01595/input.0.txt
@@ -0,0 +1,9 @@
+7 8
+##S####
+#.....#
+S.O...#
+#.*|..#
+L..*..#
+#.O*..D
+#.@...#
+#######
diff --git a/public_test_cases/p01595/input.1.txt b/public_test_cases/p01595/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51c84cb1d27524862a58afc6bdb3e031b59603c4
--- /dev/null
+++ b/public_test_cases/p01595/input.1.txt
@@ -0,0 +1,4 @@
+8 3
+L####
+S.../@.#
+D#
diff --git a/public_test_cases/p01595/input.2.txt b/public_test_cases/p01595/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef9ead268a08865793da2eb8e0eddc230d055411
--- /dev/null
+++ b/public_test_cases/p01595/input.2.txt
@@ -0,0 +1,4 @@
+8 3
+L#####
+S...@.#
+D#
diff --git a/public_test_cases/p01595/input.3.txt b/public_test_cases/p01595/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..120a2d363f83d69146c073e9c9403d5badc367da
--- /dev/null
+++ b/public_test_cases/p01595/input.3.txt
@@ -0,0 +1,9 @@
+7 8
+##S####
+#.....#
+S.O...#
+#.*|..#
+L..*..#
+#.O*..D
+#.@...#
+#######
diff --git a/public_test_cases/p01595/input.4.txt b/public_test_cases/p01595/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4799a9923c1e37053f100e0ecd6c0eddcc75b408
--- /dev/null
+++ b/public_test_cases/p01595/input.4.txt
@@ -0,0 +1,8 @@
+7 8
+S####
+.....#
+S.O...#
+.*|..#
+L..*..#
+.O*..D
+.@...#
diff --git a/public_test_cases/p01595/output.0.txt b/public_test_cases/p01595/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01595/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01595/output.1.txt b/public_test_cases/p01595/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01595/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01595/output.2.txt b/public_test_cases/p01595/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01595/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01595/output.3.txt b/public_test_cases/p01595/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01595/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01595/output.4.txt b/public_test_cases/p01595/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01595/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01596/input.0.txt b/public_test_cases/p01596/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a408a5ac32ce6beb09c70608b7129e3a71c198d
--- /dev/null
+++ b/public_test_cases/p01596/input.0.txt
@@ -0,0 +1,6 @@
+5
+0 1 0 2
+1 3 2 3
+2 2 1 2
+1 1 2 1
+2 0 1 0
diff --git a/public_test_cases/p01596/input.1.txt b/public_test_cases/p01596/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a408a5ac32ce6beb09c70608b7129e3a71c198d
--- /dev/null
+++ b/public_test_cases/p01596/input.1.txt
@@ -0,0 +1,6 @@
+5
+0 1 0 2
+1 3 2 3
+2 2 1 2
+1 1 2 1
+2 0 1 0
diff --git a/public_test_cases/p01596/input.2.txt b/public_test_cases/p01596/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9170182788d779cde0c77de2b3df0c1d837f0b92
--- /dev/null
+++ b/public_test_cases/p01596/input.2.txt
@@ -0,0 +1,13 @@
+12
+4 5 4 6
+3 7 1 7
+0 8 0 10
+1 11 3 11
+4 10 4 9
+5 8 99 8
+100 7 100 4
+99 3 4 3
+3 2 3 1
+2 0 1 0
+0 1 0 3
+1 4 3 4
diff --git a/public_test_cases/p01596/output.0.txt b/public_test_cases/p01596/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dba6b3eaeb76fb36f603372d172fc51cc79371f
--- /dev/null
+++ b/public_test_cases/p01596/output.0.txt
@@ -0,0 +1 @@
+9.712
diff --git a/public_test_cases/p01596/output.1.txt b/public_test_cases/p01596/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dba6b3eaeb76fb36f603372d172fc51cc79371f
--- /dev/null
+++ b/public_test_cases/p01596/output.1.txt
@@ -0,0 +1 @@
+9.712
diff --git a/public_test_cases/p01596/output.2.txt b/public_test_cases/p01596/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32aed9f8bb20f279d314dfa3820fd0852ae0705c
--- /dev/null
+++ b/public_test_cases/p01596/output.2.txt
@@ -0,0 +1 @@
+27.406
diff --git a/public_test_cases/p01597/input.0.txt b/public_test_cases/p01597/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..def3e35c68a225ba69f493f0a4e519928feac169
--- /dev/null
+++ b/public_test_cases/p01597/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 0 2 1
+3 0 4 2
+0 2 1 4
+2 3 4 4
diff --git a/public_test_cases/p01597/input.1.txt b/public_test_cases/p01597/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d1b0a53bd58ab14d702bf5681526c946ff26ab6
--- /dev/null
+++ b/public_test_cases/p01597/input.1.txt
@@ -0,0 +1,9 @@
+8
+0 0 2 1
+2 2 4 3
+5 3 7 4
+7 5 9 6
+0 2 1 4
+2 4 3 6
+6 0 7 2
+8 2 9 4
diff --git a/public_test_cases/p01597/input.2.txt b/public_test_cases/p01597/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..def3e35c68a225ba69f493f0a4e519928feac169
--- /dev/null
+++ b/public_test_cases/p01597/input.2.txt
@@ -0,0 +1,5 @@
+4
+0 0 2 1
+3 0 4 2
+0 2 1 4
+2 3 4 4
diff --git a/public_test_cases/p01597/output.0.txt b/public_test_cases/p01597/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01597/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01597/output.1.txt b/public_test_cases/p01597/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01597/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01597/output.2.txt b/public_test_cases/p01597/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01597/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01598/input.0.txt b/public_test_cases/p01598/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c64dbe20bc4435429eb1ad860c41c49675dc5c45
--- /dev/null
+++ b/public_test_cases/p01598/input.0.txt
@@ -0,0 +1,4 @@
+4 4
+1 3 4 2
+1 4 2 3
+1 3 2 4
diff --git a/public_test_cases/p01598/output.0.txt b/public_test_cases/p01598/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01598/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01599/input.0.txt b/public_test_cases/p01599/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e28907ce06df6c00e3175bf6a7150ad69765dda
--- /dev/null
+++ b/public_test_cases/p01599/input.0.txt
@@ -0,0 +1,3 @@
+1 1
+10 100 0
+10 100 0
diff --git a/public_test_cases/p01599/input.1.txt b/public_test_cases/p01599/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47ca5cc00c7cf28579f64ff45b1bc30623220f0e
--- /dev/null
+++ b/public_test_cases/p01599/input.1.txt
@@ -0,0 +1,11 @@
+5 5
+10 0 100
+10 200 300
+10 400 500
+10 600 700
+10 800 900
+10 100 200
+10 300 400
+10 500 600
+10 700 800
+10 900 1000
diff --git a/public_test_cases/p01599/input.2.txt b/public_test_cases/p01599/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e28907ce06df6c00e3175bf6a7150ad69765dda
--- /dev/null
+++ b/public_test_cases/p01599/input.2.txt
@@ -0,0 +1,3 @@
+1 1
+10 100 0
+10 100 0
diff --git a/public_test_cases/p01599/output.0.txt b/public_test_cases/p01599/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01599/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01599/output.1.txt b/public_test_cases/p01599/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01599/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01599/output.2.txt b/public_test_cases/p01599/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01599/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01600/input.0.txt b/public_test_cases/p01600/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2072965c94828c89f81d4a943e80f619638dd658
--- /dev/null
+++ b/public_test_cases/p01600/input.0.txt
@@ -0,0 +1,6 @@
+5
+1 5
+2 4
+3 3
+4 2
+5 1
diff --git a/public_test_cases/p01600/input.1.txt b/public_test_cases/p01600/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2072965c94828c89f81d4a943e80f619638dd658
--- /dev/null
+++ b/public_test_cases/p01600/input.1.txt
@@ -0,0 +1,6 @@
+5
+1 5
+2 4
+3 3
+4 2
+5 1
diff --git a/public_test_cases/p01600/input.2.txt b/public_test_cases/p01600/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed1390a2e73865afda263505dd50936749804e8
--- /dev/null
+++ b/public_test_cases/p01600/input.2.txt
@@ -0,0 +1,2 @@
+1
+10000 0
diff --git a/public_test_cases/p01600/output.0.txt b/public_test_cases/p01600/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p01600/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p01600/output.1.txt b/public_test_cases/p01600/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p01600/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p01600/output.2.txt b/public_test_cases/p01600/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01600/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01601/input.0.txt b/public_test_cases/p01601/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p01601/input.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p01601/input.1.txt b/public_test_cases/p01601/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p01601/input.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p01601/input.2.txt b/public_test_cases/p01601/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe4afb0df8641d6de901cdde04199e4507534d0d
--- /dev/null
+++ b/public_test_cases/p01601/input.2.txt
@@ -0,0 +1 @@
+106
diff --git a/public_test_cases/p01601/input.3.txt b/public_test_cases/p01601/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c811106baec2018adc3a5ec2c92d55c23007f742
--- /dev/null
+++ b/public_test_cases/p01601/input.3.txt
@@ -0,0 +1 @@
+7447
diff --git a/public_test_cases/p01601/output.0.txt b/public_test_cases/p01601/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01601/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01601/output.1.txt b/public_test_cases/p01601/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01601/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01601/output.2.txt b/public_test_cases/p01601/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398050c62c882fa5ebc8d8aaa2e730e70790beeb
--- /dev/null
+++ b/public_test_cases/p01601/output.2.txt
@@ -0,0 +1 @@
+101
diff --git a/public_test_cases/p01601/output.3.txt b/public_test_cases/p01601/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c811106baec2018adc3a5ec2c92d55c23007f742
--- /dev/null
+++ b/public_test_cases/p01601/output.3.txt
@@ -0,0 +1 @@
+7447
diff --git a/public_test_cases/p01602/input.0.txt b/public_test_cases/p01602/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e454f65e8692c56cbede4e548b36240b46ced268
--- /dev/null
+++ b/public_test_cases/p01602/input.0.txt
@@ -0,0 +1,4 @@
+3
+( 5
+) 4
+) 1
diff --git a/public_test_cases/p01602/input.1.txt b/public_test_cases/p01602/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8e6633e214613d634be5df0a3da39ae7a215553
--- /dev/null
+++ b/public_test_cases/p01602/input.1.txt
@@ -0,0 +1,3 @@
+2
+) 1
+( 1
diff --git a/public_test_cases/p01602/input.2.txt b/public_test_cases/p01602/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e454f65e8692c56cbede4e548b36240b46ced268
--- /dev/null
+++ b/public_test_cases/p01602/input.2.txt
@@ -0,0 +1,4 @@
+3
+( 5
+) 4
+) 1
diff --git a/public_test_cases/p01602/input.3.txt b/public_test_cases/p01602/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ff01f8d1b660f3ceec013112ec55a541fced44f
--- /dev/null
+++ b/public_test_cases/p01602/input.3.txt
@@ -0,0 +1,6 @@
+5
+( 2
+) 2
+( 3
+) 1
+) 2
diff --git a/public_test_cases/p01602/output.0.txt b/public_test_cases/p01602/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01602/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01602/output.1.txt b/public_test_cases/p01602/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p01602/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p01602/output.2.txt b/public_test_cases/p01602/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01602/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01602/output.3.txt b/public_test_cases/p01602/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01602/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01603/input.0.txt b/public_test_cases/p01603/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..091411f899efc002c7e973b230322d065d2ca355
--- /dev/null
+++ b/public_test_cases/p01603/input.0.txt
@@ -0,0 +1,4 @@
+4 5
+1 2 1 4 7
+2 3 1 2 77
+2 4 1 2 777
diff --git a/public_test_cases/p01603/input.1.txt b/public_test_cases/p01603/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dac25ddd66bc5edf7c765399dde64ad78ea8ab10
--- /dev/null
+++ b/public_test_cases/p01603/input.1.txt
@@ -0,0 +1,2 @@
+2 10000
+1 2 1 10 1
diff --git a/public_test_cases/p01603/input.2.txt b/public_test_cases/p01603/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..091411f899efc002c7e973b230322d065d2ca355
--- /dev/null
+++ b/public_test_cases/p01603/input.2.txt
@@ -0,0 +1,4 @@
+4 5
+1 2 1 4 7
+2 3 1 2 77
+2 4 1 2 777
diff --git a/public_test_cases/p01603/input.3.txt b/public_test_cases/p01603/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..089e9334ffd371f4124d690f11b2532bc435ba8c
--- /dev/null
+++ b/public_test_cases/p01603/input.3.txt
@@ -0,0 +1,5 @@
+5 15
+1 2 3 2 1
+2 3 3 2 1
+1 4 8 2 777
+1 5 1 3 10
diff --git a/public_test_cases/p01603/output.0.txt b/public_test_cases/p01603/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c631e1e4ce7e5243d19cb698b655ab771aeeead
--- /dev/null
+++ b/public_test_cases/p01603/output.0.txt
@@ -0,0 +1 @@
+1568
diff --git a/public_test_cases/p01603/output.1.txt b/public_test_cases/p01603/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01603/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01603/output.2.txt b/public_test_cases/p01603/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c631e1e4ce7e5243d19cb698b655ab771aeeead
--- /dev/null
+++ b/public_test_cases/p01603/output.2.txt
@@ -0,0 +1 @@
+1568
diff --git a/public_test_cases/p01603/output.3.txt b/public_test_cases/p01603/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p01603/output.3.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p01604/input.0.txt b/public_test_cases/p01604/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46a0c77bac3c57cec5054a33eea821de3060949a
--- /dev/null
+++ b/public_test_cases/p01604/input.0.txt
@@ -0,0 +1,3 @@
+2
+LOOP:
+goto LOOP;
diff --git a/public_test_cases/p01604/output.0.txt b/public_test_cases/p01604/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01604/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01605/input.0.txt b/public_test_cases/p01605/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13b5a918a723a04bcad563c84f8436dfa3af7a0e
--- /dev/null
+++ b/public_test_cases/p01605/input.0.txt
@@ -0,0 +1,5 @@
+abaz
+3 1 5
+a cab
+b .
+c x
diff --git a/public_test_cases/p01605/input.1.txt b/public_test_cases/p01605/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db91b04b80ac4a2140679b0d417ac4d6bde9f1cf
--- /dev/null
+++ b/public_test_cases/p01605/input.1.txt
@@ -0,0 +1,4 @@
+aaaa
+2 1 1
+a .
+a nothing
diff --git a/public_test_cases/p01605/input.2.txt b/public_test_cases/p01605/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab36b13795e239006b43f7cb929c0d980a9ad225
--- /dev/null
+++ b/public_test_cases/p01605/input.2.txt
@@ -0,0 +1,3 @@
+original
+1 2 5
+x notchange
diff --git a/public_test_cases/p01605/input.3.txt b/public_test_cases/p01605/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13b5a918a723a04bcad563c84f8436dfa3af7a0e
--- /dev/null
+++ b/public_test_cases/p01605/input.3.txt
@@ -0,0 +1,5 @@
+abaz
+3 1 5
+a cab
+b .
+c x
diff --git a/public_test_cases/p01605/output.0.txt b/public_test_cases/p01605/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0aa5afd0e2d22e6f18aebd1712c88034a77f63d5
--- /dev/null
+++ b/public_test_cases/p01605/output.0.txt
@@ -0,0 +1 @@
+xaxaz
diff --git a/public_test_cases/p01605/output.1.txt b/public_test_cases/p01605/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c558e357c41674e39880abb6c3209e539de42e2
--- /dev/null
+++ b/public_test_cases/p01605/output.1.txt
@@ -0,0 +1 @@
+.
diff --git a/public_test_cases/p01605/output.2.txt b/public_test_cases/p01605/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfe23822668cb04e0c258ae530d14caf2ab2833f
--- /dev/null
+++ b/public_test_cases/p01605/output.2.txt
@@ -0,0 +1 @@
+rigi
diff --git a/public_test_cases/p01605/output.3.txt b/public_test_cases/p01605/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0aa5afd0e2d22e6f18aebd1712c88034a77f63d5
--- /dev/null
+++ b/public_test_cases/p01605/output.3.txt
@@ -0,0 +1 @@
+xaxaz
diff --git a/public_test_cases/p01606/input.0.txt b/public_test_cases/p01606/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd64ae0403c3dcbf893963e75f433dbfad8230bb
--- /dev/null
+++ b/public_test_cases/p01606/input.0.txt
@@ -0,0 +1 @@
+10 2
diff --git a/public_test_cases/p01606/input.1.txt b/public_test_cases/p01606/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd64ae0403c3dcbf893963e75f433dbfad8230bb
--- /dev/null
+++ b/public_test_cases/p01606/input.1.txt
@@ -0,0 +1 @@
+10 2
diff --git a/public_test_cases/p01606/input.2.txt b/public_test_cases/p01606/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..352175128355e309922ea78d873061472882116d
--- /dev/null
+++ b/public_test_cases/p01606/input.2.txt
@@ -0,0 +1 @@
+30 7
diff --git a/public_test_cases/p01606/output.0.txt b/public_test_cases/p01606/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd48cc0b0a0539ef6205e54eba1264cd7062a6ae
--- /dev/null
+++ b/public_test_cases/p01606/output.0.txt
@@ -0,0 +1 @@
+2 3 3 3 3 3 3 3 3
diff --git a/public_test_cases/p01606/output.1.txt b/public_test_cases/p01606/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd48cc0b0a0539ef6205e54eba1264cd7062a6ae
--- /dev/null
+++ b/public_test_cases/p01606/output.1.txt
@@ -0,0 +1 @@
+2 3 3 3 3 3 3 3 3
diff --git a/public_test_cases/p01606/output.2.txt b/public_test_cases/p01606/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e33b675d365d6347a7381de78d94103c6895dfa2
--- /dev/null
+++ b/public_test_cases/p01606/output.2.txt
@@ -0,0 +1 @@
+7 8 9 10 10 11 11 11 11 12 11 12 10 12 12 11 10 12 12 12 10 11 11 13
diff --git a/public_test_cases/p01607/input.0.txt b/public_test_cases/p01607/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d87faa96d2c57069e879f51ea5133aeebb86fb38
--- /dev/null
+++ b/public_test_cases/p01607/input.0.txt
@@ -0,0 +1,4 @@
+3 1
+0 0
+1 0
+0 1
diff --git a/public_test_cases/p01607/input.1.txt b/public_test_cases/p01607/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51e987d7d89b71395864fc44d6f3868fbd45e819
--- /dev/null
+++ b/public_test_cases/p01607/input.1.txt
@@ -0,0 +1,5 @@
+4 3
+1 1
+-1 1
+-1 -1
+1 -1
diff --git a/public_test_cases/p01607/input.2.txt b/public_test_cases/p01607/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d87faa96d2c57069e879f51ea5133aeebb86fb38
--- /dev/null
+++ b/public_test_cases/p01607/input.2.txt
@@ -0,0 +1,4 @@
+3 1
+0 0
+1 0
+0 1
diff --git a/public_test_cases/p01607/input.3.txt b/public_test_cases/p01607/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff0abbdf48f2ca0dd6d16417b9ba94e2e298ebff
--- /dev/null
+++ b/public_test_cases/p01607/input.3.txt
@@ -0,0 +1,4 @@
+3 2
+0 0
+2 0
+0 2
diff --git a/public_test_cases/p01607/input.4.txt b/public_test_cases/p01607/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..691b6cbf517ab92b1aed05ac185a82b352c887b6
--- /dev/null
+++ b/public_test_cases/p01607/input.4.txt
@@ -0,0 +1,4 @@
+3 2
+1 -1
+1 1
+-2 0
diff --git a/public_test_cases/p01607/output.0.txt b/public_test_cases/p01607/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9168c21f4617d88740b21e342ab47d3e9ffad30
--- /dev/null
+++ b/public_test_cases/p01607/output.0.txt
@@ -0,0 +1 @@
+0.500000000
diff --git a/public_test_cases/p01607/output.1.txt b/public_test_cases/p01607/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..336e09985b1da5af1920eb5dd3836a7acdb0973e
--- /dev/null
+++ b/public_test_cases/p01607/output.1.txt
@@ -0,0 +1 @@
+11.707963268
diff --git a/public_test_cases/p01607/output.2.txt b/public_test_cases/p01607/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9168c21f4617d88740b21e342ab47d3e9ffad30
--- /dev/null
+++ b/public_test_cases/p01607/output.2.txt
@@ -0,0 +1 @@
+0.500000000
diff --git a/public_test_cases/p01607/output.3.txt b/public_test_cases/p01607/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b322c5abfee4922723254e593f32ab0d788c31f8
--- /dev/null
+++ b/public_test_cases/p01607/output.3.txt
@@ -0,0 +1 @@
+8.995574288
diff --git a/public_test_cases/p01607/output.4.txt b/public_test_cases/p01607/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b95afafb4b4ac423d5f18462c4f768ec5754b2d
--- /dev/null
+++ b/public_test_cases/p01607/output.4.txt
@@ -0,0 +1 @@
+11.123246567
diff --git a/public_test_cases/p01608/input.0.txt b/public_test_cases/p01608/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e14b248525231018a52035761a7b11c1db41ef83
--- /dev/null
+++ b/public_test_cases/p01608/input.0.txt
@@ -0,0 +1,3 @@
+4 1
+3 1 2 7
+13 8 25 9
diff --git a/public_test_cases/p01608/input.1.txt b/public_test_cases/p01608/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e14b248525231018a52035761a7b11c1db41ef83
--- /dev/null
+++ b/public_test_cases/p01608/input.1.txt
@@ -0,0 +1,3 @@
+4 1
+3 1 2 7
+13 8 25 9
diff --git a/public_test_cases/p01608/input.2.txt b/public_test_cases/p01608/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a9162f0c5c413321fe7292ab48cac4faf51bae9
--- /dev/null
+++ b/public_test_cases/p01608/input.2.txt
@@ -0,0 +1,3 @@
+2 1
+1 1
+3 3
diff --git a/public_test_cases/p01608/output.0.txt b/public_test_cases/p01608/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd11724042e28f013e4fee09715b24c1b9ab10d1
--- /dev/null
+++ b/public_test_cases/p01608/output.0.txt
@@ -0,0 +1 @@
+1001
diff --git a/public_test_cases/p01608/output.1.txt b/public_test_cases/p01608/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd11724042e28f013e4fee09715b24c1b9ab10d1
--- /dev/null
+++ b/public_test_cases/p01608/output.1.txt
@@ -0,0 +1 @@
+1001
diff --git a/public_test_cases/p01608/output.2.txt b/public_test_cases/p01608/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01608/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01609/input.0.txt b/public_test_cases/p01609/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79a454c6eba3267f14d3f137a8c1fdf0405e83c1
--- /dev/null
+++ b/public_test_cases/p01609/input.0.txt
@@ -0,0 +1,2 @@
+20 20 1
+-1 10 10
diff --git a/public_test_cases/p01609/input.1.txt b/public_test_cases/p01609/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66d0aaae2ba8e517707f59dea934e56cef40617e
--- /dev/null
+++ b/public_test_cases/p01609/input.1.txt
@@ -0,0 +1,3 @@
+20 20 2
+-1 10 10
+-2 10 5
diff --git a/public_test_cases/p01609/input.2.txt b/public_test_cases/p01609/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab65429c2bf7e36cc33539e57a7aca7cc4e2fb8d
--- /dev/null
+++ b/public_test_cases/p01609/input.2.txt
@@ -0,0 +1,3 @@
+15 100 2
+-2 5 100
+-2 10 100
diff --git a/public_test_cases/p01609/input.3.txt b/public_test_cases/p01609/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79a454c6eba3267f14d3f137a8c1fdf0405e83c1
--- /dev/null
+++ b/public_test_cases/p01609/input.3.txt
@@ -0,0 +1,2 @@
+20 20 1
+-1 10 10
diff --git a/public_test_cases/p01609/output.0.txt b/public_test_cases/p01609/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4405a37cc8a5d5959029ddc7c1fb67f506fb23f5
--- /dev/null
+++ b/public_test_cases/p01609/output.0.txt
@@ -0,0 +1 @@
+21.520346288593280
diff --git a/public_test_cases/p01609/output.1.txt b/public_test_cases/p01609/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4405a37cc8a5d5959029ddc7c1fb67f506fb23f5
--- /dev/null
+++ b/public_test_cases/p01609/output.1.txt
@@ -0,0 +1 @@
+21.520346288593280
diff --git a/public_test_cases/p01609/output.2.txt b/public_test_cases/p01609/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..890605da46dcf686a09615949dc26d7a0b71ceb2
--- /dev/null
+++ b/public_test_cases/p01609/output.2.txt
@@ -0,0 +1 @@
+126.921542730127873
diff --git a/public_test_cases/p01609/output.3.txt b/public_test_cases/p01609/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4405a37cc8a5d5959029ddc7c1fb67f506fb23f5
--- /dev/null
+++ b/public_test_cases/p01609/output.3.txt
@@ -0,0 +1 @@
+21.520346288593280
diff --git a/public_test_cases/p01610/input.0.txt b/public_test_cases/p01610/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..331bae08fb73b73f95252c1cf434d8b2b3a01d4b
--- /dev/null
+++ b/public_test_cases/p01610/input.0.txt
@@ -0,0 +1 @@
+R
diff --git a/public_test_cases/p01610/output.0.txt b/public_test_cases/p01610/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd972584ecafe130bcce0c9a57d319249c027853
--- /dev/null
+++ b/public_test_cases/p01610/output.0.txt
@@ -0,0 +1,6 @@
+..ry....
+..ry....
+ggyobbrw
+ggyobbrw
+..ow....
+..ow....
diff --git a/public_test_cases/p01611/input.0.txt b/public_test_cases/p01611/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63fea00a0baecb5b5935c4270dea3a1a23548388
--- /dev/null
+++ b/public_test_cases/p01611/input.0.txt
@@ -0,0 +1,4 @@
+3 4 2
+2
+1
+3
diff --git a/public_test_cases/p01611/input.1.txt b/public_test_cases/p01611/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63fea00a0baecb5b5935c4270dea3a1a23548388
--- /dev/null
+++ b/public_test_cases/p01611/input.1.txt
@@ -0,0 +1,4 @@
+3 4 2
+2
+1
+3
diff --git a/public_test_cases/p01611/input.2.txt b/public_test_cases/p01611/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd2a92ed9fbe6def32b6bc5cf4e680a409a1371f
--- /dev/null
+++ b/public_test_cases/p01611/input.2.txt
@@ -0,0 +1,19 @@
+18 26 10275802967
+10
+14
+9
+13
+7
+8
+2
+6
+11
+18
+12
+1
+4
+3
+16
+5
+17
+15
diff --git a/public_test_cases/p01611/output.0.txt b/public_test_cases/p01611/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67be85f1274474029aad8a75b823592324305aa4
--- /dev/null
+++ b/public_test_cases/p01611/output.0.txt
@@ -0,0 +1 @@
+bad
diff --git a/public_test_cases/p01611/output.1.txt b/public_test_cases/p01611/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67be85f1274474029aad8a75b823592324305aa4
--- /dev/null
+++ b/public_test_cases/p01611/output.1.txt
@@ -0,0 +1 @@
+bad
diff --git a/public_test_cases/p01611/output.2.txt b/public_test_cases/p01611/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9ce8cd15250ea8876f2f81d3e18706e209c6c5d
--- /dev/null
+++ b/public_test_cases/p01611/output.2.txt
@@ -0,0 +1 @@
+ritsumeicampdaytwo
diff --git a/public_test_cases/p01612/input.0.txt b/public_test_cases/p01612/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..528e7ebad4042345b98253344ec4487010139594
--- /dev/null
+++ b/public_test_cases/p01612/input.0.txt
@@ -0,0 +1,5 @@
+5 4
+1 2
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p01612/input.1.txt b/public_test_cases/p01612/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..528e7ebad4042345b98253344ec4487010139594
--- /dev/null
+++ b/public_test_cases/p01612/input.1.txt
@@ -0,0 +1,5 @@
+5 4
+1 2
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p01612/output.0.txt b/public_test_cases/p01612/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p01612/output.0.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p01612/output.1.txt b/public_test_cases/p01612/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p01612/output.1.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p01620/input.0.txt b/public_test_cases/p01620/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66162f903c603ebeb2e2763b2cdf2ef24949a510
--- /dev/null
+++ b/public_test_cases/p01620/input.0.txt
@@ -0,0 +1,10 @@
+2
+1 2
+bdd
+3
+3 2 1
+DDDA
+5
+3 1 4 5 3
+dcdkIlkP
+0
diff --git a/public_test_cases/p01620/input.1.txt b/public_test_cases/p01620/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66162f903c603ebeb2e2763b2cdf2ef24949a510
--- /dev/null
+++ b/public_test_cases/p01620/input.1.txt
@@ -0,0 +1,10 @@
+2
+1 2
+bdd
+3
+3 2 1
+DDDA
+5
+3 1 4 5 3
+dcdkIlkP
+0
diff --git a/public_test_cases/p01620/output.0.txt b/public_test_cases/p01620/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f79fa84b4fe8f32f6964e4f173d4d8e5363e508
--- /dev/null
+++ b/public_test_cases/p01620/output.0.txt
@@ -0,0 +1,3 @@
+abc
+ABCx
+abZfFijL
diff --git a/public_test_cases/p01620/output.1.txt b/public_test_cases/p01620/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f79fa84b4fe8f32f6964e4f173d4d8e5363e508
--- /dev/null
+++ b/public_test_cases/p01620/output.1.txt
@@ -0,0 +1,3 @@
+abc
+ABCx
+abZfFijL
diff --git a/public_test_cases/p01621/input.0.txt b/public_test_cases/p01621/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81eb7fe6126b37a7cefe0e06fecf1dd9c325a1bf
--- /dev/null
+++ b/public_test_cases/p01621/input.0.txt
@@ -0,0 +1,5 @@
+1 1 3 All All 1 1
+2 37 5 All Night 150 1
+16 2 20 All Day 5 10
+1 14 15 Mon All 20000 100
+0 0 0 None None 0 0
diff --git a/public_test_cases/p01621/input.1.txt b/public_test_cases/p01621/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81eb7fe6126b37a7cefe0e06fecf1dd9c325a1bf
--- /dev/null
+++ b/public_test_cases/p01621/input.1.txt
@@ -0,0 +1,5 @@
+1 1 3 All All 1 1
+2 37 5 All Night 150 1
+16 2 20 All Day 5 10
+1 14 15 Mon All 20000 100
+0 0 0 None None 0 0
diff --git a/public_test_cases/p01621/output.0.txt b/public_test_cases/p01621/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03ed970eb93525b33de10e54b02ccd46c3c8b6b1
--- /dev/null
+++ b/public_test_cases/p01621/output.0.txt
@@ -0,0 +1,4 @@
+1.0000000000
+0.2192439716
+0.9884707850
+0.0649933899
diff --git a/public_test_cases/p01621/output.1.txt b/public_test_cases/p01621/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03ed970eb93525b33de10e54b02ccd46c3c8b6b1
--- /dev/null
+++ b/public_test_cases/p01621/output.1.txt
@@ -0,0 +1,4 @@
+1.0000000000
+0.2192439716
+0.9884707850
+0.0649933899
diff --git a/public_test_cases/p01622/input.0.txt b/public_test_cases/p01622/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6d834b543c470ac13849aa06e076c8381b83b13
--- /dev/null
+++ b/public_test_cases/p01622/input.0.txt
@@ -0,0 +1,30 @@
+4
+1 1
+3 1
+4 1
+2 1
+3
+5 3
+1 2
+1 2
+1
+1000 1000
+10
+5 62
+10 68
+15 72
+20 73
+25 75
+30 77
+35 79
+40 82
+45 100
+815 283
+6
+74 78
+53 55
+77 77
+12 13
+39 42
+1 1
+0
diff --git a/public_test_cases/p01622/input.1.txt b/public_test_cases/p01622/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6d834b543c470ac13849aa06e076c8381b83b13
--- /dev/null
+++ b/public_test_cases/p01622/input.1.txt
@@ -0,0 +1,30 @@
+4
+1 1
+3 1
+4 1
+2 1
+3
+5 3
+1 2
+1 2
+1
+1000 1000
+10
+5 62
+10 68
+15 72
+20 73
+25 75
+30 77
+35 79
+40 82
+45 100
+815 283
+6
+74 78
+53 55
+77 77
+12 13
+39 42
+1 1
+0
diff --git a/public_test_cases/p01622/output.0.txt b/public_test_cases/p01622/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce2ffb988025629bd736df1eccd411640632ab91
--- /dev/null
+++ b/public_test_cases/p01622/output.0.txt
@@ -0,0 +1,5 @@
+14
+15
+3000
+2013
+522
diff --git a/public_test_cases/p01622/output.1.txt b/public_test_cases/p01622/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce2ffb988025629bd736df1eccd411640632ab91
--- /dev/null
+++ b/public_test_cases/p01622/output.1.txt
@@ -0,0 +1,5 @@
+14
+15
+3000
+2013
+522
diff --git a/public_test_cases/p01624/input.0.txt b/public_test_cases/p01624/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464072893806725388e632ae1fba257afd244221
--- /dev/null
+++ b/public_test_cases/p01624/input.0.txt
@@ -0,0 +1,7 @@
+1 1
+2 2
+3 1+2*3-4
+3 1|2^3&4
+3 (1+2)*3
+3 1-1-1-1
+0 #
diff --git a/public_test_cases/p01624/input.1.txt b/public_test_cases/p01624/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464072893806725388e632ae1fba257afd244221
--- /dev/null
+++ b/public_test_cases/p01624/input.1.txt
@@ -0,0 +1,7 @@
+1 1
+2 2
+3 1+2*3-4
+3 1|2^3&4
+3 (1+2)*3
+3 1-1-1-1
+0 #
diff --git a/public_test_cases/p01624/output.0.txt b/public_test_cases/p01624/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75898b83a644330a5f0c6b554321c26882ef3aa5
--- /dev/null
+++ b/public_test_cases/p01624/output.0.txt
@@ -0,0 +1,6 @@
+91
+2
+273
+93
+279
+88
diff --git a/public_test_cases/p01624/output.1.txt b/public_test_cases/p01624/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75898b83a644330a5f0c6b554321c26882ef3aa5
--- /dev/null
+++ b/public_test_cases/p01624/output.1.txt
@@ -0,0 +1,6 @@
+91
+2
+273
+93
+279
+88
diff --git a/public_test_cases/p01625/input.0.txt b/public_test_cases/p01625/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4df346941c727cebcaa7efbda3dfa70a75f56c62
--- /dev/null
+++ b/public_test_cases/p01625/input.0.txt
@@ -0,0 +1,29 @@
+3
+2 3 2 2 2 1
+2 0 1 -1 2 -1
+-2 -1 -1 -1 -2 0
+6
+-1 0 1 0 0 -1
+-2 -1 -3 -2 -4 -2
+2 -1 2 0 1 -1
+4 -2 3 -2 3 -1
+1 1 0 1 -1 1
+-3 -1 -1 -1 -2 0
+5
+-1 2 0 2 1 2
+-3 1 -2 1 -2 2
+-2 0 -2 -1 -3 0
+1 -1 0 -1 -1 -1
+1 0 2 0 2 -1
+4
+-2 0 -2 -1 -3 -1
+-1 -1 0 -1 1 -1
+2 -1 2 0 3 -1
+-1 0 0 0 1 0
+5
+-2 1 3 -1 2 1
+-5 2 -5 3 -4 2
+-2 -1 0 -1 -3 -1
+4 2 5 2 5 3
+1 -1 2 -1 -1 -1
+0
diff --git a/public_test_cases/p01625/input.1.txt b/public_test_cases/p01625/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4df346941c727cebcaa7efbda3dfa70a75f56c62
--- /dev/null
+++ b/public_test_cases/p01625/input.1.txt
@@ -0,0 +1,29 @@
+3
+2 3 2 2 2 1
+2 0 1 -1 2 -1
+-2 -1 -1 -1 -2 0
+6
+-1 0 1 0 0 -1
+-2 -1 -3 -2 -4 -2
+2 -1 2 0 1 -1
+4 -2 3 -2 3 -1
+1 1 0 1 -1 1
+-3 -1 -1 -1 -2 0
+5
+-1 2 0 2 1 2
+-3 1 -2 1 -2 2
+-2 0 -2 -1 -3 0
+1 -1 0 -1 -1 -1
+1 0 2 0 2 -1
+4
+-2 0 -2 -1 -3 -1
+-1 -1 0 -1 1 -1
+2 -1 2 0 3 -1
+-1 0 0 0 1 0
+5
+-2 1 3 -1 2 1
+-5 2 -5 3 -4 2
+-2 -1 0 -1 -3 -1
+4 2 5 2 5 3
+1 -1 2 -1 -1 -1
+0
diff --git a/public_test_cases/p01625/output.0.txt b/public_test_cases/p01625/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9c0782e22fa3c8276d8bd139a1e822dadbca497
--- /dev/null
+++ b/public_test_cases/p01625/output.0.txt
@@ -0,0 +1,12 @@
+Remove
+1
+Remove
+2
+6
+Valid
+Remove
+1
+2
+3
+4
+Invalid
diff --git a/public_test_cases/p01625/output.1.txt b/public_test_cases/p01625/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9c0782e22fa3c8276d8bd139a1e822dadbca497
--- /dev/null
+++ b/public_test_cases/p01625/output.1.txt
@@ -0,0 +1,12 @@
+Remove
+1
+Remove
+2
+6
+Valid
+Remove
+1
+2
+3
+4
+Invalid
diff --git a/public_test_cases/p01626/input.0.txt b/public_test_cases/p01626/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56cc415a076ede80d993e22fcf7072361408a17a
--- /dev/null
+++ b/public_test_cases/p01626/input.0.txt
@@ -0,0 +1,52 @@
+2
+3
+1 1
+2 2
+1 2
+3
+-1 1
+-1 2
+-2 2
+1 1 2 2
+0 0 0 1
+2
+10
+1 1
+7 1
+7 5
+5 5
+5 3
+6 3
+6 2
+3 2
+3 5
+1 5
+10
+-1 1
+-1 5
+-3 5
+-3 3
+-2 3
+-2 2
+-5 2
+-5 5
+-7 5
+-7 1
+2 4 6 4
+0 0 0 1
+2
+7
+-7 0
+-5 0
+-4 3
+-3 0
+-1 0
+-1 4
+-7 4
+3
+1 0
+7 0
+7 4
+3 1 5 2
+0 0 0 1
+0
diff --git a/public_test_cases/p01626/input.1.txt b/public_test_cases/p01626/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56cc415a076ede80d993e22fcf7072361408a17a
--- /dev/null
+++ b/public_test_cases/p01626/input.1.txt
@@ -0,0 +1,52 @@
+2
+3
+1 1
+2 2
+1 2
+3
+-1 1
+-1 2
+-2 2
+1 1 2 2
+0 0 0 1
+2
+10
+1 1
+7 1
+7 5
+5 5
+5 3
+6 3
+6 2
+3 2
+3 5
+1 5
+10
+-1 1
+-1 5
+-3 5
+-3 3
+-2 3
+-2 2
+-5 2
+-5 5
+-7 5
+-7 1
+2 4 6 4
+0 0 0 1
+2
+7
+-7 0
+-5 0
+-4 3
+-3 0
+-1 0
+-1 4
+-7 4
+3
+1 0
+7 0
+7 4
+3 1 5 2
+0 0 0 1
+0
diff --git a/public_test_cases/p01626/output.0.txt b/public_test_cases/p01626/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b84e3310b05c7b39e60fb2cb119e36ac3d24f52
--- /dev/null
+++ b/public_test_cases/p01626/output.0.txt
@@ -0,0 +1,3 @@
+1.4142135623730951
+8.0
+impossible
diff --git a/public_test_cases/p01626/output.1.txt b/public_test_cases/p01626/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b84e3310b05c7b39e60fb2cb119e36ac3d24f52
--- /dev/null
+++ b/public_test_cases/p01626/output.1.txt
@@ -0,0 +1,3 @@
+1.4142135623730951
+8.0
+impossible
diff --git a/public_test_cases/p01627/input.0.txt b/public_test_cases/p01627/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81ee72763d758c25b8544bf5c2b13e73ce7788c3
--- /dev/null
+++ b/public_test_cases/p01627/input.0.txt
@@ -0,0 +1,5 @@
+N T
+st_time1 st_name1 ar_time1 ar_name1
+st_time2 st_name2 ar_time2 ar_name2
+...
+st_timeN st_nameN ar_timeN ar_nameN
diff --git a/public_test_cases/p01627/input.1.txt b/public_test_cases/p01627/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11464547313cbadd8322c812e837472f86c677fc
--- /dev/null
+++ b/public_test_cases/p01627/input.1.txt
@@ -0,0 +1,9 @@
+8 24
+05:30 Kyoto 06:37 Maibara
+06:50 Maibara 07:36 Tsuruga
+07:42 Tsuruga 10:03 Kanazawa
+10:58 Kanazawa 12:07 Toyama
+12:15 Toyama 14:12 Naoetsu
+14:29 Naoetsu 15:57 Nagaoka
+16:11 Nagaoka 17:14 Niitsu
+17:38 Niitsu 20:06 AizuWakamatsu
diff --git a/public_test_cases/p01627/input.2.txt b/public_test_cases/p01627/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81ee72763d758c25b8544bf5c2b13e73ce7788c3
--- /dev/null
+++ b/public_test_cases/p01627/input.2.txt
@@ -0,0 +1,5 @@
+N T
+st_time1 st_name1 ar_time1 ar_name1
+st_time2 st_name2 ar_time2 ar_name2
+...
+st_timeN st_nameN ar_timeN ar_nameN
diff --git a/public_test_cases/p01627/input.3.txt b/public_test_cases/p01627/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c35346ec4ad4cfdae52c9a1353765e50d5cd5229
--- /dev/null
+++ b/public_test_cases/p01627/input.3.txt
@@ -0,0 +1,2 @@
+1 180
+10:44 Koriyama 11:52 AizuWakamatsu
diff --git a/public_test_cases/p01627/output.0.txt b/public_test_cases/p01627/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc8d354aaa4240b52844b69ba461f5c6aa196022
--- /dev/null
+++ b/public_test_cases/p01627/output.0.txt
@@ -0,0 +1,3 @@
+2
+Kanazawa 55
+Niitsu 24
diff --git a/public_test_cases/p01627/output.1.txt b/public_test_cases/p01627/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc8d354aaa4240b52844b69ba461f5c6aa196022
--- /dev/null
+++ b/public_test_cases/p01627/output.1.txt
@@ -0,0 +1,3 @@
+2
+Kanazawa 55
+Niitsu 24
diff --git a/public_test_cases/p01627/output.2.txt b/public_test_cases/p01627/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc8d354aaa4240b52844b69ba461f5c6aa196022
--- /dev/null
+++ b/public_test_cases/p01627/output.2.txt
@@ -0,0 +1,3 @@
+2
+Kanazawa 55
+Niitsu 24
diff --git a/public_test_cases/p01627/output.3.txt b/public_test_cases/p01627/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01627/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01628/input.0.txt b/public_test_cases/p01628/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e87350bea3702e10b6820f6e82b64dc6138ced90
--- /dev/null
+++ b/public_test_cases/p01628/input.0.txt
@@ -0,0 +1,5 @@
+5 4
+4
+3
+1
+2
diff --git a/public_test_cases/p01628/input.1.txt b/public_test_cases/p01628/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e87350bea3702e10b6820f6e82b64dc6138ced90
--- /dev/null
+++ b/public_test_cases/p01628/input.1.txt
@@ -0,0 +1,5 @@
+5 4
+4
+3
+1
+2
diff --git a/public_test_cases/p01628/input.2.txt b/public_test_cases/p01628/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c8f712b21c51c471449bd1cd6688a705666e9b9
--- /dev/null
+++ b/public_test_cases/p01628/input.2.txt
@@ -0,0 +1,4 @@
+4 3
+1
+2
+3
diff --git a/public_test_cases/p01628/output.0.txt b/public_test_cases/p01628/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01628/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01628/output.1.txt b/public_test_cases/p01628/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01628/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01628/output.2.txt b/public_test_cases/p01628/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01628/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01629/input.0.txt b/public_test_cases/p01629/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe82bd2044bc3af9caec45aeaf9cc7b8be1a0994
--- /dev/null
+++ b/public_test_cases/p01629/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+3000 6000 3000
+4000 5500 4500
diff --git a/public_test_cases/p01629/input.1.txt b/public_test_cases/p01629/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aed639b4e7eea153d60cbd1e780ca4d226b888e
--- /dev/null
+++ b/public_test_cases/p01629/input.1.txt
@@ -0,0 +1,4 @@
+3 4
+5500 5500 5500 5500
+5480 5780 5980 5980
+5500 5500 5500 5500
diff --git a/public_test_cases/p01629/input.2.txt b/public_test_cases/p01629/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe82bd2044bc3af9caec45aeaf9cc7b8be1a0994
--- /dev/null
+++ b/public_test_cases/p01629/input.2.txt
@@ -0,0 +1,3 @@
+2 3
+3000 6000 3000
+4000 5500 4500
diff --git a/public_test_cases/p01629/output.0.txt b/public_test_cases/p01629/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cfafda41f778b3b9f1cf2b52f6949df3684c66f
--- /dev/null
+++ b/public_test_cases/p01629/output.0.txt
@@ -0,0 +1,4 @@
+11500 2
+1
+2
+1
diff --git a/public_test_cases/p01629/output.1.txt b/public_test_cases/p01629/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d2a7b47004556351162cfa3e60bca5bda8e9a27
--- /dev/null
+++ b/public_test_cases/p01629/output.1.txt
@@ -0,0 +1,5 @@
+21980 1
+2
+1
+1
+1
diff --git a/public_test_cases/p01629/output.2.txt b/public_test_cases/p01629/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cfafda41f778b3b9f1cf2b52f6949df3684c66f
--- /dev/null
+++ b/public_test_cases/p01629/output.2.txt
@@ -0,0 +1,4 @@
+11500 2
+1
+2
+1
diff --git a/public_test_cases/p01630/input.0.txt b/public_test_cases/p01630/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb123cbc61e1547c640601a3ab1ee11dc62fad8b
--- /dev/null
+++ b/public_test_cases/p01630/input.0.txt
@@ -0,0 +1,2 @@
+N
+bit_line
diff --git a/public_test_cases/p01630/input.1.txt b/public_test_cases/p01630/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4042c5240d86722207f8f4635f4d524f147d740
--- /dev/null
+++ b/public_test_cases/p01630/input.1.txt
@@ -0,0 +1,2 @@
+2
+0000
diff --git a/public_test_cases/p01630/input.2.txt b/public_test_cases/p01630/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23b029a3e1c498fee17fd50bd3d0e55721671df6
--- /dev/null
+++ b/public_test_cases/p01630/input.2.txt
@@ -0,0 +1,2 @@
+5
+11110101011100110010111100010001
diff --git a/public_test_cases/p01630/input.3.txt b/public_test_cases/p01630/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..811e334b8bcce31ce6a340efe479c93e3cef8d9a
--- /dev/null
+++ b/public_test_cases/p01630/input.3.txt
@@ -0,0 +1,2 @@
+3
+01100110
diff --git a/public_test_cases/p01630/input.4.txt b/public_test_cases/p01630/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa95c46a8374663443a2b42d0b4eec95f18da335
--- /dev/null
+++ b/public_test_cases/p01630/input.4.txt
@@ -0,0 +1,2 @@
+2
+0110
diff --git a/public_test_cases/p01630/input.5.txt b/public_test_cases/p01630/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb123cbc61e1547c640601a3ab1ee11dc62fad8b
--- /dev/null
+++ b/public_test_cases/p01630/input.5.txt
@@ -0,0 +1,2 @@
+N
+bit_line
diff --git a/public_test_cases/p01630/output.0.txt b/public_test_cases/p01630/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01630/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01630/output.1.txt b/public_test_cases/p01630/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01630/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01630/output.2.txt b/public_test_cases/p01630/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p01630/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p01630/output.3.txt b/public_test_cases/p01630/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01630/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01630/output.4.txt b/public_test_cases/p01630/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01630/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01630/output.5.txt b/public_test_cases/p01630/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01630/output.5.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01631/input.0.txt b/public_test_cases/p01631/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47eb1f6962bc83d4eed64f60b6bec0d4aa28aa6b
--- /dev/null
+++ b/public_test_cases/p01631/input.0.txt
@@ -0,0 +1,12 @@
+6
+AIZU 10
+LINER 6
+LINE 4
+ALL 2
+AS 1
+CIEL 10
+ASLA
+CILI
+IRZN
+ELEU
+21
diff --git a/public_test_cases/p01631/input.1.txt b/public_test_cases/p01631/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47eb1f6962bc83d4eed64f60b6bec0d4aa28aa6b
--- /dev/null
+++ b/public_test_cases/p01631/input.1.txt
@@ -0,0 +1,12 @@
+6
+AIZU 10
+LINER 6
+LINE 4
+ALL 2
+AS 1
+CIEL 10
+ASLA
+CILI
+IRZN
+ELEU
+21
diff --git a/public_test_cases/p01631/output.0.txt b/public_test_cases/p01631/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p01631/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p01631/output.1.txt b/public_test_cases/p01631/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p01631/output.1.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p01632/input.0.txt b/public_test_cases/p01632/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57b9c358b596a57fe065011680d481a8d16e7691
--- /dev/null
+++ b/public_test_cases/p01632/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01632/input.1.txt b/public_test_cases/p01632/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57b9c358b596a57fe065011680d481a8d16e7691
--- /dev/null
+++ b/public_test_cases/p01632/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01632/input.2.txt b/public_test_cases/p01632/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8b7e712cd363a91a7e70ed9d0d1df2aa0312b12
--- /dev/null
+++ b/public_test_cases/p01632/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+2 4
+3 4
diff --git a/public_test_cases/p01632/output.0.txt b/public_test_cases/p01632/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464d18dabd8db5efc162bbdc98b6fbe51d6d78dc
--- /dev/null
+++ b/public_test_cases/p01632/output.0.txt
@@ -0,0 +1,3 @@
+No
+No
+Yes
diff --git a/public_test_cases/p01632/output.1.txt b/public_test_cases/p01632/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464d18dabd8db5efc162bbdc98b6fbe51d6d78dc
--- /dev/null
+++ b/public_test_cases/p01632/output.1.txt
@@ -0,0 +1,3 @@
+No
+No
+Yes
diff --git a/public_test_cases/p01632/output.2.txt b/public_test_cases/p01632/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b58086fb8f5b53616ec3f311d3aef86624abd037
--- /dev/null
+++ b/public_test_cases/p01632/output.2.txt
@@ -0,0 +1,4 @@
+No
+No
+No
+No
diff --git a/public_test_cases/p01633/input.0.txt b/public_test_cases/p01633/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..742727b1366c968e5fef9df5a876db521cb1891c
--- /dev/null
+++ b/public_test_cases/p01633/input.0.txt
@@ -0,0 +1,9 @@
+8
+5 0 5 10
+5 10 0 5
+0 5 5 0
+10 0 10 10
+10 10 5 5
+5 5 10 0
+10 2 15 5
+15 5 10 8
diff --git a/public_test_cases/p01633/input.1.txt b/public_test_cases/p01633/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97675be7453b99587d1e6e4d9c6c3ae19386c21c
--- /dev/null
+++ b/public_test_cases/p01633/input.1.txt
@@ -0,0 +1,12 @@
+11
+0 0 10 0
+10 0 10 10
+10 10 0 10
+0 10 0 0
+1 2 9 2
+8 1 8 9
+9 8 1 8
+2 9 2 1
+8 11 11 8
+8 11 14 10
+11 8 10 14
diff --git a/public_test_cases/p01633/input.2.txt b/public_test_cases/p01633/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..742727b1366c968e5fef9df5a876db521cb1891c
--- /dev/null
+++ b/public_test_cases/p01633/input.2.txt
@@ -0,0 +1,9 @@
+8
+5 0 5 10
+5 10 0 5
+0 5 5 0
+10 0 10 10
+10 10 5 5
+5 5 10 0
+10 2 15 5
+15 5 10 8
diff --git a/public_test_cases/p01633/output.0.txt b/public_test_cases/p01633/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01633/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01633/output.1.txt b/public_test_cases/p01633/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01633/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01633/output.2.txt b/public_test_cases/p01633/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01633/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01634/input.0.txt b/public_test_cases/p01634/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3097ab13082b70f67202aab7dd9d1b35b7ceac2
--- /dev/null
+++ b/public_test_cases/p01634/input.0.txt
@@ -0,0 +1 @@
+password
diff --git a/public_test_cases/p01634/input.1.txt b/public_test_cases/p01634/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3097ab13082b70f67202aab7dd9d1b35b7ceac2
--- /dev/null
+++ b/public_test_cases/p01634/input.1.txt
@@ -0,0 +1 @@
+password
diff --git a/public_test_cases/p01634/output.0.txt b/public_test_cases/p01634/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e420fe4d295c56f1421cd40965e9634958f984cf
--- /dev/null
+++ b/public_test_cases/p01634/output.0.txt
@@ -0,0 +1 @@
+INVALID
diff --git a/public_test_cases/p01634/output.1.txt b/public_test_cases/p01634/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e420fe4d295c56f1421cd40965e9634958f984cf
--- /dev/null
+++ b/public_test_cases/p01634/output.1.txt
@@ -0,0 +1 @@
+INVALID
diff --git a/public_test_cases/p01635/input.0.txt b/public_test_cases/p01635/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8345d47bc06bebb01a142a7fa6e0b191735df64
--- /dev/null
+++ b/public_test_cases/p01635/input.0.txt
@@ -0,0 +1,2 @@
+n T
+f(n)
diff --git a/public_test_cases/p01635/input.1.txt b/public_test_cases/p01635/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8345d47bc06bebb01a142a7fa6e0b191735df64
--- /dev/null
+++ b/public_test_cases/p01635/input.1.txt
@@ -0,0 +1,2 @@
+n T
+f(n)
diff --git a/public_test_cases/p01635/output.0.txt b/public_test_cases/p01635/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f82a3d5e99787cec6e8803490ff3a46cf84ae37c
--- /dev/null
+++ b/public_test_cases/p01635/output.0.txt
@@ -0,0 +1 @@
+101010000
diff --git a/public_test_cases/p01635/output.1.txt b/public_test_cases/p01635/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f82a3d5e99787cec6e8803490ff3a46cf84ae37c
--- /dev/null
+++ b/public_test_cases/p01635/output.1.txt
@@ -0,0 +1 @@
+101010000
diff --git a/public_test_cases/p01636/input.0.txt b/public_test_cases/p01636/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p01636/input.0.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p01636/input.1.txt b/public_test_cases/p01636/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p01636/input.1.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p01636/output.0.txt b/public_test_cases/p01636/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01636/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01636/output.1.txt b/public_test_cases/p01636/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01636/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01637/input.0.txt b/public_test_cases/p01637/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e2027b94cfc4d5424d54d0088d7c59b43bc63f0
--- /dev/null
+++ b/public_test_cases/p01637/input.0.txt
@@ -0,0 +1 @@
+M r
diff --git a/public_test_cases/p01637/input.1.txt b/public_test_cases/p01637/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e2027b94cfc4d5424d54d0088d7c59b43bc63f0
--- /dev/null
+++ b/public_test_cases/p01637/input.1.txt
@@ -0,0 +1 @@
+M r
diff --git a/public_test_cases/p01637/output.0.txt b/public_test_cases/p01637/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ac4d4ff91d271451cecf96c5cee4b4317525175
--- /dev/null
+++ b/public_test_cases/p01637/output.0.txt
@@ -0,0 +1 @@
+9333
diff --git a/public_test_cases/p01637/output.1.txt b/public_test_cases/p01637/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ac4d4ff91d271451cecf96c5cee4b4317525175
--- /dev/null
+++ b/public_test_cases/p01637/output.1.txt
@@ -0,0 +1 @@
+9333
diff --git a/public_test_cases/p01638/input.0.txt b/public_test_cases/p01638/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..627effef2e1fed0ee1c7654cf84d53e0682da5ae
--- /dev/null
+++ b/public_test_cases/p01638/input.0.txt
@@ -0,0 +1,2 @@
+r x y n
+p
diff --git a/public_test_cases/p01638/input.1.txt b/public_test_cases/p01638/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..627effef2e1fed0ee1c7654cf84d53e0682da5ae
--- /dev/null
+++ b/public_test_cases/p01638/input.1.txt
@@ -0,0 +1,2 @@
+r x y n
+p
diff --git a/public_test_cases/p01638/output.0.txt b/public_test_cases/p01638/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2de7b4da7aec3113f20b48a2ea046afc58041380
--- /dev/null
+++ b/public_test_cases/p01638/output.0.txt
@@ -0,0 +1 @@
+71 156
diff --git a/public_test_cases/p01638/output.1.txt b/public_test_cases/p01638/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2de7b4da7aec3113f20b48a2ea046afc58041380
--- /dev/null
+++ b/public_test_cases/p01638/output.1.txt
@@ -0,0 +1 @@
+71 156
diff --git a/public_test_cases/p01639/input.0.txt b/public_test_cases/p01639/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca040fc48fe165651aad1b84a27d26514a5e144e
--- /dev/null
+++ b/public_test_cases/p01639/input.0.txt
@@ -0,0 +1 @@
+n k x0
diff --git a/public_test_cases/p01639/output.0.txt b/public_test_cases/p01639/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d566f49bc436e438c4d26a807898304be3a0cdc6
--- /dev/null
+++ b/public_test_cases/p01639/output.0.txt
@@ -0,0 +1 @@
+-768720241707614171
diff --git a/public_test_cases/p01640/input.0.txt b/public_test_cases/p01640/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74484187f63166e6880baabbb081e1fd4743c85f
--- /dev/null
+++ b/public_test_cases/p01640/input.0.txt
@@ -0,0 +1 @@
+w h g
diff --git a/public_test_cases/p01640/input.1.txt b/public_test_cases/p01640/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74484187f63166e6880baabbb081e1fd4743c85f
--- /dev/null
+++ b/public_test_cases/p01640/input.1.txt
@@ -0,0 +1 @@
+w h g
diff --git a/public_test_cases/p01640/output.0.txt b/public_test_cases/p01640/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01640/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01640/output.1.txt b/public_test_cases/p01640/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01640/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01641/input.0.txt b/public_test_cases/p01641/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p01641/input.0.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p01641/input.1.txt b/public_test_cases/p01641/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p01641/input.1.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p01641/output.0.txt b/public_test_cases/p01641/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..759febcd8a5d75e37cf9ac5cd0899579c3979480
--- /dev/null
+++ b/public_test_cases/p01641/output.0.txt
@@ -0,0 +1 @@
+++++++++[>++++++++<-]>+.+.+.
diff --git a/public_test_cases/p01641/output.1.txt b/public_test_cases/p01641/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..759febcd8a5d75e37cf9ac5cd0899579c3979480
--- /dev/null
+++ b/public_test_cases/p01641/output.1.txt
@@ -0,0 +1 @@
+++++++++[>++++++++<-]>+.+.+.
diff --git a/public_test_cases/p01642/input.0.txt b/public_test_cases/p01642/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fe0da7d93d56564fdedb0f560488dabfe250011
--- /dev/null
+++ b/public_test_cases/p01642/input.0.txt
@@ -0,0 +1,2 @@
+1 3
+1 1 1
diff --git a/public_test_cases/p01642/input.1.txt b/public_test_cases/p01642/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fe0da7d93d56564fdedb0f560488dabfe250011
--- /dev/null
+++ b/public_test_cases/p01642/input.1.txt
@@ -0,0 +1,2 @@
+1 3
+1 1 1
diff --git a/public_test_cases/p01642/output.0.txt b/public_test_cases/p01642/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01642/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01642/output.1.txt b/public_test_cases/p01642/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01642/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01643/input.0.txt b/public_test_cases/p01643/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c69f2dfeef95446a37c2deaeaab9bb80ebe9b5e
--- /dev/null
+++ b/public_test_cases/p01643/input.0.txt
@@ -0,0 +1,2 @@
+n k
+a
diff --git a/public_test_cases/p01643/input.1.txt b/public_test_cases/p01643/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c69f2dfeef95446a37c2deaeaab9bb80ebe9b5e
--- /dev/null
+++ b/public_test_cases/p01643/input.1.txt
@@ -0,0 +1,2 @@
+n k
+a
diff --git a/public_test_cases/p01643/output.0.txt b/public_test_cases/p01643/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01643/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01643/output.1.txt b/public_test_cases/p01643/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01643/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01644/input.0.txt b/public_test_cases/p01644/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7798af80d5c30d570574e50f39d1f76837c3d4a
--- /dev/null
+++ b/public_test_cases/p01644/input.0.txt
@@ -0,0 +1,5 @@
+N (Sレアカードの種類)
+P_1 (カード1が好きな人の割合)
+P_2 (カード2が好きな人の割合)
+...
+P_N (カードNが好きな人の割合)
diff --git a/public_test_cases/p01644/input.1.txt b/public_test_cases/p01644/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7798af80d5c30d570574e50f39d1f76837c3d4a
--- /dev/null
+++ b/public_test_cases/p01644/input.1.txt
@@ -0,0 +1,5 @@
+N (Sレアカードの種類)
+P_1 (カード1が好きな人の割合)
+P_2 (カード2が好きな人の割合)
+...
+P_N (カードNが好きな人の割合)
diff --git a/public_test_cases/p01644/output.0.txt b/public_test_cases/p01644/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5caff40c4a0ce4ed0dcb3aa983da623641af1b06
--- /dev/null
+++ b/public_test_cases/p01644/output.0.txt
@@ -0,0 +1 @@
+10000
diff --git a/public_test_cases/p01644/output.1.txt b/public_test_cases/p01644/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5caff40c4a0ce4ed0dcb3aa983da623641af1b06
--- /dev/null
+++ b/public_test_cases/p01644/output.1.txt
@@ -0,0 +1 @@
+10000
diff --git a/public_test_cases/p01645/input.0.txt b/public_test_cases/p01645/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4267a1720ca7d592132b7b7612c2e7b561f11d9c
--- /dev/null
+++ b/public_test_cases/p01645/input.0.txt
@@ -0,0 +1,2 @@
+n
+s
diff --git a/public_test_cases/p01645/output.0.txt b/public_test_cases/p01645/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..126cacb73e317ba75ba7b7a8b55a2fa2c1bf7e2a
--- /dev/null
+++ b/public_test_cases/p01645/output.0.txt
@@ -0,0 +1,6 @@
+16
+304
+18
+-1
+7703703700
+7795884765
diff --git a/public_test_cases/p01646/input.0.txt b/public_test_cases/p01646/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..126cbf9338f76889053b2ff68ed3f1b2643dde8b
--- /dev/null
+++ b/public_test_cases/p01646/input.0.txt
@@ -0,0 +1,22 @@
+4
+cba
+cab
+b
+a
+3
+bca
+ab
+a
+5
+abc
+acb
+b
+c
+c
+5
+abc
+acb
+c
+b
+b
+0
diff --git a/public_test_cases/p01646/input.1.txt b/public_test_cases/p01646/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..126cbf9338f76889053b2ff68ed3f1b2643dde8b
--- /dev/null
+++ b/public_test_cases/p01646/input.1.txt
@@ -0,0 +1,22 @@
+4
+cba
+cab
+b
+a
+3
+bca
+ab
+a
+5
+abc
+acb
+b
+c
+c
+5
+abc
+acb
+c
+b
+b
+0
diff --git a/public_test_cases/p01646/output.0.txt b/public_test_cases/p01646/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33cc71c5a381b565c5ca891299202b8cf724680a
--- /dev/null
+++ b/public_test_cases/p01646/output.0.txt
@@ -0,0 +1,4 @@
+yes
+no
+yes
+no
diff --git a/public_test_cases/p01646/output.1.txt b/public_test_cases/p01646/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33cc71c5a381b565c5ca891299202b8cf724680a
--- /dev/null
+++ b/public_test_cases/p01646/output.1.txt
@@ -0,0 +1,4 @@
+yes
+no
+yes
+no
diff --git a/public_test_cases/p01647/input.0.txt b/public_test_cases/p01647/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9db4e04d34137c985b1cd2c274bde8be455bcde9
--- /dev/null
+++ b/public_test_cases/p01647/input.0.txt
@@ -0,0 +1,10 @@
+SA SK
+DA CA
+SQ SJ ST
+SA HA
+D2 C3
+H4 S5 DA
+HA D9
+H6 C9
+H3 H4 H5
+#
diff --git a/public_test_cases/p01647/input.1.txt b/public_test_cases/p01647/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9db4e04d34137c985b1cd2c274bde8be455bcde9
--- /dev/null
+++ b/public_test_cases/p01647/input.1.txt
@@ -0,0 +1,10 @@
+SA SK
+DA CA
+SQ SJ ST
+SA HA
+D2 C3
+H4 S5 DA
+HA D9
+H6 C9
+H3 H4 H5
+#
diff --git a/public_test_cases/p01647/output.0.txt b/public_test_cases/p01647/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10798846f1b7b0737e6b958dafda49a2303b72c1
--- /dev/null
+++ b/public_test_cases/p01647/output.0.txt
@@ -0,0 +1,3 @@
+1.00000000000000000000
+0.34444444444444444198
+0.63030303030303025391
diff --git a/public_test_cases/p01647/output.1.txt b/public_test_cases/p01647/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10798846f1b7b0737e6b958dafda49a2303b72c1
--- /dev/null
+++ b/public_test_cases/p01647/output.1.txt
@@ -0,0 +1,3 @@
+1.00000000000000000000
+0.34444444444444444198
+0.63030303030303025391
diff --git a/public_test_cases/p01648/input.0.txt b/public_test_cases/p01648/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22c120e839fe1e016a14e34a9ff3db51331d4b9e
--- /dev/null
+++ b/public_test_cases/p01648/input.0.txt
@@ -0,0 +1,28 @@
+2 1
+1 2 5
+4 6
+1 2 1
+1 3 2
+1 4 3
+2 3 4
+2 4 5
+3 4 6
+8 17
+1 4 767
+3 1 609
+8 3 426
+6 5 972
+8 1 607
+6 4 51
+5 1 683
+3 6 451
+3 4 630
+8 7 912
+3 7 43
+4 7 421
+3 5 582
+8 4 538
+5 7 832
+1 6 345
+8 2 608
+0 0
diff --git a/public_test_cases/p01648/input.1.txt b/public_test_cases/p01648/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22c120e839fe1e016a14e34a9ff3db51331d4b9e
--- /dev/null
+++ b/public_test_cases/p01648/input.1.txt
@@ -0,0 +1,28 @@
+2 1
+1 2 5
+4 6
+1 2 1
+1 3 2
+1 4 3
+2 3 4
+2 4 5
+3 4 6
+8 17
+1 4 767
+3 1 609
+8 3 426
+6 5 972
+8 1 607
+6 4 51
+5 1 683
+3 6 451
+3 4 630
+8 7 912
+3 7 43
+4 7 421
+3 5 582
+8 4 538
+5 7 832
+1 6 345
+8 2 608
+0 0
diff --git a/public_test_cases/p01648/output.0.txt b/public_test_cases/p01648/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd76561c6394f948187c95ac097d4340f9e8778
--- /dev/null
+++ b/public_test_cases/p01648/output.0.txt
@@ -0,0 +1,3 @@
+5
+2
+421
diff --git a/public_test_cases/p01648/output.1.txt b/public_test_cases/p01648/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd76561c6394f948187c95ac097d4340f9e8778
--- /dev/null
+++ b/public_test_cases/p01648/output.1.txt
@@ -0,0 +1,3 @@
+5
+2
+421
diff --git a/public_test_cases/p01649/input.0.txt b/public_test_cases/p01649/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9831f4c122ecac5c23745ed51361c81c5b6f5fa
--- /dev/null
+++ b/public_test_cases/p01649/input.0.txt
@@ -0,0 +1,11 @@
+3
+26 16 1 8 4
+10 6
+9 2
+9 10
+3
+71 363 4 8 0
+52 238
+25 33
+59 288
+0
diff --git a/public_test_cases/p01649/input.1.txt b/public_test_cases/p01649/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9831f4c122ecac5c23745ed51361c81c5b6f5fa
--- /dev/null
+++ b/public_test_cases/p01649/input.1.txt
@@ -0,0 +1,11 @@
+3
+26 16 1 8 4
+10 6
+9 2
+9 10
+3
+71 363 4 8 0
+52 238
+25 33
+59 288
+0
diff --git a/public_test_cases/p01649/output.0.txt b/public_test_cases/p01649/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81d7aba8aeacef28e577af1cc8bf39168aaa09b1
--- /dev/null
+++ b/public_test_cases/p01649/output.0.txt
@@ -0,0 +1,2 @@
+3
+-1
diff --git a/public_test_cases/p01649/output.1.txt b/public_test_cases/p01649/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81d7aba8aeacef28e577af1cc8bf39168aaa09b1
--- /dev/null
+++ b/public_test_cases/p01649/output.1.txt
@@ -0,0 +1,2 @@
+3
+-1
diff --git a/public_test_cases/p01650/input.0.txt b/public_test_cases/p01650/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dc800c8ec00714b5e300510d945058b8045b391
--- /dev/null
+++ b/public_test_cases/p01650/input.0.txt
@@ -0,0 +1,32 @@
+3 3
+ac#
+b#C
+.BA
+3 3
+aaZ
+a#Z
+aZZ
+3 3
+..#
+.#.
+#..
+1 50
+abcdefghijklmnopqrstuvwxyYXWVUTSRQPONMLKJIHGFEDCBA
+1 50
+aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyY
+1 50
+abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXY
+1 50
+aaaaaaaaaabbbbbbbbbbcccccCCCCCBBBBBBBBBBAAAAAAAAAA
+10 10
+...#......
+a###.#####
+.bc...A...
+##.#C#d#.#
+.#B#.#.###
+.#...#e.D.
+.#A..###.#
+..e.c#..E.
+####d###.#
+##E...D.C.
+0 0
diff --git a/public_test_cases/p01650/input.1.txt b/public_test_cases/p01650/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dc800c8ec00714b5e300510d945058b8045b391
--- /dev/null
+++ b/public_test_cases/p01650/input.1.txt
@@ -0,0 +1,32 @@
+3 3
+ac#
+b#C
+.BA
+3 3
+aaZ
+a#Z
+aZZ
+3 3
+..#
+.#.
+#..
+1 50
+abcdefghijklmnopqrstuvwxyYXWVUTSRQPONMLKJIHGFEDCBA
+1 50
+aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyY
+1 50
+abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXY
+1 50
+aaaaaaaaaabbbbbbbbbbcccccCCCCCBBBBBBBBBBAAAAAAAAAA
+10 10
+...#......
+a###.#####
+.bc...A...
+##.#C#d#.#
+.#B#.#.###
+.#...#e.D.
+.#A..###.#
+..e.c#..E.
+####d###.#
+##E...D.C.
+0 0
diff --git a/public_test_cases/p01650/input.2.txt b/public_test_cases/p01650/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b372bef5c3d06b2ad4870ae961c2574d9d26d1bc
--- /dev/null
+++ b/public_test_cases/p01650/input.2.txt
@@ -0,0 +1,32 @@
+3 3
+ac#
+b#C
+.BA
+3 3
+aaZ
+a#Z
+aZZ
+3 3
+..#
+.#.
+..
+1 50
+abcdefghijklmnopqrstuvwxyYXWVUTSRQPONMLKJIHGFEDCBA
+1 50
+aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyY
+1 50
+abcdefghijklmnopqrstuvwxyABCDEFGHIJKLMNOPQRSTUVWXY
+1 50
+aaaaaaaaaabbbbbbbbbbcccccCCCCCBBBBBBBBBBAAAAAAAAAA
+10 10
+...#......
+a###.#####
+.bc...A...
+.#C#d#.#
+.#B#.#.###
+.#...#e.D.
+.#A..###.#
+..e.c#..E.
+d###.#
+E...D.C.
+0 0
diff --git a/public_test_cases/p01650/output.0.txt b/public_test_cases/p01650/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce086164a52cc595764abc822af43fe653e041a4
--- /dev/null
+++ b/public_test_cases/p01650/output.0.txt
@@ -0,0 +1,8 @@
+2
+0
+-1
+25
+25
+1
+25
+4
diff --git a/public_test_cases/p01650/output.1.txt b/public_test_cases/p01650/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce086164a52cc595764abc822af43fe653e041a4
--- /dev/null
+++ b/public_test_cases/p01650/output.1.txt
@@ -0,0 +1,8 @@
+2
+0
+-1
+25
+25
+1
+25
+4
diff --git a/public_test_cases/p01650/output.2.txt b/public_test_cases/p01650/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce086164a52cc595764abc822af43fe653e041a4
--- /dev/null
+++ b/public_test_cases/p01650/output.2.txt
@@ -0,0 +1,8 @@
+2
+0
+-1
+25
+25
+1
+25
+4
diff --git a/public_test_cases/p01651/input.0.txt b/public_test_cases/p01651/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc632a161dcc38df58de68132e1b865badd20cf9
--- /dev/null
+++ b/public_test_cases/p01651/input.0.txt
@@ -0,0 +1,201 @@
+3
+2
+2
+1
+49
+95351238128934
+95351238128934
+95351238128932
+95351238128936
+95351238128936
+95351238128936
+95351238128960
+95351238128900
+95351238128896
+95351238129096
+95351238128772
+95351238129096
+95351238129096
+95351238126156
+95351238131712
+95351238131712
+95351238149576
+95351238093388
+95351238084040
+95351237962316
+95351238295552
+95351237911684
+95351237911684
+95351235149824
+95351233717380
+95351249496652
+95351249496652
+95351226761216
+95351226761216
+95351082722436
+95351082722436
+95352054803020
+95352156464260
+95348273971200
+95348273971200
+95354202286668
+95356451431556
+95356451431556
+95346024826312
+95356451431556
+95356451431556
+94557999988736
+94256939803780
+94256939803780
+102741546035788
+87649443431880
+87649443431880
+140737488355328
+32684288648324
+64
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+11
+0
+0
+1
+1
+1
+0
+1
+1
+1
+1
+1
+63
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+1
+4
+1
+1
+1
+1
+0
diff --git a/public_test_cases/p01651/input.1.txt b/public_test_cases/p01651/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc632a161dcc38df58de68132e1b865badd20cf9
--- /dev/null
+++ b/public_test_cases/p01651/input.1.txt
@@ -0,0 +1,201 @@
+3
+2
+2
+1
+49
+95351238128934
+95351238128934
+95351238128932
+95351238128936
+95351238128936
+95351238128936
+95351238128960
+95351238128900
+95351238128896
+95351238129096
+95351238128772
+95351238129096
+95351238129096
+95351238126156
+95351238131712
+95351238131712
+95351238149576
+95351238093388
+95351238084040
+95351237962316
+95351238295552
+95351237911684
+95351237911684
+95351235149824
+95351233717380
+95351249496652
+95351249496652
+95351226761216
+95351226761216
+95351082722436
+95351082722436
+95352054803020
+95352156464260
+95348273971200
+95348273971200
+95354202286668
+95356451431556
+95356451431556
+95346024826312
+95356451431556
+95356451431556
+94557999988736
+94256939803780
+94256939803780
+102741546035788
+87649443431880
+87649443431880
+140737488355328
+32684288648324
+64
+0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+31
+32
+33
+34
+35
+36
+37
+38
+39
+40
+41
+42
+43
+44
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+11
+0
+0
+1
+1
+1
+0
+1
+1
+1
+1
+1
+63
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+0
+1
+4
+1
+1
+1
+1
+0
diff --git a/public_test_cases/p01651/output.0.txt b/public_test_cases/p01651/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805ef58d7953efcfdb6d323abae9c2eb87e041ac
--- /dev/null
+++ b/public_test_cases/p01651/output.0.txt
@@ -0,0 +1,6 @@
+1 4
+123456789101112 314159265358979
+None
+2012 2012
+None
+Many
diff --git a/public_test_cases/p01651/output.1.txt b/public_test_cases/p01651/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805ef58d7953efcfdb6d323abae9c2eb87e041ac
--- /dev/null
+++ b/public_test_cases/p01651/output.1.txt
@@ -0,0 +1,6 @@
+1 4
+123456789101112 314159265358979
+None
+2012 2012
+None
+Many
diff --git a/public_test_cases/p01652/input.0.txt b/public_test_cases/p01652/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e24594959753bfa0b5b159c63c37a99fb33c887a
--- /dev/null
+++ b/public_test_cases/p01652/input.0.txt
@@ -0,0 +1,94 @@
+2 1
+a 11 9
+****.....
+.*.*.....
+.*.*.....
+.*..*....
+.**..*...
+..**..*..
+..*.*....
+..**.*.*.
+..*..*.*.
+..*****.*
+******.**
+b 10 6
+....*.
+....*.
+....*.
+....*.
+....*.
+....*.
+....*.
+....*.
+.**..*
+*****.
+19 55
+*******************************************************
+*.....................................................*
+*.********************.********************...........*
+*.*..................*.*..................*...........*
+*.*.****.............*.*.............****.*.****......*
+*.*..*.*..........*..*.*..*..........*.*..*..*.*......*
+*.*..*.*..........*..*.*..*..........*.*..*..*.*......*
+*.*..*..*.........*..*.*..*.........*..*..*..*..*.....*
+*.*..**..*........*..*.*..*........*..**..*..**..*....*
+*.*...**..*.......*..*.*..*.......*..**...*...**..*...*
+*.*...*.*.........*..*.*..*.........*.*...*...*.*.....*
+*.*...**.*.*......*..*.*..*......*.*.**...*...**.*.*..*
+*.*...*..*.*......*..*.*..*......*.*..*...*...*..*.*..*
+*.*...*****.*..**..*.*.*.*..**..*.*****...*...*****.*.*
+*.*.******.**.*****..*.*..*****.**.******.*.******.**.*
+*.*..................*.*..................*...........*
+*.********************.********************...........*
+*.....................................................*
+*******************************************************
+2 3
+a 2 3
+.*.
+***
+b 3 3
+.*.
+***
+.*.
+2 3
+.*.
+***
+4 3
+***
+*.*
+*.*
+***
+9 13
+************.
+*..........*.
+*.......*..*.
+*...*..***.*.
+*..***.....*.
+*...*......*.
+*..........*.
+************.
+.............
+3 1
+a 2 2
+.*
+**
+b 2 1
+*
+*
+c 3 3
+***
+*.*
+***
+11 16
+****************
+*..............*
+*....*********.*
+*....*.......*.*
+*.*..*.***...*.*
+*.**.*.*.*.*.*.*
+*....*.***.*.*.*
+*....*.......*.*
+*....*********.*
+*..............*
+****************
+0 0
diff --git a/public_test_cases/p01652/input.1.txt b/public_test_cases/p01652/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e24594959753bfa0b5b159c63c37a99fb33c887a
--- /dev/null
+++ b/public_test_cases/p01652/input.1.txt
@@ -0,0 +1,94 @@
+2 1
+a 11 9
+****.....
+.*.*.....
+.*.*.....
+.*..*....
+.**..*...
+..**..*..
+..*.*....
+..**.*.*.
+..*..*.*.
+..*****.*
+******.**
+b 10 6
+....*.
+....*.
+....*.
+....*.
+....*.
+....*.
+....*.
+....*.
+.**..*
+*****.
+19 55
+*******************************************************
+*.....................................................*
+*.********************.********************...........*
+*.*..................*.*..................*...........*
+*.*.****.............*.*.............****.*.****......*
+*.*..*.*..........*..*.*..*..........*.*..*..*.*......*
+*.*..*.*..........*..*.*..*..........*.*..*..*.*......*
+*.*..*..*.........*..*.*..*.........*..*..*..*..*.....*
+*.*..**..*........*..*.*..*........*..**..*..**..*....*
+*.*...**..*.......*..*.*..*.......*..**...*...**..*...*
+*.*...*.*.........*..*.*..*.........*.*...*...*.*.....*
+*.*...**.*.*......*..*.*..*......*.*.**...*...**.*.*..*
+*.*...*..*.*......*..*.*..*......*.*..*...*...*..*.*..*
+*.*...*****.*..**..*.*.*.*..**..*.*****...*...*****.*.*
+*.*.******.**.*****..*.*..*****.**.******.*.******.**.*
+*.*..................*.*..................*...........*
+*.********************.********************...........*
+*.....................................................*
+*******************************************************
+2 3
+a 2 3
+.*.
+***
+b 3 3
+.*.
+***
+.*.
+2 3
+.*.
+***
+4 3
+***
+*.*
+*.*
+***
+9 13
+************.
+*..........*.
+*.......*..*.
+*...*..***.*.
+*..***.....*.
+*...*......*.
+*..........*.
+************.
+.............
+3 1
+a 2 2
+.*
+**
+b 2 1
+*
+*
+c 3 3
+***
+*.*
+***
+11 16
+****************
+*..............*
+*....*********.*
+*....*.......*.*
+*.*..*.***...*.*
+*.**.*.*.*.*.*.*
+*....*.***.*.*.*
+*....*.......*.*
+*....*********.*
+*..............*
+****************
+0 0
diff --git a/public_test_cases/p01652/output.0.txt b/public_test_cases/p01652/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d976a321b6636724605430faf670b923ec69b43
--- /dev/null
+++ b/public_test_cases/p01652/output.0.txt
@@ -0,0 +1,8 @@
+[[ab][ab]a]
+#
+a
+[]
+[ba]
+#
+[[cb]a]
+#
diff --git a/public_test_cases/p01652/output.1.txt b/public_test_cases/p01652/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d976a321b6636724605430faf670b923ec69b43
--- /dev/null
+++ b/public_test_cases/p01652/output.1.txt
@@ -0,0 +1,8 @@
+[[ab][ab]a]
+#
+a
+[]
+[ba]
+#
+[[cb]a]
+#
diff --git a/public_test_cases/p01653/input.0.txt b/public_test_cases/p01653/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bdaf51ca9983fa33cd8669e483f0c6866902657
--- /dev/null
+++ b/public_test_cases/p01653/input.0.txt
@@ -0,0 +1,8 @@
+3 2 2 3 1
+1 2 1
+1 3 2
+4 3 1 4 2
+2 1 3
+2 3 x
+4 3 x
+0 0 0 0 0
diff --git a/public_test_cases/p01653/input.1.txt b/public_test_cases/p01653/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bdaf51ca9983fa33cd8669e483f0c6866902657
--- /dev/null
+++ b/public_test_cases/p01653/input.1.txt
@@ -0,0 +1,8 @@
+3 2 2 3 1
+1 2 1
+1 3 2
+4 3 1 4 2
+2 1 3
+2 3 x
+4 3 x
+0 0 0 0 0
diff --git a/public_test_cases/p01653/output.0.txt b/public_test_cases/p01653/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p01653/output.0.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p01653/output.1.txt b/public_test_cases/p01653/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p01653/output.1.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p01654/input.0.txt b/public_test_cases/p01654/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63e7091ef1799e887d68bef2e46a262d13f36ed4
--- /dev/null
+++ b/public_test_cases/p01654/input.0.txt
@@ -0,0 +1,22 @@
+1 5
+2
+3 7
+2 3 1
+0 1 1 0
+1 2 2 0
+2 8
+5 6
+0 2 1 2
+2 8
+1 1
+0 0 1 0
+2 2
+2 2
+0 1 1 0
+2 3
+3 3
+0 2 1 1
+2 4
+3 1
+1 0 0 1
+0 0
diff --git a/public_test_cases/p01654/input.1.txt b/public_test_cases/p01654/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63e7091ef1799e887d68bef2e46a262d13f36ed4
--- /dev/null
+++ b/public_test_cases/p01654/input.1.txt
@@ -0,0 +1,22 @@
+1 5
+2
+3 7
+2 3 1
+0 1 1 0
+1 2 2 0
+2 8
+5 6
+0 2 1 2
+2 8
+1 1
+0 0 1 0
+2 2
+2 2
+0 1 1 0
+2 3
+3 3
+0 2 1 1
+2 4
+3 1
+1 0 0 1
+0 0
diff --git a/public_test_cases/p01654/output.0.txt b/public_test_cases/p01654/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..247b75208e20067a4f81033fd77b63641477cea9
--- /dev/null
+++ b/public_test_cases/p01654/output.0.txt
@@ -0,0 +1,7 @@
+708
+1900484
+438404500
+3878
+496
+14246
+9768
diff --git a/public_test_cases/p01654/output.1.txt b/public_test_cases/p01654/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..247b75208e20067a4f81033fd77b63641477cea9
--- /dev/null
+++ b/public_test_cases/p01654/output.1.txt
@@ -0,0 +1,7 @@
+708
+1900484
+438404500
+3878
+496
+14246
+9768
diff --git a/public_test_cases/p01655/input.0.txt b/public_test_cases/p01655/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77680aa7b0b6f47fc0f12e5c4662b56fa738f65b
--- /dev/null
+++ b/public_test_cases/p01655/input.0.txt
@@ -0,0 +1,17 @@
+3 1
+ACM
+IBM
+ICM
+5 2
+iwzwz
+iziwi
+zwizi
+1 0
+A
+B
+C
+10 5
+jLRNlNyGWx
+yyLnlyyGDA
+yLRnvyyGDA
+0 0
diff --git a/public_test_cases/p01655/input.1.txt b/public_test_cases/p01655/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77680aa7b0b6f47fc0f12e5c4662b56fa738f65b
--- /dev/null
+++ b/public_test_cases/p01655/input.1.txt
@@ -0,0 +1,17 @@
+3 1
+ACM
+IBM
+ICM
+5 2
+iwzwz
+iziwi
+zwizi
+1 0
+A
+B
+C
+10 5
+jLRNlNyGWx
+yyLnlyyGDA
+yLRnvyyGDA
+0 0
diff --git a/public_test_cases/p01655/output.0.txt b/public_test_cases/p01655/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ca9473e482746336a7e92f959d808d91c1cbbea
--- /dev/null
+++ b/public_test_cases/p01655/output.0.txt
@@ -0,0 +1,4 @@
+ICM
+iwiwi
+-1
+AARAlNyGDA
diff --git a/public_test_cases/p01655/output.1.txt b/public_test_cases/p01655/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ca9473e482746336a7e92f959d808d91c1cbbea
--- /dev/null
+++ b/public_test_cases/p01655/output.1.txt
@@ -0,0 +1,4 @@
+ICM
+iwiwi
+-1
+AARAlNyGDA
diff --git a/public_test_cases/p01656/input.0.txt b/public_test_cases/p01656/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef6f8d95ef758023dafe4e8349d3fcc471b5a3e9
--- /dev/null
+++ b/public_test_cases/p01656/input.0.txt
@@ -0,0 +1,4 @@
+3 12
+5 sogo5gokan
+10 sogo10gokan
+15 sogo15gokan
diff --git a/public_test_cases/p01656/output.0.txt b/public_test_cases/p01656/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e0c388f682cd67b9fc82af5bd49dd313e9d6585
--- /dev/null
+++ b/public_test_cases/p01656/output.0.txt
@@ -0,0 +1 @@
+sogo10gokan
diff --git a/public_test_cases/p01657/input.0.txt b/public_test_cases/p01657/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..face79053ca326b20acc621a8f7008f84bcc8463
--- /dev/null
+++ b/public_test_cases/p01657/input.0.txt
@@ -0,0 +1,2 @@
+3 5 1
+1 2 5
diff --git a/public_test_cases/p01657/output.0.txt b/public_test_cases/p01657/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80bc4aac6edc439097726320cc0fd569093f1cd2
--- /dev/null
+++ b/public_test_cases/p01657/output.0.txt
@@ -0,0 +1 @@
+2 3 5
diff --git a/public_test_cases/p01658/input.0.txt b/public_test_cases/p01658/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b40bfd8c889c575f7bce443635f4e272f7316761
--- /dev/null
+++ b/public_test_cases/p01658/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+1 1 1
+1 1 1
diff --git a/public_test_cases/p01658/output.0.txt b/public_test_cases/p01658/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01658/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01659/input.0.txt b/public_test_cases/p01659/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56221aadc5dfac666c62fd57ad1536458c512851
--- /dev/null
+++ b/public_test_cases/p01659/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 1
diff --git a/public_test_cases/p01659/output.0.txt b/public_test_cases/p01659/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01659/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01660/input.1.txt b/public_test_cases/p01660/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01660/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01660/output.1.txt b/public_test_cases/p01660/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01660/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01661/input.0.txt b/public_test_cases/p01661/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f788f895b9ff134a3848547c2ce2d39f7cc7b54
--- /dev/null
+++ b/public_test_cases/p01661/input.0.txt
@@ -0,0 +1,5 @@
+2 1
+0 100
+150 250
+0 100
+100 0
diff --git a/public_test_cases/p01661/output.0.txt b/public_test_cases/p01661/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa8f08cb6ff8a30dd34a3b442009bdfc798a7316
--- /dev/null
+++ b/public_test_cases/p01661/output.0.txt
@@ -0,0 +1 @@
+150
diff --git a/public_test_cases/p01663/input.0.txt b/public_test_cases/p01663/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..704efd280dfdd88a4eda0dfa56c9e81130f6b687
--- /dev/null
+++ b/public_test_cases/p01663/input.0.txt
@@ -0,0 +1,6 @@
+5
+3 2
+5 2
+8 3
+10 1
+18 12
diff --git a/public_test_cases/p01663/input.1.txt b/public_test_cases/p01663/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..704efd280dfdd88a4eda0dfa56c9e81130f6b687
--- /dev/null
+++ b/public_test_cases/p01663/input.1.txt
@@ -0,0 +1,6 @@
+5
+3 2
+5 2
+8 3
+10 1
+18 12
diff --git a/public_test_cases/p01663/output.0.txt b/public_test_cases/p01663/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5696b72d73f5a4450a759b9b3d48c277806468b2
--- /dev/null
+++ b/public_test_cases/p01663/output.0.txt
@@ -0,0 +1,5 @@
+3
+3
+5
+4
+-1
diff --git a/public_test_cases/p01663/output.1.txt b/public_test_cases/p01663/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5696b72d73f5a4450a759b9b3d48c277806468b2
--- /dev/null
+++ b/public_test_cases/p01663/output.1.txt
@@ -0,0 +1,5 @@
+3
+3
+5
+4
+-1
diff --git a/public_test_cases/p01664/input.1.txt b/public_test_cases/p01664/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01664/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01664/output.1.txt b/public_test_cases/p01664/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01664/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01665/input.0.txt b/public_test_cases/p01665/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p01665/input.0.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p01665/output.0.txt b/public_test_cases/p01665/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01665/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01667/input.0.txt b/public_test_cases/p01667/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a74c2ba9599fb80b2f01c2bade473f66f25749a
--- /dev/null
+++ b/public_test_cases/p01667/input.0.txt
@@ -0,0 +1,4 @@
+2 2
+2
+1 >= 3
+2
diff --git a/public_test_cases/p01667/input.1.txt b/public_test_cases/p01667/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a74c2ba9599fb80b2f01c2bade473f66f25749a
--- /dev/null
+++ b/public_test_cases/p01667/input.1.txt
@@ -0,0 +1,4 @@
+2 2
+2
+1 >= 3
+2
diff --git a/public_test_cases/p01667/output.0.txt b/public_test_cases/p01667/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01667/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01667/output.1.txt b/public_test_cases/p01667/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01667/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01668/input.0.txt b/public_test_cases/p01668/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d849ff9fbc8ef5b5ece8947aedea2c693179e497
--- /dev/null
+++ b/public_test_cases/p01668/input.0.txt
@@ -0,0 +1 @@
+1 3 2
diff --git a/public_test_cases/p01668/output.0.txt b/public_test_cases/p01668/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01668/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01669/input.0.txt b/public_test_cases/p01669/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b218b5f0267d2a0a49c9a2c1af122a80f7bc59f5
--- /dev/null
+++ b/public_test_cases/p01669/input.0.txt
@@ -0,0 +1,4 @@
+3 2 1 3 2 1 3 2 1 3 2 1
+1 1
+1 1
+1 1
diff --git a/public_test_cases/p01669/input.1.txt b/public_test_cases/p01669/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b218b5f0267d2a0a49c9a2c1af122a80f7bc59f5
--- /dev/null
+++ b/public_test_cases/p01669/input.1.txt
@@ -0,0 +1,4 @@
+3 2 1 3 2 1 3 2 1 3 2 1
+1 1
+1 1
+1 1
diff --git a/public_test_cases/p01669/output.0.txt b/public_test_cases/p01669/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2b8df90b143ee93588c9cfc0225c9203027b21f
--- /dev/null
+++ b/public_test_cases/p01669/output.0.txt
@@ -0,0 +1 @@
+4 8 12
diff --git a/public_test_cases/p01669/output.1.txt b/public_test_cases/p01669/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2b8df90b143ee93588c9cfc0225c9203027b21f
--- /dev/null
+++ b/public_test_cases/p01669/output.1.txt
@@ -0,0 +1 @@
+4 8 12
diff --git a/public_test_cases/p01670/input.0.txt b/public_test_cases/p01670/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fac41c35610736b5896be681e834622f2362326d
--- /dev/null
+++ b/public_test_cases/p01670/input.0.txt
@@ -0,0 +1,4 @@
+3 3 2
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01670/input.1.txt b/public_test_cases/p01670/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fac41c35610736b5896be681e834622f2362326d
--- /dev/null
+++ b/public_test_cases/p01670/input.1.txt
@@ -0,0 +1,4 @@
+3 3 2
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01670/output.0.txt b/public_test_cases/p01670/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01670/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01670/output.1.txt b/public_test_cases/p01670/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01670/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01671/input.0.txt b/public_test_cases/p01671/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4337ed0072855d2406c16c302d9c09bbee328661
--- /dev/null
+++ b/public_test_cases/p01671/input.0.txt
@@ -0,0 +1,7 @@
+4 6
+1 2 2
+1 3 6
+1 4 3
+2 3 1
+2 4 4
+3 4 5
diff --git a/public_test_cases/p01671/input.1.txt b/public_test_cases/p01671/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4337ed0072855d2406c16c302d9c09bbee328661
--- /dev/null
+++ b/public_test_cases/p01671/input.1.txt
@@ -0,0 +1,7 @@
+4 6
+1 2 2
+1 3 6
+1 4 3
+2 3 1
+2 4 4
+3 4 5
diff --git a/public_test_cases/p01671/output.0.txt b/public_test_cases/p01671/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..047d5342ba172ce092bef0f6cdc81f1c20623054
--- /dev/null
+++ b/public_test_cases/p01671/output.0.txt
@@ -0,0 +1,6 @@
+8
+6
+7
+10
+6
+6
diff --git a/public_test_cases/p01671/output.1.txt b/public_test_cases/p01671/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..047d5342ba172ce092bef0f6cdc81f1c20623054
--- /dev/null
+++ b/public_test_cases/p01671/output.1.txt
@@ -0,0 +1,6 @@
+8
+6
+7
+10
+6
+6
diff --git a/public_test_cases/p01672/input.0.txt b/public_test_cases/p01672/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..157189fda42532d6a47765be5bb514577ac032f2
--- /dev/null
+++ b/public_test_cases/p01672/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 0
+0 1
diff --git a/public_test_cases/p01672/input.1.txt b/public_test_cases/p01672/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..157189fda42532d6a47765be5bb514577ac032f2
--- /dev/null
+++ b/public_test_cases/p01672/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 0
+0 1
diff --git a/public_test_cases/p01672/output.0.txt b/public_test_cases/p01672/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57e126068b6a47c3e64407e3eae9118149fb4ae
--- /dev/null
+++ b/public_test_cases/p01672/output.0.txt
@@ -0,0 +1,2 @@
+1.4142135624
+2 1
diff --git a/public_test_cases/p01672/output.1.txt b/public_test_cases/p01672/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57e126068b6a47c3e64407e3eae9118149fb4ae
--- /dev/null
+++ b/public_test_cases/p01672/output.1.txt
@@ -0,0 +1,2 @@
+1.4142135624
+2 1
diff --git a/public_test_cases/p01673/input.0.txt b/public_test_cases/p01673/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c22267eee7fd8aff2359aa0f5bf2237fff59da0b
--- /dev/null
+++ b/public_test_cases/p01673/input.0.txt
@@ -0,0 +1,3 @@
+2 2 0 1 5
+0 1 3 0 3
+0 1 2 1 6
diff --git a/public_test_cases/p01673/input.1.txt b/public_test_cases/p01673/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c22267eee7fd8aff2359aa0f5bf2237fff59da0b
--- /dev/null
+++ b/public_test_cases/p01673/input.1.txt
@@ -0,0 +1,3 @@
+2 2 0 1 5
+0 1 3 0 3
+0 1 2 1 6
diff --git a/public_test_cases/p01673/output.0.txt b/public_test_cases/p01673/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01673/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01673/output.1.txt b/public_test_cases/p01673/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01673/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01674/input.0.txt b/public_test_cases/p01674/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e07b6fb79c90718aa8efbab29145a4ec1e9f68d
--- /dev/null
+++ b/public_test_cases/p01674/input.0.txt
@@ -0,0 +1,4 @@
+0.0 0.0 0.0
+1.0 0.0 0.0 0.0 1.0 0.0
+1.0 0.0 0.5
+1.0 0.0 0.0 0.0 0.0 1.0
diff --git a/public_test_cases/p01674/input.1.txt b/public_test_cases/p01674/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e07b6fb79c90718aa8efbab29145a4ec1e9f68d
--- /dev/null
+++ b/public_test_cases/p01674/input.1.txt
@@ -0,0 +1,4 @@
+0.0 0.0 0.0
+1.0 0.0 0.0 0.0 1.0 0.0
+1.0 0.0 0.5
+1.0 0.0 0.0 0.0 0.0 1.0
diff --git a/public_test_cases/p01674/output.0.txt b/public_test_cases/p01674/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01674/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01674/output.1.txt b/public_test_cases/p01674/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01674/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01675/input.0.txt b/public_test_cases/p01675/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..365115e2e3d3f2958aee5ca60ff97e19d23e0870
--- /dev/null
+++ b/public_test_cases/p01675/input.0.txt
@@ -0,0 +1,6 @@
+5 4 1
+1 5 1
+1 1 3
+4 5 1
+3 4 2
+1 3 4
diff --git a/public_test_cases/p01675/input.1.txt b/public_test_cases/p01675/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..365115e2e3d3f2958aee5ca60ff97e19d23e0870
--- /dev/null
+++ b/public_test_cases/p01675/input.1.txt
@@ -0,0 +1,6 @@
+5 4 1
+1 5 1
+1 1 3
+4 5 1
+3 4 2
+1 3 4
diff --git a/public_test_cases/p01675/output.0.txt b/public_test_cases/p01675/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01675/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01675/output.1.txt b/public_test_cases/p01675/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01675/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01676/input.0.txt b/public_test_cases/p01676/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92fd402ea5c9b713eeaf13bba1d2e05729b568d4
--- /dev/null
+++ b/public_test_cases/p01676/input.0.txt
@@ -0,0 +1,14 @@
+9 13
+1 2
+1 3
+2 9
+3 4
+3 5
+3 6
+4 9
+5 7
+6 7
+6 8
+7 9
+8 9
+9 1
diff --git a/public_test_cases/p01676/input.1.txt b/public_test_cases/p01676/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92fd402ea5c9b713eeaf13bba1d2e05729b568d4
--- /dev/null
+++ b/public_test_cases/p01676/input.1.txt
@@ -0,0 +1,14 @@
+9 13
+1 2
+1 3
+2 9
+3 4
+3 5
+3 6
+4 9
+5 7
+6 7
+6 8
+7 9
+8 9
+9 1
diff --git a/public_test_cases/p01676/output.0.txt b/public_test_cases/p01676/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01676/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01676/output.1.txt b/public_test_cases/p01676/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01676/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01677/input.0.txt b/public_test_cases/p01677/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c081d484eee289dcb7487bd1a796e8257d1c280
--- /dev/null
+++ b/public_test_cases/p01677/input.0.txt
@@ -0,0 +1,13 @@
+5
+1 x 2 4 x
+2
+x x
+2
+1 2
+2
+2 1
+2
+1000000000 x
+4
+x 2 1 x
+0
diff --git a/public_test_cases/p01677/input.1.txt b/public_test_cases/p01677/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c081d484eee289dcb7487bd1a796e8257d1c280
--- /dev/null
+++ b/public_test_cases/p01677/input.1.txt
@@ -0,0 +1,13 @@
+5
+1 x 2 4 x
+2
+x x
+2
+1 2
+2
+2 1
+2
+1000000000 x
+4
+x 2 1 x
+0
diff --git a/public_test_cases/p01677/output.0.txt b/public_test_cases/p01677/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1b86847564e0a1fb57a08c87d7036ddd8d7daf0
--- /dev/null
+++ b/public_test_cases/p01677/output.0.txt
@@ -0,0 +1,6 @@
+3
+none
+ambiguous
+none
+ambiguous
+none
diff --git a/public_test_cases/p01677/output.1.txt b/public_test_cases/p01677/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1b86847564e0a1fb57a08c87d7036ddd8d7daf0
--- /dev/null
+++ b/public_test_cases/p01677/output.1.txt
@@ -0,0 +1,6 @@
+3
+none
+ambiguous
+none
+ambiguous
+none
diff --git a/public_test_cases/p01678/input.0.txt b/public_test_cases/p01678/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aada363cbd30421419a160ad7af0f294d866441b
--- /dev/null
+++ b/public_test_cases/p01678/input.0.txt
@@ -0,0 +1,10 @@
+3?4
+12?
+5?6
+?2?4
+5?7?
+?9?2
+?????
+?????
+?????
+0
diff --git a/public_test_cases/p01678/input.1.txt b/public_test_cases/p01678/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aada363cbd30421419a160ad7af0f294d866441b
--- /dev/null
+++ b/public_test_cases/p01678/input.1.txt
@@ -0,0 +1,10 @@
+3?4
+12?
+5?6
+?2?4
+5?7?
+?9?2
+?????
+?????
+?????
+0
diff --git a/public_test_cases/p01678/output.0.txt b/public_test_cases/p01678/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707aeae17e7da99bda049f58a0e80efaa6bd41f5
--- /dev/null
+++ b/public_test_cases/p01678/output.0.txt
@@ -0,0 +1,3 @@
+2
+40
+200039979
diff --git a/public_test_cases/p01678/output.1.txt b/public_test_cases/p01678/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707aeae17e7da99bda049f58a0e80efaa6bd41f5
--- /dev/null
+++ b/public_test_cases/p01678/output.1.txt
@@ -0,0 +1,3 @@
+2
+40
+200039979
diff --git a/public_test_cases/p01679/input.0.txt b/public_test_cases/p01679/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..554fc6ffb1ea59fbd330b1ccf09e84fdc4d1c6f1
--- /dev/null
+++ b/public_test_cases/p01679/input.0.txt
@@ -0,0 +1,22 @@
+2 1 1 1 10
+1 2 3
+2 4
+2 1 1 1 9
+1 2 3
+2 4
+4 2 2 4 50
+1 2 5
+3 4 5
+2 15
+3 15
+4 6 3 1 29
+1 2 20
+3 2 10
+4 1 5
+3 1 5
+2 4 3
+3 4 4
+2 1
+4 5
+3 3
+0 0 0 0 0
diff --git a/public_test_cases/p01679/input.1.txt b/public_test_cases/p01679/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..554fc6ffb1ea59fbd330b1ccf09e84fdc4d1c6f1
--- /dev/null
+++ b/public_test_cases/p01679/input.1.txt
@@ -0,0 +1,22 @@
+2 1 1 1 10
+1 2 3
+2 4
+2 1 1 1 9
+1 2 3
+2 4
+4 2 2 4 50
+1 2 5
+3 4 5
+2 15
+3 15
+4 6 3 1 29
+1 2 20
+3 2 10
+4 1 5
+3 1 5
+2 4 3
+3 4 4
+2 1
+4 5
+3 3
+0 0 0 0 0
diff --git a/public_test_cases/p01679/output.0.txt b/public_test_cases/p01679/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59ea73c7c13aef64b759c813f78872bd5dd49966
--- /dev/null
+++ b/public_test_cases/p01679/output.0.txt
@@ -0,0 +1,4 @@
+1
+0
+1
+3
diff --git a/public_test_cases/p01679/output.1.txt b/public_test_cases/p01679/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59ea73c7c13aef64b759c813f78872bd5dd49966
--- /dev/null
+++ b/public_test_cases/p01679/output.1.txt
@@ -0,0 +1,4 @@
+1
+0
+1
+3
diff --git a/public_test_cases/p01680/input.0.txt b/public_test_cases/p01680/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16dc495284a889251210b6dfc7162794c8ab3451
--- /dev/null
+++ b/public_test_cases/p01680/input.0.txt
@@ -0,0 +1,6 @@
+3 2
+1 2
+2 3
+5 0
+100000 0
+0 0
diff --git a/public_test_cases/p01680/input.1.txt b/public_test_cases/p01680/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16dc495284a889251210b6dfc7162794c8ab3451
--- /dev/null
+++ b/public_test_cases/p01680/input.1.txt
@@ -0,0 +1,6 @@
+3 2
+1 2
+2 3
+5 0
+100000 0
+0 0
diff --git a/public_test_cases/p01680/output.0.txt b/public_test_cases/p01680/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3966d66ac33b9e7fd09b643b84750ff8c90f25c
--- /dev/null
+++ b/public_test_cases/p01680/output.0.txt
@@ -0,0 +1,3 @@
+3
+32
+607723520
diff --git a/public_test_cases/p01680/output.1.txt b/public_test_cases/p01680/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3966d66ac33b9e7fd09b643b84750ff8c90f25c
--- /dev/null
+++ b/public_test_cases/p01680/output.1.txt
@@ -0,0 +1,3 @@
+3
+32
+607723520
diff --git a/public_test_cases/p01681/input.0.txt b/public_test_cases/p01681/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae1da9438a457edf2569ca7cf0c232701ab59053
--- /dev/null
+++ b/public_test_cases/p01681/input.0.txt
@@ -0,0 +1,7 @@
+4
+0 0
+-10 -10
+10 -10
+10 10
+-10 10
+0
diff --git a/public_test_cases/p01681/input.1.txt b/public_test_cases/p01681/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae1da9438a457edf2569ca7cf0c232701ab59053
--- /dev/null
+++ b/public_test_cases/p01681/input.1.txt
@@ -0,0 +1,7 @@
+4
+0 0
+-10 -10
+10 -10
+10 10
+-10 10
+0
diff --git a/public_test_cases/p01681/output.0.txt b/public_test_cases/p01681/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01681/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01681/output.1.txt b/public_test_cases/p01681/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01681/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01682/input.0.txt b/public_test_cases/p01682/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7db16c5c812d9f458e277144c4e0a4c11d5f35c
--- /dev/null
+++ b/public_test_cases/p01682/input.0.txt
@@ -0,0 +1,6 @@
+S< S< 12 >> 2 > >
+123 >> 1 >> 1
+1000000000 >>129
+S>>>>
+S >> 11 >>> 10 >
+#
diff --git a/public_test_cases/p01682/input.1.txt b/public_test_cases/p01682/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7db16c5c812d9f458e277144c4e0a4c11d5f35c
--- /dev/null
+++ b/public_test_cases/p01682/input.1.txt
@@ -0,0 +1,6 @@
+S< S< 12 >> 2 > >
+123 >> 1 >> 1
+1000000000 >>129
+S>>>>
+S >> 11 >>> 10 >
+#
diff --git a/public_test_cases/p01682/output.0.txt b/public_test_cases/p01682/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0ead9507f6d840a320918d29ce374270dd3d31d
--- /dev/null
+++ b/public_test_cases/p01682/output.0.txt
@@ -0,0 +1,5 @@
+81
+30
+0
+294967268
+14592400
diff --git a/public_test_cases/p01682/output.1.txt b/public_test_cases/p01682/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0ead9507f6d840a320918d29ce374270dd3d31d
--- /dev/null
+++ b/public_test_cases/p01682/output.1.txt
@@ -0,0 +1,5 @@
+81
+30
+0
+294967268
+14592400
diff --git a/public_test_cases/p01683/input.0.txt b/public_test_cases/p01683/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b10c77236290c7e3d5b2abb7c7669baa7fb54be
--- /dev/null
+++ b/public_test_cases/p01683/input.0.txt
@@ -0,0 +1,27 @@
+4
+1 1
+8 2
+9 1
+14 2
+4
+181 4
+815 4
+634 4
+370 4
+4
+52 1
+40 1
+81 2
+73 1
+10
+330 1
+665 3
+260 1
+287 2
+196 3
+243 1
+815 1
+287 3
+330 1
+473 4
+0
diff --git a/public_test_cases/p01683/input.1.txt b/public_test_cases/p01683/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b10c77236290c7e3d5b2abb7c7669baa7fb54be
--- /dev/null
+++ b/public_test_cases/p01683/input.1.txt
@@ -0,0 +1,27 @@
+4
+1 1
+8 2
+9 1
+14 2
+4
+181 4
+815 4
+634 4
+370 4
+4
+52 1
+40 1
+81 2
+73 1
+10
+330 1
+665 3
+260 1
+287 2
+196 3
+243 1
+815 1
+287 3
+330 1
+473 4
+0
diff --git a/public_test_cases/p01683/output.0.txt b/public_test_cases/p01683/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7900a6cca081188c20eec3dec629d6d8a355179f
--- /dev/null
+++ b/public_test_cases/p01683/output.0.txt
@@ -0,0 +1,4 @@
+18
+634
+-1
+916
diff --git a/public_test_cases/p01683/output.1.txt b/public_test_cases/p01683/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7900a6cca081188c20eec3dec629d6d8a355179f
--- /dev/null
+++ b/public_test_cases/p01683/output.1.txt
@@ -0,0 +1,4 @@
+18
+634
+-1
+916
diff --git a/public_test_cases/p01684/input.0.txt b/public_test_cases/p01684/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8d36f1f778d7cb1e0934dfcee38423f07c8a40b
--- /dev/null
+++ b/public_test_cases/p01684/input.0.txt
@@ -0,0 +1,4 @@
+10 5 1 1 0
+10 5 2 2 1
+10 10 70 70 20
+0 0 0 0 0
diff --git a/public_test_cases/p01684/input.1.txt b/public_test_cases/p01684/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8d36f1f778d7cb1e0934dfcee38423f07c8a40b
--- /dev/null
+++ b/public_test_cases/p01684/input.1.txt
@@ -0,0 +1,4 @@
+10 5 1 1 0
+10 5 2 2 1
+10 10 70 70 20
+0 0 0 0 0
diff --git a/public_test_cases/p01684/output.0.txt b/public_test_cases/p01684/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e30c4092eeabad392a98edfe8ba8ecd2497884b2
--- /dev/null
+++ b/public_test_cases/p01684/output.0.txt
@@ -0,0 +1,3 @@
+1 1 0.564189584 3 1 0.564189584
+1 1 0.797884561 1.644647246 1 0.797884561
+impossible
diff --git a/public_test_cases/p01684/output.1.txt b/public_test_cases/p01684/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e30c4092eeabad392a98edfe8ba8ecd2497884b2
--- /dev/null
+++ b/public_test_cases/p01684/output.1.txt
@@ -0,0 +1,3 @@
+1 1 0.564189584 3 1 0.564189584
+1 1 0.797884561 1.644647246 1 0.797884561
+impossible
diff --git a/public_test_cases/p01685/input.0.txt b/public_test_cases/p01685/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e112ab76dd59438a22ee39e9bc9838e302afc03f
--- /dev/null
+++ b/public_test_cases/p01685/input.0.txt
@@ -0,0 +1,42 @@
+1 2
+BB
+
+WW
+
+2 1
+B
+W
+
+B
+W
+
+2 2
+BW
+BW
+
+WW
+WW
+
+3 4
+BBBB
+BBBB
+BBBB
+
+WWWW
+WWWW
+WWWW
+
+5 5
+BBBBB
+BBBBB
+BBBBB
+BBBBB
+BBBBB
+
+BBBBB
+BBBWB
+BBBBB
+BWBBB
+BBBBB
+
+0 0
diff --git a/public_test_cases/p01685/input.1.txt b/public_test_cases/p01685/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e112ab76dd59438a22ee39e9bc9838e302afc03f
--- /dev/null
+++ b/public_test_cases/p01685/input.1.txt
@@ -0,0 +1,42 @@
+1 2
+BB
+
+WW
+
+2 1
+B
+W
+
+B
+W
+
+2 2
+BW
+BW
+
+WW
+WW
+
+3 4
+BBBB
+BBBB
+BBBB
+
+WWWW
+WWWW
+WWWW
+
+5 5
+BBBBB
+BBBBB
+BBBBB
+BBBBB
+BBBBB
+
+BBBBB
+BBBWB
+BBBBB
+BWBBB
+BBBBB
+
+0 0
diff --git a/public_test_cases/p01685/output.0.txt b/public_test_cases/p01685/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d78a4ba85e9119ca4adc9a2d30e48117772d65f
--- /dev/null
+++ b/public_test_cases/p01685/output.0.txt
@@ -0,0 +1,5 @@
+6.0000000000
+0.0000000000
+12.8571428571
+120.0000000000
+23795493.8449918639
diff --git a/public_test_cases/p01685/output.1.txt b/public_test_cases/p01685/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d78a4ba85e9119ca4adc9a2d30e48117772d65f
--- /dev/null
+++ b/public_test_cases/p01685/output.1.txt
@@ -0,0 +1,5 @@
+6.0000000000
+0.0000000000
+12.8571428571
+120.0000000000
+23795493.8449918639
diff --git a/public_test_cases/p01686/input.0.txt b/public_test_cases/p01686/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cd4e139f190a674e1133773ded4eafd4aa0ac52
--- /dev/null
+++ b/public_test_cases/p01686/input.0.txt
@@ -0,0 +1,25 @@
+3
+.aa.cA.Cc.
+.bb.Bb.AC.
+.cc.ac.Ab.
+1
+.Xx.
+.Yy.
+.Zz.
+6
+.Aj.fA.aW.zA.Jf.Gz.
+.gW.GW.Fw.ZJ.AG.JW.
+.bZ.jZ.Ga.Fj.gF.Za.
+9
+.ab.gh.mn.st.yz.EF.KL.QR.WA.
+.cd.ij.op.uv.AB.GH.MN.ST.XB.
+.ef.kl.qr.wx.CD.IJ.OP.UV.yz.
+2
+.AC.Mo.
+.IC.PC.
+.oA.CM.
+20
+.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.qb.
+.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.
+.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.qb.
+0
diff --git a/public_test_cases/p01686/input.1.txt b/public_test_cases/p01686/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cd4e139f190a674e1133773ded4eafd4aa0ac52
--- /dev/null
+++ b/public_test_cases/p01686/input.1.txt
@@ -0,0 +1,25 @@
+3
+.aa.cA.Cc.
+.bb.Bb.AC.
+.cc.ac.Ab.
+1
+.Xx.
+.Yy.
+.Zz.
+6
+.Aj.fA.aW.zA.Jf.Gz.
+.gW.GW.Fw.ZJ.AG.JW.
+.bZ.jZ.Ga.Fj.gF.Za.
+9
+.ab.gh.mn.st.yz.EF.KL.QR.WA.
+.cd.ij.op.uv.AB.GH.MN.ST.XB.
+.ef.kl.qr.wx.CD.IJ.OP.UV.yz.
+2
+.AC.Mo.
+.IC.PC.
+.oA.CM.
+20
+.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.qb.
+.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.qb.
+.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.QB.qb.
+0
diff --git a/public_test_cases/p01686/output.0.txt b/public_test_cases/p01686/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4979be47458b4476fec3faac6c3241b44b1e3f6
--- /dev/null
+++ b/public_test_cases/p01686/output.0.txt
@@ -0,0 +1,6 @@
+3 B C E
+-1
+3 J A G
+10 A B G H M N S T Y Z
+0
+2 Q B
diff --git a/public_test_cases/p01686/output.1.txt b/public_test_cases/p01686/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4979be47458b4476fec3faac6c3241b44b1e3f6
--- /dev/null
+++ b/public_test_cases/p01686/output.1.txt
@@ -0,0 +1,6 @@
+3 B C E
+-1
+3 J A G
+10 A B G H M N S T Y Z
+0
+2 Q B
diff --git a/public_test_cases/p01687/input.0.txt b/public_test_cases/p01687/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9139ca75d60396dc93e690e534bbcc554f1c608
--- /dev/null
+++ b/public_test_cases/p01687/input.0.txt
@@ -0,0 +1 @@
+AIDUNYAN
diff --git a/public_test_cases/p01687/input.1.txt b/public_test_cases/p01687/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9139ca75d60396dc93e690e534bbcc554f1c608
--- /dev/null
+++ b/public_test_cases/p01687/input.1.txt
@@ -0,0 +1 @@
+AIDUNYAN
diff --git a/public_test_cases/p01687/output.0.txt b/public_test_cases/p01687/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bd6e3ed4d025b9aedfe8ebdcc3543460ec50914
--- /dev/null
+++ b/public_test_cases/p01687/output.0.txt
@@ -0,0 +1 @@
+AIZUNYAN
diff --git a/public_test_cases/p01687/output.1.txt b/public_test_cases/p01687/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bd6e3ed4d025b9aedfe8ebdcc3543460ec50914
--- /dev/null
+++ b/public_test_cases/p01687/output.1.txt
@@ -0,0 +1 @@
+AIZUNYAN
diff --git a/public_test_cases/p01688/input.0.txt b/public_test_cases/p01688/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c8ea72405b4429594991b36b187152bd021f781
--- /dev/null
+++ b/public_test_cases/p01688/input.0.txt
@@ -0,0 +1,6 @@
+2
+3
+D 30
+D 50
+D 20
+0
diff --git a/public_test_cases/p01688/input.1.txt b/public_test_cases/p01688/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c8ea72405b4429594991b36b187152bd021f781
--- /dev/null
+++ b/public_test_cases/p01688/input.1.txt
@@ -0,0 +1,6 @@
+2
+3
+D 30
+D 50
+D 20
+0
diff --git a/public_test_cases/p01688/output.0.txt b/public_test_cases/p01688/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p01688/output.0.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p01688/output.1.txt b/public_test_cases/p01688/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p01688/output.1.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p01689/input.0.txt b/public_test_cases/p01689/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a980f3bcfc332cfe89569b329ecb63504c217589
--- /dev/null
+++ b/public_test_cases/p01689/input.0.txt
@@ -0,0 +1,12 @@
+6 10 3 4
+##########
+#........#
+#...D....#
+#........#
+#........#
+##########
+2 4 6
+3 2 0
+7 4 2
+8 4 3
+1 4 1
diff --git a/public_test_cases/p01689/input.1.txt b/public_test_cases/p01689/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a980f3bcfc332cfe89569b329ecb63504c217589
--- /dev/null
+++ b/public_test_cases/p01689/input.1.txt
@@ -0,0 +1,12 @@
+6 10 3 4
+##########
+#........#
+#...D....#
+#........#
+#........#
+##########
+2 4 6
+3 2 0
+7 4 2
+8 4 3
+1 4 1
diff --git a/public_test_cases/p01689/output.0.txt b/public_test_cases/p01689/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01689/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01689/output.1.txt b/public_test_cases/p01689/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01689/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01690/input.0.txt b/public_test_cases/p01690/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef854371f21ac20484f93d18c880b4d20d6c368f
--- /dev/null
+++ b/public_test_cases/p01690/input.0.txt
@@ -0,0 +1,3 @@
+10 1 1 1 4 3
+6 10
+5 8
diff --git a/public_test_cases/p01690/input.1.txt b/public_test_cases/p01690/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef854371f21ac20484f93d18c880b4d20d6c368f
--- /dev/null
+++ b/public_test_cases/p01690/input.1.txt
@@ -0,0 +1,3 @@
+10 1 1 1 4 3
+6 10
+5 8
diff --git a/public_test_cases/p01690/output.0.txt b/public_test_cases/p01690/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01690/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01690/output.1.txt b/public_test_cases/p01690/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01690/output.1.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01691/input.0.txt b/public_test_cases/p01691/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3341d214f25efc49c9e203417aeac31de06b4c2d
--- /dev/null
+++ b/public_test_cases/p01691/input.0.txt
@@ -0,0 +1,2 @@
+1 0
+25 47 10
diff --git a/public_test_cases/p01691/input.1.txt b/public_test_cases/p01691/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3341d214f25efc49c9e203417aeac31de06b4c2d
--- /dev/null
+++ b/public_test_cases/p01691/input.1.txt
@@ -0,0 +1,2 @@
+1 0
+25 47 10
diff --git a/public_test_cases/p01691/output.0.txt b/public_test_cases/p01691/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8a29e16aeb425352c667305012602e28fa52924
--- /dev/null
+++ b/public_test_cases/p01691/output.0.txt
@@ -0,0 +1 @@
+96.2027355887
diff --git a/public_test_cases/p01691/output.1.txt b/public_test_cases/p01691/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8a29e16aeb425352c667305012602e28fa52924
--- /dev/null
+++ b/public_test_cases/p01691/output.1.txt
@@ -0,0 +1 @@
+96.2027355887
diff --git a/public_test_cases/p01692/input.0.txt b/public_test_cases/p01692/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40f5f434028697552673a03c85cae13cfa7f6a13
--- /dev/null
+++ b/public_test_cases/p01692/input.0.txt
@@ -0,0 +1,4 @@
+3 2 2 1
+0 3 6
+1 1
+3 -2
diff --git a/public_test_cases/p01692/input.1.txt b/public_test_cases/p01692/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40f5f434028697552673a03c85cae13cfa7f6a13
--- /dev/null
+++ b/public_test_cases/p01692/input.1.txt
@@ -0,0 +1,4 @@
+3 2 2 1
+0 3 6
+1 1
+3 -2
diff --git a/public_test_cases/p01692/output.0.txt b/public_test_cases/p01692/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01692/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01692/output.1.txt b/public_test_cases/p01692/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01692/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01693/input.0.txt b/public_test_cases/p01693/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1441a89af9d89b59ae5d73b397b73fab6029596d
--- /dev/null
+++ b/public_test_cases/p01693/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 5 4
diff --git a/public_test_cases/p01693/input.1.txt b/public_test_cases/p01693/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1441a89af9d89b59ae5d73b397b73fab6029596d
--- /dev/null
+++ b/public_test_cases/p01693/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 5 4
diff --git a/public_test_cases/p01693/output.0.txt b/public_test_cases/p01693/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01693/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01693/output.1.txt b/public_test_cases/p01693/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01693/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01694/input.0.txt b/public_test_cases/p01694/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..421f78be72813e7fb87ad4ee6748926df4c0ec9c
--- /dev/null
+++ b/public_test_cases/p01694/input.0.txt
@@ -0,0 +1,9 @@
+4
+lu ru ld rd
+4
+lu ld lu ru
+1
+lu
+10
+ru lu ld rd ru rd ru lu rd ld
+0
diff --git a/public_test_cases/p01694/input.1.txt b/public_test_cases/p01694/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..421f78be72813e7fb87ad4ee6748926df4c0ec9c
--- /dev/null
+++ b/public_test_cases/p01694/input.1.txt
@@ -0,0 +1,9 @@
+4
+lu ru ld rd
+4
+lu ld lu ru
+1
+lu
+10
+ru lu ld rd ru rd ru lu rd ld
+0
diff --git a/public_test_cases/p01694/output.0.txt b/public_test_cases/p01694/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13e47a1323d9e9c2f67053865bbcd836746619f9
--- /dev/null
+++ b/public_test_cases/p01694/output.0.txt
@@ -0,0 +1,4 @@
+2
+1
+0
+4
diff --git a/public_test_cases/p01694/output.1.txt b/public_test_cases/p01694/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13e47a1323d9e9c2f67053865bbcd836746619f9
--- /dev/null
+++ b/public_test_cases/p01694/output.1.txt
@@ -0,0 +1,4 @@
+2
+1
+0
+4
diff --git a/public_test_cases/p01695/input.0.txt b/public_test_cases/p01695/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..771760c377d4812d9fbe67445c41ea78dabfb422
--- /dev/null
+++ b/public_test_cases/p01695/input.0.txt
@@ -0,0 +1,30 @@
+6
+hoge
+.fuga
+..foobar
+..jagjag
+...zigzag
+.piyo
+8
+jagjag
+.hogehoge
+..fugafuga
+...ponyoponyo
+....evaeva
+....pokemon
+...nowawa
+.buhihi
+8
+hello
+.goodmorning
+..howareyou
+.goodafternoon
+..letshavealunch
+.goodevening
+.goodnight
+..gotobed
+3
+caution
+.themessagelengthislessthanorequaltofifty
+..sothelengthoftheentirelinecanexceedfiftycharacters
+0
diff --git a/public_test_cases/p01695/input.1.txt b/public_test_cases/p01695/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..771760c377d4812d9fbe67445c41ea78dabfb422
--- /dev/null
+++ b/public_test_cases/p01695/input.1.txt
@@ -0,0 +1,30 @@
+6
+hoge
+.fuga
+..foobar
+..jagjag
+...zigzag
+.piyo
+8
+jagjag
+.hogehoge
+..fugafuga
+...ponyoponyo
+....evaeva
+....pokemon
+...nowawa
+.buhihi
+8
+hello
+.goodmorning
+..howareyou
+.goodafternoon
+..letshavealunch
+.goodevening
+.goodnight
+..gotobed
+3
+caution
+.themessagelengthislessthanorequaltofifty
+..sothelengthoftheentirelinecanexceedfiftycharacters
+0
diff --git a/public_test_cases/p01695/output.0.txt b/public_test_cases/p01695/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0944af2cfca1a4b722bae46cd482e75af8d7ae80
--- /dev/null
+++ b/public_test_cases/p01695/output.0.txt
@@ -0,0 +1,25 @@
+hoge
++fuga
+|+foobar
+|+jagjag
+| +zigzag
++piyo
+jagjag
++hogehoge
+|+fugafuga
+| +ponyoponyo
+| |+evaeva
+| |+pokemon
+| +nowawa
++buhihi
+hello
++goodmorning
+|+howareyou
++goodafternoon
+|+letshavealunch
++goodevening
++goodnight
+ +gotobed
+caution
++themessagelengthislessthanorequaltofifty
+ +sothelengthoftheentirelinecanexceedfiftycharacters
diff --git a/public_test_cases/p01695/output.1.txt b/public_test_cases/p01695/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0944af2cfca1a4b722bae46cd482e75af8d7ae80
--- /dev/null
+++ b/public_test_cases/p01695/output.1.txt
@@ -0,0 +1,25 @@
+hoge
++fuga
+|+foobar
+|+jagjag
+| +zigzag
++piyo
+jagjag
++hogehoge
+|+fugafuga
+| +ponyoponyo
+| |+evaeva
+| |+pokemon
+| +nowawa
++buhihi
+hello
++goodmorning
+|+howareyou
++goodafternoon
+|+letshavealunch
++goodevening
++goodnight
+ +gotobed
+caution
++themessagelengthislessthanorequaltofifty
+ +sothelengthoftheentirelinecanexceedfiftycharacters
diff --git a/public_test_cases/p01696/input.0.txt b/public_test_cases/p01696/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc07027f1ab070880205b65283cf2e3990e960f8
--- /dev/null
+++ b/public_test_cases/p01696/input.0.txt
@@ -0,0 +1,7 @@
+A+A++A
+Z-Z--Z+-Z
+[ESREVER]
+J---?---J
+++++++++A+++Z-----------A+++Z
+[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
+.
diff --git a/public_test_cases/p01696/input.1.txt b/public_test_cases/p01696/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc07027f1ab070880205b65283cf2e3990e960f8
--- /dev/null
+++ b/public_test_cases/p01696/input.1.txt
@@ -0,0 +1,7 @@
+A+A++A
+Z-Z--Z+-Z
+[ESREVER]
+J---?---J
+++++++++A+++Z-----------A+++Z
+[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
+.
diff --git a/public_test_cases/p01696/output.0.txt b/public_test_cases/p01696/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d84bd5d36adf93d3437001b4b402f070373a6ea
--- /dev/null
+++ b/public_test_cases/p01696/output.0.txt
@@ -0,0 +1,6 @@
+ABC
+ZYXZ
+REVERSE
+JAG
+ICPC
+JAPAN
diff --git a/public_test_cases/p01696/output.1.txt b/public_test_cases/p01696/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d84bd5d36adf93d3437001b4b402f070373a6ea
--- /dev/null
+++ b/public_test_cases/p01696/output.1.txt
@@ -0,0 +1,6 @@
+ABC
+ZYXZ
+REVERSE
+JAG
+ICPC
+JAPAN
diff --git a/public_test_cases/p01697/input.0.txt b/public_test_cases/p01697/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3f747683af75d9712669170efc14e1fc4f83b1a
--- /dev/null
+++ b/public_test_cases/p01697/input.0.txt
@@ -0,0 +1,53 @@
+3 3 3 2
+1 2 3 1 1
+1 3 8 1 1
+2 3 3 2 2
+1 3
+0
+3 3 2 2
+1 2 3 1 1
+1 3 8 1 1
+2 3 3 2 2
+1 3
+0
+6 4 3 2
+1 2 3 1 1
+1 3 8 1 1
+4 6 3 2 2
+5 6 7 2 2
+1 6
+0
+3 3 3 2
+1 2 3 1 1
+1 3 8 1 1
+2 3 3 2 2
+1 3
+2
+2 6 1 2
+1 2 2
+3 3 2 2
+1 2 3 1 1
+1 3 8 1 1
+2 3 3 2 2
+1 3
+2
+2 6 1 2
+1 2 2
+3 2 2 2
+1 2 3 1 1
+2 3 3 2 2
+1 3
+2
+2 6 1 2
+1 2 2
+5 4 20 4
+2 4 100 5 1
+1 4 100 5 3
+1 5 100 5 4
+3 5 100 5 2
+3 2
+3
+2 80 1 2
+2 60 1 3
+2 40 2 3
+0 0 0 0
diff --git a/public_test_cases/p01697/input.1.txt b/public_test_cases/p01697/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3f747683af75d9712669170efc14e1fc4f83b1a
--- /dev/null
+++ b/public_test_cases/p01697/input.1.txt
@@ -0,0 +1,53 @@
+3 3 3 2
+1 2 3 1 1
+1 3 8 1 1
+2 3 3 2 2
+1 3
+0
+3 3 2 2
+1 2 3 1 1
+1 3 8 1 1
+2 3 3 2 2
+1 3
+0
+6 4 3 2
+1 2 3 1 1
+1 3 8 1 1
+4 6 3 2 2
+5 6 7 2 2
+1 6
+0
+3 3 3 2
+1 2 3 1 1
+1 3 8 1 1
+2 3 3 2 2
+1 3
+2
+2 6 1 2
+1 2 2
+3 3 2 2
+1 2 3 1 1
+1 3 8 1 1
+2 3 3 2 2
+1 3
+2
+2 6 1 2
+1 2 2
+3 2 2 2
+1 2 3 1 1
+2 3 3 2 2
+1 3
+2
+2 6 1 2
+1 2 2
+5 4 20 4
+2 4 100 5 1
+1 4 100 5 3
+1 5 100 5 4
+3 5 100 5 2
+3 2
+3
+2 80 1 2
+2 60 1 3
+2 40 2 3
+0 0 0 0
diff --git a/public_test_cases/p01697/output.0.txt b/public_test_cases/p01697/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e966247ab5878914a93ff45e2b9aa5e7077efb4e
--- /dev/null
+++ b/public_test_cases/p01697/output.0.txt
@@ -0,0 +1,7 @@
+6
+8
+-1
+5
+6
+-1
+200
diff --git a/public_test_cases/p01697/output.1.txt b/public_test_cases/p01697/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e966247ab5878914a93ff45e2b9aa5e7077efb4e
--- /dev/null
+++ b/public_test_cases/p01697/output.1.txt
@@ -0,0 +1,7 @@
+6
+8
+-1
+5
+6
+-1
+200
diff --git a/public_test_cases/p01698/input.0.txt b/public_test_cases/p01698/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d829169e9122dd9f385935206552461b4da24d4
--- /dev/null
+++ b/public_test_cases/p01698/input.0.txt
@@ -0,0 +1,40 @@
+1
+0.0000 0.0000 0.0000 2.0000 0.0000 0.0000 4.0000 1.0000
+2
+0.0000 0.0000 0.0000 2.0000 0.0000 0.0000 4.0000 1.0000
+10.0000 0.0000 0.0000 -2.0000 0.0000 0.0000 4.0000 1.0000
+5
+-10.0000 0.0000 0.0000 10.0000 0.0000 0.0000 2.0000 1.0000
+-5.0000 0.0000 0.0000 10.0000 0.0000 0.0000 2.0000 1.0000
+0.0000 0.0000 0.0000 10.0000 0.0000 0.0000 2.0000 1.0000
+11.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 100.0000
+15.0000 0.0000 0.0000 -10.0000 0.0000 0.0000 2.0000 1.0000
+27
+-45.6243 -40.4815 42.0513 -0.8380 -6.3628 4.5484 12.0279 2.2721
+8.7056 -9.8256 34.1560 6.0068 6.2527 -6.8506 28.9807 1.5037
+30.1481 29.9591 -46.2881 6.7611 8.6669 1.5629 14.5578 1.3181
+24.2927 8.3779 -21.8931 0.7074 0.1879 -8.9742 5.5877 2.6893
+25.3009 -42.9168 10.7480 -7.2477 -8.5507 7.7846 13.7923 2.8726
+17.6938 42.3577 -5.0334 6.4949 -2.1472 -5.3101 23.3066 1.4769
+-7.9296 -29.6442 -24.2157 -1.1064 -9.5802 6.5858 12.4250 2.3816
+9.5851 -20.0455 -35.1885 5.7477 -1.0622 2.5211 3.5233 1.2466
+-35.5762 44.5412 -46.7816 3.6053 0.4991 4.3470 20.6922 2.8529
+-44.9386 -48.0381 -43.6877 7.4101 3.9491 7.1619 10.4301 2.4920
+-49.9870 -28.6276 -2.6522 5.8008 -1.0054 -4.9061 25.1188 1.4916
+45.0228 31.3811 29.2546 -8.7777 -3.7836 -7.7180 17.4361 1.8706
+35.5553 45.8774 -29.8025 -7.3596 -9.2114 -3.5987 6.8841 2.6143
+19.9857 34.3874 42.5551 5.2133 -5.5350 -7.6617 2.9294 1.4026
+23.5109 18.1633 -34.8265 7.3260 -4.1912 5.3518 3.0036 1.5027
+43.5134 -27.5238 49.4679 -4.5986 1.8410 6.8741 2.2009 1.4525
+-28.8994 23.2934 -6.1914 5.7985 -6.2129 -8.2882 16.1683 1.7463
+3.6721 38.2528 -38.7741 4.5115 6.6442 6.4406 10.7555 1.0971
+17.4488 -12.6965 -23.1293 2.8257 6.3319 -1.5368 7.3785 2.9350
+33.2708 -17.9437 -0.5347 8.7428 7.3193 5.9738 6.2292 2.6210
+-14.4660 -25.1449 -4.4191 -9.4843 -6.6439 -4.7330 7.7910 2.1659
+32.4428 -24.2605 48.1228 -5.2396 1.5916 -5.9552 1.1760 1.3618
+-21.9088 43.6286 -8.8286 6.4641 0.5554 -4.6827 1.2504 1.4718
+-0.1784 -42.1729 -2.7193 5.3741 0.9098 9.7622 1.4764 1.2611
+29.3245 -33.2298 -26.3824 -8.4192 -2.9427 -7.3759 9.6346 1.7490
+-35.1767 35.9652 33.4779 4.0088 2.4579 2.0981 19.2565 1.7121
+-17.5530 1.4161 -14.0271 6.4564 -4.8261 -8.7461 3.0566 1.5906
+0
diff --git a/public_test_cases/p01698/input.1.txt b/public_test_cases/p01698/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d829169e9122dd9f385935206552461b4da24d4
--- /dev/null
+++ b/public_test_cases/p01698/input.1.txt
@@ -0,0 +1,40 @@
+1
+0.0000 0.0000 0.0000 2.0000 0.0000 0.0000 4.0000 1.0000
+2
+0.0000 0.0000 0.0000 2.0000 0.0000 0.0000 4.0000 1.0000
+10.0000 0.0000 0.0000 -2.0000 0.0000 0.0000 4.0000 1.0000
+5
+-10.0000 0.0000 0.0000 10.0000 0.0000 0.0000 2.0000 1.0000
+-5.0000 0.0000 0.0000 10.0000 0.0000 0.0000 2.0000 1.0000
+0.0000 0.0000 0.0000 10.0000 0.0000 0.0000 2.0000 1.0000
+11.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 100.0000
+15.0000 0.0000 0.0000 -10.0000 0.0000 0.0000 2.0000 1.0000
+27
+-45.6243 -40.4815 42.0513 -0.8380 -6.3628 4.5484 12.0279 2.2721
+8.7056 -9.8256 34.1560 6.0068 6.2527 -6.8506 28.9807 1.5037
+30.1481 29.9591 -46.2881 6.7611 8.6669 1.5629 14.5578 1.3181
+24.2927 8.3779 -21.8931 0.7074 0.1879 -8.9742 5.5877 2.6893
+25.3009 -42.9168 10.7480 -7.2477 -8.5507 7.7846 13.7923 2.8726
+17.6938 42.3577 -5.0334 6.4949 -2.1472 -5.3101 23.3066 1.4769
+-7.9296 -29.6442 -24.2157 -1.1064 -9.5802 6.5858 12.4250 2.3816
+9.5851 -20.0455 -35.1885 5.7477 -1.0622 2.5211 3.5233 1.2466
+-35.5762 44.5412 -46.7816 3.6053 0.4991 4.3470 20.6922 2.8529
+-44.9386 -48.0381 -43.6877 7.4101 3.9491 7.1619 10.4301 2.4920
+-49.9870 -28.6276 -2.6522 5.8008 -1.0054 -4.9061 25.1188 1.4916
+45.0228 31.3811 29.2546 -8.7777 -3.7836 -7.7180 17.4361 1.8706
+35.5553 45.8774 -29.8025 -7.3596 -9.2114 -3.5987 6.8841 2.6143
+19.9857 34.3874 42.5551 5.2133 -5.5350 -7.6617 2.9294 1.4026
+23.5109 18.1633 -34.8265 7.3260 -4.1912 5.3518 3.0036 1.5027
+43.5134 -27.5238 49.4679 -4.5986 1.8410 6.8741 2.2009 1.4525
+-28.8994 23.2934 -6.1914 5.7985 -6.2129 -8.2882 16.1683 1.7463
+3.6721 38.2528 -38.7741 4.5115 6.6442 6.4406 10.7555 1.0971
+17.4488 -12.6965 -23.1293 2.8257 6.3319 -1.5368 7.3785 2.9350
+33.2708 -17.9437 -0.5347 8.7428 7.3193 5.9738 6.2292 2.6210
+-14.4660 -25.1449 -4.4191 -9.4843 -6.6439 -4.7330 7.7910 2.1659
+32.4428 -24.2605 48.1228 -5.2396 1.5916 -5.9552 1.1760 1.3618
+-21.9088 43.6286 -8.8286 6.4641 0.5554 -4.6827 1.2504 1.4718
+-0.1784 -42.1729 -2.7193 5.3741 0.9098 9.7622 1.4764 1.2611
+29.3245 -33.2298 -26.3824 -8.4192 -2.9427 -7.3759 9.6346 1.7490
+-35.1767 35.9652 33.4779 4.0088 2.4579 2.0981 19.2565 1.7121
+-17.5530 1.4161 -14.0271 6.4564 -4.8261 -8.7461 3.0566 1.5906
+0
diff --git a/public_test_cases/p01698/output.0.txt b/public_test_cases/p01698/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d019ddecc1e8084c3d2729d606206f42a0c5165
--- /dev/null
+++ b/public_test_cases/p01698/output.0.txt
@@ -0,0 +1,35 @@
+4.0000000000
+1.0000000000
+1.0000000000
+2.0000000000
+2.0000000000
+0.6111111111
+0.0100000000
+0.6111111111
+5.2937370714
+0.3931996496
+11.0445337986
+2.0777525750
+4.8013298058
+0.0925901184
+5.2170809540
+2.8263276111
+7.2530407655
+4.1854333868
+0.2348376111
+1.0517364512
+0.0925901184
+1.0517364512
+1.9988021561
+1.5152495697
+9.2586039054
+9.8035730562
+2.5139693356
+2.3766501335
+0.2348376111
+0.3931996496
+0.8495719527
+1.1707239711
+5.5086335049
+11.2472986391
+1.9216647806
diff --git a/public_test_cases/p01698/output.1.txt b/public_test_cases/p01698/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d019ddecc1e8084c3d2729d606206f42a0c5165
--- /dev/null
+++ b/public_test_cases/p01698/output.1.txt
@@ -0,0 +1,35 @@
+4.0000000000
+1.0000000000
+1.0000000000
+2.0000000000
+2.0000000000
+0.6111111111
+0.0100000000
+0.6111111111
+5.2937370714
+0.3931996496
+11.0445337986
+2.0777525750
+4.8013298058
+0.0925901184
+5.2170809540
+2.8263276111
+7.2530407655
+4.1854333868
+0.2348376111
+1.0517364512
+0.0925901184
+1.0517364512
+1.9988021561
+1.5152495697
+9.2586039054
+9.8035730562
+2.5139693356
+2.3766501335
+0.2348376111
+0.3931996496
+0.8495719527
+1.1707239711
+5.5086335049
+11.2472986391
+1.9216647806
diff --git a/public_test_cases/p01699/input.0.txt b/public_test_cases/p01699/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4523319e153ceb52e0a220090f4deea10dc67c8
--- /dev/null
+++ b/public_test_cases/p01699/input.0.txt
@@ -0,0 +1,26 @@
+2
+1 11
+1 11
+3
+10 10
+2 2
+11 11
+4
+89 91
+1 12
+1 12
+89 91
+5
+1 8
+2 76
+10 19
+6 16
+33 42
+6
+10 59
+20 69
+30 79
+40 89
+50 99
+50 99
+0
diff --git a/public_test_cases/p01699/input.1.txt b/public_test_cases/p01699/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4523319e153ceb52e0a220090f4deea10dc67c8
--- /dev/null
+++ b/public_test_cases/p01699/input.1.txt
@@ -0,0 +1,26 @@
+2
+1 11
+1 11
+3
+10 10
+2 2
+11 11
+4
+89 91
+1 12
+1 12
+89 91
+5
+1 8
+2 76
+10 19
+6 16
+33 42
+6
+10 59
+20 69
+30 79
+40 89
+50 99
+50 99
+0
diff --git a/public_test_cases/p01699/output.0.txt b/public_test_cases/p01699/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ec64e8c03456d55961e5c4011fe65da8a1c4d3a
--- /dev/null
+++ b/public_test_cases/p01699/output.0.txt
@@ -0,0 +1,5 @@
+120
+1
+1278
+659520
+15625000000
diff --git a/public_test_cases/p01699/output.1.txt b/public_test_cases/p01699/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ec64e8c03456d55961e5c4011fe65da8a1c4d3a
--- /dev/null
+++ b/public_test_cases/p01699/output.1.txt
@@ -0,0 +1,5 @@
+120
+1
+1278
+659520
+15625000000
diff --git a/public_test_cases/p01700/input.0.txt b/public_test_cases/p01700/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc7f8f92fc0dcdd98c6a4373fcf48d9c12a73898
--- /dev/null
+++ b/public_test_cases/p01700/input.0.txt
@@ -0,0 +1,6 @@
+117649
+1
+125000
+1610612736
+68719476636
+-1
diff --git a/public_test_cases/p01700/input.1.txt b/public_test_cases/p01700/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc7f8f92fc0dcdd98c6a4373fcf48d9c12a73898
--- /dev/null
+++ b/public_test_cases/p01700/input.1.txt
@@ -0,0 +1,6 @@
+117649
+1
+125000
+1610612736
+68719476636
+-1
diff --git a/public_test_cases/p01700/output.0.txt b/public_test_cases/p01700/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3facbcf4adfce761280fd7b4e833ffa382e0bc54
--- /dev/null
+++ b/public_test_cases/p01700/output.0.txt
@@ -0,0 +1,5 @@
+3
+1
+4
+6
+11
diff --git a/public_test_cases/p01700/output.1.txt b/public_test_cases/p01700/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3facbcf4adfce761280fd7b4e833ffa382e0bc54
--- /dev/null
+++ b/public_test_cases/p01700/output.1.txt
@@ -0,0 +1,5 @@
+3
+1
+4
+6
+11
diff --git a/public_test_cases/p01701/input.0.txt b/public_test_cases/p01701/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4873de2ebc07e6612f42dc48456460c584dc89aa
--- /dev/null
+++ b/public_test_cases/p01701/input.0.txt
@@ -0,0 +1,6 @@
+north
+west
+northwest
+northnorthwest
+westwestwestnorth
+#
diff --git a/public_test_cases/p01701/input.1.txt b/public_test_cases/p01701/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4873de2ebc07e6612f42dc48456460c584dc89aa
--- /dev/null
+++ b/public_test_cases/p01701/input.1.txt
@@ -0,0 +1,6 @@
+north
+west
+northwest
+northnorthwest
+westwestwestnorth
+#
diff --git a/public_test_cases/p01701/output.0.txt b/public_test_cases/p01701/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa96e67ccbbfc3f91e42b29e35becc2b0ed406f2
--- /dev/null
+++ b/public_test_cases/p01701/output.0.txt
@@ -0,0 +1,5 @@
+0
+90
+45
+45/2
+315/4
diff --git a/public_test_cases/p01701/output.1.txt b/public_test_cases/p01701/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa96e67ccbbfc3f91e42b29e35becc2b0ed406f2
--- /dev/null
+++ b/public_test_cases/p01701/output.1.txt
@@ -0,0 +1,5 @@
+0
+90
+45
+45/2
+315/4
diff --git a/public_test_cases/p01702/input.0.txt b/public_test_cases/p01702/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a860567602025d4a14121f91dcfdedd864cb4010
--- /dev/null
+++ b/public_test_cases/p01702/input.0.txt
@@ -0,0 +1,20 @@
+3 10 3
+000 0000000000
+110 0000001111
+101 1111111100
+2 2 0
+1 1 0
+2 1 1
+01 1
+11 11 10
+10000000000 10000000000
+11000000000 01000000000
+01100000000 00100000000
+00110000000 00010000000
+00011000000 00001000000
+00001100000 00000100000
+00000110000 00000010000
+00000011000 00000001000
+00000001100 00000000100
+00000000110 00000000010
+0 0 0
diff --git a/public_test_cases/p01702/input.1.txt b/public_test_cases/p01702/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a860567602025d4a14121f91dcfdedd864cb4010
--- /dev/null
+++ b/public_test_cases/p01702/input.1.txt
@@ -0,0 +1,20 @@
+3 10 3
+000 0000000000
+110 0000001111
+101 1111111100
+2 2 0
+1 1 0
+2 1 1
+01 1
+11 11 10
+10000000000 10000000000
+11000000000 01000000000
+01100000000 00100000000
+00110000000 00010000000
+00011000000 00001000000
+00001100000 00000100000
+00000110000 00000010000
+00000011000 00000001000
+00000001100 00000000100
+00000000110 00000000010
+0 0 0
diff --git a/public_test_cases/p01702/output.0.txt b/public_test_cases/p01702/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1cc89510b50dc47f5a0c3f3f070a4e82e1b0fc7f
--- /dev/null
+++ b/public_test_cases/p01702/output.0.txt
@@ -0,0 +1,5 @@
+2222221100
+??
+0
+1
+0123456789A
diff --git a/public_test_cases/p01702/output.1.txt b/public_test_cases/p01702/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1cc89510b50dc47f5a0c3f3f070a4e82e1b0fc7f
--- /dev/null
+++ b/public_test_cases/p01702/output.1.txt
@@ -0,0 +1,5 @@
+2222221100
+??
+0
+1
+0123456789A
diff --git a/public_test_cases/p01703/input.0.txt b/public_test_cases/p01703/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12bf0f14f3a187bbe97b8e90d52149c802d6f3e2
--- /dev/null
+++ b/public_test_cases/p01703/input.0.txt
@@ -0,0 +1,7 @@
+2
+0.50 0.40
+2
+0.70 0.60
+4
+0.99 1.00 1.00 0.01
+0
diff --git a/public_test_cases/p01703/input.1.txt b/public_test_cases/p01703/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12bf0f14f3a187bbe97b8e90d52149c802d6f3e2
--- /dev/null
+++ b/public_test_cases/p01703/input.1.txt
@@ -0,0 +1,7 @@
+2
+0.50 0.40
+2
+0.70 0.60
+4
+0.99 1.00 1.00 0.01
+0
diff --git a/public_test_cases/p01703/output.0.txt b/public_test_cases/p01703/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52384092606d81109f8b31ee4bbf4c89a87b81a4
--- /dev/null
+++ b/public_test_cases/p01703/output.0.txt
@@ -0,0 +1,3 @@
+5.5000000000
+4.0476190476
+104.0101010101
diff --git a/public_test_cases/p01703/output.1.txt b/public_test_cases/p01703/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52384092606d81109f8b31ee4bbf4c89a87b81a4
--- /dev/null
+++ b/public_test_cases/p01703/output.1.txt
@@ -0,0 +1,3 @@
+5.5000000000
+4.0476190476
+104.0101010101
diff --git a/public_test_cases/p01704/input.0.txt b/public_test_cases/p01704/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..201915467b92cd748e560383c6490e58809ef7ec
--- /dev/null
+++ b/public_test_cases/p01704/input.0.txt
@@ -0,0 +1,21 @@
+3
+10
+4 3 4 10
+5 4 5 20
+6 5 6 30
+3
+7
+-4 3 4 -10
+5 4 5 20
+6 5 6 30
+3
+1
+-4 3 4 -10
+-5 4 5 -20
+6 5 6 30
+3
+10
+-4 3 4 -10
+-5 4 5 -20
+-6 5 6 -30
+0
diff --git a/public_test_cases/p01704/input.1.txt b/public_test_cases/p01704/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..201915467b92cd748e560383c6490e58809ef7ec
--- /dev/null
+++ b/public_test_cases/p01704/input.1.txt
@@ -0,0 +1,21 @@
+3
+10
+4 3 4 10
+5 4 5 20
+6 5 6 30
+3
+7
+-4 3 4 -10
+5 4 5 20
+6 5 6 30
+3
+1
+-4 3 4 -10
+-5 4 5 -20
+6 5 6 30
+3
+10
+-4 3 4 -10
+-5 4 5 -20
+-6 5 6 -30
+0
diff --git a/public_test_cases/p01704/output.0.txt b/public_test_cases/p01704/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68721034e3f79aec19dfe7f3b0d3e5655c6d78ed
--- /dev/null
+++ b/public_test_cases/p01704/output.0.txt
@@ -0,0 +1,4 @@
+43.5
+36
+13.5
+0
diff --git a/public_test_cases/p01704/output.1.txt b/public_test_cases/p01704/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68721034e3f79aec19dfe7f3b0d3e5655c6d78ed
--- /dev/null
+++ b/public_test_cases/p01704/output.1.txt
@@ -0,0 +1,4 @@
+43.5
+36
+13.5
+0
diff --git a/public_test_cases/p01705/input.0.txt b/public_test_cases/p01705/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2634017b3d6f0f65ca93993b0ff83ef2bc948fad
--- /dev/null
+++ b/public_test_cases/p01705/input.0.txt
@@ -0,0 +1,7 @@
+2
+0 8
+10 8
+2
+0 7
+10 7
+0
diff --git a/public_test_cases/p01705/input.1.txt b/public_test_cases/p01705/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2634017b3d6f0f65ca93993b0ff83ef2bc948fad
--- /dev/null
+++ b/public_test_cases/p01705/input.1.txt
@@ -0,0 +1,7 @@
+2
+0 8
+10 8
+2
+0 7
+10 7
+0
diff --git a/public_test_cases/p01705/output.0.txt b/public_test_cases/p01705/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0233d28c22449202cc5e41759ba1bbaac6120c0d
--- /dev/null
+++ b/public_test_cases/p01705/output.0.txt
@@ -0,0 +1,2 @@
+12.489995996796796
+9.899494936611665
diff --git a/public_test_cases/p01705/output.1.txt b/public_test_cases/p01705/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0233d28c22449202cc5e41759ba1bbaac6120c0d
--- /dev/null
+++ b/public_test_cases/p01705/output.1.txt
@@ -0,0 +1,2 @@
+12.489995996796796
+9.899494936611665
diff --git a/public_test_cases/p01706/input.0.txt b/public_test_cases/p01706/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43987b9193c93dc8b44d360ebe5f8a544986c9d9
--- /dev/null
+++ b/public_test_cases/p01706/input.0.txt
@@ -0,0 +1,58 @@
+4 4 1 4
+1 2
+3 1
+4 2
+3 4
+7 8 1 7
+1 2
+1 3
+2 4
+3 4
+4 5
+4 6
+5 7
+7 6
+6 4 5 2
+1 2
+1 3
+4 5
+5 6
+10 21 9 10
+9 1
+9 2
+9 3
+9 4
+10 1
+10 2
+10 3
+10 4
+1 5
+2 5
+2 6
+3 6
+3 7
+4 7
+4 8
+1 8
+5 10
+6 10
+7 10
+10 8
+10 9
+2 15 1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+0 0 0 0
diff --git a/public_test_cases/p01706/input.1.txt b/public_test_cases/p01706/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43987b9193c93dc8b44d360ebe5f8a544986c9d9
--- /dev/null
+++ b/public_test_cases/p01706/input.1.txt
@@ -0,0 +1,58 @@
+4 4 1 4
+1 2
+3 1
+4 2
+3 4
+7 8 1 7
+1 2
+1 3
+2 4
+3 4
+4 5
+4 6
+5 7
+7 6
+6 4 5 2
+1 2
+1 3
+4 5
+5 6
+10 21 9 10
+9 1
+9 2
+9 3
+9 4
+10 1
+10 2
+10 3
+10 4
+1 5
+2 5
+2 6
+3 6
+3 7
+4 7
+4 8
+1 8
+5 10
+6 10
+7 10
+10 8
+10 9
+2 15 1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+1 2
+0 0 0 0
diff --git a/public_test_cases/p01706/output.0.txt b/public_test_cases/p01706/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8424b26b65eb99f64804146bfff668984ffdffc3
--- /dev/null
+++ b/public_test_cases/p01706/output.0.txt
@@ -0,0 +1,5 @@
+1 2
+2 1
+0 0
+4 6
+15 0
diff --git a/public_test_cases/p01706/output.1.txt b/public_test_cases/p01706/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8424b26b65eb99f64804146bfff668984ffdffc3
--- /dev/null
+++ b/public_test_cases/p01706/output.1.txt
@@ -0,0 +1,5 @@
+1 2
+2 1
+0 0
+4 6
+15 0
diff --git a/public_test_cases/p01707/input.0.txt b/public_test_cases/p01707/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..722b51b56c7e3d9d7d61b65422c58fb0c2257c52
--- /dev/null
+++ b/public_test_cases/p01707/input.0.txt
@@ -0,0 +1,7 @@
+5 2 5
+3 3 3
+5 4 5
+4 1 2
+1 5 1
+1250 50 50
+0 0 0
diff --git a/public_test_cases/p01707/input.1.txt b/public_test_cases/p01707/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..722b51b56c7e3d9d7d61b65422c58fb0c2257c52
--- /dev/null
+++ b/public_test_cases/p01707/input.1.txt
@@ -0,0 +1,7 @@
+5 2 5
+3 3 3
+5 4 5
+4 1 2
+1 5 1
+1250 50 50
+0 0 0
diff --git a/public_test_cases/p01707/output.0.txt b/public_test_cases/p01707/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..180b3467d88dbe6ab494c8dbe5ad18940b81b06e
--- /dev/null
+++ b/public_test_cases/p01707/output.0.txt
@@ -0,0 +1,6 @@
+4
+7
+52
+0
+0
+563144298
diff --git a/public_test_cases/p01707/output.1.txt b/public_test_cases/p01707/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..180b3467d88dbe6ab494c8dbe5ad18940b81b06e
--- /dev/null
+++ b/public_test_cases/p01707/output.1.txt
@@ -0,0 +1,6 @@
+4
+7
+52
+0
+0
+563144298
diff --git a/public_test_cases/p01708/input.0.txt b/public_test_cases/p01708/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d870f39051f593b4527715c913503928a9110599
--- /dev/null
+++ b/public_test_cases/p01708/input.0.txt
@@ -0,0 +1,7 @@
+((0,0)@(1,1))@((4,1)@(2,5))
+((0,0)@(3,1))@((1,-3)@(2,-1))
+(0,0)@(1,1)@(4,1)
+(0,0)@((1,1)@(4,1))
+(((0,0)@((10,20)@(((30,40))))))
+((0,0)@(3,1))@((1,-3)@(2,-1))@(100,-100)@(100,100)
+#
diff --git a/public_test_cases/p01708/input.1.txt b/public_test_cases/p01708/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d870f39051f593b4527715c913503928a9110599
--- /dev/null
+++ b/public_test_cases/p01708/input.1.txt
@@ -0,0 +1,7 @@
+((0,0)@(1,1))@((4,1)@(2,5))
+((0,0)@(3,1))@((1,-3)@(2,-1))
+(0,0)@(1,1)@(4,1)
+(0,0)@((1,1)@(4,1))
+(((0,0)@((10,20)@(((30,40))))))
+((0,0)@(3,1))@((1,-3)@(2,-1))@(100,-100)@(100,100)
+#
diff --git a/public_test_cases/p01708/output.0.txt b/public_test_cases/p01708/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb46be3ba4c6454d8f04aa8baf19cfa66c6da3fa
--- /dev/null
+++ b/public_test_cases/p01708/output.0.txt
@@ -0,0 +1,6 @@
+3.00000000 3.00000000
+3.00000000 1.00000000
+1.00000000 4.00000000
+0.00000000 2.00000000
+-10.00000000 10.00000000
+-99.83681795 -91.92248853
diff --git a/public_test_cases/p01708/output.1.txt b/public_test_cases/p01708/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb46be3ba4c6454d8f04aa8baf19cfa66c6da3fa
--- /dev/null
+++ b/public_test_cases/p01708/output.1.txt
@@ -0,0 +1,6 @@
+3.00000000 3.00000000
+3.00000000 1.00000000
+1.00000000 4.00000000
+0.00000000 2.00000000
+-10.00000000 10.00000000
+-99.83681795 -91.92248853
diff --git a/public_test_cases/p01709/input.0.txt b/public_test_cases/p01709/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7cced8febbfaf100022ce1e055bb29672c30a44
--- /dev/null
+++ b/public_test_cases/p01709/input.0.txt
@@ -0,0 +1,174 @@
+1
+3
+0 0
+1 0
+0 1
+4
+4
+0 0
+10 0
+10 10
+0 10
+4
+10 0
+20 0
+20 10
+10 10
+4
+0 10
+10 10
+10 20
+0 20
+4
+10 10
+20 10
+20 20
+10 20
+3
+4
+-10 -10
+2 2
+10 10
+-11 7
+3
+-1 -1
+1 -1
+0 0
+3
+0 0
+3 -3
+20 20
+7
+4
+46 12
+52 12
+53 15
+45 15
+32
+67 1
+70 0
+73 1
+77 3
+79 5
+80 8
+77 8
+76 5
+74 4
+71 3
+70 3
+67 4
+65 6
+63 8
+62 14
+64 19
+66 21
+70 22
+75 21
+78 16
+80 16
+80 17
+79 20
+78 22
+74 24
+67 24
+63 22
+61 19
+60 15
+60 10
+62 5
+64 3
+5
+74 14
+80 14
+80 16
+78 16
+74 16
+19
+34 0
+37 0
+37 19
+36 22
+35 23
+32 24
+30 24
+27 24
+25 23
+23 20
+23 18
+23 15
+26 15
+26 18
+27 20
+29 21
+32 21
+34 20
+34 18
+4
+47 0
+50 0
+42 24
+39 24
+4
+79 20
+80 17
+80 22
+78 22
+4
+50 0
+58 24
+56 24
+49 3
+4
+10
+34 21
+34 14
+35 14
+35 19
+40 19
+40 20
+35 20
+35 22
+30 22
+30 21
+16
+20 24
+21 24
+21 33
+42 33
+42 20
+40 20
+40 19
+45 19
+45 5
+40 5
+40 4
+46 4
+46 20
+43 20
+43 34
+20 34
+10
+26 21
+26 14
+27 14
+27 21
+30 21
+30 22
+21 22
+21 24
+20 24
+20 21
+12
+34 8
+34 4
+40 4
+40 5
+35 5
+35 14
+34 14
+34 9
+27 9
+27 14
+26 14
+26 8
+0
diff --git a/public_test_cases/p01709/input.1.txt b/public_test_cases/p01709/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7cced8febbfaf100022ce1e055bb29672c30a44
--- /dev/null
+++ b/public_test_cases/p01709/input.1.txt
@@ -0,0 +1,174 @@
+1
+3
+0 0
+1 0
+0 1
+4
+4
+0 0
+10 0
+10 10
+0 10
+4
+10 0
+20 0
+20 10
+10 10
+4
+0 10
+10 10
+10 20
+0 20
+4
+10 10
+20 10
+20 20
+10 20
+3
+4
+-10 -10
+2 2
+10 10
+-11 7
+3
+-1 -1
+1 -1
+0 0
+3
+0 0
+3 -3
+20 20
+7
+4
+46 12
+52 12
+53 15
+45 15
+32
+67 1
+70 0
+73 1
+77 3
+79 5
+80 8
+77 8
+76 5
+74 4
+71 3
+70 3
+67 4
+65 6
+63 8
+62 14
+64 19
+66 21
+70 22
+75 21
+78 16
+80 16
+80 17
+79 20
+78 22
+74 24
+67 24
+63 22
+61 19
+60 15
+60 10
+62 5
+64 3
+5
+74 14
+80 14
+80 16
+78 16
+74 16
+19
+34 0
+37 0
+37 19
+36 22
+35 23
+32 24
+30 24
+27 24
+25 23
+23 20
+23 18
+23 15
+26 15
+26 18
+27 20
+29 21
+32 21
+34 20
+34 18
+4
+47 0
+50 0
+42 24
+39 24
+4
+79 20
+80 17
+80 22
+78 22
+4
+50 0
+58 24
+56 24
+49 3
+4
+10
+34 21
+34 14
+35 14
+35 19
+40 19
+40 20
+35 20
+35 22
+30 22
+30 21
+16
+20 24
+21 24
+21 33
+42 33
+42 20
+40 20
+40 19
+45 19
+45 5
+40 5
+40 4
+46 4
+46 20
+43 20
+43 34
+20 34
+10
+26 21
+26 14
+27 14
+27 21
+30 21
+30 22
+21 22
+21 24
+20 24
+20 21
+12
+34 8
+34 4
+40 4
+40 5
+35 5
+35 14
+34 14
+34 9
+27 9
+27 14
+26 14
+26 8
+0
diff --git a/public_test_cases/p01709/output.0.txt b/public_test_cases/p01709/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de670dc1c44d369020a645d30fa494e93f831077
--- /dev/null
+++ b/public_test_cases/p01709/output.0.txt
@@ -0,0 +1,5 @@
+1
+2
+3
+3
+4
diff --git a/public_test_cases/p01709/output.1.txt b/public_test_cases/p01709/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de670dc1c44d369020a645d30fa494e93f831077
--- /dev/null
+++ b/public_test_cases/p01709/output.1.txt
@@ -0,0 +1,5 @@
+1
+2
+3
+3
+4
diff --git a/public_test_cases/p01710/input.0.txt b/public_test_cases/p01710/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c78e62431627001f4b971b7064a8b24783e6c64d
--- /dev/null
+++ b/public_test_cases/p01710/input.0.txt
@@ -0,0 +1,40 @@
+5 4 10
+4 3 1
+6 4 3
+3 2 4
+2 2 1
+8 5 3
+1 2
+2 3
+3 4
+4 5
+3 3 1000
+1000 1 100
+1 7 100
+10 9 100
+1 2
+2 3
+3 2
+1 0 5
+25 25 2
+1 0 25
+25 25 2
+5 5 100
+1 1 20
+1 1 20
+10 1 1
+10 1 1
+10 1 1
+1 2
+2 1
+3 4
+4 5
+5 3
+3 3 100
+70 20 10
+50 15 20
+90 10 10
+1 2
+2 2
+2 3
+0 0 0
diff --git a/public_test_cases/p01710/input.1.txt b/public_test_cases/p01710/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c78e62431627001f4b971b7064a8b24783e6c64d
--- /dev/null
+++ b/public_test_cases/p01710/input.1.txt
@@ -0,0 +1,40 @@
+5 4 10
+4 3 1
+6 4 3
+3 2 4
+2 2 1
+8 5 3
+1 2
+2 3
+3 4
+4 5
+3 3 1000
+1000 1 100
+1 7 100
+10 9 100
+1 2
+2 3
+3 2
+1 0 5
+25 25 2
+1 0 25
+25 25 2
+5 5 100
+1 1 20
+1 1 20
+10 1 1
+10 1 1
+10 1 1
+1 2
+2 1
+3 4
+4 5
+5 3
+3 3 100
+70 20 10
+50 15 20
+90 10 10
+1 2
+2 2
+2 3
+0 0 0
diff --git a/public_test_cases/p01710/output.0.txt b/public_test_cases/p01710/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd47c41f69d48ae3c9099772b5ae5f1b01698920
--- /dev/null
+++ b/public_test_cases/p01710/output.0.txt
@@ -0,0 +1,6 @@
+15
+2014
+0
+25
+40
+390
diff --git a/public_test_cases/p01710/output.1.txt b/public_test_cases/p01710/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd47c41f69d48ae3c9099772b5ae5f1b01698920
--- /dev/null
+++ b/public_test_cases/p01710/output.1.txt
@@ -0,0 +1,6 @@
+15
+2014
+0
+25
+40
+390
diff --git a/public_test_cases/p01711/input.0.txt b/public_test_cases/p01711/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4af121361fcb274536cebdd0a5669da0360fbd72
--- /dev/null
+++ b/public_test_cases/p01711/input.0.txt
@@ -0,0 +1,4 @@
+00000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000111111111
+10000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111
+01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101
+#
diff --git a/public_test_cases/p01711/input.1.txt b/public_test_cases/p01711/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4af121361fcb274536cebdd0a5669da0360fbd72
--- /dev/null
+++ b/public_test_cases/p01711/input.1.txt
@@ -0,0 +1,4 @@
+00000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000111111111
+10000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111
+01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101
+#
diff --git a/public_test_cases/p01711/output.0.txt b/public_test_cases/p01711/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07d92f55e50e8b2e1dc8d6ab8474727be13423d2
--- /dev/null
+++ b/public_test_cases/p01711/output.0.txt
@@ -0,0 +1,3 @@
+yes
+yes
+no
diff --git a/public_test_cases/p01711/output.1.txt b/public_test_cases/p01711/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07d92f55e50e8b2e1dc8d6ab8474727be13423d2
--- /dev/null
+++ b/public_test_cases/p01711/output.1.txt
@@ -0,0 +1,3 @@
+yes
+yes
+no
diff --git a/public_test_cases/p01712/input.0.txt b/public_test_cases/p01712/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89d68a73be094a183ca400cdc6800987fe7482e3
--- /dev/null
+++ b/public_test_cases/p01712/input.0.txt
@@ -0,0 +1,4 @@
+3 9 9
+2 2 2
+5 5 2
+8 8 2
diff --git a/public_test_cases/p01712/output.0.txt b/public_test_cases/p01712/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01712/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01713/input.0.txt b/public_test_cases/p01713/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c489cc09738285cd679474eb23e9f340b28b3f1
--- /dev/null
+++ b/public_test_cases/p01713/input.0.txt
@@ -0,0 +1,2 @@
+7
+2 0 -2 3 2 -2 0
diff --git a/public_test_cases/p01713/output.0.txt b/public_test_cases/p01713/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01713/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01714/input.0.txt b/public_test_cases/p01714/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b42234e052c040e20c69326637d1fe3f742f1159
--- /dev/null
+++ b/public_test_cases/p01714/input.0.txt
@@ -0,0 +1,6 @@
+5
+0 0 0 0
+1 0 -1 1
+-1 0 1 -1
+1 1 -1 1
+-1 -1 1 -1
diff --git a/public_test_cases/p01714/output.0.txt b/public_test_cases/p01714/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01714/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01715/input.0.txt b/public_test_cases/p01715/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5013de0465aa01c5ecf48f6bbdf67fae2af3d81
--- /dev/null
+++ b/public_test_cases/p01715/input.0.txt
@@ -0,0 +1,4 @@
+2 2 1
+1 5
+0 1
+0 2
diff --git a/public_test_cases/p01715/output.0.txt b/public_test_cases/p01715/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01715/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01716/input.0.txt b/public_test_cases/p01716/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc5a5304b4476190e87efd92a2218ed3ff3eed50
--- /dev/null
+++ b/public_test_cases/p01716/input.0.txt
@@ -0,0 +1,3 @@
+3 1
+a1a
+a 99
diff --git a/public_test_cases/p01716/output.0.txt b/public_test_cases/p01716/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p01716/output.0.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p01717/input.0.txt b/public_test_cases/p01717/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83c4832c5826be6d766932d8972e50e917914753
--- /dev/null
+++ b/public_test_cases/p01717/input.0.txt
@@ -0,0 +1,6 @@
+6 5 4
+2 1 1
+2 5 2
+5 1 1
+4 3 2
+3 6 -1
diff --git a/public_test_cases/p01717/output.0.txt b/public_test_cases/p01717/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01717/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01718/input.0.txt b/public_test_cases/p01718/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca1d95ebdd7a3a85e1e997d857b032f4e42e9aca
--- /dev/null
+++ b/public_test_cases/p01718/input.0.txt
@@ -0,0 +1,4 @@
+5 2
+5 1 2 3 4
+1 1
+2 4
diff --git a/public_test_cases/p01718/output.0.txt b/public_test_cases/p01718/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaee3d96eb61e035efe8dc4bb04579bfa8eb72e8
--- /dev/null
+++ b/public_test_cases/p01718/output.0.txt
@@ -0,0 +1,2 @@
+15
+45
diff --git a/public_test_cases/p01719/input.0.txt b/public_test_cases/p01719/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..914d5ddd5c70a886bbd37968131c76d0a10bd00e
--- /dev/null
+++ b/public_test_cases/p01719/input.0.txt
@@ -0,0 +1,3 @@
+2 2 5
+3 2
+5 4
diff --git a/public_test_cases/p01719/input.1.txt b/public_test_cases/p01719/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d36819e64423bf15d7e51f6d560d35060a3750d2
--- /dev/null
+++ b/public_test_cases/p01719/input.1.txt
@@ -0,0 +1,3 @@
+1 2 5
+6
+10000
diff --git a/public_test_cases/p01719/input.2.txt b/public_test_cases/p01719/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6923c6dec9ea5e8365091414ebea6b663b459b1d
--- /dev/null
+++ b/public_test_cases/p01719/input.2.txt
@@ -0,0 +1,4 @@
+2 3 5
+4 5
+6 3
+8 5
diff --git a/public_test_cases/p01719/input.3.txt b/public_test_cases/p01719/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3e33724c3558a1cd3afa6bdea2f9d4920de8fc1
--- /dev/null
+++ b/public_test_cases/p01719/input.3.txt
@@ -0,0 +1,4 @@
+3 3 10
+10 9 6
+8 7 3
+7 5 1
diff --git a/public_test_cases/p01719/input.4.txt b/public_test_cases/p01719/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..914d5ddd5c70a886bbd37968131c76d0a10bd00e
--- /dev/null
+++ b/public_test_cases/p01719/input.4.txt
@@ -0,0 +1,3 @@
+2 2 5
+3 2
+5 4
diff --git a/public_test_cases/p01719/output.0.txt b/public_test_cases/p01719/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01719/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01719/output.1.txt b/public_test_cases/p01719/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01719/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01719/output.2.txt b/public_test_cases/p01719/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p01719/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p01719/output.3.txt b/public_test_cases/p01719/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01719/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01719/output.4.txt b/public_test_cases/p01719/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01719/output.4.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01720/input.0.txt b/public_test_cases/p01720/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..908f2b3e6e94a3c846527c327c896e77d19a614d
--- /dev/null
+++ b/public_test_cases/p01720/input.0.txt
@@ -0,0 +1,3 @@
+3 2 1 3
+1 2
+2 3
diff --git a/public_test_cases/p01720/input.1.txt b/public_test_cases/p01720/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c2e34d6da450b72a4e0b019b3a8faebe7fb1172
--- /dev/null
+++ b/public_test_cases/p01720/input.1.txt
@@ -0,0 +1,4 @@
+4 3 1 4
+1 2
+3 4
+4 1
diff --git a/public_test_cases/p01720/input.2.txt b/public_test_cases/p01720/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d3d22a0c27e5422a2c31b6872d59411c08f9ed9
--- /dev/null
+++ b/public_test_cases/p01720/input.2.txt
@@ -0,0 +1,8 @@
+9 7 8 9
+9 6
+6 5
+3 6
+3 7
+2 5
+8 5
+1 4
diff --git a/public_test_cases/p01720/input.3.txt b/public_test_cases/p01720/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..346e265ee42f519eff500e8be9390812711ca458
--- /dev/null
+++ b/public_test_cases/p01720/input.3.txt
@@ -0,0 +1,9 @@
+9 8 7 8
+2 6
+4 9
+8 6
+9 2
+3 8
+1 8
+8 5
+7 9
diff --git a/public_test_cases/p01720/input.4.txt b/public_test_cases/p01720/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..908f2b3e6e94a3c846527c327c896e77d19a614d
--- /dev/null
+++ b/public_test_cases/p01720/input.4.txt
@@ -0,0 +1,3 @@
+3 2 1 3
+1 2
+2 3
diff --git a/public_test_cases/p01720/output.0.txt b/public_test_cases/p01720/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01720/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01720/output.1.txt b/public_test_cases/p01720/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01720/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01720/output.2.txt b/public_test_cases/p01720/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01720/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01720/output.3.txt b/public_test_cases/p01720/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01720/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01720/output.4.txt b/public_test_cases/p01720/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01720/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01721/input.0.txt b/public_test_cases/p01721/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80300f6da3863ab12cb8310c6e08dbbbc921cd74
--- /dev/null
+++ b/public_test_cases/p01721/input.0.txt
@@ -0,0 +1 @@
+10 10 1 10 3 3 7 7
diff --git a/public_test_cases/p01721/input.1.txt b/public_test_cases/p01721/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3ad10f2e778286e04764711691f74e389698ce7
--- /dev/null
+++ b/public_test_cases/p01721/input.1.txt
@@ -0,0 +1 @@
+2 3 1000 1000 1 1 1 2
diff --git a/public_test_cases/p01721/input.2.txt b/public_test_cases/p01721/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d69a944a97eb8f19bd0afa8e2e318c719794c579
--- /dev/null
+++ b/public_test_cases/p01721/input.2.txt
@@ -0,0 +1 @@
+10 10 1 11 3 3 7 7
diff --git a/public_test_cases/p01721/input.3.txt b/public_test_cases/p01721/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80300f6da3863ab12cb8310c6e08dbbbc921cd74
--- /dev/null
+++ b/public_test_cases/p01721/input.3.txt
@@ -0,0 +1 @@
+10 10 1 10 3 3 7 7
diff --git a/public_test_cases/p01721/output.0.txt b/public_test_cases/p01721/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01721/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01721/output.1.txt b/public_test_cases/p01721/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8328d52d36be8a1d38a4d3137446ec090d0cd28d
--- /dev/null
+++ b/public_test_cases/p01721/output.1.txt
@@ -0,0 +1 @@
+523598775681
diff --git a/public_test_cases/p01721/output.2.txt b/public_test_cases/p01721/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01721/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01721/output.3.txt b/public_test_cases/p01721/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01721/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01722/input.0.txt b/public_test_cases/p01722/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01722/input.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01722/input.1.txt b/public_test_cases/p01722/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01722/input.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01722/input.2.txt b/public_test_cases/p01722/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01722/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01722/input.3.txt b/public_test_cases/p01722/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01722/input.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01722/output.0.txt b/public_test_cases/p01722/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01722/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01722/output.1.txt b/public_test_cases/p01722/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01722/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01722/output.2.txt b/public_test_cases/p01722/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01722/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01722/output.3.txt b/public_test_cases/p01722/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01722/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01723/input.0.txt b/public_test_cases/p01723/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba9779434586e5ff69d9adf12ef034606095b476
--- /dev/null
+++ b/public_test_cases/p01723/input.0.txt
@@ -0,0 +1,3 @@
+3
+0 1
+1 2
diff --git a/public_test_cases/p01723/input.1.txt b/public_test_cases/p01723/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01723/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01723/input.2.txt b/public_test_cases/p01723/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50af179477f031a88b9b6012bd8cefd7068f9ed0
--- /dev/null
+++ b/public_test_cases/p01723/input.2.txt
@@ -0,0 +1,3 @@
+3
+0 1
+0 2
diff --git a/public_test_cases/p01723/input.3.txt b/public_test_cases/p01723/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3bf5e51d16f5f9d5f482f579399ae46bd188023
--- /dev/null
+++ b/public_test_cases/p01723/input.3.txt
@@ -0,0 +1,7 @@
+7
+0 1
+1 2
+2 3
+3 4
+0 5
+0 6
diff --git a/public_test_cases/p01723/input.4.txt b/public_test_cases/p01723/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba9779434586e5ff69d9adf12ef034606095b476
--- /dev/null
+++ b/public_test_cases/p01723/input.4.txt
@@ -0,0 +1,3 @@
+3
+0 1
+1 2
diff --git a/public_test_cases/p01723/output.0.txt b/public_test_cases/p01723/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01723/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01723/output.1.txt b/public_test_cases/p01723/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01723/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01723/output.2.txt b/public_test_cases/p01723/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01723/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01723/output.3.txt b/public_test_cases/p01723/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fe4e495fed81a962c91dde803eb5bbe3aa14261
--- /dev/null
+++ b/public_test_cases/p01723/output.3.txt
@@ -0,0 +1 @@
+91
diff --git a/public_test_cases/p01723/output.4.txt b/public_test_cases/p01723/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01723/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01724/input.0.txt b/public_test_cases/p01724/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a009a38990b9e41d5807c5475600a0b9891052
--- /dev/null
+++ b/public_test_cases/p01724/input.0.txt
@@ -0,0 +1,19 @@
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+......O........
+......X........
diff --git a/public_test_cases/p01724/input.1.txt b/public_test_cases/p01724/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38f71c39b9f62ccc219df4cc26c846cd3274a1b1
--- /dev/null
+++ b/public_test_cases/p01724/input.1.txt
@@ -0,0 +1,19 @@
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+.....XX........
+.....XXXO......
+......X........
diff --git a/public_test_cases/p01724/input.2.txt b/public_test_cases/p01724/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac818bd2fc64dbfb60d28a7797c59fcf0dce223
--- /dev/null
+++ b/public_test_cases/p01724/input.2.txt
@@ -0,0 +1,19 @@
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...........O...
+............X..
+.............X.
+.............X.
+.............X.
+...............
+..............X
+.........X.....
+.............X.
+......X....X..X
+.....X.X.XX.X..
diff --git a/public_test_cases/p01724/input.3.txt b/public_test_cases/p01724/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a009a38990b9e41d5807c5475600a0b9891052
--- /dev/null
+++ b/public_test_cases/p01724/input.3.txt
@@ -0,0 +1,19 @@
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+......O........
+......X........
diff --git a/public_test_cases/p01724/input.4.txt b/public_test_cases/p01724/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a083ceec48991ca6dd324cdff04424252ad4bcd
--- /dev/null
+++ b/public_test_cases/p01724/input.4.txt
@@ -0,0 +1,19 @@
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+...............
+......O........
+...............
diff --git a/public_test_cases/p01724/output.0.txt b/public_test_cases/p01724/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01724/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01724/output.1.txt b/public_test_cases/p01724/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01724/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01724/output.2.txt b/public_test_cases/p01724/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01724/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01724/output.3.txt b/public_test_cases/p01724/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01724/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01724/output.4.txt b/public_test_cases/p01724/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01724/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01725/input.0.txt b/public_test_cases/p01725/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d27923491e4756694dfff9a0c6d22a67fc0a1fa5
--- /dev/null
+++ b/public_test_cases/p01725/input.0.txt
@@ -0,0 +1 @@
+3-2*3
diff --git a/public_test_cases/p01725/input.1.txt b/public_test_cases/p01725/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6020ca84320c97810158841c43a4904b4a94ce3
--- /dev/null
+++ b/public_test_cases/p01725/input.1.txt
@@ -0,0 +1 @@
+1-2+3-4+5-6*0
diff --git a/public_test_cases/p01725/input.2.txt b/public_test_cases/p01725/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06de3ebe124646d3fa21407b9c8bea7723c9eca5
--- /dev/null
+++ b/public_test_cases/p01725/input.2.txt
@@ -0,0 +1 @@
+(1989967-3*1-211+4487)
diff --git a/public_test_cases/p01725/input.3.txt b/public_test_cases/p01725/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d27923491e4756694dfff9a0c6d22a67fc0a1fa5
--- /dev/null
+++ b/public_test_cases/p01725/input.3.txt
@@ -0,0 +1 @@
+3-2*3
diff --git a/public_test_cases/p01725/input.4.txt b/public_test_cases/p01725/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ddcfe59365679f5915afddff1e84627d74a60cd
--- /dev/null
+++ b/public_test_cases/p01725/input.4.txt
@@ -0,0 +1 @@
+(5-3*4)*(0-2+1)
diff --git a/public_test_cases/p01725/output.0.txt b/public_test_cases/p01725/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01725/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01725/output.1.txt b/public_test_cases/p01725/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01725/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01725/output.2.txt b/public_test_cases/p01725/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab05da30a58db5a76e2045616bc3d026d06047ff
--- /dev/null
+++ b/public_test_cases/p01725/output.2.txt
@@ -0,0 +1 @@
+8511076028
diff --git a/public_test_cases/p01725/output.3.txt b/public_test_cases/p01725/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01725/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01725/output.4.txt b/public_test_cases/p01725/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p01725/output.4.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p01726/input.0.txt b/public_test_cases/p01726/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e21338cea37342fc9ea73204295c0f3380b46b87
--- /dev/null
+++ b/public_test_cases/p01726/input.0.txt
@@ -0,0 +1,2 @@
+abcbcdbc
+abc
diff --git a/public_test_cases/p01726/input.1.txt b/public_test_cases/p01726/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af2a7e7afb019f5c95a385bc0fc066b013dd28f6
--- /dev/null
+++ b/public_test_cases/p01726/input.1.txt
@@ -0,0 +1,2 @@
+aaaaaa
+aaaaaa
diff --git a/public_test_cases/p01726/input.2.txt b/public_test_cases/p01726/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e21338cea37342fc9ea73204295c0f3380b46b87
--- /dev/null
+++ b/public_test_cases/p01726/input.2.txt
@@ -0,0 +1,2 @@
+abcbcdbc
+abc
diff --git a/public_test_cases/p01726/input.3.txt b/public_test_cases/p01726/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f2f6958cf1d804349a6b6e4872bb79de42cae97
--- /dev/null
+++ b/public_test_cases/p01726/input.3.txt
@@ -0,0 +1,2 @@
+baaaaaaaa
+b
diff --git a/public_test_cases/p01726/output.0.txt b/public_test_cases/p01726/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01726/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01726/output.1.txt b/public_test_cases/p01726/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01726/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01726/output.2.txt b/public_test_cases/p01726/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01726/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01726/output.3.txt b/public_test_cases/p01726/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01726/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01727/input.0.txt b/public_test_cases/p01727/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1665fd756b8290984b9c5ec495ef90b1522f8900
--- /dev/null
+++ b/public_test_cases/p01727/input.0.txt
@@ -0,0 +1,5 @@
+4 10000 00101
+Q
+A 0
+B 1
+Q
diff --git a/public_test_cases/p01727/input.1.txt b/public_test_cases/p01727/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..901e69fde20b334d774fb28051f994df72d3f5fb
--- /dev/null
+++ b/public_test_cases/p01727/input.1.txt
@@ -0,0 +1,10 @@
+9 0110111101 0010100111
+Q
+B 4
+Q
+A 4
+Q
+B 9
+Q
+A 8
+Q
diff --git a/public_test_cases/p01727/input.2.txt b/public_test_cases/p01727/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1665fd756b8290984b9c5ec495ef90b1522f8900
--- /dev/null
+++ b/public_test_cases/p01727/input.2.txt
@@ -0,0 +1,5 @@
+4 10000 00101
+Q
+A 0
+B 1
+Q
diff --git a/public_test_cases/p01727/output.0.txt b/public_test_cases/p01727/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b94473479cd96f84ea5fdd389a9f4f9d3786b8c1
--- /dev/null
+++ b/public_test_cases/p01727/output.0.txt
@@ -0,0 +1,2 @@
+3
+4
diff --git a/public_test_cases/p01727/output.1.txt b/public_test_cases/p01727/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21787c5d3947aadba4d191ba83fafe9f3fbe4355
--- /dev/null
+++ b/public_test_cases/p01727/output.1.txt
@@ -0,0 +1,5 @@
+9
+9
+9
+10
+9
diff --git a/public_test_cases/p01727/output.2.txt b/public_test_cases/p01727/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b94473479cd96f84ea5fdd389a9f4f9d3786b8c1
--- /dev/null
+++ b/public_test_cases/p01727/output.2.txt
@@ -0,0 +1,2 @@
+3
+4
diff --git a/public_test_cases/p01728/input.0.txt b/public_test_cases/p01728/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b028bab9b9839b31cc32ec425a4d1db0f3e75dc
--- /dev/null
+++ b/public_test_cases/p01728/input.0.txt
@@ -0,0 +1,8 @@
+1 2
+3 3
+2 -1
+4
+1 0 1 5
+0 1 4 1
+0 4 6 4
+5 0 5 5
diff --git a/public_test_cases/p01728/input.1.txt b/public_test_cases/p01728/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed2ba5dce2b750ce39d79fed9285a03962954ab
--- /dev/null
+++ b/public_test_cases/p01728/input.1.txt
@@ -0,0 +1,8 @@
+1 2
+3 3
+2 -1
+4
+1 0 1 5
+0 1 6 1
+0 4 6 4
+5 0 5 5
diff --git a/public_test_cases/p01728/input.2.txt b/public_test_cases/p01728/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..056cb5d4c535d679ad0c650e04133ad07de14288
--- /dev/null
+++ b/public_test_cases/p01728/input.2.txt
@@ -0,0 +1,9 @@
+1 4
+3 3
+7 0
+5
+1 0 1 5
+0 1 6 1
+0 4 6 4
+8 0 2 5
+6 0 4 2
diff --git a/public_test_cases/p01728/input.3.txt b/public_test_cases/p01728/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..872859ece37a7ab31fcd2fcc48eb1ff922f9055d
--- /dev/null
+++ b/public_test_cases/p01728/input.3.txt
@@ -0,0 +1,9 @@
+2 2
+4 2
+4 5
+5
+1 5 2 0
+0 4 3 4
+0 1 8 1
+7 0 7 5
+8 4 5 4
diff --git a/public_test_cases/p01728/input.4.txt b/public_test_cases/p01728/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b028bab9b9839b31cc32ec425a4d1db0f3e75dc
--- /dev/null
+++ b/public_test_cases/p01728/input.4.txt
@@ -0,0 +1,8 @@
+1 2
+3 3
+2 -1
+4
+1 0 1 5
+0 1 4 1
+0 4 6 4
+5 0 5 5
diff --git a/public_test_cases/p01728/output.0.txt b/public_test_cases/p01728/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01728/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01728/output.1.txt b/public_test_cases/p01728/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01728/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01728/output.2.txt b/public_test_cases/p01728/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01728/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01728/output.3.txt b/public_test_cases/p01728/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01728/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01728/output.4.txt b/public_test_cases/p01728/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01728/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01729/input.0.txt b/public_test_cases/p01729/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3d120ea7ddbbdc245618987915ee96a89fe6f6b
--- /dev/null
+++ b/public_test_cases/p01729/input.0.txt
@@ -0,0 +1,3 @@
+3
+3 -1 4
+2 1 3
diff --git a/public_test_cases/p01729/input.1.txt b/public_test_cases/p01729/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3d120ea7ddbbdc245618987915ee96a89fe6f6b
--- /dev/null
+++ b/public_test_cases/p01729/input.1.txt
@@ -0,0 +1,3 @@
+3
+3 -1 4
+2 1 3
diff --git a/public_test_cases/p01729/input.2.txt b/public_test_cases/p01729/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b50cd574d02508d433cadcce9da0e790d9e46752
--- /dev/null
+++ b/public_test_cases/p01729/input.2.txt
@@ -0,0 +1,3 @@
+4
+3 -1 -1 3
+1 1 1 1
diff --git a/public_test_cases/p01729/input.3.txt b/public_test_cases/p01729/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63d8306c3ce6f7836757884f32165a3e56ac37a4
--- /dev/null
+++ b/public_test_cases/p01729/input.3.txt
@@ -0,0 +1,3 @@
+3
+3 -1 4
+2 1 5
diff --git a/public_test_cases/p01729/output.0.txt b/public_test_cases/p01729/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01729/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01729/output.1.txt b/public_test_cases/p01729/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01729/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01729/output.2.txt b/public_test_cases/p01729/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01729/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01729/output.3.txt b/public_test_cases/p01729/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01729/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01730/input.0.txt b/public_test_cases/p01730/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6344f0c69b5665d264b445b5a6ab0be4bb2f01d1
--- /dev/null
+++ b/public_test_cases/p01730/input.0.txt
@@ -0,0 +1,4 @@
+3
+5 10
+-10 0
+3 -10
diff --git a/public_test_cases/p01730/input.1.txt b/public_test_cases/p01730/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff249d6bf33bc320728da8ed80dafca181d6b9ee
--- /dev/null
+++ b/public_test_cases/p01730/input.1.txt
@@ -0,0 +1,5 @@
+4
+100000000 100000000
+100000000 -100000000
+-100000000 100000000
+-100000000 -100000000
diff --git a/public_test_cases/p01730/input.2.txt b/public_test_cases/p01730/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87b4f446d515929ffb3246b749b159523f726e20
--- /dev/null
+++ b/public_test_cases/p01730/input.2.txt
@@ -0,0 +1,3 @@
+2
+0 0
+0 1
diff --git a/public_test_cases/p01730/input.3.txt b/public_test_cases/p01730/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6344f0c69b5665d264b445b5a6ab0be4bb2f01d1
--- /dev/null
+++ b/public_test_cases/p01730/input.3.txt
@@ -0,0 +1,4 @@
+3
+5 10
+-10 0
+3 -10
diff --git a/public_test_cases/p01730/output.0.txt b/public_test_cases/p01730/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01730/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01730/output.1.txt b/public_test_cases/p01730/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c3c110b3563bd0fda8762ea7a3225a367e845cf
--- /dev/null
+++ b/public_test_cases/p01730/output.1.txt
@@ -0,0 +1 @@
+200000000
diff --git a/public_test_cases/p01730/output.2.txt b/public_test_cases/p01730/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb3c4fe4eebcdea3da0790cc0ba74cb286ec4f4
--- /dev/null
+++ b/public_test_cases/p01730/output.2.txt
@@ -0,0 +1 @@
+0.5
diff --git a/public_test_cases/p01730/output.3.txt b/public_test_cases/p01730/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01730/output.3.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01731/input.0.txt b/public_test_cases/p01731/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ff05f0de897a32e47abcb49a661fa4e52fd4cb9
--- /dev/null
+++ b/public_test_cases/p01731/input.0.txt
@@ -0,0 +1,3 @@
+1
+0
+icpc
diff --git a/public_test_cases/p01731/input.1.txt b/public_test_cases/p01731/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ff05f0de897a32e47abcb49a661fa4e52fd4cb9
--- /dev/null
+++ b/public_test_cases/p01731/input.1.txt
@@ -0,0 +1,3 @@
+1
+0
+icpc
diff --git a/public_test_cases/p01731/output.0.txt b/public_test_cases/p01731/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64018ccc57118406dba49cf6f0ce63ae2466b806
--- /dev/null
+++ b/public_test_cases/p01731/output.0.txt
@@ -0,0 +1 @@
+icpc
diff --git a/public_test_cases/p01731/output.1.txt b/public_test_cases/p01731/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64018ccc57118406dba49cf6f0ce63ae2466b806
--- /dev/null
+++ b/public_test_cases/p01731/output.1.txt
@@ -0,0 +1 @@
+icpc
diff --git a/public_test_cases/p01732/input.0.txt b/public_test_cases/p01732/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aec7a2c3b4e8572c8b431c04cbf4ef04f1977c3d
--- /dev/null
+++ b/public_test_cases/p01732/input.0.txt
@@ -0,0 +1,4 @@
+3 3 1
+1 1 3 3
+0 0
+1 RRDDLLUU
diff --git a/public_test_cases/p01732/input.1.txt b/public_test_cases/p01732/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aec7a2c3b4e8572c8b431c04cbf4ef04f1977c3d
--- /dev/null
+++ b/public_test_cases/p01732/input.1.txt
@@ -0,0 +1,4 @@
+3 3 1
+1 1 3 3
+0 0
+1 RRDDLLUU
diff --git a/public_test_cases/p01732/output.0.txt b/public_test_cases/p01732/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01732/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01732/output.1.txt b/public_test_cases/p01732/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01732/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01733/input.0.txt b/public_test_cases/p01733/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2216a78668e233923fbcd0273215d8ba9fe6e1b
--- /dev/null
+++ b/public_test_cases/p01733/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 1 2
+2 2 3
diff --git a/public_test_cases/p01733/input.1.txt b/public_test_cases/p01733/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2216a78668e233923fbcd0273215d8ba9fe6e1b
--- /dev/null
+++ b/public_test_cases/p01733/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 1 2
+2 2 3
diff --git a/public_test_cases/p01733/output.0.txt b/public_test_cases/p01733/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30991c6153f990a4294990dead241f308937d741
--- /dev/null
+++ b/public_test_cases/p01733/output.0.txt
@@ -0,0 +1 @@
+5 / 1
diff --git a/public_test_cases/p01733/output.1.txt b/public_test_cases/p01733/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30991c6153f990a4294990dead241f308937d741
--- /dev/null
+++ b/public_test_cases/p01733/output.1.txt
@@ -0,0 +1 @@
+5 / 1
diff --git a/public_test_cases/p01734/input.0.txt b/public_test_cases/p01734/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c533dfcaaa367d6a08bb06ed9c6cb0d264421a0
--- /dev/null
+++ b/public_test_cases/p01734/input.0.txt
@@ -0,0 +1,4 @@
+3
+26 29 9 12
+6 10 15 16
+8 17 18 19
diff --git a/public_test_cases/p01734/input.1.txt b/public_test_cases/p01734/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c533dfcaaa367d6a08bb06ed9c6cb0d264421a0
--- /dev/null
+++ b/public_test_cases/p01734/input.1.txt
@@ -0,0 +1,4 @@
+3
+26 29 9 12
+6 10 15 16
+8 17 18 19
diff --git a/public_test_cases/p01734/output.0.txt b/public_test_cases/p01734/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01734/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01734/output.1.txt b/public_test_cases/p01734/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01734/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01735/input.0.txt b/public_test_cases/p01735/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8042e5db220ad41644d92ec418af32c922651b82
--- /dev/null
+++ b/public_test_cases/p01735/input.0.txt
@@ -0,0 +1,5 @@
+3
+0 1 1
+2 2 3
+0
+0
diff --git a/public_test_cases/p01735/input.1.txt b/public_test_cases/p01735/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8042e5db220ad41644d92ec418af32c922651b82
--- /dev/null
+++ b/public_test_cases/p01735/input.1.txt
@@ -0,0 +1,5 @@
+3
+0 1 1
+2 2 3
+0
+0
diff --git a/public_test_cases/p01735/output.0.txt b/public_test_cases/p01735/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p01735/output.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p01735/output.1.txt b/public_test_cases/p01735/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p01735/output.1.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p01736/input.0.txt b/public_test_cases/p01736/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f5e141ebd10af6ee078f4edfe55ca86c755d513
--- /dev/null
+++ b/public_test_cases/p01736/input.0.txt
@@ -0,0 +1,6 @@
+2
+1 1
+0 1
+1
+1
+1
diff --git a/public_test_cases/p01736/input.1.txt b/public_test_cases/p01736/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f5e141ebd10af6ee078f4edfe55ca86c755d513
--- /dev/null
+++ b/public_test_cases/p01736/input.1.txt
@@ -0,0 +1,6 @@
+2
+1 1
+0 1
+1
+1
+1
diff --git a/public_test_cases/p01736/output.0.txt b/public_test_cases/p01736/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e8183b72e5ed9b26e9e2c64bb6bc849b23b0690
--- /dev/null
+++ b/public_test_cases/p01736/output.0.txt
@@ -0,0 +1 @@
+0 1
diff --git a/public_test_cases/p01736/output.1.txt b/public_test_cases/p01736/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e8183b72e5ed9b26e9e2c64bb6bc849b23b0690
--- /dev/null
+++ b/public_test_cases/p01736/output.1.txt
@@ -0,0 +1 @@
+0 1
diff --git a/public_test_cases/p01737/input.0.txt b/public_test_cases/p01737/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7d765dac1b40890eb5e010f4a317760e56c16e7
--- /dev/null
+++ b/public_test_cases/p01737/input.0.txt
@@ -0,0 +1,3 @@
+2 1 1 9 -1
+2 2 1 1 -9 1
+1 2 -1 -1 9 -1
diff --git a/public_test_cases/p01737/input.1.txt b/public_test_cases/p01737/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7d765dac1b40890eb5e010f4a317760e56c16e7
--- /dev/null
+++ b/public_test_cases/p01737/input.1.txt
@@ -0,0 +1,3 @@
+2 1 1 9 -1
+2 2 1 1 -9 1
+1 2 -1 -1 9 -1
diff --git a/public_test_cases/p01737/output.0.txt b/public_test_cases/p01737/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01737/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01737/output.1.txt b/public_test_cases/p01737/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01737/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01738/input.0.txt b/public_test_cases/p01738/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b652e7bcf0eb3bacefb65f2c9c35d7dcb4ccece4
--- /dev/null
+++ b/public_test_cases/p01738/input.0.txt
@@ -0,0 +1,5 @@
+3 3
+2 4 1 2 1
+XAX
+B.B
+XAX
diff --git a/public_test_cases/p01738/input.1.txt b/public_test_cases/p01738/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b652e7bcf0eb3bacefb65f2c9c35d7dcb4ccece4
--- /dev/null
+++ b/public_test_cases/p01738/input.1.txt
@@ -0,0 +1,5 @@
+3 3
+2 4 1 2 1
+XAX
+B.B
+XAX
diff --git a/public_test_cases/p01738/output.0.txt b/public_test_cases/p01738/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..510f863f6c30012c106afaf93b3d4d40fef0a6d0
--- /dev/null
+++ b/public_test_cases/p01738/output.0.txt
@@ -0,0 +1 @@
+0.0000000000000
diff --git a/public_test_cases/p01738/output.1.txt b/public_test_cases/p01738/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..510f863f6c30012c106afaf93b3d4d40fef0a6d0
--- /dev/null
+++ b/public_test_cases/p01738/output.1.txt
@@ -0,0 +1 @@
+0.0000000000000
diff --git a/public_test_cases/p01739/input.0.txt b/public_test_cases/p01739/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edc0c8f6d12ebcc6e367c6416ce16668fd40b926
--- /dev/null
+++ b/public_test_cases/p01739/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 2 2
+0
diff --git a/public_test_cases/p01739/input.1.txt b/public_test_cases/p01739/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edc0c8f6d12ebcc6e367c6416ce16668fd40b926
--- /dev/null
+++ b/public_test_cases/p01739/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 2 2
+0
diff --git a/public_test_cases/p01739/output.0.txt b/public_test_cases/p01739/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01739/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01739/output.1.txt b/public_test_cases/p01739/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01739/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01740/input.0.txt b/public_test_cases/p01740/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..faf572502b6ba129259401b6ba398fc9447ffa54
--- /dev/null
+++ b/public_test_cases/p01740/input.0.txt
@@ -0,0 +1,6 @@
+3
+.oo
+o..
+
+o.o
+o..
diff --git a/public_test_cases/p01740/input.1.txt b/public_test_cases/p01740/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..faf572502b6ba129259401b6ba398fc9447ffa54
--- /dev/null
+++ b/public_test_cases/p01740/input.1.txt
@@ -0,0 +1,6 @@
+3
+.oo
+o..
+
+o.o
+o..
diff --git a/public_test_cases/p01740/output.0.txt b/public_test_cases/p01740/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01740/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01740/output.1.txt b/public_test_cases/p01740/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01740/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01741/input.0.txt b/public_test_cases/p01741/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3db567e036fb210cd8f3cde455bb8d00d5e460ee
--- /dev/null
+++ b/public_test_cases/p01741/input.0.txt
@@ -0,0 +1 @@
+1.000
diff --git a/public_test_cases/p01741/input.1.txt b/public_test_cases/p01741/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3db567e036fb210cd8f3cde455bb8d00d5e460ee
--- /dev/null
+++ b/public_test_cases/p01741/input.1.txt
@@ -0,0 +1 @@
+1.000
diff --git a/public_test_cases/p01741/input.2.txt b/public_test_cases/p01741/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..058d74bf00a24a8166fdfd6f2e3efd7939ee33d0
--- /dev/null
+++ b/public_test_cases/p01741/input.2.txt
@@ -0,0 +1 @@
+2.345
diff --git a/public_test_cases/p01741/output.0.txt b/public_test_cases/p01741/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4334303ce77e6db2a8781ed7290433fbe585583e
--- /dev/null
+++ b/public_test_cases/p01741/output.0.txt
@@ -0,0 +1 @@
+2.000000000000
diff --git a/public_test_cases/p01741/output.1.txt b/public_test_cases/p01741/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4334303ce77e6db2a8781ed7290433fbe585583e
--- /dev/null
+++ b/public_test_cases/p01741/output.1.txt
@@ -0,0 +1 @@
+2.000000000000
diff --git a/public_test_cases/p01741/output.2.txt b/public_test_cases/p01741/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c6165f668c08102e5e356d9e3ca368c9be1ecda
--- /dev/null
+++ b/public_test_cases/p01741/output.2.txt
@@ -0,0 +1 @@
+3.316330803765
diff --git a/public_test_cases/p01742/input.0.txt b/public_test_cases/p01742/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f870600832c40ecd190035f34074e3a63a1f7e7
--- /dev/null
+++ b/public_test_cases/p01742/input.0.txt
@@ -0,0 +1,3 @@
+2
+?sum??mer
+c??a??mp
diff --git a/public_test_cases/p01742/input.1.txt b/public_test_cases/p01742/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f870600832c40ecd190035f34074e3a63a1f7e7
--- /dev/null
+++ b/public_test_cases/p01742/input.1.txt
@@ -0,0 +1,3 @@
+2
+?sum??mer
+c??a??mp
diff --git a/public_test_cases/p01742/input.2.txt b/public_test_cases/p01742/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ebbb6b53fc58ac2f34de3dba470e2c1e330b315
--- /dev/null
+++ b/public_test_cases/p01742/input.2.txt
@@ -0,0 +1,4 @@
+3
+snuje
+????e
+snule
diff --git a/public_test_cases/p01742/output.0.txt b/public_test_cases/p01742/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d98c4fe4471d5fae622dc102324a6606a4c3ed89
--- /dev/null
+++ b/public_test_cases/p01742/output.0.txt
@@ -0,0 +1 @@
+703286064
diff --git a/public_test_cases/p01742/output.1.txt b/public_test_cases/p01742/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d98c4fe4471d5fae622dc102324a6606a4c3ed89
--- /dev/null
+++ b/public_test_cases/p01742/output.1.txt
@@ -0,0 +1 @@
+703286064
diff --git a/public_test_cases/p01742/output.2.txt b/public_test_cases/p01742/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01742/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01743/input.0.txt b/public_test_cases/p01743/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e8a2de2dbc74e6f8e500591f14858fef93ccd1b
--- /dev/null
+++ b/public_test_cases/p01743/input.0.txt
@@ -0,0 +1,3 @@
+2
+3
+3
diff --git a/public_test_cases/p01743/input.1.txt b/public_test_cases/p01743/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a984100568ed886ced74081caac838e0892f8bf
--- /dev/null
+++ b/public_test_cases/p01743/input.1.txt
@@ -0,0 +1,6 @@
+5
+2
+3
+4
+5
+6
diff --git a/public_test_cases/p01743/input.2.txt b/public_test_cases/p01743/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e8a2de2dbc74e6f8e500591f14858fef93ccd1b
--- /dev/null
+++ b/public_test_cases/p01743/input.2.txt
@@ -0,0 +1,3 @@
+2
+3
+3
diff --git a/public_test_cases/p01743/output.0.txt b/public_test_cases/p01743/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01743/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01743/output.1.txt b/public_test_cases/p01743/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p01743/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p01743/output.2.txt b/public_test_cases/p01743/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01743/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01744/input.0.txt b/public_test_cases/p01744/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6e6afb1312ef1404fa7d5713d2ab5201ae5e1b2
--- /dev/null
+++ b/public_test_cases/p01744/input.0.txt
@@ -0,0 +1,2 @@
+4 4 1
+3 3
diff --git a/public_test_cases/p01744/input.1.txt b/public_test_cases/p01744/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6e6afb1312ef1404fa7d5713d2ab5201ae5e1b2
--- /dev/null
+++ b/public_test_cases/p01744/input.1.txt
@@ -0,0 +1,2 @@
+4 4 1
+3 3
diff --git a/public_test_cases/p01744/input.2.txt b/public_test_cases/p01744/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe0d2b95b67446da6035774bf09d1caffabb0928
--- /dev/null
+++ b/public_test_cases/p01744/input.2.txt
@@ -0,0 +1,11 @@
+10 6 10
+10 4
+4 4
+5 1
+4 2
+7 3
+1 3
+2 4
+8 2
+7 5
+7 1
diff --git a/public_test_cases/p01744/output.0.txt b/public_test_cases/p01744/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..966a0980e59147e79c6ed153bbe801baacfcf47f
--- /dev/null
+++ b/public_test_cases/p01744/output.0.txt
@@ -0,0 +1,4 @@
+2
+3
+4
+1
diff --git a/public_test_cases/p01744/output.1.txt b/public_test_cases/p01744/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..966a0980e59147e79c6ed153bbe801baacfcf47f
--- /dev/null
+++ b/public_test_cases/p01744/output.1.txt
@@ -0,0 +1,4 @@
+2
+3
+4
+1
diff --git a/public_test_cases/p01744/output.2.txt b/public_test_cases/p01744/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25dc85a60324d88009a13e7cd8c8ce7e768e8d2f
--- /dev/null
+++ b/public_test_cases/p01744/output.2.txt
@@ -0,0 +1,6 @@
+1
+4
+3
+2
+5
+6
diff --git a/public_test_cases/p01745/input.0.txt b/public_test_cases/p01745/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4b2097b5794f37c3cf48cd83766a3b2916b7ede
--- /dev/null
+++ b/public_test_cases/p01745/input.0.txt
@@ -0,0 +1,2 @@
+1
+00011000
diff --git a/public_test_cases/p01745/input.1.txt b/public_test_cases/p01745/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..420a155be9a6d469df59a2bf2c2ae1d0a1a11eab
--- /dev/null
+++ b/public_test_cases/p01745/input.1.txt
@@ -0,0 +1,2 @@
+1
+11111111
diff --git a/public_test_cases/p01745/input.2.txt b/public_test_cases/p01745/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4b2097b5794f37c3cf48cd83766a3b2916b7ede
--- /dev/null
+++ b/public_test_cases/p01745/input.2.txt
@@ -0,0 +1,2 @@
+1
+00011000
diff --git a/public_test_cases/p01745/output.0.txt b/public_test_cases/p01745/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d049912cb6e9963d468ae602be37d55de588517c
--- /dev/null
+++ b/public_test_cases/p01745/output.0.txt
@@ -0,0 +1 @@
+00011101
diff --git a/public_test_cases/p01745/output.1.txt b/public_test_cases/p01745/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p01745/output.1.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p01745/output.2.txt b/public_test_cases/p01745/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d049912cb6e9963d468ae602be37d55de588517c
--- /dev/null
+++ b/public_test_cases/p01745/output.2.txt
@@ -0,0 +1 @@
+00011101
diff --git a/public_test_cases/p01746/input.0.txt b/public_test_cases/p01746/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2628cf66432f859f8d5f17e44d57397d455bb17
--- /dev/null
+++ b/public_test_cases/p01746/input.0.txt
@@ -0,0 +1,8 @@
+7
+0 3 1
+0 3 2
+1 -1 2
+0 0 1
+-2 4 1
+-4 0 1
+2 1 2
diff --git a/public_test_cases/p01746/input.1.txt b/public_test_cases/p01746/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..311a7a276f2bccd648c9e2131b78de13fbac2b44
--- /dev/null
+++ b/public_test_cases/p01746/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 2 3
+4 5 6
diff --git a/public_test_cases/p01746/input.2.txt b/public_test_cases/p01746/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2628cf66432f859f8d5f17e44d57397d455bb17
--- /dev/null
+++ b/public_test_cases/p01746/input.2.txt
@@ -0,0 +1,8 @@
+7
+0 3 1
+0 3 2
+1 -1 2
+0 0 1
+-2 4 1
+-4 0 1
+2 1 2
diff --git a/public_test_cases/p01746/output.0.txt b/public_test_cases/p01746/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01746/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01746/output.1.txt b/public_test_cases/p01746/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01746/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01746/output.2.txt b/public_test_cases/p01746/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01746/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01747/input.0.txt b/public_test_cases/p01747/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cdbc020b0651cde3c67d7134c654e08d163a2a8
--- /dev/null
+++ b/public_test_cases/p01747/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 1
+1 1
+1 2
+2 2
diff --git a/public_test_cases/p01747/input.1.txt b/public_test_cases/p01747/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cdbc020b0651cde3c67d7134c654e08d163a2a8
--- /dev/null
+++ b/public_test_cases/p01747/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 1
+1 1
+1 2
+2 2
diff --git a/public_test_cases/p01747/input.2.txt b/public_test_cases/p01747/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2fe0ae654fa166b405f535dffec5cbbd60f00e6
--- /dev/null
+++ b/public_test_cases/p01747/input.2.txt
@@ -0,0 +1,12 @@
+11
+63 106
+87 143
+102 132
+115 169
+74 145
+41 177
+56 130
+28 141
+19 124
+0 156
+22 183
diff --git a/public_test_cases/p01747/output.0.txt b/public_test_cases/p01747/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p01747/output.0.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p01747/output.1.txt b/public_test_cases/p01747/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p01747/output.1.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p01747/output.2.txt b/public_test_cases/p01747/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p01747/output.2.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p01748/input.0.txt b/public_test_cases/p01748/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..057c3dabf9b62b580b44b560ded06da73829287e
--- /dev/null
+++ b/public_test_cases/p01748/input.0.txt
@@ -0,0 +1,10 @@
+10
+4 1
+1 1
+3 1
+3 1
+5 1
+6 1
+6 1
+8 1
+4 1
diff --git a/public_test_cases/p01748/input.1.txt b/public_test_cases/p01748/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..057c3dabf9b62b580b44b560ded06da73829287e
--- /dev/null
+++ b/public_test_cases/p01748/input.1.txt
@@ -0,0 +1,10 @@
+10
+4 1
+1 1
+3 1
+3 1
+5 1
+6 1
+6 1
+8 1
+4 1
diff --git a/public_test_cases/p01748/input.2.txt b/public_test_cases/p01748/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fa81d5dac429862253ee9536be0f639e62cd4ef
--- /dev/null
+++ b/public_test_cases/p01748/input.2.txt
@@ -0,0 +1,15 @@
+15
+1 3
+12 5
+5 2
+12 1
+7 5
+5 1
+6 1
+12 1
+11 1
+12 4
+1 1
+5 5
+10 4
+1 2
diff --git a/public_test_cases/p01748/output.0.txt b/public_test_cases/p01748/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2061ac6c8901d850b49149621bb9121983224550
--- /dev/null
+++ b/public_test_cases/p01748/output.0.txt
@@ -0,0 +1,10 @@
+0
+3
+3
+4
+5
+7
+10
+13
+16
+19
diff --git a/public_test_cases/p01748/output.1.txt b/public_test_cases/p01748/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2061ac6c8901d850b49149621bb9121983224550
--- /dev/null
+++ b/public_test_cases/p01748/output.1.txt
@@ -0,0 +1,10 @@
+0
+3
+3
+4
+5
+7
+10
+13
+16
+19
diff --git a/public_test_cases/p01748/output.2.txt b/public_test_cases/p01748/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32dcb7193f94e0efc8d69005e84487e94183c2de
--- /dev/null
+++ b/public_test_cases/p01748/output.2.txt
@@ -0,0 +1,15 @@
+0
+3
+9
+13
+14
+21
+22
+29
+31
+37
+41
+41
+47
+56
+59
diff --git a/public_test_cases/p01749/input.0.txt b/public_test_cases/p01749/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e4dc80e7b8d937ce55fe0f8d160d37e4ce407e6
--- /dev/null
+++ b/public_test_cases/p01749/input.0.txt
@@ -0,0 +1 @@
+3 2 2
diff --git a/public_test_cases/p01749/input.1.txt b/public_test_cases/p01749/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e4dc80e7b8d937ce55fe0f8d160d37e4ce407e6
--- /dev/null
+++ b/public_test_cases/p01749/input.1.txt
@@ -0,0 +1 @@
+3 2 2
diff --git a/public_test_cases/p01749/input.2.txt b/public_test_cases/p01749/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdb5f07166e563a892514cfcc76a4bd724164327
--- /dev/null
+++ b/public_test_cases/p01749/input.2.txt
@@ -0,0 +1 @@
+200 50 1000
diff --git a/public_test_cases/p01749/output.0.txt b/public_test_cases/p01749/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01749/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01749/output.1.txt b/public_test_cases/p01749/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p01749/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p01749/output.2.txt b/public_test_cases/p01749/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c52fa9a27d8fc7ee842f5a90c1f9208e75b6f594
--- /dev/null
+++ b/public_test_cases/p01749/output.2.txt
@@ -0,0 +1 @@
+678200960
diff --git a/public_test_cases/p01750/input.0.txt b/public_test_cases/p01750/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18c3d91cbd3b6c14ce36d3f29e82895e8a3afc1f
--- /dev/null
+++ b/public_test_cases/p01750/input.0.txt
@@ -0,0 +1,4 @@
+2
+6
+3
+4
diff --git a/public_test_cases/p01750/input.1.txt b/public_test_cases/p01750/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f6d9861c822385aacb755a6f98592cf7ae7b367
--- /dev/null
+++ b/public_test_cases/p01750/input.1.txt
@@ -0,0 +1,7 @@
+5
+12
+34
+56
+78
+90
+123
diff --git a/public_test_cases/p01750/input.2.txt b/public_test_cases/p01750/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18c3d91cbd3b6c14ce36d3f29e82895e8a3afc1f
--- /dev/null
+++ b/public_test_cases/p01750/input.2.txt
@@ -0,0 +1,4 @@
+2
+6
+3
+4
diff --git a/public_test_cases/p01750/output.0.txt b/public_test_cases/p01750/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01750/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01750/output.1.txt b/public_test_cases/p01750/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..619a5fd6deb278a602860070642f4db2a090c1e0
--- /dev/null
+++ b/public_test_cases/p01750/output.1.txt
@@ -0,0 +1 @@
+433127538
diff --git a/public_test_cases/p01750/output.2.txt b/public_test_cases/p01750/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01750/output.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01751/input.0.txt b/public_test_cases/p01751/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32a8ad0c28032e5f33544ba0acf2a120b16a0394
--- /dev/null
+++ b/public_test_cases/p01751/input.0.txt
@@ -0,0 +1 @@
+10 10 5
diff --git a/public_test_cases/p01751/input.1.txt b/public_test_cases/p01751/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209134e1f1df3ee9441fd12ad26e8f016d728581
--- /dev/null
+++ b/public_test_cases/p01751/input.1.txt
@@ -0,0 +1 @@
+20 20 20
diff --git a/public_test_cases/p01751/input.2.txt b/public_test_cases/p01751/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0a600d14bc57a6e38483799f644c8c00d8e6eda
--- /dev/null
+++ b/public_test_cases/p01751/input.2.txt
@@ -0,0 +1 @@
+50 40 51
diff --git a/public_test_cases/p01751/input.3.txt b/public_test_cases/p01751/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32a8ad0c28032e5f33544ba0acf2a120b16a0394
--- /dev/null
+++ b/public_test_cases/p01751/input.3.txt
@@ -0,0 +1 @@
+10 10 5
diff --git a/public_test_cases/p01751/input.4.txt b/public_test_cases/p01751/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc21012c03d50dcd9c90183a5abceb80f581538f
--- /dev/null
+++ b/public_test_cases/p01751/input.4.txt
@@ -0,0 +1 @@
+30 30 40
diff --git a/public_test_cases/p01751/output.0.txt b/public_test_cases/p01751/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01751/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01751/output.1.txt b/public_test_cases/p01751/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p01751/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p01751/output.2.txt b/public_test_cases/p01751/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p01751/output.2.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p01751/output.3.txt b/public_test_cases/p01751/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01751/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01751/output.4.txt b/public_test_cases/p01751/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01751/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01752/input.0.txt b/public_test_cases/p01752/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a80e99609825b0572f41f2295b402707a0af590
--- /dev/null
+++ b/public_test_cases/p01752/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+G##
+.#.
+.
diff --git a/public_test_cases/p01752/input.1.txt b/public_test_cases/p01752/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..811a0c82ebcb4c71b75d4dd28e04f8e061f191ab
--- /dev/null
+++ b/public_test_cases/p01752/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+....
+.#.G
+...#
+^#..
diff --git a/public_test_cases/p01752/input.2.txt b/public_test_cases/p01752/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c56e33b2937f281643314817c8cc7209446f92ba
--- /dev/null
+++ b/public_test_cases/p01752/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+...
+.G.
+.>.
diff --git a/public_test_cases/p01752/input.3.txt b/public_test_cases/p01752/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a80e99609825b0572f41f2295b402707a0af590
--- /dev/null
+++ b/public_test_cases/p01752/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+G##
+.#.
+.
diff --git a/public_test_cases/p01752/input.4.txt b/public_test_cases/p01752/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b16de568a347b1d9f0d420e89633f83ab7d7e80
--- /dev/null
+++ b/public_test_cases/p01752/input.4.txt
@@ -0,0 +1,4 @@
+3 3
+G##
+.#.
+.>.
diff --git a/public_test_cases/p01752/input.5.txt b/public_test_cases/p01752/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3060e610319bd58f1b8e8a5483ddd3c8011e4e5c
--- /dev/null
+++ b/public_test_cases/p01752/input.5.txt
@@ -0,0 +1,4 @@
+3 3
+G##
+.#.
+.<.
diff --git a/public_test_cases/p01752/output.0.txt b/public_test_cases/p01752/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01752/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01752/output.1.txt b/public_test_cases/p01752/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01752/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01752/output.2.txt b/public_test_cases/p01752/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01752/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01752/output.3.txt b/public_test_cases/p01752/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01752/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01752/output.4.txt b/public_test_cases/p01752/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01752/output.4.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01752/output.5.txt b/public_test_cases/p01752/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01752/output.5.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01753/input.0.txt b/public_test_cases/p01753/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58a69a81806bafdf4240a25256a66859d713284d
--- /dev/null
+++ b/public_test_cases/p01753/input.0.txt
@@ -0,0 +1,7 @@
+5 1
+0 10 0 5 2
+0 20 0 5 12
+0 30 0 5 22
+0 40 0 5 32
+0 50 0 5 42
+0 0 0 0 60 0
diff --git a/public_test_cases/p01753/input.1.txt b/public_test_cases/p01753/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7bc23b4b06e3553ae59d8f42966907b4cdd2c68
--- /dev/null
+++ b/public_test_cases/p01753/input.1.txt
@@ -0,0 +1,11 @@
+5 5
+-38 -71 -293 75 1
+-158 -38 -405 66 1
+-236 -303 157 266 1
+316 26 411 190 1
+207 -312 -27 196 1
+-50 292 -375 -401 389 -389
+460 278 409 -329 -303 411
+215 -220 -200 309 -474 300
+261 -494 -87 -300 123 -463
+386 378 486 -443 -64 299
diff --git a/public_test_cases/p01753/input.2.txt b/public_test_cases/p01753/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58a69a81806bafdf4240a25256a66859d713284d
--- /dev/null
+++ b/public_test_cases/p01753/input.2.txt
@@ -0,0 +1,7 @@
+5 1
+0 10 0 5 2
+0 20 0 5 12
+0 30 0 5 22
+0 40 0 5 32
+0 50 0 5 42
+0 0 0 0 60 0
diff --git a/public_test_cases/p01753/input.3.txt b/public_test_cases/p01753/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff8b600f8cd91d141840e3a7d1fabbe46361a72f
--- /dev/null
+++ b/public_test_cases/p01753/input.3.txt
@@ -0,0 +1,3 @@
+1 1
+10 5 0 5 9
+0 0 0 9 12 0
diff --git a/public_test_cases/p01753/output.0.txt b/public_test_cases/p01753/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p01753/output.0.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p01753/output.1.txt b/public_test_cases/p01753/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06b6286976ba88e23d6caf7377b0d62ebbad7529
--- /dev/null
+++ b/public_test_cases/p01753/output.1.txt
@@ -0,0 +1,5 @@
+0
+2
+1
+3
+0
diff --git a/public_test_cases/p01753/output.2.txt b/public_test_cases/p01753/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p01753/output.2.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p01753/output.3.txt b/public_test_cases/p01753/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01753/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01754/input.0.txt b/public_test_cases/p01754/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f77a2e4600888c347e2c396fbd4fcc960e862385
--- /dev/null
+++ b/public_test_cases/p01754/input.0.txt
@@ -0,0 +1,2 @@
+1 1 1
+2
diff --git a/public_test_cases/p01754/input.1.txt b/public_test_cases/p01754/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f77a2e4600888c347e2c396fbd4fcc960e862385
--- /dev/null
+++ b/public_test_cases/p01754/input.1.txt
@@ -0,0 +1,2 @@
+1 1 1
+2
diff --git a/public_test_cases/p01754/input.2.txt b/public_test_cases/p01754/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3697e515fa4da391591c8246fd41a46aa34e4b91
--- /dev/null
+++ b/public_test_cases/p01754/input.2.txt
@@ -0,0 +1,4 @@
+3 2 1
+3
+3
+3
diff --git a/public_test_cases/p01754/input.3.txt b/public_test_cases/p01754/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9edd8cd888aebe27aa813523140a5ae5f73e657c
--- /dev/null
+++ b/public_test_cases/p01754/input.3.txt
@@ -0,0 +1,4 @@
+3 1 -1
+2
+-3
+2
diff --git a/public_test_cases/p01754/input.4.txt b/public_test_cases/p01754/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e33a58dc5373b7d446960823f92d30564a8d106d
--- /dev/null
+++ b/public_test_cases/p01754/input.4.txt
@@ -0,0 +1,4 @@
+3 1 -10
+-10
+-10
+-10
diff --git a/public_test_cases/p01754/output.0.txt b/public_test_cases/p01754/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01754/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01754/output.1.txt b/public_test_cases/p01754/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01754/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01754/output.2.txt b/public_test_cases/p01754/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p01754/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p01754/output.3.txt b/public_test_cases/p01754/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01754/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01754/output.4.txt b/public_test_cases/p01754/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9980536f09e7492111ec070bf08caf6bab748db
--- /dev/null
+++ b/public_test_cases/p01754/output.4.txt
@@ -0,0 +1 @@
+-27
diff --git a/public_test_cases/p01755/input.0.txt b/public_test_cases/p01755/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11b2bf1d892b953d69b9be703438a3386c988ec0
--- /dev/null
+++ b/public_test_cases/p01755/input.0.txt
@@ -0,0 +1,7 @@
+5 3
+###
+#g#
+#.#
+#s#
+###
+^<^}
diff --git a/public_test_cases/p01755/input.2.txt b/public_test_cases/p01755/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11b2bf1d892b953d69b9be703438a3386c988ec0
--- /dev/null
+++ b/public_test_cases/p01755/input.2.txt
@@ -0,0 +1,7 @@
+5 3
+###
+#g#
+#.#
+#s#
+###
+^<^
+2 0
diff --git a/public_test_cases/p01820/input.1.txt b/public_test_cases/p01820/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..997ebf2a1406a406dd38b423e5356146cac40370
--- /dev/null
+++ b/public_test_cases/p01820/input.1.txt
@@ -0,0 +1,4 @@
+9
+0 0 v
+1 0 >
+2 0
diff --git a/public_test_cases/p01820/output.0.txt b/public_test_cases/p01820/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01820/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01820/output.1.txt b/public_test_cases/p01820/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01820/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01821/input.0.txt b/public_test_cases/p01821/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01821/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01821/input.1.txt b/public_test_cases/p01821/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01821/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01821/output.0.txt b/public_test_cases/p01821/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01821/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01821/output.1.txt b/public_test_cases/p01821/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01821/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01822/input.0.txt b/public_test_cases/p01822/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ca4b432e2913a81c9f25c5a03cec18eb78dce69
--- /dev/null
+++ b/public_test_cases/p01822/input.0.txt
@@ -0,0 +1,13 @@
+4 5 3
+-10 -10
+10 -10
+10 10
+-10 10
+1 2
+1 3
+1 4
+2 3
+3 4
+-20 0
+1 0
+20 0
diff --git a/public_test_cases/p01822/input.1.txt b/public_test_cases/p01822/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ca4b432e2913a81c9f25c5a03cec18eb78dce69
--- /dev/null
+++ b/public_test_cases/p01822/input.1.txt
@@ -0,0 +1,13 @@
+4 5 3
+-10 -10
+10 -10
+10 10
+-10 10
+1 2
+1 3
+1 4
+2 3
+3 4
+-20 0
+1 0
+20 0
diff --git a/public_test_cases/p01822/output.0.txt b/public_test_cases/p01822/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37b1e008ebc0ae964f7ec6e6bfbbb05fa1b7598e
--- /dev/null
+++ b/public_test_cases/p01822/output.0.txt
@@ -0,0 +1,3 @@
+No
+Yes
+No
diff --git a/public_test_cases/p01822/output.1.txt b/public_test_cases/p01822/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37b1e008ebc0ae964f7ec6e6bfbbb05fa1b7598e
--- /dev/null
+++ b/public_test_cases/p01822/output.1.txt
@@ -0,0 +1,3 @@
+No
+Yes
+No
diff --git a/public_test_cases/p01823/input.0.txt b/public_test_cases/p01823/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a76e6b37bb5f48a9bc78e70a61298aa3e451565a
--- /dev/null
+++ b/public_test_cases/p01823/input.0.txt
@@ -0,0 +1,4 @@
+3 3 4
+1 2 1 1
+2 3 2 4
+3 1 1 1
diff --git a/public_test_cases/p01823/input.1.txt b/public_test_cases/p01823/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a76e6b37bb5f48a9bc78e70a61298aa3e451565a
--- /dev/null
+++ b/public_test_cases/p01823/input.1.txt
@@ -0,0 +1,4 @@
+3 3 4
+1 2 1 1
+2 3 2 4
+3 1 1 1
diff --git a/public_test_cases/p01823/output.0.txt b/public_test_cases/p01823/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01823/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01823/output.1.txt b/public_test_cases/p01823/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01823/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01824/input.0.txt b/public_test_cases/p01824/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a414350c0341ac69c54def720f935de528bb889
--- /dev/null
+++ b/public_test_cases/p01824/input.0.txt
@@ -0,0 +1,2 @@
+2 2 2 1
+0 0 0
diff --git a/public_test_cases/p01824/input.1.txt b/public_test_cases/p01824/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a414350c0341ac69c54def720f935de528bb889
--- /dev/null
+++ b/public_test_cases/p01824/input.1.txt
@@ -0,0 +1,2 @@
+2 2 2 1
+0 0 0
diff --git a/public_test_cases/p01824/output.0.txt b/public_test_cases/p01824/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p01824/output.0.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p01824/output.1.txt b/public_test_cases/p01824/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p01824/output.1.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p01825/input.0.txt b/public_test_cases/p01825/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c116c87354273ed4ecbffd0db764e33308e33854
--- /dev/null
+++ b/public_test_cases/p01825/input.0.txt
@@ -0,0 +1,5 @@
+3
+0 1
+0 0 0 1
+0 1 0 2
+0 2 0 3
diff --git a/public_test_cases/p01825/input.1.txt b/public_test_cases/p01825/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c116c87354273ed4ecbffd0db764e33308e33854
--- /dev/null
+++ b/public_test_cases/p01825/input.1.txt
@@ -0,0 +1,5 @@
+3
+0 1
+0 0 0 1
+0 1 0 2
+0 2 0 3
diff --git a/public_test_cases/p01825/output.0.txt b/public_test_cases/p01825/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bae0eaa83000993d9bc4b524052ef87d19b2ba1
--- /dev/null
+++ b/public_test_cases/p01825/output.0.txt
@@ -0,0 +1 @@
+6.0000000000000000
diff --git a/public_test_cases/p01825/output.1.txt b/public_test_cases/p01825/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bae0eaa83000993d9bc4b524052ef87d19b2ba1
--- /dev/null
+++ b/public_test_cases/p01825/output.1.txt
@@ -0,0 +1 @@
+6.0000000000000000
diff --git a/public_test_cases/p01826/input.0.txt b/public_test_cases/p01826/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..488c08afb292d9c40600b15d81abd7d0f1b826f9
--- /dev/null
+++ b/public_test_cases/p01826/input.0.txt
@@ -0,0 +1,3 @@
+2 10
+10 200 1
+10 100 100
diff --git a/public_test_cases/p01826/input.1.txt b/public_test_cases/p01826/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..488c08afb292d9c40600b15d81abd7d0f1b826f9
--- /dev/null
+++ b/public_test_cases/p01826/input.1.txt
@@ -0,0 +1,3 @@
+2 10
+10 200 1
+10 100 100
diff --git a/public_test_cases/p01826/output.0.txt b/public_test_cases/p01826/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08839f6bb296e888d311d8ea2f35f7ff82dd3f2d
--- /dev/null
+++ b/public_test_cases/p01826/output.0.txt
@@ -0,0 +1 @@
+200
diff --git a/public_test_cases/p01826/output.1.txt b/public_test_cases/p01826/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08839f6bb296e888d311d8ea2f35f7ff82dd3f2d
--- /dev/null
+++ b/public_test_cases/p01826/output.1.txt
@@ -0,0 +1 @@
+200
diff --git a/public_test_cases/p01827/input.0.txt b/public_test_cases/p01827/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06917fc9a4452b9d0565fac3e842e6a34b5273ed
--- /dev/null
+++ b/public_test_cases/p01827/input.0.txt
@@ -0,0 +1,5 @@
+3
+1 3 3
+2
+1 2
+1 3
diff --git a/public_test_cases/p01827/input.1.txt b/public_test_cases/p01827/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06917fc9a4452b9d0565fac3e842e6a34b5273ed
--- /dev/null
+++ b/public_test_cases/p01827/input.1.txt
@@ -0,0 +1,5 @@
+3
+1 3 3
+2
+1 2
+1 3
diff --git a/public_test_cases/p01827/output.0.txt b/public_test_cases/p01827/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01827/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01827/output.1.txt b/public_test_cases/p01827/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01827/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01828/input.0.txt b/public_test_cases/p01828/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dca3455a8345a97b32ae3de07bf6de302af67d72
--- /dev/null
+++ b/public_test_cases/p01828/input.0.txt
@@ -0,0 +1,2 @@
+acmicpc
+tsukuba
diff --git a/public_test_cases/p01828/input.1.txt b/public_test_cases/p01828/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dca3455a8345a97b32ae3de07bf6de302af67d72
--- /dev/null
+++ b/public_test_cases/p01828/input.1.txt
@@ -0,0 +1,2 @@
+acmicpc
+tsukuba
diff --git a/public_test_cases/p01828/output.0.txt b/public_test_cases/p01828/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01828/output.0.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01828/output.1.txt b/public_test_cases/p01828/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01828/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01829/input.0.txt b/public_test_cases/p01829/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bc92d44ac9d8a185fa33dec183c593d71d79372
--- /dev/null
+++ b/public_test_cases/p01829/input.0.txt
@@ -0,0 +1 @@
+201
diff --git a/public_test_cases/p01829/input.1.txt b/public_test_cases/p01829/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bc92d44ac9d8a185fa33dec183c593d71d79372
--- /dev/null
+++ b/public_test_cases/p01829/input.1.txt
@@ -0,0 +1 @@
+201
diff --git a/public_test_cases/p01829/output.0.txt b/public_test_cases/p01829/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca18985532409a1a1f467d517a59227c2dbbe14d
--- /dev/null
+++ b/public_test_cases/p01829/output.0.txt
@@ -0,0 +1 @@
+701
diff --git a/public_test_cases/p01829/output.1.txt b/public_test_cases/p01829/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca18985532409a1a1f467d517a59227c2dbbe14d
--- /dev/null
+++ b/public_test_cases/p01829/output.1.txt
@@ -0,0 +1 @@
+701
diff --git a/public_test_cases/p01830/input.0.txt b/public_test_cases/p01830/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec3e12fa03f83d14e7519de9cd494dad36345377
--- /dev/null
+++ b/public_test_cases/p01830/input.0.txt
@@ -0,0 +1,4 @@
+3
+y 7
+y 6
+n 5
diff --git a/public_test_cases/p01830/input.1.txt b/public_test_cases/p01830/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec3e12fa03f83d14e7519de9cd494dad36345377
--- /dev/null
+++ b/public_test_cases/p01830/input.1.txt
@@ -0,0 +1,4 @@
+3
+y 7
+y 6
+n 5
diff --git a/public_test_cases/p01830/output.0.txt b/public_test_cases/p01830/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01830/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01830/output.1.txt b/public_test_cases/p01830/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01830/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01831/input.0.txt b/public_test_cases/p01831/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c2f4756e50988f4ff630997da28b42bdb1177ae
--- /dev/null
+++ b/public_test_cases/p01831/input.0.txt
@@ -0,0 +1,2 @@
+7
+>>
diff --git a/public_test_cases/p01831/input.1.txt b/public_test_cases/p01831/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c2f4756e50988f4ff630997da28b42bdb1177ae
--- /dev/null
+++ b/public_test_cases/p01831/input.1.txt
@@ -0,0 +1,2 @@
+7
+>>
diff --git a/public_test_cases/p01831/output.0.txt b/public_test_cases/p01831/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01831/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01831/output.1.txt b/public_test_cases/p01831/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01831/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01832/input.0.txt b/public_test_cases/p01832/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff469a899576ef8e98b08e470e5e6cc432a0516f
--- /dev/null
+++ b/public_test_cases/p01832/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+R1
diff --git a/public_test_cases/p01832/input.1.txt b/public_test_cases/p01832/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff469a899576ef8e98b08e470e5e6cc432a0516f
--- /dev/null
+++ b/public_test_cases/p01832/input.1.txt
@@ -0,0 +1,2 @@
+3 2
+R1
diff --git a/public_test_cases/p01832/output.0.txt b/public_test_cases/p01832/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccb8f8a66ce17101fadd3ab5289e0dd9667f26d5
--- /dev/null
+++ b/public_test_cases/p01832/output.0.txt
@@ -0,0 +1,3 @@
+3 1 2
+4 5 6
+7 8 9
diff --git a/public_test_cases/p01832/output.1.txt b/public_test_cases/p01832/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccb8f8a66ce17101fadd3ab5289e0dd9667f26d5
--- /dev/null
+++ b/public_test_cases/p01832/output.1.txt
@@ -0,0 +1,3 @@
+3 1 2
+4 5 6
+7 8 9
diff --git a/public_test_cases/p01833/input.0.txt b/public_test_cases/p01833/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b442668b1a9533f88489e941fc203a2d35ba8a1
--- /dev/null
+++ b/public_test_cases/p01833/input.0.txt
@@ -0,0 +1,8 @@
+4 2 1 1
+1 2
+3
+4
+3
+1 2
+2 4
+3 4
diff --git a/public_test_cases/p01833/input.1.txt b/public_test_cases/p01833/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b442668b1a9533f88489e941fc203a2d35ba8a1
--- /dev/null
+++ b/public_test_cases/p01833/input.1.txt
@@ -0,0 +1,8 @@
+4 2 1 1
+1 2
+3
+4
+3
+1 2
+2 4
+3 4
diff --git a/public_test_cases/p01833/output.0.txt b/public_test_cases/p01833/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p01833/output.0.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p01833/output.1.txt b/public_test_cases/p01833/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p01833/output.1.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p01834/input.0.txt b/public_test_cases/p01834/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e59f2ff9c5e1ca3c8fafe6d9304e8adefe48fe80
--- /dev/null
+++ b/public_test_cases/p01834/input.0.txt
@@ -0,0 +1,5 @@
+2 2 2 4
+0 0 0
+1 1 0
+1 0 1
+0 1 1
diff --git a/public_test_cases/p01834/input.1.txt b/public_test_cases/p01834/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e59f2ff9c5e1ca3c8fafe6d9304e8adefe48fe80
--- /dev/null
+++ b/public_test_cases/p01834/input.1.txt
@@ -0,0 +1,5 @@
+2 2 2 4
+0 0 0
+1 1 0
+1 0 1
+0 1 1
diff --git a/public_test_cases/p01834/output.0.txt b/public_test_cases/p01834/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01834/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01834/output.1.txt b/public_test_cases/p01834/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01834/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01835/input.0.txt b/public_test_cases/p01835/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f922d3f60854f319425a91f28e7f118a557824f
--- /dev/null
+++ b/public_test_cases/p01835/input.0.txt
@@ -0,0 +1,5 @@
+3 2
+3
+1 2 1
+2 3 2
+3 3 1
diff --git a/public_test_cases/p01835/input.1.txt b/public_test_cases/p01835/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f922d3f60854f319425a91f28e7f118a557824f
--- /dev/null
+++ b/public_test_cases/p01835/input.1.txt
@@ -0,0 +1,5 @@
+3 2
+3
+1 2 1
+2 3 2
+3 3 1
diff --git a/public_test_cases/p01835/output.0.txt b/public_test_cases/p01835/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01835/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01835/output.1.txt b/public_test_cases/p01835/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01835/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01836/input.0.txt b/public_test_cases/p01836/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b326ad5bb3f2412cbd770df25d7658dc2cfc591
--- /dev/null
+++ b/public_test_cases/p01836/input.0.txt
@@ -0,0 +1,9 @@
+200 500 800 500
+3
+400 0
+450 500
+400 1000
+3
+600 0
+550 500
+600 1000
diff --git a/public_test_cases/p01836/input.1.txt b/public_test_cases/p01836/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b326ad5bb3f2412cbd770df25d7658dc2cfc591
--- /dev/null
+++ b/public_test_cases/p01836/input.1.txt
@@ -0,0 +1,9 @@
+200 500 800 500
+3
+400 0
+450 500
+400 1000
+3
+600 0
+550 500
+600 1000
diff --git a/public_test_cases/p01836/output.0.txt b/public_test_cases/p01836/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3bf898992d03cb33689f252071a959c240019e4
--- /dev/null
+++ b/public_test_cases/p01836/output.0.txt
@@ -0,0 +1 @@
+100 600
diff --git a/public_test_cases/p01836/output.1.txt b/public_test_cases/p01836/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3bf898992d03cb33689f252071a959c240019e4
--- /dev/null
+++ b/public_test_cases/p01836/output.1.txt
@@ -0,0 +1 @@
+100 600
diff --git a/public_test_cases/p01837/input.0.txt b/public_test_cases/p01837/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76dce9f24f80659fc2377e4eb87ff11fc62f377a
--- /dev/null
+++ b/public_test_cases/p01837/input.0.txt
@@ -0,0 +1,3 @@
+3 2 3 1 3
+1 2 2 1
+2 3 1 2
diff --git a/public_test_cases/p01837/input.1.txt b/public_test_cases/p01837/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76dce9f24f80659fc2377e4eb87ff11fc62f377a
--- /dev/null
+++ b/public_test_cases/p01837/input.1.txt
@@ -0,0 +1,3 @@
+3 2 3 1 3
+1 2 2 1
+2 3 1 2
diff --git a/public_test_cases/p01837/output.0.txt b/public_test_cases/p01837/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..885acc7558a5ea32a930a399cf8717f87be0b5d7
--- /dev/null
+++ b/public_test_cases/p01837/output.0.txt
@@ -0,0 +1 @@
+6.0000000
diff --git a/public_test_cases/p01837/output.1.txt b/public_test_cases/p01837/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..885acc7558a5ea32a930a399cf8717f87be0b5d7
--- /dev/null
+++ b/public_test_cases/p01837/output.1.txt
@@ -0,0 +1 @@
+6.0000000
diff --git a/public_test_cases/p01838/input.0.txt b/public_test_cases/p01838/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8931bc97fba983a5f7ce713117830ce061cb8c56
--- /dev/null
+++ b/public_test_cases/p01838/input.0.txt
@@ -0,0 +1,2 @@
+4 3
+1 3 4 7
diff --git a/public_test_cases/p01838/input.1.txt b/public_test_cases/p01838/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8931bc97fba983a5f7ce713117830ce061cb8c56
--- /dev/null
+++ b/public_test_cases/p01838/input.1.txt
@@ -0,0 +1,2 @@
+4 3
+1 3 4 7
diff --git a/public_test_cases/p01838/output.0.txt b/public_test_cases/p01838/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01838/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01838/output.1.txt b/public_test_cases/p01838/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01838/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01839/input.0.txt b/public_test_cases/p01839/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..310b4e77df2b7c149f1f4a58ef57f5b848511738
--- /dev/null
+++ b/public_test_cases/p01839/input.0.txt
@@ -0,0 +1,5 @@
+4
+A
+Un
+A
+Un
diff --git a/public_test_cases/p01839/input.1.txt b/public_test_cases/p01839/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..310b4e77df2b7c149f1f4a58ef57f5b848511738
--- /dev/null
+++ b/public_test_cases/p01839/input.1.txt
@@ -0,0 +1,5 @@
+4
+A
+Un
+A
+Un
diff --git a/public_test_cases/p01839/output.0.txt b/public_test_cases/p01839/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01839/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01839/output.1.txt b/public_test_cases/p01839/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01839/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01840/input.0.txt b/public_test_cases/p01840/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dc7254d2d0ddfe05182db9f9a69473a8d7e73c3
--- /dev/null
+++ b/public_test_cases/p01840/input.0.txt
@@ -0,0 +1,2 @@
+1 1 5
+3
diff --git a/public_test_cases/p01840/input.1.txt b/public_test_cases/p01840/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dc7254d2d0ddfe05182db9f9a69473a8d7e73c3
--- /dev/null
+++ b/public_test_cases/p01840/input.1.txt
@@ -0,0 +1,2 @@
+1 1 5
+3
diff --git a/public_test_cases/p01840/output.0.txt b/public_test_cases/p01840/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01840/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01840/output.1.txt b/public_test_cases/p01840/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01840/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01841/input.0.txt b/public_test_cases/p01841/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09a29e25c1193bcb8c35de82c8237cf743875144
--- /dev/null
+++ b/public_test_cases/p01841/input.0.txt
@@ -0,0 +1,2 @@
+((()[8]())[2]())[5](((()[2]())[6](()[3]()))[1]())
+(()[4]())[3](((()[2]())[1]())[8](()[3]()))
diff --git a/public_test_cases/p01841/input.1.txt b/public_test_cases/p01841/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09a29e25c1193bcb8c35de82c8237cf743875144
--- /dev/null
+++ b/public_test_cases/p01841/input.1.txt
@@ -0,0 +1,2 @@
+((()[8]())[2]())[5](((()[2]())[6](()[3]()))[1]())
+(()[4]())[3](((()[2]())[1]())[8](()[3]()))
diff --git a/public_test_cases/p01841/output.0.txt b/public_test_cases/p01841/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaeb34985e30acf0c9266ed2941e5f04b4ea5530
--- /dev/null
+++ b/public_test_cases/p01841/output.0.txt
@@ -0,0 +1 @@
+(()[6]())[8](((()[4]())[7]())[9]())
diff --git a/public_test_cases/p01841/output.1.txt b/public_test_cases/p01841/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaeb34985e30acf0c9266ed2941e5f04b4ea5530
--- /dev/null
+++ b/public_test_cases/p01841/output.1.txt
@@ -0,0 +1 @@
+(()[6]())[8](((()[4]())[7]())[9]())
diff --git a/public_test_cases/p01842/input.0.txt b/public_test_cases/p01842/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8620af15ce3e795467e6e3416876f660de1e367
--- /dev/null
+++ b/public_test_cases/p01842/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+100 -1
+200 300
diff --git a/public_test_cases/p01842/input.1.txt b/public_test_cases/p01842/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8620af15ce3e795467e6e3416876f660de1e367
--- /dev/null
+++ b/public_test_cases/p01842/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+100 -1
+200 300
diff --git a/public_test_cases/p01842/output.0.txt b/public_test_cases/p01842/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e96acb9254becae7d57c63a77897b49f2688c9e1
--- /dev/null
+++ b/public_test_cases/p01842/output.0.txt
@@ -0,0 +1 @@
+-100
diff --git a/public_test_cases/p01842/output.1.txt b/public_test_cases/p01842/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e96acb9254becae7d57c63a77897b49f2688c9e1
--- /dev/null
+++ b/public_test_cases/p01842/output.1.txt
@@ -0,0 +1 @@
+-100
diff --git a/public_test_cases/p01843/input.0.txt b/public_test_cases/p01843/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78faa381aa916f9205714ceaf8094e20adee107b
--- /dev/null
+++ b/public_test_cases/p01843/input.0.txt
@@ -0,0 +1,8 @@
+1 2
+4
+5 5
+15 5
+15 15
+5 15
+0 10
+20 10
diff --git a/public_test_cases/p01843/input.1.txt b/public_test_cases/p01843/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78faa381aa916f9205714ceaf8094e20adee107b
--- /dev/null
+++ b/public_test_cases/p01843/input.1.txt
@@ -0,0 +1,8 @@
+1 2
+4
+5 5
+15 5
+15 15
+5 15
+0 10
+20 10
diff --git a/public_test_cases/p01843/output.0.txt b/public_test_cases/p01843/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01843/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01843/output.1.txt b/public_test_cases/p01843/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01843/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01844/input.0.txt b/public_test_cases/p01844/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d01aee26cf3fc82888f52d2dca4c3e45ca1bfd65
--- /dev/null
+++ b/public_test_cases/p01844/input.0.txt
@@ -0,0 +1,4 @@
+3 3 2
+1 2 2
+3 1 0
+0 4 3
diff --git a/public_test_cases/p01844/input.1.txt b/public_test_cases/p01844/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d01aee26cf3fc82888f52d2dca4c3e45ca1bfd65
--- /dev/null
+++ b/public_test_cases/p01844/input.1.txt
@@ -0,0 +1,4 @@
+3 3 2
+1 2 2
+3 1 0
+0 4 3
diff --git a/public_test_cases/p01844/output.0.txt b/public_test_cases/p01844/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01844/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01844/output.1.txt b/public_test_cases/p01844/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01844/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01845/input.0.txt b/public_test_cases/p01845/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d1883618e327b1b0f4e2688e927176dff48a719
--- /dev/null
+++ b/public_test_cases/p01845/input.0.txt
@@ -0,0 +1,7 @@
+10 5 3 4
+2 5 2 3
+91 13 7 62
+10 1 3 5
+20 100 2 20
+2 14 7 1
+0 0 0 0
diff --git a/public_test_cases/p01845/input.1.txt b/public_test_cases/p01845/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d1883618e327b1b0f4e2688e927176dff48a719
--- /dev/null
+++ b/public_test_cases/p01845/input.1.txt
@@ -0,0 +1,7 @@
+10 5 3 4
+2 5 2 3
+91 13 7 62
+10 1 3 5
+20 100 2 20
+2 14 7 1
+0 0 0 0
diff --git a/public_test_cases/p01845/output.0.txt b/public_test_cases/p01845/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff6069a7f8207289d74996db4ff899001922ebab
--- /dev/null
+++ b/public_test_cases/p01845/output.0.txt
@@ -0,0 +1,6 @@
+2
+3
+0
+0
+9
+96
diff --git a/public_test_cases/p01845/output.1.txt b/public_test_cases/p01845/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff6069a7f8207289d74996db4ff899001922ebab
--- /dev/null
+++ b/public_test_cases/p01845/output.1.txt
@@ -0,0 +1,6 @@
+2
+3
+0
+0
+9
+96
diff --git a/public_test_cases/p01846/input.0.txt b/public_test_cases/p01846/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2812daa7379f65ab89d0e73b694d978baa2c6fc0
--- /dev/null
+++ b/public_test_cases/p01846/input.0.txt
@@ -0,0 +1,7 @@
+b1/1b
+1 1 1 2
+b5/bbbbbb
+2 4 1 4
+b2b2b/7
+1 4 2 4
+#
diff --git a/public_test_cases/p01846/input.1.txt b/public_test_cases/p01846/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2812daa7379f65ab89d0e73b694d978baa2c6fc0
--- /dev/null
+++ b/public_test_cases/p01846/input.1.txt
@@ -0,0 +1,7 @@
+b1/1b
+1 1 1 2
+b5/bbbbbb
+2 4 1 4
+b2b2b/7
+1 4 2 4
+#
diff --git a/public_test_cases/p01846/output.0.txt b/public_test_cases/p01846/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb9135134bc054b657469919800e01db7fc9d749
--- /dev/null
+++ b/public_test_cases/p01846/output.0.txt
@@ -0,0 +1,3 @@
+1b/1b
+b2b2/bbb1bb
+b5b/3b3
diff --git a/public_test_cases/p01846/output.1.txt b/public_test_cases/p01846/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb9135134bc054b657469919800e01db7fc9d749
--- /dev/null
+++ b/public_test_cases/p01846/output.1.txt
@@ -0,0 +1,3 @@
+1b/1b
+b2b2/bbb1bb
+b5b/3b3
diff --git a/public_test_cases/p01847/input.0.txt b/public_test_cases/p01847/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e565b4ef15aa4b9429ef2567577df4300723ef3c
--- /dev/null
+++ b/public_test_cases/p01847/input.0.txt
@@ -0,0 +1,65 @@
+4
+0 0
+10 0
+10 10
+0 10
+0 0
+5 0
+5 10
+0 10
+6
+0 0
+10 0
+10 5
+5 5
+5 10
+0 10
+2 0
+8 0
+8 10
+2 10
+12
+1 1
+1 3
+-1 3
+-1 1
+-3 1
+-3 -1
+-1 -1
+-1 -3
+1 -3
+1 -1
+3 -1
+3 1
+2 2
+-2 2
+-2 -2
+2 -2
+4
+20000 20000
+-20000 20000
+-20000 -20000
+20000 -20000
+1000 1000
+-1000 1000
+-1000 -1000
+1000 -1000
+4
+1000 1000
+-1000 1000
+-1000 -1000
+1000 -1000
+20000 20000
+-20000 20000
+-20000 -20000
+20000 -20000
+4
+0 0
+10 0
+10 10
+0 10
+20 0
+30 0
+30 10
+20 10
+0
diff --git a/public_test_cases/p01847/input.1.txt b/public_test_cases/p01847/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e565b4ef15aa4b9429ef2567577df4300723ef3c
--- /dev/null
+++ b/public_test_cases/p01847/input.1.txt
@@ -0,0 +1,65 @@
+4
+0 0
+10 0
+10 10
+0 10
+0 0
+5 0
+5 10
+0 10
+6
+0 0
+10 0
+10 5
+5 5
+5 10
+0 10
+2 0
+8 0
+8 10
+2 10
+12
+1 1
+1 3
+-1 3
+-1 1
+-3 1
+-3 -1
+-1 -1
+-1 -3
+1 -3
+1 -1
+3 -1
+3 1
+2 2
+-2 2
+-2 -2
+2 -2
+4
+20000 20000
+-20000 20000
+-20000 -20000
+20000 -20000
+1000 1000
+-1000 1000
+-1000 -1000
+1000 -1000
+4
+1000 1000
+-1000 1000
+-1000 -1000
+1000 -1000
+20000 20000
+-20000 20000
+-20000 -20000
+20000 -20000
+4
+0 0
+10 0
+10 10
+0 10
+20 0
+30 0
+30 10
+20 10
+0
diff --git a/public_test_cases/p01847/output.0.txt b/public_test_cases/p01847/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a4f23fe9fc8e8c3c523480ed08c6bb9712d3d6a
--- /dev/null
+++ b/public_test_cases/p01847/output.0.txt
@@ -0,0 +1,6 @@
+50
+30
+8
+1596000000
+0
+100
diff --git a/public_test_cases/p01847/output.1.txt b/public_test_cases/p01847/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a4f23fe9fc8e8c3c523480ed08c6bb9712d3d6a
--- /dev/null
+++ b/public_test_cases/p01847/output.1.txt
@@ -0,0 +1,6 @@
+50
+30
+8
+1596000000
+0
+100
diff --git a/public_test_cases/p01848/input.0.txt b/public_test_cases/p01848/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a46ee07c1edf08b69fa754c10722d629e3bbac2
--- /dev/null
+++ b/public_test_cases/p01848/input.0.txt
@@ -0,0 +1,36 @@
+2
+0.60 1 2
+0.60 0
+2
+0.60 1 2
+0.60 1 1
+5
+0.10 1 2
+0.20 1 3
+0.30 1 4
+0.40 1 5
+0.50 1 1
+5
+0.10 0
+0.20 1 1
+0.30 1 1
+0.40 1 1
+0.50 1 1
+5
+0.10 4 2 3 4 5
+0.20 0
+0.30 0
+0.40 0
+0.50 0
+4
+0.10 1 2
+0.20 0
+0.30 1 4
+0.40 1 3
+5
+0.10 0
+0.20 0
+0.30 0
+0.40 0
+0.50 0
+0
diff --git a/public_test_cases/p01848/input.1.txt b/public_test_cases/p01848/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a46ee07c1edf08b69fa754c10722d629e3bbac2
--- /dev/null
+++ b/public_test_cases/p01848/input.1.txt
@@ -0,0 +1,36 @@
+2
+0.60 1 2
+0.60 0
+2
+0.60 1 2
+0.60 1 1
+5
+0.10 1 2
+0.20 1 3
+0.30 1 4
+0.40 1 5
+0.50 1 1
+5
+0.10 0
+0.20 1 1
+0.30 1 1
+0.40 1 1
+0.50 1 1
+5
+0.10 4 2 3 4 5
+0.20 0
+0.30 0
+0.40 0
+0.50 0
+4
+0.10 1 2
+0.20 0
+0.30 1 4
+0.40 1 3
+5
+0.10 0
+0.20 0
+0.30 0
+0.40 0
+0.50 0
+0
diff --git a/public_test_cases/p01848/output.0.txt b/public_test_cases/p01848/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a31521cb913f5192f6d0312d2f48576ed940383
--- /dev/null
+++ b/public_test_cases/p01848/output.0.txt
@@ -0,0 +1,7 @@
+0.400000000
+0.640000000
+0.998800000
+0.168000000
+0.900000000
+0.792000000
+0.151200000
diff --git a/public_test_cases/p01848/output.1.txt b/public_test_cases/p01848/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a31521cb913f5192f6d0312d2f48576ed940383
--- /dev/null
+++ b/public_test_cases/p01848/output.1.txt
@@ -0,0 +1,7 @@
+0.400000000
+0.640000000
+0.998800000
+0.168000000
+0.900000000
+0.792000000
+0.151200000
diff --git a/public_test_cases/p01849/input.0.txt b/public_test_cases/p01849/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb7974d1d7dfdacd355029e6d8add8471565b3e0
--- /dev/null
+++ b/public_test_cases/p01849/input.0.txt
@@ -0,0 +1,22 @@
+1 1
+5
+6
+1 1
+5
+2
+1 1
+20
+5
+4 1
+2 4 5 9
+8
+4 3
+3 5 2 1
+10 4 7
+5 5
+2 2 2 2 2
+1 3 5 7 9
+2 5
+2 5
+2 5 2 5 2
+0 0
diff --git a/public_test_cases/p01849/input.1.txt b/public_test_cases/p01849/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb7974d1d7dfdacd355029e6d8add8471565b3e0
--- /dev/null
+++ b/public_test_cases/p01849/input.1.txt
@@ -0,0 +1,22 @@
+1 1
+5
+6
+1 1
+5
+2
+1 1
+20
+5
+4 1
+2 4 5 9
+8
+4 3
+3 5 2 1
+10 4 7
+5 5
+2 2 2 2 2
+1 3 5 7 9
+2 5
+2 5
+2 5 2 5 2
+0 0
diff --git a/public_test_cases/p01849/output.0.txt b/public_test_cases/p01849/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb27b55d94fe888820d201d6e7268bb850e086f4
--- /dev/null
+++ b/public_test_cases/p01849/output.0.txt
@@ -0,0 +1,7 @@
+1
+2
+5
+1
+1
+5
+4
diff --git a/public_test_cases/p01849/output.1.txt b/public_test_cases/p01849/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb27b55d94fe888820d201d6e7268bb850e086f4
--- /dev/null
+++ b/public_test_cases/p01849/output.1.txt
@@ -0,0 +1,7 @@
+1
+2
+5
+1
+1
+5
+4
diff --git a/public_test_cases/p01850/input.0.txt b/public_test_cases/p01850/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af2be93da95f4a3037586a56c4d28fe2b7c7ab9e
--- /dev/null
+++ b/public_test_cases/p01850/input.0.txt
@@ -0,0 +1,19 @@
+3
+icpc
+icfp
+topcoder
+4
+apple
+application
+appointment
+acmicpc
+3
+a
+aa
+aaa
+4
+a
+aza
+azb
+b
+0
diff --git a/public_test_cases/p01850/output.0.txt b/public_test_cases/p01850/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5610c24582a5430bf412c8a73c2005fcc1f6e2d
--- /dev/null
+++ b/public_test_cases/p01850/output.0.txt
@@ -0,0 +1,14 @@
+icfp
+topcoder
+icpc
+apple
+acmicpc
+application
+appointment
+aa
+a
+aaa
+a
+aza
+b
+azb
diff --git a/public_test_cases/p01851/input.0.txt b/public_test_cases/p01851/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..001b0af769a9a6fde368890719cb9a7a393f08b9
--- /dev/null
+++ b/public_test_cases/p01851/input.0.txt
@@ -0,0 +1,7 @@
+1 1 0 1 1
+0 0 2 3 2
+4 0 0 33 4
+5 4 2 20 25
+4726 87361 2742 23497 162843
+328324 420923 12782 834286 538297
+0 0 0 0 0
diff --git a/public_test_cases/p01851/input.1.txt b/public_test_cases/p01851/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..001b0af769a9a6fde368890719cb9a7a393f08b9
--- /dev/null
+++ b/public_test_cases/p01851/input.1.txt
@@ -0,0 +1,7 @@
+1 1 0 1 1
+0 0 2 3 2
+4 0 0 33 4
+5 4 2 20 25
+4726 87361 2742 23497 162843
+328324 420923 12782 834286 538297
+0 0 0 0 0
diff --git a/public_test_cases/p01851/output.0.txt b/public_test_cases/p01851/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a07caf79635145d5fa1920c70bf8a72d564554
--- /dev/null
+++ b/public_test_cases/p01851/output.0.txt
@@ -0,0 +1,6 @@
+2
+0
+114660
+512095631
+673703234
+166259450
diff --git a/public_test_cases/p01851/output.1.txt b/public_test_cases/p01851/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a07caf79635145d5fa1920c70bf8a72d564554
--- /dev/null
+++ b/public_test_cases/p01851/output.1.txt
@@ -0,0 +1,6 @@
+2
+0
+114660
+512095631
+673703234
+166259450
diff --git a/public_test_cases/p01852/input.0.txt b/public_test_cases/p01852/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01852/input.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01852/input.1.txt b/public_test_cases/p01852/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01852/input.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01852/output.0.txt b/public_test_cases/p01852/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01852/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01852/output.1.txt b/public_test_cases/p01852/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01852/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01853/input.0.txt b/public_test_cases/p01853/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df46cb4798925a9805ba8b055a43fb20741f5ca7
--- /dev/null
+++ b/public_test_cases/p01853/input.0.txt
@@ -0,0 +1 @@
+3 100
diff --git a/public_test_cases/p01853/input.1.txt b/public_test_cases/p01853/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df46cb4798925a9805ba8b055a43fb20741f5ca7
--- /dev/null
+++ b/public_test_cases/p01853/input.1.txt
@@ -0,0 +1 @@
+3 100
diff --git a/public_test_cases/p01853/output.0.txt b/public_test_cases/p01853/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45bc3d6dc22c5a70fe6bc70d32b06a73b5aab9db
--- /dev/null
+++ b/public_test_cases/p01853/output.0.txt
@@ -0,0 +1 @@
+0 0 100
diff --git a/public_test_cases/p01853/output.1.txt b/public_test_cases/p01853/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45bc3d6dc22c5a70fe6bc70d32b06a73b5aab9db
--- /dev/null
+++ b/public_test_cases/p01853/output.1.txt
@@ -0,0 +1 @@
+0 0 100
diff --git a/public_test_cases/p01854/input.0.txt b/public_test_cases/p01854/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c78c20faf0422e550b4b351b23e0f7737cbc9b2
--- /dev/null
+++ b/public_test_cases/p01854/input.0.txt
@@ -0,0 +1,3 @@
+2 15
+2 3 3 7 2
+2 7 1 1 4
diff --git a/public_test_cases/p01854/input.1.txt b/public_test_cases/p01854/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c78c20faf0422e550b4b351b23e0f7737cbc9b2
--- /dev/null
+++ b/public_test_cases/p01854/input.1.txt
@@ -0,0 +1,3 @@
+2 15
+2 3 3 7 2
+2 7 1 1 4
diff --git a/public_test_cases/p01854/output.0.txt b/public_test_cases/p01854/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28d210823adac6fc9b1e82af3a4c7472769259f5
--- /dev/null
+++ b/public_test_cases/p01854/output.0.txt
@@ -0,0 +1 @@
+6.33333333
diff --git a/public_test_cases/p01854/output.1.txt b/public_test_cases/p01854/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28d210823adac6fc9b1e82af3a4c7472769259f5
--- /dev/null
+++ b/public_test_cases/p01854/output.1.txt
@@ -0,0 +1 @@
+6.33333333
diff --git a/public_test_cases/p01855/input.0.txt b/public_test_cases/p01855/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..203127ae6898aa4d06fc80f1817577e9badfff48
--- /dev/null
+++ b/public_test_cases/p01855/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 3
+3 3
+4 3
diff --git a/public_test_cases/p01855/input.1.txt b/public_test_cases/p01855/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..203127ae6898aa4d06fc80f1817577e9badfff48
--- /dev/null
+++ b/public_test_cases/p01855/input.1.txt
@@ -0,0 +1,4 @@
+3
+2 3
+3 3
+4 3
diff --git a/public_test_cases/p01855/output.0.txt b/public_test_cases/p01855/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39259b34c0cb46fa70d529b5a548ba76dfceb782
--- /dev/null
+++ b/public_test_cases/p01855/output.0.txt
@@ -0,0 +1,3 @@
+1 1
+1 0
+1 1
diff --git a/public_test_cases/p01855/output.1.txt b/public_test_cases/p01855/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39259b34c0cb46fa70d529b5a548ba76dfceb782
--- /dev/null
+++ b/public_test_cases/p01855/output.1.txt
@@ -0,0 +1,3 @@
+1 1
+1 0
+1 1
diff --git a/public_test_cases/p01856/input.0.txt b/public_test_cases/p01856/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e17357b88652bea8f9b61044e09a068925662286
--- /dev/null
+++ b/public_test_cases/p01856/input.0.txt
@@ -0,0 +1,8 @@
+7 5
+0 0 0 0 0
+0 1 1 1 0
+0 2 2 2 0
+0 3 3 3 0
+0 2 2 2 0
+0 1 1 1 0
+0 0 0 0 0
diff --git a/public_test_cases/p01856/input.1.txt b/public_test_cases/p01856/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e17357b88652bea8f9b61044e09a068925662286
--- /dev/null
+++ b/public_test_cases/p01856/input.1.txt
@@ -0,0 +1,8 @@
+7 5
+0 0 0 0 0
+0 1 1 1 0
+0 2 2 2 0
+0 3 3 3 0
+0 2 2 2 0
+0 1 1 1 0
+0 0 0 0 0
diff --git a/public_test_cases/p01856/output.0.txt b/public_test_cases/p01856/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..015c28d3ea40c5c2a82a9cc9ccc6c3f08e743d4c
--- /dev/null
+++ b/public_test_cases/p01856/output.0.txt
@@ -0,0 +1 @@
+4 2 2 2
diff --git a/public_test_cases/p01856/output.1.txt b/public_test_cases/p01856/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..015c28d3ea40c5c2a82a9cc9ccc6c3f08e743d4c
--- /dev/null
+++ b/public_test_cases/p01856/output.1.txt
@@ -0,0 +1 @@
+4 2 2 2
diff --git a/public_test_cases/p01857/input.0.txt b/public_test_cases/p01857/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5b8c3d42d0e30b414feb98336d2557f999e1ecb
--- /dev/null
+++ b/public_test_cases/p01857/input.0.txt
@@ -0,0 +1,4 @@
+3
+5 1
+5 2
+1 2
diff --git a/public_test_cases/p01857/input.1.txt b/public_test_cases/p01857/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5b8c3d42d0e30b414feb98336d2557f999e1ecb
--- /dev/null
+++ b/public_test_cases/p01857/input.1.txt
@@ -0,0 +1,4 @@
+3
+5 1
+5 2
+1 2
diff --git a/public_test_cases/p01857/output.0.txt b/public_test_cases/p01857/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23871f2bf37a70ff624f9eca05f5130dffa6a0d0
--- /dev/null
+++ b/public_test_cases/p01857/output.0.txt
@@ -0,0 +1,3 @@
+5
+3
+1
diff --git a/public_test_cases/p01857/output.1.txt b/public_test_cases/p01857/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23871f2bf37a70ff624f9eca05f5130dffa6a0d0
--- /dev/null
+++ b/public_test_cases/p01857/output.1.txt
@@ -0,0 +1,3 @@
+5
+3
+1
diff --git a/public_test_cases/p01858/input.0.txt b/public_test_cases/p01858/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d87de0cc5dd3a9807cf9f444c0d1b5b630773f1
--- /dev/null
+++ b/public_test_cases/p01858/input.0.txt
@@ -0,0 +1,7 @@
+3
+tameru
+tameru
+tameru
+tameru
+kougekida
+tameru
diff --git a/public_test_cases/p01858/input.1.txt b/public_test_cases/p01858/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d87de0cc5dd3a9807cf9f444c0d1b5b630773f1
--- /dev/null
+++ b/public_test_cases/p01858/input.1.txt
@@ -0,0 +1,7 @@
+3
+tameru
+tameru
+tameru
+tameru
+kougekida
+tameru
diff --git a/public_test_cases/p01858/output.0.txt b/public_test_cases/p01858/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a50f683e444b221ac40aed0ee5fca686880b0833
--- /dev/null
+++ b/public_test_cases/p01858/output.0.txt
@@ -0,0 +1 @@
+Nakajima-kun
diff --git a/public_test_cases/p01858/output.1.txt b/public_test_cases/p01858/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a50f683e444b221ac40aed0ee5fca686880b0833
--- /dev/null
+++ b/public_test_cases/p01858/output.1.txt
@@ -0,0 +1 @@
+Nakajima-kun
diff --git a/public_test_cases/p01859/input.0.txt b/public_test_cases/p01859/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58aeac61f396326d1f20628583d940bae9e48b7c
--- /dev/null
+++ b/public_test_cases/p01859/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+2 2
diff --git a/public_test_cases/p01859/input.1.txt b/public_test_cases/p01859/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58aeac61f396326d1f20628583d940bae9e48b7c
--- /dev/null
+++ b/public_test_cases/p01859/input.1.txt
@@ -0,0 +1,2 @@
+3 2
+2 2
diff --git a/public_test_cases/p01859/output.0.txt b/public_test_cases/p01859/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9073279cf0f6fa900458ea8afd0dbebb091634c6
--- /dev/null
+++ b/public_test_cases/p01859/output.0.txt
@@ -0,0 +1 @@
+NAKAJIMA
diff --git a/public_test_cases/p01859/output.1.txt b/public_test_cases/p01859/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9073279cf0f6fa900458ea8afd0dbebb091634c6
--- /dev/null
+++ b/public_test_cases/p01859/output.1.txt
@@ -0,0 +1 @@
+NAKAJIMA
diff --git a/public_test_cases/p01860/input.0.txt b/public_test_cases/p01860/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a2231d9670d8b2a41eca48742ecba0504954da5
--- /dev/null
+++ b/public_test_cases/p01860/input.0.txt
@@ -0,0 +1,10 @@
+3 9 3 2 3
+1 2 3
+1 1 2
+2 3 1
+3 4 2
+4 1 3
+4 1 1
+5 1 1
+6 2 3
+7 2 2
diff --git a/public_test_cases/p01860/input.1.txt b/public_test_cases/p01860/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a2231d9670d8b2a41eca48742ecba0504954da5
--- /dev/null
+++ b/public_test_cases/p01860/input.1.txt
@@ -0,0 +1,10 @@
+3 9 3 2 3
+1 2 3
+1 1 2
+2 3 1
+3 4 2
+4 1 3
+4 1 1
+5 1 1
+6 2 3
+7 2 2
diff --git a/public_test_cases/p01860/output.0.txt b/public_test_cases/p01860/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01860/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01860/output.1.txt b/public_test_cases/p01860/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01860/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01861/input.0.txt b/public_test_cases/p01861/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d87eb5f58194429a363f140544916f3c0d500184
--- /dev/null
+++ b/public_test_cases/p01861/input.0.txt
@@ -0,0 +1,6 @@
+3
+3 5 3
+3
+5 2 3
+3 3 1
+7 1 2
diff --git a/public_test_cases/p01861/input.1.txt b/public_test_cases/p01861/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d87eb5f58194429a363f140544916f3c0d500184
--- /dev/null
+++ b/public_test_cases/p01861/input.1.txt
@@ -0,0 +1,6 @@
+3
+3 5 3
+3
+5 2 3
+3 3 1
+7 1 2
diff --git a/public_test_cases/p01861/output.0.txt b/public_test_cases/p01861/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01861/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01861/output.1.txt b/public_test_cases/p01861/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01861/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01862/input.0.txt b/public_test_cases/p01862/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37a08adf99c0e1e9da11c2c8ba30090e5efd58dc
--- /dev/null
+++ b/public_test_cases/p01862/input.0.txt
@@ -0,0 +1,2 @@
+2
+10 5
diff --git a/public_test_cases/p01862/input.1.txt b/public_test_cases/p01862/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37a08adf99c0e1e9da11c2c8ba30090e5efd58dc
--- /dev/null
+++ b/public_test_cases/p01862/input.1.txt
@@ -0,0 +1,2 @@
+2
+10 5
diff --git a/public_test_cases/p01862/output.0.txt b/public_test_cases/p01862/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20a69cffcbee9830e3ffebe4a771394110317160
--- /dev/null
+++ b/public_test_cases/p01862/output.0.txt
@@ -0,0 +1,22 @@
+1
+-10.00 -6.48
+-10.79 -8.91
+-13.34 -8.91
+-11.28 -10.41
+-12.07 -12.84
+-10.00 -11.34
+-7.93 -12.84
+-8.72 -10.41
+-6.66 -8.91
+-9.21 -8.91
+2
+10.00 12.34
+9.47 10.72
+7.77 10.72
+9.15 9.72
+8.62 8.10
+10.00 9.10
+11.38 8.10
+10.85 9.72
+12.23 10.72
+10.53 10.72
diff --git a/public_test_cases/p01862/output.1.txt b/public_test_cases/p01862/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20a69cffcbee9830e3ffebe4a771394110317160
--- /dev/null
+++ b/public_test_cases/p01862/output.1.txt
@@ -0,0 +1,22 @@
+1
+-10.00 -6.48
+-10.79 -8.91
+-13.34 -8.91
+-11.28 -10.41
+-12.07 -12.84
+-10.00 -11.34
+-7.93 -12.84
+-8.72 -10.41
+-6.66 -8.91
+-9.21 -8.91
+2
+10.00 12.34
+9.47 10.72
+7.77 10.72
+9.15 9.72
+8.62 8.10
+10.00 9.10
+11.38 8.10
+10.85 9.72
+12.23 10.72
+10.53 10.72
diff --git a/public_test_cases/p01863/input.0.txt b/public_test_cases/p01863/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32cb429cd72dec99d19a80f7885d106677e6aa98
--- /dev/null
+++ b/public_test_cases/p01863/input.0.txt
@@ -0,0 +1 @@
+NicoNicoNi
diff --git a/public_test_cases/p01863/input.1.txt b/public_test_cases/p01863/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32cb429cd72dec99d19a80f7885d106677e6aa98
--- /dev/null
+++ b/public_test_cases/p01863/input.1.txt
@@ -0,0 +1 @@
+NicoNicoNi
diff --git a/public_test_cases/p01863/output.0.txt b/public_test_cases/p01863/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b9923c9d76119cd381af61cd86d46c6c58e2597
--- /dev/null
+++ b/public_test_cases/p01863/output.0.txt
@@ -0,0 +1 @@
+Love Nico!
diff --git a/public_test_cases/p01863/output.1.txt b/public_test_cases/p01863/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b9923c9d76119cd381af61cd86d46c6c58e2597
--- /dev/null
+++ b/public_test_cases/p01863/output.1.txt
@@ -0,0 +1 @@
+Love Nico!
diff --git a/public_test_cases/p01864/input.0.txt b/public_test_cases/p01864/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31492008db653f25648bd17d299fb357e7bfbc1b
--- /dev/null
+++ b/public_test_cases/p01864/input.0.txt
@@ -0,0 +1,10 @@
+5 6
+100 80 70 60 50
+1 2 500
+2 5 100
+1 3 400
+1 4 200
+3 5 700
+4 5 800
+1
+5 3 600
diff --git a/public_test_cases/p01864/input.1.txt b/public_test_cases/p01864/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31492008db653f25648bd17d299fb357e7bfbc1b
--- /dev/null
+++ b/public_test_cases/p01864/input.1.txt
@@ -0,0 +1,10 @@
+5 6
+100 80 70 60 50
+1 2 500
+2 5 100
+1 3 400
+1 4 200
+3 5 700
+4 5 800
+1
+5 3 600
diff --git a/public_test_cases/p01864/output.0.txt b/public_test_cases/p01864/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01864/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01864/output.1.txt b/public_test_cases/p01864/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01864/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01865/input.0.txt b/public_test_cases/p01865/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f93ce3cba5964c3e906ab964d4725bc577daee2
--- /dev/null
+++ b/public_test_cases/p01865/input.0.txt
@@ -0,0 +1,5 @@
+3
+3
+1 1
+2 1
+3 1
diff --git a/public_test_cases/p01865/input.1.txt b/public_test_cases/p01865/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f93ce3cba5964c3e906ab964d4725bc577daee2
--- /dev/null
+++ b/public_test_cases/p01865/input.1.txt
@@ -0,0 +1,5 @@
+3
+3
+1 1
+2 1
+3 1
diff --git a/public_test_cases/p01865/output.0.txt b/public_test_cases/p01865/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30427f13f882dfd57862d0a28b8a4d1e84f4d09a
--- /dev/null
+++ b/public_test_cases/p01865/output.0.txt
@@ -0,0 +1,2 @@
+1
+-3 2
diff --git a/public_test_cases/p01865/output.1.txt b/public_test_cases/p01865/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30427f13f882dfd57862d0a28b8a4d1e84f4d09a
--- /dev/null
+++ b/public_test_cases/p01865/output.1.txt
@@ -0,0 +1,2 @@
+1
+-3 2
diff --git a/public_test_cases/p01866/input.0.txt b/public_test_cases/p01866/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fad70d8023b88c1f92eea7f42b356e2c6c827366
--- /dev/null
+++ b/public_test_cases/p01866/input.0.txt
@@ -0,0 +1,3 @@
+5
+00001
+3
diff --git a/public_test_cases/p01866/input.1.txt b/public_test_cases/p01866/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fad70d8023b88c1f92eea7f42b356e2c6c827366
--- /dev/null
+++ b/public_test_cases/p01866/input.1.txt
@@ -0,0 +1,3 @@
+5
+00001
+3
diff --git a/public_test_cases/p01866/output.0.txt b/public_test_cases/p01866/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e33602193dad1fc59ab42c1dedcdc9f1d47c6fd8
--- /dev/null
+++ b/public_test_cases/p01866/output.0.txt
@@ -0,0 +1 @@
+11101
diff --git a/public_test_cases/p01866/output.1.txt b/public_test_cases/p01866/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e33602193dad1fc59ab42c1dedcdc9f1d47c6fd8
--- /dev/null
+++ b/public_test_cases/p01866/output.1.txt
@@ -0,0 +1 @@
+11101
diff --git a/public_test_cases/p01867/input.0.txt b/public_test_cases/p01867/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b606669574ba98b811e07f861671b8166c2d7e9a
--- /dev/null
+++ b/public_test_cases/p01867/input.0.txt
@@ -0,0 +1,2 @@
+5
+a+a+a
diff --git a/public_test_cases/p01867/input.1.txt b/public_test_cases/p01867/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b606669574ba98b811e07f861671b8166c2d7e9a
--- /dev/null
+++ b/public_test_cases/p01867/input.1.txt
@@ -0,0 +1,2 @@
+5
+a+a+a
diff --git a/public_test_cases/p01867/output.0.txt b/public_test_cases/p01867/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01867/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01867/output.1.txt b/public_test_cases/p01867/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01867/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01868/input.0.txt b/public_test_cases/p01868/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11f217775c0da58060668ed3c0cf477a9e6d9df6
--- /dev/null
+++ b/public_test_cases/p01868/input.0.txt
@@ -0,0 +1,5 @@
+4
+1
+1
+1
+1
diff --git a/public_test_cases/p01868/input.1.txt b/public_test_cases/p01868/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11f217775c0da58060668ed3c0cf477a9e6d9df6
--- /dev/null
+++ b/public_test_cases/p01868/input.1.txt
@@ -0,0 +1,5 @@
+4
+1
+1
+1
+1
diff --git a/public_test_cases/p01868/output.0.txt b/public_test_cases/p01868/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01868/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01868/output.1.txt b/public_test_cases/p01868/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01868/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01869/input.0.txt b/public_test_cases/p01869/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01869/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01869/input.1.txt b/public_test_cases/p01869/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01869/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01869/output.0.txt b/public_test_cases/p01869/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01869/output.0.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01869/output.1.txt b/public_test_cases/p01869/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01869/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01870/input.0.txt b/public_test_cases/p01870/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ad2245245edead13ba6e28084034085b27541aa
--- /dev/null
+++ b/public_test_cases/p01870/input.0.txt
@@ -0,0 +1,5 @@
+5
+0 1
+0 2
+0 3
+0 4
diff --git a/public_test_cases/p01870/input.1.txt b/public_test_cases/p01870/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ad2245245edead13ba6e28084034085b27541aa
--- /dev/null
+++ b/public_test_cases/p01870/input.1.txt
@@ -0,0 +1,5 @@
+5
+0 1
+0 2
+0 3
+0 4
diff --git a/public_test_cases/p01870/output.0.txt b/public_test_cases/p01870/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01870/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01870/output.1.txt b/public_test_cases/p01870/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01870/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01871/input.0.txt b/public_test_cases/p01871/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..434c372735cc0a4c9a91b21ddbff436d56863902
--- /dev/null
+++ b/public_test_cases/p01871/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 0
+0 1
+1 1
+1 0
diff --git a/public_test_cases/p01871/output.0.txt b/public_test_cases/p01871/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01871/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01872/input.0.txt b/public_test_cases/p01872/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cf28ff1c0b795984c9d92a5d9bc2a7c3f9066a2
--- /dev/null
+++ b/public_test_cases/p01872/input.0.txt
@@ -0,0 +1 @@
+?12345678901
diff --git a/public_test_cases/p01872/input.1.txt b/public_test_cases/p01872/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cf28ff1c0b795984c9d92a5d9bc2a7c3f9066a2
--- /dev/null
+++ b/public_test_cases/p01872/input.1.txt
@@ -0,0 +1 @@
+?12345678901
diff --git a/public_test_cases/p01872/output.0.txt b/public_test_cases/p01872/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01872/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01872/output.1.txt b/public_test_cases/p01872/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01872/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01873/input.0.txt b/public_test_cases/p01873/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fc951fa890e12bb8c9791b96920a9f3e937b1a3
--- /dev/null
+++ b/public_test_cases/p01873/input.0.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 1 2 3
diff --git a/public_test_cases/p01873/input.1.txt b/public_test_cases/p01873/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fc951fa890e12bb8c9791b96920a9f3e937b1a3
--- /dev/null
+++ b/public_test_cases/p01873/input.1.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 1 2 3
diff --git a/public_test_cases/p01873/output.0.txt b/public_test_cases/p01873/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01873/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01873/output.1.txt b/public_test_cases/p01873/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01873/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01874/input.0.txt b/public_test_cases/p01874/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64983a355e83b5325e8aa7d194c23208c23e4883
--- /dev/null
+++ b/public_test_cases/p01874/input.0.txt
@@ -0,0 +1,3 @@
+2 2 0 0
+3 3
+4 0
diff --git a/public_test_cases/p01874/output.0.txt b/public_test_cases/p01874/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43f1215f394cca5eefe6910ac0b9b725e485c97f
--- /dev/null
+++ b/public_test_cases/p01874/output.0.txt
@@ -0,0 +1 @@
+7.16227766017
diff --git a/public_test_cases/p01875/input.1.txt b/public_test_cases/p01875/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01875/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01875/output.1.txt b/public_test_cases/p01875/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01875/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01876/input.0.txt b/public_test_cases/p01876/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea18bbed200672f460ced87f6ff7b57f9c5d5eaf
--- /dev/null
+++ b/public_test_cases/p01876/input.0.txt
@@ -0,0 +1,7 @@
+3 3 4
+111
+111
+111
+111
+111
+111
diff --git a/public_test_cases/p01876/input.1.txt b/public_test_cases/p01876/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea18bbed200672f460ced87f6ff7b57f9c5d5eaf
--- /dev/null
+++ b/public_test_cases/p01876/input.1.txt
@@ -0,0 +1,7 @@
+3 3 4
+111
+111
+111
+111
+111
+111
diff --git a/public_test_cases/p01876/output.0.txt b/public_test_cases/p01876/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01876/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01876/output.1.txt b/public_test_cases/p01876/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01876/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01877/input.0.txt b/public_test_cases/p01877/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19107170e588bb992e0b9fc3ffc2b7dc6ac5ff3f
--- /dev/null
+++ b/public_test_cases/p01877/input.0.txt
@@ -0,0 +1,10 @@
+10
+0 1 2 3 4 4 3 2 1 0
+7
+2 6 0
+2 4 5
+7 9 10
+2 4 5
+3 8 100
+4 6 1000
+7 7 1000
diff --git a/public_test_cases/p01877/input.1.txt b/public_test_cases/p01877/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19107170e588bb992e0b9fc3ffc2b7dc6ac5ff3f
--- /dev/null
+++ b/public_test_cases/p01877/input.1.txt
@@ -0,0 +1,10 @@
+10
+0 1 2 3 4 4 3 2 1 0
+7
+2 6 0
+2 4 5
+7 9 10
+2 4 5
+3 8 100
+4 6 1000
+7 7 1000
diff --git a/public_test_cases/p01877/output.0.txt b/public_test_cases/p01877/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03350295484e4b612d485a2b61890963ffa2233c
--- /dev/null
+++ b/public_test_cases/p01877/output.0.txt
@@ -0,0 +1,7 @@
+1
+0
+0
+1
+1
+0
+1
diff --git a/public_test_cases/p01877/output.1.txt b/public_test_cases/p01877/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03350295484e4b612d485a2b61890963ffa2233c
--- /dev/null
+++ b/public_test_cases/p01877/output.1.txt
@@ -0,0 +1,7 @@
+1
+0
+0
+1
+1
+0
+1
diff --git a/public_test_cases/p01878/input.0.txt b/public_test_cases/p01878/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c074016fc295d1e0a0d1f6a6d30f292e76b60be3
--- /dev/null
+++ b/public_test_cases/p01878/input.0.txt
@@ -0,0 +1,2 @@
+4 1 1 6
+3 2 3
diff --git a/public_test_cases/p01878/input.1.txt b/public_test_cases/p01878/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c074016fc295d1e0a0d1f6a6d30f292e76b60be3
--- /dev/null
+++ b/public_test_cases/p01878/input.1.txt
@@ -0,0 +1,2 @@
+4 1 1 6
+3 2 3
diff --git a/public_test_cases/p01878/output.0.txt b/public_test_cases/p01878/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01878/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01878/output.1.txt b/public_test_cases/p01878/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01878/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01879/input.0.txt b/public_test_cases/p01879/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b9eee2dee6e5ee444fc9d473502b454a2e9c4d
--- /dev/null
+++ b/public_test_cases/p01879/input.0.txt
@@ -0,0 +1,5 @@
+4
+4 1 3 2
+2
+1 3
+2 4
diff --git a/public_test_cases/p01879/input.1.txt b/public_test_cases/p01879/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b9eee2dee6e5ee444fc9d473502b454a2e9c4d
--- /dev/null
+++ b/public_test_cases/p01879/input.1.txt
@@ -0,0 +1,5 @@
+4
+4 1 3 2
+2
+1 3
+2 4
diff --git a/public_test_cases/p01879/output.0.txt b/public_test_cases/p01879/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p01879/output.0.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p01879/output.1.txt b/public_test_cases/p01879/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p01879/output.1.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p01880/input.0.txt b/public_test_cases/p01880/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p01880/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p01880/input.1.txt b/public_test_cases/p01880/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p01880/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p01880/output.0.txt b/public_test_cases/p01880/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01880/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01880/output.1.txt b/public_test_cases/p01880/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01880/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01881/input.0.txt b/public_test_cases/p01881/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c215ce15446b7a8bea7bcad1c34ae0b9f0556195
--- /dev/null
+++ b/public_test_cases/p01881/input.0.txt
@@ -0,0 +1,3 @@
+2 4
+%.@\$
+..\$\$
diff --git a/public_test_cases/p01881/input.1.txt b/public_test_cases/p01881/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c215ce15446b7a8bea7bcad1c34ae0b9f0556195
--- /dev/null
+++ b/public_test_cases/p01881/input.1.txt
@@ -0,0 +1,3 @@
+2 4
+%.@\$
+..\$\$
diff --git a/public_test_cases/p01881/output.0.txt b/public_test_cases/p01881/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01881/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01881/output.1.txt b/public_test_cases/p01881/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01881/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01882/input.0.txt b/public_test_cases/p01882/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fb59fadc676decab7794e6cf80cf4b4b95e91b1
--- /dev/null
+++ b/public_test_cases/p01882/input.0.txt
@@ -0,0 +1,7 @@
+4
+Durett 7
+Gayles 3
+Facenda 6
+Daughtery 0
+1
++ Mccourtney 2
diff --git a/public_test_cases/p01882/input.1.txt b/public_test_cases/p01882/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fb59fadc676decab7794e6cf80cf4b4b95e91b1
--- /dev/null
+++ b/public_test_cases/p01882/input.1.txt
@@ -0,0 +1,7 @@
+4
+Durett 7
+Gayles 3
+Facenda 6
+Daughtery 0
+1
++ Mccourtney 2
diff --git a/public_test_cases/p01882/output.0.txt b/public_test_cases/p01882/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b0ccfab710fcba5a268de98acef7edd77e15a08
--- /dev/null
+++ b/public_test_cases/p01882/output.0.txt
@@ -0,0 +1,2 @@
+Mccourtney is not working now.
+Durett is working hard now.
diff --git a/public_test_cases/p01882/output.1.txt b/public_test_cases/p01882/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b0ccfab710fcba5a268de98acef7edd77e15a08
--- /dev/null
+++ b/public_test_cases/p01882/output.1.txt
@@ -0,0 +1,2 @@
+Mccourtney is not working now.
+Durett is working hard now.
diff --git a/public_test_cases/p01883/input.0.txt b/public_test_cases/p01883/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01883/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01883/input.1.txt b/public_test_cases/p01883/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01883/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01883/output.0.txt b/public_test_cases/p01883/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71497e5d3c40c0f26ec02a376dd21b6deaafac28
--- /dev/null
+++ b/public_test_cases/p01883/output.0.txt
@@ -0,0 +1 @@
+)(
diff --git a/public_test_cases/p01883/output.1.txt b/public_test_cases/p01883/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71497e5d3c40c0f26ec02a376dd21b6deaafac28
--- /dev/null
+++ b/public_test_cases/p01883/output.1.txt
@@ -0,0 +1 @@
+)(
diff --git a/public_test_cases/p01884/input.0.txt b/public_test_cases/p01884/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c72b3da306856365ee286decd1b683a1a728c54
--- /dev/null
+++ b/public_test_cases/p01884/input.0.txt
@@ -0,0 +1,5 @@
+5
+1 2
+1 3
+1 4
+1 5
diff --git a/public_test_cases/p01884/input.1.txt b/public_test_cases/p01884/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c72b3da306856365ee286decd1b683a1a728c54
--- /dev/null
+++ b/public_test_cases/p01884/input.1.txt
@@ -0,0 +1,5 @@
+5
+1 2
+1 3
+1 4
+1 5
diff --git a/public_test_cases/p01884/output.0.txt b/public_test_cases/p01884/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01884/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01884/output.1.txt b/public_test_cases/p01884/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01884/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01885/input.0.txt b/public_test_cases/p01885/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f0d231458773cefb8cf1c6bbfffb2a19b4768fc
--- /dev/null
+++ b/public_test_cases/p01885/input.0.txt
@@ -0,0 +1,7 @@
+3 9
+6 3
+5 2
+3 1
+2
+2
+2
diff --git a/public_test_cases/p01885/input.1.txt b/public_test_cases/p01885/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f0d231458773cefb8cf1c6bbfffb2a19b4768fc
--- /dev/null
+++ b/public_test_cases/p01885/input.1.txt
@@ -0,0 +1,7 @@
+3 9
+6 3
+5 2
+3 1
+2
+2
+2
diff --git a/public_test_cases/p01885/output.0.txt b/public_test_cases/p01885/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01885/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01885/output.1.txt b/public_test_cases/p01885/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01885/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01886/input.0.txt b/public_test_cases/p01886/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12401cb1aaf7c026e68a46010a443f1bf83d67ad
--- /dev/null
+++ b/public_test_cases/p01886/input.0.txt
@@ -0,0 +1,9 @@
+8
+-10 0
+-10 5
+-5 5
+-5 0
+10 0
+10 -5
+5 -5
+5 0
diff --git a/public_test_cases/p01886/input.1.txt b/public_test_cases/p01886/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12401cb1aaf7c026e68a46010a443f1bf83d67ad
--- /dev/null
+++ b/public_test_cases/p01886/input.1.txt
@@ -0,0 +1,9 @@
+8
+-10 0
+-10 5
+-5 5
+-5 0
+10 0
+10 -5
+5 -5
+5 0
diff --git a/public_test_cases/p01886/output.0.txt b/public_test_cases/p01886/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p01886/output.0.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p01886/output.1.txt b/public_test_cases/p01886/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p01886/output.1.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p01887/input.0.txt b/public_test_cases/p01887/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fdc53daf47d153ee9473e179b1fe36b1c233852
--- /dev/null
+++ b/public_test_cases/p01887/input.0.txt
@@ -0,0 +1,8 @@
+5 5 4
+6
+3 2
+4 2
+5 2
+1 4
+3 4
+5 4
diff --git a/public_test_cases/p01887/input.1.txt b/public_test_cases/p01887/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fdc53daf47d153ee9473e179b1fe36b1c233852
--- /dev/null
+++ b/public_test_cases/p01887/input.1.txt
@@ -0,0 +1,8 @@
+5 5 4
+6
+3 2
+4 2
+5 2
+1 4
+3 4
+5 4
diff --git a/public_test_cases/p01887/output.0.txt b/public_test_cases/p01887/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01887/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01887/output.1.txt b/public_test_cases/p01887/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01887/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01888/input.0.txt b/public_test_cases/p01888/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90f50401f5b8360f7899606f42a2fb631c3e7ff1
--- /dev/null
+++ b/public_test_cases/p01888/input.0.txt
@@ -0,0 +1,2 @@
+1 10 2
+1 1 1
diff --git a/public_test_cases/p01888/input.1.txt b/public_test_cases/p01888/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90f50401f5b8360f7899606f42a2fb631c3e7ff1
--- /dev/null
+++ b/public_test_cases/p01888/input.1.txt
@@ -0,0 +1,2 @@
+1 10 2
+1 1 1
diff --git a/public_test_cases/p01888/output.0.txt b/public_test_cases/p01888/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd5ac039d67e0bdadb17976e4ac39f0ffe6bb6e4
--- /dev/null
+++ b/public_test_cases/p01888/output.0.txt
@@ -0,0 +1 @@
+2.0
diff --git a/public_test_cases/p01888/output.1.txt b/public_test_cases/p01888/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd5ac039d67e0bdadb17976e4ac39f0ffe6bb6e4
--- /dev/null
+++ b/public_test_cases/p01888/output.1.txt
@@ -0,0 +1 @@
+2.0
diff --git a/public_test_cases/p01889/input.0.txt b/public_test_cases/p01889/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b06ea24e087a868013b011812e364fcf7a83b3ea
--- /dev/null
+++ b/public_test_cases/p01889/input.0.txt
@@ -0,0 +1,2 @@
+1
+5 1
diff --git a/public_test_cases/p01889/input.1.txt b/public_test_cases/p01889/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b06ea24e087a868013b011812e364fcf7a83b3ea
--- /dev/null
+++ b/public_test_cases/p01889/input.1.txt
@@ -0,0 +1,2 @@
+1
+5 1
diff --git a/public_test_cases/p01889/output.0.txt b/public_test_cases/p01889/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7c6dd0164fe0eb4fde767f9e731a6c8ade0b69f
--- /dev/null
+++ b/public_test_cases/p01889/output.0.txt
@@ -0,0 +1 @@
+11111
diff --git a/public_test_cases/p01889/output.1.txt b/public_test_cases/p01889/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7c6dd0164fe0eb4fde767f9e731a6c8ade0b69f
--- /dev/null
+++ b/public_test_cases/p01889/output.1.txt
@@ -0,0 +1 @@
+11111
diff --git a/public_test_cases/p01890/input.0.txt b/public_test_cases/p01890/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a52c380b38bc0b40dca39e475e5b0df381eaa9f0
--- /dev/null
+++ b/public_test_cases/p01890/input.0.txt
@@ -0,0 +1,6 @@
+5
+5 8 1 3 5
+1 2 4
+2 3 3
+2 4 3
+1 5 7
diff --git a/public_test_cases/p01890/input.1.txt b/public_test_cases/p01890/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a52c380b38bc0b40dca39e475e5b0df381eaa9f0
--- /dev/null
+++ b/public_test_cases/p01890/input.1.txt
@@ -0,0 +1,6 @@
+5
+5 8 1 3 5
+1 2 4
+2 3 3
+2 4 3
+1 5 7
diff --git a/public_test_cases/p01890/output.0.txt b/public_test_cases/p01890/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01890/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01890/output.1.txt b/public_test_cases/p01890/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01890/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01891/input.0.txt b/public_test_cases/p01891/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61bb39070d2e9b2b5852218480daa25ef312e15e
--- /dev/null
+++ b/public_test_cases/p01891/input.0.txt
@@ -0,0 +1,2 @@
+5 3 6 9
+9 7 5 3 1
diff --git a/public_test_cases/p01891/input.1.txt b/public_test_cases/p01891/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61bb39070d2e9b2b5852218480daa25ef312e15e
--- /dev/null
+++ b/public_test_cases/p01891/input.1.txt
@@ -0,0 +1,2 @@
+5 3 6 9
+9 7 5 3 1
diff --git a/public_test_cases/p01891/output.0.txt b/public_test_cases/p01891/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01891/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01891/output.1.txt b/public_test_cases/p01891/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01891/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01892/input.0.txt b/public_test_cases/p01892/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad688cd1cc0c00a0cd91e01d4d2bdf854792f701
--- /dev/null
+++ b/public_test_cases/p01892/input.0.txt
@@ -0,0 +1 @@
+19 30 3
diff --git a/public_test_cases/p01892/input.1.txt b/public_test_cases/p01892/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad688cd1cc0c00a0cd91e01d4d2bdf854792f701
--- /dev/null
+++ b/public_test_cases/p01892/input.1.txt
@@ -0,0 +1 @@
+19 30 3
diff --git a/public_test_cases/p01892/output.0.txt b/public_test_cases/p01892/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01892/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01892/output.1.txt b/public_test_cases/p01892/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01892/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01893/input.0.txt b/public_test_cases/p01893/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e406c25e3486c91d3e6492e2748c7fdf304591ce
--- /dev/null
+++ b/public_test_cases/p01893/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2 0 0
+1 2 0 0
diff --git a/public_test_cases/p01893/input.1.txt b/public_test_cases/p01893/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e406c25e3486c91d3e6492e2748c7fdf304591ce
--- /dev/null
+++ b/public_test_cases/p01893/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2 0 0
+1 2 0 0
diff --git a/public_test_cases/p01893/output.0.txt b/public_test_cases/p01893/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ca33ce15d016381fff70f1fcb6bde9fadf1756c
--- /dev/null
+++ b/public_test_cases/p01893/output.0.txt
@@ -0,0 +1,4 @@
+YES
+0 1 0
+0 0 1
+0 0 0
diff --git a/public_test_cases/p01893/output.1.txt b/public_test_cases/p01893/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ca33ce15d016381fff70f1fcb6bde9fadf1756c
--- /dev/null
+++ b/public_test_cases/p01893/output.1.txt
@@ -0,0 +1,4 @@
+YES
+0 1 0
+0 0 1
+0 0 0
diff --git a/public_test_cases/p01894/input.0.txt b/public_test_cases/p01894/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57b9c358b596a57fe065011680d481a8d16e7691
--- /dev/null
+++ b/public_test_cases/p01894/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01894/input.1.txt b/public_test_cases/p01894/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57b9c358b596a57fe065011680d481a8d16e7691
--- /dev/null
+++ b/public_test_cases/p01894/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01894/output.0.txt b/public_test_cases/p01894/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01894/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01894/output.1.txt b/public_test_cases/p01894/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01894/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01895/input.1.txt b/public_test_cases/p01895/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01895/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01895/output.1.txt b/public_test_cases/p01895/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01895/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01896/input.0.txt b/public_test_cases/p01896/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..580c339538e5623f1d06c7317471d3583df52345
--- /dev/null
+++ b/public_test_cases/p01896/input.0.txt
@@ -0,0 +1,2 @@
+1 4
+0 1 2 3
diff --git a/public_test_cases/p01896/input.1.txt b/public_test_cases/p01896/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..580c339538e5623f1d06c7317471d3583df52345
--- /dev/null
+++ b/public_test_cases/p01896/input.1.txt
@@ -0,0 +1,2 @@
+1 4
+0 1 2 3
diff --git a/public_test_cases/p01896/output.0.txt b/public_test_cases/p01896/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01896/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01896/output.1.txt b/public_test_cases/p01896/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01896/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01897/input.0.txt b/public_test_cases/p01897/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57b9c358b596a57fe065011680d481a8d16e7691
--- /dev/null
+++ b/public_test_cases/p01897/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01897/input.1.txt b/public_test_cases/p01897/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57b9c358b596a57fe065011680d481a8d16e7691
--- /dev/null
+++ b/public_test_cases/p01897/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p01897/output.0.txt b/public_test_cases/p01897/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01897/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01897/output.1.txt b/public_test_cases/p01897/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p01897/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p01898/input.0.txt b/public_test_cases/p01898/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a6b5b7f29050fccbcee03f84cd7ee88a1979c7e
--- /dev/null
+++ b/public_test_cases/p01898/input.0.txt
@@ -0,0 +1,6 @@
+5 5
+--o--
+--xo-
+--x--
+o---x
+--xoo
diff --git a/public_test_cases/p01898/input.1.txt b/public_test_cases/p01898/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a6b5b7f29050fccbcee03f84cd7ee88a1979c7e
--- /dev/null
+++ b/public_test_cases/p01898/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+--o--
+--xo-
+--x--
+o---x
+--xoo
diff --git a/public_test_cases/p01898/output.0.txt b/public_test_cases/p01898/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01898/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01898/output.1.txt b/public_test_cases/p01898/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01898/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01899/input.0.txt b/public_test_cases/p01899/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2566b4d166edbecf5ab1cebda3ba1f6ea5464f48
--- /dev/null
+++ b/public_test_cases/p01899/input.0.txt
@@ -0,0 +1,2 @@
+5 130
+130 170 100 120 140
diff --git a/public_test_cases/p01899/input.1.txt b/public_test_cases/p01899/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2566b4d166edbecf5ab1cebda3ba1f6ea5464f48
--- /dev/null
+++ b/public_test_cases/p01899/input.1.txt
@@ -0,0 +1,2 @@
+5 130
+130 170 100 120 140
diff --git a/public_test_cases/p01899/output.0.txt b/public_test_cases/p01899/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p01899/output.0.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p01899/output.1.txt b/public_test_cases/p01899/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p01899/output.1.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p01900/input.0.txt b/public_test_cases/p01900/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2a3698f49db65bb351e57a3eab72a7acee71d5f
--- /dev/null
+++ b/public_test_cases/p01900/input.0.txt
@@ -0,0 +1,2 @@
+6
+2 5 2 5 2 1
diff --git a/public_test_cases/p01900/input.1.txt b/public_test_cases/p01900/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2a3698f49db65bb351e57a3eab72a7acee71d5f
--- /dev/null
+++ b/public_test_cases/p01900/input.1.txt
@@ -0,0 +1,2 @@
+6
+2 5 2 5 2 1
diff --git a/public_test_cases/p01900/output.0.txt b/public_test_cases/p01900/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01900/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01900/output.1.txt b/public_test_cases/p01900/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01900/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01901/input.0.txt b/public_test_cases/p01901/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..833147746e719c7086b24dd9d6815fbfb059ce57
--- /dev/null
+++ b/public_test_cases/p01901/input.0.txt
@@ -0,0 +1,3 @@
+20
+1
+0 10
diff --git a/public_test_cases/p01901/input.1.txt b/public_test_cases/p01901/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..833147746e719c7086b24dd9d6815fbfb059ce57
--- /dev/null
+++ b/public_test_cases/p01901/input.1.txt
@@ -0,0 +1,3 @@
+20
+1
+0 10
diff --git a/public_test_cases/p01901/output.0.txt b/public_test_cases/p01901/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01901/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01901/output.1.txt b/public_test_cases/p01901/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01901/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01902/input.0.txt b/public_test_cases/p01902/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc5373600e3af8e99fa3035092ff1469ccef1685
--- /dev/null
+++ b/public_test_cases/p01902/input.0.txt
@@ -0,0 +1,4 @@
+1
+1 1
+3 0 1 1
+1 1
diff --git a/public_test_cases/p01902/input.1.txt b/public_test_cases/p01902/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc5373600e3af8e99fa3035092ff1469ccef1685
--- /dev/null
+++ b/public_test_cases/p01902/input.1.txt
@@ -0,0 +1,4 @@
+1
+1 1
+3 0 1 1
+1 1
diff --git a/public_test_cases/p01902/output.0.txt b/public_test_cases/p01902/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba66466c2a0d0a1080ad71d8e1a67a97f336c384
--- /dev/null
+++ b/public_test_cases/p01902/output.0.txt
@@ -0,0 +1 @@
+0.0
diff --git a/public_test_cases/p01902/output.1.txt b/public_test_cases/p01902/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba66466c2a0d0a1080ad71d8e1a67a97f336c384
--- /dev/null
+++ b/public_test_cases/p01902/output.1.txt
@@ -0,0 +1 @@
+0.0
diff --git a/public_test_cases/p01903/input.0.txt b/public_test_cases/p01903/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c8824b960f75f35dd7dd6665fe4ebe0422859dd
--- /dev/null
+++ b/public_test_cases/p01903/input.0.txt
@@ -0,0 +1,5 @@
+2 2 4
+1 3 4
+2 4 2
+0 3 3
+4 0 5
diff --git a/public_test_cases/p01903/input.1.txt b/public_test_cases/p01903/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c8824b960f75f35dd7dd6665fe4ebe0422859dd
--- /dev/null
+++ b/public_test_cases/p01903/input.1.txt
@@ -0,0 +1,5 @@
+2 2 4
+1 3 4
+2 4 2
+0 3 3
+4 0 5
diff --git a/public_test_cases/p01903/output.0.txt b/public_test_cases/p01903/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01903/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01903/output.1.txt b/public_test_cases/p01903/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01903/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01904/input.0.txt b/public_test_cases/p01904/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01904/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01904/input.1.txt b/public_test_cases/p01904/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01904/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01904/output.0.txt b/public_test_cases/p01904/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01904/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01904/output.1.txt b/public_test_cases/p01904/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01904/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01905/input.0.txt b/public_test_cases/p01905/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a74b3c2309d5dee0e16c0639409cbe4bfd6f1f9e
--- /dev/null
+++ b/public_test_cases/p01905/input.0.txt
@@ -0,0 +1 @@
+2 0
diff --git a/public_test_cases/p01905/input.1.txt b/public_test_cases/p01905/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a74b3c2309d5dee0e16c0639409cbe4bfd6f1f9e
--- /dev/null
+++ b/public_test_cases/p01905/input.1.txt
@@ -0,0 +1 @@
+2 0
diff --git a/public_test_cases/p01905/output.0.txt b/public_test_cases/p01905/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01905/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01905/output.1.txt b/public_test_cases/p01905/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01905/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01906/input.0.txt b/public_test_cases/p01906/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d863f6b9f5cc5a4ee14e9b3511335036bc91a8a9
--- /dev/null
+++ b/public_test_cases/p01906/input.0.txt
@@ -0,0 +1,2 @@
+8 2
+23 61 57 13 91 41 79 41
diff --git a/public_test_cases/p01906/input.1.txt b/public_test_cases/p01906/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d863f6b9f5cc5a4ee14e9b3511335036bc91a8a9
--- /dev/null
+++ b/public_test_cases/p01906/input.1.txt
@@ -0,0 +1,2 @@
+8 2
+23 61 57 13 91 41 79 41
diff --git a/public_test_cases/p01906/output.0.txt b/public_test_cases/p01906/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cd1cfa2cfe0f845d31839e6c8500e55df8fad41
--- /dev/null
+++ b/public_test_cases/p01906/output.0.txt
@@ -0,0 +1 @@
+170
diff --git a/public_test_cases/p01906/output.1.txt b/public_test_cases/p01906/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cd1cfa2cfe0f845d31839e6c8500e55df8fad41
--- /dev/null
+++ b/public_test_cases/p01906/output.1.txt
@@ -0,0 +1 @@
+170
diff --git a/public_test_cases/p01907/input.0.txt b/public_test_cases/p01907/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..223a798543ab777a8ebe23f2bdbade4f8c70c914
--- /dev/null
+++ b/public_test_cases/p01907/input.0.txt
@@ -0,0 +1,5 @@
+0.75
+4
+1 2 1
+2 3 3
+3 4 10
diff --git a/public_test_cases/p01907/input.1.txt b/public_test_cases/p01907/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..223a798543ab777a8ebe23f2bdbade4f8c70c914
--- /dev/null
+++ b/public_test_cases/p01907/input.1.txt
@@ -0,0 +1,5 @@
+0.75
+4
+1 2 1
+2 3 3
+3 4 10
diff --git a/public_test_cases/p01907/output.0.txt b/public_test_cases/p01907/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b45d359a2b8ead6faaf7190967a9f69dddd0c1d
--- /dev/null
+++ b/public_test_cases/p01907/output.0.txt
@@ -0,0 +1 @@
+24.8569335938
diff --git a/public_test_cases/p01907/output.1.txt b/public_test_cases/p01907/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b45d359a2b8ead6faaf7190967a9f69dddd0c1d
--- /dev/null
+++ b/public_test_cases/p01907/output.1.txt
@@ -0,0 +1 @@
+24.8569335938
diff --git a/public_test_cases/p01908/input.0.txt b/public_test_cases/p01908/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77e4e8fc999c8ad5c5b511953d04529b7bc5f169
--- /dev/null
+++ b/public_test_cases/p01908/input.0.txt
@@ -0,0 +1,6 @@
+5
+password
+login
+admin
+root
+master
diff --git a/public_test_cases/p01908/input.1.txt b/public_test_cases/p01908/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77e4e8fc999c8ad5c5b511953d04529b7bc5f169
--- /dev/null
+++ b/public_test_cases/p01908/input.1.txt
@@ -0,0 +1,6 @@
+5
+password
+login
+admin
+root
+master
diff --git a/public_test_cases/p01908/output.0.txt b/public_test_cases/p01908/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p01908/output.0.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p01908/output.1.txt b/public_test_cases/p01908/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p01908/output.1.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p01909/input.0.txt b/public_test_cases/p01909/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9ad3634cdaf27386c1d4aa6e744801cbf98bbc8
--- /dev/null
+++ b/public_test_cases/p01909/input.0.txt
@@ -0,0 +1,2 @@
+RRLUDDD
+2
diff --git a/public_test_cases/p01909/input.1.txt b/public_test_cases/p01909/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9ad3634cdaf27386c1d4aa6e744801cbf98bbc8
--- /dev/null
+++ b/public_test_cases/p01909/input.1.txt
@@ -0,0 +1,2 @@
+RRLUDDD
+2
diff --git a/public_test_cases/p01909/output.0.txt b/public_test_cases/p01909/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01909/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01909/output.1.txt b/public_test_cases/p01909/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01909/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01910/input.0.txt b/public_test_cases/p01910/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9babbcd3bffa056c2509a3d98a07a6dea1229ed
--- /dev/null
+++ b/public_test_cases/p01910/input.0.txt
@@ -0,0 +1,7 @@
+4 4 2 2
+1 2 1
+2 3 1
+3 4 5
+4 1 7
+1 4 5
+2 4 3
diff --git a/public_test_cases/p01910/input.1.txt b/public_test_cases/p01910/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9babbcd3bffa056c2509a3d98a07a6dea1229ed
--- /dev/null
+++ b/public_test_cases/p01910/input.1.txt
@@ -0,0 +1,7 @@
+4 4 2 2
+1 2 1
+2 3 1
+3 4 5
+4 1 7
+1 4 5
+2 4 3
diff --git a/public_test_cases/p01910/output.0.txt b/public_test_cases/p01910/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01910/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01910/output.1.txt b/public_test_cases/p01910/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01910/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01911/input.0.txt b/public_test_cases/p01911/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53ff10394b6a2fc3df04d100530fdd3e4211b242
--- /dev/null
+++ b/public_test_cases/p01911/input.0.txt
@@ -0,0 +1,3 @@
+2 2 1 2
+1 2 10 100
+1 2 5 500
diff --git a/public_test_cases/p01911/input.1.txt b/public_test_cases/p01911/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53ff10394b6a2fc3df04d100530fdd3e4211b242
--- /dev/null
+++ b/public_test_cases/p01911/input.1.txt
@@ -0,0 +1,3 @@
+2 2 1 2
+1 2 10 100
+1 2 5 500
diff --git a/public_test_cases/p01911/output.0.txt b/public_test_cases/p01911/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01911/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01911/output.1.txt b/public_test_cases/p01911/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01911/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01912/input.0.txt b/public_test_cases/p01912/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..472b649024d21b2b50c31b181c8a6cffc7ac933d
--- /dev/null
+++ b/public_test_cases/p01912/input.0.txt
@@ -0,0 +1,5 @@
+2 2 2
+1 0 0 1
+0 0 1 0
+0 0
+0 1
diff --git a/public_test_cases/p01912/input.1.txt b/public_test_cases/p01912/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..472b649024d21b2b50c31b181c8a6cffc7ac933d
--- /dev/null
+++ b/public_test_cases/p01912/input.1.txt
@@ -0,0 +1,5 @@
+2 2 2
+1 0 0 1
+0 0 1 0
+0 0
+0 1
diff --git a/public_test_cases/p01912/output.0.txt b/public_test_cases/p01912/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01912/output.0.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01912/output.1.txt b/public_test_cases/p01912/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01912/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01913/input.0.txt b/public_test_cases/p01913/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da124372a0293306ceec035f46daef689af8844
--- /dev/null
+++ b/public_test_cases/p01913/input.0.txt
@@ -0,0 +1,5 @@
+5 4 2
+1 2 2
+2 3 1
+1 4 2
+4 5 1
diff --git a/public_test_cases/p01913/input.1.txt b/public_test_cases/p01913/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da124372a0293306ceec035f46daef689af8844
--- /dev/null
+++ b/public_test_cases/p01913/input.1.txt
@@ -0,0 +1,5 @@
+5 4 2
+1 2 2
+2 3 1
+1 4 2
+4 5 1
diff --git a/public_test_cases/p01913/output.0.txt b/public_test_cases/p01913/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01913/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01913/output.1.txt b/public_test_cases/p01913/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01913/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01914/input.0.txt b/public_test_cases/p01914/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c726086897279c1cf54d4ece41ad3d78b456567
--- /dev/null
+++ b/public_test_cases/p01914/input.0.txt
@@ -0,0 +1,6 @@
+5
+3 5
+7 4
+11 9
+3 7
+7 8
diff --git a/public_test_cases/p01914/output.0.txt b/public_test_cases/p01914/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01914/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01915/input.0.txt b/public_test_cases/p01915/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2650ccf89f8b5638e3267fc60a1dc641fd6a238
--- /dev/null
+++ b/public_test_cases/p01915/input.0.txt
@@ -0,0 +1,5 @@
+3 2 2
+50 65 70
+80 100 80
+90 65 45
+1 1
diff --git a/public_test_cases/p01915/input.1.txt b/public_test_cases/p01915/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2650ccf89f8b5638e3267fc60a1dc641fd6a238
--- /dev/null
+++ b/public_test_cases/p01915/input.1.txt
@@ -0,0 +1,5 @@
+3 2 2
+50 65 70
+80 100 80
+90 65 45
+1 1
diff --git a/public_test_cases/p01915/output.0.txt b/public_test_cases/p01915/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..188ccfe56495a62c5492ae41e8147c5123e25562
--- /dev/null
+++ b/public_test_cases/p01915/output.0.txt
@@ -0,0 +1 @@
+225
diff --git a/public_test_cases/p01915/output.1.txt b/public_test_cases/p01915/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..188ccfe56495a62c5492ae41e8147c5123e25562
--- /dev/null
+++ b/public_test_cases/p01915/output.1.txt
@@ -0,0 +1 @@
+225
diff --git a/public_test_cases/p01916/input.0.txt b/public_test_cases/p01916/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1ac4b5588b8f72838fbac0e6307f795e05a1b42
--- /dev/null
+++ b/public_test_cases/p01916/input.0.txt
@@ -0,0 +1 @@
+hcpc
diff --git a/public_test_cases/p01916/input.1.txt b/public_test_cases/p01916/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1ac4b5588b8f72838fbac0e6307f795e05a1b42
--- /dev/null
+++ b/public_test_cases/p01916/input.1.txt
@@ -0,0 +1 @@
+hcpc
diff --git a/public_test_cases/p01916/output.0.txt b/public_test_cases/p01916/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01916/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01916/output.1.txt b/public_test_cases/p01916/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01916/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01917/input.0.txt b/public_test_cases/p01917/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c2c0b92b74ac5ee672622146d25569f149a0515
--- /dev/null
+++ b/public_test_cases/p01917/input.0.txt
@@ -0,0 +1,11 @@
+9
+9 8 7 6 5 4 3 2 1
+1 1 1
+2 2 2
+3 3 3
+4 4 4
+5 5 5
+6 6 6
+7 7 7
+8 8 8
+9 9 9
diff --git a/public_test_cases/p01917/input.1.txt b/public_test_cases/p01917/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c2c0b92b74ac5ee672622146d25569f149a0515
--- /dev/null
+++ b/public_test_cases/p01917/input.1.txt
@@ -0,0 +1,11 @@
+9
+9 8 7 6 5 4 3 2 1
+1 1 1
+2 2 2
+3 3 3
+4 4 4
+5 5 5
+6 6 6
+7 7 7
+8 8 8
+9 9 9
diff --git a/public_test_cases/p01917/output.0.txt b/public_test_cases/p01917/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01917/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01917/output.1.txt b/public_test_cases/p01917/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01917/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01918/input.1.txt b/public_test_cases/p01918/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01918/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01918/output.1.txt b/public_test_cases/p01918/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01918/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01919/input.0.txt b/public_test_cases/p01919/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0deec6fcc66b102ff7353519ccebd9e938ef2d6
--- /dev/null
+++ b/public_test_cases/p01919/input.0.txt
@@ -0,0 +1,7 @@
+4 4
+1 2 3
+2 3 1
+2 4 5
+3 4 2
+5
+4 5 6
diff --git a/public_test_cases/p01919/input.1.txt b/public_test_cases/p01919/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0deec6fcc66b102ff7353519ccebd9e938ef2d6
--- /dev/null
+++ b/public_test_cases/p01919/input.1.txt
@@ -0,0 +1,7 @@
+4 4
+1 2 3
+2 3 1
+2 4 5
+3 4 2
+5
+4 5 6
diff --git a/public_test_cases/p01919/output.0.txt b/public_test_cases/p01919/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p01919/output.0.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p01919/output.1.txt b/public_test_cases/p01919/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p01919/output.1.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p01920/input.0.txt b/public_test_cases/p01920/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2a06c6c1ec401acf3a31fe6718fab0f4585c5b8
--- /dev/null
+++ b/public_test_cases/p01920/input.0.txt
@@ -0,0 +1,6 @@
+10
+0101100110
+3
+3 3 1
+1 6 0
+2 5 1
diff --git a/public_test_cases/p01920/input.1.txt b/public_test_cases/p01920/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2a06c6c1ec401acf3a31fe6718fab0f4585c5b8
--- /dev/null
+++ b/public_test_cases/p01920/input.1.txt
@@ -0,0 +1,6 @@
+10
+0101100110
+3
+3 3 1
+1 6 0
+2 5 1
diff --git a/public_test_cases/p01920/output.0.txt b/public_test_cases/p01920/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p01920/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p01920/output.1.txt b/public_test_cases/p01920/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p01920/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p01921/input.0.txt b/public_test_cases/p01921/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cea2b75b65fe293834f406708c28448964bd10aa
--- /dev/null
+++ b/public_test_cases/p01921/input.0.txt
@@ -0,0 +1,9 @@
+6 4
+1 2
+2 3
+2 4
+5 6
+4
+2 3
+3 1
+3 4
diff --git a/public_test_cases/p01921/input.1.txt b/public_test_cases/p01921/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cea2b75b65fe293834f406708c28448964bd10aa
--- /dev/null
+++ b/public_test_cases/p01921/input.1.txt
@@ -0,0 +1,9 @@
+6 4
+1 2
+2 3
+2 4
+5 6
+4
+2 3
+3 1
+3 4
diff --git a/public_test_cases/p01921/output.0.txt b/public_test_cases/p01921/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01921/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01921/output.1.txt b/public_test_cases/p01921/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01921/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01922/input.0.txt b/public_test_cases/p01922/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0905b124efff5d89e46313458b57528d04ab2e63
--- /dev/null
+++ b/public_test_cases/p01922/input.0.txt
@@ -0,0 +1,4 @@
+5
+3 4 2 1 5
+3
+1 2 3
diff --git a/public_test_cases/p01922/input.1.txt b/public_test_cases/p01922/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0905b124efff5d89e46313458b57528d04ab2e63
--- /dev/null
+++ b/public_test_cases/p01922/input.1.txt
@@ -0,0 +1,4 @@
+5
+3 4 2 1 5
+3
+1 2 3
diff --git a/public_test_cases/p01922/output.0.txt b/public_test_cases/p01922/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01922/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01922/output.1.txt b/public_test_cases/p01922/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01922/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01923/input.0.txt b/public_test_cases/p01923/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c32c0543ef6bdb410a252c2f67bce1f1284be900
--- /dev/null
+++ b/public_test_cases/p01923/input.0.txt
@@ -0,0 +1,60 @@
+5 3
+1 1
+2 3
+3 2
+3 5
+2 1
+4 2
+1 7
+2 1
+1 3
+1 5
+6 1
+1 3
+1 2
+1 8
+1 2
+1 7
+1 6
+20 9
+4 10
+2 4
+5 3
+6 6
+6 3
+7 4
+8 10
+4 6
+7 5
+1 8
+5 7
+1 5
+6 6
+9 9
+5 8
+6 7
+1 4
+6 4
+7 10
+3 5
+19 6
+4 1
+6 5
+5 10
+1 10
+3 10
+4 6
+2 3
+5 4
+2 10
+1 8
+3 4
+3 1
+5 4
+1 10
+1 3
+5 6
+5 2
+1 10
+2 3
+0 0
diff --git a/public_test_cases/p01923/input.1.txt b/public_test_cases/p01923/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c32c0543ef6bdb410a252c2f67bce1f1284be900
--- /dev/null
+++ b/public_test_cases/p01923/input.1.txt
@@ -0,0 +1,60 @@
+5 3
+1 1
+2 3
+3 2
+3 5
+2 1
+4 2
+1 7
+2 1
+1 3
+1 5
+6 1
+1 3
+1 2
+1 8
+1 2
+1 7
+1 6
+20 9
+4 10
+2 4
+5 3
+6 6
+6 3
+7 4
+8 10
+4 6
+7 5
+1 8
+5 7
+1 5
+6 6
+9 9
+5 8
+6 7
+1 4
+6 4
+7 10
+3 5
+19 6
+4 1
+6 5
+5 10
+1 10
+3 10
+4 6
+2 3
+5 4
+2 10
+1 8
+3 4
+3 1
+5 4
+1 10
+1 3
+5 6
+5 2
+1 10
+2 3
+0 0
diff --git a/public_test_cases/p01923/output.0.txt b/public_test_cases/p01923/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c0c68183fedadf22b8c32154da38ca63978ac5
--- /dev/null
+++ b/public_test_cases/p01923/output.0.txt
@@ -0,0 +1,5 @@
+9
+8
+8
+71
+51
diff --git a/public_test_cases/p01923/output.1.txt b/public_test_cases/p01923/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c0c68183fedadf22b8c32154da38ca63978ac5
--- /dev/null
+++ b/public_test_cases/p01923/output.1.txt
@@ -0,0 +1,5 @@
+9
+8
+8
+71
+51
diff --git a/public_test_cases/p01924/input.0.txt b/public_test_cases/p01924/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7ec46dfeb16b9891435b2054f7fa0816d1dcd3e
--- /dev/null
+++ b/public_test_cases/p01924/input.0.txt
@@ -0,0 +1,40 @@
+5 2 3
+3
+5
+1
+2
+3
+3 100 100
+3
+3
+4
+20 3 8
+3
+2
+6
+1
+9
+1
+8
+4
+2
+2
+8
+1
+8
+8
+2
+5
+3
+4
+3
+8
+7 2 2
+0
+2
+5
+2
+5
+2
+1
+0 0 0
diff --git a/public_test_cases/p01924/input.1.txt b/public_test_cases/p01924/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7ec46dfeb16b9891435b2054f7fa0816d1dcd3e
--- /dev/null
+++ b/public_test_cases/p01924/input.1.txt
@@ -0,0 +1,40 @@
+5 2 3
+3
+5
+1
+2
+3
+3 100 100
+3
+3
+4
+20 3 8
+3
+2
+6
+1
+9
+1
+8
+4
+2
+2
+8
+1
+8
+8
+2
+5
+3
+4
+3
+8
+7 2 2
+0
+2
+5
+2
+5
+2
+1
+0 0 0
diff --git a/public_test_cases/p01924/output.0.txt b/public_test_cases/p01924/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..044c9d5af28d7fdbace639d177cb6f46eb0ec4ae
--- /dev/null
+++ b/public_test_cases/p01924/output.0.txt
@@ -0,0 +1,4 @@
+3
+0
+11
+5
diff --git a/public_test_cases/p01924/output.1.txt b/public_test_cases/p01924/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..044c9d5af28d7fdbace639d177cb6f46eb0ec4ae
--- /dev/null
+++ b/public_test_cases/p01924/output.1.txt
@@ -0,0 +1,4 @@
+3
+0
+11
+5
diff --git a/public_test_cases/p01925/input.0.txt b/public_test_cases/p01925/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdce3d929a478d0db656a0b683ad5c3bab0dc7d8
--- /dev/null
+++ b/public_test_cases/p01925/input.0.txt
@@ -0,0 +1,19 @@
+3 2
+5 2 1 3
+8 2 2 3
+2 3
+8 2 1 2
+3 1 1
+5 1 2
+2 5
+100 1 1
+100 1 1
+100 1 1
+100 1 1
+100 1 1
+3 4
+5 1 1
+5 1 2
+100 2 1 3
+100 2 2 3
+0 0
diff --git a/public_test_cases/p01925/input.1.txt b/public_test_cases/p01925/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdce3d929a478d0db656a0b683ad5c3bab0dc7d8
--- /dev/null
+++ b/public_test_cases/p01925/input.1.txt
@@ -0,0 +1,19 @@
+3 2
+5 2 1 3
+8 2 2 3
+2 3
+8 2 1 2
+3 1 1
+5 1 2
+2 5
+100 1 1
+100 1 1
+100 1 1
+100 1 1
+100 1 1
+3 4
+5 1 1
+5 1 2
+100 2 1 3
+100 2 2 3
+0 0
diff --git a/public_test_cases/p01925/output.0.txt b/public_test_cases/p01925/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87bad9f21aa06c0f0ce39e7f324d9c03ab1215a8
--- /dev/null
+++ b/public_test_cases/p01925/output.0.txt
@@ -0,0 +1,4 @@
+14
+11
+501
+196
diff --git a/public_test_cases/p01925/output.1.txt b/public_test_cases/p01925/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87bad9f21aa06c0f0ce39e7f324d9c03ab1215a8
--- /dev/null
+++ b/public_test_cases/p01925/output.1.txt
@@ -0,0 +1,4 @@
+14
+11
+501
+196
diff --git a/public_test_cases/p01926/input.0.txt b/public_test_cases/p01926/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dbb9f0b67d721465f81d76b442b030f42305f87
--- /dev/null
+++ b/public_test_cases/p01926/input.0.txt
@@ -0,0 +1,9 @@
+3 4
+1 5 9
+1 2
+1
+2 10
+1 1000000
+2 4
+1 10
+0 0
diff --git a/public_test_cases/p01926/input.1.txt b/public_test_cases/p01926/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dbb9f0b67d721465f81d76b442b030f42305f87
--- /dev/null
+++ b/public_test_cases/p01926/input.1.txt
@@ -0,0 +1,9 @@
+3 4
+1 5 9
+1 2
+1
+2 10
+1 1000000
+2 4
+1 10
+0 0
diff --git a/public_test_cases/p01926/output.0.txt b/public_test_cases/p01926/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc79f16af730be6a0464b62d1a7ab2c3f3f32826
--- /dev/null
+++ b/public_test_cases/p01926/output.0.txt
@@ -0,0 +1,4 @@
+3
+-1
+499996
+4
diff --git a/public_test_cases/p01926/output.1.txt b/public_test_cases/p01926/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc79f16af730be6a0464b62d1a7ab2c3f3f32826
--- /dev/null
+++ b/public_test_cases/p01926/output.1.txt
@@ -0,0 +1,4 @@
+3
+-1
+499996
+4
diff --git a/public_test_cases/p01927/input.0.txt b/public_test_cases/p01927/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c11651f2d054b390ffc6faf0bddda0b0cf573549
--- /dev/null
+++ b/public_test_cases/p01927/input.0.txt
@@ -0,0 +1,28 @@
+2
+4 1 0 0 1 0 1 1 0 1
+4 2 2 2 3 2 3 3 2 3
+60 45
+-1 -1 4 4
+4
+4 1 0 0 3 1 1 2 0 1
+3 2 10 7 8 2 12 4
+6 8 7 12 8 13 9 15 10 19 11 24 10 25
+5 4 16 2 16 4 12 8 14 2 15 0
+167 38
+3 3 15 21
+12
+4 3 -8 -3 -9 -3 -9 -5 -8 -6
+4 5 -4 -5 -7 -5 -7 -6 -5 -6
+4 2 -4 1 -5 1 -5 -4 -4 -4
+4 1 -1 1 -2 1 -2 -4 -1 -3
+4 2 2 3 -1 3 -2 2 3 2
+4 1 3 1 2 1 2 -3 3 -4
+4 7 1 0 0 0 0 -1 1 -1
+4 4 9 5 7 5 7 4 10 4
+4 3 6 5 5 4 5 0 6 0
+4 5 8 -1 5 -1 6 -2 8 -2
+4 1 10 0 9 0 9 -2 10 -1
+4 6 10 2 8 2 8 1 10 1
+131 78
+-10 10 10 -10
+0
diff --git a/public_test_cases/p01927/input.1.txt b/public_test_cases/p01927/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c11651f2d054b390ffc6faf0bddda0b0cf573549
--- /dev/null
+++ b/public_test_cases/p01927/input.1.txt
@@ -0,0 +1,28 @@
+2
+4 1 0 0 1 0 1 1 0 1
+4 2 2 2 3 2 3 3 2 3
+60 45
+-1 -1 4 4
+4
+4 1 0 0 3 1 1 2 0 1
+3 2 10 7 8 2 12 4
+6 8 7 12 8 13 9 15 10 19 11 24 10 25
+5 4 16 2 16 4 12 8 14 2 15 0
+167 38
+3 3 15 21
+12
+4 3 -8 -3 -9 -3 -9 -5 -8 -6
+4 5 -4 -5 -7 -5 -7 -6 -5 -6
+4 2 -4 1 -5 1 -5 -4 -4 -4
+4 1 -1 1 -2 1 -2 -4 -1 -3
+4 2 2 3 -1 3 -2 2 3 2
+4 1 3 1 2 1 2 -3 3 -4
+4 7 1 0 0 0 0 -1 1 -1
+4 4 9 5 7 5 7 4 10 4
+4 3 6 5 5 4 5 0 6 0
+4 5 8 -1 5 -1 6 -2 8 -2
+4 1 10 0 9 0 9 -2 10 -1
+4 6 10 2 8 2 8 1 10 1
+131 78
+-10 10 10 -10
+0
diff --git a/public_test_cases/p01927/output.0.txt b/public_test_cases/p01927/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af2953525a6f9d45d6229574e24773986d017675
--- /dev/null
+++ b/public_test_cases/p01927/output.0.txt
@@ -0,0 +1,3 @@
+1.93185
+7.87174
+20.86840
diff --git a/public_test_cases/p01927/output.1.txt b/public_test_cases/p01927/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af2953525a6f9d45d6229574e24773986d017675
--- /dev/null
+++ b/public_test_cases/p01927/output.1.txt
@@ -0,0 +1,3 @@
+1.93185
+7.87174
+20.86840
diff --git a/public_test_cases/p01928/input.0.txt b/public_test_cases/p01928/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..173db2cbbacfb345ff62a664c53d453252fd9796
--- /dev/null
+++ b/public_test_cases/p01928/input.0.txt
@@ -0,0 +1,31 @@
+2
+1 2 3
+4 2 3
+3
+2 5 2
+3 3 4
+5 5 5
+5
+1 1 1
+2 2 2
+3 3 3
+4 4 4
+5 5 5
+5
+1 1 1
+2 1 1
+3 1 1
+4 1 1
+5 1 1
+10
+3 1 4
+1 5 9
+2 6 5
+3 5 8
+9 7 9
+3 2 3
+8 4 6
+2 6 4
+3 3 8
+3 2 7
+0
diff --git a/public_test_cases/p01928/input.1.txt b/public_test_cases/p01928/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..173db2cbbacfb345ff62a664c53d453252fd9796
--- /dev/null
+++ b/public_test_cases/p01928/input.1.txt
@@ -0,0 +1,31 @@
+2
+1 2 3
+4 2 3
+3
+2 5 2
+3 3 4
+5 5 5
+5
+1 1 1
+2 2 2
+3 3 3
+4 4 4
+5 5 5
+5
+1 1 1
+2 1 1
+3 1 1
+4 1 1
+5 1 1
+10
+3 1 4
+1 5 9
+2 6 5
+3 5 8
+9 7 9
+3 2 3
+8 4 6
+2 6 4
+3 3 8
+3 2 7
+0
diff --git a/public_test_cases/p01928/output.0.txt b/public_test_cases/p01928/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa056ff5bd556b78bdb49de3bd2cef129ec4c334
--- /dev/null
+++ b/public_test_cases/p01928/output.0.txt
@@ -0,0 +1,5 @@
+24
+145
+125
+15
+864
diff --git a/public_test_cases/p01928/output.1.txt b/public_test_cases/p01928/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa056ff5bd556b78bdb49de3bd2cef129ec4c334
--- /dev/null
+++ b/public_test_cases/p01928/output.1.txt
@@ -0,0 +1,5 @@
+24
+145
+125
+15
+864
diff --git a/public_test_cases/p01929/input.0.txt b/public_test_cases/p01929/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fef1169f7908b7337a7631c9a164c640fb8a2143
--- /dev/null
+++ b/public_test_cases/p01929/input.0.txt
@@ -0,0 +1,13 @@
+2
+2 1
+3
+3 1 2
+10
+2 1 1 1 1 1 1 1 1 1
+8
+2 1 4 3 3 7 6 6
+25
+2 3 2 5 4 5 8 7 8 11 10 13 12 15 14 17 16 19 18 21 20 23 22 25 24
+10
+2 1 4 3 6 5 8 7 10 9
+0
diff --git a/public_test_cases/p01929/input.1.txt b/public_test_cases/p01929/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fef1169f7908b7337a7631c9a164c640fb8a2143
--- /dev/null
+++ b/public_test_cases/p01929/input.1.txt
@@ -0,0 +1,13 @@
+2
+2 1
+3
+3 1 2
+10
+2 1 1 1 1 1 1 1 1 1
+8
+2 1 4 3 3 7 6 6
+25
+2 3 2 5 4 5 8 7 8 11 10 13 12 15 14 17 16 19 18 21 20 23 22 25 24
+10
+2 1 4 3 6 5 8 7 10 9
+0
diff --git a/public_test_cases/p01929/output.0.txt b/public_test_cases/p01929/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95b249863d089b8b2576ef54a66b30b96a2964ad
--- /dev/null
+++ b/public_test_cases/p01929/output.0.txt
@@ -0,0 +1,6 @@
+2
+0
+0
+144
+633544712
+11520
diff --git a/public_test_cases/p01929/output.1.txt b/public_test_cases/p01929/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95b249863d089b8b2576ef54a66b30b96a2964ad
--- /dev/null
+++ b/public_test_cases/p01929/output.1.txt
@@ -0,0 +1,6 @@
+2
+0
+0
+144
+633544712
+11520
diff --git a/public_test_cases/p01930/input.0.txt b/public_test_cases/p01930/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d51a01e074773cecb752c7ade2bb9db4b70e7313
--- /dev/null
+++ b/public_test_cases/p01930/input.0.txt
@@ -0,0 +1,48 @@
+3 2
+#.#
+...
+#.#
+###
+...
+###
+3 2
+#.#
+...
+#.#
+###
+#.#
+###
+3 3
+#..
+..#
+###
+..#
+#.#
+#..
+#..
+..#
+###
+5 3
+.....
+#####
+##...
+##.##
+##...
+.....
+#####
+.....
+#####
+.....
+...##
+##.##
+...##
+#####
+.....
+3 2
+#.#
+...
+#.#
+#.#
+#.#
+#.#
+0 0
diff --git a/public_test_cases/p01930/input.1.txt b/public_test_cases/p01930/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d51a01e074773cecb752c7ade2bb9db4b70e7313
--- /dev/null
+++ b/public_test_cases/p01930/input.1.txt
@@ -0,0 +1,48 @@
+3 2
+#.#
+...
+#.#
+###
+...
+###
+3 2
+#.#
+...
+#.#
+###
+#.#
+###
+3 3
+#..
+..#
+###
+..#
+#.#
+#..
+#..
+..#
+###
+5 3
+.....
+#####
+##...
+##.##
+##...
+.....
+#####
+.....
+#####
+.....
+...##
+##.##
+...##
+#####
+.....
+3 2
+#.#
+...
+#.#
+#.#
+#.#
+#.#
+0 0
diff --git a/public_test_cases/p01930/output.0.txt b/public_test_cases/p01930/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3eaaa976a12419d5482e7c274428d53fd513fbd9
--- /dev/null
+++ b/public_test_cases/p01930/output.0.txt
@@ -0,0 +1,5 @@
+Yes
+No
+Yes
+Yes
+Yes
diff --git a/public_test_cases/p01930/output.1.txt b/public_test_cases/p01930/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3eaaa976a12419d5482e7c274428d53fd513fbd9
--- /dev/null
+++ b/public_test_cases/p01930/output.1.txt
@@ -0,0 +1,5 @@
+Yes
+No
+Yes
+Yes
+Yes
diff --git a/public_test_cases/p01931/input.0.txt b/public_test_cases/p01931/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb0b071202cf6e76e2166e1d3fc804898085fe1e
--- /dev/null
+++ b/public_test_cases/p01931/input.0.txt
@@ -0,0 +1,2 @@
+3
+oxx
diff --git a/public_test_cases/p01931/input.1.txt b/public_test_cases/p01931/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb0b071202cf6e76e2166e1d3fc804898085fe1e
--- /dev/null
+++ b/public_test_cases/p01931/input.1.txt
@@ -0,0 +1,2 @@
+3
+oxx
diff --git a/public_test_cases/p01931/output.0.txt b/public_test_cases/p01931/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01931/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01931/output.1.txt b/public_test_cases/p01931/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01931/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01932/input.0.txt b/public_test_cases/p01932/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3c72cdbdf428c2db340126290d6bc0c97af350a
--- /dev/null
+++ b/public_test_cases/p01932/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+2 2
+3 3
diff --git a/public_test_cases/p01932/input.1.txt b/public_test_cases/p01932/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3c72cdbdf428c2db340126290d6bc0c97af350a
--- /dev/null
+++ b/public_test_cases/p01932/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+2 2
+3 3
diff --git a/public_test_cases/p01932/output.0.txt b/public_test_cases/p01932/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01932/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01932/output.1.txt b/public_test_cases/p01932/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01932/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01933/input.0.txt b/public_test_cases/p01933/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd2e84906e098f19b9565cc906c64c28ac4faa7d
--- /dev/null
+++ b/public_test_cases/p01933/input.0.txt
@@ -0,0 +1,7 @@
+6 3
+0
+0
+2
+3
+4
+5
diff --git a/public_test_cases/p01933/input.1.txt b/public_test_cases/p01933/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd2e84906e098f19b9565cc906c64c28ac4faa7d
--- /dev/null
+++ b/public_test_cases/p01933/input.1.txt
@@ -0,0 +1,7 @@
+6 3
+0
+0
+2
+3
+4
+5
diff --git a/public_test_cases/p01933/output.0.txt b/public_test_cases/p01933/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01933/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01933/output.1.txt b/public_test_cases/p01933/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01933/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01934/input.0.txt b/public_test_cases/p01934/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..769dd5481d9086b9c0a974d1478f23f6efaef1e5
--- /dev/null
+++ b/public_test_cases/p01934/input.0.txt
@@ -0,0 +1,3 @@
+3 1 2 3
+1 2 3
+1 3
diff --git a/public_test_cases/p01934/input.1.txt b/public_test_cases/p01934/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..769dd5481d9086b9c0a974d1478f23f6efaef1e5
--- /dev/null
+++ b/public_test_cases/p01934/input.1.txt
@@ -0,0 +1,3 @@
+3 1 2 3
+1 2 3
+1 3
diff --git a/public_test_cases/p01934/output.0.txt b/public_test_cases/p01934/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01934/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01934/output.1.txt b/public_test_cases/p01934/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01934/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01935/input.0.txt b/public_test_cases/p01935/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f52febe3f211db846060157b4ea8bbd1024d170
--- /dev/null
+++ b/public_test_cases/p01935/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+0 1 3
+0 2 4
+1 3 1
+2 3 5
diff --git a/public_test_cases/p01935/input.1.txt b/public_test_cases/p01935/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f52febe3f211db846060157b4ea8bbd1024d170
--- /dev/null
+++ b/public_test_cases/p01935/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+0 1 3
+0 2 4
+1 3 1
+2 3 5
diff --git a/public_test_cases/p01935/output.0.txt b/public_test_cases/p01935/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01935/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01935/output.1.txt b/public_test_cases/p01935/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01935/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01936/input.0.txt b/public_test_cases/p01936/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p01936/input.0.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p01936/input.1.txt b/public_test_cases/p01936/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p01936/input.1.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p01936/output.0.txt b/public_test_cases/p01936/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01936/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01936/output.1.txt b/public_test_cases/p01936/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01936/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01937/input.0.txt b/public_test_cases/p01937/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f411292201defd20f4fb760b4e6042083aa0cc5
--- /dev/null
+++ b/public_test_cases/p01937/input.0.txt
@@ -0,0 +1,2 @@
+2 3
+0 1
diff --git a/public_test_cases/p01937/output.0.txt b/public_test_cases/p01937/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01937/output.0.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01938/input.0.txt b/public_test_cases/p01938/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b038ea6336851987bb5eb97323ed2ebd029d1c3
--- /dev/null
+++ b/public_test_cases/p01938/input.0.txt
@@ -0,0 +1 @@
+AIZU
diff --git a/public_test_cases/p01938/input.1.txt b/public_test_cases/p01938/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b038ea6336851987bb5eb97323ed2ebd029d1c3
--- /dev/null
+++ b/public_test_cases/p01938/input.1.txt
@@ -0,0 +1 @@
+AIZU
diff --git a/public_test_cases/p01938/output.0.txt b/public_test_cases/p01938/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01938/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01938/output.1.txt b/public_test_cases/p01938/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01938/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01939/input.0.txt b/public_test_cases/p01939/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d39e5c5feac60fd373e005bd07a76a84ac645906
--- /dev/null
+++ b/public_test_cases/p01939/input.0.txt
@@ -0,0 +1 @@
+3 9
diff --git a/public_test_cases/p01939/input.1.txt b/public_test_cases/p01939/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d39e5c5feac60fd373e005bd07a76a84ac645906
--- /dev/null
+++ b/public_test_cases/p01939/input.1.txt
@@ -0,0 +1 @@
+3 9
diff --git a/public_test_cases/p01939/output.0.txt b/public_test_cases/p01939/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p01939/output.0.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p01939/output.1.txt b/public_test_cases/p01939/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p01939/output.1.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p01940/input.0.txt b/public_test_cases/p01940/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d45d8c486e4d78951d65679c33428e858ad5d9e
--- /dev/null
+++ b/public_test_cases/p01940/input.0.txt
@@ -0,0 +1,2 @@
+aizucamp
+azu
diff --git a/public_test_cases/p01940/input.1.txt b/public_test_cases/p01940/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d45d8c486e4d78951d65679c33428e858ad5d9e
--- /dev/null
+++ b/public_test_cases/p01940/input.1.txt
@@ -0,0 +1,2 @@
+aizucamp
+azu
diff --git a/public_test_cases/p01940/output.0.txt b/public_test_cases/p01940/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p01940/output.0.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p01940/output.1.txt b/public_test_cases/p01940/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p01940/output.1.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p01941/input.0.txt b/public_test_cases/p01941/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6dfdf8756a26baea975c6265a50c445751eb47b
--- /dev/null
+++ b/public_test_cases/p01941/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+3 2 2
+2 1 1
+2 1 1
diff --git a/public_test_cases/p01941/input.1.txt b/public_test_cases/p01941/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6dfdf8756a26baea975c6265a50c445751eb47b
--- /dev/null
+++ b/public_test_cases/p01941/input.1.txt
@@ -0,0 +1,4 @@
+3 4
+3 2 2
+2 1 1
+2 1 1
diff --git a/public_test_cases/p01941/output.0.txt b/public_test_cases/p01941/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01941/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01941/output.1.txt b/public_test_cases/p01941/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01941/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01942/input.0.txt b/public_test_cases/p01942/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50a21259ef4f150b0f098f52fab2a019dd5092ea
--- /dev/null
+++ b/public_test_cases/p01942/input.0.txt
@@ -0,0 +1,7 @@
+3 3 3 6
+1 0 1 1
+2 2 1 1 2 2
+3 1 1 1
+4 0 2 1
+5 2 1 1 2 2
+6 2 2 1 3 3
diff --git a/public_test_cases/p01942/input.1.txt b/public_test_cases/p01942/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50a21259ef4f150b0f098f52fab2a019dd5092ea
--- /dev/null
+++ b/public_test_cases/p01942/input.1.txt
@@ -0,0 +1,7 @@
+3 3 3 6
+1 0 1 1
+2 2 1 1 2 2
+3 1 1 1
+4 0 2 1
+5 2 1 1 2 2
+6 2 2 1 3 3
diff --git a/public_test_cases/p01942/output.0.txt b/public_test_cases/p01942/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdc2fe4d72cec2f877d8b5383ca313365ba637ad
--- /dev/null
+++ b/public_test_cases/p01942/output.0.txt
@@ -0,0 +1,3 @@
+0 1
+1 1
+0 1
diff --git a/public_test_cases/p01942/output.1.txt b/public_test_cases/p01942/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdc2fe4d72cec2f877d8b5383ca313365ba637ad
--- /dev/null
+++ b/public_test_cases/p01942/output.1.txt
@@ -0,0 +1,3 @@
+0 1
+1 1
+0 1
diff --git a/public_test_cases/p01943/input.0.txt b/public_test_cases/p01943/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..496d66a31864e06a4889ef004a5ab09b3c392a84
--- /dev/null
+++ b/public_test_cases/p01943/input.0.txt
@@ -0,0 +1,7 @@
+6 2.01
+1.10
+1.44
+0.91
+2.00
+1.12
+1.55
diff --git a/public_test_cases/p01943/input.1.txt b/public_test_cases/p01943/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..496d66a31864e06a4889ef004a5ab09b3c392a84
--- /dev/null
+++ b/public_test_cases/p01943/input.1.txt
@@ -0,0 +1,7 @@
+6 2.01
+1.10
+1.44
+0.91
+2.00
+1.12
+1.55
diff --git a/public_test_cases/p01943/output.0.txt b/public_test_cases/p01943/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01943/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01943/output.1.txt b/public_test_cases/p01943/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01943/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01944/input.0.txt b/public_test_cases/p01944/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..907f2902889c6b089a49a0305bbad4bcbbf7692b
--- /dev/null
+++ b/public_test_cases/p01944/input.0.txt
@@ -0,0 +1,4 @@
+10 3 2
+3
+6
+6
diff --git a/public_test_cases/p01944/input.1.txt b/public_test_cases/p01944/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..907f2902889c6b089a49a0305bbad4bcbbf7692b
--- /dev/null
+++ b/public_test_cases/p01944/input.1.txt
@@ -0,0 +1,4 @@
+10 3 2
+3
+6
+6
diff --git a/public_test_cases/p01944/output.0.txt b/public_test_cases/p01944/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aedefeabcfa0bedc1510b11e38ca8839f5466c97
--- /dev/null
+++ b/public_test_cases/p01944/output.0.txt
@@ -0,0 +1,10 @@
+1
+0
+4
+2
+0
+0
+5
+0
+0
+4
diff --git a/public_test_cases/p01944/output.1.txt b/public_test_cases/p01944/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aedefeabcfa0bedc1510b11e38ca8839f5466c97
--- /dev/null
+++ b/public_test_cases/p01944/output.1.txt
@@ -0,0 +1,10 @@
+1
+0
+4
+2
+0
+0
+5
+0
+0
+4
diff --git a/public_test_cases/p01945/input.0.txt b/public_test_cases/p01945/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c47afa871a3d1fc88990f80db1af350f40f3d5fd
--- /dev/null
+++ b/public_test_cases/p01945/input.0.txt
@@ -0,0 +1 @@
+((*)())
diff --git a/public_test_cases/p01945/input.1.txt b/public_test_cases/p01945/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72e8ffc0db8aad71a934dd11e5968bd5109e54b4
--- /dev/null
+++ b/public_test_cases/p01945/input.1.txt
@@ -0,0 +1 @@
+*
diff --git a/public_test_cases/p01945/input.2.txt b/public_test_cases/p01945/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fb4b9aa3db8f270a5de985602c98b54cde7b8df
--- /dev/null
+++ b/public_test_cases/p01945/input.2.txt
@@ -0,0 +1 @@
+((((((((((*))))))))))
diff --git a/public_test_cases/p01945/input.3.txt b/public_test_cases/p01945/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c47afa871a3d1fc88990f80db1af350f40f3d5fd
--- /dev/null
+++ b/public_test_cases/p01945/input.3.txt
@@ -0,0 +1 @@
+((*)())
diff --git a/public_test_cases/p01945/input.4.txt b/public_test_cases/p01945/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d71687e03d0a624381de0a64653eb6ef1f44cc4
--- /dev/null
+++ b/public_test_cases/p01945/input.4.txt
@@ -0,0 +1 @@
+(*)
diff --git a/public_test_cases/p01945/input.5.txt b/public_test_cases/p01945/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a219bc5909c6467fd9d84625fde23ee7edbff4af
--- /dev/null
+++ b/public_test_cases/p01945/input.5.txt
@@ -0,0 +1 @@
+()*()
diff --git a/public_test_cases/p01945/input.6.txt b/public_test_cases/p01945/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..303af8607c42b655f10acad00393e208869b58ed
--- /dev/null
+++ b/public_test_cases/p01945/input.6.txt
@@ -0,0 +1 @@
+(()())*
diff --git a/public_test_cases/p01945/output.0.txt b/public_test_cases/p01945/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01945/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01945/output.1.txt b/public_test_cases/p01945/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01945/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01945/output.2.txt b/public_test_cases/p01945/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01945/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01945/output.3.txt b/public_test_cases/p01945/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01945/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01945/output.4.txt b/public_test_cases/p01945/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01945/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01945/output.5.txt b/public_test_cases/p01945/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01945/output.5.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01945/output.6.txt b/public_test_cases/p01945/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01945/output.6.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01946/input.0.txt b/public_test_cases/p01946/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..669457ccfa878c863561f866c9b7fea0f3d19e0a
--- /dev/null
+++ b/public_test_cases/p01946/input.0.txt
@@ -0,0 +1,2 @@
+65 60 3
+-2 3 -4
diff --git a/public_test_cases/p01946/input.1.txt b/public_test_cases/p01946/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8bfb4ffdca647c9b4721a0cfdd6ab212365c108
--- /dev/null
+++ b/public_test_cases/p01946/input.1.txt
@@ -0,0 +1,2 @@
+100000 1 1
+-1
diff --git a/public_test_cases/p01946/input.2.txt b/public_test_cases/p01946/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..669457ccfa878c863561f866c9b7fea0f3d19e0a
--- /dev/null
+++ b/public_test_cases/p01946/input.2.txt
@@ -0,0 +1,2 @@
+65 60 3
+-2 3 -4
diff --git a/public_test_cases/p01946/input.3.txt b/public_test_cases/p01946/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eef2b867cc2c631c35da3b90187d12cce0f005a8
--- /dev/null
+++ b/public_test_cases/p01946/input.3.txt
@@ -0,0 +1,2 @@
+60 59 1
+-123
diff --git a/public_test_cases/p01946/input.4.txt b/public_test_cases/p01946/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dfec965a7c4264c2e1e580f9115c3e3362892d0
--- /dev/null
+++ b/public_test_cases/p01946/input.4.txt
@@ -0,0 +1,2 @@
+65 60 3
+-2 10 -3
diff --git a/public_test_cases/p01946/output.0.txt b/public_test_cases/p01946/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01946/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01946/output.1.txt b/public_test_cases/p01946/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90ef1ea404f5aeb59bc233448c4e724c91f3fff8
--- /dev/null
+++ b/public_test_cases/p01946/output.1.txt
@@ -0,0 +1 @@
+99999
diff --git a/public_test_cases/p01946/output.2.txt b/public_test_cases/p01946/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01946/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01946/output.3.txt b/public_test_cases/p01946/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01946/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01946/output.4.txt b/public_test_cases/p01946/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01946/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01947/input.0.txt b/public_test_cases/p01947/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6fb4129d3510a1bb46e556d9f19aa52bb200231
--- /dev/null
+++ b/public_test_cases/p01947/input.0.txt
@@ -0,0 +1,13 @@
+3
+1 2
+4 7
+8 6
+2 3
+8 9
+5 3
+4 6
+5 6
+7 8
+1 4
+2 6
+5 9
diff --git a/public_test_cases/p01947/input.1.txt b/public_test_cases/p01947/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf4743512467c4b5e2e5b0185b5a397a41aad6a6
--- /dev/null
+++ b/public_test_cases/p01947/input.1.txt
@@ -0,0 +1,25 @@
+4
+12 1
+3 8
+10 7
+13 14
+8 2
+9 12
+6 14
+11 3
+3 13
+1 10
+11 15
+4 15
+4 9
+14 10
+5 7
+2 5
+6 1
+14 5
+16 11
+15 6
+15 13
+9 6
+16 4
+13 2
diff --git a/public_test_cases/p01947/input.2.txt b/public_test_cases/p01947/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6fb4129d3510a1bb46e556d9f19aa52bb200231
--- /dev/null
+++ b/public_test_cases/p01947/input.2.txt
@@ -0,0 +1,13 @@
+3
+1 2
+4 7
+8 6
+2 3
+8 9
+5 3
+4 6
+5 6
+7 8
+1 4
+2 6
+5 9
diff --git a/public_test_cases/p01947/output.0.txt b/public_test_cases/p01947/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d337ccbb6f7dc025fdb447ea52c69bb8ef78366
--- /dev/null
+++ b/public_test_cases/p01947/output.0.txt
@@ -0,0 +1,3 @@
+7 4 1
+8 6 2
+9 5 3
diff --git a/public_test_cases/p01947/output.1.txt b/public_test_cases/p01947/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e20a835cbef8bef1df383b1f6238099a32c9b801
--- /dev/null
+++ b/public_test_cases/p01947/output.1.txt
@@ -0,0 +1,4 @@
+8 2 5 7
+3 13 14 10
+11 15 6 1
+16 4 9 12
diff --git a/public_test_cases/p01947/output.2.txt b/public_test_cases/p01947/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d337ccbb6f7dc025fdb447ea52c69bb8ef78366
--- /dev/null
+++ b/public_test_cases/p01947/output.2.txt
@@ -0,0 +1,3 @@
+7 4 1
+8 6 2
+9 5 3
diff --git a/public_test_cases/p01948/input.0.txt b/public_test_cases/p01948/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1543f4c6674477b39db8596305540662731ad3e
--- /dev/null
+++ b/public_test_cases/p01948/input.0.txt
@@ -0,0 +1,3 @@
+2
+2
+1 40 40 20
diff --git a/public_test_cases/p01948/input.1.txt b/public_test_cases/p01948/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1543f4c6674477b39db8596305540662731ad3e
--- /dev/null
+++ b/public_test_cases/p01948/input.1.txt
@@ -0,0 +1,3 @@
+2
+2
+1 40 40 20
diff --git a/public_test_cases/p01948/input.2.txt b/public_test_cases/p01948/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85772cd476dfd5e0d045b7d4096caed2211e5b1c
--- /dev/null
+++ b/public_test_cases/p01948/input.2.txt
@@ -0,0 +1,5 @@
+4
+4
+1 34 33 33
+2 33 34 33
+3 33 33 34
diff --git a/public_test_cases/p01948/input.3.txt b/public_test_cases/p01948/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c61f8998b567174c805b6b64927d9c982a71625
--- /dev/null
+++ b/public_test_cases/p01948/input.3.txt
@@ -0,0 +1,3 @@
+2
+1
+2 50 50 0
diff --git a/public_test_cases/p01948/input.4.txt b/public_test_cases/p01948/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8367d07a2b738c26f2d361a0bd3052d54cc036ae
--- /dev/null
+++ b/public_test_cases/p01948/input.4.txt
@@ -0,0 +1,4 @@
+3
+2
+1 50 0 50
+3 0 0 100
diff --git a/public_test_cases/p01948/input.5.txt b/public_test_cases/p01948/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e834d4ef328422fa629335ebfe24ebf87a7986ec
--- /dev/null
+++ b/public_test_cases/p01948/input.5.txt
@@ -0,0 +1,4 @@
+3
+2
+3 40 40 20
+1 30 10 60
diff --git a/public_test_cases/p01948/output.0.txt b/public_test_cases/p01948/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aec258df73d39d2122706793921981f4a0f672f8
--- /dev/null
+++ b/public_test_cases/p01948/output.0.txt
@@ -0,0 +1 @@
+0.8
diff --git a/public_test_cases/p01948/output.1.txt b/public_test_cases/p01948/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aec258df73d39d2122706793921981f4a0f672f8
--- /dev/null
+++ b/public_test_cases/p01948/output.1.txt
@@ -0,0 +1 @@
+0.8
diff --git a/public_test_cases/p01948/output.2.txt b/public_test_cases/p01948/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2af596e4381be571fab707008a197f30fe476863
--- /dev/null
+++ b/public_test_cases/p01948/output.2.txt
@@ -0,0 +1 @@
+0.6591870816
diff --git a/public_test_cases/p01948/output.3.txt b/public_test_cases/p01948/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb3c4fe4eebcdea3da0790cc0ba74cb286ec4f4
--- /dev/null
+++ b/public_test_cases/p01948/output.3.txt
@@ -0,0 +1 @@
+0.5
diff --git a/public_test_cases/p01948/output.4.txt b/public_test_cases/p01948/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01948/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01948/output.5.txt b/public_test_cases/p01948/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a9e6bda259d91234404902623fbf7367f54f350
--- /dev/null
+++ b/public_test_cases/p01948/output.5.txt
@@ -0,0 +1 @@
+0.27
diff --git a/public_test_cases/p01949/input.0.txt b/public_test_cases/p01949/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f5a495016ce063b5cb8e3d94c23dba2df9088b3
--- /dev/null
+++ b/public_test_cases/p01949/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1+2
++9*
+1*5
diff --git a/public_test_cases/p01949/input.1.txt b/public_test_cases/p01949/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26ba746fb9cbb2907e72b1a65c971c46cf06ae5a
--- /dev/null
+++ b/public_test_cases/p01949/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+2+2+1
++1+1+
+1+2+2
++1+1+
+1+1+2
diff --git a/public_test_cases/p01949/input.2.txt b/public_test_cases/p01949/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f5a495016ce063b5cb8e3d94c23dba2df9088b3
--- /dev/null
+++ b/public_test_cases/p01949/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+1+2
++9*
+1*5
diff --git a/public_test_cases/p01949/input.3.txt b/public_test_cases/p01949/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be93f7a8c3156e11e688d61d16c99d6ac159cdfb
--- /dev/null
+++ b/public_test_cases/p01949/input.3.txt
@@ -0,0 +1,2 @@
+1 31
+9*9*9*9*9*9*9*9*9*9*9*9*9*9*9*9
diff --git a/public_test_cases/p01949/input.4.txt b/public_test_cases/p01949/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63abf3b81b0bba9e6d0e43efe84d5b4003c43fa6
--- /dev/null
+++ b/public_test_cases/p01949/input.4.txt
@@ -0,0 +1,10 @@
+9 7
+8+9*4*8
+*5*2+3+
+1*3*2*2
+*5*1+9+
+1+2*2*2
+*3*6*2*
+7*7+6*5
+*5+7*2+
+3+3*6+8
diff --git a/public_test_cases/p01949/output.0.txt b/public_test_cases/p01949/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e5feb5256930f3cae636754eef8a244ede164eb
--- /dev/null
+++ b/public_test_cases/p01949/output.0.txt
@@ -0,0 +1 @@
+46
diff --git a/public_test_cases/p01949/output.1.txt b/public_test_cases/p01949/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p01949/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p01949/output.2.txt b/public_test_cases/p01949/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e5feb5256930f3cae636754eef8a244ede164eb
--- /dev/null
+++ b/public_test_cases/p01949/output.2.txt
@@ -0,0 +1 @@
+46
diff --git a/public_test_cases/p01949/output.3.txt b/public_test_cases/p01949/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01949/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01949/output.4.txt b/public_test_cases/p01949/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e181e392f3f4335f715471be2c5b7f4678abe8a
--- /dev/null
+++ b/public_test_cases/p01949/output.4.txt
@@ -0,0 +1 @@
+86408
diff --git a/public_test_cases/p01950/input.0.txt b/public_test_cases/p01950/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc88773658f25592fbc224fa48bd285513c79119
--- /dev/null
+++ b/public_test_cases/p01950/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p01950/input.1.txt b/public_test_cases/p01950/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e5b02d4ce0ae2d57ab906325e55bf8f13d9caca
--- /dev/null
+++ b/public_test_cases/p01950/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+3 4
+4 1
diff --git a/public_test_cases/p01950/input.2.txt b/public_test_cases/p01950/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60fdf3feec682bec0be8b20e3d7ac2805bf0c2e0
--- /dev/null
+++ b/public_test_cases/p01950/input.2.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p01950/input.3.txt b/public_test_cases/p01950/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc88773658f25592fbc224fa48bd285513c79119
--- /dev/null
+++ b/public_test_cases/p01950/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p01950/input.4.txt b/public_test_cases/p01950/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..858b6d34dab18272b8312dcc7cf26dde380206f4
--- /dev/null
+++ b/public_test_cases/p01950/input.4.txt
@@ -0,0 +1,10 @@
+8 9
+2 1
+3 5
+1 6
+2 5
+3 1
+8 4
+2 7
+7 1
+7 4
diff --git a/public_test_cases/p01950/output.0.txt b/public_test_cases/p01950/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01950/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01950/output.1.txt b/public_test_cases/p01950/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01950/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01950/output.2.txt b/public_test_cases/p01950/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01950/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01950/output.3.txt b/public_test_cases/p01950/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01950/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01950/output.4.txt b/public_test_cases/p01950/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01950/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01951/input.0.txt b/public_test_cases/p01951/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fa7c687ea05ea41fd8d7a4ed02878cff52eb68c
--- /dev/null
+++ b/public_test_cases/p01951/input.0.txt
@@ -0,0 +1,4 @@
+3 3 2 10
+5 3 7
+2 6 1
+3 4 1
diff --git a/public_test_cases/p01951/input.1.txt b/public_test_cases/p01951/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d69df8cd3a92f86e208772791c2348aecf72520f
--- /dev/null
+++ b/public_test_cases/p01951/input.1.txt
@@ -0,0 +1,3 @@
+2 2 3 100
+0 0
+0 0
diff --git a/public_test_cases/p01951/input.2.txt b/public_test_cases/p01951/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fa7c687ea05ea41fd8d7a4ed02878cff52eb68c
--- /dev/null
+++ b/public_test_cases/p01951/input.2.txt
@@ -0,0 +1,4 @@
+3 3 2 10
+5 3 7
+2 6 1
+3 4 1
diff --git a/public_test_cases/p01951/input.3.txt b/public_test_cases/p01951/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..402a3fa698ef7bef0d84a44c8e16159181384a2b
--- /dev/null
+++ b/public_test_cases/p01951/input.3.txt
@@ -0,0 +1,3 @@
+2 3 1 5
+4 8 -2
+-2 -5 -3
diff --git a/public_test_cases/p01951/input.4.txt b/public_test_cases/p01951/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3d993947aa38a48f3c9f464448e924d93a693c1
--- /dev/null
+++ b/public_test_cases/p01951/input.4.txt
@@ -0,0 +1,3 @@
+2 3 1 5
+9 8 -2
+-2 -5 -3
diff --git a/public_test_cases/p01951/output.0.txt b/public_test_cases/p01951/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01951/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01951/output.1.txt b/public_test_cases/p01951/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01951/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01951/output.2.txt b/public_test_cases/p01951/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01951/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01951/output.3.txt b/public_test_cases/p01951/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01951/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01951/output.4.txt b/public_test_cases/p01951/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01951/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01952/input.0.txt b/public_test_cases/p01952/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d388b4eadff276798da2f43164ccc3ea05a6638d
--- /dev/null
+++ b/public_test_cases/p01952/input.0.txt
@@ -0,0 +1,5 @@
+4 20 20 1
+10 0
+20 10
+10 20
+0 10
diff --git a/public_test_cases/p01952/input.1.txt b/public_test_cases/p01952/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d388b4eadff276798da2f43164ccc3ea05a6638d
--- /dev/null
+++ b/public_test_cases/p01952/input.1.txt
@@ -0,0 +1,5 @@
+4 20 20 1
+10 0
+20 10
+10 20
+0 10
diff --git a/public_test_cases/p01952/input.2.txt b/public_test_cases/p01952/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82f77eb92b499e332f76548c269cf282f5247bae
--- /dev/null
+++ b/public_test_cases/p01952/input.2.txt
@@ -0,0 +1,2 @@
+1 3 3 1
+114 514
diff --git a/public_test_cases/p01952/input.3.txt b/public_test_cases/p01952/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47cfd251930b93cb2ec30b04d2ac448b7eb4bd09
--- /dev/null
+++ b/public_test_cases/p01952/input.3.txt
@@ -0,0 +1,3 @@
+2 5 55 1
+0 0
+30 40
diff --git a/public_test_cases/p01952/input.4.txt b/public_test_cases/p01952/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e07bbb9afb1282201ae3d84e24e5143e9f1be5c7
--- /dev/null
+++ b/public_test_cases/p01952/input.4.txt
@@ -0,0 +1,3 @@
+2 5 49 1
+0 0
+30 40
diff --git a/public_test_cases/p01952/output.0.txt b/public_test_cases/p01952/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01952/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01952/output.1.txt b/public_test_cases/p01952/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01952/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01952/output.2.txt b/public_test_cases/p01952/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01952/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01952/output.3.txt b/public_test_cases/p01952/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01952/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01952/output.4.txt b/public_test_cases/p01952/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01952/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01953/input.0.txt b/public_test_cases/p01953/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fa3c9a23c2eb2bd033c225d710cbb7e44c4fab5
--- /dev/null
+++ b/public_test_cases/p01953/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+2 3
+3 4
+1 2
diff --git a/public_test_cases/p01953/input.1.txt b/public_test_cases/p01953/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fa3c9a23c2eb2bd033c225d710cbb7e44c4fab5
--- /dev/null
+++ b/public_test_cases/p01953/input.1.txt
@@ -0,0 +1,4 @@
+3 2
+2 3
+3 4
+1 2
diff --git a/public_test_cases/p01953/input.2.txt b/public_test_cases/p01953/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a4991803b010ef25fdced6ca6135f4893e17612
--- /dev/null
+++ b/public_test_cases/p01953/input.2.txt
@@ -0,0 +1,4 @@
+3 2
+1 2
+2 3
+3 3
diff --git a/public_test_cases/p01953/input.3.txt b/public_test_cases/p01953/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67433e21440b1ade46ad574e049c06b0eb5a1702
--- /dev/null
+++ b/public_test_cases/p01953/input.3.txt
@@ -0,0 +1,11 @@
+10 5
+8 3
+10 6
+5 8
+2 7
+7 6
+1 9
+9 3
+6 2
+4 5
+3 5
diff --git a/public_test_cases/p01953/output.0.txt b/public_test_cases/p01953/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01953/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01953/output.1.txt b/public_test_cases/p01953/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p01953/output.1.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p01953/output.2.txt b/public_test_cases/p01953/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01953/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01953/output.3.txt b/public_test_cases/p01953/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a83cc2149104b8a747d6e244678d888ad668719
--- /dev/null
+++ b/public_test_cases/p01953/output.3.txt
@@ -0,0 +1 @@
+824
diff --git a/public_test_cases/p01954/input.0.txt b/public_test_cases/p01954/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ca1cce1f5e8e85e9a2df9b3526cff428f8fed95
--- /dev/null
+++ b/public_test_cases/p01954/input.0.txt
@@ -0,0 +1,3 @@
+2 2 23 2
+7 10
+9 10
diff --git a/public_test_cases/p01954/output.0.txt b/public_test_cases/p01954/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94d36aad18523dd282e91587eaf1a1777fb668fc
--- /dev/null
+++ b/public_test_cases/p01954/output.0.txt
@@ -0,0 +1,2 @@
+1
+-1
diff --git a/public_test_cases/p01955/input.0.txt b/public_test_cases/p01955/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9dbf780d5ad89326fc3032b04f479c15504d750
--- /dev/null
+++ b/public_test_cases/p01955/input.0.txt
@@ -0,0 +1,5 @@
+5 4
+2 5
+2 4
+1 3
+1 2
diff --git a/public_test_cases/p01955/output.0.txt b/public_test_cases/p01955/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a825dc69e3cfda6edec6a429bb5216ef4a974ba7
--- /dev/null
+++ b/public_test_cases/p01955/output.0.txt
@@ -0,0 +1,4 @@
+2
+3
+6
+5
diff --git a/public_test_cases/p01956/input.0.txt b/public_test_cases/p01956/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..633ad538253835b590d83f697a47f8a749264817
--- /dev/null
+++ b/public_test_cases/p01956/input.0.txt
@@ -0,0 +1,2 @@
+4 3 3
+1 1 2 3
diff --git a/public_test_cases/p01956/input.1.txt b/public_test_cases/p01956/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..633ad538253835b590d83f697a47f8a749264817
--- /dev/null
+++ b/public_test_cases/p01956/input.1.txt
@@ -0,0 +1,2 @@
+4 3 3
+1 1 2 3
diff --git a/public_test_cases/p01956/input.2.txt b/public_test_cases/p01956/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e21094b59bb0a30ec6608ff710e141165b63d91
--- /dev/null
+++ b/public_test_cases/p01956/input.2.txt
@@ -0,0 +1,2 @@
+4 1 4
+3 3 2 2
diff --git a/public_test_cases/p01956/input.3.txt b/public_test_cases/p01956/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..649981c34a049add6de109445452e146e7a44263
--- /dev/null
+++ b/public_test_cases/p01956/input.3.txt
@@ -0,0 +1,2 @@
+6 2 2
+0 2 2 2 2 0
diff --git a/public_test_cases/p01956/input.4.txt b/public_test_cases/p01956/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48983665f1adb9a653f0eaac2a67896dc0be8cdd
--- /dev/null
+++ b/public_test_cases/p01956/input.4.txt
@@ -0,0 +1,2 @@
+8 7 15
+5 0 9 14 0 4 4 15
diff --git a/public_test_cases/p01956/input.5.txt b/public_test_cases/p01956/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..327753ca07946a7dd20e5280681cd8d2e9629843
--- /dev/null
+++ b/public_test_cases/p01956/input.5.txt
@@ -0,0 +1,2 @@
+8 10 18
+2 12 16 14 18 4 17 16
diff --git a/public_test_cases/p01956/output.0.txt b/public_test_cases/p01956/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01956/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01956/output.1.txt b/public_test_cases/p01956/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p01956/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p01956/output.2.txt b/public_test_cases/p01956/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01956/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01956/output.3.txt b/public_test_cases/p01956/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p01956/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p01956/output.4.txt b/public_test_cases/p01956/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c412452bcfc9cbc73c6192ccfd05f645660af96
--- /dev/null
+++ b/public_test_cases/p01956/output.4.txt
@@ -0,0 +1 @@
+189
diff --git a/public_test_cases/p01956/output.5.txt b/public_test_cases/p01956/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b0cffbc0d7de40e36731a5d9d259e3d31195262
--- /dev/null
+++ b/public_test_cases/p01956/output.5.txt
@@ -0,0 +1 @@
+370
diff --git a/public_test_cases/p01957/input.0.txt b/public_test_cases/p01957/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eced92523f443619679576dcebe8ad21c99a23b9
--- /dev/null
+++ b/public_test_cases/p01957/input.0.txt
@@ -0,0 +1,5 @@
+[[m-y]-[a-o]]
+o 0
+a 1
+y 2
+m 0
diff --git a/public_test_cases/p01957/input.1.txt b/public_test_cases/p01957/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eced92523f443619679576dcebe8ad21c99a23b9
--- /dev/null
+++ b/public_test_cases/p01957/input.1.txt
@@ -0,0 +1,5 @@
+[[m-y]-[a-o]]
+o 0
+a 1
+y 2
+m 0
diff --git a/public_test_cases/p01957/input.2.txt b/public_test_cases/p01957/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d57b8d7f874ef080370c1e94c24e9610a01fa7e0
--- /dev/null
+++ b/public_test_cases/p01957/input.2.txt
@@ -0,0 +1,5 @@
+[[r-i]-[m-e]]
+e 0
+r 1
+i 1
+m 2
diff --git a/public_test_cases/p01957/output.0.txt b/public_test_cases/p01957/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01957/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01957/output.1.txt b/public_test_cases/p01957/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01957/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01957/output.2.txt b/public_test_cases/p01957/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p01957/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p01958/input.0.txt b/public_test_cases/p01958/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0531b1e0cd73f5ab2f39c779a702dc3545029df5
--- /dev/null
+++ b/public_test_cases/p01958/input.0.txt
@@ -0,0 +1 @@
+1 9
diff --git a/public_test_cases/p01958/input.1.txt b/public_test_cases/p01958/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a479b8a5479bbd920d7582921326ed00dfdd75fa
--- /dev/null
+++ b/public_test_cases/p01958/input.1.txt
@@ -0,0 +1 @@
+180 180
diff --git a/public_test_cases/p01958/input.2.txt b/public_test_cases/p01958/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d22f9e08719128d7ddc9ff8c6b03769224129850
--- /dev/null
+++ b/public_test_cases/p01958/input.2.txt
@@ -0,0 +1 @@
+999000001 1000000000
diff --git a/public_test_cases/p01958/input.3.txt b/public_test_cases/p01958/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f602801fb25e839b870e19c713ed5c10e0df45b
--- /dev/null
+++ b/public_test_cases/p01958/input.3.txt
@@ -0,0 +1 @@
+575 57577
diff --git a/public_test_cases/p01958/input.4.txt b/public_test_cases/p01958/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f47271a268f55c4a903abeaea71f0efdbfd334a
--- /dev/null
+++ b/public_test_cases/p01958/input.4.txt
@@ -0,0 +1 @@
+9900001 10000000
diff --git a/public_test_cases/p01958/input.5.txt b/public_test_cases/p01958/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0531b1e0cd73f5ab2f39c779a702dc3545029df5
--- /dev/null
+++ b/public_test_cases/p01958/input.5.txt
@@ -0,0 +1 @@
+1 9
diff --git a/public_test_cases/p01958/input.6.txt b/public_test_cases/p01958/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed40cec79baa7d9dbb01e18ad634edd038ad2259
--- /dev/null
+++ b/public_test_cases/p01958/input.6.txt
@@ -0,0 +1 @@
+10 20
diff --git a/public_test_cases/p01958/output.0.txt b/public_test_cases/p01958/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01958/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01958/output.1.txt b/public_test_cases/p01958/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01958/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01958/output.2.txt b/public_test_cases/p01958/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0edbf1e5d1453b18ec729a95fe712e07ae2a0e6
--- /dev/null
+++ b/public_test_cases/p01958/output.2.txt
@@ -0,0 +1 @@
+592955
diff --git a/public_test_cases/p01958/output.3.txt b/public_test_cases/p01958/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7b5bacab45b9ec55e29cc500fc4d56cef5046db
--- /dev/null
+++ b/public_test_cases/p01958/output.3.txt
@@ -0,0 +1 @@
+36172
diff --git a/public_test_cases/p01958/output.4.txt b/public_test_cases/p01958/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21067ceaae348347bb65f8e7dcb95d26a003b539
--- /dev/null
+++ b/public_test_cases/p01958/output.4.txt
@@ -0,0 +1 @@
+60997
diff --git a/public_test_cases/p01958/output.5.txt b/public_test_cases/p01958/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01958/output.5.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01958/output.6.txt b/public_test_cases/p01958/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01958/output.6.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01959/input.0.txt b/public_test_cases/p01959/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94955a1a7a8c8e1b1757bcbbf84f48730d143e4a
--- /dev/null
+++ b/public_test_cases/p01959/input.0.txt
@@ -0,0 +1,4 @@
+3 3 1 3
+1 2 1
+2 3 5
+1 3 3
diff --git a/public_test_cases/p01959/input.1.txt b/public_test_cases/p01959/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94955a1a7a8c8e1b1757bcbbf84f48730d143e4a
--- /dev/null
+++ b/public_test_cases/p01959/input.1.txt
@@ -0,0 +1,4 @@
+3 3 1 3
+1 2 1
+2 3 5
+1 3 3
diff --git a/public_test_cases/p01959/input.2.txt b/public_test_cases/p01959/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc92081ec410c15c832e3ad5e5ec08ee86f84d1c
--- /dev/null
+++ b/public_test_cases/p01959/input.2.txt
@@ -0,0 +1,5 @@
+4 4 1 4
+1 2 1
+2 4 1
+1 3 1
+3 4 1
diff --git a/public_test_cases/p01959/input.3.txt b/public_test_cases/p01959/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c6918bb978584c6096ff3ba1281776ccfdbcd73
--- /dev/null
+++ b/public_test_cases/p01959/input.3.txt
@@ -0,0 +1,5 @@
+5 4 4 1
+1 2 3
+2 3 4
+3 4 5
+4 5 6
diff --git a/public_test_cases/p01959/output.0.txt b/public_test_cases/p01959/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01959/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01959/output.1.txt b/public_test_cases/p01959/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01959/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01959/output.2.txt b/public_test_cases/p01959/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01959/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01959/output.3.txt b/public_test_cases/p01959/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01959/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01960/input.0.txt b/public_test_cases/p01960/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fa10279583c299e9d987e8a5ad331bc6c8704d
--- /dev/null
+++ b/public_test_cases/p01960/input.0.txt
@@ -0,0 +1,2 @@
+2 1
+1 2
diff --git a/public_test_cases/p01960/input.1.txt b/public_test_cases/p01960/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p01960/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p01960/input.2.txt b/public_test_cases/p01960/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dd5792039cef9143d065edba4ed3834d31aef3e
--- /dev/null
+++ b/public_test_cases/p01960/input.2.txt
@@ -0,0 +1,12 @@
+12 2
+1 2
+2 3
+3 4
+4 5
+3 6
+6 7
+7 8
+8 9
+6 10
+10 11
+11 12
diff --git a/public_test_cases/p01960/input.3.txt b/public_test_cases/p01960/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1d25e95a4318578d9c477b4494c903d130698cf
--- /dev/null
+++ b/public_test_cases/p01960/input.3.txt
@@ -0,0 +1,9 @@
+9 3
+1 2
+1 3
+1 4
+4 5
+4 6
+4 7
+7 8
+7 9
diff --git a/public_test_cases/p01960/input.4.txt b/public_test_cases/p01960/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fa10279583c299e9d987e8a5ad331bc6c8704d
--- /dev/null
+++ b/public_test_cases/p01960/input.4.txt
@@ -0,0 +1,2 @@
+2 1
+1 2
diff --git a/public_test_cases/p01960/input.5.txt b/public_test_cases/p01960/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fe35d674515c5762c29108af7db213639d15471
--- /dev/null
+++ b/public_test_cases/p01960/input.5.txt
@@ -0,0 +1,7 @@
+7 3
+1 2
+2 3
+3 4
+4 5
+5 6
+6 7
diff --git a/public_test_cases/p01960/input.6.txt b/public_test_cases/p01960/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e332269a3cb7ab40bdf12a2bc73a868339ba842
--- /dev/null
+++ b/public_test_cases/p01960/input.6.txt
@@ -0,0 +1,3 @@
+3 1
+1 2
+2 3
diff --git a/public_test_cases/p01960/output.0.txt b/public_test_cases/p01960/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01960/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01960/output.1.txt b/public_test_cases/p01960/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01960/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01960/output.2.txt b/public_test_cases/p01960/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01960/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01960/output.3.txt b/public_test_cases/p01960/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01960/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01960/output.4.txt b/public_test_cases/p01960/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01960/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01960/output.5.txt b/public_test_cases/p01960/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01960/output.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01960/output.6.txt b/public_test_cases/p01960/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01960/output.6.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01961/input.0.txt b/public_test_cases/p01961/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0dca9b86cd61cf775896e15b6017ee15f6f7245
--- /dev/null
+++ b/public_test_cases/p01961/input.0.txt
@@ -0,0 +1,12 @@
+11 7
+.......
+.......
+*.....*
+.......
+..@....
+.......
+*......
+.......
+....*..
+.......
+.......
diff --git a/public_test_cases/p01961/input.1.txt b/public_test_cases/p01961/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0dca9b86cd61cf775896e15b6017ee15f6f7245
--- /dev/null
+++ b/public_test_cases/p01961/input.1.txt
@@ -0,0 +1,12 @@
+11 7
+.......
+.......
+*.....*
+.......
+..@....
+.......
+*......
+.......
+....*..
+.......
+.......
diff --git a/public_test_cases/p01961/input.2.txt b/public_test_cases/p01961/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c34543f9a879c4e2bb47531b8ca379c6f8f317be
--- /dev/null
+++ b/public_test_cases/p01961/input.2.txt
@@ -0,0 +1,8 @@
+7 11
+........*..
+...........
+...........
+...........
+....*...*..
+...........
+..*.@...*..
diff --git a/public_test_cases/p01961/output.0.txt b/public_test_cases/p01961/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..021e7f0eb6c3ae716607e685c97a28782d8766d1
--- /dev/null
+++ b/public_test_cases/p01961/output.0.txt
@@ -0,0 +1,11 @@
+.......
+.......
+*#####*
+......#
+..@...#
+..#.###
+*##.#..
+#...#..
+####*..
+.......
+.......
diff --git a/public_test_cases/p01961/output.1.txt b/public_test_cases/p01961/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..021e7f0eb6c3ae716607e685c97a28782d8766d1
--- /dev/null
+++ b/public_test_cases/p01961/output.1.txt
@@ -0,0 +1,11 @@
+.......
+.......
+*#####*
+......#
+..@...#
+..#.###
+*##.#..
+#...#..
+####*..
+.......
+.......
diff --git a/public_test_cases/p01961/output.2.txt b/public_test_cases/p01961/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10948996220820c44a44b3584010343c9fbfe89d
--- /dev/null
+++ b/public_test_cases/p01961/output.2.txt
@@ -0,0 +1,7 @@
+........*..
+........#..
+........#..
+........#..
+..##*##.*..
+..#...#.#..
+..*#@.##*..
diff --git a/public_test_cases/p01962/input.0.txt b/public_test_cases/p01962/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67df85ca1edf7ffcc863a06eaf74a7f16b0b2a33
--- /dev/null
+++ b/public_test_cases/p01962/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 0 0 1 0
+2 0 5 1 5
+4 1 -10 -5 10
diff --git a/public_test_cases/p01962/input.1.txt b/public_test_cases/p01962/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4f2cade6caeb4de9edb6a45847fbeb02598c57b
--- /dev/null
+++ b/public_test_cases/p01962/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 0 0 5 0
+1 0 5 0 0
+1 5 5 0 5
+1 5 0 0 0
diff --git a/public_test_cases/p01962/input.2.txt b/public_test_cases/p01962/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67df85ca1edf7ffcc863a06eaf74a7f16b0b2a33
--- /dev/null
+++ b/public_test_cases/p01962/input.2.txt
@@ -0,0 +1,4 @@
+3
+2 0 0 1 0
+2 0 5 1 5
+4 1 -10 -5 10
diff --git a/public_test_cases/p01962/input.3.txt b/public_test_cases/p01962/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd901b5dc81a1b723a590e77575cd4fa840117c9
--- /dev/null
+++ b/public_test_cases/p01962/input.3.txt
@@ -0,0 +1,4 @@
+3
+1 0 0 5 0
+1 0 5 0 0
+1 5 5 0 5
diff --git a/public_test_cases/p01962/output.0.txt b/public_test_cases/p01962/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01962/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01962/output.1.txt b/public_test_cases/p01962/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01962/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01962/output.2.txt b/public_test_cases/p01962/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01962/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01962/output.3.txt b/public_test_cases/p01962/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01962/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01963/input.0.txt b/public_test_cases/p01963/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8850200815f3d17703e3d04a6a8989a8afb8c1f6
--- /dev/null
+++ b/public_test_cases/p01963/input.0.txt
@@ -0,0 +1,5 @@
+3
+a
+b
+ab
+abab
diff --git a/public_test_cases/p01963/input.1.txt b/public_test_cases/p01963/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8850200815f3d17703e3d04a6a8989a8afb8c1f6
--- /dev/null
+++ b/public_test_cases/p01963/input.1.txt
@@ -0,0 +1,5 @@
+3
+a
+b
+ab
+abab
diff --git a/public_test_cases/p01963/input.2.txt b/public_test_cases/p01963/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e4b2fac062e9e85a33aace2028aa3be655305e8
--- /dev/null
+++ b/public_test_cases/p01963/input.2.txt
@@ -0,0 +1,5 @@
+3
+a
+b
+c
+xyz
diff --git a/public_test_cases/p01963/input.3.txt b/public_test_cases/p01963/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc26e27d8769748a09248f3772db344a479b67e3
--- /dev/null
+++ b/public_test_cases/p01963/input.3.txt
@@ -0,0 +1,12 @@
+10
+a
+aa
+aaa
+aaaa
+aaaaa
+aaaaaa
+aaaaaaa
+aaaaaaaa
+aaaaaaaaa
+aaaaaaaaaa
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
diff --git a/public_test_cases/p01963/input.4.txt b/public_test_cases/p01963/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..630939168e4d6446fbc85210758457eecd41d0bb
--- /dev/null
+++ b/public_test_cases/p01963/input.4.txt
@@ -0,0 +1,9 @@
+7
+abc
+ab
+bc
+a
+b
+c
+aa
+aaabcbccababbc
diff --git a/public_test_cases/p01963/output.0.txt b/public_test_cases/p01963/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01963/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01963/output.1.txt b/public_test_cases/p01963/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p01963/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p01963/output.2.txt b/public_test_cases/p01963/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p01963/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p01963/output.3.txt b/public_test_cases/p01963/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bd76f8525b0cb259824e130119ad22f131a8287
--- /dev/null
+++ b/public_test_cases/p01963/output.3.txt
@@ -0,0 +1 @@
+461695029
diff --git a/public_test_cases/p01963/output.4.txt b/public_test_cases/p01963/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a76256037d61ef7aed02f761d7673513e814e747
--- /dev/null
+++ b/public_test_cases/p01963/output.4.txt
@@ -0,0 +1 @@
+160
diff --git a/public_test_cases/p01964/input.0.txt b/public_test_cases/p01964/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e5b02d4ce0ae2d57ab906325e55bf8f13d9caca
--- /dev/null
+++ b/public_test_cases/p01964/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+3 4
+4 1
diff --git a/public_test_cases/p01964/input.1.txt b/public_test_cases/p01964/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e5b02d4ce0ae2d57ab906325e55bf8f13d9caca
--- /dev/null
+++ b/public_test_cases/p01964/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+3 4
+4 1
diff --git a/public_test_cases/p01964/input.2.txt b/public_test_cases/p01964/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f1da6cc5432201d804dfcd82f56f5a028cd2619
--- /dev/null
+++ b/public_test_cases/p01964/input.2.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+2 3
+3 4
+4 1
+1 3
diff --git a/public_test_cases/p01964/input.3.txt b/public_test_cases/p01964/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20e2573c7dbae5f9ea77c75984fd374daf81a326
--- /dev/null
+++ b/public_test_cases/p01964/input.3.txt
@@ -0,0 +1,14 @@
+5 13
+4 2
+2 4
+1 2
+5 4
+5 1
+2 1
+5 3
+4 3
+1 5
+4 5
+2 3
+5 2
+1 3
diff --git a/public_test_cases/p01964/output.0.txt b/public_test_cases/p01964/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01964/output.0.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01964/output.1.txt b/public_test_cases/p01964/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p01964/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p01964/output.2.txt b/public_test_cases/p01964/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01964/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01964/output.3.txt b/public_test_cases/p01964/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01964/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01965/input.0.txt b/public_test_cases/p01965/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87f0d85f51053c310ee23baefd95f899d9cdc647
--- /dev/null
+++ b/public_test_cases/p01965/input.0.txt
@@ -0,0 +1,3 @@
+2
+3
+1 5
diff --git a/public_test_cases/p01965/input.1.txt b/public_test_cases/p01965/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87f0d85f51053c310ee23baefd95f899d9cdc647
--- /dev/null
+++ b/public_test_cases/p01965/input.1.txt
@@ -0,0 +1,3 @@
+2
+3
+1 5
diff --git a/public_test_cases/p01965/input.2.txt b/public_test_cases/p01965/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a62937b1b7c4ca1e2ede61412e6d46151c854fd5
--- /dev/null
+++ b/public_test_cases/p01965/input.2.txt
@@ -0,0 +1,3 @@
+3
+100 100
+1 2 3
diff --git a/public_test_cases/p01965/input.3.txt b/public_test_cases/p01965/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4898948ae94c1d5ad0accb26d9fe843eee0a4d1a
--- /dev/null
+++ b/public_test_cases/p01965/input.3.txt
@@ -0,0 +1,3 @@
+4
+1 2 3
+1 1 100 100
diff --git a/public_test_cases/p01965/output.0.txt b/public_test_cases/p01965/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01965/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01965/output.1.txt b/public_test_cases/p01965/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01965/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01965/output.2.txt b/public_test_cases/p01965/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p01965/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p01965/output.3.txt b/public_test_cases/p01965/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p01965/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p01966/input.0.txt b/public_test_cases/p01966/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fe1acf65f7309fd2905aee83c0cec4ece94267d
--- /dev/null
+++ b/public_test_cases/p01966/input.0.txt
@@ -0,0 +1,3 @@
+5 2
+1 4 1
+2 3 1
diff --git a/public_test_cases/p01966/input.1.txt b/public_test_cases/p01966/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fe1acf65f7309fd2905aee83c0cec4ece94267d
--- /dev/null
+++ b/public_test_cases/p01966/input.1.txt
@@ -0,0 +1,3 @@
+5 2
+1 4 1
+2 3 1
diff --git a/public_test_cases/p01966/input.2.txt b/public_test_cases/p01966/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a587f1d0ed733b635d48cf07e142e9e2d6d0466a
--- /dev/null
+++ b/public_test_cases/p01966/input.2.txt
@@ -0,0 +1,3 @@
+5 2
+1 3 3
+3 5 1
diff --git a/public_test_cases/p01966/input.3.txt b/public_test_cases/p01966/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..889337c26c0eac0041495ad377aa2598e207fe07
--- /dev/null
+++ b/public_test_cases/p01966/input.3.txt
@@ -0,0 +1,3 @@
+5 2
+1 4 1
+2 3 5
diff --git a/public_test_cases/p01966/input.4.txt b/public_test_cases/p01966/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e622f24fc8e05bdddbbc3d17050dca53e97f674
--- /dev/null
+++ b/public_test_cases/p01966/input.4.txt
@@ -0,0 +1,5 @@
+10 4
+3 5 2
+5 7 5
+8 9 2
+1 7 5
diff --git a/public_test_cases/p01966/output.0.txt b/public_test_cases/p01966/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7290ba859f4adbf90d68526fe0ab1f8cbcf65098
--- /dev/null
+++ b/public_test_cases/p01966/output.0.txt
@@ -0,0 +1,2 @@
+4
+4
diff --git a/public_test_cases/p01966/output.1.txt b/public_test_cases/p01966/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7290ba859f4adbf90d68526fe0ab1f8cbcf65098
--- /dev/null
+++ b/public_test_cases/p01966/output.1.txt
@@ -0,0 +1,2 @@
+4
+4
diff --git a/public_test_cases/p01966/output.2.txt b/public_test_cases/p01966/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6613b568867eb6fb5247be321a988fb430e4d3ad
--- /dev/null
+++ b/public_test_cases/p01966/output.2.txt
@@ -0,0 +1,2 @@
+5
+6
diff --git a/public_test_cases/p01966/output.3.txt b/public_test_cases/p01966/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de78180725a82141b5064f9715b66b2956856254
--- /dev/null
+++ b/public_test_cases/p01966/output.3.txt
@@ -0,0 +1,2 @@
+4
+8
diff --git a/public_test_cases/p01966/output.4.txt b/public_test_cases/p01966/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f78a0f237e83639aa968e3a2c469b90fd628a48b
--- /dev/null
+++ b/public_test_cases/p01966/output.4.txt
@@ -0,0 +1,4 @@
+6
+11
+11
+16
diff --git a/public_test_cases/p01967/input.0.txt b/public_test_cases/p01967/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23a24c1169142ef942a9fb275ebcdb00b46d6eb1
--- /dev/null
+++ b/public_test_cases/p01967/input.0.txt
@@ -0,0 +1,7 @@
+2
+3 3
+4
+1 1 2
+1 2 3
+2 1 3
+2 2 3
diff --git a/public_test_cases/p01967/input.1.txt b/public_test_cases/p01967/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23a24c1169142ef942a9fb275ebcdb00b46d6eb1
--- /dev/null
+++ b/public_test_cases/p01967/input.1.txt
@@ -0,0 +1,7 @@
+2
+3 3
+4
+1 1 2
+1 2 3
+2 1 3
+2 2 3
diff --git a/public_test_cases/p01967/output.0.txt b/public_test_cases/p01967/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01967/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01967/output.1.txt b/public_test_cases/p01967/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01967/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01968/input.0.txt b/public_test_cases/p01968/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..886d7400ee0429b91b212725de269c5fb9d90a2c
--- /dev/null
+++ b/public_test_cases/p01968/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 0 -2 1
diff --git a/public_test_cases/p01968/input.1.txt b/public_test_cases/p01968/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..886d7400ee0429b91b212725de269c5fb9d90a2c
--- /dev/null
+++ b/public_test_cases/p01968/input.1.txt
@@ -0,0 +1,2 @@
+4
+2 0 -2 1
diff --git a/public_test_cases/p01968/output.0.txt b/public_test_cases/p01968/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p01968/output.0.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p01968/output.1.txt b/public_test_cases/p01968/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p01968/output.1.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p01969/input.1.txt b/public_test_cases/p01969/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01969/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01969/output.1.txt b/public_test_cases/p01969/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01969/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01970/input.0.txt b/public_test_cases/p01970/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90a24e94a60392348447c993aafd563a9a740eed
--- /dev/null
+++ b/public_test_cases/p01970/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 3 3
diff --git a/public_test_cases/p01970/input.1.txt b/public_test_cases/p01970/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90a24e94a60392348447c993aafd563a9a740eed
--- /dev/null
+++ b/public_test_cases/p01970/input.1.txt
@@ -0,0 +1,2 @@
+3
+2 3 3
diff --git a/public_test_cases/p01970/output.0.txt b/public_test_cases/p01970/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01970/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01970/output.1.txt b/public_test_cases/p01970/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01970/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01972/input.1.txt b/public_test_cases/p01972/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01972/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01972/output.1.txt b/public_test_cases/p01972/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p01972/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p01973/input.0.txt b/public_test_cases/p01973/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7efcccd5057c48b81cfeb67e6e3c223b7561d520
--- /dev/null
+++ b/public_test_cases/p01973/input.0.txt
@@ -0,0 +1,3 @@
+brainfuck
+1
+fuck
diff --git a/public_test_cases/p01973/input.1.txt b/public_test_cases/p01973/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7efcccd5057c48b81cfeb67e6e3c223b7561d520
--- /dev/null
+++ b/public_test_cases/p01973/input.1.txt
@@ -0,0 +1,3 @@
+brainfuck
+1
+fuck
diff --git a/public_test_cases/p01973/output.0.txt b/public_test_cases/p01973/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01973/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01973/output.1.txt b/public_test_cases/p01973/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01973/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01974/input.0.txt b/public_test_cases/p01974/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b167c3eecb2a31b66956388b791af09c5456189
--- /dev/null
+++ b/public_test_cases/p01974/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 4 7 10
diff --git a/public_test_cases/p01974/input.1.txt b/public_test_cases/p01974/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b167c3eecb2a31b66956388b791af09c5456189
--- /dev/null
+++ b/public_test_cases/p01974/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 2 4 7 10
diff --git a/public_test_cases/p01974/output.0.txt b/public_test_cases/p01974/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f9d3d3eb0246971318bae23c972bdc1422e3277
--- /dev/null
+++ b/public_test_cases/p01974/output.0.txt
@@ -0,0 +1 @@
+2 10
diff --git a/public_test_cases/p01974/output.1.txt b/public_test_cases/p01974/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f9d3d3eb0246971318bae23c972bdc1422e3277
--- /dev/null
+++ b/public_test_cases/p01974/output.1.txt
@@ -0,0 +1 @@
+2 10
diff --git a/public_test_cases/p01975/input.0.txt b/public_test_cases/p01975/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db19b242c5013e1fcafee57a7a486407b6693d1f
--- /dev/null
+++ b/public_test_cases/p01975/input.0.txt
@@ -0,0 +1,3 @@
+5
+1 2 3 4 5
+3 4 2 5 1
diff --git a/public_test_cases/p01975/input.1.txt b/public_test_cases/p01975/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db19b242c5013e1fcafee57a7a486407b6693d1f
--- /dev/null
+++ b/public_test_cases/p01975/input.1.txt
@@ -0,0 +1,3 @@
+5
+1 2 3 4 5
+3 4 2 5 1
diff --git a/public_test_cases/p01975/output.0.txt b/public_test_cases/p01975/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01975/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01975/output.1.txt b/public_test_cases/p01975/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p01975/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p01976/input.0.txt b/public_test_cases/p01976/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5b3772c7391669b8b5d018e17aa018b3fc9b8b9
--- /dev/null
+++ b/public_test_cases/p01976/input.0.txt
@@ -0,0 +1,2 @@
+8
+5 2 4 9 4 9 2 5
diff --git a/public_test_cases/p01976/input.1.txt b/public_test_cases/p01976/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5b3772c7391669b8b5d018e17aa018b3fc9b8b9
--- /dev/null
+++ b/public_test_cases/p01976/input.1.txt
@@ -0,0 +1,2 @@
+8
+5 2 4 9 4 9 2 5
diff --git a/public_test_cases/p01976/output.0.txt b/public_test_cases/p01976/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa231f8e103ef38b8a45f057dd863e215bb7a16e
--- /dev/null
+++ b/public_test_cases/p01976/output.0.txt
@@ -0,0 +1 @@
+1 2 4 6 7 8
diff --git a/public_test_cases/p01976/output.1.txt b/public_test_cases/p01976/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa231f8e103ef38b8a45f057dd863e215bb7a16e
--- /dev/null
+++ b/public_test_cases/p01976/output.1.txt
@@ -0,0 +1 @@
+1 2 4 6 7 8
diff --git a/public_test_cases/p01977/input.0.txt b/public_test_cases/p01977/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5ad35350044029d52a95f312fa04dba91d07555
--- /dev/null
+++ b/public_test_cases/p01977/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+9 1 2 3 9
diff --git a/public_test_cases/p01977/input.1.txt b/public_test_cases/p01977/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5ad35350044029d52a95f312fa04dba91d07555
--- /dev/null
+++ b/public_test_cases/p01977/input.1.txt
@@ -0,0 +1,2 @@
+5 3
+9 1 2 3 9
diff --git a/public_test_cases/p01977/output.0.txt b/public_test_cases/p01977/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2187894e06ddf0fb02294736f3d8a145c0e45f3
--- /dev/null
+++ b/public_test_cases/p01977/output.0.txt
@@ -0,0 +1 @@
+20.000000
diff --git a/public_test_cases/p01977/output.1.txt b/public_test_cases/p01977/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2187894e06ddf0fb02294736f3d8a145c0e45f3
--- /dev/null
+++ b/public_test_cases/p01977/output.1.txt
@@ -0,0 +1 @@
+20.000000
diff --git a/public_test_cases/p01978/input.0.txt b/public_test_cases/p01978/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d278ac2d772d15280518837029488932edab304a
--- /dev/null
+++ b/public_test_cases/p01978/input.0.txt
@@ -0,0 +1,4 @@
+5 3 1 4
+3 1 2 5
+3 4 2 3
+5 4 2 2
diff --git a/public_test_cases/p01978/input.1.txt b/public_test_cases/p01978/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d278ac2d772d15280518837029488932edab304a
--- /dev/null
+++ b/public_test_cases/p01978/input.1.txt
@@ -0,0 +1,4 @@
+5 3 1 4
+3 1 2 5
+3 4 2 3
+5 4 2 2
diff --git a/public_test_cases/p01978/output.0.txt b/public_test_cases/p01978/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01978/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01978/output.1.txt b/public_test_cases/p01978/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p01978/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p01979/input.0.txt b/public_test_cases/p01979/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03aa28e2afa42d7c5b2699a02938027f15ac1829
--- /dev/null
+++ b/public_test_cases/p01979/input.0.txt
@@ -0,0 +1 @@
+5124
diff --git a/public_test_cases/p01979/input.1.txt b/public_test_cases/p01979/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03aa28e2afa42d7c5b2699a02938027f15ac1829
--- /dev/null
+++ b/public_test_cases/p01979/input.1.txt
@@ -0,0 +1 @@
+5124
diff --git a/public_test_cases/p01979/output.0.txt b/public_test_cases/p01979/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01979/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01979/output.1.txt b/public_test_cases/p01979/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01979/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01980/input.0.txt b/public_test_cases/p01980/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99a841c9b42da0220d0f9546905827bb2936c0d6
--- /dev/null
+++ b/public_test_cases/p01980/input.0.txt
@@ -0,0 +1,4 @@
+5 1 2
+3 1 5
+3 1 5
+4 1 5
diff --git a/public_test_cases/p01980/input.1.txt b/public_test_cases/p01980/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99a841c9b42da0220d0f9546905827bb2936c0d6
--- /dev/null
+++ b/public_test_cases/p01980/input.1.txt
@@ -0,0 +1,4 @@
+5 1 2
+3 1 5
+3 1 5
+4 1 5
diff --git a/public_test_cases/p01980/output.0.txt b/public_test_cases/p01980/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6631b22779376d4c1b0470c35390d511ec268e3c
--- /dev/null
+++ b/public_test_cases/p01980/output.0.txt
@@ -0,0 +1,2 @@
+No
+Yes
diff --git a/public_test_cases/p01980/output.1.txt b/public_test_cases/p01980/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6631b22779376d4c1b0470c35390d511ec268e3c
--- /dev/null
+++ b/public_test_cases/p01980/output.1.txt
@@ -0,0 +1,2 @@
+No
+Yes
diff --git a/public_test_cases/p01981/input.0.txt b/public_test_cases/p01981/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f591b9770252d2cfaf623a138cb2e602e7228fd
--- /dev/null
+++ b/public_test_cases/p01981/input.0.txt
@@ -0,0 +1,9 @@
+HEISEI 1 1 8
+HEISEI 31 4 30
+HEISEI 31 5 1
+HEISEI 99 12 31
+HEISEI 38 8 30
+HEISEI 98 2 22
+HEISEI 2 3 26
+HEISEI 28 4 23
+#
diff --git a/public_test_cases/p01981/input.1.txt b/public_test_cases/p01981/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f591b9770252d2cfaf623a138cb2e602e7228fd
--- /dev/null
+++ b/public_test_cases/p01981/input.1.txt
@@ -0,0 +1,9 @@
+HEISEI 1 1 8
+HEISEI 31 4 30
+HEISEI 31 5 1
+HEISEI 99 12 31
+HEISEI 38 8 30
+HEISEI 98 2 22
+HEISEI 2 3 26
+HEISEI 28 4 23
+#
diff --git a/public_test_cases/p01981/output.0.txt b/public_test_cases/p01981/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8925f817c606ff1f3444ece7900f521af28d774e
--- /dev/null
+++ b/public_test_cases/p01981/output.0.txt
@@ -0,0 +1,8 @@
+HEISEI 1 1 8
+HEISEI 31 4 30
+? 1 5 1
+? 69 12 31
+? 8 8 30
+? 68 2 22
+HEISEI 2 3 26
+HEISEI 28 4 23
diff --git a/public_test_cases/p01981/output.1.txt b/public_test_cases/p01981/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8925f817c606ff1f3444ece7900f521af28d774e
--- /dev/null
+++ b/public_test_cases/p01981/output.1.txt
@@ -0,0 +1,8 @@
+HEISEI 1 1 8
+HEISEI 31 4 30
+? 1 5 1
+? 69 12 31
+? 8 8 30
+? 68 2 22
+HEISEI 2 3 26
+HEISEI 28 4 23
diff --git a/public_test_cases/p01982/input.0.txt b/public_test_cases/p01982/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..332b1b3555a6c7ee6d38f2c81acd26e307d90eb5
--- /dev/null
+++ b/public_test_cases/p01982/input.0.txt
@@ -0,0 +1,17 @@
+3 1988 2014
+400
+100
+4
+1 1000 1999
+1
+2 1111 3333
+2
+2
+6 2000 3000
+5
+7
+11
+9
+3
+13
+0 0 0
diff --git a/public_test_cases/p01982/input.1.txt b/public_test_cases/p01982/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..332b1b3555a6c7ee6d38f2c81acd26e307d90eb5
--- /dev/null
+++ b/public_test_cases/p01982/input.1.txt
@@ -0,0 +1,17 @@
+3 1988 2014
+400
+100
+4
+1 1000 1999
+1
+2 1111 3333
+2
+2
+6 2000 3000
+5
+7
+11
+9
+3
+13
+0 0 0
diff --git a/public_test_cases/p01982/output.0.txt b/public_test_cases/p01982/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5de28d1173c094ff95be48a2b6d34d51863ee686
--- /dev/null
+++ b/public_test_cases/p01982/output.0.txt
@@ -0,0 +1,4 @@
+7
+1000
+2223
+785
diff --git a/public_test_cases/p01982/output.1.txt b/public_test_cases/p01982/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5de28d1173c094ff95be48a2b6d34d51863ee686
--- /dev/null
+++ b/public_test_cases/p01982/output.1.txt
@@ -0,0 +1,4 @@
+7
+1000
+2223
+785
diff --git a/public_test_cases/p01983/input.0.txt b/public_test_cases/p01983/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ebd127d4afe6c34b0b42efc3590e8d73b4a6632
--- /dev/null
+++ b/public_test_cases/p01983/input.0.txt
@@ -0,0 +1,11 @@
+[+c[+a[^bd]]]
+0404
+[*b[*[*cd]a]]
+7777
+[^[^ab][^cd]]
+1295
+a
+9876
+[^dd]
+9090
+.
diff --git a/public_test_cases/p01983/input.1.txt b/public_test_cases/p01983/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ebd127d4afe6c34b0b42efc3590e8d73b4a6632
--- /dev/null
+++ b/public_test_cases/p01983/input.1.txt
@@ -0,0 +1,11 @@
+[+c[+a[^bd]]]
+0404
+[*b[*[*cd]a]]
+7777
+[^[^ab][^cd]]
+1295
+a
+9876
+[^dd]
+9090
+.
diff --git a/public_test_cases/p01983/output.0.txt b/public_test_cases/p01983/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5cf9b38c5dd7a8636722c860c452bf3b167e6b7
--- /dev/null
+++ b/public_test_cases/p01983/output.0.txt
@@ -0,0 +1,5 @@
+0 10
+7 1
+15 544
+9 1000
+0 10000
diff --git a/public_test_cases/p01983/output.1.txt b/public_test_cases/p01983/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5cf9b38c5dd7a8636722c860c452bf3b167e6b7
--- /dev/null
+++ b/public_test_cases/p01983/output.1.txt
@@ -0,0 +1,5 @@
+0 10
+7 1
+15 544
+9 1000
+0 10000
diff --git a/public_test_cases/p01984/input.0.txt b/public_test_cases/p01984/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29a6b244c16308513def06789eccca07fd098b99
--- /dev/null
+++ b/public_test_cases/p01984/input.0.txt
@@ -0,0 +1,8 @@
+1
+2
+3
+390
+1124
+1546
+314159265358979323
+0
diff --git a/public_test_cases/p01984/input.1.txt b/public_test_cases/p01984/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29a6b244c16308513def06789eccca07fd098b99
--- /dev/null
+++ b/public_test_cases/p01984/input.1.txt
@@ -0,0 +1,8 @@
+1
+2
+3
+390
+1124
+1546
+314159265358979323
+0
diff --git a/public_test_cases/p01984/output.0.txt b/public_test_cases/p01984/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73452670856b92790e0f7e70c64d98a1858990c8
--- /dev/null
+++ b/public_test_cases/p01984/output.0.txt
@@ -0,0 +1,7 @@
+10
+12
+13
+2020
+25252
+57577
+7744444777744474777777774774744777747477444774744744
diff --git a/public_test_cases/p01984/output.1.txt b/public_test_cases/p01984/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73452670856b92790e0f7e70c64d98a1858990c8
--- /dev/null
+++ b/public_test_cases/p01984/output.1.txt
@@ -0,0 +1,7 @@
+10
+12
+13
+2020
+25252
+57577
+7744444777744474777777774774744777747477444774744744
diff --git a/public_test_cases/p01985/input.0.txt b/public_test_cases/p01985/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c066123fcf8b1dea79603607f88077548533a020
--- /dev/null
+++ b/public_test_cases/p01985/input.0.txt
@@ -0,0 +1,24 @@
+6 7
+1 2
+1 4
+2 3
+2 5
+3 4
+4 5
+4 6
+2 1
+1 2
+3 3
+1 2
+1 3
+2 3
+4 3
+1 2
+2 3
+3 4
+5 4
+1 2
+2 3
+3 4
+4 5
+0 0
diff --git a/public_test_cases/p01985/input.1.txt b/public_test_cases/p01985/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c066123fcf8b1dea79603607f88077548533a020
--- /dev/null
+++ b/public_test_cases/p01985/input.1.txt
@@ -0,0 +1,24 @@
+6 7
+1 2
+1 4
+2 3
+2 5
+3 4
+4 5
+4 6
+2 1
+1 2
+3 3
+1 2
+1 3
+2 3
+4 3
+1 2
+2 3
+3 4
+5 4
+1 2
+2 3
+3 4
+4 5
+0 0
diff --git a/public_test_cases/p01985/output.0.txt b/public_test_cases/p01985/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dff51a30e3d42f5d84aefb36baa7924e002416ff
--- /dev/null
+++ b/public_test_cases/p01985/output.0.txt
@@ -0,0 +1,9 @@
+2
+1
+2
+0
+0
+1
+1
+1
+1
diff --git a/public_test_cases/p01985/output.1.txt b/public_test_cases/p01985/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dff51a30e3d42f5d84aefb36baa7924e002416ff
--- /dev/null
+++ b/public_test_cases/p01985/output.1.txt
@@ -0,0 +1,9 @@
+2
+1
+2
+0
+0
+1
+1
+1
+1
diff --git a/public_test_cases/p01986/input.0.txt b/public_test_cases/p01986/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e9ad6e94fcab81331a0d64806beffedf24d7227
--- /dev/null
+++ b/public_test_cases/p01986/input.0.txt
@@ -0,0 +1,45 @@
+3 3
+2 1
+2 2
+10
+10 4
+1 1
+1 5
+1 9
+1
+5 7
+1000000000 1
+1000000000 1
+1000000000 3
+1000000000 3
+1000000000 5
+1000000000 5
+1
+10000 11
+10934235 560
+3155907 1508
+10901182 2457
+3471816 3590
+10087848 4417
+16876957 5583
+23145027 6540
+15162205 7454
+1749653 8481
+6216466 9554
+7198514
+701 14
+8181 636
+4942 273
+1706 282
+6758 20
+7139 148
+6055 629
+8765 369
+5487 95
+6111 77
+2302 419
+9974 699
+108 444
+1136 495
+2443
+0 0
diff --git a/public_test_cases/p01986/input.1.txt b/public_test_cases/p01986/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e9ad6e94fcab81331a0d64806beffedf24d7227
--- /dev/null
+++ b/public_test_cases/p01986/input.1.txt
@@ -0,0 +1,45 @@
+3 3
+2 1
+2 2
+10
+10 4
+1 1
+1 5
+1 9
+1
+5 7
+1000000000 1
+1000000000 1
+1000000000 3
+1000000000 3
+1000000000 5
+1000000000 5
+1
+10000 11
+10934235 560
+3155907 1508
+10901182 2457
+3471816 3590
+10087848 4417
+16876957 5583
+23145027 6540
+15162205 7454
+1749653 8481
+6216466 9554
+7198514
+701 14
+8181 636
+4942 273
+1706 282
+6758 20
+7139 148
+6055 629
+8765 369
+5487 95
+6111 77
+2302 419
+9974 699
+108 444
+1136 495
+2443
+0 0
diff --git a/public_test_cases/p01986/output.0.txt b/public_test_cases/p01986/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0493d6909ffc8293815db59ba596c8c6420263d3
--- /dev/null
+++ b/public_test_cases/p01986/output.0.txt
@@ -0,0 +1,5 @@
+10
+0
+5999999960
+23574372
+985
diff --git a/public_test_cases/p01986/output.1.txt b/public_test_cases/p01986/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0493d6909ffc8293815db59ba596c8c6420263d3
--- /dev/null
+++ b/public_test_cases/p01986/output.1.txt
@@ -0,0 +1,5 @@
+10
+0
+5999999960
+23574372
+985
diff --git a/public_test_cases/p01987/input.0.txt b/public_test_cases/p01987/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..333549386334a59cf675e68c157d739ff18c08b2
--- /dev/null
+++ b/public_test_cases/p01987/input.0.txt
@@ -0,0 +1,4 @@
+1 2
+2 1
+2 2
+0 0
diff --git a/public_test_cases/p01987/input.1.txt b/public_test_cases/p01987/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..333549386334a59cf675e68c157d739ff18c08b2
--- /dev/null
+++ b/public_test_cases/p01987/input.1.txt
@@ -0,0 +1,4 @@
+1 2
+2 1
+2 2
+0 0
diff --git a/public_test_cases/p01987/output.0.txt b/public_test_cases/p01987/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2b0a4f207af3cc9d94b5df1bd84cd22e9268224
--- /dev/null
+++ b/public_test_cases/p01987/output.0.txt
@@ -0,0 +1,3 @@
+4.25
+7
+7.9722222222
diff --git a/public_test_cases/p01987/output.1.txt b/public_test_cases/p01987/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2b0a4f207af3cc9d94b5df1bd84cd22e9268224
--- /dev/null
+++ b/public_test_cases/p01987/output.1.txt
@@ -0,0 +1,3 @@
+4.25
+7
+7.9722222222
diff --git a/public_test_cases/p01988/input.0.txt b/public_test_cases/p01988/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6201bd56b8552957508794854bba8c40dd4ef3d4
--- /dev/null
+++ b/public_test_cases/p01988/input.0.txt
@@ -0,0 +1,39 @@
+8
+1 1 2 2
+0 2
+0 0
+2 0
+2 1
+3 1
+3 3
+1 3
+1 2
+12
+-9 5 9 -9
+0 0
+0 -13
+3 -13
+3 -10
+10 -10
+10 10
+-1 10
+-1 13
+-4 13
+-4 10
+-10 10
+-10 0
+12
+3 57 53 2
+0 0
+64 0
+64 18
+47 18
+47 39
+64 39
+64 60
+0 60
+0 44
+33 44
+33 30
+0 30
+0
diff --git a/public_test_cases/p01988/input.1.txt b/public_test_cases/p01988/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6201bd56b8552957508794854bba8c40dd4ef3d4
--- /dev/null
+++ b/public_test_cases/p01988/input.1.txt
@@ -0,0 +1,39 @@
+8
+1 1 2 2
+0 2
+0 0
+2 0
+2 1
+3 1
+3 3
+1 3
+1 2
+12
+-9 5 9 -9
+0 0
+0 -13
+3 -13
+3 -10
+10 -10
+10 10
+-1 10
+-1 13
+-4 13
+-4 10
+-10 10
+-10 0
+12
+3 57 53 2
+0 0
+64 0
+64 18
+47 18
+47 39
+64 39
+64 60
+0 60
+0 44
+33 44
+33 30
+0 30
+0
diff --git a/public_test_cases/p01988/output.0.txt b/public_test_cases/p01988/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33280629d45d42f53ada4c621ad788fb72c9c09c
--- /dev/null
+++ b/public_test_cases/p01988/output.0.txt
@@ -0,0 +1,3 @@
+1
+1
+2
diff --git a/public_test_cases/p01988/output.1.txt b/public_test_cases/p01988/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33280629d45d42f53ada4c621ad788fb72c9c09c
--- /dev/null
+++ b/public_test_cases/p01988/output.1.txt
@@ -0,0 +1,3 @@
+1
+1
+2
diff --git a/public_test_cases/p01989/input.0.txt b/public_test_cases/p01989/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28d14454c380441fa2b6f562072a1cd641c06e22
--- /dev/null
+++ b/public_test_cases/p01989/input.0.txt
@@ -0,0 +1 @@
+123456789
diff --git a/public_test_cases/p01989/input.1.txt b/public_test_cases/p01989/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28d14454c380441fa2b6f562072a1cd641c06e22
--- /dev/null
+++ b/public_test_cases/p01989/input.1.txt
@@ -0,0 +1 @@
+123456789
diff --git a/public_test_cases/p01989/output.0.txt b/public_test_cases/p01989/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01989/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01989/output.1.txt b/public_test_cases/p01989/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p01989/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p01990/input.0.txt b/public_test_cases/p01990/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0804e3f9a627efa7113c4058bdb3eeb03f9f96ee
--- /dev/null
+++ b/public_test_cases/p01990/input.0.txt
@@ -0,0 +1,3 @@
+5 2
+1 5 3 2 4
+5 2
diff --git a/public_test_cases/p01990/input.1.txt b/public_test_cases/p01990/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0804e3f9a627efa7113c4058bdb3eeb03f9f96ee
--- /dev/null
+++ b/public_test_cases/p01990/input.1.txt
@@ -0,0 +1,3 @@
+5 2
+1 5 3 2 4
+5 2
diff --git a/public_test_cases/p01990/output.0.txt b/public_test_cases/p01990/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14502ba49316818cc14b6ccf579f21d1c97855e7
--- /dev/null
+++ b/public_test_cases/p01990/output.0.txt
@@ -0,0 +1 @@
+4 5 1 2 3
diff --git a/public_test_cases/p01990/output.1.txt b/public_test_cases/p01990/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14502ba49316818cc14b6ccf579f21d1c97855e7
--- /dev/null
+++ b/public_test_cases/p01990/output.1.txt
@@ -0,0 +1 @@
+4 5 1 2 3
diff --git a/public_test_cases/p01991/input.0.txt b/public_test_cases/p01991/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77e106f54611506bed3b1576669c71ead0e9a41d
--- /dev/null
+++ b/public_test_cases/p01991/input.0.txt
@@ -0,0 +1,6 @@
+3
+1 2
+1 3
+2 3
+1
+1 3
diff --git a/public_test_cases/p01991/input.1.txt b/public_test_cases/p01991/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77e106f54611506bed3b1576669c71ead0e9a41d
--- /dev/null
+++ b/public_test_cases/p01991/input.1.txt
@@ -0,0 +1,6 @@
+3
+1 2
+1 3
+2 3
+1
+1 3
diff --git a/public_test_cases/p01991/output.0.txt b/public_test_cases/p01991/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01991/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01991/output.1.txt b/public_test_cases/p01991/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01991/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01992/input.0.txt b/public_test_cases/p01992/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84812661be42cedfd3faa6f8d173c655bb5e3e80
--- /dev/null
+++ b/public_test_cases/p01992/input.0.txt
@@ -0,0 +1,8 @@
+7
+banana
+at
+tomb
+bus
+sound
+does
+some
diff --git a/public_test_cases/p01992/input.1.txt b/public_test_cases/p01992/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84812661be42cedfd3faa6f8d173c655bb5e3e80
--- /dev/null
+++ b/public_test_cases/p01992/input.1.txt
@@ -0,0 +1,8 @@
+7
+banana
+at
+tomb
+bus
+sound
+does
+some
diff --git a/public_test_cases/p01992/output.0.txt b/public_test_cases/p01992/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01992/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01992/output.1.txt b/public_test_cases/p01992/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01992/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01993/input.0.txt b/public_test_cases/p01993/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8effaed246b81cb7d1c963523f5fa3220bc9b83a
--- /dev/null
+++ b/public_test_cases/p01993/input.0.txt
@@ -0,0 +1,5 @@
+5 4
+1 2 1
+2 3 10
+3 4 5
+4 5 1
diff --git a/public_test_cases/p01993/input.1.txt b/public_test_cases/p01993/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8effaed246b81cb7d1c963523f5fa3220bc9b83a
--- /dev/null
+++ b/public_test_cases/p01993/input.1.txt
@@ -0,0 +1,5 @@
+5 4
+1 2 1
+2 3 10
+3 4 5
+4 5 1
diff --git a/public_test_cases/p01993/output.0.txt b/public_test_cases/p01993/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p01993/output.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p01993/output.1.txt b/public_test_cases/p01993/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p01993/output.1.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p01994/input.0.txt b/public_test_cases/p01994/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e912ad99f9acdd1ff56e1e9e00ff342f68559fa
--- /dev/null
+++ b/public_test_cases/p01994/input.0.txt
@@ -0,0 +1,5 @@
+4
+101 110
+101 101
+1010 1101
+11011001 10010101
diff --git a/public_test_cases/p01994/input.1.txt b/public_test_cases/p01994/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e912ad99f9acdd1ff56e1e9e00ff342f68559fa
--- /dev/null
+++ b/public_test_cases/p01994/input.1.txt
@@ -0,0 +1,5 @@
+4
+101 110
+101 101
+1010 1101
+11011001 10010101
diff --git a/public_test_cases/p01994/output.0.txt b/public_test_cases/p01994/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..451b757a4b1e7c7d41f6882f1a8bc40ab9ea9d73
--- /dev/null
+++ b/public_test_cases/p01994/output.0.txt
@@ -0,0 +1,4 @@
+1
+0
+3
+12
diff --git a/public_test_cases/p01994/output.1.txt b/public_test_cases/p01994/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..451b757a4b1e7c7d41f6882f1a8bc40ab9ea9d73
--- /dev/null
+++ b/public_test_cases/p01994/output.1.txt
@@ -0,0 +1,4 @@
+1
+0
+3
+12
diff --git a/public_test_cases/p01995/input.0.txt b/public_test_cases/p01995/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca6a119d52b2c37dcefbcabfc1e4f32d3cea7b05
--- /dev/null
+++ b/public_test_cases/p01995/input.0.txt
@@ -0,0 +1 @@
+acpc
diff --git a/public_test_cases/p01995/input.1.txt b/public_test_cases/p01995/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca6a119d52b2c37dcefbcabfc1e4f32d3cea7b05
--- /dev/null
+++ b/public_test_cases/p01995/input.1.txt
@@ -0,0 +1 @@
+acpc
diff --git a/public_test_cases/p01995/output.0.txt b/public_test_cases/p01995/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01995/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01995/output.1.txt b/public_test_cases/p01995/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p01995/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p01996/input.0.txt b/public_test_cases/p01996/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..921024dbd576d2fff6b2d993e97d485d925d460f
--- /dev/null
+++ b/public_test_cases/p01996/input.0.txt
@@ -0,0 +1,2 @@
+6 4
+1 4 5 6
diff --git a/public_test_cases/p01996/input.1.txt b/public_test_cases/p01996/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..921024dbd576d2fff6b2d993e97d485d925d460f
--- /dev/null
+++ b/public_test_cases/p01996/input.1.txt
@@ -0,0 +1,2 @@
+6 4
+1 4 5 6
diff --git a/public_test_cases/p01996/output.0.txt b/public_test_cases/p01996/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01996/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01996/output.1.txt b/public_test_cases/p01996/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01996/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01997/input.0.txt b/public_test_cases/p01997/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p01997/input.0.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p01997/input.1.txt b/public_test_cases/p01997/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p01997/input.1.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p01997/output.0.txt b/public_test_cases/p01997/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d77555190c1dee19e5697129cdc93a55def6436
--- /dev/null
+++ b/public_test_cases/p01997/output.0.txt
@@ -0,0 +1 @@
+33.510322
diff --git a/public_test_cases/p01997/output.1.txt b/public_test_cases/p01997/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d77555190c1dee19e5697129cdc93a55def6436
--- /dev/null
+++ b/public_test_cases/p01997/output.1.txt
@@ -0,0 +1 @@
+33.510322
diff --git a/public_test_cases/p01998/input.0.txt b/public_test_cases/p01998/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01998/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01998/input.1.txt b/public_test_cases/p01998/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p01998/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p01998/output.0.txt b/public_test_cases/p01998/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01998/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p01998/output.1.txt b/public_test_cases/p01998/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p01998/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02000/input.0.txt b/public_test_cases/p02000/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02000/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02000/input.1.txt b/public_test_cases/p02000/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02000/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02000/output.0.txt b/public_test_cases/p02000/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02000/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02000/output.1.txt b/public_test_cases/p02000/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02000/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02001/input.0.txt b/public_test_cases/p02001/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e95bbca832aab21806003a48490ea707401029b2
--- /dev/null
+++ b/public_test_cases/p02001/input.0.txt
@@ -0,0 +1,3 @@
+8
+.oo.ooo.
+o.o.oo.o
diff --git a/public_test_cases/p02001/output.0.txt b/public_test_cases/p02001/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02001/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02002/input.0.txt b/public_test_cases/p02002/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1eede75290e754755205d93d600a0ab492347819
--- /dev/null
+++ b/public_test_cases/p02002/input.0.txt
@@ -0,0 +1,7 @@
+7
+9^2&1|2
+4
+0 6
+0 2
+2 6
+4 4
diff --git a/public_test_cases/p02002/input.1.txt b/public_test_cases/p02002/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1eede75290e754755205d93d600a0ab492347819
--- /dev/null
+++ b/public_test_cases/p02002/input.1.txt
@@ -0,0 +1,7 @@
+7
+9^2&1|2
+4
+0 6
+0 2
+2 6
+4 4
diff --git a/public_test_cases/p02002/output.0.txt b/public_test_cases/p02002/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0479fbbd284e1cae2cdb0935d23766d4b16be1bd
--- /dev/null
+++ b/public_test_cases/p02002/output.0.txt
@@ -0,0 +1,4 @@
+3
+11
+2
+1
diff --git a/public_test_cases/p02002/output.1.txt b/public_test_cases/p02002/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0479fbbd284e1cae2cdb0935d23766d4b16be1bd
--- /dev/null
+++ b/public_test_cases/p02002/output.1.txt
@@ -0,0 +1,4 @@
+3
+11
+2
+1
diff --git a/public_test_cases/p02003/input.0.txt b/public_test_cases/p02003/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb0c37ff4d10f39eb9ca6fa39140560104e13020
--- /dev/null
+++ b/public_test_cases/p02003/input.0.txt
@@ -0,0 +1,6 @@
+5 5
+.....
+.#.#.
+.###.
+.#.#.
+.....
diff --git a/public_test_cases/p02003/input.1.txt b/public_test_cases/p02003/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb0c37ff4d10f39eb9ca6fa39140560104e13020
--- /dev/null
+++ b/public_test_cases/p02003/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+.....
+.#.#.
+.###.
+.#.#.
+.....
diff --git a/public_test_cases/p02003/output.0.txt b/public_test_cases/p02003/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02003/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02003/output.1.txt b/public_test_cases/p02003/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02003/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02004/input.0.txt b/public_test_cases/p02004/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7adb732195f5a907c64b0c66d77a828257658f1
--- /dev/null
+++ b/public_test_cases/p02004/input.0.txt
@@ -0,0 +1 @@
+RRRRLLLLRRRR
diff --git a/public_test_cases/p02004/input.1.txt b/public_test_cases/p02004/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a271c90d4f590f3f806f6685c6e30e00cba8cff8
--- /dev/null
+++ b/public_test_cases/p02004/input.1.txt
@@ -0,0 +1 @@
+LR
diff --git a/public_test_cases/p02004/input.2.txt b/public_test_cases/p02004/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7adb732195f5a907c64b0c66d77a828257658f1
--- /dev/null
+++ b/public_test_cases/p02004/input.2.txt
@@ -0,0 +1 @@
+RRRRLLLLRRRR
diff --git a/public_test_cases/p02004/input.3.txt b/public_test_cases/p02004/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6fea62462b58b478d7322199ae2d265ee000407
--- /dev/null
+++ b/public_test_cases/p02004/input.3.txt
@@ -0,0 +1 @@
+RLLRLLLLRRRLLLRRR
diff --git a/public_test_cases/p02004/input.4.txt b/public_test_cases/p02004/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5177fe9d37f89afa86bd2bd29983b6c16ff14921
--- /dev/null
+++ b/public_test_cases/p02004/input.4.txt
@@ -0,0 +1 @@
+RRLRRLRRRRLRRLRRRRLRRLRRRRLRRLRR
diff --git a/public_test_cases/p02004/output.0.txt b/public_test_cases/p02004/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02004/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02004/output.1.txt b/public_test_cases/p02004/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02004/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02004/output.2.txt b/public_test_cases/p02004/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02004/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02004/output.3.txt b/public_test_cases/p02004/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02004/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02004/output.4.txt b/public_test_cases/p02004/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02004/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02005/input.0.txt b/public_test_cases/p02005/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ddfffe434af8243c169a1036ba19718cb48446a
--- /dev/null
+++ b/public_test_cases/p02005/input.0.txt
@@ -0,0 +1,6 @@
+2
+white 20
+black 10
+2
+black
+white
diff --git a/public_test_cases/p02005/input.1.txt b/public_test_cases/p02005/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ddadf93a717e4678121d4aab50e7e63ce45915f
--- /dev/null
+++ b/public_test_cases/p02005/input.1.txt
@@ -0,0 +1,6 @@
+2
+white 10
+black 10
+2
+black
+white
diff --git a/public_test_cases/p02005/input.2.txt b/public_test_cases/p02005/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50c6b6f7bb119db57a0f8ee1d7161311121bdfa2
--- /dev/null
+++ b/public_test_cases/p02005/input.2.txt
@@ -0,0 +1,6 @@
+2
+white 20
+black 10
+2
+black
+orange
diff --git a/public_test_cases/p02005/input.3.txt b/public_test_cases/p02005/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ddfffe434af8243c169a1036ba19718cb48446a
--- /dev/null
+++ b/public_test_cases/p02005/input.3.txt
@@ -0,0 +1,6 @@
+2
+white 20
+black 10
+2
+black
+white
diff --git a/public_test_cases/p02005/input.4.txt b/public_test_cases/p02005/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42905c52d211f8c2c435e61e66c879abd83db94b
--- /dev/null
+++ b/public_test_cases/p02005/input.4.txt
@@ -0,0 +1,10 @@
+4
+red 3444
+red 3018
+red 3098
+red 3319
+4
+red
+red
+red
+red
diff --git a/public_test_cases/p02005/input.5.txt b/public_test_cases/p02005/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b13bb364dde3f4d0c48390e3403f143109c3568c
--- /dev/null
+++ b/public_test_cases/p02005/input.5.txt
@@ -0,0 +1,8 @@
+3
+white 10
+red 20
+white 30
+3
+white
+red
+white
diff --git a/public_test_cases/p02005/output.0.txt b/public_test_cases/p02005/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02005/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02005/output.1.txt b/public_test_cases/p02005/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02005/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02005/output.2.txt b/public_test_cases/p02005/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02005/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02005/output.3.txt b/public_test_cases/p02005/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02005/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02005/output.4.txt b/public_test_cases/p02005/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02005/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02005/output.5.txt b/public_test_cases/p02005/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02005/output.5.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02006/input.0.txt b/public_test_cases/p02006/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..014593e0b7afcc6cfae2518fca70db27709903d8
--- /dev/null
+++ b/public_test_cases/p02006/input.0.txt
@@ -0,0 +1,4 @@
+6 3 2
+1 2
+2 10
+3 5
diff --git a/public_test_cases/p02006/input.1.txt b/public_test_cases/p02006/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07f622177db488658e9a0ad8f4afc27048dddf93
--- /dev/null
+++ b/public_test_cases/p02006/input.1.txt
@@ -0,0 +1,2 @@
+1 1 2
+1 1
diff --git a/public_test_cases/p02006/input.2.txt b/public_test_cases/p02006/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..014593e0b7afcc6cfae2518fca70db27709903d8
--- /dev/null
+++ b/public_test_cases/p02006/input.2.txt
@@ -0,0 +1,4 @@
+6 3 2
+1 2
+2 10
+3 5
diff --git a/public_test_cases/p02006/input.3.txt b/public_test_cases/p02006/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb2c0a2fca3362e1258a86101bec7214c9e0a06d
--- /dev/null
+++ b/public_test_cases/p02006/input.3.txt
@@ -0,0 +1,3 @@
+2 2 2
+1 1
+2 100
diff --git a/public_test_cases/p02006/input.4.txt b/public_test_cases/p02006/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5de94485d286e8b97147d6702e81c6db2ff7348d
--- /dev/null
+++ b/public_test_cases/p02006/input.4.txt
@@ -0,0 +1,6 @@
+200 5 5
+31 41
+59 26
+53 58
+97 93
+23 84
diff --git a/public_test_cases/p02006/output.0.txt b/public_test_cases/p02006/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e57511324ad6c275763d40f3041b34ac66ddb234
--- /dev/null
+++ b/public_test_cases/p02006/output.0.txt
@@ -0,0 +1,2 @@
+17
+24
diff --git a/public_test_cases/p02006/output.1.txt b/public_test_cases/p02006/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b261da18d51a39dc2cf0d156791e9c0b35dd83f4
--- /dev/null
+++ b/public_test_cases/p02006/output.1.txt
@@ -0,0 +1,2 @@
+1
+0
diff --git a/public_test_cases/p02006/output.2.txt b/public_test_cases/p02006/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e57511324ad6c275763d40f3041b34ac66ddb234
--- /dev/null
+++ b/public_test_cases/p02006/output.2.txt
@@ -0,0 +1,2 @@
+17
+24
diff --git a/public_test_cases/p02006/output.3.txt b/public_test_cases/p02006/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e8b2a9105105dfa2eb665ec7f4f5f8b3ff699b4
--- /dev/null
+++ b/public_test_cases/p02006/output.3.txt
@@ -0,0 +1,2 @@
+100
+2
diff --git a/public_test_cases/p02006/output.4.txt b/public_test_cases/p02006/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36058281c90aa7ff994f71a041ca706e4caeddf6
--- /dev/null
+++ b/public_test_cases/p02006/output.4.txt
@@ -0,0 +1,5 @@
+235
+284
+375
+336
+420
diff --git a/public_test_cases/p02007/input.0.txt b/public_test_cases/p02007/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..973cd06ba4ef554912ca4e596646b94eb0816ad4
--- /dev/null
+++ b/public_test_cases/p02007/input.0.txt
@@ -0,0 +1,14 @@
+6 7
+appreciate
+appropriate
+acceptance
+ace
+acm
+acetylene
+appr iate
+a e
+a a
+ac ce
+ace e
+acceptance acceptance
+no match
diff --git a/public_test_cases/p02007/input.1.txt b/public_test_cases/p02007/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0331c5ae397ed4d73451ae2e3b85c6760960d540
--- /dev/null
+++ b/public_test_cases/p02007/input.1.txt
@@ -0,0 +1,12 @@
+7 4
+connected
+disconnected
+graph
+directed
+diameter
+distance
+minor
+c ed
+di ed
+dis ed
+dis e
diff --git a/public_test_cases/p02007/input.2.txt b/public_test_cases/p02007/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..973cd06ba4ef554912ca4e596646b94eb0816ad4
--- /dev/null
+++ b/public_test_cases/p02007/input.2.txt
@@ -0,0 +1,14 @@
+6 7
+appreciate
+appropriate
+acceptance
+ace
+acm
+acetylene
+appr iate
+a e
+a a
+ac ce
+ace e
+acceptance acceptance
+no match
diff --git a/public_test_cases/p02007/input.3.txt b/public_test_cases/p02007/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e649e82f05d62368f616e1a5d70e9943f54e09c7
--- /dev/null
+++ b/public_test_cases/p02007/input.3.txt
@@ -0,0 +1,11 @@
+5 5
+d
+dd
+ddd
+dddd
+ddddd
+d d
+dd dd
+ddd ddd
+d dddd
+ddddd dd
diff --git a/public_test_cases/p02007/output.0.txt b/public_test_cases/p02007/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee71cf4eabc6963ebd175b69028912fbb2f13da3
--- /dev/null
+++ b/public_test_cases/p02007/output.0.txt
@@ -0,0 +1,7 @@
+2
+5
+0
+2
+2
+1
+0
diff --git a/public_test_cases/p02007/output.1.txt b/public_test_cases/p02007/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..541800d03622ef1f5a9e133ccb79914e4190a8b2
--- /dev/null
+++ b/public_test_cases/p02007/output.1.txt
@@ -0,0 +1,4 @@
+1
+2
+1
+1
diff --git a/public_test_cases/p02007/output.2.txt b/public_test_cases/p02007/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee71cf4eabc6963ebd175b69028912fbb2f13da3
--- /dev/null
+++ b/public_test_cases/p02007/output.2.txt
@@ -0,0 +1,7 @@
+2
+5
+0
+2
+2
+1
+0
diff --git a/public_test_cases/p02007/output.3.txt b/public_test_cases/p02007/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86e24d1b4c3fb30080acde6f9c98a24bac0d47c7
--- /dev/null
+++ b/public_test_cases/p02007/output.3.txt
@@ -0,0 +1,5 @@
+5
+4
+3
+2
+1
diff --git a/public_test_cases/p02008/input.0.txt b/public_test_cases/p02008/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28b024bf39671e0c6e72553d898da0ef3112659d
--- /dev/null
+++ b/public_test_cases/p02008/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 0 2 0 0 2
+0 1 2 1 0 3
diff --git a/public_test_cases/p02008/output.0.txt b/public_test_cases/p02008/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb3c4fe4eebcdea3da0790cc0ba74cb286ec4f4
--- /dev/null
+++ b/public_test_cases/p02008/output.0.txt
@@ -0,0 +1 @@
+0.5
diff --git a/public_test_cases/p02009/input.0.txt b/public_test_cases/p02009/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe234be093e7ad8424af41b8a2162a42d19b3e9
--- /dev/null
+++ b/public_test_cases/p02009/input.0.txt
@@ -0,0 +1,3 @@
+2
+1
+1
diff --git a/public_test_cases/p02009/input.1.txt b/public_test_cases/p02009/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe234be093e7ad8424af41b8a2162a42d19b3e9
--- /dev/null
+++ b/public_test_cases/p02009/input.1.txt
@@ -0,0 +1,3 @@
+2
+1
+1
diff --git a/public_test_cases/p02009/input.2.txt b/public_test_cases/p02009/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4396284e17ba3f2be10dac282ef14130323a69f8
--- /dev/null
+++ b/public_test_cases/p02009/input.2.txt
@@ -0,0 +1,11 @@
+10
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
diff --git a/public_test_cases/p02009/input.3.txt b/public_test_cases/p02009/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74fc6f901f7e14b2a1243ec3e8ab6c3e49b438f6
--- /dev/null
+++ b/public_test_cases/p02009/input.3.txt
@@ -0,0 +1,6 @@
+5
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p02009/output.0.txt b/public_test_cases/p02009/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p02009/output.0.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p02009/output.1.txt b/public_test_cases/p02009/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p02009/output.1.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p02009/output.2.txt b/public_test_cases/p02009/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p02009/output.2.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p02009/output.3.txt b/public_test_cases/p02009/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p02009/output.3.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p02010/input.0.txt b/public_test_cases/p02010/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d0cf20b36ed28e22a1b510f52916dc8d4cd930a
--- /dev/null
+++ b/public_test_cases/p02010/input.0.txt
@@ -0,0 +1,2 @@
+100
++123
diff --git a/public_test_cases/p02010/input.1.txt b/public_test_cases/p02010/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c985da08482285ca3e4c3bebd0731456417bea12
--- /dev/null
+++ b/public_test_cases/p02010/input.1.txt
@@ -0,0 +1,2 @@
+2000
+1234++7890
diff --git a/public_test_cases/p02010/input.2.txt b/public_test_cases/p02010/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1eef2bdbf43387c17517ff47367e3607e3d890e
--- /dev/null
+++ b/public_test_cases/p02010/input.2.txt
@@ -0,0 +1,2 @@
+1
++123
diff --git a/public_test_cases/p02010/input.3.txt b/public_test_cases/p02010/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d0cf20b36ed28e22a1b510f52916dc8d4cd930a
--- /dev/null
+++ b/public_test_cases/p02010/input.3.txt
@@ -0,0 +1,2 @@
+100
++123
diff --git a/public_test_cases/p02010/input.4.txt b/public_test_cases/p02010/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ed1d97eb4b931e4056e6419e9834cf5a6a74c86
--- /dev/null
+++ b/public_test_cases/p02010/input.4.txt
@@ -0,0 +1,2 @@
+10
+++1+
diff --git a/public_test_cases/p02010/input.5.txt b/public_test_cases/p02010/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f47313862c765e17841dd5d4452880b73183151
--- /dev/null
+++ b/public_test_cases/p02010/input.5.txt
@@ -0,0 +1,2 @@
+10
++123
diff --git a/public_test_cases/p02010/output.0.txt b/public_test_cases/p02010/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02010/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02010/output.1.txt b/public_test_cases/p02010/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02010/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02010/output.2.txt b/public_test_cases/p02010/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02010/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02010/output.3.txt b/public_test_cases/p02010/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02010/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02010/output.4.txt b/public_test_cases/p02010/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02010/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02010/output.5.txt b/public_test_cases/p02010/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02010/output.5.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02011/input.0.txt b/public_test_cases/p02011/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ab082cde1f681fccc83b258bf1ddc2a1e279a12
--- /dev/null
+++ b/public_test_cases/p02011/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0
+3 0
+5 0
diff --git a/public_test_cases/p02011/input.1.txt b/public_test_cases/p02011/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38decb33ce988fdaef4f4ceae9fea74bdf8c4465
--- /dev/null
+++ b/public_test_cases/p02011/input.1.txt
@@ -0,0 +1,10 @@
+9
+91 -18
+13 93
+73 -34
+15 2
+-46 0
+69 -42
+-23 -13
+-87 41
+38 68
diff --git a/public_test_cases/p02011/input.2.txt b/public_test_cases/p02011/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aef4659ccdd540056d91c44e305dfe62b3391e93
--- /dev/null
+++ b/public_test_cases/p02011/input.2.txt
@@ -0,0 +1,4 @@
+3
+0 0
+5 0
+0 5
diff --git a/public_test_cases/p02011/input.3.txt b/public_test_cases/p02011/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ab082cde1f681fccc83b258bf1ddc2a1e279a12
--- /dev/null
+++ b/public_test_cases/p02011/input.3.txt
@@ -0,0 +1,4 @@
+3
+0 0
+3 0
+5 0
diff --git a/public_test_cases/p02011/output.0.txt b/public_test_cases/p02011/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d8d8ad37c62f88fad82269c35d740aeba909cae
--- /dev/null
+++ b/public_test_cases/p02011/output.0.txt
@@ -0,0 +1 @@
+31.415926535
diff --git a/public_test_cases/p02011/output.1.txt b/public_test_cases/p02011/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b447c1c10d5e45da1cfbf4d7eac80985c848000
--- /dev/null
+++ b/public_test_cases/p02011/output.1.txt
@@ -0,0 +1 @@
+1049.191683488
diff --git a/public_test_cases/p02011/output.2.txt b/public_test_cases/p02011/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0eb8de9e4060b04e3166c29ec2cc90ad5d08f40
--- /dev/null
+++ b/public_test_cases/p02011/output.2.txt
@@ -0,0 +1 @@
+53.630341225
diff --git a/public_test_cases/p02011/output.3.txt b/public_test_cases/p02011/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d8d8ad37c62f88fad82269c35d740aeba909cae
--- /dev/null
+++ b/public_test_cases/p02011/output.3.txt
@@ -0,0 +1 @@
+31.415926535
diff --git a/public_test_cases/p02012/input.0.txt b/public_test_cases/p02012/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02012/input.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02012/input.1.txt b/public_test_cases/p02012/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02012/input.1.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02012/input.2.txt b/public_test_cases/p02012/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02012/input.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02012/input.3.txt b/public_test_cases/p02012/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02012/input.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02012/input.4.txt b/public_test_cases/p02012/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bda2537a3f899ef4a5cd4ebb6c3e229b990388ea
--- /dev/null
+++ b/public_test_cases/p02012/input.4.txt
@@ -0,0 +1 @@
+83160
diff --git a/public_test_cases/p02012/output.0.txt b/public_test_cases/p02012/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02012/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02012/output.1.txt b/public_test_cases/p02012/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02012/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02012/output.2.txt b/public_test_cases/p02012/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02012/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02012/output.3.txt b/public_test_cases/p02012/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02012/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02012/output.4.txt b/public_test_cases/p02012/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52a00b0840bd79bb55b69bf0bf76185d6c40fbc1
--- /dev/null
+++ b/public_test_cases/p02012/output.4.txt
@@ -0,0 +1 @@
+5120
diff --git a/public_test_cases/p02013/input.0.txt b/public_test_cases/p02013/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e93e7df594a1e0a4dd00ffc9e645a6640ebab772
--- /dev/null
+++ b/public_test_cases/p02013/input.0.txt
@@ -0,0 +1,6 @@
+5 5 1 5
+1 2
+1 4
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p02013/input.1.txt b/public_test_cases/p02013/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b70faef65de0024ffe8cabe8c1f3b1ccf7eae59
--- /dev/null
+++ b/public_test_cases/p02013/input.1.txt
@@ -0,0 +1,2 @@
+2 1 1 2
+1 2
diff --git a/public_test_cases/p02013/input.2.txt b/public_test_cases/p02013/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e93e7df594a1e0a4dd00ffc9e645a6640ebab772
--- /dev/null
+++ b/public_test_cases/p02013/input.2.txt
@@ -0,0 +1,6 @@
+5 5 1 5
+1 2
+1 4
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p02013/input.3.txt b/public_test_cases/p02013/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c173650c0fd04ea9960402a1b4e828fdb163508
--- /dev/null
+++ b/public_test_cases/p02013/input.3.txt
@@ -0,0 +1,4 @@
+3 3 1 2
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p02013/input.4.txt b/public_test_cases/p02013/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5b3aae27630faa7946b484eedada16de7809583
--- /dev/null
+++ b/public_test_cases/p02013/input.4.txt
@@ -0,0 +1,5 @@
+5 4 1 5
+1 2
+2 3
+3 4
+4 5
diff --git a/public_test_cases/p02013/output.0.txt b/public_test_cases/p02013/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02013/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02013/output.1.txt b/public_test_cases/p02013/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02013/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02013/output.2.txt b/public_test_cases/p02013/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02013/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02013/output.3.txt b/public_test_cases/p02013/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02013/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02013/output.4.txt b/public_test_cases/p02013/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02013/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02014/input.0.txt b/public_test_cases/p02014/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45f04b2771b7d734df841d12bae487af04ff9c0b
--- /dev/null
+++ b/public_test_cases/p02014/input.0.txt
@@ -0,0 +1,4 @@
+3 1
+3
+2
+1
diff --git a/public_test_cases/p02014/input.1.txt b/public_test_cases/p02014/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64db5debf99cf9f684d6a45ea99a34ebdf4ca443
--- /dev/null
+++ b/public_test_cases/p02014/input.1.txt
@@ -0,0 +1,4 @@
+3 100
+3
+2
+1
diff --git a/public_test_cases/p02014/input.2.txt b/public_test_cases/p02014/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45f04b2771b7d734df841d12bae487af04ff9c0b
--- /dev/null
+++ b/public_test_cases/p02014/input.2.txt
@@ -0,0 +1,4 @@
+3 1
+3
+2
+1
diff --git a/public_test_cases/p02014/input.3.txt b/public_test_cases/p02014/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f8c7ad9c7a92163119712244c760f2c763c3292
--- /dev/null
+++ b/public_test_cases/p02014/input.3.txt
@@ -0,0 +1,6 @@
+5 3
+5
+3
+2
+1
+4
diff --git a/public_test_cases/p02014/input.4.txt b/public_test_cases/p02014/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bfeb828c7ca3577383c1352d06bb260066612ec
--- /dev/null
+++ b/public_test_cases/p02014/input.4.txt
@@ -0,0 +1,6 @@
+5 3
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p02014/output.0.txt b/public_test_cases/p02014/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1d0ff9b7d7d46dd2db8d33c537cdb4bf7422851
--- /dev/null
+++ b/public_test_cases/p02014/output.0.txt
@@ -0,0 +1,3 @@
+1
+3
+2
diff --git a/public_test_cases/p02014/output.1.txt b/public_test_cases/p02014/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d6976f9b54866fa6afeb9080bfd843098f107bb
--- /dev/null
+++ b/public_test_cases/p02014/output.1.txt
@@ -0,0 +1,3 @@
+3
+2
+1
diff --git a/public_test_cases/p02014/output.2.txt b/public_test_cases/p02014/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1d0ff9b7d7d46dd2db8d33c537cdb4bf7422851
--- /dev/null
+++ b/public_test_cases/p02014/output.2.txt
@@ -0,0 +1,3 @@
+1
+3
+2
diff --git a/public_test_cases/p02014/output.3.txt b/public_test_cases/p02014/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e38f68c59a663dfe363e0daa2315a993382f171
--- /dev/null
+++ b/public_test_cases/p02014/output.3.txt
@@ -0,0 +1,5 @@
+1
+3
+5
+2
+4
diff --git a/public_test_cases/p02014/output.4.txt b/public_test_cases/p02014/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a1218a1024a212bb3db30becd860315f9f3ac52
--- /dev/null
+++ b/public_test_cases/p02014/output.4.txt
@@ -0,0 +1,5 @@
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p02015/input.0.txt b/public_test_cases/p02015/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0136d90d2ddbba045c69e3554f79ed9898993e3
--- /dev/null
+++ b/public_test_cases/p02015/input.0.txt
@@ -0,0 +1 @@
+(No input)
diff --git a/public_test_cases/p02015/output.0.txt b/public_test_cases/p02015/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce8f4ee8e8dfa828747c43a200aef6c0588f3999
--- /dev/null
+++ b/public_test_cases/p02015/output.0.txt
@@ -0,0 +1 @@
+Paken
diff --git a/public_test_cases/p02016/input.0.txt b/public_test_cases/p02016/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dedec4d3750f5258221bbb38355f042bd7d9db2
--- /dev/null
+++ b/public_test_cases/p02016/input.0.txt
@@ -0,0 +1 @@
+ani
diff --git a/public_test_cases/p02016/input.1.txt b/public_test_cases/p02016/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dedec4d3750f5258221bbb38355f042bd7d9db2
--- /dev/null
+++ b/public_test_cases/p02016/input.1.txt
@@ -0,0 +1 @@
+ani
diff --git a/public_test_cases/p02016/output.0.txt b/public_test_cases/p02016/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1a7d7819be759a3d46a02b36a306d15be79ce8b
--- /dev/null
+++ b/public_test_cases/p02016/output.0.txt
@@ -0,0 +1 @@
+square1001
diff --git a/public_test_cases/p02016/output.1.txt b/public_test_cases/p02016/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1a7d7819be759a3d46a02b36a306d15be79ce8b
--- /dev/null
+++ b/public_test_cases/p02016/output.1.txt
@@ -0,0 +1 @@
+square1001
diff --git a/public_test_cases/p02017/input.0.txt b/public_test_cases/p02017/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7545bbcedfe41aead40e423af5f8235b8e2c25e8
--- /dev/null
+++ b/public_test_cases/p02017/input.0.txt
@@ -0,0 +1 @@
+3 5 1 4
diff --git a/public_test_cases/p02017/input.1.txt b/public_test_cases/p02017/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7545bbcedfe41aead40e423af5f8235b8e2c25e8
--- /dev/null
+++ b/public_test_cases/p02017/input.1.txt
@@ -0,0 +1 @@
+3 5 1 4
diff --git a/public_test_cases/p02017/output.0.txt b/public_test_cases/p02017/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02017/output.0.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02017/output.1.txt b/public_test_cases/p02017/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02017/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02018/input.0.txt b/public_test_cases/p02018/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d30c9fd6dec8ce0c4bc489e2bd9d008b71443d2b
--- /dev/null
+++ b/public_test_cases/p02018/input.0.txt
@@ -0,0 +1,2 @@
+5
+4 3 5 2 6
diff --git a/public_test_cases/p02018/input.1.txt b/public_test_cases/p02018/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d30c9fd6dec8ce0c4bc489e2bd9d008b71443d2b
--- /dev/null
+++ b/public_test_cases/p02018/input.1.txt
@@ -0,0 +1,2 @@
+5
+4 3 5 2 6
diff --git a/public_test_cases/p02018/output.0.txt b/public_test_cases/p02018/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02018/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02018/output.1.txt b/public_test_cases/p02018/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02018/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02019/input.0.txt b/public_test_cases/p02019/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4088780bb744201fe48df9e0c63465b4911b66be
--- /dev/null
+++ b/public_test_cases/p02019/input.0.txt
@@ -0,0 +1 @@
+6 3 2 1
diff --git a/public_test_cases/p02019/input.1.txt b/public_test_cases/p02019/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4088780bb744201fe48df9e0c63465b4911b66be
--- /dev/null
+++ b/public_test_cases/p02019/input.1.txt
@@ -0,0 +1 @@
+6 3 2 1
diff --git a/public_test_cases/p02019/output.0.txt b/public_test_cases/p02019/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02019/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02019/output.1.txt b/public_test_cases/p02019/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02019/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02020/input.0.txt b/public_test_cases/p02020/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91c3508acfe84d227d59ed0428587f625b3f8d7e
--- /dev/null
+++ b/public_test_cases/p02020/input.0.txt
@@ -0,0 +1,2 @@
+5
+2 3 5 6 7
diff --git a/public_test_cases/p02020/input.1.txt b/public_test_cases/p02020/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91c3508acfe84d227d59ed0428587f625b3f8d7e
--- /dev/null
+++ b/public_test_cases/p02020/input.1.txt
@@ -0,0 +1,2 @@
+5
+2 3 5 6 7
diff --git a/public_test_cases/p02020/output.0.txt b/public_test_cases/p02020/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02020/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02020/output.1.txt b/public_test_cases/p02020/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02020/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02021/input.0.txt b/public_test_cases/p02021/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..594941d1930cc7104f304f8d073505172ae22b93
--- /dev/null
+++ b/public_test_cases/p02021/input.0.txt
@@ -0,0 +1,2 @@
+5
+4 2 5 3 1
diff --git a/public_test_cases/p02021/input.1.txt b/public_test_cases/p02021/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..594941d1930cc7104f304f8d073505172ae22b93
--- /dev/null
+++ b/public_test_cases/p02021/input.1.txt
@@ -0,0 +1,2 @@
+5
+4 2 5 3 1
diff --git a/public_test_cases/p02021/output.0.txt b/public_test_cases/p02021/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02021/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02021/output.1.txt b/public_test_cases/p02021/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02021/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02022/input.0.txt b/public_test_cases/p02022/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31d6a80986275f4ac95b36f3087876b9e3d84461
--- /dev/null
+++ b/public_test_cases/p02022/input.0.txt
@@ -0,0 +1,3 @@
+3 2
+3 1 5
+2 4
diff --git a/public_test_cases/p02022/input.1.txt b/public_test_cases/p02022/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31d6a80986275f4ac95b36f3087876b9e3d84461
--- /dev/null
+++ b/public_test_cases/p02022/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+3 1 5
+2 4
diff --git a/public_test_cases/p02022/output.0.txt b/public_test_cases/p02022/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1e7bc86996a80d4a16529b990adda1d3434c92
--- /dev/null
+++ b/public_test_cases/p02022/output.0.txt
@@ -0,0 +1 @@
+54
diff --git a/public_test_cases/p02022/output.1.txt b/public_test_cases/p02022/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1e7bc86996a80d4a16529b990adda1d3434c92
--- /dev/null
+++ b/public_test_cases/p02022/output.1.txt
@@ -0,0 +1 @@
+54
diff --git a/public_test_cases/p02023/input.0.txt b/public_test_cases/p02023/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b07af5eda2ae01b6a8b08f54441ff3b291646c8
--- /dev/null
+++ b/public_test_cases/p02023/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 4
+3 6
+2 7
+5 8
diff --git a/public_test_cases/p02023/input.1.txt b/public_test_cases/p02023/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b07af5eda2ae01b6a8b08f54441ff3b291646c8
--- /dev/null
+++ b/public_test_cases/p02023/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 4
+3 6
+2 7
+5 8
diff --git a/public_test_cases/p02023/output.0.txt b/public_test_cases/p02023/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02023/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02023/output.1.txt b/public_test_cases/p02023/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02023/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02024/input.0.txt b/public_test_cases/p02024/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ccb39e49f5b766ea3dd111a618e37efdae4122d
--- /dev/null
+++ b/public_test_cases/p02024/input.0.txt
@@ -0,0 +1 @@
+4 5 2 3
diff --git a/public_test_cases/p02024/input.1.txt b/public_test_cases/p02024/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ccb39e49f5b766ea3dd111a618e37efdae4122d
--- /dev/null
+++ b/public_test_cases/p02024/input.1.txt
@@ -0,0 +1 @@
+4 5 2 3
diff --git a/public_test_cases/p02024/output.0.txt b/public_test_cases/p02024/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02024/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02024/output.1.txt b/public_test_cases/p02024/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02024/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02025/input.0.txt b/public_test_cases/p02025/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b56a27fd8cdb7e824a788fd7fc8f465a71b3173c
--- /dev/null
+++ b/public_test_cases/p02025/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+1 2
+4 8
diff --git a/public_test_cases/p02025/input.1.txt b/public_test_cases/p02025/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b56a27fd8cdb7e824a788fd7fc8f465a71b3173c
--- /dev/null
+++ b/public_test_cases/p02025/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+1 2
+4 8
diff --git a/public_test_cases/p02025/output.0.txt b/public_test_cases/p02025/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p02025/output.0.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p02025/output.1.txt b/public_test_cases/p02025/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p02025/output.1.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p02026/input.0.txt b/public_test_cases/p02026/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e3514ace0bd016839ade74e8b165f3e841c295
--- /dev/null
+++ b/public_test_cases/p02026/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2 5
+6 3 4
diff --git a/public_test_cases/p02026/input.1.txt b/public_test_cases/p02026/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e3514ace0bd016839ade74e8b165f3e841c295
--- /dev/null
+++ b/public_test_cases/p02026/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2 5
+6 3 4
diff --git a/public_test_cases/p02026/output.0.txt b/public_test_cases/p02026/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4539bbf2d22d5c3b4227859ff854eda060a687fb
--- /dev/null
+++ b/public_test_cases/p02026/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+2
diff --git a/public_test_cases/p02026/output.1.txt b/public_test_cases/p02026/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4539bbf2d22d5c3b4227859ff854eda060a687fb
--- /dev/null
+++ b/public_test_cases/p02026/output.1.txt
@@ -0,0 +1,3 @@
+0
+1
+2
diff --git a/public_test_cases/p02027/input.0.txt b/public_test_cases/p02027/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0dc5f67e18feaa8ac385a23e46b2594040b228c
--- /dev/null
+++ b/public_test_cases/p02027/input.0.txt
@@ -0,0 +1 @@
+6 3
diff --git a/public_test_cases/p02027/input.1.txt b/public_test_cases/p02027/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0dc5f67e18feaa8ac385a23e46b2594040b228c
--- /dev/null
+++ b/public_test_cases/p02027/input.1.txt
@@ -0,0 +1 @@
+6 3
diff --git a/public_test_cases/p02027/output.0.txt b/public_test_cases/p02027/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02027/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02027/output.1.txt b/public_test_cases/p02027/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02027/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02028/input.0.txt b/public_test_cases/p02028/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dee28b4c39b2da756eb3a7fded1ed3fa94817588
--- /dev/null
+++ b/public_test_cases/p02028/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+1 5
+1 5
diff --git a/public_test_cases/p02028/input.1.txt b/public_test_cases/p02028/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dee28b4c39b2da756eb3a7fded1ed3fa94817588
--- /dev/null
+++ b/public_test_cases/p02028/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+1 5
+1 5
diff --git a/public_test_cases/p02028/output.0.txt b/public_test_cases/p02028/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02028/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02028/output.1.txt b/public_test_cases/p02028/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02028/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02029/input.0.txt b/public_test_cases/p02029/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72b4010b48201eb1cd800dde67b6743239b59b23
--- /dev/null
+++ b/public_test_cases/p02029/input.0.txt
@@ -0,0 +1,5 @@
+3 1
+10 1
+20 2
+30 3
+20 2
diff --git a/public_test_cases/p02029/input.1.txt b/public_test_cases/p02029/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72b4010b48201eb1cd800dde67b6743239b59b23
--- /dev/null
+++ b/public_test_cases/p02029/input.1.txt
@@ -0,0 +1,5 @@
+3 1
+10 1
+20 2
+30 3
+20 2
diff --git a/public_test_cases/p02029/output.0.txt b/public_test_cases/p02029/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02029/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02029/output.1.txt b/public_test_cases/p02029/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02029/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02030/input.0.txt b/public_test_cases/p02030/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39e00534dcddbf133b7371afd3124990caaf7d55
--- /dev/null
+++ b/public_test_cases/p02030/input.0.txt
@@ -0,0 +1,3 @@
+4 4
+1 2 4 9
+1 3 4 7
diff --git a/public_test_cases/p02030/input.1.txt b/public_test_cases/p02030/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39e00534dcddbf133b7371afd3124990caaf7d55
--- /dev/null
+++ b/public_test_cases/p02030/input.1.txt
@@ -0,0 +1,3 @@
+4 4
+1 2 4 9
+1 3 4 7
diff --git a/public_test_cases/p02030/output.0.txt b/public_test_cases/p02030/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c244a0c140e7b8f82bfd81c9d599ffc38c20a122
--- /dev/null
+++ b/public_test_cases/p02030/output.0.txt
@@ -0,0 +1,9 @@
+2 6
+1
+4
+1
+2
+3
+4
+7
+9
diff --git a/public_test_cases/p02030/output.1.txt b/public_test_cases/p02030/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c244a0c140e7b8f82bfd81c9d599ffc38c20a122
--- /dev/null
+++ b/public_test_cases/p02030/output.1.txt
@@ -0,0 +1,9 @@
+2 6
+1
+4
+1
+2
+3
+4
+7
+9
diff --git a/public_test_cases/p02031/input.0.txt b/public_test_cases/p02031/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cd4f58526b6a547080920f1f04b3d3a58b80b1
--- /dev/null
+++ b/public_test_cases/p02031/input.0.txt
@@ -0,0 +1,2 @@
+2
+2 1
diff --git a/public_test_cases/p02031/input.1.txt b/public_test_cases/p02031/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cd4f58526b6a547080920f1f04b3d3a58b80b1
--- /dev/null
+++ b/public_test_cases/p02031/input.1.txt
@@ -0,0 +1,2 @@
+2
+2 1
diff --git a/public_test_cases/p02031/output.0.txt b/public_test_cases/p02031/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbb2ed7bd9e0c917fd90e69d3401e6ebf43f30c4
--- /dev/null
+++ b/public_test_cases/p02031/output.0.txt
@@ -0,0 +1 @@
+(())
diff --git a/public_test_cases/p02031/output.1.txt b/public_test_cases/p02031/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbb2ed7bd9e0c917fd90e69d3401e6ebf43f30c4
--- /dev/null
+++ b/public_test_cases/p02031/output.1.txt
@@ -0,0 +1 @@
+(())
diff --git a/public_test_cases/p02032/input.0.txt b/public_test_cases/p02032/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p02032/input.0.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p02032/input.1.txt b/public_test_cases/p02032/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p02032/input.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p02032/output.0.txt b/public_test_cases/p02032/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p02032/output.0.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p02032/output.1.txt b/public_test_cases/p02032/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p02032/output.1.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p02033/input.0.txt b/public_test_cases/p02033/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e17e785b8970b1b37e35ffb038da934bdeb445d1
--- /dev/null
+++ b/public_test_cases/p02033/input.0.txt
@@ -0,0 +1,4 @@
+5 1
+2
+1
+3
diff --git a/public_test_cases/p02033/input.1.txt b/public_test_cases/p02033/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e17e785b8970b1b37e35ffb038da934bdeb445d1
--- /dev/null
+++ b/public_test_cases/p02033/input.1.txt
@@ -0,0 +1,4 @@
+5 1
+2
+1
+3
diff --git a/public_test_cases/p02033/output.0.txt b/public_test_cases/p02033/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02033/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02033/output.1.txt b/public_test_cases/p02033/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02033/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02034/input.0.txt b/public_test_cases/p02034/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1e3e0dd5fbbc7920d224570facaaf24bb20a434
--- /dev/null
+++ b/public_test_cases/p02034/input.0.txt
@@ -0,0 +1,2 @@
+6
+tabata
diff --git a/public_test_cases/p02034/input.1.txt b/public_test_cases/p02034/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1e3e0dd5fbbc7920d224570facaaf24bb20a434
--- /dev/null
+++ b/public_test_cases/p02034/input.1.txt
@@ -0,0 +1,2 @@
+6
+tabata
diff --git a/public_test_cases/p02034/output.0.txt b/public_test_cases/p02034/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02034/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02034/output.1.txt b/public_test_cases/p02034/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02034/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02035/input.0.txt b/public_test_cases/p02035/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23a8eb5f27366159dc5eb22b5fac6f27ce4b0442
--- /dev/null
+++ b/public_test_cases/p02035/input.0.txt
@@ -0,0 +1 @@
+3 310779401
diff --git a/public_test_cases/p02035/input.1.txt b/public_test_cases/p02035/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23a8eb5f27366159dc5eb22b5fac6f27ce4b0442
--- /dev/null
+++ b/public_test_cases/p02035/input.1.txt
@@ -0,0 +1 @@
+3 310779401
diff --git a/public_test_cases/p02035/output.0.txt b/public_test_cases/p02035/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02035/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02035/output.1.txt b/public_test_cases/p02035/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02035/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02036/input.0.txt b/public_test_cases/p02036/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0f2456f302d06ba159811dab43bc6e12cd68a5b
--- /dev/null
+++ b/public_test_cases/p02036/input.0.txt
@@ -0,0 +1 @@
+3 1000000007
diff --git a/public_test_cases/p02036/input.1.txt b/public_test_cases/p02036/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0f2456f302d06ba159811dab43bc6e12cd68a5b
--- /dev/null
+++ b/public_test_cases/p02036/input.1.txt
@@ -0,0 +1 @@
+3 1000000007
diff --git a/public_test_cases/p02036/output.0.txt b/public_test_cases/p02036/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad03f7c5a871d69ea237b7ad0cbff1b20d6db654
--- /dev/null
+++ b/public_test_cases/p02036/output.0.txt
@@ -0,0 +1 @@
+204
diff --git a/public_test_cases/p02036/output.1.txt b/public_test_cases/p02036/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad03f7c5a871d69ea237b7ad0cbff1b20d6db654
--- /dev/null
+++ b/public_test_cases/p02036/output.1.txt
@@ -0,0 +1 @@
+204
diff --git a/public_test_cases/p02037/input.0.txt b/public_test_cases/p02037/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fed9e9547de525ca746d1560bed315243e013d4
--- /dev/null
+++ b/public_test_cases/p02037/input.0.txt
@@ -0,0 +1,2 @@
+5 8
+2 2
diff --git a/public_test_cases/p02037/input.1.txt b/public_test_cases/p02037/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fed9e9547de525ca746d1560bed315243e013d4
--- /dev/null
+++ b/public_test_cases/p02037/input.1.txt
@@ -0,0 +1,2 @@
+5 8
+2 2
diff --git a/public_test_cases/p02037/output.0.txt b/public_test_cases/p02037/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02037/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02037/output.1.txt b/public_test_cases/p02037/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02037/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02038/input.0.txt b/public_test_cases/p02038/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39956e29a91b3936f0fb2eab7d1889ce90107e77
--- /dev/null
+++ b/public_test_cases/p02038/input.0.txt
@@ -0,0 +1,2 @@
+3
+F T T
diff --git a/public_test_cases/p02038/input.1.txt b/public_test_cases/p02038/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39956e29a91b3936f0fb2eab7d1889ce90107e77
--- /dev/null
+++ b/public_test_cases/p02038/input.1.txt
@@ -0,0 +1,2 @@
+3
+F T T
diff --git a/public_test_cases/p02038/output.0.txt b/public_test_cases/p02038/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62a6e3c9dfcb5f2a009cb85d9562145c1ea803a1
--- /dev/null
+++ b/public_test_cases/p02038/output.0.txt
@@ -0,0 +1 @@
+T
diff --git a/public_test_cases/p02038/output.1.txt b/public_test_cases/p02038/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62a6e3c9dfcb5f2a009cb85d9562145c1ea803a1
--- /dev/null
+++ b/public_test_cases/p02038/output.1.txt
@@ -0,0 +1 @@
+T
diff --git a/public_test_cases/p02039/input.0.txt b/public_test_cases/p02039/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..884e65584ad93655393d4a9ef0c3c591dce2cfd5
--- /dev/null
+++ b/public_test_cases/p02039/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 1 8 8
+2 4 3 8
+8 8 8 8
diff --git a/public_test_cases/p02039/input.1.txt b/public_test_cases/p02039/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..884e65584ad93655393d4a9ef0c3c591dce2cfd5
--- /dev/null
+++ b/public_test_cases/p02039/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 1 8 8
+2 4 3 8
+8 8 8 8
diff --git a/public_test_cases/p02039/output.0.txt b/public_test_cases/p02039/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa17b9e207e7878ac5f573a3fdb1d0a68ff851db
--- /dev/null
+++ b/public_test_cases/p02039/output.0.txt
@@ -0,0 +1,3 @@
+48
+7
+1
diff --git a/public_test_cases/p02039/output.1.txt b/public_test_cases/p02039/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa17b9e207e7878ac5f573a3fdb1d0a68ff851db
--- /dev/null
+++ b/public_test_cases/p02039/output.1.txt
@@ -0,0 +1,3 @@
+48
+7
+1
diff --git a/public_test_cases/p02041/input.0.txt b/public_test_cases/p02041/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32b8523fd5758096a2fd201252978b73e02c89a7
--- /dev/null
+++ b/public_test_cases/p02041/input.0.txt
@@ -0,0 +1,2 @@
+4
+6 4 7 8
diff --git a/public_test_cases/p02041/input.1.txt b/public_test_cases/p02041/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32b8523fd5758096a2fd201252978b73e02c89a7
--- /dev/null
+++ b/public_test_cases/p02041/input.1.txt
@@ -0,0 +1,2 @@
+4
+6 4 7 8
diff --git a/public_test_cases/p02041/output.0.txt b/public_test_cases/p02041/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p02041/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p02041/output.1.txt b/public_test_cases/p02041/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p02041/output.1.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p02042/input.0.txt b/public_test_cases/p02042/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25cb906735e5d6375a274d55932cfecc15245194
--- /dev/null
+++ b/public_test_cases/p02042/input.0.txt
@@ -0,0 +1,2 @@
+5 2
+0 3 2 1 4
diff --git a/public_test_cases/p02042/input.1.txt b/public_test_cases/p02042/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25cb906735e5d6375a274d55932cfecc15245194
--- /dev/null
+++ b/public_test_cases/p02042/input.1.txt
@@ -0,0 +1,2 @@
+5 2
+0 3 2 1 4
diff --git a/public_test_cases/p02042/output.0.txt b/public_test_cases/p02042/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02042/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02042/output.1.txt b/public_test_cases/p02042/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02042/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02043/input.0.txt b/public_test_cases/p02043/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ac1fe3c17752020ea5a1328faf7ca4bc83f9946
--- /dev/null
+++ b/public_test_cases/p02043/input.0.txt
@@ -0,0 +1,5 @@
+4 4 10
+100 100 100 100
+100 100 100 100
+1 100 100 1
+1 1 1 1
diff --git a/public_test_cases/p02043/input.1.txt b/public_test_cases/p02043/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ac1fe3c17752020ea5a1328faf7ca4bc83f9946
--- /dev/null
+++ b/public_test_cases/p02043/input.1.txt
@@ -0,0 +1,5 @@
+4 4 10
+100 100 100 100
+100 100 100 100
+1 100 100 1
+1 1 1 1
diff --git a/public_test_cases/p02043/output.0.txt b/public_test_cases/p02043/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e59798702d1dcb2edfd785bda32bc90386f95e56
--- /dev/null
+++ b/public_test_cases/p02043/output.0.txt
@@ -0,0 +1 @@
+970
diff --git a/public_test_cases/p02043/output.1.txt b/public_test_cases/p02043/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e59798702d1dcb2edfd785bda32bc90386f95e56
--- /dev/null
+++ b/public_test_cases/p02043/output.1.txt
@@ -0,0 +1 @@
+970
diff --git a/public_test_cases/p02044/input.0.txt b/public_test_cases/p02044/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a21e7576401a4592e7fc10feb4684170b944fe4a
--- /dev/null
+++ b/public_test_cases/p02044/input.0.txt
@@ -0,0 +1,9 @@
+3 300
+120 100 80
+3 30
+10 20 5
+4 1000
+100 200 300 400
+5 5
+2523 8430 3 4199 632
+0 0
diff --git a/public_test_cases/p02044/input.1.txt b/public_test_cases/p02044/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a21e7576401a4592e7fc10feb4684170b944fe4a
--- /dev/null
+++ b/public_test_cases/p02044/input.1.txt
@@ -0,0 +1,9 @@
+3 300
+120 100 80
+3 30
+10 20 5
+4 1000
+100 200 300 400
+5 5
+2523 8430 3 4199 632
+0 0
diff --git a/public_test_cases/p02044/output.0.txt b/public_test_cases/p02044/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13eb37ea517c3e21e677b930cb1ae7ccb270f92f
--- /dev/null
+++ b/public_test_cases/p02044/output.0.txt
@@ -0,0 +1,4 @@
+280
+25
+800
+5
diff --git a/public_test_cases/p02044/output.1.txt b/public_test_cases/p02044/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13eb37ea517c3e21e677b930cb1ae7ccb270f92f
--- /dev/null
+++ b/public_test_cases/p02044/output.1.txt
@@ -0,0 +1,4 @@
+280
+25
+800
+5
diff --git a/public_test_cases/p02045/input.0.txt b/public_test_cases/p02045/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71280256376401f16fb941b0b6eac09a67c1a285
--- /dev/null
+++ b/public_test_cases/p02045/input.0.txt
@@ -0,0 +1,14 @@
+2
+3 3 5 7
+3 3
+7 3
+7 7
+5
+1 10 100 10
+1 1
+100 1
+50 20
+50 80
+51 21
+51 1
+0
diff --git a/public_test_cases/p02045/input.1.txt b/public_test_cases/p02045/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71280256376401f16fb941b0b6eac09a67c1a285
--- /dev/null
+++ b/public_test_cases/p02045/input.1.txt
@@ -0,0 +1,14 @@
+2
+3 3 5 7
+3 3
+7 3
+7 7
+5
+1 10 100 10
+1 1
+100 1
+50 20
+50 80
+51 21
+51 1
+0
diff --git a/public_test_cases/p02045/output.0.txt b/public_test_cases/p02045/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa79327f23a2277c309348db26beaa579e24f277
--- /dev/null
+++ b/public_test_cases/p02045/output.0.txt
@@ -0,0 +1,2 @@
+5
+174
diff --git a/public_test_cases/p02045/output.1.txt b/public_test_cases/p02045/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa79327f23a2277c309348db26beaa579e24f277
--- /dev/null
+++ b/public_test_cases/p02045/output.1.txt
@@ -0,0 +1,2 @@
+5
+174
diff --git a/public_test_cases/p02046/input.0.txt b/public_test_cases/p02046/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2e7415a3b335be482fe7a279df8070663801157
--- /dev/null
+++ b/public_test_cases/p02046/input.0.txt
@@ -0,0 +1,6 @@
+2 0
+2 2
+1 -1
+0 0
+0 -5
+173 207
diff --git a/public_test_cases/p02046/output.0.txt b/public_test_cases/p02046/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b16dc6e5cd6b18157b016a61f0166c68753779d2
--- /dev/null
+++ b/public_test_cases/p02046/output.0.txt
@@ -0,0 +1,6 @@
+2
+4
+1
+0
+6
+379
diff --git a/public_test_cases/p02047/input.0.txt b/public_test_cases/p02047/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2788348474bfdded1dec9d36445937a3e345670
--- /dev/null
+++ b/public_test_cases/p02047/input.0.txt
@@ -0,0 +1,25 @@
+typewriter
+periodicity
+100010
+100100
+101000
+110000
+periodicity
+typewriter
+100010
+100100
+101000
+110000
+periodicity
+typewriter
+100010
+100100
+101000
+1
+domestic
+contest
+100010
+100100
+101000
+110000
+#
diff --git a/public_test_cases/p02047/input.1.txt b/public_test_cases/p02047/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2788348474bfdded1dec9d36445937a3e345670
--- /dev/null
+++ b/public_test_cases/p02047/input.1.txt
@@ -0,0 +1,25 @@
+typewriter
+periodicity
+100010
+100100
+101000
+110000
+periodicity
+typewriter
+100010
+100100
+101000
+110000
+periodicity
+typewriter
+100010
+100100
+101000
+1
+domestic
+contest
+100010
+100100
+101000
+110000
+#
diff --git a/public_test_cases/p02047/output.0.txt b/public_test_cases/p02047/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..088e3075c8e54249d785dd86d36d9110eac70e84
--- /dev/null
+++ b/public_test_cases/p02047/output.0.txt
@@ -0,0 +1,4 @@
+823120
+1001540
+603217
+502210
diff --git a/public_test_cases/p02047/output.1.txt b/public_test_cases/p02047/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..088e3075c8e54249d785dd86d36d9110eac70e84
--- /dev/null
+++ b/public_test_cases/p02047/output.1.txt
@@ -0,0 +1,4 @@
+823120
+1001540
+603217
+502210
diff --git a/public_test_cases/p02048/input.0.txt b/public_test_cases/p02048/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..119087754121592a3d4ebb50ea2763bfac375108
--- /dev/null
+++ b/public_test_cases/p02048/input.0.txt
@@ -0,0 +1,26 @@
+3 3
+1 2 3
+2 1 3
+3 3 3
+8 5
+3 3 4 3 4
+2 1 2 3 2
+7 9 7 8 7
+3 4 3 3 4
+1 2 2 3 2
+4 5 6 5 6
+7 9 7 7 8
+4 5 5 6 6
+5 5
+1 2 3 4 5
+2 3 4 5 1
+3 4 5 1 2
+4 5 1 2 3
+5 1 2 3 4
+5 9
+1 1 1 1 1 1 1 1 1
+2 2 2 2 2 2 2 2 2
+3 3 3 3 3 3 3 3 3
+4 4 4 4 4 4 4 4 4
+5 5 5 5 5 5 5 5 5
+0 0
diff --git a/public_test_cases/p02048/input.1.txt b/public_test_cases/p02048/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..119087754121592a3d4ebb50ea2763bfac375108
--- /dev/null
+++ b/public_test_cases/p02048/input.1.txt
@@ -0,0 +1,26 @@
+3 3
+1 2 3
+2 1 3
+3 3 3
+8 5
+3 3 4 3 4
+2 1 2 3 2
+7 9 7 8 7
+3 4 3 3 4
+1 2 2 3 2
+4 5 6 5 6
+7 9 7 7 8
+4 5 5 6 6
+5 5
+1 2 3 4 5
+2 3 4 5 1
+3 4 5 1 2
+4 5 1 2 3
+5 1 2 3 4
+5 9
+1 1 1 1 1 1 1 1 1
+2 2 2 2 2 2 2 2 2
+3 3 3 3 3 3 3 3 3
+4 4 4 4 4 4 4 4 4
+5 5 5 5 5 5 5 5 5
+0 0
diff --git a/public_test_cases/p02048/output.0.txt b/public_test_cases/p02048/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b46c96795ef8d543a7e92dd8df57743a34f71372
--- /dev/null
+++ b/public_test_cases/p02048/output.0.txt
@@ -0,0 +1,4 @@
+2
+3
+1
+9
diff --git a/public_test_cases/p02048/output.1.txt b/public_test_cases/p02048/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b46c96795ef8d543a7e92dd8df57743a34f71372
--- /dev/null
+++ b/public_test_cases/p02048/output.1.txt
@@ -0,0 +1,4 @@
+2
+3
+1
+9
diff --git a/public_test_cases/p02049/input.0.txt b/public_test_cases/p02049/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..790bd32c6f315001009593d51170f958fb77ddcb
--- /dev/null
+++ b/public_test_cases/p02049/input.0.txt
@@ -0,0 +1,7 @@
+MI2(2SI)2PI
+ISSI
+100(100(JAG))
+JAG
+1000000000000000000A
+AAAAA
+#
diff --git a/public_test_cases/p02049/input.1.txt b/public_test_cases/p02049/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..790bd32c6f315001009593d51170f958fb77ddcb
--- /dev/null
+++ b/public_test_cases/p02049/input.1.txt
@@ -0,0 +1,7 @@
+MI2(2SI)2PI
+ISSI
+100(100(JAG))
+JAG
+1000000000000000000A
+AAAAA
+#
diff --git a/public_test_cases/p02049/output.0.txt b/public_test_cases/p02049/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..136066d774039a683a84be81e588d608e5e3a076
--- /dev/null
+++ b/public_test_cases/p02049/output.0.txt
@@ -0,0 +1,3 @@
+2
+10000
+999999999999999996
diff --git a/public_test_cases/p02049/output.1.txt b/public_test_cases/p02049/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..136066d774039a683a84be81e588d608e5e3a076
--- /dev/null
+++ b/public_test_cases/p02049/output.1.txt
@@ -0,0 +1,3 @@
+2
+10000
+999999999999999996
diff --git a/public_test_cases/p02050/input.0.txt b/public_test_cases/p02050/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be6c7c47a304fd4443bcb67fb0804fa150ed69c8
--- /dev/null
+++ b/public_test_cases/p02050/input.0.txt
@@ -0,0 +1,25 @@
+5 2
+1 1
+1 4
+2 2
+3 1
+3 5
+3 1
+0 2
+1 0
+-1 0
+3 2
+0 2
+1 0
+-1 0
+9 10
+8 1
+9 19
+2 10
+1 1
+4 17
+7 13
+3 4
+6 13
+9 21
+0 0
diff --git a/public_test_cases/p02050/input.1.txt b/public_test_cases/p02050/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be6c7c47a304fd4443bcb67fb0804fa150ed69c8
--- /dev/null
+++ b/public_test_cases/p02050/input.1.txt
@@ -0,0 +1,25 @@
+5 2
+1 1
+1 4
+2 2
+3 1
+3 5
+3 1
+0 2
+1 0
+-1 0
+3 2
+0 2
+1 0
+-1 0
+9 10
+8 1
+9 19
+2 10
+1 1
+4 17
+7 13
+3 4
+6 13
+9 21
+0 0
diff --git a/public_test_cases/p02050/output.0.txt b/public_test_cases/p02050/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d5975542342d07222b7004168665bbea799ace5
--- /dev/null
+++ b/public_test_cases/p02050/output.0.txt
@@ -0,0 +1,4 @@
+11.812559200041266
+6.472135954999580
+-1
+52.202878812480016
diff --git a/public_test_cases/p02050/output.1.txt b/public_test_cases/p02050/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d5975542342d07222b7004168665bbea799ace5
--- /dev/null
+++ b/public_test_cases/p02050/output.1.txt
@@ -0,0 +1,4 @@
+11.812559200041266
+6.472135954999580
+-1
+52.202878812480016
diff --git a/public_test_cases/p02051/input.0.txt b/public_test_cases/p02051/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9222961375745e76c2bee54f85459e7ff2191
--- /dev/null
+++ b/public_test_cases/p02051/input.0.txt
@@ -0,0 +1,38 @@
+4 9
+1 2 1
+1 2 2
+1 3 1
+1 3 2
+1 3 3
+2 3 1
+2 3 2
+1 4 1
+3 4 2
+8
+1 5
+2 5
+3 5
+4 5
+1 1234567
+2 1234567
+3 1234567
+4 1234567
+4 8
+1 2 1
+1 2 1
+1 2 3
+3 4 3
+1 4 2
+2 4 1
+2 4 3
+2 4 3
+8
+1 3
+2 6
+3 8
+4 12
+1 31415926
+2 53589793
+3 23846
+4 26433832
+0 0
diff --git a/public_test_cases/p02051/input.1.txt b/public_test_cases/p02051/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9222961375745e76c2bee54f85459e7ff2191
--- /dev/null
+++ b/public_test_cases/p02051/input.1.txt
@@ -0,0 +1,38 @@
+4 9
+1 2 1
+1 2 2
+1 3 1
+1 3 2
+1 3 3
+2 3 1
+2 3 2
+1 4 1
+3 4 2
+8
+1 5
+2 5
+3 5
+4 5
+1 1234567
+2 1234567
+3 1234567
+4 1234567
+4 8
+1 2 1
+1 2 1
+1 2 3
+3 4 3
+1 4 2
+2 4 1
+2 4 3
+2 4 3
+8
+1 3
+2 6
+3 8
+4 12
+1 31415926
+2 53589793
+3 23846
+4 26433832
+0 0
diff --git a/public_test_cases/p02051/output.0.txt b/public_test_cases/p02051/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e4d505e54fb58bbf45f72b3749052778f15c1e
--- /dev/null
+++ b/public_test_cases/p02051/output.0.txt
@@ -0,0 +1,16 @@
+1
+9
+37
+21
+1
+2469133
+307629943
+60012504
+1
+16
+0
+424
+1
+160769377
+0
+43581113
diff --git a/public_test_cases/p02051/output.1.txt b/public_test_cases/p02051/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e4d505e54fb58bbf45f72b3749052778f15c1e
--- /dev/null
+++ b/public_test_cases/p02051/output.1.txt
@@ -0,0 +1,16 @@
+1
+9
+37
+21
+1
+2469133
+307629943
+60012504
+1
+16
+0
+424
+1
+160769377
+0
+43581113
diff --git a/public_test_cases/p02052/input.0.txt b/public_test_cases/p02052/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5aed2bdafbfa171ee8b7339b16b16d23442a029
--- /dev/null
+++ b/public_test_cases/p02052/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+B.B
+..B
+.BB
diff --git a/public_test_cases/p02052/input.1.txt b/public_test_cases/p02052/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5aed2bdafbfa171ee8b7339b16b16d23442a029
--- /dev/null
+++ b/public_test_cases/p02052/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+B.B
+..B
+.BB
diff --git a/public_test_cases/p02052/output.0.txt b/public_test_cases/p02052/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02052/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02052/output.1.txt b/public_test_cases/p02052/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02052/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02053/input.0.txt b/public_test_cases/p02053/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5aed2bdafbfa171ee8b7339b16b16d23442a029
--- /dev/null
+++ b/public_test_cases/p02053/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+B.B
+..B
+.BB
diff --git a/public_test_cases/p02053/input.1.txt b/public_test_cases/p02053/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5aed2bdafbfa171ee8b7339b16b16d23442a029
--- /dev/null
+++ b/public_test_cases/p02053/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+B.B
+..B
+.BB
diff --git a/public_test_cases/p02053/output.0.txt b/public_test_cases/p02053/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02053/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02053/output.1.txt b/public_test_cases/p02053/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02053/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02054/input.0.txt b/public_test_cases/p02054/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ab67d044361595c506dd20b08e62e48d27e3422
--- /dev/null
+++ b/public_test_cases/p02054/input.0.txt
@@ -0,0 +1 @@
+1 1 10
diff --git a/public_test_cases/p02054/input.1.txt b/public_test_cases/p02054/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ab67d044361595c506dd20b08e62e48d27e3422
--- /dev/null
+++ b/public_test_cases/p02054/input.1.txt
@@ -0,0 +1 @@
+1 1 10
diff --git a/public_test_cases/p02054/output.0.txt b/public_test_cases/p02054/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..486fae5587174b2ea71fb160cba85931005604b7
--- /dev/null
+++ b/public_test_cases/p02054/output.0.txt
@@ -0,0 +1 @@
+Hom
diff --git a/public_test_cases/p02054/output.1.txt b/public_test_cases/p02054/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..486fae5587174b2ea71fb160cba85931005604b7
--- /dev/null
+++ b/public_test_cases/p02054/output.1.txt
@@ -0,0 +1 @@
+Hom
diff --git a/public_test_cases/p02055/input.0.txt b/public_test_cases/p02055/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2acf95554bf070f8c772d281919b47ff80b4fc3
--- /dev/null
+++ b/public_test_cases/p02055/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+1 3 2
diff --git a/public_test_cases/p02055/input.1.txt b/public_test_cases/p02055/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2acf95554bf070f8c772d281919b47ff80b4fc3
--- /dev/null
+++ b/public_test_cases/p02055/input.1.txt
@@ -0,0 +1,2 @@
+3 2
+1 3 2
diff --git a/public_test_cases/p02055/output.0.txt b/public_test_cases/p02055/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02055/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02055/output.1.txt b/public_test_cases/p02055/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02055/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02056/input.0.txt b/public_test_cases/p02056/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37dc4815e473cd2dbcacd750f0bf7a43632c8606
--- /dev/null
+++ b/public_test_cases/p02056/input.0.txt
@@ -0,0 +1,8 @@
+4 4 3
+3 6 1 6
+1 1 2 3
+6 1 5 5
+1 2 1
+2 3 1
+1 3 1
+1 4 1
diff --git a/public_test_cases/p02056/input.1.txt b/public_test_cases/p02056/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37dc4815e473cd2dbcacd750f0bf7a43632c8606
--- /dev/null
+++ b/public_test_cases/p02056/input.1.txt
@@ -0,0 +1,8 @@
+4 4 3
+3 6 1 6
+1 1 2 3
+6 1 5 5
+1 2 1
+2 3 1
+1 3 1
+1 4 1
diff --git a/public_test_cases/p02056/output.0.txt b/public_test_cases/p02056/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d4a7ed065380652036cd70f2932c8d17c5b08f7
--- /dev/null
+++ b/public_test_cases/p02056/output.0.txt
@@ -0,0 +1,3 @@
+10
+8
+9
diff --git a/public_test_cases/p02056/output.1.txt b/public_test_cases/p02056/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d4a7ed065380652036cd70f2932c8d17c5b08f7
--- /dev/null
+++ b/public_test_cases/p02056/output.1.txt
@@ -0,0 +1,3 @@
+10
+8
+9
diff --git a/public_test_cases/p02057/input.0.txt b/public_test_cases/p02057/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f3af26e2fc2d40976b6f549a551b2c092211dab
--- /dev/null
+++ b/public_test_cases/p02057/input.0.txt
@@ -0,0 +1,3 @@
+3 3
+5 1 6
+2 3 4
diff --git a/public_test_cases/p02057/input.1.txt b/public_test_cases/p02057/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f3af26e2fc2d40976b6f549a551b2c092211dab
--- /dev/null
+++ b/public_test_cases/p02057/input.1.txt
@@ -0,0 +1,3 @@
+3 3
+5 1 6
+2 3 4
diff --git a/public_test_cases/p02057/output.0.txt b/public_test_cases/p02057/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02057/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02057/output.1.txt b/public_test_cases/p02057/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02057/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02058/input.0.txt b/public_test_cases/p02058/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2df73e53c6f553fdd9759d55214b313a800ca8a8
--- /dev/null
+++ b/public_test_cases/p02058/input.0.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+1 3
diff --git a/public_test_cases/p02058/input.1.txt b/public_test_cases/p02058/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2df73e53c6f553fdd9759d55214b313a800ca8a8
--- /dev/null
+++ b/public_test_cases/p02058/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+1 3
diff --git a/public_test_cases/p02058/output.0.txt b/public_test_cases/p02058/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02058/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02058/output.1.txt b/public_test_cases/p02058/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02058/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02059/input.0.txt b/public_test_cases/p02059/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f1f02a598d9f3ccd487555126b986f5628c8c08
--- /dev/null
+++ b/public_test_cases/p02059/input.0.txt
@@ -0,0 +1 @@
+?MG?
diff --git a/public_test_cases/p02059/input.1.txt b/public_test_cases/p02059/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f1f02a598d9f3ccd487555126b986f5628c8c08
--- /dev/null
+++ b/public_test_cases/p02059/input.1.txt
@@ -0,0 +1 @@
+?MG?
diff --git a/public_test_cases/p02059/output.0.txt b/public_test_cases/p02059/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02059/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02059/output.1.txt b/public_test_cases/p02059/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02059/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02060/input.0.txt b/public_test_cases/p02060/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4db62e04623d028731b6ad7f65de3428a40ba393
--- /dev/null
+++ b/public_test_cases/p02060/input.0.txt
@@ -0,0 +1,3 @@
+10
+1 2 3 4
+1 2 4 8
diff --git a/public_test_cases/p02060/input.1.txt b/public_test_cases/p02060/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4db62e04623d028731b6ad7f65de3428a40ba393
--- /dev/null
+++ b/public_test_cases/p02060/input.1.txt
@@ -0,0 +1,3 @@
+10
+1 2 3 4
+1 2 4 8
diff --git a/public_test_cases/p02060/output.0.txt b/public_test_cases/p02060/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02060/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02060/output.1.txt b/public_test_cases/p02060/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02060/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02061/input.0.txt b/public_test_cases/p02061/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de797c246343c556e36ed631c2f93dca1b586a9d
--- /dev/null
+++ b/public_test_cases/p02061/input.0.txt
@@ -0,0 +1,4 @@
+3
+43
+9
+24
diff --git a/public_test_cases/p02061/input.1.txt b/public_test_cases/p02061/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de797c246343c556e36ed631c2f93dca1b586a9d
--- /dev/null
+++ b/public_test_cases/p02061/input.1.txt
@@ -0,0 +1,4 @@
+3
+43
+9
+24
diff --git a/public_test_cases/p02061/output.0.txt b/public_test_cases/p02061/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a422a0a88b53c86b27b1d5362863fc11ad296b1
--- /dev/null
+++ b/public_test_cases/p02061/output.0.txt
@@ -0,0 +1,3 @@
+11
+0
+5
diff --git a/public_test_cases/p02061/output.1.txt b/public_test_cases/p02061/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a422a0a88b53c86b27b1d5362863fc11ad296b1
--- /dev/null
+++ b/public_test_cases/p02061/output.1.txt
@@ -0,0 +1,3 @@
+11
+0
+5
diff --git a/public_test_cases/p02062/input.0.txt b/public_test_cases/p02062/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd08883455f5f592fb244bc693e4380701b2d851
--- /dev/null
+++ b/public_test_cases/p02062/input.0.txt
@@ -0,0 +1 @@
+?&?|?&?|?&?
diff --git a/public_test_cases/p02062/input.1.txt b/public_test_cases/p02062/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd08883455f5f592fb244bc693e4380701b2d851
--- /dev/null
+++ b/public_test_cases/p02062/input.1.txt
@@ -0,0 +1 @@
+?&?|?&?|?&?
diff --git a/public_test_cases/p02062/output.0.txt b/public_test_cases/p02062/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02062/output.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02062/output.1.txt b/public_test_cases/p02062/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02062/output.1.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02063/input.0.txt b/public_test_cases/p02063/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9290688fa7995d643a841e69083fc3f1316a0ef8
--- /dev/null
+++ b/public_test_cases/p02063/input.0.txt
@@ -0,0 +1 @@
+4 6
diff --git a/public_test_cases/p02063/input.1.txt b/public_test_cases/p02063/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9290688fa7995d643a841e69083fc3f1316a0ef8
--- /dev/null
+++ b/public_test_cases/p02063/input.1.txt
@@ -0,0 +1 @@
+4 6
diff --git a/public_test_cases/p02063/output.0.txt b/public_test_cases/p02063/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02063/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02063/output.1.txt b/public_test_cases/p02063/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02063/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02064/input.1.txt b/public_test_cases/p02064/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02064/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02064/output.1.txt b/public_test_cases/p02064/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02064/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02065/input.0.txt b/public_test_cases/p02065/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fe8599ef7865c23e1e83d128bb28f15bc028c04
--- /dev/null
+++ b/public_test_cases/p02065/input.0.txt
@@ -0,0 +1 @@
+3 2 7
diff --git a/public_test_cases/p02065/input.1.txt b/public_test_cases/p02065/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fe8599ef7865c23e1e83d128bb28f15bc028c04
--- /dev/null
+++ b/public_test_cases/p02065/input.1.txt
@@ -0,0 +1 @@
+3 2 7
diff --git a/public_test_cases/p02065/output.0.txt b/public_test_cases/p02065/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02065/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02065/output.1.txt b/public_test_cases/p02065/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02065/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02066/input.0.txt b/public_test_cases/p02066/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eb07f261121e4c88b1d67de7c6ece90c4ccc5ea
--- /dev/null
+++ b/public_test_cases/p02066/input.0.txt
@@ -0,0 +1,4 @@
+3 10
+6 8 2
+1 2 3
+2 3 8
diff --git a/public_test_cases/p02066/input.1.txt b/public_test_cases/p02066/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eb07f261121e4c88b1d67de7c6ece90c4ccc5ea
--- /dev/null
+++ b/public_test_cases/p02066/input.1.txt
@@ -0,0 +1,4 @@
+3 10
+6 8 2
+1 2 3
+2 3 8
diff --git a/public_test_cases/p02066/output.0.txt b/public_test_cases/p02066/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02066/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02066/output.1.txt b/public_test_cases/p02066/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02066/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02067/input.1.txt b/public_test_cases/p02067/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02067/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02067/output.1.txt b/public_test_cases/p02067/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02067/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02068/input.1.txt b/public_test_cases/p02068/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02068/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02068/output.1.txt b/public_test_cases/p02068/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02068/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02069/input.1.txt b/public_test_cases/p02069/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02069/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02069/output.1.txt b/public_test_cases/p02069/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02069/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02070/input.1.txt b/public_test_cases/p02070/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02070/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02070/output.1.txt b/public_test_cases/p02070/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02070/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02071/input.1.txt b/public_test_cases/p02071/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02071/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02071/output.1.txt b/public_test_cases/p02071/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02071/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02072/input.1.txt b/public_test_cases/p02072/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02072/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02072/output.1.txt b/public_test_cases/p02072/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02072/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02074/input.1.txt b/public_test_cases/p02074/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02074/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02074/output.1.txt b/public_test_cases/p02074/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02074/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02076/input.1.txt b/public_test_cases/p02076/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02076/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02076/output.1.txt b/public_test_cases/p02076/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02076/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02077/input.1.txt b/public_test_cases/p02077/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02077/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02077/output.1.txt b/public_test_cases/p02077/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02077/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02078/input.0.txt b/public_test_cases/p02078/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f1978611d62395b4987164a275afb0cdc379e92
--- /dev/null
+++ b/public_test_cases/p02078/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 1
+3 2
+1 3
diff --git a/public_test_cases/p02078/output.0.txt b/public_test_cases/p02078/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02078/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02079/input.0.txt b/public_test_cases/p02079/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c9b5fca352569f60bb38dbf790b362822e4ec59
--- /dev/null
+++ b/public_test_cases/p02079/input.0.txt
@@ -0,0 +1,7 @@
+5 6 1 4 2 3
+1 2
+2 3
+3 4
+4 5
+3 5
+1 5
diff --git a/public_test_cases/p02079/output.0.txt b/public_test_cases/p02079/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02079/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02080/input.0.txt b/public_test_cases/p02080/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ffdbb0355169696571b64f577254ea313c16461
--- /dev/null
+++ b/public_test_cases/p02080/input.0.txt
@@ -0,0 +1,4 @@
+3
+dea
+xxx
+abcd
diff --git a/public_test_cases/p02080/output.0.txt b/public_test_cases/p02080/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02080/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02081/input.0.txt b/public_test_cases/p02081/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d33f03a034d66f1bcd1aecce926b70a14a4db8c
--- /dev/null
+++ b/public_test_cases/p02081/input.0.txt
@@ -0,0 +1,5 @@
+2
+0
+1
+0
+1
diff --git a/public_test_cases/p02081/output.0.txt b/public_test_cases/p02081/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02081/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02082/input.0.txt b/public_test_cases/p02082/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18c3fb4b8fef1460323d4af41a678a71221cbccb
--- /dev/null
+++ b/public_test_cases/p02082/input.0.txt
@@ -0,0 +1,3 @@
+0 15656
+3 7 13333
+0
diff --git a/public_test_cases/p02082/output.0.txt b/public_test_cases/p02082/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13584a95e8750ba03c3805c31ff9f0bf76362d1d
--- /dev/null
+++ b/public_test_cases/p02082/output.0.txt
@@ -0,0 +1 @@
+15656
diff --git a/public_test_cases/p02083/input.0.txt b/public_test_cases/p02083/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2414f130ec6707a3a94d1f7dea80c12976bc3f34
--- /dev/null
+++ b/public_test_cases/p02083/input.0.txt
@@ -0,0 +1,2 @@
+2 1
+2 1 2
diff --git a/public_test_cases/p02083/output.0.txt b/public_test_cases/p02083/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02083/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02084/input.0.txt b/public_test_cases/p02084/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62a25f87bc9da4028b89e7ded07e26079166518f
--- /dev/null
+++ b/public_test_cases/p02084/input.0.txt
@@ -0,0 +1,2 @@
+1
+0 500000
diff --git a/public_test_cases/p02084/output.0.txt b/public_test_cases/p02084/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02084/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02085/input.0.txt b/public_test_cases/p02085/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02085/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02085/output.0.txt b/public_test_cases/p02085/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02085/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02086/input.0.txt b/public_test_cases/p02086/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..065c23b3ec93bba6ef4f54c16003f8ed6af64d94
--- /dev/null
+++ b/public_test_cases/p02086/input.0.txt
@@ -0,0 +1,3 @@
+zaki
+o
+4
diff --git a/public_test_cases/p02086/output.0.txt b/public_test_cases/p02086/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02086/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02087/input.0.txt b/public_test_cases/p02087/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p02087/input.0.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p02087/output.0.txt b/public_test_cases/p02087/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02087/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02088/input.0.txt b/public_test_cases/p02088/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37b6ba6423995c21922acd59b5e9f66bb6c3822c
--- /dev/null
+++ b/public_test_cases/p02088/input.0.txt
@@ -0,0 +1,2 @@
+3
+4 5 6
diff --git a/public_test_cases/p02088/input.1.txt b/public_test_cases/p02088/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37b6ba6423995c21922acd59b5e9f66bb6c3822c
--- /dev/null
+++ b/public_test_cases/p02088/input.1.txt
@@ -0,0 +1,2 @@
+3
+4 5 6
diff --git a/public_test_cases/p02088/output.0.txt b/public_test_cases/p02088/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02088/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02088/output.1.txt b/public_test_cases/p02088/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02088/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02089/input.0.txt b/public_test_cases/p02089/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fad9caf8edb8cc4f6f7b398b0647bd6e5750a1d1
--- /dev/null
+++ b/public_test_cases/p02089/input.0.txt
@@ -0,0 +1,5 @@
+3 3 3 10
+1 -2 3
+1 2 2 3
+2 20 1 3
+2 1 20 5
diff --git a/public_test_cases/p02089/input.1.txt b/public_test_cases/p02089/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fad9caf8edb8cc4f6f7b398b0647bd6e5750a1d1
--- /dev/null
+++ b/public_test_cases/p02089/input.1.txt
@@ -0,0 +1,5 @@
+3 3 3 10
+1 -2 3
+1 2 2 3
+2 20 1 3
+2 1 20 5
diff --git a/public_test_cases/p02089/output.0.txt b/public_test_cases/p02089/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02089/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02089/output.1.txt b/public_test_cases/p02089/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02089/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02090/input.0.txt b/public_test_cases/p02090/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5ee783881f7f9410e769d18cdfa6498878df44b
--- /dev/null
+++ b/public_test_cases/p02090/input.0.txt
@@ -0,0 +1,2 @@
+1 3
+1 2
diff --git a/public_test_cases/p02090/input.1.txt b/public_test_cases/p02090/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5ee783881f7f9410e769d18cdfa6498878df44b
--- /dev/null
+++ b/public_test_cases/p02090/input.1.txt
@@ -0,0 +1,2 @@
+1 3
+1 2
diff --git a/public_test_cases/p02090/output.0.txt b/public_test_cases/p02090/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02090/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02090/output.1.txt b/public_test_cases/p02090/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02090/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02091/input.0.txt b/public_test_cases/p02091/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3327d98b06c3479303f045f8826f9a126f02e846
--- /dev/null
+++ b/public_test_cases/p02091/input.0.txt
@@ -0,0 +1 @@
+2 6 1 5
diff --git a/public_test_cases/p02091/input.1.txt b/public_test_cases/p02091/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3327d98b06c3479303f045f8826f9a126f02e846
--- /dev/null
+++ b/public_test_cases/p02091/input.1.txt
@@ -0,0 +1 @@
+2 6 1 5
diff --git a/public_test_cases/p02091/output.0.txt b/public_test_cases/p02091/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1479e8964e6230d8daa250f319e64cdbf08fc67f
--- /dev/null
+++ b/public_test_cases/p02091/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+0 3 4 7
diff --git a/public_test_cases/p02091/output.1.txt b/public_test_cases/p02091/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1479e8964e6230d8daa250f319e64cdbf08fc67f
--- /dev/null
+++ b/public_test_cases/p02091/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+0 3 4 7
diff --git a/public_test_cases/p02092/input.0.txt b/public_test_cases/p02092/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a2f9fe2880602f10b11f567ca0d5ea4c8ba7010
--- /dev/null
+++ b/public_test_cases/p02092/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+6 5 4
+8 1
+7 1
diff --git a/public_test_cases/p02092/input.1.txt b/public_test_cases/p02092/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a2f9fe2880602f10b11f567ca0d5ea4c8ba7010
--- /dev/null
+++ b/public_test_cases/p02092/input.1.txt
@@ -0,0 +1,4 @@
+3 2
+6 5 4
+8 1
+7 1
diff --git a/public_test_cases/p02092/output.0.txt b/public_test_cases/p02092/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02092/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02092/output.1.txt b/public_test_cases/p02092/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02092/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02093/input.0.txt b/public_test_cases/p02093/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99499867d9a792adf26ec05dd5ce7536d885d371
--- /dev/null
+++ b/public_test_cases/p02093/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 1 4 3
diff --git a/public_test_cases/p02093/input.1.txt b/public_test_cases/p02093/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99499867d9a792adf26ec05dd5ce7536d885d371
--- /dev/null
+++ b/public_test_cases/p02093/input.1.txt
@@ -0,0 +1,2 @@
+4
+2 1 4 3
diff --git a/public_test_cases/p02093/output.0.txt b/public_test_cases/p02093/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02093/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02093/output.1.txt b/public_test_cases/p02093/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02093/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02094/input.0.txt b/public_test_cases/p02094/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ccfca80152cfea69db4d60bc06be5eab4655287
--- /dev/null
+++ b/public_test_cases/p02094/input.0.txt
@@ -0,0 +1,5 @@
+3
+1 2
+2 3
+1 2
+3 1
diff --git a/public_test_cases/p02094/input.1.txt b/public_test_cases/p02094/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ccfca80152cfea69db4d60bc06be5eab4655287
--- /dev/null
+++ b/public_test_cases/p02094/input.1.txt
@@ -0,0 +1,5 @@
+3
+1 2
+2 3
+1 2
+3 1
diff --git a/public_test_cases/p02094/output.0.txt b/public_test_cases/p02094/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02094/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02094/output.1.txt b/public_test_cases/p02094/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02094/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02095/input.0.txt b/public_test_cases/p02095/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09196f9f16249f77735fae47aba5afa2738af2dc
--- /dev/null
+++ b/public_test_cases/p02095/input.0.txt
@@ -0,0 +1,4 @@
+2 10
+1 2
+1 9
+8 7
diff --git a/public_test_cases/p02095/input.1.txt b/public_test_cases/p02095/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09196f9f16249f77735fae47aba5afa2738af2dc
--- /dev/null
+++ b/public_test_cases/p02095/input.1.txt
@@ -0,0 +1,4 @@
+2 10
+1 2
+1 9
+8 7
diff --git a/public_test_cases/p02095/output.0.txt b/public_test_cases/p02095/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p02095/output.0.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p02095/output.1.txt b/public_test_cases/p02095/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p02095/output.1.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p02096/input.0.txt b/public_test_cases/p02096/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fff03f2e6759e5e9fbdea81ca9548812831a0ce1
--- /dev/null
+++ b/public_test_cases/p02096/input.0.txt
@@ -0,0 +1,5 @@
+2
+3 0
+1 2 3
+3 1
+1 2 3
diff --git a/public_test_cases/p02096/input.1.txt b/public_test_cases/p02096/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fff03f2e6759e5e9fbdea81ca9548812831a0ce1
--- /dev/null
+++ b/public_test_cases/p02096/input.1.txt
@@ -0,0 +1,5 @@
+2
+3 0
+1 2 3
+3 1
+1 2 3
diff --git a/public_test_cases/p02096/output.0.txt b/public_test_cases/p02096/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93d39f05c837cf2177cd1d9f0b745693db9ce4fb
--- /dev/null
+++ b/public_test_cases/p02096/output.0.txt
@@ -0,0 +1,2 @@
+3 2 1
+3 65536 0
diff --git a/public_test_cases/p02096/output.1.txt b/public_test_cases/p02096/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93d39f05c837cf2177cd1d9f0b745693db9ce4fb
--- /dev/null
+++ b/public_test_cases/p02096/output.1.txt
@@ -0,0 +1,2 @@
+3 2 1
+3 65536 0
diff --git a/public_test_cases/p02097/input.0.txt b/public_test_cases/p02097/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02097/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02097/input.1.txt b/public_test_cases/p02097/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02097/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02097/output.0.txt b/public_test_cases/p02097/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6d60977072732e377d417f541f2ad2907b61aa5
--- /dev/null
+++ b/public_test_cases/p02097/output.0.txt
@@ -0,0 +1,5 @@
+Yes
+2 6 3 7
+4 5 2 1
+1 7 5 6
+5 3 4 2
diff --git a/public_test_cases/p02097/output.1.txt b/public_test_cases/p02097/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6d60977072732e377d417f541f2ad2907b61aa5
--- /dev/null
+++ b/public_test_cases/p02097/output.1.txt
@@ -0,0 +1,5 @@
+Yes
+2 6 3 7
+4 5 2 1
+1 7 5 6
+5 3 4 2
diff --git a/public_test_cases/p02098/input.0.txt b/public_test_cases/p02098/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b86147b3542fae0e5e4cdb03bd17a50cf7e758f
--- /dev/null
+++ b/public_test_cases/p02098/input.0.txt
@@ -0,0 +1,2 @@
+10
+20
diff --git a/public_test_cases/p02098/input.1.txt b/public_test_cases/p02098/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ec029e3bfa9b8ca94fdfde1f9213e92a8ac6a92
--- /dev/null
+++ b/public_test_cases/p02098/input.1.txt
@@ -0,0 +1,2 @@
+20
+350
diff --git a/public_test_cases/p02098/input.2.txt b/public_test_cases/p02098/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b86147b3542fae0e5e4cdb03bd17a50cf7e758f
--- /dev/null
+++ b/public_test_cases/p02098/input.2.txt
@@ -0,0 +1,2 @@
+10
+20
diff --git a/public_test_cases/p02098/output.0.txt b/public_test_cases/p02098/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe6b09a7d14ccc307ab278380b4c9506395755ac
--- /dev/null
+++ b/public_test_cases/p02098/output.0.txt
@@ -0,0 +1 @@
+15.0
diff --git a/public_test_cases/p02098/output.1.txt b/public_test_cases/p02098/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..819e07a22435f1e8efcbdd1d1c062deef0e501b1
--- /dev/null
+++ b/public_test_cases/p02098/output.1.txt
@@ -0,0 +1 @@
+5.0
diff --git a/public_test_cases/p02098/output.2.txt b/public_test_cases/p02098/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe6b09a7d14ccc307ab278380b4c9506395755ac
--- /dev/null
+++ b/public_test_cases/p02098/output.2.txt
@@ -0,0 +1 @@
+15.0
diff --git a/public_test_cases/p02099/input.0.txt b/public_test_cases/p02099/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b9fd23e172f0bf7bb2fcf736e245583c1d77196
--- /dev/null
+++ b/public_test_cases/p02099/input.0.txt
@@ -0,0 +1,4 @@
+3
+1.000
+3.000
+3.000
diff --git a/public_test_cases/p02099/input.1.txt b/public_test_cases/p02099/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7e9f815e379ed6a3e9a5d814b49037d2408519e
--- /dev/null
+++ b/public_test_cases/p02099/input.1.txt
@@ -0,0 +1,4 @@
+3
+1.000
+2.000
+3.000
diff --git a/public_test_cases/p02099/input.2.txt b/public_test_cases/p02099/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b9fd23e172f0bf7bb2fcf736e245583c1d77196
--- /dev/null
+++ b/public_test_cases/p02099/input.2.txt
@@ -0,0 +1,4 @@
+3
+1.000
+3.000
+3.000
diff --git a/public_test_cases/p02099/output.0.txt b/public_test_cases/p02099/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..731f5f1231b5de264127d244adbf6f8c52d33c46
--- /dev/null
+++ b/public_test_cases/p02099/output.0.txt
@@ -0,0 +1,3 @@
+0
+4
+4
diff --git a/public_test_cases/p02099/output.1.txt b/public_test_cases/p02099/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d59af9d115841524a145484decdbec5839e97515
--- /dev/null
+++ b/public_test_cases/p02099/output.1.txt
@@ -0,0 +1,3 @@
+0
+3
+6
diff --git a/public_test_cases/p02099/output.2.txt b/public_test_cases/p02099/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..731f5f1231b5de264127d244adbf6f8c52d33c46
--- /dev/null
+++ b/public_test_cases/p02099/output.2.txt
@@ -0,0 +1,3 @@
+0
+4
+4
diff --git a/public_test_cases/p02100/input.0.txt b/public_test_cases/p02100/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee0b4b4e84867e8f18e8ef632f87109abce3f0bc
--- /dev/null
+++ b/public_test_cases/p02100/input.0.txt
@@ -0,0 +1 @@
+x^2+3x+2
diff --git a/public_test_cases/p02100/input.1.txt b/public_test_cases/p02100/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bee922be29fb517f53ce69f089839be11cdd20a3
--- /dev/null
+++ b/public_test_cases/p02100/input.1.txt
@@ -0,0 +1 @@
+x^5+15x^4+85x^3+225x^2+274x+120
diff --git a/public_test_cases/p02100/input.2.txt b/public_test_cases/p02100/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee0b4b4e84867e8f18e8ef632f87109abce3f0bc
--- /dev/null
+++ b/public_test_cases/p02100/input.2.txt
@@ -0,0 +1 @@
+x^2+3x+2
diff --git a/public_test_cases/p02100/input.3.txt b/public_test_cases/p02100/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc77f10d4a7b6476df42e327be20254665ccfce4
--- /dev/null
+++ b/public_test_cases/p02100/input.3.txt
@@ -0,0 +1 @@
+x^3-81x^2-1882x-1800
diff --git a/public_test_cases/p02100/input.4.txt b/public_test_cases/p02100/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90560f1a130054c205272780abac02b54ed3a9f3
--- /dev/null
+++ b/public_test_cases/p02100/input.4.txt
@@ -0,0 +1 @@
+x^2-1
diff --git a/public_test_cases/p02100/output.0.txt b/public_test_cases/p02100/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3de48097c2c310bbce4707a3143587fcaedb39e0
--- /dev/null
+++ b/public_test_cases/p02100/output.0.txt
@@ -0,0 +1 @@
+(x+1)(x+2)
diff --git a/public_test_cases/p02100/output.1.txt b/public_test_cases/p02100/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a4f10bf6cef82704f821f0bc96f746f9082b420
--- /dev/null
+++ b/public_test_cases/p02100/output.1.txt
@@ -0,0 +1 @@
+(x+1)(x+2)(x+3)(x+4)(x+5)
diff --git a/public_test_cases/p02100/output.2.txt b/public_test_cases/p02100/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3de48097c2c310bbce4707a3143587fcaedb39e0
--- /dev/null
+++ b/public_test_cases/p02100/output.2.txt
@@ -0,0 +1 @@
+(x+1)(x+2)
diff --git a/public_test_cases/p02100/output.3.txt b/public_test_cases/p02100/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bca4baafb41174624be03f968f733dd2041a3626
--- /dev/null
+++ b/public_test_cases/p02100/output.3.txt
@@ -0,0 +1 @@
+(x-100)(x+1)(x+18)
diff --git a/public_test_cases/p02100/output.4.txt b/public_test_cases/p02100/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a5676c22b66b9b6df8d3f822e6a5efcea1f079e
--- /dev/null
+++ b/public_test_cases/p02100/output.4.txt
@@ -0,0 +1 @@
+(x-1)(x+1)
diff --git a/public_test_cases/p02101/input.0.txt b/public_test_cases/p02101/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb30a0bec7fe2ad65d290f5576492d4352ee8a4d
--- /dev/null
+++ b/public_test_cases/p02101/input.0.txt
@@ -0,0 +1,4 @@
+3 10
+1 6
+5 10
+0 5
diff --git a/public_test_cases/p02101/input.1.txt b/public_test_cases/p02101/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6909826c9af214db31fc05034f7a2cfebbaf920
--- /dev/null
+++ b/public_test_cases/p02101/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+1 1
+1 2
+1 2
+1 3
+1 3
diff --git a/public_test_cases/p02101/input.2.txt b/public_test_cases/p02101/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb30a0bec7fe2ad65d290f5576492d4352ee8a4d
--- /dev/null
+++ b/public_test_cases/p02101/input.2.txt
@@ -0,0 +1,4 @@
+3 10
+1 6
+5 10
+0 5
diff --git a/public_test_cases/p02101/output.0.txt b/public_test_cases/p02101/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02101/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02101/output.1.txt b/public_test_cases/p02101/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02101/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02101/output.2.txt b/public_test_cases/p02101/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02101/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02102/input.0.txt b/public_test_cases/p02102/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96a8479dd6da63df361152a05e72ff7f42dc4bf2
--- /dev/null
+++ b/public_test_cases/p02102/input.0.txt
@@ -0,0 +1,6 @@
+4 5
+0 2 22 13
+0 3 15 25
+1 2 3 3
+1 3 28 5
+2 3 5 22
diff --git a/public_test_cases/p02102/input.1.txt b/public_test_cases/p02102/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96a8479dd6da63df361152a05e72ff7f42dc4bf2
--- /dev/null
+++ b/public_test_cases/p02102/input.1.txt
@@ -0,0 +1,6 @@
+4 5
+0 2 22 13
+0 3 15 25
+1 2 3 3
+1 3 28 5
+2 3 5 22
diff --git a/public_test_cases/p02102/input.2.txt b/public_test_cases/p02102/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80eb05ac1b2909e8eeb18a16149ab43062413ff4
--- /dev/null
+++ b/public_test_cases/p02102/input.2.txt
@@ -0,0 +1,2 @@
+2 1
+0 1 1 1
diff --git a/public_test_cases/p02102/input.3.txt b/public_test_cases/p02102/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78685af7bd41015e744a936fa4c7b9338f209efc
--- /dev/null
+++ b/public_test_cases/p02102/input.3.txt
@@ -0,0 +1,7 @@
+5 6
+0 1 22 33
+0 2 43 11
+0 3 92 10
+1 3 50 12
+2 3 88 2
+3 4 58 89
diff --git a/public_test_cases/p02102/output.0.txt b/public_test_cases/p02102/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dbfa35c63ced30c64258888cd57d0c6a2a82ae6
--- /dev/null
+++ b/public_test_cases/p02102/output.0.txt
@@ -0,0 +1 @@
+0.36000
diff --git a/public_test_cases/p02102/output.1.txt b/public_test_cases/p02102/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dbfa35c63ced30c64258888cd57d0c6a2a82ae6
--- /dev/null
+++ b/public_test_cases/p02102/output.1.txt
@@ -0,0 +1 @@
+0.36000
diff --git a/public_test_cases/p02102/output.2.txt b/public_test_cases/p02102/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02102/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02102/output.3.txt b/public_test_cases/p02102/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b46349f99b69b371349abc234960100aa3d2177
--- /dev/null
+++ b/public_test_cases/p02102/output.3.txt
@@ -0,0 +1 @@
+0.06667
diff --git a/public_test_cases/p02103/input.0.txt b/public_test_cases/p02103/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a16e2efab6429765912a08ec8c2215e62f854966
--- /dev/null
+++ b/public_test_cases/p02103/input.0.txt
@@ -0,0 +1,3 @@
+3 5 2
+0 2
+2 2
diff --git a/public_test_cases/p02103/input.1.txt b/public_test_cases/p02103/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58b9549b9043841eb8bd7d08485f367ab5300135
--- /dev/null
+++ b/public_test_cases/p02103/input.1.txt
@@ -0,0 +1,4 @@
+5 5 3
+0 2
+2 2
+4 1
diff --git a/public_test_cases/p02103/input.2.txt b/public_test_cases/p02103/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a16e2efab6429765912a08ec8c2215e62f854966
--- /dev/null
+++ b/public_test_cases/p02103/input.2.txt
@@ -0,0 +1,3 @@
+3 5 2
+0 2
+2 2
diff --git a/public_test_cases/p02103/output.0.txt b/public_test_cases/p02103/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02103/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02103/output.1.txt b/public_test_cases/p02103/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02103/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02103/output.2.txt b/public_test_cases/p02103/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02103/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02104/input.0.txt b/public_test_cases/p02104/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02104/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02104/input.1.txt b/public_test_cases/p02104/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4103012e50b578aad0335b479567b97e48bab1ca
--- /dev/null
+++ b/public_test_cases/p02104/input.1.txt
@@ -0,0 +1,2 @@
+5
+3 3 4 4 5
diff --git a/public_test_cases/p02104/input.2.txt b/public_test_cases/p02104/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02104/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02104/output.0.txt b/public_test_cases/p02104/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a1218a1024a212bb3db30becd860315f9f3ac52
--- /dev/null
+++ b/public_test_cases/p02104/output.0.txt
@@ -0,0 +1,5 @@
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p02104/output.1.txt b/public_test_cases/p02104/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8872275ea867a0d092930b009a2aef954f5f4139
--- /dev/null
+++ b/public_test_cases/p02104/output.1.txt
@@ -0,0 +1,5 @@
+4
+2
+1
+3
+5
diff --git a/public_test_cases/p02104/output.2.txt b/public_test_cases/p02104/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a1218a1024a212bb3db30becd860315f9f3ac52
--- /dev/null
+++ b/public_test_cases/p02104/output.2.txt
@@ -0,0 +1,5 @@
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p02105/input.0.txt b/public_test_cases/p02105/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b194e75d0592b18a027e3bc12f8d55949b027f4
--- /dev/null
+++ b/public_test_cases/p02105/input.0.txt
@@ -0,0 +1,8 @@
+7 10 11
+1 1 0
+1 0 1
+2 2 2
+3 3 5
+4 1 3
+5 1 3
+5 5 -1
diff --git a/public_test_cases/p02105/input.1.txt b/public_test_cases/p02105/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b194e75d0592b18a027e3bc12f8d55949b027f4
--- /dev/null
+++ b/public_test_cases/p02105/input.1.txt
@@ -0,0 +1,8 @@
+7 10 11
+1 1 0
+1 0 1
+2 2 2
+3 3 5
+4 1 3
+5 1 3
+5 5 -1
diff --git a/public_test_cases/p02105/input.2.txt b/public_test_cases/p02105/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1093c337730c98b2a71b7b6e92e6151e924dc26
--- /dev/null
+++ b/public_test_cases/p02105/input.2.txt
@@ -0,0 +1,8 @@
+7 10 10
+1 1 0
+1 0 1
+2 2 2
+3 3 5
+4 1 3
+5 1 3
+5 5 -1
diff --git a/public_test_cases/p02105/output.0.txt b/public_test_cases/p02105/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02105/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02105/output.1.txt b/public_test_cases/p02105/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02105/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02105/output.2.txt b/public_test_cases/p02105/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02105/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02106/input.0.txt b/public_test_cases/p02106/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3dcc633141f41ba6050d0a935472e51653e3233
--- /dev/null
+++ b/public_test_cases/p02106/input.0.txt
@@ -0,0 +1,12 @@
+7 5
+0 1
+1 2
+1 3
+0 4
+4 5
+4 6
+1 0 0 9
+2 0 0 5
+2 1 5 8
+1 0 5 8
+1 0 8 8
diff --git a/public_test_cases/p02106/input.1.txt b/public_test_cases/p02106/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3dcc633141f41ba6050d0a935472e51653e3233
--- /dev/null
+++ b/public_test_cases/p02106/input.1.txt
@@ -0,0 +1,12 @@
+7 5
+0 1
+1 2
+1 3
+0 4
+4 5
+4 6
+1 0 0 9
+2 0 0 5
+2 1 5 8
+1 0 5 8
+1 0 8 8
diff --git a/public_test_cases/p02106/input.2.txt b/public_test_cases/p02106/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e52e198b6eb15e304c948279eec5c5dfb7273f42
--- /dev/null
+++ b/public_test_cases/p02106/input.2.txt
@@ -0,0 +1,12 @@
+7 5
+0 1
+1 2
+2 3
+0 4
+4 5
+5 6
+2 1 0 5
+2 4 0 6
+2 3 5 6
+2 5 6 5
+1 0 0 5
diff --git a/public_test_cases/p02106/output.0.txt b/public_test_cases/p02106/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..661f86c089a5ad333a54719738ea67bdd912579a
--- /dev/null
+++ b/public_test_cases/p02106/output.0.txt
@@ -0,0 +1,3 @@
+7
+7
+3
diff --git a/public_test_cases/p02106/output.1.txt b/public_test_cases/p02106/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..661f86c089a5ad333a54719738ea67bdd912579a
--- /dev/null
+++ b/public_test_cases/p02106/output.1.txt
@@ -0,0 +1,3 @@
+7
+7
+3
diff --git a/public_test_cases/p02106/output.2.txt b/public_test_cases/p02106/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02106/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02107/input.0.txt b/public_test_cases/p02107/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d662091c30415efa371802ea917fcff7017f7f4c
--- /dev/null
+++ b/public_test_cases/p02107/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 3
+2 1 2
+3 2 1
diff --git a/public_test_cases/p02107/input.1.txt b/public_test_cases/p02107/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d662091c30415efa371802ea917fcff7017f7f4c
--- /dev/null
+++ b/public_test_cases/p02107/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 3
+2 1 2
+3 2 1
diff --git a/public_test_cases/p02107/input.2.txt b/public_test_cases/p02107/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e03c915ca7a802c707576edf8bbea8b7ea460f02
--- /dev/null
+++ b/public_test_cases/p02107/input.2.txt
@@ -0,0 +1,4 @@
+3 5
+1 2 3 4 5
+5 4 3 2 1
+4 3 2 1 5
diff --git a/public_test_cases/p02107/output.0.txt b/public_test_cases/p02107/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d66ea1aee9527bfa39185ead1f9cdbd96bba88c
--- /dev/null
+++ b/public_test_cases/p02107/output.0.txt
@@ -0,0 +1,2 @@
+0
+1
diff --git a/public_test_cases/p02107/output.1.txt b/public_test_cases/p02107/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d66ea1aee9527bfa39185ead1f9cdbd96bba88c
--- /dev/null
+++ b/public_test_cases/p02107/output.1.txt
@@ -0,0 +1,2 @@
+0
+1
diff --git a/public_test_cases/p02107/output.2.txt b/public_test_cases/p02107/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p02107/output.2.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p02108/input.0.txt b/public_test_cases/p02108/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a5e238c95d18b90bde3e8d30c2e74d1f705dd75
--- /dev/null
+++ b/public_test_cases/p02108/input.0.txt
@@ -0,0 +1,3 @@
+2 1
+1 2
+0 1
diff --git a/public_test_cases/p02108/input.1.txt b/public_test_cases/p02108/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a5e238c95d18b90bde3e8d30c2e74d1f705dd75
--- /dev/null
+++ b/public_test_cases/p02108/input.1.txt
@@ -0,0 +1,3 @@
+2 1
+1 2
+0 1
diff --git a/public_test_cases/p02108/input.2.txt b/public_test_cases/p02108/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b278b44437fa25fdbe0bc091bb05bfb2c208e2b
--- /dev/null
+++ b/public_test_cases/p02108/input.2.txt
@@ -0,0 +1,7 @@
+5 5
+1 1 1 1 1
+0 1
+1 2
+2 3
+3 0
+3 4
diff --git a/public_test_cases/p02108/input.3.txt b/public_test_cases/p02108/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9ad8ef2dccc8adffd2b3c269f92f0f332fc4e91
--- /dev/null
+++ b/public_test_cases/p02108/input.3.txt
@@ -0,0 +1,6 @@
+4 4
+1 1 1 1
+0 1
+1 2
+2 0
+2 3
diff --git a/public_test_cases/p02108/output.0.txt b/public_test_cases/p02108/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02108/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02108/output.1.txt b/public_test_cases/p02108/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02108/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02108/output.2.txt b/public_test_cases/p02108/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02108/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02108/output.3.txt b/public_test_cases/p02108/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02108/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02109/input.0.txt b/public_test_cases/p02109/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9265bfda67283dee47f7734bd83ef6fa3a17ba9e
--- /dev/null
+++ b/public_test_cases/p02109/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 5
+2 3 5
+3 3 5 7
+4 3 5 7 9
diff --git a/public_test_cases/p02109/input.1.txt b/public_test_cases/p02109/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b8d9e4cb509c075a2e9047380ff574d79cb9bbe
--- /dev/null
+++ b/public_test_cases/p02109/input.1.txt
@@ -0,0 +1,6 @@
+5
+4 1 4 5 6
+4 1 7 8 9
+3 1 2 3
+3 1 2 3
+3 1 2 3
diff --git a/public_test_cases/p02109/input.2.txt b/public_test_cases/p02109/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df1fdce4cc94a27be151e403cbf323b8c5f21be4
--- /dev/null
+++ b/public_test_cases/p02109/input.2.txt
@@ -0,0 +1,4 @@
+3
+2 3 4
+2 2 5
+2 1 6
diff --git a/public_test_cases/p02109/input.3.txt b/public_test_cases/p02109/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9265bfda67283dee47f7734bd83ef6fa3a17ba9e
--- /dev/null
+++ b/public_test_cases/p02109/input.3.txt
@@ -0,0 +1,5 @@
+4
+1 5
+2 3 5
+3 3 5 7
+4 3 5 7 9
diff --git a/public_test_cases/p02109/output.0.txt b/public_test_cases/p02109/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02109/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02109/output.1.txt b/public_test_cases/p02109/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02109/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02109/output.2.txt b/public_test_cases/p02109/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02109/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02109/output.3.txt b/public_test_cases/p02109/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02109/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02110/input.0.txt b/public_test_cases/p02110/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09ffac972180dbb72a6f34ab8acde1c321be28d2
--- /dev/null
+++ b/public_test_cases/p02110/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+2 1
+1 2
+1 3
diff --git a/public_test_cases/p02110/input.1.txt b/public_test_cases/p02110/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31ff6b46461aa65f13ded6568530ca9be914384f
--- /dev/null
+++ b/public_test_cases/p02110/input.1.txt
@@ -0,0 +1,5 @@
+4 3
+2 1
+1 2
+1 3
+2 4
diff --git a/public_test_cases/p02110/input.2.txt b/public_test_cases/p02110/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67f2e63b3e372ad8b06230ef55801d92e448c187
--- /dev/null
+++ b/public_test_cases/p02110/input.2.txt
@@ -0,0 +1,6 @@
+5 3
+5 7
+5 6
+6 8
+20 20
+4 8
diff --git a/public_test_cases/p02110/input.3.txt b/public_test_cases/p02110/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09ffac972180dbb72a6f34ab8acde1c321be28d2
--- /dev/null
+++ b/public_test_cases/p02110/input.3.txt
@@ -0,0 +1,4 @@
+3 2
+2 1
+1 2
+1 3
diff --git a/public_test_cases/p02110/output.0.txt b/public_test_cases/p02110/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p02110/output.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p02110/output.1.txt b/public_test_cases/p02110/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02110/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02110/output.2.txt b/public_test_cases/p02110/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcf37cd5e26203dc0a9570d26b7a5074049d4c9c
--- /dev/null
+++ b/public_test_cases/p02110/output.2.txt
@@ -0,0 +1,3 @@
+2
+3
+4
diff --git a/public_test_cases/p02110/output.3.txt b/public_test_cases/p02110/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p02110/output.3.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p02111/input.0.txt b/public_test_cases/p02111/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02111/input.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02111/input.1.txt b/public_test_cases/p02111/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02111/input.1.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02111/input.2.txt b/public_test_cases/p02111/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02111/input.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02111/input.3.txt b/public_test_cases/p02111/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea90ee31980757b2e469741512bcb39e73494e78
--- /dev/null
+++ b/public_test_cases/p02111/input.3.txt
@@ -0,0 +1 @@
+45
diff --git a/public_test_cases/p02111/output.0.txt b/public_test_cases/p02111/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b748e2dcfcbc7db3aae214293cef6cb2afbd0a65
--- /dev/null
+++ b/public_test_cases/p02111/output.0.txt
@@ -0,0 +1 @@
+0 0
diff --git a/public_test_cases/p02111/output.1.txt b/public_test_cases/p02111/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5610a8eca0188ab1ee55642852bbd299a586a9f
--- /dev/null
+++ b/public_test_cases/p02111/output.1.txt
@@ -0,0 +1 @@
+3 20
diff --git a/public_test_cases/p02111/output.2.txt b/public_test_cases/p02111/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b748e2dcfcbc7db3aae214293cef6cb2afbd0a65
--- /dev/null
+++ b/public_test_cases/p02111/output.2.txt
@@ -0,0 +1 @@
+0 0
diff --git a/public_test_cases/p02111/output.3.txt b/public_test_cases/p02111/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcefd2e58854c2438089e15907481d73ee141e9d
--- /dev/null
+++ b/public_test_cases/p02111/output.3.txt
@@ -0,0 +1 @@
+1 30
diff --git a/public_test_cases/p02112/input.0.txt b/public_test_cases/p02112/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9138a68cb43ed6f53d6d6bc70b9f493b017e041
--- /dev/null
+++ b/public_test_cases/p02112/input.0.txt
@@ -0,0 +1,2 @@
+1
+1 1 359 1
diff --git a/public_test_cases/p02112/input.1.txt b/public_test_cases/p02112/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9138a68cb43ed6f53d6d6bc70b9f493b017e041
--- /dev/null
+++ b/public_test_cases/p02112/input.1.txt
@@ -0,0 +1,2 @@
+1
+1 1 359 1
diff --git a/public_test_cases/p02112/input.2.txt b/public_test_cases/p02112/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b917729a35f4b7761a07cb426081766e4f5025a8
--- /dev/null
+++ b/public_test_cases/p02112/input.2.txt
@@ -0,0 +1,3 @@
+2
+2 4 25 306
+1 9 7 321
diff --git a/public_test_cases/p02112/input.3.txt b/public_test_cases/p02112/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..871a2243629803bb35d718d1c0c9f24f5c75009e
--- /dev/null
+++ b/public_test_cases/p02112/input.3.txt
@@ -0,0 +1,9 @@
+8
+2 9 297 297
+8 6 359 211
+8 16 28 288
+7 9 113 143
+3 18 315 190
+10 18 277 300
+9 5 276 88
+3 5 322 40
diff --git a/public_test_cases/p02112/output.0.txt b/public_test_cases/p02112/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02112/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02112/output.1.txt b/public_test_cases/p02112/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02112/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02112/output.2.txt b/public_test_cases/p02112/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c5c8078521783358203b859d5c7e9b7d9d524d4
--- /dev/null
+++ b/public_test_cases/p02112/output.2.txt
@@ -0,0 +1 @@
+158
diff --git a/public_test_cases/p02112/output.3.txt b/public_test_cases/p02112/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95de1eedbcd3823b898e2638db9157a37c00f5e5
--- /dev/null
+++ b/public_test_cases/p02112/output.3.txt
@@ -0,0 +1 @@
+297
diff --git a/public_test_cases/p02113/input.0.txt b/public_test_cases/p02113/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10236c6a9554e1998bf2247df7352a3b2d134192
--- /dev/null
+++ b/public_test_cases/p02113/input.0.txt
@@ -0,0 +1,5 @@
+4 2
+oi
+io
+rr
+rr
diff --git a/public_test_cases/p02113/input.1.txt b/public_test_cases/p02113/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..470dfdedcf670bc4306f790616f6d8156dcf3b91
--- /dev/null
+++ b/public_test_cases/p02113/input.1.txt
@@ -0,0 +1,6 @@
+5 1
+a
+b
+c
+a
+c
diff --git a/public_test_cases/p02113/input.2.txt b/public_test_cases/p02113/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e24038048b662c2ca83b710d2686e290bfd5576
--- /dev/null
+++ b/public_test_cases/p02113/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+uki
+uku
+uke
diff --git a/public_test_cases/p02113/input.3.txt b/public_test_cases/p02113/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10236c6a9554e1998bf2247df7352a3b2d134192
--- /dev/null
+++ b/public_test_cases/p02113/input.3.txt
@@ -0,0 +1,5 @@
+4 2
+oi
+io
+rr
+rr
diff --git a/public_test_cases/p02113/output.0.txt b/public_test_cases/p02113/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cfe2f459699092519f916010101815e4e8fb2e5
--- /dev/null
+++ b/public_test_cases/p02113/output.0.txt
@@ -0,0 +1 @@
+iorrrroi
diff --git a/public_test_cases/p02113/output.1.txt b/public_test_cases/p02113/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15a190192eaa5018b0a5c64f96a38b7505b0863a
--- /dev/null
+++ b/public_test_cases/p02113/output.1.txt
@@ -0,0 +1 @@
+acbca
diff --git a/public_test_cases/p02113/output.2.txt b/public_test_cases/p02113/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..442ed88a0548f9ec29defbe1d494776f9b01c64b
--- /dev/null
+++ b/public_test_cases/p02113/output.2.txt
@@ -0,0 +1 @@
+uku
diff --git a/public_test_cases/p02113/output.3.txt b/public_test_cases/p02113/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cfe2f459699092519f916010101815e4e8fb2e5
--- /dev/null
+++ b/public_test_cases/p02113/output.3.txt
@@ -0,0 +1 @@
+iorrrroi
diff --git a/public_test_cases/p02114/input.0.txt b/public_test_cases/p02114/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06f0b212d25a93b46c0b91c813d0e054a17dc060
--- /dev/null
+++ b/public_test_cases/p02114/input.0.txt
@@ -0,0 +1,6 @@
+5
+oxooo
+oxooo
+oxooo
+xxxxx
+oxooo
diff --git a/public_test_cases/p02114/input.1.txt b/public_test_cases/p02114/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06f0b212d25a93b46c0b91c813d0e054a17dc060
--- /dev/null
+++ b/public_test_cases/p02114/input.1.txt
@@ -0,0 +1,6 @@
+5
+oxooo
+oxooo
+oxooo
+xxxxx
+oxooo
diff --git a/public_test_cases/p02114/input.2.txt b/public_test_cases/p02114/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd84b35a98aa025e571a571862ab4b6e2b332fa7
--- /dev/null
+++ b/public_test_cases/p02114/input.2.txt
@@ -0,0 +1,10 @@
+9
+oxoooooxo
+oxxxxxxxx
+oxoooooxo
+xxxxxxxxx
+oxoxooooo
+oxxxxxxxx
+oxoxoxooo
+oxoxxxxxx
+oxoxoxooo
diff --git a/public_test_cases/p02114/output.0.txt b/public_test_cases/p02114/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02114/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02114/output.1.txt b/public_test_cases/p02114/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02114/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02114/output.2.txt b/public_test_cases/p02114/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02114/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02115/input.0.txt b/public_test_cases/p02115/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805642e7bd7c6cabce79d004fbcff5c16807a5c1
--- /dev/null
+++ b/public_test_cases/p02115/input.0.txt
@@ -0,0 +1,4 @@
+3
+2
+5
+1
diff --git a/public_test_cases/p02115/input.1.txt b/public_test_cases/p02115/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cccbafe8be819965313f966056e008fefac41e23
--- /dev/null
+++ b/public_test_cases/p02115/input.1.txt
@@ -0,0 +1,6 @@
+5
+4
+5
+2
+1
+3
diff --git a/public_test_cases/p02115/input.2.txt b/public_test_cases/p02115/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3369e14fd0e1f31d4c8e5376435d28a19320249
--- /dev/null
+++ b/public_test_cases/p02115/input.2.txt
@@ -0,0 +1,4 @@
+3
+4
+4
+4
diff --git a/public_test_cases/p02115/input.3.txt b/public_test_cases/p02115/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805642e7bd7c6cabce79d004fbcff5c16807a5c1
--- /dev/null
+++ b/public_test_cases/p02115/input.3.txt
@@ -0,0 +1,4 @@
+3
+2
+5
+1
diff --git a/public_test_cases/p02115/output.0.txt b/public_test_cases/p02115/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02115/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02115/output.1.txt b/public_test_cases/p02115/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02115/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02115/output.2.txt b/public_test_cases/p02115/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02115/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02115/output.3.txt b/public_test_cases/p02115/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02115/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02116/input.0.txt b/public_test_cases/p02116/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02116/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02116/input.1.txt b/public_test_cases/p02116/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02116/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02116/input.2.txt b/public_test_cases/p02116/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02116/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02116/input.3.txt b/public_test_cases/p02116/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p02116/input.3.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p02116/output.0.txt b/public_test_cases/p02116/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02116/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02116/output.1.txt b/public_test_cases/p02116/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02116/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02116/output.2.txt b/public_test_cases/p02116/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02116/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02116/output.3.txt b/public_test_cases/p02116/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p02116/output.3.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p02117/input.0.txt b/public_test_cases/p02117/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..506e915fffba4fe5c40d02c4dbffb0939b7b1d86
--- /dev/null
+++ b/public_test_cases/p02117/input.0.txt
@@ -0,0 +1,6 @@
+1 10 10
+3
+1 10 1
+2 20 2
+3 30 3
+0
diff --git a/public_test_cases/p02117/input.1.txt b/public_test_cases/p02117/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92eebf7d6373c2e75f609e2433d807be854d56af
--- /dev/null
+++ b/public_test_cases/p02117/input.1.txt
@@ -0,0 +1,10 @@
+3 10 10
+1
+1 1 1
+1
+3 3 3
+1
+5 5 5
+0 1 0
+1 0 0
+0 1 0
diff --git a/public_test_cases/p02117/input.2.txt b/public_test_cases/p02117/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc33387ad2fc4ee070f8afe6a02435c494c0a44c
--- /dev/null
+++ b/public_test_cases/p02117/input.2.txt
@@ -0,0 +1,17 @@
+4 59 40
+1
+7 6 3
+1
+10 3 9
+2
+9 8 5
+7 6 10
+4
+8 2 9
+1 7 1
+7 7 9
+1 2 3
+0 28 7 26
+14 0 10 24
+9 6 0 21
+9 24 14 0
diff --git a/public_test_cases/p02117/input.3.txt b/public_test_cases/p02117/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..506e915fffba4fe5c40d02c4dbffb0939b7b1d86
--- /dev/null
+++ b/public_test_cases/p02117/input.3.txt
@@ -0,0 +1,6 @@
+1 10 10
+3
+1 10 1
+2 20 2
+3 30 3
+0
diff --git a/public_test_cases/p02117/input.4.txt b/public_test_cases/p02117/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1bd41d23a830a0f295ce48d6ffae608ff1d4d71
--- /dev/null
+++ b/public_test_cases/p02117/input.4.txt
@@ -0,0 +1,9 @@
+2 10 10
+3
+1 10 1
+2 20 2
+3 30 3
+1
+5 200 1
+0 2
+3 0
diff --git a/public_test_cases/p02117/output.0.txt b/public_test_cases/p02117/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02117/output.0.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02117/output.1.txt b/public_test_cases/p02117/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02117/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02117/output.2.txt b/public_test_cases/p02117/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p02117/output.2.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p02117/output.3.txt b/public_test_cases/p02117/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02117/output.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02117/output.4.txt b/public_test_cases/p02117/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08839f6bb296e888d311d8ea2f35f7ff82dd3f2d
--- /dev/null
+++ b/public_test_cases/p02117/output.4.txt
@@ -0,0 +1 @@
+200
diff --git a/public_test_cases/p02118/input.0.txt b/public_test_cases/p02118/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d6e0614c6819d7e9afaea908fb0bf15ac93a890
--- /dev/null
+++ b/public_test_cases/p02118/input.0.txt
@@ -0,0 +1,4 @@
+3 3 5
+0 3
+2 2
+4 1
diff --git a/public_test_cases/p02118/input.1.txt b/public_test_cases/p02118/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05aba2909dd0d3957d56893713c326a60b5ddf39
--- /dev/null
+++ b/public_test_cases/p02118/input.1.txt
@@ -0,0 +1,4 @@
+3 3 5
+0 10
+8 1
+11 1
diff --git a/public_test_cases/p02118/input.2.txt b/public_test_cases/p02118/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d6e0614c6819d7e9afaea908fb0bf15ac93a890
--- /dev/null
+++ b/public_test_cases/p02118/input.2.txt
@@ -0,0 +1,4 @@
+3 3 5
+0 3
+2 2
+4 1
diff --git a/public_test_cases/p02118/output.0.txt b/public_test_cases/p02118/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02118/output.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02118/output.1.txt b/public_test_cases/p02118/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c61d23e125b800e69cb950b09e23c06f728fff9
--- /dev/null
+++ b/public_test_cases/p02118/output.1.txt
@@ -0,0 +1 @@
+58
diff --git a/public_test_cases/p02118/output.2.txt b/public_test_cases/p02118/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02118/output.2.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02119/input.0.txt b/public_test_cases/p02119/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8704b307374bb058db586bfc21b7d5a13f357182
--- /dev/null
+++ b/public_test_cases/p02119/input.0.txt
@@ -0,0 +1,4 @@
+3
+0
+0
+2
diff --git a/public_test_cases/p02119/input.1.txt b/public_test_cases/p02119/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8704b307374bb058db586bfc21b7d5a13f357182
--- /dev/null
+++ b/public_test_cases/p02119/input.1.txt
@@ -0,0 +1,4 @@
+3
+0
+0
+2
diff --git a/public_test_cases/p02119/input.2.txt b/public_test_cases/p02119/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d2ffdabe4af426bef187e22e0d9b1e9346732d1
--- /dev/null
+++ b/public_test_cases/p02119/input.2.txt
@@ -0,0 +1,6 @@
+5
+0
+1
+2
+3
+4
diff --git a/public_test_cases/p02119/output.0.txt b/public_test_cases/p02119/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33280629d45d42f53ada4c621ad788fb72c9c09c
--- /dev/null
+++ b/public_test_cases/p02119/output.0.txt
@@ -0,0 +1,3 @@
+1
+1
+2
diff --git a/public_test_cases/p02119/output.1.txt b/public_test_cases/p02119/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33280629d45d42f53ada4c621ad788fb72c9c09c
--- /dev/null
+++ b/public_test_cases/p02119/output.1.txt
@@ -0,0 +1,3 @@
+1
+1
+2
diff --git a/public_test_cases/p02119/output.2.txt b/public_test_cases/p02119/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9e71554d659e3d3b9f9578a2b4a59c3c17fe836
--- /dev/null
+++ b/public_test_cases/p02119/output.2.txt
@@ -0,0 +1,5 @@
+1
+1
+2
+2
+3
diff --git a/public_test_cases/p02120/input.0.txt b/public_test_cases/p02120/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f7a78fbeab6e1d1d3df06a78982ec9151fc0fbb
--- /dev/null
+++ b/public_test_cases/p02120/input.0.txt
@@ -0,0 +1,12 @@
+9 10
+1 2 3 4 5 6 7 8 9
+1 2
+2 3
+2 4
+3 4
+4 5
+4 6
+2 7
+7 8
+7 9
+9 1
diff --git a/public_test_cases/p02120/input.1.txt b/public_test_cases/p02120/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f7a78fbeab6e1d1d3df06a78982ec9151fc0fbb
--- /dev/null
+++ b/public_test_cases/p02120/input.1.txt
@@ -0,0 +1,12 @@
+9 10
+1 2 3 4 5 6 7 8 9
+1 2
+2 3
+2 4
+3 4
+4 5
+4 6
+2 7
+7 8
+7 9
+9 1
diff --git a/public_test_cases/p02120/input.2.txt b/public_test_cases/p02120/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..682baaad8df83335f5a672ea72df7d1f56bc2f23
--- /dev/null
+++ b/public_test_cases/p02120/input.2.txt
@@ -0,0 +1,3 @@
+2 1
+1 2
+1 2
diff --git a/public_test_cases/p02120/input.3.txt b/public_test_cases/p02120/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9ce7bcd402dbda71733418553ed092f906e4867
--- /dev/null
+++ b/public_test_cases/p02120/input.3.txt
@@ -0,0 +1,21 @@
+16 19
+1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
+1 2
+2 3
+3 4
+3 5
+1 6
+6 7
+6 8
+7 8
+8 9
+8 10
+10 11
+11 12
+12 10
+1 13
+13 14
+14 15
+15 13
+14 16
+15 16
diff --git a/public_test_cases/p02120/output.0.txt b/public_test_cases/p02120/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33b744451969fad668d4dd45296afb66626695b1
--- /dev/null
+++ b/public_test_cases/p02120/output.0.txt
@@ -0,0 +1,9 @@
+44
+25
+42
+30
+40
+39
+30
+37
+36
diff --git a/public_test_cases/p02120/output.1.txt b/public_test_cases/p02120/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33b744451969fad668d4dd45296afb66626695b1
--- /dev/null
+++ b/public_test_cases/p02120/output.1.txt
@@ -0,0 +1,9 @@
+44
+25
+42
+30
+40
+39
+30
+37
+36
diff --git a/public_test_cases/p02120/output.2.txt b/public_test_cases/p02120/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p02120/output.2.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p02120/output.3.txt b/public_test_cases/p02120/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..642f63315a03e46e56ff42ee995ca9186690d26b
--- /dev/null
+++ b/public_test_cases/p02120/output.3.txt
@@ -0,0 +1,16 @@
+63
+122
+124
+132
+131
+73
+129
+86
+127
+103
+125
+124
+78
+122
+121
+120
diff --git a/public_test_cases/p02121/input.0.txt b/public_test_cases/p02121/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9efb6b771cbb012c8c92a698ab2cc04eb2218361
--- /dev/null
+++ b/public_test_cases/p02121/input.0.txt
@@ -0,0 +1,4 @@
+2 1
+0 0 5 5
+3 3 6 6
+2 2
diff --git a/public_test_cases/p02121/input.1.txt b/public_test_cases/p02121/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6777022667314b74dec25135bb5f7f07d6e40617
--- /dev/null
+++ b/public_test_cases/p02121/input.1.txt
@@ -0,0 +1,5 @@
+2 2
+0 0 6 0
+7 0 3 0
+4 0
+5 0
diff --git a/public_test_cases/p02121/input.2.txt b/public_test_cases/p02121/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9efb6b771cbb012c8c92a698ab2cc04eb2218361
--- /dev/null
+++ b/public_test_cases/p02121/input.2.txt
@@ -0,0 +1,4 @@
+2 1
+0 0 5 5
+3 3 6 6
+2 2
diff --git a/public_test_cases/p02121/output.0.txt b/public_test_cases/p02121/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f13fa8ecc36104fcceae210914fbca7ea5baab8a
--- /dev/null
+++ b/public_test_cases/p02121/output.0.txt
@@ -0,0 +1 @@
+4.2426406871
diff --git a/public_test_cases/p02121/output.1.txt b/public_test_cases/p02121/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75cdb2ecbd6b9039c0268600e995366c5680b332
--- /dev/null
+++ b/public_test_cases/p02121/output.1.txt
@@ -0,0 +1 @@
+3.0000000000
diff --git a/public_test_cases/p02121/output.2.txt b/public_test_cases/p02121/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f13fa8ecc36104fcceae210914fbca7ea5baab8a
--- /dev/null
+++ b/public_test_cases/p02121/output.2.txt
@@ -0,0 +1 @@
+4.2426406871
diff --git a/public_test_cases/p02122/input.0.txt b/public_test_cases/p02122/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9447e1146ef428d2013f210498e98b3e45916052
--- /dev/null
+++ b/public_test_cases/p02122/input.0.txt
@@ -0,0 +1,14 @@
+5
+1 3 5 7 9
+6 2 3 2 6
+10
+1 3 4
+3 4 5
+4 2 3
+5 -1 -1
+2 3 8
+3 2 5
+4 3 3
+1 1 1
+6 -1 -1
+3 1 5
diff --git a/public_test_cases/p02122/input.1.txt b/public_test_cases/p02122/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9447e1146ef428d2013f210498e98b3e45916052
--- /dev/null
+++ b/public_test_cases/p02122/input.1.txt
@@ -0,0 +1,14 @@
+5
+1 3 5 7 9
+6 2 3 2 6
+10
+1 3 4
+3 4 5
+4 2 3
+5 -1 -1
+2 3 8
+3 2 5
+4 3 3
+1 1 1
+6 -1 -1
+3 1 5
diff --git a/public_test_cases/p02122/output.0.txt b/public_test_cases/p02122/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae8f23c4a2cdefac252e1cab6ce1b3b54a3b5848
--- /dev/null
+++ b/public_test_cases/p02122/output.0.txt
@@ -0,0 +1,5 @@
+7
+2
+2
+8
+1
diff --git a/public_test_cases/p02122/output.1.txt b/public_test_cases/p02122/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae8f23c4a2cdefac252e1cab6ce1b3b54a3b5848
--- /dev/null
+++ b/public_test_cases/p02122/output.1.txt
@@ -0,0 +1,5 @@
+7
+2
+2
+8
+1
diff --git a/public_test_cases/p02123/input.0.txt b/public_test_cases/p02123/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06f0b212d25a93b46c0b91c813d0e054a17dc060
--- /dev/null
+++ b/public_test_cases/p02123/input.0.txt
@@ -0,0 +1,6 @@
+5
+oxooo
+oxooo
+oxooo
+xxxxx
+oxooo
diff --git a/public_test_cases/p02123/input.1.txt b/public_test_cases/p02123/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..391a17db00116efd72df4fe1d9861f9693d8c389
--- /dev/null
+++ b/public_test_cases/p02123/input.1.txt
@@ -0,0 +1,4 @@
+3
+oxx
+oxx
+ooo
diff --git a/public_test_cases/p02123/input.2.txt b/public_test_cases/p02123/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06f0b212d25a93b46c0b91c813d0e054a17dc060
--- /dev/null
+++ b/public_test_cases/p02123/input.2.txt
@@ -0,0 +1,6 @@
+5
+oxooo
+oxooo
+oxooo
+xxxxx
+oxooo
diff --git a/public_test_cases/p02123/input.3.txt b/public_test_cases/p02123/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd84b35a98aa025e571a571862ab4b6e2b332fa7
--- /dev/null
+++ b/public_test_cases/p02123/input.3.txt
@@ -0,0 +1,10 @@
+9
+oxoooooxo
+oxxxxxxxx
+oxoooooxo
+xxxxxxxxx
+oxoxooooo
+oxxxxxxxx
+oxoxoxooo
+oxoxxxxxx
+oxoxoxooo
diff --git a/public_test_cases/p02123/output.0.txt b/public_test_cases/p02123/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6327ccae6ea416db6a05fa5bcd08aff5f90c5c79
--- /dev/null
+++ b/public_test_cases/p02123/output.0.txt
@@ -0,0 +1,3 @@
+1
+4
+2
diff --git a/public_test_cases/p02123/output.1.txt b/public_test_cases/p02123/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02123/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02123/output.2.txt b/public_test_cases/p02123/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6327ccae6ea416db6a05fa5bcd08aff5f90c5c79
--- /dev/null
+++ b/public_test_cases/p02123/output.2.txt
@@ -0,0 +1,3 @@
+1
+4
+2
diff --git a/public_test_cases/p02123/output.3.txt b/public_test_cases/p02123/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3c2cf42a1f10567887093ed63cae891af9e34b0
--- /dev/null
+++ b/public_test_cases/p02123/output.3.txt
@@ -0,0 +1,9 @@
+4
+4
+2
+2
+8
+6
+4
+8
+6
diff --git a/public_test_cases/p02124/input.0.txt b/public_test_cases/p02124/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02124/input.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02124/input.1.txt b/public_test_cases/p02124/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02124/input.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02124/input.2.txt b/public_test_cases/p02124/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..697cb3a26d77d1625ea445520e6e1e7bae966fe1
--- /dev/null
+++ b/public_test_cases/p02124/input.2.txt
@@ -0,0 +1 @@
+300
diff --git a/public_test_cases/p02124/output.0.txt b/public_test_cases/p02124/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1752b0015f8067c04c8e15036020ad927fdba99c
--- /dev/null
+++ b/public_test_cases/p02124/output.0.txt
@@ -0,0 +1 @@
+ai1333
diff --git a/public_test_cases/p02124/output.1.txt b/public_test_cases/p02124/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1752b0015f8067c04c8e15036020ad927fdba99c
--- /dev/null
+++ b/public_test_cases/p02124/output.1.txt
@@ -0,0 +1 @@
+ai1333
diff --git a/public_test_cases/p02124/output.2.txt b/public_test_cases/p02124/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39cb9a89e615001ddfcdd2b812c9ba0bea0fd088
--- /dev/null
+++ b/public_test_cases/p02124/output.2.txt
@@ -0,0 +1 @@
+ai1333333
diff --git a/public_test_cases/p02125/input.0.txt b/public_test_cases/p02125/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02125/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02125/input.1.txt b/public_test_cases/p02125/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02125/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02125/input.2.txt b/public_test_cases/p02125/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02125/input.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02125/output.0.txt b/public_test_cases/p02125/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02125/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02125/output.1.txt b/public_test_cases/p02125/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02125/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02125/output.2.txt b/public_test_cases/p02125/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02125/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02126/input.0.txt b/public_test_cases/p02126/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d20b6743efde662e717bf97297d165f6531f37b6
--- /dev/null
+++ b/public_test_cases/p02126/input.0.txt
@@ -0,0 +1,5 @@
+3 3 2
+1 1
+1 1
+1 100
+2 10
diff --git a/public_test_cases/p02126/input.1.txt b/public_test_cases/p02126/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aa717c1ef58cd042dde33c3ae2653c3f05c27bd
--- /dev/null
+++ b/public_test_cases/p02126/input.1.txt
@@ -0,0 +1,24 @@
+22 7 26
+11 14 15 3 11 7 16 17 1 4 2 19 4 14 16 16 3 13 17 12 7 11 2 20 12 22
+6 10
+1 3
+13 1
+16 5
+4 1
+20 7
+18 4
+26 6
+9 1
+12 2
+21 1
+21 7
+18 1
+14 5
+24 5
+6 1
+3 1
+2 5
+21 2
+7 6
+10 9
+15 7
diff --git a/public_test_cases/p02126/input.2.txt b/public_test_cases/p02126/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d20b6743efde662e717bf97297d165f6531f37b6
--- /dev/null
+++ b/public_test_cases/p02126/input.2.txt
@@ -0,0 +1,5 @@
+3 3 2
+1 1
+1 1
+1 100
+2 10
diff --git a/public_test_cases/p02126/input.3.txt b/public_test_cases/p02126/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a8c42ee571a55bb4332810fa4961ebe2aa0fdb4
--- /dev/null
+++ b/public_test_cases/p02126/input.3.txt
@@ -0,0 +1,5 @@
+3 3 3
+1 0 1
+1 1
+2 100
+3 1
diff --git a/public_test_cases/p02126/output.0.txt b/public_test_cases/p02126/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p02126/output.0.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p02126/output.1.txt b/public_test_cases/p02126/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0691f67b202a873c99bdb9b99e15a667cb916a5b
--- /dev/null
+++ b/public_test_cases/p02126/output.1.txt
@@ -0,0 +1 @@
+52
diff --git a/public_test_cases/p02126/output.2.txt b/public_test_cases/p02126/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p02126/output.2.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p02126/output.3.txt b/public_test_cases/p02126/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02126/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02127/input.0.txt b/public_test_cases/p02127/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d82a8d2887c156c0b7010da8c5e10dc0e13333cc
--- /dev/null
+++ b/public_test_cases/p02127/input.0.txt
@@ -0,0 +1,2 @@
+AABABCAC
+A
diff --git a/public_test_cases/p02127/input.1.txt b/public_test_cases/p02127/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b647747c96e53767e94bc60ac2564c3bffde318f
--- /dev/null
+++ b/public_test_cases/p02127/input.1.txt
@@ -0,0 +1,2 @@
+abaabbabaabaabbabbabaabbab
+ab
diff --git a/public_test_cases/p02127/input.2.txt b/public_test_cases/p02127/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d82a8d2887c156c0b7010da8c5e10dc0e13333cc
--- /dev/null
+++ b/public_test_cases/p02127/input.2.txt
@@ -0,0 +1,2 @@
+AABABCAC
+A
diff --git a/public_test_cases/p02127/input.3.txt b/public_test_cases/p02127/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cee8e7a5d273377ad9117b5da3650f6cfab62d18
--- /dev/null
+++ b/public_test_cases/p02127/input.3.txt
@@ -0,0 +1,2 @@
+AbCdEfG
+aBcDeFg
diff --git a/public_test_cases/p02127/output.0.txt b/public_test_cases/p02127/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02127/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02127/output.1.txt b/public_test_cases/p02127/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02127/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02127/output.2.txt b/public_test_cases/p02127/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02127/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02127/output.3.txt b/public_test_cases/p02127/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02127/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02128/input.0.txt b/public_test_cases/p02128/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12717dcb7d284edf23b673bbbb3964d678509383
--- /dev/null
+++ b/public_test_cases/p02128/input.0.txt
@@ -0,0 +1,2 @@
+10 10 1
+6 6
diff --git a/public_test_cases/p02128/input.1.txt b/public_test_cases/p02128/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46b206baeac2eedb49ae7c2aea80920b600f1ab0
--- /dev/null
+++ b/public_test_cases/p02128/input.1.txt
@@ -0,0 +1,2 @@
+1 1 1
+1 1
diff --git a/public_test_cases/p02128/input.2.txt b/public_test_cases/p02128/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7b2adc79afd2fd13af1b3b9575d8d3604fe4cdb
--- /dev/null
+++ b/public_test_cases/p02128/input.2.txt
@@ -0,0 +1,4 @@
+5 10 3
+3 9
+2 8
+5 1
diff --git a/public_test_cases/p02128/input.3.txt b/public_test_cases/p02128/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12717dcb7d284edf23b673bbbb3964d678509383
--- /dev/null
+++ b/public_test_cases/p02128/input.3.txt
@@ -0,0 +1,2 @@
+10 10 1
+6 6
diff --git a/public_test_cases/p02128/output.0.txt b/public_test_cases/p02128/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02128/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02128/output.1.txt b/public_test_cases/p02128/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02128/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02128/output.2.txt b/public_test_cases/p02128/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02128/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02128/output.3.txt b/public_test_cases/p02128/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02128/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02129/input.0.txt b/public_test_cases/p02129/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f823fbde359856574db78ab866b50b9c197d015
--- /dev/null
+++ b/public_test_cases/p02129/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 0 0
+1 1
+5 1 0 0 1 0
diff --git a/public_test_cases/p02129/input.1.txt b/public_test_cases/p02129/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f823fbde359856574db78ab866b50b9c197d015
--- /dev/null
+++ b/public_test_cases/p02129/input.1.txt
@@ -0,0 +1,4 @@
+3
+2 0 0
+1 1
+5 1 0 0 1 0
diff --git a/public_test_cases/p02129/input.2.txt b/public_test_cases/p02129/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d254849806dc3495b820e8553f8f77cba42c6c93
--- /dev/null
+++ b/public_test_cases/p02129/input.2.txt
@@ -0,0 +1,3 @@
+2
+1 1
+1 0
diff --git a/public_test_cases/p02129/output.0.txt b/public_test_cases/p02129/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p02129/output.0.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p02129/output.1.txt b/public_test_cases/p02129/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p02129/output.1.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p02129/output.2.txt b/public_test_cases/p02129/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p02129/output.2.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p02130/input.0.txt b/public_test_cases/p02130/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc5655fa40b1dbbd5787b5c5245a5409f34081fa
--- /dev/null
+++ b/public_test_cases/p02130/input.0.txt
@@ -0,0 +1,6 @@
+5 3 5
+7 2
+13 1
+1 1
+2 9
+2 4
diff --git a/public_test_cases/p02130/input.1.txt b/public_test_cases/p02130/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae496653fac83c2903d4c794aa29ce56b1cf672f
--- /dev/null
+++ b/public_test_cases/p02130/input.1.txt
@@ -0,0 +1,11 @@
+10 7 12
+34 70
+36 0
+12 50
+76 46
+33 45
+61 21
+0 1
+24 3
+98 41
+23 84
diff --git a/public_test_cases/p02130/input.2.txt b/public_test_cases/p02130/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc5655fa40b1dbbd5787b5c5245a5409f34081fa
--- /dev/null
+++ b/public_test_cases/p02130/input.2.txt
@@ -0,0 +1,6 @@
+5 3 5
+7 2
+13 1
+1 1
+2 9
+2 4
diff --git a/public_test_cases/p02130/output.0.txt b/public_test_cases/p02130/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02130/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02130/output.1.txt b/public_test_cases/p02130/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02130/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02130/output.2.txt b/public_test_cases/p02130/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02130/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02131/input.0.txt b/public_test_cases/p02131/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e8ff57fab9834fe3c2da25bc9f7b8a8e0ad1d1
--- /dev/null
+++ b/public_test_cases/p02131/input.0.txt
@@ -0,0 +1,2 @@
+2 3
+00
diff --git a/public_test_cases/p02131/input.1.txt b/public_test_cases/p02131/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2355d4c8daa9fcc9ea240f7b3c16e57b33aed40d
--- /dev/null
+++ b/public_test_cases/p02131/input.1.txt
@@ -0,0 +1,2 @@
+5 13
+10031
diff --git a/public_test_cases/p02131/input.2.txt b/public_test_cases/p02131/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e8ff57fab9834fe3c2da25bc9f7b8a8e0ad1d1
--- /dev/null
+++ b/public_test_cases/p02131/input.2.txt
@@ -0,0 +1,2 @@
+2 3
+00
diff --git a/public_test_cases/p02131/input.3.txt b/public_test_cases/p02131/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe4a26898ee2ce9e42693f03ec0ec06d2a1232fc
--- /dev/null
+++ b/public_test_cases/p02131/input.3.txt
@@ -0,0 +1,2 @@
+4 9
+0012
diff --git a/public_test_cases/p02131/output.0.txt b/public_test_cases/p02131/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02131/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02131/output.1.txt b/public_test_cases/p02131/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02131/output.1.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02131/output.2.txt b/public_test_cases/p02131/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02131/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02131/output.3.txt b/public_test_cases/p02131/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02131/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02132/input.0.txt b/public_test_cases/p02132/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f79a178ced818ca2aea73ab9938224e5ca4d2dc
--- /dev/null
+++ b/public_test_cases/p02132/input.0.txt
@@ -0,0 +1,6 @@
+5 2
+0 0
+5 5
+10 10
+100 100
+200 200
diff --git a/public_test_cases/p02132/input.1.txt b/public_test_cases/p02132/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43d14b8e0932e3a159c2d4fb087a99fff4dd365a
--- /dev/null
+++ b/public_test_cases/p02132/input.1.txt
@@ -0,0 +1,11 @@
+10 5
+321 675
+4312 6534
+312 532
+412 6543
+21 43
+654 321
+543 0
+32 5
+41 76
+5 1
diff --git a/public_test_cases/p02132/input.2.txt b/public_test_cases/p02132/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2f8f0dee9e4336432ed0839d4d6ac634aa6da4c
--- /dev/null
+++ b/public_test_cases/p02132/input.2.txt
@@ -0,0 +1,6 @@
+5 2
+0 0
+0 0
+0 0
+0 0
+0 0
diff --git a/public_test_cases/p02132/input.3.txt b/public_test_cases/p02132/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f79a178ced818ca2aea73ab9938224e5ca4d2dc
--- /dev/null
+++ b/public_test_cases/p02132/input.3.txt
@@ -0,0 +1,6 @@
+5 2
+0 0
+5 5
+10 10
+100 100
+200 200
diff --git a/public_test_cases/p02132/input.4.txt b/public_test_cases/p02132/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..236d4cedc4de826d927e834392b57c078fee30a9
--- /dev/null
+++ b/public_test_cases/p02132/input.4.txt
@@ -0,0 +1,15 @@
+14 3
+312 342
+4893 432
+321 4
+389 4
+23 543
+0 0
+1 1
+2 2
+432 12
+435 32
+1 5
+2 10
+100 100
+20 50
diff --git a/public_test_cases/p02132/output.0.txt b/public_test_cases/p02132/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8192f6dadde2446b6f10234eee998333e53a6fd1
--- /dev/null
+++ b/public_test_cases/p02132/output.0.txt
@@ -0,0 +1 @@
+70.710678118755
diff --git a/public_test_cases/p02132/output.1.txt b/public_test_cases/p02132/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c07055ab0b66959d28bea576d14ab62656deb46f
--- /dev/null
+++ b/public_test_cases/p02132/output.1.txt
@@ -0,0 +1 @@
+169.824909833728
diff --git a/public_test_cases/p02132/output.2.txt b/public_test_cases/p02132/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..285d72370e79639c8b95e3c96204191b3229dd6c
--- /dev/null
+++ b/public_test_cases/p02132/output.2.txt
@@ -0,0 +1 @@
+0.000000000001
diff --git a/public_test_cases/p02132/output.3.txt b/public_test_cases/p02132/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8192f6dadde2446b6f10234eee998333e53a6fd1
--- /dev/null
+++ b/public_test_cases/p02132/output.3.txt
@@ -0,0 +1 @@
+70.710678118755
diff --git a/public_test_cases/p02132/output.4.txt b/public_test_cases/p02132/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5e26df68bfe8f9d4cb1435e9bc34951fc15890e
--- /dev/null
+++ b/public_test_cases/p02132/output.4.txt
@@ -0,0 +1 @@
+218.087711712613
diff --git a/public_test_cases/p02133/input.0.txt b/public_test_cases/p02133/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7040518f79bad90cb1b0ca8ccf37cc2952cfe038
--- /dev/null
+++ b/public_test_cases/p02133/input.0.txt
@@ -0,0 +1,10 @@
+4 4 7
+1 2 3 4
+1 2 3 4
+3 2 3 2 3
+4 2 3 2 3
+3 1 1 1 1
+4 1 1 1 1
+1 1 1 1
+3 1 4 1 2
+4 2 3 2 4
diff --git a/public_test_cases/p02133/input.1.txt b/public_test_cases/p02133/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7040518f79bad90cb1b0ca8ccf37cc2952cfe038
--- /dev/null
+++ b/public_test_cases/p02133/input.1.txt
@@ -0,0 +1,10 @@
+4 4 7
+1 2 3 4
+1 2 3 4
+3 2 3 2 3
+4 2 3 2 3
+3 1 1 1 1
+4 1 1 1 1
+1 1 1 1
+3 1 4 1 2
+4 2 3 2 4
diff --git a/public_test_cases/p02133/input.2.txt b/public_test_cases/p02133/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed8ead91c142bd7383ca9f0cd79ec9eee8644164
--- /dev/null
+++ b/public_test_cases/p02133/input.2.txt
@@ -0,0 +1,10 @@
+4 4 7
+0 1 0 1
+1 0 1 0
+3 2 4 1 3
+4 1 4 1 4
+1 1 4 -1
+3 1 3 1 3
+1 3 3 2
+2 3 3 -2
+3 2 4 2 4
diff --git a/public_test_cases/p02133/input.3.txt b/public_test_cases/p02133/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4314af3ead7a5166ac87791c1a0fcd321b372bc7
--- /dev/null
+++ b/public_test_cases/p02133/input.3.txt
@@ -0,0 +1,23 @@
+36 4 20
+-523 -460 -536 -885 652 782 513 -558 -521 -808 124 -708 -943 52 -856 -755 -958 913 380 -767 373 -731 -492 213 538 392 -39 509 -840 135 78 -285 -241 522 -572 -915
+-691 -16 812 -385
+4 7 17 4 4
+3 24 33 1 1
+4 3 35 2 4
+3 28 32 4 4
+2 3 3 438
+3 7 15 1 1
+4 2 17 4 4
+3 24 28 2 4
+4 15 16 4 4
+4 18 29 1 1
+3 24 27 2 4
+2 2 3 -828
+3 18 23 3 3
+1 27 31 -701
+2 2 3 298
+1 21 32 237
+2 3 3 -71
+1 14 29 772
+4 13 19 3 3
+3 19 34 1 2
diff --git a/public_test_cases/p02133/input.4.txt b/public_test_cases/p02133/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c0a55abbec463b32be0e9f147f68aa3be982b8f
--- /dev/null
+++ b/public_test_cases/p02133/input.4.txt
@@ -0,0 +1,9 @@
+4 4 6
+1 1 1 1
+1 1 1 1
+3 1 4 1 4
+4 1 4 1 4
+1 2 3 1
+2 2 3 1
+3 1 4 1 4
+4 1 4 1 4
diff --git a/public_test_cases/p02133/output.0.txt b/public_test_cases/p02133/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f072d31bb200c82b27a520b5694a0c9bdf434a6f
--- /dev/null
+++ b/public_test_cases/p02133/output.0.txt
@@ -0,0 +1,6 @@
+4 1
+9 1
+1 1
+1 1
+2 2
+12 1
diff --git a/public_test_cases/p02133/output.1.txt b/public_test_cases/p02133/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f072d31bb200c82b27a520b5694a0c9bdf434a6f
--- /dev/null
+++ b/public_test_cases/p02133/output.1.txt
@@ -0,0 +1,6 @@
+4 1
+9 1
+1 1
+1 1
+2 2
+12 1
diff --git a/public_test_cases/p02133/output.2.txt b/public_test_cases/p02133/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac31e6d599496e466fcf6057c09bbf9d24acdb9b
--- /dev/null
+++ b/public_test_cases/p02133/output.2.txt
@@ -0,0 +1,4 @@
+0 5
+1 4
+-1 4
+-1 1
diff --git a/public_test_cases/p02133/output.3.txt b/public_test_cases/p02133/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a02031e0b0605d6991a76cf6cd8453884bbb1d90
--- /dev/null
+++ b/public_test_cases/p02133/output.3.txt
@@ -0,0 +1,13 @@
+368830 1
+-371758 1
+741356 1
+-195965 1
+-354483 1
+368830 1
+-207130 1
+329560 1
+580440 1
+-207130 1
+-323674 1
+1093565 1
+-1068977 1
diff --git a/public_test_cases/p02133/output.4.txt b/public_test_cases/p02133/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccd22735cefa418b2457d4ecb031cacd2d052c50
--- /dev/null
+++ b/public_test_cases/p02133/output.4.txt
@@ -0,0 +1,4 @@
+1 16
+1 16
+1 4
+4 4
diff --git a/public_test_cases/p02134/input.0.txt b/public_test_cases/p02134/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13ca94a9c706a231508d601478f9cd4f7073b0ce
--- /dev/null
+++ b/public_test_cases/p02134/input.0.txt
@@ -0,0 +1,5 @@
+0 0
+13 33
+2
+0 34
+14 0
diff --git a/public_test_cases/p02134/input.1.txt b/public_test_cases/p02134/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aba3c7c751d4ca3dffae30d52f68c2012396508
--- /dev/null
+++ b/public_test_cases/p02134/input.1.txt
@@ -0,0 +1,4 @@
+0 0
+0 2
+1
+0 1
diff --git a/public_test_cases/p02134/input.2.txt b/public_test_cases/p02134/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb236d8bbe143718100b2c2189b8e380879534a2
--- /dev/null
+++ b/public_test_cases/p02134/input.2.txt
@@ -0,0 +1,7 @@
+0 1
+5 0
+4
+2 1
+1 3
+4 2
+3 0
diff --git a/public_test_cases/p02134/input.3.txt b/public_test_cases/p02134/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13ca94a9c706a231508d601478f9cd4f7073b0ce
--- /dev/null
+++ b/public_test_cases/p02134/input.3.txt
@@ -0,0 +1,5 @@
+0 0
+13 33
+2
+0 34
+14 0
diff --git a/public_test_cases/p02134/output.0.txt b/public_test_cases/p02134/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02134/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02134/output.1.txt b/public_test_cases/p02134/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02134/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02134/output.2.txt b/public_test_cases/p02134/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02134/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02134/output.3.txt b/public_test_cases/p02134/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02134/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02135/input.0.txt b/public_test_cases/p02135/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69433d22c4697c533534ece3ffa13817ecaf2f9d
--- /dev/null
+++ b/public_test_cases/p02135/input.0.txt
@@ -0,0 +1,15 @@
+10
+1 2 3 4 5 6 7 8 9 10
+1 2
+2 3
+3 4
+3 5
+2 6
+6 7
+2 8
+8 9
+8 10
+3
+3 8
+7 1
+7 10
diff --git a/public_test_cases/p02135/input.1.txt b/public_test_cases/p02135/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69433d22c4697c533534ece3ffa13817ecaf2f9d
--- /dev/null
+++ b/public_test_cases/p02135/input.1.txt
@@ -0,0 +1,15 @@
+10
+1 2 3 4 5 6 7 8 9 10
+1 2
+2 3
+3 4
+3 5
+2 6
+6 7
+2 8
+8 9
+8 10
+3
+3 8
+7 1
+7 10
diff --git a/public_test_cases/p02135/input.2.txt b/public_test_cases/p02135/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a9bcd5bb896133c0f1096725f29a88721f4fefb
--- /dev/null
+++ b/public_test_cases/p02135/input.2.txt
@@ -0,0 +1,10 @@
+5
+1 2 3 4 5
+1 2
+2 3
+3 4
+4 5
+3
+1 2
+1 5
+2 4
diff --git a/public_test_cases/p02135/input.3.txt b/public_test_cases/p02135/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09cb5c3e29b6f4e7ccedcb0f928ca76f243ace45
--- /dev/null
+++ b/public_test_cases/p02135/input.3.txt
@@ -0,0 +1,22 @@
+15
+3 8 4 2 6 5 1 2 10 3 4 2 6 1 1
+1 2
+2 3
+3 4
+3 5
+2 6
+6 7
+6 8
+1 9
+9 10
+10 11
+10 12
+9 13
+13 14
+13 15
+5
+1 1
+2 7
+6 10
+1 15
+3 4
diff --git a/public_test_cases/p02135/output.0.txt b/public_test_cases/p02135/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2afae0ed8bf029f8914d2d7d7fee6f80e643256b
--- /dev/null
+++ b/public_test_cases/p02135/output.0.txt
@@ -0,0 +1,3 @@
+13
+27
+12
diff --git a/public_test_cases/p02135/output.1.txt b/public_test_cases/p02135/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2afae0ed8bf029f8914d2d7d7fee6f80e643256b
--- /dev/null
+++ b/public_test_cases/p02135/output.1.txt
@@ -0,0 +1,3 @@
+13
+27
+12
diff --git a/public_test_cases/p02135/output.2.txt b/public_test_cases/p02135/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1abba1034347d02110610de543b9c6b4f01bcd7
--- /dev/null
+++ b/public_test_cases/p02135/output.2.txt
@@ -0,0 +1,3 @@
+12
+0
+5
diff --git a/public_test_cases/p02135/output.3.txt b/public_test_cases/p02135/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d7457fb9a27a64e39b43d5f75fedf80cdac3917
--- /dev/null
+++ b/public_test_cases/p02135/output.3.txt
@@ -0,0 +1,5 @@
+28
+30
+12
+28
+46
diff --git a/public_test_cases/p02136/input.0.txt b/public_test_cases/p02136/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..716010e5319a69d3d73d6d9d385270298b928daf
--- /dev/null
+++ b/public_test_cases/p02136/input.0.txt
@@ -0,0 +1,3 @@
+2
+-1 -1 10
+1 1 1
diff --git a/public_test_cases/p02136/input.1.txt b/public_test_cases/p02136/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..716010e5319a69d3d73d6d9d385270298b928daf
--- /dev/null
+++ b/public_test_cases/p02136/input.1.txt
@@ -0,0 +1,3 @@
+2
+-1 -1 10
+1 1 1
diff --git a/public_test_cases/p02136/input.2.txt b/public_test_cases/p02136/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c901763f69bca1b89689c7f217ef421020d858
--- /dev/null
+++ b/public_test_cases/p02136/input.2.txt
@@ -0,0 +1,4 @@
+3
+3 2 2
+4 -1 4
+1 -4 7
diff --git a/public_test_cases/p02136/output.0.txt b/public_test_cases/p02136/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d66ea1aee9527bfa39185ead1f9cdbd96bba88c
--- /dev/null
+++ b/public_test_cases/p02136/output.0.txt
@@ -0,0 +1,2 @@
+0
+1
diff --git a/public_test_cases/p02136/output.1.txt b/public_test_cases/p02136/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d66ea1aee9527bfa39185ead1f9cdbd96bba88c
--- /dev/null
+++ b/public_test_cases/p02136/output.1.txt
@@ -0,0 +1,2 @@
+0
+1
diff --git a/public_test_cases/p02136/output.2.txt b/public_test_cases/p02136/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p02136/output.2.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p02137/input.0.txt b/public_test_cases/p02137/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a1f00d8f61bc2898e976fb2c80c74003aec1e8e
--- /dev/null
+++ b/public_test_cases/p02137/input.0.txt
@@ -0,0 +1 @@
+5700
diff --git a/public_test_cases/p02137/input.1.txt b/public_test_cases/p02137/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8735ed157e661a1f9ad281ec960ddf0aec64d292
--- /dev/null
+++ b/public_test_cases/p02137/input.1.txt
@@ -0,0 +1 @@
+1333
diff --git a/public_test_cases/p02137/input.2.txt b/public_test_cases/p02137/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a1f00d8f61bc2898e976fb2c80c74003aec1e8e
--- /dev/null
+++ b/public_test_cases/p02137/input.2.txt
@@ -0,0 +1 @@
+5700
diff --git a/public_test_cases/p02137/input.3.txt b/public_test_cases/p02137/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p02137/input.3.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p02137/output.0.txt b/public_test_cases/p02137/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ddc9de2f5c53c8bfb0237112d3b1f940ea9cf2f
--- /dev/null
+++ b/public_test_cases/p02137/output.0.txt
@@ -0,0 +1 @@
+5500
diff --git a/public_test_cases/p02137/output.1.txt b/public_test_cases/p02137/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p02137/output.1.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p02137/output.2.txt b/public_test_cases/p02137/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ddc9de2f5c53c8bfb0237112d3b1f940ea9cf2f
--- /dev/null
+++ b/public_test_cases/p02137/output.2.txt
@@ -0,0 +1 @@
+5500
diff --git a/public_test_cases/p02137/output.3.txt b/public_test_cases/p02137/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p02137/output.3.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p02138/input.0.txt b/public_test_cases/p02138/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df502ea9515dea46b9d8c379f37811ae8d2f9bc7
--- /dev/null
+++ b/public_test_cases/p02138/input.0.txt
@@ -0,0 +1 @@
+20 10
diff --git a/public_test_cases/p02138/input.1.txt b/public_test_cases/p02138/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a77f4ad1992d5724d421b7212aeea7be308c1bae
--- /dev/null
+++ b/public_test_cases/p02138/input.1.txt
@@ -0,0 +1 @@
+64783 68943
diff --git a/public_test_cases/p02138/input.2.txt b/public_test_cases/p02138/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df502ea9515dea46b9d8c379f37811ae8d2f9bc7
--- /dev/null
+++ b/public_test_cases/p02138/input.2.txt
@@ -0,0 +1 @@
+20 10
diff --git a/public_test_cases/p02138/input.3.txt b/public_test_cases/p02138/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1883fc43702d44c04e40861628d42417d05a1f4e
--- /dev/null
+++ b/public_test_cases/p02138/input.3.txt
@@ -0,0 +1 @@
+1000000000000000000 1000000000000000000
diff --git a/public_test_cases/p02138/input.4.txt b/public_test_cases/p02138/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed40cec79baa7d9dbb01e18ad634edd038ad2259
--- /dev/null
+++ b/public_test_cases/p02138/input.4.txt
@@ -0,0 +1 @@
+10 20
diff --git a/public_test_cases/p02138/output.0.txt b/public_test_cases/p02138/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02138/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02138/output.1.txt b/public_test_cases/p02138/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02138/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02138/output.2.txt b/public_test_cases/p02138/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02138/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02138/output.3.txt b/public_test_cases/p02138/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02138/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02138/output.4.txt b/public_test_cases/p02138/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02138/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02139/input.0.txt b/public_test_cases/p02139/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d276e87677070193137f6cc53f4c8af6720f095a
--- /dev/null
+++ b/public_test_cases/p02139/input.0.txt
@@ -0,0 +1,5 @@
+5 4
+1 2
+0 2
+1 1
+0 3
diff --git a/public_test_cases/p02139/input.1.txt b/public_test_cases/p02139/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d276e87677070193137f6cc53f4c8af6720f095a
--- /dev/null
+++ b/public_test_cases/p02139/input.1.txt
@@ -0,0 +1,5 @@
+5 4
+1 2
+0 2
+1 1
+0 3
diff --git a/public_test_cases/p02139/input.2.txt b/public_test_cases/p02139/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd5117b2e4a8949c0d45661a177a7e099edf3320
--- /dev/null
+++ b/public_test_cases/p02139/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+1 1
+0 1
+0 4
diff --git a/public_test_cases/p02139/input.3.txt b/public_test_cases/p02139/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5022b7069997632bf032219e33107ffef079d4ef
--- /dev/null
+++ b/public_test_cases/p02139/input.3.txt
@@ -0,0 +1,7 @@
+10 6
+1 1
+0 1
+1 9
+0 5
+1 1
+0 10
diff --git a/public_test_cases/p02139/output.0.txt b/public_test_cases/p02139/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcb4347b4fab3d27bb7140fed351e3dd09765561
--- /dev/null
+++ b/public_test_cases/p02139/output.0.txt
@@ -0,0 +1,2 @@
+4
+1
diff --git a/public_test_cases/p02139/output.1.txt b/public_test_cases/p02139/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcb4347b4fab3d27bb7140fed351e3dd09765561
--- /dev/null
+++ b/public_test_cases/p02139/output.1.txt
@@ -0,0 +1,2 @@
+4
+1
diff --git a/public_test_cases/p02139/output.2.txt b/public_test_cases/p02139/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81450f3d334f886509a186abffcf1a1aee0866a5
--- /dev/null
+++ b/public_test_cases/p02139/output.2.txt
@@ -0,0 +1,2 @@
+4
+3
diff --git a/public_test_cases/p02139/output.3.txt b/public_test_cases/p02139/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..147741ff50104dd90af01ec3bfbb0bf9a753b77f
--- /dev/null
+++ b/public_test_cases/p02139/output.3.txt
@@ -0,0 +1,3 @@
+2
+5
+1
diff --git a/public_test_cases/p02140/input.0.txt b/public_test_cases/p02140/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ee3e8756e3ae23c97e0d956e535b5bc120d8cdf
--- /dev/null
+++ b/public_test_cases/p02140/input.0.txt
@@ -0,0 +1 @@
+2 2 0 0 1 1
diff --git a/public_test_cases/p02140/input.1.txt b/public_test_cases/p02140/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71907b8d39eb18cba5422ef4d61f064e79d3f43c
--- /dev/null
+++ b/public_test_cases/p02140/input.1.txt
@@ -0,0 +1 @@
+5 5 0 0 4 4
diff --git a/public_test_cases/p02140/input.2.txt b/public_test_cases/p02140/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2aaf46d86d4b354f73868820564a64424c37eff1
--- /dev/null
+++ b/public_test_cases/p02140/input.2.txt
@@ -0,0 +1 @@
+1 1 0 0 0 0
diff --git a/public_test_cases/p02140/input.3.txt b/public_test_cases/p02140/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68526bb10fed44b4fdd59123f1e32aeb9446adf3
--- /dev/null
+++ b/public_test_cases/p02140/input.3.txt
@@ -0,0 +1 @@
+1 10 0 0 0 9
diff --git a/public_test_cases/p02140/input.4.txt b/public_test_cases/p02140/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ee3e8756e3ae23c97e0d956e535b5bc120d8cdf
--- /dev/null
+++ b/public_test_cases/p02140/input.4.txt
@@ -0,0 +1 @@
+2 2 0 0 1 1
diff --git a/public_test_cases/p02140/input.5.txt b/public_test_cases/p02140/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b880d875f687ea0f40f380b6c7f95f215925c82
--- /dev/null
+++ b/public_test_cases/p02140/input.5.txt
@@ -0,0 +1 @@
+421 435 196 169 388 9
diff --git a/public_test_cases/p02140/output.0.txt b/public_test_cases/p02140/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0be89e24c500a563a7ef1ede92c28641efbfecb
--- /dev/null
+++ b/public_test_cases/p02140/output.0.txt
@@ -0,0 +1 @@
+2 8
diff --git a/public_test_cases/p02140/output.1.txt b/public_test_cases/p02140/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02140/output.1.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02140/output.2.txt b/public_test_cases/p02140/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e8183b72e5ed9b26e9e2c64bb6bc849b23b0690
--- /dev/null
+++ b/public_test_cases/p02140/output.2.txt
@@ -0,0 +1 @@
+0 1
diff --git a/public_test_cases/p02140/output.3.txt b/public_test_cases/p02140/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02140/output.3.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02140/output.4.txt b/public_test_cases/p02140/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0be89e24c500a563a7ef1ede92c28641efbfecb
--- /dev/null
+++ b/public_test_cases/p02140/output.4.txt
@@ -0,0 +1 @@
+2 8
diff --git a/public_test_cases/p02140/output.5.txt b/public_test_cases/p02140/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a7ceea7e4a73bfa6a6057e8af118e1f00a4d81c
--- /dev/null
+++ b/public_test_cases/p02140/output.5.txt
@@ -0,0 +1 @@
+43 917334776
diff --git a/public_test_cases/p02141/input.0.txt b/public_test_cases/p02141/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..daa977dd9f11674689d4075ae637342742161ec0
--- /dev/null
+++ b/public_test_cases/p02141/input.0.txt
@@ -0,0 +1 @@
+6000 5000 20 10 400 300
diff --git a/public_test_cases/p02141/input.1.txt b/public_test_cases/p02141/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..daa977dd9f11674689d4075ae637342742161ec0
--- /dev/null
+++ b/public_test_cases/p02141/input.1.txt
@@ -0,0 +1 @@
+6000 5000 20 10 400 300
diff --git a/public_test_cases/p02141/input.2.txt b/public_test_cases/p02141/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf72bf16e9f544d30063061b6ba86bf9218860fb
--- /dev/null
+++ b/public_test_cases/p02141/input.2.txt
@@ -0,0 +1 @@
+10 10 8 8 8 8
diff --git a/public_test_cases/p02141/output.0.txt b/public_test_cases/p02141/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39c64a9f26e9c671497e5ad55583caecd1413dbc
--- /dev/null
+++ b/public_test_cases/p02141/output.0.txt
@@ -0,0 +1 @@
+0.75
diff --git a/public_test_cases/p02141/output.1.txt b/public_test_cases/p02141/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39c64a9f26e9c671497e5ad55583caecd1413dbc
--- /dev/null
+++ b/public_test_cases/p02141/output.1.txt
@@ -0,0 +1 @@
+0.75
diff --git a/public_test_cases/p02141/output.2.txt b/public_test_cases/p02141/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02141/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02142/input.0.txt b/public_test_cases/p02142/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9537ecd70e8be57a5a12b97f42aeefa05c828b72
--- /dev/null
+++ b/public_test_cases/p02142/input.0.txt
@@ -0,0 +1,2 @@
+2 1 1 2
+1 2 1 100
diff --git a/public_test_cases/p02142/input.1.txt b/public_test_cases/p02142/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9537ecd70e8be57a5a12b97f42aeefa05c828b72
--- /dev/null
+++ b/public_test_cases/p02142/input.1.txt
@@ -0,0 +1,2 @@
+2 1 1 2
+1 2 1 100
diff --git a/public_test_cases/p02142/input.2.txt b/public_test_cases/p02142/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73b56e066874c79c694e977a0afd69d79cb31384
--- /dev/null
+++ b/public_test_cases/p02142/input.2.txt
@@ -0,0 +1,2 @@
+3 1 1 3
+1 2 1 1
diff --git a/public_test_cases/p02142/input.3.txt b/public_test_cases/p02142/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d375d9f17ebcb8dd60cab26101355604df17f5
--- /dev/null
+++ b/public_test_cases/p02142/input.3.txt
@@ -0,0 +1,4 @@
+3 3 1 3
+1 2 1 1
+2 3 1 6
+2 3 50 100
diff --git a/public_test_cases/p02142/input.4.txt b/public_test_cases/p02142/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffd6be0314c1f9c87074649dec96ab661f2f5029
--- /dev/null
+++ b/public_test_cases/p02142/input.4.txt
@@ -0,0 +1,2 @@
+2 1 1 2
+1 2 50 100
diff --git a/public_test_cases/p02142/input.5.txt b/public_test_cases/p02142/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ac497cdded74584d4f8bf12e544c6b05080e75b
--- /dev/null
+++ b/public_test_cases/p02142/input.5.txt
@@ -0,0 +1,4 @@
+3 3 1 3
+1 2 10 100
+2 3 1 6
+2 3 50 100
diff --git a/public_test_cases/p02142/output.0.txt b/public_test_cases/p02142/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p02142/output.0.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p02142/output.1.txt b/public_test_cases/p02142/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p02142/output.1.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p02142/output.2.txt b/public_test_cases/p02142/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02142/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02142/output.3.txt b/public_test_cases/p02142/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02142/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02142/output.4.txt b/public_test_cases/p02142/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02142/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02142/output.5.txt b/public_test_cases/p02142/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02142/output.5.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02143/input.0.txt b/public_test_cases/p02143/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e73a8ef8f849ba98947a35d58491e17b825668cd
--- /dev/null
+++ b/public_test_cases/p02143/input.0.txt
@@ -0,0 +1,4 @@
+5 3
+1 4
+3 7
+0 1000
diff --git a/public_test_cases/p02143/input.1.txt b/public_test_cases/p02143/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d36d999d22ad57318bf0d42c1f467a2f6d75b01
--- /dev/null
+++ b/public_test_cases/p02143/input.1.txt
@@ -0,0 +1,13 @@
+14 12
+1 4
+2 3
+0 5
+1 4
+1 2
+0 8
+0 2
+0 10
+0 1
+0 8
+3 10
+1 10
diff --git a/public_test_cases/p02143/input.2.txt b/public_test_cases/p02143/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e73a8ef8f849ba98947a35d58491e17b825668cd
--- /dev/null
+++ b/public_test_cases/p02143/input.2.txt
@@ -0,0 +1,4 @@
+5 3
+1 4
+3 7
+0 1000
diff --git a/public_test_cases/p02143/output.0.txt b/public_test_cases/p02143/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38a838ceb59edb7dcf3177ea88273f992704f04c
--- /dev/null
+++ b/public_test_cases/p02143/output.0.txt
@@ -0,0 +1,5 @@
+7
+10
+9
+5
+8
diff --git a/public_test_cases/p02143/output.1.txt b/public_test_cases/p02143/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a8b9fca9ef04b3a19829308568d4a408c0dfeaa
--- /dev/null
+++ b/public_test_cases/p02143/output.1.txt
@@ -0,0 +1,14 @@
+15
+24
+25
+31
+35
+44
+32
+25
+24
+15
+16
+25
+31
+40
diff --git a/public_test_cases/p02143/output.2.txt b/public_test_cases/p02143/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38a838ceb59edb7dcf3177ea88273f992704f04c
--- /dev/null
+++ b/public_test_cases/p02143/output.2.txt
@@ -0,0 +1,5 @@
+7
+10
+9
+5
+8
diff --git a/public_test_cases/p02144/input.0.txt b/public_test_cases/p02144/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88432e68c0b9c7687aeeb6a5c537d637dbe9e865
--- /dev/null
+++ b/public_test_cases/p02144/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 1
+0
diff --git a/public_test_cases/p02144/input.1.txt b/public_test_cases/p02144/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1485556d60c6aa84d8a0334e931ae6cfdaa3ddc
--- /dev/null
+++ b/public_test_cases/p02144/input.1.txt
@@ -0,0 +1,6 @@
+5
+1 2
+1 3
+2 1 2
+3 1 3 5
+0
diff --git a/public_test_cases/p02144/input.2.txt b/public_test_cases/p02144/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88432e68c0b9c7687aeeb6a5c537d637dbe9e865
--- /dev/null
+++ b/public_test_cases/p02144/input.2.txt
@@ -0,0 +1,3 @@
+2
+1 1
+0
diff --git a/public_test_cases/p02144/input.3.txt b/public_test_cases/p02144/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9007f5c0a4dc441d8db80533af84e0b2e1bc1e5
--- /dev/null
+++ b/public_test_cases/p02144/input.3.txt
@@ -0,0 +1,4 @@
+3
+3 2 1 2
+0
+1 2
diff --git a/public_test_cases/p02144/output.0.txt b/public_test_cases/p02144/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02144/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02144/output.1.txt b/public_test_cases/p02144/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02144/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02144/output.2.txt b/public_test_cases/p02144/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02144/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02144/output.3.txt b/public_test_cases/p02144/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02144/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02145/input.0.txt b/public_test_cases/p02145/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf298e83bbac984727f7719a46529464c432382b
--- /dev/null
+++ b/public_test_cases/p02145/input.0.txt
@@ -0,0 +1,6 @@
+5
+you
+ate
+my
+hum
+toast
diff --git a/public_test_cases/p02145/input.1.txt b/public_test_cases/p02145/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf298e83bbac984727f7719a46529464c432382b
--- /dev/null
+++ b/public_test_cases/p02145/input.1.txt
@@ -0,0 +1,6 @@
+5
+you
+ate
+my
+hum
+toast
diff --git a/public_test_cases/p02145/input.2.txt b/public_test_cases/p02145/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5440c308a166d3f145b467b6c115d0678f05a2a2
--- /dev/null
+++ b/public_test_cases/p02145/input.2.txt
@@ -0,0 +1,8 @@
+7
+she
+sells
+sea
+shells
+by
+the
+seashore
diff --git a/public_test_cases/p02145/output.0.txt b/public_test_cases/p02145/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e76536d672fec89e0fc7923f4b6ea3323828ad8
--- /dev/null
+++ b/public_test_cases/p02145/output.0.txt
@@ -0,0 +1,3 @@
+e
+t
+u
diff --git a/public_test_cases/p02145/output.1.txt b/public_test_cases/p02145/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e76536d672fec89e0fc7923f4b6ea3323828ad8
--- /dev/null
+++ b/public_test_cases/p02145/output.1.txt
@@ -0,0 +1,3 @@
+e
+t
+u
diff --git a/public_test_cases/p02145/output.2.txt b/public_test_cases/p02145/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cba1724e0c7e5feb7797b358ae5da3068b02174
--- /dev/null
+++ b/public_test_cases/p02145/output.2.txt
@@ -0,0 +1,3 @@
+a
+e
+y
diff --git a/public_test_cases/p02146/input.0.txt b/public_test_cases/p02146/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8099cc1c989fe890351cc302cf59ef67c98b1fe1
--- /dev/null
+++ b/public_test_cases/p02146/input.0.txt
@@ -0,0 +1,6 @@
+5
+4 0 4 0 0
+1 2
+1 3
+1 4
+2 5
diff --git a/public_test_cases/p02146/input.1.txt b/public_test_cases/p02146/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8099cc1c989fe890351cc302cf59ef67c98b1fe1
--- /dev/null
+++ b/public_test_cases/p02146/input.1.txt
@@ -0,0 +1,6 @@
+5
+4 0 4 0 0
+1 2
+1 3
+1 4
+2 5
diff --git a/public_test_cases/p02146/input.2.txt b/public_test_cases/p02146/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..567736aa8da41b98659f3a31919d852496a888c8
--- /dev/null
+++ b/public_test_cases/p02146/input.2.txt
@@ -0,0 +1,8 @@
+7
+0 7 2 5 0 3 0
+1 2
+1 3
+1 4
+2 5
+3 6
+3 7
diff --git a/public_test_cases/p02146/output.0.txt b/public_test_cases/p02146/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02146/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02146/output.1.txt b/public_test_cases/p02146/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02146/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02146/output.2.txt b/public_test_cases/p02146/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02146/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02147/input.0.txt b/public_test_cases/p02147/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9ea5a4307e6a8957c7d54645c6cd52cf972fb3e
--- /dev/null
+++ b/public_test_cases/p02147/input.0.txt
@@ -0,0 +1,10 @@
+4
+2 3
+1 2
+2 1
+3 2
+4
+1 3
+1 1
+3 3
+3 1
diff --git a/public_test_cases/p02147/input.1.txt b/public_test_cases/p02147/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9ea5a4307e6a8957c7d54645c6cd52cf972fb3e
--- /dev/null
+++ b/public_test_cases/p02147/input.1.txt
@@ -0,0 +1,10 @@
+4
+2 3
+1 2
+2 1
+3 2
+4
+1 3
+1 1
+3 3
+3 1
diff --git a/public_test_cases/p02147/input.2.txt b/public_test_cases/p02147/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bbd459797d3b747de774e4ba0b4a3c819f897576
--- /dev/null
+++ b/public_test_cases/p02147/input.2.txt
@@ -0,0 +1,26 @@
+7
+-96469 25422
+-55204 -45592
+-29140 -72981
+98837 -86795
+92303 63297
+19059 96012
+-67980 70342
+17
+-4265 -14331
+33561 72343
+52055 98952
+-71189 60872
+10459 -7512
+-11981 57756
+-78228 -28044
+37397 -69980
+-27527 -51966
+22661 -16694
+13759 -59976
+86539 -47703
+17098 31709
+-62497 -70998
+-57608 59799
+-1904 -35574
+-73860 121
diff --git a/public_test_cases/p02147/output.0.txt b/public_test_cases/p02147/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f912f7ce818c32feaf4683cd68955ccea4738c1
--- /dev/null
+++ b/public_test_cases/p02147/output.0.txt
@@ -0,0 +1 @@
+1.414213562373
diff --git a/public_test_cases/p02147/output.1.txt b/public_test_cases/p02147/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f912f7ce818c32feaf4683cd68955ccea4738c1
--- /dev/null
+++ b/public_test_cases/p02147/output.1.txt
@@ -0,0 +1 @@
+1.414213562373
diff --git a/public_test_cases/p02147/output.2.txt b/public_test_cases/p02147/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f5c5e5725594133b5bb27a6a86d02f3582bd117
--- /dev/null
+++ b/public_test_cases/p02147/output.2.txt
@@ -0,0 +1 @@
+75307.220122044484
diff --git a/public_test_cases/p02148/input.0.txt b/public_test_cases/p02148/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bdb58a8dd80603bfbffff261189dbd1c2ae6ed1
--- /dev/null
+++ b/public_test_cases/p02148/input.0.txt
@@ -0,0 +1,6 @@
+3 3
+0 2
+1 2
+1 1 0 0 1
+0 0 2
+0 0 1
diff --git a/public_test_cases/p02148/input.1.txt b/public_test_cases/p02148/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2dfdbffeaeacf409b2b0aa8791ab731b083dd2d3
--- /dev/null
+++ b/public_test_cases/p02148/input.1.txt
@@ -0,0 +1,11 @@
+5 6
+1 0
+2 0
+3 2
+4 1
+1 1 4 0 4
+0 4 1
+1 3 0 7 3
+0 2 2
+1 4 1 8 0
+0 4 2
diff --git a/public_test_cases/p02148/input.2.txt b/public_test_cases/p02148/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bdb58a8dd80603bfbffff261189dbd1c2ae6ed1
--- /dev/null
+++ b/public_test_cases/p02148/input.2.txt
@@ -0,0 +1,6 @@
+3 3
+0 2
+1 2
+1 1 0 0 1
+0 0 2
+0 0 1
diff --git a/public_test_cases/p02148/output.0.txt b/public_test_cases/p02148/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c8806279fa7d6b7d04418a47e21b7e89ab18f8
--- /dev/null
+++ b/public_test_cases/p02148/output.0.txt
@@ -0,0 +1,2 @@
+3
+3
diff --git a/public_test_cases/p02148/output.1.txt b/public_test_cases/p02148/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36f8b28742d77586dfe0f6605833d5c4fff9e3e5
--- /dev/null
+++ b/public_test_cases/p02148/output.1.txt
@@ -0,0 +1,3 @@
+4
+10
+43
diff --git a/public_test_cases/p02148/output.2.txt b/public_test_cases/p02148/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c8806279fa7d6b7d04418a47e21b7e89ab18f8
--- /dev/null
+++ b/public_test_cases/p02148/output.2.txt
@@ -0,0 +1,2 @@
+3
+3
diff --git a/public_test_cases/p02149/input.0.txt b/public_test_cases/p02149/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc08d380a0df0e3aad592e546f98b5699bba79f5
--- /dev/null
+++ b/public_test_cases/p02149/input.0.txt
@@ -0,0 +1 @@
+1000 900 850
diff --git a/public_test_cases/p02149/input.1.txt b/public_test_cases/p02149/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d482309211f7f4234976aa93b75308fbcd23405
--- /dev/null
+++ b/public_test_cases/p02149/input.1.txt
@@ -0,0 +1 @@
+1000 800 1200
diff --git a/public_test_cases/p02149/input.2.txt b/public_test_cases/p02149/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc08d380a0df0e3aad592e546f98b5699bba79f5
--- /dev/null
+++ b/public_test_cases/p02149/input.2.txt
@@ -0,0 +1 @@
+1000 900 850
diff --git a/public_test_cases/p02149/output.0.txt b/public_test_cases/p02149/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p02149/output.0.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p02149/output.1.txt b/public_test_cases/p02149/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cc58df83752123644fef39faab2393af643b1d2
--- /dev/null
+++ b/public_test_cases/p02149/output.1.txt
@@ -0,0 +1 @@
+C
diff --git a/public_test_cases/p02149/output.2.txt b/public_test_cases/p02149/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p02149/output.2.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p02150/input.0.txt b/public_test_cases/p02150/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac99b57fb36f4cfbc71cf64e84ca4189bf95314
--- /dev/null
+++ b/public_test_cases/p02150/input.0.txt
@@ -0,0 +1 @@
+3 1 5
diff --git a/public_test_cases/p02150/input.1.txt b/public_test_cases/p02150/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e44829d23a48d389d263f7b02e3e6fb4229405e5
--- /dev/null
+++ b/public_test_cases/p02150/input.1.txt
@@ -0,0 +1 @@
+316250877917604 316250877917599 681260158257385
diff --git a/public_test_cases/p02150/input.2.txt b/public_test_cases/p02150/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac99b57fb36f4cfbc71cf64e84ca4189bf95314
--- /dev/null
+++ b/public_test_cases/p02150/input.2.txt
@@ -0,0 +1 @@
+3 1 5
diff --git a/public_test_cases/p02150/input.3.txt b/public_test_cases/p02150/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..174db49ad5f4d79ba00459004c57f496c3625b1d
--- /dev/null
+++ b/public_test_cases/p02150/input.3.txt
@@ -0,0 +1 @@
+82 69 64
diff --git a/public_test_cases/p02150/input.4.txt b/public_test_cases/p02150/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c60e9bd8d9006eff867c0f6b801f777f0e7e0e55
--- /dev/null
+++ b/public_test_cases/p02150/input.4.txt
@@ -0,0 +1 @@
+3 2 5
diff --git a/public_test_cases/p02150/output.0.txt b/public_test_cases/p02150/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02150/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02150/output.1.txt b/public_test_cases/p02150/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12637fd3793671a45d5e102eef799e51c7738245
--- /dev/null
+++ b/public_test_cases/p02150/output.1.txt
@@ -0,0 +1 @@
+62687552
diff --git a/public_test_cases/p02150/output.2.txt b/public_test_cases/p02150/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02150/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02150/output.3.txt b/public_test_cases/p02150/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p02150/output.3.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p02150/output.4.txt b/public_test_cases/p02150/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02150/output.4.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02151/input.0.txt b/public_test_cases/p02151/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10927ce80fe725150778889fb2e573626b52c266
--- /dev/null
+++ b/public_test_cases/p02151/input.0.txt
@@ -0,0 +1,2 @@
+10
+1236547896
diff --git a/public_test_cases/p02151/input.1.txt b/public_test_cases/p02151/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10927ce80fe725150778889fb2e573626b52c266
--- /dev/null
+++ b/public_test_cases/p02151/input.1.txt
@@ -0,0 +1,2 @@
+10
+1236547896
diff --git a/public_test_cases/p02151/input.2.txt b/public_test_cases/p02151/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..badb3c79707d950e401d420990563f556f1524c3
--- /dev/null
+++ b/public_test_cases/p02151/input.2.txt
@@ -0,0 +1,2 @@
+11
+31415926535
diff --git a/public_test_cases/p02151/output.0.txt b/public_test_cases/p02151/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af7864ba2f0389876c025ba98a11cc2a7e8d139e
--- /dev/null
+++ b/public_test_cases/p02151/output.0.txt
@@ -0,0 +1,3 @@
+123
+456
+789
diff --git a/public_test_cases/p02151/output.1.txt b/public_test_cases/p02151/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af7864ba2f0389876c025ba98a11cc2a7e8d139e
--- /dev/null
+++ b/public_test_cases/p02151/output.1.txt
@@ -0,0 +1,3 @@
+123
+456
+789
diff --git a/public_test_cases/p02151/output.2.txt b/public_test_cases/p02151/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cac6ad4cd4c9850da3be00e38ccb30abdff25b8
--- /dev/null
+++ b/public_test_cases/p02151/output.2.txt
@@ -0,0 +1,3 @@
+137
+456
+892
diff --git a/public_test_cases/p02152/input.0.txt b/public_test_cases/p02152/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0537d56687614227fe372e25c7d285efd469124f
--- /dev/null
+++ b/public_test_cases/p02152/input.0.txt
@@ -0,0 +1,2 @@
+2
+5 3
diff --git a/public_test_cases/p02152/input.1.txt b/public_test_cases/p02152/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58770b707cf81eb57e6a22743892cf8c9a107bc5
--- /dev/null
+++ b/public_test_cases/p02152/input.1.txt
@@ -0,0 +1,2 @@
+7
+3 1 9 2 2 5 1
diff --git a/public_test_cases/p02152/input.2.txt b/public_test_cases/p02152/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe766fec0daa79362fc3590c7c0dfd15a00ddb0f
--- /dev/null
+++ b/public_test_cases/p02152/input.2.txt
@@ -0,0 +1,2 @@
+3
+6 1 4
diff --git a/public_test_cases/p02152/input.3.txt b/public_test_cases/p02152/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0537d56687614227fe372e25c7d285efd469124f
--- /dev/null
+++ b/public_test_cases/p02152/input.3.txt
@@ -0,0 +1,2 @@
+2
+5 3
diff --git a/public_test_cases/p02152/output.0.txt b/public_test_cases/p02152/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7e94d8b4cd750e7a8d5e3f4879da3470870e3a9
--- /dev/null
+++ b/public_test_cases/p02152/output.0.txt
@@ -0,0 +1 @@
+2.83333333
diff --git a/public_test_cases/p02152/output.1.txt b/public_test_cases/p02152/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b8efac17e8f128523fc902beb029855dc77fcd7
--- /dev/null
+++ b/public_test_cases/p02152/output.1.txt
@@ -0,0 +1 @@
+12.37500000
diff --git a/public_test_cases/p02152/output.2.txt b/public_test_cases/p02152/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02d2312c51391b0727c23564c4a078e447eb5c68
--- /dev/null
+++ b/public_test_cases/p02152/output.2.txt
@@ -0,0 +1 @@
+6.25000000
diff --git a/public_test_cases/p02152/output.3.txt b/public_test_cases/p02152/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7e94d8b4cd750e7a8d5e3f4879da3470870e3a9
--- /dev/null
+++ b/public_test_cases/p02152/output.3.txt
@@ -0,0 +1 @@
+2.83333333
diff --git a/public_test_cases/p02153/input.0.txt b/public_test_cases/p02153/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3122fef4e24f3f24f7677c8ee93c8c5ca5c11b57
--- /dev/null
+++ b/public_test_cases/p02153/input.0.txt
@@ -0,0 +1,5 @@
+4 4 1 1
+g#..
+#...
+.*..
+...s
diff --git a/public_test_cases/p02153/input.1.txt b/public_test_cases/p02153/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d29e3447f73d325941fa8a8e74208aec450e9f1f
--- /dev/null
+++ b/public_test_cases/p02153/input.1.txt
@@ -0,0 +1,3 @@
+2 4 1 1
+g
+s###
diff --git a/public_test_cases/p02153/input.2.txt b/public_test_cases/p02153/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc4e9231dd0c13341dbc44e44cf9ed16aed7ea10
--- /dev/null
+++ b/public_test_cases/p02153/input.2.txt
@@ -0,0 +1,5 @@
+4 4 1 1
+g#..
+...
+.*..
+...s
diff --git a/public_test_cases/p02153/input.3.txt b/public_test_cases/p02153/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86af6e394628e990fc8e18c52505569daea61dbb
--- /dev/null
+++ b/public_test_cases/p02153/input.3.txt
@@ -0,0 +1,4 @@
+3 3 10 1
+g..
+.
+s..
diff --git a/public_test_cases/p02153/input.4.txt b/public_test_cases/p02153/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0f45d35a0d87460ee6ae1fc493f6b6c5974b075
--- /dev/null
+++ b/public_test_cases/p02153/input.4.txt
@@ -0,0 +1,5 @@
+4 4 1 1
+g#..
+*..
+....
+...s
diff --git a/public_test_cases/p02153/input.5.txt b/public_test_cases/p02153/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3122fef4e24f3f24f7677c8ee93c8c5ca5c11b57
--- /dev/null
+++ b/public_test_cases/p02153/input.5.txt
@@ -0,0 +1,5 @@
+4 4 1 1
+g#..
+#...
+.*..
+...s
diff --git a/public_test_cases/p02153/input.6.txt b/public_test_cases/p02153/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaeb7b190e27c6e485e091fa207db5ec45b482ed
--- /dev/null
+++ b/public_test_cases/p02153/input.6.txt
@@ -0,0 +1,4 @@
+3 3 1 10
+g..
+.
+s..
diff --git a/public_test_cases/p02153/output.0.txt b/public_test_cases/p02153/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02153/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02153/output.1.txt b/public_test_cases/p02153/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02153/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02153/output.2.txt b/public_test_cases/p02153/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02153/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02153/output.3.txt b/public_test_cases/p02153/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p02153/output.3.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p02153/output.4.txt b/public_test_cases/p02153/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..771404d0bcf5f089a5a3cac0e2acb23b5f3bda92
--- /dev/null
+++ b/public_test_cases/p02153/output.4.txt
@@ -0,0 +1 @@
+INF
diff --git a/public_test_cases/p02153/output.5.txt b/public_test_cases/p02153/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02153/output.5.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02153/output.6.txt b/public_test_cases/p02153/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02153/output.6.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02154/input.0.txt b/public_test_cases/p02154/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..868d164e618dae0aa5925f7ef26e1c5a20d466e5
--- /dev/null
+++ b/public_test_cases/p02154/input.0.txt
@@ -0,0 +1,5 @@
+4
+2 3
+1 2
+2 1
+3 2
diff --git a/public_test_cases/p02154/input.1.txt b/public_test_cases/p02154/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..868d164e618dae0aa5925f7ef26e1c5a20d466e5
--- /dev/null
+++ b/public_test_cases/p02154/input.1.txt
@@ -0,0 +1,5 @@
+4
+2 3
+1 2
+2 1
+3 2
diff --git a/public_test_cases/p02154/input.2.txt b/public_test_cases/p02154/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48b2d939d9d24a8f717f43d08f0f2200752e4a42
--- /dev/null
+++ b/public_test_cases/p02154/input.2.txt
@@ -0,0 +1,8 @@
+7
+-96469 25422
+-55204 -45592
+-29140 -72981
+98837 -86795
+92303 63297
+19059 96012
+-67980 70342
diff --git a/public_test_cases/p02154/output.0.txt b/public_test_cases/p02154/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b3e6ed2a0da055c958941328e0d754b987847b7
--- /dev/null
+++ b/public_test_cases/p02154/output.0.txt
@@ -0,0 +1 @@
+3.04720672
diff --git a/public_test_cases/p02154/output.1.txt b/public_test_cases/p02154/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b3e6ed2a0da055c958941328e0d754b987847b7
--- /dev/null
+++ b/public_test_cases/p02154/output.1.txt
@@ -0,0 +1 @@
+3.04720672
diff --git a/public_test_cases/p02154/output.2.txt b/public_test_cases/p02154/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19936edec28a18e2a7d7db3c0eaabc41e8aa67df
--- /dev/null
+++ b/public_test_cases/p02154/output.2.txt
@@ -0,0 +1 @@
+310622.35426197
diff --git a/public_test_cases/p02155/input.0.txt b/public_test_cases/p02155/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6041d9e33df95aa22e6af7aa7d5ec6cb4666e08a
--- /dev/null
+++ b/public_test_cases/p02155/input.0.txt
@@ -0,0 +1,2 @@
+1 1
+2
diff --git a/public_test_cases/p02155/input.1.txt b/public_test_cases/p02155/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93e7d893641408862ffe16f620a479526924c75f
--- /dev/null
+++ b/public_test_cases/p02155/input.1.txt
@@ -0,0 +1,2 @@
+3 5
+10 8 4
diff --git a/public_test_cases/p02155/input.2.txt b/public_test_cases/p02155/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee21ef4a21a5c3aaa548b3ca560eb7318bf19cee
--- /dev/null
+++ b/public_test_cases/p02155/input.2.txt
@@ -0,0 +1,2 @@
+4 10
+3 8 5 2
diff --git a/public_test_cases/p02155/input.3.txt b/public_test_cases/p02155/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1906082e317c9c0b83a4d25e72f24458ea9f6844
--- /dev/null
+++ b/public_test_cases/p02155/input.3.txt
@@ -0,0 +1,2 @@
+2 25
+19 19
diff --git a/public_test_cases/p02155/input.4.txt b/public_test_cases/p02155/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6041d9e33df95aa22e6af7aa7d5ec6cb4666e08a
--- /dev/null
+++ b/public_test_cases/p02155/input.4.txt
@@ -0,0 +1,2 @@
+1 1
+2
diff --git a/public_test_cases/p02155/output.0.txt b/public_test_cases/p02155/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p02155/output.0.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p02155/output.1.txt b/public_test_cases/p02155/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p02155/output.1.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p02155/output.2.txt b/public_test_cases/p02155/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p02155/output.2.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p02155/output.3.txt b/public_test_cases/p02155/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p02155/output.3.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p02155/output.4.txt b/public_test_cases/p02155/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p02155/output.4.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p02156/input.0.txt b/public_test_cases/p02156/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f028bcfdc25b235693ce2cf94699e0e51b2ab693
--- /dev/null
+++ b/public_test_cases/p02156/input.0.txt
@@ -0,0 +1,4 @@
+3 1
+RRL
+5 5 1
+3 1 10
diff --git a/public_test_cases/p02156/input.1.txt b/public_test_cases/p02156/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f028bcfdc25b235693ce2cf94699e0e51b2ab693
--- /dev/null
+++ b/public_test_cases/p02156/input.1.txt
@@ -0,0 +1,4 @@
+3 1
+RRL
+5 5 1
+3 1 10
diff --git a/public_test_cases/p02156/input.2.txt b/public_test_cases/p02156/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19703281c52d394d3e9f39b3e609b40d5b11f619
--- /dev/null
+++ b/public_test_cases/p02156/input.2.txt
@@ -0,0 +1,8 @@
+5 5
+RLRLL
+9 5 1 3 10
+1 3 5
+2 4 9
+4 2 16
+1 5 2
+3 5 10
diff --git a/public_test_cases/p02156/output.0.txt b/public_test_cases/p02156/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02156/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02156/output.1.txt b/public_test_cases/p02156/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02156/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02156/output.2.txt b/public_test_cases/p02156/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02156/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02157/input.0.txt b/public_test_cases/p02157/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33a89f520491be5c77afa362ab4eb83f1ccdbc45
--- /dev/null
+++ b/public_test_cases/p02157/input.0.txt
@@ -0,0 +1 @@
+4 2 1 1
diff --git a/public_test_cases/p02157/input.1.txt b/public_test_cases/p02157/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3d90b3507ccd73ed8092a0b9ca3ec57b9909efc
--- /dev/null
+++ b/public_test_cases/p02157/input.1.txt
@@ -0,0 +1 @@
+4 2 3 1
diff --git a/public_test_cases/p02157/input.2.txt b/public_test_cases/p02157/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89504a3f8d573b9598988f71ff51d7011ce77633
--- /dev/null
+++ b/public_test_cases/p02157/input.2.txt
@@ -0,0 +1 @@
+7834164883628 15 2189823423122 5771212644938
diff --git a/public_test_cases/p02157/input.3.txt b/public_test_cases/p02157/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33a89f520491be5c77afa362ab4eb83f1ccdbc45
--- /dev/null
+++ b/public_test_cases/p02157/input.3.txt
@@ -0,0 +1 @@
+4 2 1 1
diff --git a/public_test_cases/p02157/input.4.txt b/public_test_cases/p02157/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..335e6105ba5ca48ff49c55dc3ecccbc7b1acd39e
--- /dev/null
+++ b/public_test_cases/p02157/input.4.txt
@@ -0,0 +1 @@
+4 1 1 4
diff --git a/public_test_cases/p02157/output.0.txt b/public_test_cases/p02157/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa47d0d46d47a06090f436b0b851b76bb6f3b6e2
--- /dev/null
+++ b/public_test_cases/p02157/output.0.txt
@@ -0,0 +1,2 @@
+0
+0
diff --git a/public_test_cases/p02157/output.1.txt b/public_test_cases/p02157/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d66ea1aee9527bfa39185ead1f9cdbd96bba88c
--- /dev/null
+++ b/public_test_cases/p02157/output.1.txt
@@ -0,0 +1,2 @@
+0
+1
diff --git a/public_test_cases/p02157/output.2.txt b/public_test_cases/p02157/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d6457d15c22df994f500edfe4097c3fc0de2360
--- /dev/null
+++ b/public_test_cases/p02157/output.2.txt
@@ -0,0 +1,15 @@
+0
+1
+1
+1
+1
+1
+0
+1
+0
+1
+0
+0
+0
+0
+0
diff --git a/public_test_cases/p02157/output.3.txt b/public_test_cases/p02157/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa47d0d46d47a06090f436b0b851b76bb6f3b6e2
--- /dev/null
+++ b/public_test_cases/p02157/output.3.txt
@@ -0,0 +1,2 @@
+0
+0
diff --git a/public_test_cases/p02157/output.4.txt b/public_test_cases/p02157/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02157/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02158/input.0.txt b/public_test_cases/p02158/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2b4bdadeb6b86bba38ef8cd75c4d2069bd93b5d
--- /dev/null
+++ b/public_test_cases/p02158/input.0.txt
@@ -0,0 +1,6 @@
+100 5
+50 1 5
+50 5 10
+50 20 30
+50 40 60
+50 61 1000000
diff --git a/public_test_cases/p02158/input.1.txt b/public_test_cases/p02158/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2e870753bb3477a6f8486ef9ff0a9a5ac7505a6
--- /dev/null
+++ b/public_test_cases/p02158/input.1.txt
@@ -0,0 +1,16 @@
+64 15
+38 133177 927361
+48 177920 668766
+12 680425 790550
+43 6853 384115
+17 214954 723798
+62 63843 153825
+28 399349 482937
+2 336136 367001
+33 138008 733496
+6 203462 911631
+58 321974 527734
+17 696940 781678
+55 265874 507640
+41 56037 880001
+34 279422 528651
diff --git a/public_test_cases/p02158/input.2.txt b/public_test_cases/p02158/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2b4bdadeb6b86bba38ef8cd75c4d2069bd93b5d
--- /dev/null
+++ b/public_test_cases/p02158/input.2.txt
@@ -0,0 +1,6 @@
+100 5
+50 1 5
+50 5 10
+50 20 30
+50 40 60
+50 61 1000000
diff --git a/public_test_cases/p02158/output.0.txt b/public_test_cases/p02158/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af720ead216517143bb09d799f434dcf274f3c2e
--- /dev/null
+++ b/public_test_cases/p02158/output.0.txt
@@ -0,0 +1 @@
+48.6090201099
diff --git a/public_test_cases/p02158/output.1.txt b/public_test_cases/p02158/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..092c82a61f411b9046776d6788e0ec5ba171a942
--- /dev/null
+++ b/public_test_cases/p02158/output.1.txt
@@ -0,0 +1 @@
+6087.909851326286
diff --git a/public_test_cases/p02158/output.2.txt b/public_test_cases/p02158/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af720ead216517143bb09d799f434dcf274f3c2e
--- /dev/null
+++ b/public_test_cases/p02158/output.2.txt
@@ -0,0 +1 @@
+48.6090201099
diff --git a/public_test_cases/p02159/input.0.txt b/public_test_cases/p02159/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p02159/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p02159/input.1.txt b/public_test_cases/p02159/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..535057cd75d5577666ec41d58575f37ac4033b55
--- /dev/null
+++ b/public_test_cases/p02159/input.1.txt
@@ -0,0 +1,6 @@
+6
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p02159/input.2.txt b/public_test_cases/p02159/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p02159/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p02159/input.3.txt b/public_test_cases/p02159/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f84044869b6f77845ae4206e50212d586c8a6ab
--- /dev/null
+++ b/public_test_cases/p02159/input.3.txt
@@ -0,0 +1,20 @@
+20
+14 1
+2 1
+18 14
+10 1
+12 10
+5 1
+17 5
+7 1
+11 17
+4 1
+19 2
+15 1
+3 19
+8 15
+9 8
+20 8
+6 1
+16 15
+13 7
diff --git a/public_test_cases/p02159/input.4.txt b/public_test_cases/p02159/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1afd0a528043139ffda69e48f586095ea445862a
--- /dev/null
+++ b/public_test_cases/p02159/input.4.txt
@@ -0,0 +1,5 @@
+5
+1 2
+1 3
+3 4
+3 5
diff --git a/public_test_cases/p02159/output.0.txt b/public_test_cases/p02159/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02159/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02159/output.1.txt b/public_test_cases/p02159/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02159/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02159/output.2.txt b/public_test_cases/p02159/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02159/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02159/output.3.txt b/public_test_cases/p02159/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77f83230f66a0fdcfb20aea384553e2910f87712
--- /dev/null
+++ b/public_test_cases/p02159/output.3.txt
@@ -0,0 +1 @@
+243
diff --git a/public_test_cases/p02159/output.4.txt b/public_test_cases/p02159/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02159/output.4.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02160/input.0.txt b/public_test_cases/p02160/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1080f3168e1b6b01baa8840ea5f371d89aaf8f6
--- /dev/null
+++ b/public_test_cases/p02160/input.0.txt
@@ -0,0 +1,4 @@
+7 3
+1 1 2
+1 2 1
+3 1 2 4 5
diff --git a/public_test_cases/p02160/input.1.txt b/public_test_cases/p02160/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3690f76af31b705f573a7b81f5edc0d4345f3898
--- /dev/null
+++ b/public_test_cases/p02160/input.1.txt
@@ -0,0 +1,9 @@
+1000000007 8
+3 2 9 7 5
+3 2 9 5 1000001
+3 39 1002 65537 12
+2 1000000006 518012930 793649232
+10 459268180 313723762 835892239 612038995 90424474 366392946 38051435 854115735 5132833 320534710 421820264
+1 1 1
+1 1 1000000006
+1 1000000006 1
diff --git a/public_test_cases/p02160/input.2.txt b/public_test_cases/p02160/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1080f3168e1b6b01baa8840ea5f371d89aaf8f6
--- /dev/null
+++ b/public_test_cases/p02160/input.2.txt
@@ -0,0 +1,4 @@
+7 3
+1 1 2
+1 2 1
+3 1 2 4 5
diff --git a/public_test_cases/p02160/output.0.txt b/public_test_cases/p02160/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7938dcdde861e064110513be9b948f63d726d024
--- /dev/null
+++ b/public_test_cases/p02160/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+0
diff --git a/public_test_cases/p02160/output.1.txt b/public_test_cases/p02160/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d99961f5c6ad9d8a9084b2c518365cad8043a7ff
--- /dev/null
+++ b/public_test_cases/p02160/output.1.txt
@@ -0,0 +1,8 @@
+0
+1
+1
+1
+0
+1
+0
+1
diff --git a/public_test_cases/p02160/output.2.txt b/public_test_cases/p02160/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7938dcdde861e064110513be9b948f63d726d024
--- /dev/null
+++ b/public_test_cases/p02160/output.2.txt
@@ -0,0 +1,3 @@
+0
+1
+0
diff --git a/public_test_cases/p02161/input.0.txt b/public_test_cases/p02161/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0ad187ac8d50eafd3f5c8368af9904b5ee80532
--- /dev/null
+++ b/public_test_cases/p02161/input.0.txt
@@ -0,0 +1,5 @@
+12 3
+itisansansan
+1 12
+5 12
+6 7
diff --git a/public_test_cases/p02161/input.1.txt b/public_test_cases/p02161/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0ad187ac8d50eafd3f5c8368af9904b5ee80532
--- /dev/null
+++ b/public_test_cases/p02161/input.1.txt
@@ -0,0 +1,5 @@
+12 3
+itisansansan
+1 12
+5 12
+6 7
diff --git a/public_test_cases/p02161/input.2.txt b/public_test_cases/p02161/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76e71d5c803b7acbc1c661726dca22af75fa337d
--- /dev/null
+++ b/public_test_cases/p02161/input.2.txt
@@ -0,0 +1,8 @@
+21 6
+aaaabaaaabaaaaaaaaaab
+1 21
+10 21
+10 18
+4 16
+11 21
+1 6
diff --git a/public_test_cases/p02161/input.3.txt b/public_test_cases/p02161/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d87e85423c85ec4db93fe849141bfe3c6f13e60
--- /dev/null
+++ b/public_test_cases/p02161/input.3.txt
@@ -0,0 +1,4 @@
+20 2
+sensanbyakusanjuusan
+1 20
+1 14
diff --git a/public_test_cases/p02161/output.0.txt b/public_test_cases/p02161/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p02161/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p02161/output.1.txt b/public_test_cases/p02161/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p02161/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p02161/output.2.txt b/public_test_cases/p02161/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c46498af02f16e6ed8c495772a1ce4c1e55b378
--- /dev/null
+++ b/public_test_cases/p02161/output.2.txt
@@ -0,0 +1,6 @@
+4
+0
+2
+2
+0
+1
diff --git a/public_test_cases/p02161/output.3.txt b/public_test_cases/p02161/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p02161/output.3.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p02162/input.0.txt b/public_test_cases/p02162/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5a8a19c40b45ef8b02e3fc8fc87cf25f9f35269
--- /dev/null
+++ b/public_test_cases/p02162/input.0.txt
@@ -0,0 +1 @@
+9 8 1000 999
diff --git a/public_test_cases/p02162/input.1.txt b/public_test_cases/p02162/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5a8a19c40b45ef8b02e3fc8fc87cf25f9f35269
--- /dev/null
+++ b/public_test_cases/p02162/input.1.txt
@@ -0,0 +1 @@
+9 8 1000 999
diff --git a/public_test_cases/p02162/input.2.txt b/public_test_cases/p02162/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11a633316c44888ae19c6c66ae88629bf132047f
--- /dev/null
+++ b/public_test_cases/p02162/input.2.txt
@@ -0,0 +1 @@
+9 8 2849 -1
diff --git a/public_test_cases/p02162/input.3.txt b/public_test_cases/p02162/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..105c441e037875f04cc2d63b833e4261624957c1
--- /dev/null
+++ b/public_test_cases/p02162/input.3.txt
@@ -0,0 +1 @@
+9 8 1000 1000
diff --git a/public_test_cases/p02162/output.0.txt b/public_test_cases/p02162/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p02162/output.0.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p02162/output.1.txt b/public_test_cases/p02162/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p02162/output.1.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p02162/output.2.txt b/public_test_cases/p02162/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p02162/output.2.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p02162/output.3.txt b/public_test_cases/p02162/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e3aa57d754e218f35f415900ed803f94c09b3df
--- /dev/null
+++ b/public_test_cases/p02162/output.3.txt
@@ -0,0 +1 @@
+Draw
diff --git a/public_test_cases/p02163/input.0.txt b/public_test_cases/p02163/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..150a8ed49603ae530776f3bd00c5ed8149f813e1
--- /dev/null
+++ b/public_test_cases/p02163/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2
+2 10
+3 8
diff --git a/public_test_cases/p02163/input.1.txt b/public_test_cases/p02163/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..150a8ed49603ae530776f3bd00c5ed8149f813e1
--- /dev/null
+++ b/public_test_cases/p02163/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 2
+2 10
+3 8
diff --git a/public_test_cases/p02163/input.2.txt b/public_test_cases/p02163/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dac9b8aa7f32d7d65bb9e3073b00d46aff62101
--- /dev/null
+++ b/public_test_cases/p02163/input.2.txt
@@ -0,0 +1,11 @@
+10
+1 10
+1 10
+1 10
+1 10
+1 10
+1 10
+1 10
+1 10
+1 10
+1 10
diff --git a/public_test_cases/p02163/output.0.txt b/public_test_cases/p02163/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b489133c350b7e415f583fc00966212430f786f2
--- /dev/null
+++ b/public_test_cases/p02163/output.0.txt
@@ -0,0 +1 @@
+-2 2
diff --git a/public_test_cases/p02163/output.1.txt b/public_test_cases/p02163/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b489133c350b7e415f583fc00966212430f786f2
--- /dev/null
+++ b/public_test_cases/p02163/output.1.txt
@@ -0,0 +1 @@
+-2 2
diff --git a/public_test_cases/p02163/output.2.txt b/public_test_cases/p02163/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..276f392b1daebe540d170fc00da24be080ba2efc
--- /dev/null
+++ b/public_test_cases/p02163/output.2.txt
@@ -0,0 +1 @@
+0 10000000000
diff --git a/public_test_cases/p02164/input.0.txt b/public_test_cases/p02164/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb4c11e1ab6ca3cd28e82eed47d43c297d26adf0
--- /dev/null
+++ b/public_test_cases/p02164/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 1
+0 -1
diff --git a/public_test_cases/p02164/input.1.txt b/public_test_cases/p02164/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ff5ae097f3c2f7f4df939ca262f64a20ac4563d
--- /dev/null
+++ b/public_test_cases/p02164/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 0
+0 1
+-2 -1
diff --git a/public_test_cases/p02164/input.2.txt b/public_test_cases/p02164/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb4c11e1ab6ca3cd28e82eed47d43c297d26adf0
--- /dev/null
+++ b/public_test_cases/p02164/input.2.txt
@@ -0,0 +1,3 @@
+2
+0 1
+0 -1
diff --git a/public_test_cases/p02164/output.0.txt b/public_test_cases/p02164/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08854c5cc0fde4d063b8bdce7077d3a78d4ccbd8
--- /dev/null
+++ b/public_test_cases/p02164/output.0.txt
@@ -0,0 +1 @@
+450.00000000
diff --git a/public_test_cases/p02164/output.1.txt b/public_test_cases/p02164/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1f6d7885482ed16a5fefe1af753ec7c240ca07d
--- /dev/null
+++ b/public_test_cases/p02164/output.1.txt
@@ -0,0 +1 @@
+386.565051
diff --git a/public_test_cases/p02164/output.2.txt b/public_test_cases/p02164/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08854c5cc0fde4d063b8bdce7077d3a78d4ccbd8
--- /dev/null
+++ b/public_test_cases/p02164/output.2.txt
@@ -0,0 +1 @@
+450.00000000
diff --git a/public_test_cases/p02165/input.0.txt b/public_test_cases/p02165/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a22c32fecb0351f5eff08427a0c596133e4ae6fc
--- /dev/null
+++ b/public_test_cases/p02165/input.0.txt
@@ -0,0 +1,9 @@
+8 5
+_###_
+_#_B#
+_####
+____#
+###_#
+#####
+###_#
+####_
diff --git a/public_test_cases/p02165/input.1.txt b/public_test_cases/p02165/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba5aab0d7eba02e72cae4ff1d62cad29192561f2
--- /dev/null
+++ b/public_test_cases/p02165/input.1.txt
@@ -0,0 +1,5 @@
+4 5
+_####
+B##
+_####
+_###_
diff --git a/public_test_cases/p02165/input.2.txt b/public_test_cases/p02165/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcc07bb197c2638044df366c9400e9348479bb0e
--- /dev/null
+++ b/public_test_cases/p02165/input.2.txt
@@ -0,0 +1,5 @@
+4 5
+_#B##
+
+B##
+_
diff --git a/public_test_cases/p02165/input.3.txt b/public_test_cases/p02165/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b93ce4194893dc75b365c8434662e6073a098c0
--- /dev/null
+++ b/public_test_cases/p02165/input.3.txt
@@ -0,0 +1,9 @@
+8 5
+_###_
+_#_B#
+_####
+____#
+_#
+
+_#
+_
diff --git a/public_test_cases/p02165/input.4.txt b/public_test_cases/p02165/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a22c32fecb0351f5eff08427a0c596133e4ae6fc
--- /dev/null
+++ b/public_test_cases/p02165/input.4.txt
@@ -0,0 +1,9 @@
+8 5
+_###_
+_#_B#
+_####
+____#
+###_#
+#####
+###_#
+####_
diff --git a/public_test_cases/p02165/input.5.txt b/public_test_cases/p02165/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cd81464d9968f8fd0a38383e608aa5b0d4f9ba3
--- /dev/null
+++ b/public_test_cases/p02165/input.5.txt
@@ -0,0 +1,6 @@
+5 5
+_____
+_____
+_____
+_____
+_____
diff --git a/public_test_cases/p02165/output.0.txt b/public_test_cases/p02165/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02165/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02165/output.1.txt b/public_test_cases/p02165/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02165/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02165/output.2.txt b/public_test_cases/p02165/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02165/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02165/output.3.txt b/public_test_cases/p02165/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02165/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02165/output.4.txt b/public_test_cases/p02165/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02165/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02165/output.5.txt b/public_test_cases/p02165/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02165/output.5.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02166/input.0.txt b/public_test_cases/p02166/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0e3e0aa6956da383065b1492c1fa03fc9bde4b5
--- /dev/null
+++ b/public_test_cases/p02166/input.0.txt
@@ -0,0 +1,2 @@
+3 3
+2 3 1
diff --git a/public_test_cases/p02166/input.1.txt b/public_test_cases/p02166/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9449aaf96205d69e1287aa4d54e666c05b1e25a1
--- /dev/null
+++ b/public_test_cases/p02166/input.1.txt
@@ -0,0 +1,2 @@
+3 2
+1 2 3
diff --git a/public_test_cases/p02166/input.2.txt b/public_test_cases/p02166/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15adb264c527982ce6d7a213f8051ed3107f9dd0
--- /dev/null
+++ b/public_test_cases/p02166/input.2.txt
@@ -0,0 +1,2 @@
+3 3
+3 2 1
diff --git a/public_test_cases/p02166/input.3.txt b/public_test_cases/p02166/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0e3e0aa6956da383065b1492c1fa03fc9bde4b5
--- /dev/null
+++ b/public_test_cases/p02166/input.3.txt
@@ -0,0 +1,2 @@
+3 3
+2 3 1
diff --git a/public_test_cases/p02166/output.0.txt b/public_test_cases/p02166/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02166/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02166/output.1.txt b/public_test_cases/p02166/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02166/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02166/output.2.txt b/public_test_cases/p02166/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02166/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02166/output.3.txt b/public_test_cases/p02166/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02166/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02167/input.0.txt b/public_test_cases/p02167/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c2e8e267c3658ae8e68a1f2fc29c7db6c8e57de
--- /dev/null
+++ b/public_test_cases/p02167/input.0.txt
@@ -0,0 +1,9 @@
+3 1 6
+1 2 3
+R 1 1
+1 2
+1 3
+2 1
+2 3
+3 1
+3 2
diff --git a/public_test_cases/p02167/input.1.txt b/public_test_cases/p02167/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ec91a5bed3e89792d5115cacd57d4b05831eceb
--- /dev/null
+++ b/public_test_cases/p02167/input.1.txt
@@ -0,0 +1,15 @@
+4 6 7
+45 72 81 47
+R 1 47202
+L 1 2156
+L 2 95728
+R 1 30739
+L 3 39679
+L 4 86568
+3 2
+3 4
+1 2
+2 4
+4 3
+1 4
+2 1
diff --git a/public_test_cases/p02167/input.2.txt b/public_test_cases/p02167/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c2e8e267c3658ae8e68a1f2fc29c7db6c8e57de
--- /dev/null
+++ b/public_test_cases/p02167/input.2.txt
@@ -0,0 +1,9 @@
+3 1 6
+1 2 3
+R 1 1
+1 2
+1 3
+2 1
+2 3
+3 1
+3 2
diff --git a/public_test_cases/p02167/output.0.txt b/public_test_cases/p02167/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2372667839eafd9c63b95acb460bad05b6679382
--- /dev/null
+++ b/public_test_cases/p02167/output.0.txt
@@ -0,0 +1,6 @@
+1
+3
+6
+3
+6
+7
diff --git a/public_test_cases/p02167/output.1.txt b/public_test_cases/p02167/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..971c0db9cf1b67b75ba2de32851441864b389efd
--- /dev/null
+++ b/public_test_cases/p02167/output.1.txt
@@ -0,0 +1,7 @@
+431200
+629552
+431200
+629552
+275968
+101332
+528220
diff --git a/public_test_cases/p02167/output.2.txt b/public_test_cases/p02167/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2372667839eafd9c63b95acb460bad05b6679382
--- /dev/null
+++ b/public_test_cases/p02167/output.2.txt
@@ -0,0 +1,6 @@
+1
+3
+6
+3
+6
+7
diff --git a/public_test_cases/p02168/input.0.txt b/public_test_cases/p02168/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0fe29e3e1c0dbaef5bd2e9ebacc0ef94054c0c1
--- /dev/null
+++ b/public_test_cases/p02168/input.0.txt
@@ -0,0 +1,2 @@
+1
+2 4
diff --git a/public_test_cases/p02168/input.1.txt b/public_test_cases/p02168/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0fe29e3e1c0dbaef5bd2e9ebacc0ef94054c0c1
--- /dev/null
+++ b/public_test_cases/p02168/input.1.txt
@@ -0,0 +1,2 @@
+1
+2 4
diff --git a/public_test_cases/p02168/input.2.txt b/public_test_cases/p02168/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1081a5cd188b6ff6db25415a39bacb112ba224a2
--- /dev/null
+++ b/public_test_cases/p02168/input.2.txt
@@ -0,0 +1,3 @@
+2
+2 3
+3 8
diff --git a/public_test_cases/p02168/input.3.txt b/public_test_cases/p02168/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..987d51e926de7cdfa77fdd594c90133f0e96e38b
--- /dev/null
+++ b/public_test_cases/p02168/input.3.txt
@@ -0,0 +1,11 @@
+10
+2 8
+5 9
+7 20
+8 41
+23 48
+90 112
+4 5
+7 7
+2344 8923
+1 29
diff --git a/public_test_cases/p02168/output.0.txt b/public_test_cases/p02168/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7fa51572ff85b63bc5ca7c6268fdaa3b407ced7
--- /dev/null
+++ b/public_test_cases/p02168/output.0.txt
@@ -0,0 +1 @@
+mo3tthi
diff --git a/public_test_cases/p02168/output.1.txt b/public_test_cases/p02168/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7fa51572ff85b63bc5ca7c6268fdaa3b407ced7
--- /dev/null
+++ b/public_test_cases/p02168/output.1.txt
@@ -0,0 +1 @@
+mo3tthi
diff --git a/public_test_cases/p02168/output.2.txt b/public_test_cases/p02168/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e139ec3e0967388a4ebbc75f4336264825785844
--- /dev/null
+++ b/public_test_cases/p02168/output.2.txt
@@ -0,0 +1 @@
+tubuann
diff --git a/public_test_cases/p02168/output.3.txt b/public_test_cases/p02168/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7fa51572ff85b63bc5ca7c6268fdaa3b407ced7
--- /dev/null
+++ b/public_test_cases/p02168/output.3.txt
@@ -0,0 +1 @@
+mo3tthi
diff --git a/public_test_cases/p02169/input.0.txt b/public_test_cases/p02169/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..248d98c7dd9f4945da77cef819b38f82497dd7bb
--- /dev/null
+++ b/public_test_cases/p02169/input.0.txt
@@ -0,0 +1 @@
+2 10 1
diff --git a/public_test_cases/p02169/input.1.txt b/public_test_cases/p02169/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9aca244c36820d3675b7bf06b25cf98431773d6
--- /dev/null
+++ b/public_test_cases/p02169/input.1.txt
@@ -0,0 +1 @@
+7 8 3
diff --git a/public_test_cases/p02169/input.2.txt b/public_test_cases/p02169/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce7d5eb7582a54899757bef957507ba7bf260982
--- /dev/null
+++ b/public_test_cases/p02169/input.2.txt
@@ -0,0 +1 @@
+1000000000000000000 1000000000000000000 1000
diff --git a/public_test_cases/p02169/input.3.txt b/public_test_cases/p02169/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66fa693ce033a89f26351f2630788283230d90b6
--- /dev/null
+++ b/public_test_cases/p02169/input.3.txt
@@ -0,0 +1 @@
+5 10 3
diff --git a/public_test_cases/p02169/input.4.txt b/public_test_cases/p02169/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0586d9f1556dacb97f07f1951aec985277cf7d82
--- /dev/null
+++ b/public_test_cases/p02169/input.4.txt
@@ -0,0 +1 @@
+1 1 2
diff --git a/public_test_cases/p02169/input.5.txt b/public_test_cases/p02169/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..248d98c7dd9f4945da77cef819b38f82497dd7bb
--- /dev/null
+++ b/public_test_cases/p02169/input.5.txt
@@ -0,0 +1 @@
+2 10 1
diff --git a/public_test_cases/p02169/output.0.txt b/public_test_cases/p02169/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7b1c440c0f3f8d42eff097800b88ac5d40263d3
--- /dev/null
+++ b/public_test_cases/p02169/output.0.txt
@@ -0,0 +1 @@
+1024
diff --git a/public_test_cases/p02169/output.1.txt b/public_test_cases/p02169/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..138c5bf46a7144b3401712545473fb7bac90846c
--- /dev/null
+++ b/public_test_cases/p02169/output.1.txt
@@ -0,0 +1 @@
+5759460
diff --git a/public_test_cases/p02169/output.2.txt b/public_test_cases/p02169/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fdfa0be4d6618cded06b3391f319fec0a999c7f
--- /dev/null
+++ b/public_test_cases/p02169/output.2.txt
@@ -0,0 +1 @@
+133611974
diff --git a/public_test_cases/p02169/output.3.txt b/public_test_cases/p02169/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73021b546db5c7881cdcd68265f0eba1309409f8
--- /dev/null
+++ b/public_test_cases/p02169/output.3.txt
@@ -0,0 +1 @@
+9755400
diff --git a/public_test_cases/p02169/output.4.txt b/public_test_cases/p02169/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02169/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02169/output.5.txt b/public_test_cases/p02169/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7b1c440c0f3f8d42eff097800b88ac5d40263d3
--- /dev/null
+++ b/public_test_cases/p02169/output.5.txt
@@ -0,0 +1 @@
+1024
diff --git a/public_test_cases/p02170/input.0.txt b/public_test_cases/p02170/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d27e9ea291bad8e0221fe2fd8e3b3161155b66a2
--- /dev/null
+++ b/public_test_cases/p02170/input.0.txt
@@ -0,0 +1 @@
+1 1 50
diff --git a/public_test_cases/p02170/input.1.txt b/public_test_cases/p02170/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d27e9ea291bad8e0221fe2fd8e3b3161155b66a2
--- /dev/null
+++ b/public_test_cases/p02170/input.1.txt
@@ -0,0 +1 @@
+1 1 50
diff --git a/public_test_cases/p02170/input.2.txt b/public_test_cases/p02170/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff0a7ef1194aed15fc68c7181b5d8bd13b8980d0
--- /dev/null
+++ b/public_test_cases/p02170/input.2.txt
@@ -0,0 +1 @@
+6 10 99
diff --git a/public_test_cases/p02170/input.3.txt b/public_test_cases/p02170/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..deb694fb3282c3096b5068e5d7b9df7a2b4ed7f6
--- /dev/null
+++ b/public_test_cases/p02170/input.3.txt
@@ -0,0 +1 @@
+2 2 10
diff --git a/public_test_cases/p02170/output.0.txt b/public_test_cases/p02170/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02170/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02170/output.1.txt b/public_test_cases/p02170/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02170/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02170/output.2.txt b/public_test_cases/p02170/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89793b1f82202034fc7c205a2e5de9d77d96c100
--- /dev/null
+++ b/public_test_cases/p02170/output.2.txt
@@ -0,0 +1 @@
+650893870
diff --git a/public_test_cases/p02170/output.3.txt b/public_test_cases/p02170/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1acc79faa6388b989c03f9ae5c8848d990fb1f0a
--- /dev/null
+++ b/public_test_cases/p02170/output.3.txt
@@ -0,0 +1 @@
+648858830
diff --git a/public_test_cases/p02171/input.0.txt b/public_test_cases/p02171/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d280bc891a2fab0f7daf5e548da1daa18f944845
--- /dev/null
+++ b/public_test_cases/p02171/input.0.txt
@@ -0,0 +1,7 @@
+abab
+5 5
+2 2 4
+1 1 5 abab
+2 3 5
+1 3 3 a
+2 1 5
diff --git a/public_test_cases/p02171/input.1.txt b/public_test_cases/p02171/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d280bc891a2fab0f7daf5e548da1daa18f944845
--- /dev/null
+++ b/public_test_cases/p02171/input.1.txt
@@ -0,0 +1,7 @@
+abab
+5 5
+2 2 4
+1 1 5 abab
+2 3 5
+1 3 3 a
+2 1 5
diff --git a/public_test_cases/p02171/input.2.txt b/public_test_cases/p02171/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..741afd63961fc7de0b7dc00eb830a007a75970fc
--- /dev/null
+++ b/public_test_cases/p02171/input.2.txt
@@ -0,0 +1,7 @@
+uku
+1333 5
+2 232 423
+1 13 532 uku
+2 322 567
+1 3 33 ku
+2 1 333
diff --git a/public_test_cases/p02171/input.3.txt b/public_test_cases/p02171/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cf18880486d5612595d9f94ffc874732d53f621
--- /dev/null
+++ b/public_test_cases/p02171/input.3.txt
@@ -0,0 +1,22 @@
+aabb
+1879 20
+2 69 1585
+1 415 1680 aabb
+1 756 1628 abbabbaa
+1 849 1273 abba
+2 418 1172
+2 1063 1164
+2 203 623
+2 481 1209
+1 107 110 ababaaaab
+1 857 985 bbbbabbbaa
+1 868 947 aaa
+1 1619 1789 aabab
+2 204 844
+2 493 1422
+2 821 1499
+1 757 1817 abbabbb
+2 232 911
+1 653 797 aaabaaaab
+2 701 1657
+1 868 940 aaabbbaaa
diff --git a/public_test_cases/p02171/output.0.txt b/public_test_cases/p02171/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5826f5ccc726de50bc8f88f04a9c688c007e216f
--- /dev/null
+++ b/public_test_cases/p02171/output.0.txt
@@ -0,0 +1,3 @@
+0
+3
+4
diff --git a/public_test_cases/p02171/output.1.txt b/public_test_cases/p02171/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5826f5ccc726de50bc8f88f04a9c688c007e216f
--- /dev/null
+++ b/public_test_cases/p02171/output.1.txt
@@ -0,0 +1,3 @@
+0
+3
+4
diff --git a/public_test_cases/p02171/output.2.txt b/public_test_cases/p02171/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01f8db1fcaa8d0a173427f26a23ca87981cd506a
--- /dev/null
+++ b/public_test_cases/p02171/output.2.txt
@@ -0,0 +1,3 @@
+0
+211
+321
diff --git a/public_test_cases/p02171/output.3.txt b/public_test_cases/p02171/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..927d5ac0f2db68715511190e2d93359c06a3587c
--- /dev/null
+++ b/public_test_cases/p02171/output.3.txt
@@ -0,0 +1,10 @@
+0
+338
+0
+209
+275
+341
+263
+0
+341
+0
diff --git a/public_test_cases/p02172/input.0.txt b/public_test_cases/p02172/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f43c1901c737bea31691c09638adbb991a9c8166
--- /dev/null
+++ b/public_test_cases/p02172/input.0.txt
@@ -0,0 +1,3 @@
+0 0 10
+1
+2
diff --git a/public_test_cases/p02172/output.0.txt b/public_test_cases/p02172/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..534a21edd7244e9db55d46372c9665683c036a5d
--- /dev/null
+++ b/public_test_cases/p02172/output.0.txt
@@ -0,0 +1 @@
+440
diff --git a/public_test_cases/p02173/input.0.txt b/public_test_cases/p02173/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12ef2b07b4f372cba614e580422dfcb76b6f83b4
--- /dev/null
+++ b/public_test_cases/p02173/input.0.txt
@@ -0,0 +1,4 @@
+2 1
+1 1 1
+2 2 2
+1 2
diff --git a/public_test_cases/p02173/input.1.txt b/public_test_cases/p02173/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..552b8fbaf68353861a1822df17a4729b78cf1cf8
--- /dev/null
+++ b/public_test_cases/p02173/input.1.txt
@@ -0,0 +1,13 @@
+6 6
+0 8 0
+2 3 0
+2 5 0
+4 3 0
+4 5 0
+6 0 0
+1 3
+2 3
+3 5
+5 4
+4 2
+4 6
diff --git a/public_test_cases/p02173/input.2.txt b/public_test_cases/p02173/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12ef2b07b4f372cba614e580422dfcb76b6f83b4
--- /dev/null
+++ b/public_test_cases/p02173/input.2.txt
@@ -0,0 +1,4 @@
+2 1
+1 1 1
+2 2 2
+1 2
diff --git a/public_test_cases/p02173/input.3.txt b/public_test_cases/p02173/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6058a0f9a8300a04e987db810881fa960c9af502
--- /dev/null
+++ b/public_test_cases/p02173/input.3.txt
@@ -0,0 +1,5 @@
+2 2
+1 1 1
+2 2 2
+1 2
+2 1
diff --git a/public_test_cases/p02173/input.4.txt b/public_test_cases/p02173/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..682057fb2b938655ce322cc64b8009173bf53ab8
--- /dev/null
+++ b/public_test_cases/p02173/input.4.txt
@@ -0,0 +1,18 @@
+10 7
+-65870833 -68119923 -51337277
+-59513976 -24997697 -46968492
+-37069671 -90713666 -45043609
+-31144219 43731960 -5258464
+-27501033 90001758 13168637
+-96651565 -67773915 56786711
+44851572 -29156912 28758396
+16384813 -79097935 7386228
+88805434 -79256976 31470860
+92682611 32019492 -87335887
+6 7
+7 9
+6 5
+1 2
+2 4
+4 1
+9 8
diff --git a/public_test_cases/p02173/output.0.txt b/public_test_cases/p02173/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p02173/output.0.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p02173/output.1.txt b/public_test_cases/p02173/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd9c0565a3a33ff1ab118cb9d42dc603b567a0cd
--- /dev/null
+++ b/public_test_cases/p02173/output.1.txt
@@ -0,0 +1,6 @@
+14
+7
+9
+5
+7
+0
diff --git a/public_test_cases/p02173/output.2.txt b/public_test_cases/p02173/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p02173/output.2.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p02173/output.3.txt b/public_test_cases/p02173/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c8806279fa7d6b7d04418a47e21b7e89ab18f8
--- /dev/null
+++ b/public_test_cases/p02173/output.3.txt
@@ -0,0 +1,2 @@
+3
+3
diff --git a/public_test_cases/p02173/output.4.txt b/public_test_cases/p02173/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e61ad39f8d7359ace88c1b2fd3a92c3573cc5551
--- /dev/null
+++ b/public_test_cases/p02173/output.4.txt
@@ -0,0 +1,10 @@
+192657310
+138809442
+0
+192657310
+0
+270544279
+99779950
+0
+96664294
+0
diff --git a/public_test_cases/p02174/input.0.txt b/public_test_cases/p02174/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02174/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02174/input.1.txt b/public_test_cases/p02174/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..727dea9e06c080b8b2ed75c265cdfa5068172976
--- /dev/null
+++ b/public_test_cases/p02174/input.1.txt
@@ -0,0 +1,2 @@
+5
+100 200 300 400 500
diff --git a/public_test_cases/p02174/input.2.txt b/public_test_cases/p02174/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02174/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02174/output.0.txt b/public_test_cases/p02174/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p02174/output.0.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p02174/output.1.txt b/public_test_cases/p02174/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf3165c471f3a40762ff2c88ccaeacb89fb594d5
--- /dev/null
+++ b/public_test_cases/p02174/output.1.txt
@@ -0,0 +1 @@
+935740429
diff --git a/public_test_cases/p02174/output.2.txt b/public_test_cases/p02174/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p02174/output.2.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p02175/input.0.txt b/public_test_cases/p02175/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78c94debb94d1f3e03b99a380c7f1543e7d6a780
--- /dev/null
+++ b/public_test_cases/p02175/input.0.txt
@@ -0,0 +1,5 @@
+10 30 10
+3
+nobiro
+nobiro
+tidime
diff --git a/public_test_cases/p02175/input.1.txt b/public_test_cases/p02175/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78c94debb94d1f3e03b99a380c7f1543e7d6a780
--- /dev/null
+++ b/public_test_cases/p02175/input.1.txt
@@ -0,0 +1,5 @@
+10 30 10
+3
+nobiro
+nobiro
+tidime
diff --git a/public_test_cases/p02175/output.0.txt b/public_test_cases/p02175/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p02175/output.0.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p02175/output.1.txt b/public_test_cases/p02175/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p02175/output.1.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p02176/input.0.txt b/public_test_cases/p02176/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d429516a81a669871fc24c681de897dfa04cf840
--- /dev/null
+++ b/public_test_cases/p02176/input.0.txt
@@ -0,0 +1,2 @@
+5
+ANazA
diff --git a/public_test_cases/p02176/input.1.txt b/public_test_cases/p02176/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d429516a81a669871fc24c681de897dfa04cf840
--- /dev/null
+++ b/public_test_cases/p02176/input.1.txt
@@ -0,0 +1,2 @@
+5
+ANazA
diff --git a/public_test_cases/p02176/output.0.txt b/public_test_cases/p02176/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc17e3f9a7b11ddd8b8e26e6dc6cc718c2c8eb2f
--- /dev/null
+++ b/public_test_cases/p02176/output.0.txt
@@ -0,0 +1,2 @@
+1
+A
diff --git a/public_test_cases/p02176/output.1.txt b/public_test_cases/p02176/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc17e3f9a7b11ddd8b8e26e6dc6cc718c2c8eb2f
--- /dev/null
+++ b/public_test_cases/p02176/output.1.txt
@@ -0,0 +1,2 @@
+1
+A
diff --git a/public_test_cases/p02177/input.0.txt b/public_test_cases/p02177/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e216f089adc53e3d5382a789e7a9d9c8e99d556
--- /dev/null
+++ b/public_test_cases/p02177/input.0.txt
@@ -0,0 +1,3 @@
+5 2
+1 2
+2 1
diff --git a/public_test_cases/p02177/input.1.txt b/public_test_cases/p02177/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e216f089adc53e3d5382a789e7a9d9c8e99d556
--- /dev/null
+++ b/public_test_cases/p02177/input.1.txt
@@ -0,0 +1,3 @@
+5 2
+1 2
+2 1
diff --git a/public_test_cases/p02177/output.0.txt b/public_test_cases/p02177/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56889ba08ed1b94f8496d76cc4f5f42197cb3213
--- /dev/null
+++ b/public_test_cases/p02177/output.0.txt
@@ -0,0 +1,5 @@
+1 2
+1 2
+3
+4
+5
diff --git a/public_test_cases/p02177/output.1.txt b/public_test_cases/p02177/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56889ba08ed1b94f8496d76cc4f5f42197cb3213
--- /dev/null
+++ b/public_test_cases/p02177/output.1.txt
@@ -0,0 +1,5 @@
+1 2
+1 2
+3
+4
+5
diff --git a/public_test_cases/p02178/input.0.txt b/public_test_cases/p02178/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63b110aea07335279d7736bc5d0d977635bcf6d1
--- /dev/null
+++ b/public_test_cases/p02178/input.0.txt
@@ -0,0 +1,4 @@
+4 10 1 4
+1 2 52
+1 3 68
+3 4 45
diff --git a/public_test_cases/p02178/input.1.txt b/public_test_cases/p02178/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63b110aea07335279d7736bc5d0d977635bcf6d1
--- /dev/null
+++ b/public_test_cases/p02178/input.1.txt
@@ -0,0 +1,4 @@
+4 10 1 4
+1 2 52
+1 3 68
+3 4 45
diff --git a/public_test_cases/p02178/output.0.txt b/public_test_cases/p02178/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02178/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02178/output.1.txt b/public_test_cases/p02178/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02178/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02179/input.0.txt b/public_test_cases/p02179/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..137919b74d6e763630d15980ef1d5f1b09f658d1
--- /dev/null
+++ b/public_test_cases/p02179/input.0.txt
@@ -0,0 +1,3 @@
+2
+5 10 5 5
+4 4 2 2
diff --git a/public_test_cases/p02179/input.1.txt b/public_test_cases/p02179/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..137919b74d6e763630d15980ef1d5f1b09f658d1
--- /dev/null
+++ b/public_test_cases/p02179/input.1.txt
@@ -0,0 +1,3 @@
+2
+5 10 5 5
+4 4 2 2
diff --git a/public_test_cases/p02179/output.0.txt b/public_test_cases/p02179/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02179/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02179/output.1.txt b/public_test_cases/p02179/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02179/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02180/input.0.txt b/public_test_cases/p02180/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..307e10dbbd3d94d5b3d353258910ae7e03b1f6d9
--- /dev/null
+++ b/public_test_cases/p02180/input.0.txt
@@ -0,0 +1,7 @@
+3 6 10
+1 1 1
+2 2 1
+4 3 1
+5 1 0
+6 2 0
+6 3 0
diff --git a/public_test_cases/p02180/output.0.txt b/public_test_cases/p02180/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p02180/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p02181/input.0.txt b/public_test_cases/p02181/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60cc33743a37f1c5790c4ed3d62813c4bd26c73c
--- /dev/null
+++ b/public_test_cases/p02181/input.0.txt
@@ -0,0 +1,3 @@
+2
+AORA
+OR
diff --git a/public_test_cases/p02181/input.1.txt b/public_test_cases/p02181/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60cc33743a37f1c5790c4ed3d62813c4bd26c73c
--- /dev/null
+++ b/public_test_cases/p02181/input.1.txt
@@ -0,0 +1,3 @@
+2
+AORA
+OR
diff --git a/public_test_cases/p02181/output.0.txt b/public_test_cases/p02181/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02181/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02181/output.1.txt b/public_test_cases/p02181/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02181/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02182/input.0.txt b/public_test_cases/p02182/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f881090f3859a9b341f11a0905afde93ee9fe75
--- /dev/null
+++ b/public_test_cases/p02182/input.0.txt
@@ -0,0 +1,5 @@
+2 3
+..#
+##.
+.##
+#..
diff --git a/public_test_cases/p02182/input.1.txt b/public_test_cases/p02182/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f881090f3859a9b341f11a0905afde93ee9fe75
--- /dev/null
+++ b/public_test_cases/p02182/input.1.txt
@@ -0,0 +1,5 @@
+2 3
+..#
+##.
+.##
+#..
diff --git a/public_test_cases/p02182/output.0.txt b/public_test_cases/p02182/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02182/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02182/output.1.txt b/public_test_cases/p02182/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02182/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02183/input.0.txt b/public_test_cases/p02183/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b181d4b32480361864d1a5353e2dcb720d59c87
--- /dev/null
+++ b/public_test_cases/p02183/input.0.txt
@@ -0,0 +1,20 @@
+2 3
+##.
+.##
+2 3
+#..
+###
+1 4
+####
+2 3
+###
+.#.
+2
+####....##
+####...###
+####..####
+####...###
+###..#####
+###...####
+###...####
+###....###
diff --git a/public_test_cases/p02183/input.1.txt b/public_test_cases/p02183/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b181d4b32480361864d1a5353e2dcb720d59c87
--- /dev/null
+++ b/public_test_cases/p02183/input.1.txt
@@ -0,0 +1,20 @@
+2 3
+##.
+.##
+2 3
+#..
+###
+1 4
+####
+2 3
+###
+.#.
+2
+####....##
+####...###
+####..####
+####...###
+###..#####
+###...####
+###...####
+###....###
diff --git a/public_test_cases/p02183/output.0.txt b/public_test_cases/p02183/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93da7ca4cb57b281a2b6f201a967d11a0c0634cb
--- /dev/null
+++ b/public_test_cases/p02183/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+Yes
diff --git a/public_test_cases/p02183/output.1.txt b/public_test_cases/p02183/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93da7ca4cb57b281a2b6f201a967d11a0c0634cb
--- /dev/null
+++ b/public_test_cases/p02183/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+Yes
diff --git a/public_test_cases/p02184/input.0.txt b/public_test_cases/p02184/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51fd1fc0a1b6cadaa93d5bac952d93c2918437fe
--- /dev/null
+++ b/public_test_cases/p02184/input.0.txt
@@ -0,0 +1,2 @@
+2
+1000000007
diff --git a/public_test_cases/p02184/input.1.txt b/public_test_cases/p02184/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51fd1fc0a1b6cadaa93d5bac952d93c2918437fe
--- /dev/null
+++ b/public_test_cases/p02184/input.1.txt
@@ -0,0 +1,2 @@
+2
+1000000007
diff --git a/public_test_cases/p02184/output.0.txt b/public_test_cases/p02184/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d84118515a8bb8be116bc4ee4469d2afc0b3b66
--- /dev/null
+++ b/public_test_cases/p02184/output.0.txt
@@ -0,0 +1 @@
+1000000009
diff --git a/public_test_cases/p02184/output.1.txt b/public_test_cases/p02184/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d84118515a8bb8be116bc4ee4469d2afc0b3b66
--- /dev/null
+++ b/public_test_cases/p02184/output.1.txt
@@ -0,0 +1 @@
+1000000009
diff --git a/public_test_cases/p02185/input.0.txt b/public_test_cases/p02185/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9e10366c4862af4b8f1d89b8f6de16686ce01b6
--- /dev/null
+++ b/public_test_cases/p02185/input.0.txt
@@ -0,0 +1,2 @@
+73
+6?
diff --git a/public_test_cases/p02185/input.1.txt b/public_test_cases/p02185/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9e10366c4862af4b8f1d89b8f6de16686ce01b6
--- /dev/null
+++ b/public_test_cases/p02185/input.1.txt
@@ -0,0 +1,2 @@
+73
+6?
diff --git a/public_test_cases/p02185/output.0.txt b/public_test_cases/p02185/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc056efe6094ef8cf9f8c810b80732daeaef2c20
--- /dev/null
+++ b/public_test_cases/p02185/output.0.txt
@@ -0,0 +1 @@
+645
diff --git a/public_test_cases/p02185/output.1.txt b/public_test_cases/p02185/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc056efe6094ef8cf9f8c810b80732daeaef2c20
--- /dev/null
+++ b/public_test_cases/p02185/output.1.txt
@@ -0,0 +1 @@
+645
diff --git a/public_test_cases/p02186/input.0.txt b/public_test_cases/p02186/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2543bb18918cd55f66760e262b0a277ceb54f81
--- /dev/null
+++ b/public_test_cases/p02186/input.0.txt
@@ -0,0 +1,4 @@
+5 2
+1 2 -3 4 -5
+3 3
+2 -6
diff --git a/public_test_cases/p02186/input.1.txt b/public_test_cases/p02186/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2543bb18918cd55f66760e262b0a277ceb54f81
--- /dev/null
+++ b/public_test_cases/p02186/input.1.txt
@@ -0,0 +1,4 @@
+5 2
+1 2 -3 4 -5
+3 3
+2 -6
diff --git a/public_test_cases/p02186/output.0.txt b/public_test_cases/p02186/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb74175cb4a1eb8a2aa05d3f85b525797384fca9
--- /dev/null
+++ b/public_test_cases/p02186/output.0.txt
@@ -0,0 +1,3 @@
+4
+10
+7
diff --git a/public_test_cases/p02186/output.1.txt b/public_test_cases/p02186/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb74175cb4a1eb8a2aa05d3f85b525797384fca9
--- /dev/null
+++ b/public_test_cases/p02186/output.1.txt
@@ -0,0 +1,3 @@
+4
+10
+7
diff --git a/public_test_cases/p02187/input.0.txt b/public_test_cases/p02187/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e50e01b3d8d81bacc8cc590464c61d2aa9e9756
--- /dev/null
+++ b/public_test_cases/p02187/input.0.txt
@@ -0,0 +1,3 @@
+abracadabra
+cadabra
+4
diff --git a/public_test_cases/p02187/input.1.txt b/public_test_cases/p02187/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e50e01b3d8d81bacc8cc590464c61d2aa9e9756
--- /dev/null
+++ b/public_test_cases/p02187/input.1.txt
@@ -0,0 +1,3 @@
+abracadabra
+cadabra
+4
diff --git a/public_test_cases/p02187/output.0.txt b/public_test_cases/p02187/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02187/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02187/output.1.txt b/public_test_cases/p02187/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02187/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02188/input.0.txt b/public_test_cases/p02188/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..926ecb44b459d1f98fdf989476251dfb1422da50
--- /dev/null
+++ b/public_test_cases/p02188/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2 3
+1 2
+1 3
diff --git a/public_test_cases/p02188/input.1.txt b/public_test_cases/p02188/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..926ecb44b459d1f98fdf989476251dfb1422da50
--- /dev/null
+++ b/public_test_cases/p02188/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 2 3
+1 2
+1 3
diff --git a/public_test_cases/p02188/output.0.txt b/public_test_cases/p02188/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e8a2de2dbc74e6f8e500591f14858fef93ccd1b
--- /dev/null
+++ b/public_test_cases/p02188/output.0.txt
@@ -0,0 +1,3 @@
+2
+3
+3
diff --git a/public_test_cases/p02188/output.1.txt b/public_test_cases/p02188/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e8a2de2dbc74e6f8e500591f14858fef93ccd1b
--- /dev/null
+++ b/public_test_cases/p02188/output.1.txt
@@ -0,0 +1,3 @@
+2
+3
+3
diff --git a/public_test_cases/p02189/input.0.txt b/public_test_cases/p02189/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d938d473ab41e37e42e85357c9d03efc6d0a84
--- /dev/null
+++ b/public_test_cases/p02189/input.0.txt
@@ -0,0 +1,2 @@
+6
+8 6 9 1 2 1
diff --git a/public_test_cases/p02189/input.1.txt b/public_test_cases/p02189/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d938d473ab41e37e42e85357c9d03efc6d0a84
--- /dev/null
+++ b/public_test_cases/p02189/input.1.txt
@@ -0,0 +1,2 @@
+6
+8 6 9 1 2 1
diff --git a/public_test_cases/p02189/output.0.txt b/public_test_cases/p02189/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02189/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02189/output.1.txt b/public_test_cases/p02189/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02189/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02190/input.0.txt b/public_test_cases/p02190/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d938d473ab41e37e42e85357c9d03efc6d0a84
--- /dev/null
+++ b/public_test_cases/p02190/input.0.txt
@@ -0,0 +1,2 @@
+6
+8 6 9 1 2 1
diff --git a/public_test_cases/p02190/input.1.txt b/public_test_cases/p02190/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d938d473ab41e37e42e85357c9d03efc6d0a84
--- /dev/null
+++ b/public_test_cases/p02190/input.1.txt
@@ -0,0 +1,2 @@
+6
+8 6 9 1 2 1
diff --git a/public_test_cases/p02190/output.0.txt b/public_test_cases/p02190/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02190/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02190/output.1.txt b/public_test_cases/p02190/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02190/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02191/input.0.txt b/public_test_cases/p02191/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1c4cd4b053b3d884e27536310def57a5dc7647d
--- /dev/null
+++ b/public_test_cases/p02191/input.0.txt
@@ -0,0 +1,5 @@
+6 3
+8 6 9 1 2 1
+2 8
+1 7
+3 5
diff --git a/public_test_cases/p02191/input.1.txt b/public_test_cases/p02191/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1c4cd4b053b3d884e27536310def57a5dc7647d
--- /dev/null
+++ b/public_test_cases/p02191/input.1.txt
@@ -0,0 +1,5 @@
+6 3
+8 6 9 1 2 1
+2 8
+1 7
+3 5
diff --git a/public_test_cases/p02191/output.0.txt b/public_test_cases/p02191/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b22b448c0fd52cae4d6fa4e8f396e5dfb83734ef
--- /dev/null
+++ b/public_test_cases/p02191/output.0.txt
@@ -0,0 +1,3 @@
+3
+4
+0
diff --git a/public_test_cases/p02191/output.1.txt b/public_test_cases/p02191/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b22b448c0fd52cae4d6fa4e8f396e5dfb83734ef
--- /dev/null
+++ b/public_test_cases/p02191/output.1.txt
@@ -0,0 +1,3 @@
+3
+4
+0
diff --git a/public_test_cases/p02192/input.0.txt b/public_test_cases/p02192/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f749f796b31b0e0524c634713f304868a718f95
--- /dev/null
+++ b/public_test_cases/p02192/input.0.txt
@@ -0,0 +1,2 @@
+6 6
+8 6 9 1 2 1
diff --git a/public_test_cases/p02192/input.1.txt b/public_test_cases/p02192/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f749f796b31b0e0524c634713f304868a718f95
--- /dev/null
+++ b/public_test_cases/p02192/input.1.txt
@@ -0,0 +1,2 @@
+6 6
+8 6 9 1 2 1
diff --git a/public_test_cases/p02192/output.0.txt b/public_test_cases/p02192/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02192/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02192/output.1.txt b/public_test_cases/p02192/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02192/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02193/input.0.txt b/public_test_cases/p02193/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a20510c9744e498a76407f1fe17df6ec22197d10
--- /dev/null
+++ b/public_test_cases/p02193/input.0.txt
@@ -0,0 +1,13 @@
+6 6
+8 1
+6 1
+9 4
+1 5
+2 1
+1 4
+2 1 3
+1 1 3 3
+2 1 3
+2 4 6
+1 4 6 3
+2 4 6
diff --git a/public_test_cases/p02193/input.1.txt b/public_test_cases/p02193/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a20510c9744e498a76407f1fe17df6ec22197d10
--- /dev/null
+++ b/public_test_cases/p02193/input.1.txt
@@ -0,0 +1,13 @@
+6 6
+8 1
+6 1
+9 4
+1 5
+2 1
+1 4
+2 1 3
+1 1 3 3
+2 1 3
+2 4 6
+1 4 6 3
+2 4 6
diff --git a/public_test_cases/p02193/output.0.txt b/public_test_cases/p02193/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..392d69e91d285f6ec3ab31b4f540e48a29a500f2
--- /dev/null
+++ b/public_test_cases/p02193/output.0.txt
@@ -0,0 +1,4 @@
+6
+9
+2
+4
diff --git a/public_test_cases/p02193/output.1.txt b/public_test_cases/p02193/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..392d69e91d285f6ec3ab31b4f540e48a29a500f2
--- /dev/null
+++ b/public_test_cases/p02193/output.1.txt
@@ -0,0 +1,4 @@
+6
+9
+2
+4
diff --git a/public_test_cases/p02194/input.0.txt b/public_test_cases/p02194/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d938d473ab41e37e42e85357c9d03efc6d0a84
--- /dev/null
+++ b/public_test_cases/p02194/input.0.txt
@@ -0,0 +1,2 @@
+6
+8 6 9 1 2 1
diff --git a/public_test_cases/p02194/input.1.txt b/public_test_cases/p02194/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d938d473ab41e37e42e85357c9d03efc6d0a84
--- /dev/null
+++ b/public_test_cases/p02194/input.1.txt
@@ -0,0 +1,2 @@
+6
+8 6 9 1 2 1
diff --git a/public_test_cases/p02194/output.0.txt b/public_test_cases/p02194/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82cced27d7be32719d009707139bd949ad6263c9
--- /dev/null
+++ b/public_test_cases/p02194/output.0.txt
@@ -0,0 +1 @@
+51
diff --git a/public_test_cases/p02194/output.1.txt b/public_test_cases/p02194/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82cced27d7be32719d009707139bd949ad6263c9
--- /dev/null
+++ b/public_test_cases/p02194/output.1.txt
@@ -0,0 +1 @@
+51
diff --git a/public_test_cases/p02195/input.0.txt b/public_test_cases/p02195/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ea21a4434d71f4ffece0dee4bb8dbdf53e534c2
--- /dev/null
+++ b/public_test_cases/p02195/input.0.txt
@@ -0,0 +1,13 @@
+10 3
+1 2
+2 5
+2 6
+1 4
+1 3
+3 7
+3 8
+3 9
+9 10
+1 3
+2 1
+2 8
diff --git a/public_test_cases/p02195/input.1.txt b/public_test_cases/p02195/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ea21a4434d71f4ffece0dee4bb8dbdf53e534c2
--- /dev/null
+++ b/public_test_cases/p02195/input.1.txt
@@ -0,0 +1,13 @@
+10 3
+1 2
+2 5
+2 6
+1 4
+1 3
+3 7
+3 8
+3 9
+9 10
+1 3
+2 1
+2 8
diff --git a/public_test_cases/p02195/output.0.txt b/public_test_cases/p02195/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af74fdcd71a03732095b62ca716ac02310b9fa71
--- /dev/null
+++ b/public_test_cases/p02195/output.0.txt
@@ -0,0 +1,2 @@
+5
+1
diff --git a/public_test_cases/p02195/output.1.txt b/public_test_cases/p02195/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af74fdcd71a03732095b62ca716ac02310b9fa71
--- /dev/null
+++ b/public_test_cases/p02195/output.1.txt
@@ -0,0 +1,2 @@
+5
+1
diff --git a/public_test_cases/p02196/input.0.txt b/public_test_cases/p02196/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d069c92d3476922299df06bff11a03802aa8cb1
--- /dev/null
+++ b/public_test_cases/p02196/input.0.txt
@@ -0,0 +1,5 @@
+2 2
+14 86 9 121
+3 34 3 34
+1 14 5 14
+1 9 1 9
diff --git a/public_test_cases/p02196/input.1.txt b/public_test_cases/p02196/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d069c92d3476922299df06bff11a03802aa8cb1
--- /dev/null
+++ b/public_test_cases/p02196/input.1.txt
@@ -0,0 +1,5 @@
+2 2
+14 86 9 121
+3 34 3 34
+1 14 5 14
+1 9 1 9
diff --git a/public_test_cases/p02196/output.0.txt b/public_test_cases/p02196/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6631b22779376d4c1b0470c35390d511ec268e3c
--- /dev/null
+++ b/public_test_cases/p02196/output.0.txt
@@ -0,0 +1,2 @@
+No
+Yes
diff --git a/public_test_cases/p02196/output.1.txt b/public_test_cases/p02196/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6631b22779376d4c1b0470c35390d511ec268e3c
--- /dev/null
+++ b/public_test_cases/p02196/output.1.txt
@@ -0,0 +1,2 @@
+No
+Yes
diff --git a/public_test_cases/p02197/input.1.txt b/public_test_cases/p02197/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02197/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02197/output.1.txt b/public_test_cases/p02197/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02197/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02198/input.0.txt b/public_test_cases/p02198/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebcee1a506db729ea7b0e0b6e9b0be36806d16bd
--- /dev/null
+++ b/public_test_cases/p02198/input.0.txt
@@ -0,0 +1 @@
+3 4
diff --git a/public_test_cases/p02198/input.1.txt b/public_test_cases/p02198/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebcee1a506db729ea7b0e0b6e9b0be36806d16bd
--- /dev/null
+++ b/public_test_cases/p02198/input.1.txt
@@ -0,0 +1 @@
+3 4
diff --git a/public_test_cases/p02198/output.0.txt b/public_test_cases/p02198/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02198/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02198/output.1.txt b/public_test_cases/p02198/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02198/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02199/input.0.txt b/public_test_cases/p02199/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b83c08d2e004353ad1b69db5caddebb8dca116b2
--- /dev/null
+++ b/public_test_cases/p02199/input.0.txt
@@ -0,0 +1,2 @@
+14 86
+9 1 20
diff --git a/public_test_cases/p02199/input.1.txt b/public_test_cases/p02199/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b83c08d2e004353ad1b69db5caddebb8dca116b2
--- /dev/null
+++ b/public_test_cases/p02199/input.1.txt
@@ -0,0 +1,2 @@
+14 86
+9 1 20
diff --git a/public_test_cases/p02199/output.0.txt b/public_test_cases/p02199/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..feec4c2fe419f0fc95dd37584d9a98ece948d5a6
--- /dev/null
+++ b/public_test_cases/p02199/output.0.txt
@@ -0,0 +1 @@
+119.428571428571
diff --git a/public_test_cases/p02199/output.1.txt b/public_test_cases/p02199/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..feec4c2fe419f0fc95dd37584d9a98ece948d5a6
--- /dev/null
+++ b/public_test_cases/p02199/output.1.txt
@@ -0,0 +1 @@
+119.428571428571
diff --git a/public_test_cases/p02200/input.0.txt b/public_test_cases/p02200/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b4839259dc1efe821c247a24a6967bd93150a43
--- /dev/null
+++ b/public_test_cases/p02200/input.0.txt
@@ -0,0 +1,2 @@
+5
+8 6 9 1 20
diff --git a/public_test_cases/p02200/input.1.txt b/public_test_cases/p02200/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b4839259dc1efe821c247a24a6967bd93150a43
--- /dev/null
+++ b/public_test_cases/p02200/input.1.txt
@@ -0,0 +1,2 @@
+5
+8 6 9 1 20
diff --git a/public_test_cases/p02200/output.0.txt b/public_test_cases/p02200/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02200/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02200/output.1.txt b/public_test_cases/p02200/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02200/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02201/input.0.txt b/public_test_cases/p02201/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b18c754d3332d5db8d7e09e8db26530887edebf1
--- /dev/null
+++ b/public_test_cases/p02201/input.0.txt
@@ -0,0 +1,6 @@
+5
+E869120
+TMJN
+E869120
+TAISA
+YNYMXIAOLONGBAO
diff --git a/public_test_cases/p02201/input.1.txt b/public_test_cases/p02201/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b18c754d3332d5db8d7e09e8db26530887edebf1
--- /dev/null
+++ b/public_test_cases/p02201/input.1.txt
@@ -0,0 +1,6 @@
+5
+E869120
+TMJN
+E869120
+TAISA
+YNYMXIAOLONGBAO
diff --git a/public_test_cases/p02201/output.0.txt b/public_test_cases/p02201/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02201/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02201/output.1.txt b/public_test_cases/p02201/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02201/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02202/input.0.txt b/public_test_cases/p02202/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6778db0108b7678cde97e796f8045b4d99ced25e
--- /dev/null
+++ b/public_test_cases/p02202/input.0.txt
@@ -0,0 +1,2 @@
+1
+59549
diff --git a/public_test_cases/p02202/input.1.txt b/public_test_cases/p02202/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6778db0108b7678cde97e796f8045b4d99ced25e
--- /dev/null
+++ b/public_test_cases/p02202/input.1.txt
@@ -0,0 +1,2 @@
+1
+59549
diff --git a/public_test_cases/p02202/output.0.txt b/public_test_cases/p02202/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e14831b48356527f0ffe5eef8f3110154348ec15
--- /dev/null
+++ b/public_test_cases/p02202/output.0.txt
@@ -0,0 +1 @@
+59548
diff --git a/public_test_cases/p02202/output.1.txt b/public_test_cases/p02202/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e14831b48356527f0ffe5eef8f3110154348ec15
--- /dev/null
+++ b/public_test_cases/p02202/output.1.txt
@@ -0,0 +1 @@
+59548
diff --git a/public_test_cases/p02203/input.0.txt b/public_test_cases/p02203/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b4839259dc1efe821c247a24a6967bd93150a43
--- /dev/null
+++ b/public_test_cases/p02203/input.0.txt
@@ -0,0 +1,2 @@
+5
+8 6 9 1 20
diff --git a/public_test_cases/p02203/input.1.txt b/public_test_cases/p02203/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b4839259dc1efe821c247a24a6967bd93150a43
--- /dev/null
+++ b/public_test_cases/p02203/input.1.txt
@@ -0,0 +1,2 @@
+5
+8 6 9 1 20
diff --git a/public_test_cases/p02203/output.0.txt b/public_test_cases/p02203/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ee0007bf1f1aaeab67e3ea1c9ae21003171a460
--- /dev/null
+++ b/public_test_cases/p02203/output.0.txt
@@ -0,0 +1,2 @@
+3
+5
diff --git a/public_test_cases/p02203/output.1.txt b/public_test_cases/p02203/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ee0007bf1f1aaeab67e3ea1c9ae21003171a460
--- /dev/null
+++ b/public_test_cases/p02203/output.1.txt
@@ -0,0 +1,2 @@
+3
+5
diff --git a/public_test_cases/p02204/input.0.txt b/public_test_cases/p02204/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..451357d7caa45354e0ba4cbdd037b93023c58079
--- /dev/null
+++ b/public_test_cases/p02204/input.0.txt
@@ -0,0 +1,2 @@
+2 3
+2 2 1
diff --git a/public_test_cases/p02204/input.1.txt b/public_test_cases/p02204/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..451357d7caa45354e0ba4cbdd037b93023c58079
--- /dev/null
+++ b/public_test_cases/p02204/input.1.txt
@@ -0,0 +1,2 @@
+2 3
+2 2 1
diff --git a/public_test_cases/p02204/output.0.txt b/public_test_cases/p02204/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02204/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02204/output.1.txt b/public_test_cases/p02204/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02204/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02205/input.0.txt b/public_test_cases/p02205/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef4d8d8b00a5abc74abdf7202830b335b86a2f2e
--- /dev/null
+++ b/public_test_cases/p02205/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 4
diff --git a/public_test_cases/p02205/input.1.txt b/public_test_cases/p02205/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef4d8d8b00a5abc74abdf7202830b335b86a2f2e
--- /dev/null
+++ b/public_test_cases/p02205/input.1.txt
@@ -0,0 +1,2 @@
+3
+3 4
diff --git a/public_test_cases/p02205/output.0.txt b/public_test_cases/p02205/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..344022bab630b416efec48499d42991e9e17be7e
--- /dev/null
+++ b/public_test_cases/p02205/output.0.txt
@@ -0,0 +1 @@
+-4 3
diff --git a/public_test_cases/p02205/output.1.txt b/public_test_cases/p02205/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..344022bab630b416efec48499d42991e9e17be7e
--- /dev/null
+++ b/public_test_cases/p02205/output.1.txt
@@ -0,0 +1 @@
+-4 3
diff --git a/public_test_cases/p02206/input.0.txt b/public_test_cases/p02206/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02206/input.0.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02206/input.1.txt b/public_test_cases/p02206/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02206/input.1.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02206/output.0.txt b/public_test_cases/p02206/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02206/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02206/output.1.txt b/public_test_cases/p02206/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02206/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02207/input.0.txt b/public_test_cases/p02207/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f310026f1f1da7cd6bbd60ae6d35ac471232cd0d
--- /dev/null
+++ b/public_test_cases/p02207/input.0.txt
@@ -0,0 +1,7 @@
+3
+3 3
+5 4
+8 1
+2
+1 4
+4 9
diff --git a/public_test_cases/p02207/input.1.txt b/public_test_cases/p02207/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f310026f1f1da7cd6bbd60ae6d35ac471232cd0d
--- /dev/null
+++ b/public_test_cases/p02207/input.1.txt
@@ -0,0 +1,7 @@
+3
+3 3
+5 4
+8 1
+2
+1 4
+4 9
diff --git a/public_test_cases/p02207/output.0.txt b/public_test_cases/p02207/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb21ea45dc8ef47ef2eb9d0f7a99f20db6c33a33
--- /dev/null
+++ b/public_test_cases/p02207/output.0.txt
@@ -0,0 +1,2 @@
+700000000.000000000000
+539999999.999999880791
diff --git a/public_test_cases/p02207/output.1.txt b/public_test_cases/p02207/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb21ea45dc8ef47ef2eb9d0f7a99f20db6c33a33
--- /dev/null
+++ b/public_test_cases/p02207/output.1.txt
@@ -0,0 +1,2 @@
+700000000.000000000000
+539999999.999999880791
diff --git a/public_test_cases/p02208/input.0.txt b/public_test_cases/p02208/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f1c4fe41550ab54101523133bbe6b81a44dd11
--- /dev/null
+++ b/public_test_cases/p02208/input.0.txt
@@ -0,0 +1,3 @@
+1 1 1 1 1 1 1
+1 1
+1 1
diff --git a/public_test_cases/p02208/input.1.txt b/public_test_cases/p02208/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f1c4fe41550ab54101523133bbe6b81a44dd11
--- /dev/null
+++ b/public_test_cases/p02208/input.1.txt
@@ -0,0 +1,3 @@
+1 1 1 1 1 1 1
+1 1
+1 1
diff --git a/public_test_cases/p02208/output.0.txt b/public_test_cases/p02208/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02208/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02208/output.1.txt b/public_test_cases/p02208/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02208/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02209/input.0.txt b/public_test_cases/p02209/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9237d82485ddb65586007f987e9bdf30080b4acf
--- /dev/null
+++ b/public_test_cases/p02209/input.0.txt
@@ -0,0 +1,2 @@
+5 9
+8 6 9 1 2
diff --git a/public_test_cases/p02209/input.1.txt b/public_test_cases/p02209/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9237d82485ddb65586007f987e9bdf30080b4acf
--- /dev/null
+++ b/public_test_cases/p02209/input.1.txt
@@ -0,0 +1,2 @@
+5 9
+8 6 9 1 2
diff --git a/public_test_cases/p02209/output.0.txt b/public_test_cases/p02209/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02209/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02209/output.1.txt b/public_test_cases/p02209/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02209/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02210/input.0.txt b/public_test_cases/p02210/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1048ff25cdc3dbb087662150a594c802f790ea12
--- /dev/null
+++ b/public_test_cases/p02210/input.0.txt
@@ -0,0 +1,2 @@
+5 0
+1 1 1 1 1
diff --git a/public_test_cases/p02210/input.1.txt b/public_test_cases/p02210/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1048ff25cdc3dbb087662150a594c802f790ea12
--- /dev/null
+++ b/public_test_cases/p02210/input.1.txt
@@ -0,0 +1,2 @@
+5 0
+1 1 1 1 1
diff --git a/public_test_cases/p02210/output.0.txt b/public_test_cases/p02210/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02210/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02210/output.1.txt b/public_test_cases/p02210/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02210/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02211/input.0.txt b/public_test_cases/p02211/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90d139dd12dba51ff83f68c785e2aad2ed2b972c
--- /dev/null
+++ b/public_test_cases/p02211/input.0.txt
@@ -0,0 +1,6 @@
+5 5 2
+s..#a
+.#...
+a#e.#
+...#a
+.#...
diff --git a/public_test_cases/p02211/input.1.txt b/public_test_cases/p02211/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90d139dd12dba51ff83f68c785e2aad2ed2b972c
--- /dev/null
+++ b/public_test_cases/p02211/input.1.txt
@@ -0,0 +1,6 @@
+5 5 2
+s..#a
+.#...
+a#e.#
+...#a
+.#...
diff --git a/public_test_cases/p02211/output.0.txt b/public_test_cases/p02211/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02211/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02211/output.1.txt b/public_test_cases/p02211/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02211/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02212/input.0.txt b/public_test_cases/p02212/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c62ce008e71a858b2da2e134fa1d61f04e5e617
--- /dev/null
+++ b/public_test_cases/p02212/input.0.txt
@@ -0,0 +1 @@
+2 1 3 4
diff --git a/public_test_cases/p02212/input.1.txt b/public_test_cases/p02212/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c62ce008e71a858b2da2e134fa1d61f04e5e617
--- /dev/null
+++ b/public_test_cases/p02212/input.1.txt
@@ -0,0 +1 @@
+2 1 3 4
diff --git a/public_test_cases/p02212/output.0.txt b/public_test_cases/p02212/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02212/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02212/output.1.txt b/public_test_cases/p02212/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02212/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02213/input.0.txt b/public_test_cases/p02213/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bb15c301bcb662b72f59f9ca7775061e7a6af4e
--- /dev/null
+++ b/public_test_cases/p02213/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+631
+4#2
+516
diff --git a/public_test_cases/p02213/input.1.txt b/public_test_cases/p02213/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bb15c301bcb662b72f59f9ca7775061e7a6af4e
--- /dev/null
+++ b/public_test_cases/p02213/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+631
+4#2
+516
diff --git a/public_test_cases/p02213/output.0.txt b/public_test_cases/p02213/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p02213/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p02213/output.1.txt b/public_test_cases/p02213/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p02213/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p02214/input.0.txt b/public_test_cases/p02214/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..223f1d6ad7ce1863fecce9b82eac90c927dd8b32
--- /dev/null
+++ b/public_test_cases/p02214/input.0.txt
@@ -0,0 +1,10 @@
+4 4
+1 2 1
+1 3 8
+3 2 0
+1 4 7
+4
+1 2 1
+2 1 2
+1 4 1
+3 4 1073741824
diff --git a/public_test_cases/p02214/output.0.txt b/public_test_cases/p02214/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c937a1aed0144c60ef3bb76e788f23db4bb2618
--- /dev/null
+++ b/public_test_cases/p02214/output.0.txt
@@ -0,0 +1,4 @@
+1
+8
+7
+-1
diff --git a/public_test_cases/p02215/input.0.txt b/public_test_cases/p02215/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02215/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02215/input.1.txt b/public_test_cases/p02215/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02215/input.1.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02215/output.0.txt b/public_test_cases/p02215/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02215/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02215/output.1.txt b/public_test_cases/p02215/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02215/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02216/input.0.txt b/public_test_cases/p02216/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p02216/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p02216/input.1.txt b/public_test_cases/p02216/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p02216/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p02216/output.0.txt b/public_test_cases/p02216/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p02216/output.0.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p02216/output.1.txt b/public_test_cases/p02216/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p02216/output.1.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p02217/input.0.txt b/public_test_cases/p02217/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f247925990be71dd414fd747d21262272a20c752
--- /dev/null
+++ b/public_test_cases/p02217/input.0.txt
@@ -0,0 +1,6 @@
+4
+1 2
+1 3
+3 4
+0 3 2 0
+-3 4 5 -1
diff --git a/public_test_cases/p02217/input.1.txt b/public_test_cases/p02217/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f247925990be71dd414fd747d21262272a20c752
--- /dev/null
+++ b/public_test_cases/p02217/input.1.txt
@@ -0,0 +1,6 @@
+4
+1 2
+1 3
+3 4
+0 3 2 0
+-3 4 5 -1
diff --git a/public_test_cases/p02217/output.0.txt b/public_test_cases/p02217/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02217/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02217/output.1.txt b/public_test_cases/p02217/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02217/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02218/input.0.txt b/public_test_cases/p02218/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13453c05471caed495718f15c05bb9d6e93a5d81
--- /dev/null
+++ b/public_test_cases/p02218/input.0.txt
@@ -0,0 +1,12 @@
+6
+2 4 1
+1 2 1
+4 6 1
+2 3 1
+4 5 1
+5
+2 5
+2 3
+1 2
+3 5
+1 4
diff --git a/public_test_cases/p02218/output.0.txt b/public_test_cases/p02218/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..858f48993ba25596d3cc1c8fea3896c0cedb6f7d
--- /dev/null
+++ b/public_test_cases/p02218/output.0.txt
@@ -0,0 +1,5 @@
+1 6
+2 3 4
+3 1 3 4
+1 5
+2 1 3
diff --git a/public_test_cases/p02219/input.0.txt b/public_test_cases/p02219/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b814787fb77973e07520a4930b66174dd5663e24
--- /dev/null
+++ b/public_test_cases/p02219/input.0.txt
@@ -0,0 +1,2 @@
+2 4 0
+2 4
diff --git a/public_test_cases/p02219/input.1.txt b/public_test_cases/p02219/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b814787fb77973e07520a4930b66174dd5663e24
--- /dev/null
+++ b/public_test_cases/p02219/input.1.txt
@@ -0,0 +1,2 @@
+2 4 0
+2 4
diff --git a/public_test_cases/p02219/output.0.txt b/public_test_cases/p02219/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02219/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02219/output.1.txt b/public_test_cases/p02219/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02219/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02220/input.0.txt b/public_test_cases/p02220/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..234ae7c2facdd15547f4ab1aa5c0217c6038381d
--- /dev/null
+++ b/public_test_cases/p02220/input.0.txt
@@ -0,0 +1,2 @@
+7
+0 4 2 3 6 5 1
diff --git a/public_test_cases/p02220/input.1.txt b/public_test_cases/p02220/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..234ae7c2facdd15547f4ab1aa5c0217c6038381d
--- /dev/null
+++ b/public_test_cases/p02220/input.1.txt
@@ -0,0 +1,2 @@
+7
+0 4 2 3 6 5 1
diff --git a/public_test_cases/p02220/output.0.txt b/public_test_cases/p02220/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5e30b037073aeba5656fdabcc2709f2cbc104d1
--- /dev/null
+++ b/public_test_cases/p02220/output.0.txt
@@ -0,0 +1,2 @@
+1
+1 0100101
diff --git a/public_test_cases/p02220/output.1.txt b/public_test_cases/p02220/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5e30b037073aeba5656fdabcc2709f2cbc104d1
--- /dev/null
+++ b/public_test_cases/p02220/output.1.txt
@@ -0,0 +1,2 @@
+1
+1 0100101
diff --git a/public_test_cases/p02221/input.0.txt b/public_test_cases/p02221/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37fc80f27dee150830cf4d5682e0daaa406cae06
--- /dev/null
+++ b/public_test_cases/p02221/input.0.txt
@@ -0,0 +1,3 @@
+2
+100
+1 4 2 3
diff --git a/public_test_cases/p02221/input.1.txt b/public_test_cases/p02221/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37fc80f27dee150830cf4d5682e0daaa406cae06
--- /dev/null
+++ b/public_test_cases/p02221/input.1.txt
@@ -0,0 +1,3 @@
+2
+100
+1 4 2 3
diff --git a/public_test_cases/p02221/output.0.txt b/public_test_cases/p02221/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..099b7d91c923c6fc0fdaaea4be224d5d9d4fcfca
--- /dev/null
+++ b/public_test_cases/p02221/output.0.txt
@@ -0,0 +1,4 @@
+1
+2
+1
+2
diff --git a/public_test_cases/p02221/output.1.txt b/public_test_cases/p02221/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..099b7d91c923c6fc0fdaaea4be224d5d9d4fcfca
--- /dev/null
+++ b/public_test_cases/p02221/output.1.txt
@@ -0,0 +1,4 @@
+1
+2
+1
+2
diff --git a/public_test_cases/p02222/input.0.txt b/public_test_cases/p02222/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44d7b521886fc41cd0bffdcf57bcc5f129f001d8
--- /dev/null
+++ b/public_test_cases/p02222/input.0.txt
@@ -0,0 +1,7 @@
+7
+1 3
+2 3
+3 4
+4 5
+4 6
+6 7
diff --git a/public_test_cases/p02222/input.1.txt b/public_test_cases/p02222/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44d7b521886fc41cd0bffdcf57bcc5f129f001d8
--- /dev/null
+++ b/public_test_cases/p02222/input.1.txt
@@ -0,0 +1,7 @@
+7
+1 3
+2 3
+3 4
+4 5
+4 6
+6 7
diff --git a/public_test_cases/p02222/output.0.txt b/public_test_cases/p02222/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3624cbbf71920ff538ebae5037b8745687a00235
--- /dev/null
+++ b/public_test_cases/p02222/output.0.txt
@@ -0,0 +1 @@
+1100111
diff --git a/public_test_cases/p02222/output.1.txt b/public_test_cases/p02222/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3624cbbf71920ff538ebae5037b8745687a00235
--- /dev/null
+++ b/public_test_cases/p02222/output.1.txt
@@ -0,0 +1 @@
+1100111
diff --git a/public_test_cases/p02223/input.0.txt b/public_test_cases/p02223/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02223/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02223/input.1.txt b/public_test_cases/p02223/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02223/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02223/output.0.txt b/public_test_cases/p02223/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..371b620c62ecc0622b5a29bc5dac3f6e0581465c
--- /dev/null
+++ b/public_test_cases/p02223/output.0.txt
@@ -0,0 +1,3 @@
+2
+0
+11
diff --git a/public_test_cases/p02223/output.1.txt b/public_test_cases/p02223/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..371b620c62ecc0622b5a29bc5dac3f6e0581465c
--- /dev/null
+++ b/public_test_cases/p02223/output.1.txt
@@ -0,0 +1,3 @@
+2
+0
+11
diff --git a/public_test_cases/p02224/input.1.txt b/public_test_cases/p02224/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02224/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02224/output.1.txt b/public_test_cases/p02224/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02224/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02226/input.1.txt b/public_test_cases/p02226/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02226/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02226/output.1.txt b/public_test_cases/p02226/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02226/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02227/input.1.txt b/public_test_cases/p02227/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02227/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02227/output.1.txt b/public_test_cases/p02227/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02227/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02233/input.0.txt b/public_test_cases/p02233/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02233/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02233/input.1.txt b/public_test_cases/p02233/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02233/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02233/output.0.txt b/public_test_cases/p02233/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02233/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02233/output.1.txt b/public_test_cases/p02233/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02233/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02234/input.0.txt b/public_test_cases/p02234/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98861b5e4533a1ce6e3cc6bee6ad71fc877a9d84
--- /dev/null
+++ b/public_test_cases/p02234/input.0.txt
@@ -0,0 +1,7 @@
+6
+30 35
+35 15
+15 5
+5 10
+10 20
+20 25
diff --git a/public_test_cases/p02234/input.1.txt b/public_test_cases/p02234/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98861b5e4533a1ce6e3cc6bee6ad71fc877a9d84
--- /dev/null
+++ b/public_test_cases/p02234/input.1.txt
@@ -0,0 +1,7 @@
+6
+30 35
+35 15
+15 5
+5 10
+10 20
+20 25
diff --git a/public_test_cases/p02234/output.0.txt b/public_test_cases/p02234/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..738a78fb56c7d6ba7845ba688ec256eb35787e3f
--- /dev/null
+++ b/public_test_cases/p02234/output.0.txt
@@ -0,0 +1 @@
+15125
diff --git a/public_test_cases/p02234/output.1.txt b/public_test_cases/p02234/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..738a78fb56c7d6ba7845ba688ec256eb35787e3f
--- /dev/null
+++ b/public_test_cases/p02234/output.1.txt
@@ -0,0 +1 @@
+15125
diff --git a/public_test_cases/p02235/input.0.txt b/public_test_cases/p02235/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ffd08df43a313875dccaa34581b91d5d4f7a61e
--- /dev/null
+++ b/public_test_cases/p02235/input.0.txt
@@ -0,0 +1,7 @@
+3
+abcbdab
+bdcaba
+abc
+abc
+abc
+bc
diff --git a/public_test_cases/p02235/input.1.txt b/public_test_cases/p02235/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ffd08df43a313875dccaa34581b91d5d4f7a61e
--- /dev/null
+++ b/public_test_cases/p02235/input.1.txt
@@ -0,0 +1,7 @@
+3
+abcbdab
+bdcaba
+abc
+abc
+abc
+bc
diff --git a/public_test_cases/p02235/output.0.txt b/public_test_cases/p02235/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d184fef8644fcfa658534369afa9ebb5894d4af1
--- /dev/null
+++ b/public_test_cases/p02235/output.0.txt
@@ -0,0 +1,3 @@
+4
+3
+2
diff --git a/public_test_cases/p02235/output.1.txt b/public_test_cases/p02235/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d184fef8644fcfa658534369afa9ebb5894d4af1
--- /dev/null
+++ b/public_test_cases/p02235/output.1.txt
@@ -0,0 +1,3 @@
+4
+3
+2
diff --git a/public_test_cases/p02236/input.0.txt b/public_test_cases/p02236/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c2db02dbc00dfffeaebfbaef8921c8906b4a269
--- /dev/null
+++ b/public_test_cases/p02236/input.0.txt
@@ -0,0 +1,3 @@
+5
+0.1500 0.1000 0.0500 0.1000 0.2000
+0.0500 0.1000 0.0500 0.0500 0.0500 0.1000
diff --git a/public_test_cases/p02236/input.1.txt b/public_test_cases/p02236/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c2db02dbc00dfffeaebfbaef8921c8906b4a269
--- /dev/null
+++ b/public_test_cases/p02236/input.1.txt
@@ -0,0 +1,3 @@
+5
+0.1500 0.1000 0.0500 0.1000 0.2000
+0.0500 0.1000 0.0500 0.0500 0.0500 0.1000
diff --git a/public_test_cases/p02236/input.2.txt b/public_test_cases/p02236/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6305e6739f1a38e56931ea4b683242bddcd0947a
--- /dev/null
+++ b/public_test_cases/p02236/input.2.txt
@@ -0,0 +1,3 @@
+7
+0.0400 0.0600 0.0800 0.0200 0.1000 0.1200 0.1400
+0.0600 0.0600 0.0600 0.0600 0.0500 0.0500 0.0500 0.0500
diff --git a/public_test_cases/p02236/output.0.txt b/public_test_cases/p02236/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4aecd67c58e34b073547683ce7e167f7f6060da8
--- /dev/null
+++ b/public_test_cases/p02236/output.0.txt
@@ -0,0 +1 @@
+2.75000000
diff --git a/public_test_cases/p02236/output.1.txt b/public_test_cases/p02236/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4aecd67c58e34b073547683ce7e167f7f6060da8
--- /dev/null
+++ b/public_test_cases/p02236/output.1.txt
@@ -0,0 +1 @@
+2.75000000
diff --git a/public_test_cases/p02236/output.2.txt b/public_test_cases/p02236/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47ca16601ffa43ca8940db7ab7b3c5d808c21e2d
--- /dev/null
+++ b/public_test_cases/p02236/output.2.txt
@@ -0,0 +1 @@
+3.12000000
diff --git a/public_test_cases/p02237/input.0.txt b/public_test_cases/p02237/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12e61a4cb63bc99191a767a085b131ce90d64234
--- /dev/null
+++ b/public_test_cases/p02237/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 2 2 4
+2 1 4
+3 0
+4 1 3
diff --git a/public_test_cases/p02237/input.1.txt b/public_test_cases/p02237/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12e61a4cb63bc99191a767a085b131ce90d64234
--- /dev/null
+++ b/public_test_cases/p02237/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 2 2 4
+2 1 4
+3 0
+4 1 3
diff --git a/public_test_cases/p02237/output.0.txt b/public_test_cases/p02237/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e58b90c8c8dde6c0cc6c51a409653c5261a7eb0b
--- /dev/null
+++ b/public_test_cases/p02237/output.0.txt
@@ -0,0 +1,4 @@
+0 1 0 1
+0 0 0 1
+0 0 0 0
+0 0 1 0
diff --git a/public_test_cases/p02237/output.1.txt b/public_test_cases/p02237/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e58b90c8c8dde6c0cc6c51a409653c5261a7eb0b
--- /dev/null
+++ b/public_test_cases/p02237/output.1.txt
@@ -0,0 +1,4 @@
+0 1 0 1
+0 0 0 1
+0 0 0 0
+0 0 1 0
diff --git a/public_test_cases/p02238/input.0.txt b/public_test_cases/p02238/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21cbbc4f61136ab0a9fc9d6efbb49f5d9afa66aa
--- /dev/null
+++ b/public_test_cases/p02238/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 1 2
+2 1 4
+3 0
+4 1 3
diff --git a/public_test_cases/p02238/input.1.txt b/public_test_cases/p02238/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21cbbc4f61136ab0a9fc9d6efbb49f5d9afa66aa
--- /dev/null
+++ b/public_test_cases/p02238/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 1 2
+2 1 4
+3 0
+4 1 3
diff --git a/public_test_cases/p02238/input.2.txt b/public_test_cases/p02238/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ebc47e489d61007c063b378468b26e711258670
--- /dev/null
+++ b/public_test_cases/p02238/input.2.txt
@@ -0,0 +1,7 @@
+6
+1 2 2 3
+2 2 3 4
+3 1 5
+4 1 6
+5 1 6
+6 0
diff --git a/public_test_cases/p02238/output.0.txt b/public_test_cases/p02238/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d68c13822bc3b14544ead4b6e8d0bd5354e5d60
--- /dev/null
+++ b/public_test_cases/p02238/output.0.txt
@@ -0,0 +1,4 @@
+1 1 8
+2 2 7
+3 4 5
+4 3 6
diff --git a/public_test_cases/p02238/output.1.txt b/public_test_cases/p02238/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d68c13822bc3b14544ead4b6e8d0bd5354e5d60
--- /dev/null
+++ b/public_test_cases/p02238/output.1.txt
@@ -0,0 +1,4 @@
+1 1 8
+2 2 7
+3 4 5
+4 3 6
diff --git a/public_test_cases/p02238/output.2.txt b/public_test_cases/p02238/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f56272ea6c343f8dfa21c9d81bee37b27f056430
--- /dev/null
+++ b/public_test_cases/p02238/output.2.txt
@@ -0,0 +1,6 @@
+1 1 12
+2 2 11
+3 3 8
+4 9 10
+5 4 7
+6 5 6
diff --git a/public_test_cases/p02239/input.0.txt b/public_test_cases/p02239/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12e61a4cb63bc99191a767a085b131ce90d64234
--- /dev/null
+++ b/public_test_cases/p02239/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 2 2 4
+2 1 4
+3 0
+4 1 3
diff --git a/public_test_cases/p02239/input.1.txt b/public_test_cases/p02239/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12e61a4cb63bc99191a767a085b131ce90d64234
--- /dev/null
+++ b/public_test_cases/p02239/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 2 2 4
+2 1 4
+3 0
+4 1 3
diff --git a/public_test_cases/p02239/output.0.txt b/public_test_cases/p02239/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..308004b61ec8ffdc66dd57201d4cbee121b1b6ac
--- /dev/null
+++ b/public_test_cases/p02239/output.0.txt
@@ -0,0 +1,4 @@
+1 0
+2 1
+3 2
+4 1
diff --git a/public_test_cases/p02239/output.1.txt b/public_test_cases/p02239/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..308004b61ec8ffdc66dd57201d4cbee121b1b6ac
--- /dev/null
+++ b/public_test_cases/p02239/output.1.txt
@@ -0,0 +1,4 @@
+1 0
+2 1
+3 2
+4 1
diff --git a/public_test_cases/p02240/input.0.txt b/public_test_cases/p02240/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df34c2c72deb205d147847155604ca6974aa84e
--- /dev/null
+++ b/public_test_cases/p02240/input.0.txt
@@ -0,0 +1,14 @@
+10 9
+0 1
+0 2
+3 4
+5 7
+5 6
+6 7
+6 8
+7 8
+8 9
+3
+0 1
+5 9
+1 3
diff --git a/public_test_cases/p02240/input.1.txt b/public_test_cases/p02240/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df34c2c72deb205d147847155604ca6974aa84e
--- /dev/null
+++ b/public_test_cases/p02240/input.1.txt
@@ -0,0 +1,14 @@
+10 9
+0 1
+0 2
+3 4
+5 7
+5 6
+6 7
+6 8
+7 8
+8 9
+3
+0 1
+5 9
+1 3
diff --git a/public_test_cases/p02240/output.0.txt b/public_test_cases/p02240/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07d92f55e50e8b2e1dc8d6ab8474727be13423d2
--- /dev/null
+++ b/public_test_cases/p02240/output.0.txt
@@ -0,0 +1,3 @@
+yes
+yes
+no
diff --git a/public_test_cases/p02240/output.1.txt b/public_test_cases/p02240/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07d92f55e50e8b2e1dc8d6ab8474727be13423d2
--- /dev/null
+++ b/public_test_cases/p02240/output.1.txt
@@ -0,0 +1,3 @@
+yes
+yes
+no
diff --git a/public_test_cases/p02241/input.0.txt b/public_test_cases/p02241/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdf23658a6a48321bf7056687ae270429f4429bf
--- /dev/null
+++ b/public_test_cases/p02241/input.0.txt
@@ -0,0 +1,6 @@
+5
+ -1 2 3 1 -1
+ 2 -1 -1 4 -1
+ 3 -1 -1 1 1
+ 1 4 1 -1 3
+ -1 -1 1 3 -1
diff --git a/public_test_cases/p02241/output.0.txt b/public_test_cases/p02241/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02241/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02242/input.0.txt b/public_test_cases/p02242/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2363053ff9085754fd2d0a3b03b891a17a8be4b7
--- /dev/null
+++ b/public_test_cases/p02242/input.0.txt
@@ -0,0 +1,6 @@
+5
+0 3 2 3 3 1 1 2
+1 2 0 2 3 4
+2 3 0 3 3 1 4 1
+3 4 2 1 0 1 1 4 4 3
+4 2 2 1 3 3
diff --git a/public_test_cases/p02242/output.0.txt b/public_test_cases/p02242/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8710059f906056bef3f3f48235cbd1a4f1c50402
--- /dev/null
+++ b/public_test_cases/p02242/output.0.txt
@@ -0,0 +1,5 @@
+0 0
+1 2
+2 2
+3 1
+4 3
diff --git a/public_test_cases/p02243/input.0.txt b/public_test_cases/p02243/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2363053ff9085754fd2d0a3b03b891a17a8be4b7
--- /dev/null
+++ b/public_test_cases/p02243/input.0.txt
@@ -0,0 +1,6 @@
+5
+0 3 2 3 3 1 1 2
+1 2 0 2 3 4
+2 3 0 3 3 1 4 1
+3 4 2 1 0 1 1 4 4 3
+4 2 2 1 3 3
diff --git a/public_test_cases/p02243/input.1.txt b/public_test_cases/p02243/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2363053ff9085754fd2d0a3b03b891a17a8be4b7
--- /dev/null
+++ b/public_test_cases/p02243/input.1.txt
@@ -0,0 +1,6 @@
+5
+0 3 2 3 3 1 1 2
+1 2 0 2 3 4
+2 3 0 3 3 1 4 1
+3 4 2 1 0 1 1 4 4 3
+4 2 2 1 3 3
diff --git a/public_test_cases/p02243/output.0.txt b/public_test_cases/p02243/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8710059f906056bef3f3f48235cbd1a4f1c50402
--- /dev/null
+++ b/public_test_cases/p02243/output.0.txt
@@ -0,0 +1,5 @@
+0 0
+1 2
+2 2
+3 1
+4 3
diff --git a/public_test_cases/p02243/output.1.txt b/public_test_cases/p02243/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8710059f906056bef3f3f48235cbd1a4f1c50402
--- /dev/null
+++ b/public_test_cases/p02243/output.1.txt
@@ -0,0 +1,5 @@
+0 0
+1 2
+2 2
+3 1
+4 3
diff --git a/public_test_cases/p02244/input.0.txt b/public_test_cases/p02244/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6134e1a339a770a16b91606d899068deaf5b0bdb
--- /dev/null
+++ b/public_test_cases/p02244/input.0.txt
@@ -0,0 +1,3 @@
+2
+2 2
+5 3
diff --git a/public_test_cases/p02244/input.1.txt b/public_test_cases/p02244/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6134e1a339a770a16b91606d899068deaf5b0bdb
--- /dev/null
+++ b/public_test_cases/p02244/input.1.txt
@@ -0,0 +1,3 @@
+2
+2 2
+5 3
diff --git a/public_test_cases/p02244/output.0.txt b/public_test_cases/p02244/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3d775933f43060952b4293eacd60cfd894cdebb
--- /dev/null
+++ b/public_test_cases/p02244/output.0.txt
@@ -0,0 +1,8 @@
+......Q.
+Q.......
+..Q.....
+.......Q
+.....Q..
+...Q....
+.Q......
+....Q...
diff --git a/public_test_cases/p02244/output.1.txt b/public_test_cases/p02244/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3d775933f43060952b4293eacd60cfd894cdebb
--- /dev/null
+++ b/public_test_cases/p02244/output.1.txt
@@ -0,0 +1,8 @@
+......Q.
+Q.......
+..Q.....
+.......Q
+.....Q..
+...Q....
+.Q......
+....Q...
diff --git a/public_test_cases/p02245/input.0.txt b/public_test_cases/p02245/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5ffad55e689c0cd55479185a848b2eda345ab86
--- /dev/null
+++ b/public_test_cases/p02245/input.0.txt
@@ -0,0 +1,3 @@
+1 3 0
+4 2 5
+7 8 6
diff --git a/public_test_cases/p02245/input.1.txt b/public_test_cases/p02245/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5ffad55e689c0cd55479185a848b2eda345ab86
--- /dev/null
+++ b/public_test_cases/p02245/input.1.txt
@@ -0,0 +1,3 @@
+1 3 0
+4 2 5
+7 8 6
diff --git a/public_test_cases/p02245/output.0.txt b/public_test_cases/p02245/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02245/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02245/output.1.txt b/public_test_cases/p02245/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02245/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02246/input.0.txt b/public_test_cases/p02246/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48f1892cac825c5eefcd14e2f6074c1ee009af5f
--- /dev/null
+++ b/public_test_cases/p02246/input.0.txt
@@ -0,0 +1,4 @@
+1 2 3 4
+6 7 8 0
+5 10 11 12
+9 13 14 15
diff --git a/public_test_cases/p02246/input.1.txt b/public_test_cases/p02246/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48f1892cac825c5eefcd14e2f6074c1ee009af5f
--- /dev/null
+++ b/public_test_cases/p02246/input.1.txt
@@ -0,0 +1,4 @@
+1 2 3 4
+6 7 8 0
+5 10 11 12
+9 13 14 15
diff --git a/public_test_cases/p02246/output.0.txt b/public_test_cases/p02246/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02246/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02246/output.1.txt b/public_test_cases/p02246/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02246/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02247/input.0.txt b/public_test_cases/p02247/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e5c92804a71803efca1371afa09b236fa91efb1
--- /dev/null
+++ b/public_test_cases/p02247/input.0.txt
@@ -0,0 +1,2 @@
+aabaaa
+aa
diff --git a/public_test_cases/p02247/input.1.txt b/public_test_cases/p02247/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e5c92804a71803efca1371afa09b236fa91efb1
--- /dev/null
+++ b/public_test_cases/p02247/input.1.txt
@@ -0,0 +1,2 @@
+aabaaa
+aa
diff --git a/public_test_cases/p02247/input.2.txt b/public_test_cases/p02247/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3980dc87db11b185a5ea00ffd7c684242201c178
--- /dev/null
+++ b/public_test_cases/p02247/input.2.txt
@@ -0,0 +1,2 @@
+xyzz
+yz
diff --git a/public_test_cases/p02247/output.0.txt b/public_test_cases/p02247/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5826f5ccc726de50bc8f88f04a9c688c007e216f
--- /dev/null
+++ b/public_test_cases/p02247/output.0.txt
@@ -0,0 +1,3 @@
+0
+3
+4
diff --git a/public_test_cases/p02247/output.1.txt b/public_test_cases/p02247/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5826f5ccc726de50bc8f88f04a9c688c007e216f
--- /dev/null
+++ b/public_test_cases/p02247/output.1.txt
@@ -0,0 +1,3 @@
+0
+3
+4
diff --git a/public_test_cases/p02247/output.2.txt b/public_test_cases/p02247/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02247/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02248/input.0.txt b/public_test_cases/p02248/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e5c92804a71803efca1371afa09b236fa91efb1
--- /dev/null
+++ b/public_test_cases/p02248/input.0.txt
@@ -0,0 +1,2 @@
+aabaaa
+aa
diff --git a/public_test_cases/p02248/input.1.txt b/public_test_cases/p02248/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3980dc87db11b185a5ea00ffd7c684242201c178
--- /dev/null
+++ b/public_test_cases/p02248/input.1.txt
@@ -0,0 +1,2 @@
+xyzz
+yz
diff --git a/public_test_cases/p02248/input.2.txt b/public_test_cases/p02248/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e5c92804a71803efca1371afa09b236fa91efb1
--- /dev/null
+++ b/public_test_cases/p02248/input.2.txt
@@ -0,0 +1,2 @@
+aabaaa
+aa
diff --git a/public_test_cases/p02248/output.0.txt b/public_test_cases/p02248/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5826f5ccc726de50bc8f88f04a9c688c007e216f
--- /dev/null
+++ b/public_test_cases/p02248/output.0.txt
@@ -0,0 +1,3 @@
+0
+3
+4
diff --git a/public_test_cases/p02248/output.1.txt b/public_test_cases/p02248/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02248/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02248/output.2.txt b/public_test_cases/p02248/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5826f5ccc726de50bc8f88f04a9c688c007e216f
--- /dev/null
+++ b/public_test_cases/p02248/output.2.txt
@@ -0,0 +1,3 @@
+0
+3
+4
diff --git a/public_test_cases/p02249/input.0.txt b/public_test_cases/p02249/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ebdebe36cc53a56fef2d1765f81b2726f02fafa
--- /dev/null
+++ b/public_test_cases/p02249/input.0.txt
@@ -0,0 +1,9 @@
+4 5
+00010
+00101
+00010
+00100
+3 2
+10
+01
+10
diff --git a/public_test_cases/p02249/input.1.txt b/public_test_cases/p02249/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ebdebe36cc53a56fef2d1765f81b2726f02fafa
--- /dev/null
+++ b/public_test_cases/p02249/input.1.txt
@@ -0,0 +1,9 @@
+4 5
+00010
+00101
+00010
+00100
+3 2
+10
+01
+10
diff --git a/public_test_cases/p02249/output.0.txt b/public_test_cases/p02249/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53db4a5d60aa5daa774bfda02ce7e1925287e793
--- /dev/null
+++ b/public_test_cases/p02249/output.0.txt
@@ -0,0 +1,2 @@
+0 3
+1 2
diff --git a/public_test_cases/p02249/output.1.txt b/public_test_cases/p02249/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53db4a5d60aa5daa774bfda02ce7e1925287e793
--- /dev/null
+++ b/public_test_cases/p02249/output.1.txt
@@ -0,0 +1,2 @@
+0 3
+1 2
diff --git a/public_test_cases/p02250/input.0.txt b/public_test_cases/p02250/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c3680fd466d55baba67ae649d6df8934f666454
--- /dev/null
+++ b/public_test_cases/p02250/input.0.txt
@@ -0,0 +1,6 @@
+aabaaa
+4
+aa
+ba
+bb
+xyz
diff --git a/public_test_cases/p02250/input.1.txt b/public_test_cases/p02250/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c3680fd466d55baba67ae649d6df8934f666454
--- /dev/null
+++ b/public_test_cases/p02250/input.1.txt
@@ -0,0 +1,6 @@
+aabaaa
+4
+aa
+ba
+bb
+xyz
diff --git a/public_test_cases/p02250/output.0.txt b/public_test_cases/p02250/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9ff83f194985daf47a3f5f8160f991b8feab351
--- /dev/null
+++ b/public_test_cases/p02250/output.0.txt
@@ -0,0 +1,4 @@
+1
+1
+0
+0
diff --git a/public_test_cases/p02250/output.1.txt b/public_test_cases/p02250/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9ff83f194985daf47a3f5f8160f991b8feab351
--- /dev/null
+++ b/public_test_cases/p02250/output.1.txt
@@ -0,0 +1,4 @@
+1
+1
+0
+0
diff --git a/public_test_cases/p02251/input.0.txt b/public_test_cases/p02251/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02251/input.0.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02251/input.1.txt b/public_test_cases/p02251/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02251/input.1.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02251/input.2.txt b/public_test_cases/p02251/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67c05795893f2a21a02ebf48fbed2cbe2a9db9c8
--- /dev/null
+++ b/public_test_cases/p02251/input.2.txt
@@ -0,0 +1 @@
+54321
diff --git a/public_test_cases/p02251/output.0.txt b/public_test_cases/p02251/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02251/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02251/output.1.txt b/public_test_cases/p02251/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02251/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02251/output.2.txt b/public_test_cases/p02251/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..491c450e95ca77836ecdc38db55738bc7983edb6
--- /dev/null
+++ b/public_test_cases/p02251/output.2.txt
@@ -0,0 +1 @@
+2175
diff --git a/public_test_cases/p02252/input.0.txt b/public_test_cases/p02252/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8218dc7e9071f6a568508168fe371f858d820316
--- /dev/null
+++ b/public_test_cases/p02252/input.0.txt
@@ -0,0 +1,4 @@
+3 50
+60 10
+100 20
+120 30
diff --git a/public_test_cases/p02252/input.1.txt b/public_test_cases/p02252/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f303e2951e7f747b6aaf90156eec10fdf0e411d8
--- /dev/null
+++ b/public_test_cases/p02252/input.1.txt
@@ -0,0 +1,2 @@
+1 100
+100000 100000
diff --git a/public_test_cases/p02252/input.2.txt b/public_test_cases/p02252/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8218dc7e9071f6a568508168fe371f858d820316
--- /dev/null
+++ b/public_test_cases/p02252/input.2.txt
@@ -0,0 +1,4 @@
+3 50
+60 10
+100 20
+120 30
diff --git a/public_test_cases/p02252/input.3.txt b/public_test_cases/p02252/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dd21d66ef7cac6d1f6744ef688f037afa09bda1
--- /dev/null
+++ b/public_test_cases/p02252/input.3.txt
@@ -0,0 +1,4 @@
+3 50
+60 13
+100 23
+120 33
diff --git a/public_test_cases/p02252/output.0.txt b/public_test_cases/p02252/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb08bc0b0bc3abec5c48e80643fc18fb4ced16a0
--- /dev/null
+++ b/public_test_cases/p02252/output.0.txt
@@ -0,0 +1 @@
+240
diff --git a/public_test_cases/p02252/output.1.txt b/public_test_cases/p02252/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02252/output.1.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02252/output.2.txt b/public_test_cases/p02252/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb08bc0b0bc3abec5c48e80643fc18fb4ced16a0
--- /dev/null
+++ b/public_test_cases/p02252/output.2.txt
@@ -0,0 +1 @@
+240
diff --git a/public_test_cases/p02252/output.3.txt b/public_test_cases/p02252/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a67262d1cb5aa049dd9330431f1abe42666c9f45
--- /dev/null
+++ b/public_test_cases/p02252/output.3.txt
@@ -0,0 +1 @@
+210.90909091
diff --git a/public_test_cases/p02253/input.0.txt b/public_test_cases/p02253/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..081b70d5d7c5cb0a9e170100ec12a192065ef2fc
--- /dev/null
+++ b/public_test_cases/p02253/input.0.txt
@@ -0,0 +1,6 @@
+5
+1 2
+3 9
+3 5
+5 9
+6 8
diff --git a/public_test_cases/p02253/input.1.txt b/public_test_cases/p02253/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..081b70d5d7c5cb0a9e170100ec12a192065ef2fc
--- /dev/null
+++ b/public_test_cases/p02253/input.1.txt
@@ -0,0 +1,6 @@
+5
+1 2
+3 9
+3 5
+5 9
+6 8
diff --git a/public_test_cases/p02253/input.2.txt b/public_test_cases/p02253/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9bc75ec8c30854877c396cb380e765719cd0776
--- /dev/null
+++ b/public_test_cases/p02253/input.2.txt
@@ -0,0 +1,4 @@
+3
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p02253/input.3.txt b/public_test_cases/p02253/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..161d7759143d8f8e6c72056a39ff3ec113029dbc
--- /dev/null
+++ b/public_test_cases/p02253/input.3.txt
@@ -0,0 +1,4 @@
+3
+1 5
+3 4
+2 5
diff --git a/public_test_cases/p02253/output.0.txt b/public_test_cases/p02253/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02253/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02253/output.1.txt b/public_test_cases/p02253/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02253/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02253/output.2.txt b/public_test_cases/p02253/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02253/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02253/output.3.txt b/public_test_cases/p02253/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02253/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02254/input.0.txt b/public_test_cases/p02254/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..011bc89a518400bfecfa398c6b40a29fdc9958fe
--- /dev/null
+++ b/public_test_cases/p02254/input.0.txt
@@ -0,0 +1 @@
+abca
diff --git a/public_test_cases/p02254/input.1.txt b/public_test_cases/p02254/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b68025345d5301abad4d9ec9166f455243a0d746
--- /dev/null
+++ b/public_test_cases/p02254/input.1.txt
@@ -0,0 +1 @@
+z
diff --git a/public_test_cases/p02254/input.2.txt b/public_test_cases/p02254/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..524ecb9d347cf0ad1b714a599ce4ee81d147e3bb
--- /dev/null
+++ b/public_test_cases/p02254/input.2.txt
@@ -0,0 +1 @@
+aaabbcccdeeeffg
diff --git a/public_test_cases/p02254/input.3.txt b/public_test_cases/p02254/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..011bc89a518400bfecfa398c6b40a29fdc9958fe
--- /dev/null
+++ b/public_test_cases/p02254/input.3.txt
@@ -0,0 +1 @@
+abca
diff --git a/public_test_cases/p02254/output.0.txt b/public_test_cases/p02254/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02254/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02254/output.1.txt b/public_test_cases/p02254/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02254/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02254/output.2.txt b/public_test_cases/p02254/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87523dd7a0632907d61799465827c3f08825fa47
--- /dev/null
+++ b/public_test_cases/p02254/output.2.txt
@@ -0,0 +1 @@
+41
diff --git a/public_test_cases/p02254/output.3.txt b/public_test_cases/p02254/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02254/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02255/input.0.txt b/public_test_cases/p02255/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205a8456f0ef1b75a5141ea4d73708d7b989e6be
--- /dev/null
+++ b/public_test_cases/p02255/input.0.txt
@@ -0,0 +1,2 @@
+6
+5 2 4 6 1 3
diff --git a/public_test_cases/p02255/input.1.txt b/public_test_cases/p02255/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02255/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02255/input.2.txt b/public_test_cases/p02255/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205a8456f0ef1b75a5141ea4d73708d7b989e6be
--- /dev/null
+++ b/public_test_cases/p02255/input.2.txt
@@ -0,0 +1,2 @@
+6
+5 2 4 6 1 3
diff --git a/public_test_cases/p02255/output.0.txt b/public_test_cases/p02255/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2240d1b14abc9c48522d671c00b21d78c10dd901
--- /dev/null
+++ b/public_test_cases/p02255/output.0.txt
@@ -0,0 +1,6 @@
+5 2 4 6 1 3
+2 5 4 6 1 3
+2 4 5 6 1 3
+2 4 5 6 1 3
+1 2 4 5 6 3
+1 2 3 4 5 6
diff --git a/public_test_cases/p02255/output.1.txt b/public_test_cases/p02255/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db087e10025c78b24a09b83df50d42d8b9b1c326
--- /dev/null
+++ b/public_test_cases/p02255/output.1.txt
@@ -0,0 +1,3 @@
+1 2 3
+1 2 3
+1 2 3
diff --git a/public_test_cases/p02255/output.2.txt b/public_test_cases/p02255/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2240d1b14abc9c48522d671c00b21d78c10dd901
--- /dev/null
+++ b/public_test_cases/p02255/output.2.txt
@@ -0,0 +1,6 @@
+5 2 4 6 1 3
+2 5 4 6 1 3
+2 4 5 6 1 3
+2 4 5 6 1 3
+1 2 4 5 6 3
+1 2 3 4 5 6
diff --git a/public_test_cases/p02256/input.0.txt b/public_test_cases/p02256/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcd42d846c5d5053e7f61db9b8f2b45e7f838bfe
--- /dev/null
+++ b/public_test_cases/p02256/input.0.txt
@@ -0,0 +1 @@
+54 20
diff --git a/public_test_cases/p02256/input.1.txt b/public_test_cases/p02256/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcd42d846c5d5053e7f61db9b8f2b45e7f838bfe
--- /dev/null
+++ b/public_test_cases/p02256/input.1.txt
@@ -0,0 +1 @@
+54 20
diff --git a/public_test_cases/p02256/input.2.txt b/public_test_cases/p02256/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a6ef46f01ad60ffe9569a7d1cda4dff5064781
--- /dev/null
+++ b/public_test_cases/p02256/input.2.txt
@@ -0,0 +1 @@
+147 105
diff --git a/public_test_cases/p02256/output.0.txt b/public_test_cases/p02256/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02256/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02256/output.1.txt b/public_test_cases/p02256/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02256/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02256/output.2.txt b/public_test_cases/p02256/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p02256/output.2.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p02257/input.0.txt b/public_test_cases/p02257/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a984100568ed886ced74081caac838e0892f8bf
--- /dev/null
+++ b/public_test_cases/p02257/input.0.txt
@@ -0,0 +1,6 @@
+5
+2
+3
+4
+5
+6
diff --git a/public_test_cases/p02257/input.1.txt b/public_test_cases/p02257/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a984100568ed886ced74081caac838e0892f8bf
--- /dev/null
+++ b/public_test_cases/p02257/input.1.txt
@@ -0,0 +1,6 @@
+5
+2
+3
+4
+5
+6
diff --git a/public_test_cases/p02257/input.2.txt b/public_test_cases/p02257/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7922d01e74551ba0e388834c7d4ab5231eecca66
--- /dev/null
+++ b/public_test_cases/p02257/input.2.txt
@@ -0,0 +1,12 @@
+11
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
diff --git a/public_test_cases/p02257/output.0.txt b/public_test_cases/p02257/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02257/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02257/output.1.txt b/public_test_cases/p02257/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02257/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02257/output.2.txt b/public_test_cases/p02257/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02257/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02258/input.0.txt b/public_test_cases/p02258/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b231bbc6465f6fbec4d372fe46b3f26a3cf39e8
--- /dev/null
+++ b/public_test_cases/p02258/input.0.txt
@@ -0,0 +1,7 @@
+6
+5
+3
+1
+3
+4
+3
diff --git a/public_test_cases/p02258/input.1.txt b/public_test_cases/p02258/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c8320cabf78ba7a2c41cb8071f73ff9f762e65b
--- /dev/null
+++ b/public_test_cases/p02258/input.1.txt
@@ -0,0 +1,4 @@
+3
+4
+3
+2
diff --git a/public_test_cases/p02258/input.2.txt b/public_test_cases/p02258/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b231bbc6465f6fbec4d372fe46b3f26a3cf39e8
--- /dev/null
+++ b/public_test_cases/p02258/input.2.txt
@@ -0,0 +1,7 @@
+6
+5
+3
+1
+3
+4
+3
diff --git a/public_test_cases/p02258/output.0.txt b/public_test_cases/p02258/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02258/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02258/output.1.txt b/public_test_cases/p02258/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02258/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02258/output.2.txt b/public_test_cases/p02258/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02258/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02259/input.0.txt b/public_test_cases/p02259/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fcc1d018350e38589cfc742f85fcb049d85187a
--- /dev/null
+++ b/public_test_cases/p02259/input.0.txt
@@ -0,0 +1,2 @@
+5
+5 3 2 4 1
diff --git a/public_test_cases/p02259/input.1.txt b/public_test_cases/p02259/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fcc1d018350e38589cfc742f85fcb049d85187a
--- /dev/null
+++ b/public_test_cases/p02259/input.1.txt
@@ -0,0 +1,2 @@
+5
+5 3 2 4 1
diff --git a/public_test_cases/p02259/input.2.txt b/public_test_cases/p02259/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205a8456f0ef1b75a5141ea4d73708d7b989e6be
--- /dev/null
+++ b/public_test_cases/p02259/input.2.txt
@@ -0,0 +1,2 @@
+6
+5 2 4 6 1 3
diff --git a/public_test_cases/p02259/output.0.txt b/public_test_cases/p02259/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e0d90d484fd4f33df6046e64b7b1d0af4144173
--- /dev/null
+++ b/public_test_cases/p02259/output.0.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5
+8
diff --git a/public_test_cases/p02259/output.1.txt b/public_test_cases/p02259/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e0d90d484fd4f33df6046e64b7b1d0af4144173
--- /dev/null
+++ b/public_test_cases/p02259/output.1.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5
+8
diff --git a/public_test_cases/p02259/output.2.txt b/public_test_cases/p02259/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..897fcd27aa2c2680517fb41bd25a4b6119c4b902
--- /dev/null
+++ b/public_test_cases/p02259/output.2.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+9
diff --git a/public_test_cases/p02260/input.0.txt b/public_test_cases/p02260/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ee26715a7f607fb8368047002f53a7ed254c54c
--- /dev/null
+++ b/public_test_cases/p02260/input.0.txt
@@ -0,0 +1,2 @@
+6
+5 6 4 2 1 3
diff --git a/public_test_cases/p02260/input.1.txt b/public_test_cases/p02260/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205a8456f0ef1b75a5141ea4d73708d7b989e6be
--- /dev/null
+++ b/public_test_cases/p02260/input.1.txt
@@ -0,0 +1,2 @@
+6
+5 2 4 6 1 3
diff --git a/public_test_cases/p02260/input.2.txt b/public_test_cases/p02260/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ee26715a7f607fb8368047002f53a7ed254c54c
--- /dev/null
+++ b/public_test_cases/p02260/input.2.txt
@@ -0,0 +1,2 @@
+6
+5 6 4 2 1 3
diff --git a/public_test_cases/p02260/output.0.txt b/public_test_cases/p02260/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec7ec13d1b6b919fc29d03d40e0d4312f5daca9d
--- /dev/null
+++ b/public_test_cases/p02260/output.0.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+4
diff --git a/public_test_cases/p02260/output.1.txt b/public_test_cases/p02260/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d31d16a9cf364a11419b901481007522d1f6ee0
--- /dev/null
+++ b/public_test_cases/p02260/output.1.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+3
diff --git a/public_test_cases/p02260/output.2.txt b/public_test_cases/p02260/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec7ec13d1b6b919fc29d03d40e0d4312f5daca9d
--- /dev/null
+++ b/public_test_cases/p02260/output.2.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+4
diff --git a/public_test_cases/p02261/input.0.txt b/public_test_cases/p02261/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae53bc9b1fa219df3f343500e921678336286b3f
--- /dev/null
+++ b/public_test_cases/p02261/input.0.txt
@@ -0,0 +1,2 @@
+5
+H4 C9 S4 D2 C3
diff --git a/public_test_cases/p02261/input.1.txt b/public_test_cases/p02261/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..859d809af202ef1c0778c6b33bb784e76b676e59
--- /dev/null
+++ b/public_test_cases/p02261/input.1.txt
@@ -0,0 +1,2 @@
+2
+S1 H1
diff --git a/public_test_cases/p02261/input.2.txt b/public_test_cases/p02261/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae53bc9b1fa219df3f343500e921678336286b3f
--- /dev/null
+++ b/public_test_cases/p02261/input.2.txt
@@ -0,0 +1,2 @@
+5
+H4 C9 S4 D2 C3
diff --git a/public_test_cases/p02261/output.0.txt b/public_test_cases/p02261/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69d030913abb1f27940eaccc6786dfda7f3167a6
--- /dev/null
+++ b/public_test_cases/p02261/output.0.txt
@@ -0,0 +1,4 @@
+D2 C3 H4 S4 C9
+Stable
+D2 C3 S4 H4 C9
+Not stable
diff --git a/public_test_cases/p02261/output.1.txt b/public_test_cases/p02261/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ba6de21807dbe9bedd1ef5a7fd3c981e5fb015d
--- /dev/null
+++ b/public_test_cases/p02261/output.1.txt
@@ -0,0 +1,4 @@
+S1 H1
+Stable
+S1 H1
+Stable
diff --git a/public_test_cases/p02261/output.2.txt b/public_test_cases/p02261/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69d030913abb1f27940eaccc6786dfda7f3167a6
--- /dev/null
+++ b/public_test_cases/p02261/output.2.txt
@@ -0,0 +1,4 @@
+D2 C3 H4 S4 C9
+Stable
+D2 C3 S4 H4 C9
+Not stable
diff --git a/public_test_cases/p02262/input.0.txt b/public_test_cases/p02262/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a9154c971cd5bdacee65b7265d6ec6aa0a9e709
--- /dev/null
+++ b/public_test_cases/p02262/input.0.txt
@@ -0,0 +1,6 @@
+5
+5
+1
+4
+3
+2
diff --git a/public_test_cases/p02262/input.1.txt b/public_test_cases/p02262/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a9154c971cd5bdacee65b7265d6ec6aa0a9e709
--- /dev/null
+++ b/public_test_cases/p02262/input.1.txt
@@ -0,0 +1,6 @@
+5
+5
+1
+4
+3
+2
diff --git a/public_test_cases/p02262/input.2.txt b/public_test_cases/p02262/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6cae439c6b7cbaa85e66510f1d02262b47f2444
--- /dev/null
+++ b/public_test_cases/p02262/input.2.txt
@@ -0,0 +1,4 @@
+3
+3
+2
+1
diff --git a/public_test_cases/p02262/output.0.txt b/public_test_cases/p02262/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9983fcea782a465f3590f6e7d8411800217dea14
--- /dev/null
+++ b/public_test_cases/p02262/output.0.txt
@@ -0,0 +1,8 @@
+2
+4 1
+3
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p02262/output.1.txt b/public_test_cases/p02262/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9983fcea782a465f3590f6e7d8411800217dea14
--- /dev/null
+++ b/public_test_cases/p02262/output.1.txt
@@ -0,0 +1,8 @@
+2
+4 1
+3
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p02262/output.2.txt b/public_test_cases/p02262/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..608d8385b26494770f35baf50211dabbd6239b48
--- /dev/null
+++ b/public_test_cases/p02262/output.2.txt
@@ -0,0 +1,6 @@
+1
+1
+3
+1
+2
+3
diff --git a/public_test_cases/p02263/input.0.txt b/public_test_cases/p02263/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2beabee3386a8619e3e7fb3394eb37c8073decdd
--- /dev/null
+++ b/public_test_cases/p02263/input.0.txt
@@ -0,0 +1 @@
+1 2 +
diff --git a/public_test_cases/p02263/input.1.txt b/public_test_cases/p02263/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9589ce113ec7587b37b11a971d1331ee944e1f1b
--- /dev/null
+++ b/public_test_cases/p02263/input.1.txt
@@ -0,0 +1 @@
+1 2 + 3 4 - *
diff --git a/public_test_cases/p02263/input.2.txt b/public_test_cases/p02263/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2beabee3386a8619e3e7fb3394eb37c8073decdd
--- /dev/null
+++ b/public_test_cases/p02263/input.2.txt
@@ -0,0 +1 @@
+1 2 +
diff --git a/public_test_cases/p02263/output.0.txt b/public_test_cases/p02263/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02263/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02263/output.1.txt b/public_test_cases/p02263/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a83d1d524c8bb033d6d2bc907474dbebd8b57b72
--- /dev/null
+++ b/public_test_cases/p02263/output.1.txt
@@ -0,0 +1 @@
+-3
diff --git a/public_test_cases/p02263/output.2.txt b/public_test_cases/p02263/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02263/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02264/input.0.txt b/public_test_cases/p02264/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a74452784cb962690d35e4160bbef001771f98c
--- /dev/null
+++ b/public_test_cases/p02264/input.0.txt
@@ -0,0 +1,6 @@
+5 100
+p1 150
+p2 80
+p3 200
+p4 350
+p5 20
diff --git a/public_test_cases/p02264/input.1.txt b/public_test_cases/p02264/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a74452784cb962690d35e4160bbef001771f98c
--- /dev/null
+++ b/public_test_cases/p02264/input.1.txt
@@ -0,0 +1,6 @@
+5 100
+p1 150
+p2 80
+p3 200
+p4 350
+p5 20
diff --git a/public_test_cases/p02264/output.0.txt b/public_test_cases/p02264/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31543f448504b3c43b496990633cf717da0a8856
--- /dev/null
+++ b/public_test_cases/p02264/output.0.txt
@@ -0,0 +1,5 @@
+p2 180
+p5 400
+p1 450
+p3 550
+p4 800
diff --git a/public_test_cases/p02264/output.1.txt b/public_test_cases/p02264/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31543f448504b3c43b496990633cf717da0a8856
--- /dev/null
+++ b/public_test_cases/p02264/output.1.txt
@@ -0,0 +1,5 @@
+p2 180
+p5 400
+p1 450
+p3 550
+p4 800
diff --git a/public_test_cases/p02265/input.0.txt b/public_test_cases/p02265/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af83e9a5397de56b65d2f6288dca3e1eb310f83b
--- /dev/null
+++ b/public_test_cases/p02265/input.0.txt
@@ -0,0 +1,8 @@
+7
+insert 5
+insert 2
+insert 3
+insert 1
+delete 3
+insert 6
+delete 5
diff --git a/public_test_cases/p02265/input.1.txt b/public_test_cases/p02265/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c09d37be4c87696493e18504ac44e580310545b
--- /dev/null
+++ b/public_test_cases/p02265/input.1.txt
@@ -0,0 +1,10 @@
+9
+insert 5
+insert 2
+insert 3
+insert 1
+delete 3
+insert 6
+delete 5
+deleteFirst
+deleteLast
diff --git a/public_test_cases/p02265/input.2.txt b/public_test_cases/p02265/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af83e9a5397de56b65d2f6288dca3e1eb310f83b
--- /dev/null
+++ b/public_test_cases/p02265/input.2.txt
@@ -0,0 +1,8 @@
+7
+insert 5
+insert 2
+insert 3
+insert 1
+delete 3
+insert 6
+delete 5
diff --git a/public_test_cases/p02265/output.0.txt b/public_test_cases/p02265/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28afdf1a3d85a83a684032b835b37589f1c00daf
--- /dev/null
+++ b/public_test_cases/p02265/output.0.txt
@@ -0,0 +1 @@
+6 1 2
diff --git a/public_test_cases/p02265/output.1.txt b/public_test_cases/p02265/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02265/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02265/output.2.txt b/public_test_cases/p02265/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28afdf1a3d85a83a684032b835b37589f1c00daf
--- /dev/null
+++ b/public_test_cases/p02265/output.2.txt
@@ -0,0 +1 @@
+6 1 2
diff --git a/public_test_cases/p02266/input.0.txt b/public_test_cases/p02266/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13b9ca8b9946a0e3bed9a073520e0a3d4d66f505
--- /dev/null
+++ b/public_test_cases/p02266/input.0.txt
@@ -0,0 +1 @@
+\\//
diff --git a/public_test_cases/p02266/input.1.txt b/public_test_cases/p02266/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f035f568b5b81e21c739c0305083b0f816f5a4a
--- /dev/null
+++ b/public_test_cases/p02266/input.1.txt
@@ -0,0 +1 @@
+\\///\_/\/\\\\/_/\\///__\\\_\\/_\/_/\
diff --git a/public_test_cases/p02266/input.2.txt b/public_test_cases/p02266/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13b9ca8b9946a0e3bed9a073520e0a3d4d66f505
--- /dev/null
+++ b/public_test_cases/p02266/input.2.txt
@@ -0,0 +1 @@
+\\//
diff --git a/public_test_cases/p02266/output.0.txt b/public_test_cases/p02266/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf7c9b7ea724575ed6d0f7ca51509237d174bbc7
--- /dev/null
+++ b/public_test_cases/p02266/output.0.txt
@@ -0,0 +1,2 @@
+4
+1 4
diff --git a/public_test_cases/p02266/output.1.txt b/public_test_cases/p02266/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e69dba870828fea2cceaa2822a59c92bb2149747
--- /dev/null
+++ b/public_test_cases/p02266/output.1.txt
@@ -0,0 +1,2 @@
+35
+5 4 2 1 19 9
diff --git a/public_test_cases/p02266/output.2.txt b/public_test_cases/p02266/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf7c9b7ea724575ed6d0f7ca51509237d174bbc7
--- /dev/null
+++ b/public_test_cases/p02266/output.2.txt
@@ -0,0 +1,2 @@
+4
+1 4
diff --git a/public_test_cases/p02267/input.0.txt b/public_test_cases/p02267/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00140762c13f313339277e6ead4994642089a16b
--- /dev/null
+++ b/public_test_cases/p02267/input.0.txt
@@ -0,0 +1,4 @@
+5
+1 2 3 4 5
+3
+3 4 1
diff --git a/public_test_cases/p02267/output.0.txt b/public_test_cases/p02267/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02267/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02268/input.0.txt b/public_test_cases/p02268/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00140762c13f313339277e6ead4994642089a16b
--- /dev/null
+++ b/public_test_cases/p02268/input.0.txt
@@ -0,0 +1,4 @@
+5
+1 2 3 4 5
+3
+3 4 1
diff --git a/public_test_cases/p02268/input.1.txt b/public_test_cases/p02268/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3012bf970c06a5ac48a769089f0e9d12b5735f82
--- /dev/null
+++ b/public_test_cases/p02268/input.1.txt
@@ -0,0 +1,4 @@
+5
+1 1 2 2 3
+2
+1 2
diff --git a/public_test_cases/p02268/input.2.txt b/public_test_cases/p02268/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1d0b8b58d48b918cb6c73c384fce5fec637059f
--- /dev/null
+++ b/public_test_cases/p02268/input.2.txt
@@ -0,0 +1,4 @@
+3
+1 2 3
+1
+5
diff --git a/public_test_cases/p02268/input.3.txt b/public_test_cases/p02268/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00140762c13f313339277e6ead4994642089a16b
--- /dev/null
+++ b/public_test_cases/p02268/input.3.txt
@@ -0,0 +1,4 @@
+5
+1 2 3 4 5
+3
+3 4 1
diff --git a/public_test_cases/p02268/output.0.txt b/public_test_cases/p02268/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02268/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02268/output.1.txt b/public_test_cases/p02268/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02268/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02268/output.2.txt b/public_test_cases/p02268/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02268/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02268/output.3.txt b/public_test_cases/p02268/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02268/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02269/input.0.txt b/public_test_cases/p02269/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f82d79326a9b0186a4b7bb6743758f5d1b6ee6ab
--- /dev/null
+++ b/public_test_cases/p02269/input.0.txt
@@ -0,0 +1,6 @@
+5
+insert A
+insert T
+insert C
+find G
+find A
diff --git a/public_test_cases/p02269/input.1.txt b/public_test_cases/p02269/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f82d79326a9b0186a4b7bb6743758f5d1b6ee6ab
--- /dev/null
+++ b/public_test_cases/p02269/input.1.txt
@@ -0,0 +1,6 @@
+5
+insert A
+insert T
+insert C
+find G
+find A
diff --git a/public_test_cases/p02269/input.2.txt b/public_test_cases/p02269/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b29313e21d46f21c876da7b6f4f99453ce50a1c
--- /dev/null
+++ b/public_test_cases/p02269/input.2.txt
@@ -0,0 +1,14 @@
+13
+insert AAA
+insert AAC
+insert AGA
+insert AGG
+insert TTT
+find AAA
+find CCC
+find CCC
+insert CCC
+find CCC
+insert T
+find TTT
+find T
diff --git a/public_test_cases/p02269/output.0.txt b/public_test_cases/p02269/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ce46e2638ea0f64c92ba9f99b358ab371d889fa
--- /dev/null
+++ b/public_test_cases/p02269/output.0.txt
@@ -0,0 +1,2 @@
+no
+yes
diff --git a/public_test_cases/p02269/output.1.txt b/public_test_cases/p02269/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ce46e2638ea0f64c92ba9f99b358ab371d889fa
--- /dev/null
+++ b/public_test_cases/p02269/output.1.txt
@@ -0,0 +1,2 @@
+no
+yes
diff --git a/public_test_cases/p02269/output.2.txt b/public_test_cases/p02269/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc1efb9cbb86ea90df7da089880728f139729b31
--- /dev/null
+++ b/public_test_cases/p02269/output.2.txt
@@ -0,0 +1,6 @@
+yes
+no
+no
+yes
+yes
+yes
diff --git a/public_test_cases/p02270/input.0.txt b/public_test_cases/p02270/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fab9fe7f56dce848d4dda55daa842c312164eef
--- /dev/null
+++ b/public_test_cases/p02270/input.0.txt
@@ -0,0 +1,6 @@
+5 3
+8
+1
+7
+3
+9
diff --git a/public_test_cases/p02270/input.1.txt b/public_test_cases/p02270/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fab9fe7f56dce848d4dda55daa842c312164eef
--- /dev/null
+++ b/public_test_cases/p02270/input.1.txt
@@ -0,0 +1,6 @@
+5 3
+8
+1
+7
+3
+9
diff --git a/public_test_cases/p02270/input.2.txt b/public_test_cases/p02270/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5aaf4caf716efa6a29f8dc29367cca34703dd1a
--- /dev/null
+++ b/public_test_cases/p02270/input.2.txt
@@ -0,0 +1,5 @@
+4 2
+1
+2
+2
+6
diff --git a/public_test_cases/p02270/output.0.txt b/public_test_cases/p02270/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02270/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02270/output.1.txt b/public_test_cases/p02270/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02270/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02270/output.2.txt b/public_test_cases/p02270/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02270/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02271/input.0.txt b/public_test_cases/p02271/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bcc15f764b4c3db9d0226018e4b4e885a4fc2a8
--- /dev/null
+++ b/public_test_cases/p02271/input.0.txt
@@ -0,0 +1,4 @@
+5
+1 5 7 10 21
+8
+2 4 17 8 22 21 100 35
diff --git a/public_test_cases/p02271/input.1.txt b/public_test_cases/p02271/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bcc15f764b4c3db9d0226018e4b4e885a4fc2a8
--- /dev/null
+++ b/public_test_cases/p02271/input.1.txt
@@ -0,0 +1,4 @@
+5
+1 5 7 10 21
+8
+2 4 17 8 22 21 100 35
diff --git a/public_test_cases/p02271/output.0.txt b/public_test_cases/p02271/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5c4817d053fb6459a62c1342c873d9fd27e8690
--- /dev/null
+++ b/public_test_cases/p02271/output.0.txt
@@ -0,0 +1,8 @@
+no
+no
+yes
+yes
+yes
+yes
+no
+no
diff --git a/public_test_cases/p02271/output.1.txt b/public_test_cases/p02271/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5c4817d053fb6459a62c1342c873d9fd27e8690
--- /dev/null
+++ b/public_test_cases/p02271/output.1.txt
@@ -0,0 +1,8 @@
+no
+no
+yes
+yes
+yes
+yes
+no
+no
diff --git a/public_test_cases/p02272/input.0.txt b/public_test_cases/p02272/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c06cd48bcde4e616f472fa63329c7710ccb1887c
--- /dev/null
+++ b/public_test_cases/p02272/input.0.txt
@@ -0,0 +1,2 @@
+10
+8 5 9 2 6 3 7 1 10 4
diff --git a/public_test_cases/p02272/input.1.txt b/public_test_cases/p02272/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c06cd48bcde4e616f472fa63329c7710ccb1887c
--- /dev/null
+++ b/public_test_cases/p02272/input.1.txt
@@ -0,0 +1,2 @@
+10
+8 5 9 2 6 3 7 1 10 4
diff --git a/public_test_cases/p02272/output.0.txt b/public_test_cases/p02272/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25ed45fc6f225f7cc1c63d25e58f8f49eeef9720
--- /dev/null
+++ b/public_test_cases/p02272/output.0.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6 7 8 9 10
+34
diff --git a/public_test_cases/p02272/output.1.txt b/public_test_cases/p02272/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25ed45fc6f225f7cc1c63d25e58f8f49eeef9720
--- /dev/null
+++ b/public_test_cases/p02272/output.1.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6 7 8 9 10
+34
diff --git a/public_test_cases/p02273/input.0.txt b/public_test_cases/p02273/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02273/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02273/input.1.txt b/public_test_cases/p02273/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02273/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02273/input.2.txt b/public_test_cases/p02273/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02273/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02273/output.0.txt b/public_test_cases/p02273/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaf6f487e3c514bfc7b0f0a367693fae51cedcfd
--- /dev/null
+++ b/public_test_cases/p02273/output.0.txt
@@ -0,0 +1,5 @@
+0.00000000 0.00000000
+33.33333333 0.00000000
+50.00000000 28.86751346
+66.66666667 0.00000000
+100.00000000 0.00000000
diff --git a/public_test_cases/p02273/output.1.txt b/public_test_cases/p02273/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d90b99ca4c39202658dc8def3233ad6efc973058
--- /dev/null
+++ b/public_test_cases/p02273/output.1.txt
@@ -0,0 +1,17 @@
+0.00000000 0.00000000
+11.11111111 0.00000000
+16.66666667 9.62250449
+22.22222222 0.00000000
+33.33333333 0.00000000
+38.88888889 9.62250449
+33.33333333 19.24500897
+44.44444444 19.24500897
+50.00000000 28.86751346
+55.55555556 19.24500897
+66.66666667 19.24500897
+61.11111111 9.62250449
+66.66666667 0.00000000
+77.77777778 0.00000000
+83.33333333 9.62250449
+88.88888889 0.00000000
+100.00000000 0.00000000
diff --git a/public_test_cases/p02273/output.2.txt b/public_test_cases/p02273/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaf6f487e3c514bfc7b0f0a367693fae51cedcfd
--- /dev/null
+++ b/public_test_cases/p02273/output.2.txt
@@ -0,0 +1,5 @@
+0.00000000 0.00000000
+33.33333333 0.00000000
+50.00000000 28.86751346
+66.66666667 0.00000000
+100.00000000 0.00000000
diff --git a/public_test_cases/p02274/input.0.txt b/public_test_cases/p02274/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dd6654beb736bfc26c53959c8bd5307cd3a892e
--- /dev/null
+++ b/public_test_cases/p02274/input.0.txt
@@ -0,0 +1,2 @@
+5
+3 5 2 1 4
diff --git a/public_test_cases/p02274/input.1.txt b/public_test_cases/p02274/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01bb4fbbea6da8df33c21f7a2e91032e7167cee8
--- /dev/null
+++ b/public_test_cases/p02274/input.1.txt
@@ -0,0 +1,2 @@
+3
+3 1 2
diff --git a/public_test_cases/p02274/input.2.txt b/public_test_cases/p02274/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dd6654beb736bfc26c53959c8bd5307cd3a892e
--- /dev/null
+++ b/public_test_cases/p02274/input.2.txt
@@ -0,0 +1,2 @@
+5
+3 5 2 1 4
diff --git a/public_test_cases/p02274/output.0.txt b/public_test_cases/p02274/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02274/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02274/output.1.txt b/public_test_cases/p02274/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02274/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02274/output.2.txt b/public_test_cases/p02274/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02274/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02275/input.0.txt b/public_test_cases/p02275/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82d4047013e2472e9d04076aa5bc750b3565ba67
--- /dev/null
+++ b/public_test_cases/p02275/input.0.txt
@@ -0,0 +1,2 @@
+7
+2 5 1 3 2 3 0
diff --git a/public_test_cases/p02275/input.1.txt b/public_test_cases/p02275/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82d4047013e2472e9d04076aa5bc750b3565ba67
--- /dev/null
+++ b/public_test_cases/p02275/input.1.txt
@@ -0,0 +1,2 @@
+7
+2 5 1 3 2 3 0
diff --git a/public_test_cases/p02275/output.0.txt b/public_test_cases/p02275/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e1001f4fbdf60440c762b35b2c5b627e55c1ee3
--- /dev/null
+++ b/public_test_cases/p02275/output.0.txt
@@ -0,0 +1 @@
+0 1 2 2 3 3 5
diff --git a/public_test_cases/p02275/output.1.txt b/public_test_cases/p02275/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e1001f4fbdf60440c762b35b2c5b627e55c1ee3
--- /dev/null
+++ b/public_test_cases/p02275/output.1.txt
@@ -0,0 +1 @@
+0 1 2 2 3 3 5
diff --git a/public_test_cases/p02276/input.0.txt b/public_test_cases/p02276/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cf8c43b017c554360f65f4272f7591a8346a3a2
--- /dev/null
+++ b/public_test_cases/p02276/input.0.txt
@@ -0,0 +1,2 @@
+12
+13 19 9 5 12 8 7 4 21 2 6 11
diff --git a/public_test_cases/p02276/input.1.txt b/public_test_cases/p02276/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cf8c43b017c554360f65f4272f7591a8346a3a2
--- /dev/null
+++ b/public_test_cases/p02276/input.1.txt
@@ -0,0 +1,2 @@
+12
+13 19 9 5 12 8 7 4 21 2 6 11
diff --git a/public_test_cases/p02276/output.0.txt b/public_test_cases/p02276/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c41b27721ab9ad9dae8ac669467af511c30076cf
--- /dev/null
+++ b/public_test_cases/p02276/output.0.txt
@@ -0,0 +1 @@
+9 5 8 7 4 2 6 [11] 21 13 19 12
diff --git a/public_test_cases/p02276/output.1.txt b/public_test_cases/p02276/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c41b27721ab9ad9dae8ac669467af511c30076cf
--- /dev/null
+++ b/public_test_cases/p02276/output.1.txt
@@ -0,0 +1 @@
+9 5 8 7 4 2 6 [11] 21 13 19 12
diff --git a/public_test_cases/p02277/input.0.txt b/public_test_cases/p02277/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f31758e4a6f178092f95cf24abe3227ecc52965
--- /dev/null
+++ b/public_test_cases/p02277/input.0.txt
@@ -0,0 +1,7 @@
+6
+D 3
+H 2
+D 1
+S 3
+D 2
+C 1
diff --git a/public_test_cases/p02277/input.1.txt b/public_test_cases/p02277/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..467a0465cfe2acbd4ab4d51a7339f97f2619e221
--- /dev/null
+++ b/public_test_cases/p02277/input.1.txt
@@ -0,0 +1,3 @@
+2
+S 1
+H 1
diff --git a/public_test_cases/p02277/input.2.txt b/public_test_cases/p02277/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f31758e4a6f178092f95cf24abe3227ecc52965
--- /dev/null
+++ b/public_test_cases/p02277/input.2.txt
@@ -0,0 +1,7 @@
+6
+D 3
+H 2
+D 1
+S 3
+D 2
+C 1
diff --git a/public_test_cases/p02277/output.0.txt b/public_test_cases/p02277/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..609e4426b41861229d2ff5c89f8bf0bcf3cdc8bc
--- /dev/null
+++ b/public_test_cases/p02277/output.0.txt
@@ -0,0 +1,7 @@
+Not stable
+D 1
+C 1
+D 2
+H 2
+D 3
+S 3
diff --git a/public_test_cases/p02277/output.1.txt b/public_test_cases/p02277/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98102dc5b3b38d337f565506d38c0c448f3c7840
--- /dev/null
+++ b/public_test_cases/p02277/output.1.txt
@@ -0,0 +1,3 @@
+Stable
+S 1
+H 1
diff --git a/public_test_cases/p02277/output.2.txt b/public_test_cases/p02277/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..609e4426b41861229d2ff5c89f8bf0bcf3cdc8bc
--- /dev/null
+++ b/public_test_cases/p02277/output.2.txt
@@ -0,0 +1,7 @@
+Not stable
+D 1
+C 1
+D 2
+H 2
+D 3
+S 3
diff --git a/public_test_cases/p02278/input.0.txt b/public_test_cases/p02278/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7881425110def0d9b2cea6c302592f8beca4dccc
--- /dev/null
+++ b/public_test_cases/p02278/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 5 3 4 2
diff --git a/public_test_cases/p02278/input.1.txt b/public_test_cases/p02278/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c72001f2e8f93d6c45f22c3c37e0b3bded52287
--- /dev/null
+++ b/public_test_cases/p02278/input.1.txt
@@ -0,0 +1,2 @@
+4
+4 3 2 1
diff --git a/public_test_cases/p02278/input.2.txt b/public_test_cases/p02278/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7881425110def0d9b2cea6c302592f8beca4dccc
--- /dev/null
+++ b/public_test_cases/p02278/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 5 3 4 2
diff --git a/public_test_cases/p02278/output.0.txt b/public_test_cases/p02278/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02278/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02278/output.1.txt b/public_test_cases/p02278/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02278/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02278/output.2.txt b/public_test_cases/p02278/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02278/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02279/input.0.txt b/public_test_cases/p02279/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca74f490ae8e22b62ea5de047498b32e10fbf7f7
--- /dev/null
+++ b/public_test_cases/p02279/input.0.txt
@@ -0,0 +1,14 @@
+13
+0 3 1 4 10
+1 2 2 3
+2 0
+3 0
+4 3 5 6 7
+5 0
+6 0
+7 2 8 9
+8 0
+9 0
+10 2 11 12
+11 0
+12 0
diff --git a/public_test_cases/p02279/input.1.txt b/public_test_cases/p02279/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca74f490ae8e22b62ea5de047498b32e10fbf7f7
--- /dev/null
+++ b/public_test_cases/p02279/input.1.txt
@@ -0,0 +1,14 @@
+13
+0 3 1 4 10
+1 2 2 3
+2 0
+3 0
+4 3 5 6 7
+5 0
+6 0
+7 2 8 9
+8 0
+9 0
+10 2 11 12
+11 0
+12 0
diff --git a/public_test_cases/p02279/input.2.txt b/public_test_cases/p02279/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f107e5977e828b27badaac8bf88e8b4afc47f919
--- /dev/null
+++ b/public_test_cases/p02279/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 3 3 2 0
+0 0
+3 0
+2 0
diff --git a/public_test_cases/p02279/output.0.txt b/public_test_cases/p02279/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04f0d4d8954967fc86ee0b848ec47ad5ca793c86
--- /dev/null
+++ b/public_test_cases/p02279/output.0.txt
@@ -0,0 +1,13 @@
+node 0: parent = -1, depth = 0, root, [1, 4, 10]
+node 1: parent = 0, depth = 1, internal node, [2, 3]
+node 2: parent = 1, depth = 2, leaf, []
+node 3: parent = 1, depth = 2, leaf, []
+node 4: parent = 0, depth = 1, internal node, [5, 6, 7]
+node 5: parent = 4, depth = 2, leaf, []
+node 6: parent = 4, depth = 2, leaf, []
+node 7: parent = 4, depth = 2, internal node, [8, 9]
+node 8: parent = 7, depth = 3, leaf, []
+node 9: parent = 7, depth = 3, leaf, []
+node 10: parent = 0, depth = 1, internal node, [11, 12]
+node 11: parent = 10, depth = 2, leaf, []
+node 12: parent = 10, depth = 2, leaf, []
diff --git a/public_test_cases/p02279/output.1.txt b/public_test_cases/p02279/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04f0d4d8954967fc86ee0b848ec47ad5ca793c86
--- /dev/null
+++ b/public_test_cases/p02279/output.1.txt
@@ -0,0 +1,13 @@
+node 0: parent = -1, depth = 0, root, [1, 4, 10]
+node 1: parent = 0, depth = 1, internal node, [2, 3]
+node 2: parent = 1, depth = 2, leaf, []
+node 3: parent = 1, depth = 2, leaf, []
+node 4: parent = 0, depth = 1, internal node, [5, 6, 7]
+node 5: parent = 4, depth = 2, leaf, []
+node 6: parent = 4, depth = 2, leaf, []
+node 7: parent = 4, depth = 2, internal node, [8, 9]
+node 8: parent = 7, depth = 3, leaf, []
+node 9: parent = 7, depth = 3, leaf, []
+node 10: parent = 0, depth = 1, internal node, [11, 12]
+node 11: parent = 10, depth = 2, leaf, []
+node 12: parent = 10, depth = 2, leaf, []
diff --git a/public_test_cases/p02279/output.2.txt b/public_test_cases/p02279/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b6a2237f84f0519aa8abcad2c19c8467b4d19a0
--- /dev/null
+++ b/public_test_cases/p02279/output.2.txt
@@ -0,0 +1,4 @@
+node 0: parent = 1, depth = 1, leaf, []
+node 1: parent = -1, depth = 0, root, [3, 2, 0]
+node 2: parent = 1, depth = 1, leaf, []
+node 3: parent = 1, depth = 1, leaf, []
diff --git a/public_test_cases/p02280/input.0.txt b/public_test_cases/p02280/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2381ae1a9c8bb9d11278eba20284837b376e5172
--- /dev/null
+++ b/public_test_cases/p02280/input.0.txt
@@ -0,0 +1,10 @@
+9
+0 1 4
+1 2 3
+2 -1 -1
+3 -1 -1
+4 5 8
+5 6 7
+6 -1 -1
+7 -1 -1
+8 -1 -1
diff --git a/public_test_cases/p02280/input.1.txt b/public_test_cases/p02280/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2381ae1a9c8bb9d11278eba20284837b376e5172
--- /dev/null
+++ b/public_test_cases/p02280/input.1.txt
@@ -0,0 +1,10 @@
+9
+0 1 4
+1 2 3
+2 -1 -1
+3 -1 -1
+4 5 8
+5 6 7
+6 -1 -1
+7 -1 -1
+8 -1 -1
diff --git a/public_test_cases/p02280/output.0.txt b/public_test_cases/p02280/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eb124023664660233dc3494aa96bcc85f354b36
--- /dev/null
+++ b/public_test_cases/p02280/output.0.txt
@@ -0,0 +1,9 @@
+node 0: parent = -1, sibling = -1, degree = 2, depth = 0, height = 3, root
+node 1: parent = 0, sibling = 4, degree = 2, depth = 1, height = 1, internal node
+node 2: parent = 1, sibling = 3, degree = 0, depth = 2, height = 0, leaf
+node 3: parent = 1, sibling = 2, degree = 0, depth = 2, height = 0, leaf
+node 4: parent = 0, sibling = 1, degree = 2, depth = 1, height = 2, internal node
+node 5: parent = 4, sibling = 8, degree = 2, depth = 2, height = 1, internal node
+node 6: parent = 5, sibling = 7, degree = 0, depth = 3, height = 0, leaf
+node 7: parent = 5, sibling = 6, degree = 0, depth = 3, height = 0, leaf
+node 8: parent = 4, sibling = 5, degree = 0, depth = 2, height = 0, leaf
diff --git a/public_test_cases/p02280/output.1.txt b/public_test_cases/p02280/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eb124023664660233dc3494aa96bcc85f354b36
--- /dev/null
+++ b/public_test_cases/p02280/output.1.txt
@@ -0,0 +1,9 @@
+node 0: parent = -1, sibling = -1, degree = 2, depth = 0, height = 3, root
+node 1: parent = 0, sibling = 4, degree = 2, depth = 1, height = 1, internal node
+node 2: parent = 1, sibling = 3, degree = 0, depth = 2, height = 0, leaf
+node 3: parent = 1, sibling = 2, degree = 0, depth = 2, height = 0, leaf
+node 4: parent = 0, sibling = 1, degree = 2, depth = 1, height = 2, internal node
+node 5: parent = 4, sibling = 8, degree = 2, depth = 2, height = 1, internal node
+node 6: parent = 5, sibling = 7, degree = 0, depth = 3, height = 0, leaf
+node 7: parent = 5, sibling = 6, degree = 0, depth = 3, height = 0, leaf
+node 8: parent = 4, sibling = 5, degree = 0, depth = 2, height = 0, leaf
diff --git a/public_test_cases/p02281/input.0.txt b/public_test_cases/p02281/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2381ae1a9c8bb9d11278eba20284837b376e5172
--- /dev/null
+++ b/public_test_cases/p02281/input.0.txt
@@ -0,0 +1,10 @@
+9
+0 1 4
+1 2 3
+2 -1 -1
+3 -1 -1
+4 5 8
+5 6 7
+6 -1 -1
+7 -1 -1
+8 -1 -1
diff --git a/public_test_cases/p02281/input.1.txt b/public_test_cases/p02281/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2381ae1a9c8bb9d11278eba20284837b376e5172
--- /dev/null
+++ b/public_test_cases/p02281/input.1.txt
@@ -0,0 +1,10 @@
+9
+0 1 4
+1 2 3
+2 -1 -1
+3 -1 -1
+4 5 8
+5 6 7
+6 -1 -1
+7 -1 -1
+8 -1 -1
diff --git a/public_test_cases/p02281/output.0.txt b/public_test_cases/p02281/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf076db752b62a19fde47217b64efed2a00f6a4f
--- /dev/null
+++ b/public_test_cases/p02281/output.0.txt
@@ -0,0 +1,6 @@
+Preorder
+ 0 1 2 3 4 5 6 7 8
+Inorder
+ 2 1 3 0 6 5 7 4 8
+Postorder
+ 2 3 1 6 7 5 8 4 0
diff --git a/public_test_cases/p02281/output.1.txt b/public_test_cases/p02281/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf076db752b62a19fde47217b64efed2a00f6a4f
--- /dev/null
+++ b/public_test_cases/p02281/output.1.txt
@@ -0,0 +1,6 @@
+Preorder
+ 0 1 2 3 4 5 6 7 8
+Inorder
+ 2 1 3 0 6 5 7 4 8
+Postorder
+ 2 3 1 6 7 5 8 4 0
diff --git a/public_test_cases/p02282/input.0.txt b/public_test_cases/p02282/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00e263dbcad4bbb8716f0071215fc1728efedad5
--- /dev/null
+++ b/public_test_cases/p02282/input.0.txt
@@ -0,0 +1,3 @@
+5
+1 2 3 4 5
+3 2 4 1 5
diff --git a/public_test_cases/p02282/input.1.txt b/public_test_cases/p02282/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00e263dbcad4bbb8716f0071215fc1728efedad5
--- /dev/null
+++ b/public_test_cases/p02282/input.1.txt
@@ -0,0 +1,3 @@
+5
+1 2 3 4 5
+3 2 4 1 5
diff --git a/public_test_cases/p02282/input.2.txt b/public_test_cases/p02282/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08a482aa690d3f2404079723243eb76ebe7cbae3
--- /dev/null
+++ b/public_test_cases/p02282/input.2.txt
@@ -0,0 +1,3 @@
+4
+1 2 3 4
+1 2 3 4
diff --git a/public_test_cases/p02282/output.0.txt b/public_test_cases/p02282/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1eb703ed39db702f195386233f78ab4ba43dcf88
--- /dev/null
+++ b/public_test_cases/p02282/output.0.txt
@@ -0,0 +1 @@
+3 4 2 5 1
diff --git a/public_test_cases/p02282/output.1.txt b/public_test_cases/p02282/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1eb703ed39db702f195386233f78ab4ba43dcf88
--- /dev/null
+++ b/public_test_cases/p02282/output.1.txt
@@ -0,0 +1 @@
+3 4 2 5 1
diff --git a/public_test_cases/p02282/output.2.txt b/public_test_cases/p02282/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c27c8afcf6bf0f2ea46bc6f3f43a09bcc86b0a68
--- /dev/null
+++ b/public_test_cases/p02282/output.2.txt
@@ -0,0 +1 @@
+4 3 2 1
diff --git a/public_test_cases/p02283/input.0.txt b/public_test_cases/p02283/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7d04694522861c67f85e534e06092930067fed8
--- /dev/null
+++ b/public_test_cases/p02283/input.0.txt
@@ -0,0 +1,9 @@
+8
+insert 30
+insert 88
+insert 12
+insert 1
+insert 20
+insert 17
+insert 25
+print
diff --git a/public_test_cases/p02283/input.1.txt b/public_test_cases/p02283/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7d04694522861c67f85e534e06092930067fed8
--- /dev/null
+++ b/public_test_cases/p02283/input.1.txt
@@ -0,0 +1,9 @@
+8
+insert 30
+insert 88
+insert 12
+insert 1
+insert 20
+insert 17
+insert 25
+print
diff --git a/public_test_cases/p02283/output.0.txt b/public_test_cases/p02283/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cbff9115e4004aa9761c5a2bcc861543a4ffd42
--- /dev/null
+++ b/public_test_cases/p02283/output.0.txt
@@ -0,0 +1,2 @@
+ 1 12 17 20 25 30 88
+ 30 12 1 20 17 25 88
diff --git a/public_test_cases/p02283/output.1.txt b/public_test_cases/p02283/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84c1dc8f4f7dead106a0148189060a77141bd11d
--- /dev/null
+++ b/public_test_cases/p02283/output.1.txt
@@ -0,0 +1,2 @@
+1 12 17 20 25 30 88
+ 30 12 1 20 17 25 88
diff --git a/public_test_cases/p02284/input.0.txt b/public_test_cases/p02284/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cb6f01c6de0e6b665ef7d08d68e338356872f8a
--- /dev/null
+++ b/public_test_cases/p02284/input.0.txt
@@ -0,0 +1,11 @@
+10
+insert 30
+insert 88
+insert 12
+insert 1
+insert 20
+find 12
+insert 17
+insert 25
+find 16
+print
diff --git a/public_test_cases/p02284/input.1.txt b/public_test_cases/p02284/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cb6f01c6de0e6b665ef7d08d68e338356872f8a
--- /dev/null
+++ b/public_test_cases/p02284/input.1.txt
@@ -0,0 +1,11 @@
+10
+insert 30
+insert 88
+insert 12
+insert 1
+insert 20
+find 12
+insert 17
+insert 25
+find 16
+print
diff --git a/public_test_cases/p02284/output.0.txt b/public_test_cases/p02284/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..815a54c786d47eb4795569ba18dc909aed2da811
--- /dev/null
+++ b/public_test_cases/p02284/output.0.txt
@@ -0,0 +1,4 @@
+yes
+no
+ 1 12 17 20 25 30 88
+ 30 12 1 20 17 25 88
diff --git a/public_test_cases/p02284/output.1.txt b/public_test_cases/p02284/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..815a54c786d47eb4795569ba18dc909aed2da811
--- /dev/null
+++ b/public_test_cases/p02284/output.1.txt
@@ -0,0 +1,4 @@
+yes
+no
+ 1 12 17 20 25 30 88
+ 30 12 1 20 17 25 88
diff --git a/public_test_cases/p02285/input.0.txt b/public_test_cases/p02285/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b1afa8451b7af08dfeaf9740dcda2ad6721e34c
--- /dev/null
+++ b/public_test_cases/p02285/input.0.txt
@@ -0,0 +1,19 @@
+18
+insert 8
+insert 2
+insert 3
+insert 7
+insert 22
+insert 1
+find 1
+find 2
+find 3
+find 4
+find 5
+find 6
+find 7
+find 8
+print
+delete 3
+delete 7
+print
diff --git a/public_test_cases/p02285/input.1.txt b/public_test_cases/p02285/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b1afa8451b7af08dfeaf9740dcda2ad6721e34c
--- /dev/null
+++ b/public_test_cases/p02285/input.1.txt
@@ -0,0 +1,19 @@
+18
+insert 8
+insert 2
+insert 3
+insert 7
+insert 22
+insert 1
+find 1
+find 2
+find 3
+find 4
+find 5
+find 6
+find 7
+find 8
+print
+delete 3
+delete 7
+print
diff --git a/public_test_cases/p02285/output.0.txt b/public_test_cases/p02285/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bd034c35e8b67ec26649cc6c3425b8f0c8c375e
--- /dev/null
+++ b/public_test_cases/p02285/output.0.txt
@@ -0,0 +1,12 @@
+yes
+yes
+yes
+no
+no
+no
+yes
+yes
+ 1 2 3 7 8 22
+ 8 2 1 3 7 22
+ 1 2 8 22
+ 8 2 1 22
diff --git a/public_test_cases/p02285/output.1.txt b/public_test_cases/p02285/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bd034c35e8b67ec26649cc6c3425b8f0c8c375e
--- /dev/null
+++ b/public_test_cases/p02285/output.1.txt
@@ -0,0 +1,12 @@
+yes
+yes
+yes
+no
+no
+no
+yes
+yes
+ 1 2 3 7 8 22
+ 8 2 1 3 7 22
+ 1 2 8 22
+ 8 2 1 22
diff --git a/public_test_cases/p02286/input.0.txt b/public_test_cases/p02286/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32eae51b1a213acc3a75510c18b2221de7035d6c
--- /dev/null
+++ b/public_test_cases/p02286/input.0.txt
@@ -0,0 +1,17 @@
+16
+insert 35 99
+insert 3 80
+insert 1 53
+insert 14 25
+insert 80 76
+insert 42 3
+insert 86 47
+insert 21 12
+insert 7 10
+insert 6 90
+print
+find 21
+find 22
+delete 35
+delete 99
+print
diff --git a/public_test_cases/p02286/input.1.txt b/public_test_cases/p02286/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32eae51b1a213acc3a75510c18b2221de7035d6c
--- /dev/null
+++ b/public_test_cases/p02286/input.1.txt
@@ -0,0 +1,17 @@
+16
+insert 35 99
+insert 3 80
+insert 1 53
+insert 14 25
+insert 80 76
+insert 42 3
+insert 86 47
+insert 21 12
+insert 7 10
+insert 6 90
+print
+find 21
+find 22
+delete 35
+delete 99
+print
diff --git a/public_test_cases/p02286/output.0.txt b/public_test_cases/p02286/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..553dd92febb907e0bdc6e4202055e89d897b0880
--- /dev/null
+++ b/public_test_cases/p02286/output.0.txt
@@ -0,0 +1,6 @@
+ 1 3 6 7 14 21 35 42 80 86
+ 35 6 3 1 14 7 21 80 42 86
+yes
+no
+ 1 3 6 7 14 21 42 80 86
+ 6 3 1 80 14 7 21 42 86
diff --git a/public_test_cases/p02286/output.1.txt b/public_test_cases/p02286/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc718c14f8f7f94d4dd7e2b3185ce093861e1ebf
--- /dev/null
+++ b/public_test_cases/p02286/output.1.txt
@@ -0,0 +1,6 @@
+1 3 6 7 14 21 35 42 80 86
+ 35 6 3 1 14 7 21 80 42 86
+yes
+no
+ 1 3 6 7 14 21 42 80 86
+ 6 3 1 80 14 7 21 42 86
diff --git a/public_test_cases/p02287/input.0.txt b/public_test_cases/p02287/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37666bfa68e465681e7ac02b74bcd7cd81ab0cda
--- /dev/null
+++ b/public_test_cases/p02287/input.0.txt
@@ -0,0 +1,2 @@
+5
+7 8 1 2 3
diff --git a/public_test_cases/p02287/input.1.txt b/public_test_cases/p02287/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37666bfa68e465681e7ac02b74bcd7cd81ab0cda
--- /dev/null
+++ b/public_test_cases/p02287/input.1.txt
@@ -0,0 +1,2 @@
+5
+7 8 1 2 3
diff --git a/public_test_cases/p02287/output.0.txt b/public_test_cases/p02287/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2b7761fad13a5175356f37eafe03b328ec96342
--- /dev/null
+++ b/public_test_cases/p02287/output.0.txt
@@ -0,0 +1,5 @@
+node 1: key = 7, left key = 8, right key = 1,
+node 2: key = 8, parent key = 7, left key = 2, right key = 3,
+node 3: key = 1, parent key = 7,
+node 4: key = 2, parent key = 8,
+node 5: key = 3, parent key = 8,
diff --git a/public_test_cases/p02287/output.1.txt b/public_test_cases/p02287/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2b7761fad13a5175356f37eafe03b328ec96342
--- /dev/null
+++ b/public_test_cases/p02287/output.1.txt
@@ -0,0 +1,5 @@
+node 1: key = 7, left key = 8, right key = 1,
+node 2: key = 8, parent key = 7, left key = 2, right key = 3,
+node 3: key = 1, parent key = 7,
+node 4: key = 2, parent key = 8,
+node 5: key = 3, parent key = 8,
diff --git a/public_test_cases/p02288/input.0.txt b/public_test_cases/p02288/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14d66392bf87925982bb8775b4603d81536a718f
--- /dev/null
+++ b/public_test_cases/p02288/input.0.txt
@@ -0,0 +1,2 @@
+10
+4 1 3 2 16 9 10 14 8 7
diff --git a/public_test_cases/p02288/input.1.txt b/public_test_cases/p02288/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14d66392bf87925982bb8775b4603d81536a718f
--- /dev/null
+++ b/public_test_cases/p02288/input.1.txt
@@ -0,0 +1,2 @@
+10
+4 1 3 2 16 9 10 14 8 7
diff --git a/public_test_cases/p02288/output.0.txt b/public_test_cases/p02288/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33ddd23077bd74d65e471c132b9e42f88cb14696
--- /dev/null
+++ b/public_test_cases/p02288/output.0.txt
@@ -0,0 +1 @@
+ 16 14 10 8 7 9 3 2 4 1
diff --git a/public_test_cases/p02288/output.1.txt b/public_test_cases/p02288/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be765f0d67f051062f8923029d0406072a834463
--- /dev/null
+++ b/public_test_cases/p02288/output.1.txt
@@ -0,0 +1 @@
+16 14 10 8 7 9 3 2 4 1
diff --git a/public_test_cases/p02289/input.0.txt b/public_test_cases/p02289/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba7c0e76e954d677c98ecd933d1f04f648c93c84
--- /dev/null
+++ b/public_test_cases/p02289/input.0.txt
@@ -0,0 +1,9 @@
+insert 8
+insert 2
+extract
+insert 10
+extract
+insert 11
+extract
+extract
+end
diff --git a/public_test_cases/p02289/input.1.txt b/public_test_cases/p02289/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba7c0e76e954d677c98ecd933d1f04f648c93c84
--- /dev/null
+++ b/public_test_cases/p02289/input.1.txt
@@ -0,0 +1,9 @@
+insert 8
+insert 2
+extract
+insert 10
+extract
+insert 11
+extract
+extract
+end
diff --git a/public_test_cases/p02289/output.0.txt b/public_test_cases/p02289/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cac17459294d6f57964d6a018e5fe2f99e607d
--- /dev/null
+++ b/public_test_cases/p02289/output.0.txt
@@ -0,0 +1,4 @@
+8
+10
+11
+2
diff --git a/public_test_cases/p02289/output.1.txt b/public_test_cases/p02289/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cac17459294d6f57964d6a018e5fe2f99e607d
--- /dev/null
+++ b/public_test_cases/p02289/output.1.txt
@@ -0,0 +1,4 @@
+8
+10
+11
+2
diff --git a/public_test_cases/p02290/input.0.txt b/public_test_cases/p02290/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e7aaea9d8086c854f021ab210507e697062927f
--- /dev/null
+++ b/public_test_cases/p02290/input.0.txt
@@ -0,0 +1,5 @@
+0 0 2 0
+3
+-1 1
+0 1
+1 1
diff --git a/public_test_cases/p02290/input.1.txt b/public_test_cases/p02290/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15e592ccb6af81f95e02d0fdf7ae803c07fbd8c
--- /dev/null
+++ b/public_test_cases/p02290/input.1.txt
@@ -0,0 +1,3 @@
+0 0 3 4
+1
+2 5
diff --git a/public_test_cases/p02290/input.2.txt b/public_test_cases/p02290/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e7aaea9d8086c854f021ab210507e697062927f
--- /dev/null
+++ b/public_test_cases/p02290/input.2.txt
@@ -0,0 +1,5 @@
+0 0 2 0
+3
+-1 1
+0 1
+1 1
diff --git a/public_test_cases/p02290/output.0.txt b/public_test_cases/p02290/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70b08b0fb5ac788b053359fe458d1e6436e6fca8
--- /dev/null
+++ b/public_test_cases/p02290/output.0.txt
@@ -0,0 +1,3 @@
+-1.0000000000 0.0000000000
+0.0000000000 0.0000000000
+1.0000000000 0.0000000000
diff --git a/public_test_cases/p02290/output.1.txt b/public_test_cases/p02290/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f91d1484f9c2ac934dcb274c2412515d0ed607d7
--- /dev/null
+++ b/public_test_cases/p02290/output.1.txt
@@ -0,0 +1 @@
+3.1200000000 4.1600000000
diff --git a/public_test_cases/p02290/output.2.txt b/public_test_cases/p02290/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70b08b0fb5ac788b053359fe458d1e6436e6fca8
--- /dev/null
+++ b/public_test_cases/p02290/output.2.txt
@@ -0,0 +1,3 @@
+-1.0000000000 0.0000000000
+0.0000000000 0.0000000000
+1.0000000000 0.0000000000
diff --git a/public_test_cases/p02291/input.0.txt b/public_test_cases/p02291/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e7aaea9d8086c854f021ab210507e697062927f
--- /dev/null
+++ b/public_test_cases/p02291/input.0.txt
@@ -0,0 +1,5 @@
+0 0 2 0
+3
+-1 1
+0 1
+1 1
diff --git a/public_test_cases/p02291/input.1.txt b/public_test_cases/p02291/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51a0cbaefcdadb3f1b449a8fa5dd42dfb5bc4ea8
--- /dev/null
+++ b/public_test_cases/p02291/input.1.txt
@@ -0,0 +1,5 @@
+0 0 3 4
+3
+2 5
+1 4
+0 3
diff --git a/public_test_cases/p02291/input.2.txt b/public_test_cases/p02291/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e7aaea9d8086c854f021ab210507e697062927f
--- /dev/null
+++ b/public_test_cases/p02291/input.2.txt
@@ -0,0 +1,5 @@
+0 0 2 0
+3
+-1 1
+0 1
+1 1
diff --git a/public_test_cases/p02291/output.0.txt b/public_test_cases/p02291/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a2521ba585bf99a3a1972a36f835dd0fca30306
--- /dev/null
+++ b/public_test_cases/p02291/output.0.txt
@@ -0,0 +1,3 @@
+-1.0000000000 -1.0000000000
+0.0000000000 -1.0000000000
+1.0000000000 -1.0000000000
diff --git a/public_test_cases/p02291/output.1.txt b/public_test_cases/p02291/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..163e15b5550c745f0ada877f2e67f230dee1b9a4
--- /dev/null
+++ b/public_test_cases/p02291/output.1.txt
@@ -0,0 +1,3 @@
+4.2400000000 3.3200000000
+3.5600000000 2.0800000000
+2.8800000000 0.8400000000
diff --git a/public_test_cases/p02291/output.2.txt b/public_test_cases/p02291/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a2521ba585bf99a3a1972a36f835dd0fca30306
--- /dev/null
+++ b/public_test_cases/p02291/output.2.txt
@@ -0,0 +1,3 @@
+-1.0000000000 -1.0000000000
+0.0000000000 -1.0000000000
+1.0000000000 -1.0000000000
diff --git a/public_test_cases/p02292/input.0.txt b/public_test_cases/p02292/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f72d717be5343c7e056c4d00399b7c56ddbce9dc
--- /dev/null
+++ b/public_test_cases/p02292/input.0.txt
@@ -0,0 +1,4 @@
+0 0 2 0
+2
+-1 1
+-1 -1
diff --git a/public_test_cases/p02292/input.1.txt b/public_test_cases/p02292/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c4aa315964c8c0719c2ad287f0293d79fac7a22
--- /dev/null
+++ b/public_test_cases/p02292/input.1.txt
@@ -0,0 +1,5 @@
+0 0 2 0
+3
+-1 0
+0 0
+3 0
diff --git a/public_test_cases/p02292/input.2.txt b/public_test_cases/p02292/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f72d717be5343c7e056c4d00399b7c56ddbce9dc
--- /dev/null
+++ b/public_test_cases/p02292/input.2.txt
@@ -0,0 +1,4 @@
+0 0 2 0
+2
+-1 1
+-1 -1
diff --git a/public_test_cases/p02292/output.0.txt b/public_test_cases/p02292/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4080dab3563858c7d3cc00c752ad67ebf9560dd0
--- /dev/null
+++ b/public_test_cases/p02292/output.0.txt
@@ -0,0 +1,2 @@
+COUNTER_CLOCKWISE
+CLOCKWISE
diff --git a/public_test_cases/p02292/output.1.txt b/public_test_cases/p02292/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b34a1f21ebe45dbb1167c8d0d2535a546126dca
--- /dev/null
+++ b/public_test_cases/p02292/output.1.txt
@@ -0,0 +1,3 @@
+ONLINE_BACK
+ON_SEGMENT
+ONLINE_FRONT
diff --git a/public_test_cases/p02292/output.2.txt b/public_test_cases/p02292/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4080dab3563858c7d3cc00c752ad67ebf9560dd0
--- /dev/null
+++ b/public_test_cases/p02292/output.2.txt
@@ -0,0 +1,2 @@
+COUNTER_CLOCKWISE
+CLOCKWISE
diff --git a/public_test_cases/p02293/input.0.txt b/public_test_cases/p02293/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5289a33c9709dfcf93c89a086e63fa8efc920117
--- /dev/null
+++ b/public_test_cases/p02293/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0 3 0 0 2 3 2
+0 0 3 0 1 1 1 4
+0 0 3 0 1 1 2 2
diff --git a/public_test_cases/p02293/input.1.txt b/public_test_cases/p02293/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5289a33c9709dfcf93c89a086e63fa8efc920117
--- /dev/null
+++ b/public_test_cases/p02293/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 0 3 0 0 2 3 2
+0 0 3 0 1 1 1 4
+0 0 3 0 1 1 2 2
diff --git a/public_test_cases/p02293/output.0.txt b/public_test_cases/p02293/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p02293/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p02293/output.1.txt b/public_test_cases/p02293/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p02293/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p02294/input.0.txt b/public_test_cases/p02294/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57f80dc3c828367ff72412be60851b6d186d36af
--- /dev/null
+++ b/public_test_cases/p02294/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0 3 0 1 1 2 -1
+0 0 3 0 3 1 3 -1
+0 0 3 0 3 -2 5 0
diff --git a/public_test_cases/p02294/input.1.txt b/public_test_cases/p02294/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57f80dc3c828367ff72412be60851b6d186d36af
--- /dev/null
+++ b/public_test_cases/p02294/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 0 3 0 1 1 2 -1
+0 0 3 0 3 1 3 -1
+0 0 3 0 3 -2 5 0
diff --git a/public_test_cases/p02294/output.0.txt b/public_test_cases/p02294/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f1465d1598d82611e4e9081f6a149dcaf57f937
--- /dev/null
+++ b/public_test_cases/p02294/output.0.txt
@@ -0,0 +1,3 @@
+1
+1
+0
diff --git a/public_test_cases/p02294/output.1.txt b/public_test_cases/p02294/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f1465d1598d82611e4e9081f6a149dcaf57f937
--- /dev/null
+++ b/public_test_cases/p02294/output.1.txt
@@ -0,0 +1,3 @@
+1
+1
+0
diff --git a/public_test_cases/p02295/input.0.txt b/public_test_cases/p02295/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d95e18b1a32344b2653c17468beed7d9e37f61e4
--- /dev/null
+++ b/public_test_cases/p02295/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0 2 0 1 1 1 -1
+0 0 1 1 0 1 1 0
+0 0 1 1 1 0 0 1
diff --git a/public_test_cases/p02295/input.1.txt b/public_test_cases/p02295/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d95e18b1a32344b2653c17468beed7d9e37f61e4
--- /dev/null
+++ b/public_test_cases/p02295/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 0 2 0 1 1 1 -1
+0 0 1 1 0 1 1 0
+0 0 1 1 1 0 0 1
diff --git a/public_test_cases/p02295/output.0.txt b/public_test_cases/p02295/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a74c9c778aa09f023b1d97dd9df896320c68bbd
--- /dev/null
+++ b/public_test_cases/p02295/output.0.txt
@@ -0,0 +1,3 @@
+1.0000000000 0.0000000000
+0.5000000000 0.5000000000
+0.5000000000 0.5000000000
diff --git a/public_test_cases/p02295/output.1.txt b/public_test_cases/p02295/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a74c9c778aa09f023b1d97dd9df896320c68bbd
--- /dev/null
+++ b/public_test_cases/p02295/output.1.txt
@@ -0,0 +1,3 @@
+1.0000000000 0.0000000000
+0.5000000000 0.5000000000
+0.5000000000 0.5000000000
diff --git a/public_test_cases/p02296/input.0.txt b/public_test_cases/p02296/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64109280ceb953bb3d4695d5d2afbddb9ab4c1b6
--- /dev/null
+++ b/public_test_cases/p02296/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0 1 0 0 1 1 1
+0 0 1 0 2 1 1 2
+-1 0 1 0 0 1 0 -1
diff --git a/public_test_cases/p02296/input.1.txt b/public_test_cases/p02296/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64109280ceb953bb3d4695d5d2afbddb9ab4c1b6
--- /dev/null
+++ b/public_test_cases/p02296/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 0 1 0 0 1 1 1
+0 0 1 0 2 1 1 2
+-1 0 1 0 0 1 0 -1
diff --git a/public_test_cases/p02296/output.0.txt b/public_test_cases/p02296/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29666cf3656330c806b6c255dc91d35c2cc32d30
--- /dev/null
+++ b/public_test_cases/p02296/output.0.txt
@@ -0,0 +1,3 @@
+1.0000000000
+1.4142135624
+0.0000000000
diff --git a/public_test_cases/p02296/output.1.txt b/public_test_cases/p02296/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29666cf3656330c806b6c255dc91d35c2cc32d30
--- /dev/null
+++ b/public_test_cases/p02296/output.1.txt
@@ -0,0 +1,3 @@
+1.0000000000
+1.4142135624
+0.0000000000
diff --git a/public_test_cases/p02297/input.0.txt b/public_test_cases/p02297/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2467968eb54f7a8af90aefe499ce12124b064fa1
--- /dev/null
+++ b/public_test_cases/p02297/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0
+2 2
+-1 1
diff --git a/public_test_cases/p02297/input.1.txt b/public_test_cases/p02297/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..566d2a0762a8d7b1232b3592c929579cfa39b817
--- /dev/null
+++ b/public_test_cases/p02297/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 0
+1 1
+1 2
+0 2
diff --git a/public_test_cases/p02297/input.2.txt b/public_test_cases/p02297/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2467968eb54f7a8af90aefe499ce12124b064fa1
--- /dev/null
+++ b/public_test_cases/p02297/input.2.txt
@@ -0,0 +1,4 @@
+3
+0 0
+2 2
+-1 1
diff --git a/public_test_cases/p02297/output.0.txt b/public_test_cases/p02297/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd5ac039d67e0bdadb17976e4ac39f0ffe6bb6e4
--- /dev/null
+++ b/public_test_cases/p02297/output.0.txt
@@ -0,0 +1 @@
+2.0
diff --git a/public_test_cases/p02297/output.1.txt b/public_test_cases/p02297/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c239c60cba28a79a295acb60a122b8c46eb57271
--- /dev/null
+++ b/public_test_cases/p02297/output.1.txt
@@ -0,0 +1 @@
+1.5
diff --git a/public_test_cases/p02297/output.2.txt b/public_test_cases/p02297/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd5ac039d67e0bdadb17976e4ac39f0ffe6bb6e4
--- /dev/null
+++ b/public_test_cases/p02297/output.2.txt
@@ -0,0 +1 @@
+2.0
diff --git a/public_test_cases/p02298/input.0.txt b/public_test_cases/p02298/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..893b452957f37c0a51376dddf10570c5127debe7
--- /dev/null
+++ b/public_test_cases/p02298/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 0
+3 1
+2 3
+0 3
diff --git a/public_test_cases/p02298/input.1.txt b/public_test_cases/p02298/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f1b7f8065712c075fdd1e364cf5dd6a2ea38524
--- /dev/null
+++ b/public_test_cases/p02298/input.1.txt
@@ -0,0 +1,6 @@
+5
+0 0
+2 0
+1 1
+2 2
+0 2
diff --git a/public_test_cases/p02298/input.2.txt b/public_test_cases/p02298/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..893b452957f37c0a51376dddf10570c5127debe7
--- /dev/null
+++ b/public_test_cases/p02298/input.2.txt
@@ -0,0 +1,5 @@
+4
+0 0
+3 1
+2 3
+0 3
diff --git a/public_test_cases/p02298/output.0.txt b/public_test_cases/p02298/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02298/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02298/output.1.txt b/public_test_cases/p02298/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02298/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02298/output.2.txt b/public_test_cases/p02298/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02298/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02299/input.0.txt b/public_test_cases/p02299/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe7367fe71de452330b062ea72c06d48c7a2437c
--- /dev/null
+++ b/public_test_cases/p02299/input.0.txt
@@ -0,0 +1,9 @@
+4
+0 0
+3 1
+2 3
+0 3
+3
+2 1
+0 2
+3 2
diff --git a/public_test_cases/p02299/input.1.txt b/public_test_cases/p02299/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe7367fe71de452330b062ea72c06d48c7a2437c
--- /dev/null
+++ b/public_test_cases/p02299/input.1.txt
@@ -0,0 +1,9 @@
+4
+0 0
+3 1
+2 3
+0 3
+3
+2 1
+0 2
+3 2
diff --git a/public_test_cases/p02299/output.0.txt b/public_test_cases/p02299/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p02299/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p02299/output.1.txt b/public_test_cases/p02299/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae136939b6458299c7b446764a479033f16adf8c
--- /dev/null
+++ b/public_test_cases/p02299/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+0
diff --git a/public_test_cases/p02300/input.0.txt b/public_test_cases/p02300/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1abf4cda4d0fa68c5beb679e335699fe476d1624
--- /dev/null
+++ b/public_test_cases/p02300/input.0.txt
@@ -0,0 +1,8 @@
+7
+2 1
+0 0
+1 2
+2 2
+4 2
+1 3
+3 3
diff --git a/public_test_cases/p02300/input.1.txt b/public_test_cases/p02300/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..709b47270284a92883dbcfcdb2567934be92564c
--- /dev/null
+++ b/public_test_cases/p02300/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 0
+2 2
+0 2
+0 1
diff --git a/public_test_cases/p02300/input.2.txt b/public_test_cases/p02300/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1abf4cda4d0fa68c5beb679e335699fe476d1624
--- /dev/null
+++ b/public_test_cases/p02300/input.2.txt
@@ -0,0 +1,8 @@
+7
+2 1
+0 0
+1 2
+2 2
+4 2
+1 3
+3 3
diff --git a/public_test_cases/p02300/output.0.txt b/public_test_cases/p02300/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56ecfda7b845451d6db0e5ecad867be8d3bad1f5
--- /dev/null
+++ b/public_test_cases/p02300/output.0.txt
@@ -0,0 +1,6 @@
+5
+0 0
+2 1
+4 2
+3 3
+1 3
diff --git a/public_test_cases/p02300/output.1.txt b/public_test_cases/p02300/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..709b47270284a92883dbcfcdb2567934be92564c
--- /dev/null
+++ b/public_test_cases/p02300/output.1.txt
@@ -0,0 +1,5 @@
+4
+0 0
+2 2
+0 2
+0 1
diff --git a/public_test_cases/p02300/output.2.txt b/public_test_cases/p02300/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56ecfda7b845451d6db0e5ecad867be8d3bad1f5
--- /dev/null
+++ b/public_test_cases/p02300/output.2.txt
@@ -0,0 +1,6 @@
+5
+0 0
+2 1
+4 2
+3 3
+1 3
diff --git a/public_test_cases/p02301/input.0.txt b/public_test_cases/p02301/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04b1ba04c38afab7f41902822a1292d71c153ae8
--- /dev/null
+++ b/public_test_cases/p02301/input.0.txt
@@ -0,0 +1,4 @@
+3
+0.0 0.0
+4.0 0.0
+2.0 2.0
diff --git a/public_test_cases/p02301/input.1.txt b/public_test_cases/p02301/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77c79e4829b71bb66fcb5e55991cbd05d3544241
--- /dev/null
+++ b/public_test_cases/p02301/input.1.txt
@@ -0,0 +1,5 @@
+4
+0.0 0.0
+1.0 0.0
+1.0 1.0
+0.0 1.0
diff --git a/public_test_cases/p02301/input.2.txt b/public_test_cases/p02301/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04b1ba04c38afab7f41902822a1292d71c153ae8
--- /dev/null
+++ b/public_test_cases/p02301/input.2.txt
@@ -0,0 +1,4 @@
+3
+0.0 0.0
+4.0 0.0
+2.0 2.0
diff --git a/public_test_cases/p02301/output.0.txt b/public_test_cases/p02301/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7371a1fd76056b4800c4d03be25faae45ed88b65
--- /dev/null
+++ b/public_test_cases/p02301/output.0.txt
@@ -0,0 +1 @@
+4.00
diff --git a/public_test_cases/p02301/output.1.txt b/public_test_cases/p02301/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f912f7ce818c32feaf4683cd68955ccea4738c1
--- /dev/null
+++ b/public_test_cases/p02301/output.1.txt
@@ -0,0 +1 @@
+1.414213562373
diff --git a/public_test_cases/p02301/output.2.txt b/public_test_cases/p02301/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7371a1fd76056b4800c4d03be25faae45ed88b65
--- /dev/null
+++ b/public_test_cases/p02301/output.2.txt
@@ -0,0 +1 @@
+4.00
diff --git a/public_test_cases/p02302/input.0.txt b/public_test_cases/p02302/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d96fc61dc8742279256ce00901708e11d06f9b4f
--- /dev/null
+++ b/public_test_cases/p02302/input.0.txt
@@ -0,0 +1,8 @@
+4
+1 1
+4 1
+4 3
+1 3
+2
+2 0 2 4
+2 4 2 0
diff --git a/public_test_cases/p02302/input.1.txt b/public_test_cases/p02302/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d96fc61dc8742279256ce00901708e11d06f9b4f
--- /dev/null
+++ b/public_test_cases/p02302/input.1.txt
@@ -0,0 +1,8 @@
+4
+1 1
+4 1
+4 3
+1 3
+2
+2 0 2 4
+2 4 2 0
diff --git a/public_test_cases/p02302/output.0.txt b/public_test_cases/p02302/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cb34a5a48046176c75771626138432a1eaa9fc5
--- /dev/null
+++ b/public_test_cases/p02302/output.0.txt
@@ -0,0 +1,2 @@
+2.00000000
+4.00000000
diff --git a/public_test_cases/p02302/output.1.txt b/public_test_cases/p02302/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cb34a5a48046176c75771626138432a1eaa9fc5
--- /dev/null
+++ b/public_test_cases/p02302/output.1.txt
@@ -0,0 +1,2 @@
+2.00000000
+4.00000000
diff --git a/public_test_cases/p02303/input.0.txt b/public_test_cases/p02303/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4235350564a4d71a443106563ade6684bf7a6717
--- /dev/null
+++ b/public_test_cases/p02303/input.0.txt
@@ -0,0 +1,3 @@
+2
+0.0 0.0
+1.0 0.0
diff --git a/public_test_cases/p02303/input.1.txt b/public_test_cases/p02303/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc6e110c63f72bdfb1a8cc563b87a4160fe47fc9
--- /dev/null
+++ b/public_test_cases/p02303/input.1.txt
@@ -0,0 +1,4 @@
+3
+0.0 0.0
+2.0 0.0
+1.0 1.0
diff --git a/public_test_cases/p02303/input.2.txt b/public_test_cases/p02303/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4235350564a4d71a443106563ade6684bf7a6717
--- /dev/null
+++ b/public_test_cases/p02303/input.2.txt
@@ -0,0 +1,3 @@
+2
+0.0 0.0
+1.0 0.0
diff --git a/public_test_cases/p02303/output.0.txt b/public_test_cases/p02303/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..961b372472a1809353ba4658ea88ca265d88b75c
--- /dev/null
+++ b/public_test_cases/p02303/output.0.txt
@@ -0,0 +1 @@
+1.000000
diff --git a/public_test_cases/p02303/output.1.txt b/public_test_cases/p02303/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4436f858383de2766ddb01bb7b5d4518e16743f7
--- /dev/null
+++ b/public_test_cases/p02303/output.1.txt
@@ -0,0 +1 @@
+1.41421356237
diff --git a/public_test_cases/p02303/output.2.txt b/public_test_cases/p02303/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..961b372472a1809353ba4658ea88ca265d88b75c
--- /dev/null
+++ b/public_test_cases/p02303/output.2.txt
@@ -0,0 +1 @@
+1.000000
diff --git a/public_test_cases/p02304/input.0.txt b/public_test_cases/p02304/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82fcea038a215bf3151bbe74c6ad801c88d7ed4e
--- /dev/null
+++ b/public_test_cases/p02304/input.0.txt
@@ -0,0 +1,7 @@
+6
+2 2 2 5
+1 3 5 3
+4 1 4 4
+5 2 7 2
+6 1 6 3
+6 5 6 7
diff --git a/public_test_cases/p02304/input.1.txt b/public_test_cases/p02304/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82fcea038a215bf3151bbe74c6ad801c88d7ed4e
--- /dev/null
+++ b/public_test_cases/p02304/input.1.txt
@@ -0,0 +1,7 @@
+6
+2 2 2 5
+1 3 5 3
+4 1 4 4
+5 2 7 2
+6 1 6 3
+6 5 6 7
diff --git a/public_test_cases/p02304/output.0.txt b/public_test_cases/p02304/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02304/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02304/output.1.txt b/public_test_cases/p02304/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02304/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02305/input.0.txt b/public_test_cases/p02305/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e29239987be561be7fd3fafdd6ebacf5b6ce37aa
--- /dev/null
+++ b/public_test_cases/p02305/input.0.txt
@@ -0,0 +1,2 @@
+1 1 1
+6 2 2
diff --git a/public_test_cases/p02305/input.1.txt b/public_test_cases/p02305/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95941653a2e546765842d8ecb20ef822bcc4f35f
--- /dev/null
+++ b/public_test_cases/p02305/input.1.txt
@@ -0,0 +1,2 @@
+0 0 1
+1 0 2
diff --git a/public_test_cases/p02305/input.2.txt b/public_test_cases/p02305/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc704680981f5401735a1b211f140e7553e3126f
--- /dev/null
+++ b/public_test_cases/p02305/input.2.txt
@@ -0,0 +1,2 @@
+1 2 1
+3 2 2
diff --git a/public_test_cases/p02305/input.3.txt b/public_test_cases/p02305/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3123e4f517bb1befa416a6b1a5b2816531959b7
--- /dev/null
+++ b/public_test_cases/p02305/input.3.txt
@@ -0,0 +1,2 @@
+0 0 1
+0 0 2
diff --git a/public_test_cases/p02305/input.4.txt b/public_test_cases/p02305/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccfc6958895fbd35fe90c66aa546baae98716ccd
--- /dev/null
+++ b/public_test_cases/p02305/input.4.txt
@@ -0,0 +1,2 @@
+1 2 1
+4 2 2
diff --git a/public_test_cases/p02305/input.5.txt b/public_test_cases/p02305/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e29239987be561be7fd3fafdd6ebacf5b6ce37aa
--- /dev/null
+++ b/public_test_cases/p02305/input.5.txt
@@ -0,0 +1,2 @@
+1 1 1
+6 2 2
diff --git a/public_test_cases/p02305/output.0.txt b/public_test_cases/p02305/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02305/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02305/output.1.txt b/public_test_cases/p02305/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02305/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02305/output.2.txt b/public_test_cases/p02305/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02305/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02305/output.3.txt b/public_test_cases/p02305/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02305/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02305/output.4.txt b/public_test_cases/p02305/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02305/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02305/output.5.txt b/public_test_cases/p02305/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02305/output.5.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02306/input.0.txt b/public_test_cases/p02306/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9595c1db829917ad8f98d7c398c21e7a4a6d4300
--- /dev/null
+++ b/public_test_cases/p02306/input.0.txt
@@ -0,0 +1,3 @@
+1 -2
+3 2
+-2 0
diff --git a/public_test_cases/p02306/input.1.txt b/public_test_cases/p02306/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0dfa60eef33574d0eebce73b9bcd3ba56f05963
--- /dev/null
+++ b/public_test_cases/p02306/input.1.txt
@@ -0,0 +1,3 @@
+0 3
+4 0
+0 0
diff --git a/public_test_cases/p02306/input.2.txt b/public_test_cases/p02306/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9595c1db829917ad8f98d7c398c21e7a4a6d4300
--- /dev/null
+++ b/public_test_cases/p02306/input.2.txt
@@ -0,0 +1,3 @@
+1 -2
+3 2
+-2 0
diff --git a/public_test_cases/p02306/output.0.txt b/public_test_cases/p02306/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9282b30b6745c5eca23d3bd4db7f66c3559f1769
--- /dev/null
+++ b/public_test_cases/p02306/output.0.txt
@@ -0,0 +1 @@
+0.53907943898209422325 -0.26437392711448356856 1.18845545916395465278
diff --git a/public_test_cases/p02306/output.1.txt b/public_test_cases/p02306/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b4abbd3e8c0955cdab19faaf154aa2e4b09bdac
--- /dev/null
+++ b/public_test_cases/p02306/output.1.txt
@@ -0,0 +1 @@
+1.00000000000000000000 1.00000000000000000000 1.00000000000000000000
diff --git a/public_test_cases/p02306/output.2.txt b/public_test_cases/p02306/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9282b30b6745c5eca23d3bd4db7f66c3559f1769
--- /dev/null
+++ b/public_test_cases/p02306/output.2.txt
@@ -0,0 +1 @@
+0.53907943898209422325 -0.26437392711448356856 1.18845545916395465278
diff --git a/public_test_cases/p02307/input.0.txt b/public_test_cases/p02307/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9595c1db829917ad8f98d7c398c21e7a4a6d4300
--- /dev/null
+++ b/public_test_cases/p02307/input.0.txt
@@ -0,0 +1,3 @@
+1 -2
+3 2
+-2 0
diff --git a/public_test_cases/p02307/input.1.txt b/public_test_cases/p02307/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9595c1db829917ad8f98d7c398c21e7a4a6d4300
--- /dev/null
+++ b/public_test_cases/p02307/input.1.txt
@@ -0,0 +1,3 @@
+1 -2
+3 2
+-2 0
diff --git a/public_test_cases/p02307/input.2.txt b/public_test_cases/p02307/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0dfa60eef33574d0eebce73b9bcd3ba56f05963
--- /dev/null
+++ b/public_test_cases/p02307/input.2.txt
@@ -0,0 +1,3 @@
+0 3
+4 0
+0 0
diff --git a/public_test_cases/p02307/output.0.txt b/public_test_cases/p02307/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61a5b2cfccdf9d98f3e5413837b2db20f209da1b
--- /dev/null
+++ b/public_test_cases/p02307/output.0.txt
@@ -0,0 +1 @@
+0.62500000000000000000 0.68750000000000000000 2.71353666826155124291
diff --git a/public_test_cases/p02307/output.1.txt b/public_test_cases/p02307/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61a5b2cfccdf9d98f3e5413837b2db20f209da1b
--- /dev/null
+++ b/public_test_cases/p02307/output.1.txt
@@ -0,0 +1 @@
+0.62500000000000000000 0.68750000000000000000 2.71353666826155124291
diff --git a/public_test_cases/p02307/output.2.txt b/public_test_cases/p02307/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0daba0d446304469978a70895bd078d5cfb0719
--- /dev/null
+++ b/public_test_cases/p02307/output.2.txt
@@ -0,0 +1 @@
+2.00000000000000000000 1.50000000000000000000 2.50000000000000000000
diff --git a/public_test_cases/p02308/input.0.txt b/public_test_cases/p02308/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76586d29653a7dd3961059bd01bb08eca5129d11
--- /dev/null
+++ b/public_test_cases/p02308/input.0.txt
@@ -0,0 +1,4 @@
+2 1 1
+2
+0 1 4 1
+3 0 3 3
diff --git a/public_test_cases/p02308/input.1.txt b/public_test_cases/p02308/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76586d29653a7dd3961059bd01bb08eca5129d11
--- /dev/null
+++ b/public_test_cases/p02308/input.1.txt
@@ -0,0 +1,4 @@
+2 1 1
+2
+0 1 4 1
+3 0 3 3
diff --git a/public_test_cases/p02308/output.0.txt b/public_test_cases/p02308/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..782fd5be60ce915300ac42f0431729d04df2f43d
--- /dev/null
+++ b/public_test_cases/p02308/output.0.txt
@@ -0,0 +1,2 @@
+1.00000000 1.00000000 3.00000000 1.00000000
+3.00000000 1.00000000 3.00000000 1.00000000
diff --git a/public_test_cases/p02308/output.1.txt b/public_test_cases/p02308/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..782fd5be60ce915300ac42f0431729d04df2f43d
--- /dev/null
+++ b/public_test_cases/p02308/output.1.txt
@@ -0,0 +1,2 @@
+1.00000000 1.00000000 3.00000000 1.00000000
+3.00000000 1.00000000 3.00000000 1.00000000
diff --git a/public_test_cases/p02309/input.0.txt b/public_test_cases/p02309/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18f489e434ccbd1713d7475b4ee969d1b03f506d
--- /dev/null
+++ b/public_test_cases/p02309/input.0.txt
@@ -0,0 +1,2 @@
+0 0 2
+2 0 2
diff --git a/public_test_cases/p02309/input.1.txt b/public_test_cases/p02309/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18f489e434ccbd1713d7475b4ee969d1b03f506d
--- /dev/null
+++ b/public_test_cases/p02309/input.1.txt
@@ -0,0 +1,2 @@
+0 0 2
+2 0 2
diff --git a/public_test_cases/p02309/input.2.txt b/public_test_cases/p02309/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f82d0743d6bd29187ae8213c92eb0e23b3f7c6d
--- /dev/null
+++ b/public_test_cases/p02309/input.2.txt
@@ -0,0 +1,2 @@
+0 0 2
+0 3 1
diff --git a/public_test_cases/p02309/output.0.txt b/public_test_cases/p02309/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bb867c9cdc37f89d802412c593212e7367a3e37
--- /dev/null
+++ b/public_test_cases/p02309/output.0.txt
@@ -0,0 +1 @@
+1.00000000 -1.73205080 1.00000000 1.73205080
diff --git a/public_test_cases/p02309/output.1.txt b/public_test_cases/p02309/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bb867c9cdc37f89d802412c593212e7367a3e37
--- /dev/null
+++ b/public_test_cases/p02309/output.1.txt
@@ -0,0 +1 @@
+1.00000000 -1.73205080 1.00000000 1.73205080
diff --git a/public_test_cases/p02309/output.2.txt b/public_test_cases/p02309/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32b70d17921fa3605f856a2893d3476d5c973517
--- /dev/null
+++ b/public_test_cases/p02309/output.2.txt
@@ -0,0 +1 @@
+0.00000000 2.00000000 0.00000000 2.00000000
diff --git a/public_test_cases/p02310/input.0.txt b/public_test_cases/p02310/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91cd77ee6068a73771872abaf88e6b2fc693398e
--- /dev/null
+++ b/public_test_cases/p02310/input.0.txt
@@ -0,0 +1,2 @@
+0 0
+2 2 2
diff --git a/public_test_cases/p02310/input.1.txt b/public_test_cases/p02310/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68fdc62e37721187193de25a1b86b8bae49efc45
--- /dev/null
+++ b/public_test_cases/p02310/input.1.txt
@@ -0,0 +1,2 @@
+-3 0
+2 2 2
diff --git a/public_test_cases/p02310/input.2.txt b/public_test_cases/p02310/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91cd77ee6068a73771872abaf88e6b2fc693398e
--- /dev/null
+++ b/public_test_cases/p02310/input.2.txt
@@ -0,0 +1,2 @@
+0 0
+2 2 2
diff --git a/public_test_cases/p02310/output.0.txt b/public_test_cases/p02310/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37bcb8ec957b365a97cb2f9cda0d7fd10aeeb001
--- /dev/null
+++ b/public_test_cases/p02310/output.0.txt
@@ -0,0 +1,2 @@
+0.0000000000 2.0000000000
+2.0000000000 0.0000000000
diff --git a/public_test_cases/p02310/output.1.txt b/public_test_cases/p02310/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6533371370d3b6470dfb1f601ec2478ee80c8bf0
--- /dev/null
+++ b/public_test_cases/p02310/output.1.txt
@@ -0,0 +1,2 @@
+0.6206896552 3.4482758621
+2.0000000000 0.0000000000
diff --git a/public_test_cases/p02310/output.2.txt b/public_test_cases/p02310/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37bcb8ec957b365a97cb2f9cda0d7fd10aeeb001
--- /dev/null
+++ b/public_test_cases/p02310/output.2.txt
@@ -0,0 +1,2 @@
+0.0000000000 2.0000000000
+2.0000000000 0.0000000000
diff --git a/public_test_cases/p02311/input.0.txt b/public_test_cases/p02311/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e29239987be561be7fd3fafdd6ebacf5b6ce37aa
--- /dev/null
+++ b/public_test_cases/p02311/input.0.txt
@@ -0,0 +1,2 @@
+1 1 1
+6 2 2
diff --git a/public_test_cases/p02311/input.1.txt b/public_test_cases/p02311/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccfc6958895fbd35fe90c66aa546baae98716ccd
--- /dev/null
+++ b/public_test_cases/p02311/input.1.txt
@@ -0,0 +1,2 @@
+1 2 1
+4 2 2
diff --git a/public_test_cases/p02311/input.2.txt b/public_test_cases/p02311/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc704680981f5401735a1b211f140e7553e3126f
--- /dev/null
+++ b/public_test_cases/p02311/input.2.txt
@@ -0,0 +1,2 @@
+1 2 1
+3 2 2
diff --git a/public_test_cases/p02311/input.3.txt b/public_test_cases/p02311/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95941653a2e546765842d8ecb20ef822bcc4f35f
--- /dev/null
+++ b/public_test_cases/p02311/input.3.txt
@@ -0,0 +1,2 @@
+0 0 1
+1 0 2
diff --git a/public_test_cases/p02311/input.4.txt b/public_test_cases/p02311/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e29239987be561be7fd3fafdd6ebacf5b6ce37aa
--- /dev/null
+++ b/public_test_cases/p02311/input.4.txt
@@ -0,0 +1,2 @@
+1 1 1
+6 2 2
diff --git a/public_test_cases/p02311/output.0.txt b/public_test_cases/p02311/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ae85759a1b9768289e8fb6b3ce9f3a35078f3cf
--- /dev/null
+++ b/public_test_cases/p02311/output.0.txt
@@ -0,0 +1,4 @@
+0.6153846154 1.9230769231
+1.0000000000 0.0000000000
+1.4183420913 1.9082895434
+1.7355040625 0.3224796874
diff --git a/public_test_cases/p02311/output.1.txt b/public_test_cases/p02311/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dee1beed9b8f91d94a6f95a46e6fdad6e214f6c
--- /dev/null
+++ b/public_test_cases/p02311/output.1.txt
@@ -0,0 +1,3 @@
+0.6666666667 1.0571909584
+0.6666666667 2.9428090416
+2.0000000000 2.0000000000
diff --git a/public_test_cases/p02311/output.2.txt b/public_test_cases/p02311/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97da67cd8137811a9d0857bcb27ae3b1f6a99533
--- /dev/null
+++ b/public_test_cases/p02311/output.2.txt
@@ -0,0 +1,2 @@
+0.5000000000 1.1339745962
+0.5000000000 2.8660254038
diff --git a/public_test_cases/p02311/output.3.txt b/public_test_cases/p02311/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bda7db851b060669dbe6a3520cf7c4e9fe7a8462
--- /dev/null
+++ b/public_test_cases/p02311/output.3.txt
@@ -0,0 +1 @@
+-1.0000000000 0.0000000000
diff --git a/public_test_cases/p02311/output.4.txt b/public_test_cases/p02311/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ae85759a1b9768289e8fb6b3ce9f3a35078f3cf
--- /dev/null
+++ b/public_test_cases/p02311/output.4.txt
@@ -0,0 +1,4 @@
+0.6153846154 1.9230769231
+1.0000000000 0.0000000000
+1.4183420913 1.9082895434
+1.7355040625 0.3224796874
diff --git a/public_test_cases/p02312/input.0.txt b/public_test_cases/p02312/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dc82a13c4ae95bf0abeb8b4da52bbdf2841fa43
--- /dev/null
+++ b/public_test_cases/p02312/input.0.txt
@@ -0,0 +1,4 @@
+3 5
+1 1
+4 1
+5 5
diff --git a/public_test_cases/p02312/input.1.txt b/public_test_cases/p02312/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8f3acbc37fec69b9b9741825644ac4986182636
--- /dev/null
+++ b/public_test_cases/p02312/input.1.txt
@@ -0,0 +1,5 @@
+4 5
+0 0
+-3 -6
+1 -3
+5 -4
diff --git a/public_test_cases/p02312/input.2.txt b/public_test_cases/p02312/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dc82a13c4ae95bf0abeb8b4da52bbdf2841fa43
--- /dev/null
+++ b/public_test_cases/p02312/input.2.txt
@@ -0,0 +1,4 @@
+3 5
+1 1
+4 1
+5 5
diff --git a/public_test_cases/p02312/output.0.txt b/public_test_cases/p02312/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52ce0b812a480108cb8b5f28789b6383ae872d5e
--- /dev/null
+++ b/public_test_cases/p02312/output.0.txt
@@ -0,0 +1 @@
+4.639858417607
diff --git a/public_test_cases/p02312/output.1.txt b/public_test_cases/p02312/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4677e89f8568cfc4898897208762d647584dce9e
--- /dev/null
+++ b/public_test_cases/p02312/output.1.txt
@@ -0,0 +1 @@
+11.787686807576
diff --git a/public_test_cases/p02312/output.2.txt b/public_test_cases/p02312/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52ce0b812a480108cb8b5f28789b6383ae872d5e
--- /dev/null
+++ b/public_test_cases/p02312/output.2.txt
@@ -0,0 +1 @@
+4.639858417607
diff --git a/public_test_cases/p02313/input.0.txt b/public_test_cases/p02313/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88e5702f650bab7eafeed6d16d7bfa86ecc33184
--- /dev/null
+++ b/public_test_cases/p02313/input.0.txt
@@ -0,0 +1,2 @@
+0 0 1
+2 0 2
diff --git a/public_test_cases/p02313/input.1.txt b/public_test_cases/p02313/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0895b9c64f9a8c04c184c6700cccb0321349a576
--- /dev/null
+++ b/public_test_cases/p02313/input.1.txt
@@ -0,0 +1,2 @@
+1 0 1
+0 0 3
diff --git a/public_test_cases/p02313/input.2.txt b/public_test_cases/p02313/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88e5702f650bab7eafeed6d16d7bfa86ecc33184
--- /dev/null
+++ b/public_test_cases/p02313/input.2.txt
@@ -0,0 +1,2 @@
+0 0 1
+2 0 2
diff --git a/public_test_cases/p02313/output.0.txt b/public_test_cases/p02313/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8aa41e2ffa3ae286d570ac6fbc39e9ed01097a83
--- /dev/null
+++ b/public_test_cases/p02313/output.0.txt
@@ -0,0 +1 @@
+1.40306643968573875104
diff --git a/public_test_cases/p02313/output.1.txt b/public_test_cases/p02313/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2835ad5c6d933fcd643f1c61c80d8d5a9a3f6dc9
--- /dev/null
+++ b/public_test_cases/p02313/output.1.txt
@@ -0,0 +1 @@
+3.14159265358979311600
diff --git a/public_test_cases/p02313/output.2.txt b/public_test_cases/p02313/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8aa41e2ffa3ae286d570ac6fbc39e9ed01097a83
--- /dev/null
+++ b/public_test_cases/p02313/output.2.txt
@@ -0,0 +1 @@
+1.40306643968573875104
diff --git a/public_test_cases/p02314/input.0.txt b/public_test_cases/p02314/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93598206c03693fb2ebebcf3b8796c21651ae241
--- /dev/null
+++ b/public_test_cases/p02314/input.0.txt
@@ -0,0 +1,2 @@
+55 4
+1 5 10 50
diff --git a/public_test_cases/p02314/output.0.txt b/public_test_cases/p02314/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02314/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02315/input.0.txt b/public_test_cases/p02315/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb569793a4e9ddf3bf1b1e48bad84ed6ac3a161c
--- /dev/null
+++ b/public_test_cases/p02315/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+4 2
+5 2
+2 1
+8 3
diff --git a/public_test_cases/p02315/output.0.txt b/public_test_cases/p02315/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02315/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02316/input.0.txt b/public_test_cases/p02316/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66fc8a86f9abd5c7c69879ae27e8120f9a46cde5
--- /dev/null
+++ b/public_test_cases/p02316/input.0.txt
@@ -0,0 +1,5 @@
+4 8
+4 2
+5 2
+2 1
+8 3
diff --git a/public_test_cases/p02316/output.0.txt b/public_test_cases/p02316/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p02316/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p02317/input.0.txt b/public_test_cases/p02317/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..517ea76f1b346eca3ef92cc3e02e9e5e78b469e7
--- /dev/null
+++ b/public_test_cases/p02317/input.0.txt
@@ -0,0 +1,6 @@
+5
+5
+1
+3
+2
+4
diff --git a/public_test_cases/p02317/input.1.txt b/public_test_cases/p02317/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..517ea76f1b346eca3ef92cc3e02e9e5e78b469e7
--- /dev/null
+++ b/public_test_cases/p02317/input.1.txt
@@ -0,0 +1,6 @@
+5
+5
+1
+3
+2
+4
diff --git a/public_test_cases/p02317/input.2.txt b/public_test_cases/p02317/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..575c8010c20dc4b93b9e7a109380bc16b3e4663d
--- /dev/null
+++ b/public_test_cases/p02317/input.2.txt
@@ -0,0 +1,4 @@
+3
+1
+1
+1
diff --git a/public_test_cases/p02317/output.0.txt b/public_test_cases/p02317/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02317/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02317/output.1.txt b/public_test_cases/p02317/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02317/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02317/output.2.txt b/public_test_cases/p02317/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02317/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02318/input.0.txt b/public_test_cases/p02318/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28a7685a97ecdd5a42076617c5ddef4f77bf3325
--- /dev/null
+++ b/public_test_cases/p02318/input.0.txt
@@ -0,0 +1,2 @@
+acac
+acm
diff --git a/public_test_cases/p02318/input.1.txt b/public_test_cases/p02318/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba8b955de5e5283a6a9b000e3b5fc834d05f5ef9
--- /dev/null
+++ b/public_test_cases/p02318/input.1.txt
@@ -0,0 +1,2 @@
+icpc
+icpc
diff --git a/public_test_cases/p02318/input.2.txt b/public_test_cases/p02318/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28a7685a97ecdd5a42076617c5ddef4f77bf3325
--- /dev/null
+++ b/public_test_cases/p02318/input.2.txt
@@ -0,0 +1,2 @@
+acac
+acm
diff --git a/public_test_cases/p02318/output.0.txt b/public_test_cases/p02318/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02318/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02318/output.1.txt b/public_test_cases/p02318/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02318/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02318/output.2.txt b/public_test_cases/p02318/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02318/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02319/input.0.txt b/public_test_cases/p02319/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb569793a4e9ddf3bf1b1e48bad84ed6ac3a161c
--- /dev/null
+++ b/public_test_cases/p02319/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+4 2
+5 2
+2 1
+8 3
diff --git a/public_test_cases/p02319/input.1.txt b/public_test_cases/p02319/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb569793a4e9ddf3bf1b1e48bad84ed6ac3a161c
--- /dev/null
+++ b/public_test_cases/p02319/input.1.txt
@@ -0,0 +1,5 @@
+4 5
+4 2
+5 2
+2 1
+8 3
diff --git a/public_test_cases/p02319/input.2.txt b/public_test_cases/p02319/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea8ebf1dd10f7cada2444b0ba032a3f169396cd1
--- /dev/null
+++ b/public_test_cases/p02319/input.2.txt
@@ -0,0 +1,3 @@
+2 20
+5 9
+4 10
diff --git a/public_test_cases/p02319/output.0.txt b/public_test_cases/p02319/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02319/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02319/output.1.txt b/public_test_cases/p02319/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02319/output.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02319/output.2.txt b/public_test_cases/p02319/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02319/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02320/input.0.txt b/public_test_cases/p02320/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1ee2ba2edeecd4db9f4b27c3a0cf65c5ebaa47a
--- /dev/null
+++ b/public_test_cases/p02320/input.0.txt
@@ -0,0 +1,5 @@
+4 8
+4 3 2
+2 1 1
+1 2 4
+3 2 2
diff --git a/public_test_cases/p02320/input.1.txt b/public_test_cases/p02320/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..545b04986b0b954b8af24ca6d510490b732997b8
--- /dev/null
+++ b/public_test_cases/p02320/input.1.txt
@@ -0,0 +1,3 @@
+2 100
+1 1 100
+2 1 50
diff --git a/public_test_cases/p02320/input.2.txt b/public_test_cases/p02320/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1ee2ba2edeecd4db9f4b27c3a0cf65c5ebaa47a
--- /dev/null
+++ b/public_test_cases/p02320/input.2.txt
@@ -0,0 +1,5 @@
+4 8
+4 3 2
+2 1 1
+1 2 4
+3 2 2
diff --git a/public_test_cases/p02320/output.0.txt b/public_test_cases/p02320/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02320/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02320/output.1.txt b/public_test_cases/p02320/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa8f08cb6ff8a30dd34a3b442009bdfc798a7316
--- /dev/null
+++ b/public_test_cases/p02320/output.1.txt
@@ -0,0 +1 @@
+150
diff --git a/public_test_cases/p02320/output.2.txt b/public_test_cases/p02320/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02320/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02321/input.0.txt b/public_test_cases/p02321/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb569793a4e9ddf3bf1b1e48bad84ed6ac3a161c
--- /dev/null
+++ b/public_test_cases/p02321/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+4 2
+5 2
+2 1
+8 3
diff --git a/public_test_cases/p02321/input.1.txt b/public_test_cases/p02321/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb569793a4e9ddf3bf1b1e48bad84ed6ac3a161c
--- /dev/null
+++ b/public_test_cases/p02321/input.1.txt
@@ -0,0 +1,5 @@
+4 5
+4 2
+5 2
+2 1
+8 3
diff --git a/public_test_cases/p02321/input.2.txt b/public_test_cases/p02321/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea8ebf1dd10f7cada2444b0ba032a3f169396cd1
--- /dev/null
+++ b/public_test_cases/p02321/input.2.txt
@@ -0,0 +1,3 @@
+2 20
+5 9
+4 10
diff --git a/public_test_cases/p02321/output.0.txt b/public_test_cases/p02321/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02321/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02321/output.1.txt b/public_test_cases/p02321/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02321/output.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02321/output.2.txt b/public_test_cases/p02321/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02321/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02322/input.0.txt b/public_test_cases/p02322/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1ee2ba2edeecd4db9f4b27c3a0cf65c5ebaa47a
--- /dev/null
+++ b/public_test_cases/p02322/input.0.txt
@@ -0,0 +1,5 @@
+4 8
+4 3 2
+2 1 1
+1 2 4
+3 2 2
diff --git a/public_test_cases/p02322/input.1.txt b/public_test_cases/p02322/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..545b04986b0b954b8af24ca6d510490b732997b8
--- /dev/null
+++ b/public_test_cases/p02322/input.1.txt
@@ -0,0 +1,3 @@
+2 100
+1 1 100
+2 1 50
diff --git a/public_test_cases/p02322/input.2.txt b/public_test_cases/p02322/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83cc0fc6b876ca4bc21b37738d6fc2da4acb94b9
--- /dev/null
+++ b/public_test_cases/p02322/input.2.txt
@@ -0,0 +1,6 @@
+5 1000000000
+3 5 1000000000
+7 6 1000000000
+4 4 1000000000
+6 8 1000000000
+2 5 1000000000
diff --git a/public_test_cases/p02322/input.3.txt b/public_test_cases/p02322/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1ee2ba2edeecd4db9f4b27c3a0cf65c5ebaa47a
--- /dev/null
+++ b/public_test_cases/p02322/input.3.txt
@@ -0,0 +1,5 @@
+4 8
+4 3 2
+2 1 1
+1 2 4
+3 2 2
diff --git a/public_test_cases/p02322/output.0.txt b/public_test_cases/p02322/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02322/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02322/output.1.txt b/public_test_cases/p02322/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa8f08cb6ff8a30dd34a3b442009bdfc798a7316
--- /dev/null
+++ b/public_test_cases/p02322/output.1.txt
@@ -0,0 +1 @@
+150
diff --git a/public_test_cases/p02322/output.2.txt b/public_test_cases/p02322/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26e0d00f5c5250dcd7e9110d9ff6e483d907e984
--- /dev/null
+++ b/public_test_cases/p02322/output.2.txt
@@ -0,0 +1 @@
+1166666666
diff --git a/public_test_cases/p02322/output.3.txt b/public_test_cases/p02322/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02322/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02323/input.0.txt b/public_test_cases/p02323/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..217c039dce44fdc678141c526d80fb65e5733a41
--- /dev/null
+++ b/public_test_cases/p02323/input.0.txt
@@ -0,0 +1,7 @@
+4 6
+0 1 2
+1 2 3
+1 3 9
+2 0 1
+2 3 6
+3 2 4
diff --git a/public_test_cases/p02323/input.1.txt b/public_test_cases/p02323/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6990c6a713973ebbbfd7646360c539777e672cc2
--- /dev/null
+++ b/public_test_cases/p02323/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+0 1 1
+1 2 1
+0 2 1
diff --git a/public_test_cases/p02323/input.2.txt b/public_test_cases/p02323/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..217c039dce44fdc678141c526d80fb65e5733a41
--- /dev/null
+++ b/public_test_cases/p02323/input.2.txt
@@ -0,0 +1,7 @@
+4 6
+0 1 2
+1 2 3
+1 3 9
+2 0 1
+2 3 6
+3 2 4
diff --git a/public_test_cases/p02323/output.0.txt b/public_test_cases/p02323/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p02323/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p02323/output.1.txt b/public_test_cases/p02323/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02323/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02323/output.2.txt b/public_test_cases/p02323/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p02323/output.2.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p02324/input.0.txt b/public_test_cases/p02324/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f52680207eebfdb54bb9d7fc84e606c92b093ee
--- /dev/null
+++ b/public_test_cases/p02324/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+0 1 1
+0 2 2
+1 3 3
+2 3 4
diff --git a/public_test_cases/p02324/input.1.txt b/public_test_cases/p02324/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfae929bb59482b08961c76221657a742ce78632
--- /dev/null
+++ b/public_test_cases/p02324/input.1.txt
@@ -0,0 +1,6 @@
+4 5
+0 1 1
+0 2 2
+1 3 3
+2 3 4
+1 2 5
diff --git a/public_test_cases/p02324/input.2.txt b/public_test_cases/p02324/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f52680207eebfdb54bb9d7fc84e606c92b093ee
--- /dev/null
+++ b/public_test_cases/p02324/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+0 1 1
+0 2 2
+1 3 3
+2 3 4
diff --git a/public_test_cases/p02324/input.3.txt b/public_test_cases/p02324/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..077cde4b995260248125b0086a41b87472743b5e
--- /dev/null
+++ b/public_test_cases/p02324/input.3.txt
@@ -0,0 +1,4 @@
+2 3
+0 1 1
+0 1 2
+0 1 3
diff --git a/public_test_cases/p02324/output.0.txt b/public_test_cases/p02324/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02324/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02324/output.1.txt b/public_test_cases/p02324/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p02324/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p02324/output.2.txt b/public_test_cases/p02324/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02324/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02324/output.3.txt b/public_test_cases/p02324/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02324/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02325/input.0.txt b/public_test_cases/p02325/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c51ee9807a3f6cdae1642095e97b05f5a2a506d
--- /dev/null
+++ b/public_test_cases/p02325/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0
+1 1
+2 0
diff --git a/public_test_cases/p02325/input.1.txt b/public_test_cases/p02325/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c51ee9807a3f6cdae1642095e97b05f5a2a506d
--- /dev/null
+++ b/public_test_cases/p02325/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 0
+1 1
+2 0
diff --git a/public_test_cases/p02325/input.2.txt b/public_test_cases/p02325/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7332ad91fa3701b312416bc249834b47d905ea3b
--- /dev/null
+++ b/public_test_cases/p02325/input.2.txt
@@ -0,0 +1,6 @@
+5
+0 0
+1 2
+2 1
+3 2
+4 0
diff --git a/public_test_cases/p02325/input.3.txt b/public_test_cases/p02325/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffeace4aff83d490685e549ae4288c0022f9d466
--- /dev/null
+++ b/public_test_cases/p02325/input.3.txt
@@ -0,0 +1,5 @@
+4
+0 1
+1 2
+2 0
+3 1
diff --git a/public_test_cases/p02325/output.0.txt b/public_test_cases/p02325/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27005323b5bd3feb9e0a21a087b51fe1e60ce468
--- /dev/null
+++ b/public_test_cases/p02325/output.0.txt
@@ -0,0 +1 @@
+4.82842712
diff --git a/public_test_cases/p02325/output.1.txt b/public_test_cases/p02325/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27005323b5bd3feb9e0a21a087b51fe1e60ce468
--- /dev/null
+++ b/public_test_cases/p02325/output.1.txt
@@ -0,0 +1 @@
+4.82842712
diff --git a/public_test_cases/p02325/output.2.txt b/public_test_cases/p02325/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bbd30d7a12aaf10cdc55adf4ae8afc5bb29cd48
--- /dev/null
+++ b/public_test_cases/p02325/output.2.txt
@@ -0,0 +1 @@
+10.94427191
diff --git a/public_test_cases/p02325/output.3.txt b/public_test_cases/p02325/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..311780dac96c411353cf65d643e6e5471abcd020
--- /dev/null
+++ b/public_test_cases/p02325/output.3.txt
@@ -0,0 +1 @@
+7.30056308
diff --git a/public_test_cases/p02326/input.0.txt b/public_test_cases/p02326/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d7bd9bfaf3ded71844de5a052f0f955fc43a177
--- /dev/null
+++ b/public_test_cases/p02326/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+0 0 1 0 0
+1 0 0 0 0
+0 0 0 1 0
+0 0 0 1 0
diff --git a/public_test_cases/p02326/input.1.txt b/public_test_cases/p02326/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d7bd9bfaf3ded71844de5a052f0f955fc43a177
--- /dev/null
+++ b/public_test_cases/p02326/input.1.txt
@@ -0,0 +1,5 @@
+4 5
+0 0 1 0 0
+1 0 0 0 0
+0 0 0 1 0
+0 0 0 1 0
diff --git a/public_test_cases/p02326/output.0.txt b/public_test_cases/p02326/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02326/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02326/output.1.txt b/public_test_cases/p02326/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02326/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02327/input.0.txt b/public_test_cases/p02327/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d7bd9bfaf3ded71844de5a052f0f955fc43a177
--- /dev/null
+++ b/public_test_cases/p02327/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+0 0 1 0 0
+1 0 0 0 0
+0 0 0 1 0
+0 0 0 1 0
diff --git a/public_test_cases/p02327/input.1.txt b/public_test_cases/p02327/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d7bd9bfaf3ded71844de5a052f0f955fc43a177
--- /dev/null
+++ b/public_test_cases/p02327/input.1.txt
@@ -0,0 +1,5 @@
+4 5
+0 0 1 0 0
+1 0 0 0 0
+0 0 0 1 0
+0 0 0 1 0
diff --git a/public_test_cases/p02327/output.0.txt b/public_test_cases/p02327/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02327/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02327/output.1.txt b/public_test_cases/p02327/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02327/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02328/input.0.txt b/public_test_cases/p02328/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1a61df111df99c4a211fc088318b1756b1099d6
--- /dev/null
+++ b/public_test_cases/p02328/input.0.txt
@@ -0,0 +1,2 @@
+8
+2 1 3 5 3 4 2 1
diff --git a/public_test_cases/p02328/input.1.txt b/public_test_cases/p02328/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1a61df111df99c4a211fc088318b1756b1099d6
--- /dev/null
+++ b/public_test_cases/p02328/input.1.txt
@@ -0,0 +1,2 @@
+8
+2 1 3 5 3 4 2 1
diff --git a/public_test_cases/p02328/input.2.txt b/public_test_cases/p02328/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5c2c53b733ef694e89c98e67ee800c707ca0d51
--- /dev/null
+++ b/public_test_cases/p02328/input.2.txt
@@ -0,0 +1,2 @@
+3
+2 0 1
diff --git a/public_test_cases/p02328/output.0.txt b/public_test_cases/p02328/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02328/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02328/output.1.txt b/public_test_cases/p02328/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02328/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02328/output.2.txt b/public_test_cases/p02328/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02328/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02329/input.0.txt b/public_test_cases/p02329/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4262ae3c806f49a58418c0121b1407055a3c2c9a
--- /dev/null
+++ b/public_test_cases/p02329/input.0.txt
@@ -0,0 +1,5 @@
+3 14
+3 1 2
+4 8 2
+1 2 3
+7 3 2
diff --git a/public_test_cases/p02329/input.1.txt b/public_test_cases/p02329/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4262ae3c806f49a58418c0121b1407055a3c2c9a
--- /dev/null
+++ b/public_test_cases/p02329/input.1.txt
@@ -0,0 +1,5 @@
+3 14
+3 1 2
+4 8 2
+1 2 3
+7 3 2
diff --git a/public_test_cases/p02329/input.2.txt b/public_test_cases/p02329/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7481c2a8e25cc1979ab0e53bc5fde347719cbf57
--- /dev/null
+++ b/public_test_cases/p02329/input.2.txt
@@ -0,0 +1,5 @@
+5 4
+1 1 1 1 1
+1 1 1 1 1
+1 1 1 1 1
+1 1 1 1 1
diff --git a/public_test_cases/p02329/output.0.txt b/public_test_cases/p02329/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02329/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02329/output.1.txt b/public_test_cases/p02329/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02329/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02329/output.2.txt b/public_test_cases/p02329/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67ac2bbd74f2abf30ba6b4cb6e015e88d41e3d2d
--- /dev/null
+++ b/public_test_cases/p02329/output.2.txt
@@ -0,0 +1 @@
+625
diff --git a/public_test_cases/p02330/input.0.txt b/public_test_cases/p02330/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f72b1551b4915804c344214464aeea0c45bf9527
--- /dev/null
+++ b/public_test_cases/p02330/input.0.txt
@@ -0,0 +1,2 @@
+2 2 1 9
+5 1
diff --git a/public_test_cases/p02330/input.1.txt b/public_test_cases/p02330/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b30b28c330ea0ab3e826cef8e1a938e21b1960f5
--- /dev/null
+++ b/public_test_cases/p02330/input.1.txt
@@ -0,0 +1,2 @@
+5 2 7 19
+3 5 4 2 2
diff --git a/public_test_cases/p02330/input.2.txt b/public_test_cases/p02330/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f72b1551b4915804c344214464aeea0c45bf9527
--- /dev/null
+++ b/public_test_cases/p02330/input.2.txt
@@ -0,0 +1,2 @@
+2 2 1 9
+5 1
diff --git a/public_test_cases/p02330/output.0.txt b/public_test_cases/p02330/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02330/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02330/output.1.txt b/public_test_cases/p02330/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02330/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02330/output.2.txt b/public_test_cases/p02330/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02330/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02331/input.0.txt b/public_test_cases/p02331/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02331/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02331/output.0.txt b/public_test_cases/p02331/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02331/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02332/input.0.txt b/public_test_cases/p02332/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02332/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02332/output.0.txt b/public_test_cases/p02332/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02332/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02333/input.0.txt b/public_test_cases/p02333/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p02333/input.0.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p02333/output.0.txt b/public_test_cases/p02333/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p02333/output.0.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p02334/input.0.txt b/public_test_cases/p02334/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p02334/input.0.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p02334/output.0.txt b/public_test_cases/p02334/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p02334/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p02335/input.0.txt b/public_test_cases/p02335/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p02335/input.0.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p02335/output.0.txt b/public_test_cases/p02335/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02335/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02336/input.0.txt b/public_test_cases/p02336/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p02336/input.0.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p02336/output.0.txt b/public_test_cases/p02336/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02336/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02337/input.0.txt b/public_test_cases/p02337/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p02337/input.0.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p02337/output.0.txt b/public_test_cases/p02337/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02337/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02338/input.0.txt b/public_test_cases/p02338/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..795ed346d0db02e9292e1c9c4e690016ce174cda
--- /dev/null
+++ b/public_test_cases/p02338/input.0.txt
@@ -0,0 +1 @@
+5 10
diff --git a/public_test_cases/p02338/output.0.txt b/public_test_cases/p02338/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02338/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02339/input.0.txt b/public_test_cases/p02339/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p02339/input.0.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p02339/output.0.txt b/public_test_cases/p02339/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02339/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02340/input.0.txt b/public_test_cases/p02340/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p02340/input.0.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p02340/output.0.txt b/public_test_cases/p02340/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02340/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02341/input.0.txt b/public_test_cases/p02341/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..795ed346d0db02e9292e1c9c4e690016ce174cda
--- /dev/null
+++ b/public_test_cases/p02341/input.0.txt
@@ -0,0 +1 @@
+5 10
diff --git a/public_test_cases/p02341/output.0.txt b/public_test_cases/p02341/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02341/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02342/input.0.txt b/public_test_cases/p02342/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2deca7fbadd84a9ab0a54387a6aef25603311e73
--- /dev/null
+++ b/public_test_cases/p02342/input.0.txt
@@ -0,0 +1 @@
+10 5
diff --git a/public_test_cases/p02342/output.0.txt b/public_test_cases/p02342/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02342/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02343/input.0.txt b/public_test_cases/p02343/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..731c0d4c58ff711ec256f710c508ff2a2f6bd6b5
--- /dev/null
+++ b/public_test_cases/p02343/input.0.txt
@@ -0,0 +1,13 @@
+5 12
+0 1 4
+0 2 3
+1 1 2
+1 3 4
+1 1 4
+1 3 2
+0 1 3
+1 2 4
+1 3 0
+0 0 4
+1 0 2
+1 3 0
diff --git a/public_test_cases/p02343/input.1.txt b/public_test_cases/p02343/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..731c0d4c58ff711ec256f710c508ff2a2f6bd6b5
--- /dev/null
+++ b/public_test_cases/p02343/input.1.txt
@@ -0,0 +1,13 @@
+5 12
+0 1 4
+0 2 3
+1 1 2
+1 3 4
+1 1 4
+1 3 2
+0 1 3
+1 2 4
+1 3 0
+0 0 4
+1 0 2
+1 3 0
diff --git a/public_test_cases/p02343/output.0.txt b/public_test_cases/p02343/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..debc7215661334a428d145eaa4aadf436359f6b3
--- /dev/null
+++ b/public_test_cases/p02343/output.0.txt
@@ -0,0 +1,8 @@
+0
+0
+1
+1
+1
+0
+1
+1
diff --git a/public_test_cases/p02343/output.1.txt b/public_test_cases/p02343/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..debc7215661334a428d145eaa4aadf436359f6b3
--- /dev/null
+++ b/public_test_cases/p02343/output.1.txt
@@ -0,0 +1,8 @@
+0
+0
+1
+1
+1
+0
+1
+1
diff --git a/public_test_cases/p02344/input.0.txt b/public_test_cases/p02344/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dba687d0d81ff2e95c34b124766327390d52b549
--- /dev/null
+++ b/public_test_cases/p02344/input.0.txt
@@ -0,0 +1,7 @@
+5 6
+0 0 2 5
+0 1 2 3
+1 0 1
+1 1 3
+0 1 4 8
+1 0 4
diff --git a/public_test_cases/p02344/input.1.txt b/public_test_cases/p02344/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dba687d0d81ff2e95c34b124766327390d52b549
--- /dev/null
+++ b/public_test_cases/p02344/input.1.txt
@@ -0,0 +1,7 @@
+5 6
+0 0 2 5
+0 1 2 3
+1 0 1
+1 1 3
+0 1 4 8
+1 0 4
diff --git a/public_test_cases/p02344/output.0.txt b/public_test_cases/p02344/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..647938606f5ef576d8e4d1417cffc3a9526e048e
--- /dev/null
+++ b/public_test_cases/p02344/output.0.txt
@@ -0,0 +1,3 @@
+2
+?
+10
diff --git a/public_test_cases/p02344/output.1.txt b/public_test_cases/p02344/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..647938606f5ef576d8e4d1417cffc3a9526e048e
--- /dev/null
+++ b/public_test_cases/p02344/output.1.txt
@@ -0,0 +1,3 @@
+2
+?
+10
diff --git a/public_test_cases/p02345/input.0.txt b/public_test_cases/p02345/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fb618c632b6eceae9b1d57bd45769a139c801ac
--- /dev/null
+++ b/public_test_cases/p02345/input.0.txt
@@ -0,0 +1,6 @@
+3 5
+0 0 1
+0 1 2
+0 2 3
+1 0 2
+1 1 2
diff --git a/public_test_cases/p02345/input.1.txt b/public_test_cases/p02345/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fb618c632b6eceae9b1d57bd45769a139c801ac
--- /dev/null
+++ b/public_test_cases/p02345/input.1.txt
@@ -0,0 +1,6 @@
+3 5
+0 0 1
+0 1 2
+0 2 3
+1 0 2
+1 1 2
diff --git a/public_test_cases/p02345/input.2.txt b/public_test_cases/p02345/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3acebcde613ec73838ee1143ebd58352e2324621
--- /dev/null
+++ b/public_test_cases/p02345/input.2.txt
@@ -0,0 +1,4 @@
+1 3
+1 0 0
+0 0 5
+1 0 0
diff --git a/public_test_cases/p02345/output.0.txt b/public_test_cases/p02345/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p02345/output.0.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p02345/output.1.txt b/public_test_cases/p02345/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p02345/output.1.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p02345/output.2.txt b/public_test_cases/p02345/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78670f2d468a1cbee5f1c5fc97ea07f93969f923
--- /dev/null
+++ b/public_test_cases/p02345/output.2.txt
@@ -0,0 +1,2 @@
+2147483647
+5
diff --git a/public_test_cases/p02346/input.0.txt b/public_test_cases/p02346/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14c2b271adf36267ff233993450a047260b938bc
--- /dev/null
+++ b/public_test_cases/p02346/input.0.txt
@@ -0,0 +1,6 @@
+3 5
+0 1 1
+0 2 2
+0 3 3
+1 1 2
+1 2 2
diff --git a/public_test_cases/p02346/input.1.txt b/public_test_cases/p02346/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14c2b271adf36267ff233993450a047260b938bc
--- /dev/null
+++ b/public_test_cases/p02346/input.1.txt
@@ -0,0 +1,6 @@
+3 5
+0 1 1
+0 2 2
+0 3 3
+1 1 2
+1 2 2
diff --git a/public_test_cases/p02346/output.0.txt b/public_test_cases/p02346/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e5eeed2d935fb330d6755eeb3e46d18fa7aac1
--- /dev/null
+++ b/public_test_cases/p02346/output.0.txt
@@ -0,0 +1,2 @@
+3
+2
diff --git a/public_test_cases/p02346/output.1.txt b/public_test_cases/p02346/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e5eeed2d935fb330d6755eeb3e46d18fa7aac1
--- /dev/null
+++ b/public_test_cases/p02346/output.1.txt
@@ -0,0 +1,2 @@
+3
+2
diff --git a/public_test_cases/p02347/input.0.txt b/public_test_cases/p02347/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d2679b0249c7265d66e123b3b839e81f538fb13
--- /dev/null
+++ b/public_test_cases/p02347/input.0.txt
@@ -0,0 +1,10 @@
+6
+2 1
+2 2
+4 2
+6 2
+3 3
+5 4
+2
+2 4 0 4
+4 10 2 5
diff --git a/public_test_cases/p02347/input.1.txt b/public_test_cases/p02347/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d2679b0249c7265d66e123b3b839e81f538fb13
--- /dev/null
+++ b/public_test_cases/p02347/input.1.txt
@@ -0,0 +1,10 @@
+6
+2 1
+2 2
+4 2
+6 2
+3 3
+5 4
+2
+2 4 0 4
+4 10 2 5
diff --git a/public_test_cases/p02347/output.0.txt b/public_test_cases/p02347/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dedf0a4823927d629e7531bf86652600426af7a6
--- /dev/null
+++ b/public_test_cases/p02347/output.0.txt
@@ -0,0 +1,8 @@
+0
+1
+2
+4
+
+2
+3
+5
diff --git a/public_test_cases/p02347/output.1.txt b/public_test_cases/p02347/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dedf0a4823927d629e7531bf86652600426af7a6
--- /dev/null
+++ b/public_test_cases/p02347/output.1.txt
@@ -0,0 +1,8 @@
+0
+1
+2
+4
+
+2
+3
+5
diff --git a/public_test_cases/p02348/input.0.txt b/public_test_cases/p02348/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87718aee5a96494675c17185d3510096375ddf89
--- /dev/null
+++ b/public_test_cases/p02348/input.0.txt
@@ -0,0 +1,6 @@
+3 5
+0 0 1 1
+0 1 2 3
+0 2 2 2
+1 0
+1 1
diff --git a/public_test_cases/p02348/input.1.txt b/public_test_cases/p02348/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87718aee5a96494675c17185d3510096375ddf89
--- /dev/null
+++ b/public_test_cases/p02348/input.1.txt
@@ -0,0 +1,6 @@
+3 5
+0 0 1 1
+0 1 2 3
+0 2 2 2
+1 0
+1 1
diff --git a/public_test_cases/p02348/input.2.txt b/public_test_cases/p02348/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b425a9b65949f8e3326babb25848a1db964b1c55
--- /dev/null
+++ b/public_test_cases/p02348/input.2.txt
@@ -0,0 +1,4 @@
+1 3
+1 0
+0 0 0 5
+1 0
diff --git a/public_test_cases/p02348/output.0.txt b/public_test_cases/p02348/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p02348/output.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p02348/output.1.txt b/public_test_cases/p02348/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p02348/output.1.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p02348/output.2.txt b/public_test_cases/p02348/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78670f2d468a1cbee5f1c5fc97ea07f93969f923
--- /dev/null
+++ b/public_test_cases/p02348/output.2.txt
@@ -0,0 +1,2 @@
+2147483647
+5
diff --git a/public_test_cases/p02349/input.0.txt b/public_test_cases/p02349/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a58c7a1073520d39bbbeda2bf8c66ab890ffa71
--- /dev/null
+++ b/public_test_cases/p02349/input.0.txt
@@ -0,0 +1,6 @@
+3 5
+0 1 2 1
+0 2 3 2
+0 3 3 3
+1 2
+1 3
diff --git a/public_test_cases/p02349/input.1.txt b/public_test_cases/p02349/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a58c7a1073520d39bbbeda2bf8c66ab890ffa71
--- /dev/null
+++ b/public_test_cases/p02349/input.1.txt
@@ -0,0 +1,6 @@
+3 5
+0 1 2 1
+0 2 3 2
+0 3 3 3
+1 2
+1 3
diff --git a/public_test_cases/p02349/input.2.txt b/public_test_cases/p02349/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6aaad615a0d7b29c0a69322bd0864dfb33e6c8e5
--- /dev/null
+++ b/public_test_cases/p02349/input.2.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+0 1 4 1
+1 2
diff --git a/public_test_cases/p02349/output.0.txt b/public_test_cases/p02349/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ee0007bf1f1aaeab67e3ea1c9ae21003171a460
--- /dev/null
+++ b/public_test_cases/p02349/output.0.txt
@@ -0,0 +1,2 @@
+3
+5
diff --git a/public_test_cases/p02349/output.1.txt b/public_test_cases/p02349/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ee0007bf1f1aaeab67e3ea1c9ae21003171a460
--- /dev/null
+++ b/public_test_cases/p02349/output.1.txt
@@ -0,0 +1,2 @@
+3
+5
diff --git a/public_test_cases/p02349/output.2.txt b/public_test_cases/p02349/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d66ea1aee9527bfa39185ead1f9cdbd96bba88c
--- /dev/null
+++ b/public_test_cases/p02349/output.2.txt
@@ -0,0 +1,2 @@
+0
+1
diff --git a/public_test_cases/p02350/input.0.txt b/public_test_cases/p02350/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..289e5083602c97d68c41b43051dcdcb092aebda6
--- /dev/null
+++ b/public_test_cases/p02350/input.0.txt
@@ -0,0 +1,6 @@
+3 5
+0 0 1 1
+0 1 2 3
+0 2 2 2
+1 0 2
+1 1 2
diff --git a/public_test_cases/p02350/input.1.txt b/public_test_cases/p02350/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9201f8227dd1f077b02814eb27c1a6aa4f5a6d6b
--- /dev/null
+++ b/public_test_cases/p02350/input.1.txt
@@ -0,0 +1,4 @@
+1 3
+1 0 0
+0 0 0 5
+1 0 0
diff --git a/public_test_cases/p02350/input.2.txt b/public_test_cases/p02350/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..289e5083602c97d68c41b43051dcdcb092aebda6
--- /dev/null
+++ b/public_test_cases/p02350/input.2.txt
@@ -0,0 +1,6 @@
+3 5
+0 0 1 1
+0 1 2 3
+0 2 2 2
+1 0 2
+1 1 2
diff --git a/public_test_cases/p02350/output.0.txt b/public_test_cases/p02350/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p02350/output.0.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p02350/output.1.txt b/public_test_cases/p02350/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78670f2d468a1cbee5f1c5fc97ea07f93969f923
--- /dev/null
+++ b/public_test_cases/p02350/output.1.txt
@@ -0,0 +1,2 @@
+2147483647
+5
diff --git a/public_test_cases/p02350/output.2.txt b/public_test_cases/p02350/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p02350/output.2.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p02351/input.0.txt b/public_test_cases/p02351/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cb0b1793176156f37a8900b0685bb84e03c4d8d
--- /dev/null
+++ b/public_test_cases/p02351/input.0.txt
@@ -0,0 +1,6 @@
+3 5
+0 1 2 1
+0 2 3 2
+0 3 3 3
+1 1 2
+1 2 3
diff --git a/public_test_cases/p02351/input.1.txt b/public_test_cases/p02351/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c8811299dab991ea5e55a57a9c1df37cbbab7d7
--- /dev/null
+++ b/public_test_cases/p02351/input.1.txt
@@ -0,0 +1,4 @@
+4 3
+1 1 4
+0 1 4 1
+1 1 4
diff --git a/public_test_cases/p02351/input.2.txt b/public_test_cases/p02351/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cb0b1793176156f37a8900b0685bb84e03c4d8d
--- /dev/null
+++ b/public_test_cases/p02351/input.2.txt
@@ -0,0 +1,6 @@
+3 5
+0 1 2 1
+0 2 3 2
+0 3 3 3
+1 1 2
+1 2 3
diff --git a/public_test_cases/p02351/output.0.txt b/public_test_cases/p02351/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de78180725a82141b5064f9715b66b2956856254
--- /dev/null
+++ b/public_test_cases/p02351/output.0.txt
@@ -0,0 +1,2 @@
+4
+8
diff --git a/public_test_cases/p02351/output.1.txt b/public_test_cases/p02351/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f1d7cd301262e994b4343b2d4b3494063c05642
--- /dev/null
+++ b/public_test_cases/p02351/output.1.txt
@@ -0,0 +1,2 @@
+0
+4
diff --git a/public_test_cases/p02351/output.2.txt b/public_test_cases/p02351/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de78180725a82141b5064f9715b66b2956856254
--- /dev/null
+++ b/public_test_cases/p02351/output.2.txt
@@ -0,0 +1,2 @@
+4
+8
diff --git a/public_test_cases/p02352/input.0.txt b/public_test_cases/p02352/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b6a616876177289c09e03ecf160aba16877ac4b
--- /dev/null
+++ b/public_test_cases/p02352/input.0.txt
@@ -0,0 +1,8 @@
+6 7
+0 1 3 1
+0 2 4 -2
+1 0 5
+1 0 1
+0 3 5 3
+1 3 4
+1 0 5
diff --git a/public_test_cases/p02352/input.1.txt b/public_test_cases/p02352/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b6a616876177289c09e03ecf160aba16877ac4b
--- /dev/null
+++ b/public_test_cases/p02352/input.1.txt
@@ -0,0 +1,8 @@
+6 7
+0 1 3 1
+0 2 4 -2
+1 0 5
+1 0 1
+0 3 5 3
+1 3 4
+1 0 5
diff --git a/public_test_cases/p02352/output.0.txt b/public_test_cases/p02352/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb490be68886cbb9e76f9a43476f4a93a2598610
--- /dev/null
+++ b/public_test_cases/p02352/output.0.txt
@@ -0,0 +1,4 @@
+-2
+0
+1
+-1
diff --git a/public_test_cases/p02352/output.1.txt b/public_test_cases/p02352/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb490be68886cbb9e76f9a43476f4a93a2598610
--- /dev/null
+++ b/public_test_cases/p02352/output.1.txt
@@ -0,0 +1,4 @@
+-2
+0
+1
+-1
diff --git a/public_test_cases/p02353/input.0.txt b/public_test_cases/p02353/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b6a616876177289c09e03ecf160aba16877ac4b
--- /dev/null
+++ b/public_test_cases/p02353/input.0.txt
@@ -0,0 +1,8 @@
+6 7
+0 1 3 1
+0 2 4 -2
+1 0 5
+1 0 1
+0 3 5 3
+1 3 4
+1 0 5
diff --git a/public_test_cases/p02353/input.1.txt b/public_test_cases/p02353/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b6a616876177289c09e03ecf160aba16877ac4b
--- /dev/null
+++ b/public_test_cases/p02353/input.1.txt
@@ -0,0 +1,8 @@
+6 7
+0 1 3 1
+0 2 4 -2
+1 0 5
+1 0 1
+0 3 5 3
+1 3 4
+1 0 5
diff --git a/public_test_cases/p02353/output.0.txt b/public_test_cases/p02353/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85f701962a4c9f041f1083680db370d981c7b162
--- /dev/null
+++ b/public_test_cases/p02353/output.0.txt
@@ -0,0 +1,4 @@
+-5
+1
+6
+8
diff --git a/public_test_cases/p02353/output.1.txt b/public_test_cases/p02353/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85f701962a4c9f041f1083680db370d981c7b162
--- /dev/null
+++ b/public_test_cases/p02353/output.1.txt
@@ -0,0 +1,4 @@
+-5
+1
+6
+8
diff --git a/public_test_cases/p02354/input.0.txt b/public_test_cases/p02354/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e97204f395b9e2d4949bd4eb8e156eb292fe374
--- /dev/null
+++ b/public_test_cases/p02354/input.0.txt
@@ -0,0 +1,2 @@
+6 4
+1 2 1 2 3 2
diff --git a/public_test_cases/p02354/input.1.txt b/public_test_cases/p02354/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e97204f395b9e2d4949bd4eb8e156eb292fe374
--- /dev/null
+++ b/public_test_cases/p02354/input.1.txt
@@ -0,0 +1,2 @@
+6 4
+1 2 1 2 3 2
diff --git a/public_test_cases/p02354/input.2.txt b/public_test_cases/p02354/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce76351838068d6dea9ec28e633a2a010ade90f9
--- /dev/null
+++ b/public_test_cases/p02354/input.2.txt
@@ -0,0 +1,2 @@
+6 6
+1 2 1 2 3 2
diff --git a/public_test_cases/p02354/input.3.txt b/public_test_cases/p02354/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42c2f875150642c9da668609b3682a3ede8af304
--- /dev/null
+++ b/public_test_cases/p02354/input.3.txt
@@ -0,0 +1,2 @@
+3 7
+1 2 3
diff --git a/public_test_cases/p02354/output.0.txt b/public_test_cases/p02354/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02354/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02354/output.1.txt b/public_test_cases/p02354/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02354/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02354/output.2.txt b/public_test_cases/p02354/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02354/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02354/output.3.txt b/public_test_cases/p02354/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02354/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02355/input.0.txt b/public_test_cases/p02355/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..907f4152587fae9c00d7a24f6df3714f81e4cf90
--- /dev/null
+++ b/public_test_cases/p02355/input.0.txt
@@ -0,0 +1,2 @@
+6 2
+4 1 2 1 3 5
diff --git a/public_test_cases/p02355/input.1.txt b/public_test_cases/p02355/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c2bdbca01eb168789afdc8a94a4c680a7d48e28
--- /dev/null
+++ b/public_test_cases/p02355/input.1.txt
@@ -0,0 +1,2 @@
+3 4
+1 2 3
diff --git a/public_test_cases/p02355/input.2.txt b/public_test_cases/p02355/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0e02c5b82320b3a7e8910dae6a98b54391c3a8a
--- /dev/null
+++ b/public_test_cases/p02355/input.2.txt
@@ -0,0 +1,2 @@
+6 3
+4 1 2 1 3 5
diff --git a/public_test_cases/p02355/input.3.txt b/public_test_cases/p02355/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..907f4152587fae9c00d7a24f6df3714f81e4cf90
--- /dev/null
+++ b/public_test_cases/p02355/input.3.txt
@@ -0,0 +1,2 @@
+6 2
+4 1 2 1 3 5
diff --git a/public_test_cases/p02355/output.0.txt b/public_test_cases/p02355/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02355/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02355/output.1.txt b/public_test_cases/p02355/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02355/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02355/output.2.txt b/public_test_cases/p02355/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02355/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02355/output.3.txt b/public_test_cases/p02355/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02355/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02356/input.0.txt b/public_test_cases/p02356/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae83d6139bd8531a34fb9a6e9be881e9c6a67061
--- /dev/null
+++ b/public_test_cases/p02356/input.0.txt
@@ -0,0 +1,3 @@
+6 5
+1 2 3 4 5 6
+6 9 12 21 15
diff --git a/public_test_cases/p02356/input.1.txt b/public_test_cases/p02356/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae83d6139bd8531a34fb9a6e9be881e9c6a67061
--- /dev/null
+++ b/public_test_cases/p02356/input.1.txt
@@ -0,0 +1,3 @@
+6 5
+1 2 3 4 5 6
+6 9 12 21 15
diff --git a/public_test_cases/p02356/output.0.txt b/public_test_cases/p02356/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70feb2cf311c2e98936ce8a4785145b41624caa6
--- /dev/null
+++ b/public_test_cases/p02356/output.0.txt
@@ -0,0 +1,5 @@
+9
+12
+15
+21
+18
diff --git a/public_test_cases/p02356/output.1.txt b/public_test_cases/p02356/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70feb2cf311c2e98936ce8a4785145b41624caa6
--- /dev/null
+++ b/public_test_cases/p02356/output.1.txt
@@ -0,0 +1,5 @@
+9
+12
+15
+21
+18
diff --git a/public_test_cases/p02357/input.0.txt b/public_test_cases/p02357/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b3cd95bd801459fdf4edad7605fd9ccd79e4eb2
--- /dev/null
+++ b/public_test_cases/p02357/input.0.txt
@@ -0,0 +1,2 @@
+7 3
+1 7 7 4 8 1 6
diff --git a/public_test_cases/p02357/input.1.txt b/public_test_cases/p02357/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b3cd95bd801459fdf4edad7605fd9ccd79e4eb2
--- /dev/null
+++ b/public_test_cases/p02357/input.1.txt
@@ -0,0 +1,2 @@
+7 3
+1 7 7 4 8 1 6
diff --git a/public_test_cases/p02357/output.0.txt b/public_test_cases/p02357/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72a4db1a66086b1a09adf97211968d7a08039125
--- /dev/null
+++ b/public_test_cases/p02357/output.0.txt
@@ -0,0 +1 @@
+1 4 4 1 1
diff --git a/public_test_cases/p02357/output.1.txt b/public_test_cases/p02357/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72a4db1a66086b1a09adf97211968d7a08039125
--- /dev/null
+++ b/public_test_cases/p02357/output.1.txt
@@ -0,0 +1 @@
+1 4 4 1 1
diff --git a/public_test_cases/p02358/input.0.txt b/public_test_cases/p02358/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4706a0f4d2240b2af804d8e572b73c26fce34362
--- /dev/null
+++ b/public_test_cases/p02358/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 0 3 4
+1 2 4 3
diff --git a/public_test_cases/p02358/input.1.txt b/public_test_cases/p02358/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9214fc12ad6a9bdd461fae8eab9f1da7ee8740c
--- /dev/null
+++ b/public_test_cases/p02358/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 0 3 1
+0 0 1 3
+0 2 3 3
+2 0 3 3
diff --git a/public_test_cases/p02358/input.2.txt b/public_test_cases/p02358/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..424a5152acb052dd93134e18c550e5a16743714b
--- /dev/null
+++ b/public_test_cases/p02358/input.2.txt
@@ -0,0 +1,4 @@
+3
+1 1 2 5
+2 1 5 2
+1 2 2 5
diff --git a/public_test_cases/p02358/input.3.txt b/public_test_cases/p02358/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4706a0f4d2240b2af804d8e572b73c26fce34362
--- /dev/null
+++ b/public_test_cases/p02358/input.3.txt
@@ -0,0 +1,3 @@
+2
+0 0 3 4
+1 2 4 3
diff --git a/public_test_cases/p02358/output.0.txt b/public_test_cases/p02358/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02358/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02358/output.1.txt b/public_test_cases/p02358/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02358/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02358/output.2.txt b/public_test_cases/p02358/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02358/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02358/output.3.txt b/public_test_cases/p02358/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02358/output.3.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02359/input.0.txt b/public_test_cases/p02359/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d338e9b146206622e443d1d80c5b434a302ff60
--- /dev/null
+++ b/public_test_cases/p02359/input.0.txt
@@ -0,0 +1,7 @@
+6 10
+0 2
+1 3
+2 6
+3 8
+4 10
+5 10
diff --git a/public_test_cases/p02359/input.1.txt b/public_test_cases/p02359/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86a3e455afd683e56060d976a9527f505e9fbcf7
--- /dev/null
+++ b/public_test_cases/p02359/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+0 1
+1 2
diff --git a/public_test_cases/p02359/input.2.txt b/public_test_cases/p02359/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d338e9b146206622e443d1d80c5b434a302ff60
--- /dev/null
+++ b/public_test_cases/p02359/input.2.txt
@@ -0,0 +1,7 @@
+6 10
+0 2
+1 3
+2 6
+3 8
+4 10
+5 10
diff --git a/public_test_cases/p02359/output.0.txt b/public_test_cases/p02359/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02359/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02359/output.1.txt b/public_test_cases/p02359/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02359/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02359/output.2.txt b/public_test_cases/p02359/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02359/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02360/input.0.txt b/public_test_cases/p02360/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ae636826d317f0593fd2f0359e6bd1e5fa944a2
--- /dev/null
+++ b/public_test_cases/p02360/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 0 3 2
+2 1 4 3
diff --git a/public_test_cases/p02360/input.1.txt b/public_test_cases/p02360/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f416fdbc4ae2558d28a90d96ee520ad52095a720
--- /dev/null
+++ b/public_test_cases/p02360/input.1.txt
@@ -0,0 +1,3 @@
+2
+0 0 2 2
+2 0 4 2
diff --git a/public_test_cases/p02360/input.2.txt b/public_test_cases/p02360/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b45406cd8c61cf11061dfcda6bb25583cf36f30a
--- /dev/null
+++ b/public_test_cases/p02360/input.2.txt
@@ -0,0 +1,4 @@
+3
+0 0 2 2
+0 0 2 2
+0 0 2 2
diff --git a/public_test_cases/p02360/input.3.txt b/public_test_cases/p02360/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ae636826d317f0593fd2f0359e6bd1e5fa944a2
--- /dev/null
+++ b/public_test_cases/p02360/input.3.txt
@@ -0,0 +1,3 @@
+2
+0 0 3 2
+2 1 4 3
diff --git a/public_test_cases/p02360/output.0.txt b/public_test_cases/p02360/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02360/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02360/output.1.txt b/public_test_cases/p02360/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02360/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02360/output.2.txt b/public_test_cases/p02360/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02360/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02360/output.3.txt b/public_test_cases/p02360/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02360/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02361/input.0.txt b/public_test_cases/p02361/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a418a3ba125b55933ae1e320462c942b919c8b
--- /dev/null
+++ b/public_test_cases/p02361/input.0.txt
@@ -0,0 +1,6 @@
+4 5 0
+0 1 1
+0 2 4
+1 2 2
+2 3 1
+1 3 5
diff --git a/public_test_cases/p02361/input.1.txt b/public_test_cases/p02361/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec2146490fa52aa153caf53bdf05a79d4752bd67
--- /dev/null
+++ b/public_test_cases/p02361/input.1.txt
@@ -0,0 +1,7 @@
+4 6 1
+0 1 1
+0 2 4
+2 0 1
+1 2 2
+3 1 1
+3 2 5
diff --git a/public_test_cases/p02361/input.2.txt b/public_test_cases/p02361/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a418a3ba125b55933ae1e320462c942b919c8b
--- /dev/null
+++ b/public_test_cases/p02361/input.2.txt
@@ -0,0 +1,6 @@
+4 5 0
+0 1 1
+0 2 4
+1 2 2
+2 3 1
+1 3 5
diff --git a/public_test_cases/p02361/output.0.txt b/public_test_cases/p02361/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dded5207a179057d57642898d4cba08c476437b5
--- /dev/null
+++ b/public_test_cases/p02361/output.0.txt
@@ -0,0 +1,4 @@
+0
+1
+3
+4
diff --git a/public_test_cases/p02361/output.1.txt b/public_test_cases/p02361/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d90de2da25627b98f714fd032665b94ceae40b8
--- /dev/null
+++ b/public_test_cases/p02361/output.1.txt
@@ -0,0 +1,4 @@
+3
+0
+2
+INF
diff --git a/public_test_cases/p02361/output.2.txt b/public_test_cases/p02361/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dded5207a179057d57642898d4cba08c476437b5
--- /dev/null
+++ b/public_test_cases/p02361/output.2.txt
@@ -0,0 +1,4 @@
+0
+1
+3
+4
diff --git a/public_test_cases/p02362/input.0.txt b/public_test_cases/p02362/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53c915194113074bb06ff3e91789e7cd91d5677f
--- /dev/null
+++ b/public_test_cases/p02362/input.0.txt
@@ -0,0 +1,6 @@
+4 5 0
+0 1 2
+0 2 3
+1 2 -5
+1 3 1
+2 3 2
diff --git a/public_test_cases/p02362/input.1.txt b/public_test_cases/p02362/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..312b839cca42825da33016624574f2b4101078fa
--- /dev/null
+++ b/public_test_cases/p02362/input.1.txt
@@ -0,0 +1,6 @@
+4 5 1
+0 1 2
+0 2 3
+1 2 -5
+1 3 1
+2 3 2
diff --git a/public_test_cases/p02362/input.2.txt b/public_test_cases/p02362/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53c915194113074bb06ff3e91789e7cd91d5677f
--- /dev/null
+++ b/public_test_cases/p02362/input.2.txt
@@ -0,0 +1,6 @@
+4 5 0
+0 1 2
+0 2 3
+1 2 -5
+1 3 1
+2 3 2
diff --git a/public_test_cases/p02362/input.3.txt b/public_test_cases/p02362/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c10688078273f3ada685cdf38625e98aba6f6802
--- /dev/null
+++ b/public_test_cases/p02362/input.3.txt
@@ -0,0 +1,7 @@
+4 6 0
+0 1 2
+0 2 3
+1 2 -5
+1 3 1
+2 3 2
+3 1 0
diff --git a/public_test_cases/p02362/output.0.txt b/public_test_cases/p02362/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06de90abf5503d38bb7ed9a313778a05cf6f2f14
--- /dev/null
+++ b/public_test_cases/p02362/output.0.txt
@@ -0,0 +1,4 @@
+0
+2
+-3
+-1
diff --git a/public_test_cases/p02362/output.1.txt b/public_test_cases/p02362/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6f8a8a263f6df8706cfad88cbac0824b6a5d080
--- /dev/null
+++ b/public_test_cases/p02362/output.1.txt
@@ -0,0 +1,4 @@
+INF
+0
+-5
+-3
diff --git a/public_test_cases/p02362/output.2.txt b/public_test_cases/p02362/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06de90abf5503d38bb7ed9a313778a05cf6f2f14
--- /dev/null
+++ b/public_test_cases/p02362/output.2.txt
@@ -0,0 +1,4 @@
+0
+2
+-3
+-1
diff --git a/public_test_cases/p02362/output.3.txt b/public_test_cases/p02362/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0079c26dcf9fa6ac1828e5b771e9c805bbe28297
--- /dev/null
+++ b/public_test_cases/p02362/output.3.txt
@@ -0,0 +1 @@
+NEGATIVE CYCLE
diff --git a/public_test_cases/p02363/input.0.txt b/public_test_cases/p02363/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7011823d1a8675d97a405f17dec07bb4786a3b10
--- /dev/null
+++ b/public_test_cases/p02363/input.0.txt
@@ -0,0 +1,7 @@
+4 6
+0 1 1
+0 2 5
+1 2 2
+1 3 4
+2 3 1
+3 2 7
diff --git a/public_test_cases/p02363/input.1.txt b/public_test_cases/p02363/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c341e5ca3b427b678d538a54b5cc05384cff18b
--- /dev/null
+++ b/public_test_cases/p02363/input.1.txt
@@ -0,0 +1,7 @@
+4 6
+0 1 1
+0 2 -5
+1 2 2
+1 3 4
+2 3 1
+3 2 7
diff --git a/public_test_cases/p02363/input.2.txt b/public_test_cases/p02363/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3cc51962f1efb36de25bd971d66d4a5f9520541
--- /dev/null
+++ b/public_test_cases/p02363/input.2.txt
@@ -0,0 +1,7 @@
+4 6
+0 1 1
+0 2 5
+1 2 2
+1 3 4
+2 3 1
+3 2 -7
diff --git a/public_test_cases/p02363/input.3.txt b/public_test_cases/p02363/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7011823d1a8675d97a405f17dec07bb4786a3b10
--- /dev/null
+++ b/public_test_cases/p02363/input.3.txt
@@ -0,0 +1,7 @@
+4 6
+0 1 1
+0 2 5
+1 2 2
+1 3 4
+2 3 1
+3 2 7
diff --git a/public_test_cases/p02363/output.0.txt b/public_test_cases/p02363/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c138ee166f1a216cdd796d3bb3b904b68c53288
--- /dev/null
+++ b/public_test_cases/p02363/output.0.txt
@@ -0,0 +1,4 @@
+0 1 3 4
+INF 0 2 3
+INF INF 0 1
+INF INF 7 0
diff --git a/public_test_cases/p02363/output.1.txt b/public_test_cases/p02363/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57ad76ca1a89e306346273fd420eba186bdd3e59
--- /dev/null
+++ b/public_test_cases/p02363/output.1.txt
@@ -0,0 +1,4 @@
+0 1 -5 -4
+INF 0 2 3
+INF INF 0 1
+INF INF 7 0
diff --git a/public_test_cases/p02363/output.2.txt b/public_test_cases/p02363/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0079c26dcf9fa6ac1828e5b771e9c805bbe28297
--- /dev/null
+++ b/public_test_cases/p02363/output.2.txt
@@ -0,0 +1 @@
+NEGATIVE CYCLE
diff --git a/public_test_cases/p02363/output.3.txt b/public_test_cases/p02363/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c138ee166f1a216cdd796d3bb3b904b68c53288
--- /dev/null
+++ b/public_test_cases/p02363/output.3.txt
@@ -0,0 +1,4 @@
+0 1 3 4
+INF 0 2 3
+INF INF 0 1
+INF INF 7 0
diff --git a/public_test_cases/p02364/input.0.txt b/public_test_cases/p02364/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1fcedbc6df9d789d9c07317e7d7dd12e564e839
--- /dev/null
+++ b/public_test_cases/p02364/input.0.txt
@@ -0,0 +1,7 @@
+4 6
+0 1 2
+1 2 1
+2 3 1
+3 0 1
+0 2 3
+1 3 5
diff --git a/public_test_cases/p02364/input.1.txt b/public_test_cases/p02364/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51807fe1520d2c85389b6a3169abc16ab265967c
--- /dev/null
+++ b/public_test_cases/p02364/input.1.txt
@@ -0,0 +1,10 @@
+6 9
+0 1 1
+0 2 3
+1 2 1
+1 3 7
+2 4 1
+1 4 3
+3 4 1
+3 5 1
+4 5 6
diff --git a/public_test_cases/p02364/input.2.txt b/public_test_cases/p02364/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1fcedbc6df9d789d9c07317e7d7dd12e564e839
--- /dev/null
+++ b/public_test_cases/p02364/input.2.txt
@@ -0,0 +1,7 @@
+4 6
+0 1 2
+1 2 1
+2 3 1
+3 0 1
+0 2 3
+1 3 5
diff --git a/public_test_cases/p02364/output.0.txt b/public_test_cases/p02364/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02364/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02364/output.1.txt b/public_test_cases/p02364/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02364/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02364/output.2.txt b/public_test_cases/p02364/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02364/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02365/input.0.txt b/public_test_cases/p02365/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b259a1419ec704925119b11c8723c77c916772d
--- /dev/null
+++ b/public_test_cases/p02365/input.0.txt
@@ -0,0 +1,7 @@
+4 6 0
+0 1 3
+0 2 2
+2 0 1
+2 3 1
+3 0 1
+3 1 5
diff --git a/public_test_cases/p02365/input.1.txt b/public_test_cases/p02365/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b259a1419ec704925119b11c8723c77c916772d
--- /dev/null
+++ b/public_test_cases/p02365/input.1.txt
@@ -0,0 +1,7 @@
+4 6 0
+0 1 3
+0 2 2
+2 0 1
+2 3 1
+3 0 1
+3 1 5
diff --git a/public_test_cases/p02365/input.2.txt b/public_test_cases/p02365/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8edbf66e054d404a9818d4411e4d029c552e770c
--- /dev/null
+++ b/public_test_cases/p02365/input.2.txt
@@ -0,0 +1,11 @@
+6 10 0
+0 2 7
+0 1 1
+0 3 5
+1 4 9
+2 1 6
+1 3 2
+3 4 3
+4 2 2
+2 5 8
+3 5 3
diff --git a/public_test_cases/p02365/output.0.txt b/public_test_cases/p02365/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02365/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02365/output.1.txt b/public_test_cases/p02365/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02365/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02365/output.2.txt b/public_test_cases/p02365/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02365/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02366/input.0.txt b/public_test_cases/p02366/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4c83e12d82b7ad497a23cbfa55580530cb793f
--- /dev/null
+++ b/public_test_cases/p02366/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+0 1
+0 2
+1 2
+2 3
diff --git a/public_test_cases/p02366/input.1.txt b/public_test_cases/p02366/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c888fbd593a573a68eacab4d20803b73231f0fa
--- /dev/null
+++ b/public_test_cases/p02366/input.1.txt
@@ -0,0 +1,5 @@
+5 4
+0 1
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p02366/input.2.txt b/public_test_cases/p02366/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4c83e12d82b7ad497a23cbfa55580530cb793f
--- /dev/null
+++ b/public_test_cases/p02366/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+0 1
+0 2
+1 2
+2 3
diff --git a/public_test_cases/p02366/output.0.txt b/public_test_cases/p02366/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02366/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02366/output.1.txt b/public_test_cases/p02366/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01e79c32a8c99c557f0757da7cb6d65b3414466d
--- /dev/null
+++ b/public_test_cases/p02366/output.1.txt
@@ -0,0 +1,3 @@
+1
+2
+3
diff --git a/public_test_cases/p02366/output.2.txt b/public_test_cases/p02366/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02366/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02367/input.0.txt b/public_test_cases/p02367/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4c83e12d82b7ad497a23cbfa55580530cb793f
--- /dev/null
+++ b/public_test_cases/p02367/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+0 1
+0 2
+1 2
+2 3
diff --git a/public_test_cases/p02367/input.1.txt b/public_test_cases/p02367/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c888fbd593a573a68eacab4d20803b73231f0fa
--- /dev/null
+++ b/public_test_cases/p02367/input.1.txt
@@ -0,0 +1,5 @@
+5 4
+0 1
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p02367/input.2.txt b/public_test_cases/p02367/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4c83e12d82b7ad497a23cbfa55580530cb793f
--- /dev/null
+++ b/public_test_cases/p02367/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+0 1
+0 2
+1 2
+2 3
diff --git a/public_test_cases/p02367/output.0.txt b/public_test_cases/p02367/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02367/output.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02367/output.1.txt b/public_test_cases/p02367/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ac2df7fdce5820e5530173ebc7a377d8224bf31
--- /dev/null
+++ b/public_test_cases/p02367/output.1.txt
@@ -0,0 +1,4 @@
+0 1
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p02367/output.2.txt b/public_test_cases/p02367/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02367/output.2.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02368/input.0.txt b/public_test_cases/p02368/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24ea64d10663d2e07f3806d357c7b88ef9dcfaae
--- /dev/null
+++ b/public_test_cases/p02368/input.0.txt
@@ -0,0 +1,12 @@
+5 6
+0 1
+1 0
+1 2
+2 4
+4 3
+3 2
+4
+0 1
+0 3
+2 3
+3 4
diff --git a/public_test_cases/p02368/input.1.txt b/public_test_cases/p02368/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24ea64d10663d2e07f3806d357c7b88ef9dcfaae
--- /dev/null
+++ b/public_test_cases/p02368/input.1.txt
@@ -0,0 +1,12 @@
+5 6
+0 1
+1 0
+1 2
+2 4
+4 3
+3 2
+4
+0 1
+0 3
+2 3
+3 4
diff --git a/public_test_cases/p02368/output.0.txt b/public_test_cases/p02368/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c775cb28ef9faa336fcf0b7b2b086256de6baf
--- /dev/null
+++ b/public_test_cases/p02368/output.0.txt
@@ -0,0 +1,4 @@
+1
+0
+1
+1
diff --git a/public_test_cases/p02368/output.1.txt b/public_test_cases/p02368/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c775cb28ef9faa336fcf0b7b2b086256de6baf
--- /dev/null
+++ b/public_test_cases/p02368/output.1.txt
@@ -0,0 +1,4 @@
+1
+0
+1
+1
diff --git a/public_test_cases/p02369/input.0.txt b/public_test_cases/p02369/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8ec25ced2cbdd356f416a92ddbadb36d8d68d23
--- /dev/null
+++ b/public_test_cases/p02369/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+0 1
+0 2
+1 2
diff --git a/public_test_cases/p02369/input.1.txt b/public_test_cases/p02369/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8ec25ced2cbdd356f416a92ddbadb36d8d68d23
--- /dev/null
+++ b/public_test_cases/p02369/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+0 1
+0 2
+1 2
diff --git a/public_test_cases/p02369/input.2.txt b/public_test_cases/p02369/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7895ea18034938460ac0c64f934889d2a22df03a
--- /dev/null
+++ b/public_test_cases/p02369/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+0 1
+1 2
+2 0
diff --git a/public_test_cases/p02369/output.0.txt b/public_test_cases/p02369/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02369/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02369/output.1.txt b/public_test_cases/p02369/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02369/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02369/output.2.txt b/public_test_cases/p02369/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02369/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02370/input.0.txt b/public_test_cases/p02370/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddc1cf3518bc481a0146ec1edb7d34bcff72df73
--- /dev/null
+++ b/public_test_cases/p02370/input.0.txt
@@ -0,0 +1,7 @@
+6 6
+0 1
+1 2
+3 1
+3 4
+4 5
+5 2
diff --git a/public_test_cases/p02370/input.1.txt b/public_test_cases/p02370/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddc1cf3518bc481a0146ec1edb7d34bcff72df73
--- /dev/null
+++ b/public_test_cases/p02370/input.1.txt
@@ -0,0 +1,7 @@
+6 6
+0 1
+1 2
+3 1
+3 4
+4 5
+5 2
diff --git a/public_test_cases/p02370/output.0.txt b/public_test_cases/p02370/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b2fb6015069a11f8cc2cfbcd59620d55be0670b
--- /dev/null
+++ b/public_test_cases/p02370/output.0.txt
@@ -0,0 +1,6 @@
+0
+3
+1
+4
+5
+2
diff --git a/public_test_cases/p02370/output.1.txt b/public_test_cases/p02370/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b2fb6015069a11f8cc2cfbcd59620d55be0670b
--- /dev/null
+++ b/public_test_cases/p02370/output.1.txt
@@ -0,0 +1,6 @@
+0
+3
+1
+4
+5
+2
diff --git a/public_test_cases/p02371/input.0.txt b/public_test_cases/p02371/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b570830d03135d3034c87c6b2d7e7ce0286c5462
--- /dev/null
+++ b/public_test_cases/p02371/input.0.txt
@@ -0,0 +1,4 @@
+4
+0 1 2
+1 2 1
+1 3 3
diff --git a/public_test_cases/p02371/input.1.txt b/public_test_cases/p02371/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a5f1fae7bb2738782803df4d6ad4d003db45437
--- /dev/null
+++ b/public_test_cases/p02371/input.1.txt
@@ -0,0 +1,4 @@
+4
+0 1 1
+1 2 2
+2 3 4
diff --git a/public_test_cases/p02371/input.2.txt b/public_test_cases/p02371/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b570830d03135d3034c87c6b2d7e7ce0286c5462
--- /dev/null
+++ b/public_test_cases/p02371/input.2.txt
@@ -0,0 +1,4 @@
+4
+0 1 2
+1 2 1
+1 3 3
diff --git a/public_test_cases/p02371/output.0.txt b/public_test_cases/p02371/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02371/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02371/output.1.txt b/public_test_cases/p02371/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02371/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02371/output.2.txt b/public_test_cases/p02371/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02371/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02372/input.0.txt b/public_test_cases/p02372/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b570830d03135d3034c87c6b2d7e7ce0286c5462
--- /dev/null
+++ b/public_test_cases/p02372/input.0.txt
@@ -0,0 +1,4 @@
+4
+0 1 2
+1 2 1
+1 3 3
diff --git a/public_test_cases/p02372/input.1.txt b/public_test_cases/p02372/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b570830d03135d3034c87c6b2d7e7ce0286c5462
--- /dev/null
+++ b/public_test_cases/p02372/input.1.txt
@@ -0,0 +1,4 @@
+4
+0 1 2
+1 2 1
+1 3 3
diff --git a/public_test_cases/p02372/output.0.txt b/public_test_cases/p02372/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c43d4dfa7061cbf6fe7df69c38c41e23fdb320ea
--- /dev/null
+++ b/public_test_cases/p02372/output.0.txt
@@ -0,0 +1,4 @@
+5
+3
+4
+5
diff --git a/public_test_cases/p02372/output.1.txt b/public_test_cases/p02372/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c43d4dfa7061cbf6fe7df69c38c41e23fdb320ea
--- /dev/null
+++ b/public_test_cases/p02372/output.1.txt
@@ -0,0 +1,4 @@
+5
+3
+4
+5
diff --git a/public_test_cases/p02373/input.0.txt b/public_test_cases/p02373/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..642cdc69aab0084c1bd7795e4256ad2748c03162
--- /dev/null
+++ b/public_test_cases/p02373/input.0.txt
@@ -0,0 +1,14 @@
+8
+3 1 2 3
+2 4 5
+0
+0
+0
+2 6 7
+0
+0
+4
+4 6
+4 7
+4 3
+5 2
diff --git a/public_test_cases/p02373/input.1.txt b/public_test_cases/p02373/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..642cdc69aab0084c1bd7795e4256ad2748c03162
--- /dev/null
+++ b/public_test_cases/p02373/input.1.txt
@@ -0,0 +1,14 @@
+8
+3 1 2 3
+2 4 5
+0
+0
+0
+2 6 7
+0
+0
+4
+4 6
+4 7
+4 3
+5 2
diff --git a/public_test_cases/p02373/output.0.txt b/public_test_cases/p02373/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9ff83f194985daf47a3f5f8160f991b8feab351
--- /dev/null
+++ b/public_test_cases/p02373/output.0.txt
@@ -0,0 +1,4 @@
+1
+1
+0
+0
diff --git a/public_test_cases/p02373/output.1.txt b/public_test_cases/p02373/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9ff83f194985daf47a3f5f8160f991b8feab351
--- /dev/null
+++ b/public_test_cases/p02373/output.1.txt
@@ -0,0 +1,4 @@
+1
+1
+0
+0
diff --git a/public_test_cases/p02374/input.0.txt b/public_test_cases/p02374/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3292329d2b7195f00812c05119bff8b126bb430
--- /dev/null
+++ b/public_test_cases/p02374/input.0.txt
@@ -0,0 +1,15 @@
+6
+2 1 2
+2 3 5
+0
+0
+0
+1 4
+7
+1 1
+0 3 10
+1 2
+0 4 20
+1 3
+0 5 40
+1 4
diff --git a/public_test_cases/p02374/input.1.txt b/public_test_cases/p02374/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3292329d2b7195f00812c05119bff8b126bb430
--- /dev/null
+++ b/public_test_cases/p02374/input.1.txt
@@ -0,0 +1,15 @@
+6
+2 1 2
+2 3 5
+0
+0
+0
+1 4
+7
+1 1
+0 3 10
+1 2
+0 4 20
+1 3
+0 5 40
+1 4
diff --git a/public_test_cases/p02374/input.2.txt b/public_test_cases/p02374/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..badc04dc6be49f64e8b4c57565ca3165bff9607b
--- /dev/null
+++ b/public_test_cases/p02374/input.2.txt
@@ -0,0 +1,8 @@
+2
+1 1
+0
+4
+0 1 1
+1 1
+0 1 1
+1 1
diff --git a/public_test_cases/p02374/input.3.txt b/public_test_cases/p02374/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..136504fdd6a38c6e31bd00bc7aa22971ddfc2dee
--- /dev/null
+++ b/public_test_cases/p02374/input.3.txt
@@ -0,0 +1,12 @@
+4
+1 1
+1 2
+1 3
+0
+6
+0 3 1000
+0 2 1000
+0 1 1000
+1 1
+1 2
+1 3
diff --git a/public_test_cases/p02374/output.0.txt b/public_test_cases/p02374/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ad9ca20f1637dd0c94019325cc4e83459477f5a
--- /dev/null
+++ b/public_test_cases/p02374/output.0.txt
@@ -0,0 +1,4 @@
+0
+0
+10
+60
diff --git a/public_test_cases/p02374/output.1.txt b/public_test_cases/p02374/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ad9ca20f1637dd0c94019325cc4e83459477f5a
--- /dev/null
+++ b/public_test_cases/p02374/output.1.txt
@@ -0,0 +1,4 @@
+0
+0
+10
+60
diff --git a/public_test_cases/p02374/output.2.txt b/public_test_cases/p02374/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p02374/output.2.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p02374/output.3.txt b/public_test_cases/p02374/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46f1b0f150a73dd23fab265868e53517c8d00cc0
--- /dev/null
+++ b/public_test_cases/p02374/output.3.txt
@@ -0,0 +1,3 @@
+1000
+2000
+3000
diff --git a/public_test_cases/p02375/input.0.txt b/public_test_cases/p02375/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3292329d2b7195f00812c05119bff8b126bb430
--- /dev/null
+++ b/public_test_cases/p02375/input.0.txt
@@ -0,0 +1,15 @@
+6
+2 1 2
+2 3 5
+0
+0
+0
+1 4
+7
+1 1
+0 3 10
+1 2
+0 4 20
+1 3
+0 5 40
+1 4
diff --git a/public_test_cases/p02375/input.1.txt b/public_test_cases/p02375/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..136504fdd6a38c6e31bd00bc7aa22971ddfc2dee
--- /dev/null
+++ b/public_test_cases/p02375/input.1.txt
@@ -0,0 +1,12 @@
+4
+1 1
+1 2
+1 3
+0
+6
+0 3 1000
+0 2 1000
+0 1 1000
+1 1
+1 2
+1 3
diff --git a/public_test_cases/p02375/input.2.txt b/public_test_cases/p02375/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3292329d2b7195f00812c05119bff8b126bb430
--- /dev/null
+++ b/public_test_cases/p02375/input.2.txt
@@ -0,0 +1,15 @@
+6
+2 1 2
+2 3 5
+0
+0
+0
+1 4
+7
+1 1
+0 3 10
+1 2
+0 4 20
+1 3
+0 5 40
+1 4
diff --git a/public_test_cases/p02375/output.0.txt b/public_test_cases/p02375/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d57b7d9c7014311e6818108f07ca0609370f5e5e
--- /dev/null
+++ b/public_test_cases/p02375/output.0.txt
@@ -0,0 +1,4 @@
+0
+0
+40
+150
diff --git a/public_test_cases/p02375/output.1.txt b/public_test_cases/p02375/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15488a310b674e9d9d337b6a14de0ce2fce31f82
--- /dev/null
+++ b/public_test_cases/p02375/output.1.txt
@@ -0,0 +1,3 @@
+3000
+5000
+6000
diff --git a/public_test_cases/p02375/output.2.txt b/public_test_cases/p02375/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d57b7d9c7014311e6818108f07ca0609370f5e5e
--- /dev/null
+++ b/public_test_cases/p02375/output.2.txt
@@ -0,0 +1,4 @@
+0
+0
+40
+150
diff --git a/public_test_cases/p02376/input.0.txt b/public_test_cases/p02376/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3102d1e8de919050625399dd1875b6f4519f973b
--- /dev/null
+++ b/public_test_cases/p02376/input.0.txt
@@ -0,0 +1,6 @@
+4 5
+0 1 2
+0 2 1
+1 2 1
+1 3 1
+2 3 2
diff --git a/public_test_cases/p02376/input.1.txt b/public_test_cases/p02376/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3102d1e8de919050625399dd1875b6f4519f973b
--- /dev/null
+++ b/public_test_cases/p02376/input.1.txt
@@ -0,0 +1,6 @@
+4 5
+0 1 2
+0 2 1
+1 2 1
+1 3 1
+2 3 2
diff --git a/public_test_cases/p02376/output.0.txt b/public_test_cases/p02376/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02376/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02376/output.1.txt b/public_test_cases/p02376/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02376/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02377/input.0.txt b/public_test_cases/p02377/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eac4c1a3001230f1cd1845a208c270366389617e
--- /dev/null
+++ b/public_test_cases/p02377/input.0.txt
@@ -0,0 +1,6 @@
+4 5 2
+0 1 2 1
+0 2 1 2
+1 2 1 1
+1 3 1 3
+2 3 2 1
diff --git a/public_test_cases/p02377/input.1.txt b/public_test_cases/p02377/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eac4c1a3001230f1cd1845a208c270366389617e
--- /dev/null
+++ b/public_test_cases/p02377/input.1.txt
@@ -0,0 +1,6 @@
+4 5 2
+0 1 2 1
+0 2 1 2
+1 2 1 1
+1 3 1 3
+2 3 2 1
diff --git a/public_test_cases/p02377/input.2.txt b/public_test_cases/p02377/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02377/input.2.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02377/output.0.txt b/public_test_cases/p02377/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02377/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02377/output.1.txt b/public_test_cases/p02377/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02377/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02377/output.2.txt b/public_test_cases/p02377/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02377/output.2.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02378/input.0.txt b/public_test_cases/p02378/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2002c309bcf4dba796c00b0280f7aabbefc48960
--- /dev/null
+++ b/public_test_cases/p02378/input.0.txt
@@ -0,0 +1,7 @@
+3 4 6
+0 0
+0 2
+0 3
+1 1
+2 1
+2 3
diff --git a/public_test_cases/p02378/input.1.txt b/public_test_cases/p02378/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2002c309bcf4dba796c00b0280f7aabbefc48960
--- /dev/null
+++ b/public_test_cases/p02378/input.1.txt
@@ -0,0 +1,7 @@
+3 4 6
+0 0
+0 2
+0 3
+1 1
+2 1
+2 3
diff --git a/public_test_cases/p02378/output.0.txt b/public_test_cases/p02378/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02378/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02378/output.1.txt b/public_test_cases/p02378/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02378/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02379/input.0.txt b/public_test_cases/p02379/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cf0ee603ad600c5d207a467a6b17521adb91109
--- /dev/null
+++ b/public_test_cases/p02379/input.0.txt
@@ -0,0 +1 @@
+0 0 1 1
diff --git a/public_test_cases/p02379/input.1.txt b/public_test_cases/p02379/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cf0ee603ad600c5d207a467a6b17521adb91109
--- /dev/null
+++ b/public_test_cases/p02379/input.1.txt
@@ -0,0 +1 @@
+0 0 1 1
diff --git a/public_test_cases/p02379/output.0.txt b/public_test_cases/p02379/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e188b9921c9d07e6958397e3e7745e07bf2dc814
--- /dev/null
+++ b/public_test_cases/p02379/output.0.txt
@@ -0,0 +1 @@
+1.41421356
diff --git a/public_test_cases/p02379/output.1.txt b/public_test_cases/p02379/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e188b9921c9d07e6958397e3e7745e07bf2dc814
--- /dev/null
+++ b/public_test_cases/p02379/output.1.txt
@@ -0,0 +1 @@
+1.41421356
diff --git a/public_test_cases/p02380/input.0.txt b/public_test_cases/p02380/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb5ee715f171dd00161d5918bbfd2d42bd597d99
--- /dev/null
+++ b/public_test_cases/p02380/input.0.txt
@@ -0,0 +1 @@
+4 3 90
diff --git a/public_test_cases/p02380/input.1.txt b/public_test_cases/p02380/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb5ee715f171dd00161d5918bbfd2d42bd597d99
--- /dev/null
+++ b/public_test_cases/p02380/input.1.txt
@@ -0,0 +1 @@
+4 3 90
diff --git a/public_test_cases/p02380/output.0.txt b/public_test_cases/p02380/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a86ff5a9fd307d57d2b26eb201579978e99e67ee
--- /dev/null
+++ b/public_test_cases/p02380/output.0.txt
@@ -0,0 +1,3 @@
+6.00000000
+12.00000000
+3.00000000
diff --git a/public_test_cases/p02380/output.1.txt b/public_test_cases/p02380/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a86ff5a9fd307d57d2b26eb201579978e99e67ee
--- /dev/null
+++ b/public_test_cases/p02380/output.1.txt
@@ -0,0 +1,3 @@
+6.00000000
+12.00000000
+3.00000000
diff --git a/public_test_cases/p02381/input.0.txt b/public_test_cases/p02381/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abe2f4c00b73eb60920972956d6d57747c3452ff
--- /dev/null
+++ b/public_test_cases/p02381/input.0.txt
@@ -0,0 +1,5 @@
+5
+70 80 100 90 20
+3
+80 80 80
+0
diff --git a/public_test_cases/p02381/input.1.txt b/public_test_cases/p02381/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abe2f4c00b73eb60920972956d6d57747c3452ff
--- /dev/null
+++ b/public_test_cases/p02381/input.1.txt
@@ -0,0 +1,5 @@
+5
+70 80 100 90 20
+3
+80 80 80
+0
diff --git a/public_test_cases/p02381/output.0.txt b/public_test_cases/p02381/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab6691d2d567370a2c30cc6857242f26e05a43f4
--- /dev/null
+++ b/public_test_cases/p02381/output.0.txt
@@ -0,0 +1,2 @@
+27.85677655
+0.00000000
diff --git a/public_test_cases/p02381/output.1.txt b/public_test_cases/p02381/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab6691d2d567370a2c30cc6857242f26e05a43f4
--- /dev/null
+++ b/public_test_cases/p02381/output.1.txt
@@ -0,0 +1,2 @@
+27.85677655
+0.00000000
diff --git a/public_test_cases/p02382/input.0.txt b/public_test_cases/p02382/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..026124581ecc3773b6efff37c7d8bcc4f6f1f6ce
--- /dev/null
+++ b/public_test_cases/p02382/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2 3
+2 0 4
diff --git a/public_test_cases/p02382/input.1.txt b/public_test_cases/p02382/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..026124581ecc3773b6efff37c7d8bcc4f6f1f6ce
--- /dev/null
+++ b/public_test_cases/p02382/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2 3
+2 0 4
diff --git a/public_test_cases/p02382/output.0.txt b/public_test_cases/p02382/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..299cb9796527665a5edccec71a69db0b28795d65
--- /dev/null
+++ b/public_test_cases/p02382/output.0.txt
@@ -0,0 +1,4 @@
+4.000000
+2.449490
+2.154435
+2.000000
diff --git a/public_test_cases/p02382/output.1.txt b/public_test_cases/p02382/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..299cb9796527665a5edccec71a69db0b28795d65
--- /dev/null
+++ b/public_test_cases/p02382/output.1.txt
@@ -0,0 +1,4 @@
+4.000000
+2.449490
+2.154435
+2.000000
diff --git a/public_test_cases/p02383/input.0.txt b/public_test_cases/p02383/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c973886e851e46baee1a751781e145c668499261
--- /dev/null
+++ b/public_test_cases/p02383/input.0.txt
@@ -0,0 +1,2 @@
+1 2 4 8 16 32
+SE
diff --git a/public_test_cases/p02383/input.1.txt b/public_test_cases/p02383/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4ad1af2e9c172bb6c2c6f2a0124a9d9fbcfbe15
--- /dev/null
+++ b/public_test_cases/p02383/input.1.txt
@@ -0,0 +1,2 @@
+1 2 4 8 16 32
+EESWN
diff --git a/public_test_cases/p02383/input.2.txt b/public_test_cases/p02383/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c973886e851e46baee1a751781e145c668499261
--- /dev/null
+++ b/public_test_cases/p02383/input.2.txt
@@ -0,0 +1,2 @@
+1 2 4 8 16 32
+SE
diff --git a/public_test_cases/p02383/output.0.txt b/public_test_cases/p02383/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02383/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02383/output.1.txt b/public_test_cases/p02383/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p02383/output.1.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p02383/output.2.txt b/public_test_cases/p02383/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02383/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02384/input.0.txt b/public_test_cases/p02384/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e56043332c3cfb2e621036224855644f50e4e17
--- /dev/null
+++ b/public_test_cases/p02384/input.0.txt
@@ -0,0 +1,5 @@
+1 2 3 4 5 6
+3
+6 5
+1 3
+3 2
diff --git a/public_test_cases/p02384/input.1.txt b/public_test_cases/p02384/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e56043332c3cfb2e621036224855644f50e4e17
--- /dev/null
+++ b/public_test_cases/p02384/input.1.txt
@@ -0,0 +1,5 @@
+1 2 3 4 5 6
+3
+6 5
+1 3
+3 2
diff --git a/public_test_cases/p02384/output.0.txt b/public_test_cases/p02384/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..014bb3872322bf4745e6180edae62f32a10798b3
--- /dev/null
+++ b/public_test_cases/p02384/output.0.txt
@@ -0,0 +1,3 @@
+3
+5
+6
diff --git a/public_test_cases/p02384/output.1.txt b/public_test_cases/p02384/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..014bb3872322bf4745e6180edae62f32a10798b3
--- /dev/null
+++ b/public_test_cases/p02384/output.1.txt
@@ -0,0 +1,3 @@
+3
+5
+6
diff --git a/public_test_cases/p02385/input.0.txt b/public_test_cases/p02385/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e43f81f3fd0297f63d6a238b7a3e4128789fef5d
--- /dev/null
+++ b/public_test_cases/p02385/input.0.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+6 2 4 3 5 1
diff --git a/public_test_cases/p02385/input.1.txt b/public_test_cases/p02385/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3006e68e4bd3442b5dc2ba56b69464bb58cf04c
--- /dev/null
+++ b/public_test_cases/p02385/input.1.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+6 5 4 3 2 1
diff --git a/public_test_cases/p02385/input.2.txt b/public_test_cases/p02385/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e43f81f3fd0297f63d6a238b7a3e4128789fef5d
--- /dev/null
+++ b/public_test_cases/p02385/input.2.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+6 2 4 3 5 1
diff --git a/public_test_cases/p02385/output.0.txt b/public_test_cases/p02385/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02385/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02385/output.1.txt b/public_test_cases/p02385/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02385/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02385/output.2.txt b/public_test_cases/p02385/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02385/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02386/input.0.txt b/public_test_cases/p02386/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17a584cc9fd4c634ea4002ae8801abad4a445478
--- /dev/null
+++ b/public_test_cases/p02386/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2 3 4 5 6
+6 2 4 3 5 1
+6 5 4 3 2 1
diff --git a/public_test_cases/p02386/input.1.txt b/public_test_cases/p02386/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea164fb5e1a3e2bc1427057caa08ce4ffa46f208
--- /dev/null
+++ b/public_test_cases/p02386/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 2 3 4 5 6
+6 5 4 3 2 1
+5 4 3 2 1 6
diff --git a/public_test_cases/p02386/input.2.txt b/public_test_cases/p02386/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17a584cc9fd4c634ea4002ae8801abad4a445478
--- /dev/null
+++ b/public_test_cases/p02386/input.2.txt
@@ -0,0 +1,4 @@
+3
+1 2 3 4 5 6
+6 2 4 3 5 1
+6 5 4 3 2 1
diff --git a/public_test_cases/p02386/output.0.txt b/public_test_cases/p02386/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02386/output.0.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02386/output.1.txt b/public_test_cases/p02386/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02386/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02386/output.2.txt b/public_test_cases/p02386/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02386/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02387/input.0.txt b/public_test_cases/p02387/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85df1d84287cd217b9cc86dc195be99872464b63
--- /dev/null
+++ b/public_test_cases/p02387/input.0.txt
@@ -0,0 +1 @@
+No input
diff --git a/public_test_cases/p02387/output.0.txt b/public_test_cases/p02387/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..557db03de997c86a4a028e1ebd3a1ceb225be238
--- /dev/null
+++ b/public_test_cases/p02387/output.0.txt
@@ -0,0 +1 @@
+Hello World
diff --git a/public_test_cases/p02388/input.0.txt b/public_test_cases/p02388/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02388/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02388/output.0.txt b/public_test_cases/p02388/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02388/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02389/input.0.txt b/public_test_cases/p02389/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p02389/input.0.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p02389/input.1.txt b/public_test_cases/p02389/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p02389/input.1.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p02389/output.0.txt b/public_test_cases/p02389/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5262923fb010ca39d4934bc81da9078100e1bae5
--- /dev/null
+++ b/public_test_cases/p02389/output.0.txt
@@ -0,0 +1 @@
+15 16
diff --git a/public_test_cases/p02389/output.1.txt b/public_test_cases/p02389/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5262923fb010ca39d4934bc81da9078100e1bae5
--- /dev/null
+++ b/public_test_cases/p02389/output.1.txt
@@ -0,0 +1 @@
+15 16
diff --git a/public_test_cases/p02390/input.0.txt b/public_test_cases/p02390/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4f60faf0b07c4e52dcea7a2ad152c061ff7147b
--- /dev/null
+++ b/public_test_cases/p02390/input.0.txt
@@ -0,0 +1 @@
+46979
diff --git a/public_test_cases/p02390/input.1.txt b/public_test_cases/p02390/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4f60faf0b07c4e52dcea7a2ad152c061ff7147b
--- /dev/null
+++ b/public_test_cases/p02390/input.1.txt
@@ -0,0 +1 @@
+46979
diff --git a/public_test_cases/p02390/output.0.txt b/public_test_cases/p02390/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de24a9749cb4b12701bfdff2b05b3aa6b7aa06e6
--- /dev/null
+++ b/public_test_cases/p02390/output.0.txt
@@ -0,0 +1 @@
+13:2:59
diff --git a/public_test_cases/p02390/output.1.txt b/public_test_cases/p02390/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de24a9749cb4b12701bfdff2b05b3aa6b7aa06e6
--- /dev/null
+++ b/public_test_cases/p02390/output.1.txt
@@ -0,0 +1 @@
+13:2:59
diff --git a/public_test_cases/p02391/input.0.txt b/public_test_cases/p02391/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p02391/input.0.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p02391/input.1.txt b/public_test_cases/p02391/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..299a71f3fe47862a2e17f69e981e7ad8beff4e53
--- /dev/null
+++ b/public_test_cases/p02391/input.1.txt
@@ -0,0 +1 @@
+5 5
diff --git a/public_test_cases/p02391/input.2.txt b/public_test_cases/p02391/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p02391/input.2.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p02391/input.3.txt b/public_test_cases/p02391/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p02391/input.3.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p02391/output.0.txt b/public_test_cases/p02391/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p02391/output.0.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p02391/output.1.txt b/public_test_cases/p02391/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3868da7afe3622db78a2b9217632a3b6931d0a92
--- /dev/null
+++ b/public_test_cases/p02391/output.1.txt
@@ -0,0 +1 @@
+a == b
diff --git a/public_test_cases/p02391/output.2.txt b/public_test_cases/p02391/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p02391/output.2.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p02391/output.3.txt b/public_test_cases/p02391/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fb63b4b13d1da09d30eece9e6a44d2a9721a869
--- /dev/null
+++ b/public_test_cases/p02391/output.3.txt
@@ -0,0 +1 @@
+a > b
diff --git a/public_test_cases/p02392/input.0.txt b/public_test_cases/p02392/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bb8a739e6e68ac3df1be2d1367392cc2a4874cb
--- /dev/null
+++ b/public_test_cases/p02392/input.0.txt
@@ -0,0 +1 @@
+1 3 8
diff --git a/public_test_cases/p02392/input.1.txt b/public_test_cases/p02392/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bb8a739e6e68ac3df1be2d1367392cc2a4874cb
--- /dev/null
+++ b/public_test_cases/p02392/input.1.txt
@@ -0,0 +1 @@
+1 3 8
diff --git a/public_test_cases/p02392/input.2.txt b/public_test_cases/p02392/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42329210db0d16bdf757b5587a33e6952bd89095
--- /dev/null
+++ b/public_test_cases/p02392/input.2.txt
@@ -0,0 +1 @@
+3 8 1
diff --git a/public_test_cases/p02392/output.0.txt b/public_test_cases/p02392/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02392/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02392/output.1.txt b/public_test_cases/p02392/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02392/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02392/output.2.txt b/public_test_cases/p02392/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02392/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02393/input.0.txt b/public_test_cases/p02393/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42329210db0d16bdf757b5587a33e6952bd89095
--- /dev/null
+++ b/public_test_cases/p02393/input.0.txt
@@ -0,0 +1 @@
+3 8 1
diff --git a/public_test_cases/p02393/output.0.txt b/public_test_cases/p02393/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bb8a739e6e68ac3df1be2d1367392cc2a4874cb
--- /dev/null
+++ b/public_test_cases/p02393/output.0.txt
@@ -0,0 +1 @@
+1 3 8
diff --git a/public_test_cases/p02394/input.0.txt b/public_test_cases/p02394/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94a3649b620a414b47313e4803e39cffb7fbea82
--- /dev/null
+++ b/public_test_cases/p02394/input.0.txt
@@ -0,0 +1 @@
+5 4 2 2 1
diff --git a/public_test_cases/p02394/input.1.txt b/public_test_cases/p02394/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94a3649b620a414b47313e4803e39cffb7fbea82
--- /dev/null
+++ b/public_test_cases/p02394/input.1.txt
@@ -0,0 +1 @@
+5 4 2 2 1
diff --git a/public_test_cases/p02394/input.2.txt b/public_test_cases/p02394/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d34d0a94b8c866e133582e114969443bf302175
--- /dev/null
+++ b/public_test_cases/p02394/input.2.txt
@@ -0,0 +1 @@
+5 4 2 4 1
diff --git a/public_test_cases/p02394/output.0.txt b/public_test_cases/p02394/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02394/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02394/output.1.txt b/public_test_cases/p02394/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02394/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02394/output.2.txt b/public_test_cases/p02394/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02394/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02395/input.0.txt b/public_test_cases/p02395/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85df1d84287cd217b9cc86dc195be99872464b63
--- /dev/null
+++ b/public_test_cases/p02395/input.0.txt
@@ -0,0 +1 @@
+No input
diff --git a/public_test_cases/p02395/output.0.txt b/public_test_cases/p02395/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8691fa84aa92c5f8bf2de1fe5d791463152d64a2
--- /dev/null
+++ b/public_test_cases/p02395/output.0.txt
@@ -0,0 +1,14 @@
+Hello World
+Hello World
+Hello World
+Hello World
+Hello World
+Hello World
+Hello World
+.
+.
+.
+.
+.
+.
+Hello World
diff --git a/public_test_cases/p02396/input.0.txt b/public_test_cases/p02396/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e37b724871dc7194540cccd5fdf13da56d1df6ec
--- /dev/null
+++ b/public_test_cases/p02396/input.0.txt
@@ -0,0 +1,7 @@
+3
+5
+11
+7
+8
+19
+0
diff --git a/public_test_cases/p02396/input.1.txt b/public_test_cases/p02396/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e37b724871dc7194540cccd5fdf13da56d1df6ec
--- /dev/null
+++ b/public_test_cases/p02396/input.1.txt
@@ -0,0 +1,7 @@
+3
+5
+11
+7
+8
+19
+0
diff --git a/public_test_cases/p02396/output.0.txt b/public_test_cases/p02396/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4dc7ef070cd67b13460962345b024799f7f3cd6
--- /dev/null
+++ b/public_test_cases/p02396/output.0.txt
@@ -0,0 +1,6 @@
+Case 1: 3
+Case 2: 5
+Case 3: 11
+Case 4: 7
+Case 5: 8
+Case 6: 19
diff --git a/public_test_cases/p02396/output.1.txt b/public_test_cases/p02396/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4dc7ef070cd67b13460962345b024799f7f3cd6
--- /dev/null
+++ b/public_test_cases/p02396/output.1.txt
@@ -0,0 +1,6 @@
+Case 1: 3
+Case 2: 5
+Case 3: 11
+Case 4: 7
+Case 5: 8
+Case 6: 19
diff --git a/public_test_cases/p02397/input.0.txt b/public_test_cases/p02397/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573b0cf321338336d36a5680699d3734ef582a5f
--- /dev/null
+++ b/public_test_cases/p02397/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+2 2
+5 3
+0 0
diff --git a/public_test_cases/p02397/input.1.txt b/public_test_cases/p02397/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573b0cf321338336d36a5680699d3734ef582a5f
--- /dev/null
+++ b/public_test_cases/p02397/input.1.txt
@@ -0,0 +1,4 @@
+3 2
+2 2
+5 3
+0 0
diff --git a/public_test_cases/p02397/output.0.txt b/public_test_cases/p02397/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15df8c659fbe78629d6563e74cd39652a23a9d1f
--- /dev/null
+++ b/public_test_cases/p02397/output.0.txt
@@ -0,0 +1,3 @@
+2 3
+2 2
+3 5
diff --git a/public_test_cases/p02397/output.1.txt b/public_test_cases/p02397/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15df8c659fbe78629d6563e74cd39652a23a9d1f
--- /dev/null
+++ b/public_test_cases/p02397/output.1.txt
@@ -0,0 +1,3 @@
+2 3
+2 2
+3 5
diff --git a/public_test_cases/p02398/input.0.txt b/public_test_cases/p02398/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70ce7b2b192d839d66222f462f67f97ea23134c4
--- /dev/null
+++ b/public_test_cases/p02398/input.0.txt
@@ -0,0 +1 @@
+5 14 80
diff --git a/public_test_cases/p02398/input.1.txt b/public_test_cases/p02398/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70ce7b2b192d839d66222f462f67f97ea23134c4
--- /dev/null
+++ b/public_test_cases/p02398/input.1.txt
@@ -0,0 +1 @@
+5 14 80
diff --git a/public_test_cases/p02398/output.0.txt b/public_test_cases/p02398/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02398/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02398/output.1.txt b/public_test_cases/p02398/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02398/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02399/input.0.txt b/public_test_cases/p02399/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02399/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02399/input.1.txt b/public_test_cases/p02399/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02399/input.1.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02399/output.0.txt b/public_test_cases/p02399/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d114e32fad9a568cc26dfb32a60bb5054055a47
--- /dev/null
+++ b/public_test_cases/p02399/output.0.txt
@@ -0,0 +1 @@
+1 1 1.50000
diff --git a/public_test_cases/p02399/output.1.txt b/public_test_cases/p02399/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d114e32fad9a568cc26dfb32a60bb5054055a47
--- /dev/null
+++ b/public_test_cases/p02399/output.1.txt
@@ -0,0 +1 @@
+1 1 1.50000
diff --git a/public_test_cases/p02400/input.0.txt b/public_test_cases/p02400/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02400/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02400/input.1.txt b/public_test_cases/p02400/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02400/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02400/input.2.txt b/public_test_cases/p02400/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02400/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02400/output.0.txt b/public_test_cases/p02400/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80184bae95b3ece75164a6570adf30ad0bf43ad7
--- /dev/null
+++ b/public_test_cases/p02400/output.0.txt
@@ -0,0 +1 @@
+12.566371 12.566371
diff --git a/public_test_cases/p02400/output.1.txt b/public_test_cases/p02400/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80184bae95b3ece75164a6570adf30ad0bf43ad7
--- /dev/null
+++ b/public_test_cases/p02400/output.1.txt
@@ -0,0 +1 @@
+12.566371 12.566371
diff --git a/public_test_cases/p02400/output.2.txt b/public_test_cases/p02400/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..080052b382b9413038543b9a4e95789155a8e8a8
--- /dev/null
+++ b/public_test_cases/p02400/output.2.txt
@@ -0,0 +1 @@
+28.274334 18.849556
diff --git a/public_test_cases/p02401/input.0.txt b/public_test_cases/p02401/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fe0be112228cb7a6af05b0f98bc679829bc1048
--- /dev/null
+++ b/public_test_cases/p02401/input.0.txt
@@ -0,0 +1,6 @@
+1 + 2
+56 - 18
+13 * 2
+100 / 10
+27 + 81
+0 ? 0
diff --git a/public_test_cases/p02401/input.1.txt b/public_test_cases/p02401/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fe0be112228cb7a6af05b0f98bc679829bc1048
--- /dev/null
+++ b/public_test_cases/p02401/input.1.txt
@@ -0,0 +1,6 @@
+1 + 2
+56 - 18
+13 * 2
+100 / 10
+27 + 81
+0 ? 0
diff --git a/public_test_cases/p02401/output.0.txt b/public_test_cases/p02401/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc3544a5e801ea8b7b85313acc1d0d83463552aa
--- /dev/null
+++ b/public_test_cases/p02401/output.0.txt
@@ -0,0 +1,5 @@
+3
+38
+26
+10
+108
diff --git a/public_test_cases/p02401/output.1.txt b/public_test_cases/p02401/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc3544a5e801ea8b7b85313acc1d0d83463552aa
--- /dev/null
+++ b/public_test_cases/p02401/output.1.txt
@@ -0,0 +1,5 @@
+3
+38
+26
+10
+108
diff --git a/public_test_cases/p02402/input.0.txt b/public_test_cases/p02402/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ffccac4104f00294a9999b36d3cb1665456b054
--- /dev/null
+++ b/public_test_cases/p02402/input.0.txt
@@ -0,0 +1,2 @@
+5
+10 1 5 4 17
diff --git a/public_test_cases/p02402/input.1.txt b/public_test_cases/p02402/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ffccac4104f00294a9999b36d3cb1665456b054
--- /dev/null
+++ b/public_test_cases/p02402/input.1.txt
@@ -0,0 +1,2 @@
+5
+10 1 5 4 17
diff --git a/public_test_cases/p02402/output.0.txt b/public_test_cases/p02402/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b61adbe1c379b397ed628b2d6ae68b79f68c6325
--- /dev/null
+++ b/public_test_cases/p02402/output.0.txt
@@ -0,0 +1 @@
+1 17 37
diff --git a/public_test_cases/p02402/output.1.txt b/public_test_cases/p02402/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b61adbe1c379b397ed628b2d6ae68b79f68c6325
--- /dev/null
+++ b/public_test_cases/p02402/output.1.txt
@@ -0,0 +1 @@
+1 17 37
diff --git a/public_test_cases/p02403/input.0.txt b/public_test_cases/p02403/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edeb306520d16d0dad06af443477ddf425df982c
--- /dev/null
+++ b/public_test_cases/p02403/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+5 6
+2 2
+0 0
diff --git a/public_test_cases/p02403/input.1.txt b/public_test_cases/p02403/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edeb306520d16d0dad06af443477ddf425df982c
--- /dev/null
+++ b/public_test_cases/p02403/input.1.txt
@@ -0,0 +1,4 @@
+3 4
+5 6
+2 2
+0 0
diff --git a/public_test_cases/p02403/output.0.txt b/public_test_cases/p02403/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3defb1369fcb604dc7480b1d8113c1cbc0f3b311
--- /dev/null
+++ b/public_test_cases/p02403/output.0.txt
@@ -0,0 +1,12 @@
+####
+####
+####
+
+######
+######
+######
+######
+######
+
+##
+##
diff --git a/public_test_cases/p02403/output.1.txt b/public_test_cases/p02403/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3defb1369fcb604dc7480b1d8113c1cbc0f3b311
--- /dev/null
+++ b/public_test_cases/p02403/output.1.txt
@@ -0,0 +1,12 @@
+####
+####
+####
+
+######
+######
+######
+######
+######
+
+##
+##
diff --git a/public_test_cases/p02404/input.0.txt b/public_test_cases/p02404/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ad0b5346650fefdac941b35bb4e166522ce3cf0
--- /dev/null
+++ b/public_test_cases/p02404/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+5 6
+3 3
+0 0
diff --git a/public_test_cases/p02404/input.1.txt b/public_test_cases/p02404/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ad0b5346650fefdac941b35bb4e166522ce3cf0
--- /dev/null
+++ b/public_test_cases/p02404/input.1.txt
@@ -0,0 +1,4 @@
+3 4
+5 6
+3 3
+0 0
diff --git a/public_test_cases/p02404/output.0.txt b/public_test_cases/p02404/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1bd965f944a9c8189997e61b293c4082995201c
--- /dev/null
+++ b/public_test_cases/p02404/output.0.txt
@@ -0,0 +1,13 @@
+####
+#..#
+####
+
+######
+#....#
+#....#
+#....#
+######
+
+###
+#.#
+###
diff --git a/public_test_cases/p02404/output.1.txt b/public_test_cases/p02404/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1bd965f944a9c8189997e61b293c4082995201c
--- /dev/null
+++ b/public_test_cases/p02404/output.1.txt
@@ -0,0 +1,13 @@
+####
+#..#
+####
+
+######
+#....#
+#....#
+#....#
+######
+
+###
+#.#
+###
diff --git a/public_test_cases/p02405/input.0.txt b/public_test_cases/p02405/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb6ac8749a71af1de16d5309addfefd0cd4aa88e
--- /dev/null
+++ b/public_test_cases/p02405/input.0.txt
@@ -0,0 +1,6 @@
+3 4
+5 6
+3 3
+2 2
+1 1
+0 0
diff --git a/public_test_cases/p02405/input.1.txt b/public_test_cases/p02405/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb6ac8749a71af1de16d5309addfefd0cd4aa88e
--- /dev/null
+++ b/public_test_cases/p02405/input.1.txt
@@ -0,0 +1,6 @@
+3 4
+5 6
+3 3
+2 2
+1 1
+0 0
diff --git a/public_test_cases/p02405/output.0.txt b/public_test_cases/p02405/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63ac321a9292c4092406b028022b39483b80349b
--- /dev/null
+++ b/public_test_cases/p02405/output.0.txt
@@ -0,0 +1,18 @@
+#.#.
+.#.#
+#.#.
+
+#.#.#.
+.#.#.#
+#.#.#.
+.#.#.#
+#.#.#.
+
+#.#
+.#.
+#.#
+
+#.
+.#
+
+#
diff --git a/public_test_cases/p02405/output.1.txt b/public_test_cases/p02405/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63ac321a9292c4092406b028022b39483b80349b
--- /dev/null
+++ b/public_test_cases/p02405/output.1.txt
@@ -0,0 +1,18 @@
+#.#.
+.#.#
+#.#.
+
+#.#.#.
+.#.#.#
+#.#.#.
+.#.#.#
+#.#.#.
+
+#.#
+.#.
+#.#
+
+#.
+.#
+
+#
diff --git a/public_test_cases/p02406/input.0.txt b/public_test_cases/p02406/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p02406/input.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p02406/input.1.txt b/public_test_cases/p02406/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p02406/input.1.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p02406/output.0.txt b/public_test_cases/p02406/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e17e5f36ee147d8c9af85b5c2f156f2836152c74
--- /dev/null
+++ b/public_test_cases/p02406/output.0.txt
@@ -0,0 +1 @@
+ 3 6 9 12 13 15 18 21 23 24 27 30
diff --git a/public_test_cases/p02406/output.1.txt b/public_test_cases/p02406/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..679e8d7bbf2c2f607d8e6683c2b2906c202383fa
--- /dev/null
+++ b/public_test_cases/p02406/output.1.txt
@@ -0,0 +1 @@
+3 6 9 12 13 15 18 21 23 24 27 30
diff --git a/public_test_cases/p02407/input.0.txt b/public_test_cases/p02407/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02407/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02407/input.1.txt b/public_test_cases/p02407/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f06483e2da9a4a822bf45ab3df462f92356579f2
--- /dev/null
+++ b/public_test_cases/p02407/input.1.txt
@@ -0,0 +1,2 @@
+8
+3 3 4 4 5 8 7 9
diff --git a/public_test_cases/p02407/input.2.txt b/public_test_cases/p02407/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02407/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02407/output.0.txt b/public_test_cases/p02407/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9298f622aa1f3d1304ab2dc84278cc03653cfe4
--- /dev/null
+++ b/public_test_cases/p02407/output.0.txt
@@ -0,0 +1 @@
+5 4 3 2 1
diff --git a/public_test_cases/p02407/output.1.txt b/public_test_cases/p02407/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c56df445fc300512b48ef0f234b710abedd65fb0
--- /dev/null
+++ b/public_test_cases/p02407/output.1.txt
@@ -0,0 +1 @@
+9 7 8 5 4 4 3 3
diff --git a/public_test_cases/p02407/output.2.txt b/public_test_cases/p02407/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9298f622aa1f3d1304ab2dc84278cc03653cfe4
--- /dev/null
+++ b/public_test_cases/p02407/output.2.txt
@@ -0,0 +1 @@
+5 4 3 2 1
diff --git a/public_test_cases/p02408/input.0.txt b/public_test_cases/p02408/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55cdaa74c2efbac5c5c2d016f883fbabb53ec0b8
--- /dev/null
+++ b/public_test_cases/p02408/input.0.txt
@@ -0,0 +1,48 @@
+47
+S 10
+S 11
+S 12
+S 13
+H 1
+H 2
+S 6
+S 7
+S 8
+S 9
+H 6
+H 8
+H 9
+H 10
+H 11
+H 4
+H 5
+S 2
+S 3
+S 4
+S 5
+H 12
+H 13
+C 1
+C 2
+D 1
+D 2
+D 3
+D 4
+D 5
+D 6
+D 7
+C 3
+C 4
+C 5
+C 6
+C 7
+C 8
+C 9
+C 10
+C 11
+C 13
+D 9
+D 10
+D 11
+D 12
+D 13
diff --git a/public_test_cases/p02408/input.1.txt b/public_test_cases/p02408/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55cdaa74c2efbac5c5c2d016f883fbabb53ec0b8
--- /dev/null
+++ b/public_test_cases/p02408/input.1.txt
@@ -0,0 +1,48 @@
+47
+S 10
+S 11
+S 12
+S 13
+H 1
+H 2
+S 6
+S 7
+S 8
+S 9
+H 6
+H 8
+H 9
+H 10
+H 11
+H 4
+H 5
+S 2
+S 3
+S 4
+S 5
+H 12
+H 13
+C 1
+C 2
+D 1
+D 2
+D 3
+D 4
+D 5
+D 6
+D 7
+C 3
+C 4
+C 5
+C 6
+C 7
+C 8
+C 9
+C 10
+C 11
+C 13
+D 9
+D 10
+D 11
+D 12
+D 13
diff --git a/public_test_cases/p02408/output.0.txt b/public_test_cases/p02408/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16c17b724ba308a09963065fc24ad45142eada4b
--- /dev/null
+++ b/public_test_cases/p02408/output.0.txt
@@ -0,0 +1,5 @@
+S 1
+H 3
+H 7
+C 12
+D 8
diff --git a/public_test_cases/p02408/output.1.txt b/public_test_cases/p02408/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16c17b724ba308a09963065fc24ad45142eada4b
--- /dev/null
+++ b/public_test_cases/p02408/output.1.txt
@@ -0,0 +1,5 @@
+S 1
+H 3
+H 7
+C 12
+D 8
diff --git a/public_test_cases/p02409/input.0.txt b/public_test_cases/p02409/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..641e3f3fdc5fa8dec69790d09f6f18f9c1db762a
--- /dev/null
+++ b/public_test_cases/p02409/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 1 3 8
+3 2 2 7
+4 3 8 1
diff --git a/public_test_cases/p02409/input.1.txt b/public_test_cases/p02409/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..641e3f3fdc5fa8dec69790d09f6f18f9c1db762a
--- /dev/null
+++ b/public_test_cases/p02409/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 1 3 8
+3 2 2 7
+4 3 8 1
diff --git a/public_test_cases/p02409/output.0.txt b/public_test_cases/p02409/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fa41596239ebf06f92a1a2efde0442a9d1799a9
--- /dev/null
+++ b/public_test_cases/p02409/output.0.txt
@@ -0,0 +1,15 @@
+ 0 0 8 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+####################
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+####################
+ 0 0 0 0 0 0 0 0 0 0
+ 0 7 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+####################
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 1 0 0
diff --git a/public_test_cases/p02409/output.1.txt b/public_test_cases/p02409/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f46ed7b177cc10e791f594da17a1f8e17dd0d53
--- /dev/null
+++ b/public_test_cases/p02409/output.1.txt
@@ -0,0 +1,15 @@
+0 0 8 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+####################
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+####################
+ 0 0 0 0 0 0 0 0 0 0
+ 0 7 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+####################
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 1 0 0
diff --git a/public_test_cases/p02410/input.0.txt b/public_test_cases/p02410/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf8786c6dbfa25f4902fb5fab80ed71943e783e2
--- /dev/null
+++ b/public_test_cases/p02410/input.0.txt
@@ -0,0 +1,8 @@
+3 4
+1 2 0 1
+0 3 0 1
+4 1 1 0
+1
+2
+3
+0
diff --git a/public_test_cases/p02410/input.1.txt b/public_test_cases/p02410/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf8786c6dbfa25f4902fb5fab80ed71943e783e2
--- /dev/null
+++ b/public_test_cases/p02410/input.1.txt
@@ -0,0 +1,8 @@
+3 4
+1 2 0 1
+0 3 0 1
+4 1 1 0
+1
+2
+3
+0
diff --git a/public_test_cases/p02410/output.0.txt b/public_test_cases/p02410/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1f5ca6e1a8ee8e3e3828333de170fead801c153
--- /dev/null
+++ b/public_test_cases/p02410/output.0.txt
@@ -0,0 +1,3 @@
+5
+6
+9
diff --git a/public_test_cases/p02410/output.1.txt b/public_test_cases/p02410/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1f5ca6e1a8ee8e3e3828333de170fead801c153
--- /dev/null
+++ b/public_test_cases/p02410/output.1.txt
@@ -0,0 +1,3 @@
+5
+6
+9
diff --git a/public_test_cases/p02411/input.0.txt b/public_test_cases/p02411/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98b03e5d46739b5b7769f09d0834842cb857fade
--- /dev/null
+++ b/public_test_cases/p02411/input.0.txt
@@ -0,0 +1,4 @@
+40 42 -1
+20 30 -1
+0 2 -1
+-1 -1 -1
diff --git a/public_test_cases/p02411/input.1.txt b/public_test_cases/p02411/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98b03e5d46739b5b7769f09d0834842cb857fade
--- /dev/null
+++ b/public_test_cases/p02411/input.1.txt
@@ -0,0 +1,4 @@
+40 42 -1
+20 30 -1
+0 2 -1
+-1 -1 -1
diff --git a/public_test_cases/p02411/output.0.txt b/public_test_cases/p02411/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..181b7d7267cee452016e274258480cbc16484432
--- /dev/null
+++ b/public_test_cases/p02411/output.0.txt
@@ -0,0 +1,3 @@
+A
+C
+F
diff --git a/public_test_cases/p02411/output.1.txt b/public_test_cases/p02411/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..181b7d7267cee452016e274258480cbc16484432
--- /dev/null
+++ b/public_test_cases/p02411/output.1.txt
@@ -0,0 +1,3 @@
+A
+C
+F
diff --git a/public_test_cases/p02412/input.0.txt b/public_test_cases/p02412/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3d7f54811799bacfdc5497eae2222b1a617fbec
--- /dev/null
+++ b/public_test_cases/p02412/input.0.txt
@@ -0,0 +1,2 @@
+5 9
+0 0
diff --git a/public_test_cases/p02412/input.1.txt b/public_test_cases/p02412/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3d7f54811799bacfdc5497eae2222b1a617fbec
--- /dev/null
+++ b/public_test_cases/p02412/input.1.txt
@@ -0,0 +1,2 @@
+5 9
+0 0
diff --git a/public_test_cases/p02412/output.0.txt b/public_test_cases/p02412/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02412/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02412/output.1.txt b/public_test_cases/p02412/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02412/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02413/input.0.txt b/public_test_cases/p02413/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30c41b407887408ed0fa61a3389b521e57ad64a3
--- /dev/null
+++ b/public_test_cases/p02413/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+1 1 3 4 5
+2 2 2 4 5
+3 3 0 1 1
+2 3 4 4 6
diff --git a/public_test_cases/p02413/input.1.txt b/public_test_cases/p02413/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30c41b407887408ed0fa61a3389b521e57ad64a3
--- /dev/null
+++ b/public_test_cases/p02413/input.1.txt
@@ -0,0 +1,5 @@
+4 5
+1 1 3 4 5
+2 2 2 4 5
+3 3 0 1 1
+2 3 4 4 6
diff --git a/public_test_cases/p02413/output.0.txt b/public_test_cases/p02413/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0e0e7f019d4de6c0d87f226198f7dc136f08aad
--- /dev/null
+++ b/public_test_cases/p02413/output.0.txt
@@ -0,0 +1,5 @@
+1 1 3 4 5 14
+2 2 2 4 5 15
+3 3 0 1 1 8
+2 3 4 4 6 19
+8 9 9 13 17 56
diff --git a/public_test_cases/p02413/output.1.txt b/public_test_cases/p02413/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0e0e7f019d4de6c0d87f226198f7dc136f08aad
--- /dev/null
+++ b/public_test_cases/p02413/output.1.txt
@@ -0,0 +1,5 @@
+1 1 3 4 5 14
+2 2 2 4 5 15
+3 3 0 1 1 8
+2 3 4 4 6 19
+8 9 9 13 17 56
diff --git a/public_test_cases/p02414/input.0.txt b/public_test_cases/p02414/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f6381bee8678b44662a5450d4ea82395da1973a
--- /dev/null
+++ b/public_test_cases/p02414/input.0.txt
@@ -0,0 +1,6 @@
+3 2 3
+1 2
+0 3
+4 5
+1 2 1
+0 3 2
diff --git a/public_test_cases/p02414/input.1.txt b/public_test_cases/p02414/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f6381bee8678b44662a5450d4ea82395da1973a
--- /dev/null
+++ b/public_test_cases/p02414/input.1.txt
@@ -0,0 +1,6 @@
+3 2 3
+1 2
+0 3
+4 5
+1 2 1
+0 3 2
diff --git a/public_test_cases/p02414/output.0.txt b/public_test_cases/p02414/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74eec2f4b3340dbdb6a76ad41e1c876dc579bcfb
--- /dev/null
+++ b/public_test_cases/p02414/output.0.txt
@@ -0,0 +1,3 @@
+1 8 5
+0 9 6
+4 23 14
diff --git a/public_test_cases/p02414/output.1.txt b/public_test_cases/p02414/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74eec2f4b3340dbdb6a76ad41e1c876dc579bcfb
--- /dev/null
+++ b/public_test_cases/p02414/output.1.txt
@@ -0,0 +1,3 @@
+1 8 5
+0 9 6
+4 23 14
diff --git a/public_test_cases/p02415/input.0.txt b/public_test_cases/p02415/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58b46ce924c7c099409195c1c690493e51cb3944
--- /dev/null
+++ b/public_test_cases/p02415/input.0.txt
@@ -0,0 +1 @@
+fAIR, LATER, OCCASIONALLY CLOUDY.
diff --git a/public_test_cases/p02415/input.1.txt b/public_test_cases/p02415/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58b46ce924c7c099409195c1c690493e51cb3944
--- /dev/null
+++ b/public_test_cases/p02415/input.1.txt
@@ -0,0 +1 @@
+fAIR, LATER, OCCASIONALLY CLOUDY.
diff --git a/public_test_cases/p02415/output.0.txt b/public_test_cases/p02415/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7b0a4adf8dc90b1a366eeea1bf6d71e692bd8af
--- /dev/null
+++ b/public_test_cases/p02415/output.0.txt
@@ -0,0 +1 @@
+Fair, later, occasionally cloudy.
diff --git a/public_test_cases/p02415/output.1.txt b/public_test_cases/p02415/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7b0a4adf8dc90b1a366eeea1bf6d71e692bd8af
--- /dev/null
+++ b/public_test_cases/p02415/output.1.txt
@@ -0,0 +1 @@
+Fair, later, occasionally cloudy.
diff --git a/public_test_cases/p02416/input.0.txt b/public_test_cases/p02416/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..159049df480bb1e8f04a811f78dac9b71414680a
--- /dev/null
+++ b/public_test_cases/p02416/input.0.txt
@@ -0,0 +1,4 @@
+123
+55
+1000
+0
diff --git a/public_test_cases/p02416/input.1.txt b/public_test_cases/p02416/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..159049df480bb1e8f04a811f78dac9b71414680a
--- /dev/null
+++ b/public_test_cases/p02416/input.1.txt
@@ -0,0 +1,4 @@
+123
+55
+1000
+0
diff --git a/public_test_cases/p02416/output.0.txt b/public_test_cases/p02416/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8b7fd21c03e8b21974a936a793f992baec5ce9c
--- /dev/null
+++ b/public_test_cases/p02416/output.0.txt
@@ -0,0 +1,3 @@
+6
+10
+1
diff --git a/public_test_cases/p02416/output.1.txt b/public_test_cases/p02416/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8b7fd21c03e8b21974a936a793f992baec5ce9c
--- /dev/null
+++ b/public_test_cases/p02416/output.1.txt
@@ -0,0 +1,3 @@
+6
+10
+1
diff --git a/public_test_cases/p02417/input.0.txt b/public_test_cases/p02417/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..149bbea034f3175067f1ad64dd8155a19d581221
--- /dev/null
+++ b/public_test_cases/p02417/input.0.txt
@@ -0,0 +1 @@
+This is a pen.
diff --git a/public_test_cases/p02417/input.1.txt b/public_test_cases/p02417/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..149bbea034f3175067f1ad64dd8155a19d581221
--- /dev/null
+++ b/public_test_cases/p02417/input.1.txt
@@ -0,0 +1 @@
+This is a pen.
diff --git a/public_test_cases/p02417/output.0.txt b/public_test_cases/p02417/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27a5aad868582101d7027b8628be6bee9f5e70fc
--- /dev/null
+++ b/public_test_cases/p02417/output.0.txt
@@ -0,0 +1,26 @@
+a : 1
+b : 0
+c : 0
+d : 0
+e : 1
+f : 0
+g : 0
+h : 1
+i : 2
+j : 0
+k : 0
+l : 0
+m : 0
+n : 1
+o : 0
+p : 1
+q : 0
+r : 0
+s : 2
+t : 1
+u : 0
+v : 0
+w : 0
+x : 0
+y : 0
+z : 0
diff --git a/public_test_cases/p02417/output.1.txt b/public_test_cases/p02417/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27a5aad868582101d7027b8628be6bee9f5e70fc
--- /dev/null
+++ b/public_test_cases/p02417/output.1.txt
@@ -0,0 +1,26 @@
+a : 1
+b : 0
+c : 0
+d : 0
+e : 1
+f : 0
+g : 0
+h : 1
+i : 2
+j : 0
+k : 0
+l : 0
+m : 0
+n : 1
+o : 0
+p : 1
+q : 0
+r : 0
+s : 2
+t : 1
+u : 0
+v : 0
+w : 0
+x : 0
+y : 0
+z : 0
diff --git a/public_test_cases/p02418/input.0.txt b/public_test_cases/p02418/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..421998b9e694aa5636fb05f9864469cd746b1527
--- /dev/null
+++ b/public_test_cases/p02418/input.0.txt
@@ -0,0 +1,2 @@
+vanceknowledgetoad
+advance
diff --git a/public_test_cases/p02418/input.1.txt b/public_test_cases/p02418/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..421998b9e694aa5636fb05f9864469cd746b1527
--- /dev/null
+++ b/public_test_cases/p02418/input.1.txt
@@ -0,0 +1,2 @@
+vanceknowledgetoad
+advance
diff --git a/public_test_cases/p02418/input.2.txt b/public_test_cases/p02418/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b03cf4a49d982472d999a4a19b89a61dbb1a110b
--- /dev/null
+++ b/public_test_cases/p02418/input.2.txt
@@ -0,0 +1,2 @@
+vanceknowledgetoad
+advanced
diff --git a/public_test_cases/p02418/output.0.txt b/public_test_cases/p02418/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02418/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02418/output.1.txt b/public_test_cases/p02418/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02418/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02418/output.2.txt b/public_test_cases/p02418/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02418/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02419/input.0.txt b/public_test_cases/p02419/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a5208d34a2ae02f12f88a80066ef470de2036d0
--- /dev/null
+++ b/public_test_cases/p02419/input.0.txt
@@ -0,0 +1,5 @@
+computer
+Nurtures computer scientists and highly-skilled computer engineers
+who will create and exploit "knowledge" for the new era.
+Provides an outstanding computer environment.
+END_OF_TEXT
diff --git a/public_test_cases/p02419/input.1.txt b/public_test_cases/p02419/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a5208d34a2ae02f12f88a80066ef470de2036d0
--- /dev/null
+++ b/public_test_cases/p02419/input.1.txt
@@ -0,0 +1,5 @@
+computer
+Nurtures computer scientists and highly-skilled computer engineers
+who will create and exploit "knowledge" for the new era.
+Provides an outstanding computer environment.
+END_OF_TEXT
diff --git a/public_test_cases/p02419/output.0.txt b/public_test_cases/p02419/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02419/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02419/output.1.txt b/public_test_cases/p02419/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02419/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02420/input.0.txt b/public_test_cases/p02420/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4e5af8367159bf43d535ef6ab3e5555f877082
--- /dev/null
+++ b/public_test_cases/p02420/input.0.txt
@@ -0,0 +1,10 @@
+aabc
+3
+1
+2
+1
+vwxyz
+2
+3
+4
+-
diff --git a/public_test_cases/p02420/input.1.txt b/public_test_cases/p02420/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4e5af8367159bf43d535ef6ab3e5555f877082
--- /dev/null
+++ b/public_test_cases/p02420/input.1.txt
@@ -0,0 +1,10 @@
+aabc
+3
+1
+2
+1
+vwxyz
+2
+3
+4
+-
diff --git a/public_test_cases/p02420/output.0.txt b/public_test_cases/p02420/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3415eab70cbdec17820ae4dc67876b2c78c52d84
--- /dev/null
+++ b/public_test_cases/p02420/output.0.txt
@@ -0,0 +1,2 @@
+aabc
+xyzvw
diff --git a/public_test_cases/p02420/output.1.txt b/public_test_cases/p02420/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3415eab70cbdec17820ae4dc67876b2c78c52d84
--- /dev/null
+++ b/public_test_cases/p02420/output.1.txt
@@ -0,0 +1,2 @@
+aabc
+xyzvw
diff --git a/public_test_cases/p02421/input.0.txt b/public_test_cases/p02421/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..038fa9d90c516e0ff46ed96d55467c88cbc1cfac
--- /dev/null
+++ b/public_test_cases/p02421/input.0.txt
@@ -0,0 +1,4 @@
+3
+cat dog
+fish fish
+lion tiger
diff --git a/public_test_cases/p02421/input.1.txt b/public_test_cases/p02421/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..038fa9d90c516e0ff46ed96d55467c88cbc1cfac
--- /dev/null
+++ b/public_test_cases/p02421/input.1.txt
@@ -0,0 +1,4 @@
+3
+cat dog
+fish fish
+lion tiger
diff --git a/public_test_cases/p02421/output.0.txt b/public_test_cases/p02421/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c15dab81887ba3cead7b6a121c63e52c1792a2da
--- /dev/null
+++ b/public_test_cases/p02421/output.0.txt
@@ -0,0 +1 @@
+1 7
diff --git a/public_test_cases/p02421/output.1.txt b/public_test_cases/p02421/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c15dab81887ba3cead7b6a121c63e52c1792a2da
--- /dev/null
+++ b/public_test_cases/p02421/output.1.txt
@@ -0,0 +1 @@
+1 7
diff --git a/public_test_cases/p02422/input.0.txt b/public_test_cases/p02422/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9effdb3a9da6ca64fd35eba7f02ec7855134d22
--- /dev/null
+++ b/public_test_cases/p02422/input.0.txt
@@ -0,0 +1,5 @@
+abcde
+3
+replace 1 3 xyz
+reverse 0 2
+print 1 4
diff --git a/public_test_cases/p02422/input.1.txt b/public_test_cases/p02422/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9effdb3a9da6ca64fd35eba7f02ec7855134d22
--- /dev/null
+++ b/public_test_cases/p02422/input.1.txt
@@ -0,0 +1,5 @@
+abcde
+3
+replace 1 3 xyz
+reverse 0 2
+print 1 4
diff --git a/public_test_cases/p02422/input.2.txt b/public_test_cases/p02422/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16da19ed352ba17f7ca232729ba29a885897bb6a
--- /dev/null
+++ b/public_test_cases/p02422/input.2.txt
@@ -0,0 +1,5 @@
+xyz
+3
+print 0 2
+replace 0 2 abc
+print 0 2
diff --git a/public_test_cases/p02422/output.0.txt b/public_test_cases/p02422/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39ba33f569d7507aa513d3a3a6e81bff085fa464
--- /dev/null
+++ b/public_test_cases/p02422/output.0.txt
@@ -0,0 +1 @@
+xaze
diff --git a/public_test_cases/p02422/output.1.txt b/public_test_cases/p02422/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39ba33f569d7507aa513d3a3a6e81bff085fa464
--- /dev/null
+++ b/public_test_cases/p02422/output.1.txt
@@ -0,0 +1 @@
+xaze
diff --git a/public_test_cases/p02422/output.2.txt b/public_test_cases/p02422/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc404011c75d8d2ca96a18d6c290a701cd9cce0b
--- /dev/null
+++ b/public_test_cases/p02422/output.2.txt
@@ -0,0 +1,2 @@
+xyz
+abc
diff --git a/public_test_cases/p02423/input.0.txt b/public_test_cases/p02423/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02423/input.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02423/input.1.txt b/public_test_cases/p02423/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02423/input.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02423/input.2.txt b/public_test_cases/p02423/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02423/input.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02423/output.0.txt b/public_test_cases/p02423/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b88da970680feec2326cbe885888cc62c2af7354
--- /dev/null
+++ b/public_test_cases/p02423/output.0.txt
@@ -0,0 +1,4 @@
+00000000000000000000000000001000
+11111111111111111111111111110111
+00000000000000000000000000010000
+00000000000000000000000000000100
diff --git a/public_test_cases/p02423/output.1.txt b/public_test_cases/p02423/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37b1a12af9b1949101e007d34005dc71c3bbc3ff
--- /dev/null
+++ b/public_test_cases/p02423/output.1.txt
@@ -0,0 +1,4 @@
+00000000000000000000000000001101
+11111111111111111111111111110010
+00000000000000000000000000011010
+00000000000000000000000000000110
diff --git a/public_test_cases/p02423/output.2.txt b/public_test_cases/p02423/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b88da970680feec2326cbe885888cc62c2af7354
--- /dev/null
+++ b/public_test_cases/p02423/output.2.txt
@@ -0,0 +1,4 @@
+00000000000000000000000000001000
+11111111111111111111111111110111
+00000000000000000000000000010000
+00000000000000000000000000000100
diff --git a/public_test_cases/p02424/input.0.txt b/public_test_cases/p02424/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3933c1f854201be886d45544b1716c9fba0c69a0
--- /dev/null
+++ b/public_test_cases/p02424/input.0.txt
@@ -0,0 +1 @@
+8 10
diff --git a/public_test_cases/p02424/input.1.txt b/public_test_cases/p02424/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3933c1f854201be886d45544b1716c9fba0c69a0
--- /dev/null
+++ b/public_test_cases/p02424/input.1.txt
@@ -0,0 +1 @@
+8 10
diff --git a/public_test_cases/p02424/output.0.txt b/public_test_cases/p02424/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84227df0c537a9d59ab751d36b1d3c4856d44808
--- /dev/null
+++ b/public_test_cases/p02424/output.0.txt
@@ -0,0 +1,3 @@
+00000000000000000000000000001000
+00000000000000000000000000001010
+00000000000000000000000000000010
diff --git a/public_test_cases/p02424/output.1.txt b/public_test_cases/p02424/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84227df0c537a9d59ab751d36b1d3c4856d44808
--- /dev/null
+++ b/public_test_cases/p02424/output.1.txt
@@ -0,0 +1,3 @@
+00000000000000000000000000001000
+00000000000000000000000000001010
+00000000000000000000000000000010
diff --git a/public_test_cases/p02425/input.0.txt b/public_test_cases/p02425/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5745397bcb452872f0091f6a94155082b175aba1
--- /dev/null
+++ b/public_test_cases/p02425/input.0.txt
@@ -0,0 +1,15 @@
+14
+1 0
+1 1
+1 2
+2 1
+0 0
+0 1
+0 2
+0 3
+3 3
+4
+5
+6
+7
+8
diff --git a/public_test_cases/p02425/input.1.txt b/public_test_cases/p02425/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5745397bcb452872f0091f6a94155082b175aba1
--- /dev/null
+++ b/public_test_cases/p02425/input.1.txt
@@ -0,0 +1,15 @@
+14
+1 0
+1 1
+1 2
+2 1
+0 0
+0 1
+0 2
+0 3
+3 3
+4
+5
+6
+7
+8
diff --git a/public_test_cases/p02425/output.0.txt b/public_test_cases/p02425/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88f0b4df85bfcdab6fef013f07a6aada012f01f7
--- /dev/null
+++ b/public_test_cases/p02425/output.0.txt
@@ -0,0 +1,9 @@
+1
+0
+1
+0
+0
+1
+0
+3
+13
diff --git a/public_test_cases/p02425/output.1.txt b/public_test_cases/p02425/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88f0b4df85bfcdab6fef013f07a6aada012f01f7
--- /dev/null
+++ b/public_test_cases/p02425/output.1.txt
@@ -0,0 +1,9 @@
+1
+0
+1
+0
+0
+1
+0
+3
+13
diff --git a/public_test_cases/p02426/input.0.txt b/public_test_cases/p02426/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3162161f78efe4ca664dd5a1afb205a8bcc331d3
--- /dev/null
+++ b/public_test_cases/p02426/input.0.txt
@@ -0,0 +1,13 @@
+3
+3 0 1 3
+1 3
+3 0 1 2
+8
+1 0
+2 1
+3 1
+4 2
+5 2
+6 2
+7 2
+8 2
diff --git a/public_test_cases/p02426/input.1.txt b/public_test_cases/p02426/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3162161f78efe4ca664dd5a1afb205a8bcc331d3
--- /dev/null
+++ b/public_test_cases/p02426/input.1.txt
@@ -0,0 +1,13 @@
+3
+3 0 1 3
+1 3
+3 0 1 2
+8
+1 0
+2 1
+3 1
+4 2
+5 2
+6 2
+7 2
+8 2
diff --git a/public_test_cases/p02426/output.0.txt b/public_test_cases/p02426/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..179c2f1bd276a36970e46552f863a083d517be43
--- /dev/null
+++ b/public_test_cases/p02426/output.0.txt
@@ -0,0 +1,5 @@
+0
+1
+0
+2
+3
diff --git a/public_test_cases/p02426/output.1.txt b/public_test_cases/p02426/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..179c2f1bd276a36970e46552f863a083d517be43
--- /dev/null
+++ b/public_test_cases/p02426/output.1.txt
@@ -0,0 +1,5 @@
+0
+1
+0
+2
+3
diff --git a/public_test_cases/p02427/input.0.txt b/public_test_cases/p02427/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02427/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02427/input.1.txt b/public_test_cases/p02427/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02427/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02427/output.0.txt b/public_test_cases/p02427/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e51ec153ac5dff4d40621e648a9a32953b3b737f
--- /dev/null
+++ b/public_test_cases/p02427/output.0.txt
@@ -0,0 +1,16 @@
+0:
+1: 0
+2: 1
+3: 0 1
+4: 2
+5: 0 2
+6: 1 2
+7: 0 1 2
+8: 3
+9: 0 3
+10: 1 3
+11: 0 1 3
+12: 2 3
+13: 0 2 3
+14: 1 2 3
+15: 0 1 2 3
diff --git a/public_test_cases/p02427/output.1.txt b/public_test_cases/p02427/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e51ec153ac5dff4d40621e648a9a32953b3b737f
--- /dev/null
+++ b/public_test_cases/p02427/output.1.txt
@@ -0,0 +1,16 @@
+0:
+1: 0
+2: 1
+3: 0 1
+4: 2
+5: 0 2
+6: 1 2
+7: 0 1 2
+8: 3
+9: 0 3
+10: 1 3
+11: 0 1 3
+12: 2 3
+13: 0 2 3
+14: 1 2 3
+15: 0 1 2 3
diff --git a/public_test_cases/p02428/input.0.txt b/public_test_cases/p02428/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63bbc5b762bf421508f0a7601aaba339b063e05c
--- /dev/null
+++ b/public_test_cases/p02428/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 0 2
diff --git a/public_test_cases/p02428/input.1.txt b/public_test_cases/p02428/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63bbc5b762bf421508f0a7601aaba339b063e05c
--- /dev/null
+++ b/public_test_cases/p02428/input.1.txt
@@ -0,0 +1,2 @@
+4
+2 0 2
diff --git a/public_test_cases/p02428/output.0.txt b/public_test_cases/p02428/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04e47f58d9c1dae36ac640ef07ac16c7c7c608a8
--- /dev/null
+++ b/public_test_cases/p02428/output.0.txt
@@ -0,0 +1,4 @@
+5: 0 2
+7: 0 1 2
+13: 0 2 3
+15: 0 1 2 3
diff --git a/public_test_cases/p02428/output.1.txt b/public_test_cases/p02428/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04e47f58d9c1dae36ac640ef07ac16c7c7c608a8
--- /dev/null
+++ b/public_test_cases/p02428/output.1.txt
@@ -0,0 +1,4 @@
+5: 0 2
+7: 0 1 2
+13: 0 2 3
+15: 0 1 2 3
diff --git a/public_test_cases/p02429/input.0.txt b/public_test_cases/p02429/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63bbc5b762bf421508f0a7601aaba339b063e05c
--- /dev/null
+++ b/public_test_cases/p02429/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 0 2
diff --git a/public_test_cases/p02429/input.1.txt b/public_test_cases/p02429/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63bbc5b762bf421508f0a7601aaba339b063e05c
--- /dev/null
+++ b/public_test_cases/p02429/input.1.txt
@@ -0,0 +1,2 @@
+4
+2 0 2
diff --git a/public_test_cases/p02429/output.0.txt b/public_test_cases/p02429/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..448a2cbd18cb2181f251d6e39c0fffcacbad1ee4
--- /dev/null
+++ b/public_test_cases/p02429/output.0.txt
@@ -0,0 +1,4 @@
+0:
+1: 0
+4: 2
+5: 0 2
diff --git a/public_test_cases/p02429/output.1.txt b/public_test_cases/p02429/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..448a2cbd18cb2181f251d6e39c0fffcacbad1ee4
--- /dev/null
+++ b/public_test_cases/p02429/output.1.txt
@@ -0,0 +1,4 @@
+0:
+1: 0
+4: 2
+5: 0 2
diff --git a/public_test_cases/p02430/input.0.txt b/public_test_cases/p02430/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p02430/input.0.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p02430/input.1.txt b/public_test_cases/p02430/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p02430/input.1.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p02430/output.0.txt b/public_test_cases/p02430/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbc3710a8fd2c5eb0c624fde4d6743ddf058adff
--- /dev/null
+++ b/public_test_cases/p02430/output.0.txt
@@ -0,0 +1,10 @@
+7: 0 1 2
+11: 0 1 3
+13: 0 2 3
+14: 1 2 3
+19: 0 1 4
+21: 0 2 4
+22: 1 2 4
+25: 0 3 4
+26: 1 3 4
+28: 2 3 4
diff --git a/public_test_cases/p02430/output.1.txt b/public_test_cases/p02430/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbc3710a8fd2c5eb0c624fde4d6743ddf058adff
--- /dev/null
+++ b/public_test_cases/p02430/output.1.txt
@@ -0,0 +1,10 @@
+7: 0 1 2
+11: 0 1 3
+13: 0 2 3
+14: 1 2 3
+19: 0 1 4
+21: 0 2 4
+22: 1 2 4
+25: 0 3 4
+26: 1 3 4
+28: 2 3 4
diff --git a/public_test_cases/p02431/input.0.txt b/public_test_cases/p02431/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38bb49a5b057634920c9274c8ac801500e6db4bc
--- /dev/null
+++ b/public_test_cases/p02431/input.0.txt
@@ -0,0 +1,9 @@
+8
+0 1
+0 2
+0 3
+2
+0 4
+1 0
+1 1
+1 2
diff --git a/public_test_cases/p02431/input.1.txt b/public_test_cases/p02431/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38bb49a5b057634920c9274c8ac801500e6db4bc
--- /dev/null
+++ b/public_test_cases/p02431/input.1.txt
@@ -0,0 +1,9 @@
+8
+0 1
+0 2
+0 3
+2
+0 4
+1 0
+1 1
+1 2
diff --git a/public_test_cases/p02431/output.0.txt b/public_test_cases/p02431/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8a01cd985125a824409ef6b2f264c76b54ffe6a
--- /dev/null
+++ b/public_test_cases/p02431/output.0.txt
@@ -0,0 +1,3 @@
+1
+2
+4
diff --git a/public_test_cases/p02431/output.1.txt b/public_test_cases/p02431/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8a01cd985125a824409ef6b2f264c76b54ffe6a
--- /dev/null
+++ b/public_test_cases/p02431/output.1.txt
@@ -0,0 +1,3 @@
+1
+2
+4
diff --git a/public_test_cases/p02432/input.0.txt b/public_test_cases/p02432/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2030267de86315dbc3c232cac8cc002aad1d9b82
--- /dev/null
+++ b/public_test_cases/p02432/input.0.txt
@@ -0,0 +1,12 @@
+11
+0 0 1
+0 0 2
+0 1 3
+1 0
+1 1
+1 2
+2 0
+2 1
+0 0 4
+1 0
+1 1
diff --git a/public_test_cases/p02432/input.1.txt b/public_test_cases/p02432/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2030267de86315dbc3c232cac8cc002aad1d9b82
--- /dev/null
+++ b/public_test_cases/p02432/input.1.txt
@@ -0,0 +1,12 @@
+11
+0 0 1
+0 0 2
+0 1 3
+1 0
+1 1
+1 2
+2 0
+2 1
+0 0 4
+1 0
+1 1
diff --git a/public_test_cases/p02432/output.0.txt b/public_test_cases/p02432/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b8862e4fdfa2c7f7dce20cc37f5438b9cb061bc
--- /dev/null
+++ b/public_test_cases/p02432/output.0.txt
@@ -0,0 +1,5 @@
+2
+1
+3
+4
+1
diff --git a/public_test_cases/p02432/output.1.txt b/public_test_cases/p02432/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b8862e4fdfa2c7f7dce20cc37f5438b9cb061bc
--- /dev/null
+++ b/public_test_cases/p02432/output.1.txt
@@ -0,0 +1,5 @@
+2
+1
+3
+4
+1
diff --git a/public_test_cases/p02433/input.0.txt b/public_test_cases/p02433/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e79894c422151a3c3afc0605bf2020eeb25affa7
--- /dev/null
+++ b/public_test_cases/p02433/input.0.txt
@@ -0,0 +1,6 @@
+5
+0 1
+0 2
+0 3
+1 1
+2
diff --git a/public_test_cases/p02433/input.1.txt b/public_test_cases/p02433/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e79894c422151a3c3afc0605bf2020eeb25affa7
--- /dev/null
+++ b/public_test_cases/p02433/input.1.txt
@@ -0,0 +1,6 @@
+5
+0 1
+0 2
+0 3
+1 1
+2
diff --git a/public_test_cases/p02433/output.0.txt b/public_test_cases/p02433/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p02433/output.0.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p02433/output.1.txt b/public_test_cases/p02433/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p02433/output.1.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p02434/input.0.txt b/public_test_cases/p02434/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02ef53ba62a1c3f4b003e158bf4ac7df8f8a0d87
--- /dev/null
+++ b/public_test_cases/p02434/input.0.txt
@@ -0,0 +1,14 @@
+3 13
+0 0 1
+0 0 2
+0 0 3
+0 1 -1
+0 2 4
+0 2 5
+1 0
+1 1
+1 2
+2 1
+1 0
+1 1
+1 2
diff --git a/public_test_cases/p02434/input.1.txt b/public_test_cases/p02434/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02ef53ba62a1c3f4b003e158bf4ac7df8f8a0d87
--- /dev/null
+++ b/public_test_cases/p02434/input.1.txt
@@ -0,0 +1,14 @@
+3 13
+0 0 1
+0 0 2
+0 0 3
+0 1 -1
+0 2 4
+0 2 5
+1 0
+1 1
+1 2
+2 1
+1 0
+1 1
+1 2
diff --git a/public_test_cases/p02434/output.0.txt b/public_test_cases/p02434/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae9e5a5adc980f217e80827c1e116e306811485e
--- /dev/null
+++ b/public_test_cases/p02434/output.0.txt
@@ -0,0 +1,6 @@
+1 2 3
+-1
+4 5
+1 2 3
+
+4 5
diff --git a/public_test_cases/p02434/output.1.txt b/public_test_cases/p02434/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae9e5a5adc980f217e80827c1e116e306811485e
--- /dev/null
+++ b/public_test_cases/p02434/output.1.txt
@@ -0,0 +1,6 @@
+1 2 3
+-1
+4 5
+1 2 3
+
+4 5
diff --git a/public_test_cases/p02435/input.0.txt b/public_test_cases/p02435/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddb74f29dc452049f61d8769f0af456aeef843e7
--- /dev/null
+++ b/public_test_cases/p02435/input.0.txt
@@ -0,0 +1,10 @@
+3 9
+0 0 1
+0 0 2
+0 0 3
+0 2 4
+0 2 5
+1 0
+1 2
+2 0
+1 0
diff --git a/public_test_cases/p02435/input.1.txt b/public_test_cases/p02435/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddb74f29dc452049f61d8769f0af456aeef843e7
--- /dev/null
+++ b/public_test_cases/p02435/input.1.txt
@@ -0,0 +1,10 @@
+3 9
+0 0 1
+0 0 2
+0 0 3
+0 2 4
+0 2 5
+1 0
+1 2
+2 0
+1 0
diff --git a/public_test_cases/p02435/output.0.txt b/public_test_cases/p02435/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8a484dff28cae0c34492cf680c19730201ec247
--- /dev/null
+++ b/public_test_cases/p02435/output.0.txt
@@ -0,0 +1,3 @@
+3
+5
+2
diff --git a/public_test_cases/p02435/output.1.txt b/public_test_cases/p02435/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8a484dff28cae0c34492cf680c19730201ec247
--- /dev/null
+++ b/public_test_cases/p02435/output.1.txt
@@ -0,0 +1,3 @@
+3
+5
+2
diff --git a/public_test_cases/p02436/input.0.txt b/public_test_cases/p02436/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddb74f29dc452049f61d8769f0af456aeef843e7
--- /dev/null
+++ b/public_test_cases/p02436/input.0.txt
@@ -0,0 +1,10 @@
+3 9
+0 0 1
+0 0 2
+0 0 3
+0 2 4
+0 2 5
+1 0
+1 2
+2 0
+1 0
diff --git a/public_test_cases/p02436/input.1.txt b/public_test_cases/p02436/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddb74f29dc452049f61d8769f0af456aeef843e7
--- /dev/null
+++ b/public_test_cases/p02436/input.1.txt
@@ -0,0 +1,10 @@
+3 9
+0 0 1
+0 0 2
+0 0 3
+0 2 4
+0 2 5
+1 0
+1 2
+2 0
+1 0
diff --git a/public_test_cases/p02436/output.0.txt b/public_test_cases/p02436/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6327ccae6ea416db6a05fa5bcd08aff5f90c5c79
--- /dev/null
+++ b/public_test_cases/p02436/output.0.txt
@@ -0,0 +1,3 @@
+1
+4
+2
diff --git a/public_test_cases/p02436/output.1.txt b/public_test_cases/p02436/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6327ccae6ea416db6a05fa5bcd08aff5f90c5c79
--- /dev/null
+++ b/public_test_cases/p02436/output.1.txt
@@ -0,0 +1,3 @@
+1
+4
+2
diff --git a/public_test_cases/p02437/input.0.txt b/public_test_cases/p02437/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b2e88114ae1fbe1bad175187834b2601b91da2f
--- /dev/null
+++ b/public_test_cases/p02437/input.0.txt
@@ -0,0 +1,11 @@
+2 10
+0 0 3
+0 0 9
+0 0 1
+1 0
+2 0
+1 0
+0 0 4
+1 0
+0 1 8
+1 1
diff --git a/public_test_cases/p02437/input.1.txt b/public_test_cases/p02437/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b2e88114ae1fbe1bad175187834b2601b91da2f
--- /dev/null
+++ b/public_test_cases/p02437/input.1.txt
@@ -0,0 +1,11 @@
+2 10
+0 0 3
+0 0 9
+0 0 1
+1 0
+2 0
+1 0
+0 0 4
+1 0
+0 1 8
+1 1
diff --git a/public_test_cases/p02437/output.0.txt b/public_test_cases/p02437/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7946ee421e195baa64c53aa72ffefa60ee5c3584
--- /dev/null
+++ b/public_test_cases/p02437/output.0.txt
@@ -0,0 +1,4 @@
+9
+3
+4
+8
diff --git a/public_test_cases/p02437/output.1.txt b/public_test_cases/p02437/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7946ee421e195baa64c53aa72ffefa60ee5c3584
--- /dev/null
+++ b/public_test_cases/p02437/output.1.txt
@@ -0,0 +1,4 @@
+9
+3
+4
+8
diff --git a/public_test_cases/p02438/input.0.txt b/public_test_cases/p02438/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f148f299aab1e4e890dca6a0aa7c83ae84ff2df6
--- /dev/null
+++ b/public_test_cases/p02438/input.0.txt
@@ -0,0 +1,11 @@
+3 10
+0 0 1
+0 0 2
+0 0 3
+0 1 4
+0 1 5
+2 1 0
+0 2 6
+1 0
+1 1
+1 2
diff --git a/public_test_cases/p02438/input.1.txt b/public_test_cases/p02438/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f148f299aab1e4e890dca6a0aa7c83ae84ff2df6
--- /dev/null
+++ b/public_test_cases/p02438/input.1.txt
@@ -0,0 +1,11 @@
+3 10
+0 0 1
+0 0 2
+0 0 3
+0 1 4
+0 1 5
+2 1 0
+0 2 6
+1 0
+1 1
+1 2
diff --git a/public_test_cases/p02438/output.0.txt b/public_test_cases/p02438/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3048c0112cc20e720bc0838071e25d171559cdd
--- /dev/null
+++ b/public_test_cases/p02438/output.0.txt
@@ -0,0 +1,3 @@
+1 2 3 4 5
+
+6
diff --git a/public_test_cases/p02438/output.1.txt b/public_test_cases/p02438/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3048c0112cc20e720bc0838071e25d171559cdd
--- /dev/null
+++ b/public_test_cases/p02438/output.1.txt
@@ -0,0 +1,3 @@
+1 2 3 4 5
+
+6
diff --git a/public_test_cases/p02439/input.0.txt b/public_test_cases/p02439/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5037240a7e32ce21261f3ce2cbbfdb6f3d59233c
--- /dev/null
+++ b/public_test_cases/p02439/input.0.txt
@@ -0,0 +1 @@
+4 5 3
diff --git a/public_test_cases/p02439/input.1.txt b/public_test_cases/p02439/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5037240a7e32ce21261f3ce2cbbfdb6f3d59233c
--- /dev/null
+++ b/public_test_cases/p02439/input.1.txt
@@ -0,0 +1 @@
+4 5 3
diff --git a/public_test_cases/p02439/output.0.txt b/public_test_cases/p02439/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p02439/output.0.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p02439/output.1.txt b/public_test_cases/p02439/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p02439/output.1.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p02440/input.0.txt b/public_test_cases/p02440/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a557b6fcf083f0fa93e2f4ac5eae63b8958bd46
--- /dev/null
+++ b/public_test_cases/p02440/input.0.txt
@@ -0,0 +1,6 @@
+7
+8 3 7 1 9 1 4
+3
+0 0 3
+0 1 5
+1 0 7
diff --git a/public_test_cases/p02440/input.1.txt b/public_test_cases/p02440/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a557b6fcf083f0fa93e2f4ac5eae63b8958bd46
--- /dev/null
+++ b/public_test_cases/p02440/input.1.txt
@@ -0,0 +1,6 @@
+7
+8 3 7 1 9 1 4
+3
+0 0 3
+0 1 5
+1 0 7
diff --git a/public_test_cases/p02440/output.0.txt b/public_test_cases/p02440/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c33bcedf89b1b86e3c330ba2f9fa0ea5be58995
--- /dev/null
+++ b/public_test_cases/p02440/output.0.txt
@@ -0,0 +1,3 @@
+3
+1
+9
diff --git a/public_test_cases/p02440/output.1.txt b/public_test_cases/p02440/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c33bcedf89b1b86e3c330ba2f9fa0ea5be58995
--- /dev/null
+++ b/public_test_cases/p02440/output.1.txt
@@ -0,0 +1,3 @@
+3
+1
+9
diff --git a/public_test_cases/p02441/input.0.txt b/public_test_cases/p02441/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a59ce4541bc6674a05fb042f3356c2d0edcc6d8
--- /dev/null
+++ b/public_test_cases/p02441/input.0.txt
@@ -0,0 +1,6 @@
+9
+1 4 1 4 2 1 3 5 6
+3
+0 9 1
+1 6 1
+3 7 5
diff --git a/public_test_cases/p02441/input.1.txt b/public_test_cases/p02441/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a59ce4541bc6674a05fb042f3356c2d0edcc6d8
--- /dev/null
+++ b/public_test_cases/p02441/input.1.txt
@@ -0,0 +1,6 @@
+9
+1 4 1 4 2 1 3 5 6
+3
+0 9 1
+1 6 1
+3 7 5
diff --git a/public_test_cases/p02441/output.0.txt b/public_test_cases/p02441/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd3f9dbe6b39e425b0a349c4e04369ad4f6593ad
--- /dev/null
+++ b/public_test_cases/p02441/output.0.txt
@@ -0,0 +1,3 @@
+3
+2
+0
diff --git a/public_test_cases/p02441/output.1.txt b/public_test_cases/p02441/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd3f9dbe6b39e425b0a349c4e04369ad4f6593ad
--- /dev/null
+++ b/public_test_cases/p02441/output.1.txt
@@ -0,0 +1,3 @@
+3
+2
+0
diff --git a/public_test_cases/p02442/input.0.txt b/public_test_cases/p02442/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ce814dec151a59be3f6eb0504f92f640fe4589d
--- /dev/null
+++ b/public_test_cases/p02442/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2 3
+2
+2 4
diff --git a/public_test_cases/p02442/input.1.txt b/public_test_cases/p02442/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b08ff86efc6b6d47178c343cbd87798baabe42e
--- /dev/null
+++ b/public_test_cases/p02442/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 1 2
+4
+1 1 2 2
diff --git a/public_test_cases/p02442/input.2.txt b/public_test_cases/p02442/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ce814dec151a59be3f6eb0504f92f640fe4589d
--- /dev/null
+++ b/public_test_cases/p02442/input.2.txt
@@ -0,0 +1,4 @@
+3
+1 2 3
+2
+2 4
diff --git a/public_test_cases/p02442/input.3.txt b/public_test_cases/p02442/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c46a441acf3c0553aab7a556f2d5b4b493cd1e5
--- /dev/null
+++ b/public_test_cases/p02442/input.3.txt
@@ -0,0 +1,4 @@
+4
+5 4 7 0
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02442/output.0.txt b/public_test_cases/p02442/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02442/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02442/output.1.txt b/public_test_cases/p02442/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02442/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02442/output.2.txt b/public_test_cases/p02442/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02442/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02442/output.3.txt b/public_test_cases/p02442/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02442/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02443/input.0.txt b/public_test_cases/p02443/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..103139c2b4becb9b19be6d9a313a35083a66bdbd
--- /dev/null
+++ b/public_test_cases/p02443/input.0.txt
@@ -0,0 +1,5 @@
+8
+1 2 3 4 5 6 7 8
+2
+1 6
+3 8
diff --git a/public_test_cases/p02443/input.1.txt b/public_test_cases/p02443/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..103139c2b4becb9b19be6d9a313a35083a66bdbd
--- /dev/null
+++ b/public_test_cases/p02443/input.1.txt
@@ -0,0 +1,5 @@
+8
+1 2 3 4 5 6 7 8
+2
+1 6
+3 8
diff --git a/public_test_cases/p02443/output.0.txt b/public_test_cases/p02443/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe503d4fc7fe0282ebe42facf00ddf25bff38de
--- /dev/null
+++ b/public_test_cases/p02443/output.0.txt
@@ -0,0 +1 @@
+1 6 5 8 7 2 3 4
diff --git a/public_test_cases/p02443/output.1.txt b/public_test_cases/p02443/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe503d4fc7fe0282ebe42facf00ddf25bff38de
--- /dev/null
+++ b/public_test_cases/p02443/output.1.txt
@@ -0,0 +1 @@
+1 6 5 8 7 2 3 4
diff --git a/public_test_cases/p02444/input.0.txt b/public_test_cases/p02444/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e30032fcfe0645e01c5d35dd85ff5f98a29ceb33
--- /dev/null
+++ b/public_test_cases/p02444/input.0.txt
@@ -0,0 +1,4 @@
+11
+1 2 3 4 5 6 7 8 9 10 11
+1
+2 6 9
diff --git a/public_test_cases/p02444/input.1.txt b/public_test_cases/p02444/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e30032fcfe0645e01c5d35dd85ff5f98a29ceb33
--- /dev/null
+++ b/public_test_cases/p02444/input.1.txt
@@ -0,0 +1,4 @@
+11
+1 2 3 4 5 6 7 8 9 10 11
+1
+2 6 9
diff --git a/public_test_cases/p02444/output.0.txt b/public_test_cases/p02444/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8e5269a2ef44a8c27c554c657bcbb5bf2852643
--- /dev/null
+++ b/public_test_cases/p02444/output.0.txt
@@ -0,0 +1 @@
+1 2 7 8 9 3 4 5 6 10 11
diff --git a/public_test_cases/p02444/output.1.txt b/public_test_cases/p02444/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8e5269a2ef44a8c27c554c657bcbb5bf2852643
--- /dev/null
+++ b/public_test_cases/p02444/output.1.txt
@@ -0,0 +1 @@
+1 2 7 8 9 3 4 5 6 10 11
diff --git a/public_test_cases/p02445/input.0.txt b/public_test_cases/p02445/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..efe0da53c9e90a018edfaa86cdb988cb00e2b4f9
--- /dev/null
+++ b/public_test_cases/p02445/input.0.txt
@@ -0,0 +1,4 @@
+11
+1 2 3 4 5 6 7 8 9 10 11
+1
+1 4 7
diff --git a/public_test_cases/p02445/input.1.txt b/public_test_cases/p02445/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..efe0da53c9e90a018edfaa86cdb988cb00e2b4f9
--- /dev/null
+++ b/public_test_cases/p02445/input.1.txt
@@ -0,0 +1,4 @@
+11
+1 2 3 4 5 6 7 8 9 10 11
+1
+1 4 7
diff --git a/public_test_cases/p02445/output.0.txt b/public_test_cases/p02445/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab789464e1f732b5d90cddac58349631540901ea
--- /dev/null
+++ b/public_test_cases/p02445/output.0.txt
@@ -0,0 +1 @@
+1 8 9 10 5 6 7 2 3 4 11
diff --git a/public_test_cases/p02445/output.1.txt b/public_test_cases/p02445/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab789464e1f732b5d90cddac58349631540901ea
--- /dev/null
+++ b/public_test_cases/p02445/output.1.txt
@@ -0,0 +1 @@
+1 8 9 10 5 6 7 2 3 4 11
diff --git a/public_test_cases/p02446/input.0.txt b/public_test_cases/p02446/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e568ef14b5f0d9f411328d886e3c9e69c336cb6e
--- /dev/null
+++ b/public_test_cases/p02446/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 2 2 4
diff --git a/public_test_cases/p02446/input.1.txt b/public_test_cases/p02446/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e568ef14b5f0d9f411328d886e3c9e69c336cb6e
--- /dev/null
+++ b/public_test_cases/p02446/input.1.txt
@@ -0,0 +1,2 @@
+4
+1 2 2 4
diff --git a/public_test_cases/p02446/output.0.txt b/public_test_cases/p02446/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b068020d532dbaa5155f4958e1aa943bacc822d
--- /dev/null
+++ b/public_test_cases/p02446/output.0.txt
@@ -0,0 +1 @@
+1 2 4
diff --git a/public_test_cases/p02446/output.1.txt b/public_test_cases/p02446/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b068020d532dbaa5155f4958e1aa943bacc822d
--- /dev/null
+++ b/public_test_cases/p02446/output.1.txt
@@ -0,0 +1 @@
+1 2 4
diff --git a/public_test_cases/p02447/input.0.txt b/public_test_cases/p02447/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d704ef2adfff8e2519240a8a483bbf1a86b157ec
--- /dev/null
+++ b/public_test_cases/p02447/input.0.txt
@@ -0,0 +1,6 @@
+5
+4 7
+5 5
+2 3
+6 8
+2 1
diff --git a/public_test_cases/p02447/input.1.txt b/public_test_cases/p02447/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d704ef2adfff8e2519240a8a483bbf1a86b157ec
--- /dev/null
+++ b/public_test_cases/p02447/input.1.txt
@@ -0,0 +1,6 @@
+5
+4 7
+5 5
+2 3
+6 8
+2 1
diff --git a/public_test_cases/p02447/output.0.txt b/public_test_cases/p02447/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83a086b84108e5505c60424f59dbed4958bdd31b
--- /dev/null
+++ b/public_test_cases/p02447/output.0.txt
@@ -0,0 +1,5 @@
+2 1
+2 3
+4 7
+5 5
+6 8
diff --git a/public_test_cases/p02447/output.1.txt b/public_test_cases/p02447/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83a086b84108e5505c60424f59dbed4958bdd31b
--- /dev/null
+++ b/public_test_cases/p02447/output.1.txt
@@ -0,0 +1,5 @@
+2 1
+2 3
+4 7
+5 5
+6 8
diff --git a/public_test_cases/p02448/input.0.txt b/public_test_cases/p02448/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27244abcda9995ef8cd809094cf9f870e96438f2
--- /dev/null
+++ b/public_test_cases/p02448/input.0.txt
@@ -0,0 +1,6 @@
+5
+105 24 C 1500000000000 white
+100 23 C 1500000000000 blue
+105 23 A 1480000000000 pink
+110 25 B 1500000000000 black
+110 20 A 1300000000000 gree
diff --git a/public_test_cases/p02448/input.1.txt b/public_test_cases/p02448/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27244abcda9995ef8cd809094cf9f870e96438f2
--- /dev/null
+++ b/public_test_cases/p02448/input.1.txt
@@ -0,0 +1,6 @@
+5
+105 24 C 1500000000000 white
+100 23 C 1500000000000 blue
+105 23 A 1480000000000 pink
+110 25 B 1500000000000 black
+110 20 A 1300000000000 gree
diff --git a/public_test_cases/p02448/output.0.txt b/public_test_cases/p02448/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1afb0b3a09462c8dbf9c827be8dae7bb65e65adb
--- /dev/null
+++ b/public_test_cases/p02448/output.0.txt
@@ -0,0 +1,5 @@
+100 23 C 1500000000000 blue
+105 23 A 1480000000000 pink
+105 24 C 1500000000000 white
+110 20 A 1300000000000 gree
+110 25 B 1500000000000 black
diff --git a/public_test_cases/p02448/output.1.txt b/public_test_cases/p02448/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1afb0b3a09462c8dbf9c827be8dae7bb65e65adb
--- /dev/null
+++ b/public_test_cases/p02448/output.1.txt
@@ -0,0 +1,5 @@
+100 23 C 1500000000000 blue
+105 23 A 1480000000000 pink
+105 24 C 1500000000000 white
+110 20 A 1300000000000 gree
+110 25 B 1500000000000 black
diff --git a/public_test_cases/p02449/input.0.txt b/public_test_cases/p02449/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0be9b31f60716a41721b53522fbabb7dd714eee7
--- /dev/null
+++ b/public_test_cases/p02449/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 1 3
diff --git a/public_test_cases/p02449/input.1.txt b/public_test_cases/p02449/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5898906cc695e2f596c5a2686fef39f0284514c0
--- /dev/null
+++ b/public_test_cases/p02449/input.1.txt
@@ -0,0 +1,2 @@
+3
+3 2 1
diff --git a/public_test_cases/p02449/input.2.txt b/public_test_cases/p02449/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0be9b31f60716a41721b53522fbabb7dd714eee7
--- /dev/null
+++ b/public_test_cases/p02449/input.2.txt
@@ -0,0 +1,2 @@
+3
+2 1 3
diff --git a/public_test_cases/p02449/output.0.txt b/public_test_cases/p02449/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c6462b6aedd4114e2be74ea88150c080edfb4fe
--- /dev/null
+++ b/public_test_cases/p02449/output.0.txt
@@ -0,0 +1,3 @@
+1 3 2
+2 1 3
+2 3 1
diff --git a/public_test_cases/p02449/output.1.txt b/public_test_cases/p02449/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03bcc7e37e2ea0193539198a1a5bb95e530b27c0
--- /dev/null
+++ b/public_test_cases/p02449/output.1.txt
@@ -0,0 +1,2 @@
+3 1 2
+3 2 1
diff --git a/public_test_cases/p02449/output.2.txt b/public_test_cases/p02449/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c6462b6aedd4114e2be74ea88150c080edfb4fe
--- /dev/null
+++ b/public_test_cases/p02449/output.2.txt
@@ -0,0 +1,3 @@
+1 3 2
+2 1 3
+2 3 1
diff --git a/public_test_cases/p02450/input.0.txt b/public_test_cases/p02450/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02450/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02450/input.1.txt b/public_test_cases/p02450/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02450/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02450/input.2.txt b/public_test_cases/p02450/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02450/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02450/output.0.txt b/public_test_cases/p02450/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d9f00ddb91dbfc5fdc768932af0c73af361fb85
--- /dev/null
+++ b/public_test_cases/p02450/output.0.txt
@@ -0,0 +1,2 @@
+1 2
+2 1
diff --git a/public_test_cases/p02450/output.1.txt b/public_test_cases/p02450/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00495edf01a9bac3ec99beb8d69df1fcdd28bb8a
--- /dev/null
+++ b/public_test_cases/p02450/output.1.txt
@@ -0,0 +1,6 @@
+1 2 3
+1 3 2
+2 1 3
+2 3 1
+3 1 2
+3 2 1
diff --git a/public_test_cases/p02450/output.2.txt b/public_test_cases/p02450/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d9f00ddb91dbfc5fdc768932af0c73af361fb85
--- /dev/null
+++ b/public_test_cases/p02450/output.2.txt
@@ -0,0 +1,2 @@
+1 2
+2 1
diff --git a/public_test_cases/p02451/input.0.txt b/public_test_cases/p02451/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00072c92633fb1a671d76408f52e6586153e3924
--- /dev/null
+++ b/public_test_cases/p02451/input.0.txt
@@ -0,0 +1,6 @@
+4
+1 2 2 4
+3
+2
+3
+5
diff --git a/public_test_cases/p02451/input.1.txt b/public_test_cases/p02451/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00072c92633fb1a671d76408f52e6586153e3924
--- /dev/null
+++ b/public_test_cases/p02451/input.1.txt
@@ -0,0 +1,6 @@
+4
+1 2 2 4
+3
+2
+3
+5
diff --git a/public_test_cases/p02451/output.0.txt b/public_test_cases/p02451/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e22493782f088a61eee427426ee46732c94f5238
--- /dev/null
+++ b/public_test_cases/p02451/output.0.txt
@@ -0,0 +1,3 @@
+1
+0
+0
diff --git a/public_test_cases/p02451/output.1.txt b/public_test_cases/p02451/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e22493782f088a61eee427426ee46732c94f5238
--- /dev/null
+++ b/public_test_cases/p02451/output.1.txt
@@ -0,0 +1,3 @@
+1
+0
+0
diff --git a/public_test_cases/p02452/input.0.txt b/public_test_cases/p02452/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee7c78395ecd2689cad6e22228a8b791b5e39cda
--- /dev/null
+++ b/public_test_cases/p02452/input.0.txt
@@ -0,0 +1,4 @@
+4
+1 2 3 4
+2
+2 4
diff --git a/public_test_cases/p02452/input.1.txt b/public_test_cases/p02452/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee7c78395ecd2689cad6e22228a8b791b5e39cda
--- /dev/null
+++ b/public_test_cases/p02452/input.1.txt
@@ -0,0 +1,4 @@
+4
+1 2 3 4
+2
+2 4
diff --git a/public_test_cases/p02452/input.2.txt b/public_test_cases/p02452/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..089d583b38c910c5efd5d9f39db71e5a6c9a47bf
--- /dev/null
+++ b/public_test_cases/p02452/input.2.txt
@@ -0,0 +1,4 @@
+4
+1 2 3 4
+3
+1 2 5
diff --git a/public_test_cases/p02452/output.0.txt b/public_test_cases/p02452/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02452/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02452/output.1.txt b/public_test_cases/p02452/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02452/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02452/output.2.txt b/public_test_cases/p02452/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02452/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02453/input.0.txt b/public_test_cases/p02453/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00072c92633fb1a671d76408f52e6586153e3924
--- /dev/null
+++ b/public_test_cases/p02453/input.0.txt
@@ -0,0 +1,6 @@
+4
+1 2 2 4
+3
+2
+3
+5
diff --git a/public_test_cases/p02453/input.1.txt b/public_test_cases/p02453/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00072c92633fb1a671d76408f52e6586153e3924
--- /dev/null
+++ b/public_test_cases/p02453/input.1.txt
@@ -0,0 +1,6 @@
+4
+1 2 2 4
+3
+2
+3
+5
diff --git a/public_test_cases/p02453/output.0.txt b/public_test_cases/p02453/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9364ec4f3096241617749a28040e17145fa03f32
--- /dev/null
+++ b/public_test_cases/p02453/output.0.txt
@@ -0,0 +1,3 @@
+1
+3
+4
diff --git a/public_test_cases/p02453/output.1.txt b/public_test_cases/p02453/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9364ec4f3096241617749a28040e17145fa03f32
--- /dev/null
+++ b/public_test_cases/p02453/output.1.txt
@@ -0,0 +1,3 @@
+1
+3
+4
diff --git a/public_test_cases/p02454/input.0.txt b/public_test_cases/p02454/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00072c92633fb1a671d76408f52e6586153e3924
--- /dev/null
+++ b/public_test_cases/p02454/input.0.txt
@@ -0,0 +1,6 @@
+4
+1 2 2 4
+3
+2
+3
+5
diff --git a/public_test_cases/p02454/output.0.txt b/public_test_cases/p02454/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..060785e2c3dd2fe6a40efc2183304302584645e9
--- /dev/null
+++ b/public_test_cases/p02454/output.0.txt
@@ -0,0 +1,3 @@
+1 3
+3 3
+4 4
diff --git a/public_test_cases/p02455/input.0.txt b/public_test_cases/p02455/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa2a0d1d56867fbe58117d7cd7f6bf5aa5615f5e
--- /dev/null
+++ b/public_test_cases/p02455/input.0.txt
@@ -0,0 +1,8 @@
+7
+0 1
+0 2
+0 3
+0 2
+0 4
+1 3
+1 10
diff --git a/public_test_cases/p02455/input.1.txt b/public_test_cases/p02455/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa2a0d1d56867fbe58117d7cd7f6bf5aa5615f5e
--- /dev/null
+++ b/public_test_cases/p02455/input.1.txt
@@ -0,0 +1,8 @@
+7
+0 1
+0 2
+0 3
+0 2
+0 4
+1 3
+1 10
diff --git a/public_test_cases/p02455/output.0.txt b/public_test_cases/p02455/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef271b706b841f4fa07a58000a52b2099df53597
--- /dev/null
+++ b/public_test_cases/p02455/output.0.txt
@@ -0,0 +1,7 @@
+1
+2
+3
+3
+4
+1
+0
diff --git a/public_test_cases/p02455/output.1.txt b/public_test_cases/p02455/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef271b706b841f4fa07a58000a52b2099df53597
--- /dev/null
+++ b/public_test_cases/p02455/output.1.txt
@@ -0,0 +1,7 @@
+1
+2
+3
+3
+4
+1
+0
diff --git a/public_test_cases/p02456/input.0.txt b/public_test_cases/p02456/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..195aa8b60ad64f55dcbd11509aba8ac066a6c3bc
--- /dev/null
+++ b/public_test_cases/p02456/input.0.txt
@@ -0,0 +1,9 @@
+8
+0 1
+0 2
+0 3
+2 2
+1 1
+1 2
+1 3
+0 2
diff --git a/public_test_cases/p02456/input.1.txt b/public_test_cases/p02456/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..195aa8b60ad64f55dcbd11509aba8ac066a6c3bc
--- /dev/null
+++ b/public_test_cases/p02456/input.1.txt
@@ -0,0 +1,9 @@
+8
+0 1
+0 2
+0 3
+2 2
+1 1
+1 2
+1 3
+0 2
diff --git a/public_test_cases/p02456/output.0.txt b/public_test_cases/p02456/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91f562c3956f759ab67249e3fbda80fd6d1d20db
--- /dev/null
+++ b/public_test_cases/p02456/output.0.txt
@@ -0,0 +1,7 @@
+1
+2
+3
+1
+0
+1
+3
diff --git a/public_test_cases/p02456/output.1.txt b/public_test_cases/p02456/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91f562c3956f759ab67249e3fbda80fd6d1d20db
--- /dev/null
+++ b/public_test_cases/p02456/output.1.txt
@@ -0,0 +1,7 @@
+1
+2
+3
+1
+0
+1
+3
diff --git a/public_test_cases/p02457/input.0.txt b/public_test_cases/p02457/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd38a4384fd162b3034c0e55bc0d95beeb259db0
--- /dev/null
+++ b/public_test_cases/p02457/input.0.txt
@@ -0,0 +1,10 @@
+9
+0 1
+0 2
+0 3
+2 2
+1 1
+1 2
+1 3
+0 4
+3 2 4
diff --git a/public_test_cases/p02457/input.1.txt b/public_test_cases/p02457/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd38a4384fd162b3034c0e55bc0d95beeb259db0
--- /dev/null
+++ b/public_test_cases/p02457/input.1.txt
@@ -0,0 +1,10 @@
+9
+0 1
+0 2
+0 3
+2 2
+1 1
+1 2
+1 3
+0 4
+3 2 4
diff --git a/public_test_cases/p02457/output.0.txt b/public_test_cases/p02457/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5042156beb6dc41b5a3433181a759f4b81e0718c
--- /dev/null
+++ b/public_test_cases/p02457/output.0.txt
@@ -0,0 +1,9 @@
+1
+2
+3
+1
+0
+1
+3
+3
+4
diff --git a/public_test_cases/p02457/output.1.txt b/public_test_cases/p02457/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5042156beb6dc41b5a3433181a759f4b81e0718c
--- /dev/null
+++ b/public_test_cases/p02457/output.1.txt
@@ -0,0 +1,9 @@
+1
+2
+3
+1
+0
+1
+3
+3
+4
diff --git a/public_test_cases/p02458/input.0.txt b/public_test_cases/p02458/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04ef2c247f3122a440710b7022e7a4eec39a892e
--- /dev/null
+++ b/public_test_cases/p02458/input.0.txt
@@ -0,0 +1,11 @@
+10
+0 1
+0 1
+0 2
+0 3
+2 2
+1 1
+1 2
+1 3
+0 4
+3 1 4
diff --git a/public_test_cases/p02458/input.1.txt b/public_test_cases/p02458/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04ef2c247f3122a440710b7022e7a4eec39a892e
--- /dev/null
+++ b/public_test_cases/p02458/input.1.txt
@@ -0,0 +1,11 @@
+10
+0 1
+0 1
+0 2
+0 3
+2 2
+1 1
+1 2
+1 3
+0 4
+3 1 4
diff --git a/public_test_cases/p02458/output.0.txt b/public_test_cases/p02458/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75d2be8b3280ed0d740a0382da3a3d90c89f0e5f
--- /dev/null
+++ b/public_test_cases/p02458/output.0.txt
@@ -0,0 +1,12 @@
+1
+2
+3
+4
+2
+0
+1
+4
+1
+1
+3
+4
diff --git a/public_test_cases/p02458/output.1.txt b/public_test_cases/p02458/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75d2be8b3280ed0d740a0382da3a3d90c89f0e5f
--- /dev/null
+++ b/public_test_cases/p02458/output.1.txt
@@ -0,0 +1,12 @@
+1
+2
+3
+4
+2
+0
+1
+4
+1
+1
+3
+4
diff --git a/public_test_cases/p02459/input.0.txt b/public_test_cases/p02459/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51668d21c17d41c2bc4751ed8b0909a32b6f1b4e
--- /dev/null
+++ b/public_test_cases/p02459/input.0.txt
@@ -0,0 +1,8 @@
+7
+0 blue 4
+0 red 1
+0 white 5
+1 red
+1 blue
+0 black 8
+1 black
diff --git a/public_test_cases/p02459/input.1.txt b/public_test_cases/p02459/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51668d21c17d41c2bc4751ed8b0909a32b6f1b4e
--- /dev/null
+++ b/public_test_cases/p02459/input.1.txt
@@ -0,0 +1,8 @@
+7
+0 blue 4
+0 red 1
+0 white 5
+1 red
+1 blue
+0 black 8
+1 black
diff --git a/public_test_cases/p02459/output.0.txt b/public_test_cases/p02459/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7329e00f56d1467133012a2edce5be85a9186f9d
--- /dev/null
+++ b/public_test_cases/p02459/output.0.txt
@@ -0,0 +1,3 @@
+1
+4
+8
diff --git a/public_test_cases/p02459/output.1.txt b/public_test_cases/p02459/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7329e00f56d1467133012a2edce5be85a9186f9d
--- /dev/null
+++ b/public_test_cases/p02459/output.1.txt
@@ -0,0 +1,3 @@
+1
+4
+8
diff --git a/public_test_cases/p02460/input.0.txt b/public_test_cases/p02460/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61882099376b557381600619586ded46f50da7bd
--- /dev/null
+++ b/public_test_cases/p02460/input.0.txt
@@ -0,0 +1,9 @@
+8
+0 blue 4
+0 red 1
+0 white 5
+1 red
+1 blue
+2 red
+1 black
+1 red
diff --git a/public_test_cases/p02460/input.1.txt b/public_test_cases/p02460/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61882099376b557381600619586ded46f50da7bd
--- /dev/null
+++ b/public_test_cases/p02460/input.1.txt
@@ -0,0 +1,9 @@
+8
+0 blue 4
+0 red 1
+0 white 5
+1 red
+1 blue
+2 red
+1 black
+1 red
diff --git a/public_test_cases/p02460/output.0.txt b/public_test_cases/p02460/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e14030f6fabdf382ef47771a51ed220102898be
--- /dev/null
+++ b/public_test_cases/p02460/output.0.txt
@@ -0,0 +1,4 @@
+1
+4
+0
+0
diff --git a/public_test_cases/p02460/output.1.txt b/public_test_cases/p02460/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e14030f6fabdf382ef47771a51ed220102898be
--- /dev/null
+++ b/public_test_cases/p02460/output.1.txt
@@ -0,0 +1,4 @@
+1
+4
+0
+0
diff --git a/public_test_cases/p02461/input.0.txt b/public_test_cases/p02461/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d617ca0fa3276462941285f65120ab608a261d9f
--- /dev/null
+++ b/public_test_cases/p02461/input.0.txt
@@ -0,0 +1,10 @@
+9
+0 blue 4
+0 red 1
+0 white 5
+1 red
+1 blue
+2 red
+1 black
+1 red
+3 w z
diff --git a/public_test_cases/p02461/input.1.txt b/public_test_cases/p02461/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d617ca0fa3276462941285f65120ab608a261d9f
--- /dev/null
+++ b/public_test_cases/p02461/input.1.txt
@@ -0,0 +1,10 @@
+9
+0 blue 4
+0 red 1
+0 white 5
+1 red
+1 blue
+2 red
+1 black
+1 red
+3 w z
diff --git a/public_test_cases/p02461/output.0.txt b/public_test_cases/p02461/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e009fd815f635eeea16c0d4010029ffdbd211ec
--- /dev/null
+++ b/public_test_cases/p02461/output.0.txt
@@ -0,0 +1,5 @@
+1
+4
+0
+0
+white 5
diff --git a/public_test_cases/p02461/output.1.txt b/public_test_cases/p02461/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e009fd815f635eeea16c0d4010029ffdbd211ec
--- /dev/null
+++ b/public_test_cases/p02461/output.1.txt
@@ -0,0 +1,5 @@
+1
+4
+0
+0
+white 5
diff --git a/public_test_cases/p02462/input.0.txt b/public_test_cases/p02462/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7a5a40469509d31485862351d866569f0ce6e03
--- /dev/null
+++ b/public_test_cases/p02462/input.0.txt
@@ -0,0 +1,11 @@
+10
+0 blue 6
+0 red 1
+0 blue 4
+0 white 5
+1 red
+1 blue
+2 red
+1 black
+1 red
+3 w z
diff --git a/public_test_cases/p02462/input.1.txt b/public_test_cases/p02462/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7a5a40469509d31485862351d866569f0ce6e03
--- /dev/null
+++ b/public_test_cases/p02462/input.1.txt
@@ -0,0 +1,11 @@
+10
+0 blue 6
+0 red 1
+0 blue 4
+0 white 5
+1 red
+1 blue
+2 red
+1 black
+1 red
+3 w z
diff --git a/public_test_cases/p02462/output.0.txt b/public_test_cases/p02462/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb95edbff89ad8358301c1f4d6e840361e28ea0a
--- /dev/null
+++ b/public_test_cases/p02462/output.0.txt
@@ -0,0 +1,4 @@
+1
+6
+4
+white 5
diff --git a/public_test_cases/p02462/output.1.txt b/public_test_cases/p02462/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb95edbff89ad8358301c1f4d6e840361e28ea0a
--- /dev/null
+++ b/public_test_cases/p02462/output.1.txt
@@ -0,0 +1,4 @@
+1
+6
+4
+white 5
diff --git a/public_test_cases/p02463/input.0.txt b/public_test_cases/p02463/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a6dff977996444563a993a30c481681994c4ae7
--- /dev/null
+++ b/public_test_cases/p02463/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 5 8
+2
+5 9
diff --git a/public_test_cases/p02463/input.1.txt b/public_test_cases/p02463/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a6dff977996444563a993a30c481681994c4ae7
--- /dev/null
+++ b/public_test_cases/p02463/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 5 8
+2
+5 9
diff --git a/public_test_cases/p02463/output.0.txt b/public_test_cases/p02463/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..589cf1393bda1fcc45e2183caabd5b3e75b869d9
--- /dev/null
+++ b/public_test_cases/p02463/output.0.txt
@@ -0,0 +1,4 @@
+1
+5
+8
+9
diff --git a/public_test_cases/p02463/output.1.txt b/public_test_cases/p02463/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..589cf1393bda1fcc45e2183caabd5b3e75b869d9
--- /dev/null
+++ b/public_test_cases/p02463/output.1.txt
@@ -0,0 +1,4 @@
+1
+5
+8
+9
diff --git a/public_test_cases/p02464/input.0.txt b/public_test_cases/p02464/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2f46d7dd14a847302a123b242661085fadd7455
--- /dev/null
+++ b/public_test_cases/p02464/input.0.txt
@@ -0,0 +1,4 @@
+4
+1 2 5 8
+5
+2 3 5 9 11
diff --git a/public_test_cases/p02464/input.1.txt b/public_test_cases/p02464/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2f46d7dd14a847302a123b242661085fadd7455
--- /dev/null
+++ b/public_test_cases/p02464/input.1.txt
@@ -0,0 +1,4 @@
+4
+1 2 5 8
+5
+2 3 5 9 11
diff --git a/public_test_cases/p02464/output.0.txt b/public_test_cases/p02464/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49ae94bb33c86281c34caecdc96fc1cbb8336fe6
--- /dev/null
+++ b/public_test_cases/p02464/output.0.txt
@@ -0,0 +1,2 @@
+2
+5
diff --git a/public_test_cases/p02464/output.1.txt b/public_test_cases/p02464/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49ae94bb33c86281c34caecdc96fc1cbb8336fe6
--- /dev/null
+++ b/public_test_cases/p02464/output.1.txt
@@ -0,0 +1,2 @@
+2
+5
diff --git a/public_test_cases/p02465/input.0.txt b/public_test_cases/p02465/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1354b529588bd2b7ee4bbf1d34fecb9aee3eef1
--- /dev/null
+++ b/public_test_cases/p02465/input.0.txt
@@ -0,0 +1,4 @@
+5
+1 2 3 5 8
+2
+2 5
diff --git a/public_test_cases/p02465/input.1.txt b/public_test_cases/p02465/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1354b529588bd2b7ee4bbf1d34fecb9aee3eef1
--- /dev/null
+++ b/public_test_cases/p02465/input.1.txt
@@ -0,0 +1,4 @@
+5
+1 2 3 5 8
+2
+2 5
diff --git a/public_test_cases/p02465/output.0.txt b/public_test_cases/p02465/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d0c016c00625ce5df85e7dba0d23122a2826163
--- /dev/null
+++ b/public_test_cases/p02465/output.0.txt
@@ -0,0 +1,3 @@
+1
+3
+8
diff --git a/public_test_cases/p02465/output.1.txt b/public_test_cases/p02465/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d0c016c00625ce5df85e7dba0d23122a2826163
--- /dev/null
+++ b/public_test_cases/p02465/output.1.txt
@@ -0,0 +1,3 @@
+1
+3
+8
diff --git a/public_test_cases/p02466/input.0.txt b/public_test_cases/p02466/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23446a5f02d5d2d43e6e7741b3b1793381863376
--- /dev/null
+++ b/public_test_cases/p02466/input.0.txt
@@ -0,0 +1,4 @@
+7
+1 2 3 4 5 6 7
+4
+2 4 6 8
diff --git a/public_test_cases/p02466/input.1.txt b/public_test_cases/p02466/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23446a5f02d5d2d43e6e7741b3b1793381863376
--- /dev/null
+++ b/public_test_cases/p02466/input.1.txt
@@ -0,0 +1,4 @@
+7
+1 2 3 4 5 6 7
+4
+2 4 6 8
diff --git a/public_test_cases/p02466/output.0.txt b/public_test_cases/p02466/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6cf4116dc3cb323632207fc3e5f091d2a53e646
--- /dev/null
+++ b/public_test_cases/p02466/output.0.txt
@@ -0,0 +1,5 @@
+1
+3
+5
+7
+8
diff --git a/public_test_cases/p02466/output.1.txt b/public_test_cases/p02466/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6cf4116dc3cb323632207fc3e5f091d2a53e646
--- /dev/null
+++ b/public_test_cases/p02466/output.1.txt
@@ -0,0 +1,5 @@
+1
+3
+5
+7
+8
diff --git a/public_test_cases/p02467/input.0.txt b/public_test_cases/p02467/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02467/input.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02467/input.1.txt b/public_test_cases/p02467/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02467/input.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02467/input.2.txt b/public_test_cases/p02467/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a3e7b0422507efb9694c02c3266b4220b3c37ff
--- /dev/null
+++ b/public_test_cases/p02467/input.2.txt
@@ -0,0 +1 @@
+126
diff --git a/public_test_cases/p02467/output.0.txt b/public_test_cases/p02467/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02bb268fd9e74b891cedd9615bac2ebd6ab9d5e5
--- /dev/null
+++ b/public_test_cases/p02467/output.0.txt
@@ -0,0 +1 @@
+12: 2 2 3
diff --git a/public_test_cases/p02467/output.1.txt b/public_test_cases/p02467/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02bb268fd9e74b891cedd9615bac2ebd6ab9d5e5
--- /dev/null
+++ b/public_test_cases/p02467/output.1.txt
@@ -0,0 +1 @@
+12: 2 2 3
diff --git a/public_test_cases/p02467/output.2.txt b/public_test_cases/p02467/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..554fa905e1a0a2c52f4f922a7875e94a43a02de5
--- /dev/null
+++ b/public_test_cases/p02467/output.2.txt
@@ -0,0 +1 @@
+126: 2 3 3 7
diff --git a/public_test_cases/p02468/input.0.txt b/public_test_cases/p02468/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02468/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02468/input.1.txt b/public_test_cases/p02468/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02468/input.1.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02468/input.2.txt b/public_test_cases/p02468/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02468/input.2.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02468/output.0.txt b/public_test_cases/p02468/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02468/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02468/output.1.txt b/public_test_cases/p02468/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02468/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02468/output.2.txt b/public_test_cases/p02468/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0801866ceec8d5e849405827fb7662c6ec405123
--- /dev/null
+++ b/public_test_cases/p02468/output.2.txt
@@ -0,0 +1 @@
+390625
diff --git a/public_test_cases/p02469/input.0.txt b/public_test_cases/p02469/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07a82d02f93d87ba5fc789af1ef2812c15472de6
--- /dev/null
+++ b/public_test_cases/p02469/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 4 6
diff --git a/public_test_cases/p02469/input.1.txt b/public_test_cases/p02469/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ceea5c44b1c42c39160f515f8d879033b43ed628
--- /dev/null
+++ b/public_test_cases/p02469/input.1.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 5
diff --git a/public_test_cases/p02469/input.2.txt b/public_test_cases/p02469/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07a82d02f93d87ba5fc789af1ef2812c15472de6
--- /dev/null
+++ b/public_test_cases/p02469/input.2.txt
@@ -0,0 +1,2 @@
+3
+3 4 6
diff --git a/public_test_cases/p02469/output.0.txt b/public_test_cases/p02469/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02469/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02469/output.1.txt b/public_test_cases/p02469/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p02469/output.1.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p02469/output.2.txt b/public_test_cases/p02469/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02469/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02470/input.0.txt b/public_test_cases/p02470/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02470/input.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02470/input.1.txt b/public_test_cases/p02470/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..749fce669df1b51cae4a71dc130b2a14807829f0
--- /dev/null
+++ b/public_test_cases/p02470/input.1.txt
@@ -0,0 +1 @@
+1000000
diff --git a/public_test_cases/p02470/input.2.txt b/public_test_cases/p02470/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02470/input.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02470/output.0.txt b/public_test_cases/p02470/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02470/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02470/output.1.txt b/public_test_cases/p02470/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..004d15285e7271daae908ab07bd461bf160399e3
--- /dev/null
+++ b/public_test_cases/p02470/output.1.txt
@@ -0,0 +1 @@
+400000
diff --git a/public_test_cases/p02470/output.2.txt b/public_test_cases/p02470/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02470/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02471/input.0.txt b/public_test_cases/p02471/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e18a59c6f617145ff60c20773faa83e86c12ffe
--- /dev/null
+++ b/public_test_cases/p02471/input.0.txt
@@ -0,0 +1 @@
+4 12
diff --git a/public_test_cases/p02471/input.1.txt b/public_test_cases/p02471/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2dc2f56a9bc897dbf64266196e6173cc2a98edf
--- /dev/null
+++ b/public_test_cases/p02471/input.1.txt
@@ -0,0 +1 @@
+3 8
diff --git a/public_test_cases/p02471/input.2.txt b/public_test_cases/p02471/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e18a59c6f617145ff60c20773faa83e86c12ffe
--- /dev/null
+++ b/public_test_cases/p02471/input.2.txt
@@ -0,0 +1 @@
+4 12
diff --git a/public_test_cases/p02471/output.0.txt b/public_test_cases/p02471/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80c0cc79aabb27a7894c5795860fa87c6473f004
--- /dev/null
+++ b/public_test_cases/p02471/output.0.txt
@@ -0,0 +1 @@
+1 0
diff --git a/public_test_cases/p02471/output.1.txt b/public_test_cases/p02471/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..786d61b8a9512231d67746a19a63f880f88d39ea
--- /dev/null
+++ b/public_test_cases/p02471/output.1.txt
@@ -0,0 +1 @@
+3 -1
diff --git a/public_test_cases/p02471/output.2.txt b/public_test_cases/p02471/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80c0cc79aabb27a7894c5795860fa87c6473f004
--- /dev/null
+++ b/public_test_cases/p02471/output.2.txt
@@ -0,0 +1 @@
+1 0
diff --git a/public_test_cases/p02472/input.0.txt b/public_test_cases/p02472/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02472/input.0.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02472/input.1.txt b/public_test_cases/p02472/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02472/input.1.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02472/output.0.txt b/public_test_cases/p02472/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02472/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02472/output.1.txt b/public_test_cases/p02472/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02472/output.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02473/input.0.txt b/public_test_cases/p02473/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02473/input.0.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02473/input.1.txt b/public_test_cases/p02473/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02473/input.1.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02473/output.0.txt b/public_test_cases/p02473/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a83d1d524c8bb033d6d2bc907474dbebd8b57b72
--- /dev/null
+++ b/public_test_cases/p02473/output.0.txt
@@ -0,0 +1 @@
+-3
diff --git a/public_test_cases/p02473/output.1.txt b/public_test_cases/p02473/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a83d1d524c8bb033d6d2bc907474dbebd8b57b72
--- /dev/null
+++ b/public_test_cases/p02473/output.1.txt
@@ -0,0 +1 @@
+-3
diff --git a/public_test_cases/p02474/input.0.txt b/public_test_cases/p02474/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02474/input.0.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02474/input.1.txt b/public_test_cases/p02474/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02474/input.1.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02474/output.0.txt b/public_test_cases/p02474/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p02474/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p02474/output.1.txt b/public_test_cases/p02474/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p02474/output.1.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p02475/input.0.txt b/public_test_cases/p02475/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02475/input.0.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02475/input.1.txt b/public_test_cases/p02475/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02475/input.1.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02475/output.0.txt b/public_test_cases/p02475/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02475/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02475/output.1.txt b/public_test_cases/p02475/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02475/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02476/input.0.txt b/public_test_cases/p02476/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02476/input.0.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02476/input.1.txt b/public_test_cases/p02476/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02476/input.1.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02476/output.0.txt b/public_test_cases/p02476/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02476/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02476/output.1.txt b/public_test_cases/p02476/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02476/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02477/input.0.txt b/public_test_cases/p02477/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02477/input.0.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02477/input.1.txt b/public_test_cases/p02477/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1dc547ae1e6af058132b0452c42d35102e2e7f3
--- /dev/null
+++ b/public_test_cases/p02477/input.1.txt
@@ -0,0 +1 @@
+5 8
diff --git a/public_test_cases/p02477/output.0.txt b/public_test_cases/p02477/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p02477/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p02477/output.1.txt b/public_test_cases/p02477/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p02477/output.1.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p02534/input.0.txt b/public_test_cases/p02534/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02534/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02534/input.1.txt b/public_test_cases/p02534/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02534/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02534/output.0.txt b/public_test_cases/p02534/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..096ff35b12d6205287637a719d8df1d394f9b821
--- /dev/null
+++ b/public_test_cases/p02534/output.0.txt
@@ -0,0 +1 @@
+ACLACLACL
diff --git a/public_test_cases/p02534/output.1.txt b/public_test_cases/p02534/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..096ff35b12d6205287637a719d8df1d394f9b821
--- /dev/null
+++ b/public_test_cases/p02534/output.1.txt
@@ -0,0 +1 @@
+ACLACLACL
diff --git a/public_test_cases/p02535/input.0.txt b/public_test_cases/p02535/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a8079f47749f8bb89adb7679e839de5d5849a4c
--- /dev/null
+++ b/public_test_cases/p02535/input.0.txt
@@ -0,0 +1 @@
+10 30 20 40
diff --git a/public_test_cases/p02535/output.0.txt b/public_test_cases/p02535/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02535/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02536/input.0.txt b/public_test_cases/p02536/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fa34b26edbf5a028e89c0ad87b196b184ac114a
--- /dev/null
+++ b/public_test_cases/p02536/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+1 2
diff --git a/public_test_cases/p02536/input.1.txt b/public_test_cases/p02536/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fa34b26edbf5a028e89c0ad87b196b184ac114a
--- /dev/null
+++ b/public_test_cases/p02536/input.1.txt
@@ -0,0 +1,2 @@
+3 1
+1 2
diff --git a/public_test_cases/p02536/output.0.txt b/public_test_cases/p02536/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02536/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02536/output.1.txt b/public_test_cases/p02536/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02536/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02537/input.0.txt b/public_test_cases/p02537/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a7f469b1bfbc3c691c9f0e27cb03f9a38bb09ad
--- /dev/null
+++ b/public_test_cases/p02537/input.0.txt
@@ -0,0 +1,11 @@
+10 3
+1
+5
+4
+3
+8
+6
+9
+7
+2
+4
diff --git a/public_test_cases/p02537/input.1.txt b/public_test_cases/p02537/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a7f469b1bfbc3c691c9f0e27cb03f9a38bb09ad
--- /dev/null
+++ b/public_test_cases/p02537/input.1.txt
@@ -0,0 +1,11 @@
+10 3
+1
+5
+4
+3
+8
+6
+9
+7
+2
+4
diff --git a/public_test_cases/p02537/output.0.txt b/public_test_cases/p02537/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02537/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02537/output.1.txt b/public_test_cases/p02537/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02537/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02538/input.0.txt b/public_test_cases/p02538/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d3dc7f09dd44360571514c012f0db944a5a3a64
--- /dev/null
+++ b/public_test_cases/p02538/input.0.txt
@@ -0,0 +1,6 @@
+8 5
+3 6 2
+1 4 7
+3 8 3
+2 2 2
+4 5 1
diff --git a/public_test_cases/p02538/input.1.txt b/public_test_cases/p02538/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d3dc7f09dd44360571514c012f0db944a5a3a64
--- /dev/null
+++ b/public_test_cases/p02538/input.1.txt
@@ -0,0 +1,6 @@
+8 5
+3 6 2
+1 4 7
+3 8 3
+2 2 2
+4 5 1
diff --git a/public_test_cases/p02538/input.2.txt b/public_test_cases/p02538/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbe0cdfb4feb57098175a78e639bfff43ae54b7f
--- /dev/null
+++ b/public_test_cases/p02538/input.2.txt
@@ -0,0 +1,2 @@
+200000 1
+123 456 7
diff --git a/public_test_cases/p02538/output.0.txt b/public_test_cases/p02538/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46f9c8c84cee92685e088f4e84b2a96ffbc6c484
--- /dev/null
+++ b/public_test_cases/p02538/output.0.txt
@@ -0,0 +1,5 @@
+11222211
+77772211
+77333333
+72333333
+72311333
diff --git a/public_test_cases/p02538/output.1.txt b/public_test_cases/p02538/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46f9c8c84cee92685e088f4e84b2a96ffbc6c484
--- /dev/null
+++ b/public_test_cases/p02538/output.1.txt
@@ -0,0 +1,5 @@
+11222211
+77772211
+77333333
+72333333
+72311333
diff --git a/public_test_cases/p02538/output.2.txt b/public_test_cases/p02538/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25b4043227ecb3c0ffff670102c0992bd1e6845a
--- /dev/null
+++ b/public_test_cases/p02538/output.2.txt
@@ -0,0 +1 @@
+641437905
diff --git a/public_test_cases/p02539/input.0.txt b/public_test_cases/p02539/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aa43e67cd6844ea03f0c04b54e061e874e8aaf6
--- /dev/null
+++ b/public_test_cases/p02539/input.0.txt
@@ -0,0 +1,5 @@
+2
+1
+1
+2
+3
diff --git a/public_test_cases/p02539/input.1.txt b/public_test_cases/p02539/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aa43e67cd6844ea03f0c04b54e061e874e8aaf6
--- /dev/null
+++ b/public_test_cases/p02539/input.1.txt
@@ -0,0 +1,5 @@
+2
+1
+1
+2
+3
diff --git a/public_test_cases/p02539/input.2.txt b/public_test_cases/p02539/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6ee220bdd6579328c53d76c35d0ab239534910b
--- /dev/null
+++ b/public_test_cases/p02539/input.2.txt
@@ -0,0 +1,11 @@
+5
+30
+10
+20
+40
+20
+10
+10
+30
+50
+60
diff --git a/public_test_cases/p02539/output.0.txt b/public_test_cases/p02539/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02539/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02539/output.1.txt b/public_test_cases/p02539/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02539/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02539/output.2.txt b/public_test_cases/p02539/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c599d4ff3cb498803c345b49db70fca22e8ba41
--- /dev/null
+++ b/public_test_cases/p02539/output.2.txt
@@ -0,0 +1 @@
+516
diff --git a/public_test_cases/p02540/input.0.txt b/public_test_cases/p02540/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a366812ca5d74b6a84ca6d2ee634d98cec63357
--- /dev/null
+++ b/public_test_cases/p02540/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 4
+2 3
+3 1
+4 2
diff --git a/public_test_cases/p02540/input.1.txt b/public_test_cases/p02540/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aec303625b8995034bb889c5211593143879f892
--- /dev/null
+++ b/public_test_cases/p02540/input.1.txt
@@ -0,0 +1,8 @@
+7
+6 4
+4 3
+3 5
+7 1
+2 7
+5 2
+1 6
diff --git a/public_test_cases/p02540/input.2.txt b/public_test_cases/p02540/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a366812ca5d74b6a84ca6d2ee634d98cec63357
--- /dev/null
+++ b/public_test_cases/p02540/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 4
+2 3
+3 1
+4 2
diff --git a/public_test_cases/p02540/output.0.txt b/public_test_cases/p02540/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be589c9ceb00f0f5aa61730e4a70bd0730c8b26d
--- /dev/null
+++ b/public_test_cases/p02540/output.0.txt
@@ -0,0 +1,4 @@
+1
+1
+2
+2
diff --git a/public_test_cases/p02540/output.1.txt b/public_test_cases/p02540/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab08f87b5a9b26bbe24f2d88fca78b325ae3fcc5
--- /dev/null
+++ b/public_test_cases/p02540/output.1.txt
@@ -0,0 +1,7 @@
+3
+3
+1
+1
+2
+3
+2
diff --git a/public_test_cases/p02540/output.2.txt b/public_test_cases/p02540/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be589c9ceb00f0f5aa61730e4a70bd0730c8b26d
--- /dev/null
+++ b/public_test_cases/p02540/output.2.txt
@@ -0,0 +1,4 @@
+1
+1
+2
+2
diff --git a/public_test_cases/p02541/input.0.txt b/public_test_cases/p02541/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02541/input.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02541/input.1.txt b/public_test_cases/p02541/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2225e4604f0ff9e2f582da229ed79355155ccb64
--- /dev/null
+++ b/public_test_cases/p02541/input.1.txt
@@ -0,0 +1 @@
+20200920
diff --git a/public_test_cases/p02541/input.2.txt b/public_test_cases/p02541/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02541/input.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02541/output.0.txt b/public_test_cases/p02541/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02541/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02541/output.1.txt b/public_test_cases/p02541/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f3df35d0496219dfa2de1028ac39ab4b752130e
--- /dev/null
+++ b/public_test_cases/p02541/output.1.txt
@@ -0,0 +1 @@
+1100144
diff --git a/public_test_cases/p02541/output.2.txt b/public_test_cases/p02541/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02541/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02542/input.0.txt b/public_test_cases/p02542/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84cf4d9893ac0190bf9358399551b8ad200a9ad2
--- /dev/null
+++ b/public_test_cases/p02542/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+o..
+...
+o.#
diff --git a/public_test_cases/p02542/output.0.txt b/public_test_cases/p02542/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02542/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02543/input.0.txt b/public_test_cases/p02543/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80e8165e025ede8638cb4dda0b1f2e7cb58460da
--- /dev/null
+++ b/public_test_cases/p02543/input.0.txt
@@ -0,0 +1,5 @@
+5 3
+1 2 4 7 8
+2
+1 5
+1 2
diff --git a/public_test_cases/p02543/input.1.txt b/public_test_cases/p02543/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80e8165e025ede8638cb4dda0b1f2e7cb58460da
--- /dev/null
+++ b/public_test_cases/p02543/input.1.txt
@@ -0,0 +1,5 @@
+5 3
+1 2 4 7 8
+2
+1 5
+1 2
diff --git a/public_test_cases/p02543/input.2.txt b/public_test_cases/p02543/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66cd5a96d26dfcbb0aeae46bd1c78b14a4e93db0
--- /dev/null
+++ b/public_test_cases/p02543/input.2.txt
@@ -0,0 +1,8 @@
+15 220492538
+4452279 12864090 23146757 31318558 133073771 141315707 263239555 350278176 401243954 418305779 450172439 560311491 625900495 626194585 891960194
+5
+6 14
+1 8
+1 13
+7 12
+4 12
diff --git a/public_test_cases/p02543/output.0.txt b/public_test_cases/p02543/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc7fa75e6a7bc42f0431e7fa75b59e3ddc4dc40f
--- /dev/null
+++ b/public_test_cases/p02543/output.0.txt
@@ -0,0 +1,2 @@
+4
+2
diff --git a/public_test_cases/p02543/output.1.txt b/public_test_cases/p02543/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc7fa75e6a7bc42f0431e7fa75b59e3ddc4dc40f
--- /dev/null
+++ b/public_test_cases/p02543/output.1.txt
@@ -0,0 +1,2 @@
+4
+2
diff --git a/public_test_cases/p02543/output.2.txt b/public_test_cases/p02543/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3470920dda4eb1dd90f80ddd8f43a32ab77028e
--- /dev/null
+++ b/public_test_cases/p02543/output.2.txt
@@ -0,0 +1,5 @@
+4
+6
+11
+2
+3
diff --git a/public_test_cases/p02544/input.0.txt b/public_test_cases/p02544/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9449aaf96205d69e1287aa4d54e666c05b1e25a1
--- /dev/null
+++ b/public_test_cases/p02544/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+1 2 3
diff --git a/public_test_cases/p02544/input.1.txt b/public_test_cases/p02544/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16959ef766e542aa6daf68f4d2dd8ab700543f08
--- /dev/null
+++ b/public_test_cases/p02544/input.1.txt
@@ -0,0 +1,2 @@
+10 3
+1 8 4 9 2 3 7 10 5 6
diff --git a/public_test_cases/p02544/input.2.txt b/public_test_cases/p02544/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9449aaf96205d69e1287aa4d54e666c05b1e25a1
--- /dev/null
+++ b/public_test_cases/p02544/input.2.txt
@@ -0,0 +1,2 @@
+3 2
+1 2 3
diff --git a/public_test_cases/p02544/output.0.txt b/public_test_cases/p02544/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02544/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02544/output.1.txt b/public_test_cases/p02544/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e0f6c70ad5283445fe3db9e66d777aafdbbcd4
--- /dev/null
+++ b/public_test_cases/p02544/output.1.txt
@@ -0,0 +1 @@
+164091855
diff --git a/public_test_cases/p02544/output.2.txt b/public_test_cases/p02544/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02544/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02545/input.0.txt b/public_test_cases/p02545/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8ec0ae0835334ca6ab9d606d4abba8ae981f2a6
--- /dev/null
+++ b/public_test_cases/p02545/input.0.txt
@@ -0,0 +1,3 @@
+3
+2 3 1 1 3 2 2 1 3
+1 2 2 3 1 2 3 1 3
diff --git a/public_test_cases/p02545/input.1.txt b/public_test_cases/p02545/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3796e122a0be0d3a99e6694d69680e57f891410d
--- /dev/null
+++ b/public_test_cases/p02545/input.1.txt
@@ -0,0 +1,3 @@
+8
+3 6 7 5 4 8 4 1 1 3 8 7 3 8 2 4 7 5 2 2 6 5 6 1
+7 5 8 1 3 6 7 5 4 8 1 3 3 8 2 4 2 6 5 6 1 4 7 2
diff --git a/public_test_cases/p02545/input.2.txt b/public_test_cases/p02545/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..319d16cebf73cb6806d8d432bbeeb4513bc8ea3c
--- /dev/null
+++ b/public_test_cases/p02545/input.2.txt
@@ -0,0 +1,3 @@
+3
+1 1 1 2 2 2 3 3 3
+1 1 1 2 2 2 3 3 3
diff --git a/public_test_cases/p02545/input.3.txt b/public_test_cases/p02545/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..933263088c29f5b66dd70e7fecddd1dab02eda51
--- /dev/null
+++ b/public_test_cases/p02545/input.3.txt
@@ -0,0 +1,3 @@
+3
+2 3 3 1 1 1 2 2 3
+3 2 2 1 1 1 3 3 2
diff --git a/public_test_cases/p02545/input.4.txt b/public_test_cases/p02545/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8ec0ae0835334ca6ab9d606d4abba8ae981f2a6
--- /dev/null
+++ b/public_test_cases/p02545/input.4.txt
@@ -0,0 +1,3 @@
+3
+2 3 1 1 3 2 2 1 3
+1 2 2 3 1 2 3 1 3
diff --git a/public_test_cases/p02545/output.0.txt b/public_test_cases/p02545/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02545/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02545/output.1.txt b/public_test_cases/p02545/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02545/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02545/output.2.txt b/public_test_cases/p02545/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02545/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02545/output.3.txt b/public_test_cases/p02545/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02545/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02545/output.4.txt b/public_test_cases/p02545/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02545/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02546/input.0.txt b/public_test_cases/p02546/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c479defff9a675f4fa1a8867096d90733e9b769
--- /dev/null
+++ b/public_test_cases/p02546/input.0.txt
@@ -0,0 +1 @@
+apple
diff --git a/public_test_cases/p02546/input.1.txt b/public_test_cases/p02546/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d591a2710eb6ec0dc090ed021171bc58abca0f95
--- /dev/null
+++ b/public_test_cases/p02546/input.1.txt
@@ -0,0 +1 @@
+box
diff --git a/public_test_cases/p02546/input.2.txt b/public_test_cases/p02546/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed6e126068cc48b735c064bb3b4bea2e6d375cd3
--- /dev/null
+++ b/public_test_cases/p02546/input.2.txt
@@ -0,0 +1 @@
+bus
diff --git a/public_test_cases/p02546/input.3.txt b/public_test_cases/p02546/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c479defff9a675f4fa1a8867096d90733e9b769
--- /dev/null
+++ b/public_test_cases/p02546/input.3.txt
@@ -0,0 +1 @@
+apple
diff --git a/public_test_cases/p02546/output.0.txt b/public_test_cases/p02546/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..950a188f0a4224ce6a1ac710915113df972aeb2c
--- /dev/null
+++ b/public_test_cases/p02546/output.0.txt
@@ -0,0 +1 @@
+apples
diff --git a/public_test_cases/p02546/output.1.txt b/public_test_cases/p02546/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0b529c6f76d39fe759149211f4aaa19cb63617e
--- /dev/null
+++ b/public_test_cases/p02546/output.1.txt
@@ -0,0 +1 @@
+boxs
diff --git a/public_test_cases/p02546/output.2.txt b/public_test_cases/p02546/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..761d4e721025b5b6af56133516179ae9847da803
--- /dev/null
+++ b/public_test_cases/p02546/output.2.txt
@@ -0,0 +1 @@
+buses
diff --git a/public_test_cases/p02546/output.3.txt b/public_test_cases/p02546/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..950a188f0a4224ce6a1ac710915113df972aeb2c
--- /dev/null
+++ b/public_test_cases/p02546/output.3.txt
@@ -0,0 +1 @@
+apples
diff --git a/public_test_cases/p02547/input.0.txt b/public_test_cases/p02547/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f50c4522d6e546982bf647273182b6f255d7a864
--- /dev/null
+++ b/public_test_cases/p02547/input.0.txt
@@ -0,0 +1,6 @@
+5
+1 2
+6 6
+4 4
+3 3
+3 2
diff --git a/public_test_cases/p02547/input.1.txt b/public_test_cases/p02547/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f50c4522d6e546982bf647273182b6f255d7a864
--- /dev/null
+++ b/public_test_cases/p02547/input.1.txt
@@ -0,0 +1,6 @@
+5
+1 2
+6 6
+4 4
+3 3
+3 2
diff --git a/public_test_cases/p02547/input.2.txt b/public_test_cases/p02547/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1fb63f445c2e234b47891e6546af071217b5e09
--- /dev/null
+++ b/public_test_cases/p02547/input.2.txt
@@ -0,0 +1,6 @@
+5
+1 1
+2 2
+3 4
+5 5
+6 6
diff --git a/public_test_cases/p02547/input.3.txt b/public_test_cases/p02547/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21aedd71cae12ea6d6292daf21a88790d9e7dfe9
--- /dev/null
+++ b/public_test_cases/p02547/input.3.txt
@@ -0,0 +1,7 @@
+6
+1 1
+2 2
+3 3
+4 4
+5 5
+6 6
diff --git a/public_test_cases/p02547/output.0.txt b/public_test_cases/p02547/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02547/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02547/output.1.txt b/public_test_cases/p02547/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02547/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02547/output.2.txt b/public_test_cases/p02547/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02547/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02547/output.3.txt b/public_test_cases/p02547/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02547/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02548/input.0.txt b/public_test_cases/p02548/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02548/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02548/input.1.txt b/public_test_cases/p02548/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02548/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02548/input.2.txt b/public_test_cases/p02548/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02548/input.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02548/input.3.txt b/public_test_cases/p02548/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..749fce669df1b51cae4a71dc130b2a14807829f0
--- /dev/null
+++ b/public_test_cases/p02548/input.3.txt
@@ -0,0 +1 @@
+1000000
diff --git a/public_test_cases/p02548/output.0.txt b/public_test_cases/p02548/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02548/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02548/output.1.txt b/public_test_cases/p02548/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02548/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02548/output.2.txt b/public_test_cases/p02548/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8410b8b89123a6fa77d0dfac8be2229a34566ff8
--- /dev/null
+++ b/public_test_cases/p02548/output.2.txt
@@ -0,0 +1 @@
+473
diff --git a/public_test_cases/p02548/output.3.txt b/public_test_cases/p02548/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3f26f7758595569dfef7569f0308fc3f74b0d85
--- /dev/null
+++ b/public_test_cases/p02548/output.3.txt
@@ -0,0 +1 @@
+13969985
diff --git a/public_test_cases/p02549/input.0.txt b/public_test_cases/p02549/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c96b242cd0f7516fd5324e78b09f967d7333345
--- /dev/null
+++ b/public_test_cases/p02549/input.0.txt
@@ -0,0 +1,3 @@
+5 2
+1 1
+3 4
diff --git a/public_test_cases/p02549/input.1.txt b/public_test_cases/p02549/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd075171a1be594ad0312e0a2541f1b1b5e0740d
--- /dev/null
+++ b/public_test_cases/p02549/input.1.txt
@@ -0,0 +1,3 @@
+5 2
+3 3
+5 5
diff --git a/public_test_cases/p02549/input.2.txt b/public_test_cases/p02549/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3c7fe7e3f23ecf11ebd912c3b48e86f9b11da99
--- /dev/null
+++ b/public_test_cases/p02549/input.2.txt
@@ -0,0 +1,2 @@
+5 1
+1 2
diff --git a/public_test_cases/p02549/input.3.txt b/public_test_cases/p02549/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b25f9960f7a9102e9541b40e699433f267c09f9
--- /dev/null
+++ b/public_test_cases/p02549/input.3.txt
@@ -0,0 +1,4 @@
+60 3
+5 8
+1 3
+10 15
diff --git a/public_test_cases/p02549/input.4.txt b/public_test_cases/p02549/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c96b242cd0f7516fd5324e78b09f967d7333345
--- /dev/null
+++ b/public_test_cases/p02549/input.4.txt
@@ -0,0 +1,3 @@
+5 2
+1 1
+3 4
diff --git a/public_test_cases/p02549/output.0.txt b/public_test_cases/p02549/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02549/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02549/output.1.txt b/public_test_cases/p02549/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02549/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02549/output.2.txt b/public_test_cases/p02549/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02549/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02549/output.3.txt b/public_test_cases/p02549/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a54bc1a9e13ec497c7a61f92455db2ca71788d4
--- /dev/null
+++ b/public_test_cases/p02549/output.3.txt
@@ -0,0 +1 @@
+221823067
diff --git a/public_test_cases/p02549/output.4.txt b/public_test_cases/p02549/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02549/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02550/input.0.txt b/public_test_cases/p02550/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2acecf8937607729955f37b0f013a39512313e0e
--- /dev/null
+++ b/public_test_cases/p02550/input.0.txt
@@ -0,0 +1 @@
+6 2 1001
diff --git a/public_test_cases/p02550/input.1.txt b/public_test_cases/p02550/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0973d52018a59c1f55a04bf20087b3f6c676811b
--- /dev/null
+++ b/public_test_cases/p02550/input.1.txt
@@ -0,0 +1 @@
+10000000000 10 99959
diff --git a/public_test_cases/p02550/input.2.txt b/public_test_cases/p02550/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2acecf8937607729955f37b0f013a39512313e0e
--- /dev/null
+++ b/public_test_cases/p02550/input.2.txt
@@ -0,0 +1 @@
+6 2 1001
diff --git a/public_test_cases/p02550/input.3.txt b/public_test_cases/p02550/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b969a3c04b8826d740c84c57f5eaa623de81848b
--- /dev/null
+++ b/public_test_cases/p02550/input.3.txt
@@ -0,0 +1 @@
+1000 2 16
diff --git a/public_test_cases/p02550/output.0.txt b/public_test_cases/p02550/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66227acdb340d1424ec6b05457b274fe91667fee
--- /dev/null
+++ b/public_test_cases/p02550/output.0.txt
@@ -0,0 +1 @@
+1369
diff --git a/public_test_cases/p02550/output.1.txt b/public_test_cases/p02550/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9a0a3048288a2c587f064a6be7559e26b7a2d42
--- /dev/null
+++ b/public_test_cases/p02550/output.1.txt
@@ -0,0 +1 @@
+492443256176507
diff --git a/public_test_cases/p02550/output.2.txt b/public_test_cases/p02550/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66227acdb340d1424ec6b05457b274fe91667fee
--- /dev/null
+++ b/public_test_cases/p02550/output.2.txt
@@ -0,0 +1 @@
+1369
diff --git a/public_test_cases/p02550/output.3.txt b/public_test_cases/p02550/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02550/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02551/input.0.txt b/public_test_cases/p02551/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..114b5c07ba3726dfdf0f0098de020c2189b78505
--- /dev/null
+++ b/public_test_cases/p02551/input.0.txt
@@ -0,0 +1,6 @@
+5 5
+1 3
+2 3
+1 4
+2 2
+1 2
diff --git a/public_test_cases/p02551/input.1.txt b/public_test_cases/p02551/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..114b5c07ba3726dfdf0f0098de020c2189b78505
--- /dev/null
+++ b/public_test_cases/p02551/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+1 3
+2 3
+1 4
+2 2
+1 2
diff --git a/public_test_cases/p02551/input.2.txt b/public_test_cases/p02551/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6763fcd6d92fc670ae79f1cc383b03a09f795da8
--- /dev/null
+++ b/public_test_cases/p02551/input.2.txt
@@ -0,0 +1 @@
+200000 0
diff --git a/public_test_cases/p02551/input.3.txt b/public_test_cases/p02551/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18ff5f5ab16ae15a4697db751a321c5da25187da
--- /dev/null
+++ b/public_test_cases/p02551/input.3.txt
@@ -0,0 +1,16 @@
+176527 15
+1 81279
+2 22308
+2 133061
+1 80744
+2 44603
+1 170938
+2 139754
+2 15220
+1 172794
+1 159290
+2 156968
+1 56426
+2 77429
+1 97459
+2 71282
diff --git a/public_test_cases/p02551/output.0.txt b/public_test_cases/p02551/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02551/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02551/output.1.txt b/public_test_cases/p02551/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02551/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02551/output.2.txt b/public_test_cases/p02551/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4991fa4b605a538d3e5f661742edd7aa7283c733
--- /dev/null
+++ b/public_test_cases/p02551/output.2.txt
@@ -0,0 +1 @@
+39999200004
diff --git a/public_test_cases/p02551/output.3.txt b/public_test_cases/p02551/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74847cf2b6f2b836f039bd05dbeadeab3f4bb140
--- /dev/null
+++ b/public_test_cases/p02551/output.3.txt
@@ -0,0 +1 @@
+31159505795
diff --git a/public_test_cases/p02552/input.0.txt b/public_test_cases/p02552/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02552/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02552/input.1.txt b/public_test_cases/p02552/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02552/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02552/input.2.txt b/public_test_cases/p02552/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02552/input.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02552/output.0.txt b/public_test_cases/p02552/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02552/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02552/output.1.txt b/public_test_cases/p02552/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02552/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02552/output.2.txt b/public_test_cases/p02552/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02552/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02553/input.0.txt b/public_test_cases/p02553/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6221a642ec4db544f0275dcb97199f1081d5593
--- /dev/null
+++ b/public_test_cases/p02553/input.0.txt
@@ -0,0 +1 @@
+1 2 1 1
diff --git a/public_test_cases/p02553/input.1.txt b/public_test_cases/p02553/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7c908d125d4361157f77f347b3772e9699803b4
--- /dev/null
+++ b/public_test_cases/p02553/input.1.txt
@@ -0,0 +1 @@
+-1000000000 0 -1000000000 0
diff --git a/public_test_cases/p02553/input.2.txt b/public_test_cases/p02553/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6221a642ec4db544f0275dcb97199f1081d5593
--- /dev/null
+++ b/public_test_cases/p02553/input.2.txt
@@ -0,0 +1 @@
+1 2 1 1
diff --git a/public_test_cases/p02553/input.3.txt b/public_test_cases/p02553/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8968e47f8121e642afae928815e3f48f2a99c882
--- /dev/null
+++ b/public_test_cases/p02553/input.3.txt
@@ -0,0 +1 @@
+3 5 -4 -2
diff --git a/public_test_cases/p02553/output.0.txt b/public_test_cases/p02553/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02553/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02553/output.1.txt b/public_test_cases/p02553/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a4149f568ebd1c601c9657a0e51a097d0c2703
--- /dev/null
+++ b/public_test_cases/p02553/output.1.txt
@@ -0,0 +1 @@
+1000000000000000000
diff --git a/public_test_cases/p02553/output.2.txt b/public_test_cases/p02553/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02553/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02553/output.3.txt b/public_test_cases/p02553/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cfb5efd665ffa9372e6df49fdce0242d0156991
--- /dev/null
+++ b/public_test_cases/p02553/output.3.txt
@@ -0,0 +1 @@
+-6
diff --git a/public_test_cases/p02554/input.0.txt b/public_test_cases/p02554/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02554/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02554/input.1.txt b/public_test_cases/p02554/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09f48c5d791945a0383de4e9373bd75ef8e1d14a
--- /dev/null
+++ b/public_test_cases/p02554/input.1.txt
@@ -0,0 +1 @@
+869121
diff --git a/public_test_cases/p02554/input.2.txt b/public_test_cases/p02554/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02554/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02554/input.3.txt b/public_test_cases/p02554/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02554/input.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02554/output.0.txt b/public_test_cases/p02554/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02554/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02554/output.1.txt b/public_test_cases/p02554/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c926dcbd29f7c94ca2ae1d903513900064752791
--- /dev/null
+++ b/public_test_cases/p02554/output.1.txt
@@ -0,0 +1 @@
+2511445
diff --git a/public_test_cases/p02554/output.2.txt b/public_test_cases/p02554/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02554/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02554/output.3.txt b/public_test_cases/p02554/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02554/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02555/input.0.txt b/public_test_cases/p02555/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02555/input.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02555/input.1.txt b/public_test_cases/p02555/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02555/input.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02555/input.2.txt b/public_test_cases/p02555/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32bb421c624168cd17d29596a84b7a5f4a6bd8c7
--- /dev/null
+++ b/public_test_cases/p02555/input.2.txt
@@ -0,0 +1 @@
+1729
diff --git a/public_test_cases/p02555/input.3.txt b/public_test_cases/p02555/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02555/input.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02555/output.0.txt b/public_test_cases/p02555/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02555/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02555/output.1.txt b/public_test_cases/p02555/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02555/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02555/output.2.txt b/public_test_cases/p02555/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a97aad16b77d54808c084596d0317f14a77770f
--- /dev/null
+++ b/public_test_cases/p02555/output.2.txt
@@ -0,0 +1 @@
+294867501
diff --git a/public_test_cases/p02555/output.3.txt b/public_test_cases/p02555/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02555/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02556/input.0.txt b/public_test_cases/p02556/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42862994ff18022455f77bbd068f6440b91c3aaf
--- /dev/null
+++ b/public_test_cases/p02556/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 1
+2 4
+3 2
diff --git a/public_test_cases/p02556/input.1.txt b/public_test_cases/p02556/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42862994ff18022455f77bbd068f6440b91c3aaf
--- /dev/null
+++ b/public_test_cases/p02556/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 1
+2 4
+3 2
diff --git a/public_test_cases/p02556/input.2.txt b/public_test_cases/p02556/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd29bee20df23dd8c9c7b5df08c2fffa67dc3a0
--- /dev/null
+++ b/public_test_cases/p02556/input.2.txt
@@ -0,0 +1,3 @@
+2
+1 1
+1 1
diff --git a/public_test_cases/p02556/output.0.txt b/public_test_cases/p02556/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02556/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02556/output.1.txt b/public_test_cases/p02556/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02556/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02556/output.2.txt b/public_test_cases/p02556/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02556/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02557/input.0.txt b/public_test_cases/p02557/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cb0b88054ab7872e68badb8ce3e27ac44921b81
--- /dev/null
+++ b/public_test_cases/p02557/input.0.txt
@@ -0,0 +1,3 @@
+6
+1 1 1 2 2 3
+1 1 1 2 2 3
diff --git a/public_test_cases/p02557/input.1.txt b/public_test_cases/p02557/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..298f550c9ea774bdd545c9cef4d24cb417a9b7a6
--- /dev/null
+++ b/public_test_cases/p02557/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 1 2
+1 1 3
diff --git a/public_test_cases/p02557/input.2.txt b/public_test_cases/p02557/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2190df5ec744c18f228894dbefdf6a5bdf9548e
--- /dev/null
+++ b/public_test_cases/p02557/input.2.txt
@@ -0,0 +1,3 @@
+4
+1 1 2 3
+1 2 3 3
diff --git a/public_test_cases/p02557/input.3.txt b/public_test_cases/p02557/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cb0b88054ab7872e68badb8ce3e27ac44921b81
--- /dev/null
+++ b/public_test_cases/p02557/input.3.txt
@@ -0,0 +1,3 @@
+6
+1 1 1 2 2 3
+1 1 1 2 2 3
diff --git a/public_test_cases/p02557/output.0.txt b/public_test_cases/p02557/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adfee44d39b38ed603065ce17486f73caebe899a
--- /dev/null
+++ b/public_test_cases/p02557/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+2 2 3 1 1 1
diff --git a/public_test_cases/p02557/output.1.txt b/public_test_cases/p02557/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02557/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02557/output.2.txt b/public_test_cases/p02557/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6ecd12f2555a5ae049f7396a47dc1f5ee1ecce4
--- /dev/null
+++ b/public_test_cases/p02557/output.2.txt
@@ -0,0 +1,2 @@
+Yes
+3 3 1 2
diff --git a/public_test_cases/p02557/output.3.txt b/public_test_cases/p02557/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adfee44d39b38ed603065ce17486f73caebe899a
--- /dev/null
+++ b/public_test_cases/p02557/output.3.txt
@@ -0,0 +1,2 @@
+Yes
+2 2 3 1 1 1
diff --git a/public_test_cases/p02558/input.0.txt b/public_test_cases/p02558/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab1339aab3d59ea50141540dd336dfcce3c60707
--- /dev/null
+++ b/public_test_cases/p02558/input.0.txt
@@ -0,0 +1,8 @@
+4 7
+1 0 1
+0 0 1
+0 2 3
+1 0 1
+1 1 2
+0 0 2
+1 1 3
diff --git a/public_test_cases/p02558/input.1.txt b/public_test_cases/p02558/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab1339aab3d59ea50141540dd336dfcce3c60707
--- /dev/null
+++ b/public_test_cases/p02558/input.1.txt
@@ -0,0 +1,8 @@
+4 7
+1 0 1
+0 0 1
+0 2 3
+1 0 1
+1 1 2
+0 0 2
+1 1 3
diff --git a/public_test_cases/p02558/output.0.txt b/public_test_cases/p02558/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5565ed6787ffbbdfdde23a1dd76682900001d005
--- /dev/null
+++ b/public_test_cases/p02558/output.0.txt
@@ -0,0 +1,4 @@
+0
+1
+0
+1
diff --git a/public_test_cases/p02558/output.1.txt b/public_test_cases/p02558/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5565ed6787ffbbdfdde23a1dd76682900001d005
--- /dev/null
+++ b/public_test_cases/p02558/output.1.txt
@@ -0,0 +1,4 @@
+0
+1
+0
+1
diff --git a/public_test_cases/p02559/input.0.txt b/public_test_cases/p02559/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..291b92d10f79d35fd3b1da41f600bae4d0db9c8b
--- /dev/null
+++ b/public_test_cases/p02559/input.0.txt
@@ -0,0 +1,7 @@
+5 5
+1 2 3 4 5
+1 0 5
+1 2 4
+0 3 10
+1 0 5
+1 0 3
diff --git a/public_test_cases/p02559/input.1.txt b/public_test_cases/p02559/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..291b92d10f79d35fd3b1da41f600bae4d0db9c8b
--- /dev/null
+++ b/public_test_cases/p02559/input.1.txt
@@ -0,0 +1,7 @@
+5 5
+1 2 3 4 5
+1 0 5
+1 2 4
+0 3 10
+1 0 5
+1 0 3
diff --git a/public_test_cases/p02559/output.0.txt b/public_test_cases/p02559/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcc0016c65b99e596a7c741d8b88462c50767c91
--- /dev/null
+++ b/public_test_cases/p02559/output.0.txt
@@ -0,0 +1,4 @@
+15
+7
+25
+6
diff --git a/public_test_cases/p02559/output.1.txt b/public_test_cases/p02559/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcc0016c65b99e596a7c741d8b88462c50767c91
--- /dev/null
+++ b/public_test_cases/p02559/output.1.txt
@@ -0,0 +1,4 @@
+15
+7
+25
+6
diff --git a/public_test_cases/p02560/input.0.txt b/public_test_cases/p02560/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8c18db396e072a22534f82a8e81e25007f3f897
--- /dev/null
+++ b/public_test_cases/p02560/input.0.txt
@@ -0,0 +1,6 @@
+5
+4 10 6 3
+6 5 4 3
+1 1 0 0
+31415 92653 58979 32384
+1000000000 1000000000 999999999 999999999
diff --git a/public_test_cases/p02560/input.1.txt b/public_test_cases/p02560/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8c18db396e072a22534f82a8e81e25007f3f897
--- /dev/null
+++ b/public_test_cases/p02560/input.1.txt
@@ -0,0 +1,6 @@
+5
+4 10 6 3
+6 5 4 3
+1 1 0 0
+31415 92653 58979 32384
+1000000000 1000000000 999999999 999999999
diff --git a/public_test_cases/p02560/output.0.txt b/public_test_cases/p02560/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bf207b766ecc2551b5264e4afff47591e86c128
--- /dev/null
+++ b/public_test_cases/p02560/output.0.txt
@@ -0,0 +1,5 @@
+3
+13
+0
+314095480
+499999999500000000
diff --git a/public_test_cases/p02560/output.1.txt b/public_test_cases/p02560/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bf207b766ecc2551b5264e4afff47591e86c128
--- /dev/null
+++ b/public_test_cases/p02560/output.1.txt
@@ -0,0 +1,5 @@
+3
+13
+0
+314095480
+499999999500000000
diff --git a/public_test_cases/p02561/input.0.txt b/public_test_cases/p02561/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8beef8d4fc68006f96657a30e04b70712918cf98
--- /dev/null
+++ b/public_test_cases/p02561/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+#..
+..#
+...
diff --git a/public_test_cases/p02561/input.1.txt b/public_test_cases/p02561/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8beef8d4fc68006f96657a30e04b70712918cf98
--- /dev/null
+++ b/public_test_cases/p02561/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+#..
+..#
+...
diff --git a/public_test_cases/p02561/input.2.txt b/public_test_cases/p02561/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9294fd2849df040b470fcf43aecbbceaa7aff9b4
--- /dev/null
+++ b/public_test_cases/p02561/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+..
+..#
+...
diff --git a/public_test_cases/p02561/output.0.txt b/public_test_cases/p02561/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80bd112c376ee3586aba341358e20ea8d5fbed89
--- /dev/null
+++ b/public_test_cases/p02561/output.0.txt
@@ -0,0 +1,4 @@
+3
+#><
+vv#
+^^.
diff --git a/public_test_cases/p02561/output.1.txt b/public_test_cases/p02561/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80bd112c376ee3586aba341358e20ea8d5fbed89
--- /dev/null
+++ b/public_test_cases/p02561/output.1.txt
@@ -0,0 +1,4 @@
+3
+#><
+vv#
+^^.
diff --git a/public_test_cases/p02561/output.2.txt b/public_test_cases/p02561/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7798ff2fd913c225606b5acec48d3a27067ace64
--- /dev/null
+++ b/public_test_cases/p02561/output.2.txt
@@ -0,0 +1,4 @@
+3
+><
+vv#
+^^.
diff --git a/public_test_cases/p02562/input.0.txt b/public_test_cases/p02562/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef48fa05a240d12beaa1f58f46fb1336ab723db5
--- /dev/null
+++ b/public_test_cases/p02562/input.0.txt
@@ -0,0 +1,4 @@
+3 1
+5 3 2
+1 4 8
+7 6 9
diff --git a/public_test_cases/p02562/input.1.txt b/public_test_cases/p02562/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..168348969d0bea853a624b65e82f171d8e1d28f0
--- /dev/null
+++ b/public_test_cases/p02562/input.1.txt
@@ -0,0 +1,4 @@
+3 2
+10 10 1
+10 10 1
+1 1 10
diff --git a/public_test_cases/p02562/input.2.txt b/public_test_cases/p02562/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef48fa05a240d12beaa1f58f46fb1336ab723db5
--- /dev/null
+++ b/public_test_cases/p02562/input.2.txt
@@ -0,0 +1,4 @@
+3 1
+5 3 2
+1 4 8
+7 6 9
diff --git a/public_test_cases/p02562/output.0.txt b/public_test_cases/p02562/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..275818ac4ef5ce3e3512e4754fd1a757487a3a5e
--- /dev/null
+++ b/public_test_cases/p02562/output.0.txt
@@ -0,0 +1,4 @@
+19
+X..
+..X
+.X.
diff --git a/public_test_cases/p02562/output.1.txt b/public_test_cases/p02562/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a338cbf1aa8111fa52098ac4bbd49430493a570c
--- /dev/null
+++ b/public_test_cases/p02562/output.1.txt
@@ -0,0 +1,4 @@
+50
+XX.
+XX.
+..X
diff --git a/public_test_cases/p02562/output.2.txt b/public_test_cases/p02562/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..275818ac4ef5ce3e3512e4754fd1a757487a3a5e
--- /dev/null
+++ b/public_test_cases/p02562/output.2.txt
@@ -0,0 +1,4 @@
+19
+X..
+..X
+.X.
diff --git a/public_test_cases/p02563/input.0.txt b/public_test_cases/p02563/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c43d449f4a5273e7c2cf36a49dfe2d4f6122301
--- /dev/null
+++ b/public_test_cases/p02563/input.0.txt
@@ -0,0 +1,3 @@
+4 5
+1 2 3 4
+5 6 7 8 9
diff --git a/public_test_cases/p02563/input.1.txt b/public_test_cases/p02563/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c43d449f4a5273e7c2cf36a49dfe2d4f6122301
--- /dev/null
+++ b/public_test_cases/p02563/input.1.txt
@@ -0,0 +1,3 @@
+4 5
+1 2 3 4
+5 6 7 8 9
diff --git a/public_test_cases/p02563/input.2.txt b/public_test_cases/p02563/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7d6b964b67aee6fdd5a57d3a19071c7478cd4fb
--- /dev/null
+++ b/public_test_cases/p02563/input.2.txt
@@ -0,0 +1,3 @@
+1 1
+10000000
+10000000
diff --git a/public_test_cases/p02563/output.0.txt b/public_test_cases/p02563/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..472de40002dfb5a2b5fd6fd5df9cc78056a5f88a
--- /dev/null
+++ b/public_test_cases/p02563/output.0.txt
@@ -0,0 +1 @@
+5 16 34 60 70 70 59 36
diff --git a/public_test_cases/p02563/output.1.txt b/public_test_cases/p02563/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..472de40002dfb5a2b5fd6fd5df9cc78056a5f88a
--- /dev/null
+++ b/public_test_cases/p02563/output.1.txt
@@ -0,0 +1 @@
+5 16 34 60 70 70 59 36
diff --git a/public_test_cases/p02563/output.2.txt b/public_test_cases/p02563/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6329546d8542647c56e07d75d67bce5ad1263d5
--- /dev/null
+++ b/public_test_cases/p02563/output.2.txt
@@ -0,0 +1 @@
+871938225
diff --git a/public_test_cases/p02564/input.0.txt b/public_test_cases/p02564/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d45ca1a183d65cd7fcc0c5054d8cfeedcf24c1b7
--- /dev/null
+++ b/public_test_cases/p02564/input.0.txt
@@ -0,0 +1,8 @@
+6 7
+1 4
+5 2
+3 0
+5 5
+4 1
+0 3
+4 2
diff --git a/public_test_cases/p02564/input.1.txt b/public_test_cases/p02564/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d45ca1a183d65cd7fcc0c5054d8cfeedcf24c1b7
--- /dev/null
+++ b/public_test_cases/p02564/input.1.txt
@@ -0,0 +1,8 @@
+6 7
+1 4
+5 2
+3 0
+5 5
+4 1
+0 3
+4 2
diff --git a/public_test_cases/p02564/output.0.txt b/public_test_cases/p02564/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6946f2fff48e9bb02858166d2d10d70492a48564
--- /dev/null
+++ b/public_test_cases/p02564/output.0.txt
@@ -0,0 +1,5 @@
+4
+1 5
+2 4 1
+1 2
+2 3 0
diff --git a/public_test_cases/p02564/output.1.txt b/public_test_cases/p02564/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6946f2fff48e9bb02858166d2d10d70492a48564
--- /dev/null
+++ b/public_test_cases/p02564/output.1.txt
@@ -0,0 +1,5 @@
+4
+1 5
+2 4 1
+1 2
+2 3 0
diff --git a/public_test_cases/p02565/input.0.txt b/public_test_cases/p02565/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b606d4f29679d5073916277b99d90f913ccec4fd
--- /dev/null
+++ b/public_test_cases/p02565/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+1 4
+2 5
+0 6
diff --git a/public_test_cases/p02565/input.1.txt b/public_test_cases/p02565/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31d62cc5e4fdcd76d8ab2556cbf34c8d7de52d90
--- /dev/null
+++ b/public_test_cases/p02565/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 4
+2 5
+0 6
diff --git a/public_test_cases/p02565/input.2.txt b/public_test_cases/p02565/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b606d4f29679d5073916277b99d90f913ccec4fd
--- /dev/null
+++ b/public_test_cases/p02565/input.2.txt
@@ -0,0 +1,4 @@
+3 2
+1 4
+2 5
+0 6
diff --git a/public_test_cases/p02565/output.0.txt b/public_test_cases/p02565/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ecfb0f660467c528d65c1ef42ac57554362ae6b
--- /dev/null
+++ b/public_test_cases/p02565/output.0.txt
@@ -0,0 +1,4 @@
+Yes
+4
+2
+0
diff --git a/public_test_cases/p02565/output.1.txt b/public_test_cases/p02565/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02565/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02565/output.2.txt b/public_test_cases/p02565/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ecfb0f660467c528d65c1ef42ac57554362ae6b
--- /dev/null
+++ b/public_test_cases/p02565/output.2.txt
@@ -0,0 +1,4 @@
+Yes
+4
+2
+0
diff --git a/public_test_cases/p02566/input.0.txt b/public_test_cases/p02566/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a647f8965bf763c028cf90f2b37f13a55f1464a2
--- /dev/null
+++ b/public_test_cases/p02566/input.0.txt
@@ -0,0 +1 @@
+abcbcba
diff --git a/public_test_cases/p02566/input.1.txt b/public_test_cases/p02566/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a647f8965bf763c028cf90f2b37f13a55f1464a2
--- /dev/null
+++ b/public_test_cases/p02566/input.1.txt
@@ -0,0 +1 @@
+abcbcba
diff --git a/public_test_cases/p02566/input.2.txt b/public_test_cases/p02566/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccc3e7b48da0932cc0f7c4ce7b4fd834c7032fe1
--- /dev/null
+++ b/public_test_cases/p02566/input.2.txt
@@ -0,0 +1 @@
+aaaaa
diff --git a/public_test_cases/p02566/input.3.txt b/public_test_cases/p02566/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e57708b04717a7dc10818e58b484b810b901f1f4
--- /dev/null
+++ b/public_test_cases/p02566/input.3.txt
@@ -0,0 +1 @@
+ababacaca
diff --git a/public_test_cases/p02566/input.4.txt b/public_test_cases/p02566/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f4f5feeab89fc344e70302011d6efd2897140ec
--- /dev/null
+++ b/public_test_cases/p02566/input.4.txt
@@ -0,0 +1 @@
+mississippi
diff --git a/public_test_cases/p02566/output.0.txt b/public_test_cases/p02566/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p02566/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p02566/output.1.txt b/public_test_cases/p02566/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p02566/output.1.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p02566/output.2.txt b/public_test_cases/p02566/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02566/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02566/output.3.txt b/public_test_cases/p02566/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb95160cb6e07358f54a28a208ae41e69889c97b
--- /dev/null
+++ b/public_test_cases/p02566/output.3.txt
@@ -0,0 +1 @@
+33
diff --git a/public_test_cases/p02566/output.4.txt b/public_test_cases/p02566/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59343b09ec765366a5b0ac04196385079acd864e
--- /dev/null
+++ b/public_test_cases/p02566/output.4.txt
@@ -0,0 +1 @@
+53
diff --git a/public_test_cases/p02567/input.0.txt b/public_test_cases/p02567/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ead868d4541d3b08d26f38b078ad1719b164a36f
--- /dev/null
+++ b/public_test_cases/p02567/input.0.txt
@@ -0,0 +1,7 @@
+5 5
+1 2 3 2 1
+2 1 5
+3 2 3
+1 3 1
+2 2 4
+3 1 3
diff --git a/public_test_cases/p02567/input.1.txt b/public_test_cases/p02567/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ead868d4541d3b08d26f38b078ad1719b164a36f
--- /dev/null
+++ b/public_test_cases/p02567/input.1.txt
@@ -0,0 +1,7 @@
+5 5
+1 2 3 2 1
+2 1 5
+3 2 3
+1 3 1
+2 2 4
+3 1 3
diff --git a/public_test_cases/p02567/output.0.txt b/public_test_cases/p02567/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64e864553094fca79ef1cf5435fa7c489f2fd2a1
--- /dev/null
+++ b/public_test_cases/p02567/output.0.txt
@@ -0,0 +1,4 @@
+3
+3
+2
+6
diff --git a/public_test_cases/p02567/output.1.txt b/public_test_cases/p02567/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64e864553094fca79ef1cf5435fa7c489f2fd2a1
--- /dev/null
+++ b/public_test_cases/p02567/output.1.txt
@@ -0,0 +1,4 @@
+3
+3
+2
+6
diff --git a/public_test_cases/p02568/input.0.txt b/public_test_cases/p02568/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8268178c96359f56ecaa8b36a0d9bbd72ad8b40d
--- /dev/null
+++ b/public_test_cases/p02568/input.0.txt
@@ -0,0 +1,9 @@
+5 7
+1 2 3 4 5
+1 0 5
+0 2 4 100 101
+1 0 3
+0 1 3 102 103
+1 2 5
+0 2 5 104 105
+1 0 5
diff --git a/public_test_cases/p02568/input.1.txt b/public_test_cases/p02568/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8268178c96359f56ecaa8b36a0d9bbd72ad8b40d
--- /dev/null
+++ b/public_test_cases/p02568/input.1.txt
@@ -0,0 +1,9 @@
+5 7
+1 2 3 4 5
+1 0 5
+0 2 4 100 101
+1 0 3
+0 1 3 102 103
+1 2 5
+0 2 5 104 105
+1 0 5
diff --git a/public_test_cases/p02568/output.0.txt b/public_test_cases/p02568/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19aafcd522036cdbf1160fa09617bc1a5679523f
--- /dev/null
+++ b/public_test_cases/p02568/output.0.txt
@@ -0,0 +1,4 @@
+15
+404
+41511
+4317767
diff --git a/public_test_cases/p02568/output.1.txt b/public_test_cases/p02568/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19aafcd522036cdbf1160fa09617bc1a5679523f
--- /dev/null
+++ b/public_test_cases/p02568/output.1.txt
@@ -0,0 +1,4 @@
+15
+404
+41511
+4317767
diff --git a/public_test_cases/p02569/input.0.txt b/public_test_cases/p02569/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a23c033883973c72f97f8cacba0dd20a51a21ec
--- /dev/null
+++ b/public_test_cases/p02569/input.0.txt
@@ -0,0 +1,7 @@
+5 5
+0 1 0 0 1
+2 1 5
+1 3 4
+2 2 5
+1 1 3
+2 1 2
diff --git a/public_test_cases/p02569/input.1.txt b/public_test_cases/p02569/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a23c033883973c72f97f8cacba0dd20a51a21ec
--- /dev/null
+++ b/public_test_cases/p02569/input.1.txt
@@ -0,0 +1,7 @@
+5 5
+0 1 0 0 1
+2 1 5
+1 3 4
+2 2 5
+1 1 3
+2 1 2
diff --git a/public_test_cases/p02569/output.0.txt b/public_test_cases/p02569/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c5d59c22d950fa76f38be7a24322e7f028f18e6
--- /dev/null
+++ b/public_test_cases/p02569/output.0.txt
@@ -0,0 +1,3 @@
+2
+0
+1
diff --git a/public_test_cases/p02569/output.1.txt b/public_test_cases/p02569/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c5d59c22d950fa76f38be7a24322e7f028f18e6
--- /dev/null
+++ b/public_test_cases/p02569/output.1.txt
@@ -0,0 +1,3 @@
+2
+0
+1
diff --git a/public_test_cases/p02570/input.0.txt b/public_test_cases/p02570/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59b0d3058f541c24b051fdc3bebe3d52381ba706
--- /dev/null
+++ b/public_test_cases/p02570/input.0.txt
@@ -0,0 +1 @@
+1000 15 80
diff --git a/public_test_cases/p02570/input.1.txt b/public_test_cases/p02570/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78a387588fdee94d37f63b3dfd52d421076fe1ed
--- /dev/null
+++ b/public_test_cases/p02570/input.1.txt
@@ -0,0 +1 @@
+2000 20 100
diff --git a/public_test_cases/p02570/input.2.txt b/public_test_cases/p02570/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46031632436e28ac8c56e4cd282549618de2c310
--- /dev/null
+++ b/public_test_cases/p02570/input.2.txt
@@ -0,0 +1 @@
+10000 1 1
diff --git a/public_test_cases/p02570/input.3.txt b/public_test_cases/p02570/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59b0d3058f541c24b051fdc3bebe3d52381ba706
--- /dev/null
+++ b/public_test_cases/p02570/input.3.txt
@@ -0,0 +1 @@
+1000 15 80
diff --git a/public_test_cases/p02570/output.0.txt b/public_test_cases/p02570/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02570/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02570/output.1.txt b/public_test_cases/p02570/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02570/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02570/output.2.txt b/public_test_cases/p02570/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02570/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02570/output.3.txt b/public_test_cases/p02570/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02570/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02571/input.0.txt b/public_test_cases/p02571/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60cf4407fd4e5e6be271b01d429e77efe5f61a68
--- /dev/null
+++ b/public_test_cases/p02571/input.0.txt
@@ -0,0 +1,2 @@
+cabacc
+abc
diff --git a/public_test_cases/p02571/input.1.txt b/public_test_cases/p02571/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec061b50247a288f5a1bf5b3c824393d9405b810
--- /dev/null
+++ b/public_test_cases/p02571/input.1.txt
@@ -0,0 +1,2 @@
+codeforces
+atcoder
diff --git a/public_test_cases/p02571/input.2.txt b/public_test_cases/p02571/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60cf4407fd4e5e6be271b01d429e77efe5f61a68
--- /dev/null
+++ b/public_test_cases/p02571/input.2.txt
@@ -0,0 +1,2 @@
+cabacc
+abc
diff --git a/public_test_cases/p02571/output.0.txt b/public_test_cases/p02571/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02571/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02571/output.1.txt b/public_test_cases/p02571/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02571/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02571/output.2.txt b/public_test_cases/p02571/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02571/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02572/input.0.txt b/public_test_cases/p02572/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02572/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02572/input.1.txt b/public_test_cases/p02572/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02572/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02572/input.2.txt b/public_test_cases/p02572/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..371a5a36533dc93a1a5cfca08166a87d0e2a8423
--- /dev/null
+++ b/public_test_cases/p02572/input.2.txt
@@ -0,0 +1,2 @@
+4
+141421356 17320508 22360679 244949
diff --git a/public_test_cases/p02572/output.0.txt b/public_test_cases/p02572/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02572/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02572/output.1.txt b/public_test_cases/p02572/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02572/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02572/output.2.txt b/public_test_cases/p02572/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e38736c1cd1ff5251e6a55a88913f47343862c5
--- /dev/null
+++ b/public_test_cases/p02572/output.2.txt
@@ -0,0 +1 @@
+437235829
diff --git a/public_test_cases/p02573/input.0.txt b/public_test_cases/p02573/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62f5daccf4bf46672cebc89a0c0b1f37b86d49ea
--- /dev/null
+++ b/public_test_cases/p02573/input.0.txt
@@ -0,0 +1,4 @@
+5 3
+1 2
+3 4
+5 1
diff --git a/public_test_cases/p02573/input.1.txt b/public_test_cases/p02573/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2407a7b775b2b3c10333c898d5f44b074247b19e
--- /dev/null
+++ b/public_test_cases/p02573/input.1.txt
@@ -0,0 +1,5 @@
+10 4
+3 1
+4 1
+5 9
+2 6
diff --git a/public_test_cases/p02573/input.2.txt b/public_test_cases/p02573/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62f5daccf4bf46672cebc89a0c0b1f37b86d49ea
--- /dev/null
+++ b/public_test_cases/p02573/input.2.txt
@@ -0,0 +1,4 @@
+5 3
+1 2
+3 4
+5 1
diff --git a/public_test_cases/p02573/input.3.txt b/public_test_cases/p02573/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc2feaab2f5f57e28805f67fa3ce9d85ee136342
--- /dev/null
+++ b/public_test_cases/p02573/input.3.txt
@@ -0,0 +1,11 @@
+4 10
+1 2
+2 1
+1 2
+2 1
+1 2
+1 3
+1 4
+2 3
+2 4
+3 4
diff --git a/public_test_cases/p02573/output.0.txt b/public_test_cases/p02573/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02573/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02573/output.1.txt b/public_test_cases/p02573/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02573/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02573/output.2.txt b/public_test_cases/p02573/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02573/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02573/output.3.txt b/public_test_cases/p02573/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02573/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02574/input.0.txt b/public_test_cases/p02574/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc5cf6c0f2cae79a18a7030537db80e73d4ba0a5
--- /dev/null
+++ b/public_test_cases/p02574/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 4 5
diff --git a/public_test_cases/p02574/input.1.txt b/public_test_cases/p02574/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdc5c1e46ae800a40161853bc3beb8474cb8ae5c
--- /dev/null
+++ b/public_test_cases/p02574/input.1.txt
@@ -0,0 +1,2 @@
+3
+6 10 16
diff --git a/public_test_cases/p02574/input.2.txt b/public_test_cases/p02574/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a88514878c4957cc7c5bbbe79ed7f9a413628b71
--- /dev/null
+++ b/public_test_cases/p02574/input.2.txt
@@ -0,0 +1,2 @@
+3
+6 10 15
diff --git a/public_test_cases/p02574/input.3.txt b/public_test_cases/p02574/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc5cf6c0f2cae79a18a7030537db80e73d4ba0a5
--- /dev/null
+++ b/public_test_cases/p02574/input.3.txt
@@ -0,0 +1,2 @@
+3
+3 4 5
diff --git a/public_test_cases/p02574/output.0.txt b/public_test_cases/p02574/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f4dcad5a2acff7450802a9ca0d7616d8490fe69
--- /dev/null
+++ b/public_test_cases/p02574/output.0.txt
@@ -0,0 +1 @@
+pairwise coprime
diff --git a/public_test_cases/p02574/output.1.txt b/public_test_cases/p02574/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..807b87a1d202d1ce8445a45e908db2d31f26d03a
--- /dev/null
+++ b/public_test_cases/p02574/output.1.txt
@@ -0,0 +1 @@
+not coprime
diff --git a/public_test_cases/p02574/output.2.txt b/public_test_cases/p02574/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2b05ff6461cdf3dabad56cc10bad591c3a47132
--- /dev/null
+++ b/public_test_cases/p02574/output.2.txt
@@ -0,0 +1 @@
+setwise coprime
diff --git a/public_test_cases/p02574/output.3.txt b/public_test_cases/p02574/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f4dcad5a2acff7450802a9ca0d7616d8490fe69
--- /dev/null
+++ b/public_test_cases/p02574/output.3.txt
@@ -0,0 +1 @@
+pairwise coprime
diff --git a/public_test_cases/p02575/input.0.txt b/public_test_cases/p02575/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a5bbd917ae29df1b50aa7d473b0ce8b0acee805
--- /dev/null
+++ b/public_test_cases/p02575/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+2 4
+1 1
+2 3
+2 4
diff --git a/public_test_cases/p02575/input.1.txt b/public_test_cases/p02575/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a5bbd917ae29df1b50aa7d473b0ce8b0acee805
--- /dev/null
+++ b/public_test_cases/p02575/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+2 4
+1 1
+2 3
+2 4
diff --git a/public_test_cases/p02575/output.0.txt b/public_test_cases/p02575/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9424e83d1e1e00d20fad8db6829ec1ca1eed4062
--- /dev/null
+++ b/public_test_cases/p02575/output.0.txt
@@ -0,0 +1,4 @@
+1
+3
+6
+-1
diff --git a/public_test_cases/p02575/output.1.txt b/public_test_cases/p02575/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9424e83d1e1e00d20fad8db6829ec1ca1eed4062
--- /dev/null
+++ b/public_test_cases/p02575/output.1.txt
@@ -0,0 +1,4 @@
+1
+3
+6
+-1
diff --git a/public_test_cases/p02576/input.0.txt b/public_test_cases/p02576/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ba9afb2b70a775acd57f8bb92a381e85877058b
--- /dev/null
+++ b/public_test_cases/p02576/input.0.txt
@@ -0,0 +1 @@
+20 12 6
diff --git a/public_test_cases/p02576/input.1.txt b/public_test_cases/p02576/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22c2913b55126e071f9201068e6592bd31a14f42
--- /dev/null
+++ b/public_test_cases/p02576/input.1.txt
@@ -0,0 +1 @@
+1000 1 1000
diff --git a/public_test_cases/p02576/input.2.txt b/public_test_cases/p02576/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ba9afb2b70a775acd57f8bb92a381e85877058b
--- /dev/null
+++ b/public_test_cases/p02576/input.2.txt
@@ -0,0 +1 @@
+20 12 6
diff --git a/public_test_cases/p02576/output.0.txt b/public_test_cases/p02576/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02576/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02576/output.1.txt b/public_test_cases/p02576/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..749fce669df1b51cae4a71dc130b2a14807829f0
--- /dev/null
+++ b/public_test_cases/p02576/output.1.txt
@@ -0,0 +1 @@
+1000000
diff --git a/public_test_cases/p02576/output.2.txt b/public_test_cases/p02576/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02576/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02577/input.0.txt b/public_test_cases/p02577/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28d14454c380441fa2b6f562072a1cd641c06e22
--- /dev/null
+++ b/public_test_cases/p02577/input.0.txt
@@ -0,0 +1 @@
+123456789
diff --git a/public_test_cases/p02577/input.1.txt b/public_test_cases/p02577/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28d14454c380441fa2b6f562072a1cd641c06e22
--- /dev/null
+++ b/public_test_cases/p02577/input.1.txt
@@ -0,0 +1 @@
+123456789
diff --git a/public_test_cases/p02577/input.2.txt b/public_test_cases/p02577/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02577/input.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02577/input.3.txt b/public_test_cases/p02577/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0b71d24da109bc05e4a81ca4221d5e530dd3962
--- /dev/null
+++ b/public_test_cases/p02577/input.3.txt
@@ -0,0 +1 @@
+31415926535897932384626433832795028841971693993751058209749445923078164062862089986280
diff --git a/public_test_cases/p02577/output.0.txt b/public_test_cases/p02577/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02577/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02577/output.1.txt b/public_test_cases/p02577/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02577/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02577/output.2.txt b/public_test_cases/p02577/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02577/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02577/output.3.txt b/public_test_cases/p02577/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02577/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02578/input.0.txt b/public_test_cases/p02578/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd1164cf00bdd57661e3c6b2216c9d3f6c4fd226
--- /dev/null
+++ b/public_test_cases/p02578/input.0.txt
@@ -0,0 +1,2 @@
+5
+2 1 5 4 3
diff --git a/public_test_cases/p02578/input.1.txt b/public_test_cases/p02578/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6ad0ca15d6caa972e6ddf0d652c404bffd885a2
--- /dev/null
+++ b/public_test_cases/p02578/input.1.txt
@@ -0,0 +1,2 @@
+5
+3 3 3 3 3
diff --git a/public_test_cases/p02578/input.2.txt b/public_test_cases/p02578/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd1164cf00bdd57661e3c6b2216c9d3f6c4fd226
--- /dev/null
+++ b/public_test_cases/p02578/input.2.txt
@@ -0,0 +1,2 @@
+5
+2 1 5 4 3
diff --git a/public_test_cases/p02578/output.0.txt b/public_test_cases/p02578/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02578/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02578/output.1.txt b/public_test_cases/p02578/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02578/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02578/output.2.txt b/public_test_cases/p02578/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02578/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02579/input.0.txt b/public_test_cases/p02579/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85e87db7b6617ddc98fc35bef406049ee468d3ea
--- /dev/null
+++ b/public_test_cases/p02579/input.0.txt
@@ -0,0 +1,7 @@
+4 4
+1 1
+4 4
+..#.
+..#.
+.#..
+.#..
diff --git a/public_test_cases/p02579/input.1.txt b/public_test_cases/p02579/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85e87db7b6617ddc98fc35bef406049ee468d3ea
--- /dev/null
+++ b/public_test_cases/p02579/input.1.txt
@@ -0,0 +1,7 @@
+4 4
+1 1
+4 4
+..#.
+..#.
+.#..
+.#..
diff --git a/public_test_cases/p02579/input.2.txt b/public_test_cases/p02579/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..272b0282742fd405c09e4ec2dcf81d64d440a578
--- /dev/null
+++ b/public_test_cases/p02579/input.2.txt
@@ -0,0 +1,7 @@
+4 4
+1 4
+4 1
+.##.
+
+
+.##.
diff --git a/public_test_cases/p02579/input.3.txt b/public_test_cases/p02579/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d647df550fd6d84a0ccdd6ec9780d3a3d399bfb1
--- /dev/null
+++ b/public_test_cases/p02579/input.3.txt
@@ -0,0 +1,7 @@
+4 5
+1 2
+2 5
+.###
+.
+..##
+..##
diff --git a/public_test_cases/p02579/input.4.txt b/public_test_cases/p02579/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a1c14d8ed92edc45753994963fc34a51ceb2e18
--- /dev/null
+++ b/public_test_cases/p02579/input.4.txt
@@ -0,0 +1,7 @@
+4 4
+2 2
+3 3
+....
+....
+....
+....
diff --git a/public_test_cases/p02579/output.0.txt b/public_test_cases/p02579/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02579/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02579/output.1.txt b/public_test_cases/p02579/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02579/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02579/output.2.txt b/public_test_cases/p02579/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02579/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02579/output.3.txt b/public_test_cases/p02579/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02579/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02579/output.4.txt b/public_test_cases/p02579/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02579/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02580/input.0.txt b/public_test_cases/p02580/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62eca2298b7ebbef39dea0bb8c88067bc3f97173
--- /dev/null
+++ b/public_test_cases/p02580/input.0.txt
@@ -0,0 +1,4 @@
+2 3 3
+2 2
+1 1
+1 3
diff --git a/public_test_cases/p02580/input.1.txt b/public_test_cases/p02580/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62eca2298b7ebbef39dea0bb8c88067bc3f97173
--- /dev/null
+++ b/public_test_cases/p02580/input.1.txt
@@ -0,0 +1,4 @@
+2 3 3
+2 2
+1 1
+1 3
diff --git a/public_test_cases/p02580/input.2.txt b/public_test_cases/p02580/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02698c06dec6abd1ad559f75b8f588dfdba95ab2
--- /dev/null
+++ b/public_test_cases/p02580/input.2.txt
@@ -0,0 +1,5 @@
+3 3 4
+3 3
+3 1
+1 1
+1 2
diff --git a/public_test_cases/p02580/input.3.txt b/public_test_cases/p02580/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45438c77c5b32354197f07a9251bb1626ed0e28c
--- /dev/null
+++ b/public_test_cases/p02580/input.3.txt
@@ -0,0 +1,11 @@
+5 5 10
+2 5
+4 3
+2 3
+5 5
+2 2
+5 4
+5 3
+5 1
+3 5
+1 4
diff --git a/public_test_cases/p02580/output.0.txt b/public_test_cases/p02580/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02580/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02580/output.1.txt b/public_test_cases/p02580/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02580/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02580/output.2.txt b/public_test_cases/p02580/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02580/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02580/output.3.txt b/public_test_cases/p02580/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02580/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02581/input.0.txt b/public_test_cases/p02581/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4438980af89ecfe9802302edaf7bda20f8a6014b
--- /dev/null
+++ b/public_test_cases/p02581/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 2 1 2 2 1
diff --git a/public_test_cases/p02581/input.1.txt b/public_test_cases/p02581/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc3b35984d2f63b4e695a4d707b2852898520c08
--- /dev/null
+++ b/public_test_cases/p02581/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 1 2 2 2 3 3 3 1
diff --git a/public_test_cases/p02581/input.2.txt b/public_test_cases/p02581/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65b4eafc94292199cdef9bde65793de22cf530b0
--- /dev/null
+++ b/public_test_cases/p02581/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 1 2 2 3 3 3 2 1
diff --git a/public_test_cases/p02581/input.3.txt b/public_test_cases/p02581/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4438980af89ecfe9802302edaf7bda20f8a6014b
--- /dev/null
+++ b/public_test_cases/p02581/input.3.txt
@@ -0,0 +1,2 @@
+2
+1 2 1 2 2 1
diff --git a/public_test_cases/p02581/output.0.txt b/public_test_cases/p02581/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02581/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02581/output.1.txt b/public_test_cases/p02581/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02581/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02581/output.2.txt b/public_test_cases/p02581/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02581/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02581/output.3.txt b/public_test_cases/p02581/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02581/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02582/input.0.txt b/public_test_cases/p02582/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6936a9bd46e3c82a3f9bcce8b884ea11d82762ac
--- /dev/null
+++ b/public_test_cases/p02582/input.0.txt
@@ -0,0 +1 @@
+RRS
diff --git a/public_test_cases/p02582/input.1.txt b/public_test_cases/p02582/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de461aeae96755c12da51c3638737e3ee8799b7d
--- /dev/null
+++ b/public_test_cases/p02582/input.1.txt
@@ -0,0 +1 @@
+RSR
diff --git a/public_test_cases/p02582/input.2.txt b/public_test_cases/p02582/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6936a9bd46e3c82a3f9bcce8b884ea11d82762ac
--- /dev/null
+++ b/public_test_cases/p02582/input.2.txt
@@ -0,0 +1 @@
+RRS
diff --git a/public_test_cases/p02582/input.3.txt b/public_test_cases/p02582/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db490b3b6a52a2ab9f6fcdce6a6078b6616f7b3c
--- /dev/null
+++ b/public_test_cases/p02582/input.3.txt
@@ -0,0 +1 @@
+SSS
diff --git a/public_test_cases/p02582/output.0.txt b/public_test_cases/p02582/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02582/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02582/output.1.txt b/public_test_cases/p02582/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02582/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02582/output.2.txt b/public_test_cases/p02582/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02582/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02582/output.3.txt b/public_test_cases/p02582/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02582/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02583/input.0.txt b/public_test_cases/p02583/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..454fff4e688c5f550a9c845bf2b31eb1ba73e33e
--- /dev/null
+++ b/public_test_cases/p02583/input.0.txt
@@ -0,0 +1,2 @@
+5
+4 4 9 7 5
diff --git a/public_test_cases/p02583/input.1.txt b/public_test_cases/p02583/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..811797a5438c685df3973fb0fb0d816b7750605b
--- /dev/null
+++ b/public_test_cases/p02583/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 1
diff --git a/public_test_cases/p02583/input.2.txt b/public_test_cases/p02583/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32351f9afae6ae3a5d1e55d675ee15d76812673c
--- /dev/null
+++ b/public_test_cases/p02583/input.2.txt
@@ -0,0 +1,2 @@
+10
+9 4 6 1 9 6 10 6 6 8
diff --git a/public_test_cases/p02583/input.3.txt b/public_test_cases/p02583/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60b114014350a3327f72f0c037fe347eecd801f7
--- /dev/null
+++ b/public_test_cases/p02583/input.3.txt
@@ -0,0 +1,2 @@
+6
+4 5 4 3 3 5
diff --git a/public_test_cases/p02583/input.4.txt b/public_test_cases/p02583/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..454fff4e688c5f550a9c845bf2b31eb1ba73e33e
--- /dev/null
+++ b/public_test_cases/p02583/input.4.txt
@@ -0,0 +1,2 @@
+5
+4 4 9 7 5
diff --git a/public_test_cases/p02583/output.0.txt b/public_test_cases/p02583/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02583/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02583/output.1.txt b/public_test_cases/p02583/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02583/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02583/output.2.txt b/public_test_cases/p02583/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2720097dccb441015beb4f75766b9908ad46f5a
--- /dev/null
+++ b/public_test_cases/p02583/output.2.txt
@@ -0,0 +1 @@
+39
diff --git a/public_test_cases/p02583/output.3.txt b/public_test_cases/p02583/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02583/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02583/output.4.txt b/public_test_cases/p02583/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02583/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02584/input.0.txt b/public_test_cases/p02584/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2602c8fd130acb24f62a5546d5d92c094ea93879
--- /dev/null
+++ b/public_test_cases/p02584/input.0.txt
@@ -0,0 +1 @@
+6 2 4
diff --git a/public_test_cases/p02584/input.1.txt b/public_test_cases/p02584/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d42c17717bb43285132e9dd4fb56fffbaa5a1d25
--- /dev/null
+++ b/public_test_cases/p02584/input.1.txt
@@ -0,0 +1 @@
+1000000000000000 1000000000000000 1000000000000000
diff --git a/public_test_cases/p02584/input.2.txt b/public_test_cases/p02584/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2602c8fd130acb24f62a5546d5d92c094ea93879
--- /dev/null
+++ b/public_test_cases/p02584/input.2.txt
@@ -0,0 +1 @@
+6 2 4
diff --git a/public_test_cases/p02584/input.3.txt b/public_test_cases/p02584/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8a79e2fe3adc6011533af5b1c2c87113ebfc5b9
--- /dev/null
+++ b/public_test_cases/p02584/input.3.txt
@@ -0,0 +1 @@
+10 1 2
diff --git a/public_test_cases/p02584/input.4.txt b/public_test_cases/p02584/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00b345f2ca09b703eb891d8b624d09dbf7167fb2
--- /dev/null
+++ b/public_test_cases/p02584/input.4.txt
@@ -0,0 +1 @@
+7 4 3
diff --git a/public_test_cases/p02584/output.0.txt b/public_test_cases/p02584/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02584/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02584/output.1.txt b/public_test_cases/p02584/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e19179d1f4498c45176c91ff570243171e71b925
--- /dev/null
+++ b/public_test_cases/p02584/output.1.txt
@@ -0,0 +1 @@
+1000000000000000
diff --git a/public_test_cases/p02584/output.2.txt b/public_test_cases/p02584/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02584/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02584/output.3.txt b/public_test_cases/p02584/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02584/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02584/output.4.txt b/public_test_cases/p02584/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02584/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02585/input.0.txt b/public_test_cases/p02585/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b26d0f9b4e269245864575d3baf3a5dcdf4d27
--- /dev/null
+++ b/public_test_cases/p02585/input.0.txt
@@ -0,0 +1,3 @@
+5 2
+2 4 5 1 3
+3 4 -10 -8 8
diff --git a/public_test_cases/p02585/input.1.txt b/public_test_cases/p02585/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1abb88aa2aafaf24b337798319fc89afd446ec91
--- /dev/null
+++ b/public_test_cases/p02585/input.1.txt
@@ -0,0 +1,3 @@
+10 58
+9 1 6 7 8 4 3 2 10 5
+695279662 988782657 -119067776 382975538 -151885171 -177220596 -169777795 37619092 389386780 980092719
diff --git a/public_test_cases/p02585/input.2.txt b/public_test_cases/p02585/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6dc57f6b99fdb74c33207a68314babb47e13ab0
--- /dev/null
+++ b/public_test_cases/p02585/input.2.txt
@@ -0,0 +1,3 @@
+3 3
+3 1 2
+-1000 -2000 -3000
diff --git a/public_test_cases/p02585/input.3.txt b/public_test_cases/p02585/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b26d0f9b4e269245864575d3baf3a5dcdf4d27
--- /dev/null
+++ b/public_test_cases/p02585/input.3.txt
@@ -0,0 +1,3 @@
+5 2
+2 4 5 1 3
+3 4 -10 -8 8
diff --git a/public_test_cases/p02585/input.4.txt b/public_test_cases/p02585/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfb8c8eefd37db97d8298e9c28b01c0a51ce48cc
--- /dev/null
+++ b/public_test_cases/p02585/input.4.txt
@@ -0,0 +1,3 @@
+2 3
+2 1
+10 -7
diff --git a/public_test_cases/p02585/output.0.txt b/public_test_cases/p02585/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02585/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02585/output.1.txt b/public_test_cases/p02585/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc8b02a10e2fc6e4bf20b8ade0509a2e4cb797ea
--- /dev/null
+++ b/public_test_cases/p02585/output.1.txt
@@ -0,0 +1 @@
+29507023469
diff --git a/public_test_cases/p02585/output.2.txt b/public_test_cases/p02585/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58fe91b0350048d23bd035a39afafebded76103f
--- /dev/null
+++ b/public_test_cases/p02585/output.2.txt
@@ -0,0 +1 @@
+-1000
diff --git a/public_test_cases/p02585/output.3.txt b/public_test_cases/p02585/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02585/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02585/output.4.txt b/public_test_cases/p02585/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02585/output.4.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02586/input.0.txt b/public_test_cases/p02586/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51f6d17cc07e790a5463122a0441f2157745efd2
--- /dev/null
+++ b/public_test_cases/p02586/input.0.txt
@@ -0,0 +1,4 @@
+2 2 3
+1 1 3
+2 1 4
+1 2 5
diff --git a/public_test_cases/p02586/input.1.txt b/public_test_cases/p02586/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..259bfb78e200181ddfe8e204b697193b96d032c9
--- /dev/null
+++ b/public_test_cases/p02586/input.1.txt
@@ -0,0 +1,6 @@
+2 5 5
+1 1 3
+2 4 20
+1 2 1
+1 3 4
+1 4 2
diff --git a/public_test_cases/p02586/input.2.txt b/public_test_cases/p02586/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51f6d17cc07e790a5463122a0441f2157745efd2
--- /dev/null
+++ b/public_test_cases/p02586/input.2.txt
@@ -0,0 +1,4 @@
+2 2 3
+1 1 3
+2 1 4
+1 2 5
diff --git a/public_test_cases/p02586/input.3.txt b/public_test_cases/p02586/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04a649366c974f582fc5059912ea1209f729b1ec
--- /dev/null
+++ b/public_test_cases/p02586/input.3.txt
@@ -0,0 +1,11 @@
+4 5 10
+2 5 12
+1 5 12
+2 3 15
+1 2 20
+1 1 28
+2 4 26
+3 2 27
+4 5 21
+3 5 10
+1 3 10
diff --git a/public_test_cases/p02586/output.0.txt b/public_test_cases/p02586/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02586/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02586/output.1.txt b/public_test_cases/p02586/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f04c001f3f7fd5d290d0264b4a2c35f7b159ac42
--- /dev/null
+++ b/public_test_cases/p02586/output.1.txt
@@ -0,0 +1 @@
+29
diff --git a/public_test_cases/p02586/output.2.txt b/public_test_cases/p02586/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02586/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02586/output.3.txt b/public_test_cases/p02586/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaacbe6629108f0606d35f58a53c9f4e2f49405a
--- /dev/null
+++ b/public_test_cases/p02586/output.3.txt
@@ -0,0 +1 @@
+142
diff --git a/public_test_cases/p02587/input.0.txt b/public_test_cases/p02587/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f7d50e6530519132f10d3aab3bcb32f285b03ed
--- /dev/null
+++ b/public_test_cases/p02587/input.0.txt
@@ -0,0 +1,4 @@
+3
+ba 3
+abc 4
+cbaa 5
diff --git a/public_test_cases/p02587/input.1.txt b/public_test_cases/p02587/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3840680a41291d0b435447455c327faf10879cc4
--- /dev/null
+++ b/public_test_cases/p02587/input.1.txt
@@ -0,0 +1,3 @@
+2
+abc 1
+ab 2
diff --git a/public_test_cases/p02587/input.2.txt b/public_test_cases/p02587/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4b4c4de8c668ba7e2ba6b3144de2d7c62f96ccc
--- /dev/null
+++ b/public_test_cases/p02587/input.2.txt
@@ -0,0 +1,5 @@
+4
+ab 5
+cba 3
+a 12
+ab 10
diff --git a/public_test_cases/p02587/input.3.txt b/public_test_cases/p02587/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de05cc6e32e71a4cd6df88bbc28d9de6605be32f
--- /dev/null
+++ b/public_test_cases/p02587/input.3.txt
@@ -0,0 +1,3 @@
+2
+abcab 5
+cba 3
diff --git a/public_test_cases/p02587/input.4.txt b/public_test_cases/p02587/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f7d50e6530519132f10d3aab3bcb32f285b03ed
--- /dev/null
+++ b/public_test_cases/p02587/input.4.txt
@@ -0,0 +1,4 @@
+3
+ba 3
+abc 4
+cbaa 5
diff --git a/public_test_cases/p02587/output.0.txt b/public_test_cases/p02587/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02587/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02587/output.1.txt b/public_test_cases/p02587/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02587/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02587/output.2.txt b/public_test_cases/p02587/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02587/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02587/output.3.txt b/public_test_cases/p02587/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02587/output.3.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02587/output.4.txt b/public_test_cases/p02587/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02587/output.4.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02588/input.0.txt b/public_test_cases/p02588/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b6f816306e6e1eeeff71bf6343171ab4bce6834
--- /dev/null
+++ b/public_test_cases/p02588/input.0.txt
@@ -0,0 +1,6 @@
+5
+7.5
+2.4
+17.000000001
+17
+16.000000000
diff --git a/public_test_cases/p02588/input.1.txt b/public_test_cases/p02588/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b6f816306e6e1eeeff71bf6343171ab4bce6834
--- /dev/null
+++ b/public_test_cases/p02588/input.1.txt
@@ -0,0 +1,6 @@
+5
+7.5
+2.4
+17.000000001
+17
+16.000000000
diff --git a/public_test_cases/p02588/input.2.txt b/public_test_cases/p02588/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a07273827197fa71d0169e67bd245d07cc1e643
--- /dev/null
+++ b/public_test_cases/p02588/input.2.txt
@@ -0,0 +1,12 @@
+11
+0.9
+1
+1
+1.25
+2.30000
+5
+70
+0.000000001
+9999.999999999
+0.999999999
+1.000000001
diff --git a/public_test_cases/p02588/output.0.txt b/public_test_cases/p02588/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02588/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02588/output.1.txt b/public_test_cases/p02588/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02588/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02588/output.2.txt b/public_test_cases/p02588/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02588/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02589/input.0.txt b/public_test_cases/p02589/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bc1f50d49d6503f7ebd3533fe6e182259b5a480
--- /dev/null
+++ b/public_test_cases/p02589/input.0.txt
@@ -0,0 +1,4 @@
+3
+abcxyx
+cyx
+abc
diff --git a/public_test_cases/p02589/input.1.txt b/public_test_cases/p02589/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c60b2cc483c358aadc6c8d76939d2ce4681b8337
--- /dev/null
+++ b/public_test_cases/p02589/input.1.txt
@@ -0,0 +1,7 @@
+6
+b
+a
+abc
+c
+d
+ab
diff --git a/public_test_cases/p02589/input.2.txt b/public_test_cases/p02589/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bc1f50d49d6503f7ebd3533fe6e182259b5a480
--- /dev/null
+++ b/public_test_cases/p02589/input.2.txt
@@ -0,0 +1,4 @@
+3
+abcxyx
+cyx
+abc
diff --git a/public_test_cases/p02589/output.0.txt b/public_test_cases/p02589/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02589/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02589/output.1.txt b/public_test_cases/p02589/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02589/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02589/output.2.txt b/public_test_cases/p02589/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02589/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02590/input.0.txt b/public_test_cases/p02590/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ad97b5bdc95256e02ebcda2eafb9b509a510ec4
--- /dev/null
+++ b/public_test_cases/p02590/input.0.txt
@@ -0,0 +1,2 @@
+4
+2019 0 2020 200002
diff --git a/public_test_cases/p02590/input.1.txt b/public_test_cases/p02590/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ad97b5bdc95256e02ebcda2eafb9b509a510ec4
--- /dev/null
+++ b/public_test_cases/p02590/input.1.txt
@@ -0,0 +1,2 @@
+4
+2019 0 2020 200002
diff --git a/public_test_cases/p02590/input.2.txt b/public_test_cases/p02590/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..969296862cbffaa5d17a866014169d7b5bd35d49
--- /dev/null
+++ b/public_test_cases/p02590/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 1 2 2 100000
diff --git a/public_test_cases/p02590/output.0.txt b/public_test_cases/p02590/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..961558b5f0929a52990cb036f86077ba14481ad9
--- /dev/null
+++ b/public_test_cases/p02590/output.0.txt
@@ -0,0 +1 @@
+474287
diff --git a/public_test_cases/p02590/output.1.txt b/public_test_cases/p02590/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..961558b5f0929a52990cb036f86077ba14481ad9
--- /dev/null
+++ b/public_test_cases/p02590/output.1.txt
@@ -0,0 +1 @@
+474287
diff --git a/public_test_cases/p02590/output.2.txt b/public_test_cases/p02590/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eebf85bf7b8f677b836a84e0720f26699c7a65e7
--- /dev/null
+++ b/public_test_cases/p02590/output.2.txt
@@ -0,0 +1 @@
+600013
diff --git a/public_test_cases/p02591/input.0.txt b/public_test_cases/p02591/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bceac7f5281acd3a58edc1b0c442832cb547743
--- /dev/null
+++ b/public_test_cases/p02591/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 3 1 4
diff --git a/public_test_cases/p02591/input.1.txt b/public_test_cases/p02591/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p02591/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p02591/input.2.txt b/public_test_cases/p02591/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bceac7f5281acd3a58edc1b0c442832cb547743
--- /dev/null
+++ b/public_test_cases/p02591/input.2.txt
@@ -0,0 +1,2 @@
+3
+2 3 1 4
diff --git a/public_test_cases/p02591/input.3.txt b/public_test_cases/p02591/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94e83ec0d1a311b4437b4be32c7956b60deae514
--- /dev/null
+++ b/public_test_cases/p02591/input.3.txt
@@ -0,0 +1,2 @@
+5
+6 14 15 7 12 16 5 4 11 9 3 10 8 2 13 1
diff --git a/public_test_cases/p02591/output.0.txt b/public_test_cases/p02591/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04ac8ccee01e61d3268a7e42a459a8b8fed136
--- /dev/null
+++ b/public_test_cases/p02591/output.0.txt
@@ -0,0 +1 @@
+121788
diff --git a/public_test_cases/p02591/output.1.txt b/public_test_cases/p02591/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p02591/output.1.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p02591/output.2.txt b/public_test_cases/p02591/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04ac8ccee01e61d3268a7e42a459a8b8fed136
--- /dev/null
+++ b/public_test_cases/p02591/output.2.txt
@@ -0,0 +1 @@
+121788
diff --git a/public_test_cases/p02591/output.3.txt b/public_test_cases/p02591/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f8e24f49e04768905b67481225338a7cfde33b1
--- /dev/null
+++ b/public_test_cases/p02591/output.3.txt
@@ -0,0 +1 @@
+10199246
diff --git a/public_test_cases/p02592/input.1.txt b/public_test_cases/p02592/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02592/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02592/output.1.txt b/public_test_cases/p02592/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02592/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02593/input.0.txt b/public_test_cases/p02593/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14619e899af331f86bfdd47ba6ae33599c152ddb
--- /dev/null
+++ b/public_test_cases/p02593/input.0.txt
@@ -0,0 +1,7 @@
+6
+1 8
+6 10
+2 7
+4 4
+9 3
+5 1
diff --git a/public_test_cases/p02593/input.1.txt b/public_test_cases/p02593/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14619e899af331f86bfdd47ba6ae33599c152ddb
--- /dev/null
+++ b/public_test_cases/p02593/input.1.txt
@@ -0,0 +1,7 @@
+6
+1 8
+6 10
+2 7
+4 4
+9 3
+5 1
diff --git a/public_test_cases/p02593/input.2.txt b/public_test_cases/p02593/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8072bb7585c68c8d5adf54ab22c43eda7a101f0e
--- /dev/null
+++ b/public_test_cases/p02593/input.2.txt
@@ -0,0 +1,6 @@
+5
+5 5
+100 100
+70 20
+81 70
+800 1
diff --git a/public_test_cases/p02593/input.3.txt b/public_test_cases/p02593/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..080296ea9c1c344694a042a3ee75ff731e876edc
--- /dev/null
+++ b/public_test_cases/p02593/input.3.txt
@@ -0,0 +1,11 @@
+10
+2 5
+4 4
+13 12
+12 13
+14 17
+17 19
+22 22
+16 18
+19 27
+25 26
diff --git a/public_test_cases/p02593/output.0.txt b/public_test_cases/p02593/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d30a0b069b8ffe1d1d3e960bc600bf73f8597f65
--- /dev/null
+++ b/public_test_cases/p02593/output.0.txt
@@ -0,0 +1,6 @@
+5
+0
+7
+5
+0
+0
diff --git a/public_test_cases/p02593/output.1.txt b/public_test_cases/p02593/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d30a0b069b8ffe1d1d3e960bc600bf73f8597f65
--- /dev/null
+++ b/public_test_cases/p02593/output.1.txt
@@ -0,0 +1,6 @@
+5
+0
+7
+5
+0
+0
diff --git a/public_test_cases/p02593/output.2.txt b/public_test_cases/p02593/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9aab818ae32d6b34520dec19701aa1f5fa156c5
--- /dev/null
+++ b/public_test_cases/p02593/output.2.txt
@@ -0,0 +1,5 @@
+985
+985
+1065
+1034
+0
diff --git a/public_test_cases/p02593/output.3.txt b/public_test_cases/p02593/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5f407f832a423e4b9730cd0da5a7b460c0d0ff7
--- /dev/null
+++ b/public_test_cases/p02593/output.3.txt
@@ -0,0 +1,10 @@
+2
+2
+9
+9
+3
+3
+24
+5
+0
+25
diff --git a/public_test_cases/p02594/input.0.txt b/public_test_cases/p02594/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02594/input.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02594/input.1.txt b/public_test_cases/p02594/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02594/input.1.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02594/input.2.txt b/public_test_cases/p02594/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p02594/input.2.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p02594/output.0.txt b/public_test_cases/p02594/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02594/output.0.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02594/output.1.txt b/public_test_cases/p02594/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02594/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02594/output.2.txt b/public_test_cases/p02594/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02594/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02595/input.0.txt b/public_test_cases/p02595/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5ed69a100a599ef1ab24ae7906bfb4267a7757a
--- /dev/null
+++ b/public_test_cases/p02595/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+0 5
+-2 4
+3 4
+4 -4
diff --git a/public_test_cases/p02595/input.1.txt b/public_test_cases/p02595/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3663054bb0d601e84841c07896eeedd2177d4006
--- /dev/null
+++ b/public_test_cases/p02595/input.1.txt
@@ -0,0 +1,13 @@
+12 3
+1 1
+1 1
+1 1
+1 1
+1 2
+1 3
+2 1
+2 2
+2 3
+3 1
+3 2
+3 3
diff --git a/public_test_cases/p02595/input.2.txt b/public_test_cases/p02595/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5ed69a100a599ef1ab24ae7906bfb4267a7757a
--- /dev/null
+++ b/public_test_cases/p02595/input.2.txt
@@ -0,0 +1,5 @@
+4 5
+0 5
+-2 4
+3 4
+4 -4
diff --git a/public_test_cases/p02595/input.3.txt b/public_test_cases/p02595/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bfd4e08af05b33a1ee1c6237568b7644049a0e5
--- /dev/null
+++ b/public_test_cases/p02595/input.3.txt
@@ -0,0 +1,21 @@
+20 100000
+14309 -32939
+-56855 100340
+151364 25430
+103789 -113141
+147404 -136977
+-37006 -30929
+188810 -49557
+13419 70401
+-88280 165170
+-196399 137941
+-176527 -61904
+46659 115261
+-153551 114185
+98784 -6820
+94111 -86268
+-30401 61477
+-55056 7872
+5901 -163796
+138819 -185986
+-69848 -96669
diff --git a/public_test_cases/p02595/output.0.txt b/public_test_cases/p02595/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02595/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02595/output.1.txt b/public_test_cases/p02595/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02595/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02595/output.2.txt b/public_test_cases/p02595/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02595/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02595/output.3.txt b/public_test_cases/p02595/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02595/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02596/input.0.txt b/public_test_cases/p02596/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398050c62c882fa5ebc8d8aaa2e730e70790beeb
--- /dev/null
+++ b/public_test_cases/p02596/input.0.txt
@@ -0,0 +1 @@
+101
diff --git a/public_test_cases/p02596/input.1.txt b/public_test_cases/p02596/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02596/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02596/input.2.txt b/public_test_cases/p02596/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..853886599ba67625c4c0a7866a91b8ff405ca9dd
--- /dev/null
+++ b/public_test_cases/p02596/input.2.txt
@@ -0,0 +1 @@
+999983
diff --git a/public_test_cases/p02596/input.3.txt b/public_test_cases/p02596/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398050c62c882fa5ebc8d8aaa2e730e70790beeb
--- /dev/null
+++ b/public_test_cases/p02596/input.3.txt
@@ -0,0 +1 @@
+101
diff --git a/public_test_cases/p02596/output.0.txt b/public_test_cases/p02596/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02596/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02596/output.1.txt b/public_test_cases/p02596/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02596/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02596/output.2.txt b/public_test_cases/p02596/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1038b75d12f2a05e0eef03a309d0848a3e85a13d
--- /dev/null
+++ b/public_test_cases/p02596/output.2.txt
@@ -0,0 +1 @@
+999982
diff --git a/public_test_cases/p02596/output.3.txt b/public_test_cases/p02596/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02596/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02597/input.0.txt b/public_test_cases/p02597/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2a2bd29440de2c3a1c031976185cdd36f17b114
--- /dev/null
+++ b/public_test_cases/p02597/input.0.txt
@@ -0,0 +1,2 @@
+4
+WWRR
diff --git a/public_test_cases/p02597/input.1.txt b/public_test_cases/p02597/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52ac81bee35a27662e73b9291055a3b7112db594
--- /dev/null
+++ b/public_test_cases/p02597/input.1.txt
@@ -0,0 +1,2 @@
+2
+RR
diff --git a/public_test_cases/p02597/input.2.txt b/public_test_cases/p02597/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2a2bd29440de2c3a1c031976185cdd36f17b114
--- /dev/null
+++ b/public_test_cases/p02597/input.2.txt
@@ -0,0 +1,2 @@
+4
+WWRR
diff --git a/public_test_cases/p02597/input.3.txt b/public_test_cases/p02597/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffc309811f63cefaf9ef88dd30ba4c805609f6c5
--- /dev/null
+++ b/public_test_cases/p02597/input.3.txt
@@ -0,0 +1,2 @@
+8
+WRWWRWRR
diff --git a/public_test_cases/p02597/output.0.txt b/public_test_cases/p02597/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02597/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02597/output.1.txt b/public_test_cases/p02597/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02597/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02597/output.2.txt b/public_test_cases/p02597/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02597/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02597/output.3.txt b/public_test_cases/p02597/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02597/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02598/input.0.txt b/public_test_cases/p02598/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..917dc9f2c29aa764b7dafd8b7acd1a73f340b05d
--- /dev/null
+++ b/public_test_cases/p02598/input.0.txt
@@ -0,0 +1,2 @@
+2 3
+7 9
diff --git a/public_test_cases/p02598/input.1.txt b/public_test_cases/p02598/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5d279cd3df212605b268426c661517510dd0bd1
--- /dev/null
+++ b/public_test_cases/p02598/input.1.txt
@@ -0,0 +1,2 @@
+3 0
+3 4 5
diff --git a/public_test_cases/p02598/input.2.txt b/public_test_cases/p02598/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..917dc9f2c29aa764b7dafd8b7acd1a73f340b05d
--- /dev/null
+++ b/public_test_cases/p02598/input.2.txt
@@ -0,0 +1,2 @@
+2 3
+7 9
diff --git a/public_test_cases/p02598/input.3.txt b/public_test_cases/p02598/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8118a9bb9156013b5f4af1060aab714803e85185
--- /dev/null
+++ b/public_test_cases/p02598/input.3.txt
@@ -0,0 +1,2 @@
+10 10
+158260522 877914575 602436426 24979445 861648772 623690081 433933447 476190629 262703497 211047202
diff --git a/public_test_cases/p02598/output.0.txt b/public_test_cases/p02598/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02598/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02598/output.1.txt b/public_test_cases/p02598/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02598/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02598/output.2.txt b/public_test_cases/p02598/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02598/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02598/output.3.txt b/public_test_cases/p02598/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57363d0669935d8e4f452d4ffa99fc2ab6cc7525
--- /dev/null
+++ b/public_test_cases/p02598/output.3.txt
@@ -0,0 +1 @@
+292638192
diff --git a/public_test_cases/p02599/input.0.txt b/public_test_cases/p02599/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcd60de6af9fa8d973da4b5c7d3190dd06824e22
--- /dev/null
+++ b/public_test_cases/p02599/input.0.txt
@@ -0,0 +1,5 @@
+4 3
+1 2 1 3
+1 3
+2 4
+3 3
diff --git a/public_test_cases/p02599/input.1.txt b/public_test_cases/p02599/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcd60de6af9fa8d973da4b5c7d3190dd06824e22
--- /dev/null
+++ b/public_test_cases/p02599/input.1.txt
@@ -0,0 +1,5 @@
+4 3
+1 2 1 3
+1 3
+2 4
+3 3
diff --git a/public_test_cases/p02599/input.2.txt b/public_test_cases/p02599/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64e2a8ce5f6643703a72bde560ae8a04bc5d70f7
--- /dev/null
+++ b/public_test_cases/p02599/input.2.txt
@@ -0,0 +1,12 @@
+10 10
+2 5 6 5 2 1 7 9 7 2
+5 5
+2 4
+6 7
+2 2
+7 8
+7 9
+1 8
+6 9
+8 10
+6 8
diff --git a/public_test_cases/p02599/output.0.txt b/public_test_cases/p02599/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17435e586d4e2ca33fd1d88b9e75f547d157aaa8
--- /dev/null
+++ b/public_test_cases/p02599/output.0.txt
@@ -0,0 +1,3 @@
+2
+3
+1
diff --git a/public_test_cases/p02599/output.1.txt b/public_test_cases/p02599/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17435e586d4e2ca33fd1d88b9e75f547d157aaa8
--- /dev/null
+++ b/public_test_cases/p02599/output.1.txt
@@ -0,0 +1,3 @@
+2
+3
+1
diff --git a/public_test_cases/p02599/output.2.txt b/public_test_cases/p02599/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d10fdceabe7bd2f2fd83f8f39818c2dbcdc07c3b
--- /dev/null
+++ b/public_test_cases/p02599/output.2.txt
@@ -0,0 +1,10 @@
+1
+2
+2
+1
+2
+2
+6
+3
+3
+3
diff --git a/public_test_cases/p02600/input.0.txt b/public_test_cases/p02600/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8c40655eeeb8396127ea5e606a79df650b125e2
--- /dev/null
+++ b/public_test_cases/p02600/input.0.txt
@@ -0,0 +1 @@
+725
diff --git a/public_test_cases/p02600/input.1.txt b/public_test_cases/p02600/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8c40655eeeb8396127ea5e606a79df650b125e2
--- /dev/null
+++ b/public_test_cases/p02600/input.1.txt
@@ -0,0 +1 @@
+725
diff --git a/public_test_cases/p02600/input.2.txt b/public_test_cases/p02600/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b67470f1dcac75b24dd729807911b72b0d052cb3
--- /dev/null
+++ b/public_test_cases/p02600/input.2.txt
@@ -0,0 +1 @@
+1600
diff --git a/public_test_cases/p02600/output.0.txt b/public_test_cases/p02600/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02600/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02600/output.1.txt b/public_test_cases/p02600/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02600/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02600/output.2.txt b/public_test_cases/p02600/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02600/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02601/input.0.txt b/public_test_cases/p02601/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d544b611f7f815d4ffcf4d5b1e17050bbb6682a
--- /dev/null
+++ b/public_test_cases/p02601/input.0.txt
@@ -0,0 +1,2 @@
+7 2 5
+3
diff --git a/public_test_cases/p02601/input.1.txt b/public_test_cases/p02601/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e5f9b4df6d55901fbcfbcf09a528bd6f449a212
--- /dev/null
+++ b/public_test_cases/p02601/input.1.txt
@@ -0,0 +1,2 @@
+7 4 2
+3
diff --git a/public_test_cases/p02601/input.2.txt b/public_test_cases/p02601/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d544b611f7f815d4ffcf4d5b1e17050bbb6682a
--- /dev/null
+++ b/public_test_cases/p02601/input.2.txt
@@ -0,0 +1,2 @@
+7 2 5
+3
diff --git a/public_test_cases/p02601/output.0.txt b/public_test_cases/p02601/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02601/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02601/output.1.txt b/public_test_cases/p02601/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02601/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02601/output.2.txt b/public_test_cases/p02601/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02601/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02602/input.0.txt b/public_test_cases/p02602/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6c2a4f265c4671c024d93548c9adf05bc8def36
--- /dev/null
+++ b/public_test_cases/p02602/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+96 98 95 100 20
diff --git a/public_test_cases/p02602/input.1.txt b/public_test_cases/p02602/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c521c43f6ad6e2f297795421d02dc417f6f626c6
--- /dev/null
+++ b/public_test_cases/p02602/input.1.txt
@@ -0,0 +1,2 @@
+3 2
+1001 869120 1001
diff --git a/public_test_cases/p02602/input.2.txt b/public_test_cases/p02602/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d173b8b7b17d8992a3e8f62a02701ee0edd979d
--- /dev/null
+++ b/public_test_cases/p02602/input.2.txt
@@ -0,0 +1,2 @@
+15 7
+3 1 4 1 5 9 2 6 5 3 5 8 9 7 9
diff --git a/public_test_cases/p02602/input.3.txt b/public_test_cases/p02602/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6c2a4f265c4671c024d93548c9adf05bc8def36
--- /dev/null
+++ b/public_test_cases/p02602/input.3.txt
@@ -0,0 +1,2 @@
+5 3
+96 98 95 100 20
diff --git a/public_test_cases/p02602/output.0.txt b/public_test_cases/p02602/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p02602/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p02602/output.1.txt b/public_test_cases/p02602/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02602/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02602/output.2.txt b/public_test_cases/p02602/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39c2a7d2cc2523de4a075a2eaa972ab8e1622186
--- /dev/null
+++ b/public_test_cases/p02602/output.2.txt
@@ -0,0 +1,8 @@
+Yes
+Yes
+No
+Yes
+Yes
+No
+Yes
+Yes
diff --git a/public_test_cases/p02602/output.3.txt b/public_test_cases/p02602/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae3bc8e3d735ce4d53ce0b1a3355508929035da
--- /dev/null
+++ b/public_test_cases/p02602/output.3.txt
@@ -0,0 +1,2 @@
+Yes
+No
diff --git a/public_test_cases/p02603/input.0.txt b/public_test_cases/p02603/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be941ecafa0f269bdf86be0028072f050bebb123
--- /dev/null
+++ b/public_test_cases/p02603/input.0.txt
@@ -0,0 +1,2 @@
+7
+100 130 130 130 115 115 150
diff --git a/public_test_cases/p02603/input.1.txt b/public_test_cases/p02603/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c64869313dc49bf24ef163a646a81b6af666362
--- /dev/null
+++ b/public_test_cases/p02603/input.1.txt
@@ -0,0 +1,2 @@
+2
+157 193
diff --git a/public_test_cases/p02603/input.2.txt b/public_test_cases/p02603/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be941ecafa0f269bdf86be0028072f050bebb123
--- /dev/null
+++ b/public_test_cases/p02603/input.2.txt
@@ -0,0 +1,2 @@
+7
+100 130 130 130 115 115 150
diff --git a/public_test_cases/p02603/input.3.txt b/public_test_cases/p02603/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c4f583bfd988b84cf6590ead45ba1534351561f
--- /dev/null
+++ b/public_test_cases/p02603/input.3.txt
@@ -0,0 +1,2 @@
+6
+200 180 160 140 120 100
diff --git a/public_test_cases/p02603/output.0.txt b/public_test_cases/p02603/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e41cd7af590171037af34321d044d3e5954ed300
--- /dev/null
+++ b/public_test_cases/p02603/output.0.txt
@@ -0,0 +1 @@
+1685
diff --git a/public_test_cases/p02603/output.1.txt b/public_test_cases/p02603/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc7bb991e4e161d1b33f46d0796d54fec72bdb95
--- /dev/null
+++ b/public_test_cases/p02603/output.1.txt
@@ -0,0 +1 @@
+1216
diff --git a/public_test_cases/p02603/output.2.txt b/public_test_cases/p02603/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e41cd7af590171037af34321d044d3e5954ed300
--- /dev/null
+++ b/public_test_cases/p02603/output.2.txt
@@ -0,0 +1 @@
+1685
diff --git a/public_test_cases/p02603/output.3.txt b/public_test_cases/p02603/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p02603/output.3.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p02604/input.0.txt b/public_test_cases/p02604/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..671bd03885251858ca83f83a6dc30ee3c3faeb54
--- /dev/null
+++ b/public_test_cases/p02604/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2 300
+3 3 600
+1 4 800
diff --git a/public_test_cases/p02604/input.1.txt b/public_test_cases/p02604/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5e789dd2b8adad159f8c432232081043dc999b2
--- /dev/null
+++ b/public_test_cases/p02604/input.1.txt
@@ -0,0 +1,9 @@
+8
+2 2 286017
+3 1 262355
+2 -2 213815
+1 -3 224435
+-2 -2 136860
+-3 -1 239338
+-2 2 217647
+-1 3 141903
diff --git a/public_test_cases/p02604/input.2.txt b/public_test_cases/p02604/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d062232a3bcfedc12b270a5d6446212cb51b9cd9
--- /dev/null
+++ b/public_test_cases/p02604/input.2.txt
@@ -0,0 +1,6 @@
+5
+3 5 400
+5 3 700
+5 5 1000
+5 7 700
+7 5 400
diff --git a/public_test_cases/p02604/input.3.txt b/public_test_cases/p02604/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e821f8bea4cc8922da69c5a487d87499b93c48f7
--- /dev/null
+++ b/public_test_cases/p02604/input.3.txt
@@ -0,0 +1,7 @@
+6
+2 5 1000
+5 2 1100
+5 5 1700
+-2 -5 900
+-5 -2 600
+-5 -5 2200
diff --git a/public_test_cases/p02604/input.4.txt b/public_test_cases/p02604/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..671bd03885251858ca83f83a6dc30ee3c3faeb54
--- /dev/null
+++ b/public_test_cases/p02604/input.4.txt
@@ -0,0 +1,4 @@
+3
+1 2 300
+3 3 600
+1 4 800
diff --git a/public_test_cases/p02604/output.0.txt b/public_test_cases/p02604/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43a806a253c77877ce3b6792b51cb49ff763dc28
--- /dev/null
+++ b/public_test_cases/p02604/output.0.txt
@@ -0,0 +1,4 @@
+2900
+900
+0
+0
diff --git a/public_test_cases/p02604/output.1.txt b/public_test_cases/p02604/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bf1e35dccdb336fe9a25c7a9d5271fee4da522c
--- /dev/null
+++ b/public_test_cases/p02604/output.1.txt
@@ -0,0 +1,9 @@
+2576709
+1569381
+868031
+605676
+366338
+141903
+0
+0
+0
diff --git a/public_test_cases/p02604/output.2.txt b/public_test_cases/p02604/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..873083433e2dc9f31676ff1a0b2bfb1850829e76
--- /dev/null
+++ b/public_test_cases/p02604/output.2.txt
@@ -0,0 +1,6 @@
+13800
+1600
+0
+0
+0
+0
diff --git a/public_test_cases/p02604/output.3.txt b/public_test_cases/p02604/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e282da986e6bbe506af30cccb07057308060533
--- /dev/null
+++ b/public_test_cases/p02604/output.3.txt
@@ -0,0 +1,7 @@
+26700
+13900
+3200
+1200
+0
+0
+0
diff --git a/public_test_cases/p02604/output.4.txt b/public_test_cases/p02604/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43a806a253c77877ce3b6792b51cb49ff763dc28
--- /dev/null
+++ b/public_test_cases/p02604/output.4.txt
@@ -0,0 +1,4 @@
+2900
+900
+0
+0
diff --git a/public_test_cases/p02605/input.0.txt b/public_test_cases/p02605/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6919a63054b2be491ff8e2ef0294f09d8792c71
--- /dev/null
+++ b/public_test_cases/p02605/input.0.txt
@@ -0,0 +1,3 @@
+2
+11 1 U
+11 47 D
diff --git a/public_test_cases/p02605/input.1.txt b/public_test_cases/p02605/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e38746a445ec23a90c83ff632f54405b2f748ab
--- /dev/null
+++ b/public_test_cases/p02605/input.1.txt
@@ -0,0 +1,9 @@
+8
+168 224 U
+130 175 R
+111 198 D
+121 188 L
+201 116 U
+112 121 R
+145 239 D
+185 107 L
diff --git a/public_test_cases/p02605/input.2.txt b/public_test_cases/p02605/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df16fead7f52d38201003f36f9c823b26b7f2e12
--- /dev/null
+++ b/public_test_cases/p02605/input.2.txt
@@ -0,0 +1,5 @@
+4
+20 30 U
+30 20 R
+20 10 D
+10 20 L
diff --git a/public_test_cases/p02605/input.3.txt b/public_test_cases/p02605/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6919a63054b2be491ff8e2ef0294f09d8792c71
--- /dev/null
+++ b/public_test_cases/p02605/input.3.txt
@@ -0,0 +1,3 @@
+2
+11 1 U
+11 47 D
diff --git a/public_test_cases/p02605/output.0.txt b/public_test_cases/p02605/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcb6b5baa1d74755be849bad4c15f5b269ef4b4c
--- /dev/null
+++ b/public_test_cases/p02605/output.0.txt
@@ -0,0 +1 @@
+230
diff --git a/public_test_cases/p02605/output.1.txt b/public_test_cases/p02605/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02605/output.1.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02605/output.2.txt b/public_test_cases/p02605/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2992ee7d2dfaa81f3f94109fb7bc8a7c06b9f42
--- /dev/null
+++ b/public_test_cases/p02605/output.2.txt
@@ -0,0 +1 @@
+SAFE
diff --git a/public_test_cases/p02605/output.3.txt b/public_test_cases/p02605/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcb6b5baa1d74755be849bad4c15f5b269ef4b4c
--- /dev/null
+++ b/public_test_cases/p02605/output.3.txt
@@ -0,0 +1 @@
+230
diff --git a/public_test_cases/p02606/input.0.txt b/public_test_cases/p02606/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ba5ae193fcd3c0fdff145997b8f8b04ea6d7261
--- /dev/null
+++ b/public_test_cases/p02606/input.0.txt
@@ -0,0 +1 @@
+5 10 2
diff --git a/public_test_cases/p02606/input.1.txt b/public_test_cases/p02606/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec0b3630c6bae4a6bd246a231cfd39694b2ff261
--- /dev/null
+++ b/public_test_cases/p02606/input.1.txt
@@ -0,0 +1 @@
+1 100 1
diff --git a/public_test_cases/p02606/input.2.txt b/public_test_cases/p02606/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9e4815548a06cb4391d6bae942ee5fd11a1dc55
--- /dev/null
+++ b/public_test_cases/p02606/input.2.txt
@@ -0,0 +1 @@
+6 20 7
diff --git a/public_test_cases/p02606/input.3.txt b/public_test_cases/p02606/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ba5ae193fcd3c0fdff145997b8f8b04ea6d7261
--- /dev/null
+++ b/public_test_cases/p02606/input.3.txt
@@ -0,0 +1 @@
+5 10 2
diff --git a/public_test_cases/p02606/output.0.txt b/public_test_cases/p02606/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02606/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02606/output.1.txt b/public_test_cases/p02606/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02606/output.1.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02606/output.2.txt b/public_test_cases/p02606/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02606/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02606/output.3.txt b/public_test_cases/p02606/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02606/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02607/input.0.txt b/public_test_cases/p02607/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b887a2dc2118d780025828da1260cea59e77c5
--- /dev/null
+++ b/public_test_cases/p02607/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 3 4 5 7
diff --git a/public_test_cases/p02607/input.1.txt b/public_test_cases/p02607/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a81a781f0329a521cb916796c2cf2c2aa369a175
--- /dev/null
+++ b/public_test_cases/p02607/input.1.txt
@@ -0,0 +1,2 @@
+15
+13 76 46 15 50 98 93 77 31 43 84 90 6 24 14
diff --git a/public_test_cases/p02607/input.2.txt b/public_test_cases/p02607/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b887a2dc2118d780025828da1260cea59e77c5
--- /dev/null
+++ b/public_test_cases/p02607/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 3 4 5 7
diff --git a/public_test_cases/p02607/output.0.txt b/public_test_cases/p02607/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02607/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02607/output.1.txt b/public_test_cases/p02607/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02607/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02607/output.2.txt b/public_test_cases/p02607/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02607/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02608/input.0.txt b/public_test_cases/p02608/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p02608/input.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p02608/input.1.txt b/public_test_cases/p02608/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p02608/input.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p02608/output.0.txt b/public_test_cases/p02608/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33a384de798515e4cec2d7b792b94aadcdbfb568
--- /dev/null
+++ b/public_test_cases/p02608/output.0.txt
@@ -0,0 +1,20 @@
+0
+0
+0
+0
+0
+1
+0
+0
+0
+0
+3
+0
+0
+0
+0
+0
+3
+3
+0
+0
diff --git a/public_test_cases/p02608/output.1.txt b/public_test_cases/p02608/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33a384de798515e4cec2d7b792b94aadcdbfb568
--- /dev/null
+++ b/public_test_cases/p02608/output.1.txt
@@ -0,0 +1,20 @@
+0
+0
+0
+0
+0
+1
+0
+0
+0
+0
+3
+0
+0
+0
+0
+0
+3
+3
+0
+0
diff --git a/public_test_cases/p02609/input.0.txt b/public_test_cases/p02609/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4da94101e6b455aea54f5ef3454cf56820cf406e
--- /dev/null
+++ b/public_test_cases/p02609/input.0.txt
@@ -0,0 +1,2 @@
+3
+011
diff --git a/public_test_cases/p02609/input.1.txt b/public_test_cases/p02609/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d416c4a9758e1c80c29a5d7cd63eff9a80659e3
--- /dev/null
+++ b/public_test_cases/p02609/input.1.txt
@@ -0,0 +1,2 @@
+23
+00110111001011011001110
diff --git a/public_test_cases/p02609/input.2.txt b/public_test_cases/p02609/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4da94101e6b455aea54f5ef3454cf56820cf406e
--- /dev/null
+++ b/public_test_cases/p02609/input.2.txt
@@ -0,0 +1,2 @@
+3
+011
diff --git a/public_test_cases/p02609/output.0.txt b/public_test_cases/p02609/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe234be093e7ad8424af41b8a2162a42d19b3e9
--- /dev/null
+++ b/public_test_cases/p02609/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+1
diff --git a/public_test_cases/p02609/output.1.txt b/public_test_cases/p02609/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea256e578f54ef6ea9fb3ac217751c2633834988
--- /dev/null
+++ b/public_test_cases/p02609/output.1.txt
@@ -0,0 +1,23 @@
+2
+1
+2
+2
+1
+2
+2
+2
+2
+2
+2
+2
+2
+2
+2
+2
+2
+2
+2
+2
+2
+1
+3
diff --git a/public_test_cases/p02609/output.2.txt b/public_test_cases/p02609/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe234be093e7ad8424af41b8a2162a42d19b3e9
--- /dev/null
+++ b/public_test_cases/p02609/output.2.txt
@@ -0,0 +1,3 @@
+2
+1
+1
diff --git a/public_test_cases/p02610/input.0.txt b/public_test_cases/p02610/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b70b6383501cb62779bc5414c00fb1ffc0d6b6ff
--- /dev/null
+++ b/public_test_cases/p02610/input.0.txt
@@ -0,0 +1,28 @@
+3
+2
+1 5 10
+2 15 5
+3
+2 93 78
+1 71 59
+3 57 96
+19
+19 23 16
+5 90 13
+12 85 70
+19 67 78
+12 16 60
+18 48 28
+5 4 24
+12 97 97
+4 57 87
+19 91 74
+18 100 76
+7 86 46
+9 100 57
+3 76 73
+6 84 93
+1 6 84
+11 75 94
+19 15 3
+12 11 34
diff --git a/public_test_cases/p02610/input.1.txt b/public_test_cases/p02610/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b70b6383501cb62779bc5414c00fb1ffc0d6b6ff
--- /dev/null
+++ b/public_test_cases/p02610/input.1.txt
@@ -0,0 +1,28 @@
+3
+2
+1 5 10
+2 15 5
+3
+2 93 78
+1 71 59
+3 57 96
+19
+19 23 16
+5 90 13
+12 85 70
+19 67 78
+12 16 60
+18 48 28
+5 4 24
+12 97 97
+4 57 87
+19 91 74
+18 100 76
+7 86 46
+9 100 57
+3 76 73
+6 84 93
+1 6 84
+11 75 94
+19 15 3
+12 11 34
diff --git a/public_test_cases/p02610/output.0.txt b/public_test_cases/p02610/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d90ce79222cd31fad8890a1c0a870b39221d26a4
--- /dev/null
+++ b/public_test_cases/p02610/output.0.txt
@@ -0,0 +1,3 @@
+25
+221
+1354
diff --git a/public_test_cases/p02610/output.1.txt b/public_test_cases/p02610/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d90ce79222cd31fad8890a1c0a870b39221d26a4
--- /dev/null
+++ b/public_test_cases/p02610/output.1.txt
@@ -0,0 +1,3 @@
+25
+221
+1354
diff --git a/public_test_cases/p02611/input.0.txt b/public_test_cases/p02611/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49f83cef0ff7b6cdb7a3ab3dffa5d52dcf416467
--- /dev/null
+++ b/public_test_cases/p02611/input.0.txt
@@ -0,0 +1,5 @@
+4
+4
+6
+10
+1000000000
diff --git a/public_test_cases/p02611/input.1.txt b/public_test_cases/p02611/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49f83cef0ff7b6cdb7a3ab3dffa5d52dcf416467
--- /dev/null
+++ b/public_test_cases/p02611/input.1.txt
@@ -0,0 +1,5 @@
+4
+4
+6
+10
+1000000000
diff --git a/public_test_cases/p02611/output.0.txt b/public_test_cases/p02611/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4139e68c69496bfbbc40e72346544ed400ddf6b0
--- /dev/null
+++ b/public_test_cases/p02611/output.0.txt
@@ -0,0 +1,4 @@
+0
+11
+4598
+257255556
diff --git a/public_test_cases/p02611/output.1.txt b/public_test_cases/p02611/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4139e68c69496bfbbc40e72346544ed400ddf6b0
--- /dev/null
+++ b/public_test_cases/p02611/output.1.txt
@@ -0,0 +1,4 @@
+0
+11
+4598
+257255556
diff --git a/public_test_cases/p02612/input.0.txt b/public_test_cases/p02612/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62a85b862fd04a2a458ba976f3ca820481aa89b7
--- /dev/null
+++ b/public_test_cases/p02612/input.0.txt
@@ -0,0 +1 @@
+1900
diff --git a/public_test_cases/p02612/input.1.txt b/public_test_cases/p02612/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13de30f45d1a183bfc67d7f3c660dfce3dfee9e4
--- /dev/null
+++ b/public_test_cases/p02612/input.1.txt
@@ -0,0 +1 @@
+3000
diff --git a/public_test_cases/p02612/input.2.txt b/public_test_cases/p02612/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62a85b862fd04a2a458ba976f3ca820481aa89b7
--- /dev/null
+++ b/public_test_cases/p02612/input.2.txt
@@ -0,0 +1 @@
+1900
diff --git a/public_test_cases/p02612/output.0.txt b/public_test_cases/p02612/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02612/output.0.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02612/output.1.txt b/public_test_cases/p02612/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02612/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02612/output.2.txt b/public_test_cases/p02612/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02612/output.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02613/input.0.txt b/public_test_cases/p02613/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2666914d5a7a63fd45f884320099c4504b1e113
--- /dev/null
+++ b/public_test_cases/p02613/input.0.txt
@@ -0,0 +1,7 @@
+6
+AC
+TLE
+AC
+AC
+WA
+TLE
diff --git a/public_test_cases/p02613/input.1.txt b/public_test_cases/p02613/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2666914d5a7a63fd45f884320099c4504b1e113
--- /dev/null
+++ b/public_test_cases/p02613/input.1.txt
@@ -0,0 +1,7 @@
+6
+AC
+TLE
+AC
+AC
+WA
+TLE
diff --git a/public_test_cases/p02613/input.2.txt b/public_test_cases/p02613/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9000e632fc6a98ebb261b86e58cdaf9031b8a9e4
--- /dev/null
+++ b/public_test_cases/p02613/input.2.txt
@@ -0,0 +1,11 @@
+10
+AC
+AC
+AC
+AC
+AC
+AC
+AC
+AC
+AC
+AC
diff --git a/public_test_cases/p02613/output.0.txt b/public_test_cases/p02613/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8004a39b0ee05ed69a7a2a6baeae1050c3d0d257
--- /dev/null
+++ b/public_test_cases/p02613/output.0.txt
@@ -0,0 +1,4 @@
+AC x 3
+WA x 1
+TLE x 2
+RE x 0
diff --git a/public_test_cases/p02613/output.1.txt b/public_test_cases/p02613/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8004a39b0ee05ed69a7a2a6baeae1050c3d0d257
--- /dev/null
+++ b/public_test_cases/p02613/output.1.txt
@@ -0,0 +1,4 @@
+AC x 3
+WA x 1
+TLE x 2
+RE x 0
diff --git a/public_test_cases/p02613/output.2.txt b/public_test_cases/p02613/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72f6225522598969971d852477eee9738f35813d
--- /dev/null
+++ b/public_test_cases/p02613/output.2.txt
@@ -0,0 +1,4 @@
+AC x 10
+WA x 0
+TLE x 0
+RE x 0
diff --git a/public_test_cases/p02614/input.0.txt b/public_test_cases/p02614/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d524c9d6b833f79551883036d1360df0246dfe87
--- /dev/null
+++ b/public_test_cases/p02614/input.0.txt
@@ -0,0 +1,3 @@
+2 3 2
+..#
+###
diff --git a/public_test_cases/p02614/input.1.txt b/public_test_cases/p02614/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b94d119d5c43f569338289a3dfa3292e1889778
--- /dev/null
+++ b/public_test_cases/p02614/input.1.txt
@@ -0,0 +1,2 @@
+2 3 4
+..#
diff --git a/public_test_cases/p02614/input.2.txt b/public_test_cases/p02614/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7399ef870bbb0130a65416857960baa48cc0366
--- /dev/null
+++ b/public_test_cases/p02614/input.2.txt
@@ -0,0 +1,7 @@
+6 6 8
+..##..
+.#..#.
+....#
+
+....#
+....#
diff --git a/public_test_cases/p02614/input.3.txt b/public_test_cases/p02614/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3bf8e4a94bcfe594a86cd6a7b68bb460019925f
--- /dev/null
+++ b/public_test_cases/p02614/input.3.txt
@@ -0,0 +1,2 @@
+2 3 2
+..#
diff --git a/public_test_cases/p02614/input.4.txt b/public_test_cases/p02614/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12883b08ef1d1496f287ed85dc18e50fbefc23ea
--- /dev/null
+++ b/public_test_cases/p02614/input.4.txt
@@ -0,0 +1 @@
+2 2 3
diff --git a/public_test_cases/p02614/input.5.txt b/public_test_cases/p02614/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d524c9d6b833f79551883036d1360df0246dfe87
--- /dev/null
+++ b/public_test_cases/p02614/input.5.txt
@@ -0,0 +1,3 @@
+2 3 2
+..#
+###
diff --git a/public_test_cases/p02614/output.0.txt b/public_test_cases/p02614/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02614/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02614/output.1.txt b/public_test_cases/p02614/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02614/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02614/output.2.txt b/public_test_cases/p02614/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d645f58935469157114c6660026c958c992c92d
--- /dev/null
+++ b/public_test_cases/p02614/output.2.txt
@@ -0,0 +1 @@
+208
diff --git a/public_test_cases/p02614/output.3.txt b/public_test_cases/p02614/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02614/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02614/output.4.txt b/public_test_cases/p02614/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02614/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02614/output.5.txt b/public_test_cases/p02614/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02614/output.5.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02615/input.0.txt b/public_test_cases/p02615/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a497fbbc1d7c77d65711d5f9c4ba16e07271dddb
--- /dev/null
+++ b/public_test_cases/p02615/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 2 1 3
diff --git a/public_test_cases/p02615/input.1.txt b/public_test_cases/p02615/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a497fbbc1d7c77d65711d5f9c4ba16e07271dddb
--- /dev/null
+++ b/public_test_cases/p02615/input.1.txt
@@ -0,0 +1,2 @@
+4
+2 2 1 3
diff --git a/public_test_cases/p02615/input.2.txt b/public_test_cases/p02615/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..394f394f8500f0458b67e455e64b143782b432d0
--- /dev/null
+++ b/public_test_cases/p02615/input.2.txt
@@ -0,0 +1,2 @@
+7
+1 1 1 1 1 1 1
diff --git a/public_test_cases/p02615/output.0.txt b/public_test_cases/p02615/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02615/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02615/output.1.txt b/public_test_cases/p02615/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02615/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02615/output.2.txt b/public_test_cases/p02615/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02615/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02616/input.0.txt b/public_test_cases/p02616/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d31c35604ac9ab71eb06d5b84a51a89306b0a7f
--- /dev/null
+++ b/public_test_cases/p02616/input.0.txt
@@ -0,0 +1,2 @@
+4 2
+1 2 -3 -4
diff --git a/public_test_cases/p02616/input.1.txt b/public_test_cases/p02616/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d31c35604ac9ab71eb06d5b84a51a89306b0a7f
--- /dev/null
+++ b/public_test_cases/p02616/input.1.txt
@@ -0,0 +1,2 @@
+4 2
+1 2 -3 -4
diff --git a/public_test_cases/p02616/input.2.txt b/public_test_cases/p02616/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c689b94323a8b206e25944007a8f5537d29a0271
--- /dev/null
+++ b/public_test_cases/p02616/input.2.txt
@@ -0,0 +1,2 @@
+10 10
+1000000000 100000000 10000000 1000000 100000 10000 1000 100 10 1
diff --git a/public_test_cases/p02616/input.3.txt b/public_test_cases/p02616/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5c50e75b4e2557475a6f9d4e5c1083da41d16e7
--- /dev/null
+++ b/public_test_cases/p02616/input.3.txt
@@ -0,0 +1,2 @@
+4 3
+-1 -2 -3 -4
diff --git a/public_test_cases/p02616/input.4.txt b/public_test_cases/p02616/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..566ebaca9bb0f1fc791233f8902de6b84e03bd91
--- /dev/null
+++ b/public_test_cases/p02616/input.4.txt
@@ -0,0 +1,2 @@
+2 1
+-1 1000000000
diff --git a/public_test_cases/p02616/output.0.txt b/public_test_cases/p02616/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02616/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02616/output.1.txt b/public_test_cases/p02616/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02616/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02616/output.2.txt b/public_test_cases/p02616/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6afa3ae64f78be2c8da3db572e037f09edc67eb6
--- /dev/null
+++ b/public_test_cases/p02616/output.2.txt
@@ -0,0 +1 @@
+999983200
diff --git a/public_test_cases/p02616/output.3.txt b/public_test_cases/p02616/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a528ed87320071ba84058bf3cd59e85b5bb7fd7d
--- /dev/null
+++ b/public_test_cases/p02616/output.3.txt
@@ -0,0 +1 @@
+1000000001
diff --git a/public_test_cases/p02616/output.4.txt b/public_test_cases/p02616/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..770fdcfb4b7d03520f649b7f7ca20e2546bdb41f
--- /dev/null
+++ b/public_test_cases/p02616/output.4.txt
@@ -0,0 +1 @@
+1000000000
diff --git a/public_test_cases/p02617/input.0.txt b/public_test_cases/p02617/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75cb4f08a15a97e472cb7544897bd6f10a348d61
--- /dev/null
+++ b/public_test_cases/p02617/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 3
+2 3
diff --git a/public_test_cases/p02617/input.1.txt b/public_test_cases/p02617/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p02617/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p02617/input.2.txt b/public_test_cases/p02617/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..604ef2e40433241293d9215cc104beb691ea5540
--- /dev/null
+++ b/public_test_cases/p02617/input.2.txt
@@ -0,0 +1,10 @@
+10
+5 3
+5 7
+8 9
+1 9
+9 10
+8 4
+7 4
+6 10
+7 2
diff --git a/public_test_cases/p02617/input.3.txt b/public_test_cases/p02617/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75cb4f08a15a97e472cb7544897bd6f10a348d61
--- /dev/null
+++ b/public_test_cases/p02617/input.3.txt
@@ -0,0 +1,3 @@
+3
+1 3
+2 3
diff --git a/public_test_cases/p02617/output.0.txt b/public_test_cases/p02617/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02617/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02617/output.1.txt b/public_test_cases/p02617/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02617/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02617/output.2.txt b/public_test_cases/p02617/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b252fd0902c7ca46ba8f6cd905d06880b0efb85
--- /dev/null
+++ b/public_test_cases/p02617/output.2.txt
@@ -0,0 +1 @@
+113
diff --git a/public_test_cases/p02617/output.3.txt b/public_test_cases/p02617/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02617/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02618/input.0.txt b/public_test_cases/p02618/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464597fa57d3a3bb6bffec1b84b5bdad9480ef6e
--- /dev/null
+++ b/public_test_cases/p02618/input.0.txt
@@ -0,0 +1,7 @@
+5
+86 90 69 51 2 96 71 47 88 34 45 46 89 34 31 38 97 84 41 80 14 4 50 83 7 82
+19771 12979 18912 10432 10544 12928 13403 3047 10527 9740 8100 92 2856 14730 1396 15905 6534 4650 11469 3628 8433 2994 10899 16396 18355 11424
+6674 17707 13855 16407 12232 2886 11908 1705 5000 1537 10440 10711 4917 10770 17272 15364 19277 18094 3929 3705 7169 6159 18683 15410 9092 4570
+6878 4239 19925 1799 375 9563 3445 5658 19857 11401 6997 6498 19933 3848 2426 2146 19745 16880 17773 18359 3921 14172 16730 11157 5439 256
+8633 15862 15303 10749 18499 7792 10317 5901 9395 11433 3514 3959 5202 19850 19469 9790 5653 784 18500 10552 17975 16615 7852 197 8471 7452
+19855 17918 7990 10572 4333 438 9140 9104 12622 4985 12319 4028 19922 12132 16259 17476 2976 547 19195 19830 16285 4806 4471 9457 2864 2192
diff --git a/public_test_cases/p02618/input.1.txt b/public_test_cases/p02618/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..464597fa57d3a3bb6bffec1b84b5bdad9480ef6e
--- /dev/null
+++ b/public_test_cases/p02618/input.1.txt
@@ -0,0 +1,7 @@
+5
+86 90 69 51 2 96 71 47 88 34 45 46 89 34 31 38 97 84 41 80 14 4 50 83 7 82
+19771 12979 18912 10432 10544 12928 13403 3047 10527 9740 8100 92 2856 14730 1396 15905 6534 4650 11469 3628 8433 2994 10899 16396 18355 11424
+6674 17707 13855 16407 12232 2886 11908 1705 5000 1537 10440 10711 4917 10770 17272 15364 19277 18094 3929 3705 7169 6159 18683 15410 9092 4570
+6878 4239 19925 1799 375 9563 3445 5658 19857 11401 6997 6498 19933 3848 2426 2146 19745 16880 17773 18359 3921 14172 16730 11157 5439 256
+8633 15862 15303 10749 18499 7792 10317 5901 9395 11433 3514 3959 5202 19850 19469 9790 5653 784 18500 10552 17975 16615 7852 197 8471 7452
+19855 17918 7990 10572 4333 438 9140 9104 12622 4985 12319 4028 19922 12132 16259 17476 2976 547 19195 19830 16285 4806 4471 9457 2864 2192
diff --git a/public_test_cases/p02618/output.0.txt b/public_test_cases/p02618/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9823560f67f155214d6e5e8a03236f43fbbf9906
--- /dev/null
+++ b/public_test_cases/p02618/output.0.txt
@@ -0,0 +1,5 @@
+1
+17
+13
+14
+13
diff --git a/public_test_cases/p02618/output.1.txt b/public_test_cases/p02618/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9823560f67f155214d6e5e8a03236f43fbbf9906
--- /dev/null
+++ b/public_test_cases/p02618/output.1.txt
@@ -0,0 +1,5 @@
+1
+17
+13
+14
+13
diff --git a/public_test_cases/p02619/input.0.txt b/public_test_cases/p02619/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..998cfb02e64c23518c088de5ba9b06e82fcbf1e2
--- /dev/null
+++ b/public_test_cases/p02619/input.0.txt
@@ -0,0 +1,12 @@
+5
+86 90 69 51 2 96 71 47 88 34 45 46 89 34 31 38 97 84 41 80 14 4 50 83 7 82
+19771 12979 18912 10432 10544 12928 13403 3047 10527 9740 8100 92 2856 14730 1396 15905 6534 4650 11469 3628 8433 2994 10899 16396 18355 11424
+6674 17707 13855 16407 12232 2886 11908 1705 5000 1537 10440 10711 4917 10770 17272 15364 19277 18094 3929 3705 7169 6159 18683 15410 9092 4570
+6878 4239 19925 1799 375 9563 3445 5658 19857 11401 6997 6498 19933 3848 2426 2146 19745 16880 17773 18359 3921 14172 16730 11157 5439 256
+8633 15862 15303 10749 18499 7792 10317 5901 9395 11433 3514 3959 5202 19850 19469 9790 5653 784 18500 10552 17975 16615 7852 197 8471 7452
+19855 17918 7990 10572 4333 438 9140 9104 12622 4985 12319 4028 19922 12132 16259 17476 2976 547 19195 19830 16285 4806 4471 9457 2864 2192
+1
+17
+13
+14
+13
diff --git a/public_test_cases/p02619/input.1.txt b/public_test_cases/p02619/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..998cfb02e64c23518c088de5ba9b06e82fcbf1e2
--- /dev/null
+++ b/public_test_cases/p02619/input.1.txt
@@ -0,0 +1,12 @@
+5
+86 90 69 51 2 96 71 47 88 34 45 46 89 34 31 38 97 84 41 80 14 4 50 83 7 82
+19771 12979 18912 10432 10544 12928 13403 3047 10527 9740 8100 92 2856 14730 1396 15905 6534 4650 11469 3628 8433 2994 10899 16396 18355 11424
+6674 17707 13855 16407 12232 2886 11908 1705 5000 1537 10440 10711 4917 10770 17272 15364 19277 18094 3929 3705 7169 6159 18683 15410 9092 4570
+6878 4239 19925 1799 375 9563 3445 5658 19857 11401 6997 6498 19933 3848 2426 2146 19745 16880 17773 18359 3921 14172 16730 11157 5439 256
+8633 15862 15303 10749 18499 7792 10317 5901 9395 11433 3514 3959 5202 19850 19469 9790 5653 784 18500 10552 17975 16615 7852 197 8471 7452
+19855 17918 7990 10572 4333 438 9140 9104 12622 4985 12319 4028 19922 12132 16259 17476 2976 547 19195 19830 16285 4806 4471 9457 2864 2192
+1
+17
+13
+14
+13
diff --git a/public_test_cases/p02619/output.0.txt b/public_test_cases/p02619/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9b908e03a603d28595a227ee2310d089c537a0d
--- /dev/null
+++ b/public_test_cases/p02619/output.0.txt
@@ -0,0 +1,5 @@
+18398
+35037
+51140
+65837
+79325
diff --git a/public_test_cases/p02619/output.1.txt b/public_test_cases/p02619/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9b908e03a603d28595a227ee2310d089c537a0d
--- /dev/null
+++ b/public_test_cases/p02619/output.1.txt
@@ -0,0 +1,5 @@
+18398
+35037
+51140
+65837
+79325
diff --git a/public_test_cases/p02620/input.0.txt b/public_test_cases/p02620/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f110a2bb3cd822dcb26baf6dfcd70671497bca1f
--- /dev/null
+++ b/public_test_cases/p02620/input.0.txt
@@ -0,0 +1,18 @@
+5
+86 90 69 51 2 96 71 47 88 34 45 46 89 34 31 38 97 84 41 80 14 4 50 83 7 82
+19771 12979 18912 10432 10544 12928 13403 3047 10527 9740 8100 92 2856 14730 1396 15905 6534 4650 11469 3628 8433 2994 10899 16396 18355 11424
+6674 17707 13855 16407 12232 2886 11908 1705 5000 1537 10440 10711 4917 10770 17272 15364 19277 18094 3929 3705 7169 6159 18683 15410 9092 4570
+6878 4239 19925 1799 375 9563 3445 5658 19857 11401 6997 6498 19933 3848 2426 2146 19745 16880 17773 18359 3921 14172 16730 11157 5439 256
+8633 15862 15303 10749 18499 7792 10317 5901 9395 11433 3514 3959 5202 19850 19469 9790 5653 784 18500 10552 17975 16615 7852 197 8471 7452
+19855 17918 7990 10572 4333 438 9140 9104 12622 4985 12319 4028 19922 12132 16259 17476 2976 547 19195 19830 16285 4806 4471 9457 2864 2192
+1
+17
+13
+14
+13
+5
+1 7
+4 11
+3 4
+5 24
+4 19
diff --git a/public_test_cases/p02620/input.1.txt b/public_test_cases/p02620/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f110a2bb3cd822dcb26baf6dfcd70671497bca1f
--- /dev/null
+++ b/public_test_cases/p02620/input.1.txt
@@ -0,0 +1,18 @@
+5
+86 90 69 51 2 96 71 47 88 34 45 46 89 34 31 38 97 84 41 80 14 4 50 83 7 82
+19771 12979 18912 10432 10544 12928 13403 3047 10527 9740 8100 92 2856 14730 1396 15905 6534 4650 11469 3628 8433 2994 10899 16396 18355 11424
+6674 17707 13855 16407 12232 2886 11908 1705 5000 1537 10440 10711 4917 10770 17272 15364 19277 18094 3929 3705 7169 6159 18683 15410 9092 4570
+6878 4239 19925 1799 375 9563 3445 5658 19857 11401 6997 6498 19933 3848 2426 2146 19745 16880 17773 18359 3921 14172 16730 11157 5439 256
+8633 15862 15303 10749 18499 7792 10317 5901 9395 11433 3514 3959 5202 19850 19469 9790 5653 784 18500 10552 17975 16615 7852 197 8471 7452
+19855 17918 7990 10572 4333 438 9140 9104 12622 4985 12319 4028 19922 12132 16259 17476 2976 547 19195 19830 16285 4806 4471 9457 2864 2192
+1
+17
+13
+14
+13
+5
+1 7
+4 11
+3 4
+5 24
+4 19
diff --git a/public_test_cases/p02620/output.0.txt b/public_test_cases/p02620/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4651191ea0a7768d9da24640e7a65caeb740a08
--- /dev/null
+++ b/public_test_cases/p02620/output.0.txt
@@ -0,0 +1,5 @@
+72882
+56634
+38425
+27930
+42884
diff --git a/public_test_cases/p02620/output.1.txt b/public_test_cases/p02620/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4651191ea0a7768d9da24640e7a65caeb740a08
--- /dev/null
+++ b/public_test_cases/p02620/output.1.txt
@@ -0,0 +1,5 @@
+72882
+56634
+38425
+27930
+42884
diff --git a/public_test_cases/p02621/input.0.txt b/public_test_cases/p02621/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02621/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02621/input.1.txt b/public_test_cases/p02621/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02621/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02621/input.2.txt b/public_test_cases/p02621/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02621/input.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02621/output.0.txt b/public_test_cases/p02621/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02621/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02621/output.1.txt b/public_test_cases/p02621/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02621/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02621/output.2.txt b/public_test_cases/p02621/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a75ff76190b66939608d9c42715f8d2bcbcd059
--- /dev/null
+++ b/public_test_cases/p02621/output.2.txt
@@ -0,0 +1 @@
+1110
diff --git a/public_test_cases/p02622/input.0.txt b/public_test_cases/p02622/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..977e042d1ba14c5bf9471337af0b9309a4225760
--- /dev/null
+++ b/public_test_cases/p02622/input.0.txt
@@ -0,0 +1,2 @@
+cupofcoffee
+cupofhottea
diff --git a/public_test_cases/p02622/input.1.txt b/public_test_cases/p02622/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4eeff4b1cdc73fdf51abb6907bd45851f47d8dd3
--- /dev/null
+++ b/public_test_cases/p02622/input.1.txt
@@ -0,0 +1,2 @@
+apple
+apple
diff --git a/public_test_cases/p02622/input.2.txt b/public_test_cases/p02622/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16ad0642f58c4bd2b00fb03beabf541df7532459
--- /dev/null
+++ b/public_test_cases/p02622/input.2.txt
@@ -0,0 +1,2 @@
+abcde
+bcdea
diff --git a/public_test_cases/p02622/input.3.txt b/public_test_cases/p02622/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..977e042d1ba14c5bf9471337af0b9309a4225760
--- /dev/null
+++ b/public_test_cases/p02622/input.3.txt
@@ -0,0 +1,2 @@
+cupofcoffee
+cupofhottea
diff --git a/public_test_cases/p02622/output.0.txt b/public_test_cases/p02622/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02622/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02622/output.1.txt b/public_test_cases/p02622/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02622/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02622/output.2.txt b/public_test_cases/p02622/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02622/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02622/output.3.txt b/public_test_cases/p02622/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02622/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02623/input.0.txt b/public_test_cases/p02623/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eded8dcf21a6288f8285b8fa192444f1c0ca7e52
--- /dev/null
+++ b/public_test_cases/p02623/input.0.txt
@@ -0,0 +1,3 @@
+3 4 240
+60 90 120
+80 150 80 150
diff --git a/public_test_cases/p02623/input.1.txt b/public_test_cases/p02623/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a1ce684f872dd7bd00b95924f6bd03ce8442dba
--- /dev/null
+++ b/public_test_cases/p02623/input.1.txt
@@ -0,0 +1,3 @@
+5 4 1
+1000000000 1000000000 1000000000 1000000000 1000000000
+1000000000 1000000000 1000000000 1000000000
diff --git a/public_test_cases/p02623/input.2.txt b/public_test_cases/p02623/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eded8dcf21a6288f8285b8fa192444f1c0ca7e52
--- /dev/null
+++ b/public_test_cases/p02623/input.2.txt
@@ -0,0 +1,3 @@
+3 4 240
+60 90 120
+80 150 80 150
diff --git a/public_test_cases/p02623/input.3.txt b/public_test_cases/p02623/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4047695a81844f9d1a28400c69092f44cf7e65b4
--- /dev/null
+++ b/public_test_cases/p02623/input.3.txt
@@ -0,0 +1,3 @@
+3 4 730
+60 90 120
+80 150 80 150
diff --git a/public_test_cases/p02623/output.0.txt b/public_test_cases/p02623/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02623/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02623/output.1.txt b/public_test_cases/p02623/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02623/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02623/output.2.txt b/public_test_cases/p02623/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02623/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02623/output.3.txt b/public_test_cases/p02623/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02623/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02624/input.0.txt b/public_test_cases/p02624/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02624/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02624/input.1.txt b/public_test_cases/p02624/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02624/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02624/input.2.txt b/public_test_cases/p02624/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02624/input.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02624/input.3.txt b/public_test_cases/p02624/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..825319e1c5ba81838b263acdf53ff35d2bb19f11
--- /dev/null
+++ b/public_test_cases/p02624/input.3.txt
@@ -0,0 +1 @@
+10000000
diff --git a/public_test_cases/p02624/output.0.txt b/public_test_cases/p02624/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p02624/output.0.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p02624/output.1.txt b/public_test_cases/p02624/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p02624/output.1.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p02624/output.2.txt b/public_test_cases/p02624/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9064cd9a5061c63da8c86197fefff533330fe758
--- /dev/null
+++ b/public_test_cases/p02624/output.2.txt
@@ -0,0 +1 @@
+26879
diff --git a/public_test_cases/p02624/output.3.txt b/public_test_cases/p02624/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c01ac5cf843a65eb039ebef7eda5df69ff8a49c5
--- /dev/null
+++ b/public_test_cases/p02624/output.3.txt
@@ -0,0 +1 @@
+838627288460105
diff --git a/public_test_cases/p02625/input.0.txt b/public_test_cases/p02625/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02625/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02625/input.1.txt b/public_test_cases/p02625/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73260e25ec727a971e874e6c60ab0b7b1ffcc1db
--- /dev/null
+++ b/public_test_cases/p02625/input.1.txt
@@ -0,0 +1 @@
+141421 356237
diff --git a/public_test_cases/p02625/input.2.txt b/public_test_cases/p02625/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02625/input.2.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02625/input.3.txt b/public_test_cases/p02625/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02625/input.3.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02625/output.0.txt b/public_test_cases/p02625/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02625/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02625/output.1.txt b/public_test_cases/p02625/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495cce011b5ca9e7c198469ea5210715989c0be5
--- /dev/null
+++ b/public_test_cases/p02625/output.1.txt
@@ -0,0 +1 @@
+881613484
diff --git a/public_test_cases/p02625/output.2.txt b/public_test_cases/p02625/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02625/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02625/output.3.txt b/public_test_cases/p02625/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p02625/output.3.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p02626/input.0.txt b/public_test_cases/p02626/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0537d56687614227fe372e25c7d285efd469124f
--- /dev/null
+++ b/public_test_cases/p02626/input.0.txt
@@ -0,0 +1,2 @@
+2
+5 3
diff --git a/public_test_cases/p02626/input.1.txt b/public_test_cases/p02626/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7189afa4e1229f418d3fa246f90a3c701b9e9ea
--- /dev/null
+++ b/public_test_cases/p02626/input.1.txt
@@ -0,0 +1,2 @@
+2
+3 5
diff --git a/public_test_cases/p02626/input.2.txt b/public_test_cases/p02626/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c7a656a8a22fff2ad8f684e817330b3437fb29f
--- /dev/null
+++ b/public_test_cases/p02626/input.2.txt
@@ -0,0 +1,2 @@
+3
+4294967297 8589934593 12884901890
diff --git a/public_test_cases/p02626/input.3.txt b/public_test_cases/p02626/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85cfdbc836661ee215b169065355693f7c39e73c
--- /dev/null
+++ b/public_test_cases/p02626/input.3.txt
@@ -0,0 +1,2 @@
+8
+10 9 8 7 6 5 4 3
diff --git a/public_test_cases/p02626/input.4.txt b/public_test_cases/p02626/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0537d56687614227fe372e25c7d285efd469124f
--- /dev/null
+++ b/public_test_cases/p02626/input.4.txt
@@ -0,0 +1,2 @@
+2
+5 3
diff --git a/public_test_cases/p02626/input.5.txt b/public_test_cases/p02626/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c54d55a8d166e20db07dc7c7ab25cb293a0c3cfd
--- /dev/null
+++ b/public_test_cases/p02626/input.5.txt
@@ -0,0 +1,2 @@
+3
+1 1 2
diff --git a/public_test_cases/p02626/output.0.txt b/public_test_cases/p02626/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02626/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02626/output.1.txt b/public_test_cases/p02626/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02626/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02626/output.2.txt b/public_test_cases/p02626/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02626/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02626/output.3.txt b/public_test_cases/p02626/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02626/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02626/output.4.txt b/public_test_cases/p02626/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02626/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02626/output.5.txt b/public_test_cases/p02626/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02626/output.5.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02627/input.0.txt b/public_test_cases/p02627/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..223b7836fb19fdf64ba2d3cd6173c6a283141f78
--- /dev/null
+++ b/public_test_cases/p02627/input.0.txt
@@ -0,0 +1 @@
+B
diff --git a/public_test_cases/p02627/input.1.txt b/public_test_cases/p02627/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p02627/input.1.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p02627/input.2.txt b/public_test_cases/p02627/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..223b7836fb19fdf64ba2d3cd6173c6a283141f78
--- /dev/null
+++ b/public_test_cases/p02627/input.2.txt
@@ -0,0 +1 @@
+B
diff --git a/public_test_cases/p02627/output.0.txt b/public_test_cases/p02627/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p02627/output.0.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p02627/output.1.txt b/public_test_cases/p02627/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p02627/output.1.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p02627/output.2.txt b/public_test_cases/p02627/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p02627/output.2.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p02628/input.0.txt b/public_test_cases/p02628/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f11a5f7b4875b03ed4d49d9afe431331e344634f
--- /dev/null
+++ b/public_test_cases/p02628/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+50 100 80 120 80
diff --git a/public_test_cases/p02628/input.1.txt b/public_test_cases/p02628/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc405bc11558e8129001a39e8c3ef3e3479c257e
--- /dev/null
+++ b/public_test_cases/p02628/input.1.txt
@@ -0,0 +1,2 @@
+1 1
+1000
diff --git a/public_test_cases/p02628/input.2.txt b/public_test_cases/p02628/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f11a5f7b4875b03ed4d49d9afe431331e344634f
--- /dev/null
+++ b/public_test_cases/p02628/input.2.txt
@@ -0,0 +1,2 @@
+5 3
+50 100 80 120 80
diff --git a/public_test_cases/p02628/output.0.txt b/public_test_cases/p02628/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd7da05e3d264bd30a49a5f2c4c647a4ee0d3ec3
--- /dev/null
+++ b/public_test_cases/p02628/output.0.txt
@@ -0,0 +1 @@
+210
diff --git a/public_test_cases/p02628/output.1.txt b/public_test_cases/p02628/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p02628/output.1.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p02628/output.2.txt b/public_test_cases/p02628/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd7da05e3d264bd30a49a5f2c4c647a4ee0d3ec3
--- /dev/null
+++ b/public_test_cases/p02628/output.2.txt
@@ -0,0 +1 @@
+210
diff --git a/public_test_cases/p02629/input.0.txt b/public_test_cases/p02629/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02629/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02629/input.1.txt b/public_test_cases/p02629/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p02629/input.1.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p02629/input.2.txt b/public_test_cases/p02629/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02629/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02629/input.3.txt b/public_test_cases/p02629/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28d14454c380441fa2b6f562072a1cd641c06e22
--- /dev/null
+++ b/public_test_cases/p02629/input.3.txt
@@ -0,0 +1 @@
+123456789
diff --git a/public_test_cases/p02629/output.0.txt b/public_test_cases/p02629/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p02629/output.0.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p02629/output.1.txt b/public_test_cases/p02629/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e61ef7b965e17c62ca23b6ff5f0aaf09586e10e9
--- /dev/null
+++ b/public_test_cases/p02629/output.1.txt
@@ -0,0 +1 @@
+aa
diff --git a/public_test_cases/p02629/output.2.txt b/public_test_cases/p02629/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p02629/output.2.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p02629/output.3.txt b/public_test_cases/p02629/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c546b5d52b3b5db18bc05cd28ff41757510b0ac
--- /dev/null
+++ b/public_test_cases/p02629/output.3.txt
@@ -0,0 +1 @@
+jjddja
diff --git a/public_test_cases/p02630/input.0.txt b/public_test_cases/p02630/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f204cc5f88d35de2dbd0700991d810ad13ac475
--- /dev/null
+++ b/public_test_cases/p02630/input.0.txt
@@ -0,0 +1,6 @@
+4
+1 2 3 4
+3
+1 2
+3 4
+2 4
diff --git a/public_test_cases/p02630/input.1.txt b/public_test_cases/p02630/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba4cae918c90c1a5d5e43930a9d1d8e585dbf32
--- /dev/null
+++ b/public_test_cases/p02630/input.1.txt
@@ -0,0 +1,6 @@
+2
+1 2
+3
+1 100
+2 100
+100 1000
diff --git a/public_test_cases/p02630/input.2.txt b/public_test_cases/p02630/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f204cc5f88d35de2dbd0700991d810ad13ac475
--- /dev/null
+++ b/public_test_cases/p02630/input.2.txt
@@ -0,0 +1,6 @@
+4
+1 2 3 4
+3
+1 2
+3 4
+2 4
diff --git a/public_test_cases/p02630/input.3.txt b/public_test_cases/p02630/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74bc749ad3417bd32500570f7221f4e6e3c3c05f
--- /dev/null
+++ b/public_test_cases/p02630/input.3.txt
@@ -0,0 +1,6 @@
+4
+1 1 1 1
+3
+1 2
+2 1
+3 5
diff --git a/public_test_cases/p02630/output.0.txt b/public_test_cases/p02630/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..369f6fc0301e0913b98c353667aca6b7ca0489d3
--- /dev/null
+++ b/public_test_cases/p02630/output.0.txt
@@ -0,0 +1,3 @@
+11
+12
+16
diff --git a/public_test_cases/p02630/output.1.txt b/public_test_cases/p02630/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c739ca1428b5de63f5f3732e85c70cf9ad83506e
--- /dev/null
+++ b/public_test_cases/p02630/output.1.txt
@@ -0,0 +1,3 @@
+102
+200
+2000
diff --git a/public_test_cases/p02630/output.2.txt b/public_test_cases/p02630/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..369f6fc0301e0913b98c353667aca6b7ca0489d3
--- /dev/null
+++ b/public_test_cases/p02630/output.2.txt
@@ -0,0 +1,3 @@
+11
+12
+16
diff --git a/public_test_cases/p02630/output.3.txt b/public_test_cases/p02630/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b70a1cb7c75203fe2fe543bcae6a76f00fc40a0e
--- /dev/null
+++ b/public_test_cases/p02630/output.3.txt
@@ -0,0 +1,3 @@
+8
+4
+4
diff --git a/public_test_cases/p02631/input.0.txt b/public_test_cases/p02631/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25addd806bd623679bc01218d814aadb55efc372
--- /dev/null
+++ b/public_test_cases/p02631/input.0.txt
@@ -0,0 +1,2 @@
+4
+20 11 9 24
diff --git a/public_test_cases/p02631/input.1.txt b/public_test_cases/p02631/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25addd806bd623679bc01218d814aadb55efc372
--- /dev/null
+++ b/public_test_cases/p02631/input.1.txt
@@ -0,0 +1,2 @@
+4
+20 11 9 24
diff --git a/public_test_cases/p02631/output.0.txt b/public_test_cases/p02631/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a32863a598d10f238db78d23aebf1d6ca099ffe
--- /dev/null
+++ b/public_test_cases/p02631/output.0.txt
@@ -0,0 +1 @@
+26 5 7 22
diff --git a/public_test_cases/p02631/output.1.txt b/public_test_cases/p02631/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a32863a598d10f238db78d23aebf1d6ca099ffe
--- /dev/null
+++ b/public_test_cases/p02631/output.1.txt
@@ -0,0 +1 @@
+26 5 7 22
diff --git a/public_test_cases/p02632/input.0.txt b/public_test_cases/p02632/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c10c1b4487e71df0ab2a1f2e4d964d8e348c1f5c
--- /dev/null
+++ b/public_test_cases/p02632/input.0.txt
@@ -0,0 +1,2 @@
+5
+oof
diff --git a/public_test_cases/p02632/input.1.txt b/public_test_cases/p02632/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c10c1b4487e71df0ab2a1f2e4d964d8e348c1f5c
--- /dev/null
+++ b/public_test_cases/p02632/input.1.txt
@@ -0,0 +1,2 @@
+5
+oof
diff --git a/public_test_cases/p02632/input.2.txt b/public_test_cases/p02632/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c6558f8d5987c573732a59c6cd384f4f110f2c6
--- /dev/null
+++ b/public_test_cases/p02632/input.2.txt
@@ -0,0 +1,2 @@
+37564
+whydidyoudesertme
diff --git a/public_test_cases/p02632/output.0.txt b/public_test_cases/p02632/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bcd0388cf99ab7460865e75b4548596643bcccc
--- /dev/null
+++ b/public_test_cases/p02632/output.0.txt
@@ -0,0 +1 @@
+575111451
diff --git a/public_test_cases/p02632/output.1.txt b/public_test_cases/p02632/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bcd0388cf99ab7460865e75b4548596643bcccc
--- /dev/null
+++ b/public_test_cases/p02632/output.1.txt
@@ -0,0 +1 @@
+575111451
diff --git a/public_test_cases/p02632/output.2.txt b/public_test_cases/p02632/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ffb30a0a7d1b35442749a3391ed902f5988f381
--- /dev/null
+++ b/public_test_cases/p02632/output.2.txt
@@ -0,0 +1 @@
+318008117
diff --git a/public_test_cases/p02633/input.0.txt b/public_test_cases/p02633/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61f00d8cad3920809f4d992ac3031b3f32e7f10
--- /dev/null
+++ b/public_test_cases/p02633/input.0.txt
@@ -0,0 +1 @@
+90
diff --git a/public_test_cases/p02633/input.1.txt b/public_test_cases/p02633/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61f00d8cad3920809f4d992ac3031b3f32e7f10
--- /dev/null
+++ b/public_test_cases/p02633/input.1.txt
@@ -0,0 +1 @@
+90
diff --git a/public_test_cases/p02633/input.2.txt b/public_test_cases/p02633/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02633/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02633/output.0.txt b/public_test_cases/p02633/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02633/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02633/output.1.txt b/public_test_cases/p02633/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02633/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02633/output.2.txt b/public_test_cases/p02633/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2921a1584c758640f843bd701a9ef6a811dcac49
--- /dev/null
+++ b/public_test_cases/p02633/output.2.txt
@@ -0,0 +1 @@
+360
diff --git a/public_test_cases/p02634/input.0.txt b/public_test_cases/p02634/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1409b1c7c807c83489d56f470457810e6c246c59
--- /dev/null
+++ b/public_test_cases/p02634/input.0.txt
@@ -0,0 +1 @@
+1 1 2 2
diff --git a/public_test_cases/p02634/input.1.txt b/public_test_cases/p02634/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c62ce008e71a858b2da2e134fa1d61f04e5e617
--- /dev/null
+++ b/public_test_cases/p02634/input.1.txt
@@ -0,0 +1 @@
+2 1 3 4
diff --git a/public_test_cases/p02634/input.2.txt b/public_test_cases/p02634/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a1fc1a52b89b5268cce7a9f6407311411fc14f4
--- /dev/null
+++ b/public_test_cases/p02634/input.2.txt
@@ -0,0 +1 @@
+31 41 59 265
diff --git a/public_test_cases/p02634/input.3.txt b/public_test_cases/p02634/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1409b1c7c807c83489d56f470457810e6c246c59
--- /dev/null
+++ b/public_test_cases/p02634/input.3.txt
@@ -0,0 +1 @@
+1 1 2 2
diff --git a/public_test_cases/p02634/output.0.txt b/public_test_cases/p02634/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02634/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02634/output.1.txt b/public_test_cases/p02634/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1479e19b5fdf6c32d2eb41dad16203706f7d663d
--- /dev/null
+++ b/public_test_cases/p02634/output.1.txt
@@ -0,0 +1 @@
+65
diff --git a/public_test_cases/p02634/output.2.txt b/public_test_cases/p02634/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27fd9c696f3980f7b07b27647196363a6b22c19a
--- /dev/null
+++ b/public_test_cases/p02634/output.2.txt
@@ -0,0 +1 @@
+387222020
diff --git a/public_test_cases/p02634/output.3.txt b/public_test_cases/p02634/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02634/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02635/input.0.txt b/public_test_cases/p02635/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8c06e0cd4856cc52c286bd37154b1e5a1884fe6
--- /dev/null
+++ b/public_test_cases/p02635/input.0.txt
@@ -0,0 +1 @@
+0101 1
diff --git a/public_test_cases/p02635/input.1.txt b/public_test_cases/p02635/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8c06e0cd4856cc52c286bd37154b1e5a1884fe6
--- /dev/null
+++ b/public_test_cases/p02635/input.1.txt
@@ -0,0 +1 @@
+0101 1
diff --git a/public_test_cases/p02635/input.2.txt b/public_test_cases/p02635/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8d43f0c5c3eac0ff140dc6fd7dbc5f68342c0b9
--- /dev/null
+++ b/public_test_cases/p02635/input.2.txt
@@ -0,0 +1 @@
+01100110 2
diff --git a/public_test_cases/p02635/input.3.txt b/public_test_cases/p02635/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bbe1ed0cdb1286f985705bbf28f7ba0d356895c2
--- /dev/null
+++ b/public_test_cases/p02635/input.3.txt
@@ -0,0 +1 @@
+1101010010101101110111100011011111011000111101110101010010101010101 20
diff --git a/public_test_cases/p02635/output.0.txt b/public_test_cases/p02635/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02635/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02635/output.1.txt b/public_test_cases/p02635/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02635/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02635/output.2.txt b/public_test_cases/p02635/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02635/output.2.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02635/output.3.txt b/public_test_cases/p02635/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0226ea1332d406fe27dbfd37da78631f33f9043d
--- /dev/null
+++ b/public_test_cases/p02635/output.3.txt
@@ -0,0 +1 @@
+113434815
diff --git a/public_test_cases/p02636/input.0.txt b/public_test_cases/p02636/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..635047563b4812151aeb5e6c82ae10c2327932c1
--- /dev/null
+++ b/public_test_cases/p02636/input.0.txt
@@ -0,0 +1 @@
+0001
diff --git a/public_test_cases/p02636/input.1.txt b/public_test_cases/p02636/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5eadb09051a1187f8dda9214d83f1bf1acc7f897
--- /dev/null
+++ b/public_test_cases/p02636/input.1.txt
@@ -0,0 +1 @@
+110001
diff --git a/public_test_cases/p02636/input.2.txt b/public_test_cases/p02636/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4519f10860a6b0e09a785a39f01b9abd2ac63726
--- /dev/null
+++ b/public_test_cases/p02636/input.2.txt
@@ -0,0 +1 @@
+11101111011111000000000110000001111100011111000000001111111110000000111111111
diff --git a/public_test_cases/p02636/input.3.txt b/public_test_cases/p02636/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..635047563b4812151aeb5e6c82ae10c2327932c1
--- /dev/null
+++ b/public_test_cases/p02636/input.3.txt
@@ -0,0 +1 @@
+0001
diff --git a/public_test_cases/p02636/output.0.txt b/public_test_cases/p02636/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02636/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02636/output.1.txt b/public_test_cases/p02636/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p02636/output.1.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p02636/output.2.txt b/public_test_cases/p02636/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..156768d0c03c59bb730cc99aab1f3bdb1db257ed
--- /dev/null
+++ b/public_test_cases/p02636/output.2.txt
@@ -0,0 +1 @@
+697354558
diff --git a/public_test_cases/p02636/output.3.txt b/public_test_cases/p02636/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02636/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02637/input.0.txt b/public_test_cases/p02637/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b03af9bfb308f556b09e9921bb1f321abd14452c
--- /dev/null
+++ b/public_test_cases/p02637/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 4 3
diff --git a/public_test_cases/p02637/input.1.txt b/public_test_cases/p02637/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0236378dae5df00920c28688eddd435c2e5c08e6
--- /dev/null
+++ b/public_test_cases/p02637/input.1.txt
@@ -0,0 +1,2 @@
+5
+3 1 4 1 5
diff --git a/public_test_cases/p02637/input.2.txt b/public_test_cases/p02637/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b03af9bfb308f556b09e9921bb1f321abd14452c
--- /dev/null
+++ b/public_test_cases/p02637/input.2.txt
@@ -0,0 +1,2 @@
+3
+2 4 3
diff --git a/public_test_cases/p02637/input.3.txt b/public_test_cases/p02637/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49dd93c29c1bc0afa5614ac516da90bf17bb16ad
--- /dev/null
+++ b/public_test_cases/p02637/input.3.txt
@@ -0,0 +1,2 @@
+4
+3 2 3 2
diff --git a/public_test_cases/p02637/output.0.txt b/public_test_cases/p02637/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7400506fb4ff15db116d4be007ffd48f0f83b5e9
--- /dev/null
+++ b/public_test_cases/p02637/output.0.txt
@@ -0,0 +1 @@
+2 1 3 2 2 3 1 2 3
diff --git a/public_test_cases/p02637/output.1.txt b/public_test_cases/p02637/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02637/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02637/output.2.txt b/public_test_cases/p02637/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7400506fb4ff15db116d4be007ffd48f0f83b5e9
--- /dev/null
+++ b/public_test_cases/p02637/output.2.txt
@@ -0,0 +1 @@
+2 1 3 2 2 3 1 2 3
diff --git a/public_test_cases/p02637/output.3.txt b/public_test_cases/p02637/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4642df8464926ea83290e38b8c6342dd42f56945
--- /dev/null
+++ b/public_test_cases/p02637/output.3.txt
@@ -0,0 +1 @@
+1 2 3 4 1 3 1 2 4 3
diff --git a/public_test_cases/p02638/input.0.txt b/public_test_cases/p02638/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78420e9611b56cdaa7dc49b15e7f890fd8515dfd
--- /dev/null
+++ b/public_test_cases/p02638/input.0.txt
@@ -0,0 +1 @@
+4 3 998244353
diff --git a/public_test_cases/p02638/input.1.txt b/public_test_cases/p02638/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79a4a565c6803c1aeb4d4125112a8408edf42025
--- /dev/null
+++ b/public_test_cases/p02638/input.1.txt
@@ -0,0 +1 @@
+7 3 998244353
diff --git a/public_test_cases/p02638/input.2.txt b/public_test_cases/p02638/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5107f8eff25b4eaf6f937ceb4b8f6d91f6b4cfce
--- /dev/null
+++ b/public_test_cases/p02638/input.2.txt
@@ -0,0 +1 @@
+50 37 998244353
diff --git a/public_test_cases/p02638/input.3.txt b/public_test_cases/p02638/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78420e9611b56cdaa7dc49b15e7f890fd8515dfd
--- /dev/null
+++ b/public_test_cases/p02638/input.3.txt
@@ -0,0 +1 @@
+4 3 998244353
diff --git a/public_test_cases/p02638/output.0.txt b/public_test_cases/p02638/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b91e0e1f8dddaac700b51aa7a66f29fc135a02
--- /dev/null
+++ b/public_test_cases/p02638/output.0.txt
@@ -0,0 +1 @@
+56
diff --git a/public_test_cases/p02638/output.1.txt b/public_test_cases/p02638/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1708fb1ce41f448a900be7508aeaa82d6c4708a
--- /dev/null
+++ b/public_test_cases/p02638/output.1.txt
@@ -0,0 +1 @@
+720
diff --git a/public_test_cases/p02638/output.2.txt b/public_test_cases/p02638/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d20ec888cc0c25f11b4b2606e8e88c9b24531df9
--- /dev/null
+++ b/public_test_cases/p02638/output.2.txt
@@ -0,0 +1 @@
+495799508
diff --git a/public_test_cases/p02638/output.3.txt b/public_test_cases/p02638/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b91e0e1f8dddaac700b51aa7a66f29fc135a02
--- /dev/null
+++ b/public_test_cases/p02638/output.3.txt
@@ -0,0 +1 @@
+56
diff --git a/public_test_cases/p02639/input.0.txt b/public_test_cases/p02639/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad24b08601ff679ff2342d513229b5b0b6541d02
--- /dev/null
+++ b/public_test_cases/p02639/input.0.txt
@@ -0,0 +1 @@
+0 2 3 4 5
diff --git a/public_test_cases/p02639/output.0.txt b/public_test_cases/p02639/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02639/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02640/input.0.txt b/public_test_cases/p02640/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2dc2f56a9bc897dbf64266196e6173cc2a98edf
--- /dev/null
+++ b/public_test_cases/p02640/input.0.txt
@@ -0,0 +1 @@
+3 8
diff --git a/public_test_cases/p02640/input.1.txt b/public_test_cases/p02640/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p02640/input.1.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p02640/input.2.txt b/public_test_cases/p02640/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2dc2f56a9bc897dbf64266196e6173cc2a98edf
--- /dev/null
+++ b/public_test_cases/p02640/input.2.txt
@@ -0,0 +1 @@
+3 8
diff --git a/public_test_cases/p02640/input.3.txt b/public_test_cases/p02640/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11a0a477e642357dd32621e6bc2bb78f85075b57
--- /dev/null
+++ b/public_test_cases/p02640/input.3.txt
@@ -0,0 +1 @@
+2 100
diff --git a/public_test_cases/p02640/output.0.txt b/public_test_cases/p02640/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02640/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02640/output.1.txt b/public_test_cases/p02640/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02640/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02640/output.2.txt b/public_test_cases/p02640/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02640/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02640/output.3.txt b/public_test_cases/p02640/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02640/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02641/input.0.txt b/public_test_cases/p02641/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63c3c52dc94d52bf11457386c1b482566c927d14
--- /dev/null
+++ b/public_test_cases/p02641/input.0.txt
@@ -0,0 +1,2 @@
+6 5
+4 7 10 6 5
diff --git a/public_test_cases/p02641/input.1.txt b/public_test_cases/p02641/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63c3c52dc94d52bf11457386c1b482566c927d14
--- /dev/null
+++ b/public_test_cases/p02641/input.1.txt
@@ -0,0 +1,2 @@
+6 5
+4 7 10 6 5
diff --git a/public_test_cases/p02641/input.2.txt b/public_test_cases/p02641/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37432ec2ff4b098f6468135b01f7447ed1e05cf8
--- /dev/null
+++ b/public_test_cases/p02641/input.2.txt
@@ -0,0 +1,2 @@
+10 5
+4 7 10 6 5
diff --git a/public_test_cases/p02641/input.3.txt b/public_test_cases/p02641/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45d4794c122865f3d0b54adfddf0b0f30f96c4ff
--- /dev/null
+++ b/public_test_cases/p02641/input.3.txt
@@ -0,0 +1 @@
+100 0
diff --git a/public_test_cases/p02641/output.0.txt b/public_test_cases/p02641/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02641/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02641/output.1.txt b/public_test_cases/p02641/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02641/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02641/output.2.txt b/public_test_cases/p02641/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02641/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02641/output.3.txt b/public_test_cases/p02641/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02641/output.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02642/input.0.txt b/public_test_cases/p02642/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63225412ce9c48c68ed852a60067799cf90e3b39
--- /dev/null
+++ b/public_test_cases/p02642/input.0.txt
@@ -0,0 +1,2 @@
+5
+24 11 8 3 16
diff --git a/public_test_cases/p02642/input.1.txt b/public_test_cases/p02642/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63225412ce9c48c68ed852a60067799cf90e3b39
--- /dev/null
+++ b/public_test_cases/p02642/input.1.txt
@@ -0,0 +1,2 @@
+5
+24 11 8 3 16
diff --git a/public_test_cases/p02642/input.2.txt b/public_test_cases/p02642/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1ce297b6718163b87d6a01833200104a831c730
--- /dev/null
+++ b/public_test_cases/p02642/input.2.txt
@@ -0,0 +1,2 @@
+10
+33 18 45 28 8 19 89 86 2 4
diff --git a/public_test_cases/p02642/input.3.txt b/public_test_cases/p02642/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aed51c9aec99e106e034a27cb7cc39d8e11bbe8f
--- /dev/null
+++ b/public_test_cases/p02642/input.3.txt
@@ -0,0 +1,2 @@
+4
+5 5 5 5
diff --git a/public_test_cases/p02642/output.0.txt b/public_test_cases/p02642/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02642/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02642/output.1.txt b/public_test_cases/p02642/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02642/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02642/output.2.txt b/public_test_cases/p02642/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02642/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02642/output.3.txt b/public_test_cases/p02642/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02642/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02643/input.0.txt b/public_test_cases/p02643/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1999607bb4977772ceae3e3ac7bdedb837f40cdd
--- /dev/null
+++ b/public_test_cases/p02643/input.0.txt
@@ -0,0 +1,10 @@
+6 3
+8 1
+6 2
+9 3
+1 1
+2 2
+1 3
+4 3
+2 1
+1 2
diff --git a/public_test_cases/p02643/output.0.txt b/public_test_cases/p02643/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d0b1ba6307dcebd82758a559986eb9ec2237011
--- /dev/null
+++ b/public_test_cases/p02643/output.0.txt
@@ -0,0 +1,3 @@
+6
+2
+6
diff --git a/public_test_cases/p02644/input.0.txt b/public_test_cases/p02644/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c3112ecbd36db4d49a2d169f8edc35ebc19a86b
--- /dev/null
+++ b/public_test_cases/p02644/input.0.txt
@@ -0,0 +1,5 @@
+3 5 2
+3 2 3 4
+.....
+.@..@
+..@..
diff --git a/public_test_cases/p02644/input.1.txt b/public_test_cases/p02644/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c3112ecbd36db4d49a2d169f8edc35ebc19a86b
--- /dev/null
+++ b/public_test_cases/p02644/input.1.txt
@@ -0,0 +1,5 @@
+3 5 2
+3 2 3 4
+.....
+.@..@
+..@..
diff --git a/public_test_cases/p02644/input.2.txt b/public_test_cases/p02644/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9869982fd020594c6ccb63166b03fd24c93d3287
--- /dev/null
+++ b/public_test_cases/p02644/input.2.txt
@@ -0,0 +1,5 @@
+3 3 1
+2 1 2 3
+.@.
+.@.
+.@.
diff --git a/public_test_cases/p02644/input.3.txt b/public_test_cases/p02644/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4e613680fcfb69a30a582cb88eb88ec35d235fe
--- /dev/null
+++ b/public_test_cases/p02644/input.3.txt
@@ -0,0 +1,3 @@
+1 6 4
+1 1 1 6
+......
diff --git a/public_test_cases/p02644/output.0.txt b/public_test_cases/p02644/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02644/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02644/output.1.txt b/public_test_cases/p02644/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02644/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02644/output.2.txt b/public_test_cases/p02644/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02644/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02644/output.3.txt b/public_test_cases/p02644/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02644/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02645/input.0.txt b/public_test_cases/p02645/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e420516e269420197bb8d0fb615f30911f0c4212
--- /dev/null
+++ b/public_test_cases/p02645/input.0.txt
@@ -0,0 +1 @@
+takahashi
diff --git a/public_test_cases/p02645/input.1.txt b/public_test_cases/p02645/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1abf5467d03369658f3627455d26a14456b552fa
--- /dev/null
+++ b/public_test_cases/p02645/input.1.txt
@@ -0,0 +1 @@
+naohiro
diff --git a/public_test_cases/p02645/input.2.txt b/public_test_cases/p02645/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e420516e269420197bb8d0fb615f30911f0c4212
--- /dev/null
+++ b/public_test_cases/p02645/input.2.txt
@@ -0,0 +1 @@
+takahashi
diff --git a/public_test_cases/p02645/output.0.txt b/public_test_cases/p02645/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2caaa8bc32b9c3e6d8f27d64e5eb02633e8301e
--- /dev/null
+++ b/public_test_cases/p02645/output.0.txt
@@ -0,0 +1 @@
+tak
diff --git a/public_test_cases/p02645/output.1.txt b/public_test_cases/p02645/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca58d3e807df518abc910bbd0332ccae7c649386
--- /dev/null
+++ b/public_test_cases/p02645/output.1.txt
@@ -0,0 +1 @@
+nao
diff --git a/public_test_cases/p02645/output.2.txt b/public_test_cases/p02645/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2caaa8bc32b9c3e6d8f27d64e5eb02633e8301e
--- /dev/null
+++ b/public_test_cases/p02645/output.2.txt
@@ -0,0 +1 @@
+tak
diff --git a/public_test_cases/p02646/input.0.txt b/public_test_cases/p02646/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0ddba1906d2568ad1d71c59a85ccb6bfd75c46d
--- /dev/null
+++ b/public_test_cases/p02646/input.0.txt
@@ -0,0 +1,3 @@
+1 2
+3 1
+3
diff --git a/public_test_cases/p02646/input.1.txt b/public_test_cases/p02646/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f3332e48939e71657b319430d0d013a8a625bae
--- /dev/null
+++ b/public_test_cases/p02646/input.1.txt
@@ -0,0 +1,3 @@
+1 2
+3 3
+3
diff --git a/public_test_cases/p02646/input.2.txt b/public_test_cases/p02646/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a7e3a4fa4cd8ad6f2ce4254de3cd6cfde5daedb
--- /dev/null
+++ b/public_test_cases/p02646/input.2.txt
@@ -0,0 +1,3 @@
+1 2
+3 2
+3
diff --git a/public_test_cases/p02646/input.3.txt b/public_test_cases/p02646/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0ddba1906d2568ad1d71c59a85ccb6bfd75c46d
--- /dev/null
+++ b/public_test_cases/p02646/input.3.txt
@@ -0,0 +1,3 @@
+1 2
+3 1
+3
diff --git a/public_test_cases/p02646/output.0.txt b/public_test_cases/p02646/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p02646/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p02646/output.1.txt b/public_test_cases/p02646/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p02646/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p02646/output.2.txt b/public_test_cases/p02646/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p02646/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p02646/output.3.txt b/public_test_cases/p02646/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p02646/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p02647/input.0.txt b/public_test_cases/p02647/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecfc2e397225096d9e7d867497b982d27e9edb8a
--- /dev/null
+++ b/public_test_cases/p02647/input.0.txt
@@ -0,0 +1,2 @@
+5 1
+1 0 0 1 0
diff --git a/public_test_cases/p02647/input.1.txt b/public_test_cases/p02647/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecfc2e397225096d9e7d867497b982d27e9edb8a
--- /dev/null
+++ b/public_test_cases/p02647/input.1.txt
@@ -0,0 +1,2 @@
+5 1
+1 0 0 1 0
diff --git a/public_test_cases/p02647/input.2.txt b/public_test_cases/p02647/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8eac7e58ed8ad45be1228cfc7c9cf21934a1c60
--- /dev/null
+++ b/public_test_cases/p02647/input.2.txt
@@ -0,0 +1,2 @@
+5 2
+1 0 0 1 0
diff --git a/public_test_cases/p02647/output.0.txt b/public_test_cases/p02647/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cf86adc4f50f5a4eadb42e383712c737a335986
--- /dev/null
+++ b/public_test_cases/p02647/output.0.txt
@@ -0,0 +1 @@
+1 2 2 1 2
diff --git a/public_test_cases/p02647/output.1.txt b/public_test_cases/p02647/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cf86adc4f50f5a4eadb42e383712c737a335986
--- /dev/null
+++ b/public_test_cases/p02647/output.1.txt
@@ -0,0 +1 @@
+1 2 2 1 2
diff --git a/public_test_cases/p02647/output.2.txt b/public_test_cases/p02647/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4898fed7ee2e2329633fccbac8eb79ff0ff0fc34
--- /dev/null
+++ b/public_test_cases/p02647/output.2.txt
@@ -0,0 +1 @@
+3 3 4 4 3
diff --git a/public_test_cases/p02648/input.0.txt b/public_test_cases/p02648/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..541911adb543d8f0c0d942784acc0953935b9f5f
--- /dev/null
+++ b/public_test_cases/p02648/input.0.txt
@@ -0,0 +1,8 @@
+3
+1 2
+2 3
+3 4
+3
+1 1
+2 5
+3 5
diff --git a/public_test_cases/p02648/input.1.txt b/public_test_cases/p02648/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c329965fe4ed9f5c77872393c6c4af4fe16b046a
--- /dev/null
+++ b/public_test_cases/p02648/input.1.txt
@@ -0,0 +1,25 @@
+15
+123 119
+129 120
+132 112
+126 109
+118 103
+115 109
+102 100
+130 120
+105 105
+132 115
+104 102
+107 107
+127 116
+121 104
+121 115
+8
+8 234
+9 244
+10 226
+11 227
+12 240
+13 237
+14 206
+15 227
diff --git a/public_test_cases/p02648/input.2.txt b/public_test_cases/p02648/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..541911adb543d8f0c0d942784acc0953935b9f5f
--- /dev/null
+++ b/public_test_cases/p02648/input.2.txt
@@ -0,0 +1,8 @@
+3
+1 2
+2 3
+3 4
+3
+1 1
+2 5
+3 5
diff --git a/public_test_cases/p02648/output.0.txt b/public_test_cases/p02648/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34f748e1c217cd8eae5a7804cdc0222be96c0232
--- /dev/null
+++ b/public_test_cases/p02648/output.0.txt
@@ -0,0 +1,3 @@
+0
+3
+3
diff --git a/public_test_cases/p02648/output.1.txt b/public_test_cases/p02648/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b380444296d29dddadaa8fd441a0a57e8396a9bd
--- /dev/null
+++ b/public_test_cases/p02648/output.1.txt
@@ -0,0 +1,8 @@
+256
+255
+250
+247
+255
+259
+223
+253
diff --git a/public_test_cases/p02648/output.2.txt b/public_test_cases/p02648/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34f748e1c217cd8eae5a7804cdc0222be96c0232
--- /dev/null
+++ b/public_test_cases/p02648/output.2.txt
@@ -0,0 +1,3 @@
+0
+3
+3
diff --git a/public_test_cases/p02649/input.0.txt b/public_test_cases/p02649/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61db0f613f0208b69a8a7c928f26e8e450702249
--- /dev/null
+++ b/public_test_cases/p02649/input.0.txt
@@ -0,0 +1,2 @@
+3 3 0 3
+1 2 3
diff --git a/public_test_cases/p02649/input.1.txt b/public_test_cases/p02649/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61db0f613f0208b69a8a7c928f26e8e450702249
--- /dev/null
+++ b/public_test_cases/p02649/input.1.txt
@@ -0,0 +1,2 @@
+3 3 0 3
+1 2 3
diff --git a/public_test_cases/p02649/input.2.txt b/public_test_cases/p02649/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af80700b9bb95dbe385024d236dbf09213d845b4
--- /dev/null
+++ b/public_test_cases/p02649/input.2.txt
@@ -0,0 +1,2 @@
+5 3 1 7
+3 4 9 1 5
diff --git a/public_test_cases/p02649/input.3.txt b/public_test_cases/p02649/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56eb62f57b9668226d0b91fc51e49af1dc1056a5
--- /dev/null
+++ b/public_test_cases/p02649/input.3.txt
@@ -0,0 +1,2 @@
+5 4 0 15
+3 4 9 1 5
diff --git a/public_test_cases/p02649/output.0.txt b/public_test_cases/p02649/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02649/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02649/output.1.txt b/public_test_cases/p02649/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02649/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02649/output.2.txt b/public_test_cases/p02649/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02649/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02649/output.3.txt b/public_test_cases/p02649/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02649/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02650/input.0.txt b/public_test_cases/p02650/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bafe88d75575352861ed5f2a438df237bed39211
--- /dev/null
+++ b/public_test_cases/p02650/input.0.txt
@@ -0,0 +1 @@
+2 3 1
diff --git a/public_test_cases/p02650/input.1.txt b/public_test_cases/p02650/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bafe88d75575352861ed5f2a438df237bed39211
--- /dev/null
+++ b/public_test_cases/p02650/input.1.txt
@@ -0,0 +1 @@
+2 3 1
diff --git a/public_test_cases/p02650/input.2.txt b/public_test_cases/p02650/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a93b4836e343f6ce0eaac00079e80641de00fd1
--- /dev/null
+++ b/public_test_cases/p02650/input.2.txt
@@ -0,0 +1 @@
+100 100 1000
diff --git a/public_test_cases/p02650/input.3.txt b/public_test_cases/p02650/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6df4d3d24c3ddf4b447b03d9980579b8df2b3139
--- /dev/null
+++ b/public_test_cases/p02650/input.3.txt
@@ -0,0 +1 @@
+5 4 5
diff --git a/public_test_cases/p02650/output.0.txt b/public_test_cases/p02650/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02650/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02650/output.1.txt b/public_test_cases/p02650/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02650/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02650/output.2.txt b/public_test_cases/p02650/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..693db006a0e91d8dbe072cc36f00ba8e0fe9085b
--- /dev/null
+++ b/public_test_cases/p02650/output.2.txt
@@ -0,0 +1 @@
+461316
diff --git a/public_test_cases/p02650/output.3.txt b/public_test_cases/p02650/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94361d49fd91ff9629fe80ddd10a5cb5581cbb0d
--- /dev/null
+++ b/public_test_cases/p02650/output.3.txt
@@ -0,0 +1 @@
+132
diff --git a/public_test_cases/p02651/input.0.txt b/public_test_cases/p02651/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba9048c07a40f4cc5b30d4b16451326fe44a92a8
--- /dev/null
+++ b/public_test_cases/p02651/input.0.txt
@@ -0,0 +1,10 @@
+3
+2
+1 2
+10
+2
+1 1
+10
+6
+2 3 4 5 6 7
+111000
diff --git a/public_test_cases/p02651/input.1.txt b/public_test_cases/p02651/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba9048c07a40f4cc5b30d4b16451326fe44a92a8
--- /dev/null
+++ b/public_test_cases/p02651/input.1.txt
@@ -0,0 +1,10 @@
+3
+2
+1 2
+10
+2
+1 1
+10
+6
+2 3 4 5 6 7
+111000
diff --git a/public_test_cases/p02651/output.0.txt b/public_test_cases/p02651/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e22493782f088a61eee427426ee46732c94f5238
--- /dev/null
+++ b/public_test_cases/p02651/output.0.txt
@@ -0,0 +1,3 @@
+1
+0
+0
diff --git a/public_test_cases/p02651/output.1.txt b/public_test_cases/p02651/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e22493782f088a61eee427426ee46732c94f5238
--- /dev/null
+++ b/public_test_cases/p02651/output.1.txt
@@ -0,0 +1,3 @@
+1
+0
+0
diff --git a/public_test_cases/p02652/input.0.txt b/public_test_cases/p02652/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9056ac75f1803f8885d551335384830b682f01f5
--- /dev/null
+++ b/public_test_cases/p02652/input.0.txt
@@ -0,0 +1 @@
+0??
diff --git a/public_test_cases/p02652/input.1.txt b/public_test_cases/p02652/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..173e7628ed38b22420ef40bee7773fb1e876130d
--- /dev/null
+++ b/public_test_cases/p02652/input.1.txt
@@ -0,0 +1 @@
+??00????0??0????0?0??00??1???11?1?1???1?11?111???1
diff --git a/public_test_cases/p02652/input.2.txt b/public_test_cases/p02652/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91aa0938476a75e2ace78c9e5066a12356eca9a3
--- /dev/null
+++ b/public_test_cases/p02652/input.2.txt
@@ -0,0 +1 @@
+0??0
diff --git a/public_test_cases/p02652/input.3.txt b/public_test_cases/p02652/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9056ac75f1803f8885d551335384830b682f01f5
--- /dev/null
+++ b/public_test_cases/p02652/input.3.txt
@@ -0,0 +1 @@
+0??
diff --git a/public_test_cases/p02652/output.0.txt b/public_test_cases/p02652/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02652/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02652/output.1.txt b/public_test_cases/p02652/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02652/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02652/output.2.txt b/public_test_cases/p02652/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02652/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02652/output.3.txt b/public_test_cases/p02652/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02652/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02653/input.0.txt b/public_test_cases/p02653/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce28b14c5fb7efa72f16989b86cbeb028ae8ca88
--- /dev/null
+++ b/public_test_cases/p02653/input.0.txt
@@ -0,0 +1 @@
+4 2 3
diff --git a/public_test_cases/p02653/input.1.txt b/public_test_cases/p02653/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce28b14c5fb7efa72f16989b86cbeb028ae8ca88
--- /dev/null
+++ b/public_test_cases/p02653/input.1.txt
@@ -0,0 +1 @@
+4 2 3
diff --git a/public_test_cases/p02653/input.2.txt b/public_test_cases/p02653/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36b3f3f686efd482d755256fcae19a5cd81f4f7f
--- /dev/null
+++ b/public_test_cases/p02653/input.2.txt
@@ -0,0 +1 @@
+10 7 2
diff --git a/public_test_cases/p02653/input.3.txt b/public_test_cases/p02653/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b9805aa15277dfdb7ee0c0dec4baffceae8c716
--- /dev/null
+++ b/public_test_cases/p02653/input.3.txt
@@ -0,0 +1 @@
+1000 100 10
diff --git a/public_test_cases/p02653/output.0.txt b/public_test_cases/p02653/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02653/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02653/output.1.txt b/public_test_cases/p02653/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02653/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02653/output.2.txt b/public_test_cases/p02653/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..910fbe3bdd220018a099036b5b3b7069b7d312f3
--- /dev/null
+++ b/public_test_cases/p02653/output.2.txt
@@ -0,0 +1 @@
+533
diff --git a/public_test_cases/p02653/output.3.txt b/public_test_cases/p02653/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00430ebb81dee5770ba0b3931f96497fc6bd938
--- /dev/null
+++ b/public_test_cases/p02653/output.3.txt
@@ -0,0 +1 @@
+828178524
diff --git a/public_test_cases/p02654/input.0.txt b/public_test_cases/p02654/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p02654/input.0.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p02654/input.1.txt b/public_test_cases/p02654/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p02654/input.1.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p02654/input.2.txt b/public_test_cases/p02654/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02654/input.2.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02654/input.3.txt b/public_test_cases/p02654/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18bc02678d193629d8fd901fd613aa2668086a88
--- /dev/null
+++ b/public_test_cases/p02654/input.3.txt
@@ -0,0 +1 @@
+8 4
diff --git a/public_test_cases/p02654/input.4.txt b/public_test_cases/p02654/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a2f082baadc9101ae31976f6070174096e8a9d3
--- /dev/null
+++ b/public_test_cases/p02654/input.4.txt
@@ -0,0 +1 @@
+9999999 4999
diff --git a/public_test_cases/p02654/output.0.txt b/public_test_cases/p02654/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02654/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02654/output.1.txt b/public_test_cases/p02654/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02654/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02654/output.2.txt b/public_test_cases/p02654/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02654/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02654/output.3.txt b/public_test_cases/p02654/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9557d41903e69f02f1022a354ebd64e18c0da82
--- /dev/null
+++ b/public_test_cases/p02654/output.3.txt
@@ -0,0 +1 @@
+16776
diff --git a/public_test_cases/p02654/output.4.txt b/public_test_cases/p02654/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6be59f61f9483f20576f0adf8174c36055314c37
--- /dev/null
+++ b/public_test_cases/p02654/output.4.txt
@@ -0,0 +1 @@
+90395416
diff --git a/public_test_cases/p02655/input.0.txt b/public_test_cases/p02655/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf635687be6a5b02dd1c2f5912bfdf5357872fec
--- /dev/null
+++ b/public_test_cases/p02655/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+2 1 1
+1 3 2
diff --git a/public_test_cases/p02655/input.1.txt b/public_test_cases/p02655/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf635687be6a5b02dd1c2f5912bfdf5357872fec
--- /dev/null
+++ b/public_test_cases/p02655/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+2 1 1
+1 3 2
diff --git a/public_test_cases/p02655/input.2.txt b/public_test_cases/p02655/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..840397fa54005456e19b06911facbc1c095b8a33
--- /dev/null
+++ b/public_test_cases/p02655/input.2.txt
@@ -0,0 +1,2 @@
+1 1
+1 1 1
diff --git a/public_test_cases/p02655/input.3.txt b/public_test_cases/p02655/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14a08ad68b20fee28c83a586cdc42f957e4a7614
--- /dev/null
+++ b/public_test_cases/p02655/input.3.txt
@@ -0,0 +1,3 @@
+2 2
+1 2 1
+2 1 1
diff --git a/public_test_cases/p02655/input.4.txt b/public_test_cases/p02655/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee7d35687de1b593489a664ce2c1efe17aed4ce9
--- /dev/null
+++ b/public_test_cases/p02655/input.4.txt
@@ -0,0 +1,6 @@
+5 5
+1 2 1
+2 1 1
+1 3 2
+4 5 1
+5 4 1
diff --git a/public_test_cases/p02655/output.0.txt b/public_test_cases/p02655/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02655/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02655/output.1.txt b/public_test_cases/p02655/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02655/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02655/output.2.txt b/public_test_cases/p02655/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02655/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02655/output.3.txt b/public_test_cases/p02655/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02655/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02655/output.4.txt b/public_test_cases/p02655/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02655/output.4.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02656/input.0.txt b/public_test_cases/p02656/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca3391758e69f72712026250f3aaa5cfe27b6c4a
--- /dev/null
+++ b/public_test_cases/p02656/input.0.txt
@@ -0,0 +1,4 @@
+3
+3 3 4 4 5
+2 1 1 5 3
+3 1 4 2 5
diff --git a/public_test_cases/p02656/input.1.txt b/public_test_cases/p02656/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca3391758e69f72712026250f3aaa5cfe27b6c4a
--- /dev/null
+++ b/public_test_cases/p02656/input.1.txt
@@ -0,0 +1,4 @@
+3
+3 3 4 4 5
+2 1 1 5 3
+3 1 4 2 5
diff --git a/public_test_cases/p02656/output.0.txt b/public_test_cases/p02656/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..073f6a1f4553b50607f473c89c54ef74adab11c4
--- /dev/null
+++ b/public_test_cases/p02656/output.0.txt
@@ -0,0 +1,3 @@
+2
+2
+0
diff --git a/public_test_cases/p02656/output.1.txt b/public_test_cases/p02656/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..073f6a1f4553b50607f473c89c54ef74adab11c4
--- /dev/null
+++ b/public_test_cases/p02656/output.1.txt
@@ -0,0 +1,3 @@
+2
+2
+0
diff --git a/public_test_cases/p02657/input.0.txt b/public_test_cases/p02657/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p02657/input.0.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p02657/input.1.txt b/public_test_cases/p02657/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p02657/input.1.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p02657/input.2.txt b/public_test_cases/p02657/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9732b55455bca575261eac1a6a7082c96223368d
--- /dev/null
+++ b/public_test_cases/p02657/input.2.txt
@@ -0,0 +1 @@
+100 100
diff --git a/public_test_cases/p02657/output.0.txt b/public_test_cases/p02657/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02657/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02657/output.1.txt b/public_test_cases/p02657/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02657/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02657/output.2.txt b/public_test_cases/p02657/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5caff40c4a0ce4ed0dcb3aa983da623641af1b06
--- /dev/null
+++ b/public_test_cases/p02657/output.2.txt
@@ -0,0 +1 @@
+10000
diff --git a/public_test_cases/p02658/input.0.txt b/public_test_cases/p02658/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..958790da0178594a1d5db96f99abc60a97971d89
--- /dev/null
+++ b/public_test_cases/p02658/input.0.txt
@@ -0,0 +1,2 @@
+2
+1000000000 1000000000
diff --git a/public_test_cases/p02658/input.1.txt b/public_test_cases/p02658/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa338a9b97778811fbe3e8f28861af4a3a20d764
--- /dev/null
+++ b/public_test_cases/p02658/input.1.txt
@@ -0,0 +1,2 @@
+3
+101 9901 999999000001
diff --git a/public_test_cases/p02658/input.2.txt b/public_test_cases/p02658/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..958790da0178594a1d5db96f99abc60a97971d89
--- /dev/null
+++ b/public_test_cases/p02658/input.2.txt
@@ -0,0 +1,2 @@
+2
+1000000000 1000000000
diff --git a/public_test_cases/p02658/input.3.txt b/public_test_cases/p02658/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9dc47b040b25636f53758fd0512363519357b426
--- /dev/null
+++ b/public_test_cases/p02658/input.3.txt
@@ -0,0 +1,2 @@
+31
+4 1 5 9 2 6 5 3 5 8 9 7 9 3 2 3 8 4 6 2 6 4 3 3 8 3 2 7 9 5 0
diff --git a/public_test_cases/p02658/output.0.txt b/public_test_cases/p02658/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a4149f568ebd1c601c9657a0e51a097d0c2703
--- /dev/null
+++ b/public_test_cases/p02658/output.0.txt
@@ -0,0 +1 @@
+1000000000000000000
diff --git a/public_test_cases/p02658/output.1.txt b/public_test_cases/p02658/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02658/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02658/output.2.txt b/public_test_cases/p02658/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a4149f568ebd1c601c9657a0e51a097d0c2703
--- /dev/null
+++ b/public_test_cases/p02658/output.2.txt
@@ -0,0 +1 @@
+1000000000000000000
diff --git a/public_test_cases/p02658/output.3.txt b/public_test_cases/p02658/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02658/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02659/input.0.txt b/public_test_cases/p02659/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a25fce5a60aae7477a3d03b41a893e68e0175c56
--- /dev/null
+++ b/public_test_cases/p02659/input.0.txt
@@ -0,0 +1 @@
+198 1.10
diff --git a/public_test_cases/p02659/input.1.txt b/public_test_cases/p02659/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6836fcb1a73747262f8183e48fc7b8afce55d557
--- /dev/null
+++ b/public_test_cases/p02659/input.1.txt
@@ -0,0 +1 @@
+1000000000000000 9.99
diff --git a/public_test_cases/p02659/input.2.txt b/public_test_cases/p02659/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2a381a5304929fbafde87bad2100932bbd0a780
--- /dev/null
+++ b/public_test_cases/p02659/input.2.txt
@@ -0,0 +1 @@
+1 0.01
diff --git a/public_test_cases/p02659/input.3.txt b/public_test_cases/p02659/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a25fce5a60aae7477a3d03b41a893e68e0175c56
--- /dev/null
+++ b/public_test_cases/p02659/input.3.txt
@@ -0,0 +1 @@
+198 1.10
diff --git a/public_test_cases/p02659/output.0.txt b/public_test_cases/p02659/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ddd619ce324e5504d2b8485e18bded06360cc35
--- /dev/null
+++ b/public_test_cases/p02659/output.0.txt
@@ -0,0 +1 @@
+217
diff --git a/public_test_cases/p02659/output.1.txt b/public_test_cases/p02659/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38fbcc95013f213ddc698a7c620782340dfd0f1b
--- /dev/null
+++ b/public_test_cases/p02659/output.1.txt
@@ -0,0 +1 @@
+9990000000000000
diff --git a/public_test_cases/p02659/output.2.txt b/public_test_cases/p02659/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02659/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02659/output.3.txt b/public_test_cases/p02659/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ddd619ce324e5504d2b8485e18bded06360cc35
--- /dev/null
+++ b/public_test_cases/p02659/output.3.txt
@@ -0,0 +1 @@
+217
diff --git a/public_test_cases/p02660/input.0.txt b/public_test_cases/p02660/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p02660/input.0.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p02660/input.1.txt b/public_test_cases/p02660/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1501caaab3fd24cb4dbb9b42270fc8a07edb389d
--- /dev/null
+++ b/public_test_cases/p02660/input.1.txt
@@ -0,0 +1 @@
+997764507000
diff --git a/public_test_cases/p02660/input.2.txt b/public_test_cases/p02660/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02660/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02660/input.3.txt b/public_test_cases/p02660/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6faa9c9d6e7bf9bf3e68e8b43b085dd9e59f8f25
--- /dev/null
+++ b/public_test_cases/p02660/input.3.txt
@@ -0,0 +1 @@
+1000000007
diff --git a/public_test_cases/p02660/input.4.txt b/public_test_cases/p02660/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p02660/input.4.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p02660/input.5.txt b/public_test_cases/p02660/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p02660/input.5.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p02660/output.0.txt b/public_test_cases/p02660/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02660/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02660/output.1.txt b/public_test_cases/p02660/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02660/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02660/output.2.txt b/public_test_cases/p02660/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02660/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02660/output.3.txt b/public_test_cases/p02660/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02660/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02660/output.4.txt b/public_test_cases/p02660/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02660/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02660/output.5.txt b/public_test_cases/p02660/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02660/output.5.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02661/input.0.txt b/public_test_cases/p02661/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b748c75bb4ea25e912f969605091597490b9e01
--- /dev/null
+++ b/public_test_cases/p02661/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 2
+2 3
diff --git a/public_test_cases/p02661/input.1.txt b/public_test_cases/p02661/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..461135a422cd44043f6f18d751317a2b38ba159e
--- /dev/null
+++ b/public_test_cases/p02661/input.1.txt
@@ -0,0 +1,4 @@
+3
+100 100
+10 10000
+1 1000000000
diff --git a/public_test_cases/p02661/input.2.txt b/public_test_cases/p02661/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b748c75bb4ea25e912f969605091597490b9e01
--- /dev/null
+++ b/public_test_cases/p02661/input.2.txt
@@ -0,0 +1,3 @@
+2
+1 2
+2 3
diff --git a/public_test_cases/p02661/output.0.txt b/public_test_cases/p02661/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02661/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02661/output.1.txt b/public_test_cases/p02661/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c98046776faff65457a63da4b52fb2c77f430c41
--- /dev/null
+++ b/public_test_cases/p02661/output.1.txt
@@ -0,0 +1 @@
+9991
diff --git a/public_test_cases/p02661/output.2.txt b/public_test_cases/p02661/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02661/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02662/input.0.txt b/public_test_cases/p02662/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cfac9da29c4563d40b86107c4635d07f7b200c2
--- /dev/null
+++ b/public_test_cases/p02662/input.0.txt
@@ -0,0 +1,2 @@
+3 4
+2 2 4
diff --git a/public_test_cases/p02662/input.1.txt b/public_test_cases/p02662/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b484ef92ca890ff8d2558c090bcfc742f658059
--- /dev/null
+++ b/public_test_cases/p02662/input.1.txt
@@ -0,0 +1,2 @@
+5 8
+9 9 9 9 9
diff --git a/public_test_cases/p02662/input.2.txt b/public_test_cases/p02662/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cfac9da29c4563d40b86107c4635d07f7b200c2
--- /dev/null
+++ b/public_test_cases/p02662/input.2.txt
@@ -0,0 +1,2 @@
+3 4
+2 2 4
diff --git a/public_test_cases/p02662/input.3.txt b/public_test_cases/p02662/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e67e50d46739e1e9ffb6a9587cd74f3217a17eaa
--- /dev/null
+++ b/public_test_cases/p02662/input.3.txt
@@ -0,0 +1,2 @@
+10 10
+3 1 4 1 5 9 2 6 5 3
diff --git a/public_test_cases/p02662/output.0.txt b/public_test_cases/p02662/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02662/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02662/output.1.txt b/public_test_cases/p02662/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02662/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02662/output.2.txt b/public_test_cases/p02662/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02662/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02662/output.3.txt b/public_test_cases/p02662/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5fba7f86827c3d37848a6034ace7749fb453140
--- /dev/null
+++ b/public_test_cases/p02662/output.3.txt
@@ -0,0 +1 @@
+3296
diff --git a/public_test_cases/p02663/input.0.txt b/public_test_cases/p02663/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12827c1cef558443d8eaaae16feb77e7f246b920
--- /dev/null
+++ b/public_test_cases/p02663/input.0.txt
@@ -0,0 +1 @@
+10 0 15 0 30
diff --git a/public_test_cases/p02663/input.1.txt b/public_test_cases/p02663/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12827c1cef558443d8eaaae16feb77e7f246b920
--- /dev/null
+++ b/public_test_cases/p02663/input.1.txt
@@ -0,0 +1 @@
+10 0 15 0 30
diff --git a/public_test_cases/p02663/input.2.txt b/public_test_cases/p02663/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95347f9a0cd0a571a6d2da9e5dc94c345c233cb2
--- /dev/null
+++ b/public_test_cases/p02663/input.2.txt
@@ -0,0 +1 @@
+10 0 12 0 120
diff --git a/public_test_cases/p02663/output.0.txt b/public_test_cases/p02663/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67f3f23eca8eac181c5a0e2f8da2a535eba9f5a3
--- /dev/null
+++ b/public_test_cases/p02663/output.0.txt
@@ -0,0 +1 @@
+270
diff --git a/public_test_cases/p02663/output.1.txt b/public_test_cases/p02663/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67f3f23eca8eac181c5a0e2f8da2a535eba9f5a3
--- /dev/null
+++ b/public_test_cases/p02663/output.1.txt
@@ -0,0 +1 @@
+270
diff --git a/public_test_cases/p02663/output.2.txt b/public_test_cases/p02663/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02663/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02664/input.0.txt b/public_test_cases/p02664/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9762693f3e668d3d71ca9abf61ae66b8d43368c9
--- /dev/null
+++ b/public_test_cases/p02664/input.0.txt
@@ -0,0 +1 @@
+PD?D??P
diff --git a/public_test_cases/p02664/input.1.txt b/public_test_cases/p02664/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9762693f3e668d3d71ca9abf61ae66b8d43368c9
--- /dev/null
+++ b/public_test_cases/p02664/input.1.txt
@@ -0,0 +1 @@
+PD?D??P
diff --git a/public_test_cases/p02664/input.2.txt b/public_test_cases/p02664/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31589adfb9b799f87cd091778a3bc05a08646377
--- /dev/null
+++ b/public_test_cases/p02664/input.2.txt
@@ -0,0 +1 @@
+P?P?
diff --git a/public_test_cases/p02664/output.0.txt b/public_test_cases/p02664/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6687bb7508641056f91547de9933295590f64fdf
--- /dev/null
+++ b/public_test_cases/p02664/output.0.txt
@@ -0,0 +1 @@
+PDPDPDP
diff --git a/public_test_cases/p02664/output.1.txt b/public_test_cases/p02664/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6687bb7508641056f91547de9933295590f64fdf
--- /dev/null
+++ b/public_test_cases/p02664/output.1.txt
@@ -0,0 +1 @@
+PDPDPDP
diff --git a/public_test_cases/p02664/output.2.txt b/public_test_cases/p02664/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44ad9a5f3768df7961298c5c25eafe028773d16d
--- /dev/null
+++ b/public_test_cases/p02664/output.2.txt
@@ -0,0 +1 @@
+PDPD
diff --git a/public_test_cases/p02665/input.0.txt b/public_test_cases/p02665/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f4dc83d1b081d2982b97ec3efaa592e14fdae6e
--- /dev/null
+++ b/public_test_cases/p02665/input.0.txt
@@ -0,0 +1,2 @@
+3
+0 1 1 2
diff --git a/public_test_cases/p02665/input.1.txt b/public_test_cases/p02665/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96c1f393362ffd498576d09c4a70099d6c9da02b
--- /dev/null
+++ b/public_test_cases/p02665/input.1.txt
@@ -0,0 +1,2 @@
+4
+0 0 1 0 2
diff --git a/public_test_cases/p02665/input.2.txt b/public_test_cases/p02665/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f4dc83d1b081d2982b97ec3efaa592e14fdae6e
--- /dev/null
+++ b/public_test_cases/p02665/input.2.txt
@@ -0,0 +1,2 @@
+3
+0 1 1 2
diff --git a/public_test_cases/p02665/input.3.txt b/public_test_cases/p02665/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9413e1501225a94d9036518f3b624d7561963540
--- /dev/null
+++ b/public_test_cases/p02665/input.3.txt
@@ -0,0 +1,2 @@
+10
+0 0 1 1 2 3 5 8 13 21 34
diff --git a/public_test_cases/p02665/input.4.txt b/public_test_cases/p02665/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00fb619a2e9017d71163f7b5987c0f3fc8d4ad85
--- /dev/null
+++ b/public_test_cases/p02665/input.4.txt
@@ -0,0 +1,2 @@
+2
+0 3 1
diff --git a/public_test_cases/p02665/input.5.txt b/public_test_cases/p02665/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20478c63e5f63708f9e029bd32f2a98cf73cbd6b
--- /dev/null
+++ b/public_test_cases/p02665/input.5.txt
@@ -0,0 +1,2 @@
+1
+1 1
diff --git a/public_test_cases/p02665/output.0.txt b/public_test_cases/p02665/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02665/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02665/output.1.txt b/public_test_cases/p02665/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02665/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02665/output.2.txt b/public_test_cases/p02665/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02665/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02665/output.3.txt b/public_test_cases/p02665/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10b0c0dbc88781b180c5100d48bf19c4bbe4c4b4
--- /dev/null
+++ b/public_test_cases/p02665/output.3.txt
@@ -0,0 +1 @@
+264
diff --git a/public_test_cases/p02665/output.4.txt b/public_test_cases/p02665/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02665/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02665/output.5.txt b/public_test_cases/p02665/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02665/output.5.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02666/input.0.txt b/public_test_cases/p02666/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd6dc3cd48e7f82766747b8883acdb037d2b33e
--- /dev/null
+++ b/public_test_cases/p02666/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 1 -1 3
diff --git a/public_test_cases/p02666/input.1.txt b/public_test_cases/p02666/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecd6dc3cd48e7f82766747b8883acdb037d2b33e
--- /dev/null
+++ b/public_test_cases/p02666/input.1.txt
@@ -0,0 +1,2 @@
+4
+2 1 -1 3
diff --git a/public_test_cases/p02666/input.2.txt b/public_test_cases/p02666/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cd4f58526b6a547080920f1f04b3d3a58b80b1
--- /dev/null
+++ b/public_test_cases/p02666/input.2.txt
@@ -0,0 +1,2 @@
+2
+2 1
diff --git a/public_test_cases/p02666/input.3.txt b/public_test_cases/p02666/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d4723245789ebcd9b3484ba90f24de4784c5c1a
--- /dev/null
+++ b/public_test_cases/p02666/input.3.txt
@@ -0,0 +1,2 @@
+10
+2 6 9 -1 6 9 -1 -1 -1 -1
diff --git a/public_test_cases/p02666/output.0.txt b/public_test_cases/p02666/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02666/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02666/output.1.txt b/public_test_cases/p02666/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02666/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02666/output.2.txt b/public_test_cases/p02666/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02666/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02666/output.3.txt b/public_test_cases/p02666/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab54db12e3fe1628a93e28fa937a1db1d2e23751
--- /dev/null
+++ b/public_test_cases/p02666/output.3.txt
@@ -0,0 +1 @@
+527841
diff --git a/public_test_cases/p02667/input.0.txt b/public_test_cases/p02667/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f1e6aa1b1da556eb4bba41c501eaaf8fccf28e8
--- /dev/null
+++ b/public_test_cases/p02667/input.0.txt
@@ -0,0 +1 @@
+1101
diff --git a/public_test_cases/p02667/input.1.txt b/public_test_cases/p02667/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f1e6aa1b1da556eb4bba41c501eaaf8fccf28e8
--- /dev/null
+++ b/public_test_cases/p02667/input.1.txt
@@ -0,0 +1 @@
+1101
diff --git a/public_test_cases/p02667/input.2.txt b/public_test_cases/p02667/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e119817d4403fca10b6242592abb8c88de6dd945
--- /dev/null
+++ b/public_test_cases/p02667/input.2.txt
@@ -0,0 +1 @@
+0111101101
diff --git a/public_test_cases/p02667/output.0.txt b/public_test_cases/p02667/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02667/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02667/output.1.txt b/public_test_cases/p02667/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02667/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02667/output.2.txt b/public_test_cases/p02667/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p02667/output.2.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p02668/input.0.txt b/public_test_cases/p02668/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p02668/input.0.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p02668/input.1.txt b/public_test_cases/p02668/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c1492f7070afe8253310751e1273c2ea8084305
--- /dev/null
+++ b/public_test_cases/p02668/input.1.txt
@@ -0,0 +1 @@
+2020 530
diff --git a/public_test_cases/p02668/input.2.txt b/public_test_cases/p02668/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p02668/input.2.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p02668/output.0.txt b/public_test_cases/p02668/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec9163d78c530c9b0829d46e02a460165df99fd2
--- /dev/null
+++ b/public_test_cases/p02668/output.0.txt
@@ -0,0 +1 @@
+352
diff --git a/public_test_cases/p02668/output.1.txt b/public_test_cases/p02668/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5c39b5041c335cbc649fd0ef95fc1dfd8c9a60
--- /dev/null
+++ b/public_test_cases/p02668/output.1.txt
@@ -0,0 +1 @@
+823277409
diff --git a/public_test_cases/p02668/output.2.txt b/public_test_cases/p02668/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec9163d78c530c9b0829d46e02a460165df99fd2
--- /dev/null
+++ b/public_test_cases/p02668/output.2.txt
@@ -0,0 +1 @@
+352
diff --git a/public_test_cases/p02669/input.0.txt b/public_test_cases/p02669/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f997b43b8bf9ebeb0c93ecb030709dc9a064f86c
--- /dev/null
+++ b/public_test_cases/p02669/input.0.txt
@@ -0,0 +1,6 @@
+5
+11 1 2 4 8
+11 1 2 2 8
+32 10 8 5 4
+29384293847243 454353412 332423423 934923490 1
+900000000000000000 332423423 454353412 934923490 987654321
diff --git a/public_test_cases/p02669/input.1.txt b/public_test_cases/p02669/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f997b43b8bf9ebeb0c93ecb030709dc9a064f86c
--- /dev/null
+++ b/public_test_cases/p02669/input.1.txt
@@ -0,0 +1,6 @@
+5
+11 1 2 4 8
+11 1 2 2 8
+32 10 8 5 4
+29384293847243 454353412 332423423 934923490 1
+900000000000000000 332423423 454353412 934923490 987654321
diff --git a/public_test_cases/p02669/output.0.txt b/public_test_cases/p02669/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d86f79a930b1c2f373ef3bfaa4e9bcf0c6610a0a
--- /dev/null
+++ b/public_test_cases/p02669/output.0.txt
@@ -0,0 +1,5 @@
+20
+19
+26
+3821859835
+23441258666
diff --git a/public_test_cases/p02669/output.1.txt b/public_test_cases/p02669/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d86f79a930b1c2f373ef3bfaa4e9bcf0c6610a0a
--- /dev/null
+++ b/public_test_cases/p02669/output.1.txt
@@ -0,0 +1,5 @@
+20
+19
+26
+3821859835
+23441258666
diff --git a/public_test_cases/p02670/input.0.txt b/public_test_cases/p02670/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fa1dfb3b98054ceb2b157364b5e481a0bc5f155
--- /dev/null
+++ b/public_test_cases/p02670/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 3 7 9 5 4 8 6 2
diff --git a/public_test_cases/p02670/input.1.txt b/public_test_cases/p02670/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41af82aabf9fb996c92a9dc8e5598fef3739eb2f
--- /dev/null
+++ b/public_test_cases/p02670/input.1.txt
@@ -0,0 +1,2 @@
+4
+6 7 1 4 13 16 10 9 5 11 12 14 15 2 3 8
diff --git a/public_test_cases/p02670/input.2.txt b/public_test_cases/p02670/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a92657df9314c2770c77b4f9b62b0c771fe161be
--- /dev/null
+++ b/public_test_cases/p02670/input.2.txt
@@ -0,0 +1,2 @@
+6
+11 21 35 22 7 36 27 34 8 20 15 13 16 1 24 3 2 17 26 9 18 32 31 23 19 14 4 25 10 29 28 33 12 6 5 30
diff --git a/public_test_cases/p02670/input.3.txt b/public_test_cases/p02670/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fa1dfb3b98054ceb2b157364b5e481a0bc5f155
--- /dev/null
+++ b/public_test_cases/p02670/input.3.txt
@@ -0,0 +1,2 @@
+3
+1 3 7 9 5 4 8 6 2
diff --git a/public_test_cases/p02670/output.0.txt b/public_test_cases/p02670/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02670/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02670/output.1.txt b/public_test_cases/p02670/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02670/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02670/output.2.txt b/public_test_cases/p02670/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02670/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02670/output.3.txt b/public_test_cases/p02670/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02670/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02671/input.0.txt b/public_test_cases/p02671/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e96cb6aaa85eaac400bfc9eba4bad71df6b3d27c
--- /dev/null
+++ b/public_test_cases/p02671/input.0.txt
@@ -0,0 +1,2 @@
+1
+SRS
diff --git a/public_test_cases/p02671/input.1.txt b/public_test_cases/p02671/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..719da7aef4c104a49c0bcc759c7645992d3265b5
--- /dev/null
+++ b/public_test_cases/p02671/input.1.txt
@@ -0,0 +1,2 @@
+3
+SRSRRSRRRSRRRR
diff --git a/public_test_cases/p02671/input.2.txt b/public_test_cases/p02671/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7a17edfd0e28bbf5eeff0555880b10676310d6c
--- /dev/null
+++ b/public_test_cases/p02671/input.2.txt
@@ -0,0 +1,2 @@
+2
+RRSRSSSSR
diff --git a/public_test_cases/p02671/input.3.txt b/public_test_cases/p02671/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e96cb6aaa85eaac400bfc9eba4bad71df6b3d27c
--- /dev/null
+++ b/public_test_cases/p02671/input.3.txt
@@ -0,0 +1,2 @@
+1
+SRS
diff --git a/public_test_cases/p02671/output.0.txt b/public_test_cases/p02671/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73c24018a0866d8a224f58f77b2dc95913c24333
--- /dev/null
+++ b/public_test_cases/p02671/output.0.txt
@@ -0,0 +1 @@
+2 0 1
diff --git a/public_test_cases/p02671/output.1.txt b/public_test_cases/p02671/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d172f594b1f7a0993967745163ac8ac124462258
--- /dev/null
+++ b/public_test_cases/p02671/output.1.txt
@@ -0,0 +1 @@
+23 9 22 8 3 7 20 24 19 5 18 4 17 12 16 2 6 1 14 0 13 26 21 25 11 15 10
diff --git a/public_test_cases/p02671/output.2.txt b/public_test_cases/p02671/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72ad8858358be48b60ec2679a763163cc387d488
--- /dev/null
+++ b/public_test_cases/p02671/output.2.txt
@@ -0,0 +1 @@
+3 8 1 0 5 7 6 2 4
diff --git a/public_test_cases/p02671/output.3.txt b/public_test_cases/p02671/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73c24018a0866d8a224f58f77b2dc95913c24333
--- /dev/null
+++ b/public_test_cases/p02671/output.3.txt
@@ -0,0 +1 @@
+2 0 1
diff --git a/public_test_cases/p02673/input.0.txt b/public_test_cases/p02673/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc42edaf05a9f724be1840255d8583b479142e0
--- /dev/null
+++ b/public_test_cases/p02673/input.0.txt
@@ -0,0 +1,3 @@
+5
+4 2 6 3 5
+1 1 1 1 1
diff --git a/public_test_cases/p02673/input.1.txt b/public_test_cases/p02673/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df251e3c93a430bcaae52858a0cbd0a984865ef6
--- /dev/null
+++ b/public_test_cases/p02673/input.1.txt
@@ -0,0 +1,3 @@
+10
+470606482521 533212137322 116718867454 746976621474 457112271419 815899162072 641324977314 88281100571 9231169966 455007126951
+26 83 30 59 100 88 84 91 54 61
diff --git a/public_test_cases/p02673/input.2.txt b/public_test_cases/p02673/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bee5f16d14c950a78f8db36347f83cf77ae8bb2
--- /dev/null
+++ b/public_test_cases/p02673/input.2.txt
@@ -0,0 +1,3 @@
+14
+4839 5400 6231 5800 6001 5200 6350 7133 7986 8012 7537 7013 6477 5912
+34 54 61 32 52 61 21 43 65 12 45 21 1 4
diff --git a/public_test_cases/p02673/input.3.txt b/public_test_cases/p02673/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc42edaf05a9f724be1840255d8583b479142e0
--- /dev/null
+++ b/public_test_cases/p02673/input.3.txt
@@ -0,0 +1,3 @@
+5
+4 2 6 3 5
+1 1 1 1 1
diff --git a/public_test_cases/p02673/input.4.txt b/public_test_cases/p02673/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32e4be4e1423951469361f031aa2e64f9130f246
--- /dev/null
+++ b/public_test_cases/p02673/input.4.txt
@@ -0,0 +1,3 @@
+4
+100 0 100 0
+0 100 0 100
diff --git a/public_test_cases/p02673/output.0.txt b/public_test_cases/p02673/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6f8d723e9a8a9b3240af0c1d20ec09c0d27f588
--- /dev/null
+++ b/public_test_cases/p02673/output.0.txt
@@ -0,0 +1 @@
+4.700000000000
diff --git a/public_test_cases/p02673/output.1.txt b/public_test_cases/p02673/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80070d87a2b15a2f0fda18194fccd213bbcd9f2c
--- /dev/null
+++ b/public_test_cases/p02673/output.1.txt
@@ -0,0 +1 @@
+815899161079.400024414062
diff --git a/public_test_cases/p02673/output.2.txt b/public_test_cases/p02673/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a17c92380830246d3a246fa0502dd990ac74f5fc
--- /dev/null
+++ b/public_test_cases/p02673/output.2.txt
@@ -0,0 +1 @@
+7047.142857142857
diff --git a/public_test_cases/p02673/output.3.txt b/public_test_cases/p02673/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6f8d723e9a8a9b3240af0c1d20ec09c0d27f588
--- /dev/null
+++ b/public_test_cases/p02673/output.3.txt
@@ -0,0 +1 @@
+4.700000000000
diff --git a/public_test_cases/p02673/output.4.txt b/public_test_cases/p02673/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4a1229b0e7934be68753bfa0285c4f80ef5aff0
--- /dev/null
+++ b/public_test_cases/p02673/output.4.txt
@@ -0,0 +1 @@
+50.000000000000
diff --git a/public_test_cases/p02674/input.0.txt b/public_test_cases/p02674/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02674/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02674/input.1.txt b/public_test_cases/p02674/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..966414b6685a936ff70d8bcaa4def33cfe657e3e
--- /dev/null
+++ b/public_test_cases/p02674/input.1.txt
@@ -0,0 +1 @@
+123456789123456789
diff --git a/public_test_cases/p02674/input.2.txt b/public_test_cases/p02674/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02674/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02674/input.3.txt b/public_test_cases/p02674/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p02674/input.3.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p02674/input.4.txt b/public_test_cases/p02674/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02674/input.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02674/input.5.txt b/public_test_cases/p02674/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02674/input.5.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02674/input.6.txt b/public_test_cases/p02674/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02674/input.6.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02674/output.0.txt b/public_test_cases/p02674/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02674/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02674/output.1.txt b/public_test_cases/p02674/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02674/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02674/output.2.txt b/public_test_cases/p02674/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02674/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02674/output.3.txt b/public_test_cases/p02674/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02674/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02674/output.4.txt b/public_test_cases/p02674/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02674/output.4.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02674/output.5.txt b/public_test_cases/p02674/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02674/output.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02674/output.6.txt b/public_test_cases/p02674/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02674/output.6.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02675/input.0.txt b/public_test_cases/p02675/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p02675/input.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p02675/input.1.txt b/public_test_cases/p02675/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p02675/input.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p02675/input.2.txt b/public_test_cases/p02675/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02675/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02675/input.3.txt b/public_test_cases/p02675/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90afb3e998fd880687c5db3cfb3c166313f2483c
--- /dev/null
+++ b/public_test_cases/p02675/input.3.txt
@@ -0,0 +1 @@
+183
diff --git a/public_test_cases/p02675/output.0.txt b/public_test_cases/p02675/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1a7e04442dbca558d90ad615e0f91beb3d1e190
--- /dev/null
+++ b/public_test_cases/p02675/output.0.txt
@@ -0,0 +1 @@
+pon
diff --git a/public_test_cases/p02675/output.1.txt b/public_test_cases/p02675/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1a7e04442dbca558d90ad615e0f91beb3d1e190
--- /dev/null
+++ b/public_test_cases/p02675/output.1.txt
@@ -0,0 +1 @@
+pon
diff --git a/public_test_cases/p02675/output.2.txt b/public_test_cases/p02675/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e2055ed053a75b73ec0412c68791fbe9e9984fa
--- /dev/null
+++ b/public_test_cases/p02675/output.2.txt
@@ -0,0 +1 @@
+hon
diff --git a/public_test_cases/p02675/output.3.txt b/public_test_cases/p02675/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4db24d1f4931c5355f8199247a9dbd15648a9516
--- /dev/null
+++ b/public_test_cases/p02675/output.3.txt
@@ -0,0 +1 @@
+bon
diff --git a/public_test_cases/p02676/input.0.txt b/public_test_cases/p02676/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3ccc9620873bdca71e042cfefa2d87b21826a59
--- /dev/null
+++ b/public_test_cases/p02676/input.0.txt
@@ -0,0 +1,2 @@
+7
+nikoandsolstice
diff --git a/public_test_cases/p02676/input.1.txt b/public_test_cases/p02676/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3ccc9620873bdca71e042cfefa2d87b21826a59
--- /dev/null
+++ b/public_test_cases/p02676/input.1.txt
@@ -0,0 +1,2 @@
+7
+nikoandsolstice
diff --git a/public_test_cases/p02676/input.2.txt b/public_test_cases/p02676/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34dfceecc58c2524e872129885201e24c803eac5
--- /dev/null
+++ b/public_test_cases/p02676/input.2.txt
@@ -0,0 +1,2 @@
+40
+ferelibenterhominesidquodvoluntcredunt
diff --git a/public_test_cases/p02676/output.0.txt b/public_test_cases/p02676/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72743c769c0ca42b2bf6a30057895d9a5e9b5392
--- /dev/null
+++ b/public_test_cases/p02676/output.0.txt
@@ -0,0 +1 @@
+nikoand...
diff --git a/public_test_cases/p02676/output.1.txt b/public_test_cases/p02676/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72743c769c0ca42b2bf6a30057895d9a5e9b5392
--- /dev/null
+++ b/public_test_cases/p02676/output.1.txt
@@ -0,0 +1 @@
+nikoand...
diff --git a/public_test_cases/p02676/output.2.txt b/public_test_cases/p02676/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..050cab7d149081fa001809e9f56e152838acb472
--- /dev/null
+++ b/public_test_cases/p02676/output.2.txt
@@ -0,0 +1 @@
+ferelibenterhominesidquodvoluntcredunt
diff --git a/public_test_cases/p02677/input.0.txt b/public_test_cases/p02677/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a035b4e82b510b17bcf9f9fb98173aa2ae30f209
--- /dev/null
+++ b/public_test_cases/p02677/input.0.txt
@@ -0,0 +1 @@
+3 4 9 0
diff --git a/public_test_cases/p02677/input.1.txt b/public_test_cases/p02677/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a035b4e82b510b17bcf9f9fb98173aa2ae30f209
--- /dev/null
+++ b/public_test_cases/p02677/input.1.txt
@@ -0,0 +1 @@
+3 4 9 0
diff --git a/public_test_cases/p02677/input.2.txt b/public_test_cases/p02677/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a15cec702ed3eb00c995df3e10fd985955b87a6
--- /dev/null
+++ b/public_test_cases/p02677/input.2.txt
@@ -0,0 +1 @@
+3 4 10 40
diff --git a/public_test_cases/p02677/output.0.txt b/public_test_cases/p02677/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2531f31c2b7094733591f323d8b6a0d42f52e975
--- /dev/null
+++ b/public_test_cases/p02677/output.0.txt
@@ -0,0 +1 @@
+5.00000000000000000000
diff --git a/public_test_cases/p02677/output.1.txt b/public_test_cases/p02677/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2531f31c2b7094733591f323d8b6a0d42f52e975
--- /dev/null
+++ b/public_test_cases/p02677/output.1.txt
@@ -0,0 +1 @@
+5.00000000000000000000
diff --git a/public_test_cases/p02677/output.2.txt b/public_test_cases/p02677/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ff12406b24becde2842cc0f08ca0469a5f2265d
--- /dev/null
+++ b/public_test_cases/p02677/output.2.txt
@@ -0,0 +1 @@
+4.56425719433005567605
diff --git a/public_test_cases/p02678/input.0.txt b/public_test_cases/p02678/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5700e783c27d7925fec5f2034cb9923eae2b649f
--- /dev/null
+++ b/public_test_cases/p02678/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+3 4
+4 2
diff --git a/public_test_cases/p02678/input.1.txt b/public_test_cases/p02678/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e31b748ce69927f6ee9817c701f1c017e762a545
--- /dev/null
+++ b/public_test_cases/p02678/input.1.txt
@@ -0,0 +1,10 @@
+6 9
+3 4
+6 1
+2 4
+5 3
+4 6
+1 5
+6 2
+4 5
+5 6
diff --git a/public_test_cases/p02678/input.2.txt b/public_test_cases/p02678/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5700e783c27d7925fec5f2034cb9923eae2b649f
--- /dev/null
+++ b/public_test_cases/p02678/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+3 4
+4 2
diff --git a/public_test_cases/p02678/output.0.txt b/public_test_cases/p02678/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50249c40ced56eca4e702752968b467616a5541f
--- /dev/null
+++ b/public_test_cases/p02678/output.0.txt
@@ -0,0 +1,4 @@
+Yes
+1
+2
+2
diff --git a/public_test_cases/p02678/output.1.txt b/public_test_cases/p02678/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9768c815f1f3258858958f750322171e79402ef
--- /dev/null
+++ b/public_test_cases/p02678/output.1.txt
@@ -0,0 +1,6 @@
+Yes
+6
+5
+5
+1
+1
diff --git a/public_test_cases/p02678/output.2.txt b/public_test_cases/p02678/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50249c40ced56eca4e702752968b467616a5541f
--- /dev/null
+++ b/public_test_cases/p02678/output.2.txt
@@ -0,0 +1,4 @@
+Yes
+1
+2
+2
diff --git a/public_test_cases/p02679/input.0.txt b/public_test_cases/p02679/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84a90559df3e3d9b9c08d9ba730a80da97c153c3
--- /dev/null
+++ b/public_test_cases/p02679/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2
+-1 1
+2 -1
diff --git a/public_test_cases/p02679/input.1.txt b/public_test_cases/p02679/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84a90559df3e3d9b9c08d9ba730a80da97c153c3
--- /dev/null
+++ b/public_test_cases/p02679/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 2
+-1 1
+2 -1
diff --git a/public_test_cases/p02679/input.2.txt b/public_test_cases/p02679/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c80ed6a3b65c334b038dc5e32b5a274ce3ba63ee
--- /dev/null
+++ b/public_test_cases/p02679/input.2.txt
@@ -0,0 +1,11 @@
+10
+3 2
+3 2
+-1 1
+2 -1
+-3 -9
+-8 12
+7 7
+8 1
+8 2
+8 4
diff --git a/public_test_cases/p02679/output.0.txt b/public_test_cases/p02679/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02679/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02679/output.1.txt b/public_test_cases/p02679/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02679/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02679/output.2.txt b/public_test_cases/p02679/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf110299d8fe0fa514c8beba874de24711a44bfe
--- /dev/null
+++ b/public_test_cases/p02679/output.2.txt
@@ -0,0 +1 @@
+479
diff --git a/public_test_cases/p02680/input.0.txt b/public_test_cases/p02680/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d94d4ea24ba7a1a1fa70101692b04d3182ca328
--- /dev/null
+++ b/public_test_cases/p02680/input.0.txt
@@ -0,0 +1,12 @@
+5 6
+1 2 0
+0 1 1
+0 2 2
+-3 4 -1
+-2 6 3
+1 0 1
+0 1 2
+2 0 2
+-1 -4 5
+3 -2 4
+1 2 4
diff --git a/public_test_cases/p02680/input.1.txt b/public_test_cases/p02680/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26dc74ecb925412afa4b17310679c59b870c5f3c
--- /dev/null
+++ b/public_test_cases/p02680/input.1.txt
@@ -0,0 +1,8 @@
+6 1
+-3 -1 -2
+-3 -1 1
+-2 -1 2
+1 4 -2
+1 4 -1
+1 4 1
+3 1 4
diff --git a/public_test_cases/p02680/input.2.txt b/public_test_cases/p02680/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d94d4ea24ba7a1a1fa70101692b04d3182ca328
--- /dev/null
+++ b/public_test_cases/p02680/input.2.txt
@@ -0,0 +1,12 @@
+5 6
+1 2 0
+0 1 1
+0 2 2
+-3 4 -1
+-2 6 3
+1 0 1
+0 1 2
+2 0 2
+-1 -4 5
+3 -2 4
+1 2 4
diff --git a/public_test_cases/p02680/output.0.txt b/public_test_cases/p02680/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02680/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02680/output.1.txt b/public_test_cases/p02680/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..771404d0bcf5f089a5a3cac0e2acb23b5f3bda92
--- /dev/null
+++ b/public_test_cases/p02680/output.1.txt
@@ -0,0 +1 @@
+INF
diff --git a/public_test_cases/p02680/output.2.txt b/public_test_cases/p02680/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02680/output.2.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02681/input.0.txt b/public_test_cases/p02681/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d187e18c84e65cff3b1c886a13c825e747678577
--- /dev/null
+++ b/public_test_cases/p02681/input.0.txt
@@ -0,0 +1,2 @@
+chokudai
+chokudaiz
diff --git a/public_test_cases/p02681/input.1.txt b/public_test_cases/p02681/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..848058b698eab13edc4a3e56a00da9a852333fd5
--- /dev/null
+++ b/public_test_cases/p02681/input.1.txt
@@ -0,0 +1,2 @@
+snuke
+snekee
diff --git a/public_test_cases/p02681/input.2.txt b/public_test_cases/p02681/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..204dd92b61ad8d300efe79df681287af1074b3eb
--- /dev/null
+++ b/public_test_cases/p02681/input.2.txt
@@ -0,0 +1,2 @@
+a
+aa
diff --git a/public_test_cases/p02681/input.3.txt b/public_test_cases/p02681/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d187e18c84e65cff3b1c886a13c825e747678577
--- /dev/null
+++ b/public_test_cases/p02681/input.3.txt
@@ -0,0 +1,2 @@
+chokudai
+chokudaiz
diff --git a/public_test_cases/p02681/output.0.txt b/public_test_cases/p02681/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02681/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02681/output.1.txt b/public_test_cases/p02681/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02681/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02681/output.2.txt b/public_test_cases/p02681/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02681/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02681/output.3.txt b/public_test_cases/p02681/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02681/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02682/input.0.txt b/public_test_cases/p02682/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbb6fba7cacfc15382f98729a493a938f9ac0d8b
--- /dev/null
+++ b/public_test_cases/p02682/input.0.txt
@@ -0,0 +1 @@
+2 1 1 3
diff --git a/public_test_cases/p02682/input.1.txt b/public_test_cases/p02682/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a587c46ff65d6c901dcb6eec231d52ffd2735315
--- /dev/null
+++ b/public_test_cases/p02682/input.1.txt
@@ -0,0 +1 @@
+2000000000 0 0 2000000000
diff --git a/public_test_cases/p02682/input.2.txt b/public_test_cases/p02682/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93a48451c357d2efc0215caef8334af6b6b8dacf
--- /dev/null
+++ b/public_test_cases/p02682/input.2.txt
@@ -0,0 +1 @@
+1 2 3 4
diff --git a/public_test_cases/p02682/input.3.txt b/public_test_cases/p02682/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbb6fba7cacfc15382f98729a493a938f9ac0d8b
--- /dev/null
+++ b/public_test_cases/p02682/input.3.txt
@@ -0,0 +1 @@
+2 1 1 3
diff --git a/public_test_cases/p02682/output.0.txt b/public_test_cases/p02682/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02682/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02682/output.1.txt b/public_test_cases/p02682/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04b2646e30b0383d7bab169b05c1edc80feed7b0
--- /dev/null
+++ b/public_test_cases/p02682/output.1.txt
@@ -0,0 +1 @@
+2000000000
diff --git a/public_test_cases/p02682/output.2.txt b/public_test_cases/p02682/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02682/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02682/output.3.txt b/public_test_cases/p02682/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02682/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02683/input.0.txt b/public_test_cases/p02683/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef0a197bd2e3078723eedee8f0cc42bc6127cf85
--- /dev/null
+++ b/public_test_cases/p02683/input.0.txt
@@ -0,0 +1,4 @@
+3 3 10
+60 2 2 4
+70 8 7 9
+50 2 3 9
diff --git a/public_test_cases/p02683/input.1.txt b/public_test_cases/p02683/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fb66e95edfe90c13f88a08d33a8cc6aaa8db13c
--- /dev/null
+++ b/public_test_cases/p02683/input.1.txt
@@ -0,0 +1,4 @@
+3 3 10
+100 3 1 4
+100 1 5 9
+100 2 6 5
diff --git a/public_test_cases/p02683/input.2.txt b/public_test_cases/p02683/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef0a197bd2e3078723eedee8f0cc42bc6127cf85
--- /dev/null
+++ b/public_test_cases/p02683/input.2.txt
@@ -0,0 +1,4 @@
+3 3 10
+60 2 2 4
+70 8 7 9
+50 2 3 9
diff --git a/public_test_cases/p02683/input.3.txt b/public_test_cases/p02683/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a616e7b3701e5b034f16f36c8e62679f1125e0f7
--- /dev/null
+++ b/public_test_cases/p02683/input.3.txt
@@ -0,0 +1,9 @@
+8 5 22
+100 3 7 5 3 1
+164 4 5 2 7 8
+334 7 2 7 2 9
+234 4 7 2 8 2
+541 5 4 3 3 6
+235 4 8 6 9 7
+394 3 6 1 6 2
+872 8 4 3 7 2
diff --git a/public_test_cases/p02683/output.0.txt b/public_test_cases/p02683/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52bd8e43afb01d0c9747f1fedf2fc94684ee4cc4
--- /dev/null
+++ b/public_test_cases/p02683/output.0.txt
@@ -0,0 +1 @@
+120
diff --git a/public_test_cases/p02683/output.1.txt b/public_test_cases/p02683/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02683/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02683/output.2.txt b/public_test_cases/p02683/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52bd8e43afb01d0c9747f1fedf2fc94684ee4cc4
--- /dev/null
+++ b/public_test_cases/p02683/output.2.txt
@@ -0,0 +1 @@
+120
diff --git a/public_test_cases/p02683/output.3.txt b/public_test_cases/p02683/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ab2c45b32fd9a79ab9d7c0a8109b9e2df67178c
--- /dev/null
+++ b/public_test_cases/p02683/output.3.txt
@@ -0,0 +1 @@
+1067
diff --git a/public_test_cases/p02684/input.0.txt b/public_test_cases/p02684/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa3a7ae2bd2a227fa3895d210fa97cc04140e624
--- /dev/null
+++ b/public_test_cases/p02684/input.0.txt
@@ -0,0 +1,2 @@
+4 5
+3 2 4 1
diff --git a/public_test_cases/p02684/input.1.txt b/public_test_cases/p02684/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6671b210b3a2cc7dcd7180178eec157d26415492
--- /dev/null
+++ b/public_test_cases/p02684/input.1.txt
@@ -0,0 +1,2 @@
+6 727202214173249351
+6 5 2 5 3 2
diff --git a/public_test_cases/p02684/input.2.txt b/public_test_cases/p02684/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa3a7ae2bd2a227fa3895d210fa97cc04140e624
--- /dev/null
+++ b/public_test_cases/p02684/input.2.txt
@@ -0,0 +1,2 @@
+4 5
+3 2 4 1
diff --git a/public_test_cases/p02684/output.0.txt b/public_test_cases/p02684/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02684/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02684/output.1.txt b/public_test_cases/p02684/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02684/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02684/output.2.txt b/public_test_cases/p02684/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02684/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02685/input.0.txt b/public_test_cases/p02685/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d03090e700f3bac824c9d4299ee554a97e685319
--- /dev/null
+++ b/public_test_cases/p02685/input.0.txt
@@ -0,0 +1 @@
+3 2 1
diff --git a/public_test_cases/p02685/input.1.txt b/public_test_cases/p02685/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9f12c7f9240ddc0a7d00593777fec86cc90544a
--- /dev/null
+++ b/public_test_cases/p02685/input.1.txt
@@ -0,0 +1 @@
+100 100 0
diff --git a/public_test_cases/p02685/input.2.txt b/public_test_cases/p02685/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d03090e700f3bac824c9d4299ee554a97e685319
--- /dev/null
+++ b/public_test_cases/p02685/input.2.txt
@@ -0,0 +1 @@
+3 2 1
diff --git a/public_test_cases/p02685/input.3.txt b/public_test_cases/p02685/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ec1c4d276c3d0f9c889faaedb719866f2608878
--- /dev/null
+++ b/public_test_cases/p02685/input.3.txt
@@ -0,0 +1 @@
+60522 114575 7559
diff --git a/public_test_cases/p02685/output.0.txt b/public_test_cases/p02685/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02685/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02685/output.1.txt b/public_test_cases/p02685/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9267184d3919b4baa957bf5062400c5f0a5dcf1
--- /dev/null
+++ b/public_test_cases/p02685/output.1.txt
@@ -0,0 +1 @@
+73074801
diff --git a/public_test_cases/p02685/output.2.txt b/public_test_cases/p02685/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02685/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02685/output.3.txt b/public_test_cases/p02685/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..751db0bdbc735a25daaaa9a8f181d76b012e3c6d
--- /dev/null
+++ b/public_test_cases/p02685/output.3.txt
@@ -0,0 +1 @@
+479519525
diff --git a/public_test_cases/p02686/input.0.txt b/public_test_cases/p02686/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a3d84944080e213b66dd74883193f93fe0a71d5
--- /dev/null
+++ b/public_test_cases/p02686/input.0.txt
@@ -0,0 +1,3 @@
+2
+)
+(()
diff --git a/public_test_cases/p02686/input.1.txt b/public_test_cases/p02686/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8979491d432f30bc2dcbe2d3f816e4d2dddf7656
--- /dev/null
+++ b/public_test_cases/p02686/input.1.txt
@@ -0,0 +1,4 @@
+3
+(((
+)
+)
diff --git a/public_test_cases/p02686/input.2.txt b/public_test_cases/p02686/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a3d84944080e213b66dd74883193f93fe0a71d5
--- /dev/null
+++ b/public_test_cases/p02686/input.2.txt
@@ -0,0 +1,3 @@
+2
+)
+(()
diff --git a/public_test_cases/p02686/input.3.txt b/public_test_cases/p02686/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47c4278a731dc8a6e3d91d0cab8b78ed809a75bf
--- /dev/null
+++ b/public_test_cases/p02686/input.3.txt
@@ -0,0 +1,5 @@
+4
+((()))
+((((((
+))))))
+()()()
diff --git a/public_test_cases/p02686/input.4.txt b/public_test_cases/p02686/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63f5b7778b15a74935e000a864d19cb3bfce009c
--- /dev/null
+++ b/public_test_cases/p02686/input.4.txt
@@ -0,0 +1,3 @@
+2
+)(
+()
diff --git a/public_test_cases/p02686/output.0.txt b/public_test_cases/p02686/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02686/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02686/output.1.txt b/public_test_cases/p02686/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02686/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02686/output.2.txt b/public_test_cases/p02686/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02686/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02686/output.3.txt b/public_test_cases/p02686/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02686/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02686/output.4.txt b/public_test_cases/p02686/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02686/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02687/input.0.txt b/public_test_cases/p02687/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p02687/input.0.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p02687/input.1.txt b/public_test_cases/p02687/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p02687/input.1.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p02687/output.0.txt b/public_test_cases/p02687/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c4fba4f9ae03ed0aeddbb3fe0ff90f5684e90bb
--- /dev/null
+++ b/public_test_cases/p02687/output.0.txt
@@ -0,0 +1 @@
+ARC
diff --git a/public_test_cases/p02687/output.1.txt b/public_test_cases/p02687/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c4fba4f9ae03ed0aeddbb3fe0ff90f5684e90bb
--- /dev/null
+++ b/public_test_cases/p02687/output.1.txt
@@ -0,0 +1 @@
+ARC
diff --git a/public_test_cases/p02688/input.0.txt b/public_test_cases/p02688/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2207cc9f1f3d17c63d3b68ab24e5866b1b13fcd4
--- /dev/null
+++ b/public_test_cases/p02688/input.0.txt
@@ -0,0 +1,5 @@
+3 2
+2
+1 3
+1
+3
diff --git a/public_test_cases/p02688/input.1.txt b/public_test_cases/p02688/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2207cc9f1f3d17c63d3b68ab24e5866b1b13fcd4
--- /dev/null
+++ b/public_test_cases/p02688/input.1.txt
@@ -0,0 +1,5 @@
+3 2
+2
+1 3
+1
+3
diff --git a/public_test_cases/p02688/input.2.txt b/public_test_cases/p02688/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35125fe46ba718d35c0677cacee45db698b64532
--- /dev/null
+++ b/public_test_cases/p02688/input.2.txt
@@ -0,0 +1,7 @@
+3 3
+1
+3
+1
+3
+1
+3
diff --git a/public_test_cases/p02688/output.0.txt b/public_test_cases/p02688/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02688/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02688/output.1.txt b/public_test_cases/p02688/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02688/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02688/output.2.txt b/public_test_cases/p02688/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02688/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02689/input.0.txt b/public_test_cases/p02689/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9539c55ea4f88806a704877a477335ad46bfdeb
--- /dev/null
+++ b/public_test_cases/p02689/input.0.txt
@@ -0,0 +1,5 @@
+4 3
+1 2 3 4
+1 3
+2 3
+2 4
diff --git a/public_test_cases/p02689/input.1.txt b/public_test_cases/p02689/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40bab36dd24aac008bf9854d3a3adcb9dfccbf44
--- /dev/null
+++ b/public_test_cases/p02689/input.1.txt
@@ -0,0 +1,7 @@
+6 5
+8 6 9 1 2 1
+1 3
+4 2
+4 3
+4 6
+4 6
diff --git a/public_test_cases/p02689/input.2.txt b/public_test_cases/p02689/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9539c55ea4f88806a704877a477335ad46bfdeb
--- /dev/null
+++ b/public_test_cases/p02689/input.2.txt
@@ -0,0 +1,5 @@
+4 3
+1 2 3 4
+1 3
+2 3
+2 4
diff --git a/public_test_cases/p02689/output.0.txt b/public_test_cases/p02689/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02689/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02689/output.1.txt b/public_test_cases/p02689/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02689/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02689/output.2.txt b/public_test_cases/p02689/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02689/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02690/input.0.txt b/public_test_cases/p02690/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb95160cb6e07358f54a28a208ae41e69889c97b
--- /dev/null
+++ b/public_test_cases/p02690/input.0.txt
@@ -0,0 +1 @@
+33
diff --git a/public_test_cases/p02690/input.1.txt b/public_test_cases/p02690/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb95160cb6e07358f54a28a208ae41e69889c97b
--- /dev/null
+++ b/public_test_cases/p02690/input.1.txt
@@ -0,0 +1 @@
+33
diff --git a/public_test_cases/p02690/input.2.txt b/public_test_cases/p02690/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02690/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02690/output.0.txt b/public_test_cases/p02690/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97940c7da227c77fc90a20b71c0d766cf627d276
--- /dev/null
+++ b/public_test_cases/p02690/output.0.txt
@@ -0,0 +1 @@
+2 -1
diff --git a/public_test_cases/p02690/output.1.txt b/public_test_cases/p02690/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97940c7da227c77fc90a20b71c0d766cf627d276
--- /dev/null
+++ b/public_test_cases/p02690/output.1.txt
@@ -0,0 +1 @@
+2 -1
diff --git a/public_test_cases/p02690/output.2.txt b/public_test_cases/p02690/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93c924c21d3fed94b400b355dd0a3724a8e72e62
--- /dev/null
+++ b/public_test_cases/p02690/output.2.txt
@@ -0,0 +1 @@
+0 -1
diff --git a/public_test_cases/p02691/input.0.txt b/public_test_cases/p02691/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6608af98aebdddd93f07931d48501efd7f8faa01
--- /dev/null
+++ b/public_test_cases/p02691/input.0.txt
@@ -0,0 +1,2 @@
+6
+2 3 3 1 3 1
diff --git a/public_test_cases/p02691/input.1.txt b/public_test_cases/p02691/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29e4910366c46fae2c94367114a77e6f26ff010c
--- /dev/null
+++ b/public_test_cases/p02691/input.1.txt
@@ -0,0 +1,2 @@
+6
+5 2 4 2 8 8
diff --git a/public_test_cases/p02691/input.2.txt b/public_test_cases/p02691/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6608af98aebdddd93f07931d48501efd7f8faa01
--- /dev/null
+++ b/public_test_cases/p02691/input.2.txt
@@ -0,0 +1,2 @@
+6
+2 3 3 1 3 1
diff --git a/public_test_cases/p02691/input.3.txt b/public_test_cases/p02691/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcd001515a1dacc5f4c187e561beb70d3f324afd
--- /dev/null
+++ b/public_test_cases/p02691/input.3.txt
@@ -0,0 +1,2 @@
+32
+3 1 4 1 5 9 2 6 5 3 5 8 9 7 9 3 2 3 8 4 6 2 6 4 3 3 8 3 2 7 9 5
diff --git a/public_test_cases/p02691/output.0.txt b/public_test_cases/p02691/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02691/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02691/output.1.txt b/public_test_cases/p02691/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02691/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02691/output.2.txt b/public_test_cases/p02691/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02691/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02691/output.3.txt b/public_test_cases/p02691/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p02691/output.3.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p02692/input.0.txt b/public_test_cases/p02692/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11fcd44f553a3d0d00248e5f7fda962a7f9919be
--- /dev/null
+++ b/public_test_cases/p02692/input.0.txt
@@ -0,0 +1,3 @@
+2 1 3 0
+AB
+AC
diff --git a/public_test_cases/p02692/input.1.txt b/public_test_cases/p02692/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11fcd44f553a3d0d00248e5f7fda962a7f9919be
--- /dev/null
+++ b/public_test_cases/p02692/input.1.txt
@@ -0,0 +1,3 @@
+2 1 3 0
+AB
+AC
diff --git a/public_test_cases/p02692/input.2.txt b/public_test_cases/p02692/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30ca731e9b0580c1d11a152e6fbeb48f71c32805
--- /dev/null
+++ b/public_test_cases/p02692/input.2.txt
@@ -0,0 +1,2 @@
+1 0 9 0
+AC
diff --git a/public_test_cases/p02692/input.3.txt b/public_test_cases/p02692/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df041887b3f09e69356bf6b878e37c68073a9a9
--- /dev/null
+++ b/public_test_cases/p02692/input.3.txt
@@ -0,0 +1,9 @@
+8 6 9 1
+AC
+BC
+AB
+BC
+AC
+BC
+AB
+AB
diff --git a/public_test_cases/p02692/input.4.txt b/public_test_cases/p02692/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e96a801b9ae19f90e7acbbeef1208beb2db5bc76
--- /dev/null
+++ b/public_test_cases/p02692/input.4.txt
@@ -0,0 +1,4 @@
+3 1 0 0
+AB
+BC
+AB
diff --git a/public_test_cases/p02692/output.0.txt b/public_test_cases/p02692/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b9e7bb14c2471c996e1ca0392687afa835e55b4
--- /dev/null
+++ b/public_test_cases/p02692/output.0.txt
@@ -0,0 +1,3 @@
+Yes
+A
+C
diff --git a/public_test_cases/p02692/output.1.txt b/public_test_cases/p02692/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b9e7bb14c2471c996e1ca0392687afa835e55b4
--- /dev/null
+++ b/public_test_cases/p02692/output.1.txt
@@ -0,0 +1,3 @@
+Yes
+A
+C
diff --git a/public_test_cases/p02692/output.2.txt b/public_test_cases/p02692/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02692/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02692/output.3.txt b/public_test_cases/p02692/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbd32d89d5bc10b9f3225a7df1870c52e87f1408
--- /dev/null
+++ b/public_test_cases/p02692/output.3.txt
@@ -0,0 +1,9 @@
+Yes
+C
+B
+B
+C
+C
+B
+A
+A
diff --git a/public_test_cases/p02692/output.4.txt b/public_test_cases/p02692/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02692/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02693/input.0.txt b/public_test_cases/p02693/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc6ce23dccde62c58c285439c23e372966c92ddc
--- /dev/null
+++ b/public_test_cases/p02693/input.0.txt
@@ -0,0 +1,2 @@
+7
+500 600
diff --git a/public_test_cases/p02693/input.1.txt b/public_test_cases/p02693/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64814032b4ffde9efce32e9b3327ca640a7358b5
--- /dev/null
+++ b/public_test_cases/p02693/input.1.txt
@@ -0,0 +1,2 @@
+4
+5 7
diff --git a/public_test_cases/p02693/input.2.txt b/public_test_cases/p02693/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc6ce23dccde62c58c285439c23e372966c92ddc
--- /dev/null
+++ b/public_test_cases/p02693/input.2.txt
@@ -0,0 +1,2 @@
+7
+500 600
diff --git a/public_test_cases/p02693/input.3.txt b/public_test_cases/p02693/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6472354683058e5f0a3942b39b4d2db9dea5d4f2
--- /dev/null
+++ b/public_test_cases/p02693/input.3.txt
@@ -0,0 +1,2 @@
+1
+11 11
diff --git a/public_test_cases/p02693/output.0.txt b/public_test_cases/p02693/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d86bac9de59abcc26bc7956c1e842237c7581859
--- /dev/null
+++ b/public_test_cases/p02693/output.0.txt
@@ -0,0 +1 @@
+OK
diff --git a/public_test_cases/p02693/output.1.txt b/public_test_cases/p02693/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4aeef268f14f293e1737e30f12e891dbf6358f0
--- /dev/null
+++ b/public_test_cases/p02693/output.1.txt
@@ -0,0 +1 @@
+NG
diff --git a/public_test_cases/p02693/output.2.txt b/public_test_cases/p02693/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d86bac9de59abcc26bc7956c1e842237c7581859
--- /dev/null
+++ b/public_test_cases/p02693/output.2.txt
@@ -0,0 +1 @@
+OK
diff --git a/public_test_cases/p02693/output.3.txt b/public_test_cases/p02693/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d86bac9de59abcc26bc7956c1e842237c7581859
--- /dev/null
+++ b/public_test_cases/p02693/output.3.txt
@@ -0,0 +1 @@
+OK
diff --git a/public_test_cases/p02694/input.0.txt b/public_test_cases/p02694/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9c8fe82922543b5971697f798999b086470857f
--- /dev/null
+++ b/public_test_cases/p02694/input.0.txt
@@ -0,0 +1 @@
+103
diff --git a/public_test_cases/p02694/input.1.txt b/public_test_cases/p02694/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..392d3e4a329af779dd3f5352f94327d78e578285
--- /dev/null
+++ b/public_test_cases/p02694/input.1.txt
@@ -0,0 +1 @@
+1333333333
diff --git a/public_test_cases/p02694/input.2.txt b/public_test_cases/p02694/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9c8fe82922543b5971697f798999b086470857f
--- /dev/null
+++ b/public_test_cases/p02694/input.2.txt
@@ -0,0 +1 @@
+103
diff --git a/public_test_cases/p02694/input.3.txt b/public_test_cases/p02694/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a4149f568ebd1c601c9657a0e51a097d0c2703
--- /dev/null
+++ b/public_test_cases/p02694/input.3.txt
@@ -0,0 +1 @@
+1000000000000000000
diff --git a/public_test_cases/p02694/output.0.txt b/public_test_cases/p02694/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02694/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02694/output.1.txt b/public_test_cases/p02694/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..859a8b222aac96a4330a50775302c04f48c4c9d4
--- /dev/null
+++ b/public_test_cases/p02694/output.1.txt
@@ -0,0 +1 @@
+1706
diff --git a/public_test_cases/p02694/output.2.txt b/public_test_cases/p02694/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02694/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02694/output.3.txt b/public_test_cases/p02694/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db606a3345d7f70404f45df0da1c98b7935d7770
--- /dev/null
+++ b/public_test_cases/p02694/output.3.txt
@@ -0,0 +1 @@
+3760
diff --git a/public_test_cases/p02695/input.0.txt b/public_test_cases/p02695/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5503c2069a92824e0217d9cf7d2051a07c1639d2
--- /dev/null
+++ b/public_test_cases/p02695/input.0.txt
@@ -0,0 +1,4 @@
+3 4 3
+1 3 3 100
+1 2 2 10
+2 3 2 10
diff --git a/public_test_cases/p02695/input.1.txt b/public_test_cases/p02695/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5503c2069a92824e0217d9cf7d2051a07c1639d2
--- /dev/null
+++ b/public_test_cases/p02695/input.1.txt
@@ -0,0 +1,4 @@
+3 4 3
+1 3 3 100
+1 2 2 10
+2 3 2 10
diff --git a/public_test_cases/p02695/input.2.txt b/public_test_cases/p02695/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cef2fd5cd632111066d4df93f1098405582b319c
--- /dev/null
+++ b/public_test_cases/p02695/input.2.txt
@@ -0,0 +1,2 @@
+10 10 1
+1 10 9 1
diff --git a/public_test_cases/p02695/input.3.txt b/public_test_cases/p02695/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53f9e5419008bc25bc7f81c72ae2dc69d086a373
--- /dev/null
+++ b/public_test_cases/p02695/input.3.txt
@@ -0,0 +1,11 @@
+4 6 10
+2 4 1 86568
+1 4 0 90629
+2 3 0 90310
+3 4 1 29211
+3 4 3 78537
+3 4 2 8580
+1 2 1 96263
+1 4 2 2156
+1 2 0 94325
+1 4 3 94328
diff --git a/public_test_cases/p02695/output.0.txt b/public_test_cases/p02695/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p02695/output.0.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p02695/output.1.txt b/public_test_cases/p02695/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p02695/output.1.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p02695/output.2.txt b/public_test_cases/p02695/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02695/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02695/output.3.txt b/public_test_cases/p02695/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21ddc2a53de3dfab71130ee980c624b69d545cd6
--- /dev/null
+++ b/public_test_cases/p02695/output.3.txt
@@ -0,0 +1 @@
+357500
diff --git a/public_test_cases/p02696/input.0.txt b/public_test_cases/p02696/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..301b4f5aa0616a19ded51807348ed2a305a5c6ae
--- /dev/null
+++ b/public_test_cases/p02696/input.0.txt
@@ -0,0 +1 @@
+5 7 4
diff --git a/public_test_cases/p02696/input.1.txt b/public_test_cases/p02696/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..301b4f5aa0616a19ded51807348ed2a305a5c6ae
--- /dev/null
+++ b/public_test_cases/p02696/input.1.txt
@@ -0,0 +1 @@
+5 7 4
diff --git a/public_test_cases/p02696/input.2.txt b/public_test_cases/p02696/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1edc740ec6d19e960db70986837f1b0b5a0a4332
--- /dev/null
+++ b/public_test_cases/p02696/input.2.txt
@@ -0,0 +1 @@
+11 10 9
diff --git a/public_test_cases/p02696/output.0.txt b/public_test_cases/p02696/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02696/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02696/output.1.txt b/public_test_cases/p02696/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02696/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02696/output.2.txt b/public_test_cases/p02696/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02696/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02697/input.0.txt b/public_test_cases/p02697/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b05461b1ba727d91054ac49487ae1ab1ceeb4967
--- /dev/null
+++ b/public_test_cases/p02697/input.0.txt
@@ -0,0 +1 @@
+4 1
diff --git a/public_test_cases/p02697/input.1.txt b/public_test_cases/p02697/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f036e7ba038ea9020e90a29f669ac3db830dd66
--- /dev/null
+++ b/public_test_cases/p02697/input.1.txt
@@ -0,0 +1 @@
+7 3
diff --git a/public_test_cases/p02697/input.2.txt b/public_test_cases/p02697/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b05461b1ba727d91054ac49487ae1ab1ceeb4967
--- /dev/null
+++ b/public_test_cases/p02697/input.2.txt
@@ -0,0 +1 @@
+4 1
diff --git a/public_test_cases/p02697/output.0.txt b/public_test_cases/p02697/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02697/output.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02697/output.1.txt b/public_test_cases/p02697/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f15ff51bc89b6f160f819101a368d15a25d39ad2
--- /dev/null
+++ b/public_test_cases/p02697/output.1.txt
@@ -0,0 +1,3 @@
+1 6
+2 5
+3 4
diff --git a/public_test_cases/p02697/output.2.txt b/public_test_cases/p02697/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02697/output.2.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02698/input.0.txt b/public_test_cases/p02698/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02c579fc51f7c534501f87cbcfb96b9628a64210
--- /dev/null
+++ b/public_test_cases/p02698/input.0.txt
@@ -0,0 +1,11 @@
+10
+1 2 5 3 4 6 7 3 2 4
+1 2
+2 3
+3 4
+4 5
+3 6
+6 7
+1 8
+8 9
+9 10
diff --git a/public_test_cases/p02698/input.1.txt b/public_test_cases/p02698/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02c579fc51f7c534501f87cbcfb96b9628a64210
--- /dev/null
+++ b/public_test_cases/p02698/input.1.txt
@@ -0,0 +1,11 @@
+10
+1 2 5 3 4 6 7 3 2 4
+1 2
+2 3
+3 4
+4 5
+3 6
+6 7
+1 8
+8 9
+9 10
diff --git a/public_test_cases/p02698/output.0.txt b/public_test_cases/p02698/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83ac004e263994bc214e1bd97eaa79709fbfa228
--- /dev/null
+++ b/public_test_cases/p02698/output.0.txt
@@ -0,0 +1,10 @@
+1
+2
+3
+3
+4
+4
+5
+2
+2
+3
diff --git a/public_test_cases/p02698/output.1.txt b/public_test_cases/p02698/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83ac004e263994bc214e1bd97eaa79709fbfa228
--- /dev/null
+++ b/public_test_cases/p02698/output.1.txt
@@ -0,0 +1,10 @@
+1
+2
+3
+3
+4
+4
+5
+2
+2
+3
diff --git a/public_test_cases/p02699/input.0.txt b/public_test_cases/p02699/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a99162ed9cdd1b90006cbd4f07e2a2bd3f404d4
--- /dev/null
+++ b/public_test_cases/p02699/input.0.txt
@@ -0,0 +1 @@
+4 5
diff --git a/public_test_cases/p02699/input.1.txt b/public_test_cases/p02699/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a99162ed9cdd1b90006cbd4f07e2a2bd3f404d4
--- /dev/null
+++ b/public_test_cases/p02699/input.1.txt
@@ -0,0 +1 @@
+4 5
diff --git a/public_test_cases/p02699/input.2.txt b/public_test_cases/p02699/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b75515d6b08bf96e42ade56e367845a658f09fd
--- /dev/null
+++ b/public_test_cases/p02699/input.2.txt
@@ -0,0 +1 @@
+100 2
diff --git a/public_test_cases/p02699/input.3.txt b/public_test_cases/p02699/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6bc7799eba513be6b20846b727f864fb7acabcd
--- /dev/null
+++ b/public_test_cases/p02699/input.3.txt
@@ -0,0 +1 @@
+10 10
diff --git a/public_test_cases/p02699/output.0.txt b/public_test_cases/p02699/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe927c63b37c92e1411a8306be4315df4111d122
--- /dev/null
+++ b/public_test_cases/p02699/output.0.txt
@@ -0,0 +1 @@
+unsafe
diff --git a/public_test_cases/p02699/output.1.txt b/public_test_cases/p02699/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe927c63b37c92e1411a8306be4315df4111d122
--- /dev/null
+++ b/public_test_cases/p02699/output.1.txt
@@ -0,0 +1 @@
+unsafe
diff --git a/public_test_cases/p02699/output.2.txt b/public_test_cases/p02699/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7767f67d3494c9c8df2deaac7129f48ce33d2f7
--- /dev/null
+++ b/public_test_cases/p02699/output.2.txt
@@ -0,0 +1 @@
+safe
diff --git a/public_test_cases/p02699/output.3.txt b/public_test_cases/p02699/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe927c63b37c92e1411a8306be4315df4111d122
--- /dev/null
+++ b/public_test_cases/p02699/output.3.txt
@@ -0,0 +1 @@
+unsafe
diff --git a/public_test_cases/p02700/input.0.txt b/public_test_cases/p02700/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba9ef0611ac09bee6bd5d3edba63c2c0d066e449
--- /dev/null
+++ b/public_test_cases/p02700/input.0.txt
@@ -0,0 +1 @@
+10 9 10 10
diff --git a/public_test_cases/p02700/input.1.txt b/public_test_cases/p02700/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..951630f940828e2a592ab59d1643948fc1860896
--- /dev/null
+++ b/public_test_cases/p02700/input.1.txt
@@ -0,0 +1 @@
+46 4 40 5
diff --git a/public_test_cases/p02700/input.2.txt b/public_test_cases/p02700/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba9ef0611ac09bee6bd5d3edba63c2c0d066e449
--- /dev/null
+++ b/public_test_cases/p02700/input.2.txt
@@ -0,0 +1 @@
+10 9 10 10
diff --git a/public_test_cases/p02700/output.0.txt b/public_test_cases/p02700/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02700/output.0.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02700/output.1.txt b/public_test_cases/p02700/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02700/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02700/output.2.txt b/public_test_cases/p02700/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02700/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02701/input.0.txt b/public_test_cases/p02701/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0646178a707ce1d780f4f9ddfb483cd4a82ca66
--- /dev/null
+++ b/public_test_cases/p02701/input.0.txt
@@ -0,0 +1,4 @@
+3
+apple
+orange
+apple
diff --git a/public_test_cases/p02701/input.1.txt b/public_test_cases/p02701/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0d9c3374fc38736406fef5b9477f82bf0b1fe30
--- /dev/null
+++ b/public_test_cases/p02701/input.1.txt
@@ -0,0 +1,5 @@
+4
+aaaa
+a
+aaa
+aa
diff --git a/public_test_cases/p02701/input.2.txt b/public_test_cases/p02701/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0646178a707ce1d780f4f9ddfb483cd4a82ca66
--- /dev/null
+++ b/public_test_cases/p02701/input.2.txt
@@ -0,0 +1,4 @@
+3
+apple
+orange
+apple
diff --git a/public_test_cases/p02701/input.3.txt b/public_test_cases/p02701/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c45ad2e95558e6ab4dd041e649df14bb6616da9
--- /dev/null
+++ b/public_test_cases/p02701/input.3.txt
@@ -0,0 +1,6 @@
+5
+grape
+grape
+grape
+grape
+grape
diff --git a/public_test_cases/p02701/output.0.txt b/public_test_cases/p02701/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02701/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02701/output.1.txt b/public_test_cases/p02701/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02701/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02701/output.2.txt b/public_test_cases/p02701/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02701/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02701/output.3.txt b/public_test_cases/p02701/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02701/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02702/input.0.txt b/public_test_cases/p02702/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c56104122f0a839277223e11975a9d76ca1e34d
--- /dev/null
+++ b/public_test_cases/p02702/input.0.txt
@@ -0,0 +1 @@
+1817181712114
diff --git a/public_test_cases/p02702/input.1.txt b/public_test_cases/p02702/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c56104122f0a839277223e11975a9d76ca1e34d
--- /dev/null
+++ b/public_test_cases/p02702/input.1.txt
@@ -0,0 +1 @@
+1817181712114
diff --git a/public_test_cases/p02702/input.2.txt b/public_test_cases/p02702/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b9be0d42126bf8ac417ba3b696727f7105bb195
--- /dev/null
+++ b/public_test_cases/p02702/input.2.txt
@@ -0,0 +1 @@
+2119
diff --git a/public_test_cases/p02702/input.3.txt b/public_test_cases/p02702/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b23a733bb289dc32565f54ba8e83ca4f11363a04
--- /dev/null
+++ b/public_test_cases/p02702/input.3.txt
@@ -0,0 +1 @@
+14282668646
diff --git a/public_test_cases/p02702/output.0.txt b/public_test_cases/p02702/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02702/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02702/output.1.txt b/public_test_cases/p02702/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02702/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02702/output.2.txt b/public_test_cases/p02702/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02702/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02702/output.3.txt b/public_test_cases/p02702/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02702/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02703/input.0.txt b/public_test_cases/p02703/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f98aea74ef1c8c191bbbdeab4cd80511e1e6dc47
--- /dev/null
+++ b/public_test_cases/p02703/input.0.txt
@@ -0,0 +1,6 @@
+3 2 1
+1 2 1 2
+1 3 2 4
+1 11
+1 2
+2 5
diff --git a/public_test_cases/p02703/input.1.txt b/public_test_cases/p02703/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20590f61e093122420680c0e8e0aeffd444be0e3
--- /dev/null
+++ b/public_test_cases/p02703/input.1.txt
@@ -0,0 +1,4 @@
+2 1 0
+1 2 1 1
+1 1000000000
+1 1
diff --git a/public_test_cases/p02703/input.2.txt b/public_test_cases/p02703/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f98aea74ef1c8c191bbbdeab4cd80511e1e6dc47
--- /dev/null
+++ b/public_test_cases/p02703/input.2.txt
@@ -0,0 +1,6 @@
+3 2 1
+1 2 1 2
+1 3 2 4
+1 11
+1 2
+2 5
diff --git a/public_test_cases/p02703/input.3.txt b/public_test_cases/p02703/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc222a550bc612bca2a2e77043bc47b54fcf1017
--- /dev/null
+++ b/public_test_cases/p02703/input.3.txt
@@ -0,0 +1,11 @@
+4 6 1000000000
+1 2 50 1
+1 3 50 5
+1 4 50 7
+2 3 50 2
+2 4 50 4
+3 4 50 3
+10 2
+4 4
+5 5
+7 7
diff --git a/public_test_cases/p02703/input.4.txt b/public_test_cases/p02703/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e04cccdb52fa7f858fd662282a5569e11bb4c3f3
--- /dev/null
+++ b/public_test_cases/p02703/input.4.txt
@@ -0,0 +1,12 @@
+6 5 1
+1 2 1 1
+1 3 2 1
+2 4 5 1
+3 5 11 1
+1 6 50 1
+1 10000
+1 3000
+1 700
+1 100
+1 1
+100 1
diff --git a/public_test_cases/p02703/input.5.txt b/public_test_cases/p02703/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..817787c1085b0a2d1b5bd6e65f8b045bbda8fa44
--- /dev/null
+++ b/public_test_cases/p02703/input.5.txt
@@ -0,0 +1,9 @@
+4 4 1
+1 2 1 5
+1 3 4 4
+2 4 2 2
+3 4 1 1
+3 1
+3 1
+5 2
+6 4
diff --git a/public_test_cases/p02703/output.0.txt b/public_test_cases/p02703/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8d101298ee5e5f81b20f0c41350df1604f56006
--- /dev/null
+++ b/public_test_cases/p02703/output.0.txt
@@ -0,0 +1,2 @@
+2
+14
diff --git a/public_test_cases/p02703/output.1.txt b/public_test_cases/p02703/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a528ed87320071ba84058bf3cd59e85b5bb7fd7d
--- /dev/null
+++ b/public_test_cases/p02703/output.1.txt
@@ -0,0 +1 @@
+1000000001
diff --git a/public_test_cases/p02703/output.2.txt b/public_test_cases/p02703/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8d101298ee5e5f81b20f0c41350df1604f56006
--- /dev/null
+++ b/public_test_cases/p02703/output.2.txt
@@ -0,0 +1,2 @@
+2
+14
diff --git a/public_test_cases/p02703/output.3.txt b/public_test_cases/p02703/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..403ec31f0a10be94cad6ab8663f2d508869a06b0
--- /dev/null
+++ b/public_test_cases/p02703/output.3.txt
@@ -0,0 +1,3 @@
+1
+3
+5
diff --git a/public_test_cases/p02703/output.4.txt b/public_test_cases/p02703/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..171176fcefa313a1e5ecc27647a5a31b50cb1e47
--- /dev/null
+++ b/public_test_cases/p02703/output.4.txt
@@ -0,0 +1,5 @@
+1
+9003
+14606
+16510
+16576
diff --git a/public_test_cases/p02703/output.5.txt b/public_test_cases/p02703/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccb15eb7f7b343f7b7d584d3a2e5339bc3837c5e
--- /dev/null
+++ b/public_test_cases/p02703/output.5.txt
@@ -0,0 +1,3 @@
+5
+5
+7
diff --git a/public_test_cases/p02704/input.0.txt b/public_test_cases/p02704/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..408911164518ff028c160d2378721bd7e5c38f57
--- /dev/null
+++ b/public_test_cases/p02704/input.0.txt
@@ -0,0 +1,5 @@
+2
+0 1
+1 0
+1 1
+1 0
diff --git a/public_test_cases/p02704/input.1.txt b/public_test_cases/p02704/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad8a30b8eb134a4ee97285575925797f743cbc66
--- /dev/null
+++ b/public_test_cases/p02704/input.1.txt
@@ -0,0 +1,5 @@
+2
+1 1
+1 0
+15 15
+15 11
diff --git a/public_test_cases/p02704/input.2.txt b/public_test_cases/p02704/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..408911164518ff028c160d2378721bd7e5c38f57
--- /dev/null
+++ b/public_test_cases/p02704/input.2.txt
@@ -0,0 +1,5 @@
+2
+0 1
+1 0
+1 1
+1 0
diff --git a/public_test_cases/p02704/output.0.txt b/public_test_cases/p02704/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21358c3b5902b3ef0a1dd212594ef4bcd055e3da
--- /dev/null
+++ b/public_test_cases/p02704/output.0.txt
@@ -0,0 +1,2 @@
+1 1
+1 0
diff --git a/public_test_cases/p02704/output.1.txt b/public_test_cases/p02704/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67073579352819bd6696d91d8711b8175548b103
--- /dev/null
+++ b/public_test_cases/p02704/output.1.txt
@@ -0,0 +1,2 @@
+15 11
+15 11
diff --git a/public_test_cases/p02704/output.2.txt b/public_test_cases/p02704/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21358c3b5902b3ef0a1dd212594ef4bcd055e3da
--- /dev/null
+++ b/public_test_cases/p02704/output.2.txt
@@ -0,0 +1,2 @@
+1 1
+1 0
diff --git a/public_test_cases/p02705/input.0.txt b/public_test_cases/p02705/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02705/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02705/input.1.txt b/public_test_cases/p02705/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d69c74c8b95c8c0574cec707ab1a39d5926b9398
--- /dev/null
+++ b/public_test_cases/p02705/input.1.txt
@@ -0,0 +1 @@
+73
diff --git a/public_test_cases/p02705/input.2.txt b/public_test_cases/p02705/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02705/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02705/output.0.txt b/public_test_cases/p02705/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5013ded4cef2354dfeffe1cfc9bd118561c8a2c9
--- /dev/null
+++ b/public_test_cases/p02705/output.0.txt
@@ -0,0 +1 @@
+6.28318530717958623200
diff --git a/public_test_cases/p02705/output.1.txt b/public_test_cases/p02705/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..631c3fbc16ef15f323b426b86c3e12d215e7256f
--- /dev/null
+++ b/public_test_cases/p02705/output.1.txt
@@ -0,0 +1 @@
+458.67252742410977361942
diff --git a/public_test_cases/p02705/output.2.txt b/public_test_cases/p02705/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5013ded4cef2354dfeffe1cfc9bd118561c8a2c9
--- /dev/null
+++ b/public_test_cases/p02705/output.2.txt
@@ -0,0 +1 @@
+6.28318530717958623200
diff --git a/public_test_cases/p02706/input.0.txt b/public_test_cases/p02706/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13c113d17f00dbe908caa4581b36119392814b82
--- /dev/null
+++ b/public_test_cases/p02706/input.0.txt
@@ -0,0 +1,2 @@
+41 2
+5 6
diff --git a/public_test_cases/p02706/input.1.txt b/public_test_cases/p02706/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bf2e5813eea5cefc919755e22d9cee2c4f61389
--- /dev/null
+++ b/public_test_cases/p02706/input.1.txt
@@ -0,0 +1,2 @@
+10 2
+5 6
diff --git a/public_test_cases/p02706/input.2.txt b/public_test_cases/p02706/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2dc7926dfb7c23a3a61cb2e72913fee4dd65cca
--- /dev/null
+++ b/public_test_cases/p02706/input.2.txt
@@ -0,0 +1,2 @@
+314 15
+9 26 5 35 8 9 79 3 23 8 46 2 6 43 3
diff --git a/public_test_cases/p02706/input.3.txt b/public_test_cases/p02706/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13c113d17f00dbe908caa4581b36119392814b82
--- /dev/null
+++ b/public_test_cases/p02706/input.3.txt
@@ -0,0 +1,2 @@
+41 2
+5 6
diff --git a/public_test_cases/p02706/input.4.txt b/public_test_cases/p02706/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bda97bb968c7d4a23ca3fb3af13269724f1984b
--- /dev/null
+++ b/public_test_cases/p02706/input.4.txt
@@ -0,0 +1,2 @@
+11 2
+5 6
diff --git a/public_test_cases/p02706/output.0.txt b/public_test_cases/p02706/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p02706/output.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p02706/output.1.txt b/public_test_cases/p02706/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02706/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02706/output.2.txt b/public_test_cases/p02706/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02706/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02706/output.3.txt b/public_test_cases/p02706/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p02706/output.3.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p02706/output.4.txt b/public_test_cases/p02706/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02706/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02707/input.0.txt b/public_test_cases/p02707/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2d77d71a89d487bd6327f989a3a703c251f3a5f
--- /dev/null
+++ b/public_test_cases/p02707/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 1 2 2
diff --git a/public_test_cases/p02707/input.1.txt b/public_test_cases/p02707/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cedccba257992dada040290dc09bc6549e4e19a2
--- /dev/null
+++ b/public_test_cases/p02707/input.1.txt
@@ -0,0 +1,2 @@
+7
+1 2 3 4 5 6
diff --git a/public_test_cases/p02707/input.2.txt b/public_test_cases/p02707/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2d77d71a89d487bd6327f989a3a703c251f3a5f
--- /dev/null
+++ b/public_test_cases/p02707/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 1 2 2
diff --git a/public_test_cases/p02707/input.3.txt b/public_test_cases/p02707/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14208dc12d1fc88065f5c521b0b01280c49c55e0
--- /dev/null
+++ b/public_test_cases/p02707/input.3.txt
@@ -0,0 +1,2 @@
+10
+1 1 1 1 1 1 1 1 1
diff --git a/public_test_cases/p02707/output.0.txt b/public_test_cases/p02707/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8843e8de1f383a8ffc232ad21185c49cf98bf335
--- /dev/null
+++ b/public_test_cases/p02707/output.0.txt
@@ -0,0 +1,5 @@
+2
+2
+0
+0
+0
diff --git a/public_test_cases/p02707/output.1.txt b/public_test_cases/p02707/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e0c21979dd92fc1ea2cecbff606b64fa01c324a
--- /dev/null
+++ b/public_test_cases/p02707/output.1.txt
@@ -0,0 +1,7 @@
+1
+1
+1
+1
+1
+1
+0
diff --git a/public_test_cases/p02707/output.2.txt b/public_test_cases/p02707/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8843e8de1f383a8ffc232ad21185c49cf98bf335
--- /dev/null
+++ b/public_test_cases/p02707/output.2.txt
@@ -0,0 +1,5 @@
+2
+2
+0
+0
+0
diff --git a/public_test_cases/p02707/output.3.txt b/public_test_cases/p02707/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80782f11644dff71f04cc32feac8e433812f24c1
--- /dev/null
+++ b/public_test_cases/p02707/output.3.txt
@@ -0,0 +1,10 @@
+9
+0
+0
+0
+0
+0
+0
+0
+0
+0
diff --git a/public_test_cases/p02708/input.0.txt b/public_test_cases/p02708/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02708/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02708/input.1.txt b/public_test_cases/p02708/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d64ec278f8225bf014a8e602f9c73dabfab7b146
--- /dev/null
+++ b/public_test_cases/p02708/input.1.txt
@@ -0,0 +1 @@
+141421 35623
diff --git a/public_test_cases/p02708/input.2.txt b/public_test_cases/p02708/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..740948957bd998d4ccb361589012504e85325f04
--- /dev/null
+++ b/public_test_cases/p02708/input.2.txt
@@ -0,0 +1 @@
+200000 200001
diff --git a/public_test_cases/p02708/input.3.txt b/public_test_cases/p02708/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02708/input.3.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02708/output.0.txt b/public_test_cases/p02708/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02708/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02708/output.1.txt b/public_test_cases/p02708/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab2722a24d0729cac8ef55e4a8a1aa043c3a3792
--- /dev/null
+++ b/public_test_cases/p02708/output.1.txt
@@ -0,0 +1 @@
+220280457
diff --git a/public_test_cases/p02708/output.2.txt b/public_test_cases/p02708/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02708/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02708/output.3.txt b/public_test_cases/p02708/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02708/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02709/input.0.txt b/public_test_cases/p02709/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41cfb33f03ba4e82214bf2cf1b3efea61294504d
--- /dev/null
+++ b/public_test_cases/p02709/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 3 4 2
diff --git a/public_test_cases/p02709/input.1.txt b/public_test_cases/p02709/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41cfb33f03ba4e82214bf2cf1b3efea61294504d
--- /dev/null
+++ b/public_test_cases/p02709/input.1.txt
@@ -0,0 +1,2 @@
+4
+1 3 4 2
diff --git a/public_test_cases/p02709/input.2.txt b/public_test_cases/p02709/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d938d473ab41e37e42e85357c9d03efc6d0a84
--- /dev/null
+++ b/public_test_cases/p02709/input.2.txt
@@ -0,0 +1,2 @@
+6
+8 6 9 1 2 1
diff --git a/public_test_cases/p02709/input.3.txt b/public_test_cases/p02709/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cccfdfbd7b702f859d67fcc44290f81fcbff4ccb
--- /dev/null
+++ b/public_test_cases/p02709/input.3.txt
@@ -0,0 +1,2 @@
+6
+5 5 6 1 1 1
diff --git a/public_test_cases/p02709/output.0.txt b/public_test_cases/p02709/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p02709/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p02709/output.1.txt b/public_test_cases/p02709/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p02709/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p02709/output.2.txt b/public_test_cases/p02709/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a862eb8444d443dbaf5db59f7e27d956cd7691d5
--- /dev/null
+++ b/public_test_cases/p02709/output.2.txt
@@ -0,0 +1 @@
+85
diff --git a/public_test_cases/p02709/output.3.txt b/public_test_cases/p02709/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c61d23e125b800e69cb950b09e23c06f728fff9
--- /dev/null
+++ b/public_test_cases/p02709/output.3.txt
@@ -0,0 +1 @@
+58
diff --git a/public_test_cases/p02710/input.0.txt b/public_test_cases/p02710/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38205e0b9319c256d50c6d19be05f078624e51bf
--- /dev/null
+++ b/public_test_cases/p02710/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2 1
+1 2
+2 3
diff --git a/public_test_cases/p02710/input.1.txt b/public_test_cases/p02710/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38205e0b9319c256d50c6d19be05f078624e51bf
--- /dev/null
+++ b/public_test_cases/p02710/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 2 1
+1 2
+2 3
diff --git a/public_test_cases/p02710/input.2.txt b/public_test_cases/p02710/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p02710/input.2.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p02710/input.3.txt b/public_test_cases/p02710/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0777210f96902d28ec11fae15aa7191bdb1c2778
--- /dev/null
+++ b/public_test_cases/p02710/input.3.txt
@@ -0,0 +1,3 @@
+2
+1 2
+1 2
diff --git a/public_test_cases/p02710/input.4.txt b/public_test_cases/p02710/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec29fa3d7b607c9fbb58e82162121d05dcbc872b
--- /dev/null
+++ b/public_test_cases/p02710/input.4.txt
@@ -0,0 +1,9 @@
+8
+2 7 2 5 4 1 7 5
+3 1
+1 2
+2 7
+4 5
+5 6
+6 8
+7 8
diff --git a/public_test_cases/p02710/input.5.txt b/public_test_cases/p02710/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c3b2d0c33293985fd0c5392d73ecc5cf0c7a28f
--- /dev/null
+++ b/public_test_cases/p02710/input.5.txt
@@ -0,0 +1,6 @@
+5
+1 2 3 4 5
+1 2
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p02710/output.0.txt b/public_test_cases/p02710/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47babbe9dd490dba384dcdd13275fd4e5104cbf8
--- /dev/null
+++ b/public_test_cases/p02710/output.0.txt
@@ -0,0 +1,3 @@
+5
+4
+0
diff --git a/public_test_cases/p02710/output.1.txt b/public_test_cases/p02710/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47babbe9dd490dba384dcdd13275fd4e5104cbf8
--- /dev/null
+++ b/public_test_cases/p02710/output.1.txt
@@ -0,0 +1,3 @@
+5
+4
+0
diff --git a/public_test_cases/p02710/output.2.txt b/public_test_cases/p02710/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02710/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02710/output.3.txt b/public_test_cases/p02710/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51993f072d5832f20b98b6bd0cf763fb8b4c8a1b
--- /dev/null
+++ b/public_test_cases/p02710/output.3.txt
@@ -0,0 +1,2 @@
+2
+2
diff --git a/public_test_cases/p02710/output.4.txt b/public_test_cases/p02710/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebeac4b56492d190f90ac6831b6cd94cfb1e1ddd
--- /dev/null
+++ b/public_test_cases/p02710/output.4.txt
@@ -0,0 +1,8 @@
+18
+15
+0
+14
+23
+0
+23
+0
diff --git a/public_test_cases/p02710/output.5.txt b/public_test_cases/p02710/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bd188acbd45951e548e93eea4229ffc8bff3660
--- /dev/null
+++ b/public_test_cases/p02710/output.5.txt
@@ -0,0 +1,5 @@
+5
+8
+10
+5
+5
diff --git a/public_test_cases/p02711/input.0.txt b/public_test_cases/p02711/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bc6609e3d8512746dffd4a783cc4b428dfe5dc7
--- /dev/null
+++ b/public_test_cases/p02711/input.0.txt
@@ -0,0 +1 @@
+117
diff --git a/public_test_cases/p02711/input.1.txt b/public_test_cases/p02711/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e68a0f7e9e1d2da6cdabd3d1588fc2eaa0c9e64
--- /dev/null
+++ b/public_test_cases/p02711/input.1.txt
@@ -0,0 +1 @@
+777
diff --git a/public_test_cases/p02711/input.2.txt b/public_test_cases/p02711/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..190a18037c64c43e6b11489df4bf0b9eb6d2c9bf
--- /dev/null
+++ b/public_test_cases/p02711/input.2.txt
@@ -0,0 +1 @@
+123
diff --git a/public_test_cases/p02711/input.3.txt b/public_test_cases/p02711/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bc6609e3d8512746dffd4a783cc4b428dfe5dc7
--- /dev/null
+++ b/public_test_cases/p02711/input.3.txt
@@ -0,0 +1 @@
+117
diff --git a/public_test_cases/p02711/output.0.txt b/public_test_cases/p02711/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02711/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02711/output.1.txt b/public_test_cases/p02711/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02711/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02711/output.2.txt b/public_test_cases/p02711/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02711/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02711/output.3.txt b/public_test_cases/p02711/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02711/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02712/input.0.txt b/public_test_cases/p02712/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p02712/input.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p02712/input.1.txt b/public_test_cases/p02712/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..749fce669df1b51cae4a71dc130b2a14807829f0
--- /dev/null
+++ b/public_test_cases/p02712/input.1.txt
@@ -0,0 +1 @@
+1000000
diff --git a/public_test_cases/p02712/input.2.txt b/public_test_cases/p02712/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p02712/input.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p02712/output.0.txt b/public_test_cases/p02712/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p02712/output.0.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p02712/output.1.txt b/public_test_cases/p02712/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14dcec26962ca78793041d88479ff7d6c180e98a
--- /dev/null
+++ b/public_test_cases/p02712/output.1.txt
@@ -0,0 +1 @@
+266666333332
diff --git a/public_test_cases/p02712/output.2.txt b/public_test_cases/p02712/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p02712/output.2.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p02713/input.0.txt b/public_test_cases/p02713/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02713/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02713/input.1.txt b/public_test_cases/p02713/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02713/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02713/output.0.txt b/public_test_cases/p02713/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02713/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02713/output.1.txt b/public_test_cases/p02713/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02713/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02714/input.0.txt b/public_test_cases/p02714/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..270abac3bf08b94303de01cb094b168d03ed2578
--- /dev/null
+++ b/public_test_cases/p02714/input.0.txt
@@ -0,0 +1,2 @@
+4
+RRGB
diff --git a/public_test_cases/p02714/input.1.txt b/public_test_cases/p02714/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..270abac3bf08b94303de01cb094b168d03ed2578
--- /dev/null
+++ b/public_test_cases/p02714/input.1.txt
@@ -0,0 +1,2 @@
+4
+RRGB
diff --git a/public_test_cases/p02714/input.2.txt b/public_test_cases/p02714/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d534a4514dbd98832729b3d482c8a6d1493ebf2
--- /dev/null
+++ b/public_test_cases/p02714/input.2.txt
@@ -0,0 +1,2 @@
+39
+RBRBGRBGGBBRRGBBRRRBGGBRBGBRBGBRBBBGBBB
diff --git a/public_test_cases/p02714/output.0.txt b/public_test_cases/p02714/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02714/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02714/output.1.txt b/public_test_cases/p02714/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02714/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02714/output.2.txt b/public_test_cases/p02714/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb08106db05e908c6bca41665d2f6d746dd9f9ac
--- /dev/null
+++ b/public_test_cases/p02714/output.2.txt
@@ -0,0 +1 @@
+1800
diff --git a/public_test_cases/p02715/input.0.txt b/public_test_cases/p02715/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02715/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02715/input.1.txt b/public_test_cases/p02715/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bfd8643e47256f0fce54761d9cc9e58d209aebc
--- /dev/null
+++ b/public_test_cases/p02715/input.1.txt
@@ -0,0 +1 @@
+100000 100000
diff --git a/public_test_cases/p02715/input.2.txt b/public_test_cases/p02715/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dce934f4bef7018feb40fe2b47ab30b892c68bd
--- /dev/null
+++ b/public_test_cases/p02715/input.2.txt
@@ -0,0 +1 @@
+3 200
diff --git a/public_test_cases/p02715/input.3.txt b/public_test_cases/p02715/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02715/input.3.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02715/output.0.txt b/public_test_cases/p02715/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02715/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02715/output.1.txt b/public_test_cases/p02715/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..230e8c87473f57143c663168f3f9f7529cc962c3
--- /dev/null
+++ b/public_test_cases/p02715/output.1.txt
@@ -0,0 +1 @@
+742202979
diff --git a/public_test_cases/p02715/output.2.txt b/public_test_cases/p02715/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d139de5afc262a27016e7c73933536d21ceb5ae
--- /dev/null
+++ b/public_test_cases/p02715/output.2.txt
@@ -0,0 +1 @@
+10813692
diff --git a/public_test_cases/p02715/output.3.txt b/public_test_cases/p02715/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02715/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02716/input.0.txt b/public_test_cases/p02716/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee886e113fb8e0c61426795b71508f0130a4438
--- /dev/null
+++ b/public_test_cases/p02716/input.0.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 4 5 6
diff --git a/public_test_cases/p02716/input.1.txt b/public_test_cases/p02716/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7586711588d1edb799f945a09a746ab4e417e3d5
--- /dev/null
+++ b/public_test_cases/p02716/input.1.txt
@@ -0,0 +1,2 @@
+27
+18 -28 18 28 -45 90 -45 23 -53 60 28 -74 -71 35 -26 -62 49 -77 57 24 -70 -93 69 -99 59 57 -49
diff --git a/public_test_cases/p02716/input.2.txt b/public_test_cases/p02716/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fb75b5b65973151d24eb6a8a374d533994aa6cd
--- /dev/null
+++ b/public_test_cases/p02716/input.2.txt
@@ -0,0 +1,2 @@
+5
+-1000 -100 -10 0 10
diff --git a/public_test_cases/p02716/input.3.txt b/public_test_cases/p02716/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee886e113fb8e0c61426795b71508f0130a4438
--- /dev/null
+++ b/public_test_cases/p02716/input.3.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 4 5 6
diff --git a/public_test_cases/p02716/input.4.txt b/public_test_cases/p02716/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b9b223e4bc3e9ecde8f9236e40fc7b5da20391d
--- /dev/null
+++ b/public_test_cases/p02716/input.4.txt
@@ -0,0 +1,2 @@
+10
+1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000
diff --git a/public_test_cases/p02716/output.0.txt b/public_test_cases/p02716/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02716/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02716/output.1.txt b/public_test_cases/p02716/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..594cd09d3241efdb8f995d576e41fab5509e731e
--- /dev/null
+++ b/public_test_cases/p02716/output.1.txt
@@ -0,0 +1 @@
+295
diff --git a/public_test_cases/p02716/output.2.txt b/public_test_cases/p02716/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02716/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02716/output.3.txt b/public_test_cases/p02716/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02716/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02716/output.4.txt b/public_test_cases/p02716/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d007f6b285ebc6d303e5e7e879d03901ba847a5e
--- /dev/null
+++ b/public_test_cases/p02716/output.4.txt
@@ -0,0 +1 @@
+5000000000
diff --git a/public_test_cases/p02717/input.0.txt b/public_test_cases/p02717/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b85905ec0b994f1e5797d58ffefed89ff54d6b51
--- /dev/null
+++ b/public_test_cases/p02717/input.0.txt
@@ -0,0 +1 @@
+1 2 3
diff --git a/public_test_cases/p02717/input.1.txt b/public_test_cases/p02717/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa64af6e1d1f16e45cad3c4a007d1dfb602bbef5
--- /dev/null
+++ b/public_test_cases/p02717/input.1.txt
@@ -0,0 +1 @@
+100 100 100
diff --git a/public_test_cases/p02717/input.2.txt b/public_test_cases/p02717/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..163a122a6a18bfe7886ae7259e9ab02b802ce634
--- /dev/null
+++ b/public_test_cases/p02717/input.2.txt
@@ -0,0 +1 @@
+41 59 31
diff --git a/public_test_cases/p02717/input.3.txt b/public_test_cases/p02717/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b85905ec0b994f1e5797d58ffefed89ff54d6b51
--- /dev/null
+++ b/public_test_cases/p02717/input.3.txt
@@ -0,0 +1 @@
+1 2 3
diff --git a/public_test_cases/p02717/output.0.txt b/public_test_cases/p02717/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c3b6fa8ddc94fc44ce15c6da3720c1f07040ba
--- /dev/null
+++ b/public_test_cases/p02717/output.0.txt
@@ -0,0 +1 @@
+3 1 2
diff --git a/public_test_cases/p02717/output.1.txt b/public_test_cases/p02717/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa64af6e1d1f16e45cad3c4a007d1dfb602bbef5
--- /dev/null
+++ b/public_test_cases/p02717/output.1.txt
@@ -0,0 +1 @@
+100 100 100
diff --git a/public_test_cases/p02717/output.2.txt b/public_test_cases/p02717/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99d753b224734934253a7865c50157bb9087520c
--- /dev/null
+++ b/public_test_cases/p02717/output.2.txt
@@ -0,0 +1 @@
+31 41 59
diff --git a/public_test_cases/p02717/output.3.txt b/public_test_cases/p02717/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c3b6fa8ddc94fc44ce15c6da3720c1f07040ba
--- /dev/null
+++ b/public_test_cases/p02717/output.3.txt
@@ -0,0 +1 @@
+3 1 2
diff --git a/public_test_cases/p02718/input.0.txt b/public_test_cases/p02718/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac7a6107ad164a84880cddb21549ae1d74d872d
--- /dev/null
+++ b/public_test_cases/p02718/input.0.txt
@@ -0,0 +1,2 @@
+4 1
+5 4 2 1
diff --git a/public_test_cases/p02718/input.1.txt b/public_test_cases/p02718/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac7a6107ad164a84880cddb21549ae1d74d872d
--- /dev/null
+++ b/public_test_cases/p02718/input.1.txt
@@ -0,0 +1,2 @@
+4 1
+5 4 2 1
diff --git a/public_test_cases/p02718/input.2.txt b/public_test_cases/p02718/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c01ae9a5f02dadc68276610fe0364b1b0dd25d7a
--- /dev/null
+++ b/public_test_cases/p02718/input.2.txt
@@ -0,0 +1,2 @@
+12 3
+4 56 78 901 2 345 67 890 123 45 6 789
diff --git a/public_test_cases/p02718/input.3.txt b/public_test_cases/p02718/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7380fc09572bd4a6a7a6ddd1ea056d4fe0aed47
--- /dev/null
+++ b/public_test_cases/p02718/input.3.txt
@@ -0,0 +1,2 @@
+3 2
+380 19 1
diff --git a/public_test_cases/p02718/output.0.txt b/public_test_cases/p02718/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02718/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02718/output.1.txt b/public_test_cases/p02718/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02718/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02718/output.2.txt b/public_test_cases/p02718/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02718/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02718/output.3.txt b/public_test_cases/p02718/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02718/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02719/input.0.txt b/public_test_cases/p02719/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..883251633a21a0f0722f7aa96da5ae023fa2df5c
--- /dev/null
+++ b/public_test_cases/p02719/input.0.txt
@@ -0,0 +1 @@
+7 4
diff --git a/public_test_cases/p02719/input.1.txt b/public_test_cases/p02719/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8ce17f2b3429d37a649b01d0d9a322e3d42a325
--- /dev/null
+++ b/public_test_cases/p02719/input.1.txt
@@ -0,0 +1 @@
+1000000000000000000 1
diff --git a/public_test_cases/p02719/input.2.txt b/public_test_cases/p02719/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..883251633a21a0f0722f7aa96da5ae023fa2df5c
--- /dev/null
+++ b/public_test_cases/p02719/input.2.txt
@@ -0,0 +1 @@
+7 4
diff --git a/public_test_cases/p02719/input.3.txt b/public_test_cases/p02719/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d69ecad4f4c9b19aa64952e3ea2a201bc20cbc2c
--- /dev/null
+++ b/public_test_cases/p02719/input.3.txt
@@ -0,0 +1 @@
+2 6
diff --git a/public_test_cases/p02719/output.0.txt b/public_test_cases/p02719/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02719/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02719/output.1.txt b/public_test_cases/p02719/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02719/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02719/output.2.txt b/public_test_cases/p02719/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02719/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02719/output.3.txt b/public_test_cases/p02719/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02719/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02720/input.0.txt b/public_test_cases/p02720/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p02720/input.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p02720/input.1.txt b/public_test_cases/p02720/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02720/input.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02720/input.2.txt b/public_test_cases/p02720/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02720/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02720/input.3.txt b/public_test_cases/p02720/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p02720/input.3.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p02720/input.4.txt b/public_test_cases/p02720/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p02720/input.4.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p02720/output.0.txt b/public_test_cases/p02720/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p02720/output.0.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p02720/output.1.txt b/public_test_cases/p02720/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p02720/output.1.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p02720/output.2.txt b/public_test_cases/p02720/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02720/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02720/output.3.txt b/public_test_cases/p02720/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p02720/output.3.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p02720/output.4.txt b/public_test_cases/p02720/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7c83bd0c665654d7bc839cd1c719d7e848e66bf
--- /dev/null
+++ b/public_test_cases/p02720/output.4.txt
@@ -0,0 +1 @@
+3234566667
diff --git a/public_test_cases/p02721/input.0.txt b/public_test_cases/p02721/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eda0191577aec924963625287c24835f34e73d93
--- /dev/null
+++ b/public_test_cases/p02721/input.0.txt
@@ -0,0 +1,2 @@
+11 3 2
+ooxxxoxxxoo
diff --git a/public_test_cases/p02721/input.1.txt b/public_test_cases/p02721/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c98a7ecb62f1cb84db4f7e967ac4131ab0db337c
--- /dev/null
+++ b/public_test_cases/p02721/input.1.txt
@@ -0,0 +1,2 @@
+5 2 3
+ooxoo
diff --git a/public_test_cases/p02721/input.2.txt b/public_test_cases/p02721/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eda0191577aec924963625287c24835f34e73d93
--- /dev/null
+++ b/public_test_cases/p02721/input.2.txt
@@ -0,0 +1,2 @@
+11 3 2
+ooxxxoxxxoo
diff --git a/public_test_cases/p02721/input.3.txt b/public_test_cases/p02721/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e47b3345967643fbed4f35f4d6764c066c86cdff
--- /dev/null
+++ b/public_test_cases/p02721/input.3.txt
@@ -0,0 +1,2 @@
+16 4 3
+ooxxoxoxxxoxoxxo
diff --git a/public_test_cases/p02721/output.0.txt b/public_test_cases/p02721/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02721/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02721/output.1.txt b/public_test_cases/p02721/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26b37d07facfc371afa61dac1dc310e2d7c02597
--- /dev/null
+++ b/public_test_cases/p02721/output.1.txt
@@ -0,0 +1,2 @@
+1
+5
diff --git a/public_test_cases/p02721/output.2.txt b/public_test_cases/p02721/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02721/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02721/output.3.txt b/public_test_cases/p02721/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03c19c33865a3d7ece312a77dedd42907f723a8f
--- /dev/null
+++ b/public_test_cases/p02721/output.3.txt
@@ -0,0 +1,2 @@
+11
+16
diff --git a/public_test_cases/p02722/input.0.txt b/public_test_cases/p02722/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02722/input.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02722/input.1.txt b/public_test_cases/p02722/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca9937c8f968abe951cf89991f552805222aa1ee
--- /dev/null
+++ b/public_test_cases/p02722/input.1.txt
@@ -0,0 +1 @@
+314159265358
diff --git a/public_test_cases/p02722/input.2.txt b/public_test_cases/p02722/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02722/input.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02722/input.3.txt b/public_test_cases/p02722/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d7bf7aa2ecb852b8e1d7e2b8b57cacdf4aaf867
--- /dev/null
+++ b/public_test_cases/p02722/input.3.txt
@@ -0,0 +1 @@
+3141
diff --git a/public_test_cases/p02722/output.0.txt b/public_test_cases/p02722/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02722/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02722/output.1.txt b/public_test_cases/p02722/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02722/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02722/output.2.txt b/public_test_cases/p02722/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02722/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02722/output.3.txt b/public_test_cases/p02722/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02722/output.3.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02723/input.0.txt b/public_test_cases/p02723/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed680939d115aad037d5d83379982d9e60e38ed
--- /dev/null
+++ b/public_test_cases/p02723/input.0.txt
@@ -0,0 +1 @@
+sippuu
diff --git a/public_test_cases/p02723/input.1.txt b/public_test_cases/p02723/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32e1a738d6860b81d732b8f652f2bc2426da2e5b
--- /dev/null
+++ b/public_test_cases/p02723/input.1.txt
@@ -0,0 +1 @@
+coffee
diff --git a/public_test_cases/p02723/input.2.txt b/public_test_cases/p02723/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed680939d115aad037d5d83379982d9e60e38ed
--- /dev/null
+++ b/public_test_cases/p02723/input.2.txt
@@ -0,0 +1 @@
+sippuu
diff --git a/public_test_cases/p02723/input.3.txt b/public_test_cases/p02723/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11961dbf54250277297bb5833b8d37b12eea0cf3
--- /dev/null
+++ b/public_test_cases/p02723/input.3.txt
@@ -0,0 +1 @@
+iphone
diff --git a/public_test_cases/p02723/output.0.txt b/public_test_cases/p02723/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02723/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02723/output.1.txt b/public_test_cases/p02723/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02723/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02723/output.2.txt b/public_test_cases/p02723/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02723/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02723/output.3.txt b/public_test_cases/p02723/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02723/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02724/input.0.txt b/public_test_cases/p02724/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7b1c440c0f3f8d42eff097800b88ac5d40263d3
--- /dev/null
+++ b/public_test_cases/p02724/input.0.txt
@@ -0,0 +1 @@
+1024
diff --git a/public_test_cases/p02724/input.1.txt b/public_test_cases/p02724/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02724/input.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02724/input.2.txt b/public_test_cases/p02724/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..770fdcfb4b7d03520f649b7f7ca20e2546bdb41f
--- /dev/null
+++ b/public_test_cases/p02724/input.2.txt
@@ -0,0 +1 @@
+1000000000
diff --git a/public_test_cases/p02724/input.3.txt b/public_test_cases/p02724/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7b1c440c0f3f8d42eff097800b88ac5d40263d3
--- /dev/null
+++ b/public_test_cases/p02724/input.3.txt
@@ -0,0 +1 @@
+1024
diff --git a/public_test_cases/p02724/output.0.txt b/public_test_cases/p02724/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0fbadda96193e45ce6b910f2d13837323894356
--- /dev/null
+++ b/public_test_cases/p02724/output.0.txt
@@ -0,0 +1 @@
+2020
diff --git a/public_test_cases/p02724/output.1.txt b/public_test_cases/p02724/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02724/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02724/output.2.txt b/public_test_cases/p02724/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04b2646e30b0383d7bab169b05c1edc80feed7b0
--- /dev/null
+++ b/public_test_cases/p02724/output.2.txt
@@ -0,0 +1 @@
+2000000000
diff --git a/public_test_cases/p02724/output.3.txt b/public_test_cases/p02724/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0fbadda96193e45ce6b910f2d13837323894356
--- /dev/null
+++ b/public_test_cases/p02724/output.3.txt
@@ -0,0 +1 @@
+2020
diff --git a/public_test_cases/p02725/input.0.txt b/public_test_cases/p02725/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fc4538411d7c953f4a0c9dbc22293eb9d1c8917
--- /dev/null
+++ b/public_test_cases/p02725/input.0.txt
@@ -0,0 +1,2 @@
+20 3
+5 10 15
diff --git a/public_test_cases/p02725/input.1.txt b/public_test_cases/p02725/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fc4538411d7c953f4a0c9dbc22293eb9d1c8917
--- /dev/null
+++ b/public_test_cases/p02725/input.1.txt
@@ -0,0 +1,2 @@
+20 3
+5 10 15
diff --git a/public_test_cases/p02725/input.2.txt b/public_test_cases/p02725/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f51c33a70521053efc920cb0020a95d582ae54a7
--- /dev/null
+++ b/public_test_cases/p02725/input.2.txt
@@ -0,0 +1,2 @@
+20 3
+0 5 15
diff --git a/public_test_cases/p02725/output.0.txt b/public_test_cases/p02725/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02725/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02725/output.1.txt b/public_test_cases/p02725/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02725/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02725/output.2.txt b/public_test_cases/p02725/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02725/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02726/input.0.txt b/public_test_cases/p02726/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37122f4bb8da7cdc63b02195266c286138058939
--- /dev/null
+++ b/public_test_cases/p02726/input.0.txt
@@ -0,0 +1 @@
+5 2 4
diff --git a/public_test_cases/p02726/input.1.txt b/public_test_cases/p02726/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6344fed540b79888e96e2998e124a1a2fdafa163
--- /dev/null
+++ b/public_test_cases/p02726/input.1.txt
@@ -0,0 +1 @@
+7 3 7
diff --git a/public_test_cases/p02726/input.2.txt b/public_test_cases/p02726/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c99d323974cc06de986e83c244cfc4976da3a586
--- /dev/null
+++ b/public_test_cases/p02726/input.2.txt
@@ -0,0 +1 @@
+10 4 8
diff --git a/public_test_cases/p02726/input.3.txt b/public_test_cases/p02726/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd44576efdb1644f37860091ca301a02d1d8c54d
--- /dev/null
+++ b/public_test_cases/p02726/input.3.txt
@@ -0,0 +1 @@
+3 1 3
diff --git a/public_test_cases/p02726/input.4.txt b/public_test_cases/p02726/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37122f4bb8da7cdc63b02195266c286138058939
--- /dev/null
+++ b/public_test_cases/p02726/input.4.txt
@@ -0,0 +1 @@
+5 2 4
diff --git a/public_test_cases/p02726/output.0.txt b/public_test_cases/p02726/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a1e1617ae901c405cf68c8d5943bdef64865f2b
--- /dev/null
+++ b/public_test_cases/p02726/output.0.txt
@@ -0,0 +1,4 @@
+5
+4
+1
+0
diff --git a/public_test_cases/p02726/output.1.txt b/public_test_cases/p02726/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a36c01d2b5197b43f235eb23c2f5da61f71af9c1
--- /dev/null
+++ b/public_test_cases/p02726/output.1.txt
@@ -0,0 +1,6 @@
+7
+8
+4
+2
+0
+0
diff --git a/public_test_cases/p02726/output.2.txt b/public_test_cases/p02726/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89650762f1fcf43d12e9d5b5a3b27555c4de120f
--- /dev/null
+++ b/public_test_cases/p02726/output.2.txt
@@ -0,0 +1,9 @@
+10
+12
+10
+8
+4
+1
+0
+0
+0
diff --git a/public_test_cases/p02726/output.3.txt b/public_test_cases/p02726/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p02726/output.3.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p02726/output.4.txt b/public_test_cases/p02726/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a1e1617ae901c405cf68c8d5943bdef64865f2b
--- /dev/null
+++ b/public_test_cases/p02726/output.4.txt
@@ -0,0 +1,4 @@
+5
+4
+1
+0
diff --git a/public_test_cases/p02727/input.0.txt b/public_test_cases/p02727/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83d6dc42aceddb9e6b56b6ee01134550b5ebf7c8
--- /dev/null
+++ b/public_test_cases/p02727/input.0.txt
@@ -0,0 +1,4 @@
+1 2 2 2 1
+2 4
+5 1
+3
diff --git a/public_test_cases/p02727/input.1.txt b/public_test_cases/p02727/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e3f7f8d56f5baf8f5d6979b7bbcc41c2088b7fa
--- /dev/null
+++ b/public_test_cases/p02727/input.1.txt
@@ -0,0 +1,4 @@
+2 2 2 2 2
+8 6
+9 1
+2 1
diff --git a/public_test_cases/p02727/input.2.txt b/public_test_cases/p02727/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83d6dc42aceddb9e6b56b6ee01134550b5ebf7c8
--- /dev/null
+++ b/public_test_cases/p02727/input.2.txt
@@ -0,0 +1,4 @@
+1 2 2 2 1
+2 4
+5 1
+3
diff --git a/public_test_cases/p02727/input.3.txt b/public_test_cases/p02727/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..354a7f9320977f6588b62067383b4075cd4309b0
--- /dev/null
+++ b/public_test_cases/p02727/input.3.txt
@@ -0,0 +1,4 @@
+2 2 4 4 4
+11 12 13 14
+21 22 23 24
+1 2 3 4
diff --git a/public_test_cases/p02727/output.0.txt b/public_test_cases/p02727/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02727/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02727/output.1.txt b/public_test_cases/p02727/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02727/output.1.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02727/output.2.txt b/public_test_cases/p02727/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02727/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02727/output.3.txt b/public_test_cases/p02727/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fff0a2476aa5c8e60a3ef21cfc66e0cc670920be
--- /dev/null
+++ b/public_test_cases/p02727/output.3.txt
@@ -0,0 +1 @@
+74
diff --git a/public_test_cases/p02728/input.0.txt b/public_test_cases/p02728/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4af6367f0bdccd94780713d85e9aaec7d6842d6c
--- /dev/null
+++ b/public_test_cases/p02728/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2
+1 3
diff --git a/public_test_cases/p02728/input.1.txt b/public_test_cases/p02728/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4af6367f0bdccd94780713d85e9aaec7d6842d6c
--- /dev/null
+++ b/public_test_cases/p02728/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2
+1 3
diff --git a/public_test_cases/p02728/input.2.txt b/public_test_cases/p02728/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p02728/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p02728/input.3.txt b/public_test_cases/p02728/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec1c340feac463e5e3b91fee553af0432ee9a2bd
--- /dev/null
+++ b/public_test_cases/p02728/input.3.txt
@@ -0,0 +1,5 @@
+5
+1 2
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p02728/input.4.txt b/public_test_cases/p02728/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96102ae9d20ce78762687478b17be33159e4d3e6
--- /dev/null
+++ b/public_test_cases/p02728/input.4.txt
@@ -0,0 +1,8 @@
+8
+1 2
+2 3
+3 4
+3 5
+3 6
+6 7
+6 8
diff --git a/public_test_cases/p02728/output.0.txt b/public_test_cases/p02728/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe234be093e7ad8424af41b8a2162a42d19b3e9
--- /dev/null
+++ b/public_test_cases/p02728/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+1
diff --git a/public_test_cases/p02728/output.1.txt b/public_test_cases/p02728/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe234be093e7ad8424af41b8a2162a42d19b3e9
--- /dev/null
+++ b/public_test_cases/p02728/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+1
diff --git a/public_test_cases/p02728/output.2.txt b/public_test_cases/p02728/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p02728/output.2.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p02728/output.3.txt b/public_test_cases/p02728/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59c996bcbcd839a94bb50573f5556ed05384b0c5
--- /dev/null
+++ b/public_test_cases/p02728/output.3.txt
@@ -0,0 +1,5 @@
+2
+8
+12
+3
+3
diff --git a/public_test_cases/p02728/output.4.txt b/public_test_cases/p02728/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7748fb7bb6ecc7c67eed48895e5c7d557b69dbeb
--- /dev/null
+++ b/public_test_cases/p02728/output.4.txt
@@ -0,0 +1,8 @@
+40
+280
+840
+120
+120
+504
+72
+72
diff --git a/public_test_cases/p02729/input.0.txt b/public_test_cases/p02729/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p02729/input.0.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p02729/input.1.txt b/public_test_cases/p02729/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1237b57d68e751d4cb03af542a102444e5ca2c96
--- /dev/null
+++ b/public_test_cases/p02729/input.1.txt
@@ -0,0 +1 @@
+13 3
diff --git a/public_test_cases/p02729/input.2.txt b/public_test_cases/p02729/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02729/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02729/input.3.txt b/public_test_cases/p02729/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p02729/input.3.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p02729/input.4.txt b/public_test_cases/p02729/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p02729/input.4.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p02729/input.5.txt b/public_test_cases/p02729/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65c9b94edf74d6d9deb325c42d8a874189c9f202
--- /dev/null
+++ b/public_test_cases/p02729/input.5.txt
@@ -0,0 +1 @@
+0 3
diff --git a/public_test_cases/p02729/output.0.txt b/public_test_cases/p02729/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02729/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02729/output.1.txt b/public_test_cases/p02729/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d88e313699871a6c780316c8df7479aebe6999c0
--- /dev/null
+++ b/public_test_cases/p02729/output.1.txt
@@ -0,0 +1 @@
+81
diff --git a/public_test_cases/p02729/output.2.txt b/public_test_cases/p02729/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02729/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02729/output.3.txt b/public_test_cases/p02729/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02729/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02729/output.4.txt b/public_test_cases/p02729/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02729/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02729/output.5.txt b/public_test_cases/p02729/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02729/output.5.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02730/input.0.txt b/public_test_cases/p02730/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1734a6ccd53ab26e88ebe943effcca8cacf6ac89
--- /dev/null
+++ b/public_test_cases/p02730/input.0.txt
@@ -0,0 +1 @@
+akasaka
diff --git a/public_test_cases/p02730/input.1.txt b/public_test_cases/p02730/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1734a6ccd53ab26e88ebe943effcca8cacf6ac89
--- /dev/null
+++ b/public_test_cases/p02730/input.1.txt
@@ -0,0 +1 @@
+akasaka
diff --git a/public_test_cases/p02730/input.2.txt b/public_test_cases/p02730/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ef13d11d0bc8c8cde49253ea4a0cdbea2c9416
--- /dev/null
+++ b/public_test_cases/p02730/input.2.txt
@@ -0,0 +1 @@
+atcoder
diff --git a/public_test_cases/p02730/input.3.txt b/public_test_cases/p02730/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af0f6302db9523d1d0ec35be63b64b4567451818
--- /dev/null
+++ b/public_test_cases/p02730/input.3.txt
@@ -0,0 +1 @@
+level
diff --git a/public_test_cases/p02730/output.0.txt b/public_test_cases/p02730/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02730/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02730/output.1.txt b/public_test_cases/p02730/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02730/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02730/output.2.txt b/public_test_cases/p02730/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02730/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02730/output.3.txt b/public_test_cases/p02730/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02730/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02731/input.0.txt b/public_test_cases/p02731/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02731/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02731/input.1.txt b/public_test_cases/p02731/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6905f8ba447c0116590e38b2430151b506b1611
--- /dev/null
+++ b/public_test_cases/p02731/input.1.txt
@@ -0,0 +1 @@
+999
diff --git a/public_test_cases/p02731/input.2.txt b/public_test_cases/p02731/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02731/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02731/output.0.txt b/public_test_cases/p02731/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b43b2ec6156b9a6e96f1152dd5c48c3b433ab05a
--- /dev/null
+++ b/public_test_cases/p02731/output.0.txt
@@ -0,0 +1 @@
+1.000000000000
diff --git a/public_test_cases/p02731/output.1.txt b/public_test_cases/p02731/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e60ffc5d61dadc77eb27bd962fcedf59f9a09ee7
--- /dev/null
+++ b/public_test_cases/p02731/output.1.txt
@@ -0,0 +1 @@
+36926037.000000000000
diff --git a/public_test_cases/p02731/output.2.txt b/public_test_cases/p02731/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b43b2ec6156b9a6e96f1152dd5c48c3b433ab05a
--- /dev/null
+++ b/public_test_cases/p02731/output.2.txt
@@ -0,0 +1 @@
+1.000000000000
diff --git a/public_test_cases/p02732/input.0.txt b/public_test_cases/p02732/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef974d0b881f30259094151f83d425f06d61f2bb
--- /dev/null
+++ b/public_test_cases/p02732/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 1 2 1 2
diff --git a/public_test_cases/p02732/input.1.txt b/public_test_cases/p02732/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bfb6437bc1ef13c4cfbb637d7a3742c832d289c
--- /dev/null
+++ b/public_test_cases/p02732/input.1.txt
@@ -0,0 +1,2 @@
+8
+1 2 1 4 2 1 4 1
diff --git a/public_test_cases/p02732/input.2.txt b/public_test_cases/p02732/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef974d0b881f30259094151f83d425f06d61f2bb
--- /dev/null
+++ b/public_test_cases/p02732/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 1 2 1 2
diff --git a/public_test_cases/p02732/input.3.txt b/public_test_cases/p02732/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a4d515660c3c567ab07859fc5e252f8c966e46
--- /dev/null
+++ b/public_test_cases/p02732/input.3.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 4
diff --git a/public_test_cases/p02732/input.4.txt b/public_test_cases/p02732/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6ad0ca15d6caa972e6ddf0d652c404bffd885a2
--- /dev/null
+++ b/public_test_cases/p02732/input.4.txt
@@ -0,0 +1,2 @@
+5
+3 3 3 3 3
diff --git a/public_test_cases/p02732/output.0.txt b/public_test_cases/p02732/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7b958f741b55ffeb19549cbeab7b289987e164f
--- /dev/null
+++ b/public_test_cases/p02732/output.0.txt
@@ -0,0 +1,5 @@
+2
+2
+3
+2
+3
diff --git a/public_test_cases/p02732/output.1.txt b/public_test_cases/p02732/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94eacaa4db87bf6f9ba87727e788eee03b7d5a6f
--- /dev/null
+++ b/public_test_cases/p02732/output.1.txt
@@ -0,0 +1,8 @@
+5
+7
+5
+7
+7
+5
+7
+5
diff --git a/public_test_cases/p02732/output.2.txt b/public_test_cases/p02732/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7b958f741b55ffeb19549cbeab7b289987e164f
--- /dev/null
+++ b/public_test_cases/p02732/output.2.txt
@@ -0,0 +1,5 @@
+2
+2
+3
+2
+3
diff --git a/public_test_cases/p02732/output.3.txt b/public_test_cases/p02732/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44e0be8e3569542122ae0a5b046af7f8fe713943
--- /dev/null
+++ b/public_test_cases/p02732/output.3.txt
@@ -0,0 +1,4 @@
+0
+0
+0
+0
diff --git a/public_test_cases/p02732/output.4.txt b/public_test_cases/p02732/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bab74a88390c6830618aefe565f78d58e9301c40
--- /dev/null
+++ b/public_test_cases/p02732/output.4.txt
@@ -0,0 +1,5 @@
+6
+6
+6
+6
+6
diff --git a/public_test_cases/p02733/input.0.txt b/public_test_cases/p02733/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d937b7049ee2311ddc384975a4a6e74c2ed483f1
--- /dev/null
+++ b/public_test_cases/p02733/input.0.txt
@@ -0,0 +1,4 @@
+3 5 4
+11100
+10001
+00111
diff --git a/public_test_cases/p02733/input.1.txt b/public_test_cases/p02733/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b00ae61f91292769cdcbb4b490b5d450658fdfb
--- /dev/null
+++ b/public_test_cases/p02733/input.1.txt
@@ -0,0 +1,5 @@
+4 10 4
+1110010010
+1000101110
+0011101001
+1101000111
diff --git a/public_test_cases/p02733/input.2.txt b/public_test_cases/p02733/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6138b847920f94268f464b37799bb19d81fee93f
--- /dev/null
+++ b/public_test_cases/p02733/input.2.txt
@@ -0,0 +1,4 @@
+3 5 8
+11100
+10001
+00111
diff --git a/public_test_cases/p02733/input.3.txt b/public_test_cases/p02733/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d937b7049ee2311ddc384975a4a6e74c2ed483f1
--- /dev/null
+++ b/public_test_cases/p02733/input.3.txt
@@ -0,0 +1,4 @@
+3 5 4
+11100
+10001
+00111
diff --git a/public_test_cases/p02733/output.0.txt b/public_test_cases/p02733/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02733/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02733/output.1.txt b/public_test_cases/p02733/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02733/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02733/output.2.txt b/public_test_cases/p02733/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02733/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02733/output.3.txt b/public_test_cases/p02733/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02733/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02734/input.0.txt b/public_test_cases/p02734/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cfac9da29c4563d40b86107c4635d07f7b200c2
--- /dev/null
+++ b/public_test_cases/p02734/input.0.txt
@@ -0,0 +1,2 @@
+3 4
+2 2 4
diff --git a/public_test_cases/p02734/input.1.txt b/public_test_cases/p02734/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e67e50d46739e1e9ffb6a9587cd74f3217a17eaa
--- /dev/null
+++ b/public_test_cases/p02734/input.1.txt
@@ -0,0 +1,2 @@
+10 10
+3 1 4 1 5 9 2 6 5 3
diff --git a/public_test_cases/p02734/input.2.txt b/public_test_cases/p02734/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b484ef92ca890ff8d2558c090bcfc742f658059
--- /dev/null
+++ b/public_test_cases/p02734/input.2.txt
@@ -0,0 +1,2 @@
+5 8
+9 9 9 9 9
diff --git a/public_test_cases/p02734/input.3.txt b/public_test_cases/p02734/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cfac9da29c4563d40b86107c4635d07f7b200c2
--- /dev/null
+++ b/public_test_cases/p02734/input.3.txt
@@ -0,0 +1,2 @@
+3 4
+2 2 4
diff --git a/public_test_cases/p02734/output.0.txt b/public_test_cases/p02734/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02734/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02734/output.1.txt b/public_test_cases/p02734/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..492dff089afe4c5aaa55abe406b1f1169db21a13
--- /dev/null
+++ b/public_test_cases/p02734/output.1.txt
@@ -0,0 +1 @@
+152
diff --git a/public_test_cases/p02734/output.2.txt b/public_test_cases/p02734/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02734/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02734/output.3.txt b/public_test_cases/p02734/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02734/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02735/input.0.txt b/public_test_cases/p02735/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d03c9a39fcdea68ca8450cbb71855000c010a22
--- /dev/null
+++ b/public_test_cases/p02735/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+.##
+.#.
+##.
diff --git a/public_test_cases/p02735/input.1.txt b/public_test_cases/p02735/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19bc8b703d7ecb12e802c46abcae9e7fbfe06765
--- /dev/null
+++ b/public_test_cases/p02735/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+.
+.#
diff --git a/public_test_cases/p02735/input.2.txt b/public_test_cases/p02735/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96889e81558eb9a3a43500415129d8f6728b0e9b
--- /dev/null
+++ b/public_test_cases/p02735/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+..##
+...
+.
+.
diff --git a/public_test_cases/p02735/input.3.txt b/public_test_cases/p02735/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73ee148ba42b8838c8d2fc46debb1d4b2b4b97b5
--- /dev/null
+++ b/public_test_cases/p02735/input.3.txt
@@ -0,0 +1,6 @@
+5 5
+.#.#.
+.#.#
+.#.#.
+.#.#
+.#.#.
diff --git a/public_test_cases/p02735/input.4.txt b/public_test_cases/p02735/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d03c9a39fcdea68ca8450cbb71855000c010a22
--- /dev/null
+++ b/public_test_cases/p02735/input.4.txt
@@ -0,0 +1,4 @@
+3 3
+.##
+.#.
+##.
diff --git a/public_test_cases/p02735/input.5.txt b/public_test_cases/p02735/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..957331430b1fcd1d02edd6286a387a4a0be21b71
--- /dev/null
+++ b/public_test_cases/p02735/input.5.txt
@@ -0,0 +1,4 @@
+3 3
+.##
+.#.
+.
diff --git a/public_test_cases/p02735/output.0.txt b/public_test_cases/p02735/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02735/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02735/output.1.txt b/public_test_cases/p02735/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02735/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02735/output.2.txt b/public_test_cases/p02735/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02735/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02735/output.3.txt b/public_test_cases/p02735/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02735/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02735/output.4.txt b/public_test_cases/p02735/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02735/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02735/output.5.txt b/public_test_cases/p02735/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02735/output.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02736/input.0.txt b/public_test_cases/p02736/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5eae2a48a1bfeb9bfe3724860b2b0425fa0da89e
--- /dev/null
+++ b/public_test_cases/p02736/input.0.txt
@@ -0,0 +1,2 @@
+4
+1231
diff --git a/public_test_cases/p02736/input.1.txt b/public_test_cases/p02736/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6016879a5c0ae0d07e8b28d67618b7e6a15d824c
--- /dev/null
+++ b/public_test_cases/p02736/input.1.txt
@@ -0,0 +1,2 @@
+10
+2311312312
diff --git a/public_test_cases/p02736/input.2.txt b/public_test_cases/p02736/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5eae2a48a1bfeb9bfe3724860b2b0425fa0da89e
--- /dev/null
+++ b/public_test_cases/p02736/input.2.txt
@@ -0,0 +1,2 @@
+4
+1231
diff --git a/public_test_cases/p02736/output.0.txt b/public_test_cases/p02736/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02736/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02736/output.1.txt b/public_test_cases/p02736/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02736/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02736/output.2.txt b/public_test_cases/p02736/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02736/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02737/input.0.txt b/public_test_cases/p02737/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95922a59822f152b1b57af8840079bc88016c591
--- /dev/null
+++ b/public_test_cases/p02737/input.0.txt
@@ -0,0 +1,7 @@
+2
+1
+1 2
+1
+1 2
+1
+1 2
diff --git a/public_test_cases/p02737/input.1.txt b/public_test_cases/p02737/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fcdeb06aad03787b0ec53876695b1faf8a553e6
--- /dev/null
+++ b/public_test_cases/p02737/input.1.txt
@@ -0,0 +1,10 @@
+3
+3
+1 3
+1 2
+3 2
+2
+2 1
+2 3
+1
+2 1
diff --git a/public_test_cases/p02737/input.2.txt b/public_test_cases/p02737/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b446d52478841c235c3af9b2a3ee9876b85786fb
--- /dev/null
+++ b/public_test_cases/p02737/input.2.txt
@@ -0,0 +1,7 @@
+100000
+1
+1 2
+1
+99999 100000
+1
+1 100000
diff --git a/public_test_cases/p02737/input.3.txt b/public_test_cases/p02737/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95922a59822f152b1b57af8840079bc88016c591
--- /dev/null
+++ b/public_test_cases/p02737/input.3.txt
@@ -0,0 +1,7 @@
+2
+1
+1 2
+1
+1 2
+1
+1 2
diff --git a/public_test_cases/p02737/output.0.txt b/public_test_cases/p02737/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3940c16d6edee50657d163668e52975771a76af4
--- /dev/null
+++ b/public_test_cases/p02737/output.0.txt
@@ -0,0 +1 @@
+46494701
diff --git a/public_test_cases/p02737/output.1.txt b/public_test_cases/p02737/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..837ac61cf58e4d82a5f6da543e406ca15affccf1
--- /dev/null
+++ b/public_test_cases/p02737/output.1.txt
@@ -0,0 +1 @@
+883188316
diff --git a/public_test_cases/p02737/output.2.txt b/public_test_cases/p02737/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..687ce1c64626ed8b2067912c8967d3b363528fc3
--- /dev/null
+++ b/public_test_cases/p02737/output.2.txt
@@ -0,0 +1 @@
+318525248
diff --git a/public_test_cases/p02737/output.3.txt b/public_test_cases/p02737/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3940c16d6edee50657d163668e52975771a76af4
--- /dev/null
+++ b/public_test_cases/p02737/output.3.txt
@@ -0,0 +1 @@
+46494701
diff --git a/public_test_cases/p02738/input.0.txt b/public_test_cases/p02738/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..367e427e7c6aa9d8f164583ba512c23ee7f0538d
--- /dev/null
+++ b/public_test_cases/p02738/input.0.txt
@@ -0,0 +1 @@
+1 998244353
diff --git a/public_test_cases/p02738/input.1.txt b/public_test_cases/p02738/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad4b1abd7b7bce1c82c04345a102cb153fe9c2d0
--- /dev/null
+++ b/public_test_cases/p02738/input.1.txt
@@ -0,0 +1 @@
+314 1000000007
diff --git a/public_test_cases/p02738/input.2.txt b/public_test_cases/p02738/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..367e427e7c6aa9d8f164583ba512c23ee7f0538d
--- /dev/null
+++ b/public_test_cases/p02738/input.2.txt
@@ -0,0 +1 @@
+1 998244353
diff --git a/public_test_cases/p02738/input.3.txt b/public_test_cases/p02738/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd977a1d53bc1506bc30ab6d858da4e6d725c307
--- /dev/null
+++ b/public_test_cases/p02738/input.3.txt
@@ -0,0 +1 @@
+2 998244353
diff --git a/public_test_cases/p02738/output.0.txt b/public_test_cases/p02738/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02738/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02738/output.1.txt b/public_test_cases/p02738/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18d4f9cfe5a5ce9f4fe2f5c961efada0acda093c
--- /dev/null
+++ b/public_test_cases/p02738/output.1.txt
@@ -0,0 +1 @@
+182908545
diff --git a/public_test_cases/p02738/output.2.txt b/public_test_cases/p02738/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02738/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02738/output.3.txt b/public_test_cases/p02738/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fc233b7abc7e73aab2d968759841218fde09dfb
--- /dev/null
+++ b/public_test_cases/p02738/output.3.txt
@@ -0,0 +1 @@
+261
diff --git a/public_test_cases/p02739/input.0.txt b/public_test_cases/p02739/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b258dc3d8a70dfd158dac8e5a6905f41cadd45f4
--- /dev/null
+++ b/public_test_cases/p02739/input.0.txt
@@ -0,0 +1,2 @@
+1
+10
diff --git a/public_test_cases/p02739/input.1.txt b/public_test_cases/p02739/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4278ab15284c942b4ef1136e0e2a5cd4c553629
--- /dev/null
+++ b/public_test_cases/p02739/input.1.txt
@@ -0,0 +1,2 @@
+2
+1000
diff --git a/public_test_cases/p02739/input.2.txt b/public_test_cases/p02739/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b258dc3d8a70dfd158dac8e5a6905f41cadd45f4
--- /dev/null
+++ b/public_test_cases/p02739/input.2.txt
@@ -0,0 +1,2 @@
+1
+10
diff --git a/public_test_cases/p02739/input.3.txt b/public_test_cases/p02739/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64a5af4d708bfa4d6735d4123f929d577429035a
--- /dev/null
+++ b/public_test_cases/p02739/input.3.txt
@@ -0,0 +1,2 @@
+2
+1001
diff --git a/public_test_cases/p02739/input.4.txt b/public_test_cases/p02739/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5f1cf8ac646b5e0efc71eee00c20bd20289f363
--- /dev/null
+++ b/public_test_cases/p02739/input.4.txt
@@ -0,0 +1,2 @@
+1
+11
diff --git a/public_test_cases/p02739/output.0.txt b/public_test_cases/p02739/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a16c5723cd0475345393e9f3f53e71548580602
--- /dev/null
+++ b/public_test_cases/p02739/output.0.txt
@@ -0,0 +1,7 @@
+Possible
+4
+0 0
+0 1
+1 1
+1 0
+0 0
diff --git a/public_test_cases/p02739/output.1.txt b/public_test_cases/p02739/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60ab325e1a1249b5bd4e26d2fc6be4ab985c28cd
--- /dev/null
+++ b/public_test_cases/p02739/output.1.txt
@@ -0,0 +1,9 @@
+Possible
+6
+1 0
+2 0
+2 1
+1 1
+0 1
+0 0
+1 0
diff --git a/public_test_cases/p02739/output.2.txt b/public_test_cases/p02739/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a16c5723cd0475345393e9f3f53e71548580602
--- /dev/null
+++ b/public_test_cases/p02739/output.2.txt
@@ -0,0 +1,7 @@
+Possible
+4
+0 0
+0 1
+1 1
+1 0
+0 0
diff --git a/public_test_cases/p02739/output.3.txt b/public_test_cases/p02739/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p02739/output.3.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p02739/output.4.txt b/public_test_cases/p02739/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53a92a2aa57484e187e263520613d50687d29d9a
--- /dev/null
+++ b/public_test_cases/p02739/output.4.txt
@@ -0,0 +1,3 @@
+Possible
+0
+1 1
diff --git a/public_test_cases/p02740/input.0.txt b/public_test_cases/p02740/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c61ba99d6bd826db5f1acf40215f56344fce185d
--- /dev/null
+++ b/public_test_cases/p02740/input.0.txt
@@ -0,0 +1,18 @@
+3
+2
+1 10 1
+3 1 1
+3
+1 10 1
+2 1 1
+3 10 1
+2
+1 1 1
+3 10 1
+2
+1 2 0
+2 3 0
+3
+1
+2
+3
diff --git a/public_test_cases/p02740/input.1.txt b/public_test_cases/p02740/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a18e9b62d5727581c1e74f1028491973924f516f
--- /dev/null
+++ b/public_test_cases/p02740/input.1.txt
@@ -0,0 +1,53 @@
+5
+5
+86849520 30 272477201869
+968023357 28 539131386006
+478355090 8 194500792721
+298572419 6 894877901270
+203794105 25 594579473837
+5
+730211794 22 225797976416
+842538552 9 420531931830
+871332982 26 81253086754
+553846923 29 89734736118
+731788040 13 241088716205
+5
+903534485 22 140045153776
+187101906 8 145639722124
+513502442 9 227445343895
+499446330 6 719254728400
+564106748 20 333423097859
+5
+332809289 8 640911722470
+969492694 21 937931959818
+207959501 11 217019915462
+726936503 12 382527525674
+887971218 17 552919286358
+5
+444983655 13 487875689585
+855863581 6 625608576077
+885012925 10 105520979776
+980933856 1 711474069172
+653022356 19 977887412815
+10
+1 2 231274893
+2 3 829836076
+3 4 745221482
+4 5 935448462
+5 1 819308546
+3 5 815839350
+5 3 513188748
+3 1 968283437
+2 3 202352515
+4 3 292999238
+10
+510266667947
+252899314976
+510266667948
+374155726828
+628866122125
+628866122123
+1
+628866122124
+510266667949
+30000000000000
diff --git a/public_test_cases/p02740/input.2.txt b/public_test_cases/p02740/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c61ba99d6bd826db5f1acf40215f56344fce185d
--- /dev/null
+++ b/public_test_cases/p02740/input.2.txt
@@ -0,0 +1,18 @@
+3
+2
+1 10 1
+3 1 1
+3
+1 10 1
+2 1 1
+3 10 1
+2
+1 1 1
+3 10 1
+2
+1 2 0
+2 3 0
+3
+1
+2
+3
diff --git a/public_test_cases/p02740/output.0.txt b/public_test_cases/p02740/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a3498fd5ab21933954293ff08f11459642d7eae
--- /dev/null
+++ b/public_test_cases/p02740/output.0.txt
@@ -0,0 +1,3 @@
+3
+42
+-1
diff --git a/public_test_cases/p02740/output.1.txt b/public_test_cases/p02740/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3df6f4f5349c9f1b7bfcf08435fc2a964e275dd9
--- /dev/null
+++ b/public_test_cases/p02740/output.1.txt
@@ -0,0 +1,10 @@
+26533866733244
+13150764378752
+26533866733296
+19456097795056
+-1
+33175436167096
+52
+33175436167152
+26533866733352
+-1
diff --git a/public_test_cases/p02740/output.2.txt b/public_test_cases/p02740/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a3498fd5ab21933954293ff08f11459642d7eae
--- /dev/null
+++ b/public_test_cases/p02740/output.2.txt
@@ -0,0 +1,3 @@
+3
+42
+-1
diff --git a/public_test_cases/p02741/input.0.txt b/public_test_cases/p02741/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02741/input.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02741/input.1.txt b/public_test_cases/p02741/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p02741/input.1.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p02741/input.2.txt b/public_test_cases/p02741/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02741/input.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02741/output.0.txt b/public_test_cases/p02741/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02741/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02741/output.1.txt b/public_test_cases/p02741/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02741/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02741/output.2.txt b/public_test_cases/p02741/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02741/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02742/input.0.txt b/public_test_cases/p02742/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a99162ed9cdd1b90006cbd4f07e2a2bd3f404d4
--- /dev/null
+++ b/public_test_cases/p02742/input.0.txt
@@ -0,0 +1 @@
+4 5
diff --git a/public_test_cases/p02742/input.1.txt b/public_test_cases/p02742/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f036e7ba038ea9020e90a29f669ac3db830dd66
--- /dev/null
+++ b/public_test_cases/p02742/input.1.txt
@@ -0,0 +1 @@
+7 3
diff --git a/public_test_cases/p02742/input.2.txt b/public_test_cases/p02742/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caf89741fceaaa4127b0607f26763103dc3d00ca
--- /dev/null
+++ b/public_test_cases/p02742/input.2.txt
@@ -0,0 +1 @@
+1000000000 1000000000
diff --git a/public_test_cases/p02742/input.3.txt b/public_test_cases/p02742/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a99162ed9cdd1b90006cbd4f07e2a2bd3f404d4
--- /dev/null
+++ b/public_test_cases/p02742/input.3.txt
@@ -0,0 +1 @@
+4 5
diff --git a/public_test_cases/p02742/output.0.txt b/public_test_cases/p02742/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02742/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02742/output.1.txt b/public_test_cases/p02742/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02742/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02742/output.2.txt b/public_test_cases/p02742/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..170daeee3cb83e5ea9471403475436d00332ee8d
--- /dev/null
+++ b/public_test_cases/p02742/output.2.txt
@@ -0,0 +1 @@
+500000000000000000
diff --git a/public_test_cases/p02742/output.3.txt b/public_test_cases/p02742/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02742/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02743/input.0.txt b/public_test_cases/p02743/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c12281c343c929ed01faf5f1378b2d342112873
--- /dev/null
+++ b/public_test_cases/p02743/input.0.txt
@@ -0,0 +1 @@
+2 3 9
diff --git a/public_test_cases/p02743/input.1.txt b/public_test_cases/p02743/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05b32e14fdb8a5204562a6bd044e682bf305b245
--- /dev/null
+++ b/public_test_cases/p02743/input.1.txt
@@ -0,0 +1 @@
+2 3 10
diff --git a/public_test_cases/p02743/input.2.txt b/public_test_cases/p02743/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c12281c343c929ed01faf5f1378b2d342112873
--- /dev/null
+++ b/public_test_cases/p02743/input.2.txt
@@ -0,0 +1 @@
+2 3 9
diff --git a/public_test_cases/p02743/output.0.txt b/public_test_cases/p02743/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02743/output.0.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02743/output.1.txt b/public_test_cases/p02743/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02743/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02743/output.2.txt b/public_test_cases/p02743/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02743/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02744/input.0.txt b/public_test_cases/p02744/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02744/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02744/input.1.txt b/public_test_cases/p02744/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02744/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02744/input.2.txt b/public_test_cases/p02744/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02744/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02744/output.0.txt b/public_test_cases/p02744/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p02744/output.0.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p02744/output.1.txt b/public_test_cases/p02744/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p02744/output.1.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p02744/output.2.txt b/public_test_cases/p02744/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85541c6764891cfe233b711fb8a0615eeca86d52
--- /dev/null
+++ b/public_test_cases/p02744/output.2.txt
@@ -0,0 +1,2 @@
+aa
+ab
diff --git a/public_test_cases/p02745/input.0.txt b/public_test_cases/p02745/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6090feb206f1e303650256958b7cb5656c37ea58
--- /dev/null
+++ b/public_test_cases/p02745/input.0.txt
@@ -0,0 +1,3 @@
+a?c
+der
+cod
diff --git a/public_test_cases/p02745/input.1.txt b/public_test_cases/p02745/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6090feb206f1e303650256958b7cb5656c37ea58
--- /dev/null
+++ b/public_test_cases/p02745/input.1.txt
@@ -0,0 +1,3 @@
+a?c
+der
+cod
diff --git a/public_test_cases/p02745/input.2.txt b/public_test_cases/p02745/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f39f58a9c1fd4742705d52209fedfff0d13de9ac
--- /dev/null
+++ b/public_test_cases/p02745/input.2.txt
@@ -0,0 +1,3 @@
+atcoder
+atcoder
+???????
diff --git a/public_test_cases/p02745/output.0.txt b/public_test_cases/p02745/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02745/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02745/output.1.txt b/public_test_cases/p02745/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02745/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02745/output.2.txt b/public_test_cases/p02745/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02745/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02746/input.0.txt b/public_test_cases/p02746/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18e0577211c9baaaf05055be6db4a19fb7182997
--- /dev/null
+++ b/public_test_cases/p02746/input.0.txt
@@ -0,0 +1,3 @@
+2
+4 2 7 4
+9 9 1 9
diff --git a/public_test_cases/p02746/input.1.txt b/public_test_cases/p02746/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18e0577211c9baaaf05055be6db4a19fb7182997
--- /dev/null
+++ b/public_test_cases/p02746/input.1.txt
@@ -0,0 +1,3 @@
+2
+4 2 7 4
+9 9 1 9
diff --git a/public_test_cases/p02746/output.0.txt b/public_test_cases/p02746/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2050fde75a00b930d8590b42b634b1ebbe3bc6b4
--- /dev/null
+++ b/public_test_cases/p02746/output.0.txt
@@ -0,0 +1,2 @@
+5
+8
diff --git a/public_test_cases/p02746/output.1.txt b/public_test_cases/p02746/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2050fde75a00b930d8590b42b634b1ebbe3bc6b4
--- /dev/null
+++ b/public_test_cases/p02746/output.1.txt
@@ -0,0 +1,2 @@
+5
+8
diff --git a/public_test_cases/p02747/input.0.txt b/public_test_cases/p02747/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..623d98c32b812204d9604a401dacbd095b68977c
--- /dev/null
+++ b/public_test_cases/p02747/input.0.txt
@@ -0,0 +1 @@
+hihi
diff --git a/public_test_cases/p02747/input.1.txt b/public_test_cases/p02747/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05a98d59e6f083f194480efd00062071a01e54d8
--- /dev/null
+++ b/public_test_cases/p02747/input.1.txt
@@ -0,0 +1 @@
+ha
diff --git a/public_test_cases/p02747/input.2.txt b/public_test_cases/p02747/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45b983be36b73c0788dc9cbcb76cbb80fc7bb057
--- /dev/null
+++ b/public_test_cases/p02747/input.2.txt
@@ -0,0 +1 @@
+hi
diff --git a/public_test_cases/p02747/input.3.txt b/public_test_cases/p02747/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..623d98c32b812204d9604a401dacbd095b68977c
--- /dev/null
+++ b/public_test_cases/p02747/input.3.txt
@@ -0,0 +1 @@
+hihi
diff --git a/public_test_cases/p02747/output.0.txt b/public_test_cases/p02747/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02747/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02747/output.1.txt b/public_test_cases/p02747/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02747/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02747/output.2.txt b/public_test_cases/p02747/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02747/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02747/output.3.txt b/public_test_cases/p02747/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02747/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02748/input.0.txt b/public_test_cases/p02748/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e01786f230f28a105d3109643709ca85051e749b
--- /dev/null
+++ b/public_test_cases/p02748/input.0.txt
@@ -0,0 +1,4 @@
+2 3 1
+3 3
+3 3 3
+1 2 1
diff --git a/public_test_cases/p02748/input.1.txt b/public_test_cases/p02748/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..074fa1abf56600770cd8d73427b4dfb0ee04822f
--- /dev/null
+++ b/public_test_cases/p02748/input.1.txt
@@ -0,0 +1,5 @@
+1 1 2
+10
+10
+1 1 5
+1 1 10
diff --git a/public_test_cases/p02748/input.2.txt b/public_test_cases/p02748/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a12e49ce0b333081a2d46d142ffa9e9e0c6b149
--- /dev/null
+++ b/public_test_cases/p02748/input.2.txt
@@ -0,0 +1,4 @@
+2 2 1
+3 5
+3 5
+2 2 2
diff --git a/public_test_cases/p02748/input.3.txt b/public_test_cases/p02748/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e01786f230f28a105d3109643709ca85051e749b
--- /dev/null
+++ b/public_test_cases/p02748/input.3.txt
@@ -0,0 +1,4 @@
+2 3 1
+3 3
+3 3 3
+1 2 1
diff --git a/public_test_cases/p02748/output.0.txt b/public_test_cases/p02748/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02748/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02748/output.1.txt b/public_test_cases/p02748/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02748/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02748/output.2.txt b/public_test_cases/p02748/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02748/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02748/output.3.txt b/public_test_cases/p02748/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02748/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02749/input.0.txt b/public_test_cases/p02749/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1afd0a528043139ffda69e48f586095ea445862a
--- /dev/null
+++ b/public_test_cases/p02749/input.0.txt
@@ -0,0 +1,5 @@
+5
+1 2
+1 3
+3 4
+3 5
diff --git a/public_test_cases/p02749/input.1.txt b/public_test_cases/p02749/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1afd0a528043139ffda69e48f586095ea445862a
--- /dev/null
+++ b/public_test_cases/p02749/input.1.txt
@@ -0,0 +1,5 @@
+5
+1 2
+1 3
+3 4
+3 5
diff --git a/public_test_cases/p02749/output.0.txt b/public_test_cases/p02749/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2aa5e979754617cdd7823a4dd4315a48db7ccc7c
--- /dev/null
+++ b/public_test_cases/p02749/output.0.txt
@@ -0,0 +1 @@
+1 2 5 4 3
diff --git a/public_test_cases/p02749/output.1.txt b/public_test_cases/p02749/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2aa5e979754617cdd7823a4dd4315a48db7ccc7c
--- /dev/null
+++ b/public_test_cases/p02749/output.1.txt
@@ -0,0 +1 @@
+1 2 5 4 3
diff --git a/public_test_cases/p02750/input.0.txt b/public_test_cases/p02750/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..794abbcee0cc7a4a5442fd69001c710d25398997
--- /dev/null
+++ b/public_test_cases/p02750/input.0.txt
@@ -0,0 +1,4 @@
+3 7
+2 0
+3 2
+0 3
diff --git a/public_test_cases/p02750/input.1.txt b/public_test_cases/p02750/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d46cb0db6ffbba3e29818e9e03045b590108df5b
--- /dev/null
+++ b/public_test_cases/p02750/input.1.txt
@@ -0,0 +1,2 @@
+1 3
+0 3
diff --git a/public_test_cases/p02750/input.2.txt b/public_test_cases/p02750/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7962d8b57d58c9524eccb6eb0deff6cfe545334
--- /dev/null
+++ b/public_test_cases/p02750/input.2.txt
@@ -0,0 +1,6 @@
+5 21600
+2 14
+3 22
+1 3
+1 10
+1 9
diff --git a/public_test_cases/p02750/input.3.txt b/public_test_cases/p02750/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..794abbcee0cc7a4a5442fd69001c710d25398997
--- /dev/null
+++ b/public_test_cases/p02750/input.3.txt
@@ -0,0 +1,4 @@
+3 7
+2 0
+3 2
+0 3
diff --git a/public_test_cases/p02750/input.4.txt b/public_test_cases/p02750/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70c7b76b46e578f92cbc322c33a60f2a9ee4027e
--- /dev/null
+++ b/public_test_cases/p02750/input.4.txt
@@ -0,0 +1,8 @@
+7 57
+0 25
+3 10
+2 4
+5 15
+3 22
+2 14
+1 15
diff --git a/public_test_cases/p02750/output.0.txt b/public_test_cases/p02750/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02750/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02750/output.1.txt b/public_test_cases/p02750/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02750/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02750/output.2.txt b/public_test_cases/p02750/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02750/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02750/output.3.txt b/public_test_cases/p02750/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02750/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02750/output.4.txt b/public_test_cases/p02750/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02750/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02751/input.0.txt b/public_test_cases/p02751/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p02751/input.0.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p02751/input.1.txt b/public_test_cases/p02751/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p02751/input.1.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p02751/output.0.txt b/public_test_cases/p02751/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p02751/output.0.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p02751/output.1.txt b/public_test_cases/p02751/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p02751/output.1.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p02752/input.0.txt b/public_test_cases/p02752/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b0704ba694f598d9483987099ecbc787f05c7a4
--- /dev/null
+++ b/public_test_cases/p02752/input.0.txt
@@ -0,0 +1,6 @@
+6
+1 6
+2 1
+5 2
+3 4
+2 3
diff --git a/public_test_cases/p02752/input.1.txt b/public_test_cases/p02752/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d5172e669d4fac45306a96cc74ad5ea104e1122
--- /dev/null
+++ b/public_test_cases/p02752/input.1.txt
@@ -0,0 +1,9 @@
+9
+1 2
+2 3
+4 2
+1 7
+6 1
+2 5
+5 9
+6 8
diff --git a/public_test_cases/p02752/input.2.txt b/public_test_cases/p02752/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b0704ba694f598d9483987099ecbc787f05c7a4
--- /dev/null
+++ b/public_test_cases/p02752/input.2.txt
@@ -0,0 +1,6 @@
+6
+1 6
+2 1
+5 2
+3 4
+2 3
diff --git a/public_test_cases/p02752/input.3.txt b/public_test_cases/p02752/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc6323c06e23a08fabbd590a15bc78c1c06c9daa
--- /dev/null
+++ b/public_test_cases/p02752/input.3.txt
@@ -0,0 +1,19 @@
+19
+2 4
+15 8
+1 16
+1 3
+12 19
+1 18
+7 11
+11 15
+12 9
+1 6
+7 14
+18 2
+13 12
+13 5
+16 13
+7 1
+11 10
+7 17
diff --git a/public_test_cases/p02752/input.4.txt b/public_test_cases/p02752/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p02752/input.4.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p02752/output.0.txt b/public_test_cases/p02752/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02752/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02752/output.1.txt b/public_test_cases/p02752/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p02752/output.1.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p02752/output.2.txt b/public_test_cases/p02752/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02752/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02752/output.3.txt b/public_test_cases/p02752/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1162c24267271e43213a66302f58db4e06380982
--- /dev/null
+++ b/public_test_cases/p02752/output.3.txt
@@ -0,0 +1 @@
+78732
diff --git a/public_test_cases/p02752/output.4.txt b/public_test_cases/p02752/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02752/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02753/input.0.txt b/public_test_cases/p02753/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56fdc2f87dc927a3d921c0da7baeb30cc01a4b55
--- /dev/null
+++ b/public_test_cases/p02753/input.0.txt
@@ -0,0 +1 @@
+ABA
diff --git a/public_test_cases/p02753/input.1.txt b/public_test_cases/p02753/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56fdc2f87dc927a3d921c0da7baeb30cc01a4b55
--- /dev/null
+++ b/public_test_cases/p02753/input.1.txt
@@ -0,0 +1 @@
+ABA
diff --git a/public_test_cases/p02753/input.2.txt b/public_test_cases/p02753/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dd27df9288c13083eb2be5c9f3aa23441ebd4c0
--- /dev/null
+++ b/public_test_cases/p02753/input.2.txt
@@ -0,0 +1 @@
+BBA
diff --git a/public_test_cases/p02753/input.3.txt b/public_test_cases/p02753/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba629238ca89489f2b350e196ca445e09d8bb834
--- /dev/null
+++ b/public_test_cases/p02753/input.3.txt
@@ -0,0 +1 @@
+BBB
diff --git a/public_test_cases/p02753/output.0.txt b/public_test_cases/p02753/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02753/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02753/output.1.txt b/public_test_cases/p02753/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02753/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02753/output.2.txt b/public_test_cases/p02753/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02753/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02753/output.3.txt b/public_test_cases/p02753/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02753/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02754/input.0.txt b/public_test_cases/p02754/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca44bedcbcf79abadfc45995e5a827f672f04704
--- /dev/null
+++ b/public_test_cases/p02754/input.0.txt
@@ -0,0 +1 @@
+8 3 4
diff --git a/public_test_cases/p02754/input.1.txt b/public_test_cases/p02754/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce33f508ca9e4bfa46dc63479c17bd8011690236
--- /dev/null
+++ b/public_test_cases/p02754/input.1.txt
@@ -0,0 +1 @@
+8 0 4
diff --git a/public_test_cases/p02754/input.2.txt b/public_test_cases/p02754/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca44bedcbcf79abadfc45995e5a827f672f04704
--- /dev/null
+++ b/public_test_cases/p02754/input.2.txt
@@ -0,0 +1 @@
+8 3 4
diff --git a/public_test_cases/p02754/input.3.txt b/public_test_cases/p02754/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2602c8fd130acb24f62a5546d5d92c094ea93879
--- /dev/null
+++ b/public_test_cases/p02754/input.3.txt
@@ -0,0 +1 @@
+6 2 4
diff --git a/public_test_cases/p02754/output.0.txt b/public_test_cases/p02754/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02754/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02754/output.1.txt b/public_test_cases/p02754/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02754/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02754/output.2.txt b/public_test_cases/p02754/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02754/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02754/output.3.txt b/public_test_cases/p02754/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02754/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02755/input.0.txt b/public_test_cases/p02755/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02755/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02755/input.1.txt b/public_test_cases/p02755/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..245ffd7a13911032a727b1f47443eabb97c4a7e7
--- /dev/null
+++ b/public_test_cases/p02755/input.1.txt
@@ -0,0 +1 @@
+19 99
diff --git a/public_test_cases/p02755/input.2.txt b/public_test_cases/p02755/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02755/input.2.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02755/input.3.txt b/public_test_cases/p02755/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3933c1f854201be886d45544b1716c9fba0c69a0
--- /dev/null
+++ b/public_test_cases/p02755/input.3.txt
@@ -0,0 +1 @@
+8 10
diff --git a/public_test_cases/p02755/output.0.txt b/public_test_cases/p02755/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02755/output.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02755/output.1.txt b/public_test_cases/p02755/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02755/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02755/output.2.txt b/public_test_cases/p02755/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02755/output.2.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02755/output.3.txt b/public_test_cases/p02755/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02755/output.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02756/input.0.txt b/public_test_cases/p02756/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfcb764596e0502b1b3c0aa785c74d77c66aaa19
--- /dev/null
+++ b/public_test_cases/p02756/input.0.txt
@@ -0,0 +1,6 @@
+a
+4
+2 1 p
+1
+2 2 c
+1
diff --git a/public_test_cases/p02756/input.1.txt b/public_test_cases/p02756/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f393c2c426d261efe717ea63e8b718062088d3c7
--- /dev/null
+++ b/public_test_cases/p02756/input.1.txt
@@ -0,0 +1,3 @@
+y
+1
+2 1 x
diff --git a/public_test_cases/p02756/input.2.txt b/public_test_cases/p02756/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfcb764596e0502b1b3c0aa785c74d77c66aaa19
--- /dev/null
+++ b/public_test_cases/p02756/input.2.txt
@@ -0,0 +1,6 @@
+a
+4
+2 1 p
+1
+2 2 c
+1
diff --git a/public_test_cases/p02756/input.3.txt b/public_test_cases/p02756/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0627fdc9e962a4267d78d4c8ddf52123e53ecdc
--- /dev/null
+++ b/public_test_cases/p02756/input.3.txt
@@ -0,0 +1,8 @@
+a
+6
+2 2 a
+2 1 b
+1
+2 2 c
+1
+1
diff --git a/public_test_cases/p02756/output.0.txt b/public_test_cases/p02756/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bff21a7f27faa64ea1c3a876570458ae4646a313
--- /dev/null
+++ b/public_test_cases/p02756/output.0.txt
@@ -0,0 +1 @@
+cpa
diff --git a/public_test_cases/p02756/output.1.txt b/public_test_cases/p02756/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5aad9376af82d7b98a34f95fb0f298a162f52656
--- /dev/null
+++ b/public_test_cases/p02756/output.1.txt
@@ -0,0 +1 @@
+xy
diff --git a/public_test_cases/p02756/output.2.txt b/public_test_cases/p02756/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bff21a7f27faa64ea1c3a876570458ae4646a313
--- /dev/null
+++ b/public_test_cases/p02756/output.2.txt
@@ -0,0 +1 @@
+cpa
diff --git a/public_test_cases/p02756/output.3.txt b/public_test_cases/p02756/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ba25c859c2d56b79d7e889c886c7f0106878935
--- /dev/null
+++ b/public_test_cases/p02756/output.3.txt
@@ -0,0 +1 @@
+aabc
diff --git a/public_test_cases/p02757/input.0.txt b/public_test_cases/p02757/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c65d18b3bb22b9188c3f921c84379154be751486
--- /dev/null
+++ b/public_test_cases/p02757/input.0.txt
@@ -0,0 +1,2 @@
+4 3
+3543
diff --git a/public_test_cases/p02757/input.1.txt b/public_test_cases/p02757/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c65d18b3bb22b9188c3f921c84379154be751486
--- /dev/null
+++ b/public_test_cases/p02757/input.1.txt
@@ -0,0 +1,2 @@
+4 3
+3543
diff --git a/public_test_cases/p02757/input.2.txt b/public_test_cases/p02757/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b69061fc625028146e1d6c41590461c642457e2d
--- /dev/null
+++ b/public_test_cases/p02757/input.2.txt
@@ -0,0 +1,2 @@
+20 11
+33883322005544116655
diff --git a/public_test_cases/p02757/input.3.txt b/public_test_cases/p02757/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69ea1beabbf621c03d51cbb0dd8c17c728d095ec
--- /dev/null
+++ b/public_test_cases/p02757/input.3.txt
@@ -0,0 +1,2 @@
+4 2
+2020
diff --git a/public_test_cases/p02757/output.0.txt b/public_test_cases/p02757/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02757/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02757/output.1.txt b/public_test_cases/p02757/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02757/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02757/output.2.txt b/public_test_cases/p02757/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b10c1b2badd802b554ecc944a7a40c5f055d47
--- /dev/null
+++ b/public_test_cases/p02757/output.2.txt
@@ -0,0 +1 @@
+68
diff --git a/public_test_cases/p02757/output.3.txt b/public_test_cases/p02757/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02757/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02758/input.0.txt b/public_test_cases/p02758/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eeba8bf046b9c05163de35fce269c7a3a4816e7
--- /dev/null
+++ b/public_test_cases/p02758/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 5
+3 3
diff --git a/public_test_cases/p02758/input.1.txt b/public_test_cases/p02758/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eeba8bf046b9c05163de35fce269c7a3a4816e7
--- /dev/null
+++ b/public_test_cases/p02758/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 5
+3 3
diff --git a/public_test_cases/p02758/input.2.txt b/public_test_cases/p02758/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35dfb513916885c47dfb3d2ea4ffaa6c4419ef4d
--- /dev/null
+++ b/public_test_cases/p02758/input.2.txt
@@ -0,0 +1,4 @@
+3
+6 5
+-1 10
+3 3
diff --git a/public_test_cases/p02758/input.3.txt b/public_test_cases/p02758/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..806ca88e05949888f2798a9fa682a5d35659b1d1
--- /dev/null
+++ b/public_test_cases/p02758/input.3.txt
@@ -0,0 +1,21 @@
+20
+-8 1
+26 4
+0 5
+9 1
+19 4
+22 20
+28 27
+11 8
+-3 20
+-25 17
+10 4
+-18 27
+24 28
+-11 19
+2 27
+-2 18
+-1 12
+-24 29
+31 29
+29 7
diff --git a/public_test_cases/p02758/input.4.txt b/public_test_cases/p02758/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c7d763d27895cbfa2668c62df689f7bd612a860
--- /dev/null
+++ b/public_test_cases/p02758/input.4.txt
@@ -0,0 +1,5 @@
+4
+7 10
+-10 3
+4 3
+-4 3
diff --git a/public_test_cases/p02758/output.0.txt b/public_test_cases/p02758/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02758/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02758/output.1.txt b/public_test_cases/p02758/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02758/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02758/output.2.txt b/public_test_cases/p02758/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02758/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02758/output.3.txt b/public_test_cases/p02758/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p02758/output.3.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p02758/output.4.txt b/public_test_cases/p02758/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p02758/output.4.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p02759/input.0.txt b/public_test_cases/p02759/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02759/input.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02759/input.1.txt b/public_test_cases/p02759/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02759/input.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02759/input.2.txt b/public_test_cases/p02759/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02759/input.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02759/input.3.txt b/public_test_cases/p02759/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02759/input.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02759/output.0.txt b/public_test_cases/p02759/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02759/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02759/output.1.txt b/public_test_cases/p02759/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02759/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02759/output.2.txt b/public_test_cases/p02759/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p02759/output.2.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p02759/output.3.txt b/public_test_cases/p02759/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02759/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02760/input.0.txt b/public_test_cases/p02760/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21de50a889eec85e28e6298d8dbf0ce23718acea
--- /dev/null
+++ b/public_test_cases/p02760/input.0.txt
@@ -0,0 +1,11 @@
+84 97 66
+79 89 11
+61 59 7
+7
+89
+7
+87
+79
+24
+84
+30
diff --git a/public_test_cases/p02760/input.1.txt b/public_test_cases/p02760/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9e20fcaf8016a0b47720ec57391c1e89bef3ace
--- /dev/null
+++ b/public_test_cases/p02760/input.1.txt
@@ -0,0 +1,14 @@
+60 88 34
+92 41 43
+65 73 48
+10
+60
+43
+88
+11
+48
+73
+65
+41
+92
+34
diff --git a/public_test_cases/p02760/input.2.txt b/public_test_cases/p02760/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21de50a889eec85e28e6298d8dbf0ce23718acea
--- /dev/null
+++ b/public_test_cases/p02760/input.2.txt
@@ -0,0 +1,11 @@
+84 97 66
+79 89 11
+61 59 7
+7
+89
+7
+87
+79
+24
+84
+30
diff --git a/public_test_cases/p02760/input.3.txt b/public_test_cases/p02760/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fa25526d73a7dd7c50cb2004412944c13f4c2e3
--- /dev/null
+++ b/public_test_cases/p02760/input.3.txt
@@ -0,0 +1,9 @@
+41 7 46
+26 89 2
+78 92 8
+5
+6
+45
+16
+57
+17
diff --git a/public_test_cases/p02760/output.0.txt b/public_test_cases/p02760/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02760/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02760/output.1.txt b/public_test_cases/p02760/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02760/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02760/output.2.txt b/public_test_cases/p02760/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02760/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02760/output.3.txt b/public_test_cases/p02760/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02760/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02761/input.0.txt b/public_test_cases/p02761/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bcb24b622ecabf74196c44c9d3930961918fde8
--- /dev/null
+++ b/public_test_cases/p02761/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 7
+3 2
+1 7
diff --git a/public_test_cases/p02761/input.1.txt b/public_test_cases/p02761/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92ec9d57ad1f64e311514ff11a21b48c7b9b1d4d
--- /dev/null
+++ b/public_test_cases/p02761/input.1.txt
@@ -0,0 +1,2 @@
+3 1
+1 0
diff --git a/public_test_cases/p02761/input.2.txt b/public_test_cases/p02761/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bcb24b622ecabf74196c44c9d3930961918fde8
--- /dev/null
+++ b/public_test_cases/p02761/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+1 7
+3 2
+1 7
diff --git a/public_test_cases/p02761/input.3.txt b/public_test_cases/p02761/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..445bb015cea0ebf931dbd9eb551e2668ae67c1ba
--- /dev/null
+++ b/public_test_cases/p02761/input.3.txt
@@ -0,0 +1,3 @@
+3 2
+2 1
+2 3
diff --git a/public_test_cases/p02761/output.0.txt b/public_test_cases/p02761/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88eafce37832a1e00f7fd24cc04e75b7afa4123a
--- /dev/null
+++ b/public_test_cases/p02761/output.0.txt
@@ -0,0 +1 @@
+702
diff --git a/public_test_cases/p02761/output.1.txt b/public_test_cases/p02761/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02761/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02761/output.2.txt b/public_test_cases/p02761/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88eafce37832a1e00f7fd24cc04e75b7afa4123a
--- /dev/null
+++ b/public_test_cases/p02761/output.2.txt
@@ -0,0 +1 @@
+702
diff --git a/public_test_cases/p02761/output.3.txt b/public_test_cases/p02761/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02761/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02762/input.0.txt b/public_test_cases/p02762/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a798d38a622f47a7cfdbd9a8db23320ded6b2c7
--- /dev/null
+++ b/public_test_cases/p02762/input.0.txt
@@ -0,0 +1,6 @@
+4 4 1
+2 1
+1 3
+3 2
+3 4
+4 1
diff --git a/public_test_cases/p02762/input.1.txt b/public_test_cases/p02762/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a798d38a622f47a7cfdbd9a8db23320ded6b2c7
--- /dev/null
+++ b/public_test_cases/p02762/input.1.txt
@@ -0,0 +1,6 @@
+4 4 1
+2 1
+1 3
+3 2
+3 4
+4 1
diff --git a/public_test_cases/p02762/input.2.txt b/public_test_cases/p02762/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..935411af7594b07d59ec9a864830d384dcc1ea84
--- /dev/null
+++ b/public_test_cases/p02762/input.2.txt
@@ -0,0 +1,11 @@
+5 10 0
+1 2
+1 3
+1 4
+1 5
+3 2
+2 4
+2 5
+4 3
+5 3
+4 5
diff --git a/public_test_cases/p02762/input.3.txt b/public_test_cases/p02762/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9364f949d858d485de413733124a9f1458777059
--- /dev/null
+++ b/public_test_cases/p02762/input.3.txt
@@ -0,0 +1,13 @@
+10 9 3
+10 1
+6 7
+8 2
+2 5
+8 4
+7 3
+10 9
+6 4
+5 8
+2 6
+7 5
+3 1
diff --git a/public_test_cases/p02762/output.0.txt b/public_test_cases/p02762/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a358e134856474d31a359fd309f11a64f24d9fdd
--- /dev/null
+++ b/public_test_cases/p02762/output.0.txt
@@ -0,0 +1 @@
+0 1 0 1
diff --git a/public_test_cases/p02762/output.1.txt b/public_test_cases/p02762/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a358e134856474d31a359fd309f11a64f24d9fdd
--- /dev/null
+++ b/public_test_cases/p02762/output.1.txt
@@ -0,0 +1 @@
+0 1 0 1
diff --git a/public_test_cases/p02762/output.2.txt b/public_test_cases/p02762/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88b14b24dad3c4eeacd577e1317468b16718ae5d
--- /dev/null
+++ b/public_test_cases/p02762/output.2.txt
@@ -0,0 +1 @@
+0 0 0 0 0
diff --git a/public_test_cases/p02762/output.3.txt b/public_test_cases/p02762/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fb94e7bb021876c4ab55cd7741d4d3eb031d46a
--- /dev/null
+++ b/public_test_cases/p02762/output.3.txt
@@ -0,0 +1 @@
+1 3 5 4 3 3 3 3 1 0
diff --git a/public_test_cases/p02763/input.0.txt b/public_test_cases/p02763/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfea789652f09220a9f665b34a62aae8ed09a9a8
--- /dev/null
+++ b/public_test_cases/p02763/input.0.txt
@@ -0,0 +1,9 @@
+7
+abcdbbd
+6
+2 3 6
+1 5 z
+2 1 1
+1 4 a
+1 7 d
+2 1 7
diff --git a/public_test_cases/p02763/input.1.txt b/public_test_cases/p02763/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfea789652f09220a9f665b34a62aae8ed09a9a8
--- /dev/null
+++ b/public_test_cases/p02763/input.1.txt
@@ -0,0 +1,9 @@
+7
+abcdbbd
+6
+2 3 6
+1 5 z
+2 1 1
+1 4 a
+1 7 d
+2 1 7
diff --git a/public_test_cases/p02763/output.0.txt b/public_test_cases/p02763/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59535778f1f47f4f49244ea775282f12cd3132fc
--- /dev/null
+++ b/public_test_cases/p02763/output.0.txt
@@ -0,0 +1,3 @@
+3
+1
+5
diff --git a/public_test_cases/p02763/output.1.txt b/public_test_cases/p02763/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59535778f1f47f4f49244ea775282f12cd3132fc
--- /dev/null
+++ b/public_test_cases/p02763/output.1.txt
@@ -0,0 +1,3 @@
+3
+1
+5
diff --git a/public_test_cases/p02764/input.0.txt b/public_test_cases/p02764/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c818a58236f68d1c65fa5498e00dd621ca8ea1f
--- /dev/null
+++ b/public_test_cases/p02764/input.0.txt
@@ -0,0 +1,5 @@
+4 3
+-1 0 3
+0 0 3
+1 0 2
+1 1 40
diff --git a/public_test_cases/p02764/input.1.txt b/public_test_cases/p02764/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77e1e534bcd50e70215560c91e5562cd36c267b4
--- /dev/null
+++ b/public_test_cases/p02764/input.1.txt
@@ -0,0 +1,11 @@
+10 5
+-879 981 26
+890 -406 81
+512 859 97
+362 -955 25
+128 553 17
+-885 763 2
+449 310 57
+-656 -204 11
+-270 76 40
+184 170 16
diff --git a/public_test_cases/p02764/input.2.txt b/public_test_cases/p02764/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c818a58236f68d1c65fa5498e00dd621ca8ea1f
--- /dev/null
+++ b/public_test_cases/p02764/input.2.txt
@@ -0,0 +1,5 @@
+4 3
+-1 0 3
+0 0 3
+1 0 2
+1 1 40
diff --git a/public_test_cases/p02764/output.0.txt b/public_test_cases/p02764/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b4950e3de2f6c99801a4f5e2ffa01669f358572
--- /dev/null
+++ b/public_test_cases/p02764/output.0.txt
@@ -0,0 +1 @@
+2.4
diff --git a/public_test_cases/p02764/output.1.txt b/public_test_cases/p02764/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e13916cb6a9a91a0e42d9e68eb0a965dc2e9ca8
--- /dev/null
+++ b/public_test_cases/p02764/output.1.txt
@@ -0,0 +1 @@
+7411.2252
diff --git a/public_test_cases/p02764/output.2.txt b/public_test_cases/p02764/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b4950e3de2f6c99801a4f5e2ffa01669f358572
--- /dev/null
+++ b/public_test_cases/p02764/output.2.txt
@@ -0,0 +1 @@
+2.4
diff --git a/public_test_cases/p02765/input.0.txt b/public_test_cases/p02765/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11c54ad70f6b3af5c67200dfd34bcd8fe8f5c920
--- /dev/null
+++ b/public_test_cases/p02765/input.0.txt
@@ -0,0 +1 @@
+2 2919
diff --git a/public_test_cases/p02765/input.1.txt b/public_test_cases/p02765/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11c54ad70f6b3af5c67200dfd34bcd8fe8f5c920
--- /dev/null
+++ b/public_test_cases/p02765/input.1.txt
@@ -0,0 +1 @@
+2 2919
diff --git a/public_test_cases/p02765/input.2.txt b/public_test_cases/p02765/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8b5cd18a21d05a8dbd77ef20aa9bc3fdc50d434
--- /dev/null
+++ b/public_test_cases/p02765/input.2.txt
@@ -0,0 +1 @@
+22 3051
diff --git a/public_test_cases/p02765/output.0.txt b/public_test_cases/p02765/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea64d45ce681f9121aba2cba22b59be8a881e4aa
--- /dev/null
+++ b/public_test_cases/p02765/output.0.txt
@@ -0,0 +1 @@
+3719
diff --git a/public_test_cases/p02765/output.1.txt b/public_test_cases/p02765/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea64d45ce681f9121aba2cba22b59be8a881e4aa
--- /dev/null
+++ b/public_test_cases/p02765/output.1.txt
@@ -0,0 +1 @@
+3719
diff --git a/public_test_cases/p02765/output.2.txt b/public_test_cases/p02765/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08022a4c714b289e9f11bb709b57ee6433cb9ff9
--- /dev/null
+++ b/public_test_cases/p02765/output.2.txt
@@ -0,0 +1 @@
+3051
diff --git a/public_test_cases/p02766/input.0.txt b/public_test_cases/p02766/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b942b8669a31d714e4370a8a3ea04f293d52e06
--- /dev/null
+++ b/public_test_cases/p02766/input.0.txt
@@ -0,0 +1 @@
+11 2
diff --git a/public_test_cases/p02766/input.1.txt b/public_test_cases/p02766/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b942b8669a31d714e4370a8a3ea04f293d52e06
--- /dev/null
+++ b/public_test_cases/p02766/input.1.txt
@@ -0,0 +1 @@
+11 2
diff --git a/public_test_cases/p02766/input.2.txt b/public_test_cases/p02766/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa6aaafbdcdf337e3cc90b032ba85060eab66f9c
--- /dev/null
+++ b/public_test_cases/p02766/input.2.txt
@@ -0,0 +1 @@
+314159265 3
diff --git a/public_test_cases/p02766/input.3.txt b/public_test_cases/p02766/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dee66dc380de581fcf704a6757e0da9a29d10eb9
--- /dev/null
+++ b/public_test_cases/p02766/input.3.txt
@@ -0,0 +1 @@
+1010101 10
diff --git a/public_test_cases/p02766/output.0.txt b/public_test_cases/p02766/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02766/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02766/output.1.txt b/public_test_cases/p02766/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02766/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02766/output.2.txt b/public_test_cases/p02766/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p02766/output.2.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p02766/output.3.txt b/public_test_cases/p02766/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02766/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02767/input.0.txt b/public_test_cases/p02767/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44a7e9578101ef768b0bde87ca56ddb4228b8bbf
--- /dev/null
+++ b/public_test_cases/p02767/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 4
diff --git a/public_test_cases/p02767/input.1.txt b/public_test_cases/p02767/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ba1707fbbfc940601412180b3d9d1d8a232b91b
--- /dev/null
+++ b/public_test_cases/p02767/input.1.txt
@@ -0,0 +1,2 @@
+7
+14 14 2 13 56 2 37
diff --git a/public_test_cases/p02767/input.2.txt b/public_test_cases/p02767/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44a7e9578101ef768b0bde87ca56ddb4228b8bbf
--- /dev/null
+++ b/public_test_cases/p02767/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 4
diff --git a/public_test_cases/p02767/output.0.txt b/public_test_cases/p02767/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02767/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02767/output.1.txt b/public_test_cases/p02767/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf97139540b7d7a91dc58b9d54e1fc77110b6e2a
--- /dev/null
+++ b/public_test_cases/p02767/output.1.txt
@@ -0,0 +1 @@
+2354
diff --git a/public_test_cases/p02767/output.2.txt b/public_test_cases/p02767/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02767/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02768/input.0.txt b/public_test_cases/p02768/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6572bad30d7e88a32d9dabe7a74b0da42da8bed8
--- /dev/null
+++ b/public_test_cases/p02768/input.0.txt
@@ -0,0 +1 @@
+4 1 3
diff --git a/public_test_cases/p02768/input.1.txt b/public_test_cases/p02768/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6572bad30d7e88a32d9dabe7a74b0da42da8bed8
--- /dev/null
+++ b/public_test_cases/p02768/input.1.txt
@@ -0,0 +1 @@
+4 1 3
diff --git a/public_test_cases/p02768/input.2.txt b/public_test_cases/p02768/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffb8fd8a87afc583070d3fb3110a802e5cfcfc6e
--- /dev/null
+++ b/public_test_cases/p02768/input.2.txt
@@ -0,0 +1 @@
+1000000000 141421 173205
diff --git a/public_test_cases/p02768/output.0.txt b/public_test_cases/p02768/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02768/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02768/output.1.txt b/public_test_cases/p02768/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02768/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02768/output.2.txt b/public_test_cases/p02768/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a980a0cc68a5647ece3ac9f42f09c12c096b9996
--- /dev/null
+++ b/public_test_cases/p02768/output.2.txt
@@ -0,0 +1 @@
+34076506
diff --git a/public_test_cases/p02769/input.0.txt b/public_test_cases/p02769/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02769/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02769/input.1.txt b/public_test_cases/p02769/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02769/input.1.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02769/input.2.txt b/public_test_cases/p02769/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..945e3f6c8dea4b8c995eadcd36c085102eaf8dd4
--- /dev/null
+++ b/public_test_cases/p02769/input.2.txt
@@ -0,0 +1 @@
+200000 1000000000
diff --git a/public_test_cases/p02769/input.3.txt b/public_test_cases/p02769/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea54b0e834cc909585de8b28ec4cb9ec6093390f
--- /dev/null
+++ b/public_test_cases/p02769/input.3.txt
@@ -0,0 +1 @@
+15 6
diff --git a/public_test_cases/p02769/output.0.txt b/public_test_cases/p02769/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02769/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02769/output.1.txt b/public_test_cases/p02769/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02769/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02769/output.2.txt b/public_test_cases/p02769/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3fffdde6cdb9f3d91c1cc9eb225ecdf20baffaa
--- /dev/null
+++ b/public_test_cases/p02769/output.2.txt
@@ -0,0 +1 @@
+607923868
diff --git a/public_test_cases/p02769/output.3.txt b/public_test_cases/p02769/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5b5f579c6b97b8cef643e6e4f9a453a06be4922
--- /dev/null
+++ b/public_test_cases/p02769/output.3.txt
@@ -0,0 +1 @@
+22583772
diff --git a/public_test_cases/p02770/input.0.txt b/public_test_cases/p02770/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c473699b33a9f077a34f481f260c3203ebe9e57f
--- /dev/null
+++ b/public_test_cases/p02770/input.0.txt
@@ -0,0 +1,3 @@
+3 1
+3 1 4
+5 3 2
diff --git a/public_test_cases/p02770/input.1.txt b/public_test_cases/p02770/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c473699b33a9f077a34f481f260c3203ebe9e57f
--- /dev/null
+++ b/public_test_cases/p02770/input.1.txt
@@ -0,0 +1,3 @@
+3 1
+3 1 4
+5 3 2
diff --git a/public_test_cases/p02770/input.2.txt b/public_test_cases/p02770/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..848fca6a5184903bc193e80a15b063f9fef6cc7d
--- /dev/null
+++ b/public_test_cases/p02770/input.2.txt
@@ -0,0 +1,5 @@
+7 3
+27 18 28 18 28 46 1000000000
+1000000000 1 7
+1000000000 2 10
+1000000000 3 12
diff --git a/public_test_cases/p02770/output.0.txt b/public_test_cases/p02770/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02770/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02770/output.1.txt b/public_test_cases/p02770/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02770/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02770/output.2.txt b/public_test_cases/p02770/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..787e164ed94e94217018d697379afefdf11e3ef3
--- /dev/null
+++ b/public_test_cases/p02770/output.2.txt
@@ -0,0 +1,3 @@
+224489796
+214285714
+559523809
diff --git a/public_test_cases/p02771/input.0.txt b/public_test_cases/p02771/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f1497a8f8479aa395017cb862f6aecb9445987e
--- /dev/null
+++ b/public_test_cases/p02771/input.0.txt
@@ -0,0 +1 @@
+5 7 5
diff --git a/public_test_cases/p02771/input.1.txt b/public_test_cases/p02771/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96324aad0afe402debc0da12f72e3d34a9b6c6ee
--- /dev/null
+++ b/public_test_cases/p02771/input.1.txt
@@ -0,0 +1 @@
+3 3 4
diff --git a/public_test_cases/p02771/input.2.txt b/public_test_cases/p02771/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57a0944dcc9a59621a706de6494752511ce111a6
--- /dev/null
+++ b/public_test_cases/p02771/input.2.txt
@@ -0,0 +1 @@
+4 4 4
diff --git a/public_test_cases/p02771/input.3.txt b/public_test_cases/p02771/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f1497a8f8479aa395017cb862f6aecb9445987e
--- /dev/null
+++ b/public_test_cases/p02771/input.3.txt
@@ -0,0 +1 @@
+5 7 5
diff --git a/public_test_cases/p02771/input.4.txt b/public_test_cases/p02771/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e41870191cfb6607f2cd71911ce46d4f4e1b72e
--- /dev/null
+++ b/public_test_cases/p02771/input.4.txt
@@ -0,0 +1 @@
+4 9 6
diff --git a/public_test_cases/p02771/output.0.txt b/public_test_cases/p02771/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02771/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02771/output.1.txt b/public_test_cases/p02771/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02771/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02771/output.2.txt b/public_test_cases/p02771/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02771/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02771/output.3.txt b/public_test_cases/p02771/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02771/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02771/output.4.txt b/public_test_cases/p02771/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02771/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02772/input.0.txt b/public_test_cases/p02772/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85afb59e747d7a23573dd404955417b64dcc24c9
--- /dev/null
+++ b/public_test_cases/p02772/input.0.txt
@@ -0,0 +1,2 @@
+5
+6 7 9 10 31
diff --git a/public_test_cases/p02772/input.1.txt b/public_test_cases/p02772/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85afb59e747d7a23573dd404955417b64dcc24c9
--- /dev/null
+++ b/public_test_cases/p02772/input.1.txt
@@ -0,0 +1,2 @@
+5
+6 7 9 10 31
diff --git a/public_test_cases/p02772/input.2.txt b/public_test_cases/p02772/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfd4596de8369996eb15812642820e7e294d346e
--- /dev/null
+++ b/public_test_cases/p02772/input.2.txt
@@ -0,0 +1,2 @@
+3
+28 27 24
diff --git a/public_test_cases/p02772/output.0.txt b/public_test_cases/p02772/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a965b823936cf1dce0f422702396320e0a103b53
--- /dev/null
+++ b/public_test_cases/p02772/output.0.txt
@@ -0,0 +1 @@
+APPROVED
diff --git a/public_test_cases/p02772/output.1.txt b/public_test_cases/p02772/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a965b823936cf1dce0f422702396320e0a103b53
--- /dev/null
+++ b/public_test_cases/p02772/output.1.txt
@@ -0,0 +1 @@
+APPROVED
diff --git a/public_test_cases/p02772/output.2.txt b/public_test_cases/p02772/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb4c4e7c6170c3aca021a1010a2982fa89e5b7a1
--- /dev/null
+++ b/public_test_cases/p02772/output.2.txt
@@ -0,0 +1 @@
+DENIED
diff --git a/public_test_cases/p02773/input.0.txt b/public_test_cases/p02773/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9addedad575c63f5a4c1d14a0d96c8b82950ffdd
--- /dev/null
+++ b/public_test_cases/p02773/input.0.txt
@@ -0,0 +1,8 @@
+7
+beat
+vet
+beet
+bed
+vet
+bet
+beet
diff --git a/public_test_cases/p02773/input.1.txt b/public_test_cases/p02773/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8278af1692489c584cdc15e3c7e8c748c9c8e21c
--- /dev/null
+++ b/public_test_cases/p02773/input.1.txt
@@ -0,0 +1,9 @@
+8
+buffalo
+buffalo
+buffalo
+buffalo
+buffalo
+buffalo
+buffalo
+buffalo
diff --git a/public_test_cases/p02773/input.2.txt b/public_test_cases/p02773/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9addedad575c63f5a4c1d14a0d96c8b82950ffdd
--- /dev/null
+++ b/public_test_cases/p02773/input.2.txt
@@ -0,0 +1,8 @@
+7
+beat
+vet
+beet
+bed
+vet
+bet
+beet
diff --git a/public_test_cases/p02773/input.3.txt b/public_test_cases/p02773/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2418405b65183c0b3c40d06b5327e44ba411d773
--- /dev/null
+++ b/public_test_cases/p02773/input.3.txt
@@ -0,0 +1,8 @@
+7
+bass
+bass
+kick
+kick
+bass
+kick
+kick
diff --git a/public_test_cases/p02773/input.4.txt b/public_test_cases/p02773/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..906542499df980fb956e210e7e87dcd50542a302
--- /dev/null
+++ b/public_test_cases/p02773/input.4.txt
@@ -0,0 +1,5 @@
+4
+ushi
+tapu
+nichia
+kun
diff --git a/public_test_cases/p02773/output.0.txt b/public_test_cases/p02773/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45135ef521163198564932f11550ef7bd42559c8
--- /dev/null
+++ b/public_test_cases/p02773/output.0.txt
@@ -0,0 +1,2 @@
+beet
+vet
diff --git a/public_test_cases/p02773/output.1.txt b/public_test_cases/p02773/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb8b96a05ba09bbc423e7425be37e972db9e89b1
--- /dev/null
+++ b/public_test_cases/p02773/output.1.txt
@@ -0,0 +1 @@
+buffalo
diff --git a/public_test_cases/p02773/output.2.txt b/public_test_cases/p02773/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45135ef521163198564932f11550ef7bd42559c8
--- /dev/null
+++ b/public_test_cases/p02773/output.2.txt
@@ -0,0 +1,2 @@
+beet
+vet
diff --git a/public_test_cases/p02773/output.3.txt b/public_test_cases/p02773/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4062e34e42d8c44daeaa4b9cbd77a1461cf274be
--- /dev/null
+++ b/public_test_cases/p02773/output.3.txt
@@ -0,0 +1 @@
+kick
diff --git a/public_test_cases/p02773/output.4.txt b/public_test_cases/p02773/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74323525278d3a957b1f0c4beab4c1c7c3b22e4f
--- /dev/null
+++ b/public_test_cases/p02773/output.4.txt
@@ -0,0 +1,4 @@
+kun
+nichia
+tapu
+ushi
diff --git a/public_test_cases/p02774/input.0.txt b/public_test_cases/p02774/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c84fa2e364961adccdbd47d12af72f06de9aa0be
--- /dev/null
+++ b/public_test_cases/p02774/input.0.txt
@@ -0,0 +1,2 @@
+4 3
+3 3 -4 -2
diff --git a/public_test_cases/p02774/input.1.txt b/public_test_cases/p02774/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78f3aeb51c0d487f0e3900d8f847312a1efdf1a7
--- /dev/null
+++ b/public_test_cases/p02774/input.1.txt
@@ -0,0 +1,2 @@
+10 40
+5 4 3 2 -1 0 0 0 0 0
diff --git a/public_test_cases/p02774/input.2.txt b/public_test_cases/p02774/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c84fa2e364961adccdbd47d12af72f06de9aa0be
--- /dev/null
+++ b/public_test_cases/p02774/input.2.txt
@@ -0,0 +1,2 @@
+4 3
+3 3 -4 -2
diff --git a/public_test_cases/p02774/input.3.txt b/public_test_cases/p02774/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ea8721fa2ff975036624dff53c42cdda72f49ba
--- /dev/null
+++ b/public_test_cases/p02774/input.3.txt
@@ -0,0 +1,2 @@
+30 413
+-170202098 -268409015 537203564 983211703 21608710 -443999067 -937727165 -97596546 -372334013 398994917 -972141167 798607104 -949068442 -959948616 37909651 0 886627544 -20098238 0 -948955241 0 -214720580 277222296 -18897162 834475626 0 -425610555 110117526 663621752 0
diff --git a/public_test_cases/p02774/output.0.txt b/public_test_cases/p02774/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cfb5efd665ffa9372e6df49fdce0242d0156991
--- /dev/null
+++ b/public_test_cases/p02774/output.0.txt
@@ -0,0 +1 @@
+-6
diff --git a/public_test_cases/p02774/output.1.txt b/public_test_cases/p02774/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02774/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02774/output.2.txt b/public_test_cases/p02774/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cfb5efd665ffa9372e6df49fdce0242d0156991
--- /dev/null
+++ b/public_test_cases/p02774/output.2.txt
@@ -0,0 +1 @@
+-6
diff --git a/public_test_cases/p02774/output.3.txt b/public_test_cases/p02774/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5592d30dfd66ea54600f443e0e37e6f52f41597
--- /dev/null
+++ b/public_test_cases/p02774/output.3.txt
@@ -0,0 +1 @@
+448283280358331064
diff --git a/public_test_cases/p02775/input.0.txt b/public_test_cases/p02775/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p02775/input.0.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p02775/input.1.txt b/public_test_cases/p02775/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fe4e495fed81a962c91dde803eb5bbe3aa14261
--- /dev/null
+++ b/public_test_cases/p02775/input.1.txt
@@ -0,0 +1 @@
+91
diff --git a/public_test_cases/p02775/input.2.txt b/public_test_cases/p02775/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2b32106b8f8c6642be44eba0f7e0c55e8dced2d
--- /dev/null
+++ b/public_test_cases/p02775/input.2.txt
@@ -0,0 +1 @@
+314159265358979323846264338327950288419716939937551058209749445923078164062862089986280348253421170
diff --git a/public_test_cases/p02775/input.3.txt b/public_test_cases/p02775/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p02775/input.3.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p02775/output.0.txt b/public_test_cases/p02775/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02775/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02775/output.1.txt b/public_test_cases/p02775/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02775/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02775/output.2.txt b/public_test_cases/p02775/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77f83230f66a0fdcfb20aea384553e2910f87712
--- /dev/null
+++ b/public_test_cases/p02775/output.2.txt
@@ -0,0 +1 @@
+243
diff --git a/public_test_cases/p02775/output.3.txt b/public_test_cases/p02775/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02775/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02776/input.0.txt b/public_test_cases/p02776/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8172bec7d98b8334189fed494bc3e994ba1c3f74
--- /dev/null
+++ b/public_test_cases/p02776/input.0.txt
@@ -0,0 +1,8 @@
+3 4
+5 1
+10 1
+8 0
+1 10
+4 5
+6 7
+8 9
diff --git a/public_test_cases/p02776/input.1.txt b/public_test_cases/p02776/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf25c6dd479320b26c0534e76e0446d5ab350514
--- /dev/null
+++ b/public_test_cases/p02776/input.1.txt
@@ -0,0 +1,7 @@
+4 2
+2 0
+3 1
+5 1
+7 0
+1 4
+4 7
diff --git a/public_test_cases/p02776/input.2.txt b/public_test_cases/p02776/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..233763832db66a238193fdf76bad08f39eb3364f
--- /dev/null
+++ b/public_test_cases/p02776/input.2.txt
@@ -0,0 +1,6 @@
+3 2
+5 0
+10 0
+8 0
+6 9
+66 99
diff --git a/public_test_cases/p02776/input.3.txt b/public_test_cases/p02776/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8172bec7d98b8334189fed494bc3e994ba1c3f74
--- /dev/null
+++ b/public_test_cases/p02776/input.3.txt
@@ -0,0 +1,8 @@
+3 4
+5 1
+10 1
+8 0
+1 10
+4 5
+6 7
+8 9
diff --git a/public_test_cases/p02776/input.4.txt b/public_test_cases/p02776/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..712d6eae4055d1385763a2d8172da2dc270cb241
--- /dev/null
+++ b/public_test_cases/p02776/input.4.txt
@@ -0,0 +1,33 @@
+12 20
+536130100 1
+150049660 1
+79245447 1
+132551741 0
+89484841 1
+328129089 0
+623467741 0
+248785745 0
+421631475 0
+498966877 0
+43768791 1
+112237273 0
+21499042 142460201
+58176487 384985131
+88563042 144788076
+120198276 497115965
+134867387 563350571
+211946499 458996604
+233934566 297258009
+335674184 555985828
+414601661 520203502
+101135608 501051309
+90972258 300372385
+255474956 630621190
+436210625 517850028
+145652401 192476406
+377607297 520655694
+244404406 304034433
+112237273 359737255
+392593015 463983307
+150586788 504362212
+54772353 83124235
diff --git a/public_test_cases/p02776/output.0.txt b/public_test_cases/p02776/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44a7e9578101ef768b0bde87ca56ddb4228b8bbf
--- /dev/null
+++ b/public_test_cases/p02776/output.0.txt
@@ -0,0 +1,2 @@
+2
+1 4
diff --git a/public_test_cases/p02776/output.1.txt b/public_test_cases/p02776/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02776/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02776/output.2.txt b/public_test_cases/p02776/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02776/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02776/output.3.txt b/public_test_cases/p02776/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44a7e9578101ef768b0bde87ca56ddb4228b8bbf
--- /dev/null
+++ b/public_test_cases/p02776/output.3.txt
@@ -0,0 +1,2 @@
+2
+1 4
diff --git a/public_test_cases/p02776/output.4.txt b/public_test_cases/p02776/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2223131f5e2c99b23ef41de77634d2fc5a6b410d
--- /dev/null
+++ b/public_test_cases/p02776/output.4.txt
@@ -0,0 +1,2 @@
+5
+1 7 8 9 11
diff --git a/public_test_cases/p02777/input.0.txt b/public_test_cases/p02777/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5d41b6a884e7474241adabb5117908e0fb93733
--- /dev/null
+++ b/public_test_cases/p02777/input.0.txt
@@ -0,0 +1,3 @@
+red blue
+3 4
+red
diff --git a/public_test_cases/p02777/input.1.txt b/public_test_cases/p02777/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5d41b6a884e7474241adabb5117908e0fb93733
--- /dev/null
+++ b/public_test_cases/p02777/input.1.txt
@@ -0,0 +1,3 @@
+red blue
+3 4
+red
diff --git a/public_test_cases/p02777/input.2.txt b/public_test_cases/p02777/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7caadc86ff7737dcc9a48fc7d43e8e4850be9b3c
--- /dev/null
+++ b/public_test_cases/p02777/input.2.txt
@@ -0,0 +1,3 @@
+red blue
+5 5
+blue
diff --git a/public_test_cases/p02777/output.0.txt b/public_test_cases/p02777/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0efd67f9502e63cb033cb651e65e025b6e3a5cb2
--- /dev/null
+++ b/public_test_cases/p02777/output.0.txt
@@ -0,0 +1 @@
+2 4
diff --git a/public_test_cases/p02777/output.1.txt b/public_test_cases/p02777/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0efd67f9502e63cb033cb651e65e025b6e3a5cb2
--- /dev/null
+++ b/public_test_cases/p02777/output.1.txt
@@ -0,0 +1 @@
+2 4
diff --git a/public_test_cases/p02777/output.2.txt b/public_test_cases/p02777/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f64a0cb9f54508ddc866bfe93dac511a5f10974
--- /dev/null
+++ b/public_test_cases/p02777/output.2.txt
@@ -0,0 +1 @@
+5 4
diff --git a/public_test_cases/p02778/input.0.txt b/public_test_cases/p02778/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ec8acca4addbb1a44dc7f4ff70e63e26956b1a4
--- /dev/null
+++ b/public_test_cases/p02778/input.0.txt
@@ -0,0 +1 @@
+sardine
diff --git a/public_test_cases/p02778/input.1.txt b/public_test_cases/p02778/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ec8acca4addbb1a44dc7f4ff70e63e26956b1a4
--- /dev/null
+++ b/public_test_cases/p02778/input.1.txt
@@ -0,0 +1 @@
+sardine
diff --git a/public_test_cases/p02778/input.2.txt b/public_test_cases/p02778/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63fc8131d563e4c067404cb42d39eb293952bd51
--- /dev/null
+++ b/public_test_cases/p02778/input.2.txt
@@ -0,0 +1 @@
+xxxx
diff --git a/public_test_cases/p02778/input.3.txt b/public_test_cases/p02778/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..286c5f5776916d7d7d5849988ca9d83e722cf9c2
--- /dev/null
+++ b/public_test_cases/p02778/input.3.txt
@@ -0,0 +1 @@
+gone
diff --git a/public_test_cases/p02778/output.0.txt b/public_test_cases/p02778/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ca842fc19e4ca09fc590cca98441612e5d853b6
--- /dev/null
+++ b/public_test_cases/p02778/output.0.txt
@@ -0,0 +1 @@
+xxxxxxx
diff --git a/public_test_cases/p02778/output.1.txt b/public_test_cases/p02778/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ca842fc19e4ca09fc590cca98441612e5d853b6
--- /dev/null
+++ b/public_test_cases/p02778/output.1.txt
@@ -0,0 +1 @@
+xxxxxxx
diff --git a/public_test_cases/p02778/output.2.txt b/public_test_cases/p02778/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63fc8131d563e4c067404cb42d39eb293952bd51
--- /dev/null
+++ b/public_test_cases/p02778/output.2.txt
@@ -0,0 +1 @@
+xxxx
diff --git a/public_test_cases/p02778/output.3.txt b/public_test_cases/p02778/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63fc8131d563e4c067404cb42d39eb293952bd51
--- /dev/null
+++ b/public_test_cases/p02778/output.3.txt
@@ -0,0 +1 @@
+xxxx
diff --git a/public_test_cases/p02779/input.0.txt b/public_test_cases/p02779/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..709c22db545314e5c87dd61286e8624ddfea1db8
--- /dev/null
+++ b/public_test_cases/p02779/input.0.txt
@@ -0,0 +1,2 @@
+5
+2 6 1 4 5
diff --git a/public_test_cases/p02779/input.1.txt b/public_test_cases/p02779/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ea65baf6cbc9dec1e443780d6a1700884d83951
--- /dev/null
+++ b/public_test_cases/p02779/input.1.txt
@@ -0,0 +1,2 @@
+6
+4 1 3 1 6 2
diff --git a/public_test_cases/p02779/input.2.txt b/public_test_cases/p02779/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b91a23e08b6ccfa5d77df8d71454bc9b24eece4
--- /dev/null
+++ b/public_test_cases/p02779/input.2.txt
@@ -0,0 +1,2 @@
+2
+10000000 10000000
diff --git a/public_test_cases/p02779/input.3.txt b/public_test_cases/p02779/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..709c22db545314e5c87dd61286e8624ddfea1db8
--- /dev/null
+++ b/public_test_cases/p02779/input.3.txt
@@ -0,0 +1,2 @@
+5
+2 6 1 4 5
diff --git a/public_test_cases/p02779/output.0.txt b/public_test_cases/p02779/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p02779/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p02779/output.1.txt b/public_test_cases/p02779/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p02779/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p02779/output.2.txt b/public_test_cases/p02779/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p02779/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p02779/output.3.txt b/public_test_cases/p02779/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p02779/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p02780/input.0.txt b/public_test_cases/p02780/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5ed745a069b118155c8e3d56a1b65a87fab8e63
--- /dev/null
+++ b/public_test_cases/p02780/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+1 2 2 4 5
diff --git a/public_test_cases/p02780/input.1.txt b/public_test_cases/p02780/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5ed745a069b118155c8e3d56a1b65a87fab8e63
--- /dev/null
+++ b/public_test_cases/p02780/input.1.txt
@@ -0,0 +1,2 @@
+5 3
+1 2 2 4 5
diff --git a/public_test_cases/p02780/input.2.txt b/public_test_cases/p02780/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2e210d442efaf1942292e5cb64dfd53f0c0c674
--- /dev/null
+++ b/public_test_cases/p02780/input.2.txt
@@ -0,0 +1,2 @@
+10 4
+17 13 13 12 15 20 10 13 17 11
diff --git a/public_test_cases/p02780/input.3.txt b/public_test_cases/p02780/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce9c8a4ecbb99f5bd066fbf6aa8548293b3bc6bb
--- /dev/null
+++ b/public_test_cases/p02780/input.3.txt
@@ -0,0 +1,2 @@
+4 1
+6 6 6 6
diff --git a/public_test_cases/p02780/output.0.txt b/public_test_cases/p02780/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87a27b41ca93da63ef03eae50c5143ef0bdc2be0
--- /dev/null
+++ b/public_test_cases/p02780/output.0.txt
@@ -0,0 +1 @@
+7.000000000000
diff --git a/public_test_cases/p02780/output.1.txt b/public_test_cases/p02780/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87a27b41ca93da63ef03eae50c5143ef0bdc2be0
--- /dev/null
+++ b/public_test_cases/p02780/output.1.txt
@@ -0,0 +1 @@
+7.000000000000
diff --git a/public_test_cases/p02780/output.2.txt b/public_test_cases/p02780/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83736faf0f47e656d297a014a38f9bc4d12236d6
--- /dev/null
+++ b/public_test_cases/p02780/output.2.txt
@@ -0,0 +1 @@
+32.000000000000
diff --git a/public_test_cases/p02780/output.3.txt b/public_test_cases/p02780/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98f48bd636d0f9029838e63ddcbf99cbc2fbb35a
--- /dev/null
+++ b/public_test_cases/p02780/output.3.txt
@@ -0,0 +1 @@
+3.500000000000
diff --git a/public_test_cases/p02781/input.0.txt b/public_test_cases/p02781/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30a4d52afe1f49fba0e76a509179b1791064457c
--- /dev/null
+++ b/public_test_cases/p02781/input.0.txt
@@ -0,0 +1,2 @@
+100
+1
diff --git a/public_test_cases/p02781/input.1.txt b/public_test_cases/p02781/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ede2eacec7761829bfd622e0f166f4e5071d4c1d
--- /dev/null
+++ b/public_test_cases/p02781/input.1.txt
@@ -0,0 +1,2 @@
+9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
+3
diff --git a/public_test_cases/p02781/input.2.txt b/public_test_cases/p02781/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8d233bbbecc04f8d46291afb617a951aa73e2d9
--- /dev/null
+++ b/public_test_cases/p02781/input.2.txt
@@ -0,0 +1,2 @@
+314159
+2
diff --git a/public_test_cases/p02781/input.3.txt b/public_test_cases/p02781/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61ac7862149e331b4ca71f115533a1ecf23d5b9e
--- /dev/null
+++ b/public_test_cases/p02781/input.3.txt
@@ -0,0 +1,2 @@
+25
+2
diff --git a/public_test_cases/p02781/input.4.txt b/public_test_cases/p02781/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30a4d52afe1f49fba0e76a509179b1791064457c
--- /dev/null
+++ b/public_test_cases/p02781/input.4.txt
@@ -0,0 +1,2 @@
+100
+1
diff --git a/public_test_cases/p02781/output.0.txt b/public_test_cases/p02781/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p02781/output.0.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p02781/output.1.txt b/public_test_cases/p02781/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0be48e1e09a494b088ce8f873816bd93ce38d85
--- /dev/null
+++ b/public_test_cases/p02781/output.1.txt
@@ -0,0 +1 @@
+117879300
diff --git a/public_test_cases/p02781/output.2.txt b/public_test_cases/p02781/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df43bf46e18f835919caa1518a5368a583594179
--- /dev/null
+++ b/public_test_cases/p02781/output.2.txt
@@ -0,0 +1 @@
+937
diff --git a/public_test_cases/p02781/output.3.txt b/public_test_cases/p02781/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02781/output.3.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02781/output.4.txt b/public_test_cases/p02781/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p02781/output.4.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p02782/input.0.txt b/public_test_cases/p02782/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1409b1c7c807c83489d56f470457810e6c246c59
--- /dev/null
+++ b/public_test_cases/p02782/input.0.txt
@@ -0,0 +1 @@
+1 1 2 2
diff --git a/public_test_cases/p02782/input.1.txt b/public_test_cases/p02782/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96966ec9988921f4ee6c77a52b14bdf2393ce904
--- /dev/null
+++ b/public_test_cases/p02782/input.1.txt
@@ -0,0 +1 @@
+314 159 2653 589
diff --git a/public_test_cases/p02782/input.2.txt b/public_test_cases/p02782/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1409b1c7c807c83489d56f470457810e6c246c59
--- /dev/null
+++ b/public_test_cases/p02782/input.2.txt
@@ -0,0 +1 @@
+1 1 2 2
diff --git a/public_test_cases/p02782/output.0.txt b/public_test_cases/p02782/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02782/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02782/output.1.txt b/public_test_cases/p02782/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8def42443e0968716527414f2fe43f288b40e820
--- /dev/null
+++ b/public_test_cases/p02782/output.1.txt
@@ -0,0 +1 @@
+602215194
diff --git a/public_test_cases/p02782/output.2.txt b/public_test_cases/p02782/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02782/output.2.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02783/input.0.txt b/public_test_cases/p02783/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6a20510c439699c56dc13f31db00f9c75d87625
--- /dev/null
+++ b/public_test_cases/p02783/input.0.txt
@@ -0,0 +1 @@
+10 4
diff --git a/public_test_cases/p02783/input.1.txt b/public_test_cases/p02783/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6a20510c439699c56dc13f31db00f9c75d87625
--- /dev/null
+++ b/public_test_cases/p02783/input.1.txt
@@ -0,0 +1 @@
+10 4
diff --git a/public_test_cases/p02783/input.2.txt b/public_test_cases/p02783/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..224871f187347b50ffd0345a11254a6ec69588d8
--- /dev/null
+++ b/public_test_cases/p02783/input.2.txt
@@ -0,0 +1 @@
+1 10000
diff --git a/public_test_cases/p02783/input.3.txt b/public_test_cases/p02783/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28ba9b116277226da7090852a0e428f5eecbbf2b
--- /dev/null
+++ b/public_test_cases/p02783/input.3.txt
@@ -0,0 +1 @@
+10000 1
diff --git a/public_test_cases/p02783/output.0.txt b/public_test_cases/p02783/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02783/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02783/output.1.txt b/public_test_cases/p02783/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02783/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02783/output.2.txt b/public_test_cases/p02783/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02783/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02783/output.3.txt b/public_test_cases/p02783/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5caff40c4a0ce4ed0dcb3aa983da623641af1b06
--- /dev/null
+++ b/public_test_cases/p02783/output.3.txt
@@ -0,0 +1 @@
+10000
diff --git a/public_test_cases/p02784/input.0.txt b/public_test_cases/p02784/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a0fa9222a068872bc0203b2d3245c71a9fc5e24
--- /dev/null
+++ b/public_test_cases/p02784/input.0.txt
@@ -0,0 +1,2 @@
+10 3
+4 5 6
diff --git a/public_test_cases/p02784/input.1.txt b/public_test_cases/p02784/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b932763dfa82dc7e5b8c0101724bfb990674130
--- /dev/null
+++ b/public_test_cases/p02784/input.1.txt
@@ -0,0 +1,2 @@
+211 5
+31 41 59 26 53
diff --git a/public_test_cases/p02784/input.2.txt b/public_test_cases/p02784/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a0fa9222a068872bc0203b2d3245c71a9fc5e24
--- /dev/null
+++ b/public_test_cases/p02784/input.2.txt
@@ -0,0 +1,2 @@
+10 3
+4 5 6
diff --git a/public_test_cases/p02784/input.3.txt b/public_test_cases/p02784/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..975b9f27de2d2c124def72f9b978baa12b8b0e53
--- /dev/null
+++ b/public_test_cases/p02784/input.3.txt
@@ -0,0 +1,2 @@
+20 3
+4 5 6
diff --git a/public_test_cases/p02784/input.4.txt b/public_test_cases/p02784/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3993bafda49f3b792d76bce3343743ad1974ebad
--- /dev/null
+++ b/public_test_cases/p02784/input.4.txt
@@ -0,0 +1,2 @@
+210 5
+31 41 59 26 53
diff --git a/public_test_cases/p02784/output.0.txt b/public_test_cases/p02784/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02784/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02784/output.1.txt b/public_test_cases/p02784/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02784/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02784/output.2.txt b/public_test_cases/p02784/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02784/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02784/output.3.txt b/public_test_cases/p02784/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02784/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02784/output.4.txt b/public_test_cases/p02784/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02784/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02785/input.0.txt b/public_test_cases/p02785/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..680ee270bf1b94fef984accc7df38d8aad28e2a1
--- /dev/null
+++ b/public_test_cases/p02785/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+4 1 5
diff --git a/public_test_cases/p02785/input.1.txt b/public_test_cases/p02785/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a24b89e5bb8859acb18b610aebf5d400c859f944
--- /dev/null
+++ b/public_test_cases/p02785/input.1.txt
@@ -0,0 +1,2 @@
+3 0
+1000000000 1000000000 1000000000
diff --git a/public_test_cases/p02785/input.2.txt b/public_test_cases/p02785/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26c5f569da5a1287053c5e098d67552449ce36de
--- /dev/null
+++ b/public_test_cases/p02785/input.2.txt
@@ -0,0 +1,2 @@
+8 9
+7 9 3 2 3 8 4 6
diff --git a/public_test_cases/p02785/input.3.txt b/public_test_cases/p02785/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..680ee270bf1b94fef984accc7df38d8aad28e2a1
--- /dev/null
+++ b/public_test_cases/p02785/input.3.txt
@@ -0,0 +1,2 @@
+3 1
+4 1 5
diff --git a/public_test_cases/p02785/output.0.txt b/public_test_cases/p02785/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02785/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02785/output.1.txt b/public_test_cases/p02785/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1911b6e1e0b6ba372db173e7dcb15d7f609827d2
--- /dev/null
+++ b/public_test_cases/p02785/output.1.txt
@@ -0,0 +1 @@
+3000000000
diff --git a/public_test_cases/p02785/output.2.txt b/public_test_cases/p02785/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02785/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02785/output.3.txt b/public_test_cases/p02785/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02785/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02786/input.0.txt b/public_test_cases/p02786/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02786/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02786/input.1.txt b/public_test_cases/p02786/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02786/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02786/input.2.txt b/public_test_cases/p02786/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6ee9012f2ab8aa0961ad84e2066b4518eafea4f
--- /dev/null
+++ b/public_test_cases/p02786/input.2.txt
@@ -0,0 +1 @@
+1000000000000
diff --git a/public_test_cases/p02786/input.3.txt b/public_test_cases/p02786/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02786/input.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02786/output.0.txt b/public_test_cases/p02786/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02786/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02786/output.1.txt b/public_test_cases/p02786/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02786/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02786/output.2.txt b/public_test_cases/p02786/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ebb060a36f2b78dee8059c427b146769d746e81
--- /dev/null
+++ b/public_test_cases/p02786/output.2.txt
@@ -0,0 +1 @@
+1099511627775
diff --git a/public_test_cases/p02786/output.3.txt b/public_test_cases/p02786/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02786/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02787/input.0.txt b/public_test_cases/p02787/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39e538ae8c0c9125c1fcb2470381bf6358d021e7
--- /dev/null
+++ b/public_test_cases/p02787/input.0.txt
@@ -0,0 +1,4 @@
+9 3
+8 3
+4 2
+2 1
diff --git a/public_test_cases/p02787/input.1.txt b/public_test_cases/p02787/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39e538ae8c0c9125c1fcb2470381bf6358d021e7
--- /dev/null
+++ b/public_test_cases/p02787/input.1.txt
@@ -0,0 +1,4 @@
+9 3
+8 3
+4 2
+2 1
diff --git a/public_test_cases/p02787/input.2.txt b/public_test_cases/p02787/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c77edc0b525bdf8fcc1c1f78d6fdc9712b24e77
--- /dev/null
+++ b/public_test_cases/p02787/input.2.txt
@@ -0,0 +1,11 @@
+9999 10
+540 7550
+691 9680
+700 9790
+510 7150
+415 5818
+551 7712
+587 8227
+619 8671
+588 8228
+176 2461
diff --git a/public_test_cases/p02787/input.3.txt b/public_test_cases/p02787/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c035e383b50af6952c04b5018cd54ff9f0d47659
--- /dev/null
+++ b/public_test_cases/p02787/input.3.txt
@@ -0,0 +1,7 @@
+100 6
+1 1
+2 3
+3 9
+4 27
+5 81
+6 243
diff --git a/public_test_cases/p02787/output.0.txt b/public_test_cases/p02787/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02787/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02787/output.1.txt b/public_test_cases/p02787/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02787/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02787/output.2.txt b/public_test_cases/p02787/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db0f2a8a51523f828919d2566dfd34118f12b84b
--- /dev/null
+++ b/public_test_cases/p02787/output.2.txt
@@ -0,0 +1 @@
+139815
diff --git a/public_test_cases/p02787/output.3.txt b/public_test_cases/p02787/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02787/output.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02788/input.0.txt b/public_test_cases/p02788/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..060f4a3da7572847c523c4426068343dc313399e
--- /dev/null
+++ b/public_test_cases/p02788/input.0.txt
@@ -0,0 +1,4 @@
+3 3 2
+1 2
+5 4
+9 2
diff --git a/public_test_cases/p02788/input.1.txt b/public_test_cases/p02788/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ed34a192f3b52962b2c2892dace263c10cfa8c9
--- /dev/null
+++ b/public_test_cases/p02788/input.1.txt
@@ -0,0 +1,10 @@
+9 4 1
+1 5
+2 4
+3 3
+4 2
+5 1
+6 2
+7 3
+8 4
+9 5
diff --git a/public_test_cases/p02788/input.2.txt b/public_test_cases/p02788/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..060f4a3da7572847c523c4426068343dc313399e
--- /dev/null
+++ b/public_test_cases/p02788/input.2.txt
@@ -0,0 +1,4 @@
+3 3 2
+1 2
+5 4
+9 2
diff --git a/public_test_cases/p02788/input.3.txt b/public_test_cases/p02788/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1fa669395802d5f4fa42b4434448008cfaadfa93
--- /dev/null
+++ b/public_test_cases/p02788/input.3.txt
@@ -0,0 +1,4 @@
+3 0 1
+300000000 1000000000
+100000000 1000000000
+200000000 1000000000
diff --git a/public_test_cases/p02788/output.0.txt b/public_test_cases/p02788/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02788/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02788/output.1.txt b/public_test_cases/p02788/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02788/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02788/output.2.txt b/public_test_cases/p02788/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02788/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02788/output.3.txt b/public_test_cases/p02788/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1911b6e1e0b6ba372db173e7dcb15d7f609827d2
--- /dev/null
+++ b/public_test_cases/p02788/output.3.txt
@@ -0,0 +1 @@
+3000000000
diff --git a/public_test_cases/p02789/input.0.txt b/public_test_cases/p02789/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p02789/input.0.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p02789/input.1.txt b/public_test_cases/p02789/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p02789/input.1.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p02789/input.2.txt b/public_test_cases/p02789/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02789/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02789/input.3.txt b/public_test_cases/p02789/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02789/input.3.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02789/output.0.txt b/public_test_cases/p02789/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02789/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02789/output.1.txt b/public_test_cases/p02789/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02789/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02789/output.2.txt b/public_test_cases/p02789/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02789/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02789/output.3.txt b/public_test_cases/p02789/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02789/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02790/input.0.txt b/public_test_cases/p02790/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p02790/input.0.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p02790/input.1.txt b/public_test_cases/p02790/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11c8dd7f2c36bdd2f4603cd9e82c497036c78f61
--- /dev/null
+++ b/public_test_cases/p02790/input.1.txt
@@ -0,0 +1 @@
+7 7
diff --git a/public_test_cases/p02790/input.2.txt b/public_test_cases/p02790/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p02790/input.2.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p02790/output.0.txt b/public_test_cases/p02790/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bd9bce7058fdf7b9809c5a87053a5270c6a75ea
--- /dev/null
+++ b/public_test_cases/p02790/output.0.txt
@@ -0,0 +1 @@
+3333
diff --git a/public_test_cases/p02790/output.1.txt b/public_test_cases/p02790/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f0353b22e2e61578251f93429bd9bc010c11028
--- /dev/null
+++ b/public_test_cases/p02790/output.1.txt
@@ -0,0 +1 @@
+7777777
diff --git a/public_test_cases/p02790/output.2.txt b/public_test_cases/p02790/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bd9bce7058fdf7b9809c5a87053a5270c6a75ea
--- /dev/null
+++ b/public_test_cases/p02790/output.2.txt
@@ -0,0 +1 @@
+3333
diff --git a/public_test_cases/p02791/input.0.txt b/public_test_cases/p02791/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ed8e2d82389ae25d8e611e01919bd3bbe040a28
--- /dev/null
+++ b/public_test_cases/p02791/input.0.txt
@@ -0,0 +1,2 @@
+5
+4 2 5 1 3
diff --git a/public_test_cases/p02791/input.1.txt b/public_test_cases/p02791/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73c1d16159231443a4598258520599893c2277d9
--- /dev/null
+++ b/public_test_cases/p02791/input.1.txt
@@ -0,0 +1,2 @@
+8
+5 7 4 2 6 8 1 3
diff --git a/public_test_cases/p02791/input.2.txt b/public_test_cases/p02791/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c72001f2e8f93d6c45f22c3c37e0b3bded52287
--- /dev/null
+++ b/public_test_cases/p02791/input.2.txt
@@ -0,0 +1,2 @@
+4
+4 3 2 1
diff --git a/public_test_cases/p02791/input.3.txt b/public_test_cases/p02791/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee886e113fb8e0c61426795b71508f0130a4438
--- /dev/null
+++ b/public_test_cases/p02791/input.3.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 4 5 6
diff --git a/public_test_cases/p02791/input.4.txt b/public_test_cases/p02791/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ed8e2d82389ae25d8e611e01919bd3bbe040a28
--- /dev/null
+++ b/public_test_cases/p02791/input.4.txt
@@ -0,0 +1,2 @@
+5
+4 2 5 1 3
diff --git a/public_test_cases/p02791/input.5.txt b/public_test_cases/p02791/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p02791/input.5.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p02791/output.0.txt b/public_test_cases/p02791/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02791/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02791/output.1.txt b/public_test_cases/p02791/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02791/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02791/output.2.txt b/public_test_cases/p02791/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02791/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02791/output.3.txt b/public_test_cases/p02791/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02791/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02791/output.4.txt b/public_test_cases/p02791/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02791/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02791/output.5.txt b/public_test_cases/p02791/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02791/output.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02792/input.0.txt b/public_test_cases/p02792/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02792/input.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02792/input.1.txt b/public_test_cases/p02792/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0fbadda96193e45ce6b910f2d13837323894356
--- /dev/null
+++ b/public_test_cases/p02792/input.1.txt
@@ -0,0 +1 @@
+2020
diff --git a/public_test_cases/p02792/input.2.txt b/public_test_cases/p02792/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87766d889a3b6e931e06acce671d69b85757f3c7
--- /dev/null
+++ b/public_test_cases/p02792/input.2.txt
@@ -0,0 +1 @@
+200000
diff --git a/public_test_cases/p02792/input.3.txt b/public_test_cases/p02792/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02792/input.3.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02792/input.4.txt b/public_test_cases/p02792/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02792/input.4.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02792/input.5.txt b/public_test_cases/p02792/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02792/input.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02792/output.0.txt b/public_test_cases/p02792/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p02792/output.0.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p02792/output.1.txt b/public_test_cases/p02792/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a61b615114ceb1f3430820e0b199d021f90ae86
--- /dev/null
+++ b/public_test_cases/p02792/output.1.txt
@@ -0,0 +1 @@
+40812
diff --git a/public_test_cases/p02792/output.2.txt b/public_test_cases/p02792/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09fcc5d4d642f9dd5901b53448b180b084baaf88
--- /dev/null
+++ b/public_test_cases/p02792/output.2.txt
@@ -0,0 +1 @@
+400000008
diff --git a/public_test_cases/p02792/output.3.txt b/public_test_cases/p02792/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p02792/output.3.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p02792/output.4.txt b/public_test_cases/p02792/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b20426c05051ed8bd8c8cc632573c194e57809c
--- /dev/null
+++ b/public_test_cases/p02792/output.4.txt
@@ -0,0 +1 @@
+108
diff --git a/public_test_cases/p02792/output.5.txt b/public_test_cases/p02792/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02792/output.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02793/input.0.txt b/public_test_cases/p02793/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88820dc653221aac1f701c46e60afd7bd3b7f745
--- /dev/null
+++ b/public_test_cases/p02793/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 3 4
diff --git a/public_test_cases/p02793/input.1.txt b/public_test_cases/p02793/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88820dc653221aac1f701c46e60afd7bd3b7f745
--- /dev/null
+++ b/public_test_cases/p02793/input.1.txt
@@ -0,0 +1,2 @@
+3
+2 3 4
diff --git a/public_test_cases/p02793/input.2.txt b/public_test_cases/p02793/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f92d8dd9a1897dc0e1d8d79254d11ec15c4fbd05
--- /dev/null
+++ b/public_test_cases/p02793/input.2.txt
@@ -0,0 +1,2 @@
+3
+1000000 999999 999998
diff --git a/public_test_cases/p02793/input.3.txt b/public_test_cases/p02793/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07700aec44ae5ddbf60d0ad4ae6ef186d65640ab
--- /dev/null
+++ b/public_test_cases/p02793/input.3.txt
@@ -0,0 +1,2 @@
+5
+12 12 12 12 12
diff --git a/public_test_cases/p02793/output.0.txt b/public_test_cases/p02793/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02793/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02793/output.1.txt b/public_test_cases/p02793/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02793/output.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02793/output.2.txt b/public_test_cases/p02793/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a448cf2329d3adf853bb4c75744e6c570349c72d
--- /dev/null
+++ b/public_test_cases/p02793/output.2.txt
@@ -0,0 +1 @@
+996989508
diff --git a/public_test_cases/p02793/output.3.txt b/public_test_cases/p02793/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02793/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02794/input.0.txt b/public_test_cases/p02794/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0df04b784aacda1dfff44923164275dadf01f763
--- /dev/null
+++ b/public_test_cases/p02794/input.0.txt
@@ -0,0 +1,5 @@
+3
+1 2
+2 3
+1
+1 3
diff --git a/public_test_cases/p02794/input.1.txt b/public_test_cases/p02794/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f17833845d6f76a807ac499664a38a0edc369aa
--- /dev/null
+++ b/public_test_cases/p02794/input.1.txt
@@ -0,0 +1,4 @@
+2
+1 2
+1
+1 2
diff --git a/public_test_cases/p02794/input.2.txt b/public_test_cases/p02794/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab9564428640c5ce8235bcf5f00d0e45ed0cd7d5
--- /dev/null
+++ b/public_test_cases/p02794/input.2.txt
@@ -0,0 +1,9 @@
+5
+1 2
+3 2
+3 4
+5 3
+3
+1 3
+2 4
+2 5
diff --git a/public_test_cases/p02794/input.3.txt b/public_test_cases/p02794/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0df04b784aacda1dfff44923164275dadf01f763
--- /dev/null
+++ b/public_test_cases/p02794/input.3.txt
@@ -0,0 +1,5 @@
+3
+1 2
+2 3
+1
+1 3
diff --git a/public_test_cases/p02794/input.4.txt b/public_test_cases/p02794/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0e8f97dd5a8bd43686f6218f278bafa18f9210c
--- /dev/null
+++ b/public_test_cases/p02794/input.4.txt
@@ -0,0 +1,14 @@
+8
+1 2
+2 3
+4 3
+2 5
+6 3
+6 7
+8 6
+5
+2 7
+3 5
+1 6
+2 8
+7 8
diff --git a/public_test_cases/p02794/output.0.txt b/public_test_cases/p02794/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02794/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02794/output.1.txt b/public_test_cases/p02794/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02794/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02794/output.2.txt b/public_test_cases/p02794/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02794/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02794/output.3.txt b/public_test_cases/p02794/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02794/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02794/output.4.txt b/public_test_cases/p02794/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8fa06e1be7da01425d2be19da24595de2fa02c2
--- /dev/null
+++ b/public_test_cases/p02794/output.4.txt
@@ -0,0 +1 @@
+62
diff --git a/public_test_cases/p02795/input.0.txt b/public_test_cases/p02795/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b51057219e1fe4e413ebe6b3e7f4eeceefb2d7d
--- /dev/null
+++ b/public_test_cases/p02795/input.0.txt
@@ -0,0 +1,3 @@
+3
+7
+10
diff --git a/public_test_cases/p02795/input.1.txt b/public_test_cases/p02795/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b51057219e1fe4e413ebe6b3e7f4eeceefb2d7d
--- /dev/null
+++ b/public_test_cases/p02795/input.1.txt
@@ -0,0 +1,3 @@
+3
+7
+10
diff --git a/public_test_cases/p02795/input.2.txt b/public_test_cases/p02795/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..939760f9fdb3334339bb24425f0325537aab6d53
--- /dev/null
+++ b/public_test_cases/p02795/input.2.txt
@@ -0,0 +1,3 @@
+2
+100
+200
diff --git a/public_test_cases/p02795/input.3.txt b/public_test_cases/p02795/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e26f4c0d0cb950000fbcea6740ed48bd2d9e7c6a
--- /dev/null
+++ b/public_test_cases/p02795/input.3.txt
@@ -0,0 +1,3 @@
+14
+12
+112
diff --git a/public_test_cases/p02795/output.0.txt b/public_test_cases/p02795/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02795/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02795/output.1.txt b/public_test_cases/p02795/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02795/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02795/output.2.txt b/public_test_cases/p02795/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02795/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02795/output.3.txt b/public_test_cases/p02795/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02795/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02796/input.0.txt b/public_test_cases/p02796/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20ddda0041b80e0802fdbdb1e682d9aa19d7a768
--- /dev/null
+++ b/public_test_cases/p02796/input.0.txt
@@ -0,0 +1,5 @@
+4
+2 4
+4 3
+9 3
+100 5
diff --git a/public_test_cases/p02796/input.1.txt b/public_test_cases/p02796/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a9874efe0e1ca7d06ea4112a83c160f2c5bce2d
--- /dev/null
+++ b/public_test_cases/p02796/input.1.txt
@@ -0,0 +1,6 @@
+5
+10 1
+2 1
+4 1
+6 1
+8 1
diff --git a/public_test_cases/p02796/input.2.txt b/public_test_cases/p02796/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f5eacbfe3426a72f314380c88bd046143e590c8
--- /dev/null
+++ b/public_test_cases/p02796/input.2.txt
@@ -0,0 +1,3 @@
+2
+8 20
+1 10
diff --git a/public_test_cases/p02796/input.3.txt b/public_test_cases/p02796/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20ddda0041b80e0802fdbdb1e682d9aa19d7a768
--- /dev/null
+++ b/public_test_cases/p02796/input.3.txt
@@ -0,0 +1,5 @@
+4
+2 4
+4 3
+9 3
+100 5
diff --git a/public_test_cases/p02796/output.0.txt b/public_test_cases/p02796/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02796/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02796/output.1.txt b/public_test_cases/p02796/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02796/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02796/output.2.txt b/public_test_cases/p02796/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02796/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02796/output.3.txt b/public_test_cases/p02796/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02796/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02797/input.0.txt b/public_test_cases/p02797/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce28b14c5fb7efa72f16989b86cbeb028ae8ca88
--- /dev/null
+++ b/public_test_cases/p02797/input.0.txt
@@ -0,0 +1 @@
+4 2 3
diff --git a/public_test_cases/p02797/input.1.txt b/public_test_cases/p02797/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..303738e0c33da46b0eae90235714ad49f8bfb03d
--- /dev/null
+++ b/public_test_cases/p02797/input.1.txt
@@ -0,0 +1 @@
+5 3 100
diff --git a/public_test_cases/p02797/input.2.txt b/public_test_cases/p02797/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce28b14c5fb7efa72f16989b86cbeb028ae8ca88
--- /dev/null
+++ b/public_test_cases/p02797/input.2.txt
@@ -0,0 +1 @@
+4 2 3
diff --git a/public_test_cases/p02797/output.0.txt b/public_test_cases/p02797/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93a48451c357d2efc0215caef8334af6b6b8dacf
--- /dev/null
+++ b/public_test_cases/p02797/output.0.txt
@@ -0,0 +1 @@
+1 2 3 4
diff --git a/public_test_cases/p02797/output.1.txt b/public_test_cases/p02797/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..379ff3d688475b1aa9cd17b38de75403b3de0b99
--- /dev/null
+++ b/public_test_cases/p02797/output.1.txt
@@ -0,0 +1 @@
+50 50 50 30 70
diff --git a/public_test_cases/p02797/output.2.txt b/public_test_cases/p02797/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93a48451c357d2efc0215caef8334af6b6b8dacf
--- /dev/null
+++ b/public_test_cases/p02797/output.2.txt
@@ -0,0 +1 @@
+1 2 3 4
diff --git a/public_test_cases/p02798/input.0.txt b/public_test_cases/p02798/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3065ce261591f7b78a7a893adcb09ab49f410c6b
--- /dev/null
+++ b/public_test_cases/p02798/input.0.txt
@@ -0,0 +1,3 @@
+3
+3 4 3
+3 2 3
diff --git a/public_test_cases/p02798/input.1.txt b/public_test_cases/p02798/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0927bfd621f252919d2be6228551cf72d05a111d
--- /dev/null
+++ b/public_test_cases/p02798/input.1.txt
@@ -0,0 +1,3 @@
+5
+28 15 22 43 31
+20 22 43 33 32
diff --git a/public_test_cases/p02798/input.2.txt b/public_test_cases/p02798/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3e5d19ab0a73efcd362bac661bb96d33b2689be
--- /dev/null
+++ b/public_test_cases/p02798/input.2.txt
@@ -0,0 +1,3 @@
+4
+1 2 3 4
+5 6 7 8
diff --git a/public_test_cases/p02798/input.3.txt b/public_test_cases/p02798/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3065ce261591f7b78a7a893adcb09ab49f410c6b
--- /dev/null
+++ b/public_test_cases/p02798/input.3.txt
@@ -0,0 +1,3 @@
+3
+3 4 3
+3 2 3
diff --git a/public_test_cases/p02798/input.4.txt b/public_test_cases/p02798/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e637615aadc3c32a225f272569aad6e83ea2f7b2
--- /dev/null
+++ b/public_test_cases/p02798/input.4.txt
@@ -0,0 +1,3 @@
+5
+4 46 6 38 43
+33 15 18 27 37
diff --git a/public_test_cases/p02798/input.5.txt b/public_test_cases/p02798/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8da1102443fc9c77ca4cd7fbea5f777076f9ad02
--- /dev/null
+++ b/public_test_cases/p02798/input.5.txt
@@ -0,0 +1,3 @@
+2
+2 1
+1 2
diff --git a/public_test_cases/p02798/output.0.txt b/public_test_cases/p02798/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02798/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02798/output.1.txt b/public_test_cases/p02798/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02798/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02798/output.2.txt b/public_test_cases/p02798/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02798/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02798/output.3.txt b/public_test_cases/p02798/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02798/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02798/output.4.txt b/public_test_cases/p02798/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02798/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02798/output.5.txt b/public_test_cases/p02798/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02798/output.5.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02799/input.0.txt b/public_test_cases/p02799/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1abfa12fe5984f47d872145e4321d16a13295089
--- /dev/null
+++ b/public_test_cases/p02799/input.0.txt
@@ -0,0 +1,7 @@
+5 5
+3 4 3 5 7
+1 2
+1 3
+3 2
+4 2
+4 5
diff --git a/public_test_cases/p02799/input.1.txt b/public_test_cases/p02799/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1abfa12fe5984f47d872145e4321d16a13295089
--- /dev/null
+++ b/public_test_cases/p02799/input.1.txt
@@ -0,0 +1,7 @@
+5 5
+3 4 3 5 7
+1 2
+1 3
+3 2
+4 2
+4 5
diff --git a/public_test_cases/p02799/input.2.txt b/public_test_cases/p02799/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b6e45914c6d6a47b88ecaedcdd0557c6b1cdc8e
--- /dev/null
+++ b/public_test_cases/p02799/input.2.txt
@@ -0,0 +1,8 @@
+4 6
+1 1 1 1
+1 2
+1 3
+1 4
+2 3
+2 4
+3 4
diff --git a/public_test_cases/p02799/input.3.txt b/public_test_cases/p02799/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..483f0c682faa659e78e65a32691d71ece951a905
--- /dev/null
+++ b/public_test_cases/p02799/input.3.txt
@@ -0,0 +1,9 @@
+5 7
+1 2 3 4 5
+1 2
+1 3
+1 4
+2 3
+2 5
+3 5
+4 5
diff --git a/public_test_cases/p02799/output.0.txt b/public_test_cases/p02799/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..998fd11ab97f1d7f2de482e90361b4ec07402966
--- /dev/null
+++ b/public_test_cases/p02799/output.0.txt
@@ -0,0 +1,6 @@
+BWWBB
+4
+3
+1
+5
+2
diff --git a/public_test_cases/p02799/output.1.txt b/public_test_cases/p02799/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..998fd11ab97f1d7f2de482e90361b4ec07402966
--- /dev/null
+++ b/public_test_cases/p02799/output.1.txt
@@ -0,0 +1,6 @@
+BWWBB
+4
+3
+1
+5
+2
diff --git a/public_test_cases/p02799/output.2.txt b/public_test_cases/p02799/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ee79b2cdf311647af82b950fb0cd674fc5ffc53
--- /dev/null
+++ b/public_test_cases/p02799/output.2.txt
@@ -0,0 +1,7 @@
+BBBW
+1
+1
+1
+2
+1
+1
diff --git a/public_test_cases/p02799/output.3.txt b/public_test_cases/p02799/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02799/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02800/input.0.txt b/public_test_cases/p02800/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa57422f1db707c6a85418fb54e6cd206aafb9e3
--- /dev/null
+++ b/public_test_cases/p02800/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+#.
+.#
diff --git a/public_test_cases/p02800/input.1.txt b/public_test_cases/p02800/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63412e064995ed6250d00cbfe549ad14b1c75ee5
--- /dev/null
+++ b/public_test_cases/p02800/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+...
+...
+...
diff --git a/public_test_cases/p02800/input.2.txt b/public_test_cases/p02800/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa57422f1db707c6a85418fb54e6cd206aafb9e3
--- /dev/null
+++ b/public_test_cases/p02800/input.2.txt
@@ -0,0 +1,3 @@
+2 2
+#.
+.#
diff --git a/public_test_cases/p02800/input.3.txt b/public_test_cases/p02800/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75f759bd90f7ef634634fa015da30e75fa1d8c26
--- /dev/null
+++ b/public_test_cases/p02800/input.3.txt
@@ -0,0 +1,3 @@
+2 4
+...
+...#
diff --git a/public_test_cases/p02800/input.4.txt b/public_test_cases/p02800/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8700013d3f583ef5dc5f8fbab53b889999cace5a
--- /dev/null
+++ b/public_test_cases/p02800/input.4.txt
@@ -0,0 +1,7 @@
+6 7
+.......
+.......
+.#.....
+..#....
+.#.#...
+.......
diff --git a/public_test_cases/p02800/input.5.txt b/public_test_cases/p02800/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19bc8b703d7ecb12e802c46abcae9e7fbfe06765
--- /dev/null
+++ b/public_test_cases/p02800/input.5.txt
@@ -0,0 +1,3 @@
+2 2
+.
+.#
diff --git a/public_test_cases/p02800/output.0.txt b/public_test_cases/p02800/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p02800/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p02800/output.1.txt b/public_test_cases/p02800/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcb6b5baa1d74755be849bad4c15f5b269ef4b4c
--- /dev/null
+++ b/public_test_cases/p02800/output.1.txt
@@ -0,0 +1 @@
+230
diff --git a/public_test_cases/p02800/output.2.txt b/public_test_cases/p02800/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p02800/output.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p02800/output.3.txt b/public_test_cases/p02800/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa8f08cb6ff8a30dd34a3b442009bdfc798a7316
--- /dev/null
+++ b/public_test_cases/p02800/output.3.txt
@@ -0,0 +1 @@
+150
diff --git a/public_test_cases/p02800/output.4.txt b/public_test_cases/p02800/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23114667a914dd189ec665257604acb7fe940539
--- /dev/null
+++ b/public_test_cases/p02800/output.4.txt
@@ -0,0 +1 @@
+203949910
diff --git a/public_test_cases/p02800/output.5.txt b/public_test_cases/p02800/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p02800/output.5.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p02801/input.0.txt b/public_test_cases/p02801/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p02801/input.0.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p02801/input.1.txt b/public_test_cases/p02801/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..975fbec8256d3e8a3797e7a3611380f27c49f4ac
--- /dev/null
+++ b/public_test_cases/p02801/input.1.txt
@@ -0,0 +1 @@
+y
diff --git a/public_test_cases/p02801/input.2.txt b/public_test_cases/p02801/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p02801/input.2.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p02801/output.0.txt b/public_test_cases/p02801/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p02801/output.0.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p02801/output.1.txt b/public_test_cases/p02801/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b68025345d5301abad4d9ec9166f455243a0d746
--- /dev/null
+++ b/public_test_cases/p02801/output.1.txt
@@ -0,0 +1 @@
+z
diff --git a/public_test_cases/p02801/output.2.txt b/public_test_cases/p02801/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p02801/output.2.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p02802/input.0.txt b/public_test_cases/p02802/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54eaaccd162bcf49dc4e647fb555f5ea5aa6da57
--- /dev/null
+++ b/public_test_cases/p02802/input.0.txt
@@ -0,0 +1,6 @@
+2 5
+1 WA
+1 AC
+2 WA
+2 AC
+2 WA
diff --git a/public_test_cases/p02802/input.1.txt b/public_test_cases/p02802/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c12f8e66df2d2eaa570d8b17e0c5359714740595
--- /dev/null
+++ b/public_test_cases/p02802/input.1.txt
@@ -0,0 +1 @@
+6 0
diff --git a/public_test_cases/p02802/input.2.txt b/public_test_cases/p02802/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54eaaccd162bcf49dc4e647fb555f5ea5aa6da57
--- /dev/null
+++ b/public_test_cases/p02802/input.2.txt
@@ -0,0 +1,6 @@
+2 5
+1 WA
+1 AC
+2 WA
+2 AC
+2 WA
diff --git a/public_test_cases/p02802/input.3.txt b/public_test_cases/p02802/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a8168357f8ec3ec8079ae54df66c3849f81a21f
--- /dev/null
+++ b/public_test_cases/p02802/input.3.txt
@@ -0,0 +1,4 @@
+100000 3
+7777 AC
+7777 AC
+7777 AC
diff --git a/public_test_cases/p02802/output.0.txt b/public_test_cases/p02802/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02802/output.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02802/output.1.txt b/public_test_cases/p02802/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b748e2dcfcbc7db3aae214293cef6cb2afbd0a65
--- /dev/null
+++ b/public_test_cases/p02802/output.1.txt
@@ -0,0 +1 @@
+0 0
diff --git a/public_test_cases/p02802/output.2.txt b/public_test_cases/p02802/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02802/output.2.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02802/output.3.txt b/public_test_cases/p02802/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80c0cc79aabb27a7894c5795860fa87c6473f004
--- /dev/null
+++ b/public_test_cases/p02802/output.3.txt
@@ -0,0 +1 @@
+1 0
diff --git a/public_test_cases/p02803/input.0.txt b/public_test_cases/p02803/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63412e064995ed6250d00cbfe549ad14b1c75ee5
--- /dev/null
+++ b/public_test_cases/p02803/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+...
+...
+...
diff --git a/public_test_cases/p02803/input.1.txt b/public_test_cases/p02803/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63412e064995ed6250d00cbfe549ad14b1c75ee5
--- /dev/null
+++ b/public_test_cases/p02803/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+...
+...
+...
diff --git a/public_test_cases/p02803/input.2.txt b/public_test_cases/p02803/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ab8c843542795dd2e00fd645dce1ccb03ab93b3
--- /dev/null
+++ b/public_test_cases/p02803/input.2.txt
@@ -0,0 +1,4 @@
+3 5
+...#.
+.#.#.
+.#...
diff --git a/public_test_cases/p02803/output.0.txt b/public_test_cases/p02803/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02803/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02803/output.1.txt b/public_test_cases/p02803/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02803/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02803/output.2.txt b/public_test_cases/p02803/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02803/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02804/input.0.txt b/public_test_cases/p02804/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74a7fec8758b34199cf1fc91ed94878f8e9b0ca3
--- /dev/null
+++ b/public_test_cases/p02804/input.0.txt
@@ -0,0 +1,2 @@
+4 2
+1 1 3 4
diff --git a/public_test_cases/p02804/input.1.txt b/public_test_cases/p02804/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a3cb9deb1f1eec4c5a3ca630865c8cb5dc11bc7
--- /dev/null
+++ b/public_test_cases/p02804/input.1.txt
@@ -0,0 +1,2 @@
+3 1
+1 1 1
diff --git a/public_test_cases/p02804/input.2.txt b/public_test_cases/p02804/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74a7fec8758b34199cf1fc91ed94878f8e9b0ca3
--- /dev/null
+++ b/public_test_cases/p02804/input.2.txt
@@ -0,0 +1,2 @@
+4 2
+1 1 3 4
diff --git a/public_test_cases/p02804/input.3.txt b/public_test_cases/p02804/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..698ed17170ad355f589e2a377e77c2c94620c852
--- /dev/null
+++ b/public_test_cases/p02804/input.3.txt
@@ -0,0 +1,2 @@
+10 6
+1000000000 1000000000 1000000000 1000000000 1000000000 0 0 0 0 0
diff --git a/public_test_cases/p02804/input.4.txt b/public_test_cases/p02804/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d029c886c7618018fb1a1f1d815b9204f6698f4
--- /dev/null
+++ b/public_test_cases/p02804/input.4.txt
@@ -0,0 +1,2 @@
+6 3
+10 10 10 -10 -10 -10
diff --git a/public_test_cases/p02804/output.0.txt b/public_test_cases/p02804/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02804/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02804/output.1.txt b/public_test_cases/p02804/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02804/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02804/output.2.txt b/public_test_cases/p02804/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02804/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02804/output.3.txt b/public_test_cases/p02804/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8794cc3e36fd12e4ade62bd09ae5eb0f916c96fd
--- /dev/null
+++ b/public_test_cases/p02804/output.3.txt
@@ -0,0 +1 @@
+999998537
diff --git a/public_test_cases/p02804/output.4.txt b/public_test_cases/p02804/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2921a1584c758640f843bd701a9ef6a811dcac49
--- /dev/null
+++ b/public_test_cases/p02804/output.4.txt
@@ -0,0 +1 @@
+360
diff --git a/public_test_cases/p02805/input.0.txt b/public_test_cases/p02805/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b33e4a0d165defb199b74b1f461b8e41b20cd45
--- /dev/null
+++ b/public_test_cases/p02805/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 0
+1 0
diff --git a/public_test_cases/p02805/input.1.txt b/public_test_cases/p02805/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea858fa58f0a5657638c17a89379c3474218e764
--- /dev/null
+++ b/public_test_cases/p02805/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 0
+0 1
+1 0
diff --git a/public_test_cases/p02805/input.2.txt b/public_test_cases/p02805/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b33e4a0d165defb199b74b1f461b8e41b20cd45
--- /dev/null
+++ b/public_test_cases/p02805/input.2.txt
@@ -0,0 +1,3 @@
+2
+0 0
+1 0
diff --git a/public_test_cases/p02805/input.3.txt b/public_test_cases/p02805/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..421b96797a8ea5c8d8ec0c416375325a82b848d3
--- /dev/null
+++ b/public_test_cases/p02805/input.3.txt
@@ -0,0 +1,11 @@
+10
+10 9
+5 9
+2 0
+0 0
+2 7
+3 3
+2 5
+10 0
+3 7
+1 9
diff --git a/public_test_cases/p02805/output.0.txt b/public_test_cases/p02805/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d32f569ec745ec4199664968f9e2a1cb65400b8e
--- /dev/null
+++ b/public_test_cases/p02805/output.0.txt
@@ -0,0 +1 @@
+0.500000000000000000
diff --git a/public_test_cases/p02805/output.1.txt b/public_test_cases/p02805/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52867e4c88096c33e4a21b44ce201ad54cd6a4bb
--- /dev/null
+++ b/public_test_cases/p02805/output.1.txt
@@ -0,0 +1 @@
+0.707106781186497524
diff --git a/public_test_cases/p02805/output.2.txt b/public_test_cases/p02805/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d32f569ec745ec4199664968f9e2a1cb65400b8e
--- /dev/null
+++ b/public_test_cases/p02805/output.2.txt
@@ -0,0 +1 @@
+0.500000000000000000
diff --git a/public_test_cases/p02805/output.3.txt b/public_test_cases/p02805/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eac1ac39a1cd4323509c0820d00f1f64f0c67bd0
--- /dev/null
+++ b/public_test_cases/p02805/output.3.txt
@@ -0,0 +1 @@
+6.726812023536805158
diff --git a/public_test_cases/p02806/input.0.txt b/public_test_cases/p02806/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0801415aea176aab1d9bbd3feda54f73a25c6d7b
--- /dev/null
+++ b/public_test_cases/p02806/input.0.txt
@@ -0,0 +1,5 @@
+3
+dwango 2
+sixth 5
+prelims 25
+dwango
diff --git a/public_test_cases/p02806/input.1.txt b/public_test_cases/p02806/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c156985013d2355fad5085f19e0ee77191a3352
--- /dev/null
+++ b/public_test_cases/p02806/input.1.txt
@@ -0,0 +1,17 @@
+15
+ypnxn 279
+kgjgwx 464
+qquhuwq 327
+rxing 549
+pmuduhznoaqu 832
+dagktgdarveusju 595
+wunfagppcoi 200
+dhavrncwfw 720
+jpcmigg 658
+wrczqxycivdqn 639
+mcmkkbnjfeod 992
+htqvkgkbhtytsz 130
+twflegsjz 467
+dswxxrxuzzfhkp 989
+szfwtzfpnscgue 958
+pmuduhznoaqu
diff --git a/public_test_cases/p02806/input.2.txt b/public_test_cases/p02806/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0801415aea176aab1d9bbd3feda54f73a25c6d7b
--- /dev/null
+++ b/public_test_cases/p02806/input.2.txt
@@ -0,0 +1,5 @@
+3
+dwango 2
+sixth 5
+prelims 25
+dwango
diff --git a/public_test_cases/p02806/input.3.txt b/public_test_cases/p02806/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f26b50578ec335e650365c9efa33cd8e62ee8d42
--- /dev/null
+++ b/public_test_cases/p02806/input.3.txt
@@ -0,0 +1,3 @@
+1
+abcde 1000
+abcde
diff --git a/public_test_cases/p02806/output.0.txt b/public_test_cases/p02806/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p02806/output.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p02806/output.1.txt b/public_test_cases/p02806/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dddbc7d813ade0eedb24dbbb6c5e99dbd03e8341
--- /dev/null
+++ b/public_test_cases/p02806/output.1.txt
@@ -0,0 +1 @@
+6348
diff --git a/public_test_cases/p02806/output.2.txt b/public_test_cases/p02806/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p02806/output.2.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p02806/output.3.txt b/public_test_cases/p02806/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02806/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02807/input.0.txt b/public_test_cases/p02807/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02807/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02807/input.1.txt b/public_test_cases/p02807/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..deb7d12371815744a08bb624b0c6d498be14cedf
--- /dev/null
+++ b/public_test_cases/p02807/input.1.txt
@@ -0,0 +1,2 @@
+12
+161735902 211047202 430302156 450968417 628894325 707723857 731963982 822804784 880895728 923078537 971407775 982631932
diff --git a/public_test_cases/p02807/input.2.txt b/public_test_cases/p02807/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02807/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02807/output.0.txt b/public_test_cases/p02807/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02807/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02807/output.1.txt b/public_test_cases/p02807/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f835cfdf2e122cbfd499efba50b63fba98fbdd99
--- /dev/null
+++ b/public_test_cases/p02807/output.1.txt
@@ -0,0 +1 @@
+750927044
diff --git a/public_test_cases/p02807/output.2.txt b/public_test_cases/p02807/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02807/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02808/input.0.txt b/public_test_cases/p02808/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7df0488fce5e2fe7b80b6ffcca4e3d6ba3f17421
--- /dev/null
+++ b/public_test_cases/p02808/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+3 2
diff --git a/public_test_cases/p02808/input.1.txt b/public_test_cases/p02808/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7df0488fce5e2fe7b80b6ffcca4e3d6ba3f17421
--- /dev/null
+++ b/public_test_cases/p02808/input.1.txt
@@ -0,0 +1,2 @@
+3 2
+3 2
diff --git a/public_test_cases/p02808/input.2.txt b/public_test_cases/p02808/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d470cc239cd9af6221a8ee3d25a13b13b845b5a7
--- /dev/null
+++ b/public_test_cases/p02808/input.2.txt
@@ -0,0 +1,2 @@
+856 16
+399 263 665 432 206 61 784 548 422 313 848 478 827 26 398 63
diff --git a/public_test_cases/p02808/output.0.txt b/public_test_cases/p02808/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02808/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02808/output.1.txt b/public_test_cases/p02808/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02808/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02808/output.2.txt b/public_test_cases/p02808/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f91c2c33f1588c615e0cce12bd1e6ad091cf395
--- /dev/null
+++ b/public_test_cases/p02808/output.2.txt
@@ -0,0 +1 @@
+337587117
diff --git a/public_test_cases/p02809/input.0.txt b/public_test_cases/p02809/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65c8e6bc51b9b68d4c4cc97544660e27a2dedd3d
--- /dev/null
+++ b/public_test_cases/p02809/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 3 4 1
diff --git a/public_test_cases/p02809/input.1.txt b/public_test_cases/p02809/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65c8e6bc51b9b68d4c4cc97544660e27a2dedd3d
--- /dev/null
+++ b/public_test_cases/p02809/input.1.txt
@@ -0,0 +1,2 @@
+4
+2 3 4 1
diff --git a/public_test_cases/p02809/input.2.txt b/public_test_cases/p02809/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cd4f58526b6a547080920f1f04b3d3a58b80b1
--- /dev/null
+++ b/public_test_cases/p02809/input.2.txt
@@ -0,0 +1,2 @@
+2
+2 1
diff --git a/public_test_cases/p02809/input.3.txt b/public_test_cases/p02809/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12b3a9718e393c35eea34753d9b01311beee4308
--- /dev/null
+++ b/public_test_cases/p02809/input.3.txt
@@ -0,0 +1,2 @@
+13
+2 3 4 5 6 7 8 9 10 11 12 13 12
diff --git a/public_test_cases/p02809/output.0.txt b/public_test_cases/p02809/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1ad1e090b85316220fb5d57769b90e017a7d932
--- /dev/null
+++ b/public_test_cases/p02809/output.0.txt
@@ -0,0 +1 @@
+1 3 2 4
diff --git a/public_test_cases/p02809/output.1.txt b/public_test_cases/p02809/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1ad1e090b85316220fb5d57769b90e017a7d932
--- /dev/null
+++ b/public_test_cases/p02809/output.1.txt
@@ -0,0 +1 @@
+1 3 2 4
diff --git a/public_test_cases/p02809/output.2.txt b/public_test_cases/p02809/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02809/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02809/output.3.txt b/public_test_cases/p02809/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71262d7713888f5ba3f50296e1c4da527bc1580b
--- /dev/null
+++ b/public_test_cases/p02809/output.3.txt
@@ -0,0 +1 @@
+1 3 2 4 6 5 7 9 8 10 12 11 13
diff --git a/public_test_cases/p02810/input.0.txt b/public_test_cases/p02810/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d92de78bf202e3a75662041e24e992f85f327ff7
--- /dev/null
+++ b/public_test_cases/p02810/input.0.txt
@@ -0,0 +1,2 @@
+3 3
+1 1 2
diff --git a/public_test_cases/p02810/input.1.txt b/public_test_cases/p02810/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d92de78bf202e3a75662041e24e992f85f327ff7
--- /dev/null
+++ b/public_test_cases/p02810/input.1.txt
@@ -0,0 +1,2 @@
+3 3
+1 1 2
diff --git a/public_test_cases/p02810/input.2.txt b/public_test_cases/p02810/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b4a6681cba5d29a194f3d87840b1edb18fe3e33
--- /dev/null
+++ b/public_test_cases/p02810/input.2.txt
@@ -0,0 +1,2 @@
+18 477
+324 31 27 227 9 21 41 29 50 34 2 362 92 11 13 17 183 119
diff --git a/public_test_cases/p02810/output.0.txt b/public_test_cases/p02810/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02810/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02810/output.1.txt b/public_test_cases/p02810/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02810/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02810/output.2.txt b/public_test_cases/p02810/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3973f1e9e15a4fd431dbd38d9816c2ef186f3d9f
--- /dev/null
+++ b/public_test_cases/p02810/output.2.txt
@@ -0,0 +1 @@
+134796357
diff --git a/public_test_cases/p02811/input.0.txt b/public_test_cases/p02811/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc445a88c751da8cf4dc1374e4b8db6cf329c45e
--- /dev/null
+++ b/public_test_cases/p02811/input.0.txt
@@ -0,0 +1 @@
+2 900
diff --git a/public_test_cases/p02811/input.1.txt b/public_test_cases/p02811/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a035397251d2dc5405e8c83157f108bc0050d9b
--- /dev/null
+++ b/public_test_cases/p02811/input.1.txt
@@ -0,0 +1 @@
+1 501
diff --git a/public_test_cases/p02811/input.2.txt b/public_test_cases/p02811/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d34db9fa6540966d0582d9a3ddff841679d1c34
--- /dev/null
+++ b/public_test_cases/p02811/input.2.txt
@@ -0,0 +1 @@
+4 2000
diff --git a/public_test_cases/p02811/input.3.txt b/public_test_cases/p02811/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc445a88c751da8cf4dc1374e4b8db6cf329c45e
--- /dev/null
+++ b/public_test_cases/p02811/input.3.txt
@@ -0,0 +1 @@
+2 900
diff --git a/public_test_cases/p02811/output.0.txt b/public_test_cases/p02811/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02811/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02811/output.1.txt b/public_test_cases/p02811/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02811/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02811/output.2.txt b/public_test_cases/p02811/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02811/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02811/output.3.txt b/public_test_cases/p02811/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02811/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02812/input.0.txt b/public_test_cases/p02812/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2faa6e8d9ce5e88a3ef05fbaebe9f51e7edf4d62
--- /dev/null
+++ b/public_test_cases/p02812/input.0.txt
@@ -0,0 +1,2 @@
+10
+ZABCDBABCQ
diff --git a/public_test_cases/p02812/input.1.txt b/public_test_cases/p02812/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..358f48d2a0c6bbe8d4dfc3b5cb2d047563e852c9
--- /dev/null
+++ b/public_test_cases/p02812/input.1.txt
@@ -0,0 +1,2 @@
+19
+THREEONEFOURONEFIVE
diff --git a/public_test_cases/p02812/input.2.txt b/public_test_cases/p02812/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f52e5b056fac35f552ad0fa26faf522f26b517d
--- /dev/null
+++ b/public_test_cases/p02812/input.2.txt
@@ -0,0 +1,2 @@
+33
+ABCCABCBABCCABACBCBBABCBCBCBCABCB
diff --git a/public_test_cases/p02812/input.3.txt b/public_test_cases/p02812/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2faa6e8d9ce5e88a3ef05fbaebe9f51e7edf4d62
--- /dev/null
+++ b/public_test_cases/p02812/input.3.txt
@@ -0,0 +1,2 @@
+10
+ZABCDBABCQ
diff --git a/public_test_cases/p02812/output.0.txt b/public_test_cases/p02812/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02812/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02812/output.1.txt b/public_test_cases/p02812/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02812/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02812/output.2.txt b/public_test_cases/p02812/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02812/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02812/output.3.txt b/public_test_cases/p02812/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02812/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02813/input.0.txt b/public_test_cases/p02813/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7d7c54611f9ce56140667255eb64bf55da8c78d
--- /dev/null
+++ b/public_test_cases/p02813/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 3 2
+3 1 2
diff --git a/public_test_cases/p02813/output.0.txt b/public_test_cases/p02813/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02813/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02814/input.0.txt b/public_test_cases/p02814/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f4ecffb45f12228d2e02654d99a43f43260cb07
--- /dev/null
+++ b/public_test_cases/p02814/input.0.txt
@@ -0,0 +1,2 @@
+2 50
+6 10
diff --git a/public_test_cases/p02814/input.1.txt b/public_test_cases/p02814/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35004d8d62b87851d7eb8c5a437643f130c534bb
--- /dev/null
+++ b/public_test_cases/p02814/input.1.txt
@@ -0,0 +1,2 @@
+3 100
+14 22 40
diff --git a/public_test_cases/p02814/input.2.txt b/public_test_cases/p02814/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f4ecffb45f12228d2e02654d99a43f43260cb07
--- /dev/null
+++ b/public_test_cases/p02814/input.2.txt
@@ -0,0 +1,2 @@
+2 50
+6 10
diff --git a/public_test_cases/p02814/input.3.txt b/public_test_cases/p02814/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8859f6fe0871f96e486141a60f2800ed3c2b0ff
--- /dev/null
+++ b/public_test_cases/p02814/input.3.txt
@@ -0,0 +1,2 @@
+5 1000000000
+6 6 2 6 2
diff --git a/public_test_cases/p02814/output.0.txt b/public_test_cases/p02814/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02814/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02814/output.1.txt b/public_test_cases/p02814/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02814/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02814/output.2.txt b/public_test_cases/p02814/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02814/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02814/output.3.txt b/public_test_cases/p02814/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71e7a829dc81e1b76e07c2095c00542cfb6a9d37
--- /dev/null
+++ b/public_test_cases/p02814/output.3.txt
@@ -0,0 +1 @@
+166666667
diff --git a/public_test_cases/p02815/input.0.txt b/public_test_cases/p02815/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8faee6e444a239b1e46632078e2c9378479346c1
--- /dev/null
+++ b/public_test_cases/p02815/input.0.txt
@@ -0,0 +1,2 @@
+1
+1000000000
diff --git a/public_test_cases/p02815/input.1.txt b/public_test_cases/p02815/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06be5ff5a7b63a4b714d8d623e51e011f3b395e4
--- /dev/null
+++ b/public_test_cases/p02815/input.1.txt
@@ -0,0 +1,2 @@
+2
+5 8
diff --git a/public_test_cases/p02815/input.2.txt b/public_test_cases/p02815/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8faee6e444a239b1e46632078e2c9378479346c1
--- /dev/null
+++ b/public_test_cases/p02815/input.2.txt
@@ -0,0 +1,2 @@
+1
+1000000000
diff --git a/public_test_cases/p02815/input.3.txt b/public_test_cases/p02815/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3542695da84beb79bc43f3108485ed2b18f8476
--- /dev/null
+++ b/public_test_cases/p02815/input.3.txt
@@ -0,0 +1,2 @@
+5
+52 67 72 25 79
diff --git a/public_test_cases/p02815/output.0.txt b/public_test_cases/p02815/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..669ee40d523464ab418d5be1064a6f0b06833a56
--- /dev/null
+++ b/public_test_cases/p02815/output.0.txt
@@ -0,0 +1 @@
+999999993
diff --git a/public_test_cases/p02815/output.1.txt b/public_test_cases/p02815/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc902f4f956b349ac5763a01f37a53ee607614d5
--- /dev/null
+++ b/public_test_cases/p02815/output.1.txt
@@ -0,0 +1 @@
+124
diff --git a/public_test_cases/p02815/output.2.txt b/public_test_cases/p02815/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..669ee40d523464ab418d5be1064a6f0b06833a56
--- /dev/null
+++ b/public_test_cases/p02815/output.2.txt
@@ -0,0 +1 @@
+999999993
diff --git a/public_test_cases/p02815/output.3.txt b/public_test_cases/p02815/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1cefc0f91e327145e8e18ad4c37e0f9b35866b52
--- /dev/null
+++ b/public_test_cases/p02815/output.3.txt
@@ -0,0 +1 @@
+269312
diff --git a/public_test_cases/p02816/input.0.txt b/public_test_cases/p02816/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..222f8925a23a796d8f6e5c0bea8c8eb42d7ae908
--- /dev/null
+++ b/public_test_cases/p02816/input.0.txt
@@ -0,0 +1,3 @@
+3
+0 2 1
+1 2 3
diff --git a/public_test_cases/p02816/input.1.txt b/public_test_cases/p02816/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8b39eb8ae2d4f11ba3793fb8648b439047543a4
--- /dev/null
+++ b/public_test_cases/p02816/input.1.txt
@@ -0,0 +1,3 @@
+6
+0 1 3 7 6 4
+1 5 4 6 2 3
diff --git a/public_test_cases/p02816/input.2.txt b/public_test_cases/p02816/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..222f8925a23a796d8f6e5c0bea8c8eb42d7ae908
--- /dev/null
+++ b/public_test_cases/p02816/input.2.txt
@@ -0,0 +1,3 @@
+3
+0 2 1
+1 2 3
diff --git a/public_test_cases/p02816/input.3.txt b/public_test_cases/p02816/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ab46a6fb2f201e9f5bb16e6ce42833898409441
--- /dev/null
+++ b/public_test_cases/p02816/input.3.txt
@@ -0,0 +1,3 @@
+5
+0 0 0 0 0
+2 2 2 2 2
diff --git a/public_test_cases/p02816/output.0.txt b/public_test_cases/p02816/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p02816/output.0.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p02816/output.1.txt b/public_test_cases/p02816/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76d07f2a7b2c13688916ea592af1472c31ef3825
--- /dev/null
+++ b/public_test_cases/p02816/output.1.txt
@@ -0,0 +1,2 @@
+2 2
+5 5
diff --git a/public_test_cases/p02816/output.2.txt b/public_test_cases/p02816/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p02816/output.2.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p02816/output.3.txt b/public_test_cases/p02816/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..432a57266baa7e14e32941a593674660b9dd7ff3
--- /dev/null
+++ b/public_test_cases/p02816/output.3.txt
@@ -0,0 +1,5 @@
+0 2
+1 2
+2 2
+3 2
+4 2
diff --git a/public_test_cases/p02817/input.0.txt b/public_test_cases/p02817/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1875b1a8b6e7678507cb55545e66bddd8e78038b
--- /dev/null
+++ b/public_test_cases/p02817/input.0.txt
@@ -0,0 +1 @@
+oder atc
diff --git a/public_test_cases/p02817/input.1.txt b/public_test_cases/p02817/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9ce9aeedb93373aa4dd584b25b50bb56c3e399c
--- /dev/null
+++ b/public_test_cases/p02817/input.1.txt
@@ -0,0 +1 @@
+humu humu
diff --git a/public_test_cases/p02817/input.2.txt b/public_test_cases/p02817/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1875b1a8b6e7678507cb55545e66bddd8e78038b
--- /dev/null
+++ b/public_test_cases/p02817/input.2.txt
@@ -0,0 +1 @@
+oder atc
diff --git a/public_test_cases/p02817/output.0.txt b/public_test_cases/p02817/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ef13d11d0bc8c8cde49253ea4a0cdbea2c9416
--- /dev/null
+++ b/public_test_cases/p02817/output.0.txt
@@ -0,0 +1 @@
+atcoder
diff --git a/public_test_cases/p02817/output.1.txt b/public_test_cases/p02817/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e7c459a9550bfdc6e9e33318eeddcaa2ce9d3d1
--- /dev/null
+++ b/public_test_cases/p02817/output.1.txt
@@ -0,0 +1 @@
+humuhumu
diff --git a/public_test_cases/p02817/output.2.txt b/public_test_cases/p02817/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ef13d11d0bc8c8cde49253ea4a0cdbea2c9416
--- /dev/null
+++ b/public_test_cases/p02817/output.2.txt
@@ -0,0 +1 @@
+atcoder
diff --git a/public_test_cases/p02818/input.0.txt b/public_test_cases/p02818/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87b289ecc8a6f6cbc339aa2359c84f4dd2f5afb1
--- /dev/null
+++ b/public_test_cases/p02818/input.0.txt
@@ -0,0 +1 @@
+2 3 3
diff --git a/public_test_cases/p02818/input.1.txt b/public_test_cases/p02818/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84b895839b6e5ee4ba3f1e9e079600b45678bf99
--- /dev/null
+++ b/public_test_cases/p02818/input.1.txt
@@ -0,0 +1 @@
+500000000000 500000000000 1000000000000
diff --git a/public_test_cases/p02818/input.2.txt b/public_test_cases/p02818/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87b289ecc8a6f6cbc339aa2359c84f4dd2f5afb1
--- /dev/null
+++ b/public_test_cases/p02818/input.2.txt
@@ -0,0 +1 @@
+2 3 3
diff --git a/public_test_cases/p02818/output.0.txt b/public_test_cases/p02818/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cd68b0dd8e84dec5d3cd53fda7e48b685be1b5
--- /dev/null
+++ b/public_test_cases/p02818/output.0.txt
@@ -0,0 +1 @@
+0 2
diff --git a/public_test_cases/p02818/output.1.txt b/public_test_cases/p02818/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b748e2dcfcbc7db3aae214293cef6cb2afbd0a65
--- /dev/null
+++ b/public_test_cases/p02818/output.1.txt
@@ -0,0 +1 @@
+0 0
diff --git a/public_test_cases/p02818/output.2.txt b/public_test_cases/p02818/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cd68b0dd8e84dec5d3cd53fda7e48b685be1b5
--- /dev/null
+++ b/public_test_cases/p02818/output.2.txt
@@ -0,0 +1 @@
+0 2
diff --git a/public_test_cases/p02819/input.0.txt b/public_test_cases/p02819/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p02819/input.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p02819/input.1.txt b/public_test_cases/p02819/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2aa8c1de3c5898b838a4d7d54dff6f17ebeba3c
--- /dev/null
+++ b/public_test_cases/p02819/input.1.txt
@@ -0,0 +1 @@
+99992
diff --git a/public_test_cases/p02819/input.2.txt b/public_test_cases/p02819/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p02819/input.2.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p02819/input.3.txt b/public_test_cases/p02819/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02819/input.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02819/output.0.txt b/public_test_cases/p02819/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p02819/output.0.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p02819/output.1.txt b/public_test_cases/p02819/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8995c8026a78612e379cf6d5f97e98e86bdff5f6
--- /dev/null
+++ b/public_test_cases/p02819/output.1.txt
@@ -0,0 +1 @@
+100003
diff --git a/public_test_cases/p02819/output.2.txt b/public_test_cases/p02819/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p02819/output.2.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p02819/output.3.txt b/public_test_cases/p02819/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02819/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02820/input.0.txt b/public_test_cases/p02820/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91c4e506dfe6a6ba6a199ffcc1f715726498dfbe
--- /dev/null
+++ b/public_test_cases/p02820/input.0.txt
@@ -0,0 +1,3 @@
+5 2
+8 7 6
+rsrpr
diff --git a/public_test_cases/p02820/input.1.txt b/public_test_cases/p02820/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91c4e506dfe6a6ba6a199ffcc1f715726498dfbe
--- /dev/null
+++ b/public_test_cases/p02820/input.1.txt
@@ -0,0 +1,3 @@
+5 2
+8 7 6
+rsrpr
diff --git a/public_test_cases/p02820/input.2.txt b/public_test_cases/p02820/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31c6461a65446afdae1227c246d252e6b1273ba0
--- /dev/null
+++ b/public_test_cases/p02820/input.2.txt
@@ -0,0 +1,3 @@
+7 1
+100 10 1
+ssssppr
diff --git a/public_test_cases/p02820/input.3.txt b/public_test_cases/p02820/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07d053068cf54ec9159d22fe92cb852122f7da3f
--- /dev/null
+++ b/public_test_cases/p02820/input.3.txt
@@ -0,0 +1,3 @@
+30 5
+325 234 123
+rspsspspsrpspsppprpsprpssprpsr
diff --git a/public_test_cases/p02820/output.0.txt b/public_test_cases/p02820/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p02820/output.0.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p02820/output.1.txt b/public_test_cases/p02820/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p02820/output.1.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p02820/output.2.txt b/public_test_cases/p02820/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dba40afcf75565d1816fae073dc8cd586aa8ab9c
--- /dev/null
+++ b/public_test_cases/p02820/output.2.txt
@@ -0,0 +1 @@
+211
diff --git a/public_test_cases/p02820/output.3.txt b/public_test_cases/p02820/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1e5e60a1981ae608b66d47d18deb5ff4a4b4569
--- /dev/null
+++ b/public_test_cases/p02820/output.3.txt
@@ -0,0 +1 @@
+4996
diff --git a/public_test_cases/p02821/input.0.txt b/public_test_cases/p02821/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19b400438b17ae340aaadcb13a45ea2d56eca9ae
--- /dev/null
+++ b/public_test_cases/p02821/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+10 14 19 34 33
diff --git a/public_test_cases/p02821/input.1.txt b/public_test_cases/p02821/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19b400438b17ae340aaadcb13a45ea2d56eca9ae
--- /dev/null
+++ b/public_test_cases/p02821/input.1.txt
@@ -0,0 +1,2 @@
+5 3
+10 14 19 34 33
diff --git a/public_test_cases/p02821/input.2.txt b/public_test_cases/p02821/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b470b6663a5d3c460816d4c1422672c34e76f4f
--- /dev/null
+++ b/public_test_cases/p02821/input.2.txt
@@ -0,0 +1,2 @@
+9 14
+1 3 5 110 24 21 34 5 3
diff --git a/public_test_cases/p02821/input.3.txt b/public_test_cases/p02821/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5266a17923eee6ffbf51edf9ced4a423d57590b
--- /dev/null
+++ b/public_test_cases/p02821/input.3.txt
@@ -0,0 +1,2 @@
+9 73
+67597 52981 5828 66249 75177 64141 40773 79105 16076
diff --git a/public_test_cases/p02821/output.0.txt b/public_test_cases/p02821/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f897c857d268654f8a6bd27629c6f809232e21d
--- /dev/null
+++ b/public_test_cases/p02821/output.0.txt
@@ -0,0 +1 @@
+202
diff --git a/public_test_cases/p02821/output.1.txt b/public_test_cases/p02821/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f897c857d268654f8a6bd27629c6f809232e21d
--- /dev/null
+++ b/public_test_cases/p02821/output.1.txt
@@ -0,0 +1 @@
+202
diff --git a/public_test_cases/p02821/output.2.txt b/public_test_cases/p02821/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81435abd7870489c9fa642fab0eafce2b8c61995
--- /dev/null
+++ b/public_test_cases/p02821/output.2.txt
@@ -0,0 +1 @@
+1837
diff --git a/public_test_cases/p02821/output.3.txt b/public_test_cases/p02821/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a482a907c08921c2f9139ce1a759e44d79ff6c91
--- /dev/null
+++ b/public_test_cases/p02821/output.3.txt
@@ -0,0 +1 @@
+8128170
diff --git a/public_test_cases/p02822/input.0.txt b/public_test_cases/p02822/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p02822/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p02822/input.1.txt b/public_test_cases/p02822/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..604c7b32caf077c090d1e568da712399ae45734a
--- /dev/null
+++ b/public_test_cases/p02822/input.1.txt
@@ -0,0 +1,4 @@
+4
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p02822/input.2.txt b/public_test_cases/p02822/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e7e919d9086f19d0faf1800efb363a22b6e6b8
--- /dev/null
+++ b/public_test_cases/p02822/input.2.txt
@@ -0,0 +1,4 @@
+4
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p02822/input.3.txt b/public_test_cases/p02822/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03fde12487278f7b8295fa574c09ed7e327040b2
--- /dev/null
+++ b/public_test_cases/p02822/input.3.txt
@@ -0,0 +1,7 @@
+7
+4 7
+3 1
+2 6
+5 2
+7 1
+2 7
diff --git a/public_test_cases/p02822/input.4.txt b/public_test_cases/p02822/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p02822/input.4.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p02822/output.0.txt b/public_test_cases/p02822/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..610dc2827fbb62616b18323fe87d184bd497e73f
--- /dev/null
+++ b/public_test_cases/p02822/output.0.txt
@@ -0,0 +1 @@
+125000001
diff --git a/public_test_cases/p02822/output.1.txt b/public_test_cases/p02822/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a28f7e08da6e53573636c06d59464eb13d6513c7
--- /dev/null
+++ b/public_test_cases/p02822/output.1.txt
@@ -0,0 +1 @@
+375000003
diff --git a/public_test_cases/p02822/output.2.txt b/public_test_cases/p02822/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c747149404e7d9b255bab8ef20dbbc78abfe01b
--- /dev/null
+++ b/public_test_cases/p02822/output.2.txt
@@ -0,0 +1 @@
+250000002
diff --git a/public_test_cases/p02822/output.3.txt b/public_test_cases/p02822/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2023404afd6d62e2f23c6b9138f36e8969988d0a
--- /dev/null
+++ b/public_test_cases/p02822/output.3.txt
@@ -0,0 +1 @@
+570312505
diff --git a/public_test_cases/p02822/output.4.txt b/public_test_cases/p02822/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..610dc2827fbb62616b18323fe87d184bd497e73f
--- /dev/null
+++ b/public_test_cases/p02822/output.4.txt
@@ -0,0 +1 @@
+125000001
diff --git a/public_test_cases/p02823/input.0.txt b/public_test_cases/p02823/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37122f4bb8da7cdc63b02195266c286138058939
--- /dev/null
+++ b/public_test_cases/p02823/input.0.txt
@@ -0,0 +1 @@
+5 2 4
diff --git a/public_test_cases/p02823/input.1.txt b/public_test_cases/p02823/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bbd3b678987c5e8d18d7b434254bada5f2c9af48
--- /dev/null
+++ b/public_test_cases/p02823/input.1.txt
@@ -0,0 +1 @@
+5 2 3
diff --git a/public_test_cases/p02823/input.2.txt b/public_test_cases/p02823/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37122f4bb8da7cdc63b02195266c286138058939
--- /dev/null
+++ b/public_test_cases/p02823/input.2.txt
@@ -0,0 +1 @@
+5 2 4
diff --git a/public_test_cases/p02823/output.0.txt b/public_test_cases/p02823/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02823/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02823/output.1.txt b/public_test_cases/p02823/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02823/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02823/output.2.txt b/public_test_cases/p02823/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02823/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02824/input.0.txt b/public_test_cases/p02824/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..145db6ad64b0f57707287fb33f756b4a102d5aa7
--- /dev/null
+++ b/public_test_cases/p02824/input.0.txt
@@ -0,0 +1,2 @@
+6 1 2 2
+2 1 1 3 0 2
diff --git a/public_test_cases/p02824/input.1.txt b/public_test_cases/p02824/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..145db6ad64b0f57707287fb33f756b4a102d5aa7
--- /dev/null
+++ b/public_test_cases/p02824/input.1.txt
@@ -0,0 +1,2 @@
+6 1 2 2
+2 1 1 3 0 2
diff --git a/public_test_cases/p02824/input.2.txt b/public_test_cases/p02824/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..459037509f005a826938d995b3a8db385d1d664d
--- /dev/null
+++ b/public_test_cases/p02824/input.2.txt
@@ -0,0 +1,2 @@
+10 4 8 5
+7 2 3 6 1 6 5 4 6 5
diff --git a/public_test_cases/p02824/input.3.txt b/public_test_cases/p02824/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c055f08b4a2826138a0a73e8d527ef9bd41183f2
--- /dev/null
+++ b/public_test_cases/p02824/input.3.txt
@@ -0,0 +1,2 @@
+6 1 5 2
+2 1 1 3 0 2
diff --git a/public_test_cases/p02824/output.0.txt b/public_test_cases/p02824/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02824/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02824/output.1.txt b/public_test_cases/p02824/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02824/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02824/output.2.txt b/public_test_cases/p02824/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02824/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02824/output.3.txt b/public_test_cases/p02824/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02824/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02825/input.0.txt b/public_test_cases/p02825/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02825/input.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02825/input.1.txt b/public_test_cases/p02825/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02825/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02825/input.2.txt b/public_test_cases/p02825/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02825/input.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02825/output.0.txt b/public_test_cases/p02825/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9728dd0585249865772d538925ad299ca8fcf0e1
--- /dev/null
+++ b/public_test_cases/p02825/output.0.txt
@@ -0,0 +1,6 @@
+aabb..
+b..zz.
+ba....
+.a..aa
+..a..b
+..a..b
diff --git a/public_test_cases/p02825/output.1.txt b/public_test_cases/p02825/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02825/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02825/output.2.txt b/public_test_cases/p02825/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9728dd0585249865772d538925ad299ca8fcf0e1
--- /dev/null
+++ b/public_test_cases/p02825/output.2.txt
@@ -0,0 +1,6 @@
+aabb..
+b..zz.
+ba....
+.a..aa
+..a..b
+..a..b
diff --git a/public_test_cases/p02826/input.0.txt b/public_test_cases/p02826/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd977a1d53bc1506bc30ab6d858da4e6d725c307
--- /dev/null
+++ b/public_test_cases/p02826/input.0.txt
@@ -0,0 +1 @@
+2 998244353
diff --git a/public_test_cases/p02826/input.1.txt b/public_test_cases/p02826/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a5a407148d11e5f0b89b7f0fcb0a428c6a2db5d
--- /dev/null
+++ b/public_test_cases/p02826/input.1.txt
@@ -0,0 +1 @@
+3 998244353
diff --git a/public_test_cases/p02826/input.2.txt b/public_test_cases/p02826/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..029a5aa0ceac729942cd494d4eaa51b162127178
--- /dev/null
+++ b/public_test_cases/p02826/input.2.txt
@@ -0,0 +1 @@
+96 925309799
diff --git a/public_test_cases/p02826/input.3.txt b/public_test_cases/p02826/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e19696c44748f57cf782d373d00ca120926fa72
--- /dev/null
+++ b/public_test_cases/p02826/input.3.txt
@@ -0,0 +1 @@
+6 966666661
diff --git a/public_test_cases/p02826/input.4.txt b/public_test_cases/p02826/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd977a1d53bc1506bc30ab6d858da4e6d725c307
--- /dev/null
+++ b/public_test_cases/p02826/input.4.txt
@@ -0,0 +1 @@
+2 998244353
diff --git a/public_test_cases/p02826/output.0.txt b/public_test_cases/p02826/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02826/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02826/output.1.txt b/public_test_cases/p02826/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02826/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02826/output.2.txt b/public_test_cases/p02826/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d5bebc5aa8319d615f6b98a1203390deda5b945
--- /dev/null
+++ b/public_test_cases/p02826/output.2.txt
@@ -0,0 +1 @@
+83779
diff --git a/public_test_cases/p02826/output.3.txt b/public_test_cases/p02826/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69a893aa31141827125ddaaee26966b7aed3de74
--- /dev/null
+++ b/public_test_cases/p02826/output.3.txt
@@ -0,0 +1 @@
+66
diff --git a/public_test_cases/p02826/output.4.txt b/public_test_cases/p02826/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02826/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02827/input.0.txt b/public_test_cases/p02827/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cf27ad26c90b24f0255b626f0c55d10fbcf99c6
--- /dev/null
+++ b/public_test_cases/p02827/input.0.txt
@@ -0,0 +1,6 @@
+4 5 1
+1 3
+2 4
+1 2
+3 4
+2 3
diff --git a/public_test_cases/p02827/input.1.txt b/public_test_cases/p02827/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e60d196061117ea9ed1f630c1b5773d1931675af
--- /dev/null
+++ b/public_test_cases/p02827/input.1.txt
@@ -0,0 +1,6 @@
+4 5 2
+1 3
+2 4
+1 2
+3 4
+2 3
diff --git a/public_test_cases/p02827/input.2.txt b/public_test_cases/p02827/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b9af3ed477376954f940bdbe40392f4b776431c
--- /dev/null
+++ b/public_test_cases/p02827/input.2.txt
@@ -0,0 +1,2 @@
+3 1 1
+1 2
diff --git a/public_test_cases/p02827/input.3.txt b/public_test_cases/p02827/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36a7afba5ee5de7ab56ca787ec49f5bb84bc4846
--- /dev/null
+++ b/public_test_cases/p02827/input.3.txt
@@ -0,0 +1,2 @@
+2 1 2
+1 2
diff --git a/public_test_cases/p02827/input.4.txt b/public_test_cases/p02827/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cf27ad26c90b24f0255b626f0c55d10fbcf99c6
--- /dev/null
+++ b/public_test_cases/p02827/input.4.txt
@@ -0,0 +1,6 @@
+4 5 1
+1 3
+2 4
+1 2
+3 4
+2 3
diff --git a/public_test_cases/p02827/output.0.txt b/public_test_cases/p02827/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32480a4ad8c3f0ccfe4fdcc0675d1d0c4dc861fe
--- /dev/null
+++ b/public_test_cases/p02827/output.0.txt
@@ -0,0 +1 @@
+^^^^^
diff --git a/public_test_cases/p02827/output.1.txt b/public_test_cases/p02827/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b5063f976fdb9dd4c316424da78aa3c80b55e82
--- /dev/null
+++ b/public_test_cases/p02827/output.1.txt
@@ -0,0 +1 @@
+v^^^^
diff --git a/public_test_cases/p02827/output.2.txt b/public_test_cases/p02827/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02827/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02827/output.3.txt b/public_test_cases/p02827/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02827/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02827/output.4.txt b/public_test_cases/p02827/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32480a4ad8c3f0ccfe4fdcc0675d1d0c4dc861fe
--- /dev/null
+++ b/public_test_cases/p02827/output.4.txt
@@ -0,0 +1 @@
+^^^^^
diff --git a/public_test_cases/p02828/input.0.txt b/public_test_cases/p02828/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d7778566a9ec2edc1aef3405376f39389487c9f
--- /dev/null
+++ b/public_test_cases/p02828/input.0.txt
@@ -0,0 +1,2 @@
+2
+2 2
diff --git a/public_test_cases/p02828/input.1.txt b/public_test_cases/p02828/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a13dca6f4fb565d941862eeb0f5d91542ae335e7
--- /dev/null
+++ b/public_test_cases/p02828/input.1.txt
@@ -0,0 +1,2 @@
+10
+4 7 4 8 4 6 8 2 3 6
diff --git a/public_test_cases/p02828/input.2.txt b/public_test_cases/p02828/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b98c7f17e7bf6f9308820cb5bd0a09248347a1d
--- /dev/null
+++ b/public_test_cases/p02828/input.2.txt
@@ -0,0 +1,2 @@
+3
+2 1 2
diff --git a/public_test_cases/p02828/input.3.txt b/public_test_cases/p02828/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d7778566a9ec2edc1aef3405376f39389487c9f
--- /dev/null
+++ b/public_test_cases/p02828/input.3.txt
@@ -0,0 +1,2 @@
+2
+2 2
diff --git a/public_test_cases/p02828/input.4.txt b/public_test_cases/p02828/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99abac0fbdd8b65da75ebdf15db89f3fabb0b601
--- /dev/null
+++ b/public_test_cases/p02828/input.4.txt
@@ -0,0 +1,2 @@
+4
+1 2 4 1
diff --git a/public_test_cases/p02828/output.0.txt b/public_test_cases/p02828/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02828/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02828/output.1.txt b/public_test_cases/p02828/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76542df7eea1d5684bbe81ef30f625f1bd723f8f
--- /dev/null
+++ b/public_test_cases/p02828/output.1.txt
@@ -0,0 +1 @@
+263244071
diff --git a/public_test_cases/p02828/output.2.txt b/public_test_cases/p02828/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p02828/output.2.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p02828/output.3.txt b/public_test_cases/p02828/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02828/output.3.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02828/output.4.txt b/public_test_cases/p02828/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bc92d44ac9d8a185fa33dec183c593d71d79372
--- /dev/null
+++ b/public_test_cases/p02828/output.4.txt
@@ -0,0 +1 @@
+201
diff --git a/public_test_cases/p02829/input.0.txt b/public_test_cases/p02829/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p02829/input.0.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p02829/input.1.txt b/public_test_cases/p02829/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1191247b6d9a206f6ba3d8ac79e26d041dd86941
--- /dev/null
+++ b/public_test_cases/p02829/input.1.txt
@@ -0,0 +1,2 @@
+1
+2
diff --git a/public_test_cases/p02829/input.2.txt b/public_test_cases/p02829/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p02829/input.2.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p02829/output.0.txt b/public_test_cases/p02829/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02829/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02829/output.1.txt b/public_test_cases/p02829/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02829/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02829/output.2.txt b/public_test_cases/p02829/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02829/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02830/input.0.txt b/public_test_cases/p02830/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7991245a0312e8ac7eff18d81a6ee53c71780ff5
--- /dev/null
+++ b/public_test_cases/p02830/input.0.txt
@@ -0,0 +1,2 @@
+2
+ip cc
diff --git a/public_test_cases/p02830/input.1.txt b/public_test_cases/p02830/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7991245a0312e8ac7eff18d81a6ee53c71780ff5
--- /dev/null
+++ b/public_test_cases/p02830/input.1.txt
@@ -0,0 +1,2 @@
+2
+ip cc
diff --git a/public_test_cases/p02830/input.2.txt b/public_test_cases/p02830/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee26e5b1fa2d2dea2503c593de0439f7c5271e1f
--- /dev/null
+++ b/public_test_cases/p02830/input.2.txt
@@ -0,0 +1,2 @@
+8
+hmhmnknk uuuuuuuu
diff --git a/public_test_cases/p02830/input.3.txt b/public_test_cases/p02830/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d18859107c366211c6966a49b61f3d515c36f9a7
--- /dev/null
+++ b/public_test_cases/p02830/input.3.txt
@@ -0,0 +1,2 @@
+5
+aaaaa aaaaa
diff --git a/public_test_cases/p02830/output.0.txt b/public_test_cases/p02830/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64018ccc57118406dba49cf6f0ce63ae2466b806
--- /dev/null
+++ b/public_test_cases/p02830/output.0.txt
@@ -0,0 +1 @@
+icpc
diff --git a/public_test_cases/p02830/output.1.txt b/public_test_cases/p02830/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64018ccc57118406dba49cf6f0ce63ae2466b806
--- /dev/null
+++ b/public_test_cases/p02830/output.1.txt
@@ -0,0 +1 @@
+icpc
diff --git a/public_test_cases/p02830/output.2.txt b/public_test_cases/p02830/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8b78937502fc7fca4450de7b05a510012caaf58
--- /dev/null
+++ b/public_test_cases/p02830/output.2.txt
@@ -0,0 +1 @@
+humuhumunukunuku
diff --git a/public_test_cases/p02830/output.3.txt b/public_test_cases/p02830/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69dd9b9dc4d109a772ad9c6fc66548f9130cd487
--- /dev/null
+++ b/public_test_cases/p02830/output.3.txt
@@ -0,0 +1 @@
+aaaaaaaaaa
diff --git a/public_test_cases/p02831/input.0.txt b/public_test_cases/p02831/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02831/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02831/input.1.txt b/public_test_cases/p02831/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..940dd55810ca6f32fe5c6d9962ad1f72899c3c0d
--- /dev/null
+++ b/public_test_cases/p02831/input.1.txt
@@ -0,0 +1 @@
+100000 99999
diff --git a/public_test_cases/p02831/input.2.txt b/public_test_cases/p02831/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04fc88335369301f43329074a6a6c2bd97cd7d1f
--- /dev/null
+++ b/public_test_cases/p02831/input.2.txt
@@ -0,0 +1 @@
+123 456
diff --git a/public_test_cases/p02831/input.3.txt b/public_test_cases/p02831/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02831/input.3.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02831/output.0.txt b/public_test_cases/p02831/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02831/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02831/output.1.txt b/public_test_cases/p02831/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c5b24fca1eb8075ec8e5bc963e55733925c341e
--- /dev/null
+++ b/public_test_cases/p02831/output.1.txt
@@ -0,0 +1 @@
+9999900000
diff --git a/public_test_cases/p02831/output.2.txt b/public_test_cases/p02831/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8688021bf46f7d61a8dc73e35ac6cba460d4bb0d
--- /dev/null
+++ b/public_test_cases/p02831/output.2.txt
@@ -0,0 +1 @@
+18696
diff --git a/public_test_cases/p02831/output.3.txt b/public_test_cases/p02831/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02831/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02832/input.0.txt b/public_test_cases/p02832/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b98c7f17e7bf6f9308820cb5bd0a09248347a1d
--- /dev/null
+++ b/public_test_cases/p02832/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 1 2
diff --git a/public_test_cases/p02832/input.1.txt b/public_test_cases/p02832/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7de66e6d61c2f227c6978ef84b34d8e28eeb6bfe
--- /dev/null
+++ b/public_test_cases/p02832/input.1.txt
@@ -0,0 +1,2 @@
+3
+2 2 2
diff --git a/public_test_cases/p02832/input.2.txt b/public_test_cases/p02832/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f63eb2bbdec3e47773eb4084d4df93d9305f9655
--- /dev/null
+++ b/public_test_cases/p02832/input.2.txt
@@ -0,0 +1,2 @@
+10
+3 1 4 1 5 9 2 6 5 3
diff --git a/public_test_cases/p02832/input.3.txt b/public_test_cases/p02832/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p02832/input.3.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p02832/input.4.txt b/public_test_cases/p02832/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b98c7f17e7bf6f9308820cb5bd0a09248347a1d
--- /dev/null
+++ b/public_test_cases/p02832/input.4.txt
@@ -0,0 +1,2 @@
+3
+2 1 2
diff --git a/public_test_cases/p02832/output.0.txt b/public_test_cases/p02832/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02832/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02832/output.1.txt b/public_test_cases/p02832/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02832/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02832/output.2.txt b/public_test_cases/p02832/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02832/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02832/output.3.txt b/public_test_cases/p02832/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02832/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02832/output.4.txt b/public_test_cases/p02832/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02832/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02833/input.0.txt b/public_test_cases/p02833/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02833/input.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02833/input.1.txt b/public_test_cases/p02833/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a4149f568ebd1c601c9657a0e51a097d0c2703
--- /dev/null
+++ b/public_test_cases/p02833/input.1.txt
@@ -0,0 +1 @@
+1000000000000000000
diff --git a/public_test_cases/p02833/input.2.txt b/public_test_cases/p02833/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02833/input.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02833/input.3.txt b/public_test_cases/p02833/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02833/input.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02833/output.0.txt b/public_test_cases/p02833/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02833/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02833/output.1.txt b/public_test_cases/p02833/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22eb5d726676c91a20efe67bba084df69976fcbd
--- /dev/null
+++ b/public_test_cases/p02833/output.1.txt
@@ -0,0 +1 @@
+124999999999999995
diff --git a/public_test_cases/p02833/output.2.txt b/public_test_cases/p02833/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02833/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02833/output.3.txt b/public_test_cases/p02833/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02833/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02834/input.0.txt b/public_test_cases/p02834/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de056cb6d97caaf6d20a6a10c7bbbfd558ca17e3
--- /dev/null
+++ b/public_test_cases/p02834/input.0.txt
@@ -0,0 +1,5 @@
+5 4 1
+1 2
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p02834/input.1.txt b/public_test_cases/p02834/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36a7afba5ee5de7ab56ca787ec49f5bb84bc4846
--- /dev/null
+++ b/public_test_cases/p02834/input.1.txt
@@ -0,0 +1,2 @@
+2 1 2
+1 2
diff --git a/public_test_cases/p02834/input.2.txt b/public_test_cases/p02834/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0af6c235f08ae17c85692a7709e09f5ed11d212
--- /dev/null
+++ b/public_test_cases/p02834/input.2.txt
@@ -0,0 +1,5 @@
+5 4 5
+1 2
+1 3
+1 4
+1 5
diff --git a/public_test_cases/p02834/input.3.txt b/public_test_cases/p02834/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de056cb6d97caaf6d20a6a10c7bbbfd558ca17e3
--- /dev/null
+++ b/public_test_cases/p02834/input.3.txt
@@ -0,0 +1,5 @@
+5 4 1
+1 2
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p02834/input.4.txt b/public_test_cases/p02834/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..125dfe72a1b0414181a29599dfa7db6112b77e90
--- /dev/null
+++ b/public_test_cases/p02834/input.4.txt
@@ -0,0 +1,9 @@
+9 6 1
+1 2
+2 3
+3 4
+4 5
+5 6
+4 7
+7 8
+8 9
diff --git a/public_test_cases/p02834/output.0.txt b/public_test_cases/p02834/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02834/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02834/output.1.txt b/public_test_cases/p02834/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02834/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02834/output.2.txt b/public_test_cases/p02834/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02834/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02834/output.3.txt b/public_test_cases/p02834/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02834/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02834/output.4.txt b/public_test_cases/p02834/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02834/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02835/input.0.txt b/public_test_cases/p02835/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2739135cb555fba8650c355efc7c7fd11522f6c6
--- /dev/null
+++ b/public_test_cases/p02835/input.0.txt
@@ -0,0 +1 @@
+5 7 9
diff --git a/public_test_cases/p02835/input.1.txt b/public_test_cases/p02835/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2739135cb555fba8650c355efc7c7fd11522f6c6
--- /dev/null
+++ b/public_test_cases/p02835/input.1.txt
@@ -0,0 +1 @@
+5 7 9
diff --git a/public_test_cases/p02835/input.2.txt b/public_test_cases/p02835/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa6412567deb8e01cf8ae777f28305369d748a0e
--- /dev/null
+++ b/public_test_cases/p02835/input.2.txt
@@ -0,0 +1 @@
+13 7 2
diff --git a/public_test_cases/p02835/output.0.txt b/public_test_cases/p02835/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58382f8c03ab8e8d916fca122e8a0f36d7fd4b7b
--- /dev/null
+++ b/public_test_cases/p02835/output.0.txt
@@ -0,0 +1 @@
+win
diff --git a/public_test_cases/p02835/output.1.txt b/public_test_cases/p02835/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58382f8c03ab8e8d916fca122e8a0f36d7fd4b7b
--- /dev/null
+++ b/public_test_cases/p02835/output.1.txt
@@ -0,0 +1 @@
+win
diff --git a/public_test_cases/p02835/output.2.txt b/public_test_cases/p02835/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd8220a266228e5ced3e8d06dcd134bccef857c4
--- /dev/null
+++ b/public_test_cases/p02835/output.2.txt
@@ -0,0 +1 @@
+bust
diff --git a/public_test_cases/p02836/input.0.txt b/public_test_cases/p02836/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fa37f33479cf2a9899c24a7806295fca45e2de6
--- /dev/null
+++ b/public_test_cases/p02836/input.0.txt
@@ -0,0 +1 @@
+redcoder
diff --git a/public_test_cases/p02836/input.1.txt b/public_test_cases/p02836/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..591d0285c49517c647fed28c697ca8e15afa5f67
--- /dev/null
+++ b/public_test_cases/p02836/input.1.txt
@@ -0,0 +1 @@
+abcdabc
diff --git a/public_test_cases/p02836/input.2.txt b/public_test_cases/p02836/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fa37f33479cf2a9899c24a7806295fca45e2de6
--- /dev/null
+++ b/public_test_cases/p02836/input.2.txt
@@ -0,0 +1 @@
+redcoder
diff --git a/public_test_cases/p02836/input.3.txt b/public_test_cases/p02836/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7d30e2e97be1786017c33711dda17bb01ef5c60
--- /dev/null
+++ b/public_test_cases/p02836/input.3.txt
@@ -0,0 +1 @@
+vvvvvv
diff --git a/public_test_cases/p02836/output.0.txt b/public_test_cases/p02836/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02836/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02836/output.1.txt b/public_test_cases/p02836/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02836/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02836/output.2.txt b/public_test_cases/p02836/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02836/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02836/output.3.txt b/public_test_cases/p02836/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02836/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02837/input.0.txt b/public_test_cases/p02837/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4fb51e8bd07d7aef52762ef325378eeccc085dd
--- /dev/null
+++ b/public_test_cases/p02837/input.0.txt
@@ -0,0 +1,7 @@
+3
+1
+2 1
+1
+1 1
+1
+2 0
diff --git a/public_test_cases/p02837/input.1.txt b/public_test_cases/p02837/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12e46999c87fb2c9081a739449dc3cd67f4d5ff9
--- /dev/null
+++ b/public_test_cases/p02837/input.1.txt
@@ -0,0 +1,10 @@
+3
+2
+2 1
+3 0
+2
+3 1
+1 0
+2
+1 1
+2 0
diff --git a/public_test_cases/p02837/input.2.txt b/public_test_cases/p02837/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4fb51e8bd07d7aef52762ef325378eeccc085dd
--- /dev/null
+++ b/public_test_cases/p02837/input.2.txt
@@ -0,0 +1,7 @@
+3
+1
+2 1
+1
+1 1
+1
+2 0
diff --git a/public_test_cases/p02837/input.3.txt b/public_test_cases/p02837/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4711c6dc7a197e5569f370075efbf8e2e0b52b19
--- /dev/null
+++ b/public_test_cases/p02837/input.3.txt
@@ -0,0 +1,5 @@
+2
+1
+2 0
+1
+1 0
diff --git a/public_test_cases/p02837/output.0.txt b/public_test_cases/p02837/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02837/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02837/output.1.txt b/public_test_cases/p02837/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02837/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02837/output.2.txt b/public_test_cases/p02837/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02837/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02837/output.3.txt b/public_test_cases/p02837/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02837/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02838/input.0.txt b/public_test_cases/p02838/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02838/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02838/input.1.txt b/public_test_cases/p02838/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02838/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02838/input.2.txt b/public_test_cases/p02838/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45c8ae40a93b05debb8ad01172446868df122fa3
--- /dev/null
+++ b/public_test_cases/p02838/input.2.txt
@@ -0,0 +1,2 @@
+10
+3 14 159 2653 58979 323846 2643383 27950288 419716939 9375105820
diff --git a/public_test_cases/p02838/input.3.txt b/public_test_cases/p02838/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f63eb2bbdec3e47773eb4084d4df93d9305f9655
--- /dev/null
+++ b/public_test_cases/p02838/input.3.txt
@@ -0,0 +1,2 @@
+10
+3 1 4 1 5 9 2 6 5 3
diff --git a/public_test_cases/p02838/output.0.txt b/public_test_cases/p02838/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02838/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02838/output.1.txt b/public_test_cases/p02838/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02838/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02838/output.2.txt b/public_test_cases/p02838/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd5cf5f915129470e7649276aad3578d0fb87e0
--- /dev/null
+++ b/public_test_cases/p02838/output.2.txt
@@ -0,0 +1 @@
+103715602
diff --git a/public_test_cases/p02838/output.3.txt b/public_test_cases/p02838/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..997def452ad96d87b7f147a20cc4bd3e9a084996
--- /dev/null
+++ b/public_test_cases/p02838/output.3.txt
@@ -0,0 +1 @@
+237
diff --git a/public_test_cases/p02839/input.0.txt b/public_test_cases/p02839/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16f9f3f5f2f39b2757e9d75849eacda3aa6023aa
--- /dev/null
+++ b/public_test_cases/p02839/input.0.txt
@@ -0,0 +1,5 @@
+2 2
+1 2
+3 4
+3 4
+2 1
diff --git a/public_test_cases/p02839/input.1.txt b/public_test_cases/p02839/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16f9f3f5f2f39b2757e9d75849eacda3aa6023aa
--- /dev/null
+++ b/public_test_cases/p02839/input.1.txt
@@ -0,0 +1,5 @@
+2 2
+1 2
+3 4
+3 4
+2 1
diff --git a/public_test_cases/p02839/input.2.txt b/public_test_cases/p02839/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51d06be724fcb986fe7c19bacf323cbdf727d48f
--- /dev/null
+++ b/public_test_cases/p02839/input.2.txt
@@ -0,0 +1,5 @@
+2 3
+1 10 80
+80 10 1
+1 2 3
+4 5 6
diff --git a/public_test_cases/p02839/output.0.txt b/public_test_cases/p02839/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02839/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02839/output.1.txt b/public_test_cases/p02839/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02839/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02839/output.2.txt b/public_test_cases/p02839/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02839/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02840/input.0.txt b/public_test_cases/p02840/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21cac6eb038393006667bf4fe7ef61b730aeadb1
--- /dev/null
+++ b/public_test_cases/p02840/input.0.txt
@@ -0,0 +1 @@
+3 4 2
diff --git a/public_test_cases/p02840/input.1.txt b/public_test_cases/p02840/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7f33c529ee8671bee2a34883a1e4226146b39d6
--- /dev/null
+++ b/public_test_cases/p02840/input.1.txt
@@ -0,0 +1 @@
+2 3 -3
diff --git a/public_test_cases/p02840/input.2.txt b/public_test_cases/p02840/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21cac6eb038393006667bf4fe7ef61b730aeadb1
--- /dev/null
+++ b/public_test_cases/p02840/input.2.txt
@@ -0,0 +1 @@
+3 4 2
diff --git a/public_test_cases/p02840/input.3.txt b/public_test_cases/p02840/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf1171dd5d0f024c5bcc269d3f6c612a17a2bd5f
--- /dev/null
+++ b/public_test_cases/p02840/input.3.txt
@@ -0,0 +1 @@
+100 14 20
diff --git a/public_test_cases/p02840/output.0.txt b/public_test_cases/p02840/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02840/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02840/output.1.txt b/public_test_cases/p02840/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02840/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02840/output.2.txt b/public_test_cases/p02840/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02840/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02840/output.3.txt b/public_test_cases/p02840/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85d09bd083d4929462e6c49dab56c74b8c99b454
--- /dev/null
+++ b/public_test_cases/p02840/output.3.txt
@@ -0,0 +1 @@
+49805
diff --git a/public_test_cases/p02841/input.0.txt b/public_test_cases/p02841/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb06f227c5b9bf96cfcd0c04eba57fdb4d6e4614
--- /dev/null
+++ b/public_test_cases/p02841/input.0.txt
@@ -0,0 +1,2 @@
+11 16
+11 17
diff --git a/public_test_cases/p02841/input.1.txt b/public_test_cases/p02841/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb06f227c5b9bf96cfcd0c04eba57fdb4d6e4614
--- /dev/null
+++ b/public_test_cases/p02841/input.1.txt
@@ -0,0 +1,2 @@
+11 16
+11 17
diff --git a/public_test_cases/p02841/input.2.txt b/public_test_cases/p02841/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0391a13c834cef18b5c1633e37f9a7387947e0f
--- /dev/null
+++ b/public_test_cases/p02841/input.2.txt
@@ -0,0 +1,2 @@
+11 30
+12 1
diff --git a/public_test_cases/p02841/output.0.txt b/public_test_cases/p02841/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02841/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02841/output.1.txt b/public_test_cases/p02841/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02841/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02841/output.2.txt b/public_test_cases/p02841/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02841/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02842/input.0.txt b/public_test_cases/p02842/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84796bf1c0b277179fedb404aece03a9267a53d9
--- /dev/null
+++ b/public_test_cases/p02842/input.0.txt
@@ -0,0 +1 @@
+432
diff --git a/public_test_cases/p02842/input.1.txt b/public_test_cases/p02842/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd11724042e28f013e4fee09715b24c1b9ab10d1
--- /dev/null
+++ b/public_test_cases/p02842/input.1.txt
@@ -0,0 +1 @@
+1001
diff --git a/public_test_cases/p02842/input.2.txt b/public_test_cases/p02842/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41495a483551d7c6e8a598e9f66d11a7c195d870
--- /dev/null
+++ b/public_test_cases/p02842/input.2.txt
@@ -0,0 +1 @@
+1079
diff --git a/public_test_cases/p02842/input.3.txt b/public_test_cases/p02842/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84796bf1c0b277179fedb404aece03a9267a53d9
--- /dev/null
+++ b/public_test_cases/p02842/input.3.txt
@@ -0,0 +1 @@
+432
diff --git a/public_test_cases/p02842/output.0.txt b/public_test_cases/p02842/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d411bb7c1acabe5edc652eb910b74ab77be9dd3d
--- /dev/null
+++ b/public_test_cases/p02842/output.0.txt
@@ -0,0 +1 @@
+400
diff --git a/public_test_cases/p02842/output.1.txt b/public_test_cases/p02842/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..866faa8c21470bb6754ae850acb54fca4afd6e0d
--- /dev/null
+++ b/public_test_cases/p02842/output.1.txt
@@ -0,0 +1 @@
+927
diff --git a/public_test_cases/p02842/output.2.txt b/public_test_cases/p02842/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1504ea7bfc17cea50e6965a20bcd0579931ce040
--- /dev/null
+++ b/public_test_cases/p02842/output.2.txt
@@ -0,0 +1 @@
+:(
diff --git a/public_test_cases/p02842/output.3.txt b/public_test_cases/p02842/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d411bb7c1acabe5edc652eb910b74ab77be9dd3d
--- /dev/null
+++ b/public_test_cases/p02842/output.3.txt
@@ -0,0 +1 @@
+400
diff --git a/public_test_cases/p02843/input.0.txt b/public_test_cases/p02843/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11a42ac27e35129220c2dc82cec6cf9c5e9f7e89
--- /dev/null
+++ b/public_test_cases/p02843/input.0.txt
@@ -0,0 +1 @@
+615
diff --git a/public_test_cases/p02843/input.1.txt b/public_test_cases/p02843/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11a42ac27e35129220c2dc82cec6cf9c5e9f7e89
--- /dev/null
+++ b/public_test_cases/p02843/input.1.txt
@@ -0,0 +1 @@
+615
diff --git a/public_test_cases/p02843/input.2.txt b/public_test_cases/p02843/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ddd619ce324e5504d2b8485e18bded06360cc35
--- /dev/null
+++ b/public_test_cases/p02843/input.2.txt
@@ -0,0 +1 @@
+217
diff --git a/public_test_cases/p02843/output.0.txt b/public_test_cases/p02843/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02843/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02843/output.1.txt b/public_test_cases/p02843/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02843/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02843/output.2.txt b/public_test_cases/p02843/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02843/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02844/input.0.txt b/public_test_cases/p02844/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05923e68c7f30c3e8cd99a936c34040ec748c2ec
--- /dev/null
+++ b/public_test_cases/p02844/input.0.txt
@@ -0,0 +1,2 @@
+4
+0224
diff --git a/public_test_cases/p02844/input.1.txt b/public_test_cases/p02844/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05923e68c7f30c3e8cd99a936c34040ec748c2ec
--- /dev/null
+++ b/public_test_cases/p02844/input.1.txt
@@ -0,0 +1,2 @@
+4
+0224
diff --git a/public_test_cases/p02844/input.2.txt b/public_test_cases/p02844/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c266d08bc97e278bfd08f3c04bc12d868b0162b2
--- /dev/null
+++ b/public_test_cases/p02844/input.2.txt
@@ -0,0 +1,2 @@
+6
+123123
diff --git a/public_test_cases/p02844/input.3.txt b/public_test_cases/p02844/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28cf1f362d9b305168c30a15154e4dbe96542505
--- /dev/null
+++ b/public_test_cases/p02844/input.3.txt
@@ -0,0 +1,2 @@
+19
+3141592653589793238
diff --git a/public_test_cases/p02844/output.0.txt b/public_test_cases/p02844/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02844/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02844/output.1.txt b/public_test_cases/p02844/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02844/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02844/output.2.txt b/public_test_cases/p02844/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p02844/output.2.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p02844/output.3.txt b/public_test_cases/p02844/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6489928e1273782de84316de45c70ef79a8a97c1
--- /dev/null
+++ b/public_test_cases/p02844/output.3.txt
@@ -0,0 +1 @@
+329
diff --git a/public_test_cases/p02845/input.0.txt b/public_test_cases/p02845/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..742ab725196072d93af450011707ed9862365e4e
--- /dev/null
+++ b/public_test_cases/p02845/input.0.txt
@@ -0,0 +1,2 @@
+6
+0 1 2 3 4 5
diff --git a/public_test_cases/p02845/input.1.txt b/public_test_cases/p02845/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..644aa61f52ef2f05aba74210d762fb0fdb3b4c30
--- /dev/null
+++ b/public_test_cases/p02845/input.1.txt
@@ -0,0 +1,2 @@
+54
+0 0 1 0 1 2 1 2 3 2 3 3 4 4 5 4 6 5 7 8 5 6 6 7 7 8 8 9 9 10 10 11 9 12 10 13 14 11 11 12 12 13 13 14 14 15 15 15 16 16 16 17 17 17
diff --git a/public_test_cases/p02845/input.2.txt b/public_test_cases/p02845/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2edfca631f6b221d5a1dfd1f79e5a63d755b7b9d
--- /dev/null
+++ b/public_test_cases/p02845/input.2.txt
@@ -0,0 +1,2 @@
+3
+0 0 0
diff --git a/public_test_cases/p02845/input.3.txt b/public_test_cases/p02845/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..742ab725196072d93af450011707ed9862365e4e
--- /dev/null
+++ b/public_test_cases/p02845/input.3.txt
@@ -0,0 +1,2 @@
+6
+0 1 2 3 4 5
diff --git a/public_test_cases/p02845/output.0.txt b/public_test_cases/p02845/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02845/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02845/output.1.txt b/public_test_cases/p02845/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5faf41bb64b227b42ff46faaa6bec4930e4c5f4
--- /dev/null
+++ b/public_test_cases/p02845/output.1.txt
@@ -0,0 +1 @@
+115295190
diff --git a/public_test_cases/p02845/output.2.txt b/public_test_cases/p02845/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02845/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02845/output.3.txt b/public_test_cases/p02845/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02845/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02846/input.0.txt b/public_test_cases/p02846/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac702f474b1f222509ec073fa952b1ec6eb64e2b
--- /dev/null
+++ b/public_test_cases/p02846/input.0.txt
@@ -0,0 +1,3 @@
+1 2
+10 10
+12 4
diff --git a/public_test_cases/p02846/input.1.txt b/public_test_cases/p02846/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac702f474b1f222509ec073fa952b1ec6eb64e2b
--- /dev/null
+++ b/public_test_cases/p02846/input.1.txt
@@ -0,0 +1,3 @@
+1 2
+10 10
+12 4
diff --git a/public_test_cases/p02846/input.2.txt b/public_test_cases/p02846/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc60f6829d6eb96d5fd0fd829eea326ea922206b
--- /dev/null
+++ b/public_test_cases/p02846/input.2.txt
@@ -0,0 +1,3 @@
+100 1
+101 101
+102 1
diff --git a/public_test_cases/p02846/input.3.txt b/public_test_cases/p02846/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea8537541f2c1a787a55d55b48b0f57454648981
--- /dev/null
+++ b/public_test_cases/p02846/input.3.txt
@@ -0,0 +1,3 @@
+12000 15700
+3390000000 3810000000
+5550000000 2130000000
diff --git a/public_test_cases/p02846/output.0.txt b/public_test_cases/p02846/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02846/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02846/output.1.txt b/public_test_cases/p02846/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02846/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02846/output.2.txt b/public_test_cases/p02846/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d53cdab48de667f590ed6d6ad953efead15ba20
--- /dev/null
+++ b/public_test_cases/p02846/output.2.txt
@@ -0,0 +1 @@
+infinity
diff --git a/public_test_cases/p02846/output.3.txt b/public_test_cases/p02846/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b252fd0902c7ca46ba8f6cd905d06880b0efb85
--- /dev/null
+++ b/public_test_cases/p02846/output.3.txt
@@ -0,0 +1 @@
+113
diff --git a/public_test_cases/p02847/input.0.txt b/public_test_cases/p02847/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..501c3aca5c101bcf366a1a4f0edadb564a7dd4d1
--- /dev/null
+++ b/public_test_cases/p02847/input.0.txt
@@ -0,0 +1 @@
+SAT
diff --git a/public_test_cases/p02847/input.1.txt b/public_test_cases/p02847/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4a9eede06328d35d16c6a47fed5a404a49790d3
--- /dev/null
+++ b/public_test_cases/p02847/input.1.txt
@@ -0,0 +1 @@
+SUN
diff --git a/public_test_cases/p02847/input.2.txt b/public_test_cases/p02847/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..501c3aca5c101bcf366a1a4f0edadb564a7dd4d1
--- /dev/null
+++ b/public_test_cases/p02847/input.2.txt
@@ -0,0 +1 @@
+SAT
diff --git a/public_test_cases/p02847/output.0.txt b/public_test_cases/p02847/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02847/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02847/output.1.txt b/public_test_cases/p02847/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02847/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02847/output.2.txt b/public_test_cases/p02847/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02847/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02848/input.0.txt b/public_test_cases/p02848/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63949d0a62da640202be4916eefa5be1f60ab703
--- /dev/null
+++ b/public_test_cases/p02848/input.0.txt
@@ -0,0 +1,2 @@
+2
+ABCXYZ
diff --git a/public_test_cases/p02848/input.1.txt b/public_test_cases/p02848/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddeb5b5af6d756402e7af86223a46e3e13d0691a
--- /dev/null
+++ b/public_test_cases/p02848/input.1.txt
@@ -0,0 +1,2 @@
+13
+ABCDEFGHIJKLMNOPQRSTUVWXYZ
diff --git a/public_test_cases/p02848/input.2.txt b/public_test_cases/p02848/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c2d3ed83b487b7b3ca124163299655306046b5b
--- /dev/null
+++ b/public_test_cases/p02848/input.2.txt
@@ -0,0 +1,2 @@
+0
+ABCXYZ
diff --git a/public_test_cases/p02848/input.3.txt b/public_test_cases/p02848/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63949d0a62da640202be4916eefa5be1f60ab703
--- /dev/null
+++ b/public_test_cases/p02848/input.3.txt
@@ -0,0 +1,2 @@
+2
+ABCXYZ
diff --git a/public_test_cases/p02848/output.0.txt b/public_test_cases/p02848/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce129281742cf677292599b5267d538114ffe524
--- /dev/null
+++ b/public_test_cases/p02848/output.0.txt
@@ -0,0 +1 @@
+CDEZAB
diff --git a/public_test_cases/p02848/output.1.txt b/public_test_cases/p02848/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6847be69df5d1d3b9bd1fce37e56dee4d24f49d9
--- /dev/null
+++ b/public_test_cases/p02848/output.1.txt
@@ -0,0 +1 @@
+NOPQRSTUVWXYZABCDEFGHIJKLM
diff --git a/public_test_cases/p02848/output.2.txt b/public_test_cases/p02848/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1c09fd9c7e959491497f2b7a1d44448996dc10b
--- /dev/null
+++ b/public_test_cases/p02848/output.2.txt
@@ -0,0 +1 @@
+ABCXYZ
diff --git a/public_test_cases/p02848/output.3.txt b/public_test_cases/p02848/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce129281742cf677292599b5267d538114ffe524
--- /dev/null
+++ b/public_test_cases/p02848/output.3.txt
@@ -0,0 +1 @@
+CDEZAB
diff --git a/public_test_cases/p02849/input.0.txt b/public_test_cases/p02849/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9cb8109b1db856e9d15762c4a3e440bd9e730b0c
--- /dev/null
+++ b/public_test_cases/p02849/input.0.txt
@@ -0,0 +1 @@
+10 7 100
diff --git a/public_test_cases/p02849/output.0.txt b/public_test_cases/p02849/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02849/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02850/input.0.txt b/public_test_cases/p02850/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p02850/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p02850/input.1.txt b/public_test_cases/p02850/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p02850/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p02850/input.2.txt b/public_test_cases/p02850/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9130c062ec57655cf816f25f5ca850ae5ff2e6c3
--- /dev/null
+++ b/public_test_cases/p02850/input.2.txt
@@ -0,0 +1,6 @@
+6
+1 2
+1 3
+1 4
+1 5
+1 6
diff --git a/public_test_cases/p02850/input.3.txt b/public_test_cases/p02850/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eee5a51590f580e05c9e6c805ee8ef762ae5f58
--- /dev/null
+++ b/public_test_cases/p02850/input.3.txt
@@ -0,0 +1,8 @@
+8
+1 2
+2 3
+2 4
+2 5
+4 7
+5 6
+6 8
diff --git a/public_test_cases/p02850/output.0.txt b/public_test_cases/p02850/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p02850/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p02850/output.1.txt b/public_test_cases/p02850/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p02850/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p02850/output.2.txt b/public_test_cases/p02850/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74fc6f901f7e14b2a1243ec3e8ab6c3e49b438f6
--- /dev/null
+++ b/public_test_cases/p02850/output.2.txt
@@ -0,0 +1,6 @@
+5
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p02850/output.3.txt b/public_test_cases/p02850/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9f8d3e1c1acfa49437cad81e9d26dfe22610179
--- /dev/null
+++ b/public_test_cases/p02850/output.3.txt
@@ -0,0 +1,8 @@
+4
+1
+2
+3
+4
+1
+1
+2
diff --git a/public_test_cases/p02851/input.0.txt b/public_test_cases/p02851/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84619933aee0daa45efeff2d79b80f05debaf064
--- /dev/null
+++ b/public_test_cases/p02851/input.0.txt
@@ -0,0 +1,2 @@
+5 4
+1 4 2 3 5
diff --git a/public_test_cases/p02851/input.1.txt b/public_test_cases/p02851/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84619933aee0daa45efeff2d79b80f05debaf064
--- /dev/null
+++ b/public_test_cases/p02851/input.1.txt
@@ -0,0 +1,2 @@
+5 4
+1 4 2 3 5
diff --git a/public_test_cases/p02851/input.2.txt b/public_test_cases/p02851/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7d6cef3b6fea95b4fbac281b49648eaef951cf0
--- /dev/null
+++ b/public_test_cases/p02851/input.2.txt
@@ -0,0 +1,2 @@
+10 7
+14 15 92 65 35 89 79 32 38 46
diff --git a/public_test_cases/p02851/input.3.txt b/public_test_cases/p02851/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aeafb09bbd43449d2822e5bcd398d353b5afee4f
--- /dev/null
+++ b/public_test_cases/p02851/input.3.txt
@@ -0,0 +1,2 @@
+8 4
+4 2 4 2 4 2 4 2
diff --git a/public_test_cases/p02851/output.0.txt b/public_test_cases/p02851/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02851/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02851/output.1.txt b/public_test_cases/p02851/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02851/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02851/output.2.txt b/public_test_cases/p02851/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02851/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02851/output.3.txt b/public_test_cases/p02851/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02851/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02852/input.0.txt b/public_test_cases/p02852/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..215c9565bc49863352c7aa7be4bdef023f7cde8b
--- /dev/null
+++ b/public_test_cases/p02852/input.0.txt
@@ -0,0 +1,2 @@
+9 3
+0001000100
diff --git a/public_test_cases/p02852/output.0.txt b/public_test_cases/p02852/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de9a816afbbc11edc5657e452e6cd175e7908587
--- /dev/null
+++ b/public_test_cases/p02852/output.0.txt
@@ -0,0 +1 @@
+1 3 2 3
diff --git a/public_test_cases/p02853/input.0.txt b/public_test_cases/p02853/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02853/input.0.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02853/input.1.txt b/public_test_cases/p02853/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..476374dfb61d7d11ce9d9fb914c508a400878031
--- /dev/null
+++ b/public_test_cases/p02853/input.1.txt
@@ -0,0 +1 @@
+3 101
diff --git a/public_test_cases/p02853/input.2.txt b/public_test_cases/p02853/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02853/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02853/input.3.txt b/public_test_cases/p02853/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8835c0701f66f328251eac951d4278ae8acd00a1
--- /dev/null
+++ b/public_test_cases/p02853/input.3.txt
@@ -0,0 +1 @@
+4 4
diff --git a/public_test_cases/p02853/output.0.txt b/public_test_cases/p02853/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..749fce669df1b51cae4a71dc130b2a14807829f0
--- /dev/null
+++ b/public_test_cases/p02853/output.0.txt
@@ -0,0 +1 @@
+1000000
diff --git a/public_test_cases/p02853/output.1.txt b/public_test_cases/p02853/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p02853/output.1.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p02853/output.2.txt b/public_test_cases/p02853/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..749fce669df1b51cae4a71dc130b2a14807829f0
--- /dev/null
+++ b/public_test_cases/p02853/output.2.txt
@@ -0,0 +1 @@
+1000000
diff --git a/public_test_cases/p02853/output.3.txt b/public_test_cases/p02853/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02853/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02854/input.0.txt b/public_test_cases/p02854/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b03af9bfb308f556b09e9921bb1f321abd14452c
--- /dev/null
+++ b/public_test_cases/p02854/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 4 3
diff --git a/public_test_cases/p02854/input.1.txt b/public_test_cases/p02854/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b03af9bfb308f556b09e9921bb1f321abd14452c
--- /dev/null
+++ b/public_test_cases/p02854/input.1.txt
@@ -0,0 +1,2 @@
+3
+2 4 3
diff --git a/public_test_cases/p02854/input.2.txt b/public_test_cases/p02854/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bfedd18dde43e0f4ad5f4687e683d0d684de127
--- /dev/null
+++ b/public_test_cases/p02854/input.2.txt
@@ -0,0 +1,2 @@
+12
+100 104 102 105 103 103 101 105 104 102 104 101
diff --git a/public_test_cases/p02854/output.0.txt b/public_test_cases/p02854/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02854/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02854/output.1.txt b/public_test_cases/p02854/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02854/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02854/output.2.txt b/public_test_cases/p02854/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02854/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02855/input.0.txt b/public_test_cases/p02855/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..325d3f86fd8dfe227846f913d41d005dcc4a002a
--- /dev/null
+++ b/public_test_cases/p02855/input.0.txt
@@ -0,0 +1,4 @@
+3 3 5
+#.#
+.#.
+#.#
diff --git a/public_test_cases/p02855/input.1.txt b/public_test_cases/p02855/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..325d3f86fd8dfe227846f913d41d005dcc4a002a
--- /dev/null
+++ b/public_test_cases/p02855/input.1.txt
@@ -0,0 +1,4 @@
+3 3 5
+#.#
+.#.
+#.#
diff --git a/public_test_cases/p02855/input.2.txt b/public_test_cases/p02855/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f803c13b74458f1ae4f4527e7f5b613e6ed987bc
--- /dev/null
+++ b/public_test_cases/p02855/input.2.txt
@@ -0,0 +1,14 @@
+13 21 106
+.....................
+.####.####.####.####.
+..#.#..#.#.#....#....
+..#.#..#.#.#....#....
+..#.#..#.#.#....#....
+.####.####.####.####.
+.....................
+.####.####.####.####.
+....#.#..#....#.#..#.
+.####.#..#.####.#..#.
+.#....#..#.#....#..#.
+.####.####.####.####.
+.....................
diff --git a/public_test_cases/p02855/input.3.txt b/public_test_cases/p02855/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1eda2bffa729b1f8509bca98e8d3f710aae2871
--- /dev/null
+++ b/public_test_cases/p02855/input.3.txt
@@ -0,0 +1,4 @@
+3 7 7
+...#.#
+..#...#
+.#..#..
diff --git a/public_test_cases/p02855/input.4.txt b/public_test_cases/p02855/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..232c81f112ddd4f25a85965a09dd2654daa44d20
--- /dev/null
+++ b/public_test_cases/p02855/input.4.txt
@@ -0,0 +1,4 @@
+3 3 5
+.#
+.#.
+.#
diff --git a/public_test_cases/p02855/output.0.txt b/public_test_cases/p02855/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..253884c015c41a38019451179514553cc376d975
--- /dev/null
+++ b/public_test_cases/p02855/output.0.txt
@@ -0,0 +1,3 @@
+1 2 2
+1 3 4
+5 5 4
diff --git a/public_test_cases/p02855/output.1.txt b/public_test_cases/p02855/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..253884c015c41a38019451179514553cc376d975
--- /dev/null
+++ b/public_test_cases/p02855/output.1.txt
@@ -0,0 +1,3 @@
+1 2 2
+1 3 4
+5 5 4
diff --git a/public_test_cases/p02855/output.2.txt b/public_test_cases/p02855/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..630e754d16d0717d2f5f25e6ed6b2f90a38cb460
--- /dev/null
+++ b/public_test_cases/p02855/output.2.txt
@@ -0,0 +1,13 @@
+12 12 23 34 45 45 60 71 82 93 93 2 13 24 35 35 17 28 39 50 50
+12 12 23 34 45 45 60 71 82 93 93 2 13 24 35 35 17 28 39 50 50
+12 12 56 89 89 89 60 104 82 31 31 46 13 24 35 35 61 61 39 50 50
+12 12 67 67 100 100 60 9 9 42 42 57 13 24 6 72 72 72 72 72 72
+12 12 78 5 5 5 20 20 20 53 68 68 90 24 6 83 83 83 83 83 83
+16 16 27 38 49 49 64 75 86 97 79 79 90 101 6 94 94 105 10 21 21
+16 16 27 38 49 49 64 75 86 97 79 79 90 101 6 94 94 105 10 21 21
+32 32 43 54 65 65 80 11 106 95 22 22 33 44 55 55 70 1 96 85 85
+32 32 43 54 76 76 91 11 106 84 84 4 99 66 66 66 81 1 96 74 74
+14 14 3 98 87 87 102 11 73 73 73 4 99 88 77 77 92 92 63 63 63
+25 25 3 98 87 87 7 29 62 62 62 15 99 88 77 77 103 19 30 52 52
+36 36 47 58 69 69 18 29 40 51 51 26 37 48 59 59 8 19 30 41 41
+36 36 47 58 69 69 18 29 40 51 51 26 37 48 59 59 8 19 30 41 41
diff --git a/public_test_cases/p02855/output.3.txt b/public_test_cases/p02855/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78199be1700594d641779606223716dd75b34675
--- /dev/null
+++ b/public_test_cases/p02855/output.3.txt
@@ -0,0 +1,3 @@
+1 1 2 2 3 4 4
+6 6 2 2 3 5 5
+6 6 7 7 7 7 7
diff --git a/public_test_cases/p02855/output.4.txt b/public_test_cases/p02855/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..253884c015c41a38019451179514553cc376d975
--- /dev/null
+++ b/public_test_cases/p02855/output.4.txt
@@ -0,0 +1,3 @@
+1 2 2
+1 3 4
+5 5 4
diff --git a/public_test_cases/p02856/input.0.txt b/public_test_cases/p02856/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd5bf4900ce79667e7416f5941f64909772c4c6f
--- /dev/null
+++ b/public_test_cases/p02856/input.0.txt
@@ -0,0 +1,3 @@
+2
+2 2
+9 1
diff --git a/public_test_cases/p02856/input.1.txt b/public_test_cases/p02856/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac867138a95fca85d2bbbe8c964e61c63c21d48c
--- /dev/null
+++ b/public_test_cases/p02856/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 1
+0 8
+7 1
diff --git a/public_test_cases/p02856/input.2.txt b/public_test_cases/p02856/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd5bf4900ce79667e7416f5941f64909772c4c6f
--- /dev/null
+++ b/public_test_cases/p02856/input.2.txt
@@ -0,0 +1,3 @@
+2
+2 2
+9 1
diff --git a/public_test_cases/p02856/output.0.txt b/public_test_cases/p02856/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02856/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02856/output.1.txt b/public_test_cases/p02856/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02856/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02856/output.2.txt b/public_test_cases/p02856/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02856/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02857/input.1.txt b/public_test_cases/p02857/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02857/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02857/output.1.txt b/public_test_cases/p02857/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02857/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02858/input.0.txt b/public_test_cases/p02858/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p02858/input.0.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p02858/input.1.txt b/public_test_cases/p02858/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7d42d1c32bc0591a44a448f008d8d3b9a7c0291
--- /dev/null
+++ b/public_test_cases/p02858/input.1.txt
@@ -0,0 +1 @@
+869 120 1001
diff --git a/public_test_cases/p02858/input.2.txt b/public_test_cases/p02858/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p02858/input.2.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p02858/output.0.txt b/public_test_cases/p02858/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02858/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02858/output.1.txt b/public_test_cases/p02858/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9050ac01e8ac1a0233ca9bd0b1792d2b994953a
--- /dev/null
+++ b/public_test_cases/p02858/output.1.txt
@@ -0,0 +1 @@
+672919729
diff --git a/public_test_cases/p02858/output.2.txt b/public_test_cases/p02858/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02858/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02859/input.0.txt b/public_test_cases/p02859/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02859/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02859/output.0.txt b/public_test_cases/p02859/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02859/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02860/input.0.txt b/public_test_cases/p02860/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddc838c901080a9d2ad7dd83439febb2859c9949
--- /dev/null
+++ b/public_test_cases/p02860/input.0.txt
@@ -0,0 +1,2 @@
+6
+abcabc
diff --git a/public_test_cases/p02860/input.1.txt b/public_test_cases/p02860/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59f9cdfcddd2c40483bb0ac0ad42e3b65f563fd9
--- /dev/null
+++ b/public_test_cases/p02860/input.1.txt
@@ -0,0 +1,2 @@
+6
+abcadc
diff --git a/public_test_cases/p02860/input.2.txt b/public_test_cases/p02860/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddc838c901080a9d2ad7dd83439febb2859c9949
--- /dev/null
+++ b/public_test_cases/p02860/input.2.txt
@@ -0,0 +1,2 @@
+6
+abcabc
diff --git a/public_test_cases/p02860/input.3.txt b/public_test_cases/p02860/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd805a7784c7da6590963a4f06c443b39bed59fc
--- /dev/null
+++ b/public_test_cases/p02860/input.3.txt
@@ -0,0 +1,2 @@
+1
+z
diff --git a/public_test_cases/p02860/output.0.txt b/public_test_cases/p02860/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02860/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02860/output.1.txt b/public_test_cases/p02860/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02860/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02860/output.2.txt b/public_test_cases/p02860/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02860/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02860/output.3.txt b/public_test_cases/p02860/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02860/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02861/input.0.txt b/public_test_cases/p02861/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18c47c701f6ce42a3c923b494b1e7a31572ea695
--- /dev/null
+++ b/public_test_cases/p02861/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0
+1 0
+0 1
diff --git a/public_test_cases/p02861/output.0.txt b/public_test_cases/p02861/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32f1b25b78ee8195ee57e0426a887dc8239d4f57
--- /dev/null
+++ b/public_test_cases/p02861/output.0.txt
@@ -0,0 +1 @@
+2.2761423749
diff --git a/public_test_cases/p02862/input.0.txt b/public_test_cases/p02862/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p02862/input.0.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p02862/input.1.txt b/public_test_cases/p02862/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a7eb98530a553cb17eeaf5567136be4d5f972f5
--- /dev/null
+++ b/public_test_cases/p02862/input.1.txt
@@ -0,0 +1 @@
+999999 999999
diff --git a/public_test_cases/p02862/input.2.txt b/public_test_cases/p02862/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02862/input.2.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02862/input.3.txt b/public_test_cases/p02862/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p02862/input.3.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p02862/output.0.txt b/public_test_cases/p02862/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02862/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02862/output.1.txt b/public_test_cases/p02862/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c02c56cec8996d0536967b077e15dded77e288a
--- /dev/null
+++ b/public_test_cases/p02862/output.1.txt
@@ -0,0 +1 @@
+151840682
diff --git a/public_test_cases/p02862/output.2.txt b/public_test_cases/p02862/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02862/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02862/output.3.txt b/public_test_cases/p02862/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02862/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02863/input.0.txt b/public_test_cases/p02863/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..893c02c36d0f0242f8291441f717f1fe4080bf17
--- /dev/null
+++ b/public_test_cases/p02863/input.0.txt
@@ -0,0 +1,3 @@
+2 60
+10 10
+100 100
diff --git a/public_test_cases/p02863/input.1.txt b/public_test_cases/p02863/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc467b2284bf282c0cab25a4660899cf94ea5081
--- /dev/null
+++ b/public_test_cases/p02863/input.1.txt
@@ -0,0 +1,4 @@
+3 60
+10 10
+10 20
+10 30
diff --git a/public_test_cases/p02863/input.2.txt b/public_test_cases/p02863/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae991b0c05813ce250cb8866ad8f0e3cbc3d4e71
--- /dev/null
+++ b/public_test_cases/p02863/input.2.txt
@@ -0,0 +1,11 @@
+10 100
+15 23
+20 18
+13 17
+24 12
+18 29
+19 27
+23 21
+18 20
+27 15
+22 25
diff --git a/public_test_cases/p02863/input.3.txt b/public_test_cases/p02863/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..514a1f6407f32749f9b7236806bcfbaddd3a15a6
--- /dev/null
+++ b/public_test_cases/p02863/input.3.txt
@@ -0,0 +1,4 @@
+3 60
+30 10
+30 20
+30 30
diff --git a/public_test_cases/p02863/input.4.txt b/public_test_cases/p02863/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..893c02c36d0f0242f8291441f717f1fe4080bf17
--- /dev/null
+++ b/public_test_cases/p02863/input.4.txt
@@ -0,0 +1,3 @@
+2 60
+10 10
+100 100
diff --git a/public_test_cases/p02863/output.0.txt b/public_test_cases/p02863/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p02863/output.0.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p02863/output.1.txt b/public_test_cases/p02863/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p02863/output.1.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p02863/output.2.txt b/public_test_cases/p02863/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13c09a007eb0a76d4ed37d96a9b870c3f4434be8
--- /dev/null
+++ b/public_test_cases/p02863/output.2.txt
@@ -0,0 +1 @@
+145
diff --git a/public_test_cases/p02863/output.3.txt b/public_test_cases/p02863/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p02863/output.3.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p02863/output.4.txt b/public_test_cases/p02863/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p02863/output.4.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p02864/input.0.txt b/public_test_cases/p02864/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67247045f181adf57e6353795e6a172565afc87d
--- /dev/null
+++ b/public_test_cases/p02864/input.0.txt
@@ -0,0 +1,2 @@
+4 1
+2 3 4 1
diff --git a/public_test_cases/p02864/input.1.txt b/public_test_cases/p02864/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ff2e6bd70771ba529dbc8982923b022164758f0
--- /dev/null
+++ b/public_test_cases/p02864/input.1.txt
@@ -0,0 +1,2 @@
+10 0
+1 1000000000 1 1000000000 1 1000000000 1 1000000000 1 1000000000
diff --git a/public_test_cases/p02864/input.2.txt b/public_test_cases/p02864/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15701fbedba08345299ce1ca662ea401e5cdf353
--- /dev/null
+++ b/public_test_cases/p02864/input.2.txt
@@ -0,0 +1,2 @@
+6 2
+8 6 9 1 2 1
diff --git a/public_test_cases/p02864/input.3.txt b/public_test_cases/p02864/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67247045f181adf57e6353795e6a172565afc87d
--- /dev/null
+++ b/public_test_cases/p02864/input.3.txt
@@ -0,0 +1,2 @@
+4 1
+2 3 4 1
diff --git a/public_test_cases/p02864/output.0.txt b/public_test_cases/p02864/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02864/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02864/output.1.txt b/public_test_cases/p02864/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfcf556af357a8208efb6d7209ff5cd1f0c461f7
--- /dev/null
+++ b/public_test_cases/p02864/output.1.txt
@@ -0,0 +1 @@
+4999999996
diff --git a/public_test_cases/p02864/output.2.txt b/public_test_cases/p02864/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02864/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02864/output.3.txt b/public_test_cases/p02864/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02864/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02865/input.0.txt b/public_test_cases/p02865/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02865/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02865/input.1.txt b/public_test_cases/p02865/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02865/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02865/input.2.txt b/public_test_cases/p02865/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8694f4002550978d0f96c5b25ca7d0fc2833047d
--- /dev/null
+++ b/public_test_cases/p02865/input.2.txt
@@ -0,0 +1 @@
+999999
diff --git a/public_test_cases/p02865/output.0.txt b/public_test_cases/p02865/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02865/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02865/output.1.txt b/public_test_cases/p02865/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02865/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02865/output.2.txt b/public_test_cases/p02865/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a8ae131ab5973845a21b489db13e048376d4342
--- /dev/null
+++ b/public_test_cases/p02865/output.2.txt
@@ -0,0 +1 @@
+499999
diff --git a/public_test_cases/p02866/input.0.txt b/public_test_cases/p02866/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13116db42c3d445e9c8c522469a150fce23822cb
--- /dev/null
+++ b/public_test_cases/p02866/input.0.txt
@@ -0,0 +1,2 @@
+4
+0 1 1 2
diff --git a/public_test_cases/p02866/output.0.txt b/public_test_cases/p02866/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02866/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02867/input.0.txt b/public_test_cases/p02867/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afd245c88041f7fe60a58aa059dfc90414a893f3
--- /dev/null
+++ b/public_test_cases/p02867/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 3 2
+1 2 3
diff --git a/public_test_cases/p02867/input.1.txt b/public_test_cases/p02867/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df32e721c5e6c4d66ee5f386a70bc39c05c23407
--- /dev/null
+++ b/public_test_cases/p02867/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2 3
+2 2 2
diff --git a/public_test_cases/p02867/input.2.txt b/public_test_cases/p02867/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d78e612d30bba985bd08840c25ff8d6aba13b73
--- /dev/null
+++ b/public_test_cases/p02867/input.2.txt
@@ -0,0 +1,3 @@
+6
+3 1 2 6 3 4
+2 2 8 3 4 3
diff --git a/public_test_cases/p02867/input.3.txt b/public_test_cases/p02867/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afd245c88041f7fe60a58aa059dfc90414a893f3
--- /dev/null
+++ b/public_test_cases/p02867/input.3.txt
@@ -0,0 +1,3 @@
+3
+1 3 2
+1 2 3
diff --git a/public_test_cases/p02867/output.0.txt b/public_test_cases/p02867/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02867/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02867/output.1.txt b/public_test_cases/p02867/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02867/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02867/output.2.txt b/public_test_cases/p02867/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02867/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02867/output.3.txt b/public_test_cases/p02867/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02867/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02868/input.0.txt b/public_test_cases/p02868/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5ae42e2670db4b937361bfd5446d6e45eeab187
--- /dev/null
+++ b/public_test_cases/p02868/input.0.txt
@@ -0,0 +1,4 @@
+4 3
+1 3 2
+2 4 3
+1 4 6
diff --git a/public_test_cases/p02868/input.1.txt b/public_test_cases/p02868/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5ae42e2670db4b937361bfd5446d6e45eeab187
--- /dev/null
+++ b/public_test_cases/p02868/input.1.txt
@@ -0,0 +1,4 @@
+4 3
+1 3 2
+2 4 3
+1 4 6
diff --git a/public_test_cases/p02868/input.2.txt b/public_test_cases/p02868/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88f1c98da9440af214841af4603f644a94cd5f19
--- /dev/null
+++ b/public_test_cases/p02868/input.2.txt
@@ -0,0 +1,8 @@
+10 7
+1 5 18
+3 4 8
+1 3 5
+4 7 10
+5 9 8
+6 10 5
+8 10 3
diff --git a/public_test_cases/p02868/input.3.txt b/public_test_cases/p02868/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f10d27bdee7618bddc80d021279f1635707bea8
--- /dev/null
+++ b/public_test_cases/p02868/input.3.txt
@@ -0,0 +1,3 @@
+4 2
+1 2 1
+3 4 2
diff --git a/public_test_cases/p02868/output.0.txt b/public_test_cases/p02868/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02868/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02868/output.1.txt b/public_test_cases/p02868/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02868/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02868/output.2.txt b/public_test_cases/p02868/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9902f17848a8974ab57d57999b74a63198fe6e23
--- /dev/null
+++ b/public_test_cases/p02868/output.2.txt
@@ -0,0 +1 @@
+28
diff --git a/public_test_cases/p02868/output.3.txt b/public_test_cases/p02868/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02868/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02869/input.0.txt b/public_test_cases/p02869/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02869/input.0.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02869/input.1.txt b/public_test_cases/p02869/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p02869/input.1.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p02869/input.2.txt b/public_test_cases/p02869/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02869/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02869/output.0.txt b/public_test_cases/p02869/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b85905ec0b994f1e5797d58ffefed89ff54d6b51
--- /dev/null
+++ b/public_test_cases/p02869/output.0.txt
@@ -0,0 +1 @@
+1 2 3
diff --git a/public_test_cases/p02869/output.1.txt b/public_test_cases/p02869/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02869/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02869/output.2.txt b/public_test_cases/p02869/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b85905ec0b994f1e5797d58ffefed89ff54d6b51
--- /dev/null
+++ b/public_test_cases/p02869/output.2.txt
@@ -0,0 +1 @@
+1 2 3
diff --git a/public_test_cases/p02870/input.0.txt b/public_test_cases/p02870/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09ee3fda232eff3910f8fa6999f13c672ee92d93
--- /dev/null
+++ b/public_test_cases/p02870/input.0.txt
@@ -0,0 +1,4 @@
+4
+o?o
+???
+?x?
diff --git a/public_test_cases/p02870/input.1.txt b/public_test_cases/p02870/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a395e9955255dd5f606728e955a82756bace1a86
--- /dev/null
+++ b/public_test_cases/p02870/input.1.txt
@@ -0,0 +1,6 @@
+6
+?o???
+????o
+??x??
+o????
+???o?
diff --git a/public_test_cases/p02870/input.2.txt b/public_test_cases/p02870/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bba6be0dab8227e85ea3edbfd27bb0c4dce56896
--- /dev/null
+++ b/public_test_cases/p02870/input.2.txt
@@ -0,0 +1,5 @@
+5
+o?o?
+????
+o?x?
+????
diff --git a/public_test_cases/p02870/input.3.txt b/public_test_cases/p02870/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09ee3fda232eff3910f8fa6999f13c672ee92d93
--- /dev/null
+++ b/public_test_cases/p02870/input.3.txt
@@ -0,0 +1,4 @@
+4
+o?o
+???
+?x?
diff --git a/public_test_cases/p02870/input.4.txt b/public_test_cases/p02870/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9baaefc88454a84f7bf4e3d069240fdc7b8a7a2e
--- /dev/null
+++ b/public_test_cases/p02870/input.4.txt
@@ -0,0 +1,9 @@
+9
+????o??x
+?????x??
+??o?o???
+?o?x????
+???????x
+x?o?o???
+????????
+x?????x?
diff --git a/public_test_cases/p02870/output.0.txt b/public_test_cases/p02870/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02870/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02870/output.1.txt b/public_test_cases/p02870/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p02870/output.1.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p02870/output.2.txt b/public_test_cases/p02870/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02870/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02870/output.3.txt b/public_test_cases/p02870/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02870/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02870/output.4.txt b/public_test_cases/p02870/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02870/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02871/input.1.txt b/public_test_cases/p02871/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e75f8cf68f2fda252885a64bb9bac7f7ce59343
--- /dev/null
+++ b/public_test_cases/p02871/input.1.txt
@@ -0,0 +1,16 @@
+5 7
+1 2 5
+5 3 4
+2 4 8
+1 5 1
+2 3 3
+4 5 3
+4 3 9
+4
+1
+1 2
+1
+2 5
+1
+3 4
+0
diff --git a/public_test_cases/p02871/output.1.txt b/public_test_cases/p02871/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee5e1737761956eee668cae66f0f79515991f4dc
--- /dev/null
+++ b/public_test_cases/p02871/output.1.txt
@@ -0,0 +1,4 @@
+2
+-1
+1
+5
diff --git a/public_test_cases/p02873/input.0.txt b/public_test_cases/p02873/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87d0336a3c7c232924c3149b74535e23bfe0cd99
--- /dev/null
+++ b/public_test_cases/p02873/input.0.txt
@@ -0,0 +1 @@
+<>>
diff --git a/public_test_cases/p02873/input.1.txt b/public_test_cases/p02873/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5f4b6f3fa0707103ddf1a7533cb02c60d441841
--- /dev/null
+++ b/public_test_cases/p02873/input.1.txt
@@ -0,0 +1 @@
+<>>><<><<<<<>>><
diff --git a/public_test_cases/p02873/input.2.txt b/public_test_cases/p02873/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87d0336a3c7c232924c3149b74535e23bfe0cd99
--- /dev/null
+++ b/public_test_cases/p02873/input.2.txt
@@ -0,0 +1 @@
+<>>
diff --git a/public_test_cases/p02873/output.0.txt b/public_test_cases/p02873/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02873/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02873/output.1.txt b/public_test_cases/p02873/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9902f17848a8974ab57d57999b74a63198fe6e23
--- /dev/null
+++ b/public_test_cases/p02873/output.1.txt
@@ -0,0 +1 @@
+28
diff --git a/public_test_cases/p02873/output.2.txt b/public_test_cases/p02873/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02873/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02874/input.0.txt b/public_test_cases/p02874/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1971fad61874f24da7603a8a2a0abc4fb1165a73
--- /dev/null
+++ b/public_test_cases/p02874/input.0.txt
@@ -0,0 +1,5 @@
+4
+4 7
+1 4
+5 8
+2 5
diff --git a/public_test_cases/p02874/input.1.txt b/public_test_cases/p02874/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3239f996cf05d8592b24bf98cfaacdcc2fd58503
--- /dev/null
+++ b/public_test_cases/p02874/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 20
+2 19
+3 18
+4 17
diff --git a/public_test_cases/p02874/input.2.txt b/public_test_cases/p02874/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1971fad61874f24da7603a8a2a0abc4fb1165a73
--- /dev/null
+++ b/public_test_cases/p02874/input.2.txt
@@ -0,0 +1,5 @@
+4
+4 7
+1 4
+5 8
+2 5
diff --git a/public_test_cases/p02874/input.3.txt b/public_test_cases/p02874/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..081558951ddca27462abca79a99be82356ade104
--- /dev/null
+++ b/public_test_cases/p02874/input.3.txt
@@ -0,0 +1,11 @@
+10
+457835016 996058008
+456475528 529149798
+455108441 512701454
+455817105 523506955
+457368248 814532746
+455073228 459494089
+456651538 774276744
+457667152 974637457
+457293701 800549465
+456580262 636471526
diff --git a/public_test_cases/p02874/output.0.txt b/public_test_cases/p02874/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02874/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02874/output.1.txt b/public_test_cases/p02874/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p02874/output.1.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p02874/output.2.txt b/public_test_cases/p02874/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02874/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02874/output.3.txt b/public_test_cases/p02874/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4aa9a6d2c01a32f4bdcf78b54187c740a9096b93
--- /dev/null
+++ b/public_test_cases/p02874/output.3.txt
@@ -0,0 +1 @@
+540049931
diff --git a/public_test_cases/p02875/input.0.txt b/public_test_cases/p02875/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02875/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02875/input.1.txt b/public_test_cases/p02875/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02875/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02875/input.2.txt b/public_test_cases/p02875/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..749fce669df1b51cae4a71dc130b2a14807829f0
--- /dev/null
+++ b/public_test_cases/p02875/input.2.txt
@@ -0,0 +1 @@
+1000000
diff --git a/public_test_cases/p02875/input.3.txt b/public_test_cases/p02875/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02875/input.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02875/output.0.txt b/public_test_cases/p02875/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02875/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02875/output.1.txt b/public_test_cases/p02875/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02875/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02875/output.2.txt b/public_test_cases/p02875/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8f53e528e76ae68bbcd3e8f39a8ccb10c30546b
--- /dev/null
+++ b/public_test_cases/p02875/output.2.txt
@@ -0,0 +1 @@
+210055358
diff --git a/public_test_cases/p02875/output.3.txt b/public_test_cases/p02875/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d04fa8f3d49beb4626f7cae645044e33c5b901e9
--- /dev/null
+++ b/public_test_cases/p02875/output.3.txt
@@ -0,0 +1 @@
+50007
diff --git a/public_test_cases/p02876/input.0.txt b/public_test_cases/p02876/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50f8332165a1b6fcf008ee98767223dcd068d316
--- /dev/null
+++ b/public_test_cases/p02876/input.0.txt
@@ -0,0 +1,3 @@
+2
+3 2
+1 2
diff --git a/public_test_cases/p02876/input.1.txt b/public_test_cases/p02876/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69c8d28db25ab234fc6d5379ca5b48d144268564
--- /dev/null
+++ b/public_test_cases/p02876/input.1.txt
@@ -0,0 +1,4 @@
+3
+4 1
+5 2
+6 3
diff --git a/public_test_cases/p02876/input.2.txt b/public_test_cases/p02876/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..028a868f080e9c0bc873ea7a90f2196d65f648d8
--- /dev/null
+++ b/public_test_cases/p02876/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 5
+4 7
+2 1
+8 4
diff --git a/public_test_cases/p02876/input.3.txt b/public_test_cases/p02876/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50f8332165a1b6fcf008ee98767223dcd068d316
--- /dev/null
+++ b/public_test_cases/p02876/input.3.txt
@@ -0,0 +1,3 @@
+2
+3 2
+1 2
diff --git a/public_test_cases/p02876/input.4.txt b/public_test_cases/p02876/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..267bab848da6901e0f4798eb9588d8d3113000e1
--- /dev/null
+++ b/public_test_cases/p02876/input.4.txt
@@ -0,0 +1,11 @@
+10
+866111664 178537096
+705445072 318106937
+472381277 579910117
+353498483 865935868
+383133839 231371336
+378371075 681212831
+304570952 16537461
+955719384 267238505
+844917655 218662351
+550309930 62731178
diff --git a/public_test_cases/p02876/output.0.txt b/public_test_cases/p02876/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c67935b4f7ea6b9e676e8dae3b32b6f5aa810ee
--- /dev/null
+++ b/public_test_cases/p02876/output.0.txt
@@ -0,0 +1 @@
+1 4
diff --git a/public_test_cases/p02876/output.1.txt b/public_test_cases/p02876/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e8183b72e5ed9b26e9e2c64bb6bc849b23b0690
--- /dev/null
+++ b/public_test_cases/p02876/output.1.txt
@@ -0,0 +1 @@
+0 1
diff --git a/public_test_cases/p02876/output.2.txt b/public_test_cases/p02876/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p02876/output.2.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p02876/output.3.txt b/public_test_cases/p02876/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c67935b4f7ea6b9e676e8dae3b32b6f5aa810ee
--- /dev/null
+++ b/public_test_cases/p02876/output.3.txt
@@ -0,0 +1 @@
+1 4
diff --git a/public_test_cases/p02876/output.4.txt b/public_test_cases/p02876/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dccb8d7b56e092b98c1182d5b8c7579142d1ab18
--- /dev/null
+++ b/public_test_cases/p02876/output.4.txt
@@ -0,0 +1 @@
+697461712 2899550585
diff --git a/public_test_cases/p02877/input.0.txt b/public_test_cases/p02877/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0f9422c2af2449798d771eb8593e0efe8c4ee79
--- /dev/null
+++ b/public_test_cases/p02877/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 1 2 1
diff --git a/public_test_cases/p02877/input.1.txt b/public_test_cases/p02877/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb909d5008e298386625b549e0dd49714a60f61f
--- /dev/null
+++ b/public_test_cases/p02877/input.1.txt
@@ -0,0 +1,2 @@
+15
+541962451 761940280 182215520 378290929 211514670 802103642 28942109 641621418 380343684 526398645 81993818 14709769 139483158 444795625 40343083
diff --git a/public_test_cases/p02877/input.2.txt b/public_test_cases/p02877/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0f9422c2af2449798d771eb8593e0efe8c4ee79
--- /dev/null
+++ b/public_test_cases/p02877/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 2 1 2 1
diff --git a/public_test_cases/p02877/input.3.txt b/public_test_cases/p02877/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46dcc49a2e12db7593ef436b425d1f89b66bcfb9
--- /dev/null
+++ b/public_test_cases/p02877/input.3.txt
@@ -0,0 +1,2 @@
+5
+2 1 2 1 2
diff --git a/public_test_cases/p02877/output.0.txt b/public_test_cases/p02877/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02877/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02877/output.1.txt b/public_test_cases/p02877/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02877/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02877/output.2.txt b/public_test_cases/p02877/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02877/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02877/output.3.txt b/public_test_cases/p02877/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02877/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02878/input.0.txt b/public_test_cases/p02878/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e8e1cc805cd29e8d105a940dff9161dea69637a
--- /dev/null
+++ b/public_test_cases/p02878/input.0.txt
@@ -0,0 +1 @@
+5 1 3
diff --git a/public_test_cases/p02878/input.1.txt b/public_test_cases/p02878/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e8e1cc805cd29e8d105a940dff9161dea69637a
--- /dev/null
+++ b/public_test_cases/p02878/input.1.txt
@@ -0,0 +1 @@
+5 1 3
diff --git a/public_test_cases/p02878/input.2.txt b/public_test_cases/p02878/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89c4f674f7769f7bfcb759d05dda765e58a50ff7
--- /dev/null
+++ b/public_test_cases/p02878/input.2.txt
@@ -0,0 +1 @@
+1000000 100000 200000
diff --git a/public_test_cases/p02878/input.3.txt b/public_test_cases/p02878/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0b30bc3843614541894c291b2a56c7ebc829bcd
--- /dev/null
+++ b/public_test_cases/p02878/input.3.txt
@@ -0,0 +1 @@
+10 4 6
diff --git a/public_test_cases/p02878/input.4.txt b/public_test_cases/p02878/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..203d77b5602d9d44adaf0a22021ef750ac3ec3b3
--- /dev/null
+++ b/public_test_cases/p02878/input.4.txt
@@ -0,0 +1 @@
+10 0 0
diff --git a/public_test_cases/p02878/output.0.txt b/public_test_cases/p02878/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02878/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02878/output.1.txt b/public_test_cases/p02878/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02878/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02878/output.2.txt b/public_test_cases/p02878/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a23e9537df49e8f9104740c6f94e2cdd68edb3ec
--- /dev/null
+++ b/public_test_cases/p02878/output.2.txt
@@ -0,0 +1 @@
+758840509
diff --git a/public_test_cases/p02878/output.3.txt b/public_test_cases/p02878/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..538165229c7218b9aff6eb21037b85dd3b77612b
--- /dev/null
+++ b/public_test_cases/p02878/output.3.txt
@@ -0,0 +1 @@
+197
diff --git a/public_test_cases/p02878/output.4.txt b/public_test_cases/p02878/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02878/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02879/input.0.txt b/public_test_cases/p02879/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p02879/input.0.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p02879/input.1.txt b/public_test_cases/p02879/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p02879/input.1.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p02879/input.2.txt b/public_test_cases/p02879/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0735df076db346a0535cd123ba6b42f99531a74
--- /dev/null
+++ b/public_test_cases/p02879/input.2.txt
@@ -0,0 +1 @@
+9 9
diff --git a/public_test_cases/p02879/input.3.txt b/public_test_cases/p02879/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..795ed346d0db02e9292e1c9c4e690016ce174cda
--- /dev/null
+++ b/public_test_cases/p02879/input.3.txt
@@ -0,0 +1 @@
+5 10
diff --git a/public_test_cases/p02879/output.0.txt b/public_test_cases/p02879/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02879/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02879/output.1.txt b/public_test_cases/p02879/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02879/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02879/output.2.txt b/public_test_cases/p02879/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d88e313699871a6c780316c8df7479aebe6999c0
--- /dev/null
+++ b/public_test_cases/p02879/output.2.txt
@@ -0,0 +1 @@
+81
diff --git a/public_test_cases/p02879/output.3.txt b/public_test_cases/p02879/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02879/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02880/input.0.txt b/public_test_cases/p02880/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02880/input.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02880/input.1.txt b/public_test_cases/p02880/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02880/input.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02880/input.2.txt b/public_test_cases/p02880/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d88e313699871a6c780316c8df7479aebe6999c0
--- /dev/null
+++ b/public_test_cases/p02880/input.2.txt
@@ -0,0 +1 @@
+81
diff --git a/public_test_cases/p02880/input.3.txt b/public_test_cases/p02880/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p02880/input.3.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p02880/output.0.txt b/public_test_cases/p02880/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02880/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02880/output.1.txt b/public_test_cases/p02880/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02880/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02880/output.2.txt b/public_test_cases/p02880/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02880/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02880/output.3.txt b/public_test_cases/p02880/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02880/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02881/input.0.txt b/public_test_cases/p02881/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02881/input.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02881/input.1.txt b/public_test_cases/p02881/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7b35fbfd504b2315bdc3cb7a007d6416c2e5f19
--- /dev/null
+++ b/public_test_cases/p02881/input.1.txt
@@ -0,0 +1 @@
+10000000019
diff --git a/public_test_cases/p02881/input.2.txt b/public_test_cases/p02881/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p02881/input.2.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p02881/input.3.txt b/public_test_cases/p02881/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02881/input.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02881/output.0.txt b/public_test_cases/p02881/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02881/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02881/output.1.txt b/public_test_cases/p02881/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77d182c0487ac4b385ace2679769f1a553c80dbc
--- /dev/null
+++ b/public_test_cases/p02881/output.1.txt
@@ -0,0 +1 @@
+10000000018
diff --git a/public_test_cases/p02881/output.2.txt b/public_test_cases/p02881/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02881/output.2.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02881/output.3.txt b/public_test_cases/p02881/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02881/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02882/input.0.txt b/public_test_cases/p02882/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f50aaec4daf65c6d1b8b27ee9252b0ded2352265
--- /dev/null
+++ b/public_test_cases/p02882/input.0.txt
@@ -0,0 +1 @@
+2 2 4
diff --git a/public_test_cases/p02882/input.1.txt b/public_test_cases/p02882/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f50aaec4daf65c6d1b8b27ee9252b0ded2352265
--- /dev/null
+++ b/public_test_cases/p02882/input.1.txt
@@ -0,0 +1 @@
+2 2 4
diff --git a/public_test_cases/p02882/input.2.txt b/public_test_cases/p02882/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fe94666c6518ff67e260bd26e5abe14fd177548
--- /dev/null
+++ b/public_test_cases/p02882/input.2.txt
@@ -0,0 +1 @@
+12 21 10
diff --git a/public_test_cases/p02882/input.3.txt b/public_test_cases/p02882/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..469cc0f07ba15d2e4ab7685d335430ea7b487677
--- /dev/null
+++ b/public_test_cases/p02882/input.3.txt
@@ -0,0 +1 @@
+3 1 8
diff --git a/public_test_cases/p02882/output.0.txt b/public_test_cases/p02882/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d8641918d296a6b8b52443b9f1fc5bf32c2b856
--- /dev/null
+++ b/public_test_cases/p02882/output.0.txt
@@ -0,0 +1 @@
+45.0000000000
diff --git a/public_test_cases/p02882/output.1.txt b/public_test_cases/p02882/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d8641918d296a6b8b52443b9f1fc5bf32c2b856
--- /dev/null
+++ b/public_test_cases/p02882/output.1.txt
@@ -0,0 +1 @@
+45.0000000000
diff --git a/public_test_cases/p02882/output.2.txt b/public_test_cases/p02882/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09c2e945c05d8ae793813fab5842a5956b6314ac
--- /dev/null
+++ b/public_test_cases/p02882/output.2.txt
@@ -0,0 +1 @@
+89.7834636934
diff --git a/public_test_cases/p02882/output.3.txt b/public_test_cases/p02882/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3b8514057af57498705b66513ae94b0e479d1b5
--- /dev/null
+++ b/public_test_cases/p02882/output.3.txt
@@ -0,0 +1 @@
+4.2363947991
diff --git a/public_test_cases/p02883/input.0.txt b/public_test_cases/p02883/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e6ca41eb80d9e5916eeb3213c0bbf59929f5f92
--- /dev/null
+++ b/public_test_cases/p02883/input.0.txt
@@ -0,0 +1,3 @@
+3 5
+4 2 1
+2 3 1
diff --git a/public_test_cases/p02883/input.1.txt b/public_test_cases/p02883/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0b25bc215b1b035f33d8bac30ac160248326fa7
--- /dev/null
+++ b/public_test_cases/p02883/input.1.txt
@@ -0,0 +1,3 @@
+3 8
+4 2 1
+2 3 1
diff --git a/public_test_cases/p02883/input.2.txt b/public_test_cases/p02883/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e6ca41eb80d9e5916eeb3213c0bbf59929f5f92
--- /dev/null
+++ b/public_test_cases/p02883/input.2.txt
@@ -0,0 +1,3 @@
+3 5
+4 2 1
+2 3 1
diff --git a/public_test_cases/p02883/input.3.txt b/public_test_cases/p02883/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07def6dc617e92236d0ca4f1b74465eb53d280df
--- /dev/null
+++ b/public_test_cases/p02883/input.3.txt
@@ -0,0 +1,3 @@
+11 14
+3 1 4 1 5 9 2 6 5 3 5
+8 9 7 9 3 2 3 8 4 6 2
diff --git a/public_test_cases/p02883/output.0.txt b/public_test_cases/p02883/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02883/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02883/output.1.txt b/public_test_cases/p02883/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02883/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02883/output.2.txt b/public_test_cases/p02883/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02883/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02883/output.3.txt b/public_test_cases/p02883/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02883/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02884/input.0.txt b/public_test_cases/p02884/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c40f124ace66dce07723a8f05d62f2fe011c113
--- /dev/null
+++ b/public_test_cases/p02884/input.0.txt
@@ -0,0 +1,7 @@
+4 6
+1 4
+2 3
+1 3
+1 2
+3 4
+2 4
diff --git a/public_test_cases/p02884/input.1.txt b/public_test_cases/p02884/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c40f124ace66dce07723a8f05d62f2fe011c113
--- /dev/null
+++ b/public_test_cases/p02884/input.1.txt
@@ -0,0 +1,7 @@
+4 6
+1 4
+2 3
+1 3
+1 2
+3 4
+2 4
diff --git a/public_test_cases/p02884/input.2.txt b/public_test_cases/p02884/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p02884/input.2.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p02884/input.3.txt b/public_test_cases/p02884/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84b1145e43353537c7fe9757d1fe4614806d6148
--- /dev/null
+++ b/public_test_cases/p02884/input.3.txt
@@ -0,0 +1,34 @@
+10 33
+3 7
+5 10
+8 9
+1 10
+4 6
+2 5
+1 7
+6 10
+1 4
+1 3
+8 10
+1 5
+2 6
+6 9
+5 6
+5 8
+3 6
+4 8
+2 7
+2 9
+6 7
+1 2
+5 9
+6 8
+9 10
+3 9
+7 8
+4 5
+2 10
+5 7
+3 5
+4 7
+4 9
diff --git a/public_test_cases/p02884/output.0.txt b/public_test_cases/p02884/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24ee91d9b02e05f13952ae5231a7643a073292b3
--- /dev/null
+++ b/public_test_cases/p02884/output.0.txt
@@ -0,0 +1 @@
+1.5000000000
diff --git a/public_test_cases/p02884/output.1.txt b/public_test_cases/p02884/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24ee91d9b02e05f13952ae5231a7643a073292b3
--- /dev/null
+++ b/public_test_cases/p02884/output.1.txt
@@ -0,0 +1 @@
+1.5000000000
diff --git a/public_test_cases/p02884/output.2.txt b/public_test_cases/p02884/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b79fe6d0e019db65d91d38d05cb8616be73a00a
--- /dev/null
+++ b/public_test_cases/p02884/output.2.txt
@@ -0,0 +1 @@
+2.0000000000
diff --git a/public_test_cases/p02884/output.3.txt b/public_test_cases/p02884/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6a160f513f68c42a2dfaf2c2f402601f8ee95f9
--- /dev/null
+++ b/public_test_cases/p02884/output.3.txt
@@ -0,0 +1 @@
+3.0133333333
diff --git a/public_test_cases/p02885/input.0.txt b/public_test_cases/p02885/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..402a8cae801d0d5d4a06b1fee162760e058f73ff
--- /dev/null
+++ b/public_test_cases/p02885/input.0.txt
@@ -0,0 +1 @@
+12 4
diff --git a/public_test_cases/p02885/input.1.txt b/public_test_cases/p02885/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0060859b452a59e54223686d6c4afba11c2dddf9
--- /dev/null
+++ b/public_test_cases/p02885/input.1.txt
@@ -0,0 +1 @@
+20 30
diff --git a/public_test_cases/p02885/input.2.txt b/public_test_cases/p02885/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..402a8cae801d0d5d4a06b1fee162760e058f73ff
--- /dev/null
+++ b/public_test_cases/p02885/input.2.txt
@@ -0,0 +1 @@
+12 4
diff --git a/public_test_cases/p02885/input.3.txt b/public_test_cases/p02885/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0ac26d0b1a6c295ee112721b82427228c0d18aa
--- /dev/null
+++ b/public_test_cases/p02885/input.3.txt
@@ -0,0 +1 @@
+20 15
diff --git a/public_test_cases/p02885/output.0.txt b/public_test_cases/p02885/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02885/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02885/output.1.txt b/public_test_cases/p02885/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02885/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02885/output.2.txt b/public_test_cases/p02885/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02885/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02885/output.3.txt b/public_test_cases/p02885/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02885/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02886/input.0.txt b/public_test_cases/p02886/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01bb4fbbea6da8df33c21f7a2e91032e7167cee8
--- /dev/null
+++ b/public_test_cases/p02886/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 1 2
diff --git a/public_test_cases/p02886/input.1.txt b/public_test_cases/p02886/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01bb4fbbea6da8df33c21f7a2e91032e7167cee8
--- /dev/null
+++ b/public_test_cases/p02886/input.1.txt
@@ -0,0 +1,2 @@
+3
+3 1 2
diff --git a/public_test_cases/p02886/input.2.txt b/public_test_cases/p02886/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b04cbc5928b33de1e50e1429851f2c8186e31c6
--- /dev/null
+++ b/public_test_cases/p02886/input.2.txt
@@ -0,0 +1,2 @@
+7
+5 0 7 8 3 3 2
diff --git a/public_test_cases/p02886/output.0.txt b/public_test_cases/p02886/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02886/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02886/output.1.txt b/public_test_cases/p02886/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02886/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02886/output.2.txt b/public_test_cases/p02886/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1e0432c9a7d553d7b06d64216b464bc80b234bc
--- /dev/null
+++ b/public_test_cases/p02886/output.2.txt
@@ -0,0 +1 @@
+312
diff --git a/public_test_cases/p02887/input.0.txt b/public_test_cases/p02887/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0220e204e56635fd741e653acd10f34842781b4
--- /dev/null
+++ b/public_test_cases/p02887/input.0.txt
@@ -0,0 +1,2 @@
+10
+aabbbbaaca
diff --git a/public_test_cases/p02887/input.1.txt b/public_test_cases/p02887/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afb1dd3dbd6437efa17313ba6b4c3bcba7c12fc7
--- /dev/null
+++ b/public_test_cases/p02887/input.1.txt
@@ -0,0 +1,2 @@
+20
+xxzaffeeeeddfkkkkllq
diff --git a/public_test_cases/p02887/input.2.txt b/public_test_cases/p02887/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..046200748a4c9cf16940185e23ba701f40df465d
--- /dev/null
+++ b/public_test_cases/p02887/input.2.txt
@@ -0,0 +1,2 @@
+5
+aaaaa
diff --git a/public_test_cases/p02887/input.3.txt b/public_test_cases/p02887/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0220e204e56635fd741e653acd10f34842781b4
--- /dev/null
+++ b/public_test_cases/p02887/input.3.txt
@@ -0,0 +1,2 @@
+10
+aabbbbaaca
diff --git a/public_test_cases/p02887/output.0.txt b/public_test_cases/p02887/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02887/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02887/output.1.txt b/public_test_cases/p02887/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02887/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02887/output.2.txt b/public_test_cases/p02887/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02887/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02887/output.3.txt b/public_test_cases/p02887/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02887/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02888/input.0.txt b/public_test_cases/p02888/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a743c62d9727c4232090a046e55db58c9249cd9a
--- /dev/null
+++ b/public_test_cases/p02888/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 4 2 1
diff --git a/public_test_cases/p02888/input.1.txt b/public_test_cases/p02888/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a743c62d9727c4232090a046e55db58c9249cd9a
--- /dev/null
+++ b/public_test_cases/p02888/input.1.txt
@@ -0,0 +1,2 @@
+4
+3 4 2 1
diff --git a/public_test_cases/p02888/input.2.txt b/public_test_cases/p02888/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b857cc273584e303412d7c1a23f8d7b87ba7c8da
--- /dev/null
+++ b/public_test_cases/p02888/input.2.txt
@@ -0,0 +1,2 @@
+7
+218 786 704 233 645 728 389
diff --git a/public_test_cases/p02888/input.3.txt b/public_test_cases/p02888/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ca1f7e317dd62d8ea7c9bd966b801f79eb8792f
--- /dev/null
+++ b/public_test_cases/p02888/input.3.txt
@@ -0,0 +1,2 @@
+3
+1 1000 1
diff --git a/public_test_cases/p02888/output.0.txt b/public_test_cases/p02888/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02888/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02888/output.1.txt b/public_test_cases/p02888/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02888/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02888/output.2.txt b/public_test_cases/p02888/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p02888/output.2.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p02888/output.3.txt b/public_test_cases/p02888/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02888/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02889/input.0.txt b/public_test_cases/p02889/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5cbcfd7d13b1b5284d7cf891851255622534ec3
--- /dev/null
+++ b/public_test_cases/p02889/input.0.txt
@@ -0,0 +1,6 @@
+3 2 5
+1 2 3
+2 3 3
+2
+3 2
+1 3
diff --git a/public_test_cases/p02889/input.1.txt b/public_test_cases/p02889/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aeb506d7d4cddddab3783e733ea6f04da9c9eb4e
--- /dev/null
+++ b/public_test_cases/p02889/input.1.txt
@@ -0,0 +1,3 @@
+4 0 1
+1
+2 1
diff --git a/public_test_cases/p02889/input.2.txt b/public_test_cases/p02889/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb7ea0a56bd35fa090681fd90a9a1cd2ed7c99b
--- /dev/null
+++ b/public_test_cases/p02889/input.2.txt
@@ -0,0 +1,26 @@
+5 4 4
+1 2 2
+2 3 2
+3 4 3
+4 5 2
+20
+2 1
+3 1
+4 1
+5 1
+1 2
+3 2
+4 2
+5 2
+1 3
+2 3
+4 3
+5 3
+1 4
+2 4
+3 4
+5 4
+1 5
+2 5
+3 5
+4 5
diff --git a/public_test_cases/p02889/input.3.txt b/public_test_cases/p02889/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5cbcfd7d13b1b5284d7cf891851255622534ec3
--- /dev/null
+++ b/public_test_cases/p02889/input.3.txt
@@ -0,0 +1,6 @@
+3 2 5
+1 2 3
+2 3 3
+2
+3 2
+1 3
diff --git a/public_test_cases/p02889/output.0.txt b/public_test_cases/p02889/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d66ea1aee9527bfa39185ead1f9cdbd96bba88c
--- /dev/null
+++ b/public_test_cases/p02889/output.0.txt
@@ -0,0 +1,2 @@
+0
+1
diff --git a/public_test_cases/p02889/output.1.txt b/public_test_cases/p02889/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02889/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02889/output.2.txt b/public_test_cases/p02889/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79be95da517940eb40363962f7f3dc5c178174ef
--- /dev/null
+++ b/public_test_cases/p02889/output.2.txt
@@ -0,0 +1,20 @@
+0
+0
+1
+2
+0
+0
+1
+2
+0
+0
+0
+1
+1
+1
+0
+0
+2
+2
+1
+0
diff --git a/public_test_cases/p02889/output.3.txt b/public_test_cases/p02889/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d66ea1aee9527bfa39185ead1f9cdbd96bba88c
--- /dev/null
+++ b/public_test_cases/p02889/output.3.txt
@@ -0,0 +1,2 @@
+0
+1
diff --git a/public_test_cases/p02890/input.0.txt b/public_test_cases/p02890/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b98c7f17e7bf6f9308820cb5bd0a09248347a1d
--- /dev/null
+++ b/public_test_cases/p02890/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 1 2
diff --git a/public_test_cases/p02890/input.1.txt b/public_test_cases/p02890/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02890/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02890/input.2.txt b/public_test_cases/p02890/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c10d370b400dd9c3cda34fa40a2414bb474d5d26
--- /dev/null
+++ b/public_test_cases/p02890/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 3 3 3
diff --git a/public_test_cases/p02890/input.3.txt b/public_test_cases/p02890/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b98c7f17e7bf6f9308820cb5bd0a09248347a1d
--- /dev/null
+++ b/public_test_cases/p02890/input.3.txt
@@ -0,0 +1,2 @@
+3
+2 1 2
diff --git a/public_test_cases/p02890/output.0.txt b/public_test_cases/p02890/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b90379abb74e1fddf978dc94ff316bc2412331c
--- /dev/null
+++ b/public_test_cases/p02890/output.0.txt
@@ -0,0 +1,3 @@
+3
+1
+0
diff --git a/public_test_cases/p02890/output.1.txt b/public_test_cases/p02890/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d55dd1bbf774ba7743038c6535195383cf480e29
--- /dev/null
+++ b/public_test_cases/p02890/output.1.txt
@@ -0,0 +1,5 @@
+5
+2
+1
+1
+1
diff --git a/public_test_cases/p02890/output.2.txt b/public_test_cases/p02890/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a991da4e4da3ac835dea054243dce00681605fa
--- /dev/null
+++ b/public_test_cases/p02890/output.2.txt
@@ -0,0 +1,4 @@
+4
+1
+0
+0
diff --git a/public_test_cases/p02890/output.3.txt b/public_test_cases/p02890/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b90379abb74e1fddf978dc94ff316bc2412331c
--- /dev/null
+++ b/public_test_cases/p02890/output.3.txt
@@ -0,0 +1,3 @@
+3
+1
+0
diff --git a/public_test_cases/p02891/input.0.txt b/public_test_cases/p02891/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d46386467537d89dfa15f5605467aabec52b9a19
--- /dev/null
+++ b/public_test_cases/p02891/input.0.txt
@@ -0,0 +1,2 @@
+issii
+2
diff --git a/public_test_cases/p02891/input.1.txt b/public_test_cases/p02891/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e675ff9cad5b3aaebc5085e35deb4e8e2859124
--- /dev/null
+++ b/public_test_cases/p02891/input.1.txt
@@ -0,0 +1,2 @@
+cooooooooonteeeeeeeeeest
+999993333
diff --git a/public_test_cases/p02891/input.2.txt b/public_test_cases/p02891/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d46386467537d89dfa15f5605467aabec52b9a19
--- /dev/null
+++ b/public_test_cases/p02891/input.2.txt
@@ -0,0 +1,2 @@
+issii
+2
diff --git a/public_test_cases/p02891/input.3.txt b/public_test_cases/p02891/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71d62daca249c0d6064c7cf3f6c964fe4c742b44
--- /dev/null
+++ b/public_test_cases/p02891/input.3.txt
@@ -0,0 +1,2 @@
+qq
+81
diff --git a/public_test_cases/p02891/output.0.txt b/public_test_cases/p02891/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02891/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02891/output.1.txt b/public_test_cases/p02891/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3827e7289640592de317d3175caf53b02ccd02f5
--- /dev/null
+++ b/public_test_cases/p02891/output.1.txt
@@ -0,0 +1 @@
+8999939997
diff --git a/public_test_cases/p02891/output.2.txt b/public_test_cases/p02891/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02891/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02891/output.3.txt b/public_test_cases/p02891/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d88e313699871a6c780316c8df7479aebe6999c0
--- /dev/null
+++ b/public_test_cases/p02891/output.3.txt
@@ -0,0 +1 @@
+81
diff --git a/public_test_cases/p02892/input.0.txt b/public_test_cases/p02892/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4e855b546d321aa5c0de763a1ccf550f6daa124
--- /dev/null
+++ b/public_test_cases/p02892/input.0.txt
@@ -0,0 +1,3 @@
+2
+01
+10
diff --git a/public_test_cases/p02892/input.1.txt b/public_test_cases/p02892/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4e855b546d321aa5c0de763a1ccf550f6daa124
--- /dev/null
+++ b/public_test_cases/p02892/input.1.txt
@@ -0,0 +1,3 @@
+2
+01
+10
diff --git a/public_test_cases/p02892/input.2.txt b/public_test_cases/p02892/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f6f26d4b011b1df64152785a40a33869b8a952c
--- /dev/null
+++ b/public_test_cases/p02892/input.2.txt
@@ -0,0 +1,7 @@
+6
+010110
+101001
+010100
+101000
+100000
+010000
diff --git a/public_test_cases/p02892/input.3.txt b/public_test_cases/p02892/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc3c472c7fde6596c703d8bbbcd93970763c1721
--- /dev/null
+++ b/public_test_cases/p02892/input.3.txt
@@ -0,0 +1,4 @@
+3
+011
+101
+110
diff --git a/public_test_cases/p02892/output.0.txt b/public_test_cases/p02892/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02892/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02892/output.1.txt b/public_test_cases/p02892/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02892/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02892/output.2.txt b/public_test_cases/p02892/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02892/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02892/output.3.txt b/public_test_cases/p02892/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02892/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02893/input.0.txt b/public_test_cases/p02893/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a33976e5579efb56c480a4b6f431ad8e136a8238
--- /dev/null
+++ b/public_test_cases/p02893/input.0.txt
@@ -0,0 +1,2 @@
+3
+111
diff --git a/public_test_cases/p02893/input.1.txt b/public_test_cases/p02893/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e802124d0e41fc9706e73eee35b930cb4bcc800
--- /dev/null
+++ b/public_test_cases/p02893/input.1.txt
@@ -0,0 +1,2 @@
+30
+001110011011011101010111011100
diff --git a/public_test_cases/p02893/input.2.txt b/public_test_cases/p02893/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a33976e5579efb56c480a4b6f431ad8e136a8238
--- /dev/null
+++ b/public_test_cases/p02893/input.2.txt
@@ -0,0 +1,2 @@
+3
+111
diff --git a/public_test_cases/p02893/input.3.txt b/public_test_cases/p02893/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9cf7f95b44789e23ccc8214434a8f54f044af93
--- /dev/null
+++ b/public_test_cases/p02893/input.3.txt
@@ -0,0 +1,2 @@
+6
+110101
diff --git a/public_test_cases/p02893/output.0.txt b/public_test_cases/p02893/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p02893/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p02893/output.1.txt b/public_test_cases/p02893/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42322b69210dc7e9419efc172dea3f812852aed8
--- /dev/null
+++ b/public_test_cases/p02893/output.1.txt
@@ -0,0 +1 @@
+549320998
diff --git a/public_test_cases/p02893/output.2.txt b/public_test_cases/p02893/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p02893/output.2.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p02893/output.3.txt b/public_test_cases/p02893/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac62e9337c2a3384827faf14ec82d6b81bf4ca14
--- /dev/null
+++ b/public_test_cases/p02893/output.3.txt
@@ -0,0 +1 @@
+616
diff --git a/public_test_cases/p02894/input.0.txt b/public_test_cases/p02894/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f15674a5f5ea645fa65ad723c91fd6e42020aa18
--- /dev/null
+++ b/public_test_cases/p02894/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+0
+1
+3
diff --git a/public_test_cases/p02894/input.1.txt b/public_test_cases/p02894/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f15674a5f5ea645fa65ad723c91fd6e42020aa18
--- /dev/null
+++ b/public_test_cases/p02894/input.1.txt
@@ -0,0 +1,4 @@
+3 4
+0
+1
+3
diff --git a/public_test_cases/p02894/input.2.txt b/public_test_cases/p02894/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..640e0a9db7d73fce606e7c86afc99b008f367ac1
--- /dev/null
+++ b/public_test_cases/p02894/input.2.txt
@@ -0,0 +1,11 @@
+10 100
+2
+11
+35
+42
+54
+69
+89
+91
+93
+99
diff --git a/public_test_cases/p02894/input.3.txt b/public_test_cases/p02894/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d5e96f8c24f32e505443d9d1ba72d3a0ccbf477
--- /dev/null
+++ b/public_test_cases/p02894/input.3.txt
@@ -0,0 +1,5 @@
+4 8
+1
+3
+5
+6
diff --git a/public_test_cases/p02894/output.0.txt b/public_test_cases/p02894/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5fb3c8378082efd66be91467198c250503ee9bf
--- /dev/null
+++ b/public_test_cases/p02894/output.0.txt
@@ -0,0 +1 @@
+0.414213562373095 -0.000000000000000
diff --git a/public_test_cases/p02894/output.1.txt b/public_test_cases/p02894/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5fb3c8378082efd66be91467198c250503ee9bf
--- /dev/null
+++ b/public_test_cases/p02894/output.1.txt
@@ -0,0 +1 @@
+0.414213562373095 -0.000000000000000
diff --git a/public_test_cases/p02894/output.2.txt b/public_test_cases/p02894/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f258c15bf41aad6c980d0dbd16c5b6addac3f96f
--- /dev/null
+++ b/public_test_cases/p02894/output.2.txt
@@ -0,0 +1 @@
+0.352886583546338 -0.109065017701873
diff --git a/public_test_cases/p02894/output.3.txt b/public_test_cases/p02894/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb92a0013c4428d981ce14d02c9c8fbf160179f4
--- /dev/null
+++ b/public_test_cases/p02894/output.3.txt
@@ -0,0 +1 @@
+-0.229401949926902 -0.153281482438188
diff --git a/public_test_cases/p02895/input.0.txt b/public_test_cases/p02895/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1913959efa8280e7613e5dc90f37e0723937139e
--- /dev/null
+++ b/public_test_cases/p02895/input.0.txt
@@ -0,0 +1,7 @@
+3
+011111
+101111
+110111
+111011
+111101
+111110
diff --git a/public_test_cases/p02895/input.1.txt b/public_test_cases/p02895/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf3b1f2c33a4581567c9bb4aa1d2938839e240a9
--- /dev/null
+++ b/public_test_cases/p02895/input.1.txt
@@ -0,0 +1,9 @@
+4
+01111100
+10011111
+10011100
+11101111
+11110111
+11111011
+01011101
+01011110
diff --git a/public_test_cases/p02895/input.2.txt b/public_test_cases/p02895/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1913959efa8280e7613e5dc90f37e0723937139e
--- /dev/null
+++ b/public_test_cases/p02895/input.2.txt
@@ -0,0 +1,7 @@
+3
+011111
+101111
+110111
+111011
+111101
+111110
diff --git a/public_test_cases/p02895/input.3.txt b/public_test_cases/p02895/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37b678bdb173b5b2cf9582f4ea71ace163edf82b
--- /dev/null
+++ b/public_test_cases/p02895/input.3.txt
@@ -0,0 +1,17 @@
+8
+0111101111111111
+1011101111111111
+1101101111011101
+1110111111111111
+1111011111110111
+0001101111111111
+1111110111011111
+1111111011111111
+1111111101111111
+1111111110111111
+1101110111011111
+1111111111101111
+1111011111110111
+1111111111111011
+1101111111111101
+1111111111111110
diff --git a/public_test_cases/p02895/output.0.txt b/public_test_cases/p02895/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02895/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02895/output.1.txt b/public_test_cases/p02895/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02895/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02895/output.2.txt b/public_test_cases/p02895/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02895/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02895/output.3.txt b/public_test_cases/p02895/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d85e44b306b4d057a5c52226bd0ada1f703ae41
--- /dev/null
+++ b/public_test_cases/p02895/output.3.txt
@@ -0,0 +1 @@
+4762
diff --git a/public_test_cases/p02896/input.0.txt b/public_test_cases/p02896/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..346f4f102f3e9ac8a6c78d7c74d4586e5287e560
--- /dev/null
+++ b/public_test_cases/p02896/input.0.txt
@@ -0,0 +1 @@
+2 2 2 998244353
diff --git a/public_test_cases/p02896/input.1.txt b/public_test_cases/p02896/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32350ff791d1cab2741e08ad4080b6375016edfe
--- /dev/null
+++ b/public_test_cases/p02896/input.1.txt
@@ -0,0 +1 @@
+2 3 4 998244353
diff --git a/public_test_cases/p02896/input.2.txt b/public_test_cases/p02896/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b4534b2a574f1119a96526efecbb6a1a886304a
--- /dev/null
+++ b/public_test_cases/p02896/input.2.txt
@@ -0,0 +1 @@
+31 41 59 998244353
diff --git a/public_test_cases/p02896/input.3.txt b/public_test_cases/p02896/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..346f4f102f3e9ac8a6c78d7c74d4586e5287e560
--- /dev/null
+++ b/public_test_cases/p02896/input.3.txt
@@ -0,0 +1 @@
+2 2 2 998244353
diff --git a/public_test_cases/p02896/output.0.txt b/public_test_cases/p02896/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f92bfdd49766b1907d4aec8d3b0f9ed6129d0e6
--- /dev/null
+++ b/public_test_cases/p02896/output.0.txt
@@ -0,0 +1 @@
+35
diff --git a/public_test_cases/p02896/output.1.txt b/public_test_cases/p02896/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8648a3b2a1f24fe645f0c7150c6c9f07f7539a2
--- /dev/null
+++ b/public_test_cases/p02896/output.1.txt
@@ -0,0 +1 @@
+127090
diff --git a/public_test_cases/p02896/output.2.txt b/public_test_cases/p02896/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b9004b46e6f91d986a65aa35a67fdf4b28e3968
--- /dev/null
+++ b/public_test_cases/p02896/output.2.txt
@@ -0,0 +1 @@
+827794103
diff --git a/public_test_cases/p02896/output.3.txt b/public_test_cases/p02896/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f92bfdd49766b1907d4aec8d3b0f9ed6129d0e6
--- /dev/null
+++ b/public_test_cases/p02896/output.3.txt
@@ -0,0 +1 @@
+35
diff --git a/public_test_cases/p02897/input.0.txt b/public_test_cases/p02897/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02897/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02897/input.1.txt b/public_test_cases/p02897/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02897/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02897/input.2.txt b/public_test_cases/p02897/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02897/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02897/input.3.txt b/public_test_cases/p02897/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02897/input.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02897/output.0.txt b/public_test_cases/p02897/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..424a46662e8732f48f13c07cfdeb25cf2c09637f
--- /dev/null
+++ b/public_test_cases/p02897/output.0.txt
@@ -0,0 +1 @@
+0.5000000000
diff --git a/public_test_cases/p02897/output.1.txt b/public_test_cases/p02897/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..424a46662e8732f48f13c07cfdeb25cf2c09637f
--- /dev/null
+++ b/public_test_cases/p02897/output.1.txt
@@ -0,0 +1 @@
+0.5000000000
diff --git a/public_test_cases/p02897/output.2.txt b/public_test_cases/p02897/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..487cbbc74cbdc97e962d1773d88da2ca4f560520
--- /dev/null
+++ b/public_test_cases/p02897/output.2.txt
@@ -0,0 +1 @@
+1.0000000000
diff --git a/public_test_cases/p02897/output.3.txt b/public_test_cases/p02897/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5618026d7566e6945dd7d652b019f9ee35bee12e
--- /dev/null
+++ b/public_test_cases/p02897/output.3.txt
@@ -0,0 +1 @@
+0.6000000000
diff --git a/public_test_cases/p02898/input.0.txt b/public_test_cases/p02898/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acc640dc44efb5448c9913c8f4d4ad81b6a5697d
--- /dev/null
+++ b/public_test_cases/p02898/input.0.txt
@@ -0,0 +1,2 @@
+4 150
+150 140 100 200
diff --git a/public_test_cases/p02898/input.1.txt b/public_test_cases/p02898/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14fe3a628bb95e59f60bca2482f7c429a66e13f6
--- /dev/null
+++ b/public_test_cases/p02898/input.1.txt
@@ -0,0 +1,2 @@
+5 1
+100 200 300 400 500
diff --git a/public_test_cases/p02898/input.2.txt b/public_test_cases/p02898/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acc640dc44efb5448c9913c8f4d4ad81b6a5697d
--- /dev/null
+++ b/public_test_cases/p02898/input.2.txt
@@ -0,0 +1,2 @@
+4 150
+150 140 100 200
diff --git a/public_test_cases/p02898/input.3.txt b/public_test_cases/p02898/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97511b2bc885071a8db9c8c6a0faced7b1501686
--- /dev/null
+++ b/public_test_cases/p02898/input.3.txt
@@ -0,0 +1,2 @@
+1 500
+499
diff --git a/public_test_cases/p02898/output.0.txt b/public_test_cases/p02898/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02898/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02898/output.1.txt b/public_test_cases/p02898/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02898/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02898/output.2.txt b/public_test_cases/p02898/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02898/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02898/output.3.txt b/public_test_cases/p02898/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02898/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02899/input.0.txt b/public_test_cases/p02899/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b29044c7562263214ba07e95181d4fffa71da483
--- /dev/null
+++ b/public_test_cases/p02899/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 3 1
diff --git a/public_test_cases/p02899/input.1.txt b/public_test_cases/p02899/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02899/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02899/input.2.txt b/public_test_cases/p02899/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b29044c7562263214ba07e95181d4fffa71da483
--- /dev/null
+++ b/public_test_cases/p02899/input.2.txt
@@ -0,0 +1,2 @@
+3
+2 3 1
diff --git a/public_test_cases/p02899/input.3.txt b/public_test_cases/p02899/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae58efe8c81a532601e977d7f2b342f6147b3915
--- /dev/null
+++ b/public_test_cases/p02899/input.3.txt
@@ -0,0 +1,2 @@
+8
+8 2 7 3 4 5 6 1
diff --git a/public_test_cases/p02899/output.0.txt b/public_test_cases/p02899/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c3b6fa8ddc94fc44ce15c6da3720c1f07040ba
--- /dev/null
+++ b/public_test_cases/p02899/output.0.txt
@@ -0,0 +1 @@
+3 1 2
diff --git a/public_test_cases/p02899/output.1.txt b/public_test_cases/p02899/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aacb59525ae5e32096372e24707fe291c5a4dae4
--- /dev/null
+++ b/public_test_cases/p02899/output.1.txt
@@ -0,0 +1 @@
+1 2 3 4 5
diff --git a/public_test_cases/p02899/output.2.txt b/public_test_cases/p02899/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c3b6fa8ddc94fc44ce15c6da3720c1f07040ba
--- /dev/null
+++ b/public_test_cases/p02899/output.2.txt
@@ -0,0 +1 @@
+3 1 2
diff --git a/public_test_cases/p02899/output.3.txt b/public_test_cases/p02899/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db829c1d67dd72fee5a34c2505252130089eb796
--- /dev/null
+++ b/public_test_cases/p02899/output.3.txt
@@ -0,0 +1 @@
+8 2 4 5 6 7 3 1
diff --git a/public_test_cases/p02900/input.0.txt b/public_test_cases/p02900/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f86db24ee85ee7dd0e36e640ecf4771786c21d8a
--- /dev/null
+++ b/public_test_cases/p02900/input.0.txt
@@ -0,0 +1 @@
+12 18
diff --git a/public_test_cases/p02900/input.1.txt b/public_test_cases/p02900/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..381ada10867f6bfc3059a38543f797bd14398849
--- /dev/null
+++ b/public_test_cases/p02900/input.1.txt
@@ -0,0 +1 @@
+1 2019
diff --git a/public_test_cases/p02900/input.2.txt b/public_test_cases/p02900/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f86db24ee85ee7dd0e36e640ecf4771786c21d8a
--- /dev/null
+++ b/public_test_cases/p02900/input.2.txt
@@ -0,0 +1 @@
+12 18
diff --git a/public_test_cases/p02900/input.3.txt b/public_test_cases/p02900/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b55e5275e760140aab34082ff1e95b7a141a599
--- /dev/null
+++ b/public_test_cases/p02900/input.3.txt
@@ -0,0 +1 @@
+420 660
diff --git a/public_test_cases/p02900/output.0.txt b/public_test_cases/p02900/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02900/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02900/output.1.txt b/public_test_cases/p02900/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02900/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02900/output.2.txt b/public_test_cases/p02900/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02900/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02900/output.3.txt b/public_test_cases/p02900/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02900/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02901/input.0.txt b/public_test_cases/p02901/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa33036fd215a0719bf4877f5cc10dfca1e37c2e
--- /dev/null
+++ b/public_test_cases/p02901/input.0.txt
@@ -0,0 +1,7 @@
+2 3
+10 1
+1
+15 1
+2
+30 2
+1 2
diff --git a/public_test_cases/p02901/input.1.txt b/public_test_cases/p02901/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac3e2359e65629a3db901febe6d86b3c181d3d9b
--- /dev/null
+++ b/public_test_cases/p02901/input.1.txt
@@ -0,0 +1,13 @@
+4 6
+67786 3
+1 3 4
+3497 1
+2
+44908 3
+2 3 4
+2156 3
+2 3 4
+26230 1
+2
+86918 1
+3
diff --git a/public_test_cases/p02901/input.2.txt b/public_test_cases/p02901/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65ec7d4640270b63481ad4ad82ab1a4bf2185d69
--- /dev/null
+++ b/public_test_cases/p02901/input.2.txt
@@ -0,0 +1,3 @@
+12 1
+100000 1
+2
diff --git a/public_test_cases/p02901/input.3.txt b/public_test_cases/p02901/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa33036fd215a0719bf4877f5cc10dfca1e37c2e
--- /dev/null
+++ b/public_test_cases/p02901/input.3.txt
@@ -0,0 +1,7 @@
+2 3
+10 1
+1
+15 1
+2
+30 2
+1 2
diff --git a/public_test_cases/p02901/output.0.txt b/public_test_cases/p02901/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02901/output.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02901/output.1.txt b/public_test_cases/p02901/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0855d68d485e1c31ce23f47408b4fc14406ddebd
--- /dev/null
+++ b/public_test_cases/p02901/output.1.txt
@@ -0,0 +1 @@
+69942
diff --git a/public_test_cases/p02901/output.2.txt b/public_test_cases/p02901/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02901/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02901/output.3.txt b/public_test_cases/p02901/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02901/output.3.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02902/input.0.txt b/public_test_cases/p02902/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..085a14e9962c2ce26f3acd5d0b3c0eafc5cfde00
--- /dev/null
+++ b/public_test_cases/p02902/input.0.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+2 3
+2 4
+4 1
+4 3
diff --git a/public_test_cases/p02902/input.1.txt b/public_test_cases/p02902/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..389b6c3227c5a47c42039941373061547f004e14
--- /dev/null
+++ b/public_test_cases/p02902/input.1.txt
@@ -0,0 +1,10 @@
+6 9
+1 2
+2 3
+3 4
+4 5
+5 6
+5 1
+5 2
+6 1
+6 2
diff --git a/public_test_cases/p02902/input.2.txt b/public_test_cases/p02902/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..085a14e9962c2ce26f3acd5d0b3c0eafc5cfde00
--- /dev/null
+++ b/public_test_cases/p02902/input.2.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+2 3
+2 4
+4 1
+4 3
diff --git a/public_test_cases/p02902/input.3.txt b/public_test_cases/p02902/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..610f55732851b4d577585f566d888961252920dd
--- /dev/null
+++ b/public_test_cases/p02902/input.3.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+2 3
+2 4
+1 4
+4 3
diff --git a/public_test_cases/p02902/output.0.txt b/public_test_cases/p02902/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb25ab683c82bc3289c24336d1b3cd8a711b58c9
--- /dev/null
+++ b/public_test_cases/p02902/output.0.txt
@@ -0,0 +1,4 @@
+3
+1
+2
+4
diff --git a/public_test_cases/p02902/output.1.txt b/public_test_cases/p02902/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f844cb037ba9c6fd0531443645f21b231ce0737c
--- /dev/null
+++ b/public_test_cases/p02902/output.1.txt
@@ -0,0 +1,5 @@
+4
+2
+3
+4
+5
diff --git a/public_test_cases/p02902/output.2.txt b/public_test_cases/p02902/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb25ab683c82bc3289c24336d1b3cd8a711b58c9
--- /dev/null
+++ b/public_test_cases/p02902/output.2.txt
@@ -0,0 +1,4 @@
+3
+1
+2
+4
diff --git a/public_test_cases/p02902/output.3.txt b/public_test_cases/p02902/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02902/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02903/input.0.txt b/public_test_cases/p02903/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf494ba7fe3e060f8524866cc896f2d62115469d
--- /dev/null
+++ b/public_test_cases/p02903/input.0.txt
@@ -0,0 +1 @@
+3 3 1 1
diff --git a/public_test_cases/p02903/input.1.txt b/public_test_cases/p02903/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf494ba7fe3e060f8524866cc896f2d62115469d
--- /dev/null
+++ b/public_test_cases/p02903/input.1.txt
@@ -0,0 +1 @@
+3 3 1 1
diff --git a/public_test_cases/p02903/input.2.txt b/public_test_cases/p02903/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..232effcda065d5b593afd74f8f0ff8aebdb99a3b
--- /dev/null
+++ b/public_test_cases/p02903/input.2.txt
@@ -0,0 +1 @@
+1 5 2 0
diff --git a/public_test_cases/p02903/output.0.txt b/public_test_cases/p02903/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31289f5df02607a39a3b0d295678b5ac5ba35dff
--- /dev/null
+++ b/public_test_cases/p02903/output.0.txt
@@ -0,0 +1,3 @@
+100
+010
+001
diff --git a/public_test_cases/p02903/output.1.txt b/public_test_cases/p02903/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31289f5df02607a39a3b0d295678b5ac5ba35dff
--- /dev/null
+++ b/public_test_cases/p02903/output.1.txt
@@ -0,0 +1,3 @@
+100
+010
+001
diff --git a/public_test_cases/p02903/output.2.txt b/public_test_cases/p02903/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7afa0a3c7e03e36350769d90ffe8bd97a55cba8
--- /dev/null
+++ b/public_test_cases/p02903/output.2.txt
@@ -0,0 +1 @@
+01010
diff --git a/public_test_cases/p02904/input.0.txt b/public_test_cases/p02904/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..732413dbbf554fe77472f555b99dc10357add402
--- /dev/null
+++ b/public_test_cases/p02904/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+0 2 1 4 3
diff --git a/public_test_cases/p02904/input.1.txt b/public_test_cases/p02904/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30b351487462daae580a76a43a83379503862de5
--- /dev/null
+++ b/public_test_cases/p02904/input.1.txt
@@ -0,0 +1,2 @@
+10 4
+2 0 1 3 7 5 4 6 8 9
diff --git a/public_test_cases/p02904/input.2.txt b/public_test_cases/p02904/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..732413dbbf554fe77472f555b99dc10357add402
--- /dev/null
+++ b/public_test_cases/p02904/input.2.txt
@@ -0,0 +1,2 @@
+5 3
+0 2 1 4 3
diff --git a/public_test_cases/p02904/input.3.txt b/public_test_cases/p02904/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7502278f6dfb0c0fb5bf12c40ffdc5afac22a5a3
--- /dev/null
+++ b/public_test_cases/p02904/input.3.txt
@@ -0,0 +1,2 @@
+4 4
+0 1 2 3
diff --git a/public_test_cases/p02904/output.0.txt b/public_test_cases/p02904/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02904/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02904/output.1.txt b/public_test_cases/p02904/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02904/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02904/output.2.txt b/public_test_cases/p02904/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02904/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02904/output.3.txt b/public_test_cases/p02904/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02904/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02905/input.0.txt b/public_test_cases/p02905/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bb30f58bb34822d3e7a849be9581684c1dbc119
--- /dev/null
+++ b/public_test_cases/p02905/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 4 6
diff --git a/public_test_cases/p02905/input.1.txt b/public_test_cases/p02905/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bb30f58bb34822d3e7a849be9581684c1dbc119
--- /dev/null
+++ b/public_test_cases/p02905/input.1.txt
@@ -0,0 +1,2 @@
+3
+2 4 6
diff --git a/public_test_cases/p02905/input.2.txt b/public_test_cases/p02905/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..defad667cd916cf0fd974ede291ee4e84c4fe194
--- /dev/null
+++ b/public_test_cases/p02905/input.2.txt
@@ -0,0 +1,2 @@
+8
+1 2 3 4 6 8 12 12
diff --git a/public_test_cases/p02905/input.3.txt b/public_test_cases/p02905/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..455a2151ce4eb0fe2b83eb6032beea17953ac97f
--- /dev/null
+++ b/public_test_cases/p02905/input.3.txt
@@ -0,0 +1,2 @@
+10
+356822 296174 484500 710640 518322 888250 259161 609120 592348 713644
diff --git a/public_test_cases/p02905/output.0.txt b/public_test_cases/p02905/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p02905/output.0.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p02905/output.1.txt b/public_test_cases/p02905/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p02905/output.1.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p02905/output.2.txt b/public_test_cases/p02905/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5478c714f35ec8a758321acd39af9b29a58f6ede
--- /dev/null
+++ b/public_test_cases/p02905/output.2.txt
@@ -0,0 +1 @@
+313
diff --git a/public_test_cases/p02905/output.3.txt b/public_test_cases/p02905/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3afdf1a3c363bf4d5f9f3e6b3392d76ee5ed0ef1
--- /dev/null
+++ b/public_test_cases/p02905/output.3.txt
@@ -0,0 +1 @@
+353891724
diff --git a/public_test_cases/p02906/input.0.txt b/public_test_cases/p02906/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac13b994f522472e4759fb3711d5e36f4dbb0ea7
--- /dev/null
+++ b/public_test_cases/p02906/input.0.txt
@@ -0,0 +1,4 @@
+5 5 3
+0 1 0
+1 2 1
+2 3 0
diff --git a/public_test_cases/p02906/input.1.txt b/public_test_cases/p02906/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29c66b43537a3299da1e2a1d4bc4f548c35a2a34
--- /dev/null
+++ b/public_test_cases/p02906/input.1.txt
@@ -0,0 +1,4 @@
+4 4 3
+0 1 0
+1 2 1
+2 3 0
diff --git a/public_test_cases/p02906/input.2.txt b/public_test_cases/p02906/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60a34d953476fc3647fc544dd07ca312580822a8
--- /dev/null
+++ b/public_test_cases/p02906/input.2.txt
@@ -0,0 +1,10 @@
+10 9 9
+7 6 0
+4 5 1
+9 7 0
+2 9 0
+2 3 0
+4 1 0
+8 0 0
+9 1 0
+3 0 0
diff --git a/public_test_cases/p02906/input.3.txt b/public_test_cases/p02906/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac13b994f522472e4759fb3711d5e36f4dbb0ea7
--- /dev/null
+++ b/public_test_cases/p02906/input.3.txt
@@ -0,0 +1,4 @@
+5 5 3
+0 1 0
+1 2 1
+2 3 0
diff --git a/public_test_cases/p02906/output.0.txt b/public_test_cases/p02906/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02906/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02906/output.1.txt b/public_test_cases/p02906/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02906/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02906/output.2.txt b/public_test_cases/p02906/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02906/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02906/output.3.txt b/public_test_cases/p02906/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02906/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02907/input.0.txt b/public_test_cases/p02907/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd29bee20df23dd8c9c7b5df08c2fffa67dc3a0
--- /dev/null
+++ b/public_test_cases/p02907/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 1
+1 1
diff --git a/public_test_cases/p02907/input.1.txt b/public_test_cases/p02907/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39fcc18c5a1cf7b713e1b96d06325bd9ed4ab5dd
--- /dev/null
+++ b/public_test_cases/p02907/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 3
+2 2
+3 1
diff --git a/public_test_cases/p02907/input.2.txt b/public_test_cases/p02907/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd29bee20df23dd8c9c7b5df08c2fffa67dc3a0
--- /dev/null
+++ b/public_test_cases/p02907/input.2.txt
@@ -0,0 +1,3 @@
+2
+1 1
+1 1
diff --git a/public_test_cases/p02907/input.3.txt b/public_test_cases/p02907/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acb7a562e9f7d304e6f93fd5e6c404b0cbe53b55
--- /dev/null
+++ b/public_test_cases/p02907/input.3.txt
@@ -0,0 +1,16 @@
+15
+29 3
+78 69
+19 15
+82 14
+9 120
+14 51
+3 7
+6 14
+28 4
+13 12
+1 5
+32 30
+49 24
+35 23
+2 9
diff --git a/public_test_cases/p02907/output.0.txt b/public_test_cases/p02907/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02907/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02907/output.1.txt b/public_test_cases/p02907/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3a846fb96ab443a8844a6bc9d4433356bbc0ec7
--- /dev/null
+++ b/public_test_cases/p02907/output.1.txt
@@ -0,0 +1 @@
+971485877
diff --git a/public_test_cases/p02907/output.2.txt b/public_test_cases/p02907/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02907/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02907/output.3.txt b/public_test_cases/p02907/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4515431c70241437907303b257fa2592c8b16243
--- /dev/null
+++ b/public_test_cases/p02907/output.3.txt
@@ -0,0 +1 @@
+371626143
diff --git a/public_test_cases/p02908/input.0.txt b/public_test_cases/p02908/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fc552f1c7ecdf578d14bff3da65c0b9d321dfae
--- /dev/null
+++ b/public_test_cases/p02908/input.0.txt
@@ -0,0 +1,3 @@
+4
+2 1 3 0
+0 2 3 1
diff --git a/public_test_cases/p02908/input.1.txt b/public_test_cases/p02908/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acefcabd31515bc6519242a818ea153a871938ec
--- /dev/null
+++ b/public_test_cases/p02908/input.1.txt
@@ -0,0 +1,3 @@
+32
+22 31 30 29 7 17 16 3 14 9 19 11 2 5 10 1 25 18 15 24 20 0 12 21 27 4 26 28 8 6 23 13
+22 3 2 7 17 9 16 4 14 8 19 26 28 5 10 1 25 18 15 13 11 0 12 23 21 20 29 24 27 6 30 31
diff --git a/public_test_cases/p02908/input.2.txt b/public_test_cases/p02908/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fc552f1c7ecdf578d14bff3da65c0b9d321dfae
--- /dev/null
+++ b/public_test_cases/p02908/input.2.txt
@@ -0,0 +1,3 @@
+4
+2 1 3 0
+0 2 3 1
diff --git a/public_test_cases/p02908/input.3.txt b/public_test_cases/p02908/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..260cfebf8cfad850113b12de24e6986ffa2c7db7
--- /dev/null
+++ b/public_test_cases/p02908/input.3.txt
@@ -0,0 +1,3 @@
+10
+0 4 5 3 7 8 2 1 9 6
+3 8 5 6 4 0 2 1 7 9
diff --git a/public_test_cases/p02908/output.0.txt b/public_test_cases/p02908/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02908/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02908/output.1.txt b/public_test_cases/p02908/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9902f17848a8974ab57d57999b74a63198fe6e23
--- /dev/null
+++ b/public_test_cases/p02908/output.1.txt
@@ -0,0 +1 @@
+28
diff --git a/public_test_cases/p02908/output.2.txt b/public_test_cases/p02908/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02908/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02908/output.3.txt b/public_test_cases/p02908/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02908/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02909/input.0.txt b/public_test_cases/p02909/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f8780dea90c88de56adaf192cf5572437667a63
--- /dev/null
+++ b/public_test_cases/p02909/input.0.txt
@@ -0,0 +1 @@
+Sunny
diff --git a/public_test_cases/p02909/input.1.txt b/public_test_cases/p02909/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5cb3c1eaeab86f91d88a934e7f6d064871f9443
--- /dev/null
+++ b/public_test_cases/p02909/input.1.txt
@@ -0,0 +1 @@
+Rainy
diff --git a/public_test_cases/p02909/input.2.txt b/public_test_cases/p02909/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f8780dea90c88de56adaf192cf5572437667a63
--- /dev/null
+++ b/public_test_cases/p02909/input.2.txt
@@ -0,0 +1 @@
+Sunny
diff --git a/public_test_cases/p02909/output.0.txt b/public_test_cases/p02909/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cd27edc67f81c67ef2518743578f082716fd263
--- /dev/null
+++ b/public_test_cases/p02909/output.0.txt
@@ -0,0 +1 @@
+Cloudy
diff --git a/public_test_cases/p02909/output.1.txt b/public_test_cases/p02909/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f8780dea90c88de56adaf192cf5572437667a63
--- /dev/null
+++ b/public_test_cases/p02909/output.1.txt
@@ -0,0 +1 @@
+Sunny
diff --git a/public_test_cases/p02909/output.2.txt b/public_test_cases/p02909/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cd27edc67f81c67ef2518743578f082716fd263
--- /dev/null
+++ b/public_test_cases/p02909/output.2.txt
@@ -0,0 +1 @@
+Cloudy
diff --git a/public_test_cases/p02910/input.0.txt b/public_test_cases/p02910/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a095f5988eab22c45af6d9dee1f22337a3efb948
--- /dev/null
+++ b/public_test_cases/p02910/input.0.txt
@@ -0,0 +1 @@
+RUDLUDR
diff --git a/public_test_cases/p02910/input.1.txt b/public_test_cases/p02910/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a095f5988eab22c45af6d9dee1f22337a3efb948
--- /dev/null
+++ b/public_test_cases/p02910/input.1.txt
@@ -0,0 +1 @@
+RUDLUDR
diff --git a/public_test_cases/p02910/input.2.txt b/public_test_cases/p02910/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3ee66df05cafd82fadb4f59a03e922eb00bc72e
--- /dev/null
+++ b/public_test_cases/p02910/input.2.txt
@@ -0,0 +1 @@
+DULL
diff --git a/public_test_cases/p02910/input.3.txt b/public_test_cases/p02910/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5514c4fc6d25d41db7b98e7b654a0483d636bd5b
--- /dev/null
+++ b/public_test_cases/p02910/input.3.txt
@@ -0,0 +1 @@
+RDULULDURURLRDULRLR
diff --git a/public_test_cases/p02910/input.4.txt b/public_test_cases/p02910/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..269acaed85f1214186a7ed4982cb5164958c2bd0
--- /dev/null
+++ b/public_test_cases/p02910/input.4.txt
@@ -0,0 +1 @@
+UUUUUUUUUUUUUUU
diff --git a/public_test_cases/p02910/input.5.txt b/public_test_cases/p02910/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2b68f76b0cb01268e8ccc39c4e0b16eba6a72ef
--- /dev/null
+++ b/public_test_cases/p02910/input.5.txt
@@ -0,0 +1 @@
+ULURU
diff --git a/public_test_cases/p02910/output.0.txt b/public_test_cases/p02910/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02910/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02910/output.1.txt b/public_test_cases/p02910/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02910/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02910/output.2.txt b/public_test_cases/p02910/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02910/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02910/output.3.txt b/public_test_cases/p02910/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02910/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02910/output.4.txt b/public_test_cases/p02910/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02910/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02910/output.5.txt b/public_test_cases/p02910/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02910/output.5.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02911/input.0.txt b/public_test_cases/p02911/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6d079213186f521bf545fa9cc2214d38ca18531
--- /dev/null
+++ b/public_test_cases/p02911/input.0.txt
@@ -0,0 +1,5 @@
+6 3 4
+3
+1
+3
+2
diff --git a/public_test_cases/p02911/input.1.txt b/public_test_cases/p02911/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fd362cd43151df0b6754975b6b46c6a902ed6de
--- /dev/null
+++ b/public_test_cases/p02911/input.1.txt
@@ -0,0 +1,5 @@
+6 5 4
+3
+1
+3
+2
diff --git a/public_test_cases/p02911/input.2.txt b/public_test_cases/p02911/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77dcfbc313f3766893ac5d6e272be6a0075d03fd
--- /dev/null
+++ b/public_test_cases/p02911/input.2.txt
@@ -0,0 +1,16 @@
+10 13 15
+3
+1
+4
+1
+5
+9
+2
+6
+5
+3
+5
+8
+9
+7
+9
diff --git a/public_test_cases/p02911/input.3.txt b/public_test_cases/p02911/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6d079213186f521bf545fa9cc2214d38ca18531
--- /dev/null
+++ b/public_test_cases/p02911/input.3.txt
@@ -0,0 +1,5 @@
+6 3 4
+3
+1
+3
+2
diff --git a/public_test_cases/p02911/output.0.txt b/public_test_cases/p02911/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1760c7ebd381442facc338cc970ab023e90b2c21
--- /dev/null
+++ b/public_test_cases/p02911/output.0.txt
@@ -0,0 +1,6 @@
+No
+No
+Yes
+No
+No
+No
diff --git a/public_test_cases/p02911/output.1.txt b/public_test_cases/p02911/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ca6d24c9c27a898c47a3e78d17dfcc5e409b270
--- /dev/null
+++ b/public_test_cases/p02911/output.1.txt
@@ -0,0 +1,6 @@
+Yes
+Yes
+Yes
+Yes
+Yes
+Yes
diff --git a/public_test_cases/p02911/output.2.txt b/public_test_cases/p02911/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da4030f5d26cf058478153ecbd878bfb88ed7b35
--- /dev/null
+++ b/public_test_cases/p02911/output.2.txt
@@ -0,0 +1,10 @@
+No
+No
+No
+No
+Yes
+No
+No
+No
+Yes
+No
diff --git a/public_test_cases/p02911/output.3.txt b/public_test_cases/p02911/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1760c7ebd381442facc338cc970ab023e90b2c21
--- /dev/null
+++ b/public_test_cases/p02911/output.3.txt
@@ -0,0 +1,6 @@
+No
+No
+Yes
+No
+No
+No
diff --git a/public_test_cases/p02912/input.0.txt b/public_test_cases/p02912/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..391d67b9dcd124858c2dc6fa6b2648c4ec9ecf75
--- /dev/null
+++ b/public_test_cases/p02912/input.0.txt
@@ -0,0 +1,2 @@
+3 3
+2 13 8
diff --git a/public_test_cases/p02912/input.1.txt b/public_test_cases/p02912/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8311d7c09775b0da7e915f72b593aa2c722592d
--- /dev/null
+++ b/public_test_cases/p02912/input.1.txt
@@ -0,0 +1,2 @@
+1 100000
+1000000000
diff --git a/public_test_cases/p02912/input.2.txt b/public_test_cases/p02912/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3391ab07e81954f1cce36417c75c4b025243ce58
--- /dev/null
+++ b/public_test_cases/p02912/input.2.txt
@@ -0,0 +1,2 @@
+10 1
+1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000
diff --git a/public_test_cases/p02912/input.3.txt b/public_test_cases/p02912/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf6abfe7302b947068d2f05d3b51eaeca71d88f2
--- /dev/null
+++ b/public_test_cases/p02912/input.3.txt
@@ -0,0 +1,2 @@
+4 4
+1 9 3 5
diff --git a/public_test_cases/p02912/input.4.txt b/public_test_cases/p02912/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..391d67b9dcd124858c2dc6fa6b2648c4ec9ecf75
--- /dev/null
+++ b/public_test_cases/p02912/input.4.txt
@@ -0,0 +1,2 @@
+3 3
+2 13 8
diff --git a/public_test_cases/p02912/output.0.txt b/public_test_cases/p02912/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02912/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02912/output.1.txt b/public_test_cases/p02912/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02912/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02912/output.2.txt b/public_test_cases/p02912/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64031a60e6d8780095625dc7aa391f22e31a1fc8
--- /dev/null
+++ b/public_test_cases/p02912/output.2.txt
@@ -0,0 +1 @@
+9500000000
diff --git a/public_test_cases/p02912/output.3.txt b/public_test_cases/p02912/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02912/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02912/output.4.txt b/public_test_cases/p02912/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02912/output.4.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02913/input.0.txt b/public_test_cases/p02913/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..484b93e02b125f88a45b2280dba7028557f3af13
--- /dev/null
+++ b/public_test_cases/p02913/input.0.txt
@@ -0,0 +1,2 @@
+5
+ababa
diff --git a/public_test_cases/p02913/input.1.txt b/public_test_cases/p02913/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f83855c9c37e38bd616b4de309d87ffb9f6918b
--- /dev/null
+++ b/public_test_cases/p02913/input.1.txt
@@ -0,0 +1,2 @@
+13
+strangeorange
diff --git a/public_test_cases/p02913/input.2.txt b/public_test_cases/p02913/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..872843ffcb73386454c244c5366ca0d243431bba
--- /dev/null
+++ b/public_test_cases/p02913/input.2.txt
@@ -0,0 +1,2 @@
+2
+xy
diff --git a/public_test_cases/p02913/input.3.txt b/public_test_cases/p02913/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..484b93e02b125f88a45b2280dba7028557f3af13
--- /dev/null
+++ b/public_test_cases/p02913/input.3.txt
@@ -0,0 +1,2 @@
+5
+ababa
diff --git a/public_test_cases/p02913/output.0.txt b/public_test_cases/p02913/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02913/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02913/output.1.txt b/public_test_cases/p02913/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02913/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02913/output.2.txt b/public_test_cases/p02913/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02913/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02913/output.3.txt b/public_test_cases/p02913/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02913/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02914/input.0.txt b/public_test_cases/p02914/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8ef497141fb3e2986b180469085611635d8dc18
--- /dev/null
+++ b/public_test_cases/p02914/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 6 5
diff --git a/public_test_cases/p02914/input.1.txt b/public_test_cases/p02914/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7603829860eae6423bf2d83c048359f91e1a381b
--- /dev/null
+++ b/public_test_cases/p02914/input.1.txt
@@ -0,0 +1,2 @@
+20
+1008288677408720767 539403903321871999 1044301017184589821 215886900497862655 504277496111605629 972104334925272829 792625803473366909 972333547668684797 467386965442856573 755861732751878143 1151846447448561405 467257771752201853 683930041385277311 432010719984459389 319104378117934975 611451291444233983 647509226592964607 251832107792119421 827811265410084479 864032478037725181
diff --git a/public_test_cases/p02914/input.2.txt b/public_test_cases/p02914/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8ef497141fb3e2986b180469085611635d8dc18
--- /dev/null
+++ b/public_test_cases/p02914/input.2.txt
@@ -0,0 +1,2 @@
+3
+3 6 5
diff --git a/public_test_cases/p02914/input.3.txt b/public_test_cases/p02914/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e10f14cd96c78786010cd890302d1d4a3fd3df31
--- /dev/null
+++ b/public_test_cases/p02914/input.3.txt
@@ -0,0 +1,2 @@
+4
+23 36 66 65
diff --git a/public_test_cases/p02914/output.0.txt b/public_test_cases/p02914/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02914/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02914/output.1.txt b/public_test_cases/p02914/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1ec9662082166ed06a791a921fdf3e12919e5f4
--- /dev/null
+++ b/public_test_cases/p02914/output.1.txt
@@ -0,0 +1 @@
+2012721721873704572
diff --git a/public_test_cases/p02914/output.2.txt b/public_test_cases/p02914/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02914/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02914/output.3.txt b/public_test_cases/p02914/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e702a30b33b0d510da43b5348fb9c1ef43e39dd2
--- /dev/null
+++ b/public_test_cases/p02914/output.3.txt
@@ -0,0 +1 @@
+188
diff --git a/public_test_cases/p02915/input.0.txt b/public_test_cases/p02915/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02915/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02915/input.1.txt b/public_test_cases/p02915/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02915/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02915/input.2.txt b/public_test_cases/p02915/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02915/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02915/output.0.txt b/public_test_cases/p02915/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02915/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02915/output.1.txt b/public_test_cases/p02915/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02915/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02915/output.2.txt b/public_test_cases/p02915/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02915/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02916/input.0.txt b/public_test_cases/p02916/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afa9aeaabc3b9faf59c7b0e456f4670081dad1c2
--- /dev/null
+++ b/public_test_cases/p02916/input.0.txt
@@ -0,0 +1,4 @@
+3
+3 1 2
+2 5 4
+3 6
diff --git a/public_test_cases/p02916/input.1.txt b/public_test_cases/p02916/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc3c5f7afd1d62575fab6a0c7dbd99d51a5d47fb
--- /dev/null
+++ b/public_test_cases/p02916/input.1.txt
@@ -0,0 +1,4 @@
+2
+1 2
+50 50
+50
diff --git a/public_test_cases/p02916/input.2.txt b/public_test_cases/p02916/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..599fa8b68357e76b05a8d7656b1af43c608704d2
--- /dev/null
+++ b/public_test_cases/p02916/input.2.txt
@@ -0,0 +1,4 @@
+4
+2 3 4 1
+13 5 8 24
+45 9 15
diff --git a/public_test_cases/p02916/input.3.txt b/public_test_cases/p02916/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afa9aeaabc3b9faf59c7b0e456f4670081dad1c2
--- /dev/null
+++ b/public_test_cases/p02916/input.3.txt
@@ -0,0 +1,4 @@
+3
+3 1 2
+2 5 4
+3 6
diff --git a/public_test_cases/p02916/output.0.txt b/public_test_cases/p02916/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02916/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02916/output.1.txt b/public_test_cases/p02916/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa8f08cb6ff8a30dd34a3b442009bdfc798a7316
--- /dev/null
+++ b/public_test_cases/p02916/output.1.txt
@@ -0,0 +1 @@
+150
diff --git a/public_test_cases/p02916/output.2.txt b/public_test_cases/p02916/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fff0a2476aa5c8e60a3ef21cfc66e0cc670920be
--- /dev/null
+++ b/public_test_cases/p02916/output.2.txt
@@ -0,0 +1 @@
+74
diff --git a/public_test_cases/p02916/output.3.txt b/public_test_cases/p02916/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p02916/output.3.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p02917/input.0.txt b/public_test_cases/p02917/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4916e8a92869255f5e170c843755f8ea1dff2f79
--- /dev/null
+++ b/public_test_cases/p02917/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 5
diff --git a/public_test_cases/p02917/input.1.txt b/public_test_cases/p02917/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4792e70f333077a81456ca2bc74e492ab8bb58c3
--- /dev/null
+++ b/public_test_cases/p02917/input.1.txt
@@ -0,0 +1,2 @@
+2
+3
diff --git a/public_test_cases/p02917/input.2.txt b/public_test_cases/p02917/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4546cc99e30a161a5b48bc945409d7905101c13a
--- /dev/null
+++ b/public_test_cases/p02917/input.2.txt
@@ -0,0 +1,2 @@
+6
+0 153 10 10 23
diff --git a/public_test_cases/p02917/input.3.txt b/public_test_cases/p02917/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4916e8a92869255f5e170c843755f8ea1dff2f79
--- /dev/null
+++ b/public_test_cases/p02917/input.3.txt
@@ -0,0 +1,2 @@
+3
+2 5
diff --git a/public_test_cases/p02917/output.0.txt b/public_test_cases/p02917/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02917/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02917/output.1.txt b/public_test_cases/p02917/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p02917/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p02917/output.2.txt b/public_test_cases/p02917/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59343b09ec765366a5b0ac04196385079acd864e
--- /dev/null
+++ b/public_test_cases/p02917/output.2.txt
@@ -0,0 +1 @@
+53
diff --git a/public_test_cases/p02917/output.3.txt b/public_test_cases/p02917/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02917/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02918/input.0.txt b/public_test_cases/p02918/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba78e60d425ffaf81ad017b0528d876f995440de
--- /dev/null
+++ b/public_test_cases/p02918/input.0.txt
@@ -0,0 +1,2 @@
+6 1
+LRLRRL
diff --git a/public_test_cases/p02918/input.1.txt b/public_test_cases/p02918/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba78e60d425ffaf81ad017b0528d876f995440de
--- /dev/null
+++ b/public_test_cases/p02918/input.1.txt
@@ -0,0 +1,2 @@
+6 1
+LRLRRL
diff --git a/public_test_cases/p02918/input.2.txt b/public_test_cases/p02918/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..710a222bef94219e149a18b5c7dae3231697aca8
--- /dev/null
+++ b/public_test_cases/p02918/input.2.txt
@@ -0,0 +1,2 @@
+9 2
+RRRLRLRLL
diff --git a/public_test_cases/p02918/input.3.txt b/public_test_cases/p02918/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e36ce8cf397a4ab287fe9f5d89dbd8b04102c495
--- /dev/null
+++ b/public_test_cases/p02918/input.3.txt
@@ -0,0 +1,2 @@
+13 3
+LRRLRLRRLRLLR
diff --git a/public_test_cases/p02918/input.4.txt b/public_test_cases/p02918/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a6082e31c0904e4b7407d4030b3e9c6ee14c2b6
--- /dev/null
+++ b/public_test_cases/p02918/input.4.txt
@@ -0,0 +1,2 @@
+10 1
+LLLLLRRRRR
diff --git a/public_test_cases/p02918/output.0.txt b/public_test_cases/p02918/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02918/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02918/output.1.txt b/public_test_cases/p02918/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02918/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02918/output.2.txt b/public_test_cases/p02918/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02918/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02918/output.3.txt b/public_test_cases/p02918/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02918/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02918/output.4.txt b/public_test_cases/p02918/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02918/output.4.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02919/input.0.txt b/public_test_cases/p02919/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b29044c7562263214ba07e95181d4fffa71da483
--- /dev/null
+++ b/public_test_cases/p02919/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 3 1
diff --git a/public_test_cases/p02919/input.1.txt b/public_test_cases/p02919/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02919/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02919/input.2.txt b/public_test_cases/p02919/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b29044c7562263214ba07e95181d4fffa71da483
--- /dev/null
+++ b/public_test_cases/p02919/input.2.txt
@@ -0,0 +1,2 @@
+3
+2 3 1
diff --git a/public_test_cases/p02919/input.3.txt b/public_test_cases/p02919/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae58efe8c81a532601e977d7f2b342f6147b3915
--- /dev/null
+++ b/public_test_cases/p02919/input.3.txt
@@ -0,0 +1,2 @@
+8
+8 2 7 3 4 5 6 1
diff --git a/public_test_cases/p02919/output.0.txt b/public_test_cases/p02919/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02919/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02919/output.1.txt b/public_test_cases/p02919/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p02919/output.1.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p02919/output.2.txt b/public_test_cases/p02919/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02919/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02919/output.3.txt b/public_test_cases/p02919/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7296f257eb19026f79767a2458bdf63ff9c29e51
--- /dev/null
+++ b/public_test_cases/p02919/output.3.txt
@@ -0,0 +1 @@
+136
diff --git a/public_test_cases/p02920/input.0.txt b/public_test_cases/p02920/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad3e92ba7867d0947c7694a0c70e06854a5e1825
--- /dev/null
+++ b/public_test_cases/p02920/input.0.txt
@@ -0,0 +1,2 @@
+2
+4 2 3 1
diff --git a/public_test_cases/p02920/output.0.txt b/public_test_cases/p02920/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02920/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02921/input.0.txt b/public_test_cases/p02921/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2887f171d9d2fe0322a70003020b212f7c9b6e98
--- /dev/null
+++ b/public_test_cases/p02921/input.0.txt
@@ -0,0 +1,2 @@
+CSS
+CSR
diff --git a/public_test_cases/p02921/input.1.txt b/public_test_cases/p02921/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2887f171d9d2fe0322a70003020b212f7c9b6e98
--- /dev/null
+++ b/public_test_cases/p02921/input.1.txt
@@ -0,0 +1,2 @@
+CSS
+CSR
diff --git a/public_test_cases/p02921/input.2.txt b/public_test_cases/p02921/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9df4740b1a768f93188258596a6f32ca288bc78c
--- /dev/null
+++ b/public_test_cases/p02921/input.2.txt
@@ -0,0 +1,2 @@
+RRR
+SSS
diff --git a/public_test_cases/p02921/input.3.txt b/public_test_cases/p02921/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3d293ce494a69673eb4f17abbcba19a28e6a911
--- /dev/null
+++ b/public_test_cases/p02921/input.3.txt
@@ -0,0 +1,2 @@
+SSR
+SSR
diff --git a/public_test_cases/p02921/output.0.txt b/public_test_cases/p02921/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02921/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02921/output.1.txt b/public_test_cases/p02921/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02921/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02921/output.2.txt b/public_test_cases/p02921/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02921/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02921/output.3.txt b/public_test_cases/p02921/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02921/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02922/input.0.txt b/public_test_cases/p02922/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6af3f94382e9642d1772a8f149e6f2600f572f76
--- /dev/null
+++ b/public_test_cases/p02922/input.0.txt
@@ -0,0 +1 @@
+4 10
diff --git a/public_test_cases/p02922/input.1.txt b/public_test_cases/p02922/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6af3f94382e9642d1772a8f149e6f2600f572f76
--- /dev/null
+++ b/public_test_cases/p02922/input.1.txt
@@ -0,0 +1 @@
+4 10
diff --git a/public_test_cases/p02922/input.2.txt b/public_test_cases/p02922/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99ca15399f960d2c36bd34b24db2178857aca917
--- /dev/null
+++ b/public_test_cases/p02922/input.2.txt
@@ -0,0 +1 @@
+8 8
diff --git a/public_test_cases/p02922/input.3.txt b/public_test_cases/p02922/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5438c83d4e9e8a3ae6f48151bdcc401241a6e261
--- /dev/null
+++ b/public_test_cases/p02922/input.3.txt
@@ -0,0 +1 @@
+8 9
diff --git a/public_test_cases/p02922/output.0.txt b/public_test_cases/p02922/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02922/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02922/output.1.txt b/public_test_cases/p02922/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02922/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02922/output.2.txt b/public_test_cases/p02922/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02922/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02922/output.3.txt b/public_test_cases/p02922/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02922/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02923/input.0.txt b/public_test_cases/p02923/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f2a70e81b2438076ee51b590e51ef613e095ccd
--- /dev/null
+++ b/public_test_cases/p02923/input.0.txt
@@ -0,0 +1,2 @@
+5
+10 4 8 7 3
diff --git a/public_test_cases/p02923/input.1.txt b/public_test_cases/p02923/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f2a70e81b2438076ee51b590e51ef613e095ccd
--- /dev/null
+++ b/public_test_cases/p02923/input.1.txt
@@ -0,0 +1,2 @@
+5
+10 4 8 7 3
diff --git a/public_test_cases/p02923/input.2.txt b/public_test_cases/p02923/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a4d515660c3c567ab07859fc5e252f8c966e46
--- /dev/null
+++ b/public_test_cases/p02923/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 4
diff --git a/public_test_cases/p02923/input.3.txt b/public_test_cases/p02923/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7e1322f84711155c77130f65e85f81df3b46129
--- /dev/null
+++ b/public_test_cases/p02923/input.3.txt
@@ -0,0 +1,2 @@
+7
+4 4 5 6 6 5 5
diff --git a/public_test_cases/p02923/output.0.txt b/public_test_cases/p02923/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02923/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02923/output.1.txt b/public_test_cases/p02923/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02923/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02923/output.2.txt b/public_test_cases/p02923/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02923/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02923/output.3.txt b/public_test_cases/p02923/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02923/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02924/input.0.txt b/public_test_cases/p02924/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02924/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02924/input.1.txt b/public_test_cases/p02924/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02924/input.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02924/input.2.txt b/public_test_cases/p02924/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02924/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02924/input.3.txt b/public_test_cases/p02924/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02924/input.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02924/output.0.txt b/public_test_cases/p02924/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02924/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02924/output.1.txt b/public_test_cases/p02924/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e14edce9ccd63cedb63bd0c07f8b829438a6c8a
--- /dev/null
+++ b/public_test_cases/p02924/output.1.txt
@@ -0,0 +1 @@
+78
diff --git a/public_test_cases/p02924/output.2.txt b/public_test_cases/p02924/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02924/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02924/output.3.txt b/public_test_cases/p02924/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02924/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02925/input.0.txt b/public_test_cases/p02925/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f45540436115a05b2d0b0b4e84ce4f92afde2f41
--- /dev/null
+++ b/public_test_cases/p02925/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 3
+1 3
+1 2
diff --git a/public_test_cases/p02925/input.1.txt b/public_test_cases/p02925/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccad4a35dc12bff343f8de4179e599949aed71ce
--- /dev/null
+++ b/public_test_cases/p02925/input.1.txt
@@ -0,0 +1,5 @@
+4
+2 3 4
+1 3 4
+4 1 2
+3 1 2
diff --git a/public_test_cases/p02925/input.2.txt b/public_test_cases/p02925/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f45540436115a05b2d0b0b4e84ce4f92afde2f41
--- /dev/null
+++ b/public_test_cases/p02925/input.2.txt
@@ -0,0 +1,4 @@
+3
+2 3
+1 3
+1 2
diff --git a/public_test_cases/p02925/input.3.txt b/public_test_cases/p02925/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2374ea3ace11a2c88f1d6309ec6120fdda31aa3
--- /dev/null
+++ b/public_test_cases/p02925/input.3.txt
@@ -0,0 +1,4 @@
+3
+2 3
+3 1
+1 2
diff --git a/public_test_cases/p02925/output.0.txt b/public_test_cases/p02925/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02925/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02925/output.1.txt b/public_test_cases/p02925/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02925/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02925/output.2.txt b/public_test_cases/p02925/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02925/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02925/output.3.txt b/public_test_cases/p02925/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02925/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02926/input.0.txt b/public_test_cases/p02926/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de03fc27057f11ab7af242fb6ff327dd2e499b2d
--- /dev/null
+++ b/public_test_cases/p02926/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 10
+5 -5
+-5 -5
diff --git a/public_test_cases/p02926/input.1.txt b/public_test_cases/p02926/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0385e43a0e5c4125a0e3e2fa9acf0568fb19d976
--- /dev/null
+++ b/public_test_cases/p02926/input.1.txt
@@ -0,0 +1,2 @@
+1
+90447 91000
diff --git a/public_test_cases/p02926/input.2.txt b/public_test_cases/p02926/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9192c07ccc340d77c5ce857e718742c1e34cfcfd
--- /dev/null
+++ b/public_test_cases/p02926/input.2.txt
@@ -0,0 +1,3 @@
+2
+96000 -72000
+-72000 54000
diff --git a/public_test_cases/p02926/input.3.txt b/public_test_cases/p02926/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de03fc27057f11ab7af242fb6ff327dd2e499b2d
--- /dev/null
+++ b/public_test_cases/p02926/input.3.txt
@@ -0,0 +1,4 @@
+3
+0 10
+5 -5
+-5 -5
diff --git a/public_test_cases/p02926/input.4.txt b/public_test_cases/p02926/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9ede1a6e39b714ae9b8d2bee84ae01cd8eaaf93
--- /dev/null
+++ b/public_test_cases/p02926/input.4.txt
@@ -0,0 +1,11 @@
+10
+1 2
+3 4
+5 6
+7 8
+9 10
+11 12
+13 14
+15 16
+17 18
+19 20
diff --git a/public_test_cases/p02926/input.5.txt b/public_test_cases/p02926/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7da6e77df1ea4200e6cd0a9c510c43458d9a06b6
--- /dev/null
+++ b/public_test_cases/p02926/input.5.txt
@@ -0,0 +1,6 @@
+5
+1 1
+1 0
+0 1
+-1 0
+0 -1
diff --git a/public_test_cases/p02926/input.6.txt b/public_test_cases/p02926/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea858fa58f0a5657638c17a89379c3474218e764
--- /dev/null
+++ b/public_test_cases/p02926/input.6.txt
@@ -0,0 +1,4 @@
+3
+0 0
+0 1
+1 0
diff --git a/public_test_cases/p02926/input.7.txt b/public_test_cases/p02926/input.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..217068e9378e15e5d0eaaf98fae279016b7af89e
--- /dev/null
+++ b/public_test_cases/p02926/input.7.txt
@@ -0,0 +1,6 @@
+5
+1 1
+2 2
+3 3
+4 4
+5 5
diff --git a/public_test_cases/p02926/output.0.txt b/public_test_cases/p02926/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6a471c6603e21352834a47e1c1a9e5fecc1da9b
--- /dev/null
+++ b/public_test_cases/p02926/output.0.txt
@@ -0,0 +1 @@
+10.000000000000000000000000000000000000000000000000
diff --git a/public_test_cases/p02926/output.1.txt b/public_test_cases/p02926/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..908ea96cc956f5b999031ef8ed40ed6598fe4e18
--- /dev/null
+++ b/public_test_cases/p02926/output.1.txt
@@ -0,0 +1 @@
+128303.000000000000000000000000000000000000000000000000
diff --git a/public_test_cases/p02926/output.2.txt b/public_test_cases/p02926/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bba98ff6eff59423c2ae7322b36a4449c3ad8228
--- /dev/null
+++ b/public_test_cases/p02926/output.2.txt
@@ -0,0 +1 @@
+120000.000000000000000000000000000000000000000000000000
diff --git a/public_test_cases/p02926/output.3.txt b/public_test_cases/p02926/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6a471c6603e21352834a47e1c1a9e5fecc1da9b
--- /dev/null
+++ b/public_test_cases/p02926/output.3.txt
@@ -0,0 +1 @@
+10.000000000000000000000000000000000000000000000000
diff --git a/public_test_cases/p02926/output.4.txt b/public_test_cases/p02926/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e6704d4f111caedfff32b229ac5c47d68b8fbbb
--- /dev/null
+++ b/public_test_cases/p02926/output.4.txt
@@ -0,0 +1 @@
+148.660687473185055226120082139313966514489855137208
diff --git a/public_test_cases/p02926/output.5.txt b/public_test_cases/p02926/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff3f5b20c4f71710c51210eeb6339c3dd2555f0e
--- /dev/null
+++ b/public_test_cases/p02926/output.5.txt
@@ -0,0 +1 @@
+2.828427124746190097603377448419396157139343750753
diff --git a/public_test_cases/p02926/output.6.txt b/public_test_cases/p02926/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..836ba1ade25694ed9c4b5c15046d5dbf71fb001a
--- /dev/null
+++ b/public_test_cases/p02926/output.6.txt
@@ -0,0 +1 @@
+1.414213562373095048801688724209698078569671875376
diff --git a/public_test_cases/p02926/output.7.txt b/public_test_cases/p02926/output.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53718a960a4c18226028f86b7c6036326df9675b
--- /dev/null
+++ b/public_test_cases/p02926/output.7.txt
@@ -0,0 +1 @@
+21.213203435596425732025330863145471178545078130654
diff --git a/public_test_cases/p02927/input.0.txt b/public_test_cases/p02927/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34948dd3f1121d7e7e3dac65a4131b3bf0815546
--- /dev/null
+++ b/public_test_cases/p02927/input.0.txt
@@ -0,0 +1 @@
+15 40
diff --git a/public_test_cases/p02927/input.1.txt b/public_test_cases/p02927/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34948dd3f1121d7e7e3dac65a4131b3bf0815546
--- /dev/null
+++ b/public_test_cases/p02927/input.1.txt
@@ -0,0 +1 @@
+15 40
diff --git a/public_test_cases/p02927/input.2.txt b/public_test_cases/p02927/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02927/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02927/input.3.txt b/public_test_cases/p02927/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b51db4d0e111c87924ea29197485607c784c6253
--- /dev/null
+++ b/public_test_cases/p02927/input.3.txt
@@ -0,0 +1 @@
+12 31
diff --git a/public_test_cases/p02927/output.0.txt b/public_test_cases/p02927/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02927/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02927/output.1.txt b/public_test_cases/p02927/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02927/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02927/output.2.txt b/public_test_cases/p02927/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02927/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02927/output.3.txt b/public_test_cases/p02927/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02927/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02928/input.0.txt b/public_test_cases/p02928/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b6bd7c6a725f4906de6151e0731e38aa1be40b9
--- /dev/null
+++ b/public_test_cases/p02928/input.0.txt
@@ -0,0 +1,2 @@
+2 2
+2 1
diff --git a/public_test_cases/p02928/input.1.txt b/public_test_cases/p02928/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b6bd7c6a725f4906de6151e0731e38aa1be40b9
--- /dev/null
+++ b/public_test_cases/p02928/input.1.txt
@@ -0,0 +1,2 @@
+2 2
+2 1
diff --git a/public_test_cases/p02928/input.2.txt b/public_test_cases/p02928/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bbe74e2c1b9c4b86386a1b9f68e8c2379fa5c71f
--- /dev/null
+++ b/public_test_cases/p02928/input.2.txt
@@ -0,0 +1,2 @@
+10 998244353
+10 9 8 7 5 6 3 4 2 1
diff --git a/public_test_cases/p02928/input.3.txt b/public_test_cases/p02928/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06546571e61a8eaffd5394c4021590ca4c22f881
--- /dev/null
+++ b/public_test_cases/p02928/input.3.txt
@@ -0,0 +1,2 @@
+3 5
+1 1 1
diff --git a/public_test_cases/p02928/output.0.txt b/public_test_cases/p02928/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02928/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02928/output.1.txt b/public_test_cases/p02928/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02928/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02928/output.2.txt b/public_test_cases/p02928/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7acdc9473703a7749a6e0c6e0e44e2f8a415b99c
--- /dev/null
+++ b/public_test_cases/p02928/output.2.txt
@@ -0,0 +1 @@
+185297239
diff --git a/public_test_cases/p02928/output.3.txt b/public_test_cases/p02928/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02928/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02929/input.0.txt b/public_test_cases/p02929/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac3f5baca267d1b4948657db367268a63810a7f6
--- /dev/null
+++ b/public_test_cases/p02929/input.0.txt
@@ -0,0 +1,2 @@
+2
+BWWB
diff --git a/public_test_cases/p02929/input.1.txt b/public_test_cases/p02929/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac3f5baca267d1b4948657db367268a63810a7f6
--- /dev/null
+++ b/public_test_cases/p02929/input.1.txt
@@ -0,0 +1,2 @@
+2
+BWWB
diff --git a/public_test_cases/p02929/input.2.txt b/public_test_cases/p02929/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6641b89f292d085cf3a360a4653c399906ab7a7
--- /dev/null
+++ b/public_test_cases/p02929/input.2.txt
@@ -0,0 +1,2 @@
+5
+WWWWWWWWWW
diff --git a/public_test_cases/p02929/input.3.txt b/public_test_cases/p02929/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5de47e20703186114d9297120e1c3692ef9dd4a
--- /dev/null
+++ b/public_test_cases/p02929/input.3.txt
@@ -0,0 +1,2 @@
+4
+BWBBWWWB
diff --git a/public_test_cases/p02929/output.0.txt b/public_test_cases/p02929/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02929/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02929/output.1.txt b/public_test_cases/p02929/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02929/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02929/output.2.txt b/public_test_cases/p02929/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02929/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02929/output.3.txt b/public_test_cases/p02929/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea809473360353797c26dc0220e70087639dfe54
--- /dev/null
+++ b/public_test_cases/p02929/output.3.txt
@@ -0,0 +1 @@
+288
diff --git a/public_test_cases/p02930/input.0.txt b/public_test_cases/p02930/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02930/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02930/input.1.txt b/public_test_cases/p02930/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02930/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02930/output.0.txt b/public_test_cases/p02930/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11f162df37eb603c6bc8320a10e36affe66f9118
--- /dev/null
+++ b/public_test_cases/p02930/output.0.txt
@@ -0,0 +1,2 @@
+1 2
+1
diff --git a/public_test_cases/p02930/output.1.txt b/public_test_cases/p02930/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11f162df37eb603c6bc8320a10e36affe66f9118
--- /dev/null
+++ b/public_test_cases/p02930/output.1.txt
@@ -0,0 +1,2 @@
+1 2
+1
diff --git a/public_test_cases/p02931/input.0.txt b/public_test_cases/p02931/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69722a2a76a0a71cb553d77bbb1b4da2406a31fa
--- /dev/null
+++ b/public_test_cases/p02931/input.0.txt
@@ -0,0 +1,7 @@
+6 2 2
+2 2 2
+1 1 8
+1 1 5
+1 2 9
+1 2 7
+2 1 4
diff --git a/public_test_cases/p02931/input.1.txt b/public_test_cases/p02931/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef03f4e0e17509e9bcd9f3e8f506f2af3a7aa7d0
--- /dev/null
+++ b/public_test_cases/p02931/input.1.txt
@@ -0,0 +1,2 @@
+1 100000 100000
+1 1 1
diff --git a/public_test_cases/p02931/input.2.txt b/public_test_cases/p02931/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a2372dc2976cbaef80bc599fd5f5a39d6b40e89
--- /dev/null
+++ b/public_test_cases/p02931/input.2.txt
@@ -0,0 +1,14 @@
+13 5 6
+1 3 35902
+4 6 19698
+4 6 73389
+3 6 3031
+3 1 4771
+1 4 4784
+2 1 36357
+2 1 24830
+5 6 50219
+4 6 22645
+1 2 30739
+1 4 68417
+1 5 78537
diff --git a/public_test_cases/p02931/input.3.txt b/public_test_cases/p02931/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69722a2a76a0a71cb553d77bbb1b4da2406a31fa
--- /dev/null
+++ b/public_test_cases/p02931/input.3.txt
@@ -0,0 +1,7 @@
+6 2 2
+2 2 2
+1 1 8
+1 1 5
+1 2 9
+1 2 7
+2 1 4
diff --git a/public_test_cases/p02931/output.0.txt b/public_test_cases/p02931/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9902f17848a8974ab57d57999b74a63198fe6e23
--- /dev/null
+++ b/public_test_cases/p02931/output.0.txt
@@ -0,0 +1 @@
+28
diff --git a/public_test_cases/p02931/output.1.txt b/public_test_cases/p02931/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02931/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02931/output.2.txt b/public_test_cases/p02931/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c103096298d527df5e3749899d9ee281ab56e5fd
--- /dev/null
+++ b/public_test_cases/p02931/output.2.txt
@@ -0,0 +1 @@
+430590
diff --git a/public_test_cases/p02931/output.3.txt b/public_test_cases/p02931/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9902f17848a8974ab57d57999b74a63198fe6e23
--- /dev/null
+++ b/public_test_cases/p02931/output.3.txt
@@ -0,0 +1 @@
+28
diff --git a/public_test_cases/p02932/input.0.txt b/public_test_cases/p02932/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c66022fb99ec1cd8db16540ce791f0d8e6947d52
--- /dev/null
+++ b/public_test_cases/p02932/input.0.txt
@@ -0,0 +1 @@
+4 2 3 7
diff --git a/public_test_cases/p02932/input.1.txt b/public_test_cases/p02932/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c66022fb99ec1cd8db16540ce791f0d8e6947d52
--- /dev/null
+++ b/public_test_cases/p02932/input.1.txt
@@ -0,0 +1 @@
+4 2 3 7
diff --git a/public_test_cases/p02932/input.2.txt b/public_test_cases/p02932/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4604f717e444cc2d639ebe7debcf78f806787de
--- /dev/null
+++ b/public_test_cases/p02932/input.2.txt
@@ -0,0 +1 @@
+141592 6535 89793 238462
diff --git a/public_test_cases/p02932/input.3.txt b/public_test_cases/p02932/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfa537a1bf97b760888a9c0fde283553e3b322ab
--- /dev/null
+++ b/public_test_cases/p02932/input.3.txt
@@ -0,0 +1 @@
+2 1 4 8
diff --git a/public_test_cases/p02932/output.0.txt b/public_test_cases/p02932/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f96ac06721837aa6a644a580c03c76f304e81db0
--- /dev/null
+++ b/public_test_cases/p02932/output.0.txt
@@ -0,0 +1 @@
+105
diff --git a/public_test_cases/p02932/output.1.txt b/public_test_cases/p02932/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f96ac06721837aa6a644a580c03c76f304e81db0
--- /dev/null
+++ b/public_test_cases/p02932/output.1.txt
@@ -0,0 +1 @@
+105
diff --git a/public_test_cases/p02932/output.2.txt b/public_test_cases/p02932/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3ad1442c059f60b4add6176d196d38abc89fa9d
--- /dev/null
+++ b/public_test_cases/p02932/output.2.txt
@@ -0,0 +1 @@
+933832916
diff --git a/public_test_cases/p02932/output.3.txt b/public_test_cases/p02932/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02932/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02933/input.0.txt b/public_test_cases/p02933/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23aa4eb68647961e0c729aba28c6116094910dea
--- /dev/null
+++ b/public_test_cases/p02933/input.0.txt
@@ -0,0 +1,2 @@
+3200
+pink
diff --git a/public_test_cases/p02933/input.1.txt b/public_test_cases/p02933/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b05dde3b460c18bc9ce0f2e234f182c9fe6c48b
--- /dev/null
+++ b/public_test_cases/p02933/input.1.txt
@@ -0,0 +1,2 @@
+4049
+red
diff --git a/public_test_cases/p02933/input.2.txt b/public_test_cases/p02933/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f71de9268d605b5ef2bbfc2e25001db266fba9f
--- /dev/null
+++ b/public_test_cases/p02933/input.2.txt
@@ -0,0 +1,2 @@
+3199
+pink
diff --git a/public_test_cases/p02933/input.3.txt b/public_test_cases/p02933/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23aa4eb68647961e0c729aba28c6116094910dea
--- /dev/null
+++ b/public_test_cases/p02933/input.3.txt
@@ -0,0 +1,2 @@
+3200
+pink
diff --git a/public_test_cases/p02933/output.0.txt b/public_test_cases/p02933/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08d69ebaa34044d6a5dd18cfbcb590d50ba5a6a3
--- /dev/null
+++ b/public_test_cases/p02933/output.0.txt
@@ -0,0 +1 @@
+pink
diff --git a/public_test_cases/p02933/output.1.txt b/public_test_cases/p02933/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9d1386a1d99728de010ad4044fb984886b57f33
--- /dev/null
+++ b/public_test_cases/p02933/output.1.txt
@@ -0,0 +1 @@
+red
diff --git a/public_test_cases/p02933/output.2.txt b/public_test_cases/p02933/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9d1386a1d99728de010ad4044fb984886b57f33
--- /dev/null
+++ b/public_test_cases/p02933/output.2.txt
@@ -0,0 +1 @@
+red
diff --git a/public_test_cases/p02933/output.3.txt b/public_test_cases/p02933/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08d69ebaa34044d6a5dd18cfbcb590d50ba5a6a3
--- /dev/null
+++ b/public_test_cases/p02933/output.3.txt
@@ -0,0 +1 @@
+pink
diff --git a/public_test_cases/p02934/input.0.txt b/public_test_cases/p02934/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d55a9d88e4cf67ad687f0638c20a9fc862ef7b3b
--- /dev/null
+++ b/public_test_cases/p02934/input.0.txt
@@ -0,0 +1,2 @@
+2
+10 30
diff --git a/public_test_cases/p02934/input.1.txt b/public_test_cases/p02934/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d55a9d88e4cf67ad687f0638c20a9fc862ef7b3b
--- /dev/null
+++ b/public_test_cases/p02934/input.1.txt
@@ -0,0 +1,2 @@
+2
+10 30
diff --git a/public_test_cases/p02934/input.2.txt b/public_test_cases/p02934/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f887434aa82a20c45214d3646af5af6d05fcca5
--- /dev/null
+++ b/public_test_cases/p02934/input.2.txt
@@ -0,0 +1,2 @@
+1
+1000
diff --git a/public_test_cases/p02934/input.3.txt b/public_test_cases/p02934/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e5d65ad0e78a9628275d7e65f773994cf621647
--- /dev/null
+++ b/public_test_cases/p02934/input.3.txt
@@ -0,0 +1,2 @@
+3
+200 200 200
diff --git a/public_test_cases/p02934/output.0.txt b/public_test_cases/p02934/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c382960e38796254910dcdfb506d19fcf1685cf4
--- /dev/null
+++ b/public_test_cases/p02934/output.0.txt
@@ -0,0 +1 @@
+7.5
diff --git a/public_test_cases/p02934/output.1.txt b/public_test_cases/p02934/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c382960e38796254910dcdfb506d19fcf1685cf4
--- /dev/null
+++ b/public_test_cases/p02934/output.1.txt
@@ -0,0 +1 @@
+7.5
diff --git a/public_test_cases/p02934/output.2.txt b/public_test_cases/p02934/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p02934/output.2.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p02934/output.3.txt b/public_test_cases/p02934/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b9dd4ec698eab1e10fac96bf5e185c37d9674da
--- /dev/null
+++ b/public_test_cases/p02934/output.3.txt
@@ -0,0 +1 @@
+66.66666666666667
diff --git a/public_test_cases/p02935/input.0.txt b/public_test_cases/p02935/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4aae7e90d80ea4162dc4ddff3725f97b4741225
--- /dev/null
+++ b/public_test_cases/p02935/input.0.txt
@@ -0,0 +1,2 @@
+2
+3 4
diff --git a/public_test_cases/p02935/input.1.txt b/public_test_cases/p02935/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4aae7e90d80ea4162dc4ddff3725f97b4741225
--- /dev/null
+++ b/public_test_cases/p02935/input.1.txt
@@ -0,0 +1,2 @@
+2
+3 4
diff --git a/public_test_cases/p02935/input.2.txt b/public_test_cases/p02935/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1528e0a5a3db0164d8c5e3cc987660fe864e5dae
--- /dev/null
+++ b/public_test_cases/p02935/input.2.txt
@@ -0,0 +1,2 @@
+3
+500 300 200
diff --git a/public_test_cases/p02935/input.3.txt b/public_test_cases/p02935/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d76ce0d7a0b27cf422cc0a7eff613f79b5d41b34
--- /dev/null
+++ b/public_test_cases/p02935/input.3.txt
@@ -0,0 +1,2 @@
+5
+138 138 138 138 138
diff --git a/public_test_cases/p02935/output.0.txt b/public_test_cases/p02935/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a958026daa3208cb329c403433beb56abd5c036
--- /dev/null
+++ b/public_test_cases/p02935/output.0.txt
@@ -0,0 +1 @@
+3.5
diff --git a/public_test_cases/p02935/output.1.txt b/public_test_cases/p02935/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a958026daa3208cb329c403433beb56abd5c036
--- /dev/null
+++ b/public_test_cases/p02935/output.1.txt
@@ -0,0 +1 @@
+3.5
diff --git a/public_test_cases/p02935/output.2.txt b/public_test_cases/p02935/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9061d95de9d31740c4e77082c7b52d63b5622fb
--- /dev/null
+++ b/public_test_cases/p02935/output.2.txt
@@ -0,0 +1 @@
+375
diff --git a/public_test_cases/p02935/output.3.txt b/public_test_cases/p02935/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93e7803245e457a68d3feb62b2d7040ee8b6dd28
--- /dev/null
+++ b/public_test_cases/p02935/output.3.txt
@@ -0,0 +1 @@
+138
diff --git a/public_test_cases/p02936/input.0.txt b/public_test_cases/p02936/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50e51dce52d561d4690f8f56d01c966f188fdcc6
--- /dev/null
+++ b/public_test_cases/p02936/input.0.txt
@@ -0,0 +1,7 @@
+4 3
+1 2
+2 3
+2 4
+2 10
+1 100
+3 1
diff --git a/public_test_cases/p02936/input.1.txt b/public_test_cases/p02936/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e7f17477f2c472e3e6a7e5f92c38e15d5436422
--- /dev/null
+++ b/public_test_cases/p02936/input.1.txt
@@ -0,0 +1,8 @@
+6 2
+1 2
+1 3
+2 4
+3 6
+2 5
+1 10
+1 10
diff --git a/public_test_cases/p02936/input.2.txt b/public_test_cases/p02936/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50e51dce52d561d4690f8f56d01c966f188fdcc6
--- /dev/null
+++ b/public_test_cases/p02936/input.2.txt
@@ -0,0 +1,7 @@
+4 3
+1 2
+2 3
+2 4
+2 10
+1 100
+3 1
diff --git a/public_test_cases/p02936/output.0.txt b/public_test_cases/p02936/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..283985c79ab065debf56814d820ca0e896d2209c
--- /dev/null
+++ b/public_test_cases/p02936/output.0.txt
@@ -0,0 +1 @@
+100 110 111 110
diff --git a/public_test_cases/p02936/output.1.txt b/public_test_cases/p02936/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93e42503decc11f289e67f9caaccf717fdafaab1
--- /dev/null
+++ b/public_test_cases/p02936/output.1.txt
@@ -0,0 +1 @@
+20 20 20 20 20 20
diff --git a/public_test_cases/p02936/output.2.txt b/public_test_cases/p02936/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..283985c79ab065debf56814d820ca0e896d2209c
--- /dev/null
+++ b/public_test_cases/p02936/output.2.txt
@@ -0,0 +1 @@
+100 110 111 110
diff --git a/public_test_cases/p02937/input.0.txt b/public_test_cases/p02937/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d15d3c58fca229afe0101e3a78777fc15a1984c
--- /dev/null
+++ b/public_test_cases/p02937/input.0.txt
@@ -0,0 +1,2 @@
+contest
+son
diff --git a/public_test_cases/p02937/input.1.txt b/public_test_cases/p02937/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8137baebb8aa65a0b8b4b5101640ff2f7e1483b3
--- /dev/null
+++ b/public_test_cases/p02937/input.1.txt
@@ -0,0 +1,2 @@
+contest
+sentence
diff --git a/public_test_cases/p02937/input.2.txt b/public_test_cases/p02937/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d15d3c58fca229afe0101e3a78777fc15a1984c
--- /dev/null
+++ b/public_test_cases/p02937/input.2.txt
@@ -0,0 +1,2 @@
+contest
+son
diff --git a/public_test_cases/p02937/input.3.txt b/public_test_cases/p02937/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1a11d64282bc5919708de537a71ebae910439b2
--- /dev/null
+++ b/public_test_cases/p02937/input.3.txt
@@ -0,0 +1,2 @@
+contest
+programming
diff --git a/public_test_cases/p02937/output.0.txt b/public_test_cases/p02937/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02937/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02937/output.1.txt b/public_test_cases/p02937/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb95160cb6e07358f54a28a208ae41e69889c97b
--- /dev/null
+++ b/public_test_cases/p02937/output.1.txt
@@ -0,0 +1 @@
+33
diff --git a/public_test_cases/p02937/output.2.txt b/public_test_cases/p02937/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02937/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02937/output.3.txt b/public_test_cases/p02937/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02937/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02938/input.0.txt b/public_test_cases/p02938/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02938/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02938/input.1.txt b/public_test_cases/p02938/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02938/input.1.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02938/input.2.txt b/public_test_cases/p02938/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c60636f9ce8130379a7fe48df8e8f87e9951e3a7
--- /dev/null
+++ b/public_test_cases/p02938/input.2.txt
@@ -0,0 +1 @@
+10 100
diff --git a/public_test_cases/p02938/input.3.txt b/public_test_cases/p02938/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b73472cc7c76fad488ec1318cfc095fef860138
--- /dev/null
+++ b/public_test_cases/p02938/input.3.txt
@@ -0,0 +1 @@
+1 1000000000000000000
diff --git a/public_test_cases/p02938/output.0.txt b/public_test_cases/p02938/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02938/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02938/output.1.txt b/public_test_cases/p02938/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02938/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02938/output.2.txt b/public_test_cases/p02938/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..103a99dd857b51bdf6544358c7efcd8dc070c239
--- /dev/null
+++ b/public_test_cases/p02938/output.2.txt
@@ -0,0 +1 @@
+604
diff --git a/public_test_cases/p02938/output.3.txt b/public_test_cases/p02938/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..554f7a44ace2703999e0fe028b4ba0c029e43884
--- /dev/null
+++ b/public_test_cases/p02938/output.3.txt
@@ -0,0 +1 @@
+68038601
diff --git a/public_test_cases/p02939/input.0.txt b/public_test_cases/p02939/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b274a66824f8675a6e0cb3af35c78cc5fd709634
--- /dev/null
+++ b/public_test_cases/p02939/input.0.txt
@@ -0,0 +1 @@
+aabbaa
diff --git a/public_test_cases/p02939/input.1.txt b/public_test_cases/p02939/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16443074f11c56410ae88ff68f82b14554e45d64
--- /dev/null
+++ b/public_test_cases/p02939/input.1.txt
@@ -0,0 +1 @@
+aaaccacabaababc
diff --git a/public_test_cases/p02939/input.2.txt b/public_test_cases/p02939/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b274a66824f8675a6e0cb3af35c78cc5fd709634
--- /dev/null
+++ b/public_test_cases/p02939/input.2.txt
@@ -0,0 +1 @@
+aabbaa
diff --git a/public_test_cases/p02939/output.0.txt b/public_test_cases/p02939/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02939/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02939/output.1.txt b/public_test_cases/p02939/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p02939/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p02939/output.2.txt b/public_test_cases/p02939/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02939/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02940/input.0.txt b/public_test_cases/p02940/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fb6a5f079daed876c456c42ad8b03a4926a31a0
--- /dev/null
+++ b/public_test_cases/p02940/input.0.txt
@@ -0,0 +1,2 @@
+3
+RRRGGGBBB
diff --git a/public_test_cases/p02940/input.1.txt b/public_test_cases/p02940/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fb6a5f079daed876c456c42ad8b03a4926a31a0
--- /dev/null
+++ b/public_test_cases/p02940/input.1.txt
@@ -0,0 +1,2 @@
+3
+RRRGGGBBB
diff --git a/public_test_cases/p02940/input.2.txt b/public_test_cases/p02940/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5d03457d1ea97d44d287bbb00d97ab27b24ddcc
--- /dev/null
+++ b/public_test_cases/p02940/input.2.txt
@@ -0,0 +1,2 @@
+5
+BBRGRRGRGGRBBGB
diff --git a/public_test_cases/p02940/output.0.txt b/public_test_cases/p02940/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a817176f4a68f229aed5e26b9ffb3470b6262f32
--- /dev/null
+++ b/public_test_cases/p02940/output.0.txt
@@ -0,0 +1 @@
+216
diff --git a/public_test_cases/p02940/output.1.txt b/public_test_cases/p02940/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a817176f4a68f229aed5e26b9ffb3470b6262f32
--- /dev/null
+++ b/public_test_cases/p02940/output.1.txt
@@ -0,0 +1 @@
+216
diff --git a/public_test_cases/p02940/output.2.txt b/public_test_cases/p02940/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6edead7ce20589531af96a24cc178a3a0183dc83
--- /dev/null
+++ b/public_test_cases/p02940/output.2.txt
@@ -0,0 +1 @@
+960
diff --git a/public_test_cases/p02941/input.0.txt b/public_test_cases/p02941/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d95b9bdb8314953e3b386e36280e75f5acdc0db
--- /dev/null
+++ b/public_test_cases/p02941/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 1 1
+13 5 7
diff --git a/public_test_cases/p02941/input.1.txt b/public_test_cases/p02941/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86bc97915345cf7f17ef37550527cadae679c23f
--- /dev/null
+++ b/public_test_cases/p02941/input.1.txt
@@ -0,0 +1,3 @@
+5
+5 6 5 2 1
+9817 1108 6890 4343 8704
diff --git a/public_test_cases/p02941/input.2.txt b/public_test_cases/p02941/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9754af6f9b034aabee58de532f2d8a5c7ef17d4
--- /dev/null
+++ b/public_test_cases/p02941/input.2.txt
@@ -0,0 +1,3 @@
+4
+1 2 3 4
+2 3 4 5
diff --git a/public_test_cases/p02941/input.3.txt b/public_test_cases/p02941/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d95b9bdb8314953e3b386e36280e75f5acdc0db
--- /dev/null
+++ b/public_test_cases/p02941/input.3.txt
@@ -0,0 +1,3 @@
+3
+1 1 1
+13 5 7
diff --git a/public_test_cases/p02941/output.0.txt b/public_test_cases/p02941/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02941/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02941/output.1.txt b/public_test_cases/p02941/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p02941/output.1.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p02941/output.2.txt b/public_test_cases/p02941/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02941/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02941/output.3.txt b/public_test_cases/p02941/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02941/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02942/input.0.txt b/public_test_cases/p02942/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e29f67d5ae3ab4ffb6596074ccd8f6a3b551768
--- /dev/null
+++ b/public_test_cases/p02942/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+2 6
+4 3
+1 5
diff --git a/public_test_cases/p02942/input.1.txt b/public_test_cases/p02942/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e29f67d5ae3ab4ffb6596074ccd8f6a3b551768
--- /dev/null
+++ b/public_test_cases/p02942/input.1.txt
@@ -0,0 +1,4 @@
+3 2
+2 6
+4 3
+1 5
diff --git a/public_test_cases/p02942/input.2.txt b/public_test_cases/p02942/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a278470e90ebef5fd8c80f107e3a53ca1b8207a
--- /dev/null
+++ b/public_test_cases/p02942/input.2.txt
@@ -0,0 +1,4 @@
+3 4
+1 4 7 10
+2 5 8 11
+3 6 9 12
diff --git a/public_test_cases/p02942/output.0.txt b/public_test_cases/p02942/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a1d228de9d4317fb290462a481ef82295e41c4a
--- /dev/null
+++ b/public_test_cases/p02942/output.0.txt
@@ -0,0 +1,6 @@
+2 6
+4 3
+5 1
+2 1
+4 3
+5 6
diff --git a/public_test_cases/p02942/output.1.txt b/public_test_cases/p02942/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a1d228de9d4317fb290462a481ef82295e41c4a
--- /dev/null
+++ b/public_test_cases/p02942/output.1.txt
@@ -0,0 +1,6 @@
+2 6
+4 3
+5 1
+2 1
+4 3
+5 6
diff --git a/public_test_cases/p02942/output.2.txt b/public_test_cases/p02942/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ed6a2cc790dcf3280f4e46cf1211907f64672ee
--- /dev/null
+++ b/public_test_cases/p02942/output.2.txt
@@ -0,0 +1,6 @@
+1 4 7 10
+5 8 11 2
+9 12 3 6
+1 4 3 2
+5 8 7 6
+9 12 11 10
diff --git a/public_test_cases/p02943/input.0.txt b/public_test_cases/p02943/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79a4a0387bc675f80627c3d68b40a578747bf8fe
--- /dev/null
+++ b/public_test_cases/p02943/input.0.txt
@@ -0,0 +1,2 @@
+5 1
+bacba
diff --git a/public_test_cases/p02943/input.1.txt b/public_test_cases/p02943/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79a4a0387bc675f80627c3d68b40a578747bf8fe
--- /dev/null
+++ b/public_test_cases/p02943/input.1.txt
@@ -0,0 +1,2 @@
+5 1
+bacba
diff --git a/public_test_cases/p02943/input.2.txt b/public_test_cases/p02943/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c60fb87385de24166d423710000bfeda06743bf3
--- /dev/null
+++ b/public_test_cases/p02943/input.2.txt
@@ -0,0 +1,2 @@
+10 2
+bbaabbbaab
diff --git a/public_test_cases/p02943/output.0.txt b/public_test_cases/p02943/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8614cd1ee55c5fb8f3578114a5a26e7b2f756084
--- /dev/null
+++ b/public_test_cases/p02943/output.0.txt
@@ -0,0 +1 @@
+aabca
diff --git a/public_test_cases/p02943/output.1.txt b/public_test_cases/p02943/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8614cd1ee55c5fb8f3578114a5a26e7b2f756084
--- /dev/null
+++ b/public_test_cases/p02943/output.1.txt
@@ -0,0 +1 @@
+aabca
diff --git a/public_test_cases/p02943/output.2.txt b/public_test_cases/p02943/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..012f903ae19109aee01a9f097a2249268e7e48a9
--- /dev/null
+++ b/public_test_cases/p02943/output.2.txt
@@ -0,0 +1 @@
+aaaabbaabb
diff --git a/public_test_cases/p02944/input.0.txt b/public_test_cases/p02944/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e2e3515b42443cd6559c2c06fe8da353f24b86a
--- /dev/null
+++ b/public_test_cases/p02944/input.0.txt
@@ -0,0 +1,2 @@
+9 3
+2 1 1 1 1 1 1 2 3
diff --git a/public_test_cases/p02944/input.1.txt b/public_test_cases/p02944/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4978f8fe5e0307545e93afc9bb9650f1dac139f
--- /dev/null
+++ b/public_test_cases/p02944/input.1.txt
@@ -0,0 +1,2 @@
+15 3
+4 3 2 1 1 1 2 3 2 2 1 1 1 2 2
diff --git a/public_test_cases/p02944/input.2.txt b/public_test_cases/p02944/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5706e6b99bcfc9d429e43af6057873412cdfc94b
--- /dev/null
+++ b/public_test_cases/p02944/input.2.txt
@@ -0,0 +1,2 @@
+9 2
+2 1 1 1 1 1 1 2 3
diff --git a/public_test_cases/p02944/input.3.txt b/public_test_cases/p02944/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e2e3515b42443cd6559c2c06fe8da353f24b86a
--- /dev/null
+++ b/public_test_cases/p02944/input.3.txt
@@ -0,0 +1,2 @@
+9 3
+2 1 1 1 1 1 1 2 3
diff --git a/public_test_cases/p02944/output.0.txt b/public_test_cases/p02944/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p02944/output.0.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p02944/output.1.txt b/public_test_cases/p02944/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e85087affded170efcbc6f9672a6fc671d839ed0
--- /dev/null
+++ b/public_test_cases/p02944/output.1.txt
@@ -0,0 +1 @@
+31
diff --git a/public_test_cases/p02944/output.2.txt b/public_test_cases/p02944/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87523dd7a0632907d61799465827c3f08825fa47
--- /dev/null
+++ b/public_test_cases/p02944/output.2.txt
@@ -0,0 +1 @@
+41
diff --git a/public_test_cases/p02944/output.3.txt b/public_test_cases/p02944/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p02944/output.3.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p02945/input.0.txt b/public_test_cases/p02945/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a55824625c8bbf8f726b0b91a706f9bdc7eaa754
--- /dev/null
+++ b/public_test_cases/p02945/input.0.txt
@@ -0,0 +1 @@
+-13 3
diff --git a/public_test_cases/p02945/output.0.txt b/public_test_cases/p02945/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..291670352e5a6c9aa5fff035ad4554e55c0daf7f
--- /dev/null
+++ b/public_test_cases/p02945/output.0.txt
@@ -0,0 +1 @@
+-10
diff --git a/public_test_cases/p02946/input.0.txt b/public_test_cases/p02946/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0871b0b46ec9fe33d7a99d3608001b41d41374a5
--- /dev/null
+++ b/public_test_cases/p02946/input.0.txt
@@ -0,0 +1 @@
+3 7
diff --git a/public_test_cases/p02946/input.1.txt b/public_test_cases/p02946/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f879177cd5cd90ab792439e8b42ec76439336971
--- /dev/null
+++ b/public_test_cases/p02946/input.1.txt
@@ -0,0 +1 @@
+4 0
diff --git a/public_test_cases/p02946/input.2.txt b/public_test_cases/p02946/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eee8d43e090864f4135ce0d23adc39dcfa2cc180
--- /dev/null
+++ b/public_test_cases/p02946/input.2.txt
@@ -0,0 +1 @@
+1 100
diff --git a/public_test_cases/p02946/input.3.txt b/public_test_cases/p02946/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0871b0b46ec9fe33d7a99d3608001b41d41374a5
--- /dev/null
+++ b/public_test_cases/p02946/input.3.txt
@@ -0,0 +1 @@
+3 7
diff --git a/public_test_cases/p02946/output.0.txt b/public_test_cases/p02946/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82aa2b5cc02b26ca22c8ba156ecf982685087e3
--- /dev/null
+++ b/public_test_cases/p02946/output.0.txt
@@ -0,0 +1 @@
+5 6 7 8 9
diff --git a/public_test_cases/p02946/output.1.txt b/public_test_cases/p02946/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dcf83ef8bf6ed9386bf7dc7d04ceeeb69b54002
--- /dev/null
+++ b/public_test_cases/p02946/output.1.txt
@@ -0,0 +1 @@
+-3 -2 -1 0 1 2 3
diff --git a/public_test_cases/p02946/output.2.txt b/public_test_cases/p02946/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02946/output.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02946/output.3.txt b/public_test_cases/p02946/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82aa2b5cc02b26ca22c8ba156ecf982685087e3
--- /dev/null
+++ b/public_test_cases/p02946/output.3.txt
@@ -0,0 +1 @@
+5 6 7 8 9
diff --git a/public_test_cases/p02947/input.0.txt b/public_test_cases/p02947/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18e09b537f591d41e2d1219b6693f3600437423f
--- /dev/null
+++ b/public_test_cases/p02947/input.0.txt
@@ -0,0 +1,4 @@
+3
+acornistnt
+peanutbomb
+constraint
diff --git a/public_test_cases/p02947/input.1.txt b/public_test_cases/p02947/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d496f33fa3c9dd79b832c437c3d3e9f6ed0086fa
--- /dev/null
+++ b/public_test_cases/p02947/input.1.txt
@@ -0,0 +1,6 @@
+5
+abaaaaaaaa
+oneplustwo
+aaaaaaaaba
+twoplusone
+aaaabaaaaa
diff --git a/public_test_cases/p02947/input.2.txt b/public_test_cases/p02947/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7804300702748282457fa26983f10f08bfb48ef2
--- /dev/null
+++ b/public_test_cases/p02947/input.2.txt
@@ -0,0 +1,3 @@
+2
+oneplustwo
+ninemodsix
diff --git a/public_test_cases/p02947/input.3.txt b/public_test_cases/p02947/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18e09b537f591d41e2d1219b6693f3600437423f
--- /dev/null
+++ b/public_test_cases/p02947/input.3.txt
@@ -0,0 +1,4 @@
+3
+acornistnt
+peanutbomb
+constraint
diff --git a/public_test_cases/p02947/output.0.txt b/public_test_cases/p02947/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02947/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02947/output.1.txt b/public_test_cases/p02947/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02947/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02947/output.2.txt b/public_test_cases/p02947/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02947/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02947/output.3.txt b/public_test_cases/p02947/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02947/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02948/input.0.txt b/public_test_cases/p02948/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afbf8ad5a36285797e023ce41a73befd92420ba2
--- /dev/null
+++ b/public_test_cases/p02948/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+4 3
+4 1
+2 2
diff --git a/public_test_cases/p02948/input.1.txt b/public_test_cases/p02948/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..344af1440ecdeaa6872dc250d0fab74a96a740c0
--- /dev/null
+++ b/public_test_cases/p02948/input.1.txt
@@ -0,0 +1,6 @@
+5 3
+1 2
+1 3
+1 4
+2 1
+2 3
diff --git a/public_test_cases/p02948/input.2.txt b/public_test_cases/p02948/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e86f0948edbc67e069290fee9e3292dc41985bfc
--- /dev/null
+++ b/public_test_cases/p02948/input.2.txt
@@ -0,0 +1,2 @@
+1 1
+2 1
diff --git a/public_test_cases/p02948/input.3.txt b/public_test_cases/p02948/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afbf8ad5a36285797e023ce41a73befd92420ba2
--- /dev/null
+++ b/public_test_cases/p02948/input.3.txt
@@ -0,0 +1,4 @@
+3 4
+4 3
+4 1
+2 2
diff --git a/public_test_cases/p02948/output.0.txt b/public_test_cases/p02948/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02948/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02948/output.1.txt b/public_test_cases/p02948/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02948/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02948/output.2.txt b/public_test_cases/p02948/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02948/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02948/output.3.txt b/public_test_cases/p02948/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02948/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02949/input.0.txt b/public_test_cases/p02949/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c35a48fab428d51ba4b7eca39fe5ff42823d2b3e
--- /dev/null
+++ b/public_test_cases/p02949/input.0.txt
@@ -0,0 +1,4 @@
+3 3 10
+1 2 20
+2 3 30
+1 3 45
diff --git a/public_test_cases/p02949/input.1.txt b/public_test_cases/p02949/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..769916d2deda9eb8dbe4528198a54bb1e1acacd5
--- /dev/null
+++ b/public_test_cases/p02949/input.1.txt
@@ -0,0 +1,3 @@
+2 2 10
+1 2 100
+2 2 100
diff --git a/public_test_cases/p02949/input.2.txt b/public_test_cases/p02949/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b93927c5f833d77f5ff4579d94918c4815092162
--- /dev/null
+++ b/public_test_cases/p02949/input.2.txt
@@ -0,0 +1,6 @@
+4 5 10
+1 2 1
+1 4 1
+3 4 1
+2 2 100
+3 3 100
diff --git a/public_test_cases/p02949/input.3.txt b/public_test_cases/p02949/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c35a48fab428d51ba4b7eca39fe5ff42823d2b3e
--- /dev/null
+++ b/public_test_cases/p02949/input.3.txt
@@ -0,0 +1,4 @@
+3 3 10
+1 2 20
+2 3 30
+1 3 45
diff --git a/public_test_cases/p02949/output.0.txt b/public_test_cases/p02949/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f92bfdd49766b1907d4aec8d3b0f9ed6129d0e6
--- /dev/null
+++ b/public_test_cases/p02949/output.0.txt
@@ -0,0 +1 @@
+35
diff --git a/public_test_cases/p02949/output.1.txt b/public_test_cases/p02949/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02949/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02949/output.2.txt b/public_test_cases/p02949/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02949/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02949/output.3.txt b/public_test_cases/p02949/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f92bfdd49766b1907d4aec8d3b0f9ed6129d0e6
--- /dev/null
+++ b/public_test_cases/p02949/output.3.txt
@@ -0,0 +1 @@
+35
diff --git a/public_test_cases/p02950/input.0.txt b/public_test_cases/p02950/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddc3c1999db7e43440e1656e263f439ae6955d01
--- /dev/null
+++ b/public_test_cases/p02950/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 0
diff --git a/public_test_cases/p02950/input.1.txt b/public_test_cases/p02950/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddc3c1999db7e43440e1656e263f439ae6955d01
--- /dev/null
+++ b/public_test_cases/p02950/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 0
diff --git a/public_test_cases/p02950/input.2.txt b/public_test_cases/p02950/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2edfca631f6b221d5a1dfd1f79e5a63d755b7b9d
--- /dev/null
+++ b/public_test_cases/p02950/input.2.txt
@@ -0,0 +1,2 @@
+3
+0 0 0
diff --git a/public_test_cases/p02950/input.3.txt b/public_test_cases/p02950/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9733d5f4081b110c4bebd17c398b6c1b4dc118c9
--- /dev/null
+++ b/public_test_cases/p02950/input.3.txt
@@ -0,0 +1,2 @@
+5
+0 1 0 1 0
diff --git a/public_test_cases/p02950/output.0.txt b/public_test_cases/p02950/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02950/output.0.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02950/output.1.txt b/public_test_cases/p02950/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p02950/output.1.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p02950/output.2.txt b/public_test_cases/p02950/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c7b77a21ad082741847f21e69d14e14c082a73
--- /dev/null
+++ b/public_test_cases/p02950/output.2.txt
@@ -0,0 +1 @@
+0 0 0
diff --git a/public_test_cases/p02950/output.3.txt b/public_test_cases/p02950/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a167449540c115e4258d63ffcc7b28bf98b2d82
--- /dev/null
+++ b/public_test_cases/p02950/output.3.txt
@@ -0,0 +1 @@
+0 2 0 1 3
diff --git a/public_test_cases/p02951/input.0.txt b/public_test_cases/p02951/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a4397a75e45e63706e546e7258d83fc2c94bb2e
--- /dev/null
+++ b/public_test_cases/p02951/input.0.txt
@@ -0,0 +1 @@
+6 4 3
diff --git a/public_test_cases/p02951/input.1.txt b/public_test_cases/p02951/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e63cb8edae60e235902a95927be5faa727b26a9
--- /dev/null
+++ b/public_test_cases/p02951/input.1.txt
@@ -0,0 +1 @@
+12 3 7
diff --git a/public_test_cases/p02951/input.2.txt b/public_test_cases/p02951/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7b51de501aba69a19ade9bcc466ab7d562476d4
--- /dev/null
+++ b/public_test_cases/p02951/input.2.txt
@@ -0,0 +1 @@
+8 3 9
diff --git a/public_test_cases/p02951/input.3.txt b/public_test_cases/p02951/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a4397a75e45e63706e546e7258d83fc2c94bb2e
--- /dev/null
+++ b/public_test_cases/p02951/input.3.txt
@@ -0,0 +1 @@
+6 4 3
diff --git a/public_test_cases/p02951/output.0.txt b/public_test_cases/p02951/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02951/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02951/output.1.txt b/public_test_cases/p02951/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02951/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02951/output.2.txt b/public_test_cases/p02951/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02951/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02951/output.3.txt b/public_test_cases/p02951/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02951/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02952/input.0.txt b/public_test_cases/p02952/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02952/input.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02952/input.1.txt b/public_test_cases/p02952/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p02952/input.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p02952/input.2.txt b/public_test_cases/p02952/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p02952/input.2.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p02952/input.3.txt b/public_test_cases/p02952/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7296f257eb19026f79767a2458bdf63ff9c29e51
--- /dev/null
+++ b/public_test_cases/p02952/input.3.txt
@@ -0,0 +1 @@
+136
diff --git a/public_test_cases/p02952/output.0.txt b/public_test_cases/p02952/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02952/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02952/output.1.txt b/public_test_cases/p02952/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02952/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02952/output.2.txt b/public_test_cases/p02952/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a69c3b255c6e354ce1ef27327197495258311cd3
--- /dev/null
+++ b/public_test_cases/p02952/output.2.txt
@@ -0,0 +1 @@
+90909
diff --git a/public_test_cases/p02952/output.3.txt b/public_test_cases/p02952/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e5feb5256930f3cae636754eef8a244ede164eb
--- /dev/null
+++ b/public_test_cases/p02952/output.3.txt
@@ -0,0 +1 @@
+46
diff --git a/public_test_cases/p02953/input.0.txt b/public_test_cases/p02953/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee2350d31ff0cff4b367c8b6abc5e66ce06d1e52
--- /dev/null
+++ b/public_test_cases/p02953/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 1 1 3
diff --git a/public_test_cases/p02953/input.1.txt b/public_test_cases/p02953/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8faee6e444a239b1e46632078e2c9378479346c1
--- /dev/null
+++ b/public_test_cases/p02953/input.1.txt
@@ -0,0 +1,2 @@
+1
+1000000000
diff --git a/public_test_cases/p02953/input.2.txt b/public_test_cases/p02953/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a25459fc2e0af102d924738ea0a953ea3f0e22f9
--- /dev/null
+++ b/public_test_cases/p02953/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 3 2 1
diff --git a/public_test_cases/p02953/input.3.txt b/public_test_cases/p02953/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p02953/input.3.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p02953/input.4.txt b/public_test_cases/p02953/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee2350d31ff0cff4b367c8b6abc5e66ce06d1e52
--- /dev/null
+++ b/public_test_cases/p02953/input.4.txt
@@ -0,0 +1,2 @@
+5
+1 2 1 1 3
diff --git a/public_test_cases/p02953/output.0.txt b/public_test_cases/p02953/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02953/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02953/output.1.txt b/public_test_cases/p02953/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02953/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02953/output.2.txt b/public_test_cases/p02953/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02953/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02953/output.3.txt b/public_test_cases/p02953/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02953/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02953/output.4.txt b/public_test_cases/p02953/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02953/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02954/input.0.txt b/public_test_cases/p02954/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c739d5d75c0ee634b549dcdb8bf5444a52c29e73
--- /dev/null
+++ b/public_test_cases/p02954/input.0.txt
@@ -0,0 +1 @@
+RRLRL
diff --git a/public_test_cases/p02954/input.1.txt b/public_test_cases/p02954/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bda8a855cff4c4e8085f8990911999cf589adf5
--- /dev/null
+++ b/public_test_cases/p02954/input.1.txt
@@ -0,0 +1 @@
+RRLLLLRLRRLL
diff --git a/public_test_cases/p02954/input.2.txt b/public_test_cases/p02954/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83be6e8bd78e570d4e45e57d105a72f07b4d81ac
--- /dev/null
+++ b/public_test_cases/p02954/input.2.txt
@@ -0,0 +1 @@
+RRRLLRLLRRRLLLLL
diff --git a/public_test_cases/p02954/input.3.txt b/public_test_cases/p02954/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c739d5d75c0ee634b549dcdb8bf5444a52c29e73
--- /dev/null
+++ b/public_test_cases/p02954/input.3.txt
@@ -0,0 +1 @@
+RRLRL
diff --git a/public_test_cases/p02954/output.0.txt b/public_test_cases/p02954/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d0c1642fa467cd5b53500c25c61511ae40ea3af
--- /dev/null
+++ b/public_test_cases/p02954/output.0.txt
@@ -0,0 +1 @@
+0 1 2 1 1
diff --git a/public_test_cases/p02954/output.1.txt b/public_test_cases/p02954/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4437ab4f7b78a5ce56863f883e43c33718eb5af
--- /dev/null
+++ b/public_test_cases/p02954/output.1.txt
@@ -0,0 +1 @@
+0 3 3 0 0 0 1 1 0 2 2 0
diff --git a/public_test_cases/p02954/output.2.txt b/public_test_cases/p02954/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6aa923cd1c7cfee75e921d3c994db85e538e32a5
--- /dev/null
+++ b/public_test_cases/p02954/output.2.txt
@@ -0,0 +1 @@
+0 0 3 2 0 2 1 0 0 0 4 4 0 0 0 0
diff --git a/public_test_cases/p02954/output.3.txt b/public_test_cases/p02954/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d0c1642fa467cd5b53500c25c61511ae40ea3af
--- /dev/null
+++ b/public_test_cases/p02954/output.3.txt
@@ -0,0 +1 @@
+0 1 2 1 1
diff --git a/public_test_cases/p02955/input.0.txt b/public_test_cases/p02955/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..881f192061d51ce9e8935bc63de1f5b44a7bed18
--- /dev/null
+++ b/public_test_cases/p02955/input.0.txt
@@ -0,0 +1,2 @@
+2 3
+8 20
diff --git a/public_test_cases/p02955/input.1.txt b/public_test_cases/p02955/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bcc7b088085ebbcf7f54b3a3907b41127e4fd78
--- /dev/null
+++ b/public_test_cases/p02955/input.1.txt
@@ -0,0 +1,2 @@
+8 7
+1 7 5 6 8 2 6 5
diff --git a/public_test_cases/p02955/input.2.txt b/public_test_cases/p02955/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46448584a757d718c9e0836373e2496f85abb741
--- /dev/null
+++ b/public_test_cases/p02955/input.2.txt
@@ -0,0 +1,2 @@
+2 10
+3 5
diff --git a/public_test_cases/p02955/input.3.txt b/public_test_cases/p02955/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..881f192061d51ce9e8935bc63de1f5b44a7bed18
--- /dev/null
+++ b/public_test_cases/p02955/input.3.txt
@@ -0,0 +1,2 @@
+2 3
+8 20
diff --git a/public_test_cases/p02955/input.4.txt b/public_test_cases/p02955/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01048315a2ad8e042273bf90e9bd1409c856587f
--- /dev/null
+++ b/public_test_cases/p02955/input.4.txt
@@ -0,0 +1,2 @@
+4 5
+10 1 2 22
diff --git a/public_test_cases/p02955/output.0.txt b/public_test_cases/p02955/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02955/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02955/output.1.txt b/public_test_cases/p02955/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02955/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02955/output.2.txt b/public_test_cases/p02955/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02955/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02955/output.3.txt b/public_test_cases/p02955/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02955/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02955/output.4.txt b/public_test_cases/p02955/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02955/output.4.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02956/input.0.txt b/public_test_cases/p02956/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08e9684260274c277e7d333cc778665147c3e880
--- /dev/null
+++ b/public_test_cases/p02956/input.0.txt
@@ -0,0 +1,4 @@
+3
+-1 3
+2 1
+3 -2
diff --git a/public_test_cases/p02956/input.1.txt b/public_test_cases/p02956/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08e9684260274c277e7d333cc778665147c3e880
--- /dev/null
+++ b/public_test_cases/p02956/input.1.txt
@@ -0,0 +1,4 @@
+3
+-1 3
+2 1
+3 -2
diff --git a/public_test_cases/p02956/input.2.txt b/public_test_cases/p02956/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77a2369603a77baf0a20419be5051e31a29ae3e5
--- /dev/null
+++ b/public_test_cases/p02956/input.2.txt
@@ -0,0 +1,11 @@
+10
+19 -11
+-3 -12
+5 3
+3 -15
+8 -14
+-9 -20
+10 -9
+0 2
+-7 17
+6 -6
diff --git a/public_test_cases/p02956/input.3.txt b/public_test_cases/p02956/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50f25e02a6904a39de0ad93222c510f93b582656
--- /dev/null
+++ b/public_test_cases/p02956/input.3.txt
@@ -0,0 +1,5 @@
+4
+1 4
+2 1
+3 3
+4 2
diff --git a/public_test_cases/p02956/output.0.txt b/public_test_cases/p02956/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02956/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02956/output.1.txt b/public_test_cases/p02956/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p02956/output.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p02956/output.2.txt b/public_test_cases/p02956/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ae19a1b29949253be0bbfcfc8bc5ffd908501f7
--- /dev/null
+++ b/public_test_cases/p02956/output.2.txt
@@ -0,0 +1 @@
+7222
diff --git a/public_test_cases/p02956/output.3.txt b/public_test_cases/p02956/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p02956/output.3.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p02957/input.0.txt b/public_test_cases/p02957/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ec49ebe9f5515dba17c808d9b91af0f209165a3
--- /dev/null
+++ b/public_test_cases/p02957/input.0.txt
@@ -0,0 +1 @@
+2 16
diff --git a/public_test_cases/p02957/input.1.txt b/public_test_cases/p02957/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf9767cc80ee543f2fa226b5d80185a2cf73ed75
--- /dev/null
+++ b/public_test_cases/p02957/input.1.txt
@@ -0,0 +1 @@
+998244353 99824435
diff --git a/public_test_cases/p02957/input.2.txt b/public_test_cases/p02957/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65c9b94edf74d6d9deb325c42d8a874189c9f202
--- /dev/null
+++ b/public_test_cases/p02957/input.2.txt
@@ -0,0 +1 @@
+0 3
diff --git a/public_test_cases/p02957/input.3.txt b/public_test_cases/p02957/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ec49ebe9f5515dba17c808d9b91af0f209165a3
--- /dev/null
+++ b/public_test_cases/p02957/input.3.txt
@@ -0,0 +1 @@
+2 16
diff --git a/public_test_cases/p02957/output.0.txt b/public_test_cases/p02957/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02957/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02957/output.1.txt b/public_test_cases/p02957/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4b789d4791c5535d37ea76258a242475f0cd776
--- /dev/null
+++ b/public_test_cases/p02957/output.1.txt
@@ -0,0 +1 @@
+549034394
diff --git a/public_test_cases/p02957/output.2.txt b/public_test_cases/p02957/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p02957/output.2.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p02957/output.3.txt b/public_test_cases/p02957/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02957/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02958/input.0.txt b/public_test_cases/p02958/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be94e4904467751ef2c45cb4f80f856c70e7c099
--- /dev/null
+++ b/public_test_cases/p02958/input.0.txt
@@ -0,0 +1,2 @@
+5
+5 2 3 4 1
diff --git a/public_test_cases/p02958/input.1.txt b/public_test_cases/p02958/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..357cfe1f795f845bf78b71ad9fdb199f026cc60e
--- /dev/null
+++ b/public_test_cases/p02958/input.1.txt
@@ -0,0 +1,2 @@
+5
+2 4 3 5 1
diff --git a/public_test_cases/p02958/input.2.txt b/public_test_cases/p02958/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1867bcc2bb2dbdce09956ca9bd917b085cfdda7b
--- /dev/null
+++ b/public_test_cases/p02958/input.2.txt
@@ -0,0 +1,2 @@
+7
+1 2 3 4 5 6 7
diff --git a/public_test_cases/p02958/input.3.txt b/public_test_cases/p02958/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be94e4904467751ef2c45cb4f80f856c70e7c099
--- /dev/null
+++ b/public_test_cases/p02958/input.3.txt
@@ -0,0 +1,2 @@
+5
+5 2 3 4 1
diff --git a/public_test_cases/p02958/output.0.txt b/public_test_cases/p02958/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p02958/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p02958/output.1.txt b/public_test_cases/p02958/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p02958/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p02958/output.2.txt b/public_test_cases/p02958/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p02958/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p02958/output.3.txt b/public_test_cases/p02958/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p02958/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p02959/input.0.txt b/public_test_cases/p02959/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9fd5c99953b21b82ffe1c90719e788a8d2072ab
--- /dev/null
+++ b/public_test_cases/p02959/input.0.txt
@@ -0,0 +1,3 @@
+2
+3 5 2
+4 5
diff --git a/public_test_cases/p02959/input.1.txt b/public_test_cases/p02959/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee583d499df942baae43f0422192f4bee2f9935c
--- /dev/null
+++ b/public_test_cases/p02959/input.1.txt
@@ -0,0 +1,3 @@
+3
+5 6 3 8
+5 100 8
diff --git a/public_test_cases/p02959/input.2.txt b/public_test_cases/p02959/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..451769752d64bce42c07155dd59884c1775bf7e0
--- /dev/null
+++ b/public_test_cases/p02959/input.2.txt
@@ -0,0 +1,3 @@
+2
+100 1 1
+1 100
diff --git a/public_test_cases/p02959/input.3.txt b/public_test_cases/p02959/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9fd5c99953b21b82ffe1c90719e788a8d2072ab
--- /dev/null
+++ b/public_test_cases/p02959/input.3.txt
@@ -0,0 +1,3 @@
+2
+3 5 2
+4 5
diff --git a/public_test_cases/p02959/output.0.txt b/public_test_cases/p02959/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02959/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02959/output.1.txt b/public_test_cases/p02959/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p02959/output.1.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p02959/output.2.txt b/public_test_cases/p02959/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02959/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02959/output.3.txt b/public_test_cases/p02959/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p02959/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p02960/input.0.txt b/public_test_cases/p02960/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2956a0356303fecd38ec2e291db37620c142436
--- /dev/null
+++ b/public_test_cases/p02960/input.0.txt
@@ -0,0 +1 @@
+??2??5
diff --git a/public_test_cases/p02960/input.1.txt b/public_test_cases/p02960/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d44f0561c94593900260b358ce7c55b7e9d1855
--- /dev/null
+++ b/public_test_cases/p02960/input.1.txt
@@ -0,0 +1 @@
+7?4
diff --git a/public_test_cases/p02960/input.2.txt b/public_test_cases/p02960/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2956a0356303fecd38ec2e291db37620c142436
--- /dev/null
+++ b/public_test_cases/p02960/input.2.txt
@@ -0,0 +1 @@
+??2??5
diff --git a/public_test_cases/p02960/input.3.txt b/public_test_cases/p02960/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..611a2a3999869a9a386a0d4dd3add3981641cc38
--- /dev/null
+++ b/public_test_cases/p02960/input.3.txt
@@ -0,0 +1 @@
+?6?42???8??2??06243????9??3???7258??5??7???????774????4?1??17???9?5?70???76???
diff --git a/public_test_cases/p02960/input.4.txt b/public_test_cases/p02960/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2e475020e12431c0891195f1fba60645b8b69a3
--- /dev/null
+++ b/public_test_cases/p02960/input.4.txt
@@ -0,0 +1 @@
+?44
diff --git a/public_test_cases/p02960/output.0.txt b/public_test_cases/p02960/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc763b654ed0a41e0a856ff31ee0c0447d29dca4
--- /dev/null
+++ b/public_test_cases/p02960/output.0.txt
@@ -0,0 +1 @@
+768
diff --git a/public_test_cases/p02960/output.1.txt b/public_test_cases/p02960/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02960/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02960/output.2.txt b/public_test_cases/p02960/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc763b654ed0a41e0a856ff31ee0c0447d29dca4
--- /dev/null
+++ b/public_test_cases/p02960/output.2.txt
@@ -0,0 +1 @@
+768
diff --git a/public_test_cases/p02960/output.3.txt b/public_test_cases/p02960/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82bdff1ed455a3716690516618f38df5f01b70b4
--- /dev/null
+++ b/public_test_cases/p02960/output.3.txt
@@ -0,0 +1 @@
+153716888
diff --git a/public_test_cases/p02960/output.4.txt b/public_test_cases/p02960/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02960/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02962/input.0.txt b/public_test_cases/p02962/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00e07fae87553e15e888c587877bc689fd5d4991
--- /dev/null
+++ b/public_test_cases/p02962/input.0.txt
@@ -0,0 +1,2 @@
+abcabab
+ab
diff --git a/public_test_cases/p02962/input.1.txt b/public_test_cases/p02962/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac70c93aec18338d399109066392f23b4f2700ae
--- /dev/null
+++ b/public_test_cases/p02962/input.1.txt
@@ -0,0 +1,2 @@
+aa
+aaaaaaa
diff --git a/public_test_cases/p02962/input.2.txt b/public_test_cases/p02962/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a957f2802f2237c9b79370811abdc9bffa456ec2
--- /dev/null
+++ b/public_test_cases/p02962/input.2.txt
@@ -0,0 +1,2 @@
+aba
+baaab
diff --git a/public_test_cases/p02962/input.3.txt b/public_test_cases/p02962/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00e07fae87553e15e888c587877bc689fd5d4991
--- /dev/null
+++ b/public_test_cases/p02962/input.3.txt
@@ -0,0 +1,2 @@
+abcabab
+ab
diff --git a/public_test_cases/p02962/output.0.txt b/public_test_cases/p02962/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02962/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02962/output.1.txt b/public_test_cases/p02962/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02962/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02962/output.2.txt b/public_test_cases/p02962/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02962/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02962/output.3.txt b/public_test_cases/p02962/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02962/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02963/input.0.txt b/public_test_cases/p02963/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02963/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02963/input.1.txt b/public_test_cases/p02963/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p02963/input.1.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p02963/input.2.txt b/public_test_cases/p02963/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d3101890d2179ae82878597e13ec724677f1063
--- /dev/null
+++ b/public_test_cases/p02963/input.2.txt
@@ -0,0 +1 @@
+311114770564041497
diff --git a/public_test_cases/p02963/input.3.txt b/public_test_cases/p02963/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02963/input.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02963/output.0.txt b/public_test_cases/p02963/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..706287a5fadfc8005e572e6dd27589e52d4222ed
--- /dev/null
+++ b/public_test_cases/p02963/output.0.txt
@@ -0,0 +1 @@
+1 0 2 2 0 1
diff --git a/public_test_cases/p02963/output.1.txt b/public_test_cases/p02963/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aae8f7c5b211a1a02fc21712237474b0645178a4
--- /dev/null
+++ b/public_test_cases/p02963/output.1.txt
@@ -0,0 +1 @@
+0 0 10 0 0 10
diff --git a/public_test_cases/p02963/output.2.txt b/public_test_cases/p02963/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bed34a5b9a9bda954a8ab5f7302fda3c32b58c51
--- /dev/null
+++ b/public_test_cases/p02963/output.2.txt
@@ -0,0 +1 @@
+314159265 358979323 846264338 327950288 419716939 937510582
diff --git a/public_test_cases/p02963/output.3.txt b/public_test_cases/p02963/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..706287a5fadfc8005e572e6dd27589e52d4222ed
--- /dev/null
+++ b/public_test_cases/p02963/output.3.txt
@@ -0,0 +1 @@
+1 0 2 2 0 1
diff --git a/public_test_cases/p02964/input.0.txt b/public_test_cases/p02964/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9449aaf96205d69e1287aa4d54e666c05b1e25a1
--- /dev/null
+++ b/public_test_cases/p02964/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+1 2 3
diff --git a/public_test_cases/p02964/input.1.txt b/public_test_cases/p02964/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6c5201213021e05ce3bdec91f24abbe4aedefe1
--- /dev/null
+++ b/public_test_cases/p02964/input.1.txt
@@ -0,0 +1,2 @@
+11 97
+3 1 4 1 5 9 2 6 5 3 5
diff --git a/public_test_cases/p02964/input.2.txt b/public_test_cases/p02964/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..336453338000ea49ff62305e75c2edbb3c97782f
--- /dev/null
+++ b/public_test_cases/p02964/input.2.txt
@@ -0,0 +1,2 @@
+5 10
+1 2 3 2 3
diff --git a/public_test_cases/p02964/input.3.txt b/public_test_cases/p02964/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68e2e35b8f2f1cb3275519a00c6091a14e0b37fc
--- /dev/null
+++ b/public_test_cases/p02964/input.3.txt
@@ -0,0 +1,2 @@
+6 1000000000000
+1 1 2 2 3 3
diff --git a/public_test_cases/p02964/input.4.txt b/public_test_cases/p02964/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9449aaf96205d69e1287aa4d54e666c05b1e25a1
--- /dev/null
+++ b/public_test_cases/p02964/input.4.txt
@@ -0,0 +1,2 @@
+3 2
+1 2 3
diff --git a/public_test_cases/p02964/output.0.txt b/public_test_cases/p02964/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02964/output.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02964/output.1.txt b/public_test_cases/p02964/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5ab51e16b96f2680f7071b751735e7534f9aa1c
--- /dev/null
+++ b/public_test_cases/p02964/output.1.txt
@@ -0,0 +1 @@
+9 2 6
diff --git a/public_test_cases/p02964/output.2.txt b/public_test_cases/p02964/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02964/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02964/output.3.txt b/public_test_cases/p02964/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02964/output.3.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02964/output.4.txt b/public_test_cases/p02964/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02964/output.4.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02965/input.0.txt b/public_test_cases/p02965/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02965/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02965/input.1.txt b/public_test_cases/p02965/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02965/input.1.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02965/input.2.txt b/public_test_cases/p02965/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9883ff3b05848d6fcf90358a9ec7d1638df9236f
--- /dev/null
+++ b/public_test_cases/p02965/input.2.txt
@@ -0,0 +1 @@
+100000 50000
diff --git a/public_test_cases/p02965/input.3.txt b/public_test_cases/p02965/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6bc7799eba513be6b20846b727f864fb7acabcd
--- /dev/null
+++ b/public_test_cases/p02965/input.3.txt
@@ -0,0 +1 @@
+10 10
diff --git a/public_test_cases/p02965/input.4.txt b/public_test_cases/p02965/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p02965/input.4.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p02965/output.0.txt b/public_test_cases/p02965/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02965/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02965/output.1.txt b/public_test_cases/p02965/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p02965/output.1.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p02965/output.2.txt b/public_test_cases/p02965/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cf00c7b9f355e72c1f62e6cc18b7280664203ab
--- /dev/null
+++ b/public_test_cases/p02965/output.2.txt
@@ -0,0 +1 @@
+3463133
diff --git a/public_test_cases/p02965/output.3.txt b/public_test_cases/p02965/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fa69b7641caf41e71d0ce9d001e9ac2b0d3e81a
--- /dev/null
+++ b/public_test_cases/p02965/output.3.txt
@@ -0,0 +1 @@
+211428932
diff --git a/public_test_cases/p02965/output.4.txt b/public_test_cases/p02965/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02965/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02966/input.0.txt b/public_test_cases/p02966/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c2cc60932882fdaffc1a6ab4bcbc6792a98a782
--- /dev/null
+++ b/public_test_cases/p02966/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 1
+1 4
+3 3
diff --git a/public_test_cases/p02966/input.1.txt b/public_test_cases/p02966/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..170c93e8d3e978697d4ef3ef015dbab7e81366f3
--- /dev/null
+++ b/public_test_cases/p02966/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 1 1
+1 1 1
+1 1 1
+1 1 1
diff --git a/public_test_cases/p02966/input.2.txt b/public_test_cases/p02966/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c2cc60932882fdaffc1a6ab4bcbc6792a98a782
--- /dev/null
+++ b/public_test_cases/p02966/input.2.txt
@@ -0,0 +1,4 @@
+3
+2 1
+1 4
+3 3
diff --git a/public_test_cases/p02966/input.3.txt b/public_test_cases/p02966/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f45f9d961ff87a83b8359a9c22a42c7d82ecaf6f
--- /dev/null
+++ b/public_test_cases/p02966/input.3.txt
@@ -0,0 +1,11 @@
+10
+190587 2038070 142162180 88207341 215145790 38 2 5 20
+32047998 21426 4177178 52 734621629 2596 102224223 5 1864
+41 481241221 1518272 51 772 146 8805349 3243297 449
+918151 126080576 5186563 46354 6646 491776 5750138 2897 161
+3656 7551068 2919714 43035419 495 3408 26 3317 2698
+455357 3 12 1857 5459 7870 4123856 2402 258
+3 25700 16191 102120 971821039 52375 40449 20548149 16186673
+2 16 130300357 18 6574485 29175 179 1693 2681
+99 833 131 2 414045824 57357 56 302669472 95
+8408 7 1266941 60620177 129747 41382505 38966 187 5151064
diff --git a/public_test_cases/p02966/output.0.txt b/public_test_cases/p02966/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02966/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02966/output.1.txt b/public_test_cases/p02966/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02966/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02966/output.2.txt b/public_test_cases/p02966/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02966/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02966/output.3.txt b/public_test_cases/p02966/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..017c9e82791d0763bb3dfab257703434fbc502ec
--- /dev/null
+++ b/public_test_cases/p02966/output.3.txt
@@ -0,0 +1 @@
+2280211
diff --git a/public_test_cases/p02967/input.0.txt b/public_test_cases/p02967/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2f94180dbeb2696d41a56dacb3c59cd7c344702
--- /dev/null
+++ b/public_test_cases/p02967/input.0.txt
@@ -0,0 +1 @@
+ABBCBCAB
diff --git a/public_test_cases/p02967/input.1.txt b/public_test_cases/p02967/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e723c5b3a50a4be39ebda405bb7bec7d311a3487
--- /dev/null
+++ b/public_test_cases/p02967/input.1.txt
@@ -0,0 +1 @@
+ABABABABACACACAC
diff --git a/public_test_cases/p02967/input.2.txt b/public_test_cases/p02967/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2f94180dbeb2696d41a56dacb3c59cd7c344702
--- /dev/null
+++ b/public_test_cases/p02967/input.2.txt
@@ -0,0 +1 @@
+ABBCBCAB
diff --git a/public_test_cases/p02967/input.3.txt b/public_test_cases/p02967/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9780810a05270030d9ff66e8698f6f767461ee4f
--- /dev/null
+++ b/public_test_cases/p02967/input.3.txt
@@ -0,0 +1 @@
+ABCABACBCBABABACBCBCBCBCBCAB
diff --git a/public_test_cases/p02967/input.4.txt b/public_test_cases/p02967/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43d5a8ed6ef6c00ff775008633f95787d088285d
--- /dev/null
+++ b/public_test_cases/p02967/input.4.txt
@@ -0,0 +1 @@
+AAA
diff --git a/public_test_cases/p02967/output.0.txt b/public_test_cases/p02967/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03dadd7b431f9f607940d146b523dfb5d84d6f3d
--- /dev/null
+++ b/public_test_cases/p02967/output.0.txt
@@ -0,0 +1 @@
+ACBCAB
diff --git a/public_test_cases/p02967/output.1.txt b/public_test_cases/p02967/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9eace2730e30650383fdebf79377812e196a1ebd
--- /dev/null
+++ b/public_test_cases/p02967/output.1.txt
@@ -0,0 +1 @@
+BABCAC
diff --git a/public_test_cases/p02967/output.2.txt b/public_test_cases/p02967/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03dadd7b431f9f607940d146b523dfb5d84d6f3d
--- /dev/null
+++ b/public_test_cases/p02967/output.2.txt
@@ -0,0 +1 @@
+ACBCAB
diff --git a/public_test_cases/p02967/output.3.txt b/public_test_cases/p02967/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2773b7d34c5f8e616f975989914a6a396585372c
--- /dev/null
+++ b/public_test_cases/p02967/output.3.txt
@@ -0,0 +1 @@
+ACABACABABACBCBCBCBCA
diff --git a/public_test_cases/p02967/output.4.txt b/public_test_cases/p02967/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p02967/output.4.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p02968/input.0.txt b/public_test_cases/p02968/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd977a1d53bc1506bc30ab6d858da4e6d725c307
--- /dev/null
+++ b/public_test_cases/p02968/input.0.txt
@@ -0,0 +1 @@
+2 998244353
diff --git a/public_test_cases/p02968/input.1.txt b/public_test_cases/p02968/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33fd552d2f1ce1e75be76f3955ad25169d87e713
--- /dev/null
+++ b/public_test_cases/p02968/input.1.txt
@@ -0,0 +1 @@
+10 998244353
diff --git a/public_test_cases/p02968/input.2.txt b/public_test_cases/p02968/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd977a1d53bc1506bc30ab6d858da4e6d725c307
--- /dev/null
+++ b/public_test_cases/p02968/input.2.txt
@@ -0,0 +1 @@
+2 998244353
diff --git a/public_test_cases/p02968/input.3.txt b/public_test_cases/p02968/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f40113ffe59914555ec4423d0a4edb4bdff76989
--- /dev/null
+++ b/public_test_cases/p02968/input.3.txt
@@ -0,0 +1 @@
+200 998244353
diff --git a/public_test_cases/p02968/output.0.txt b/public_test_cases/p02968/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02968/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02968/output.1.txt b/public_test_cases/p02968/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ba882458f550d47d81de1b56ee7bac70a0c746b
--- /dev/null
+++ b/public_test_cases/p02968/output.1.txt
@@ -0,0 +1 @@
+53999264
diff --git a/public_test_cases/p02968/output.2.txt b/public_test_cases/p02968/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02968/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02968/output.3.txt b/public_test_cases/p02968/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96ae987365fb998d9dbdbfd2c9e27889f40b42ac
--- /dev/null
+++ b/public_test_cases/p02968/output.3.txt
@@ -0,0 +1 @@
+112633322
diff --git a/public_test_cases/p02969/input.0.txt b/public_test_cases/p02969/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02969/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02969/input.1.txt b/public_test_cases/p02969/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02969/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02969/input.2.txt b/public_test_cases/p02969/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p02969/input.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p02969/input.3.txt b/public_test_cases/p02969/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p02969/input.3.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p02969/output.0.txt b/public_test_cases/p02969/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21e72e8ac3d7e23bd6532b5f1f4a6bdf8362e6cf
--- /dev/null
+++ b/public_test_cases/p02969/output.0.txt
@@ -0,0 +1 @@
+48
diff --git a/public_test_cases/p02969/output.1.txt b/public_test_cases/p02969/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21e72e8ac3d7e23bd6532b5f1f4a6bdf8362e6cf
--- /dev/null
+++ b/public_test_cases/p02969/output.1.txt
@@ -0,0 +1 @@
+48
diff --git a/public_test_cases/p02969/output.2.txt b/public_test_cases/p02969/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5b667a16c49f6a1cd6228dbcfd9fceb40358ba4
--- /dev/null
+++ b/public_test_cases/p02969/output.2.txt
@@ -0,0 +1 @@
+675
diff --git a/public_test_cases/p02969/output.3.txt b/public_test_cases/p02969/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca5632cc10bfbffd86c943da866db98b4da97269
--- /dev/null
+++ b/public_test_cases/p02969/output.3.txt
@@ -0,0 +1 @@
+19200
diff --git a/public_test_cases/p02970/input.0.txt b/public_test_cases/p02970/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edce53aaab07d1e84cae7cb3ada36005ca0e255f
--- /dev/null
+++ b/public_test_cases/p02970/input.0.txt
@@ -0,0 +1 @@
+6 2
diff --git a/public_test_cases/p02970/input.1.txt b/public_test_cases/p02970/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5125487c8c7266376d97926ef7da7ad74c29f6de
--- /dev/null
+++ b/public_test_cases/p02970/input.1.txt
@@ -0,0 +1 @@
+20 4
diff --git a/public_test_cases/p02970/input.2.txt b/public_test_cases/p02970/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8cfc358cbd67c190388a8978829c5192f602f6a
--- /dev/null
+++ b/public_test_cases/p02970/input.2.txt
@@ -0,0 +1 @@
+14 3
diff --git a/public_test_cases/p02970/input.3.txt b/public_test_cases/p02970/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edce53aaab07d1e84cae7cb3ada36005ca0e255f
--- /dev/null
+++ b/public_test_cases/p02970/input.3.txt
@@ -0,0 +1 @@
+6 2
diff --git a/public_test_cases/p02970/output.0.txt b/public_test_cases/p02970/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02970/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02970/output.1.txt b/public_test_cases/p02970/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02970/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02970/output.2.txt b/public_test_cases/p02970/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02970/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02970/output.3.txt b/public_test_cases/p02970/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02970/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02971/input.0.txt b/public_test_cases/p02971/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f175ca084850746eb06699e3f0171c0d82d3622
--- /dev/null
+++ b/public_test_cases/p02971/input.0.txt
@@ -0,0 +1,4 @@
+3
+1
+4
+3
diff --git a/public_test_cases/p02971/input.1.txt b/public_test_cases/p02971/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43ef02e3de6652847b39caafa66b03c7897b9e7a
--- /dev/null
+++ b/public_test_cases/p02971/input.1.txt
@@ -0,0 +1,3 @@
+2
+5
+5
diff --git a/public_test_cases/p02971/input.2.txt b/public_test_cases/p02971/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f175ca084850746eb06699e3f0171c0d82d3622
--- /dev/null
+++ b/public_test_cases/p02971/input.2.txt
@@ -0,0 +1,4 @@
+3
+1
+4
+3
diff --git a/public_test_cases/p02971/output.0.txt b/public_test_cases/p02971/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..634c9ab0d87cd3be98dd77aafa6bc07f238340e0
--- /dev/null
+++ b/public_test_cases/p02971/output.0.txt
@@ -0,0 +1,3 @@
+4
+3
+4
diff --git a/public_test_cases/p02971/output.1.txt b/public_test_cases/p02971/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd3c81a4d763121f1827c8b4bbdd0cef674c30f9
--- /dev/null
+++ b/public_test_cases/p02971/output.1.txt
@@ -0,0 +1,2 @@
+5
+5
diff --git a/public_test_cases/p02971/output.2.txt b/public_test_cases/p02971/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..634c9ab0d87cd3be98dd77aafa6bc07f238340e0
--- /dev/null
+++ b/public_test_cases/p02971/output.2.txt
@@ -0,0 +1,3 @@
+4
+3
+4
diff --git a/public_test_cases/p02972/input.0.txt b/public_test_cases/p02972/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0182861e889d13c8dc23c98b8a78ccc741550894
--- /dev/null
+++ b/public_test_cases/p02972/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 0 0
diff --git a/public_test_cases/p02972/input.1.txt b/public_test_cases/p02972/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b541ffb87392aae1f65a1d55b69720c286393883
--- /dev/null
+++ b/public_test_cases/p02972/input.1.txt
@@ -0,0 +1,2 @@
+5
+0 0 0 0 0
diff --git a/public_test_cases/p02972/input.2.txt b/public_test_cases/p02972/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0182861e889d13c8dc23c98b8a78ccc741550894
--- /dev/null
+++ b/public_test_cases/p02972/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 0 0
diff --git a/public_test_cases/p02972/output.0.txt b/public_test_cases/p02972/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p02972/output.0.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p02972/output.1.txt b/public_test_cases/p02972/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02972/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02972/output.2.txt b/public_test_cases/p02972/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p02972/output.2.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p02973/input.0.txt b/public_test_cases/p02973/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13070f11190ab92a512e803d048ee2d318090926
--- /dev/null
+++ b/public_test_cases/p02973/input.0.txt
@@ -0,0 +1,6 @@
+5
+2
+1
+4
+5
+3
diff --git a/public_test_cases/p02973/input.1.txt b/public_test_cases/p02973/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b52b627805c6c5fe8c763170f22d11641af8c6c9
--- /dev/null
+++ b/public_test_cases/p02973/input.1.txt
@@ -0,0 +1,5 @@
+4
+0
+0
+0
+0
diff --git a/public_test_cases/p02973/input.2.txt b/public_test_cases/p02973/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13070f11190ab92a512e803d048ee2d318090926
--- /dev/null
+++ b/public_test_cases/p02973/input.2.txt
@@ -0,0 +1,6 @@
+5
+2
+1
+4
+5
+3
diff --git a/public_test_cases/p02973/output.0.txt b/public_test_cases/p02973/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02973/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02973/output.1.txt b/public_test_cases/p02973/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p02973/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p02973/output.2.txt b/public_test_cases/p02973/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02973/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02974/input.0.txt b/public_test_cases/p02974/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02974/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02974/input.1.txt b/public_test_cases/p02974/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68d8e3b5e8ffe4ca0c20f3b8d966d97ed3cfdb09
--- /dev/null
+++ b/public_test_cases/p02974/input.1.txt
@@ -0,0 +1 @@
+39 14
diff --git a/public_test_cases/p02974/input.2.txt b/public_test_cases/p02974/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02974/input.2.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02974/output.0.txt b/public_test_cases/p02974/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02974/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02974/output.1.txt b/public_test_cases/p02974/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4f2694d6ae077b9f467b2cbbe480035ac71444e
--- /dev/null
+++ b/public_test_cases/p02974/output.1.txt
@@ -0,0 +1 @@
+74764168
diff --git a/public_test_cases/p02974/output.2.txt b/public_test_cases/p02974/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02974/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02975/input.0.txt b/public_test_cases/p02975/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02975/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02975/input.1.txt b/public_test_cases/p02975/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p02975/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p02975/input.2.txt b/public_test_cases/p02975/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcd4007f47f8446e2d03da988c565e8a99c2bd86
--- /dev/null
+++ b/public_test_cases/p02975/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 2 4 8
diff --git a/public_test_cases/p02975/output.0.txt b/public_test_cases/p02975/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02975/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02975/output.1.txt b/public_test_cases/p02975/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02975/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02975/output.2.txt b/public_test_cases/p02975/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02975/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02976/input.0.txt b/public_test_cases/p02976/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e5b02d4ce0ae2d57ab906325e55bf8f13d9caca
--- /dev/null
+++ b/public_test_cases/p02976/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+3 4
+4 1
diff --git a/public_test_cases/p02976/input.1.txt b/public_test_cases/p02976/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6685be15107c879bf3e4a65aa63726abbe9db0b
--- /dev/null
+++ b/public_test_cases/p02976/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+1 2
+2 3
+3 4
+2 5
+4 5
diff --git a/public_test_cases/p02976/input.2.txt b/public_test_cases/p02976/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e5b02d4ce0ae2d57ab906325e55bf8f13d9caca
--- /dev/null
+++ b/public_test_cases/p02976/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+3 4
+4 1
diff --git a/public_test_cases/p02976/output.0.txt b/public_test_cases/p02976/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47d5a464b321097d5d00e442de181834532d9bee
--- /dev/null
+++ b/public_test_cases/p02976/output.0.txt
@@ -0,0 +1,4 @@
+1 2
+1 4
+3 2
+3 4
diff --git a/public_test_cases/p02976/output.1.txt b/public_test_cases/p02976/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02976/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02976/output.2.txt b/public_test_cases/p02976/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47d5a464b321097d5d00e442de181834532d9bee
--- /dev/null
+++ b/public_test_cases/p02976/output.2.txt
@@ -0,0 +1,4 @@
+1 2
+1 4
+3 2
+3 4
diff --git a/public_test_cases/p02977/input.0.txt b/public_test_cases/p02977/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02977/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02977/input.1.txt b/public_test_cases/p02977/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02977/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02977/input.2.txt b/public_test_cases/p02977/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p02977/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p02977/output.0.txt b/public_test_cases/p02977/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a768008b49e86f045dc2e66accb8edba284af82d
--- /dev/null
+++ b/public_test_cases/p02977/output.0.txt
@@ -0,0 +1,6 @@
+Yes
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p02977/output.1.txt b/public_test_cases/p02977/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02977/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02977/output.2.txt b/public_test_cases/p02977/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a768008b49e86f045dc2e66accb8edba284af82d
--- /dev/null
+++ b/public_test_cases/p02977/output.2.txt
@@ -0,0 +1,6 @@
+Yes
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p02978/input.0.txt b/public_test_cases/p02978/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68987dd7c65edd294da8ba1f3ec99f9ebf42f8ef
--- /dev/null
+++ b/public_test_cases/p02978/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 1 4 2
diff --git a/public_test_cases/p02978/input.1.txt b/public_test_cases/p02978/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f63eb2bbdec3e47773eb4084d4df93d9305f9655
--- /dev/null
+++ b/public_test_cases/p02978/input.1.txt
@@ -0,0 +1,2 @@
+10
+3 1 4 1 5 9 2 6 5 3
diff --git a/public_test_cases/p02978/input.2.txt b/public_test_cases/p02978/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7507e71112066d3d939feef893cbd2c96c00183c
--- /dev/null
+++ b/public_test_cases/p02978/input.2.txt
@@ -0,0 +1,2 @@
+6
+5 2 4 1 6 9
diff --git a/public_test_cases/p02978/input.3.txt b/public_test_cases/p02978/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68987dd7c65edd294da8ba1f3ec99f9ebf42f8ef
--- /dev/null
+++ b/public_test_cases/p02978/input.3.txt
@@ -0,0 +1,2 @@
+4
+3 1 4 2
diff --git a/public_test_cases/p02978/output.0.txt b/public_test_cases/p02978/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p02978/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p02978/output.1.txt b/public_test_cases/p02978/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee977b5ecd771ba136572d97b7457d6d2d2e4c0d
--- /dev/null
+++ b/public_test_cases/p02978/output.1.txt
@@ -0,0 +1 @@
+115
diff --git a/public_test_cases/p02978/output.2.txt b/public_test_cases/p02978/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82cced27d7be32719d009707139bd949ad6263c9
--- /dev/null
+++ b/public_test_cases/p02978/output.2.txt
@@ -0,0 +1 @@
+51
diff --git a/public_test_cases/p02978/output.3.txt b/public_test_cases/p02978/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p02978/output.3.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p02979/input.0.txt b/public_test_cases/p02979/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a84a607c7fdcd14b403a1574b0b3d51db8e44033
--- /dev/null
+++ b/public_test_cases/p02979/input.0.txt
@@ -0,0 +1 @@
+3 1 998244353
diff --git a/public_test_cases/p02979/input.1.txt b/public_test_cases/p02979/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee6ebc154b8328e47fe7ef45941d41cdeac00d69
--- /dev/null
+++ b/public_test_cases/p02979/input.1.txt
@@ -0,0 +1 @@
+17 7 208992811
diff --git a/public_test_cases/p02979/input.2.txt b/public_test_cases/p02979/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1588d460137e196b2681e760abbcaadc27eebd13
--- /dev/null
+++ b/public_test_cases/p02979/input.2.txt
@@ -0,0 +1 @@
+123 45 678901234
diff --git a/public_test_cases/p02979/input.3.txt b/public_test_cases/p02979/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e968624957e3025e1911dc1ad0bc64e2e8eddb3
--- /dev/null
+++ b/public_test_cases/p02979/input.3.txt
@@ -0,0 +1 @@
+9 4 702443618
diff --git a/public_test_cases/p02979/input.4.txt b/public_test_cases/p02979/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a84a607c7fdcd14b403a1574b0b3d51db8e44033
--- /dev/null
+++ b/public_test_cases/p02979/input.4.txt
@@ -0,0 +1 @@
+3 1 998244353
diff --git a/public_test_cases/p02979/input.5.txt b/public_test_cases/p02979/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2feb7ab81899f8314f4a13a34f6db0ed95ab3f2d
--- /dev/null
+++ b/public_test_cases/p02979/input.5.txt
@@ -0,0 +1 @@
+6 3 998244353
diff --git a/public_test_cases/p02979/output.0.txt b/public_test_cases/p02979/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02979/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02979/output.1.txt b/public_test_cases/p02979/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0da045df231b6b183ec5beb13493b7aba5ceb61
--- /dev/null
+++ b/public_test_cases/p02979/output.1.txt
@@ -0,0 +1 @@
+128832
diff --git a/public_test_cases/p02979/output.2.txt b/public_test_cases/p02979/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9048a3ece55c72be97d58e0f7b820c2e3f3fe41
--- /dev/null
+++ b/public_test_cases/p02979/output.2.txt
@@ -0,0 +1 @@
+256109226
diff --git a/public_test_cases/p02979/output.3.txt b/public_test_cases/p02979/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1e0432c9a7d553d7b06d64216b464bc80b234bc
--- /dev/null
+++ b/public_test_cases/p02979/output.3.txt
@@ -0,0 +1 @@
+312
diff --git a/public_test_cases/p02979/output.4.txt b/public_test_cases/p02979/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02979/output.4.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02979/output.5.txt b/public_test_cases/p02979/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1e7d265fcc1d93320d7446fa1755892417f1f90
--- /dev/null
+++ b/public_test_cases/p02979/output.5.txt
@@ -0,0 +1 @@
+61
diff --git a/public_test_cases/p02980/input.0.txt b/public_test_cases/p02980/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p02980/input.0.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p02980/input.1.txt b/public_test_cases/p02980/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e9a360d9ec3f274b2491ac5a45d8095d9fc2d8b
--- /dev/null
+++ b/public_test_cases/p02980/input.1.txt
@@ -0,0 +1 @@
+10 7
diff --git a/public_test_cases/p02980/input.2.txt b/public_test_cases/p02980/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p02980/input.2.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p02980/input.3.txt b/public_test_cases/p02980/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p02980/input.3.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p02980/input.4.txt b/public_test_cases/p02980/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8238c5f38ef0a08032556e77c8f41b909004c33d
--- /dev/null
+++ b/public_test_cases/p02980/input.4.txt
@@ -0,0 +1 @@
+314159 265358
diff --git a/public_test_cases/p02980/output.0.txt b/public_test_cases/p02980/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02980/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02980/output.1.txt b/public_test_cases/p02980/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f031851bd0902b927adcb0f04025b1c7c2473dfa
--- /dev/null
+++ b/public_test_cases/p02980/output.1.txt
@@ -0,0 +1 @@
+995651918
diff --git a/public_test_cases/p02980/output.2.txt b/public_test_cases/p02980/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b5813c6a7ebef887d9dc34812413e64603bc838
--- /dev/null
+++ b/public_test_cases/p02980/output.2.txt
@@ -0,0 +1 @@
+234
diff --git a/public_test_cases/p02980/output.3.txt b/public_test_cases/p02980/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02980/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02980/output.4.txt b/public_test_cases/p02980/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b06787975c198f306469272068399b9bee4743aa
--- /dev/null
+++ b/public_test_cases/p02980/output.4.txt
@@ -0,0 +1 @@
+70273732
diff --git a/public_test_cases/p02981/input.0.txt b/public_test_cases/p02981/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef464f8f2f8b54b85b03d0159b05cd8c349075b5
--- /dev/null
+++ b/public_test_cases/p02981/input.0.txt
@@ -0,0 +1 @@
+4 2 9
diff --git a/public_test_cases/p02981/input.1.txt b/public_test_cases/p02981/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4f92d35ac7faefdab15269febcae78e04c34b77
--- /dev/null
+++ b/public_test_cases/p02981/input.1.txt
@@ -0,0 +1 @@
+4 2 7
diff --git a/public_test_cases/p02981/input.2.txt b/public_test_cases/p02981/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef464f8f2f8b54b85b03d0159b05cd8c349075b5
--- /dev/null
+++ b/public_test_cases/p02981/input.2.txt
@@ -0,0 +1 @@
+4 2 9
diff --git a/public_test_cases/p02981/input.3.txt b/public_test_cases/p02981/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccfd4f5fc496134ed6da2fb806e08f295b9b3d45
--- /dev/null
+++ b/public_test_cases/p02981/input.3.txt
@@ -0,0 +1 @@
+4 2 8
diff --git a/public_test_cases/p02981/output.0.txt b/public_test_cases/p02981/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02981/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02981/output.1.txt b/public_test_cases/p02981/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p02981/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p02981/output.2.txt b/public_test_cases/p02981/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02981/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02981/output.3.txt b/public_test_cases/p02981/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p02981/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p02982/input.0.txt b/public_test_cases/p02982/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2753316226bbc42611e2610d7159f62002f9c8f
--- /dev/null
+++ b/public_test_cases/p02982/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+1 2
+5 5
+-2 8
diff --git a/public_test_cases/p02982/input.1.txt b/public_test_cases/p02982/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9904a59b57730edb53428e21499fc6350e5dfcda
--- /dev/null
+++ b/public_test_cases/p02982/input.1.txt
@@ -0,0 +1,4 @@
+3 4
+-3 7 8 2
+-12 1 10 2
+-2 8 9 3
diff --git a/public_test_cases/p02982/input.2.txt b/public_test_cases/p02982/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2753316226bbc42611e2610d7159f62002f9c8f
--- /dev/null
+++ b/public_test_cases/p02982/input.2.txt
@@ -0,0 +1,4 @@
+3 2
+1 2
+5 5
+-2 8
diff --git a/public_test_cases/p02982/input.3.txt b/public_test_cases/p02982/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83fc8665b74408d1b0a06296d048371d0ed0c27b
--- /dev/null
+++ b/public_test_cases/p02982/input.3.txt
@@ -0,0 +1,6 @@
+5 1
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p02982/output.0.txt b/public_test_cases/p02982/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02982/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02982/output.1.txt b/public_test_cases/p02982/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02982/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02982/output.2.txt b/public_test_cases/p02982/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02982/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02982/output.3.txt b/public_test_cases/p02982/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02982/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02983/input.0.txt b/public_test_cases/p02983/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecfc321db876c8660427a4232d0a6169686a0006
--- /dev/null
+++ b/public_test_cases/p02983/input.0.txt
@@ -0,0 +1 @@
+2020 2040
diff --git a/public_test_cases/p02983/input.1.txt b/public_test_cases/p02983/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a99162ed9cdd1b90006cbd4f07e2a2bd3f404d4
--- /dev/null
+++ b/public_test_cases/p02983/input.1.txt
@@ -0,0 +1 @@
+4 5
diff --git a/public_test_cases/p02983/input.2.txt b/public_test_cases/p02983/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecfc321db876c8660427a4232d0a6169686a0006
--- /dev/null
+++ b/public_test_cases/p02983/input.2.txt
@@ -0,0 +1 @@
+2020 2040
diff --git a/public_test_cases/p02983/output.0.txt b/public_test_cases/p02983/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02983/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02983/output.1.txt b/public_test_cases/p02983/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p02983/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p02983/output.2.txt b/public_test_cases/p02983/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02983/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02984/input.0.txt b/public_test_cases/p02984/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0c8f81bdb79301ef2824c994952cc382441c973
--- /dev/null
+++ b/public_test_cases/p02984/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 2 4
diff --git a/public_test_cases/p02984/input.1.txt b/public_test_cases/p02984/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e00a3bee50d0a6f9f676e8ec071e6a64afdf7ba4
--- /dev/null
+++ b/public_test_cases/p02984/input.1.txt
@@ -0,0 +1,2 @@
+3
+1000000000 1000000000 0
diff --git a/public_test_cases/p02984/input.2.txt b/public_test_cases/p02984/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af7fb4d7093ee4fef2598b68674b64bb640ebde9
--- /dev/null
+++ b/public_test_cases/p02984/input.2.txt
@@ -0,0 +1,2 @@
+5
+3 8 7 5 5
diff --git a/public_test_cases/p02984/input.3.txt b/public_test_cases/p02984/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0c8f81bdb79301ef2824c994952cc382441c973
--- /dev/null
+++ b/public_test_cases/p02984/input.3.txt
@@ -0,0 +1,2 @@
+3
+2 2 4
diff --git a/public_test_cases/p02984/output.0.txt b/public_test_cases/p02984/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6ebc1ec4bc3e9158aecaf9684b81e68cdc4c391
--- /dev/null
+++ b/public_test_cases/p02984/output.0.txt
@@ -0,0 +1 @@
+4 0 4
diff --git a/public_test_cases/p02984/output.1.txt b/public_test_cases/p02984/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b548488c83bf8e570123df9237d3085fada019ef
--- /dev/null
+++ b/public_test_cases/p02984/output.1.txt
@@ -0,0 +1 @@
+0 2000000000 0
diff --git a/public_test_cases/p02984/output.2.txt b/public_test_cases/p02984/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa1bc6d7f5d60cb586ab989664edf17fac436c43
--- /dev/null
+++ b/public_test_cases/p02984/output.2.txt
@@ -0,0 +1 @@
+2 4 12 2 8
diff --git a/public_test_cases/p02984/output.3.txt b/public_test_cases/p02984/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6ebc1ec4bc3e9158aecaf9684b81e68cdc4c391
--- /dev/null
+++ b/public_test_cases/p02984/output.3.txt
@@ -0,0 +1 @@
+4 0 4
diff --git a/public_test_cases/p02986/input.0.txt b/public_test_cases/p02986/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a69d864959644d3b971e4e094f6af0261a810968
--- /dev/null
+++ b/public_test_cases/p02986/input.0.txt
@@ -0,0 +1,8 @@
+5 3
+1 2 1 10
+1 3 2 20
+2 4 4 30
+5 2 1 40
+1 100 1 4
+1 100 1 5
+3 1000 3 4
diff --git a/public_test_cases/p02986/input.1.txt b/public_test_cases/p02986/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a69d864959644d3b971e4e094f6af0261a810968
--- /dev/null
+++ b/public_test_cases/p02986/input.1.txt
@@ -0,0 +1,8 @@
+5 3
+1 2 1 10
+1 3 2 20
+2 4 4 30
+5 2 1 40
+1 100 1 4
+1 100 1 5
+3 1000 3 4
diff --git a/public_test_cases/p02986/output.0.txt b/public_test_cases/p02986/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b97e4a78ddaf847ea93668ea79ac4fb50f89bce
--- /dev/null
+++ b/public_test_cases/p02986/output.0.txt
@@ -0,0 +1,3 @@
+130
+200
+60
diff --git a/public_test_cases/p02986/output.1.txt b/public_test_cases/p02986/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b97e4a78ddaf847ea93668ea79ac4fb50f89bce
--- /dev/null
+++ b/public_test_cases/p02986/output.1.txt
@@ -0,0 +1,3 @@
+130
+200
+60
diff --git a/public_test_cases/p02987/input.0.txt b/public_test_cases/p02987/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4456e589e2b048f6cbffe702cd1f91d755fe3f6d
--- /dev/null
+++ b/public_test_cases/p02987/input.0.txt
@@ -0,0 +1 @@
+ASSA
diff --git a/public_test_cases/p02987/input.1.txt b/public_test_cases/p02987/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6fa5e893b4e9db21bd5d1e5c2abd6692cb47788
--- /dev/null
+++ b/public_test_cases/p02987/input.1.txt
@@ -0,0 +1 @@
+FFEE
diff --git a/public_test_cases/p02987/input.2.txt b/public_test_cases/p02987/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26a5d93719d72a16133cce6510d15a228b931f08
--- /dev/null
+++ b/public_test_cases/p02987/input.2.txt
@@ -0,0 +1 @@
+FREE
diff --git a/public_test_cases/p02987/input.3.txt b/public_test_cases/p02987/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b13a38f4eb96d6e100eaa5400a1033827ec0a557
--- /dev/null
+++ b/public_test_cases/p02987/input.3.txt
@@ -0,0 +1 @@
+STOP
diff --git a/public_test_cases/p02987/input.4.txt b/public_test_cases/p02987/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4456e589e2b048f6cbffe702cd1f91d755fe3f6d
--- /dev/null
+++ b/public_test_cases/p02987/input.4.txt
@@ -0,0 +1 @@
+ASSA
diff --git a/public_test_cases/p02987/output.0.txt b/public_test_cases/p02987/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02987/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02987/output.1.txt b/public_test_cases/p02987/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02987/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02987/output.2.txt b/public_test_cases/p02987/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02987/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02987/output.3.txt b/public_test_cases/p02987/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02987/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02987/output.4.txt b/public_test_cases/p02987/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02987/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02988/input.0.txt b/public_test_cases/p02988/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed129e88fdf9f75dae3811f00cb9c2736f1cb05e
--- /dev/null
+++ b/public_test_cases/p02988/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 3 5 4 2
diff --git a/public_test_cases/p02988/input.1.txt b/public_test_cases/p02988/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef3261668c3cd0b75b01aefb9f65166a8b79c1fe
--- /dev/null
+++ b/public_test_cases/p02988/input.1.txt
@@ -0,0 +1,2 @@
+9
+9 6 3 2 5 8 7 4 1
diff --git a/public_test_cases/p02988/input.2.txt b/public_test_cases/p02988/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed129e88fdf9f75dae3811f00cb9c2736f1cb05e
--- /dev/null
+++ b/public_test_cases/p02988/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 3 5 4 2
diff --git a/public_test_cases/p02988/output.0.txt b/public_test_cases/p02988/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02988/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02988/output.1.txt b/public_test_cases/p02988/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02988/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02988/output.2.txt b/public_test_cases/p02988/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02988/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02989/input.0.txt b/public_test_cases/p02989/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73d1847ae7b32fc4a8a062c098ed7d3c424d48ff
--- /dev/null
+++ b/public_test_cases/p02989/input.0.txt
@@ -0,0 +1,2 @@
+6
+9 1 4 4 6 7
diff --git a/public_test_cases/p02989/input.1.txt b/public_test_cases/p02989/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7875e4cb6c207a83d9746ff885ccfdbfcdd853a5
--- /dev/null
+++ b/public_test_cases/p02989/input.1.txt
@@ -0,0 +1,2 @@
+8
+9 1 14 5 5 4 4 14
diff --git a/public_test_cases/p02989/input.2.txt b/public_test_cases/p02989/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73d1847ae7b32fc4a8a062c098ed7d3c424d48ff
--- /dev/null
+++ b/public_test_cases/p02989/input.2.txt
@@ -0,0 +1,2 @@
+6
+9 1 4 4 6 7
diff --git a/public_test_cases/p02989/input.3.txt b/public_test_cases/p02989/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef1a9e387d7c3ffc3f4e3c621028831339e3d3a0
--- /dev/null
+++ b/public_test_cases/p02989/input.3.txt
@@ -0,0 +1,2 @@
+14
+99592 10342 29105 78532 83018 11639 92015 77204 30914 21912 34519 80835 100000 1
diff --git a/public_test_cases/p02989/output.0.txt b/public_test_cases/p02989/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02989/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02989/output.1.txt b/public_test_cases/p02989/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02989/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02989/output.2.txt b/public_test_cases/p02989/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02989/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02989/output.3.txt b/public_test_cases/p02989/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5004c4d28afca3fdb474c4085348de2054aaa98a
--- /dev/null
+++ b/public_test_cases/p02989/output.3.txt
@@ -0,0 +1 @@
+42685
diff --git a/public_test_cases/p02990/input.0.txt b/public_test_cases/p02990/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p02990/input.0.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p02990/input.1.txt b/public_test_cases/p02990/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p02990/input.1.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p02990/input.2.txt b/public_test_cases/p02990/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d145d585987d0b53cb2f4b96e8d2dea560578da0
--- /dev/null
+++ b/public_test_cases/p02990/input.2.txt
@@ -0,0 +1 @@
+2000 3
diff --git a/public_test_cases/p02990/output.0.txt b/public_test_cases/p02990/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38d6ec2d61307874433494dd1e74989ad1b9cf78
--- /dev/null
+++ b/public_test_cases/p02990/output.0.txt
@@ -0,0 +1,3 @@
+3
+6
+1
diff --git a/public_test_cases/p02990/output.1.txt b/public_test_cases/p02990/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38d6ec2d61307874433494dd1e74989ad1b9cf78
--- /dev/null
+++ b/public_test_cases/p02990/output.1.txt
@@ -0,0 +1,3 @@
+3
+6
+1
diff --git a/public_test_cases/p02990/output.2.txt b/public_test_cases/p02990/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..298b6da61fe2d75e34a44004808e2d1afb308455
--- /dev/null
+++ b/public_test_cases/p02990/output.2.txt
@@ -0,0 +1,3 @@
+1998
+3990006
+327341989
diff --git a/public_test_cases/p02991/input.0.txt b/public_test_cases/p02991/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdb72fd77b2ad8626fc7c6a36abe8d18812e6a89
--- /dev/null
+++ b/public_test_cases/p02991/input.0.txt
@@ -0,0 +1,6 @@
+4 4
+1 2
+2 3
+3 4
+4 1
+1 3
diff --git a/public_test_cases/p02991/input.1.txt b/public_test_cases/p02991/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdb72fd77b2ad8626fc7c6a36abe8d18812e6a89
--- /dev/null
+++ b/public_test_cases/p02991/input.1.txt
@@ -0,0 +1,6 @@
+4 4
+1 2
+2 3
+3 4
+4 1
+1 3
diff --git a/public_test_cases/p02991/input.2.txt b/public_test_cases/p02991/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27c816be37e78e8eeed9845417b654005f7a311a
--- /dev/null
+++ b/public_test_cases/p02991/input.2.txt
@@ -0,0 +1,10 @@
+6 8
+1 2
+2 3
+3 4
+4 5
+5 1
+1 4
+1 5
+4 6
+1 6
diff --git a/public_test_cases/p02991/input.3.txt b/public_test_cases/p02991/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68d16c645851cf2a22799d7823a2b7464757b7af
--- /dev/null
+++ b/public_test_cases/p02991/input.3.txt
@@ -0,0 +1,5 @@
+3 3
+1 2
+2 3
+3 1
+1 2
diff --git a/public_test_cases/p02991/input.4.txt b/public_test_cases/p02991/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e103273bbc4654f3a9eaa6e7ea117bdfbc9a20c1
--- /dev/null
+++ b/public_test_cases/p02991/input.4.txt
@@ -0,0 +1,2 @@
+2 0
+1 2
diff --git a/public_test_cases/p02991/output.0.txt b/public_test_cases/p02991/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02991/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02991/output.1.txt b/public_test_cases/p02991/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02991/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02991/output.2.txt b/public_test_cases/p02991/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02991/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02991/output.3.txt b/public_test_cases/p02991/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02991/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02991/output.4.txt b/public_test_cases/p02991/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p02991/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p02992/input.0.txt b/public_test_cases/p02992/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02992/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02992/input.1.txt b/public_test_cases/p02992/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..395f206dc64a1aafdbc3fcedb5780ce26c6c1784
--- /dev/null
+++ b/public_test_cases/p02992/input.1.txt
@@ -0,0 +1 @@
+10 3
diff --git a/public_test_cases/p02992/input.2.txt b/public_test_cases/p02992/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92fb3e8f515e46ed92e0a78c9af086a00c6428a3
--- /dev/null
+++ b/public_test_cases/p02992/input.2.txt
@@ -0,0 +1 @@
+314159265 35
diff --git a/public_test_cases/p02992/input.3.txt b/public_test_cases/p02992/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p02992/input.3.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p02992/output.0.txt b/public_test_cases/p02992/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02992/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02992/output.1.txt b/public_test_cases/p02992/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c748b568f7661fed8665b73fb46a0492ea5eeebe
--- /dev/null
+++ b/public_test_cases/p02992/output.1.txt
@@ -0,0 +1 @@
+147
diff --git a/public_test_cases/p02992/output.2.txt b/public_test_cases/p02992/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..908911661074bfa51a655fa4e1b7150a96649237
--- /dev/null
+++ b/public_test_cases/p02992/output.2.txt
@@ -0,0 +1 @@
+457397712
diff --git a/public_test_cases/p02992/output.3.txt b/public_test_cases/p02992/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p02992/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p02993/input.0.txt b/public_test_cases/p02993/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01ebb85361d037759607c3e36391e5778551b925
--- /dev/null
+++ b/public_test_cases/p02993/input.0.txt
@@ -0,0 +1 @@
+3776
diff --git a/public_test_cases/p02993/input.1.txt b/public_test_cases/p02993/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8735ed157e661a1f9ad281ec960ddf0aec64d292
--- /dev/null
+++ b/public_test_cases/p02993/input.1.txt
@@ -0,0 +1 @@
+1333
diff --git a/public_test_cases/p02993/input.2.txt b/public_test_cases/p02993/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5dfa435771ec74922b4cbefe3854d813206f8701
--- /dev/null
+++ b/public_test_cases/p02993/input.2.txt
@@ -0,0 +1 @@
+8080
diff --git a/public_test_cases/p02993/input.3.txt b/public_test_cases/p02993/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01ebb85361d037759607c3e36391e5778551b925
--- /dev/null
+++ b/public_test_cases/p02993/input.3.txt
@@ -0,0 +1 @@
+3776
diff --git a/public_test_cases/p02993/input.4.txt b/public_test_cases/p02993/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a55ce18bd56e9e9f981a6af120046f87f15e678d
--- /dev/null
+++ b/public_test_cases/p02993/input.4.txt
@@ -0,0 +1 @@
+0024
diff --git a/public_test_cases/p02993/output.0.txt b/public_test_cases/p02993/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6258a58f245ee89b99317dab51a766d81ea864ca
--- /dev/null
+++ b/public_test_cases/p02993/output.0.txt
@@ -0,0 +1 @@
+Bad
diff --git a/public_test_cases/p02993/output.1.txt b/public_test_cases/p02993/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6258a58f245ee89b99317dab51a766d81ea864ca
--- /dev/null
+++ b/public_test_cases/p02993/output.1.txt
@@ -0,0 +1 @@
+Bad
diff --git a/public_test_cases/p02993/output.2.txt b/public_test_cases/p02993/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd9dd73b78cf79e797c97b8fd5d8b92e28d4437f
--- /dev/null
+++ b/public_test_cases/p02993/output.2.txt
@@ -0,0 +1 @@
+Good
diff --git a/public_test_cases/p02993/output.3.txt b/public_test_cases/p02993/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6258a58f245ee89b99317dab51a766d81ea864ca
--- /dev/null
+++ b/public_test_cases/p02993/output.3.txt
@@ -0,0 +1 @@
+Bad
diff --git a/public_test_cases/p02993/output.4.txt b/public_test_cases/p02993/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6258a58f245ee89b99317dab51a766d81ea864ca
--- /dev/null
+++ b/public_test_cases/p02993/output.4.txt
@@ -0,0 +1 @@
+Bad
diff --git a/public_test_cases/p02994/input.0.txt b/public_test_cases/p02994/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p02994/input.0.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p02994/input.1.txt b/public_test_cases/p02994/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p02994/input.1.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p02994/input.2.txt b/public_test_cases/p02994/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..870867d64ba368051ee5607e0963eca94775b7c9
--- /dev/null
+++ b/public_test_cases/p02994/input.2.txt
@@ -0,0 +1 @@
+30 -50
diff --git a/public_test_cases/p02994/input.3.txt b/public_test_cases/p02994/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..786d61b8a9512231d67746a19a63f880f88d39ea
--- /dev/null
+++ b/public_test_cases/p02994/input.3.txt
@@ -0,0 +1 @@
+3 -1
diff --git a/public_test_cases/p02994/output.0.txt b/public_test_cases/p02994/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p02994/output.0.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p02994/output.1.txt b/public_test_cases/p02994/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p02994/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p02994/output.2.txt b/public_test_cases/p02994/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5573cc81fdbda9d50cf992803f495a4c4b72bea9
--- /dev/null
+++ b/public_test_cases/p02994/output.2.txt
@@ -0,0 +1 @@
+-1044
diff --git a/public_test_cases/p02994/output.3.txt b/public_test_cases/p02994/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02994/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02995/input.0.txt b/public_test_cases/p02995/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30728f5a77234b3e3e99caa2fba917429194196e
--- /dev/null
+++ b/public_test_cases/p02995/input.0.txt
@@ -0,0 +1 @@
+4 9 2 3
diff --git a/public_test_cases/p02995/input.1.txt b/public_test_cases/p02995/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..928bb022333b6a9d5150cf7f1a0d012f27ef8a9b
--- /dev/null
+++ b/public_test_cases/p02995/input.1.txt
@@ -0,0 +1 @@
+314159265358979323 846264338327950288 419716939 937510582
diff --git a/public_test_cases/p02995/input.2.txt b/public_test_cases/p02995/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d21e3f96ccb42a6fbbf0b868822144daf0baa2
--- /dev/null
+++ b/public_test_cases/p02995/input.2.txt
@@ -0,0 +1 @@
+10 40 6 8
diff --git a/public_test_cases/p02995/input.3.txt b/public_test_cases/p02995/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30728f5a77234b3e3e99caa2fba917429194196e
--- /dev/null
+++ b/public_test_cases/p02995/input.3.txt
@@ -0,0 +1 @@
+4 9 2 3
diff --git a/public_test_cases/p02995/output.0.txt b/public_test_cases/p02995/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02995/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02995/output.1.txt b/public_test_cases/p02995/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..990f4db334e7a082cf88d4d3ba5b781e485943fc
--- /dev/null
+++ b/public_test_cases/p02995/output.1.txt
@@ -0,0 +1 @@
+532105071133627368
diff --git a/public_test_cases/p02995/output.2.txt b/public_test_cases/p02995/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p02995/output.2.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p02995/output.3.txt b/public_test_cases/p02995/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p02995/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p02996/input.0.txt b/public_test_cases/p02996/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11676994f6424915e5c11afdab170eb81040e122
--- /dev/null
+++ b/public_test_cases/p02996/input.0.txt
@@ -0,0 +1,6 @@
+5
+2 4
+1 9
+1 8
+4 9
+3 12
diff --git a/public_test_cases/p02996/input.1.txt b/public_test_cases/p02996/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3d8efeb60fd02a01c3872da1267ab086ec24ce8
--- /dev/null
+++ b/public_test_cases/p02996/input.1.txt
@@ -0,0 +1,4 @@
+3
+334 1000
+334 1000
+334 1000
diff --git a/public_test_cases/p02996/input.2.txt b/public_test_cases/p02996/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11676994f6424915e5c11afdab170eb81040e122
--- /dev/null
+++ b/public_test_cases/p02996/input.2.txt
@@ -0,0 +1,6 @@
+5
+2 4
+1 9
+1 8
+4 9
+3 12
diff --git a/public_test_cases/p02996/input.3.txt b/public_test_cases/p02996/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b93e6a3a2443d788c67c5e6e9d50fe4a4aed3142
--- /dev/null
+++ b/public_test_cases/p02996/input.3.txt
@@ -0,0 +1,31 @@
+30
+384 8895
+1725 9791
+170 1024
+4 11105
+2 6
+578 1815
+702 3352
+143 5141
+1420 6980
+24 1602
+849 999
+76 7586
+85 5570
+444 4991
+719 11090
+470 10708
+1137 4547
+455 9003
+110 9901
+15 8578
+368 3692
+104 1286
+3 4
+366 12143
+7 6649
+610 2374
+152 7324
+4 7042
+292 11386
+334 5720
diff --git a/public_test_cases/p02996/output.0.txt b/public_test_cases/p02996/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02996/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02996/output.1.txt b/public_test_cases/p02996/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p02996/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p02996/output.2.txt b/public_test_cases/p02996/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02996/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02996/output.3.txt b/public_test_cases/p02996/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p02996/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p02997/input.0.txt b/public_test_cases/p02997/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p02997/input.0.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p02997/output.0.txt b/public_test_cases/p02997/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8681cc275cc19cc89ff8b90ef9114c85d7bcb648
--- /dev/null
+++ b/public_test_cases/p02997/output.0.txt
@@ -0,0 +1,6 @@
+5
+4 3
+1 2
+3 1
+4 5
+2 3
diff --git a/public_test_cases/p02998/input.0.txt b/public_test_cases/p02998/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b06e0f809354baf3cd98e66971a0a1d483e2d28a
--- /dev/null
+++ b/public_test_cases/p02998/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 1
+5 1
+5 5
diff --git a/public_test_cases/p02998/input.1.txt b/public_test_cases/p02998/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b06e0f809354baf3cd98e66971a0a1d483e2d28a
--- /dev/null
+++ b/public_test_cases/p02998/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 1
+5 1
+5 5
diff --git a/public_test_cases/p02998/input.2.txt b/public_test_cases/p02998/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03a9d12e4b72bb9b60ffb0e4c76777d320b23eda
--- /dev/null
+++ b/public_test_cases/p02998/input.2.txt
@@ -0,0 +1,10 @@
+9
+1 1
+2 1
+3 1
+4 1
+5 1
+1 2
+1 3
+1 4
+1 5
diff --git a/public_test_cases/p02998/input.3.txt b/public_test_cases/p02998/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1798f57afe2ec408d1cf2edd1f11d22b08a5fcba
--- /dev/null
+++ b/public_test_cases/p02998/input.3.txt
@@ -0,0 +1,3 @@
+2
+10 10
+20 20
diff --git a/public_test_cases/p02998/output.0.txt b/public_test_cases/p02998/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02998/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02998/output.1.txt b/public_test_cases/p02998/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p02998/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p02998/output.2.txt b/public_test_cases/p02998/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p02998/output.2.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p02998/output.3.txt b/public_test_cases/p02998/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02998/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02999/input.0.txt b/public_test_cases/p02999/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p02999/input.0.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p02999/input.1.txt b/public_test_cases/p02999/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..558161a5efe98affb4b85e05b11fb1e8eca52001
--- /dev/null
+++ b/public_test_cases/p02999/input.1.txt
@@ -0,0 +1 @@
+6 6
diff --git a/public_test_cases/p02999/input.2.txt b/public_test_cases/p02999/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5a3ec49418e6bf3b4c330fbd798b8077295142e
--- /dev/null
+++ b/public_test_cases/p02999/input.2.txt
@@ -0,0 +1 @@
+7 5
diff --git a/public_test_cases/p02999/input.3.txt b/public_test_cases/p02999/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p02999/input.3.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p02999/output.0.txt b/public_test_cases/p02999/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02999/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p02999/output.1.txt b/public_test_cases/p02999/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02999/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02999/output.2.txt b/public_test_cases/p02999/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p02999/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p02999/output.3.txt b/public_test_cases/p02999/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p02999/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03000/input.0.txt b/public_test_cases/p03000/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da15edb504d2532c1759990e9ef9333395171627
--- /dev/null
+++ b/public_test_cases/p03000/input.0.txt
@@ -0,0 +1,2 @@
+3 6
+3 4 5
diff --git a/public_test_cases/p03000/input.1.txt b/public_test_cases/p03000/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eed51c3889caade3cffaae38838add2cd773902a
--- /dev/null
+++ b/public_test_cases/p03000/input.1.txt
@@ -0,0 +1,2 @@
+4 9
+3 3 3 3
diff --git a/public_test_cases/p03000/input.2.txt b/public_test_cases/p03000/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da15edb504d2532c1759990e9ef9333395171627
--- /dev/null
+++ b/public_test_cases/p03000/input.2.txt
@@ -0,0 +1,2 @@
+3 6
+3 4 5
diff --git a/public_test_cases/p03000/output.0.txt b/public_test_cases/p03000/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03000/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03000/output.1.txt b/public_test_cases/p03000/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03000/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03000/output.2.txt b/public_test_cases/p03000/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03000/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03001/input.0.txt b/public_test_cases/p03001/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5689590bbeb9cacb685f229bafdaaf1dd912ee85
--- /dev/null
+++ b/public_test_cases/p03001/input.0.txt
@@ -0,0 +1 @@
+2 3 1 2
diff --git a/public_test_cases/p03001/input.1.txt b/public_test_cases/p03001/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5689590bbeb9cacb685f229bafdaaf1dd912ee85
--- /dev/null
+++ b/public_test_cases/p03001/input.1.txt
@@ -0,0 +1 @@
+2 3 1 2
diff --git a/public_test_cases/p03001/input.2.txt b/public_test_cases/p03001/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c9db2e08c5aa8a1b16e3dde75556fffaa15cb30
--- /dev/null
+++ b/public_test_cases/p03001/input.2.txt
@@ -0,0 +1 @@
+2 2 1 1
diff --git a/public_test_cases/p03001/output.0.txt b/public_test_cases/p03001/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e7aa6879c819cfcb24df457a363091b263b93cb
--- /dev/null
+++ b/public_test_cases/p03001/output.0.txt
@@ -0,0 +1 @@
+3.000000 0
diff --git a/public_test_cases/p03001/output.1.txt b/public_test_cases/p03001/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e7aa6879c819cfcb24df457a363091b263b93cb
--- /dev/null
+++ b/public_test_cases/p03001/output.1.txt
@@ -0,0 +1 @@
+3.000000 0
diff --git a/public_test_cases/p03001/output.2.txt b/public_test_cases/p03001/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f25f7da23d0afe3cd8d4fd8465976e138d5f123
--- /dev/null
+++ b/public_test_cases/p03001/output.2.txt
@@ -0,0 +1 @@
+2.000000 1
diff --git a/public_test_cases/p03002/input.0.txt b/public_test_cases/p03002/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..785e667fbc3da4b1c332079a8e67dc0afa9c1018
--- /dev/null
+++ b/public_test_cases/p03002/input.0.txt
@@ -0,0 +1,2 @@
+4 10
+6 1 2 7
diff --git a/public_test_cases/p03002/output.0.txt b/public_test_cases/p03002/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03002/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03003/input.0.txt b/public_test_cases/p03003/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62600d5daa8daf4ac0cdc8b8f7c575d5267126e9
--- /dev/null
+++ b/public_test_cases/p03003/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+1 3
+3 1
diff --git a/public_test_cases/p03003/input.1.txt b/public_test_cases/p03003/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d84b20ef44a463f8df03cf1dd477bdc65c895c16
--- /dev/null
+++ b/public_test_cases/p03003/input.1.txt
@@ -0,0 +1,3 @@
+10 9
+9 6 5 7 5 9 8 5 6 7
+8 6 8 5 5 7 9 9 7
diff --git a/public_test_cases/p03003/input.2.txt b/public_test_cases/p03003/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..247add9317ec1252d514eb88322a66f4ee9fdcb3
--- /dev/null
+++ b/public_test_cases/p03003/input.2.txt
@@ -0,0 +1,3 @@
+20 20
+1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
+1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
diff --git a/public_test_cases/p03003/input.3.txt b/public_test_cases/p03003/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9152a16c21e3e256af1d5e65b2d605cc87ac722a
--- /dev/null
+++ b/public_test_cases/p03003/input.3.txt
@@ -0,0 +1,3 @@
+4 4
+3 4 5 6
+3 4 5 6
diff --git a/public_test_cases/p03003/input.4.txt b/public_test_cases/p03003/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..076a2f05d8b750cd8ecf1d28c94468bc5d31c163
--- /dev/null
+++ b/public_test_cases/p03003/input.4.txt
@@ -0,0 +1,3 @@
+2 2
+1 1
+1 1
diff --git a/public_test_cases/p03003/input.5.txt b/public_test_cases/p03003/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62600d5daa8daf4ac0cdc8b8f7c575d5267126e9
--- /dev/null
+++ b/public_test_cases/p03003/input.5.txt
@@ -0,0 +1,3 @@
+2 2
+1 3
+3 1
diff --git a/public_test_cases/p03003/output.0.txt b/public_test_cases/p03003/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03003/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03003/output.1.txt b/public_test_cases/p03003/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88b2e78342d56f05c2cf57c289329a19342fb5f9
--- /dev/null
+++ b/public_test_cases/p03003/output.1.txt
@@ -0,0 +1 @@
+191
diff --git a/public_test_cases/p03003/output.2.txt b/public_test_cases/p03003/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..916cb7e77e215ae8cf4e4519272d38c9735f8bf5
--- /dev/null
+++ b/public_test_cases/p03003/output.2.txt
@@ -0,0 +1 @@
+846527861
diff --git a/public_test_cases/p03003/output.3.txt b/public_test_cases/p03003/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03003/output.3.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03003/output.4.txt b/public_test_cases/p03003/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03003/output.4.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03003/output.5.txt b/public_test_cases/p03003/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03003/output.5.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03004/input.0.txt b/public_test_cases/p03004/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85628f830b4d336b0396d920abd4a08f7347003e
--- /dev/null
+++ b/public_test_cases/p03004/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 3 D
+3 0 L
diff --git a/public_test_cases/p03004/input.1.txt b/public_test_cases/p03004/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85628f830b4d336b0396d920abd4a08f7347003e
--- /dev/null
+++ b/public_test_cases/p03004/input.1.txt
@@ -0,0 +1,3 @@
+2
+0 3 D
+3 0 L
diff --git a/public_test_cases/p03004/input.2.txt b/public_test_cases/p03004/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e78ad36e23e20f4c86ced3776c28ae386132a07c
--- /dev/null
+++ b/public_test_cases/p03004/input.2.txt
@@ -0,0 +1,21 @@
+20
+6 -10 R
+-4 -9 U
+9 6 D
+-3 -2 R
+0 7 D
+4 5 D
+10 -10 U
+-1 -8 U
+10 -6 D
+8 -5 U
+6 4 D
+0 3 D
+7 9 R
+9 -4 R
+3 10 D
+1 9 U
+1 -6 U
+9 -8 R
+6 7 D
+7 -3 D
diff --git a/public_test_cases/p03004/input.3.txt b/public_test_cases/p03004/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3487a8a11f050525afd2e8ea3faf387ad6c4df04
--- /dev/null
+++ b/public_test_cases/p03004/input.3.txt
@@ -0,0 +1,6 @@
+5
+-7 -10 U
+7 -6 U
+-8 7 D
+-3 3 D
+0 -6 R
diff --git a/public_test_cases/p03004/output.0.txt b/public_test_cases/p03004/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03004/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03004/output.1.txt b/public_test_cases/p03004/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03004/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03004/output.2.txt b/public_test_cases/p03004/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..305aa985702a5d9dee861080db95f95d82d43a8c
--- /dev/null
+++ b/public_test_cases/p03004/output.2.txt
@@ -0,0 +1 @@
+273
diff --git a/public_test_cases/p03004/output.3.txt b/public_test_cases/p03004/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..faafaab8950b6d0395e7aa43bc594bb3f7a9cf07
--- /dev/null
+++ b/public_test_cases/p03004/output.3.txt
@@ -0,0 +1 @@
+97.5
diff --git a/public_test_cases/p03005/input.0.txt b/public_test_cases/p03005/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03005/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03005/input.1.txt b/public_test_cases/p03005/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfe1ce6be153750877a93771c2183ae2dd5cba83
--- /dev/null
+++ b/public_test_cases/p03005/input.1.txt
@@ -0,0 +1 @@
+8 5
diff --git a/public_test_cases/p03005/input.2.txt b/public_test_cases/p03005/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p03005/input.2.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p03005/input.3.txt b/public_test_cases/p03005/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03005/input.3.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03005/output.0.txt b/public_test_cases/p03005/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03005/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03005/output.1.txt b/public_test_cases/p03005/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03005/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03005/output.2.txt b/public_test_cases/p03005/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03005/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03005/output.3.txt b/public_test_cases/p03005/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03005/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03006/input.0.txt b/public_test_cases/p03006/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5464338616bfb7f9e7beae3b39041d7ec10aaff2
--- /dev/null
+++ b/public_test_cases/p03006/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 1
+2 2
diff --git a/public_test_cases/p03006/input.1.txt b/public_test_cases/p03006/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b53fa94b17493abd5fb033e09227cd415607fd86
--- /dev/null
+++ b/public_test_cases/p03006/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 4
+4 6
+7 8
diff --git a/public_test_cases/p03006/input.2.txt b/public_test_cases/p03006/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d313ca2564d8f20d0a454419ad7a1232d14448b
--- /dev/null
+++ b/public_test_cases/p03006/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 1
+1 2
+2 1
+2 2
diff --git a/public_test_cases/p03006/input.3.txt b/public_test_cases/p03006/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5464338616bfb7f9e7beae3b39041d7ec10aaff2
--- /dev/null
+++ b/public_test_cases/p03006/input.3.txt
@@ -0,0 +1,3 @@
+2
+1 1
+2 2
diff --git a/public_test_cases/p03006/output.0.txt b/public_test_cases/p03006/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03006/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03006/output.1.txt b/public_test_cases/p03006/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03006/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03006/output.2.txt b/public_test_cases/p03006/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03006/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03006/output.3.txt b/public_test_cases/p03006/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03006/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03007/input.0.txt b/public_test_cases/p03007/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9829c717ea531d7f041789e44718e440d0bf4792
--- /dev/null
+++ b/public_test_cases/p03007/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 -1 2
diff --git a/public_test_cases/p03007/input.1.txt b/public_test_cases/p03007/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d86050b0e039e215b0da8a93663a9bb6efd092a
--- /dev/null
+++ b/public_test_cases/p03007/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 1 1
diff --git a/public_test_cases/p03007/input.2.txt b/public_test_cases/p03007/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9829c717ea531d7f041789e44718e440d0bf4792
--- /dev/null
+++ b/public_test_cases/p03007/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 -1 2
diff --git a/public_test_cases/p03007/output.0.txt b/public_test_cases/p03007/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ea9491f9acbc4da9e569b0953cbfaf5ed8d28e9
--- /dev/null
+++ b/public_test_cases/p03007/output.0.txt
@@ -0,0 +1,3 @@
+4
+-1 1
+2 -2
diff --git a/public_test_cases/p03007/output.1.txt b/public_test_cases/p03007/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b6a62ea4669665cb8f5e813d3b455cd353d9565
--- /dev/null
+++ b/public_test_cases/p03007/output.1.txt
@@ -0,0 +1,3 @@
+1
+1 1
+1 0
diff --git a/public_test_cases/p03007/output.2.txt b/public_test_cases/p03007/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ea9491f9acbc4da9e569b0953cbfaf5ed8d28e9
--- /dev/null
+++ b/public_test_cases/p03007/output.2.txt
@@ -0,0 +1,3 @@
+4
+-1 1
+2 -2
diff --git a/public_test_cases/p03008/input.0.txt b/public_test_cases/p03008/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24faa173e447f59559c1cc88011327d778448553
--- /dev/null
+++ b/public_test_cases/p03008/input.0.txt
@@ -0,0 +1,3 @@
+23
+1 1 1
+2 1 1
diff --git a/public_test_cases/p03008/input.1.txt b/public_test_cases/p03008/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24faa173e447f59559c1cc88011327d778448553
--- /dev/null
+++ b/public_test_cases/p03008/input.1.txt
@@ -0,0 +1,3 @@
+23
+1 1 1
+2 1 1
diff --git a/public_test_cases/p03008/output.0.txt b/public_test_cases/p03008/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e5feb5256930f3cae636754eef8a244ede164eb
--- /dev/null
+++ b/public_test_cases/p03008/output.0.txt
@@ -0,0 +1 @@
+46
diff --git a/public_test_cases/p03008/output.1.txt b/public_test_cases/p03008/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e5feb5256930f3cae636754eef8a244ede164eb
--- /dev/null
+++ b/public_test_cases/p03008/output.1.txt
@@ -0,0 +1 @@
+46
diff --git a/public_test_cases/p03009/input.0.txt b/public_test_cases/p03009/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p03009/input.0.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p03009/input.1.txt b/public_test_cases/p03009/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26c924b325e18ee1d9ca500b649776dedc838501
--- /dev/null
+++ b/public_test_cases/p03009/input.1.txt
@@ -0,0 +1 @@
+31415 9265 3589
diff --git a/public_test_cases/p03009/input.2.txt b/public_test_cases/p03009/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6501800dcfa32cb153eda364254c2f9d392e0b8
--- /dev/null
+++ b/public_test_cases/p03009/input.2.txt
@@ -0,0 +1 @@
+2 30 15
diff --git a/public_test_cases/p03009/input.3.txt b/public_test_cases/p03009/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p03009/input.3.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p03009/output.0.txt b/public_test_cases/p03009/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03009/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03009/output.1.txt b/public_test_cases/p03009/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89a506597aae424842d464bdaed130c198eea859
--- /dev/null
+++ b/public_test_cases/p03009/output.1.txt
@@ -0,0 +1 @@
+312069529
diff --git a/public_test_cases/p03009/output.2.txt b/public_test_cases/p03009/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59245defe7459a188a10b8238162967dd1bad1b2
--- /dev/null
+++ b/public_test_cases/p03009/output.2.txt
@@ -0,0 +1 @@
+94182806
diff --git a/public_test_cases/p03009/output.3.txt b/public_test_cases/p03009/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03009/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03010/input.0.txt b/public_test_cases/p03010/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03010/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03010/input.1.txt b/public_test_cases/p03010/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03010/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03010/input.2.txt b/public_test_cases/p03010/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03010/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03010/output.0.txt b/public_test_cases/p03010/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e1e9ce3c9a45b829ace59135aac613067304a8f
--- /dev/null
+++ b/public_test_cases/p03010/output.0.txt
@@ -0,0 +1,3 @@
+0 6 15
+6 0 21
+15 21 0
diff --git a/public_test_cases/p03010/output.1.txt b/public_test_cases/p03010/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb7f65b1900ec6313b2895009c6f38f5fc9af036
--- /dev/null
+++ b/public_test_cases/p03010/output.1.txt
@@ -0,0 +1,4 @@
+0 111 157 193
+111 0 224 239
+157 224 0 258
+193 239 258 0
diff --git a/public_test_cases/p03010/output.2.txt b/public_test_cases/p03010/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e1e9ce3c9a45b829ace59135aac613067304a8f
--- /dev/null
+++ b/public_test_cases/p03010/output.2.txt
@@ -0,0 +1,3 @@
+0 6 15
+6 0 21
+15 21 0
diff --git a/public_test_cases/p03011/input.0.txt b/public_test_cases/p03011/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41023d1991080489ea84e78f3d3381ee728505b3
--- /dev/null
+++ b/public_test_cases/p03011/input.0.txt
@@ -0,0 +1 @@
+1 3 4
diff --git a/public_test_cases/p03011/input.1.txt b/public_test_cases/p03011/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7bb294ade13bb6a8850854adda1f4213b34a6a1
--- /dev/null
+++ b/public_test_cases/p03011/input.1.txt
@@ -0,0 +1 @@
+3 2 3
diff --git a/public_test_cases/p03011/input.2.txt b/public_test_cases/p03011/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41023d1991080489ea84e78f3d3381ee728505b3
--- /dev/null
+++ b/public_test_cases/p03011/input.2.txt
@@ -0,0 +1 @@
+1 3 4
diff --git a/public_test_cases/p03011/output.0.txt b/public_test_cases/p03011/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03011/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03011/output.1.txt b/public_test_cases/p03011/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03011/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03011/output.2.txt b/public_test_cases/p03011/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03011/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03012/input.0.txt b/public_test_cases/p03012/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03012/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03012/input.1.txt b/public_test_cases/p03012/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03012/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03012/input.2.txt b/public_test_cases/p03012/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f32b5a57af7fbade48a5191b909e111c443312ba
--- /dev/null
+++ b/public_test_cases/p03012/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 3 1 1
diff --git a/public_test_cases/p03012/input.3.txt b/public_test_cases/p03012/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3df4aec3c03f30d6ee944e48c6fd52ba743f8c5
--- /dev/null
+++ b/public_test_cases/p03012/input.3.txt
@@ -0,0 +1,2 @@
+8
+27 23 76 2 3 5 62 52
diff --git a/public_test_cases/p03012/output.0.txt b/public_test_cases/p03012/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03012/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03012/output.1.txt b/public_test_cases/p03012/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03012/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03012/output.2.txt b/public_test_cases/p03012/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03012/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03012/output.3.txt b/public_test_cases/p03012/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03012/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03013/input.0.txt b/public_test_cases/p03013/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48993e5073a122e9709c06afade6bfc8e221b74a
--- /dev/null
+++ b/public_test_cases/p03013/input.0.txt
@@ -0,0 +1,2 @@
+6 1
+3
diff --git a/public_test_cases/p03013/input.1.txt b/public_test_cases/p03013/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b5d04a7665a76a9a137ac8d26ccb10336de79aa
--- /dev/null
+++ b/public_test_cases/p03013/input.1.txt
@@ -0,0 +1,6 @@
+100 5
+1
+23
+45
+67
+89
diff --git a/public_test_cases/p03013/input.2.txt b/public_test_cases/p03013/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4551d319cbaa81eb948a8e3e717c0caaba2a0df2
--- /dev/null
+++ b/public_test_cases/p03013/input.2.txt
@@ -0,0 +1,3 @@
+10 2
+4
+5
diff --git a/public_test_cases/p03013/input.3.txt b/public_test_cases/p03013/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48993e5073a122e9709c06afade6bfc8e221b74a
--- /dev/null
+++ b/public_test_cases/p03013/input.3.txt
@@ -0,0 +1,2 @@
+6 1
+3
diff --git a/public_test_cases/p03013/output.0.txt b/public_test_cases/p03013/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03013/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03013/output.1.txt b/public_test_cases/p03013/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaa3600230706977e8fba11c3811922c07efd601
--- /dev/null
+++ b/public_test_cases/p03013/output.1.txt
@@ -0,0 +1 @@
+608200469
diff --git a/public_test_cases/p03013/output.2.txt b/public_test_cases/p03013/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03013/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03013/output.3.txt b/public_test_cases/p03013/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03013/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03014/input.0.txt b/public_test_cases/p03014/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73e22fb3abcc2de11f031954acdbcc3a75c318c6
--- /dev/null
+++ b/public_test_cases/p03014/input.0.txt
@@ -0,0 +1,5 @@
+4 6
+#..#..
+.....#
+....#.
+#.#...
diff --git a/public_test_cases/p03014/input.1.txt b/public_test_cases/p03014/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73e22fb3abcc2de11f031954acdbcc3a75c318c6
--- /dev/null
+++ b/public_test_cases/p03014/input.1.txt
@@ -0,0 +1,5 @@
+4 6
+#..#..
+.....#
+....#.
+#.#...
diff --git a/public_test_cases/p03014/input.2.txt b/public_test_cases/p03014/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3af9284b5ee3e2eb586ebe5cde0ae959bfcc6d47
--- /dev/null
+++ b/public_test_cases/p03014/input.2.txt
@@ -0,0 +1,5 @@
+4 6
+..#..
+.....#
+....#.
+.#...
diff --git a/public_test_cases/p03014/input.3.txt b/public_test_cases/p03014/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ca2b2db2e7a01ba739956f214042eef7c4ddba6
--- /dev/null
+++ b/public_test_cases/p03014/input.3.txt
@@ -0,0 +1,9 @@
+8 8
+..#...#.
+....#...
+......
+..###..#
+...#..#.
+....#.
+...#...
+.#..#
diff --git a/public_test_cases/p03014/output.0.txt b/public_test_cases/p03014/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03014/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03014/output.1.txt b/public_test_cases/p03014/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03014/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03014/output.2.txt b/public_test_cases/p03014/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03014/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03014/output.3.txt b/public_test_cases/p03014/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03014/output.3.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03016/input.0.txt b/public_test_cases/p03016/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42e1211be8c7bd3439a130c9274f2271c642f472
--- /dev/null
+++ b/public_test_cases/p03016/input.0.txt
@@ -0,0 +1 @@
+5 3 4 10007
diff --git a/public_test_cases/p03016/input.1.txt b/public_test_cases/p03016/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..969f9fc503cdd8aece6b9b2c37594ae3d423c43e
--- /dev/null
+++ b/public_test_cases/p03016/input.1.txt
@@ -0,0 +1 @@
+4 8 1 1000000
diff --git a/public_test_cases/p03016/input.2.txt b/public_test_cases/p03016/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cb7ba459ad4c1abae0515072550d652653283ab
--- /dev/null
+++ b/public_test_cases/p03016/input.2.txt
@@ -0,0 +1 @@
+107 10000000000007 1000000000000007 998244353
diff --git a/public_test_cases/p03016/input.3.txt b/public_test_cases/p03016/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42e1211be8c7bd3439a130c9274f2271c642f472
--- /dev/null
+++ b/public_test_cases/p03016/input.3.txt
@@ -0,0 +1 @@
+5 3 4 10007
diff --git a/public_test_cases/p03016/output.0.txt b/public_test_cases/p03016/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3e5209c963c2d08a6cc4a5f153b188bea525f44
--- /dev/null
+++ b/public_test_cases/p03016/output.0.txt
@@ -0,0 +1 @@
+5563
diff --git a/public_test_cases/p03016/output.1.txt b/public_test_cases/p03016/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebe706b71ae2d30a7c896f1f17a412e755b81d73
--- /dev/null
+++ b/public_test_cases/p03016/output.1.txt
@@ -0,0 +1 @@
+891011
diff --git a/public_test_cases/p03016/output.2.txt b/public_test_cases/p03016/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7e18ae289ff3a33754c0c7b6ee9af323f100edd
--- /dev/null
+++ b/public_test_cases/p03016/output.2.txt
@@ -0,0 +1 @@
+39122908
diff --git a/public_test_cases/p03016/output.3.txt b/public_test_cases/p03016/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3e5209c963c2d08a6cc4a5f153b188bea525f44
--- /dev/null
+++ b/public_test_cases/p03016/output.3.txt
@@ -0,0 +1 @@
+5563
diff --git a/public_test_cases/p03017/input.0.txt b/public_test_cases/p03017/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..257cbaef65420a1899d8798f66a3d573ec86494a
--- /dev/null
+++ b/public_test_cases/p03017/input.0.txt
@@ -0,0 +1,2 @@
+7 1 3 6 7
+.#..#..
diff --git a/public_test_cases/p03017/input.1.txt b/public_test_cases/p03017/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..603d6e47802fefea15c314c473b11785e901929c
--- /dev/null
+++ b/public_test_cases/p03017/input.1.txt
@@ -0,0 +1,2 @@
+7 1 3 7 6
+.#..#..
diff --git a/public_test_cases/p03017/input.2.txt b/public_test_cases/p03017/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..257cbaef65420a1899d8798f66a3d573ec86494a
--- /dev/null
+++ b/public_test_cases/p03017/input.2.txt
@@ -0,0 +1,2 @@
+7 1 3 6 7
+.#..#..
diff --git a/public_test_cases/p03017/input.3.txt b/public_test_cases/p03017/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaee3a1fd21142163649316bd1789d5b4e46852e
--- /dev/null
+++ b/public_test_cases/p03017/input.3.txt
@@ -0,0 +1,2 @@
+15 1 3 15 13
+...#.#...#.#...
diff --git a/public_test_cases/p03017/output.0.txt b/public_test_cases/p03017/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03017/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03017/output.1.txt b/public_test_cases/p03017/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03017/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03017/output.2.txt b/public_test_cases/p03017/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03017/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03017/output.3.txt b/public_test_cases/p03017/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03017/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03018/input.0.txt b/public_test_cases/p03018/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c92d9ab274ff9fb445da2457cf6d4d69da4180d
--- /dev/null
+++ b/public_test_cases/p03018/input.0.txt
@@ -0,0 +1 @@
+ABCABC
diff --git a/public_test_cases/p03018/input.1.txt b/public_test_cases/p03018/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98551653d3074b4dee471e394d4649fecf7357a4
--- /dev/null
+++ b/public_test_cases/p03018/input.1.txt
@@ -0,0 +1 @@
+ABCACCBABCBCAABCB
diff --git a/public_test_cases/p03018/input.2.txt b/public_test_cases/p03018/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cc58df83752123644fef39faab2393af643b1d2
--- /dev/null
+++ b/public_test_cases/p03018/input.2.txt
@@ -0,0 +1 @@
+C
diff --git a/public_test_cases/p03018/input.3.txt b/public_test_cases/p03018/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c92d9ab274ff9fb445da2457cf6d4d69da4180d
--- /dev/null
+++ b/public_test_cases/p03018/input.3.txt
@@ -0,0 +1 @@
+ABCABC
diff --git a/public_test_cases/p03018/output.0.txt b/public_test_cases/p03018/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03018/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03018/output.1.txt b/public_test_cases/p03018/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03018/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03018/output.2.txt b/public_test_cases/p03018/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03018/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03018/output.3.txt b/public_test_cases/p03018/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03018/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03019/input.0.txt b/public_test_cases/p03019/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90c06e660d92137285a60b3208200f76a97bd140
--- /dev/null
+++ b/public_test_cases/p03019/input.0.txt
@@ -0,0 +1,3 @@
+2 100
+85 2 3
+60 1 1
diff --git a/public_test_cases/p03019/input.1.txt b/public_test_cases/p03019/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90c06e660d92137285a60b3208200f76a97bd140
--- /dev/null
+++ b/public_test_cases/p03019/input.1.txt
@@ -0,0 +1,3 @@
+2 100
+85 2 3
+60 1 1
diff --git a/public_test_cases/p03019/input.2.txt b/public_test_cases/p03019/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0daff4490fdce1f15db27d7c99b09e30ea13ddf7
--- /dev/null
+++ b/public_test_cases/p03019/input.2.txt
@@ -0,0 +1,11 @@
+10 1000
+451 4593 6263
+324 310 6991
+378 1431 7068
+71 1757 9218
+204 3676 4328
+840 6221 9080
+684 1545 8511
+709 5467 8674
+862 6504 9835
+283 4965 9980
diff --git a/public_test_cases/p03019/input.3.txt b/public_test_cases/p03019/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d176cc00dc35f1a24f81ad554882c0cee9313d5d
--- /dev/null
+++ b/public_test_cases/p03019/input.3.txt
@@ -0,0 +1,3 @@
+2 100
+85 2 3
+60 10 10
diff --git a/public_test_cases/p03019/input.4.txt b/public_test_cases/p03019/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7cd0cbc6b6486ee8ebc6c0b45cb32b7feb188a1
--- /dev/null
+++ b/public_test_cases/p03019/input.4.txt
@@ -0,0 +1,2 @@
+1 100000
+31415 2718 2818
diff --git a/public_test_cases/p03019/output.0.txt b/public_test_cases/p03019/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee977b5ecd771ba136572d97b7457d6d2d2e4c0d
--- /dev/null
+++ b/public_test_cases/p03019/output.0.txt
@@ -0,0 +1 @@
+115
diff --git a/public_test_cases/p03019/output.1.txt b/public_test_cases/p03019/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee977b5ecd771ba136572d97b7457d6d2d2e4c0d
--- /dev/null
+++ b/public_test_cases/p03019/output.1.txt
@@ -0,0 +1 @@
+115
diff --git a/public_test_cases/p03019/output.2.txt b/public_test_cases/p03019/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..983711d6f2db911df8c65703989a914dedb3ea98
--- /dev/null
+++ b/public_test_cases/p03019/output.2.txt
@@ -0,0 +1 @@
+2540
diff --git a/public_test_cases/p03019/output.3.txt b/public_test_cases/p03019/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..987e7ca9a76df749c99da91a829e772e9aa622f6
--- /dev/null
+++ b/public_test_cases/p03019/output.3.txt
@@ -0,0 +1 @@
+77
diff --git a/public_test_cases/p03019/output.4.txt b/public_test_cases/p03019/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72cf3f07b1e3da6df28d83f3a8f7716b25d69d4e
--- /dev/null
+++ b/public_test_cases/p03019/output.4.txt
@@ -0,0 +1 @@
+31415
diff --git a/public_test_cases/p03020/input.0.txt b/public_test_cases/p03020/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..789827cadc5b4cc0db8f96ae6d344d7d711f474d
--- /dev/null
+++ b/public_test_cases/p03020/input.0.txt
@@ -0,0 +1,5 @@
+2
+0 0 1
+3 2 1
+2 2 1
+5 0 1
diff --git a/public_test_cases/p03020/input.1.txt b/public_test_cases/p03020/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..069b416183c6f05e204ddaef5a09c021d17c0b12
--- /dev/null
+++ b/public_test_cases/p03020/input.1.txt
@@ -0,0 +1,7 @@
+3
+0 0 1
+2 2 1
+0 0 2
+1 1 1
+1 1 1
+3 3 2
diff --git a/public_test_cases/p03020/input.2.txt b/public_test_cases/p03020/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a780a3929c8c12e6d3e00304f4114a71c0ecc979
--- /dev/null
+++ b/public_test_cases/p03020/input.2.txt
@@ -0,0 +1,21 @@
+10
+582463373 690528069 8
+621230322 318051944 4
+356524296 974059503 6
+372751381 111542460 9
+392867214 581476334 6
+606955458 513028121 5
+882201596 791660614 9
+250465517 91918758 3
+618624774 406956634 6
+426294747 736401096 5
+974896051 888765942 5
+726682138 336960821 3
+715144179 82444709 6
+599055841 501257806 6
+390484433 962747856 4
+912334580 219343832 8
+570458984 648862300 6
+638017635 572157978 10
+435958984 585073520 7
+445612658 234265014 6
diff --git a/public_test_cases/p03020/input.3.txt b/public_test_cases/p03020/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..789827cadc5b4cc0db8f96ae6d344d7d711f474d
--- /dev/null
+++ b/public_test_cases/p03020/input.3.txt
@@ -0,0 +1,5 @@
+2
+0 0 1
+3 2 1
+2 2 1
+5 0 1
diff --git a/public_test_cases/p03020/output.0.txt b/public_test_cases/p03020/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03020/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03020/output.1.txt b/public_test_cases/p03020/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03020/output.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03020/output.2.txt b/public_test_cases/p03020/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8535bc4d53c2a488de4c10b5841523f0fe1589f
--- /dev/null
+++ b/public_test_cases/p03020/output.2.txt
@@ -0,0 +1 @@
+45152033546
diff --git a/public_test_cases/p03020/output.3.txt b/public_test_cases/p03020/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03020/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03021/input.0.txt b/public_test_cases/p03021/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9d17866c8b7d87e92339072a2bca17f3c676065
--- /dev/null
+++ b/public_test_cases/p03021/input.0.txt
@@ -0,0 +1,8 @@
+7
+0010101
+1 2
+2 3
+1 4
+4 5
+1 6
+6 7
diff --git a/public_test_cases/p03021/input.1.txt b/public_test_cases/p03021/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9d17866c8b7d87e92339072a2bca17f3c676065
--- /dev/null
+++ b/public_test_cases/p03021/input.1.txt
@@ -0,0 +1,8 @@
+7
+0010101
+1 2
+2 3
+1 4
+4 5
+1 6
+6 7
diff --git a/public_test_cases/p03021/input.2.txt b/public_test_cases/p03021/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d90f35cad49f7d1190cd6fd67747d151904f4acf
--- /dev/null
+++ b/public_test_cases/p03021/input.2.txt
@@ -0,0 +1,8 @@
+7
+0010110
+1 2
+2 3
+1 4
+4 5
+1 6
+6 7
diff --git a/public_test_cases/p03021/input.3.txt b/public_test_cases/p03021/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabfe7b1913247d845153b7091df3df0c8bd08ae
--- /dev/null
+++ b/public_test_cases/p03021/input.3.txt
@@ -0,0 +1,3 @@
+2
+01
+1 2
diff --git a/public_test_cases/p03021/output.0.txt b/public_test_cases/p03021/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03021/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03021/output.1.txt b/public_test_cases/p03021/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03021/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03021/output.2.txt b/public_test_cases/p03021/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03021/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03021/output.3.txt b/public_test_cases/p03021/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03021/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03022/input.0.txt b/public_test_cases/p03022/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9fc4e4fa016de0eb90971efab61914b663f4722
--- /dev/null
+++ b/public_test_cases/p03022/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 1 1 1
diff --git a/public_test_cases/p03022/input.1.txt b/public_test_cases/p03022/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e96d581ff5c4aef3aeccea1660fdbba559271c4d
--- /dev/null
+++ b/public_test_cases/p03022/input.1.txt
@@ -0,0 +1,2 @@
+4
+337 780 799 10 796 875 331 223 941 67 148 483 390 565 116 355
diff --git a/public_test_cases/p03022/input.2.txt b/public_test_cases/p03022/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9fc4e4fa016de0eb90971efab61914b663f4722
--- /dev/null
+++ b/public_test_cases/p03022/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 1 1 1
diff --git a/public_test_cases/p03022/input.3.txt b/public_test_cases/p03022/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e0d3844d1e07c9d318581e2c05bc7729ef3926c
--- /dev/null
+++ b/public_test_cases/p03022/input.3.txt
@@ -0,0 +1,2 @@
+2
+1 2 1 2
diff --git a/public_test_cases/p03022/output.0.txt b/public_test_cases/p03022/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aa2ea1acbd3a5ed741e1f25046be746dd5c4c0f
--- /dev/null
+++ b/public_test_cases/p03022/output.0.txt
@@ -0,0 +1,4 @@
+0
+4
+4
+4
diff --git a/public_test_cases/p03022/output.1.txt b/public_test_cases/p03022/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09d4433262e1da801dc90fc08dbdc78859bfbe0c
--- /dev/null
+++ b/public_test_cases/p03022/output.1.txt
@@ -0,0 +1,16 @@
+0
+468683018
+635850749
+96019779
+657074071
+24757563
+745107950
+665159588
+551278361
+143136064
+557841197
+185790407
+988018173
+247117461
+129098626
+789682908
diff --git a/public_test_cases/p03022/output.2.txt b/public_test_cases/p03022/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aa2ea1acbd3a5ed741e1f25046be746dd5c4c0f
--- /dev/null
+++ b/public_test_cases/p03022/output.2.txt
@@ -0,0 +1,4 @@
+0
+4
+4
+4
diff --git a/public_test_cases/p03022/output.3.txt b/public_test_cases/p03022/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aa32306f1a23c01ee9405591b83328f71039f28
--- /dev/null
+++ b/public_test_cases/p03022/output.3.txt
@@ -0,0 +1,4 @@
+0
+499122180
+4
+499122180
diff --git a/public_test_cases/p03023/input.0.txt b/public_test_cases/p03023/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03023/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03023/input.1.txt b/public_test_cases/p03023/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03023/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03023/input.2.txt b/public_test_cases/p03023/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03023/input.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03023/output.0.txt b/public_test_cases/p03023/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3af99eeec11bbfeb1fc5514129c2cd6e97503dbd
--- /dev/null
+++ b/public_test_cases/p03023/output.0.txt
@@ -0,0 +1 @@
+180
diff --git a/public_test_cases/p03023/output.1.txt b/public_test_cases/p03023/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3af99eeec11bbfeb1fc5514129c2cd6e97503dbd
--- /dev/null
+++ b/public_test_cases/p03023/output.1.txt
@@ -0,0 +1 @@
+180
diff --git a/public_test_cases/p03023/output.2.txt b/public_test_cases/p03023/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba91c32fd82036e2001815b3f9c9ce2a9dc01cc8
--- /dev/null
+++ b/public_test_cases/p03023/output.2.txt
@@ -0,0 +1 @@
+17640
diff --git a/public_test_cases/p03024/input.0.txt b/public_test_cases/p03024/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a336c4f816433e9bdf0ba7b568e69019dc242166
--- /dev/null
+++ b/public_test_cases/p03024/input.0.txt
@@ -0,0 +1 @@
+oxoxoxoxoxoxox
diff --git a/public_test_cases/p03024/input.1.txt b/public_test_cases/p03024/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a336c4f816433e9bdf0ba7b568e69019dc242166
--- /dev/null
+++ b/public_test_cases/p03024/input.1.txt
@@ -0,0 +1 @@
+oxoxoxoxoxoxox
diff --git a/public_test_cases/p03024/input.2.txt b/public_test_cases/p03024/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42119b822347cc560fc2fc94bd1e9b5ccc959e74
--- /dev/null
+++ b/public_test_cases/p03024/input.2.txt
@@ -0,0 +1 @@
+xxxxxxxx
diff --git a/public_test_cases/p03024/output.0.txt b/public_test_cases/p03024/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03024/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03024/output.1.txt b/public_test_cases/p03024/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03024/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03024/output.2.txt b/public_test_cases/p03024/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03024/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03025/input.0.txt b/public_test_cases/p03025/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8302e44e7afe50d7107c66c647fe966aa8ca49fe
--- /dev/null
+++ b/public_test_cases/p03025/input.0.txt
@@ -0,0 +1 @@
+1 25 25 50
diff --git a/public_test_cases/p03025/input.1.txt b/public_test_cases/p03025/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e84b9762fd45754cd66e3136ce293b5df82d283
--- /dev/null
+++ b/public_test_cases/p03025/input.1.txt
@@ -0,0 +1 @@
+4 50 50 0
diff --git a/public_test_cases/p03025/input.2.txt b/public_test_cases/p03025/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8302e44e7afe50d7107c66c647fe966aa8ca49fe
--- /dev/null
+++ b/public_test_cases/p03025/input.2.txt
@@ -0,0 +1 @@
+1 25 25 50
diff --git a/public_test_cases/p03025/input.3.txt b/public_test_cases/p03025/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb3a397fe23cd6620fd5ca99c4ba770b1a063dbd
--- /dev/null
+++ b/public_test_cases/p03025/input.3.txt
@@ -0,0 +1 @@
+1 100 0 0
diff --git a/public_test_cases/p03025/input.4.txt b/public_test_cases/p03025/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5570f8d2036e2fd49125110fb72e18466895e1e7
--- /dev/null
+++ b/public_test_cases/p03025/input.4.txt
@@ -0,0 +1 @@
+100000 31 41 28
diff --git a/public_test_cases/p03025/output.0.txt b/public_test_cases/p03025/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03025/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03025/output.1.txt b/public_test_cases/p03025/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea08a37ed1c2a7366a6b78a8fe1ccf60323ed84b
--- /dev/null
+++ b/public_test_cases/p03025/output.1.txt
@@ -0,0 +1 @@
+312500008
diff --git a/public_test_cases/p03025/output.2.txt b/public_test_cases/p03025/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03025/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03025/output.3.txt b/public_test_cases/p03025/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03025/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03025/output.4.txt b/public_test_cases/p03025/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..912e7bb2598a280ca71186767f99d3ece7e3b3f6
--- /dev/null
+++ b/public_test_cases/p03025/output.4.txt
@@ -0,0 +1 @@
+104136146
diff --git a/public_test_cases/p03026/input.0.txt b/public_test_cases/p03026/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4766b989869cd6931aba2f558be7564ee1fcf689
--- /dev/null
+++ b/public_test_cases/p03026/input.0.txt
@@ -0,0 +1,6 @@
+5
+1 2
+2 3
+3 4
+4 5
+1 2 3 4 5
diff --git a/public_test_cases/p03026/input.1.txt b/public_test_cases/p03026/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cd868b2fd341e525c2cef150e41fb79e004ba92
--- /dev/null
+++ b/public_test_cases/p03026/input.1.txt
@@ -0,0 +1,6 @@
+5
+1 2
+1 3
+1 4
+1 5
+3141 59 26 53 59
diff --git a/public_test_cases/p03026/input.2.txt b/public_test_cases/p03026/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4766b989869cd6931aba2f558be7564ee1fcf689
--- /dev/null
+++ b/public_test_cases/p03026/input.2.txt
@@ -0,0 +1,6 @@
+5
+1 2
+2 3
+3 4
+4 5
+1 2 3 4 5
diff --git a/public_test_cases/p03026/output.0.txt b/public_test_cases/p03026/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d499691c33650d06ee718c01a004c174ef1f42f
--- /dev/null
+++ b/public_test_cases/p03026/output.0.txt
@@ -0,0 +1,2 @@
+10
+1 2 3 4 5
diff --git a/public_test_cases/p03026/output.1.txt b/public_test_cases/p03026/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e11b0dc470e7b4a8951aaaa5a499062573c7ec2
--- /dev/null
+++ b/public_test_cases/p03026/output.1.txt
@@ -0,0 +1,2 @@
+197
+59 26 3141 59 53
diff --git a/public_test_cases/p03026/output.2.txt b/public_test_cases/p03026/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d499691c33650d06ee718c01a004c174ef1f42f
--- /dev/null
+++ b/public_test_cases/p03026/output.2.txt
@@ -0,0 +1,2 @@
+10
+1 2 3 4 5
diff --git a/public_test_cases/p03027/input.0.txt b/public_test_cases/p03027/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c34fef4d8478eadc01f87197b7b66b0d8c83602
--- /dev/null
+++ b/public_test_cases/p03027/input.0.txt
@@ -0,0 +1,3 @@
+2
+7 2 4
+12345 67890 2019
diff --git a/public_test_cases/p03027/input.1.txt b/public_test_cases/p03027/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c34fef4d8478eadc01f87197b7b66b0d8c83602
--- /dev/null
+++ b/public_test_cases/p03027/input.1.txt
@@ -0,0 +1,3 @@
+2
+7 2 4
+12345 67890 2019
diff --git a/public_test_cases/p03027/output.0.txt b/public_test_cases/p03027/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd166fb797faca1f239f84c2e09642b5d7b661f3
--- /dev/null
+++ b/public_test_cases/p03027/output.0.txt
@@ -0,0 +1,2 @@
+9009
+916936
diff --git a/public_test_cases/p03027/output.1.txt b/public_test_cases/p03027/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd166fb797faca1f239f84c2e09642b5d7b661f3
--- /dev/null
+++ b/public_test_cases/p03027/output.1.txt
@@ -0,0 +1,2 @@
+9009
+916936
diff --git a/public_test_cases/p03028/input.0.txt b/public_test_cases/p03028/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9524af46f93a3ede4bd47aa9025ecf1725b29c30
--- /dev/null
+++ b/public_test_cases/p03028/input.0.txt
@@ -0,0 +1,3 @@
+3
+0
+10
diff --git a/public_test_cases/p03028/input.1.txt b/public_test_cases/p03028/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b7c40bb33d1d035a71ba88da09289d8d5b5890e
--- /dev/null
+++ b/public_test_cases/p03028/input.1.txt
@@ -0,0 +1,6 @@
+6
+0
+11
+111
+1111
+11001
diff --git a/public_test_cases/p03028/input.2.txt b/public_test_cases/p03028/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9524af46f93a3ede4bd47aa9025ecf1725b29c30
--- /dev/null
+++ b/public_test_cases/p03028/input.2.txt
@@ -0,0 +1,3 @@
+3
+0
+10
diff --git a/public_test_cases/p03028/output.0.txt b/public_test_cases/p03028/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03028/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03028/output.1.txt b/public_test_cases/p03028/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03028/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03028/output.2.txt b/public_test_cases/p03028/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03028/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03029/input.0.txt b/public_test_cases/p03029/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p03029/input.0.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p03029/input.1.txt b/public_test_cases/p03029/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p03029/input.1.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p03029/input.2.txt b/public_test_cases/p03029/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b72580e0aced9af0da0dbd13b80363195a4b8e7a
--- /dev/null
+++ b/public_test_cases/p03029/input.2.txt
@@ -0,0 +1 @@
+32 21
diff --git a/public_test_cases/p03029/input.3.txt b/public_test_cases/p03029/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e8183b72e5ed9b26e9e2c64bb6bc849b23b0690
--- /dev/null
+++ b/public_test_cases/p03029/input.3.txt
@@ -0,0 +1 @@
+0 1
diff --git a/public_test_cases/p03029/output.0.txt b/public_test_cases/p03029/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03029/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03029/output.1.txt b/public_test_cases/p03029/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03029/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03029/output.2.txt b/public_test_cases/p03029/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c61d23e125b800e69cb950b09e23c06f728fff9
--- /dev/null
+++ b/public_test_cases/p03029/output.2.txt
@@ -0,0 +1 @@
+58
diff --git a/public_test_cases/p03029/output.3.txt b/public_test_cases/p03029/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03029/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03030/input.0.txt b/public_test_cases/p03030/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34ba58afd92b9b8c81a2e842ad2a47960bebf201
--- /dev/null
+++ b/public_test_cases/p03030/input.0.txt
@@ -0,0 +1,7 @@
+6
+khabarovsk 20
+moscow 10
+kazan 50
+kazan 35
+moscow 60
+khabarovsk 40
diff --git a/public_test_cases/p03030/input.1.txt b/public_test_cases/p03030/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34ba58afd92b9b8c81a2e842ad2a47960bebf201
--- /dev/null
+++ b/public_test_cases/p03030/input.1.txt
@@ -0,0 +1,7 @@
+6
+khabarovsk 20
+moscow 10
+kazan 50
+kazan 35
+moscow 60
+khabarovsk 40
diff --git a/public_test_cases/p03030/input.2.txt b/public_test_cases/p03030/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e4898347269c3bedf618fd17d354bf06eb3fdb3
--- /dev/null
+++ b/public_test_cases/p03030/input.2.txt
@@ -0,0 +1,11 @@
+10
+yakutsk 10
+yakutsk 20
+yakutsk 30
+yakutsk 40
+yakutsk 50
+yakutsk 60
+yakutsk 70
+yakutsk 80
+yakutsk 90
+yakutsk 100
diff --git a/public_test_cases/p03030/output.0.txt b/public_test_cases/p03030/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85b89b68b0d78a1dfa77d5bae829431a7b6a05f1
--- /dev/null
+++ b/public_test_cases/p03030/output.0.txt
@@ -0,0 +1,6 @@
+3
+4
+6
+1
+5
+2
diff --git a/public_test_cases/p03030/output.1.txt b/public_test_cases/p03030/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85b89b68b0d78a1dfa77d5bae829431a7b6a05f1
--- /dev/null
+++ b/public_test_cases/p03030/output.1.txt
@@ -0,0 +1,6 @@
+3
+4
+6
+1
+5
+2
diff --git a/public_test_cases/p03030/output.2.txt b/public_test_cases/p03030/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c0c86b6fd53583791a06fd72c2e2c67e231bf9
--- /dev/null
+++ b/public_test_cases/p03030/output.2.txt
@@ -0,0 +1,10 @@
+10
+9
+8
+7
+6
+5
+4
+3
+2
+1
diff --git a/public_test_cases/p03031/input.0.txt b/public_test_cases/p03031/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42a528f187c67edc2e558cb87a8dd4cccd914425
--- /dev/null
+++ b/public_test_cases/p03031/input.0.txt
@@ -0,0 +1,4 @@
+2 2
+2 1 2
+1 2
+0 1
diff --git a/public_test_cases/p03031/input.1.txt b/public_test_cases/p03031/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42a528f187c67edc2e558cb87a8dd4cccd914425
--- /dev/null
+++ b/public_test_cases/p03031/input.1.txt
@@ -0,0 +1,4 @@
+2 2
+2 1 2
+1 2
+0 1
diff --git a/public_test_cases/p03031/input.2.txt b/public_test_cases/p03031/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82be3d754951c5387c3b6127c13be55a4b3c7719
--- /dev/null
+++ b/public_test_cases/p03031/input.2.txt
@@ -0,0 +1,4 @@
+5 2
+3 1 2 5
+2 2 3
+1 0
diff --git a/public_test_cases/p03031/input.3.txt b/public_test_cases/p03031/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad0f3a2856132964644cf3dae2226f62a1dec4ce
--- /dev/null
+++ b/public_test_cases/p03031/input.3.txt
@@ -0,0 +1,5 @@
+2 3
+2 1 2
+1 1
+1 2
+0 0 1
diff --git a/public_test_cases/p03031/output.0.txt b/public_test_cases/p03031/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03031/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03031/output.1.txt b/public_test_cases/p03031/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03031/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03031/output.2.txt b/public_test_cases/p03031/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03031/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03031/output.3.txt b/public_test_cases/p03031/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03031/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03032/input.0.txt b/public_test_cases/p03032/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e20c989d2f658a5bc41a14da6904d6336a49b44c
--- /dev/null
+++ b/public_test_cases/p03032/input.0.txt
@@ -0,0 +1,2 @@
+6 4
+-10 8 2 1 2 6
diff --git a/public_test_cases/p03032/input.1.txt b/public_test_cases/p03032/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e20c989d2f658a5bc41a14da6904d6336a49b44c
--- /dev/null
+++ b/public_test_cases/p03032/input.1.txt
@@ -0,0 +1,2 @@
+6 4
+-10 8 2 1 2 6
diff --git a/public_test_cases/p03032/input.2.txt b/public_test_cases/p03032/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff0abce3d4579bf5f2e98921b14ef7f5857cd217
--- /dev/null
+++ b/public_test_cases/p03032/input.2.txt
@@ -0,0 +1,2 @@
+6 4
+-6 -100 50 -2 -5 -3
diff --git a/public_test_cases/p03032/input.3.txt b/public_test_cases/p03032/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7002d3dd46386f0bd39359a8c5e687fdefc7d0e2
--- /dev/null
+++ b/public_test_cases/p03032/input.3.txt
@@ -0,0 +1,2 @@
+6 3
+-6 -100 50 -2 -5 -3
diff --git a/public_test_cases/p03032/output.0.txt b/public_test_cases/p03032/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03032/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03032/output.1.txt b/public_test_cases/p03032/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03032/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03032/output.2.txt b/public_test_cases/p03032/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c739b42c4d2ce23786c5350641d0adbf5fa7d6b2
--- /dev/null
+++ b/public_test_cases/p03032/output.2.txt
@@ -0,0 +1 @@
+44
diff --git a/public_test_cases/p03032/output.3.txt b/public_test_cases/p03032/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03032/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03033/input.0.txt b/public_test_cases/p03033/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfc4193d8686f16a3bbe7bb368c8d609be8567f1
--- /dev/null
+++ b/public_test_cases/p03033/input.0.txt
@@ -0,0 +1,11 @@
+4 6
+1 3 2
+7 13 10
+18 20 13
+3 4 2
+0
+1
+2
+3
+5
+8
diff --git a/public_test_cases/p03033/input.1.txt b/public_test_cases/p03033/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfc4193d8686f16a3bbe7bb368c8d609be8567f1
--- /dev/null
+++ b/public_test_cases/p03033/input.1.txt
@@ -0,0 +1,11 @@
+4 6
+1 3 2
+7 13 10
+18 20 13
+3 4 2
+0
+1
+2
+3
+5
+8
diff --git a/public_test_cases/p03033/output.0.txt b/public_test_cases/p03033/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a8a458a63d9d4a313baccce3636a600fc09fd27
--- /dev/null
+++ b/public_test_cases/p03033/output.0.txt
@@ -0,0 +1,6 @@
+2
+2
+10
+-1
+13
+-1
diff --git a/public_test_cases/p03033/output.1.txt b/public_test_cases/p03033/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a8a458a63d9d4a313baccce3636a600fc09fd27
--- /dev/null
+++ b/public_test_cases/p03033/output.1.txt
@@ -0,0 +1,6 @@
+2
+2
+10
+-1
+13
+-1
diff --git a/public_test_cases/p03034/input.0.txt b/public_test_cases/p03034/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2971986bf79a4bb054b681a9c9cc63f6df66b13e
--- /dev/null
+++ b/public_test_cases/p03034/input.0.txt
@@ -0,0 +1,2 @@
+5
+0 2 5 1 0
diff --git a/public_test_cases/p03034/input.1.txt b/public_test_cases/p03034/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fbbd44152d1c46227731ea6350a1ef23c61eaaa
--- /dev/null
+++ b/public_test_cases/p03034/input.1.txt
@@ -0,0 +1,2 @@
+6
+0 10 -7 -4 -13 0
diff --git a/public_test_cases/p03034/input.2.txt b/public_test_cases/p03034/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2971986bf79a4bb054b681a9c9cc63f6df66b13e
--- /dev/null
+++ b/public_test_cases/p03034/input.2.txt
@@ -0,0 +1,2 @@
+5
+0 2 5 1 0
diff --git a/public_test_cases/p03034/input.3.txt b/public_test_cases/p03034/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec5248cca211e4bbc5a0bffeaaadaf30410ee667
--- /dev/null
+++ b/public_test_cases/p03034/input.3.txt
@@ -0,0 +1,2 @@
+11
+0 -4 0 -99 31 14 -15 -39 43 18 0
diff --git a/public_test_cases/p03034/output.0.txt b/public_test_cases/p03034/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03034/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03034/output.1.txt b/public_test_cases/p03034/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03034/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03034/output.2.txt b/public_test_cases/p03034/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03034/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03034/output.3.txt b/public_test_cases/p03034/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04f9fe46068b397a6fc24d647b7e3ec4315c15e7
--- /dev/null
+++ b/public_test_cases/p03034/output.3.txt
@@ -0,0 +1 @@
+59
diff --git a/public_test_cases/p03035/input.0.txt b/public_test_cases/p03035/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a32305319648e445aa8a2abba6aa08e722ea0a22
--- /dev/null
+++ b/public_test_cases/p03035/input.0.txt
@@ -0,0 +1 @@
+30 100
diff --git a/public_test_cases/p03035/input.1.txt b/public_test_cases/p03035/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08cd8a9aca2ee1ec5f5f01c8e9500c60bcd7e308
--- /dev/null
+++ b/public_test_cases/p03035/input.1.txt
@@ -0,0 +1 @@
+0 100
diff --git a/public_test_cases/p03035/input.2.txt b/public_test_cases/p03035/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a32305319648e445aa8a2abba6aa08e722ea0a22
--- /dev/null
+++ b/public_test_cases/p03035/input.2.txt
@@ -0,0 +1 @@
+30 100
diff --git a/public_test_cases/p03035/input.3.txt b/public_test_cases/p03035/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14667c8c86df8fd978c3132f5b85ec00383f8a8b
--- /dev/null
+++ b/public_test_cases/p03035/input.3.txt
@@ -0,0 +1 @@
+12 100
diff --git a/public_test_cases/p03035/output.0.txt b/public_test_cases/p03035/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03035/output.0.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03035/output.1.txt b/public_test_cases/p03035/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03035/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03035/output.2.txt b/public_test_cases/p03035/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03035/output.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03035/output.3.txt b/public_test_cases/p03035/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03035/output.3.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03036/input.0.txt b/public_test_cases/p03036/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f916338b91913b11f689ff1966b6189f7cb3d94c
--- /dev/null
+++ b/public_test_cases/p03036/input.0.txt
@@ -0,0 +1 @@
+2 10 20
diff --git a/public_test_cases/p03036/input.1.txt b/public_test_cases/p03036/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f916338b91913b11f689ff1966b6189f7cb3d94c
--- /dev/null
+++ b/public_test_cases/p03036/input.1.txt
@@ -0,0 +1 @@
+2 10 20
diff --git a/public_test_cases/p03036/input.2.txt b/public_test_cases/p03036/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cce6494d7af8a0522ff3cd4f4f0028f4a2fc6a13
--- /dev/null
+++ b/public_test_cases/p03036/input.2.txt
@@ -0,0 +1 @@
+4 40 60
diff --git a/public_test_cases/p03036/output.0.txt b/public_test_cases/p03036/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a24cbe8eedab90ab6691310f573e582baf3d3d11
--- /dev/null
+++ b/public_test_cases/p03036/output.0.txt
@@ -0,0 +1,10 @@
+30
+50
+90
+170
+330
+650
+1290
+2570
+5130
+10250
diff --git a/public_test_cases/p03036/output.1.txt b/public_test_cases/p03036/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a24cbe8eedab90ab6691310f573e582baf3d3d11
--- /dev/null
+++ b/public_test_cases/p03036/output.1.txt
@@ -0,0 +1,10 @@
+30
+50
+90
+170
+330
+650
+1290
+2570
+5130
+10250
diff --git a/public_test_cases/p03036/output.2.txt b/public_test_cases/p03036/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..761abdd5395167393578c4db7f9f3d9ad9d5ed24
--- /dev/null
+++ b/public_test_cases/p03036/output.2.txt
@@ -0,0 +1,10 @@
+200
+760
+3000
+11960
+47800
+191160
+764600
+3058360
+12233400
+48933560
diff --git a/public_test_cases/p03037/input.0.txt b/public_test_cases/p03037/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..938abf4cc84ac0f75d8470678b365b734c5a9076
--- /dev/null
+++ b/public_test_cases/p03037/input.0.txt
@@ -0,0 +1,3 @@
+4 2
+1 3
+2 4
diff --git a/public_test_cases/p03037/input.1.txt b/public_test_cases/p03037/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9176afd91b4f6fe694759568f4f764f05aa88c29
--- /dev/null
+++ b/public_test_cases/p03037/input.1.txt
@@ -0,0 +1,2 @@
+100000 1
+1 100000
diff --git a/public_test_cases/p03037/input.2.txt b/public_test_cases/p03037/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..938abf4cc84ac0f75d8470678b365b734c5a9076
--- /dev/null
+++ b/public_test_cases/p03037/input.2.txt
@@ -0,0 +1,3 @@
+4 2
+1 3
+2 4
diff --git a/public_test_cases/p03037/input.3.txt b/public_test_cases/p03037/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3cf315f29710d81181866bc9d97912a36fa0d0b
--- /dev/null
+++ b/public_test_cases/p03037/input.3.txt
@@ -0,0 +1,4 @@
+10 3
+3 6
+5 7
+6 9
diff --git a/public_test_cases/p03037/output.0.txt b/public_test_cases/p03037/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03037/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03037/output.1.txt b/public_test_cases/p03037/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p03037/output.1.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p03037/output.2.txt b/public_test_cases/p03037/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03037/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03037/output.3.txt b/public_test_cases/p03037/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03037/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03038/input.0.txt b/public_test_cases/p03038/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75cee51b4f0518bb4312d5f89933453a7fbf46dc
--- /dev/null
+++ b/public_test_cases/p03038/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+5 1 4
+2 3
+1 5
diff --git a/public_test_cases/p03038/input.1.txt b/public_test_cases/p03038/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a88b2a087654108dedf9a8f50b83c171aba52b95
--- /dev/null
+++ b/public_test_cases/p03038/input.1.txt
@@ -0,0 +1,5 @@
+10 3
+1 8 5 7 100 4 52 33 13 5
+3 10
+4 30
+1 4
diff --git a/public_test_cases/p03038/input.2.txt b/public_test_cases/p03038/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75cee51b4f0518bb4312d5f89933453a7fbf46dc
--- /dev/null
+++ b/public_test_cases/p03038/input.2.txt
@@ -0,0 +1,4 @@
+3 2
+5 1 4
+2 3
+1 5
diff --git a/public_test_cases/p03038/input.3.txt b/public_test_cases/p03038/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8001c38b0b6ae0346a3ca17b1b66d4ecce493aee
--- /dev/null
+++ b/public_test_cases/p03038/input.3.txt
@@ -0,0 +1,4 @@
+3 2
+100 100 100
+3 99
+3 99
diff --git a/public_test_cases/p03038/input.4.txt b/public_test_cases/p03038/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21dc5b34f54ad5645ffe551681c49c22a363ab8c
--- /dev/null
+++ b/public_test_cases/p03038/input.4.txt
@@ -0,0 +1,5 @@
+11 3
+1 1 1 1 1 1 1 1 1 1 1
+3 1000000000
+4 1000000000
+3 1000000000
diff --git a/public_test_cases/p03038/output.0.txt b/public_test_cases/p03038/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03038/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03038/output.1.txt b/public_test_cases/p03038/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87537f4926d09d70aa77bba6525729da8852da57
--- /dev/null
+++ b/public_test_cases/p03038/output.1.txt
@@ -0,0 +1 @@
+338
diff --git a/public_test_cases/p03038/output.2.txt b/public_test_cases/p03038/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03038/output.2.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03038/output.3.txt b/public_test_cases/p03038/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..697cb3a26d77d1625ea445520e6e1e7bae966fe1
--- /dev/null
+++ b/public_test_cases/p03038/output.3.txt
@@ -0,0 +1 @@
+300
diff --git a/public_test_cases/p03038/output.4.txt b/public_test_cases/p03038/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cbc45860d56b67c3e706c6cb7d25fb57759d109
--- /dev/null
+++ b/public_test_cases/p03038/output.4.txt
@@ -0,0 +1 @@
+10000000001
diff --git a/public_test_cases/p03039/input.0.txt b/public_test_cases/p03039/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p03039/input.0.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p03039/input.1.txt b/public_test_cases/p03039/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p03039/input.1.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p03039/input.2.txt b/public_test_cases/p03039/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37935e9784bc1cdc800342b0e030805e56939a25
--- /dev/null
+++ b/public_test_cases/p03039/input.2.txt
@@ -0,0 +1 @@
+100 100 5000
diff --git a/public_test_cases/p03039/input.3.txt b/public_test_cases/p03039/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0e3ad72a3c5aa053bec949230b5b0caa6a0db01
--- /dev/null
+++ b/public_test_cases/p03039/input.3.txt
@@ -0,0 +1 @@
+4 5 4
diff --git a/public_test_cases/p03039/output.0.txt b/public_test_cases/p03039/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03039/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03039/output.1.txt b/public_test_cases/p03039/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03039/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03039/output.2.txt b/public_test_cases/p03039/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5268f67ccd0ce74a800e811731fb25768158a715
--- /dev/null
+++ b/public_test_cases/p03039/output.2.txt
@@ -0,0 +1 @@
+817260251
diff --git a/public_test_cases/p03039/output.3.txt b/public_test_cases/p03039/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfae3e0ad8fd4ddd73e9de345cda367ed2cc6f3f
--- /dev/null
+++ b/public_test_cases/p03039/output.3.txt
@@ -0,0 +1 @@
+87210
diff --git a/public_test_cases/p03040/input.0.txt b/public_test_cases/p03040/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8258ccd9f6ecf90e9e58b98e804f97fa7d8ef7d4
--- /dev/null
+++ b/public_test_cases/p03040/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 4 2
+2
+1 1 -8
+2
diff --git a/public_test_cases/p03040/input.1.txt b/public_test_cases/p03040/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37af1e4f65e6921908e2feb100d686416b224ca9
--- /dev/null
+++ b/public_test_cases/p03040/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 -1000000000 1000000000
+1 -1000000000 1000000000
+1 -1000000000 1000000000
+2
diff --git a/public_test_cases/p03040/input.2.txt b/public_test_cases/p03040/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8258ccd9f6ecf90e9e58b98e804f97fa7d8ef7d4
--- /dev/null
+++ b/public_test_cases/p03040/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 4 2
+2
+1 1 -8
+2
diff --git a/public_test_cases/p03040/output.0.txt b/public_test_cases/p03040/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11d64d567e04238949c42d8b375a0609119475c3
--- /dev/null
+++ b/public_test_cases/p03040/output.0.txt
@@ -0,0 +1,2 @@
+4 2
+1 -3
diff --git a/public_test_cases/p03040/output.1.txt b/public_test_cases/p03040/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..998ba994e47d18f52afb87435639c653b154e83d
--- /dev/null
+++ b/public_test_cases/p03040/output.1.txt
@@ -0,0 +1 @@
+-1000000000 3000000000
diff --git a/public_test_cases/p03040/output.2.txt b/public_test_cases/p03040/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11d64d567e04238949c42d8b375a0609119475c3
--- /dev/null
+++ b/public_test_cases/p03040/output.2.txt
@@ -0,0 +1,2 @@
+4 2
+1 -3
diff --git a/public_test_cases/p03041/input.0.txt b/public_test_cases/p03041/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e30eb47149f88bb5505e044ff79f9b7e3821045e
--- /dev/null
+++ b/public_test_cases/p03041/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+ABC
diff --git a/public_test_cases/p03041/input.1.txt b/public_test_cases/p03041/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1593bb602034386821f3d3b58e7f9b8f23e9baf7
--- /dev/null
+++ b/public_test_cases/p03041/input.1.txt
@@ -0,0 +1,2 @@
+4 3
+CABA
diff --git a/public_test_cases/p03041/input.2.txt b/public_test_cases/p03041/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e30eb47149f88bb5505e044ff79f9b7e3821045e
--- /dev/null
+++ b/public_test_cases/p03041/input.2.txt
@@ -0,0 +1,2 @@
+3 1
+ABC
diff --git a/public_test_cases/p03041/output.0.txt b/public_test_cases/p03041/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc6b068e1c8226c1c2a5443c146c7edd7cddb6dc
--- /dev/null
+++ b/public_test_cases/p03041/output.0.txt
@@ -0,0 +1 @@
+aBC
diff --git a/public_test_cases/p03041/output.1.txt b/public_test_cases/p03041/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05578e4b9e5cc6beecd85880ce25b0fe27c2e3bd
--- /dev/null
+++ b/public_test_cases/p03041/output.1.txt
@@ -0,0 +1 @@
+CAbA
diff --git a/public_test_cases/p03041/output.2.txt b/public_test_cases/p03041/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc6b068e1c8226c1c2a5443c146c7edd7cddb6dc
--- /dev/null
+++ b/public_test_cases/p03041/output.2.txt
@@ -0,0 +1 @@
+aBC
diff --git a/public_test_cases/p03042/input.0.txt b/public_test_cases/p03042/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eec1f493a8c3fe911cdafb9c49e83cccddd4f3ef
--- /dev/null
+++ b/public_test_cases/p03042/input.0.txt
@@ -0,0 +1 @@
+1905
diff --git a/public_test_cases/p03042/input.1.txt b/public_test_cases/p03042/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eec1f493a8c3fe911cdafb9c49e83cccddd4f3ef
--- /dev/null
+++ b/public_test_cases/p03042/input.1.txt
@@ -0,0 +1 @@
+1905
diff --git a/public_test_cases/p03042/input.2.txt b/public_test_cases/p03042/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9eea8f079dcc914d9ddbaf169fc05433d03a862
--- /dev/null
+++ b/public_test_cases/p03042/input.2.txt
@@ -0,0 +1 @@
+1700
diff --git a/public_test_cases/p03042/input.3.txt b/public_test_cases/p03042/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9cf73487351860134cab09e972a795d629d1688
--- /dev/null
+++ b/public_test_cases/p03042/input.3.txt
@@ -0,0 +1 @@
+0112
diff --git a/public_test_cases/p03042/output.0.txt b/public_test_cases/p03042/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f5fc08b2a50ee09217b17bc985b4b638508f4ee
--- /dev/null
+++ b/public_test_cases/p03042/output.0.txt
@@ -0,0 +1 @@
+YYMM
diff --git a/public_test_cases/p03042/output.1.txt b/public_test_cases/p03042/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f5fc08b2a50ee09217b17bc985b4b638508f4ee
--- /dev/null
+++ b/public_test_cases/p03042/output.1.txt
@@ -0,0 +1 @@
+YYMM
diff --git a/public_test_cases/p03042/output.2.txt b/public_test_cases/p03042/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69fc4ef2be0c2550c183850902cb55dbf3d37b30
--- /dev/null
+++ b/public_test_cases/p03042/output.2.txt
@@ -0,0 +1 @@
+NA
diff --git a/public_test_cases/p03042/output.3.txt b/public_test_cases/p03042/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a5da5f6d4419ff51fad66eae4820376e081b4eb
--- /dev/null
+++ b/public_test_cases/p03042/output.3.txt
@@ -0,0 +1 @@
+AMBIGUOUS
diff --git a/public_test_cases/p03043/input.0.txt b/public_test_cases/p03043/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d737c73be4cb3412b0523fe3eb1e51236019e56
--- /dev/null
+++ b/public_test_cases/p03043/input.0.txt
@@ -0,0 +1 @@
+3 10
diff --git a/public_test_cases/p03043/input.1.txt b/public_test_cases/p03043/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d737c73be4cb3412b0523fe3eb1e51236019e56
--- /dev/null
+++ b/public_test_cases/p03043/input.1.txt
@@ -0,0 +1 @@
+3 10
diff --git a/public_test_cases/p03043/input.2.txt b/public_test_cases/p03043/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d38ebc4d3c2094492be232cdb2c61859cab06cfd
--- /dev/null
+++ b/public_test_cases/p03043/input.2.txt
@@ -0,0 +1 @@
+100000 5
diff --git a/public_test_cases/p03043/output.0.txt b/public_test_cases/p03043/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86abdb3acc301f956b5ad3493bae3c5356702b10
--- /dev/null
+++ b/public_test_cases/p03043/output.0.txt
@@ -0,0 +1 @@
+0.145833333333
diff --git a/public_test_cases/p03043/output.1.txt b/public_test_cases/p03043/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86abdb3acc301f956b5ad3493bae3c5356702b10
--- /dev/null
+++ b/public_test_cases/p03043/output.1.txt
@@ -0,0 +1 @@
+0.145833333333
diff --git a/public_test_cases/p03043/output.2.txt b/public_test_cases/p03043/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22714110b9bf53fa64d3c1805287f84d8bff6591
--- /dev/null
+++ b/public_test_cases/p03043/output.2.txt
@@ -0,0 +1 @@
+0.999973749998
diff --git a/public_test_cases/p03044/input.0.txt b/public_test_cases/p03044/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25942053a5d5382961b5c8fa6cbcc2f1756a3b78
--- /dev/null
+++ b/public_test_cases/p03044/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2 2
+2 3 1
diff --git a/public_test_cases/p03044/input.1.txt b/public_test_cases/p03044/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c46e3824596d40027cb87334c5223c384a518000
--- /dev/null
+++ b/public_test_cases/p03044/input.1.txt
@@ -0,0 +1,5 @@
+5
+2 5 2
+2 3 10
+1 3 8
+3 4 2
diff --git a/public_test_cases/p03044/input.2.txt b/public_test_cases/p03044/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25942053a5d5382961b5c8fa6cbcc2f1756a3b78
--- /dev/null
+++ b/public_test_cases/p03044/input.2.txt
@@ -0,0 +1,3 @@
+3
+1 2 2
+2 3 1
diff --git a/public_test_cases/p03044/output.0.txt b/public_test_cases/p03044/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5ee5c21ebeadb60f37f55e05206c18a219be58
--- /dev/null
+++ b/public_test_cases/p03044/output.0.txt
@@ -0,0 +1,3 @@
+0
+0
+1
diff --git a/public_test_cases/p03044/output.1.txt b/public_test_cases/p03044/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33f911e8c07e6771a281331a87c1b0d08859afa2
--- /dev/null
+++ b/public_test_cases/p03044/output.1.txt
@@ -0,0 +1,5 @@
+1
+0
+1
+0
+1
diff --git a/public_test_cases/p03044/output.2.txt b/public_test_cases/p03044/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5ee5c21ebeadb60f37f55e05206c18a219be58
--- /dev/null
+++ b/public_test_cases/p03044/output.2.txt
@@ -0,0 +1,3 @@
+0
+0
+1
diff --git a/public_test_cases/p03045/input.0.txt b/public_test_cases/p03045/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a6c3987722ae84bfd2bf0ef693877c72c319bb8
--- /dev/null
+++ b/public_test_cases/p03045/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+1 2 1
diff --git a/public_test_cases/p03045/input.1.txt b/public_test_cases/p03045/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cae98e9bdb0693f914a34e702dc68da23338a50
--- /dev/null
+++ b/public_test_cases/p03045/input.1.txt
@@ -0,0 +1,2 @@
+100000 1
+1 100000 100
diff --git a/public_test_cases/p03045/input.2.txt b/public_test_cases/p03045/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a83682456e3c80202872855ac3b64ea4fd0ae94b
--- /dev/null
+++ b/public_test_cases/p03045/input.2.txt
@@ -0,0 +1,6 @@
+6 5
+1 2 1
+2 3 2
+1 3 3
+4 5 4
+5 6 5
diff --git a/public_test_cases/p03045/input.3.txt b/public_test_cases/p03045/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a6c3987722ae84bfd2bf0ef693877c72c319bb8
--- /dev/null
+++ b/public_test_cases/p03045/input.3.txt
@@ -0,0 +1,2 @@
+3 1
+1 2 1
diff --git a/public_test_cases/p03045/output.0.txt b/public_test_cases/p03045/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03045/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03045/output.1.txt b/public_test_cases/p03045/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90ef1ea404f5aeb59bc233448c4e724c91f3fff8
--- /dev/null
+++ b/public_test_cases/p03045/output.1.txt
@@ -0,0 +1 @@
+99999
diff --git a/public_test_cases/p03045/output.2.txt b/public_test_cases/p03045/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03045/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03045/output.3.txt b/public_test_cases/p03045/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03045/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03047/input.0.txt b/public_test_cases/p03047/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03047/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03047/input.1.txt b/public_test_cases/p03047/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1237b57d68e751d4cb03af542a102444e5ca2c96
--- /dev/null
+++ b/public_test_cases/p03047/input.1.txt
@@ -0,0 +1 @@
+13 3
diff --git a/public_test_cases/p03047/input.2.txt b/public_test_cases/p03047/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03047/input.2.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03047/output.0.txt b/public_test_cases/p03047/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03047/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03047/output.1.txt b/public_test_cases/p03047/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03047/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03047/output.2.txt b/public_test_cases/p03047/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03047/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03048/input.0.txt b/public_test_cases/p03048/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93a48451c357d2efc0215caef8334af6b6b8dacf
--- /dev/null
+++ b/public_test_cases/p03048/input.0.txt
@@ -0,0 +1 @@
+1 2 3 4
diff --git a/public_test_cases/p03048/input.1.txt b/public_test_cases/p03048/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93a48451c357d2efc0215caef8334af6b6b8dacf
--- /dev/null
+++ b/public_test_cases/p03048/input.1.txt
@@ -0,0 +1 @@
+1 2 3 4
diff --git a/public_test_cases/p03048/input.2.txt b/public_test_cases/p03048/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c78bfb8cc6b2072f330d96a50ae95ef6f65a9008
--- /dev/null
+++ b/public_test_cases/p03048/input.2.txt
@@ -0,0 +1 @@
+13 1 4 3000
diff --git a/public_test_cases/p03048/output.0.txt b/public_test_cases/p03048/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03048/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03048/output.1.txt b/public_test_cases/p03048/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03048/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03048/output.2.txt b/public_test_cases/p03048/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ea52930feb497cc1d96f7626ece59330baba2a0
--- /dev/null
+++ b/public_test_cases/p03048/output.2.txt
@@ -0,0 +1 @@
+87058
diff --git a/public_test_cases/p03049/input.0.txt b/public_test_cases/p03049/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..818d5824131403639e13bb723ede63bd8aa540d0
--- /dev/null
+++ b/public_test_cases/p03049/input.0.txt
@@ -0,0 +1,4 @@
+3
+ABCA
+XBAZ
+BAD
diff --git a/public_test_cases/p03049/input.1.txt b/public_test_cases/p03049/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a400b3214023ba1ab6297ff25ce52e51de3324f4
--- /dev/null
+++ b/public_test_cases/p03049/input.1.txt
@@ -0,0 +1,10 @@
+9
+BEWPVCRWH
+ZZNQYIJX
+BAVREA
+PA
+HJMYITEOX
+BCJHMRMNK
+BP
+QVFABZ
+PRGKSPUNA
diff --git a/public_test_cases/p03049/input.2.txt b/public_test_cases/p03049/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74b22e3fcaec932129df78a5730199350cc80115
--- /dev/null
+++ b/public_test_cases/p03049/input.2.txt
@@ -0,0 +1,8 @@
+7
+RABYBBE
+JOZ
+BMHQUVA
+BPA
+ISU
+MCMABAOBHZ
+SZMEHMA
diff --git a/public_test_cases/p03049/input.3.txt b/public_test_cases/p03049/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..818d5824131403639e13bb723ede63bd8aa540d0
--- /dev/null
+++ b/public_test_cases/p03049/input.3.txt
@@ -0,0 +1,4 @@
+3
+ABCA
+XBAZ
+BAD
diff --git a/public_test_cases/p03049/output.0.txt b/public_test_cases/p03049/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03049/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03049/output.1.txt b/public_test_cases/p03049/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03049/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03049/output.2.txt b/public_test_cases/p03049/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03049/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03049/output.3.txt b/public_test_cases/p03049/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03049/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03050/input.0.txt b/public_test_cases/p03050/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03050/input.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03050/input.1.txt b/public_test_cases/p03050/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03050/input.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03050/input.2.txt b/public_test_cases/p03050/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6ee9012f2ab8aa0961ad84e2066b4518eafea4f
--- /dev/null
+++ b/public_test_cases/p03050/input.2.txt
@@ -0,0 +1 @@
+1000000000000
diff --git a/public_test_cases/p03050/output.0.txt b/public_test_cases/p03050/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03050/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03050/output.1.txt b/public_test_cases/p03050/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03050/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03050/output.2.txt b/public_test_cases/p03050/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50a43fa4d6a9e70604a364edf6532bba997adc3d
--- /dev/null
+++ b/public_test_cases/p03050/output.2.txt
@@ -0,0 +1 @@
+2499686339916
diff --git a/public_test_cases/p03051/input.0.txt b/public_test_cases/p03051/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03051/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03051/input.1.txt b/public_test_cases/p03051/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0becb1637def82dd6d451192a4b59835911bd179
--- /dev/null
+++ b/public_test_cases/p03051/input.1.txt
@@ -0,0 +1,2 @@
+32
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p03051/input.2.txt b/public_test_cases/p03051/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1a3ea4e326f8121a99b2057e7f2b8c9b0c2119f
--- /dev/null
+++ b/public_test_cases/p03051/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 2 2
diff --git a/public_test_cases/p03051/input.3.txt b/public_test_cases/p03051/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03051/input.3.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03051/input.4.txt b/public_test_cases/p03051/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d3073bc54d184da4e077648445dc0b2ebdd8c73
--- /dev/null
+++ b/public_test_cases/p03051/input.4.txt
@@ -0,0 +1,2 @@
+24
+1 2 5 3 3 6 1 1 8 8 0 3 3 4 6 6 4 0 7 2 5 4 6 2
diff --git a/public_test_cases/p03051/output.0.txt b/public_test_cases/p03051/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03051/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03051/output.1.txt b/public_test_cases/p03051/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f8fcb8dd295298411948dddbcebc37f7af3160a
--- /dev/null
+++ b/public_test_cases/p03051/output.1.txt
@@ -0,0 +1 @@
+147483634
diff --git a/public_test_cases/p03051/output.2.txt b/public_test_cases/p03051/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03051/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03051/output.3.txt b/public_test_cases/p03051/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03051/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03051/output.4.txt b/public_test_cases/p03051/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f20bd4efea55d184a634e417338291a94563d22a
--- /dev/null
+++ b/public_test_cases/p03051/output.4.txt
@@ -0,0 +1 @@
+292
diff --git a/public_test_cases/p03052/input.0.txt b/public_test_cases/p03052/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..350277fad26b30c3901bbc1ed06ba092af0dbf76
--- /dev/null
+++ b/public_test_cases/p03052/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+1 3
diff --git a/public_test_cases/p03052/input.1.txt b/public_test_cases/p03052/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..edef9bfd8c7730d275c8d3d077281deb4d81cdd6
--- /dev/null
+++ b/public_test_cases/p03052/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+3 2
+3 4
+1 3
diff --git a/public_test_cases/p03052/input.2.txt b/public_test_cases/p03052/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d4df17e79c0aae49d5f9ca28e60c6486b1bf545
--- /dev/null
+++ b/public_test_cases/p03052/input.2.txt
@@ -0,0 +1,29 @@
+15 28
+10 7
+5 9
+2 13
+2 14
+6 1
+5 12
+2 10
+3 9
+10 15
+11 12
+12 6
+2 12
+12 8
+4 10
+15 3
+13 14
+1 15
+15 12
+4 14
+1 7
+5 11
+7 13
+9 10
+2 7
+1 9
+5 6
+12 14
+5 2
diff --git a/public_test_cases/p03052/input.3.txt b/public_test_cases/p03052/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..350277fad26b30c3901bbc1ed06ba092af0dbf76
--- /dev/null
+++ b/public_test_cases/p03052/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+1 3
diff --git a/public_test_cases/p03052/output.0.txt b/public_test_cases/p03052/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03052/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03052/output.1.txt b/public_test_cases/p03052/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03052/output.1.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03052/output.2.txt b/public_test_cases/p03052/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e867975868ba2b013b67b435d40e1bfa4179e6db
--- /dev/null
+++ b/public_test_cases/p03052/output.2.txt
@@ -0,0 +1 @@
+657573092
diff --git a/public_test_cases/p03052/output.3.txt b/public_test_cases/p03052/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03052/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03053/input.0.txt b/public_test_cases/p03053/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c69ed0d4a514d28e0531fdeaaf20848df3b534e
--- /dev/null
+++ b/public_test_cases/p03053/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+...
+.#.
+...
diff --git a/public_test_cases/p03053/input.1.txt b/public_test_cases/p03053/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c69ed0d4a514d28e0531fdeaaf20848df3b534e
--- /dev/null
+++ b/public_test_cases/p03053/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+...
+.#.
+...
diff --git a/public_test_cases/p03053/input.2.txt b/public_test_cases/p03053/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66022a58925d18ebfa2bea242d50f36e5c8abd81
--- /dev/null
+++ b/public_test_cases/p03053/input.2.txt
@@ -0,0 +1,7 @@
+6 6
+..#..#
+......
+..#..
+......
+.#....
+....#.
diff --git a/public_test_cases/p03053/output.0.txt b/public_test_cases/p03053/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03053/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03053/output.1.txt b/public_test_cases/p03053/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03053/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03053/output.2.txt b/public_test_cases/p03053/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03053/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03054/input.0.txt b/public_test_cases/p03054/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..977b8774a7955aaea6c806a1acbc7f912a881756
--- /dev/null
+++ b/public_test_cases/p03054/input.0.txt
@@ -0,0 +1,4 @@
+2 3 3
+2 2
+RRL
+LUD
diff --git a/public_test_cases/p03054/input.1.txt b/public_test_cases/p03054/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..977b8774a7955aaea6c806a1acbc7f912a881756
--- /dev/null
+++ b/public_test_cases/p03054/input.1.txt
@@ -0,0 +1,4 @@
+2 3 3
+2 2
+RRL
+LUD
diff --git a/public_test_cases/p03054/input.2.txt b/public_test_cases/p03054/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c33e8a344c89d24864acc9abb18eb6b9560673d
--- /dev/null
+++ b/public_test_cases/p03054/input.2.txt
@@ -0,0 +1,4 @@
+4 3 5
+2 2
+UDRRR
+LLDUD
diff --git a/public_test_cases/p03054/input.3.txt b/public_test_cases/p03054/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67b96ba2b3b4dc7b641df85325e05b689b604f9f
--- /dev/null
+++ b/public_test_cases/p03054/input.3.txt
@@ -0,0 +1,4 @@
+5 6 11
+2 1
+RLDRRUDDLRL
+URRDRLLDLRD
diff --git a/public_test_cases/p03054/output.0.txt b/public_test_cases/p03054/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03054/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03054/output.1.txt b/public_test_cases/p03054/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03054/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03054/output.2.txt b/public_test_cases/p03054/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03054/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03054/output.3.txt b/public_test_cases/p03054/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03054/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03055/input.0.txt b/public_test_cases/p03055/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03055/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03055/input.1.txt b/public_test_cases/p03055/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac72dfca48d29d851c52e242c22cb721224f8bb4
--- /dev/null
+++ b/public_test_cases/p03055/input.1.txt
@@ -0,0 +1,7 @@
+7
+1 7
+7 4
+3 4
+7 5
+6 3
+2 1
diff --git a/public_test_cases/p03055/input.2.txt b/public_test_cases/p03055/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03055/input.2.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03055/input.3.txt b/public_test_cases/p03055/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bea4716efb5fd2368fb3aca9b5413f7447113a1
--- /dev/null
+++ b/public_test_cases/p03055/input.3.txt
@@ -0,0 +1,6 @@
+6
+1 2
+2 3
+2 4
+4 6
+5 6
diff --git a/public_test_cases/p03055/output.0.txt b/public_test_cases/p03055/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03055/output.0.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03055/output.1.txt b/public_test_cases/p03055/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03055/output.1.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03055/output.2.txt b/public_test_cases/p03055/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03055/output.2.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03055/output.3.txt b/public_test_cases/p03055/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p03055/output.3.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p03056/input.0.txt b/public_test_cases/p03056/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7064821ce7839614d8ce0e3a5e59abbe6460b216
--- /dev/null
+++ b/public_test_cases/p03056/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+...
+.##
+.##
diff --git a/public_test_cases/p03056/input.1.txt b/public_test_cases/p03056/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7064821ce7839614d8ce0e3a5e59abbe6460b216
--- /dev/null
+++ b/public_test_cases/p03056/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+...
+.##
+.##
diff --git a/public_test_cases/p03056/input.2.txt b/public_test_cases/p03056/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..def5ebe3599e256871f8a4950eceecea50b93393
--- /dev/null
+++ b/public_test_cases/p03056/input.2.txt
@@ -0,0 +1,7 @@
+6 7
+.####.#
+....#.
+....#.
+....#.
+.####.#
+....##
diff --git a/public_test_cases/p03056/output.0.txt b/public_test_cases/p03056/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03056/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03056/output.1.txt b/public_test_cases/p03056/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03056/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03056/output.2.txt b/public_test_cases/p03056/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03056/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03057/input.0.txt b/public_test_cases/p03057/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6b85e1bec4329864912fdda03f695cc9973068a
--- /dev/null
+++ b/public_test_cases/p03057/input.0.txt
@@ -0,0 +1,2 @@
+4 7
+RBRRBRR
diff --git a/public_test_cases/p03057/input.1.txt b/public_test_cases/p03057/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6b85e1bec4329864912fdda03f695cc9973068a
--- /dev/null
+++ b/public_test_cases/p03057/input.1.txt
@@ -0,0 +1,2 @@
+4 7
+RBRRBRR
diff --git a/public_test_cases/p03057/input.2.txt b/public_test_cases/p03057/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dea53705435794156c6d59c28e34b8324eb9328
--- /dev/null
+++ b/public_test_cases/p03057/input.2.txt
@@ -0,0 +1,2 @@
+12 10
+RRRRBRRRRB
diff --git a/public_test_cases/p03057/input.3.txt b/public_test_cases/p03057/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e5b3a5cadefe6e085616670e45fef6741dea102
--- /dev/null
+++ b/public_test_cases/p03057/input.3.txt
@@ -0,0 +1,2 @@
+3 3
+BBB
diff --git a/public_test_cases/p03057/output.0.txt b/public_test_cases/p03057/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03057/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03057/output.1.txt b/public_test_cases/p03057/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03057/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03057/output.2.txt b/public_test_cases/p03057/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e14edce9ccd63cedb63bd0c07f8b829438a6c8a
--- /dev/null
+++ b/public_test_cases/p03057/output.2.txt
@@ -0,0 +1 @@
+78
diff --git a/public_test_cases/p03057/output.3.txt b/public_test_cases/p03057/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03057/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03058/input.0.txt b/public_test_cases/p03058/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd2fd07ca5bc3eabd46c0640d0fb4036d214670a
--- /dev/null
+++ b/public_test_cases/p03058/input.0.txt
@@ -0,0 +1,8 @@
+5 3
+1 2
+1 3
+3 4
+1 5
+5 4
+2 5
+1 5
diff --git a/public_test_cases/p03058/input.1.txt b/public_test_cases/p03058/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..092bb3fcf25191bae70fb76a439f993fdc9c60f7
--- /dev/null
+++ b/public_test_cases/p03058/input.1.txt
@@ -0,0 +1,24 @@
+13 11
+6 13
+1 2
+5 1
+8 4
+9 7
+12 2
+10 11
+1 9
+13 7
+13 11
+8 10
+3 8
+4 13
+8 12
+4 7
+2 3
+5 11
+1 4
+2 11
+8 10
+3 5
+6 9
+4 10
diff --git a/public_test_cases/p03058/input.2.txt b/public_test_cases/p03058/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd2fd07ca5bc3eabd46c0640d0fb4036d214670a
--- /dev/null
+++ b/public_test_cases/p03058/input.2.txt
@@ -0,0 +1,8 @@
+5 3
+1 2
+1 3
+3 4
+1 5
+5 4
+2 5
+1 5
diff --git a/public_test_cases/p03058/input.3.txt b/public_test_cases/p03058/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce3acf659cb48df5c88c6786129c69be3f7fa264
--- /dev/null
+++ b/public_test_cases/p03058/input.3.txt
@@ -0,0 +1,12 @@
+7 5
+1 5
+1 4
+1 7
+1 2
+2 6
+6 3
+2 5
+1 3
+1 6
+4 6
+4 7
diff --git a/public_test_cases/p03058/output.0.txt b/public_test_cases/p03058/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03058/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03058/output.1.txt b/public_test_cases/p03058/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p03058/output.1.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p03058/output.2.txt b/public_test_cases/p03058/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03058/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03058/output.3.txt b/public_test_cases/p03058/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03058/output.3.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03059/input.0.txt b/public_test_cases/p03059/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3dd94e0ce34fa563f5bf161230a501d7356ff92
--- /dev/null
+++ b/public_test_cases/p03059/input.0.txt
@@ -0,0 +1 @@
+3 5 7
diff --git a/public_test_cases/p03059/input.1.txt b/public_test_cases/p03059/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3dd94e0ce34fa563f5bf161230a501d7356ff92
--- /dev/null
+++ b/public_test_cases/p03059/input.1.txt
@@ -0,0 +1 @@
+3 5 7
diff --git a/public_test_cases/p03059/input.2.txt b/public_test_cases/p03059/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ca112e1d3c123dbeb6b0fc0f5b206629e7770f4
--- /dev/null
+++ b/public_test_cases/p03059/input.2.txt
@@ -0,0 +1 @@
+20 20 19
diff --git a/public_test_cases/p03059/input.3.txt b/public_test_cases/p03059/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfd381a3d8a3770b4e51b63ea77f2f89d578f613
--- /dev/null
+++ b/public_test_cases/p03059/input.3.txt
@@ -0,0 +1 @@
+3 2 9
diff --git a/public_test_cases/p03059/output.0.txt b/public_test_cases/p03059/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03059/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03059/output.1.txt b/public_test_cases/p03059/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03059/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03059/output.2.txt b/public_test_cases/p03059/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03059/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03059/output.3.txt b/public_test_cases/p03059/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03059/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03060/input.0.txt b/public_test_cases/p03060/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f58aab71e53543c1f7f0e93aa5e0c9752da292b8
--- /dev/null
+++ b/public_test_cases/p03060/input.0.txt
@@ -0,0 +1,3 @@
+3
+10 2 5
+6 3 4
diff --git a/public_test_cases/p03060/input.1.txt b/public_test_cases/p03060/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e08084a1fd9a26c4c970a9909cebda058a1f5048
--- /dev/null
+++ b/public_test_cases/p03060/input.1.txt
@@ -0,0 +1,3 @@
+4
+13 21 6 19
+11 30 6 15
diff --git a/public_test_cases/p03060/input.2.txt b/public_test_cases/p03060/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f58aab71e53543c1f7f0e93aa5e0c9752da292b8
--- /dev/null
+++ b/public_test_cases/p03060/input.2.txt
@@ -0,0 +1,3 @@
+3
+10 2 5
+6 3 4
diff --git a/public_test_cases/p03060/input.3.txt b/public_test_cases/p03060/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2f698b82bad126c48acf1b9383d37b69ac802c3
--- /dev/null
+++ b/public_test_cases/p03060/input.3.txt
@@ -0,0 +1,3 @@
+1
+1
+50
diff --git a/public_test_cases/p03060/output.0.txt b/public_test_cases/p03060/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03060/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03060/output.1.txt b/public_test_cases/p03060/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03060/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03060/output.2.txt b/public_test_cases/p03060/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03060/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03060/output.3.txt b/public_test_cases/p03060/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03060/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03061/input.0.txt b/public_test_cases/p03061/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdc9628ba260294245fda324b15b8cd0a361f190
--- /dev/null
+++ b/public_test_cases/p03061/input.0.txt
@@ -0,0 +1,2 @@
+3
+7 6 8
diff --git a/public_test_cases/p03061/input.1.txt b/public_test_cases/p03061/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdc9628ba260294245fda324b15b8cd0a361f190
--- /dev/null
+++ b/public_test_cases/p03061/input.1.txt
@@ -0,0 +1,2 @@
+3
+7 6 8
diff --git a/public_test_cases/p03061/input.2.txt b/public_test_cases/p03061/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..958790da0178594a1d5db96f99abc60a97971d89
--- /dev/null
+++ b/public_test_cases/p03061/input.2.txt
@@ -0,0 +1,2 @@
+2
+1000000000 1000000000
diff --git a/public_test_cases/p03061/input.3.txt b/public_test_cases/p03061/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4789d9edbf23d6fd89407d1dce7b54321fc9acb
--- /dev/null
+++ b/public_test_cases/p03061/input.3.txt
@@ -0,0 +1,2 @@
+3
+12 15 18
diff --git a/public_test_cases/p03061/output.0.txt b/public_test_cases/p03061/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03061/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03061/output.1.txt b/public_test_cases/p03061/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03061/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03061/output.2.txt b/public_test_cases/p03061/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..770fdcfb4b7d03520f649b7f7ca20e2546bdb41f
--- /dev/null
+++ b/public_test_cases/p03061/output.2.txt
@@ -0,0 +1 @@
+1000000000
diff --git a/public_test_cases/p03061/output.3.txt b/public_test_cases/p03061/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03061/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03062/input.0.txt b/public_test_cases/p03062/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c91629730305013700646c59d292b0062ff2a122
--- /dev/null
+++ b/public_test_cases/p03062/input.0.txt
@@ -0,0 +1,2 @@
+3
+-10 5 -4
diff --git a/public_test_cases/p03062/input.1.txt b/public_test_cases/p03062/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7d1b3e785404ede7fd536cfce35cbd2e56a08c8
--- /dev/null
+++ b/public_test_cases/p03062/input.1.txt
@@ -0,0 +1,2 @@
+11
+-1000000000 1000000000 -1000000000 1000000000 -1000000000 0 1000000000 -1000000000 1000000000 -1000000000 1000000000
diff --git a/public_test_cases/p03062/input.2.txt b/public_test_cases/p03062/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d309fbca6e6b71c68535ce0520ae5ca3c2f71e7e
--- /dev/null
+++ b/public_test_cases/p03062/input.2.txt
@@ -0,0 +1,2 @@
+5
+10 -4 -8 -11 3
diff --git a/public_test_cases/p03062/input.3.txt b/public_test_cases/p03062/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c91629730305013700646c59d292b0062ff2a122
--- /dev/null
+++ b/public_test_cases/p03062/input.3.txt
@@ -0,0 +1,2 @@
+3
+-10 5 -4
diff --git a/public_test_cases/p03062/output.0.txt b/public_test_cases/p03062/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p03062/output.0.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p03062/output.1.txt b/public_test_cases/p03062/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa70b89f2419392b9755e77e59b6b93b424cca9a
--- /dev/null
+++ b/public_test_cases/p03062/output.1.txt
@@ -0,0 +1 @@
+10000000000
diff --git a/public_test_cases/p03062/output.2.txt b/public_test_cases/p03062/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03062/output.2.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03062/output.3.txt b/public_test_cases/p03062/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p03062/output.3.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p03063/input.0.txt b/public_test_cases/p03063/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3793fad0917fe5fb1bea8d9117390fbd8c700459
--- /dev/null
+++ b/public_test_cases/p03063/input.0.txt
@@ -0,0 +1,2 @@
+3
+#.#
diff --git a/public_test_cases/p03063/output.0.txt b/public_test_cases/p03063/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03063/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03064/input.0.txt b/public_test_cases/p03064/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccbc362f8d848020273503e854d6b9c131ff9209
--- /dev/null
+++ b/public_test_cases/p03064/input.0.txt
@@ -0,0 +1,5 @@
+4
+1
+1
+1
+2
diff --git a/public_test_cases/p03064/input.1.txt b/public_test_cases/p03064/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccbc362f8d848020273503e854d6b9c131ff9209
--- /dev/null
+++ b/public_test_cases/p03064/input.1.txt
@@ -0,0 +1,5 @@
+4
+1
+1
+1
+2
diff --git a/public_test_cases/p03064/input.2.txt b/public_test_cases/p03064/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cd739e60cf7255f0caec27c860cbbb9608d7a48
--- /dev/null
+++ b/public_test_cases/p03064/input.2.txt
@@ -0,0 +1,7 @@
+6
+1
+3
+2
+3
+5
+2
diff --git a/public_test_cases/p03064/input.3.txt b/public_test_cases/p03064/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98644099c0c5d20f57ac963584b605124ef071cb
--- /dev/null
+++ b/public_test_cases/p03064/input.3.txt
@@ -0,0 +1,21 @@
+20
+3
+1
+4
+1
+5
+9
+2
+6
+5
+3
+5
+8
+9
+7
+9
+3
+2
+3
+8
+4
diff --git a/public_test_cases/p03064/output.0.txt b/public_test_cases/p03064/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03064/output.0.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03064/output.1.txt b/public_test_cases/p03064/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03064/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03064/output.2.txt b/public_test_cases/p03064/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa8f08cb6ff8a30dd34a3b442009bdfc798a7316
--- /dev/null
+++ b/public_test_cases/p03064/output.2.txt
@@ -0,0 +1 @@
+150
diff --git a/public_test_cases/p03064/output.3.txt b/public_test_cases/p03064/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5bbe47aeef554c49942414808c14b3ef35302ad
--- /dev/null
+++ b/public_test_cases/p03064/output.3.txt
@@ -0,0 +1 @@
+563038556
diff --git a/public_test_cases/p03065/input.0.txt b/public_test_cases/p03065/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55aaf2a0d0fb6ff02f2736a5fe07b5ef4fc6d312
--- /dev/null
+++ b/public_test_cases/p03065/input.0.txt
@@ -0,0 +1,4 @@
+2
+7
+-7
+14
diff --git a/public_test_cases/p03065/input.1.txt b/public_test_cases/p03065/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55aaf2a0d0fb6ff02f2736a5fe07b5ef4fc6d312
--- /dev/null
+++ b/public_test_cases/p03065/input.1.txt
@@ -0,0 +1,4 @@
+2
+7
+-7
+14
diff --git a/public_test_cases/p03065/input.2.txt b/public_test_cases/p03065/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11f53cbce2990d5f7fbce3c91098e687c5d4156b
--- /dev/null
+++ b/public_test_cases/p03065/input.2.txt
@@ -0,0 +1,2 @@
+0
+998244353
diff --git a/public_test_cases/p03065/output.0.txt b/public_test_cases/p03065/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e15ee42734b17a6e148d79be947360671597e2f
--- /dev/null
+++ b/public_test_cases/p03065/output.0.txt
@@ -0,0 +1,2 @@
+2
+7
diff --git a/public_test_cases/p03065/output.1.txt b/public_test_cases/p03065/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e15ee42734b17a6e148d79be947360671597e2f
--- /dev/null
+++ b/public_test_cases/p03065/output.1.txt
@@ -0,0 +1,2 @@
+2
+7
diff --git a/public_test_cases/p03065/output.2.txt b/public_test_cases/p03065/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..313a14023ee06d3cb4ab29d1623467c3b45496c8
--- /dev/null
+++ b/public_test_cases/p03065/output.2.txt
@@ -0,0 +1 @@
+998244353
diff --git a/public_test_cases/p03066/input.0.txt b/public_test_cases/p03066/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03066/input.0.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03066/input.1.txt b/public_test_cases/p03066/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03066/input.1.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03066/input.2.txt b/public_test_cases/p03066/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25bf1347ee5411deaaf3532637d6568e29bdb7b6
--- /dev/null
+++ b/public_test_cases/p03066/input.2.txt
@@ -0,0 +1 @@
+8 6
diff --git a/public_test_cases/p03066/input.3.txt b/public_test_cases/p03066/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd9be2244324b53395871b0704708e27c3a8d20b
--- /dev/null
+++ b/public_test_cases/p03066/input.3.txt
@@ -0,0 +1 @@
+9 13
diff --git a/public_test_cases/p03066/input.4.txt b/public_test_cases/p03066/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4cc033e099af2942f9668256bbfc5a649489ec13
--- /dev/null
+++ b/public_test_cases/p03066/input.4.txt
@@ -0,0 +1 @@
+10 1
diff --git a/public_test_cases/p03066/input.5.txt b/public_test_cases/p03066/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..478915aae0267e3733129147f7041e7d7a9a7a85
--- /dev/null
+++ b/public_test_cases/p03066/input.5.txt
@@ -0,0 +1 @@
+314 159
diff --git a/public_test_cases/p03066/output.0.txt b/public_test_cases/p03066/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03066/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03066/output.1.txt b/public_test_cases/p03066/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03066/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03066/output.2.txt b/public_test_cases/p03066/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c8b8bca0d278ea0b7fc94523a233c4ff9367f2d
--- /dev/null
+++ b/public_test_cases/p03066/output.2.txt
@@ -0,0 +1 @@
+1179
diff --git a/public_test_cases/p03066/output.3.txt b/public_test_cases/p03066/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32ed7f8a5ea161df087821c932e4ab0ccceb5d55
--- /dev/null
+++ b/public_test_cases/p03066/output.3.txt
@@ -0,0 +1 @@
+18402
diff --git a/public_test_cases/p03066/output.4.txt b/public_test_cases/p03066/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7b1c440c0f3f8d42eff097800b88ac5d40263d3
--- /dev/null
+++ b/public_test_cases/p03066/output.4.txt
@@ -0,0 +1 @@
+1024
diff --git a/public_test_cases/p03066/output.5.txt b/public_test_cases/p03066/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7f0bd705313e7bcceaaf707091a961ed98681fd
--- /dev/null
+++ b/public_test_cases/p03066/output.5.txt
@@ -0,0 +1 @@
+459765451
diff --git a/public_test_cases/p03067/input.0.txt b/public_test_cases/p03067/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5599a0fbc3b3cf8d8e627451ff96ac50618e90d6
--- /dev/null
+++ b/public_test_cases/p03067/input.0.txt
@@ -0,0 +1 @@
+3 8 5
diff --git a/public_test_cases/p03067/input.1.txt b/public_test_cases/p03067/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8650be156c65b26c08d5a7a1ed45705fb07f4034
--- /dev/null
+++ b/public_test_cases/p03067/input.1.txt
@@ -0,0 +1 @@
+10 2 4
diff --git a/public_test_cases/p03067/input.2.txt b/public_test_cases/p03067/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35081b3547be43dfe9d4a5b2103e433dceafbf60
--- /dev/null
+++ b/public_test_cases/p03067/input.2.txt
@@ -0,0 +1 @@
+7 3 1
diff --git a/public_test_cases/p03067/input.3.txt b/public_test_cases/p03067/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99d753b224734934253a7865c50157bb9087520c
--- /dev/null
+++ b/public_test_cases/p03067/input.3.txt
@@ -0,0 +1 @@
+31 41 59
diff --git a/public_test_cases/p03067/input.4.txt b/public_test_cases/p03067/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5599a0fbc3b3cf8d8e627451ff96ac50618e90d6
--- /dev/null
+++ b/public_test_cases/p03067/input.4.txt
@@ -0,0 +1 @@
+3 8 5
diff --git a/public_test_cases/p03067/output.0.txt b/public_test_cases/p03067/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03067/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03067/output.1.txt b/public_test_cases/p03067/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03067/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03067/output.2.txt b/public_test_cases/p03067/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03067/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03067/output.3.txt b/public_test_cases/p03067/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03067/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03067/output.4.txt b/public_test_cases/p03067/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03067/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03068/input.0.txt b/public_test_cases/p03068/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2022bdcaefe3105f127f9e50900b87342ddf6aa
--- /dev/null
+++ b/public_test_cases/p03068/input.0.txt
@@ -0,0 +1,3 @@
+5
+error
+2
diff --git a/public_test_cases/p03068/input.1.txt b/public_test_cases/p03068/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d897ba68c4af3c66422555c1c53cf40748b75ce8
--- /dev/null
+++ b/public_test_cases/p03068/input.1.txt
@@ -0,0 +1,3 @@
+6
+eleven
+5
diff --git a/public_test_cases/p03068/input.2.txt b/public_test_cases/p03068/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b8d30fe793ed1fa23e8bc66d35183f464abcfff
--- /dev/null
+++ b/public_test_cases/p03068/input.2.txt
@@ -0,0 +1,3 @@
+9
+education
+7
diff --git a/public_test_cases/p03068/input.3.txt b/public_test_cases/p03068/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2022bdcaefe3105f127f9e50900b87342ddf6aa
--- /dev/null
+++ b/public_test_cases/p03068/input.3.txt
@@ -0,0 +1,3 @@
+5
+error
+2
diff --git a/public_test_cases/p03068/output.0.txt b/public_test_cases/p03068/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bf0322a49e0e09ca49e382090c926a17d43a1f7
--- /dev/null
+++ b/public_test_cases/p03068/output.0.txt
@@ -0,0 +1 @@
+*rr*r
diff --git a/public_test_cases/p03068/output.1.txt b/public_test_cases/p03068/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cec10ec12e863947325e77c241a68557844aee08
--- /dev/null
+++ b/public_test_cases/p03068/output.1.txt
@@ -0,0 +1 @@
+e*e*e*
diff --git a/public_test_cases/p03068/output.2.txt b/public_test_cases/p03068/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e459331b6006667613849dd4214bfce64a5f2d45
--- /dev/null
+++ b/public_test_cases/p03068/output.2.txt
@@ -0,0 +1 @@
+******i**
diff --git a/public_test_cases/p03068/output.3.txt b/public_test_cases/p03068/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bf0322a49e0e09ca49e382090c926a17d43a1f7
--- /dev/null
+++ b/public_test_cases/p03068/output.3.txt
@@ -0,0 +1 @@
+*rr*r
diff --git a/public_test_cases/p03069/input.0.txt b/public_test_cases/p03069/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3793fad0917fe5fb1bea8d9117390fbd8c700459
--- /dev/null
+++ b/public_test_cases/p03069/input.0.txt
@@ -0,0 +1,2 @@
+3
+#.#
diff --git a/public_test_cases/p03069/input.1.txt b/public_test_cases/p03069/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..713ccee472f8adc1619348c8765e60806c0d3f1a
--- /dev/null
+++ b/public_test_cases/p03069/input.1.txt
@@ -0,0 +1,2 @@
+3
+.#
diff --git a/public_test_cases/p03069/input.2.txt b/public_test_cases/p03069/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e87c2d3e9444f41e6c3a302899b27aace98b52e2
--- /dev/null
+++ b/public_test_cases/p03069/input.2.txt
@@ -0,0 +1,2 @@
+5
+.##.
diff --git a/public_test_cases/p03069/input.3.txt b/public_test_cases/p03069/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8cc412de4d4e4a445aa00daccbad4ea74c1a581
--- /dev/null
+++ b/public_test_cases/p03069/input.3.txt
@@ -0,0 +1,2 @@
+9
+.........
diff --git a/public_test_cases/p03069/input.4.txt b/public_test_cases/p03069/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3793fad0917fe5fb1bea8d9117390fbd8c700459
--- /dev/null
+++ b/public_test_cases/p03069/input.4.txt
@@ -0,0 +1,2 @@
+3
+#.#
diff --git a/public_test_cases/p03069/output.0.txt b/public_test_cases/p03069/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03069/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03069/output.1.txt b/public_test_cases/p03069/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03069/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03069/output.2.txt b/public_test_cases/p03069/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03069/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03069/output.3.txt b/public_test_cases/p03069/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03069/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03069/output.4.txt b/public_test_cases/p03069/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03069/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03070/input.0.txt b/public_test_cases/p03070/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccbc362f8d848020273503e854d6b9c131ff9209
--- /dev/null
+++ b/public_test_cases/p03070/input.0.txt
@@ -0,0 +1,5 @@
+4
+1
+1
+1
+2
diff --git a/public_test_cases/p03070/output.0.txt b/public_test_cases/p03070/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03070/output.0.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03071/input.0.txt b/public_test_cases/p03071/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p03071/input.0.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p03071/input.1.txt b/public_test_cases/p03071/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebcee1a506db729ea7b0e0b6e9b0be36806d16bd
--- /dev/null
+++ b/public_test_cases/p03071/input.1.txt
@@ -0,0 +1 @@
+3 4
diff --git a/public_test_cases/p03071/input.2.txt b/public_test_cases/p03071/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p03071/input.2.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p03071/input.3.txt b/public_test_cases/p03071/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..558161a5efe98affb4b85e05b11fb1e8eca52001
--- /dev/null
+++ b/public_test_cases/p03071/input.3.txt
@@ -0,0 +1 @@
+6 6
diff --git a/public_test_cases/p03071/output.0.txt b/public_test_cases/p03071/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03071/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03071/output.1.txt b/public_test_cases/p03071/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03071/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03071/output.2.txt b/public_test_cases/p03071/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03071/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03071/output.3.txt b/public_test_cases/p03071/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03071/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03072/input.0.txt b/public_test_cases/p03072/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f731fcc14f797911ab51f64682a0390ccae4a18
--- /dev/null
+++ b/public_test_cases/p03072/input.0.txt
@@ -0,0 +1,2 @@
+4
+6 5 6 8
diff --git a/public_test_cases/p03072/input.1.txt b/public_test_cases/p03072/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f731fcc14f797911ab51f64682a0390ccae4a18
--- /dev/null
+++ b/public_test_cases/p03072/input.1.txt
@@ -0,0 +1,2 @@
+4
+6 5 6 8
diff --git a/public_test_cases/p03072/input.2.txt b/public_test_cases/p03072/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58bcb568d547bc2160c9c20fa218edaaa9e33835
--- /dev/null
+++ b/public_test_cases/p03072/input.2.txt
@@ -0,0 +1,2 @@
+5
+9 5 6 8 4
diff --git a/public_test_cases/p03072/input.3.txt b/public_test_cases/p03072/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57cf01209a061b869f79c5633b6409ed6f7f2b0d
--- /dev/null
+++ b/public_test_cases/p03072/input.3.txt
@@ -0,0 +1,2 @@
+5
+4 5 3 5 4
diff --git a/public_test_cases/p03072/output.0.txt b/public_test_cases/p03072/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03072/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03072/output.1.txt b/public_test_cases/p03072/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03072/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03072/output.2.txt b/public_test_cases/p03072/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03072/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03072/output.3.txt b/public_test_cases/p03072/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03072/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03073/input.0.txt b/public_test_cases/p03073/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f087a34c80c2123f05aae01e910c871b9e23773
--- /dev/null
+++ b/public_test_cases/p03073/input.0.txt
@@ -0,0 +1 @@
+000
diff --git a/public_test_cases/p03073/input.1.txt b/public_test_cases/p03073/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc199a026c707ff9c11fe4c65a5cb86100dd7f26
--- /dev/null
+++ b/public_test_cases/p03073/input.1.txt
@@ -0,0 +1 @@
+10010010
diff --git a/public_test_cases/p03073/input.2.txt b/public_test_cases/p03073/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03073/input.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03073/input.3.txt b/public_test_cases/p03073/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f087a34c80c2123f05aae01e910c871b9e23773
--- /dev/null
+++ b/public_test_cases/p03073/input.3.txt
@@ -0,0 +1 @@
+000
diff --git a/public_test_cases/p03073/output.0.txt b/public_test_cases/p03073/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03073/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03073/output.1.txt b/public_test_cases/p03073/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03073/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03073/output.2.txt b/public_test_cases/p03073/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03073/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03073/output.3.txt b/public_test_cases/p03073/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03073/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03074/input.0.txt b/public_test_cases/p03074/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82fb3cd9ef0117974181b73cb8c5f0f3fa8393c4
--- /dev/null
+++ b/public_test_cases/p03074/input.0.txt
@@ -0,0 +1,2 @@
+5 1
+00010
diff --git a/public_test_cases/p03074/input.1.txt b/public_test_cases/p03074/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82fb3cd9ef0117974181b73cb8c5f0f3fa8393c4
--- /dev/null
+++ b/public_test_cases/p03074/input.1.txt
@@ -0,0 +1,2 @@
+5 1
+00010
diff --git a/public_test_cases/p03074/input.2.txt b/public_test_cases/p03074/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c8f67345dc0733270c06550b563b1a23243d582
--- /dev/null
+++ b/public_test_cases/p03074/input.2.txt
@@ -0,0 +1,2 @@
+1 1
+1
diff --git a/public_test_cases/p03074/input.3.txt b/public_test_cases/p03074/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07d1c0300e616ce2f6faabfa0b43b62953b75c4e
--- /dev/null
+++ b/public_test_cases/p03074/input.3.txt
@@ -0,0 +1,2 @@
+14 2
+11101010110011
diff --git a/public_test_cases/p03074/output.0.txt b/public_test_cases/p03074/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03074/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03074/output.1.txt b/public_test_cases/p03074/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03074/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03074/output.2.txt b/public_test_cases/p03074/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03074/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03074/output.3.txt b/public_test_cases/p03074/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03074/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03075/input.0.txt b/public_test_cases/p03075/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a72db9786780ecaef8f698a0ea5f2b4a192df8d
--- /dev/null
+++ b/public_test_cases/p03075/input.0.txt
@@ -0,0 +1,6 @@
+1
+2
+4
+8
+9
+15
diff --git a/public_test_cases/p03075/input.1.txt b/public_test_cases/p03075/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a72db9786780ecaef8f698a0ea5f2b4a192df8d
--- /dev/null
+++ b/public_test_cases/p03075/input.1.txt
@@ -0,0 +1,6 @@
+1
+2
+4
+8
+9
+15
diff --git a/public_test_cases/p03075/input.2.txt b/public_test_cases/p03075/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf2409bcdc157d9c8ce3dbefe38ea117346cec0c
--- /dev/null
+++ b/public_test_cases/p03075/input.2.txt
@@ -0,0 +1,6 @@
+15
+18
+26
+35
+36
+18
diff --git a/public_test_cases/p03075/output.0.txt b/public_test_cases/p03075/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54183385deb59b25453c38ce72f56b662fb4c600
--- /dev/null
+++ b/public_test_cases/p03075/output.0.txt
@@ -0,0 +1 @@
+Yay!
diff --git a/public_test_cases/p03075/output.1.txt b/public_test_cases/p03075/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54183385deb59b25453c38ce72f56b662fb4c600
--- /dev/null
+++ b/public_test_cases/p03075/output.1.txt
@@ -0,0 +1 @@
+Yay!
diff --git a/public_test_cases/p03075/output.2.txt b/public_test_cases/p03075/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1504ea7bfc17cea50e6965a20bcd0579931ce040
--- /dev/null
+++ b/public_test_cases/p03075/output.2.txt
@@ -0,0 +1 @@
+:(
diff --git a/public_test_cases/p03076/input.0.txt b/public_test_cases/p03076/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f700249327c7fd2c6af31b15e7dc09a5de31148
--- /dev/null
+++ b/public_test_cases/p03076/input.0.txt
@@ -0,0 +1,5 @@
+29
+20
+7
+35
+120
diff --git a/public_test_cases/p03076/input.1.txt b/public_test_cases/p03076/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a699d6584f8fdac70ee4b44122fc52fb31aeead
--- /dev/null
+++ b/public_test_cases/p03076/input.1.txt
@@ -0,0 +1,5 @@
+123
+123
+123
+123
+123
diff --git a/public_test_cases/p03076/input.2.txt b/public_test_cases/p03076/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f700249327c7fd2c6af31b15e7dc09a5de31148
--- /dev/null
+++ b/public_test_cases/p03076/input.2.txt
@@ -0,0 +1,5 @@
+29
+20
+7
+35
+120
diff --git a/public_test_cases/p03076/input.3.txt b/public_test_cases/p03076/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d40240fd051163dd3928414cd2c4d4f02df5bc1
--- /dev/null
+++ b/public_test_cases/p03076/input.3.txt
@@ -0,0 +1,5 @@
+101
+86
+119
+108
+57
diff --git a/public_test_cases/p03076/output.0.txt b/public_test_cases/p03076/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c34a8046fa35e9cec76905037d0e5727b11386b6
--- /dev/null
+++ b/public_test_cases/p03076/output.0.txt
@@ -0,0 +1 @@
+215
diff --git a/public_test_cases/p03076/output.1.txt b/public_test_cases/p03076/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb8477e537c9fbdf123d0d53042a3817c8de0508
--- /dev/null
+++ b/public_test_cases/p03076/output.1.txt
@@ -0,0 +1 @@
+643
diff --git a/public_test_cases/p03076/output.2.txt b/public_test_cases/p03076/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c34a8046fa35e9cec76905037d0e5727b11386b6
--- /dev/null
+++ b/public_test_cases/p03076/output.2.txt
@@ -0,0 +1 @@
+215
diff --git a/public_test_cases/p03076/output.3.txt b/public_test_cases/p03076/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff5670fb004fb272046f1d083fe1d8f5f3cf69dc
--- /dev/null
+++ b/public_test_cases/p03076/output.3.txt
@@ -0,0 +1 @@
+481
diff --git a/public_test_cases/p03077/input.0.txt b/public_test_cases/p03077/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4e3a81405d6f2cc29d926ba0485c54d7a8b03eb
--- /dev/null
+++ b/public_test_cases/p03077/input.0.txt
@@ -0,0 +1,6 @@
+5
+3
+2
+4
+3
+5
diff --git a/public_test_cases/p03077/input.1.txt b/public_test_cases/p03077/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4e3a81405d6f2cc29d926ba0485c54d7a8b03eb
--- /dev/null
+++ b/public_test_cases/p03077/input.1.txt
@@ -0,0 +1,6 @@
+5
+3
+2
+4
+3
+5
diff --git a/public_test_cases/p03077/input.2.txt b/public_test_cases/p03077/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de429c15546defea2b423839b6788e69426e0ecb
--- /dev/null
+++ b/public_test_cases/p03077/input.2.txt
@@ -0,0 +1,6 @@
+10
+123
+123
+123
+123
+123
diff --git a/public_test_cases/p03077/input.3.txt b/public_test_cases/p03077/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e5f3a33fe574b1319e5f19772befff4737e1b00
--- /dev/null
+++ b/public_test_cases/p03077/input.3.txt
@@ -0,0 +1,6 @@
+10000000007
+2
+3
+5
+7
+11
diff --git a/public_test_cases/p03077/output.0.txt b/public_test_cases/p03077/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03077/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03077/output.1.txt b/public_test_cases/p03077/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03077/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03077/output.2.txt b/public_test_cases/p03077/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03077/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03077/output.3.txt b/public_test_cases/p03077/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de36a9cb70e7944697cb48e6e24af588a3ab368e
--- /dev/null
+++ b/public_test_cases/p03077/output.3.txt
@@ -0,0 +1 @@
+5000000008
diff --git a/public_test_cases/p03078/input.0.txt b/public_test_cases/p03078/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64091f7a05ec77903b818dd2753417fb515a9fd9
--- /dev/null
+++ b/public_test_cases/p03078/input.0.txt
@@ -0,0 +1,4 @@
+2 2 2 8
+4 6
+1 5
+3 8
diff --git a/public_test_cases/p03078/input.1.txt b/public_test_cases/p03078/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64091f7a05ec77903b818dd2753417fb515a9fd9
--- /dev/null
+++ b/public_test_cases/p03078/input.1.txt
@@ -0,0 +1,4 @@
+2 2 2 8
+4 6
+1 5
+3 8
diff --git a/public_test_cases/p03078/input.2.txt b/public_test_cases/p03078/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..728fc4a15fee71c88162c2fd6d95db4393983b56
--- /dev/null
+++ b/public_test_cases/p03078/input.2.txt
@@ -0,0 +1,4 @@
+10 10 10 20
+7467038376 5724769290 292794712 2843504496 3381970101 8402252870 249131806 6310293640 6690322794 6082257488
+1873977926 2576529623 1144842195 1379118507 6003234687 4925540914 3902539811 3326692703 484657758 2877436338
+4975681328 8974383988 2882263257 7690203955 514305523 6679823484 4263279310 585966808 3752282379 620585736
diff --git a/public_test_cases/p03078/input.3.txt b/public_test_cases/p03078/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0589ed6725bb61484c436978d19057ebcd2c96a
--- /dev/null
+++ b/public_test_cases/p03078/input.3.txt
@@ -0,0 +1,4 @@
+3 3 3 5
+1 10 100
+2 20 200
+1 10 100
diff --git a/public_test_cases/p03078/output.0.txt b/public_test_cases/p03078/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd489dc9ad7da5b567122aca66d9881257f41e47
--- /dev/null
+++ b/public_test_cases/p03078/output.0.txt
@@ -0,0 +1,8 @@
+19
+17
+15
+14
+13
+12
+10
+8
diff --git a/public_test_cases/p03078/output.1.txt b/public_test_cases/p03078/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd489dc9ad7da5b567122aca66d9881257f41e47
--- /dev/null
+++ b/public_test_cases/p03078/output.1.txt
@@ -0,0 +1,8 @@
+19
+17
+15
+14
+13
+12
+10
+8
diff --git a/public_test_cases/p03078/output.2.txt b/public_test_cases/p03078/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3c2019512280d5d93116721df3f5f0a3005d810
--- /dev/null
+++ b/public_test_cases/p03078/output.2.txt
@@ -0,0 +1,20 @@
+23379871545
+22444657051
+22302177772
+22095691512
+21667941469
+21366963278
+21287912315
+21279176669
+21160477018
+21085311041
+21059876163
+21017997739
+20703329561
+20702387965
+20590247696
+20383761436
+20343962175
+20254073196
+20210218542
+20150096547
diff --git a/public_test_cases/p03078/output.3.txt b/public_test_cases/p03078/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8785ba952da83509ae1d4cc72311f8073e165e0
--- /dev/null
+++ b/public_test_cases/p03078/output.3.txt
@@ -0,0 +1,5 @@
+400
+310
+310
+301
+301
diff --git a/public_test_cases/p03079/input.0.txt b/public_test_cases/p03079/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p03079/input.0.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p03079/input.1.txt b/public_test_cases/p03079/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p03079/input.1.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p03079/input.2.txt b/public_test_cases/p03079/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02c7bd24aa45794a7dcca4b690e2437e7f9b2e48
--- /dev/null
+++ b/public_test_cases/p03079/input.2.txt
@@ -0,0 +1 @@
+3 4 5
diff --git a/public_test_cases/p03079/output.0.txt b/public_test_cases/p03079/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03079/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03079/output.1.txt b/public_test_cases/p03079/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03079/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03079/output.2.txt b/public_test_cases/p03079/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03079/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03080/input.0.txt b/public_test_cases/p03080/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f3d2d59f3e61f6875c9129509ee39857b38da41
--- /dev/null
+++ b/public_test_cases/p03080/input.0.txt
@@ -0,0 +1,2 @@
+4
+RRBR
diff --git a/public_test_cases/p03080/input.1.txt b/public_test_cases/p03080/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f3d2d59f3e61f6875c9129509ee39857b38da41
--- /dev/null
+++ b/public_test_cases/p03080/input.1.txt
@@ -0,0 +1,2 @@
+4
+RRBR
diff --git a/public_test_cases/p03080/input.2.txt b/public_test_cases/p03080/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f4648c519f0fde8fee0aa3cd776eb974fa5d57a
--- /dev/null
+++ b/public_test_cases/p03080/input.2.txt
@@ -0,0 +1,2 @@
+4
+BRBR
diff --git a/public_test_cases/p03080/output.0.txt b/public_test_cases/p03080/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03080/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03080/output.1.txt b/public_test_cases/p03080/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03080/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03080/output.2.txt b/public_test_cases/p03080/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03080/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03081/input.0.txt b/public_test_cases/p03081/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26ee8898878ad1cb3def06ef08cc7c03fae325cd
--- /dev/null
+++ b/public_test_cases/p03081/input.0.txt
@@ -0,0 +1,6 @@
+3 4
+ABC
+A L
+B L
+B R
+A R
diff --git a/public_test_cases/p03081/input.1.txt b/public_test_cases/p03081/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0165d1a0b537b47e14e1e4cf42a0c91abbc66150
--- /dev/null
+++ b/public_test_cases/p03081/input.1.txt
@@ -0,0 +1,17 @@
+10 15
+SNCZWRCEWB
+B R
+R R
+E R
+W R
+Z L
+S R
+Q L
+W L
+B R
+C L
+A L
+N L
+E R
+Z L
+S L
diff --git a/public_test_cases/p03081/input.2.txt b/public_test_cases/p03081/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26ee8898878ad1cb3def06ef08cc7c03fae325cd
--- /dev/null
+++ b/public_test_cases/p03081/input.2.txt
@@ -0,0 +1,6 @@
+3 4
+ABC
+A L
+B L
+B R
+A R
diff --git a/public_test_cases/p03081/input.3.txt b/public_test_cases/p03081/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ef11d2958592944ced84aa7df2261275c0f6090
--- /dev/null
+++ b/public_test_cases/p03081/input.3.txt
@@ -0,0 +1,5 @@
+8 3
+AABCBDBA
+A L
+B R
+A R
diff --git a/public_test_cases/p03081/output.0.txt b/public_test_cases/p03081/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03081/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03081/output.1.txt b/public_test_cases/p03081/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03081/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03081/output.2.txt b/public_test_cases/p03081/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03081/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03081/output.3.txt b/public_test_cases/p03081/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03081/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03082/input.0.txt b/public_test_cases/p03082/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..637344812d6d9a8c5984c036235a9b9cb5435956
--- /dev/null
+++ b/public_test_cases/p03082/input.0.txt
@@ -0,0 +1,2 @@
+2 19
+3 7
diff --git a/public_test_cases/p03082/input.1.txt b/public_test_cases/p03082/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7012ad0b360d127d887e70721095fb9b074e3e1f
--- /dev/null
+++ b/public_test_cases/p03082/input.1.txt
@@ -0,0 +1,2 @@
+5 82
+22 11 6 5 13
diff --git a/public_test_cases/p03082/input.2.txt b/public_test_cases/p03082/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e047ec05e64e907ae1a6ec2f6d6330cb49edab
--- /dev/null
+++ b/public_test_cases/p03082/input.2.txt
@@ -0,0 +1,2 @@
+10 100000
+50000 50001 50002 50003 50004 50005 50006 50007 50008 50009
diff --git a/public_test_cases/p03082/input.3.txt b/public_test_cases/p03082/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..637344812d6d9a8c5984c036235a9b9cb5435956
--- /dev/null
+++ b/public_test_cases/p03082/input.3.txt
@@ -0,0 +1,2 @@
+2 19
+3 7
diff --git a/public_test_cases/p03082/output.0.txt b/public_test_cases/p03082/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03082/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03082/output.1.txt b/public_test_cases/p03082/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea809473360353797c26dc0220e70087639dfe54
--- /dev/null
+++ b/public_test_cases/p03082/output.1.txt
@@ -0,0 +1 @@
+288
diff --git a/public_test_cases/p03082/output.2.txt b/public_test_cases/p03082/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f2d145e72bdecc0b401896cafd006ccda60baba
--- /dev/null
+++ b/public_test_cases/p03082/output.2.txt
@@ -0,0 +1 @@
+279669259
diff --git a/public_test_cases/p03082/output.3.txt b/public_test_cases/p03082/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03082/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03083/input.0.txt b/public_test_cases/p03083/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03083/input.0.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03083/input.1.txt b/public_test_cases/p03083/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03083/input.1.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03083/input.2.txt b/public_test_cases/p03083/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03083/input.2.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03083/input.3.txt b/public_test_cases/p03083/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c7907f9ed995225a618e238435cf68b9cf6cd06
--- /dev/null
+++ b/public_test_cases/p03083/input.3.txt
@@ -0,0 +1 @@
+6 9
diff --git a/public_test_cases/p03083/output.0.txt b/public_test_cases/p03083/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d79044fed13f187aae46280881cc1dfd0a90befe
--- /dev/null
+++ b/public_test_cases/p03083/output.0.txt
@@ -0,0 +1,3 @@
+500000004
+750000006
+750000006
diff --git a/public_test_cases/p03083/output.1.txt b/public_test_cases/p03083/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d79044fed13f187aae46280881cc1dfd0a90befe
--- /dev/null
+++ b/public_test_cases/p03083/output.1.txt
@@ -0,0 +1,3 @@
+500000004
+750000006
+750000006
diff --git a/public_test_cases/p03083/output.2.txt b/public_test_cases/p03083/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2879cdec5fe970c9ee09b9026bcef7862dd770a
--- /dev/null
+++ b/public_test_cases/p03083/output.2.txt
@@ -0,0 +1,5 @@
+500000004
+500000004
+625000005
+187500002
+187500002
diff --git a/public_test_cases/p03083/output.3.txt b/public_test_cases/p03083/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4512b4d5ef72bfda1d63d7268d2b0004e5d780a0
--- /dev/null
+++ b/public_test_cases/p03083/output.3.txt
@@ -0,0 +1,15 @@
+500000004
+500000004
+500000004
+500000004
+500000004
+500000004
+929687507
+218750002
+224609377
+303710940
+633300786
+694091802
+172485353
+411682132
+411682132
diff --git a/public_test_cases/p03084/input.0.txt b/public_test_cases/p03084/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..124ae5876ee3dbe4e80464cef3c01a9f85af18dc
--- /dev/null
+++ b/public_test_cases/p03084/input.0.txt
@@ -0,0 +1,7 @@
+4 5 4
+EEWW
+NSNNS
+4 1 1 4
+1 3 1 2
+4 2 3 2
+3 3 3 5
diff --git a/public_test_cases/p03084/input.1.txt b/public_test_cases/p03084/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ec3c4343b8817224c8ce89b0e14c26cf6860d15
--- /dev/null
+++ b/public_test_cases/p03084/input.1.txt
@@ -0,0 +1,13 @@
+9 7 10
+EEEEEWEWW
+NSSSNSN
+4 6 9 2
+3 7 6 7
+7 5 3 5
+1 1 8 1
+4 3 5 4
+7 4 6 4
+2 5 8 6
+6 6 2 7
+2 4 7 5
+7 2 9 7
diff --git a/public_test_cases/p03084/input.2.txt b/public_test_cases/p03084/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..124ae5876ee3dbe4e80464cef3c01a9f85af18dc
--- /dev/null
+++ b/public_test_cases/p03084/input.2.txt
@@ -0,0 +1,7 @@
+4 5 4
+EEWW
+NSNNS
+4 1 1 4
+1 3 1 2
+4 2 3 2
+3 3 3 5
diff --git a/public_test_cases/p03084/input.3.txt b/public_test_cases/p03084/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91f25b2d19c26b99661914c0c01adcd4c52f1248
--- /dev/null
+++ b/public_test_cases/p03084/input.3.txt
@@ -0,0 +1,5 @@
+3 3 2
+EEE
+SSS
+1 1 3 3
+3 3 1 1
diff --git a/public_test_cases/p03084/output.0.txt b/public_test_cases/p03084/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cb446e8d6528a9203815cd9e4d12245d3350a57
--- /dev/null
+++ b/public_test_cases/p03084/output.0.txt
@@ -0,0 +1,4 @@
+6
+11
+5
+4
diff --git a/public_test_cases/p03084/output.1.txt b/public_test_cases/p03084/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20129a945cb6b75f8b4dcf20f1c1b75ed0def762
--- /dev/null
+++ b/public_test_cases/p03084/output.1.txt
@@ -0,0 +1,10 @@
+9
+-1
+4
+9
+2
+3
+7
+7
+6
+-1
diff --git a/public_test_cases/p03084/output.2.txt b/public_test_cases/p03084/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cb446e8d6528a9203815cd9e4d12245d3350a57
--- /dev/null
+++ b/public_test_cases/p03084/output.2.txt
@@ -0,0 +1,4 @@
+6
+11
+5
+4
diff --git a/public_test_cases/p03084/output.3.txt b/public_test_cases/p03084/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..058d0bb3afef67d72e3bf618b902963cf82bfddc
--- /dev/null
+++ b/public_test_cases/p03084/output.3.txt
@@ -0,0 +1,2 @@
+4
+-1
diff --git a/public_test_cases/p03085/input.0.txt b/public_test_cases/p03085/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p03085/input.0.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p03085/input.1.txt b/public_test_cases/p03085/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd7923529855d0b274795ae3349c5e0438333979
--- /dev/null
+++ b/public_test_cases/p03085/input.1.txt
@@ -0,0 +1 @@
+G
diff --git a/public_test_cases/p03085/input.2.txt b/public_test_cases/p03085/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p03085/input.2.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p03085/output.0.txt b/public_test_cases/p03085/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62a6e3c9dfcb5f2a009cb85d9562145c1ea803a1
--- /dev/null
+++ b/public_test_cases/p03085/output.0.txt
@@ -0,0 +1 @@
+T
diff --git a/public_test_cases/p03085/output.1.txt b/public_test_cases/p03085/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cc58df83752123644fef39faab2393af643b1d2
--- /dev/null
+++ b/public_test_cases/p03085/output.1.txt
@@ -0,0 +1 @@
+C
diff --git a/public_test_cases/p03085/output.2.txt b/public_test_cases/p03085/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62a6e3c9dfcb5f2a009cb85d9562145c1ea803a1
--- /dev/null
+++ b/public_test_cases/p03085/output.2.txt
@@ -0,0 +1 @@
+T
diff --git a/public_test_cases/p03086/input.0.txt b/public_test_cases/p03086/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24a97f07bc4971b4bf4eb03a16a99832b0722d9f
--- /dev/null
+++ b/public_test_cases/p03086/input.0.txt
@@ -0,0 +1 @@
+ATCODER
diff --git a/public_test_cases/p03086/input.1.txt b/public_test_cases/p03086/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..659dd27e7d11dddd8421167ce2b789f713ae377a
--- /dev/null
+++ b/public_test_cases/p03086/input.1.txt
@@ -0,0 +1 @@
+SHINJUKU
diff --git a/public_test_cases/p03086/input.2.txt b/public_test_cases/p03086/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24a97f07bc4971b4bf4eb03a16a99832b0722d9f
--- /dev/null
+++ b/public_test_cases/p03086/input.2.txt
@@ -0,0 +1 @@
+ATCODER
diff --git a/public_test_cases/p03086/input.3.txt b/public_test_cases/p03086/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a0c57d389956deffd198d5c33ece11971144b77
--- /dev/null
+++ b/public_test_cases/p03086/input.3.txt
@@ -0,0 +1 @@
+HATAGAYA
diff --git a/public_test_cases/p03086/output.0.txt b/public_test_cases/p03086/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03086/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03086/output.1.txt b/public_test_cases/p03086/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03086/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03086/output.2.txt b/public_test_cases/p03086/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03086/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03086/output.3.txt b/public_test_cases/p03086/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03086/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03087/input.0.txt b/public_test_cases/p03087/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd639bc7c086ad335f9ada6093252e1c32645280
--- /dev/null
+++ b/public_test_cases/p03087/input.0.txt
@@ -0,0 +1,5 @@
+8 3
+ACACTACG
+3 7
+2 3
+1 8
diff --git a/public_test_cases/p03087/input.1.txt b/public_test_cases/p03087/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd639bc7c086ad335f9ada6093252e1c32645280
--- /dev/null
+++ b/public_test_cases/p03087/input.1.txt
@@ -0,0 +1,5 @@
+8 3
+ACACTACG
+3 7
+2 3
+1 8
diff --git a/public_test_cases/p03087/output.0.txt b/public_test_cases/p03087/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08287418d28be82b43eb2f9c0cc7e159010e2461
--- /dev/null
+++ b/public_test_cases/p03087/output.0.txt
@@ -0,0 +1,3 @@
+2
+0
+3
diff --git a/public_test_cases/p03087/output.1.txt b/public_test_cases/p03087/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08287418d28be82b43eb2f9c0cc7e159010e2461
--- /dev/null
+++ b/public_test_cases/p03087/output.1.txt
@@ -0,0 +1,3 @@
+2
+0
+3
diff --git a/public_test_cases/p03088/input.0.txt b/public_test_cases/p03088/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03088/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03088/input.1.txt b/public_test_cases/p03088/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03088/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03088/input.2.txt b/public_test_cases/p03088/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03088/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03088/input.3.txt b/public_test_cases/p03088/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03088/input.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03088/output.0.txt b/public_test_cases/p03088/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1e7d265fcc1d93320d7446fa1755892417f1f90
--- /dev/null
+++ b/public_test_cases/p03088/output.0.txt
@@ -0,0 +1 @@
+61
diff --git a/public_test_cases/p03088/output.1.txt b/public_test_cases/p03088/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcb6b5baa1d74755be849bad4c15f5b269ef4b4c
--- /dev/null
+++ b/public_test_cases/p03088/output.1.txt
@@ -0,0 +1 @@
+230
diff --git a/public_test_cases/p03088/output.2.txt b/public_test_cases/p03088/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1e7d265fcc1d93320d7446fa1755892417f1f90
--- /dev/null
+++ b/public_test_cases/p03088/output.2.txt
@@ -0,0 +1 @@
+61
diff --git a/public_test_cases/p03088/output.3.txt b/public_test_cases/p03088/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56afcd64a4b7458522f8c46f812073fa1ddd5360
--- /dev/null
+++ b/public_test_cases/p03088/output.3.txt
@@ -0,0 +1 @@
+388130742
diff --git a/public_test_cases/p03089/input.0.txt b/public_test_cases/p03089/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56221aadc5dfac666c62fd57ad1536458c512851
--- /dev/null
+++ b/public_test_cases/p03089/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 1
diff --git a/public_test_cases/p03089/input.1.txt b/public_test_cases/p03089/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2e8289164b89838ea6491b122ffe34d86681b7d
--- /dev/null
+++ b/public_test_cases/p03089/input.1.txt
@@ -0,0 +1,2 @@
+9
+1 1 1 2 2 1 2 3 2
diff --git a/public_test_cases/p03089/input.2.txt b/public_test_cases/p03089/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d7778566a9ec2edc1aef3405376f39389487c9f
--- /dev/null
+++ b/public_test_cases/p03089/input.2.txt
@@ -0,0 +1,2 @@
+2
+2 2
diff --git a/public_test_cases/p03089/input.3.txt b/public_test_cases/p03089/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56221aadc5dfac666c62fd57ad1536458c512851
--- /dev/null
+++ b/public_test_cases/p03089/input.3.txt
@@ -0,0 +1,2 @@
+3
+1 2 1
diff --git a/public_test_cases/p03089/output.0.txt b/public_test_cases/p03089/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33280629d45d42f53ada4c621ad788fb72c9c09c
--- /dev/null
+++ b/public_test_cases/p03089/output.0.txt
@@ -0,0 +1,3 @@
+1
+1
+2
diff --git a/public_test_cases/p03089/output.1.txt b/public_test_cases/p03089/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f16845bee17ab9ed7d3f538b17d86871da75d3c
--- /dev/null
+++ b/public_test_cases/p03089/output.1.txt
@@ -0,0 +1,9 @@
+1
+2
+2
+3
+1
+2
+2
+1
+1
diff --git a/public_test_cases/p03089/output.2.txt b/public_test_cases/p03089/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03089/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03089/output.3.txt b/public_test_cases/p03089/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33280629d45d42f53ada4c621ad788fb72c9c09c
--- /dev/null
+++ b/public_test_cases/p03089/output.3.txt
@@ -0,0 +1,3 @@
+1
+1
+2
diff --git a/public_test_cases/p03090/input.0.txt b/public_test_cases/p03090/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03090/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03090/input.1.txt b/public_test_cases/p03090/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03090/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03090/output.0.txt b/public_test_cases/p03090/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5dfb186712c0b1893a63d8206c742242b978cd79
--- /dev/null
+++ b/public_test_cases/p03090/output.0.txt
@@ -0,0 +1,3 @@
+2
+1 3
+2 3
diff --git a/public_test_cases/p03090/output.1.txt b/public_test_cases/p03090/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5dfb186712c0b1893a63d8206c742242b978cd79
--- /dev/null
+++ b/public_test_cases/p03090/output.1.txt
@@ -0,0 +1,3 @@
+2
+1 3
+2 3
diff --git a/public_test_cases/p03091/input.0.txt b/public_test_cases/p03091/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc7c032462e24ff6c861dffee0e5d2c0cefe3c85
--- /dev/null
+++ b/public_test_cases/p03091/input.0.txt
@@ -0,0 +1,10 @@
+7 9
+1 2
+1 3
+2 3
+1 4
+1 5
+4 5
+1 6
+1 7
+6 7
diff --git a/public_test_cases/p03091/input.1.txt b/public_test_cases/p03091/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57b9c358b596a57fe065011680d481a8d16e7691
--- /dev/null
+++ b/public_test_cases/p03091/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p03091/input.2.txt b/public_test_cases/p03091/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd866ab6e7089c725498e49d025a3778e4824da7
--- /dev/null
+++ b/public_test_cases/p03091/input.2.txt
@@ -0,0 +1,28 @@
+18 27
+17 7
+12 15
+18 17
+13 18
+13 6
+5 7
+7 1
+14 5
+15 11
+7 6
+1 9
+5 4
+18 16
+4 6
+7 2
+7 11
+6 3
+12 14
+5 2
+10 5
+7 8
+10 15
+3 15
+9 8
+7 15
+5 16
+18 15
diff --git a/public_test_cases/p03091/input.3.txt b/public_test_cases/p03091/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc7c032462e24ff6c861dffee0e5d2c0cefe3c85
--- /dev/null
+++ b/public_test_cases/p03091/input.3.txt
@@ -0,0 +1,10 @@
+7 9
+1 2
+1 3
+2 3
+1 4
+1 5
+4 5
+1 6
+1 7
+6 7
diff --git a/public_test_cases/p03091/output.0.txt b/public_test_cases/p03091/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03091/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03091/output.1.txt b/public_test_cases/p03091/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03091/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03091/output.2.txt b/public_test_cases/p03091/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03091/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03091/output.3.txt b/public_test_cases/p03091/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03091/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03092/input.0.txt b/public_test_cases/p03092/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67d78da0564f7a763142a75545d6ba7cb74e36b4
--- /dev/null
+++ b/public_test_cases/p03092/input.0.txt
@@ -0,0 +1,2 @@
+3 20 30
+3 1 2
diff --git a/public_test_cases/p03092/input.1.txt b/public_test_cases/p03092/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67d78da0564f7a763142a75545d6ba7cb74e36b4
--- /dev/null
+++ b/public_test_cases/p03092/input.1.txt
@@ -0,0 +1,2 @@
+3 20 30
+3 1 2
diff --git a/public_test_cases/p03092/input.2.txt b/public_test_cases/p03092/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52ad3dc385cce533838bb70596a2eeb288d752c8
--- /dev/null
+++ b/public_test_cases/p03092/input.2.txt
@@ -0,0 +1,2 @@
+1 10 10
+1
diff --git a/public_test_cases/p03092/input.3.txt b/public_test_cases/p03092/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bd555e8012f777137d5c8e1ba73a5e738e8250e
--- /dev/null
+++ b/public_test_cases/p03092/input.3.txt
@@ -0,0 +1,2 @@
+4 20 30
+4 2 3 1
diff --git a/public_test_cases/p03092/input.4.txt b/public_test_cases/p03092/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d71a6310724355204956726f91571b541b37a3c4
--- /dev/null
+++ b/public_test_cases/p03092/input.4.txt
@@ -0,0 +1,2 @@
+4 1000000000 1000000000
+4 3 2 1
diff --git a/public_test_cases/p03092/input.5.txt b/public_test_cases/p03092/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ee106baf968b8a2014ab422596297a4664af54b
--- /dev/null
+++ b/public_test_cases/p03092/input.5.txt
@@ -0,0 +1,2 @@
+9 40 50
+5 3 4 7 6 1 2 9 8
diff --git a/public_test_cases/p03092/output.0.txt b/public_test_cases/p03092/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03092/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03092/output.1.txt b/public_test_cases/p03092/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03092/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03092/output.2.txt b/public_test_cases/p03092/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03092/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03092/output.3.txt b/public_test_cases/p03092/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03092/output.3.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03092/output.4.txt b/public_test_cases/p03092/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1911b6e1e0b6ba372db173e7dcb15d7f609827d2
--- /dev/null
+++ b/public_test_cases/p03092/output.4.txt
@@ -0,0 +1 @@
+3000000000
diff --git a/public_test_cases/p03092/output.5.txt b/public_test_cases/p03092/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d4c7bfe8ef4faa50e08985a712bd8d8a36ffdda
--- /dev/null
+++ b/public_test_cases/p03092/output.5.txt
@@ -0,0 +1 @@
+220
diff --git a/public_test_cases/p03093/input.0.txt b/public_test_cases/p03093/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..331594101ada37ac39c8e408c1eb6d0a87518a7f
--- /dev/null
+++ b/public_test_cases/p03093/input.0.txt
@@ -0,0 +1,2 @@
+3 10
+0 2 3 4 5 9
diff --git a/public_test_cases/p03093/input.1.txt b/public_test_cases/p03093/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..331594101ada37ac39c8e408c1eb6d0a87518a7f
--- /dev/null
+++ b/public_test_cases/p03093/input.1.txt
@@ -0,0 +1,2 @@
+3 10
+0 2 3 4 5 9
diff --git a/public_test_cases/p03093/input.2.txt b/public_test_cases/p03093/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..546f39af0052f80336d8dfab8f67f24287ed4d23
--- /dev/null
+++ b/public_test_cases/p03093/input.2.txt
@@ -0,0 +1,2 @@
+2 10
+1 9 1 9
diff --git a/public_test_cases/p03093/output.0.txt b/public_test_cases/p03093/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03093/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03093/output.1.txt b/public_test_cases/p03093/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03093/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03093/output.2.txt b/public_test_cases/p03093/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03093/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03094/input.0.txt b/public_test_cases/p03094/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03094/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03094/input.1.txt b/public_test_cases/p03094/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03094/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03094/input.2.txt b/public_test_cases/p03094/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03094/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03094/input.3.txt b/public_test_cases/p03094/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03094/input.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03094/input.4.txt b/public_test_cases/p03094/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..749fce669df1b51cae4a71dc130b2a14807829f0
--- /dev/null
+++ b/public_test_cases/p03094/input.4.txt
@@ -0,0 +1 @@
+1000000
diff --git a/public_test_cases/p03094/output.0.txt b/public_test_cases/p03094/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86f97d5c572be2495d1f70ac027af1ce3001f802
--- /dev/null
+++ b/public_test_cases/p03094/output.0.txt
@@ -0,0 +1 @@
+138888890
diff --git a/public_test_cases/p03094/output.1.txt b/public_test_cases/p03094/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86f97d5c572be2495d1f70ac027af1ce3001f802
--- /dev/null
+++ b/public_test_cases/p03094/output.1.txt
@@ -0,0 +1 @@
+138888890
diff --git a/public_test_cases/p03094/output.2.txt b/public_test_cases/p03094/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cc35fa25e91c8acaa6e137d19721b78fabc92f7
--- /dev/null
+++ b/public_test_cases/p03094/output.2.txt
@@ -0,0 +1 @@
+179012347
diff --git a/public_test_cases/p03094/output.3.txt b/public_test_cases/p03094/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95e0a2a1894fc384d01fded66c407aafe01c8ec3
--- /dev/null
+++ b/public_test_cases/p03094/output.3.txt
@@ -0,0 +1 @@
+954859137
diff --git a/public_test_cases/p03094/output.4.txt b/public_test_cases/p03094/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b051bf2308a50e21a4ea5ce3d4d72b7e44c56b
--- /dev/null
+++ b/public_test_cases/p03094/output.4.txt
@@ -0,0 +1 @@
+44679646
diff --git a/public_test_cases/p03095/input.0.txt b/public_test_cases/p03095/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55bd2ec8418d7871f5ca717e38518326f6ef844f
--- /dev/null
+++ b/public_test_cases/p03095/input.0.txt
@@ -0,0 +1,2 @@
+4
+abcd
diff --git a/public_test_cases/p03095/input.1.txt b/public_test_cases/p03095/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f87feae531f3ee34b7c2a81fa64904cc8c78b6f
--- /dev/null
+++ b/public_test_cases/p03095/input.1.txt
@@ -0,0 +1,2 @@
+3
+baa
diff --git a/public_test_cases/p03095/input.2.txt b/public_test_cases/p03095/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55bd2ec8418d7871f5ca717e38518326f6ef844f
--- /dev/null
+++ b/public_test_cases/p03095/input.2.txt
@@ -0,0 +1,2 @@
+4
+abcd
diff --git a/public_test_cases/p03095/input.3.txt b/public_test_cases/p03095/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb509d63d6346835b57c469092b38759c3e6fd33
--- /dev/null
+++ b/public_test_cases/p03095/input.3.txt
@@ -0,0 +1,2 @@
+5
+abcab
diff --git a/public_test_cases/p03095/output.0.txt b/public_test_cases/p03095/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03095/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03095/output.1.txt b/public_test_cases/p03095/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03095/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03095/output.2.txt b/public_test_cases/p03095/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03095/output.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03095/output.3.txt b/public_test_cases/p03095/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p03095/output.3.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p03096/input.0.txt b/public_test_cases/p03096/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b377a72858ea907ce6abf34d038d2f23c4a871d7
--- /dev/null
+++ b/public_test_cases/p03096/input.0.txt
@@ -0,0 +1,6 @@
+5
+1
+2
+1
+2
+2
diff --git a/public_test_cases/p03096/input.1.txt b/public_test_cases/p03096/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0665c196b68df48210c6304b744ba21d9994a78b
--- /dev/null
+++ b/public_test_cases/p03096/input.1.txt
@@ -0,0 +1,7 @@
+6
+4
+2
+5
+4
+2
+4
diff --git a/public_test_cases/p03096/input.2.txt b/public_test_cases/p03096/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b377a72858ea907ce6abf34d038d2f23c4a871d7
--- /dev/null
+++ b/public_test_cases/p03096/input.2.txt
@@ -0,0 +1,6 @@
+5
+1
+2
+1
+2
+2
diff --git a/public_test_cases/p03096/input.3.txt b/public_test_cases/p03096/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7673d21e6c6596af50de601bac119adc5501f4d
--- /dev/null
+++ b/public_test_cases/p03096/input.3.txt
@@ -0,0 +1,8 @@
+7
+1
+3
+1
+2
+3
+3
+2
diff --git a/public_test_cases/p03096/output.0.txt b/public_test_cases/p03096/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03096/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03096/output.1.txt b/public_test_cases/p03096/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03096/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03096/output.2.txt b/public_test_cases/p03096/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03096/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03096/output.3.txt b/public_test_cases/p03096/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03096/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03097/input.0.txt b/public_test_cases/p03097/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaee162b8456e2053528a953d12c3db963e8c3b0
--- /dev/null
+++ b/public_test_cases/p03097/input.0.txt
@@ -0,0 +1 @@
+2 1 3
diff --git a/public_test_cases/p03097/input.1.txt b/public_test_cases/p03097/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d03090e700f3bac824c9d4299ee554a97e685319
--- /dev/null
+++ b/public_test_cases/p03097/input.1.txt
@@ -0,0 +1 @@
+3 2 1
diff --git a/public_test_cases/p03097/input.2.txt b/public_test_cases/p03097/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaee162b8456e2053528a953d12c3db963e8c3b0
--- /dev/null
+++ b/public_test_cases/p03097/input.2.txt
@@ -0,0 +1 @@
+2 1 3
diff --git a/public_test_cases/p03097/output.0.txt b/public_test_cases/p03097/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d84c1c6dfb87b0d04c517baeb1ba9c8fee9a263a
--- /dev/null
+++ b/public_test_cases/p03097/output.0.txt
@@ -0,0 +1,2 @@
+YES
+1 0 2 3
diff --git a/public_test_cases/p03097/output.1.txt b/public_test_cases/p03097/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03097/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03097/output.2.txt b/public_test_cases/p03097/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d84c1c6dfb87b0d04c517baeb1ba9c8fee9a263a
--- /dev/null
+++ b/public_test_cases/p03097/output.2.txt
@@ -0,0 +1,2 @@
+YES
+1 0 2 3
diff --git a/public_test_cases/p03098/input.0.txt b/public_test_cases/p03098/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc0cbb1a07437001076deac4a5fc42e49ae4a9c6
--- /dev/null
+++ b/public_test_cases/p03098/input.0.txt
@@ -0,0 +1,3 @@
+3 3
+1 2 3
+3 2 1
diff --git a/public_test_cases/p03098/input.1.txt b/public_test_cases/p03098/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72007f78ac35af6374ea41cd29dcfa4b098361bd
--- /dev/null
+++ b/public_test_cases/p03098/input.1.txt
@@ -0,0 +1,3 @@
+5 5
+4 5 1 2 3
+3 2 1 5 4
diff --git a/public_test_cases/p03098/input.2.txt b/public_test_cases/p03098/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe7887ff827aef1b83d52f1794f6677ea3ca670
--- /dev/null
+++ b/public_test_cases/p03098/input.2.txt
@@ -0,0 +1,3 @@
+10 1000000000
+7 10 6 5 4 2 9 1 3 8
+4 1 9 2 3 7 8 10 6 5
diff --git a/public_test_cases/p03098/input.3.txt b/public_test_cases/p03098/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc0cbb1a07437001076deac4a5fc42e49ae4a9c6
--- /dev/null
+++ b/public_test_cases/p03098/input.3.txt
@@ -0,0 +1,3 @@
+3 3
+1 2 3
+3 2 1
diff --git a/public_test_cases/p03098/output.0.txt b/public_test_cases/p03098/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d03090e700f3bac824c9d4299ee554a97e685319
--- /dev/null
+++ b/public_test_cases/p03098/output.0.txt
@@ -0,0 +1 @@
+3 2 1
diff --git a/public_test_cases/p03098/output.1.txt b/public_test_cases/p03098/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c1eb6ef709edd705830a19470ea41a9cd0f3ce1
--- /dev/null
+++ b/public_test_cases/p03098/output.1.txt
@@ -0,0 +1 @@
+4 3 2 1 5
diff --git a/public_test_cases/p03098/output.2.txt b/public_test_cases/p03098/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6cecb05b56724b04aa16a546489b067c6a4e1ff
--- /dev/null
+++ b/public_test_cases/p03098/output.2.txt
@@ -0,0 +1 @@
+7 9 4 8 2 5 1 6 10 3
diff --git a/public_test_cases/p03098/output.3.txt b/public_test_cases/p03098/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d03090e700f3bac824c9d4299ee554a97e685319
--- /dev/null
+++ b/public_test_cases/p03098/output.3.txt
@@ -0,0 +1 @@
+3 2 1
diff --git a/public_test_cases/p03099/input.0.txt b/public_test_cases/p03099/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f87f2280b7b7f980404de833845891d469d11486
--- /dev/null
+++ b/public_test_cases/p03099/input.0.txt
@@ -0,0 +1,13 @@
+7
+1 3 6
+1 5 9
+3 1 8
+4 3 8
+6 2 9
+5 4 11
+5 7 10
+4
+L 3 1
+R 2 3
+D 5 3
+U 4 2
diff --git a/public_test_cases/p03099/input.1.txt b/public_test_cases/p03099/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb14f3a021b96dcfd9a0c812556bbf4191472b77
--- /dev/null
+++ b/public_test_cases/p03099/input.1.txt
@@ -0,0 +1,33 @@
+10
+66 47 71040136000
+65 77 74799603000
+80 53 91192869000
+24 34 24931901000
+91 78 49867703000
+68 71 46108236000
+46 73 74799603000
+56 63 93122668000
+32 51 71030136000
+51 26 70912345000
+21
+L 51 1
+L 7 0
+U 47 4
+R 92 0
+R 91 1
+D 53 2
+R 65 3
+D 13 0
+U 63 3
+L 68 3
+D 47 1
+L 91 5
+R 32 4
+L 66 2
+L 80 4
+D 77 4
+U 73 1
+D 78 5
+U 26 5
+R 80 2
+R 24 5
diff --git a/public_test_cases/p03099/input.2.txt b/public_test_cases/p03099/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69df9df2cefc991810252a44f611196e5cb22d7e
--- /dev/null
+++ b/public_test_cases/p03099/input.2.txt
@@ -0,0 +1,6 @@
+3
+1 2 3
+4 5 6
+7 8 9
+1
+L 100 0
diff --git a/public_test_cases/p03099/input.3.txt b/public_test_cases/p03099/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec41471b15d92f245eebdad0fec894e471a3339a
--- /dev/null
+++ b/public_test_cases/p03099/input.3.txt
@@ -0,0 +1,9 @@
+4
+1 1 10
+1 2 11
+2 1 12
+2 2 13
+3
+L 8 3
+L 9 2
+L 10 1
diff --git a/public_test_cases/p03099/input.4.txt b/public_test_cases/p03099/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f87f2280b7b7f980404de833845891d469d11486
--- /dev/null
+++ b/public_test_cases/p03099/input.4.txt
@@ -0,0 +1,13 @@
+7
+1 3 6
+1 5 9
+3 1 8
+4 3 8
+6 2 9
+5 4 11
+5 7 10
+4
+L 3 1
+R 2 3
+D 5 3
+U 4 2
diff --git a/public_test_cases/p03099/output.0.txt b/public_test_cases/p03099/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p03099/output.0.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p03099/output.1.txt b/public_test_cases/p03099/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c638b9f44c5693f1f2e0656b35e426927e4b9cb4
--- /dev/null
+++ b/public_test_cases/p03099/output.1.txt
@@ -0,0 +1 @@
+305223377000
diff --git a/public_test_cases/p03099/output.2.txt b/public_test_cases/p03099/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03099/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03099/output.3.txt b/public_test_cases/p03099/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03099/output.3.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03099/output.4.txt b/public_test_cases/p03099/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p03099/output.4.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p03100/input.0.txt b/public_test_cases/p03100/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09186253b2aa8ea5158e8dd5dcabc7914f2dff0a
--- /dev/null
+++ b/public_test_cases/p03100/input.0.txt
@@ -0,0 +1,5 @@
+3 2 2 2019
+1 2 1
+2 3 2
+1 3 5
+1 3 4
diff --git a/public_test_cases/p03100/input.1.txt b/public_test_cases/p03100/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09186253b2aa8ea5158e8dd5dcabc7914f2dff0a
--- /dev/null
+++ b/public_test_cases/p03100/input.1.txt
@@ -0,0 +1,5 @@
+3 2 2 2019
+1 2 1
+2 3 2
+1 3 5
+1 3 4
diff --git a/public_test_cases/p03100/input.2.txt b/public_test_cases/p03100/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8dbe44d92318188ed176eed533419fcc49ba41c
--- /dev/null
+++ b/public_test_cases/p03100/input.2.txt
@@ -0,0 +1,6 @@
+1 2 3 25
+1 1 1
+1 1 2
+1 1 13
+1 1 6
+1 1 14
diff --git a/public_test_cases/p03100/input.3.txt b/public_test_cases/p03100/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c23280e2c86e54b9aeedfbe4b676e714f15c9226
--- /dev/null
+++ b/public_test_cases/p03100/input.3.txt
@@ -0,0 +1,26 @@
+10 15 10 15
+1 2 1
+2 3 6
+3 4 6
+2 5 1
+5 6 1
+4 7 6
+1 8 11
+2 9 6
+5 10 11
+9 10 11
+3 6 1
+2 5 1
+2 7 11
+9 10 11
+5 6 11
+1 3 5
+9 8 3
+7 7 7
+7 10 13
+4 1 10
+9 3 12
+10 10 14
+9 2 1
+6 6 5
+8 8 4
diff --git a/public_test_cases/p03100/input.4.txt b/public_test_cases/p03100/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eba285110c2325c09c0710ce8a9a5ac737a012bd
--- /dev/null
+++ b/public_test_cases/p03100/input.4.txt
@@ -0,0 +1,10 @@
+6 6 3 2019
+1 2 4
+2 3 4
+3 4 4
+4 5 4
+5 6 4
+6 1 4
+2 6 1110
+3 1 1111
+4 5 1112
diff --git a/public_test_cases/p03100/output.0.txt b/public_test_cases/p03100/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p03100/output.0.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p03100/output.1.txt b/public_test_cases/p03100/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823d3f69d3a96f5f59af56f67d8b845e58a568f1
--- /dev/null
+++ b/public_test_cases/p03100/output.1.txt
@@ -0,0 +1,2 @@
+YES
+NO
diff --git a/public_test_cases/p03100/output.2.txt b/public_test_cases/p03100/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf934da2dcf5b6e3b25ae6bef0672ca197d67b66
--- /dev/null
+++ b/public_test_cases/p03100/output.2.txt
@@ -0,0 +1,3 @@
+YES
+YES
+YES
diff --git a/public_test_cases/p03100/output.3.txt b/public_test_cases/p03100/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1a07e472e926597d95e15bfd746f38b8f493d5c
--- /dev/null
+++ b/public_test_cases/p03100/output.3.txt
@@ -0,0 +1,10 @@
+YES
+NO
+NO
+NO
+NO
+NO
+NO
+YES
+YES
+NO
diff --git a/public_test_cases/p03100/output.4.txt b/public_test_cases/p03100/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6e03a3424cbc9fd3c1c5139fbef28b53ec422af
--- /dev/null
+++ b/public_test_cases/p03100/output.4.txt
@@ -0,0 +1,3 @@
+YES
+NO
+NO
diff --git a/public_test_cases/p03101/input.0.txt b/public_test_cases/p03101/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..735564ef4e99e0d6b0747d87932b5088397f9cb8
--- /dev/null
+++ b/public_test_cases/p03101/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+2 1
diff --git a/public_test_cases/p03101/input.1.txt b/public_test_cases/p03101/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb17595f10b2a4ace1c379a7fa9b2645f9598836
--- /dev/null
+++ b/public_test_cases/p03101/input.1.txt
@@ -0,0 +1,2 @@
+2 4
+2 4
diff --git a/public_test_cases/p03101/input.2.txt b/public_test_cases/p03101/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7206222474955b4dbdb77160c53c04b77b3f3ab3
--- /dev/null
+++ b/public_test_cases/p03101/input.2.txt
@@ -0,0 +1,2 @@
+5 5
+2 3
diff --git a/public_test_cases/p03101/input.3.txt b/public_test_cases/p03101/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..735564ef4e99e0d6b0747d87932b5088397f9cb8
--- /dev/null
+++ b/public_test_cases/p03101/input.3.txt
@@ -0,0 +1,2 @@
+3 2
+2 1
diff --git a/public_test_cases/p03101/output.0.txt b/public_test_cases/p03101/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03101/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03101/output.1.txt b/public_test_cases/p03101/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03101/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03101/output.2.txt b/public_test_cases/p03101/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03101/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03101/output.3.txt b/public_test_cases/p03101/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03101/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03102/input.0.txt b/public_test_cases/p03102/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27c8ec24895a29225aa7108295dfab68361e7e89
--- /dev/null
+++ b/public_test_cases/p03102/input.0.txt
@@ -0,0 +1,4 @@
+2 3 -10
+1 2 3
+3 2 1
+1 2 2
diff --git a/public_test_cases/p03102/input.1.txt b/public_test_cases/p03102/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..819f8c3757902b3bfb3a7e5a145c7c2227e307ab
--- /dev/null
+++ b/public_test_cases/p03102/input.1.txt
@@ -0,0 +1,5 @@
+3 3 0
+100 -100 0
+0 100 100
+100 100 100
+-100 100 100
diff --git a/public_test_cases/p03102/input.2.txt b/public_test_cases/p03102/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b47a11ce20bef1f056ba821e43c0ec0c34b789c5
--- /dev/null
+++ b/public_test_cases/p03102/input.2.txt
@@ -0,0 +1,7 @@
+5 2 -4
+-2 5
+100 41
+100 40
+-3 0
+-6 -2
+18 -13
diff --git a/public_test_cases/p03102/input.3.txt b/public_test_cases/p03102/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27c8ec24895a29225aa7108295dfab68361e7e89
--- /dev/null
+++ b/public_test_cases/p03102/input.3.txt
@@ -0,0 +1,4 @@
+2 3 -10
+1 2 3
+3 2 1
+1 2 2
diff --git a/public_test_cases/p03102/output.0.txt b/public_test_cases/p03102/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03102/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03102/output.1.txt b/public_test_cases/p03102/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03102/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03102/output.2.txt b/public_test_cases/p03102/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03102/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03102/output.3.txt b/public_test_cases/p03102/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03102/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03103/input.0.txt b/public_test_cases/p03103/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..456b23560ce1df3f02e635d91bd7ddb6b2836c34
--- /dev/null
+++ b/public_test_cases/p03103/input.0.txt
@@ -0,0 +1,3 @@
+2 5
+4 9
+2 4
diff --git a/public_test_cases/p03103/input.1.txt b/public_test_cases/p03103/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b84767e32969b98664bfcf6c075b12d963bddbe
--- /dev/null
+++ b/public_test_cases/p03103/input.1.txt
@@ -0,0 +1,5 @@
+4 30
+6 18
+2 5
+3 10
+7 9
diff --git a/public_test_cases/p03103/input.2.txt b/public_test_cases/p03103/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11ef8397de177418477fddcca73a093ceaa59b7f
--- /dev/null
+++ b/public_test_cases/p03103/input.2.txt
@@ -0,0 +1,2 @@
+1 100000
+1000000000 100000
diff --git a/public_test_cases/p03103/input.3.txt b/public_test_cases/p03103/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..456b23560ce1df3f02e635d91bd7ddb6b2836c34
--- /dev/null
+++ b/public_test_cases/p03103/input.3.txt
@@ -0,0 +1,3 @@
+2 5
+4 9
+2 4
diff --git a/public_test_cases/p03103/output.0.txt b/public_test_cases/p03103/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03103/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03103/output.1.txt b/public_test_cases/p03103/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd03ab2a61f407d4bd9068d6faf07cb898805cc0
--- /dev/null
+++ b/public_test_cases/p03103/output.1.txt
@@ -0,0 +1 @@
+130
diff --git a/public_test_cases/p03103/output.2.txt b/public_test_cases/p03103/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69a9eac11a3e0092b85f871f7380100de2e95643
--- /dev/null
+++ b/public_test_cases/p03103/output.2.txt
@@ -0,0 +1 @@
+100000000000000
diff --git a/public_test_cases/p03103/output.3.txt b/public_test_cases/p03103/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03103/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03105/input.0.txt b/public_test_cases/p03105/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1397130f54ff26a32a36e5b24b74f1acc99847dc
--- /dev/null
+++ b/public_test_cases/p03105/input.0.txt
@@ -0,0 +1 @@
+2 11 4
diff --git a/public_test_cases/p03105/input.1.txt b/public_test_cases/p03105/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..656a26845b8b15140abe4a874be2d8be7bff8daa
--- /dev/null
+++ b/public_test_cases/p03105/input.1.txt
@@ -0,0 +1 @@
+3 9 5
diff --git a/public_test_cases/p03105/input.2.txt b/public_test_cases/p03105/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1397130f54ff26a32a36e5b24b74f1acc99847dc
--- /dev/null
+++ b/public_test_cases/p03105/input.2.txt
@@ -0,0 +1 @@
+2 11 4
diff --git a/public_test_cases/p03105/input.3.txt b/public_test_cases/p03105/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0b019bc5c99355ed946f520d6a1f6ff66b6b6c5
--- /dev/null
+++ b/public_test_cases/p03105/input.3.txt
@@ -0,0 +1 @@
+100 1 10
diff --git a/public_test_cases/p03105/output.0.txt b/public_test_cases/p03105/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03105/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03105/output.1.txt b/public_test_cases/p03105/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03105/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03105/output.2.txt b/public_test_cases/p03105/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03105/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03105/output.3.txt b/public_test_cases/p03105/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03105/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03106/input.0.txt b/public_test_cases/p03106/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5ffe87f2506a70a8aa7ef688d1c8298abc828d5
--- /dev/null
+++ b/public_test_cases/p03106/input.0.txt
@@ -0,0 +1 @@
+8 12 2
diff --git a/public_test_cases/p03106/input.1.txt b/public_test_cases/p03106/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc3759002bf5280e344eeadc5dbf9ea31b3e0b78
--- /dev/null
+++ b/public_test_cases/p03106/input.1.txt
@@ -0,0 +1 @@
+1 1 1
diff --git a/public_test_cases/p03106/input.2.txt b/public_test_cases/p03106/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a08294f580c52168668fe23524dcfef794599b65
--- /dev/null
+++ b/public_test_cases/p03106/input.2.txt
@@ -0,0 +1 @@
+100 50 4
diff --git a/public_test_cases/p03106/input.3.txt b/public_test_cases/p03106/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5ffe87f2506a70a8aa7ef688d1c8298abc828d5
--- /dev/null
+++ b/public_test_cases/p03106/input.3.txt
@@ -0,0 +1 @@
+8 12 2
diff --git a/public_test_cases/p03106/output.0.txt b/public_test_cases/p03106/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03106/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03106/output.1.txt b/public_test_cases/p03106/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03106/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03106/output.2.txt b/public_test_cases/p03106/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03106/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03106/output.3.txt b/public_test_cases/p03106/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03106/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03107/input.0.txt b/public_test_cases/p03107/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af68ed919d472cbf6e7aaee9c89d006324bb6ed5
--- /dev/null
+++ b/public_test_cases/p03107/input.0.txt
@@ -0,0 +1 @@
+0011
diff --git a/public_test_cases/p03107/input.1.txt b/public_test_cases/p03107/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03107/input.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03107/input.2.txt b/public_test_cases/p03107/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af68ed919d472cbf6e7aaee9c89d006324bb6ed5
--- /dev/null
+++ b/public_test_cases/p03107/input.2.txt
@@ -0,0 +1 @@
+0011
diff --git a/public_test_cases/p03107/input.3.txt b/public_test_cases/p03107/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdaf1da76d8d2d77c5d7feb5534168f2df7305fe
--- /dev/null
+++ b/public_test_cases/p03107/input.3.txt
@@ -0,0 +1 @@
+11011010001011
diff --git a/public_test_cases/p03107/output.0.txt b/public_test_cases/p03107/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03107/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03107/output.1.txt b/public_test_cases/p03107/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03107/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03107/output.2.txt b/public_test_cases/p03107/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03107/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03107/output.3.txt b/public_test_cases/p03107/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03107/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03108/input.0.txt b/public_test_cases/p03108/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8881ee2784d3fcf65549d77ed940999500e27c93
--- /dev/null
+++ b/public_test_cases/p03108/input.0.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+3 4
+1 3
+2 3
+1 4
diff --git a/public_test_cases/p03108/input.1.txt b/public_test_cases/p03108/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23a7d587e469dc8eea51d309e248bbdfbf4169fa
--- /dev/null
+++ b/public_test_cases/p03108/input.1.txt
@@ -0,0 +1,6 @@
+6 5
+2 3
+1 2
+5 6
+3 4
+4 5
diff --git a/public_test_cases/p03108/input.2.txt b/public_test_cases/p03108/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8881ee2784d3fcf65549d77ed940999500e27c93
--- /dev/null
+++ b/public_test_cases/p03108/input.2.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+3 4
+1 3
+2 3
+1 4
diff --git a/public_test_cases/p03108/input.3.txt b/public_test_cases/p03108/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fa10279583c299e9d987e8a5ad331bc6c8704d
--- /dev/null
+++ b/public_test_cases/p03108/input.3.txt
@@ -0,0 +1,2 @@
+2 1
+1 2
diff --git a/public_test_cases/p03108/output.0.txt b/public_test_cases/p03108/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce5618383f6e6db292e34afa696f1d282fd85a01
--- /dev/null
+++ b/public_test_cases/p03108/output.0.txt
@@ -0,0 +1,5 @@
+0
+0
+4
+5
+6
diff --git a/public_test_cases/p03108/output.1.txt b/public_test_cases/p03108/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83dd8d4f1b7deee7a7260c5eed338efba31150c7
--- /dev/null
+++ b/public_test_cases/p03108/output.1.txt
@@ -0,0 +1,5 @@
+8
+9
+12
+14
+15
diff --git a/public_test_cases/p03108/output.2.txt b/public_test_cases/p03108/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce5618383f6e6db292e34afa696f1d282fd85a01
--- /dev/null
+++ b/public_test_cases/p03108/output.2.txt
@@ -0,0 +1,5 @@
+0
+0
+4
+5
+6
diff --git a/public_test_cases/p03108/output.3.txt b/public_test_cases/p03108/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03108/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03109/input.0.txt b/public_test_cases/p03109/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e10bbe9009c5cf4c6adbb42f0ae0f4f8dde03e
--- /dev/null
+++ b/public_test_cases/p03109/input.0.txt
@@ -0,0 +1 @@
+2019/04/30
diff --git a/public_test_cases/p03109/input.1.txt b/public_test_cases/p03109/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1e10bbe9009c5cf4c6adbb42f0ae0f4f8dde03e
--- /dev/null
+++ b/public_test_cases/p03109/input.1.txt
@@ -0,0 +1 @@
+2019/04/30
diff --git a/public_test_cases/p03109/input.2.txt b/public_test_cases/p03109/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1480ba15790bc4422959a97f27f51c9f1bb7861
--- /dev/null
+++ b/public_test_cases/p03109/input.2.txt
@@ -0,0 +1 @@
+2019/11/01
diff --git a/public_test_cases/p03109/output.0.txt b/public_test_cases/p03109/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b15205f24fe2f18fc3e1a6c6490f6fe4fdfbe437
--- /dev/null
+++ b/public_test_cases/p03109/output.0.txt
@@ -0,0 +1 @@
+Heisei
diff --git a/public_test_cases/p03109/output.1.txt b/public_test_cases/p03109/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b15205f24fe2f18fc3e1a6c6490f6fe4fdfbe437
--- /dev/null
+++ b/public_test_cases/p03109/output.1.txt
@@ -0,0 +1 @@
+Heisei
diff --git a/public_test_cases/p03109/output.2.txt b/public_test_cases/p03109/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0990367ef8b03c70c29d285e22ef85907e1d0b7
--- /dev/null
+++ b/public_test_cases/p03109/output.2.txt
@@ -0,0 +1 @@
+TBD
diff --git a/public_test_cases/p03110/input.0.txt b/public_test_cases/p03110/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a0ba38bf2ab7400ae3fd6057bbe0f9d2be53cad
--- /dev/null
+++ b/public_test_cases/p03110/input.0.txt
@@ -0,0 +1,3 @@
+2
+10000 JPY
+0.10000000 BTC
diff --git a/public_test_cases/p03110/input.1.txt b/public_test_cases/p03110/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a0ba38bf2ab7400ae3fd6057bbe0f9d2be53cad
--- /dev/null
+++ b/public_test_cases/p03110/input.1.txt
@@ -0,0 +1,3 @@
+2
+10000 JPY
+0.10000000 BTC
diff --git a/public_test_cases/p03110/input.2.txt b/public_test_cases/p03110/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ffc1541302790bdb9115cf5753e87bfe9c76196
--- /dev/null
+++ b/public_test_cases/p03110/input.2.txt
@@ -0,0 +1,4 @@
+3
+100000000 JPY
+100.00000000 BTC
+0.00000001 BTC
diff --git a/public_test_cases/p03110/output.0.txt b/public_test_cases/p03110/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..810557c35b155da0929dbaaed544ae8c9d689c87
--- /dev/null
+++ b/public_test_cases/p03110/output.0.txt
@@ -0,0 +1 @@
+48000.0
diff --git a/public_test_cases/p03110/output.1.txt b/public_test_cases/p03110/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..810557c35b155da0929dbaaed544ae8c9d689c87
--- /dev/null
+++ b/public_test_cases/p03110/output.1.txt
@@ -0,0 +1 @@
+48000.0
diff --git a/public_test_cases/p03110/output.2.txt b/public_test_cases/p03110/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..317c653b53d65146b8abfedfa937d99d700f6cd9
--- /dev/null
+++ b/public_test_cases/p03110/output.2.txt
@@ -0,0 +1 @@
+138000000.0038
diff --git a/public_test_cases/p03111/input.0.txt b/public_test_cases/p03111/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be3325ad88f93c096a0a4d339553bfcb4d484416
--- /dev/null
+++ b/public_test_cases/p03111/input.0.txt
@@ -0,0 +1,6 @@
+5 100 90 80
+98
+40
+30
+21
+80
diff --git a/public_test_cases/p03111/input.1.txt b/public_test_cases/p03111/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb208b006ad389fba59a0c78d060b6367a42637a
--- /dev/null
+++ b/public_test_cases/p03111/input.1.txt
@@ -0,0 +1,9 @@
+8 1000 800 100
+300
+333
+400
+444
+500
+555
+600
+666
diff --git a/public_test_cases/p03111/input.2.txt b/public_test_cases/p03111/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be3325ad88f93c096a0a4d339553bfcb4d484416
--- /dev/null
+++ b/public_test_cases/p03111/input.2.txt
@@ -0,0 +1,6 @@
+5 100 90 80
+98
+40
+30
+21
+80
diff --git a/public_test_cases/p03111/input.3.txt b/public_test_cases/p03111/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4f0efb4cf7d259243c599c2f526302787db32af
--- /dev/null
+++ b/public_test_cases/p03111/input.3.txt
@@ -0,0 +1,9 @@
+8 100 90 80
+100
+100
+90
+90
+90
+80
+80
+80
diff --git a/public_test_cases/p03111/output.0.txt b/public_test_cases/p03111/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p03111/output.0.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p03111/output.1.txt b/public_test_cases/p03111/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77f83230f66a0fdcfb20aea384553e2910f87712
--- /dev/null
+++ b/public_test_cases/p03111/output.1.txt
@@ -0,0 +1 @@
+243
diff --git a/public_test_cases/p03111/output.2.txt b/public_test_cases/p03111/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p03111/output.2.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p03111/output.3.txt b/public_test_cases/p03111/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03111/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03112/input.0.txt b/public_test_cases/p03112/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..839871e6d0f1845e2507fa79061628fe52fb1ef7
--- /dev/null
+++ b/public_test_cases/p03112/input.0.txt
@@ -0,0 +1,10 @@
+2 3 4
+100
+600
+400
+900
+1000
+150
+2000
+899
+799
diff --git a/public_test_cases/p03112/input.1.txt b/public_test_cases/p03112/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..839871e6d0f1845e2507fa79061628fe52fb1ef7
--- /dev/null
+++ b/public_test_cases/p03112/input.1.txt
@@ -0,0 +1,10 @@
+2 3 4
+100
+600
+400
+900
+1000
+150
+2000
+899
+799
diff --git a/public_test_cases/p03112/input.2.txt b/public_test_cases/p03112/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30ddf2999aa0cf45a7cdd20e36fdd3dccc78a768
--- /dev/null
+++ b/public_test_cases/p03112/input.2.txt
@@ -0,0 +1,6 @@
+1 1 3
+1
+10000000000
+2
+9999999999
+5000000000
diff --git a/public_test_cases/p03112/output.0.txt b/public_test_cases/p03112/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bc5fa8432f2096af50c138e0daa665636d1ffa6
--- /dev/null
+++ b/public_test_cases/p03112/output.0.txt
@@ -0,0 +1,4 @@
+350
+1400
+301
+399
diff --git a/public_test_cases/p03112/output.1.txt b/public_test_cases/p03112/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bc5fa8432f2096af50c138e0daa665636d1ffa6
--- /dev/null
+++ b/public_test_cases/p03112/output.1.txt
@@ -0,0 +1,4 @@
+350
+1400
+301
+399
diff --git a/public_test_cases/p03112/output.2.txt b/public_test_cases/p03112/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da3044635718247f447dcf7a29f75a77bc320d13
--- /dev/null
+++ b/public_test_cases/p03112/output.2.txt
@@ -0,0 +1,3 @@
+10000000000
+10000000000
+14999999998
diff --git a/public_test_cases/p03113/input.0.txt b/public_test_cases/p03113/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31920ac7feef02d5bfdd6216b497b70f3ee86913
--- /dev/null
+++ b/public_test_cases/p03113/input.0.txt
@@ -0,0 +1,2 @@
+2 1
+5 5
diff --git a/public_test_cases/p03113/output.0.txt b/public_test_cases/p03113/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57bb4cc30cb597344a21bc943355813b5f04dd5a
--- /dev/null
+++ b/public_test_cases/p03113/output.0.txt
@@ -0,0 +1,2 @@
+7
+1 1 2 1 2 2 1
diff --git a/public_test_cases/p03114/input.0.txt b/public_test_cases/p03114/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bec171a81901e5c9d85e18442e01ee9603e6b16e
--- /dev/null
+++ b/public_test_cases/p03114/input.0.txt
@@ -0,0 +1,4 @@
+4
+2
+1 2
+2 4
diff --git a/public_test_cases/p03114/input.1.txt b/public_test_cases/p03114/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a054772e25f91e1297dbb658414d12cd4f90649e
--- /dev/null
+++ b/public_test_cases/p03114/input.1.txt
@@ -0,0 +1,5 @@
+6
+3
+2 5
+3 5
+1 3
diff --git a/public_test_cases/p03114/input.2.txt b/public_test_cases/p03114/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25005cc223bd5423e974cfd71b00d415a09f01ae
--- /dev/null
+++ b/public_test_cases/p03114/input.2.txt
@@ -0,0 +1,12 @@
+20
+10
+2 15
+5 6
+1 12
+7 9
+2 17
+5 15
+2 4
+16 17
+2 12
+8 17
diff --git a/public_test_cases/p03114/input.3.txt b/public_test_cases/p03114/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bec171a81901e5c9d85e18442e01ee9603e6b16e
--- /dev/null
+++ b/public_test_cases/p03114/input.3.txt
@@ -0,0 +1,4 @@
+4
+2
+1 2
+2 4
diff --git a/public_test_cases/p03114/output.0.txt b/public_test_cases/p03114/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7296f257eb19026f79767a2458bdf63ff9c29e51
--- /dev/null
+++ b/public_test_cases/p03114/output.0.txt
@@ -0,0 +1 @@
+136
diff --git a/public_test_cases/p03114/output.1.txt b/public_test_cases/p03114/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..443b34dd0c1841a7b95ec88b51ffff9ba82492f9
--- /dev/null
+++ b/public_test_cases/p03114/output.1.txt
@@ -0,0 +1 @@
+2720
diff --git a/public_test_cases/p03114/output.2.txt b/public_test_cases/p03114/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a33d0755b2c03edb368ff6f4e352b1f50bebeced
--- /dev/null
+++ b/public_test_cases/p03114/output.2.txt
@@ -0,0 +1 @@
+862268030
diff --git a/public_test_cases/p03114/output.3.txt b/public_test_cases/p03114/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7296f257eb19026f79767a2458bdf63ff9c29e51
--- /dev/null
+++ b/public_test_cases/p03114/output.3.txt
@@ -0,0 +1 @@
+136
diff --git a/public_test_cases/p03115/input.0.txt b/public_test_cases/p03115/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bacc04d30d7a64f6bcea934463ff883aa6772322
--- /dev/null
+++ b/public_test_cases/p03115/input.0.txt
@@ -0,0 +1,5 @@
+4
+-2 1
+-2 2
+0 1
+1 0
diff --git a/public_test_cases/p03115/output.0.txt b/public_test_cases/p03115/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03115/output.0.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03116/input.0.txt b/public_test_cases/p03116/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bacc04d30d7a64f6bcea934463ff883aa6772322
--- /dev/null
+++ b/public_test_cases/p03116/input.0.txt
@@ -0,0 +1,5 @@
+4
+-2 1
+-2 2
+0 1
+1 0
diff --git a/public_test_cases/p03116/output.0.txt b/public_test_cases/p03116/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409d4d75ff3ba2411b6e6a39332f28e7b0362675
--- /dev/null
+++ b/public_test_cases/p03116/output.0.txt
@@ -0,0 +1 @@
+-1 0
diff --git a/public_test_cases/p03117/input.0.txt b/public_test_cases/p03117/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90619d0123d63a3a312a0496eaf752910f9d8154
--- /dev/null
+++ b/public_test_cases/p03117/input.0.txt
@@ -0,0 +1 @@
+8 3
diff --git a/public_test_cases/p03117/output.0.txt b/public_test_cases/p03117/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03117/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03118/input.0.txt b/public_test_cases/p03118/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..663904542e8f6f5866a3f222e57237f13073f0a5
--- /dev/null
+++ b/public_test_cases/p03118/input.0.txt
@@ -0,0 +1,2 @@
+1
+X
diff --git a/public_test_cases/p03118/input.1.txt b/public_test_cases/p03118/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41442e9d21d925d85017a1509902d6ff38bdb2ea
--- /dev/null
+++ b/public_test_cases/p03118/input.1.txt
@@ -0,0 +1,2 @@
+5
+X--X-
diff --git a/public_test_cases/p03118/input.2.txt b/public_test_cases/p03118/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e87bf451db7d24df0e9c77c0996a202a2e5b54d7
--- /dev/null
+++ b/public_test_cases/p03118/input.2.txt
@@ -0,0 +1,2 @@
+20
+-X--X--X-X--X--X-X-X
diff --git a/public_test_cases/p03118/input.3.txt b/public_test_cases/p03118/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c528910cd1fcb12b1c1a058782642ac4a9163c4f
--- /dev/null
+++ b/public_test_cases/p03118/input.3.txt
@@ -0,0 +1,2 @@
+100
+X-X-X-X-X-X-X-X-X-X--X-X-X-X-X-X-X-X-X-X-X-X-X-X-X--X--X-X-X-X--X--X-X-X--X-X-X--X-X--X--X-X--X-X-X-
diff --git a/public_test_cases/p03118/input.4.txt b/public_test_cases/p03118/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00620cc24332fb374bf23d4c290d050def41f351
--- /dev/null
+++ b/public_test_cases/p03118/input.4.txt
@@ -0,0 +1,2 @@
+5
+X-X-X
diff --git a/public_test_cases/p03118/input.5.txt b/public_test_cases/p03118/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c0a2d6f2ad68e879cae2e0c972551e69085648d
--- /dev/null
+++ b/public_test_cases/p03118/input.5.txt
@@ -0,0 +1,2 @@
+3
+---
diff --git a/public_test_cases/p03118/input.6.txt b/public_test_cases/p03118/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..663904542e8f6f5866a3f222e57237f13073f0a5
--- /dev/null
+++ b/public_test_cases/p03118/input.6.txt
@@ -0,0 +1,2 @@
+1
+X
diff --git a/public_test_cases/p03118/output.0.txt b/public_test_cases/p03118/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b84cef3f4635207b4275c327ddc66e754cd37d0
--- /dev/null
+++ b/public_test_cases/p03118/output.0.txt
@@ -0,0 +1 @@
+500000004 0 500000003
diff --git a/public_test_cases/p03118/output.1.txt b/public_test_cases/p03118/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398641ed77732ea1055eccf06e7e4f6c00b7da49
--- /dev/null
+++ b/public_test_cases/p03118/output.1.txt
@@ -0,0 +1 @@
+0 0 1
diff --git a/public_test_cases/p03118/output.2.txt b/public_test_cases/p03118/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a82d1f55b2e17001a71bafa49872885d0544f42c
--- /dev/null
+++ b/public_test_cases/p03118/output.2.txt
@@ -0,0 +1 @@
+0 0 183703705
diff --git a/public_test_cases/p03118/output.3.txt b/public_test_cases/p03118/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6118f14fb54c8de5d86c8fc7860c5210dcad0acf
--- /dev/null
+++ b/public_test_cases/p03118/output.3.txt
@@ -0,0 +1 @@
+0 0 435664291
diff --git a/public_test_cases/p03118/output.4.txt b/public_test_cases/p03118/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e452f49ee94c3cd34ef69372969a74f3409d45f
--- /dev/null
+++ b/public_test_cases/p03118/output.4.txt
@@ -0,0 +1 @@
+500000004 0 833333337
diff --git a/public_test_cases/p03118/output.5.txt b/public_test_cases/p03118/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c7b77a21ad082741847f21e69d14e14c082a73
--- /dev/null
+++ b/public_test_cases/p03118/output.5.txt
@@ -0,0 +1 @@
+0 0 0
diff --git a/public_test_cases/p03118/output.6.txt b/public_test_cases/p03118/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b84cef3f4635207b4275c327ddc66e754cd37d0
--- /dev/null
+++ b/public_test_cases/p03118/output.6.txt
@@ -0,0 +1 @@
+500000004 0 500000003
diff --git a/public_test_cases/p03119/input.0.txt b/public_test_cases/p03119/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31920ac7feef02d5bfdd6216b497b70f3ee86913
--- /dev/null
+++ b/public_test_cases/p03119/input.0.txt
@@ -0,0 +1,2 @@
+2 1
+5 5
diff --git a/public_test_cases/p03119/input.1.txt b/public_test_cases/p03119/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31920ac7feef02d5bfdd6216b497b70f3ee86913
--- /dev/null
+++ b/public_test_cases/p03119/input.1.txt
@@ -0,0 +1,2 @@
+2 1
+5 5
diff --git a/public_test_cases/p03119/input.2.txt b/public_test_cases/p03119/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af9f8866ce4aa3a6fc213ea7fe4fb4e7155c02bb
--- /dev/null
+++ b/public_test_cases/p03119/input.2.txt
@@ -0,0 +1,2 @@
+3 50
+5 10 15
diff --git a/public_test_cases/p03119/output.0.txt b/public_test_cases/p03119/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57bb4cc30cb597344a21bc943355813b5f04dd5a
--- /dev/null
+++ b/public_test_cases/p03119/output.0.txt
@@ -0,0 +1,2 @@
+7
+1 1 2 1 2 2 1
diff --git a/public_test_cases/p03119/output.1.txt b/public_test_cases/p03119/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57bb4cc30cb597344a21bc943355813b5f04dd5a
--- /dev/null
+++ b/public_test_cases/p03119/output.1.txt
@@ -0,0 +1,2 @@
+7
+1 1 2 1 2 2 1
diff --git a/public_test_cases/p03119/output.2.txt b/public_test_cases/p03119/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03119/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03120/input.0.txt b/public_test_cases/p03120/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bec171a81901e5c9d85e18442e01ee9603e6b16e
--- /dev/null
+++ b/public_test_cases/p03120/input.0.txt
@@ -0,0 +1,4 @@
+4
+2
+1 2
+2 4
diff --git a/public_test_cases/p03120/output.0.txt b/public_test_cases/p03120/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7296f257eb19026f79767a2458bdf63ff9c29e51
--- /dev/null
+++ b/public_test_cases/p03120/output.0.txt
@@ -0,0 +1 @@
+136
diff --git a/public_test_cases/p03121/input.0.txt b/public_test_cases/p03121/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bacc04d30d7a64f6bcea934463ff883aa6772322
--- /dev/null
+++ b/public_test_cases/p03121/input.0.txt
@@ -0,0 +1,5 @@
+4
+-2 1
+-2 2
+0 1
+1 0
diff --git a/public_test_cases/p03121/input.1.txt b/public_test_cases/p03121/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bacc04d30d7a64f6bcea934463ff883aa6772322
--- /dev/null
+++ b/public_test_cases/p03121/input.1.txt
@@ -0,0 +1,5 @@
+4
+-2 1
+-2 2
+0 1
+1 0
diff --git a/public_test_cases/p03121/output.0.txt b/public_test_cases/p03121/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03121/output.0.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03121/output.1.txt b/public_test_cases/p03121/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03121/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03122/input.0.txt b/public_test_cases/p03122/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bacc04d30d7a64f6bcea934463ff883aa6772322
--- /dev/null
+++ b/public_test_cases/p03122/input.0.txt
@@ -0,0 +1,5 @@
+4
+-2 1
+-2 2
+0 1
+1 0
diff --git a/public_test_cases/p03122/input.1.txt b/public_test_cases/p03122/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bacc04d30d7a64f6bcea934463ff883aa6772322
--- /dev/null
+++ b/public_test_cases/p03122/input.1.txt
@@ -0,0 +1,5 @@
+4
+-2 1
+-2 2
+0 1
+1 0
diff --git a/public_test_cases/p03122/output.0.txt b/public_test_cases/p03122/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409d4d75ff3ba2411b6e6a39332f28e7b0362675
--- /dev/null
+++ b/public_test_cases/p03122/output.0.txt
@@ -0,0 +1 @@
+-1 0
diff --git a/public_test_cases/p03122/output.1.txt b/public_test_cases/p03122/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409d4d75ff3ba2411b6e6a39332f28e7b0362675
--- /dev/null
+++ b/public_test_cases/p03122/output.1.txt
@@ -0,0 +1 @@
+-1 0
diff --git a/public_test_cases/p03123/input.0.txt b/public_test_cases/p03123/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90619d0123d63a3a312a0496eaf752910f9d8154
--- /dev/null
+++ b/public_test_cases/p03123/input.0.txt
@@ -0,0 +1 @@
+8 3
diff --git a/public_test_cases/p03123/input.1.txt b/public_test_cases/p03123/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90619d0123d63a3a312a0496eaf752910f9d8154
--- /dev/null
+++ b/public_test_cases/p03123/input.1.txt
@@ -0,0 +1 @@
+8 3
diff --git a/public_test_cases/p03123/output.0.txt b/public_test_cases/p03123/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03123/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03123/output.1.txt b/public_test_cases/p03123/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03123/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03124/input.0.txt b/public_test_cases/p03124/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..663904542e8f6f5866a3f222e57237f13073f0a5
--- /dev/null
+++ b/public_test_cases/p03124/input.0.txt
@@ -0,0 +1,2 @@
+1
+X
diff --git a/public_test_cases/p03124/output.0.txt b/public_test_cases/p03124/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b84cef3f4635207b4275c327ddc66e754cd37d0
--- /dev/null
+++ b/public_test_cases/p03124/output.0.txt
@@ -0,0 +1 @@
+500000004 0 500000003
diff --git a/public_test_cases/p03125/input.0.txt b/public_test_cases/p03125/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e18a59c6f617145ff60c20773faa83e86c12ffe
--- /dev/null
+++ b/public_test_cases/p03125/input.0.txt
@@ -0,0 +1 @@
+4 12
diff --git a/public_test_cases/p03125/input.1.txt b/public_test_cases/p03125/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e18a59c6f617145ff60c20773faa83e86c12ffe
--- /dev/null
+++ b/public_test_cases/p03125/input.1.txt
@@ -0,0 +1 @@
+4 12
diff --git a/public_test_cases/p03125/input.2.txt b/public_test_cases/p03125/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7671d72044a47615bb91a5c58199ad0d1b5205e
--- /dev/null
+++ b/public_test_cases/p03125/input.2.txt
@@ -0,0 +1 @@
+8 20
diff --git a/public_test_cases/p03125/input.3.txt b/public_test_cases/p03125/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03125/input.3.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03125/output.0.txt b/public_test_cases/p03125/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03125/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03125/output.1.txt b/public_test_cases/p03125/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03125/output.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03125/output.2.txt b/public_test_cases/p03125/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03125/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03125/output.3.txt b/public_test_cases/p03125/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03125/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03126/input.0.txt b/public_test_cases/p03126/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6505e41f668e815590d9b32835ab0a0efa5d3fa
--- /dev/null
+++ b/public_test_cases/p03126/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+2 1 3
+3 1 2 3
+2 3 2
diff --git a/public_test_cases/p03126/input.1.txt b/public_test_cases/p03126/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6505e41f668e815590d9b32835ab0a0efa5d3fa
--- /dev/null
+++ b/public_test_cases/p03126/input.1.txt
@@ -0,0 +1,4 @@
+3 4
+2 1 3
+3 1 2 3
+2 3 2
diff --git a/public_test_cases/p03126/input.2.txt b/public_test_cases/p03126/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e096c05722157d2bf5a21fe102d6be7f0522ca8
--- /dev/null
+++ b/public_test_cases/p03126/input.2.txt
@@ -0,0 +1,2 @@
+1 30
+3 5 10 30
diff --git a/public_test_cases/p03126/input.3.txt b/public_test_cases/p03126/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..993996b73dbb2d8a93ef0a0a528874f37ea90fa6
--- /dev/null
+++ b/public_test_cases/p03126/input.3.txt
@@ -0,0 +1,6 @@
+5 5
+4 2 3 4 5
+4 1 3 4 5
+4 1 2 4 5
+4 1 2 3 5
+4 1 2 3 4
diff --git a/public_test_cases/p03126/output.0.txt b/public_test_cases/p03126/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03126/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03126/output.1.txt b/public_test_cases/p03126/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03126/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03126/output.2.txt b/public_test_cases/p03126/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03126/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03126/output.3.txt b/public_test_cases/p03126/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03126/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03127/input.0.txt b/public_test_cases/p03127/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..489078bc541bdc3da9d79be9aa9b735bebe88898
--- /dev/null
+++ b/public_test_cases/p03127/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 10 8 40
diff --git a/public_test_cases/p03127/input.1.txt b/public_test_cases/p03127/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4728e084a02b8f1b798e62b8e6a4aad344fcd11
--- /dev/null
+++ b/public_test_cases/p03127/input.1.txt
@@ -0,0 +1,2 @@
+3
+1000000000 1000000000 1000000000
diff --git a/public_test_cases/p03127/input.2.txt b/public_test_cases/p03127/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8463ea233c817dbdd49c2bb06d20548800f31bf9
--- /dev/null
+++ b/public_test_cases/p03127/input.2.txt
@@ -0,0 +1,2 @@
+4
+5 13 8 1000000000
diff --git a/public_test_cases/p03127/input.3.txt b/public_test_cases/p03127/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..489078bc541bdc3da9d79be9aa9b735bebe88898
--- /dev/null
+++ b/public_test_cases/p03127/input.3.txt
@@ -0,0 +1,2 @@
+4
+2 10 8 40
diff --git a/public_test_cases/p03127/output.0.txt b/public_test_cases/p03127/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03127/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03127/output.1.txt b/public_test_cases/p03127/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..770fdcfb4b7d03520f649b7f7ca20e2546bdb41f
--- /dev/null
+++ b/public_test_cases/p03127/output.1.txt
@@ -0,0 +1 @@
+1000000000
diff --git a/public_test_cases/p03127/output.2.txt b/public_test_cases/p03127/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03127/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03127/output.3.txt b/public_test_cases/p03127/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03127/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03128/input.0.txt b/public_test_cases/p03128/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e02b259f8dbb1c8ed51a87a4cf5012b73c168d6f
--- /dev/null
+++ b/public_test_cases/p03128/input.0.txt
@@ -0,0 +1,2 @@
+20 4
+3 7 8 4
diff --git a/public_test_cases/p03128/input.1.txt b/public_test_cases/p03128/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0857c9e90c5c0aab490f2eb5cd2077a1fb41e581
--- /dev/null
+++ b/public_test_cases/p03128/input.1.txt
@@ -0,0 +1,2 @@
+101 9
+9 8 7 6 5 4 3 2 1
diff --git a/public_test_cases/p03128/input.2.txt b/public_test_cases/p03128/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e02b259f8dbb1c8ed51a87a4cf5012b73c168d6f
--- /dev/null
+++ b/public_test_cases/p03128/input.2.txt
@@ -0,0 +1,2 @@
+20 4
+3 7 8 4
diff --git a/public_test_cases/p03128/input.3.txt b/public_test_cases/p03128/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4200907cc424f46a3faf14c9c77949b92acf2a33
--- /dev/null
+++ b/public_test_cases/p03128/input.3.txt
@@ -0,0 +1,2 @@
+15 3
+5 4 6
diff --git a/public_test_cases/p03128/output.0.txt b/public_test_cases/p03128/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e5f951250f4323b2c6aaacc0405ea0d913d7dac
--- /dev/null
+++ b/public_test_cases/p03128/output.0.txt
@@ -0,0 +1 @@
+777773
diff --git a/public_test_cases/p03128/output.1.txt b/public_test_cases/p03128/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a50d2de0258dc6ea7ae53667fe0d33261893078
--- /dev/null
+++ b/public_test_cases/p03128/output.1.txt
@@ -0,0 +1 @@
+71111111111111111111111111111111111111111111111111
diff --git a/public_test_cases/p03128/output.2.txt b/public_test_cases/p03128/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e5f951250f4323b2c6aaacc0405ea0d913d7dac
--- /dev/null
+++ b/public_test_cases/p03128/output.2.txt
@@ -0,0 +1 @@
+777773
diff --git a/public_test_cases/p03128/output.3.txt b/public_test_cases/p03128/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a1183329240e53c648876eb041aa9ab010c55b2
--- /dev/null
+++ b/public_test_cases/p03128/output.3.txt
@@ -0,0 +1 @@
+654
diff --git a/public_test_cases/p03129/input.0.txt b/public_test_cases/p03129/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03129/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03129/input.1.txt b/public_test_cases/p03129/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfa7bc3d66ff32018fa9accfc67e1c3de4683c20
--- /dev/null
+++ b/public_test_cases/p03129/input.1.txt
@@ -0,0 +1 @@
+10 90
diff --git a/public_test_cases/p03129/input.2.txt b/public_test_cases/p03129/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d087b13cb724b5770209a4dd3df8a662ffc509a
--- /dev/null
+++ b/public_test_cases/p03129/input.2.txt
@@ -0,0 +1 @@
+31 10
diff --git a/public_test_cases/p03129/input.3.txt b/public_test_cases/p03129/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03129/input.3.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03129/input.4.txt b/public_test_cases/p03129/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..299a71f3fe47862a2e17f69e981e7ad8beff4e53
--- /dev/null
+++ b/public_test_cases/p03129/input.4.txt
@@ -0,0 +1 @@
+5 5
diff --git a/public_test_cases/p03129/output.0.txt b/public_test_cases/p03129/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03129/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03129/output.1.txt b/public_test_cases/p03129/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03129/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03129/output.2.txt b/public_test_cases/p03129/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03129/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03129/output.3.txt b/public_test_cases/p03129/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03129/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03129/output.4.txt b/public_test_cases/p03129/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03129/output.4.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03130/input.0.txt b/public_test_cases/p03130/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..897b7ded00ff61ac39dcce730bc44b9954cb6c39
--- /dev/null
+++ b/public_test_cases/p03130/input.0.txt
@@ -0,0 +1,3 @@
+4 2
+1 3
+2 3
diff --git a/public_test_cases/p03130/input.1.txt b/public_test_cases/p03130/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..897b7ded00ff61ac39dcce730bc44b9954cb6c39
--- /dev/null
+++ b/public_test_cases/p03130/input.1.txt
@@ -0,0 +1,3 @@
+4 2
+1 3
+2 3
diff --git a/public_test_cases/p03130/input.2.txt b/public_test_cases/p03130/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8933fa648e6f87e3302aa8aa9e44d759f17fcf3
--- /dev/null
+++ b/public_test_cases/p03130/input.2.txt
@@ -0,0 +1,3 @@
+2 1
+3 2
+4 3
diff --git a/public_test_cases/p03130/input.3.txt b/public_test_cases/p03130/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d07bea858b5ac9f9354c017d5b4359cb544cc3f1
--- /dev/null
+++ b/public_test_cases/p03130/input.3.txt
@@ -0,0 +1,3 @@
+3 2
+2 4
+1 2
diff --git a/public_test_cases/p03130/output.0.txt b/public_test_cases/p03130/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03130/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03130/output.1.txt b/public_test_cases/p03130/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03130/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03130/output.2.txt b/public_test_cases/p03130/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03130/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03130/output.3.txt b/public_test_cases/p03130/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03130/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03131/input.0.txt b/public_test_cases/p03131/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f465bc798d97b7b6e0b7fb8a794fde8b3d466914
--- /dev/null
+++ b/public_test_cases/p03131/input.0.txt
@@ -0,0 +1 @@
+4 2 6
diff --git a/public_test_cases/p03131/input.1.txt b/public_test_cases/p03131/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f465bc798d97b7b6e0b7fb8a794fde8b3d466914
--- /dev/null
+++ b/public_test_cases/p03131/input.1.txt
@@ -0,0 +1 @@
+4 2 6
diff --git a/public_test_cases/p03131/input.2.txt b/public_test_cases/p03131/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96651943300be62ae321bf693bbed5bc5a5d3728
--- /dev/null
+++ b/public_test_cases/p03131/input.2.txt
@@ -0,0 +1 @@
+7 3 4
diff --git a/public_test_cases/p03131/input.3.txt b/public_test_cases/p03131/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0e63f03a0693f420e57e198eae3382ef948a320
--- /dev/null
+++ b/public_test_cases/p03131/input.3.txt
@@ -0,0 +1 @@
+314159265 35897932 384626433
diff --git a/public_test_cases/p03131/output.0.txt b/public_test_cases/p03131/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03131/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03131/output.1.txt b/public_test_cases/p03131/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03131/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03131/output.2.txt b/public_test_cases/p03131/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03131/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03131/output.3.txt b/public_test_cases/p03131/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fabc7b0e957c53dc3029d26df3c458bae6c01ca8
--- /dev/null
+++ b/public_test_cases/p03131/output.3.txt
@@ -0,0 +1 @@
+48518828981938099
diff --git a/public_test_cases/p03132/input.0.txt b/public_test_cases/p03132/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af7791f0e57bf6cd48899232fde8396254397a81
--- /dev/null
+++ b/public_test_cases/p03132/input.0.txt
@@ -0,0 +1,5 @@
+4
+1
+0
+2
+3
diff --git a/public_test_cases/p03132/input.1.txt b/public_test_cases/p03132/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af7791f0e57bf6cd48899232fde8396254397a81
--- /dev/null
+++ b/public_test_cases/p03132/input.1.txt
@@ -0,0 +1,5 @@
+4
+1
+0
+2
+3
diff --git a/public_test_cases/p03132/input.2.txt b/public_test_cases/p03132/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15cff1e64bc02ff6b2108aca73f5c87f57ac78a1
--- /dev/null
+++ b/public_test_cases/p03132/input.2.txt
@@ -0,0 +1,9 @@
+8
+2
+0
+0
+2
+1
+3
+4
+1
diff --git a/public_test_cases/p03132/input.3.txt b/public_test_cases/p03132/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2bde2c283a4e6f00e3b6d48549bcaf88614a70b
--- /dev/null
+++ b/public_test_cases/p03132/input.3.txt
@@ -0,0 +1,8 @@
+7
+314159265
+358979323
+846264338
+327950288
+419716939
+937510582
+0
diff --git a/public_test_cases/p03132/output.0.txt b/public_test_cases/p03132/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03132/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03132/output.1.txt b/public_test_cases/p03132/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03132/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03132/output.2.txt b/public_test_cases/p03132/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03132/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03132/output.3.txt b/public_test_cases/p03132/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03132/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03133/input.0.txt b/public_test_cases/p03133/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12736f4ee0e3064ed5808320cc287991121ee840
--- /dev/null
+++ b/public_test_cases/p03133/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+0 1
+1 0
diff --git a/public_test_cases/p03133/input.1.txt b/public_test_cases/p03133/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12736f4ee0e3064ed5808320cc287991121ee840
--- /dev/null
+++ b/public_test_cases/p03133/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+0 1
+1 0
diff --git a/public_test_cases/p03133/input.2.txt b/public_test_cases/p03133/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a0fee5fae659702ab448f6237410f7f054eabf0
--- /dev/null
+++ b/public_test_cases/p03133/input.2.txt
@@ -0,0 +1,3 @@
+2 3
+0 0 0
+0 1 0
diff --git a/public_test_cases/p03133/output.0.txt b/public_test_cases/p03133/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03133/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03133/output.1.txt b/public_test_cases/p03133/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03133/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03133/output.2.txt b/public_test_cases/p03133/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03133/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03134/input.0.txt b/public_test_cases/p03134/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e22bcb8e3440869e9e1303f3b7045d1fc8e58c5
--- /dev/null
+++ b/public_test_cases/p03134/input.0.txt
@@ -0,0 +1 @@
+02
diff --git a/public_test_cases/p03134/input.1.txt b/public_test_cases/p03134/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c2de766050416c51f86c5d99807cbb9e6eafd26
--- /dev/null
+++ b/public_test_cases/p03134/input.1.txt
@@ -0,0 +1 @@
+1210
diff --git a/public_test_cases/p03134/input.2.txt b/public_test_cases/p03134/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e22bcb8e3440869e9e1303f3b7045d1fc8e58c5
--- /dev/null
+++ b/public_test_cases/p03134/input.2.txt
@@ -0,0 +1 @@
+02
diff --git a/public_test_cases/p03134/input.3.txt b/public_test_cases/p03134/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5800ffa8639d2ed677dc54d40c1e110617db168c
--- /dev/null
+++ b/public_test_cases/p03134/input.3.txt
@@ -0,0 +1 @@
+12001021211100201020
diff --git a/public_test_cases/p03134/output.0.txt b/public_test_cases/p03134/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03134/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03134/output.1.txt b/public_test_cases/p03134/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3f407c0955bb5738e40a82664c79b63f04a9adb
--- /dev/null
+++ b/public_test_cases/p03134/output.1.txt
@@ -0,0 +1 @@
+55
diff --git a/public_test_cases/p03134/output.2.txt b/public_test_cases/p03134/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03134/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03134/output.3.txt b/public_test_cases/p03134/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05048181d05691071ba67e4d21cbb9f38eb51923
--- /dev/null
+++ b/public_test_cases/p03134/output.3.txt
@@ -0,0 +1 @@
+543589959
diff --git a/public_test_cases/p03135/input.0.txt b/public_test_cases/p03135/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90619d0123d63a3a312a0496eaf752910f9d8154
--- /dev/null
+++ b/public_test_cases/p03135/input.0.txt
@@ -0,0 +1 @@
+8 3
diff --git a/public_test_cases/p03135/input.1.txt b/public_test_cases/p03135/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eee8d43e090864f4135ce0d23adc39dcfa2cc180
--- /dev/null
+++ b/public_test_cases/p03135/input.1.txt
@@ -0,0 +1 @@
+1 100
diff --git a/public_test_cases/p03135/input.2.txt b/public_test_cases/p03135/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb88727720258197190f5f39503edc46f39668c8
--- /dev/null
+++ b/public_test_cases/p03135/input.2.txt
@@ -0,0 +1 @@
+99 1
diff --git a/public_test_cases/p03135/input.3.txt b/public_test_cases/p03135/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90619d0123d63a3a312a0496eaf752910f9d8154
--- /dev/null
+++ b/public_test_cases/p03135/input.3.txt
@@ -0,0 +1 @@
+8 3
diff --git a/public_test_cases/p03135/output.0.txt b/public_test_cases/p03135/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..efa77253299b4eb36a05d7f9da23779cf955031e
--- /dev/null
+++ b/public_test_cases/p03135/output.0.txt
@@ -0,0 +1 @@
+2.6666666667
diff --git a/public_test_cases/p03135/output.1.txt b/public_test_cases/p03135/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48539e09ad655112e972a9c73b2237427187707b
--- /dev/null
+++ b/public_test_cases/p03135/output.1.txt
@@ -0,0 +1 @@
+0.0100000000
diff --git a/public_test_cases/p03135/output.2.txt b/public_test_cases/p03135/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0de029f4f42a31cb2695aae4ba1bafaf180ff255
--- /dev/null
+++ b/public_test_cases/p03135/output.2.txt
@@ -0,0 +1 @@
+99.0000000000
diff --git a/public_test_cases/p03135/output.3.txt b/public_test_cases/p03135/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..efa77253299b4eb36a05d7f9da23779cf955031e
--- /dev/null
+++ b/public_test_cases/p03135/output.3.txt
@@ -0,0 +1 @@
+2.6666666667
diff --git a/public_test_cases/p03136/input.0.txt b/public_test_cases/p03136/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63be4afa68ed6230f06658ed220a405337992874
--- /dev/null
+++ b/public_test_cases/p03136/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 8 5 1
diff --git a/public_test_cases/p03136/input.1.txt b/public_test_cases/p03136/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63be4afa68ed6230f06658ed220a405337992874
--- /dev/null
+++ b/public_test_cases/p03136/input.1.txt
@@ -0,0 +1,2 @@
+4
+3 8 5 1
diff --git a/public_test_cases/p03136/input.2.txt b/public_test_cases/p03136/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5601c0967e97d365ad1e28f56ddb72842cbc446c
--- /dev/null
+++ b/public_test_cases/p03136/input.2.txt
@@ -0,0 +1,2 @@
+4
+3 8 4 1
diff --git a/public_test_cases/p03136/input.3.txt b/public_test_cases/p03136/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6da79ee4cd2a106054b5cab1395d16293efda75d
--- /dev/null
+++ b/public_test_cases/p03136/input.3.txt
@@ -0,0 +1,2 @@
+10
+1 8 10 5 8 12 34 100 11 3
diff --git a/public_test_cases/p03136/output.0.txt b/public_test_cases/p03136/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03136/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03136/output.1.txt b/public_test_cases/p03136/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03136/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03136/output.2.txt b/public_test_cases/p03136/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03136/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03136/output.3.txt b/public_test_cases/p03136/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03136/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03137/input.0.txt b/public_test_cases/p03137/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52793c45c4707ed1ea9372a8af5048ccac11a6f9
--- /dev/null
+++ b/public_test_cases/p03137/input.0.txt
@@ -0,0 +1,2 @@
+2 5
+10 12 1 2 14
diff --git a/public_test_cases/p03137/input.1.txt b/public_test_cases/p03137/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46a21af575cc326e7cd75a525074429f2e5cf16d
--- /dev/null
+++ b/public_test_cases/p03137/input.1.txt
@@ -0,0 +1,2 @@
+3 7
+-10 -3 0 9 -100 2 17
diff --git a/public_test_cases/p03137/input.2.txt b/public_test_cases/p03137/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52793c45c4707ed1ea9372a8af5048ccac11a6f9
--- /dev/null
+++ b/public_test_cases/p03137/input.2.txt
@@ -0,0 +1,2 @@
+2 5
+10 12 1 2 14
diff --git a/public_test_cases/p03137/input.3.txt b/public_test_cases/p03137/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64b4d25c2760aa6d7d5512dd00eaa52a5c6c91e1
--- /dev/null
+++ b/public_test_cases/p03137/input.3.txt
@@ -0,0 +1,2 @@
+100 1
+-100000
diff --git a/public_test_cases/p03137/output.0.txt b/public_test_cases/p03137/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03137/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03137/output.1.txt b/public_test_cases/p03137/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p03137/output.1.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p03137/output.2.txt b/public_test_cases/p03137/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03137/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03137/output.3.txt b/public_test_cases/p03137/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03137/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03139/input.0.txt b/public_test_cases/p03139/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05ce84c43fdadc81d26b6a8d04791d3e188ba790
--- /dev/null
+++ b/public_test_cases/p03139/input.0.txt
@@ -0,0 +1 @@
+10 3 5
diff --git a/public_test_cases/p03139/input.1.txt b/public_test_cases/p03139/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d91d85057e8fc0b45a7c9443eb965494962fcfaf
--- /dev/null
+++ b/public_test_cases/p03139/input.1.txt
@@ -0,0 +1 @@
+10 7 5
diff --git a/public_test_cases/p03139/input.2.txt b/public_test_cases/p03139/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa64af6e1d1f16e45cad3c4a007d1dfb602bbef5
--- /dev/null
+++ b/public_test_cases/p03139/input.2.txt
@@ -0,0 +1 @@
+100 100 100
diff --git a/public_test_cases/p03139/input.3.txt b/public_test_cases/p03139/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05ce84c43fdadc81d26b6a8d04791d3e188ba790
--- /dev/null
+++ b/public_test_cases/p03139/input.3.txt
@@ -0,0 +1 @@
+10 3 5
diff --git a/public_test_cases/p03139/output.0.txt b/public_test_cases/p03139/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c91fc456a55f62b231b0bb99a48540e5320a73b
--- /dev/null
+++ b/public_test_cases/p03139/output.0.txt
@@ -0,0 +1 @@
+3 0
diff --git a/public_test_cases/p03139/output.1.txt b/public_test_cases/p03139/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p03139/output.1.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p03139/output.2.txt b/public_test_cases/p03139/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9732b55455bca575261eac1a6a7082c96223368d
--- /dev/null
+++ b/public_test_cases/p03139/output.2.txt
@@ -0,0 +1 @@
+100 100
diff --git a/public_test_cases/p03139/output.3.txt b/public_test_cases/p03139/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c91fc456a55f62b231b0bb99a48540e5320a73b
--- /dev/null
+++ b/public_test_cases/p03139/output.3.txt
@@ -0,0 +1 @@
+3 0
diff --git a/public_test_cases/p03140/input.0.txt b/public_test_cases/p03140/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63c7660a6f3ae78410dd3d71b231296a322b918b
--- /dev/null
+++ b/public_test_cases/p03140/input.0.txt
@@ -0,0 +1,4 @@
+4
+west
+east
+wait
diff --git a/public_test_cases/p03140/input.1.txt b/public_test_cases/p03140/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0be83a654cd05a4659ce06bb7e49d8bb4efed6cc
--- /dev/null
+++ b/public_test_cases/p03140/input.1.txt
@@ -0,0 +1,4 @@
+9
+different
+different
+different
diff --git a/public_test_cases/p03140/input.2.txt b/public_test_cases/p03140/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63c7660a6f3ae78410dd3d71b231296a322b918b
--- /dev/null
+++ b/public_test_cases/p03140/input.2.txt
@@ -0,0 +1,4 @@
+4
+west
+east
+wait
diff --git a/public_test_cases/p03140/input.3.txt b/public_test_cases/p03140/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b2bee38ea5e512c608c599c905b54a0e9e8df47
--- /dev/null
+++ b/public_test_cases/p03140/input.3.txt
@@ -0,0 +1,4 @@
+7
+zenkoku
+touitsu
+program
diff --git a/public_test_cases/p03140/output.0.txt b/public_test_cases/p03140/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03140/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03140/output.1.txt b/public_test_cases/p03140/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03140/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03140/output.2.txt b/public_test_cases/p03140/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03140/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03140/output.3.txt b/public_test_cases/p03140/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03140/output.3.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03141/input.0.txt b/public_test_cases/p03141/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..608314360d9af80b4062fcdf0b48a5697e941259
--- /dev/null
+++ b/public_test_cases/p03141/input.0.txt
@@ -0,0 +1,4 @@
+3
+10 10
+20 20
+30 30
diff --git a/public_test_cases/p03141/input.1.txt b/public_test_cases/p03141/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81a42f67c70a8c96d7346beccb12d0e2b85eb6d9
--- /dev/null
+++ b/public_test_cases/p03141/input.1.txt
@@ -0,0 +1,4 @@
+3
+20 10
+20 20
+20 30
diff --git a/public_test_cases/p03141/input.2.txt b/public_test_cases/p03141/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..608314360d9af80b4062fcdf0b48a5697e941259
--- /dev/null
+++ b/public_test_cases/p03141/input.2.txt
@@ -0,0 +1,4 @@
+3
+10 10
+20 20
+30 30
diff --git a/public_test_cases/p03141/input.3.txt b/public_test_cases/p03141/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..858b1125bedf2711e3874c3a60909ff7a27f45ba
--- /dev/null
+++ b/public_test_cases/p03141/input.3.txt
@@ -0,0 +1,7 @@
+6
+1 1000000000
+1 1000000000
+1 1000000000
+1 1000000000
+1 1000000000
+1 1000000000
diff --git a/public_test_cases/p03141/output.0.txt b/public_test_cases/p03141/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03141/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03141/output.1.txt b/public_test_cases/p03141/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03141/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03141/output.2.txt b/public_test_cases/p03141/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03141/output.2.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03141/output.3.txt b/public_test_cases/p03141/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c19c82b93bb504115b6d2c0a39bd24dfc2451d
--- /dev/null
+++ b/public_test_cases/p03141/output.3.txt
@@ -0,0 +1 @@
+-2999999997
diff --git a/public_test_cases/p03142/input.0.txt b/public_test_cases/p03142/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18868970a6cd5dfcc3c0647544935158a491e1c7
--- /dev/null
+++ b/public_test_cases/p03142/input.0.txt
@@ -0,0 +1,4 @@
+3 1
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p03142/input.1.txt b/public_test_cases/p03142/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91fd7caeb523ddc117793f0f1a1736f04228afeb
--- /dev/null
+++ b/public_test_cases/p03142/input.1.txt
@@ -0,0 +1,9 @@
+6 3
+2 1
+2 3
+4 1
+4 2
+6 1
+2 6
+4 6
+6 5
diff --git a/public_test_cases/p03142/input.2.txt b/public_test_cases/p03142/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18868970a6cd5dfcc3c0647544935158a491e1c7
--- /dev/null
+++ b/public_test_cases/p03142/input.2.txt
@@ -0,0 +1,4 @@
+3 1
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p03142/output.0.txt b/public_test_cases/p03142/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4539bbf2d22d5c3b4227859ff854eda060a687fb
--- /dev/null
+++ b/public_test_cases/p03142/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+2
diff --git a/public_test_cases/p03142/output.1.txt b/public_test_cases/p03142/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..178c2259bae1cf488f70df364059cb35929c945b
--- /dev/null
+++ b/public_test_cases/p03142/output.1.txt
@@ -0,0 +1,6 @@
+6
+4
+2
+0
+6
+2
diff --git a/public_test_cases/p03142/output.2.txt b/public_test_cases/p03142/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4539bbf2d22d5c3b4227859ff854eda060a687fb
--- /dev/null
+++ b/public_test_cases/p03142/output.2.txt
@@ -0,0 +1,3 @@
+0
+1
+2
diff --git a/public_test_cases/p03143/input.0.txt b/public_test_cases/p03143/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a2736cf8dceaf1183a005cf49008e28f860b3b1
--- /dev/null
+++ b/public_test_cases/p03143/input.0.txt
@@ -0,0 +1,6 @@
+4 4
+2 3 5 7
+1 2 7
+1 3 9
+2 3 12
+3 4 18
diff --git a/public_test_cases/p03143/input.1.txt b/public_test_cases/p03143/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9a3dde1ab377167b8667366620c506e3f9edf88
--- /dev/null
+++ b/public_test_cases/p03143/input.1.txt
@@ -0,0 +1,11 @@
+10 9
+81 16 73 7 2 61 86 38 90 28
+6 8 725
+3 10 12
+1 4 558
+4 9 615
+5 6 942
+8 9 918
+2 7 720
+4 7 292
+7 10 414
diff --git a/public_test_cases/p03143/input.2.txt b/public_test_cases/p03143/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a2736cf8dceaf1183a005cf49008e28f860b3b1
--- /dev/null
+++ b/public_test_cases/p03143/input.2.txt
@@ -0,0 +1,6 @@
+4 4
+2 3 5 7
+1 2 7
+1 3 9
+2 3 12
+3 4 18
diff --git a/public_test_cases/p03143/input.3.txt b/public_test_cases/p03143/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f979ab5067c8d360c56a90ed6a3de26d39a73aa4
--- /dev/null
+++ b/public_test_cases/p03143/input.3.txt
@@ -0,0 +1,12 @@
+6 10
+4 4 1 1 1 7
+3 5 19
+2 5 20
+4 5 8
+1 6 16
+2 3 9
+3 6 16
+3 4 1
+2 6 20
+2 4 19
+1 2 9
diff --git a/public_test_cases/p03143/output.0.txt b/public_test_cases/p03143/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03143/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03143/output.1.txt b/public_test_cases/p03143/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03143/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03143/output.2.txt b/public_test_cases/p03143/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03143/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03143/output.3.txt b/public_test_cases/p03143/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03143/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03144/input.0.txt b/public_test_cases/p03144/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f1e76c894b772d69100fc85dd08a75ec931cd44
--- /dev/null
+++ b/public_test_cases/p03144/input.0.txt
@@ -0,0 +1,6 @@
+5 2
+1 1
+1 2
+1 3
+2 4
+2 5
diff --git a/public_test_cases/p03144/input.1.txt b/public_test_cases/p03144/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d03bb76685779586b07b1f57790f69e63ec5309a
--- /dev/null
+++ b/public_test_cases/p03144/input.1.txt
@@ -0,0 +1,9 @@
+8 4
+3 2
+2 3
+4 5
+1 7
+3 11
+4 13
+1 17
+2 19
diff --git a/public_test_cases/p03144/input.2.txt b/public_test_cases/p03144/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd8910dbe937f729b7f9230ba76a91f2249b751d
--- /dev/null
+++ b/public_test_cases/p03144/input.2.txt
@@ -0,0 +1,16 @@
+15 5
+3 87
+1 25
+1 27
+3 58
+2 85
+5 19
+5 39
+1 58
+3 12
+4 13
+5 54
+4 100
+2 33
+5 13
+2 55
diff --git a/public_test_cases/p03144/input.3.txt b/public_test_cases/p03144/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f1e76c894b772d69100fc85dd08a75ec931cd44
--- /dev/null
+++ b/public_test_cases/p03144/input.3.txt
@@ -0,0 +1,6 @@
+5 2
+1 1
+1 2
+1 3
+2 4
+2 5
diff --git a/public_test_cases/p03144/input.4.txt b/public_test_cases/p03144/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfe6fbb0527c3fbf820ab840f15e4ecd28f5b1ef
--- /dev/null
+++ b/public_test_cases/p03144/input.4.txt
@@ -0,0 +1,6 @@
+5 2
+1 1
+1 2
+2 3
+2 4
+2 5
diff --git a/public_test_cases/p03144/output.0.txt b/public_test_cases/p03144/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6a77253d621f43a257547cda7b571fc6dd96d21
--- /dev/null
+++ b/public_test_cases/p03144/output.0.txt
@@ -0,0 +1,5 @@
+-1
+9
+6
+14
+15
diff --git a/public_test_cases/p03144/output.1.txt b/public_test_cases/p03144/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6666e80e5ced67f98be0b2fb4d94e913fb8fb424
--- /dev/null
+++ b/public_test_cases/p03144/output.1.txt
@@ -0,0 +1,8 @@
+-1
+24
+-1
+46
+-1
+64
+-1
+77
diff --git a/public_test_cases/p03144/output.2.txt b/public_test_cases/p03144/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..406a5f60936427e496f773a66bf347ebaac5274d
--- /dev/null
+++ b/public_test_cases/p03144/output.2.txt
@@ -0,0 +1,15 @@
+-1
+145
+173
+285
+318
+398
+431
+491
+524
+576
+609
+634
+653
+666
+678
diff --git a/public_test_cases/p03144/output.3.txt b/public_test_cases/p03144/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6a77253d621f43a257547cda7b571fc6dd96d21
--- /dev/null
+++ b/public_test_cases/p03144/output.3.txt
@@ -0,0 +1,5 @@
+-1
+9
+6
+14
+15
diff --git a/public_test_cases/p03144/output.4.txt b/public_test_cases/p03144/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e35018103248f4196eea8773b5a96600af93775
--- /dev/null
+++ b/public_test_cases/p03144/output.4.txt
@@ -0,0 +1,5 @@
+-1
+9
+12
+12
+15
diff --git a/public_test_cases/p03145/input.0.txt b/public_test_cases/p03145/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02c7bd24aa45794a7dcca4b690e2437e7f9b2e48
--- /dev/null
+++ b/public_test_cases/p03145/input.0.txt
@@ -0,0 +1 @@
+3 4 5
diff --git a/public_test_cases/p03145/input.1.txt b/public_test_cases/p03145/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02c7bd24aa45794a7dcca4b690e2437e7f9b2e48
--- /dev/null
+++ b/public_test_cases/p03145/input.1.txt
@@ -0,0 +1 @@
+3 4 5
diff --git a/public_test_cases/p03145/input.2.txt b/public_test_cases/p03145/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b92ee951ec3a37f4125ca5f0e1bc7735c30bc23e
--- /dev/null
+++ b/public_test_cases/p03145/input.2.txt
@@ -0,0 +1 @@
+45 28 53
diff --git a/public_test_cases/p03145/input.3.txt b/public_test_cases/p03145/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c190ca7513b6625f34a77463f7a21653ff0ad4b8
--- /dev/null
+++ b/public_test_cases/p03145/input.3.txt
@@ -0,0 +1 @@
+5 12 13
diff --git a/public_test_cases/p03145/output.0.txt b/public_test_cases/p03145/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03145/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03145/output.1.txt b/public_test_cases/p03145/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03145/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03145/output.2.txt b/public_test_cases/p03145/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1217bfdb259b899d01556af4c5f685c65757e42a
--- /dev/null
+++ b/public_test_cases/p03145/output.2.txt
@@ -0,0 +1 @@
+630
diff --git a/public_test_cases/p03145/output.3.txt b/public_test_cases/p03145/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03145/output.3.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03146/input.0.txt b/public_test_cases/p03146/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03146/input.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03146/input.1.txt b/public_test_cases/p03146/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1e7bc86996a80d4a16529b990adda1d3434c92
--- /dev/null
+++ b/public_test_cases/p03146/input.1.txt
@@ -0,0 +1 @@
+54
diff --git a/public_test_cases/p03146/input.2.txt b/public_test_cases/p03146/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03146/input.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03146/input.3.txt b/public_test_cases/p03146/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03146/input.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03146/output.0.txt b/public_test_cases/p03146/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03146/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03146/output.1.txt b/public_test_cases/p03146/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dee79f109407cb2e27fe0399e8976556a3cba004
--- /dev/null
+++ b/public_test_cases/p03146/output.1.txt
@@ -0,0 +1 @@
+114
diff --git a/public_test_cases/p03146/output.2.txt b/public_test_cases/p03146/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03146/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03146/output.3.txt b/public_test_cases/p03146/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03146/output.3.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03147/input.0.txt b/public_test_cases/p03147/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e68918d68894215f1994b552b9c283d832d6c30
--- /dev/null
+++ b/public_test_cases/p03147/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 2 2 1
diff --git a/public_test_cases/p03147/input.1.txt b/public_test_cases/p03147/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e68918d68894215f1994b552b9c283d832d6c30
--- /dev/null
+++ b/public_test_cases/p03147/input.1.txt
@@ -0,0 +1,2 @@
+4
+1 2 2 1
diff --git a/public_test_cases/p03147/input.2.txt b/public_test_cases/p03147/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5bc1de0b38c5bf75685e5edd69b5d4c17566f96
--- /dev/null
+++ b/public_test_cases/p03147/input.2.txt
@@ -0,0 +1,2 @@
+8
+4 23 75 0 23 96 50 100
diff --git a/public_test_cases/p03147/input.3.txt b/public_test_cases/p03147/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38fc39c16ce4c33ccfb85086e2687b202cfd2050
--- /dev/null
+++ b/public_test_cases/p03147/input.3.txt
@@ -0,0 +1,2 @@
+5
+3 1 2 3 1
diff --git a/public_test_cases/p03147/output.0.txt b/public_test_cases/p03147/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03147/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03147/output.1.txt b/public_test_cases/p03147/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03147/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03147/output.2.txt b/public_test_cases/p03147/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b473380d9333e5af894cf6ef1b1d5d4c0c0beff
--- /dev/null
+++ b/public_test_cases/p03147/output.2.txt
@@ -0,0 +1 @@
+221
diff --git a/public_test_cases/p03147/output.3.txt b/public_test_cases/p03147/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03147/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03148/input.0.txt b/public_test_cases/p03148/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93c2ab3579bfee7f09684a5b45c588e1c16cac64
--- /dev/null
+++ b/public_test_cases/p03148/input.0.txt
@@ -0,0 +1,6 @@
+5 3
+1 9
+1 7
+2 6
+2 5
+3 1
diff --git a/public_test_cases/p03148/input.1.txt b/public_test_cases/p03148/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..740f5234b6ea76314026a3910302672bc23438de
--- /dev/null
+++ b/public_test_cases/p03148/input.1.txt
@@ -0,0 +1,7 @@
+6 5
+5 1000000000
+2 990000000
+3 980000000
+6 970000000
+6 960000000
+4 950000000
diff --git a/public_test_cases/p03148/input.2.txt b/public_test_cases/p03148/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fec24e14cc0d9b9674ad891b61e7b6f894a192bb
--- /dev/null
+++ b/public_test_cases/p03148/input.2.txt
@@ -0,0 +1,8 @@
+7 4
+1 1
+2 1
+3 1
+4 6
+4 5
+4 5
+4 5
diff --git a/public_test_cases/p03148/input.3.txt b/public_test_cases/p03148/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93c2ab3579bfee7f09684a5b45c588e1c16cac64
--- /dev/null
+++ b/public_test_cases/p03148/input.3.txt
@@ -0,0 +1,6 @@
+5 3
+1 9
+1 7
+2 6
+2 5
+3 1
diff --git a/public_test_cases/p03148/output.0.txt b/public_test_cases/p03148/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p03148/output.0.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p03148/output.1.txt b/public_test_cases/p03148/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ddf70649ad0a4b260c6c8b7d26ba73267a9e98c
--- /dev/null
+++ b/public_test_cases/p03148/output.1.txt
@@ -0,0 +1 @@
+4900000016
diff --git a/public_test_cases/p03148/output.2.txt b/public_test_cases/p03148/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p03148/output.2.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p03148/output.3.txt b/public_test_cases/p03148/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p03148/output.3.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p03149/input.0.txt b/public_test_cases/p03149/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4868dae7fe6f07ef251153bb3030b1d4e97513af
--- /dev/null
+++ b/public_test_cases/p03149/input.0.txt
@@ -0,0 +1 @@
+1 7 9 4
diff --git a/public_test_cases/p03149/input.1.txt b/public_test_cases/p03149/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63581915b87ab7b437bf581dcf09d6249ab2b612
--- /dev/null
+++ b/public_test_cases/p03149/input.1.txt
@@ -0,0 +1 @@
+1 9 7 4
diff --git a/public_test_cases/p03149/input.2.txt b/public_test_cases/p03149/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0636511cf3038947600741f4723bb466fe6a0e0
--- /dev/null
+++ b/public_test_cases/p03149/input.2.txt
@@ -0,0 +1 @@
+1 2 9 1
diff --git a/public_test_cases/p03149/input.3.txt b/public_test_cases/p03149/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a263de60bc4e52f17fcf1b3cb8b079913d309ea6
--- /dev/null
+++ b/public_test_cases/p03149/input.3.txt
@@ -0,0 +1 @@
+4 9 0 8
diff --git a/public_test_cases/p03149/input.4.txt b/public_test_cases/p03149/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4868dae7fe6f07ef251153bb3030b1d4e97513af
--- /dev/null
+++ b/public_test_cases/p03149/input.4.txt
@@ -0,0 +1 @@
+1 7 9 4
diff --git a/public_test_cases/p03149/output.0.txt b/public_test_cases/p03149/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03149/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03149/output.1.txt b/public_test_cases/p03149/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03149/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03149/output.2.txt b/public_test_cases/p03149/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03149/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03149/output.3.txt b/public_test_cases/p03149/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03149/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03149/output.4.txt b/public_test_cases/p03149/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03149/output.4.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03150/input.0.txt b/public_test_cases/p03150/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22fe1771d69523c12413d4844bfe75caece77dac
--- /dev/null
+++ b/public_test_cases/p03150/input.0.txt
@@ -0,0 +1 @@
+keyofscience
diff --git a/public_test_cases/p03150/input.1.txt b/public_test_cases/p03150/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f38e557a3b6717611af92853e9b7f1fa3fcbf8d
--- /dev/null
+++ b/public_test_cases/p03150/input.1.txt
@@ -0,0 +1 @@
+keyence
diff --git a/public_test_cases/p03150/input.2.txt b/public_test_cases/p03150/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62b7a9ee1e20debaa16722b2b05f686a868b17a3
--- /dev/null
+++ b/public_test_cases/p03150/input.2.txt
@@ -0,0 +1 @@
+ashlfyha
diff --git a/public_test_cases/p03150/input.3.txt b/public_test_cases/p03150/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22fe1771d69523c12413d4844bfe75caece77dac
--- /dev/null
+++ b/public_test_cases/p03150/input.3.txt
@@ -0,0 +1 @@
+keyofscience
diff --git a/public_test_cases/p03150/input.4.txt b/public_test_cases/p03150/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce72b567e458fdb38845991e1a2bb7bc026f63c7
--- /dev/null
+++ b/public_test_cases/p03150/input.4.txt
@@ -0,0 +1 @@
+mpyszsbznf
diff --git a/public_test_cases/p03150/output.0.txt b/public_test_cases/p03150/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03150/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03150/output.1.txt b/public_test_cases/p03150/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03150/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03150/output.2.txt b/public_test_cases/p03150/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03150/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03150/output.3.txt b/public_test_cases/p03150/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03150/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03150/output.4.txt b/public_test_cases/p03150/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03150/output.4.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03151/input.0.txt b/public_test_cases/p03151/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc4d6da39285319bd7a2b5226440482eb87fd89d
--- /dev/null
+++ b/public_test_cases/p03151/input.0.txt
@@ -0,0 +1,3 @@
+3
+2 3 5
+3 4 1
diff --git a/public_test_cases/p03151/input.1.txt b/public_test_cases/p03151/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..965f92422d58badeaa7ea89b366064b0600dab2d
--- /dev/null
+++ b/public_test_cases/p03151/input.1.txt
@@ -0,0 +1,3 @@
+12
+757232153 372327760 440075441 195848680 354974235 458054863 463477172 740174259 615762794 632963102 529866931 64991604
+74164189 98239366 465611891 362739947 147060907 118867039 63189252 78303147 501410831 110823640 122948912 572905212
diff --git a/public_test_cases/p03151/input.2.txt b/public_test_cases/p03151/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc4d6da39285319bd7a2b5226440482eb87fd89d
--- /dev/null
+++ b/public_test_cases/p03151/input.2.txt
@@ -0,0 +1,3 @@
+3
+2 3 5
+3 4 1
diff --git a/public_test_cases/p03151/input.3.txt b/public_test_cases/p03151/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1f0c2bd037028fb65aaa817b646348d9c6304b4
--- /dev/null
+++ b/public_test_cases/p03151/input.3.txt
@@ -0,0 +1,3 @@
+3
+17 7 1
+25 6 14
diff --git a/public_test_cases/p03151/input.4.txt b/public_test_cases/p03151/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8c906a7706d8936876566b26e47e7ce2b624bd7
--- /dev/null
+++ b/public_test_cases/p03151/input.4.txt
@@ -0,0 +1,3 @@
+3
+2 3 3
+2 2 1
diff --git a/public_test_cases/p03151/output.0.txt b/public_test_cases/p03151/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03151/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03151/output.1.txt b/public_test_cases/p03151/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03151/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03151/output.2.txt b/public_test_cases/p03151/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03151/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03151/output.3.txt b/public_test_cases/p03151/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03151/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03151/output.4.txt b/public_test_cases/p03151/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03151/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03152/input.0.txt b/public_test_cases/p03152/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41e681b85bb81f550fefaba275c23e61b955d970
--- /dev/null
+++ b/public_test_cases/p03152/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+4 3
+3 4
diff --git a/public_test_cases/p03152/input.1.txt b/public_test_cases/p03152/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7f849d8f1177060f6c2e47a1394d44bd2e1ec7a
--- /dev/null
+++ b/public_test_cases/p03152/input.1.txt
@@ -0,0 +1,3 @@
+3 3
+5 9 7
+3 6 9
diff --git a/public_test_cases/p03152/input.2.txt b/public_test_cases/p03152/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eef3e4039bd84b48622924acebe014a1d9c9541
--- /dev/null
+++ b/public_test_cases/p03152/input.2.txt
@@ -0,0 +1,3 @@
+14 13
+158 167 181 147 178 151 179 182 176 169 180 129 175 168
+181 150 178 179 167 180 176 169 182 177 175 159 173
diff --git a/public_test_cases/p03152/input.3.txt b/public_test_cases/p03152/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27f27784331cf2099b2dc49bf9d4a1660e53ecb5
--- /dev/null
+++ b/public_test_cases/p03152/input.3.txt
@@ -0,0 +1,3 @@
+2 2
+4 4
+4 4
diff --git a/public_test_cases/p03152/input.4.txt b/public_test_cases/p03152/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41e681b85bb81f550fefaba275c23e61b955d970
--- /dev/null
+++ b/public_test_cases/p03152/input.4.txt
@@ -0,0 +1,3 @@
+2 2
+4 3
+3 4
diff --git a/public_test_cases/p03152/output.0.txt b/public_test_cases/p03152/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03152/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03152/output.1.txt b/public_test_cases/p03152/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03152/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03152/output.2.txt b/public_test_cases/p03152/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8407c21926eef44aef23acaf74c7801cdf853da
--- /dev/null
+++ b/public_test_cases/p03152/output.2.txt
@@ -0,0 +1 @@
+343772227
diff --git a/public_test_cases/p03152/output.3.txt b/public_test_cases/p03152/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03152/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03152/output.4.txt b/public_test_cases/p03152/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03152/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03153/input.0.txt b/public_test_cases/p03153/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ecc514cbc8b6a6c2ad4c9c5a13eb94c5d29b001
--- /dev/null
+++ b/public_test_cases/p03153/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+1 100 1
diff --git a/public_test_cases/p03153/input.1.txt b/public_test_cases/p03153/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ecc514cbc8b6a6c2ad4c9c5a13eb94c5d29b001
--- /dev/null
+++ b/public_test_cases/p03153/input.1.txt
@@ -0,0 +1,2 @@
+3 1
+1 100 1
diff --git a/public_test_cases/p03153/input.2.txt b/public_test_cases/p03153/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1226143fa8742d68afbf28e45b2cc11916838901
--- /dev/null
+++ b/public_test_cases/p03153/input.2.txt
@@ -0,0 +1,2 @@
+12 5
+43 94 27 3 69 99 56 25 8 15 46 8
diff --git a/public_test_cases/p03153/input.3.txt b/public_test_cases/p03153/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf8d891ba1590522860eed503128cf64c6939a85
--- /dev/null
+++ b/public_test_cases/p03153/input.3.txt
@@ -0,0 +1,2 @@
+3 1000
+1 100 1
diff --git a/public_test_cases/p03153/input.4.txt b/public_test_cases/p03153/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd410d0c1e2b2a8929e39ab9c4cebe8aecc324f3
--- /dev/null
+++ b/public_test_cases/p03153/input.4.txt
@@ -0,0 +1,2 @@
+6 14
+25 171 7 1 17 162
diff --git a/public_test_cases/p03153/output.0.txt b/public_test_cases/p03153/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe4afb0df8641d6de901cdde04199e4507534d0d
--- /dev/null
+++ b/public_test_cases/p03153/output.0.txt
@@ -0,0 +1 @@
+106
diff --git a/public_test_cases/p03153/output.1.txt b/public_test_cases/p03153/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe4afb0df8641d6de901cdde04199e4507534d0d
--- /dev/null
+++ b/public_test_cases/p03153/output.1.txt
@@ -0,0 +1 @@
+106
diff --git a/public_test_cases/p03153/output.2.txt b/public_test_cases/p03153/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4932818c5afe78cfe53f7902e6ddaab9a554d9db
--- /dev/null
+++ b/public_test_cases/p03153/output.2.txt
@@ -0,0 +1 @@
+658
diff --git a/public_test_cases/p03153/output.3.txt b/public_test_cases/p03153/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06f43a4271d0e7ab3d92bde72dfbc7fcff06a188
--- /dev/null
+++ b/public_test_cases/p03153/output.3.txt
@@ -0,0 +1 @@
+2202
diff --git a/public_test_cases/p03153/output.4.txt b/public_test_cases/p03153/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1303c35cc5aeb69468ccacb352e39aa09b44fe2e
--- /dev/null
+++ b/public_test_cases/p03153/output.4.txt
@@ -0,0 +1 @@
+497
diff --git a/public_test_cases/p03154/input.0.txt b/public_test_cases/p03154/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b04ccdba4df31d78b9f5f65b0d7f77ce8b40d7
--- /dev/null
+++ b/public_test_cases/p03154/input.0.txt
@@ -0,0 +1 @@
+2 1 2
diff --git a/public_test_cases/p03154/output.0.txt b/public_test_cases/p03154/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p03154/output.0.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p03155/input.0.txt b/public_test_cases/p03155/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61150aca43cf75015ed78b69d3d6ba9e5e134934
--- /dev/null
+++ b/public_test_cases/p03155/input.0.txt
@@ -0,0 +1,3 @@
+3
+2
+3
diff --git a/public_test_cases/p03155/input.1.txt b/public_test_cases/p03155/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bfccc39dc44d84b1b2bf8d5804d9a1798e9a6aa
--- /dev/null
+++ b/public_test_cases/p03155/input.1.txt
@@ -0,0 +1,3 @@
+5
+4
+2
diff --git a/public_test_cases/p03155/input.2.txt b/public_test_cases/p03155/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61150aca43cf75015ed78b69d3d6ba9e5e134934
--- /dev/null
+++ b/public_test_cases/p03155/input.2.txt
@@ -0,0 +1,3 @@
+3
+2
+3
diff --git a/public_test_cases/p03155/input.3.txt b/public_test_cases/p03155/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bbb5605256c2d1fe799d308ff815a99c430b1a48
--- /dev/null
+++ b/public_test_cases/p03155/input.3.txt
@@ -0,0 +1,3 @@
+100
+1
+1
diff --git a/public_test_cases/p03155/output.0.txt b/public_test_cases/p03155/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03155/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03155/output.1.txt b/public_test_cases/p03155/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03155/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03155/output.2.txt b/public_test_cases/p03155/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03155/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03155/output.3.txt b/public_test_cases/p03155/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5caff40c4a0ce4ed0dcb3aa983da623641af1b06
--- /dev/null
+++ b/public_test_cases/p03155/output.3.txt
@@ -0,0 +1 @@
+10000
diff --git a/public_test_cases/p03156/input.0.txt b/public_test_cases/p03156/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fad386ac1500006019d6c6ee95ccdd82b726edd
--- /dev/null
+++ b/public_test_cases/p03156/input.0.txt
@@ -0,0 +1,3 @@
+7
+5 15
+1 10 16 2 7 20 12
diff --git a/public_test_cases/p03156/input.1.txt b/public_test_cases/p03156/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e45f64cb23d2d6861ad10f00361acee19e47cae8
--- /dev/null
+++ b/public_test_cases/p03156/input.1.txt
@@ -0,0 +1,3 @@
+3
+5 6
+5 6 10
diff --git a/public_test_cases/p03156/input.2.txt b/public_test_cases/p03156/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fad386ac1500006019d6c6ee95ccdd82b726edd
--- /dev/null
+++ b/public_test_cases/p03156/input.2.txt
@@ -0,0 +1,3 @@
+7
+5 15
+1 10 16 2 7 20 12
diff --git a/public_test_cases/p03156/input.3.txt b/public_test_cases/p03156/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5c94e679e84e827aee20138c15c4bc5f945aba7
--- /dev/null
+++ b/public_test_cases/p03156/input.3.txt
@@ -0,0 +1,3 @@
+8
+3 8
+5 5 5 10 10 10 15 20
diff --git a/public_test_cases/p03156/output.0.txt b/public_test_cases/p03156/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03156/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03156/output.1.txt b/public_test_cases/p03156/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03156/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03156/output.2.txt b/public_test_cases/p03156/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03156/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03156/output.3.txt b/public_test_cases/p03156/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03156/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03157/input.0.txt b/public_test_cases/p03157/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f02226878110ba0d65c96c326e91e15b2cfb7935
--- /dev/null
+++ b/public_test_cases/p03157/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+.#.
+..#
+#..
diff --git a/public_test_cases/p03157/input.1.txt b/public_test_cases/p03157/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f02226878110ba0d65c96c326e91e15b2cfb7935
--- /dev/null
+++ b/public_test_cases/p03157/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+.#.
+..#
+#..
diff --git a/public_test_cases/p03157/input.2.txt b/public_test_cases/p03157/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfee2536569ee0829c32480b2c9df1bea27e8bc3
--- /dev/null
+++ b/public_test_cases/p03157/input.2.txt
@@ -0,0 +1,4 @@
+4 3
+
+
+...
diff --git a/public_test_cases/p03157/input.3.txt b/public_test_cases/p03157/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..324d693ed08f522c02c395c3551e686ab0acd84d
--- /dev/null
+++ b/public_test_cases/p03157/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+.#.
+..#
+..
diff --git a/public_test_cases/p03157/input.4.txt b/public_test_cases/p03157/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bc24ee28e211db81c952526ef7806e1beb3c467
--- /dev/null
+++ b/public_test_cases/p03157/input.4.txt
@@ -0,0 +1,3 @@
+2 4
+....
+....
diff --git a/public_test_cases/p03157/output.0.txt b/public_test_cases/p03157/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03157/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03157/output.1.txt b/public_test_cases/p03157/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03157/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03157/output.2.txt b/public_test_cases/p03157/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03157/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03157/output.3.txt b/public_test_cases/p03157/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03157/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03157/output.4.txt b/public_test_cases/p03157/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03157/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03158/input.0.txt b/public_test_cases/p03158/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c430c7bd8189cfffdccaa91d29136485e0963671
--- /dev/null
+++ b/public_test_cases/p03158/input.0.txt
@@ -0,0 +1,7 @@
+5 5
+3 5 7 11 13
+1
+4
+9
+10
+13
diff --git a/public_test_cases/p03158/input.1.txt b/public_test_cases/p03158/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c430c7bd8189cfffdccaa91d29136485e0963671
--- /dev/null
+++ b/public_test_cases/p03158/input.1.txt
@@ -0,0 +1,7 @@
+5 5
+3 5 7 11 13
+1
+4
+9
+10
+13
diff --git a/public_test_cases/p03158/input.2.txt b/public_test_cases/p03158/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e16530d72151f7336037ec3ff59da1029638f0c5
--- /dev/null
+++ b/public_test_cases/p03158/input.2.txt
@@ -0,0 +1,5 @@
+4 3
+10 20 30 40
+2
+34
+34
diff --git a/public_test_cases/p03158/output.0.txt b/public_test_cases/p03158/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fbaf9131009f5f648b97215612f0851843b647
--- /dev/null
+++ b/public_test_cases/p03158/output.0.txt
@@ -0,0 +1,5 @@
+31
+31
+27
+23
+23
diff --git a/public_test_cases/p03158/output.1.txt b/public_test_cases/p03158/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fbaf9131009f5f648b97215612f0851843b647
--- /dev/null
+++ b/public_test_cases/p03158/output.1.txt
@@ -0,0 +1,5 @@
+31
+31
+27
+23
+23
diff --git a/public_test_cases/p03158/output.2.txt b/public_test_cases/p03158/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15f28bff670c99568e002cbe3d806c29e3d6b414
--- /dev/null
+++ b/public_test_cases/p03158/output.2.txt
@@ -0,0 +1,3 @@
+70
+60
+60
diff --git a/public_test_cases/p03159/input.0.txt b/public_test_cases/p03159/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb19cdf6dc0ad44b010b09e43f3df1fea288524f
--- /dev/null
+++ b/public_test_cases/p03159/input.0.txt
@@ -0,0 +1,8 @@
+7
+-2 7 5 6 -8 3 4
+1 2
+2 3
+2 4
+1 5
+5 6
+5 7
diff --git a/public_test_cases/p03159/input.1.txt b/public_test_cases/p03159/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44a1ad848b32783c3fd9e0f49371962a0067d25b
--- /dev/null
+++ b/public_test_cases/p03159/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 2 3 4
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p03159/input.2.txt b/public_test_cases/p03159/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb19cdf6dc0ad44b010b09e43f3df1fea288524f
--- /dev/null
+++ b/public_test_cases/p03159/input.2.txt
@@ -0,0 +1,8 @@
+7
+-2 7 5 6 -8 3 4
+1 2
+2 3
+2 4
+1 5
+5 6
+5 7
diff --git a/public_test_cases/p03159/input.3.txt b/public_test_cases/p03159/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbcfbf52cd4d70ebdbe7200cec24ebed522e4ab5
--- /dev/null
+++ b/public_test_cases/p03159/input.3.txt
@@ -0,0 +1,11 @@
+10
+3 4 9 6 1 5 -1 10 -10 -10
+7 4
+5 6
+8 1
+9 5
+7 1
+10 3
+2 8
+4 10
+9 2
diff --git a/public_test_cases/p03159/input.4.txt b/public_test_cases/p03159/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cd5e89c012ea58467290a0fb3c21871e8f9b556
--- /dev/null
+++ b/public_test_cases/p03159/input.4.txt
@@ -0,0 +1,7 @@
+6
+10 -1 10 -1 10 -1
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p03159/input.5.txt b/public_test_cases/p03159/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14e19a08f7adb418b40eb39afd6a3463bea081ed
--- /dev/null
+++ b/public_test_cases/p03159/input.5.txt
@@ -0,0 +1,9 @@
+8
+-2 3 6 -2 -2 -5 3 2
+3 4
+7 6
+6 2
+8 2
+5 3
+1 8
+3 7
diff --git a/public_test_cases/p03159/output.0.txt b/public_test_cases/p03159/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03159/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03159/output.1.txt b/public_test_cases/p03159/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03159/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03159/output.2.txt b/public_test_cases/p03159/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03159/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03159/output.3.txt b/public_test_cases/p03159/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03159/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03159/output.4.txt b/public_test_cases/p03159/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03159/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03159/output.5.txt b/public_test_cases/p03159/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03159/output.5.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03160/input.0.txt b/public_test_cases/p03160/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46c51e99e1600e6cc103848509f56605d109d0cd
--- /dev/null
+++ b/public_test_cases/p03160/input.0.txt
@@ -0,0 +1,2 @@
+4
+10 30 40 20
diff --git a/public_test_cases/p03160/input.1.txt b/public_test_cases/p03160/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4bbc78d423cee19e6395606245dd1d34cd0f23a
--- /dev/null
+++ b/public_test_cases/p03160/input.1.txt
@@ -0,0 +1,2 @@
+6
+30 10 60 10 60 50
diff --git a/public_test_cases/p03160/input.2.txt b/public_test_cases/p03160/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46c51e99e1600e6cc103848509f56605d109d0cd
--- /dev/null
+++ b/public_test_cases/p03160/input.2.txt
@@ -0,0 +1,2 @@
+4
+10 30 40 20
diff --git a/public_test_cases/p03160/input.3.txt b/public_test_cases/p03160/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3314d15e70c1c64f25f278a70ac685bc43dca403
--- /dev/null
+++ b/public_test_cases/p03160/input.3.txt
@@ -0,0 +1,2 @@
+2
+10 10
diff --git a/public_test_cases/p03160/output.0.txt b/public_test_cases/p03160/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03160/output.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03160/output.1.txt b/public_test_cases/p03160/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03160/output.1.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03160/output.2.txt b/public_test_cases/p03160/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03160/output.2.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03160/output.3.txt b/public_test_cases/p03160/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03160/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03161/input.0.txt b/public_test_cases/p03161/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6fc23cd05665febcdf2df0403a1ec17efa39f4b
--- /dev/null
+++ b/public_test_cases/p03161/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+10 30 40 50 20
diff --git a/public_test_cases/p03161/input.1.txt b/public_test_cases/p03161/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6b4d8bf25be3470b93c157b4242f2d2fa976e13
--- /dev/null
+++ b/public_test_cases/p03161/input.1.txt
@@ -0,0 +1,2 @@
+2 100
+10 10
diff --git a/public_test_cases/p03161/input.2.txt b/public_test_cases/p03161/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6fc23cd05665febcdf2df0403a1ec17efa39f4b
--- /dev/null
+++ b/public_test_cases/p03161/input.2.txt
@@ -0,0 +1,2 @@
+5 3
+10 30 40 50 20
diff --git a/public_test_cases/p03161/input.3.txt b/public_test_cases/p03161/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b30f36e32a991618d3753e3ecc171169ec42adc
--- /dev/null
+++ b/public_test_cases/p03161/input.3.txt
@@ -0,0 +1,2 @@
+10 4
+40 10 20 70 80 10 20 70 80 60
diff --git a/public_test_cases/p03161/input.4.txt b/public_test_cases/p03161/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37de48f034ec69e5aa009037fdef3f599814e186
--- /dev/null
+++ b/public_test_cases/p03161/input.4.txt
@@ -0,0 +1,2 @@
+3 1
+10 20 10
diff --git a/public_test_cases/p03161/output.0.txt b/public_test_cases/p03161/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03161/output.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03161/output.1.txt b/public_test_cases/p03161/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03161/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03161/output.2.txt b/public_test_cases/p03161/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03161/output.2.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03161/output.3.txt b/public_test_cases/p03161/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03161/output.3.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03161/output.4.txt b/public_test_cases/p03161/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03161/output.4.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03162/input.0.txt b/public_test_cases/p03162/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5090fa9914523abb5597e0a162432de05e7f84c
--- /dev/null
+++ b/public_test_cases/p03162/input.0.txt
@@ -0,0 +1,4 @@
+3
+10 40 70
+20 50 80
+30 60 90
diff --git a/public_test_cases/p03162/input.1.txt b/public_test_cases/p03162/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5090fa9914523abb5597e0a162432de05e7f84c
--- /dev/null
+++ b/public_test_cases/p03162/input.1.txt
@@ -0,0 +1,4 @@
+3
+10 40 70
+20 50 80
+30 60 90
diff --git a/public_test_cases/p03162/input.2.txt b/public_test_cases/p03162/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b27462bd73d5d8792e74ff0adf45e23949edb0a
--- /dev/null
+++ b/public_test_cases/p03162/input.2.txt
@@ -0,0 +1,2 @@
+1
+100 10 1
diff --git a/public_test_cases/p03162/input.3.txt b/public_test_cases/p03162/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc5631f9146f7c80617e7dfb2fd840a1e66da0ce
--- /dev/null
+++ b/public_test_cases/p03162/input.3.txt
@@ -0,0 +1,8 @@
+7
+6 7 8
+8 8 3
+2 5 2
+7 8 6
+4 6 8
+2 3 4
+7 5 1
diff --git a/public_test_cases/p03162/output.0.txt b/public_test_cases/p03162/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd7da05e3d264bd30a49a5f2c4c647a4ee0d3ec3
--- /dev/null
+++ b/public_test_cases/p03162/output.0.txt
@@ -0,0 +1 @@
+210
diff --git a/public_test_cases/p03162/output.1.txt b/public_test_cases/p03162/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd7da05e3d264bd30a49a5f2c4c647a4ee0d3ec3
--- /dev/null
+++ b/public_test_cases/p03162/output.1.txt
@@ -0,0 +1 @@
+210
diff --git a/public_test_cases/p03162/output.2.txt b/public_test_cases/p03162/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03162/output.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03162/output.3.txt b/public_test_cases/p03162/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e5feb5256930f3cae636754eef8a244ede164eb
--- /dev/null
+++ b/public_test_cases/p03162/output.3.txt
@@ -0,0 +1 @@
+46
diff --git a/public_test_cases/p03163/input.0.txt b/public_test_cases/p03163/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..449292e55ed3404fffa9c1ea6694c0df50c42a52
--- /dev/null
+++ b/public_test_cases/p03163/input.0.txt
@@ -0,0 +1,4 @@
+3 8
+3 30
+4 50
+5 60
diff --git a/public_test_cases/p03163/output.0.txt b/public_test_cases/p03163/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61f00d8cad3920809f4d992ac3031b3f32e7f10
--- /dev/null
+++ b/public_test_cases/p03163/output.0.txt
@@ -0,0 +1 @@
+90
diff --git a/public_test_cases/p03164/input.0.txt b/public_test_cases/p03164/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..449292e55ed3404fffa9c1ea6694c0df50c42a52
--- /dev/null
+++ b/public_test_cases/p03164/input.0.txt
@@ -0,0 +1,4 @@
+3 8
+3 30
+4 50
+5 60
diff --git a/public_test_cases/p03164/input.1.txt b/public_test_cases/p03164/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9362de2aff1e3968e8c5db985ec81f20c7c86f4e
--- /dev/null
+++ b/public_test_cases/p03164/input.1.txt
@@ -0,0 +1,2 @@
+1 1000000000
+1000000000 10
diff --git a/public_test_cases/p03164/input.2.txt b/public_test_cases/p03164/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e66b6c538c0ac0ff44f8646b78f14b3c8033dfd
--- /dev/null
+++ b/public_test_cases/p03164/input.2.txt
@@ -0,0 +1,7 @@
+6 15
+6 5
+5 6
+6 4
+6 6
+3 5
+7 2
diff --git a/public_test_cases/p03164/input.3.txt b/public_test_cases/p03164/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..449292e55ed3404fffa9c1ea6694c0df50c42a52
--- /dev/null
+++ b/public_test_cases/p03164/input.3.txt
@@ -0,0 +1,4 @@
+3 8
+3 30
+4 50
+5 60
diff --git a/public_test_cases/p03164/output.0.txt b/public_test_cases/p03164/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61f00d8cad3920809f4d992ac3031b3f32e7f10
--- /dev/null
+++ b/public_test_cases/p03164/output.0.txt
@@ -0,0 +1 @@
+90
diff --git a/public_test_cases/p03164/output.1.txt b/public_test_cases/p03164/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03164/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03164/output.2.txt b/public_test_cases/p03164/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p03164/output.2.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p03164/output.3.txt b/public_test_cases/p03164/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61f00d8cad3920809f4d992ac3031b3f32e7f10
--- /dev/null
+++ b/public_test_cases/p03164/output.3.txt
@@ -0,0 +1 @@
+90
diff --git a/public_test_cases/p03165/input.0.txt b/public_test_cases/p03165/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d5a1cb766cc402218fa0705f9b24be48fa624f1
--- /dev/null
+++ b/public_test_cases/p03165/input.0.txt
@@ -0,0 +1,2 @@
+axyb
+abyxb
diff --git a/public_test_cases/p03165/input.1.txt b/public_test_cases/p03165/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40f7007d8888470fd020bda01f3e8aa1da75d458
--- /dev/null
+++ b/public_test_cases/p03165/input.1.txt
@@ -0,0 +1,2 @@
+abracadabra
+avadakedavra
diff --git a/public_test_cases/p03165/input.2.txt b/public_test_cases/p03165/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58f424cdb4f2b274988707a0cf0b1f464aa04acc
--- /dev/null
+++ b/public_test_cases/p03165/input.2.txt
@@ -0,0 +1,2 @@
+a
+z
diff --git a/public_test_cases/p03165/input.3.txt b/public_test_cases/p03165/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d5a1cb766cc402218fa0705f9b24be48fa624f1
--- /dev/null
+++ b/public_test_cases/p03165/input.3.txt
@@ -0,0 +1,2 @@
+axyb
+abyxb
diff --git a/public_test_cases/p03165/input.4.txt b/public_test_cases/p03165/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..facf207fabdb0de6d532a940040d5d896ba7731e
--- /dev/null
+++ b/public_test_cases/p03165/input.4.txt
@@ -0,0 +1,2 @@
+aa
+xayaz
diff --git a/public_test_cases/p03165/output.0.txt b/public_test_cases/p03165/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..280b0f72052d1afb830d0fba0c03e02b5df8cb09
--- /dev/null
+++ b/public_test_cases/p03165/output.0.txt
@@ -0,0 +1 @@
+axb
diff --git a/public_test_cases/p03165/output.1.txt b/public_test_cases/p03165/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5473e4a607a1a115a1d8407725f8f280216b98a
--- /dev/null
+++ b/public_test_cases/p03165/output.1.txt
@@ -0,0 +1 @@
+aaadara
diff --git a/public_test_cases/p03165/output.2.txt b/public_test_cases/p03165/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p03165/output.2.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p03165/output.3.txt b/public_test_cases/p03165/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..280b0f72052d1afb830d0fba0c03e02b5df8cb09
--- /dev/null
+++ b/public_test_cases/p03165/output.3.txt
@@ -0,0 +1 @@
+axb
diff --git a/public_test_cases/p03165/output.4.txt b/public_test_cases/p03165/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e61ef7b965e17c62ca23b6ff5f0aaf09586e10e9
--- /dev/null
+++ b/public_test_cases/p03165/output.4.txt
@@ -0,0 +1 @@
+aa
diff --git a/public_test_cases/p03166/input.0.txt b/public_test_cases/p03166/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..376e41c1a2d542f45a64ba93ef7443bbf0fcd6c7
--- /dev/null
+++ b/public_test_cases/p03166/input.0.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+1 3
+3 2
+2 4
+3 4
diff --git a/public_test_cases/p03166/input.1.txt b/public_test_cases/p03166/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46e088c9ccacc69306d20e64f6aab6588266ab4a
--- /dev/null
+++ b/public_test_cases/p03166/input.1.txt
@@ -0,0 +1,4 @@
+6 3
+2 3
+4 5
+5 6
diff --git a/public_test_cases/p03166/input.2.txt b/public_test_cases/p03166/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9532bf950c381e0368fd7b42f872c7f44a371b3
--- /dev/null
+++ b/public_test_cases/p03166/input.2.txt
@@ -0,0 +1,9 @@
+5 8
+5 3
+2 3
+2 4
+5 2
+5 1
+1 4
+4 3
+1 3
diff --git a/public_test_cases/p03166/input.3.txt b/public_test_cases/p03166/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..376e41c1a2d542f45a64ba93ef7443bbf0fcd6c7
--- /dev/null
+++ b/public_test_cases/p03166/input.3.txt
@@ -0,0 +1,6 @@
+4 5
+1 2
+1 3
+3 2
+2 4
+3 4
diff --git a/public_test_cases/p03166/output.0.txt b/public_test_cases/p03166/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03166/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03166/output.1.txt b/public_test_cases/p03166/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03166/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03166/output.2.txt b/public_test_cases/p03166/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03166/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03166/output.3.txt b/public_test_cases/p03166/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03166/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03167/input.0.txt b/public_test_cases/p03167/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e975d4bce4af7d5c49bd6a7fa4fcd41aae9f6318
--- /dev/null
+++ b/public_test_cases/p03167/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+...#
+.#..
+....
diff --git a/public_test_cases/p03167/input.1.txt b/public_test_cases/p03167/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7cf35851c89a6dab92f3d5ed76de0e6c6668aa4
--- /dev/null
+++ b/public_test_cases/p03167/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+..#..
+.....
+...#
+.....
+..#..
diff --git a/public_test_cases/p03167/input.2.txt b/public_test_cases/p03167/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4a87caaef14f85427a75ad2a87ad129c3c9892c
--- /dev/null
+++ b/public_test_cases/p03167/input.2.txt
@@ -0,0 +1,6 @@
+5 2
+..
+.
+..
+.#
+..
diff --git a/public_test_cases/p03167/input.3.txt b/public_test_cases/p03167/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e975d4bce4af7d5c49bd6a7fa4fcd41aae9f6318
--- /dev/null
+++ b/public_test_cases/p03167/input.3.txt
@@ -0,0 +1,4 @@
+3 4
+...#
+.#..
+....
diff --git a/public_test_cases/p03167/input.4.txt b/public_test_cases/p03167/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77ff7363b17dbf3c466f79d433dae23c260aa263
--- /dev/null
+++ b/public_test_cases/p03167/input.4.txt
@@ -0,0 +1,21 @@
+20 20
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
+....................
diff --git a/public_test_cases/p03167/output.0.txt b/public_test_cases/p03167/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03167/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03167/output.1.txt b/public_test_cases/p03167/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p03167/output.1.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p03167/output.2.txt b/public_test_cases/p03167/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03167/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03167/output.3.txt b/public_test_cases/p03167/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03167/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03167/output.4.txt b/public_test_cases/p03167/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b946d71da2e5a4363641995604042a121dd62e
--- /dev/null
+++ b/public_test_cases/p03167/output.4.txt
@@ -0,0 +1 @@
+345263555
diff --git a/public_test_cases/p03168/input.0.txt b/public_test_cases/p03168/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21e797b90a133dc01743c414a692e8cf561f2221
--- /dev/null
+++ b/public_test_cases/p03168/input.0.txt
@@ -0,0 +1,2 @@
+3
+0.30 0.60 0.80
diff --git a/public_test_cases/p03168/input.1.txt b/public_test_cases/p03168/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b446c4c0c8e43e2fc1e6ea9f74868677e03c8544
--- /dev/null
+++ b/public_test_cases/p03168/input.1.txt
@@ -0,0 +1,2 @@
+5
+0.42 0.01 0.42 0.99 0.42
diff --git a/public_test_cases/p03168/input.2.txt b/public_test_cases/p03168/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b922d241c58b4d680060721408d9d4827317d015
--- /dev/null
+++ b/public_test_cases/p03168/input.2.txt
@@ -0,0 +1,2 @@
+1
+0.50
diff --git a/public_test_cases/p03168/input.3.txt b/public_test_cases/p03168/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21e797b90a133dc01743c414a692e8cf561f2221
--- /dev/null
+++ b/public_test_cases/p03168/input.3.txt
@@ -0,0 +1,2 @@
+3
+0.30 0.60 0.80
diff --git a/public_test_cases/p03168/output.0.txt b/public_test_cases/p03168/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5bdaa81030a0f39a50486c4495706ffc9901ee6
--- /dev/null
+++ b/public_test_cases/p03168/output.0.txt
@@ -0,0 +1 @@
+0.612
diff --git a/public_test_cases/p03168/output.1.txt b/public_test_cases/p03168/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e9378c0e85576fcd9f693adde6ea5d1de5c6eb1
--- /dev/null
+++ b/public_test_cases/p03168/output.1.txt
@@ -0,0 +1 @@
+0.3821815872
diff --git a/public_test_cases/p03168/output.2.txt b/public_test_cases/p03168/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb3c4fe4eebcdea3da0790cc0ba74cb286ec4f4
--- /dev/null
+++ b/public_test_cases/p03168/output.2.txt
@@ -0,0 +1 @@
+0.5
diff --git a/public_test_cases/p03168/output.3.txt b/public_test_cases/p03168/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5bdaa81030a0f39a50486c4495706ffc9901ee6
--- /dev/null
+++ b/public_test_cases/p03168/output.3.txt
@@ -0,0 +1 @@
+0.612
diff --git a/public_test_cases/p03169/input.0.txt b/public_test_cases/p03169/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d86050b0e039e215b0da8a93663a9bb6efd092a
--- /dev/null
+++ b/public_test_cases/p03169/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 1 1
diff --git a/public_test_cases/p03169/input.1.txt b/public_test_cases/p03169/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p03169/input.1.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p03169/input.2.txt b/public_test_cases/p03169/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03169/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03169/input.3.txt b/public_test_cases/p03169/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d86050b0e039e215b0da8a93663a9bb6efd092a
--- /dev/null
+++ b/public_test_cases/p03169/input.3.txt
@@ -0,0 +1,2 @@
+3
+1 1 1
diff --git a/public_test_cases/p03169/input.4.txt b/public_test_cases/p03169/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61b4bb54b456923e6509103c6dcc0e07e6bb2d28
--- /dev/null
+++ b/public_test_cases/p03169/input.4.txt
@@ -0,0 +1,2 @@
+10
+1 3 2 3 3 2 3 2 1 3
diff --git a/public_test_cases/p03169/output.0.txt b/public_test_cases/p03169/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ad974f6109e4bf8a9c47b6d1870e2b4990d9841
--- /dev/null
+++ b/public_test_cases/p03169/output.0.txt
@@ -0,0 +1 @@
+5.5
diff --git a/public_test_cases/p03169/output.1.txt b/public_test_cases/p03169/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03169/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03169/output.2.txt b/public_test_cases/p03169/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4caecc733e6bc437e8afacd9a27cd84edd18a5bc
--- /dev/null
+++ b/public_test_cases/p03169/output.2.txt
@@ -0,0 +1 @@
+4.5
diff --git a/public_test_cases/p03169/output.3.txt b/public_test_cases/p03169/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ad974f6109e4bf8a9c47b6d1870e2b4990d9841
--- /dev/null
+++ b/public_test_cases/p03169/output.3.txt
@@ -0,0 +1 @@
+5.5
diff --git a/public_test_cases/p03169/output.4.txt b/public_test_cases/p03169/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1036ee6fc4c1e4a750e5e9b68d3766401c52c5b3
--- /dev/null
+++ b/public_test_cases/p03169/output.4.txt
@@ -0,0 +1 @@
+54.48064457488221
diff --git a/public_test_cases/p03170/input.0.txt b/public_test_cases/p03170/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c1aca9b8ece5eccb4ac65567ddd03f92fc720a
--- /dev/null
+++ b/public_test_cases/p03170/input.0.txt
@@ -0,0 +1,2 @@
+2 4
+2 3
diff --git a/public_test_cases/p03170/input.1.txt b/public_test_cases/p03170/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e99d4c597e0421be0378274107d3a1d49c60b51
--- /dev/null
+++ b/public_test_cases/p03170/input.1.txt
@@ -0,0 +1,2 @@
+1 100000
+1
diff --git a/public_test_cases/p03170/input.2.txt b/public_test_cases/p03170/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c81eeb04483e1f488f3ad8331093ce6de60dde4
--- /dev/null
+++ b/public_test_cases/p03170/input.2.txt
@@ -0,0 +1,2 @@
+3 21
+1 2 3
diff --git a/public_test_cases/p03170/input.3.txt b/public_test_cases/p03170/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2c643635c1b3b3cc8908bbadd15c687dedca803
--- /dev/null
+++ b/public_test_cases/p03170/input.3.txt
@@ -0,0 +1,2 @@
+2 5
+2 3
diff --git a/public_test_cases/p03170/input.4.txt b/public_test_cases/p03170/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c1aca9b8ece5eccb4ac65567ddd03f92fc720a
--- /dev/null
+++ b/public_test_cases/p03170/input.4.txt
@@ -0,0 +1,2 @@
+2 4
+2 3
diff --git a/public_test_cases/p03170/input.5.txt b/public_test_cases/p03170/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79ccbdde8dd4e9eb4c9763238b7f354ca13842b9
--- /dev/null
+++ b/public_test_cases/p03170/input.5.txt
@@ -0,0 +1,2 @@
+2 7
+2 3
diff --git a/public_test_cases/p03170/input.6.txt b/public_test_cases/p03170/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5881577ad8ae5b9f1b0c08316e72c6543a6316cf
--- /dev/null
+++ b/public_test_cases/p03170/input.6.txt
@@ -0,0 +1,2 @@
+3 20
+1 2 3
diff --git a/public_test_cases/p03170/output.0.txt b/public_test_cases/p03170/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03170/output.0.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03170/output.1.txt b/public_test_cases/p03170/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p03170/output.1.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p03170/output.2.txt b/public_test_cases/p03170/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03170/output.2.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03170/output.3.txt b/public_test_cases/p03170/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p03170/output.3.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p03170/output.4.txt b/public_test_cases/p03170/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03170/output.4.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03170/output.5.txt b/public_test_cases/p03170/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03170/output.5.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03170/output.6.txt b/public_test_cases/p03170/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p03170/output.6.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p03171/input.0.txt b/public_test_cases/p03171/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d3d23a3209b552e2eed5d9269f43d85aad073ab
--- /dev/null
+++ b/public_test_cases/p03171/input.0.txt
@@ -0,0 +1,2 @@
+4
+10 80 90 30
diff --git a/public_test_cases/p03171/input.1.txt b/public_test_cases/p03171/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d3d23a3209b552e2eed5d9269f43d85aad073ab
--- /dev/null
+++ b/public_test_cases/p03171/input.1.txt
@@ -0,0 +1,2 @@
+4
+10 80 90 30
diff --git a/public_test_cases/p03171/input.2.txt b/public_test_cases/p03171/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..235bbbc6e5a8c05398bc8ef6e22590ad94e5d7f2
--- /dev/null
+++ b/public_test_cases/p03171/input.2.txt
@@ -0,0 +1,2 @@
+10
+1000000000 1 1000000000 1 1000000000 1 1000000000 1 1000000000 1
diff --git a/public_test_cases/p03171/input.3.txt b/public_test_cases/p03171/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2a030c4a731d35d875039b7199ea2f14ee38792
--- /dev/null
+++ b/public_test_cases/p03171/input.3.txt
@@ -0,0 +1,2 @@
+3
+10 100 10
diff --git a/public_test_cases/p03171/input.4.txt b/public_test_cases/p03171/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b258dc3d8a70dfd158dac8e5a6905f41cadd45f4
--- /dev/null
+++ b/public_test_cases/p03171/input.4.txt
@@ -0,0 +1,2 @@
+1
+10
diff --git a/public_test_cases/p03171/input.5.txt b/public_test_cases/p03171/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a9fd3459e409e05cd6968c20197fe5d8d2b6db7
--- /dev/null
+++ b/public_test_cases/p03171/input.5.txt
@@ -0,0 +1,2 @@
+6
+4 2 9 7 1 5
diff --git a/public_test_cases/p03171/output.0.txt b/public_test_cases/p03171/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03171/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03171/output.1.txt b/public_test_cases/p03171/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03171/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03171/output.2.txt b/public_test_cases/p03171/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ae47d83131453682fb9135f6ef9e2b12113a034
--- /dev/null
+++ b/public_test_cases/p03171/output.2.txt
@@ -0,0 +1 @@
+4999999995
diff --git a/public_test_cases/p03171/output.3.txt b/public_test_cases/p03171/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e547f5ab41141ffc6402e2ea8e804ea3ec9debce
--- /dev/null
+++ b/public_test_cases/p03171/output.3.txt
@@ -0,0 +1 @@
+-80
diff --git a/public_test_cases/p03171/output.4.txt b/public_test_cases/p03171/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03171/output.4.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03171/output.5.txt b/public_test_cases/p03171/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03171/output.5.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03172/input.0.txt b/public_test_cases/p03172/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c2bdbca01eb168789afdc8a94a4c680a7d48e28
--- /dev/null
+++ b/public_test_cases/p03172/input.0.txt
@@ -0,0 +1,2 @@
+3 4
+1 2 3
diff --git a/public_test_cases/p03172/input.1.txt b/public_test_cases/p03172/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6d4d34f52a656b267330a4d87c212c0404b2708
--- /dev/null
+++ b/public_test_cases/p03172/input.1.txt
@@ -0,0 +1,2 @@
+2 0
+0 0
diff --git a/public_test_cases/p03172/input.2.txt b/public_test_cases/p03172/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3b505b4d3ab677b1646c1f69f96dc6fc7e1a80f
--- /dev/null
+++ b/public_test_cases/p03172/input.2.txt
@@ -0,0 +1,2 @@
+1 10
+9
diff --git a/public_test_cases/p03172/input.3.txt b/public_test_cases/p03172/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ec6143f567c129557c61bbf7bba7d9100892ec8
--- /dev/null
+++ b/public_test_cases/p03172/input.3.txt
@@ -0,0 +1,2 @@
+4 100000
+100000 100000 100000 100000
diff --git a/public_test_cases/p03172/input.4.txt b/public_test_cases/p03172/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c2bdbca01eb168789afdc8a94a4c680a7d48e28
--- /dev/null
+++ b/public_test_cases/p03172/input.4.txt
@@ -0,0 +1,2 @@
+3 4
+1 2 3
diff --git a/public_test_cases/p03172/output.0.txt b/public_test_cases/p03172/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03172/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03172/output.1.txt b/public_test_cases/p03172/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03172/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03172/output.2.txt b/public_test_cases/p03172/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03172/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03172/output.3.txt b/public_test_cases/p03172/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d4bee1bdd5afdc33233220a3c9fdb9436263f17
--- /dev/null
+++ b/public_test_cases/p03172/output.3.txt
@@ -0,0 +1 @@
+665683269
diff --git a/public_test_cases/p03172/output.4.txt b/public_test_cases/p03172/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03172/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03173/input.0.txt b/public_test_cases/p03173/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69566f1b33339d9254b16d95bb3a6cfa646a44b8
--- /dev/null
+++ b/public_test_cases/p03173/input.0.txt
@@ -0,0 +1,2 @@
+4
+10 20 30 40
diff --git a/public_test_cases/p03173/input.1.txt b/public_test_cases/p03173/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e625e17845d199d077b582593d8f3a78020a001
--- /dev/null
+++ b/public_test_cases/p03173/input.1.txt
@@ -0,0 +1,2 @@
+6
+7 6 8 6 1 1
diff --git a/public_test_cases/p03173/input.2.txt b/public_test_cases/p03173/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58000f0a13730a76373d14c900ba28d7fe94c04f
--- /dev/null
+++ b/public_test_cases/p03173/input.2.txt
@@ -0,0 +1,2 @@
+5
+10 10 10 10 10
diff --git a/public_test_cases/p03173/input.3.txt b/public_test_cases/p03173/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4728e084a02b8f1b798e62b8e6a4aad344fcd11
--- /dev/null
+++ b/public_test_cases/p03173/input.3.txt
@@ -0,0 +1,2 @@
+3
+1000000000 1000000000 1000000000
diff --git a/public_test_cases/p03173/input.4.txt b/public_test_cases/p03173/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69566f1b33339d9254b16d95bb3a6cfa646a44b8
--- /dev/null
+++ b/public_test_cases/p03173/input.4.txt
@@ -0,0 +1,2 @@
+4
+10 20 30 40
diff --git a/public_test_cases/p03173/output.0.txt b/public_test_cases/p03173/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..598ed30e89eae2dd245fbeb4558c57a57e10ea6d
--- /dev/null
+++ b/public_test_cases/p03173/output.0.txt
@@ -0,0 +1 @@
+190
diff --git a/public_test_cases/p03173/output.1.txt b/public_test_cases/p03173/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38b10c1b2badd802b554ecc944a7a40c5f055d47
--- /dev/null
+++ b/public_test_cases/p03173/output.1.txt
@@ -0,0 +1 @@
+68
diff --git a/public_test_cases/p03173/output.2.txt b/public_test_cases/p03173/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52bd8e43afb01d0c9747f1fedf2fc94684ee4cc4
--- /dev/null
+++ b/public_test_cases/p03173/output.2.txt
@@ -0,0 +1 @@
+120
diff --git a/public_test_cases/p03173/output.3.txt b/public_test_cases/p03173/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d007f6b285ebc6d303e5e7e879d03901ba847a5e
--- /dev/null
+++ b/public_test_cases/p03173/output.3.txt
@@ -0,0 +1 @@
+5000000000
diff --git a/public_test_cases/p03173/output.4.txt b/public_test_cases/p03173/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..598ed30e89eae2dd245fbeb4558c57a57e10ea6d
--- /dev/null
+++ b/public_test_cases/p03173/output.4.txt
@@ -0,0 +1 @@
+190
diff --git a/public_test_cases/p03174/input.0.txt b/public_test_cases/p03174/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..920819dce19d2b6cdfedccc901b043d6ba690e7b
--- /dev/null
+++ b/public_test_cases/p03174/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 1 1
+1 0 1
+1 1 1
diff --git a/public_test_cases/p03174/input.1.txt b/public_test_cases/p03174/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b261da18d51a39dc2cf0d156791e9c0b35dd83f4
--- /dev/null
+++ b/public_test_cases/p03174/input.1.txt
@@ -0,0 +1,2 @@
+1
+0
diff --git a/public_test_cases/p03174/input.2.txt b/public_test_cases/p03174/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78c66ef78d1a455e7210c06b9ff74c8540f0e7ca
--- /dev/null
+++ b/public_test_cases/p03174/input.2.txt
@@ -0,0 +1,5 @@
+4
+0 1 0 0
+0 0 0 1
+1 0 0 0
+0 0 1 0
diff --git a/public_test_cases/p03174/input.3.txt b/public_test_cases/p03174/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b00abfc5b79df038cee863790fe1de2a29d28986
--- /dev/null
+++ b/public_test_cases/p03174/input.3.txt
@@ -0,0 +1,22 @@
+21
+0 0 0 0 0 0 0 1 1 0 1 1 1 1 0 0 0 1 0 0 1
+1 1 1 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 1 0
+0 0 1 1 1 1 0 1 1 0 0 1 0 0 1 1 0 0 0 1 1
+0 1 1 0 1 1 0 1 0 1 0 0 1 0 0 0 0 0 1 1 0
+1 1 0 0 1 0 1 0 0 1 1 1 1 0 0 0 0 0 0 0 0
+0 1 1 0 1 1 1 0 1 1 1 0 0 0 1 1 1 1 0 0 1
+0 1 0 0 0 1 0 1 0 0 0 1 1 1 0 0 1 1 0 1 0
+0 0 0 0 1 1 0 0 1 1 0 0 0 0 0 1 1 1 1 1 1
+0 0 1 0 0 1 0 0 1 0 1 1 0 0 1 0 1 0 1 1 1
+0 0 0 0 1 1 0 0 1 1 1 0 0 0 0 1 1 0 0 0 1
+0 1 1 0 1 1 0 0 1 1 0 0 0 1 1 1 1 0 1 1 0
+0 0 1 0 0 1 1 1 1 0 1 1 0 1 1 1 0 0 0 0 1
+0 1 1 0 0 1 1 1 1 0 0 0 1 0 1 1 0 1 0 1 1
+1 1 1 1 1 0 0 0 0 1 0 0 1 1 0 1 1 1 0 0 1
+0 0 0 1 1 0 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1
+1 0 1 1 0 1 0 1 0 0 1 0 0 1 1 0 1 0 1 1 0
+0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 1 1 0 0 1
+0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 0 0 1 1 0 1
+0 0 0 0 1 1 1 0 1 0 1 1 1 0 1 1 0 0 1 1 0
+1 1 0 1 1 0 0 1 1 0 1 1 0 1 1 1 1 1 0 1 0
+1 0 0 1 1 0 1 1 1 1 1 0 1 0 1 1 0 0 0 0 0
diff --git a/public_test_cases/p03174/input.4.txt b/public_test_cases/p03174/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..920819dce19d2b6cdfedccc901b043d6ba690e7b
--- /dev/null
+++ b/public_test_cases/p03174/input.4.txt
@@ -0,0 +1,4 @@
+3
+0 1 1
+1 0 1
+1 1 1
diff --git a/public_test_cases/p03174/output.0.txt b/public_test_cases/p03174/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03174/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03174/output.1.txt b/public_test_cases/p03174/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03174/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03174/output.2.txt b/public_test_cases/p03174/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03174/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03174/output.3.txt b/public_test_cases/p03174/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bc28c4355253e227809d4788ab672db879c3374
--- /dev/null
+++ b/public_test_cases/p03174/output.3.txt
@@ -0,0 +1 @@
+102515160
diff --git a/public_test_cases/p03174/output.4.txt b/public_test_cases/p03174/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03174/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03175/input.0.txt b/public_test_cases/p03175/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03175/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03175/input.1.txt b/public_test_cases/p03175/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03175/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03175/input.2.txt b/public_test_cases/p03175/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4834d4e23a86db13492ec18b6c68bba11132751a
--- /dev/null
+++ b/public_test_cases/p03175/input.2.txt
@@ -0,0 +1,10 @@
+10
+8 5
+10 8
+6 5
+1 5
+4 8
+2 10
+3 6
+9 2
+1 7
diff --git a/public_test_cases/p03175/input.3.txt b/public_test_cases/p03175/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03175/input.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03175/input.4.txt b/public_test_cases/p03175/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e7e919d9086f19d0faf1800efb363a22b6e6b8
--- /dev/null
+++ b/public_test_cases/p03175/input.4.txt
@@ -0,0 +1,4 @@
+4
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p03175/output.0.txt b/public_test_cases/p03175/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03175/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03175/output.1.txt b/public_test_cases/p03175/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03175/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03175/output.2.txt b/public_test_cases/p03175/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29e49a01179147c8d27c44241212965aed8633af
--- /dev/null
+++ b/public_test_cases/p03175/output.2.txt
@@ -0,0 +1 @@
+157
diff --git a/public_test_cases/p03175/output.3.txt b/public_test_cases/p03175/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03175/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03175/output.4.txt b/public_test_cases/p03175/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03175/output.4.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03176/input.0.txt b/public_test_cases/p03176/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56d902e134fd7099a4f64896bd00bf7f0bc57cd5
--- /dev/null
+++ b/public_test_cases/p03176/input.0.txt
@@ -0,0 +1,3 @@
+4
+3 1 4 2
+10 20 30 40
diff --git a/public_test_cases/p03176/input.1.txt b/public_test_cases/p03176/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9912646286ceaa7b5cfa8a4aa206a0ba31abaa5d
--- /dev/null
+++ b/public_test_cases/p03176/input.1.txt
@@ -0,0 +1,3 @@
+5
+1 2 3 4 5
+1000000000 1000000000 1000000000 1000000000 1000000000
diff --git a/public_test_cases/p03176/input.2.txt b/public_test_cases/p03176/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56d902e134fd7099a4f64896bd00bf7f0bc57cd5
--- /dev/null
+++ b/public_test_cases/p03176/input.2.txt
@@ -0,0 +1,3 @@
+4
+3 1 4 2
+10 20 30 40
diff --git a/public_test_cases/p03176/input.3.txt b/public_test_cases/p03176/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2049ba26379b1b79873aa790829999080f7f7da7
--- /dev/null
+++ b/public_test_cases/p03176/input.3.txt
@@ -0,0 +1,3 @@
+1
+1
+10
diff --git a/public_test_cases/p03176/input.4.txt b/public_test_cases/p03176/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0664679d468249698d33a37f4a7428ee0a453f83
--- /dev/null
+++ b/public_test_cases/p03176/input.4.txt
@@ -0,0 +1,3 @@
+9
+4 2 5 8 3 6 1 7 9
+6 8 8 4 6 3 5 7 5
diff --git a/public_test_cases/p03176/output.0.txt b/public_test_cases/p03176/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03176/output.0.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03176/output.1.txt b/public_test_cases/p03176/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d007f6b285ebc6d303e5e7e879d03901ba847a5e
--- /dev/null
+++ b/public_test_cases/p03176/output.1.txt
@@ -0,0 +1 @@
+5000000000
diff --git a/public_test_cases/p03176/output.2.txt b/public_test_cases/p03176/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03176/output.2.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03176/output.3.txt b/public_test_cases/p03176/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03176/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03176/output.4.txt b/public_test_cases/p03176/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e85087affded170efcbc6f9672a6fc671d839ed0
--- /dev/null
+++ b/public_test_cases/p03176/output.4.txt
@@ -0,0 +1 @@
+31
diff --git a/public_test_cases/p03177/input.0.txt b/public_test_cases/p03177/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7243f668759d58289b051cb78f45e065ecdeaac3
--- /dev/null
+++ b/public_test_cases/p03177/input.0.txt
@@ -0,0 +1,5 @@
+4 2
+0 1 0 0
+0 0 1 1
+0 0 0 1
+1 0 0 0
diff --git a/public_test_cases/p03177/input.1.txt b/public_test_cases/p03177/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b774dab2b2a8a99b5977390fb9d06e6fcaae52e
--- /dev/null
+++ b/public_test_cases/p03177/input.1.txt
@@ -0,0 +1,2 @@
+1 1
+0
diff --git a/public_test_cases/p03177/input.2.txt b/public_test_cases/p03177/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7243f668759d58289b051cb78f45e065ecdeaac3
--- /dev/null
+++ b/public_test_cases/p03177/input.2.txt
@@ -0,0 +1,5 @@
+4 2
+0 1 0 0
+0 0 1 1
+0 0 0 1
+1 0 0 0
diff --git a/public_test_cases/p03177/input.3.txt b/public_test_cases/p03177/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c9037950a81704cb8b97fb30f073fd3b38dfcce
--- /dev/null
+++ b/public_test_cases/p03177/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+0 1 0
+1 0 1
+0 0 0
diff --git a/public_test_cases/p03177/input.4.txt b/public_test_cases/p03177/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2ed5baffa20c07f6a558e585e32607c39f24437
--- /dev/null
+++ b/public_test_cases/p03177/input.4.txt
@@ -0,0 +1,11 @@
+10 1000000000000000000
+0 0 1 1 0 0 0 1 1 0
+0 0 0 0 0 1 1 1 0 0
+0 1 0 0 0 1 0 1 0 1
+1 1 1 0 1 1 0 1 1 0
+0 1 1 1 0 1 0 1 1 1
+0 0 0 1 0 0 1 0 1 0
+0 0 0 1 1 0 0 1 0 1
+1 0 0 0 1 0 1 0 0 0
+0 0 0 0 0 1 0 0 0 0
+1 0 1 1 1 0 1 1 1 0
diff --git a/public_test_cases/p03177/input.5.txt b/public_test_cases/p03177/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85d5801208225dcb35ee295a726be33a5ea74e53
--- /dev/null
+++ b/public_test_cases/p03177/input.5.txt
@@ -0,0 +1,7 @@
+6 2
+0 0 0 0 0 0
+0 0 1 0 0 0
+0 0 0 0 0 0
+0 0 0 0 1 0
+0 0 0 0 0 1
+0 0 0 0 0 0
diff --git a/public_test_cases/p03177/output.0.txt b/public_test_cases/p03177/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03177/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03177/output.1.txt b/public_test_cases/p03177/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03177/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03177/output.2.txt b/public_test_cases/p03177/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03177/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03177/output.3.txt b/public_test_cases/p03177/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03177/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03177/output.4.txt b/public_test_cases/p03177/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed1742f9bce5add560fcfedec91d69f202ab63dc
--- /dev/null
+++ b/public_test_cases/p03177/output.4.txt
@@ -0,0 +1 @@
+957538352
diff --git a/public_test_cases/p03177/output.5.txt b/public_test_cases/p03177/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03177/output.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03178/input.0.txt b/public_test_cases/p03178/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e634e1925bc4697f8b17fbf62b53585437b7e01b
--- /dev/null
+++ b/public_test_cases/p03178/input.0.txt
@@ -0,0 +1,2 @@
+30
+4
diff --git a/public_test_cases/p03178/input.1.txt b/public_test_cases/p03178/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b47c55a05052ff87191ef4fbc22107c8c4601b66
--- /dev/null
+++ b/public_test_cases/p03178/input.1.txt
@@ -0,0 +1,2 @@
+98765432109876543210
+58
diff --git a/public_test_cases/p03178/input.2.txt b/public_test_cases/p03178/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e634e1925bc4697f8b17fbf62b53585437b7e01b
--- /dev/null
+++ b/public_test_cases/p03178/input.2.txt
@@ -0,0 +1,2 @@
+30
+4
diff --git a/public_test_cases/p03178/input.3.txt b/public_test_cases/p03178/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900d9b1f197b20615b66cf7a39b346e54e38d624
--- /dev/null
+++ b/public_test_cases/p03178/input.3.txt
@@ -0,0 +1,2 @@
+1000000009
+1
diff --git a/public_test_cases/p03178/output.0.txt b/public_test_cases/p03178/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03178/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03178/output.1.txt b/public_test_cases/p03178/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bf1729a98d5e9456f7c59c98274d814cf58e2b5
--- /dev/null
+++ b/public_test_cases/p03178/output.1.txt
@@ -0,0 +1 @@
+635270834
diff --git a/public_test_cases/p03178/output.2.txt b/public_test_cases/p03178/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03178/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03178/output.3.txt b/public_test_cases/p03178/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03178/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03179/input.0.txt b/public_test_cases/p03179/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab73e3143d3f3bbfe3ee6a38d5c962143a63a4cd
--- /dev/null
+++ b/public_test_cases/p03179/input.0.txt
@@ -0,0 +1,2 @@
+4
+<><
diff --git a/public_test_cases/p03179/input.1.txt b/public_test_cases/p03179/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdbcab6f97f02919e8af86de92cd2e7833a2bcca
--- /dev/null
+++ b/public_test_cases/p03179/input.1.txt
@@ -0,0 +1,2 @@
+20
+>>>><>>><>><>>><<>>
diff --git a/public_test_cases/p03179/input.2.txt b/public_test_cases/p03179/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46348fc2357fbcb1ca3c1525eb7e8591946cf0b1
--- /dev/null
+++ b/public_test_cases/p03179/input.2.txt
@@ -0,0 +1,2 @@
+5
+<<<<
diff --git a/public_test_cases/p03179/input.3.txt b/public_test_cases/p03179/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab73e3143d3f3bbfe3ee6a38d5c962143a63a4cd
--- /dev/null
+++ b/public_test_cases/p03179/input.3.txt
@@ -0,0 +1,2 @@
+4
+<><
diff --git a/public_test_cases/p03179/output.0.txt b/public_test_cases/p03179/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03179/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03179/output.1.txt b/public_test_cases/p03179/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7301956bb1715415b9c88ed011e8571b28109812
--- /dev/null
+++ b/public_test_cases/p03179/output.1.txt
@@ -0,0 +1 @@
+217136290
diff --git a/public_test_cases/p03179/output.2.txt b/public_test_cases/p03179/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03179/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03179/output.3.txt b/public_test_cases/p03179/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03179/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03180/input.0.txt b/public_test_cases/p03180/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f39a3e05cd006401c542a42f2d05881aecc549aa
--- /dev/null
+++ b/public_test_cases/p03180/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 10 20
+10 0 -100
+20 -100 0
diff --git a/public_test_cases/p03180/input.1.txt b/public_test_cases/p03180/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f39a3e05cd006401c542a42f2d05881aecc549aa
--- /dev/null
+++ b/public_test_cases/p03180/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 10 20
+10 0 -100
+20 -100 0
diff --git a/public_test_cases/p03180/input.2.txt b/public_test_cases/p03180/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ee526205c647e38cd09cb697f38fa37b47b09b9
--- /dev/null
+++ b/public_test_cases/p03180/input.2.txt
@@ -0,0 +1,5 @@
+4
+0 1000000000 1000000000 1000000000
+1000000000 0 1000000000 1000000000
+1000000000 1000000000 0 -1
+1000000000 1000000000 -1 0
diff --git a/public_test_cases/p03180/input.3.txt b/public_test_cases/p03180/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c4a9a64332bdba5e2c10262490309faaad1cdf2
--- /dev/null
+++ b/public_test_cases/p03180/input.3.txt
@@ -0,0 +1,17 @@
+16
+0 5 -4 -5 -8 -4 7 2 -4 0 7 0 2 -3 7 7
+5 0 8 -9 3 5 2 -7 2 -7 0 -1 -4 1 -1 9
+-4 8 0 -9 8 9 3 1 4 9 6 6 -6 1 8 9
+-5 -9 -9 0 -7 6 4 -1 9 -3 -5 0 1 2 -4 1
+-8 3 8 -7 0 -5 -9 9 1 -9 -6 -3 -8 3 4 3
+-4 5 9 6 -5 0 -6 1 -2 2 0 -5 -2 3 1 2
+7 2 3 4 -9 -6 0 -2 -2 -9 -3 9 -2 9 2 -5
+2 -7 1 -1 9 1 -2 0 -6 0 -6 6 4 -1 -7 8
+-4 2 4 9 1 -2 -2 -6 0 8 -6 -2 -4 8 7 7
+0 -7 9 -3 -9 2 -9 0 8 0 0 1 -3 3 -6 -6
+7 0 6 -5 -6 0 -3 -6 -6 0 0 5 7 -1 -5 3
+0 -1 6 0 -3 -5 9 6 -2 1 5 0 -2 7 -8 0
+2 -4 -6 1 -8 -2 -2 4 -4 -3 7 -2 0 -9 7 1
+-3 1 1 2 3 3 9 -1 8 3 -1 7 -9 0 -6 -8
+7 -1 8 -4 4 1 2 -7 7 -6 -5 -8 7 -6 0 -9
+7 9 9 1 3 2 -5 8 7 -6 3 0 1 -8 -9 0
diff --git a/public_test_cases/p03180/input.4.txt b/public_test_cases/p03180/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f58bae159446bda9889473055f3b162f7b85b51
--- /dev/null
+++ b/public_test_cases/p03180/input.4.txt
@@ -0,0 +1,3 @@
+2
+0 -10
+-10 0
diff --git a/public_test_cases/p03180/output.0.txt b/public_test_cases/p03180/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03180/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03180/output.1.txt b/public_test_cases/p03180/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03180/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03180/output.2.txt b/public_test_cases/p03180/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a37684037827cf0d483095c50d0edd14d7bf2744
--- /dev/null
+++ b/public_test_cases/p03180/output.2.txt
@@ -0,0 +1 @@
+4999999999
diff --git a/public_test_cases/p03180/output.3.txt b/public_test_cases/p03180/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94361d49fd91ff9629fe80ddd10a5cb5581cbb0d
--- /dev/null
+++ b/public_test_cases/p03180/output.3.txt
@@ -0,0 +1 @@
+132
diff --git a/public_test_cases/p03180/output.4.txt b/public_test_cases/p03180/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03180/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03181/input.0.txt b/public_test_cases/p03181/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8660c854634f87ce663404a6e358b5f85fe807c8
--- /dev/null
+++ b/public_test_cases/p03181/input.0.txt
@@ -0,0 +1,3 @@
+3 100
+1 2
+2 3
diff --git a/public_test_cases/p03181/input.1.txt b/public_test_cases/p03181/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8660c854634f87ce663404a6e358b5f85fe807c8
--- /dev/null
+++ b/public_test_cases/p03181/input.1.txt
@@ -0,0 +1,3 @@
+3 100
+1 2
+2 3
diff --git a/public_test_cases/p03181/input.2.txt b/public_test_cases/p03181/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eee8d43e090864f4135ce0d23adc39dcfa2cc180
--- /dev/null
+++ b/public_test_cases/p03181/input.2.txt
@@ -0,0 +1 @@
+1 100
diff --git a/public_test_cases/p03181/input.3.txt b/public_test_cases/p03181/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72b28f11c37136f7a281ed4dcf66be5f786b1b53
--- /dev/null
+++ b/public_test_cases/p03181/input.3.txt
@@ -0,0 +1,10 @@
+10 2
+8 5
+10 8
+6 5
+1 5
+4 8
+2 10
+3 6
+9 2
+1 7
diff --git a/public_test_cases/p03181/input.4.txt b/public_test_cases/p03181/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bcd5e3f8bcfbace42f8ec4acae2f7ffe5420dcc7
--- /dev/null
+++ b/public_test_cases/p03181/input.4.txt
@@ -0,0 +1,4 @@
+4 100
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p03181/output.0.txt b/public_test_cases/p03181/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4b39f0f4104b146b7484db30bc157618e8eb98e
--- /dev/null
+++ b/public_test_cases/p03181/output.0.txt
@@ -0,0 +1,3 @@
+3
+4
+3
diff --git a/public_test_cases/p03181/output.1.txt b/public_test_cases/p03181/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4b39f0f4104b146b7484db30bc157618e8eb98e
--- /dev/null
+++ b/public_test_cases/p03181/output.1.txt
@@ -0,0 +1,3 @@
+3
+4
+3
diff --git a/public_test_cases/p03181/output.2.txt b/public_test_cases/p03181/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03181/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03181/output.3.txt b/public_test_cases/p03181/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3461dc41b56f2da00ff24d4c721bfa6662eace53
--- /dev/null
+++ b/public_test_cases/p03181/output.3.txt
@@ -0,0 +1,10 @@
+0
+0
+1
+1
+1
+0
+1
+0
+1
+1
diff --git a/public_test_cases/p03181/output.4.txt b/public_test_cases/p03181/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9229c9932a178f4a1b8bd83ae868198464ec2c76
--- /dev/null
+++ b/public_test_cases/p03181/output.4.txt
@@ -0,0 +1,4 @@
+8
+5
+5
+5
diff --git a/public_test_cases/p03182/input.0.txt b/public_test_cases/p03182/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa7c627907490bb780ba06a69b632d897dd88c1e
--- /dev/null
+++ b/public_test_cases/p03182/input.0.txt
@@ -0,0 +1,4 @@
+5 3
+1 3 10
+2 4 -10
+3 5 10
diff --git a/public_test_cases/p03182/output.0.txt b/public_test_cases/p03182/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03182/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03183/input.0.txt b/public_test_cases/p03183/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1fdce173def5b4ddeb4434bca814a10840ae67c
--- /dev/null
+++ b/public_test_cases/p03183/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 2 20
+2 1 30
+3 1 40
diff --git a/public_test_cases/p03183/input.1.txt b/public_test_cases/p03183/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a03ae12012e0f147229d30152d346eb424a19e39
--- /dev/null
+++ b/public_test_cases/p03183/input.1.txt
@@ -0,0 +1,6 @@
+5
+1 10000 1000000000
+1 10000 1000000000
+1 10000 1000000000
+1 10000 1000000000
+1 10000 1000000000
diff --git a/public_test_cases/p03183/input.2.txt b/public_test_cases/p03183/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1fdce173def5b4ddeb4434bca814a10840ae67c
--- /dev/null
+++ b/public_test_cases/p03183/input.2.txt
@@ -0,0 +1,4 @@
+3
+2 2 20
+2 1 30
+3 1 40
diff --git a/public_test_cases/p03183/input.3.txt b/public_test_cases/p03183/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34e833fb00b73f59673c61d21074d2fb27c85aa6
--- /dev/null
+++ b/public_test_cases/p03183/input.3.txt
@@ -0,0 +1,5 @@
+4
+1 2 10
+3 1 10
+2 4 10
+1 6 10
diff --git a/public_test_cases/p03183/input.4.txt b/public_test_cases/p03183/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d884a6495d4cf6cf0fd1f24735e0498aa0784986
--- /dev/null
+++ b/public_test_cases/p03183/input.4.txt
@@ -0,0 +1,9 @@
+8
+9 5 7
+6 2 7
+5 7 3
+7 8 8
+1 9 6
+3 3 3
+4 1 7
+4 5 5
diff --git a/public_test_cases/p03183/output.0.txt b/public_test_cases/p03183/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03183/output.0.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03183/output.1.txt b/public_test_cases/p03183/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d007f6b285ebc6d303e5e7e879d03901ba847a5e
--- /dev/null
+++ b/public_test_cases/p03183/output.1.txt
@@ -0,0 +1 @@
+5000000000
diff --git a/public_test_cases/p03183/output.2.txt b/public_test_cases/p03183/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03183/output.2.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03183/output.3.txt b/public_test_cases/p03183/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03183/output.3.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03183/output.4.txt b/public_test_cases/p03183/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03183/output.4.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03184/input.0.txt b/public_test_cases/p03184/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..291b14122a19fa1f55271978e486c4c124e2b37d
--- /dev/null
+++ b/public_test_cases/p03184/input.0.txt
@@ -0,0 +1,3 @@
+3 4 2
+2 2
+1 4
diff --git a/public_test_cases/p03184/input.1.txt b/public_test_cases/p03184/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e530e0868b2668989d68a2a62ebf1beef69f7aed
--- /dev/null
+++ b/public_test_cases/p03184/input.1.txt
@@ -0,0 +1,3 @@
+5 2 2
+2 1
+4 2
diff --git a/public_test_cases/p03184/input.2.txt b/public_test_cases/p03184/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9d0ad0ad3cf2fbefa5146f9307a2758f02928ca
--- /dev/null
+++ b/public_test_cases/p03184/input.2.txt
@@ -0,0 +1,2 @@
+100000 100000 1
+50000 50000
diff --git a/public_test_cases/p03184/input.3.txt b/public_test_cases/p03184/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..291b14122a19fa1f55271978e486c4c124e2b37d
--- /dev/null
+++ b/public_test_cases/p03184/input.3.txt
@@ -0,0 +1,3 @@
+3 4 2
+2 2
+1 4
diff --git a/public_test_cases/p03184/input.4.txt b/public_test_cases/p03184/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaaa7899c20db934d1d360e8f439c115994c4df1
--- /dev/null
+++ b/public_test_cases/p03184/input.4.txt
@@ -0,0 +1,5 @@
+5 5 4
+3 1
+3 5
+1 3
+5 3
diff --git a/public_test_cases/p03184/output.0.txt b/public_test_cases/p03184/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03184/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03184/output.1.txt b/public_test_cases/p03184/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03184/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03184/output.2.txt b/public_test_cases/p03184/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f88258def0afa32bdfeaee6bbb6198134a507b5
--- /dev/null
+++ b/public_test_cases/p03184/output.2.txt
@@ -0,0 +1 @@
+123445622
diff --git a/public_test_cases/p03184/output.3.txt b/public_test_cases/p03184/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03184/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03184/output.4.txt b/public_test_cases/p03184/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p03184/output.4.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p03185/input.0.txt b/public_test_cases/p03185/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..815909026294417f198dce0b93f9a63cb8cbb046
--- /dev/null
+++ b/public_test_cases/p03185/input.0.txt
@@ -0,0 +1,2 @@
+5 6
+1 2 3 4 5
diff --git a/public_test_cases/p03185/input.1.txt b/public_test_cases/p03185/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..972cbddb64be6ab9de2fda749fa995d815a308c7
--- /dev/null
+++ b/public_test_cases/p03185/input.1.txt
@@ -0,0 +1,2 @@
+8 5
+1 3 4 5 10 11 12 13
diff --git a/public_test_cases/p03185/input.2.txt b/public_test_cases/p03185/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68ed0e5c4a3db2ba1bba61cc9bda014d638b05ab
--- /dev/null
+++ b/public_test_cases/p03185/input.2.txt
@@ -0,0 +1,2 @@
+2 1000000000000
+500000 1000000
diff --git a/public_test_cases/p03185/input.3.txt b/public_test_cases/p03185/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..815909026294417f198dce0b93f9a63cb8cbb046
--- /dev/null
+++ b/public_test_cases/p03185/input.3.txt
@@ -0,0 +1,2 @@
+5 6
+1 2 3 4 5
diff --git a/public_test_cases/p03185/output.0.txt b/public_test_cases/p03185/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03185/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03185/output.1.txt b/public_test_cases/p03185/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8fa06e1be7da01425d2be19da24595de2fa02c2
--- /dev/null
+++ b/public_test_cases/p03185/output.1.txt
@@ -0,0 +1 @@
+62
diff --git a/public_test_cases/p03185/output.2.txt b/public_test_cases/p03185/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8c958bc3f50055ee4d0ebba551339f67d7ad4d9
--- /dev/null
+++ b/public_test_cases/p03185/output.2.txt
@@ -0,0 +1 @@
+1250000000000
diff --git a/public_test_cases/p03185/output.3.txt b/public_test_cases/p03185/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03185/output.3.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03186/input.0.txt b/public_test_cases/p03186/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a46f5080b5038d22913c906f987ba65fb8fa7ed1
--- /dev/null
+++ b/public_test_cases/p03186/input.0.txt
@@ -0,0 +1 @@
+3 1 4
diff --git a/public_test_cases/p03186/input.1.txt b/public_test_cases/p03186/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a46f5080b5038d22913c906f987ba65fb8fa7ed1
--- /dev/null
+++ b/public_test_cases/p03186/input.1.txt
@@ -0,0 +1 @@
+3 1 4
diff --git a/public_test_cases/p03186/input.2.txt b/public_test_cases/p03186/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bbb2c95ebcfa96e879c3a8038938ebe79b6ba9a
--- /dev/null
+++ b/public_test_cases/p03186/input.2.txt
@@ -0,0 +1 @@
+8 8 1
diff --git a/public_test_cases/p03186/input.3.txt b/public_test_cases/p03186/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09bb20c8014f2d5c30da66249ac944225259047a
--- /dev/null
+++ b/public_test_cases/p03186/input.3.txt
@@ -0,0 +1 @@
+5 2 9
diff --git a/public_test_cases/p03186/output.0.txt b/public_test_cases/p03186/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03186/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03186/output.1.txt b/public_test_cases/p03186/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03186/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03186/output.2.txt b/public_test_cases/p03186/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03186/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03186/output.3.txt b/public_test_cases/p03186/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03186/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03187/input.0.txt b/public_test_cases/p03187/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..163f1d772e27d316c0a5722f6eb367b237b0cb68
--- /dev/null
+++ b/public_test_cases/p03187/input.0.txt
@@ -0,0 +1,4 @@
+10 3
+2
+7
+9
diff --git a/public_test_cases/p03187/input.1.txt b/public_test_cases/p03187/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9b6cb64236686ea7e9425bbfa9e944d58be579c
--- /dev/null
+++ b/public_test_cases/p03187/input.1.txt
@@ -0,0 +1,8 @@
+314159265 7
+21662711
+77271666
+89022761
+156626166
+160332356
+166902656
+298992265
diff --git a/public_test_cases/p03187/input.2.txt b/public_test_cases/p03187/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64c735f0a590eab73ccc9e5705314c7dc31e837d
--- /dev/null
+++ b/public_test_cases/p03187/input.2.txt
@@ -0,0 +1,7 @@
+10 6
+1
+2
+3
+6
+7
+9
diff --git a/public_test_cases/p03187/input.3.txt b/public_test_cases/p03187/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..163f1d772e27d316c0a5722f6eb367b237b0cb68
--- /dev/null
+++ b/public_test_cases/p03187/input.3.txt
@@ -0,0 +1,4 @@
+10 3
+2
+7
+9
diff --git a/public_test_cases/p03187/output.0.txt b/public_test_cases/p03187/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03187/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03187/output.1.txt b/public_test_cases/p03187/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd4b74cedf52c67f4e97e97e1a01fc45259ef945
--- /dev/null
+++ b/public_test_cases/p03187/output.1.txt
@@ -0,0 +1 @@
+1204124749
diff --git a/public_test_cases/p03187/output.2.txt b/public_test_cases/p03187/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p03187/output.2.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p03187/output.3.txt b/public_test_cases/p03187/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03187/output.3.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03188/input.0.txt b/public_test_cases/p03188/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03188/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03188/input.1.txt b/public_test_cases/p03188/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03188/input.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03188/input.2.txt b/public_test_cases/p03188/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03188/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03188/output.0.txt b/public_test_cases/p03188/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4177c616631212bab2cd51c13d254621f79f3805
--- /dev/null
+++ b/public_test_cases/p03188/output.0.txt
@@ -0,0 +1,4 @@
+3
+1 1 1
+1 1 1
+2 2 2
diff --git a/public_test_cases/p03188/output.1.txt b/public_test_cases/p03188/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c767933a3f06fb7986da4408669a0bfe7594ea58
--- /dev/null
+++ b/public_test_cases/p03188/output.1.txt
@@ -0,0 +1,4 @@
+3
+1 2 3
+4 5 6
+7 8 9
diff --git a/public_test_cases/p03188/output.2.txt b/public_test_cases/p03188/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4177c616631212bab2cd51c13d254621f79f3805
--- /dev/null
+++ b/public_test_cases/p03188/output.2.txt
@@ -0,0 +1,4 @@
+3
+1 1 1
+1 1 1
+2 2 2
diff --git a/public_test_cases/p03189/input.0.txt b/public_test_cases/p03189/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e253938b6b879a09d7262c39a2394a35638ae8a1
--- /dev/null
+++ b/public_test_cases/p03189/input.0.txt
@@ -0,0 +1,6 @@
+3 2
+1
+2
+3
+1 2
+1 3
diff --git a/public_test_cases/p03189/input.1.txt b/public_test_cases/p03189/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e253938b6b879a09d7262c39a2394a35638ae8a1
--- /dev/null
+++ b/public_test_cases/p03189/input.1.txt
@@ -0,0 +1,6 @@
+3 2
+1
+2
+3
+1 2
+1 3
diff --git a/public_test_cases/p03189/input.2.txt b/public_test_cases/p03189/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2adbdbb44eb37b1299840b799fbed70521d8da52
--- /dev/null
+++ b/public_test_cases/p03189/input.2.txt
@@ -0,0 +1,9 @@
+5 3
+3
+2
+3
+1
+4
+1 5
+2 3
+4 2
diff --git a/public_test_cases/p03189/input.3.txt b/public_test_cases/p03189/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3bc5d0faec67478bfa99e9a480fab0fd6d69ad9
--- /dev/null
+++ b/public_test_cases/p03189/input.3.txt
@@ -0,0 +1,15 @@
+9 5
+3
+1
+4
+1
+5
+9
+2
+6
+5
+3 5
+8 9
+7 9
+3 2
+3 8
diff --git a/public_test_cases/p03189/output.0.txt b/public_test_cases/p03189/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03189/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03189/output.1.txt b/public_test_cases/p03189/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03189/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03189/output.2.txt b/public_test_cases/p03189/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p03189/output.2.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p03189/output.3.txt b/public_test_cases/p03189/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e4a5228abc4023f3ec178d58a0fefd20c97e61e
--- /dev/null
+++ b/public_test_cases/p03189/output.3.txt
@@ -0,0 +1 @@
+425
diff --git a/public_test_cases/p03190/input.0.txt b/public_test_cases/p03190/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..831a73ecfc2e30d801050ee8b8b370004c0b784e
--- /dev/null
+++ b/public_test_cases/p03190/input.0.txt
@@ -0,0 +1,3 @@
+4
+0011
+0101
diff --git a/public_test_cases/p03190/input.1.txt b/public_test_cases/p03190/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e22493782f088a61eee427426ee46732c94f5238
--- /dev/null
+++ b/public_test_cases/p03190/input.1.txt
@@ -0,0 +1,3 @@
+1
+0
+0
diff --git a/public_test_cases/p03190/input.2.txt b/public_test_cases/p03190/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d425f66320b752ccfaba5d2afd095888034b912
--- /dev/null
+++ b/public_test_cases/p03190/input.2.txt
@@ -0,0 +1,3 @@
+8
+00110011
+10101010
diff --git a/public_test_cases/p03190/input.3.txt b/public_test_cases/p03190/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..831a73ecfc2e30d801050ee8b8b370004c0b784e
--- /dev/null
+++ b/public_test_cases/p03190/input.3.txt
@@ -0,0 +1,3 @@
+4
+0011
+0101
diff --git a/public_test_cases/p03190/output.0.txt b/public_test_cases/p03190/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03190/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03190/output.1.txt b/public_test_cases/p03190/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03190/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03190/output.2.txt b/public_test_cases/p03190/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03190/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03190/output.3.txt b/public_test_cases/p03190/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03190/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03191/input.0.txt b/public_test_cases/p03191/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..967d30069584d1677f82d31fbb7cc412f702bbcd
--- /dev/null
+++ b/public_test_cases/p03191/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 -1 -1 3 6 -1
diff --git a/public_test_cases/p03191/input.1.txt b/public_test_cases/p03191/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..967d30069584d1677f82d31fbb7cc412f702bbcd
--- /dev/null
+++ b/public_test_cases/p03191/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 -1 -1 3 6 -1
diff --git a/public_test_cases/p03191/input.2.txt b/public_test_cases/p03191/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f7ad30b8b63d5c98a07390a1a8336ac9b11a5e9
--- /dev/null
+++ b/public_test_cases/p03191/input.2.txt
@@ -0,0 +1,2 @@
+4
+7 1 8 3 5 2 6 4
diff --git a/public_test_cases/p03191/input.3.txt b/public_test_cases/p03191/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e42897d732da162ba6df64234bf6bc8e5c3d2c4c
--- /dev/null
+++ b/public_test_cases/p03191/input.3.txt
@@ -0,0 +1,2 @@
+10
+7 -1 -1 -1 -1 -1 -1 6 14 12 13 -1 15 -1 -1 -1 -1 20 -1 -1
diff --git a/public_test_cases/p03191/input.4.txt b/public_test_cases/p03191/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e8d942221046a7f5de43d757215e388af194274
--- /dev/null
+++ b/public_test_cases/p03191/input.4.txt
@@ -0,0 +1,2 @@
+20
+-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 6 -1 -1 -1 -1 -1 7 -1 -1 -1 -1 -1 -1 -1 -1 -1 34 -1 -1 -1 -1 31 -1 -1 -1 -1 -1 -1 -1 -1
diff --git a/public_test_cases/p03191/output.0.txt b/public_test_cases/p03191/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03191/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03191/output.1.txt b/public_test_cases/p03191/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03191/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03191/output.2.txt b/public_test_cases/p03191/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03191/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03191/output.3.txt b/public_test_cases/p03191/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f84bd4dc87a48520a0bdc8c25601878e480e61b
--- /dev/null
+++ b/public_test_cases/p03191/output.3.txt
@@ -0,0 +1 @@
+9540576
diff --git a/public_test_cases/p03191/output.4.txt b/public_test_cases/p03191/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33aa33f2b30dfa6c3a729371761cb83efe8cf26e
--- /dev/null
+++ b/public_test_cases/p03191/output.4.txt
@@ -0,0 +1 @@
+374984201
diff --git a/public_test_cases/p03192/input.0.txt b/public_test_cases/p03192/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d63033fa51d4833e6c07e9836674f1e25ce95e2
--- /dev/null
+++ b/public_test_cases/p03192/input.0.txt
@@ -0,0 +1 @@
+1222
diff --git a/public_test_cases/p03192/input.1.txt b/public_test_cases/p03192/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e07ca2495f2081f4b9bec101cb2a705fc9b6f4ca
--- /dev/null
+++ b/public_test_cases/p03192/input.1.txt
@@ -0,0 +1 @@
+9592
diff --git a/public_test_cases/p03192/input.2.txt b/public_test_cases/p03192/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..169efa8bd26e4837bafefa6e14c2abee4541f6bc
--- /dev/null
+++ b/public_test_cases/p03192/input.2.txt
@@ -0,0 +1 @@
+3456
diff --git a/public_test_cases/p03192/input.3.txt b/public_test_cases/p03192/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d63033fa51d4833e6c07e9836674f1e25ce95e2
--- /dev/null
+++ b/public_test_cases/p03192/input.3.txt
@@ -0,0 +1 @@
+1222
diff --git a/public_test_cases/p03192/output.0.txt b/public_test_cases/p03192/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03192/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03192/output.1.txt b/public_test_cases/p03192/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03192/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03192/output.2.txt b/public_test_cases/p03192/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03192/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03192/output.3.txt b/public_test_cases/p03192/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03192/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03193/input.0.txt b/public_test_cases/p03193/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e965758a744c02d8f7614530458068187350465
--- /dev/null
+++ b/public_test_cases/p03193/input.0.txt
@@ -0,0 +1,4 @@
+3 5 2
+10 3
+5 2
+2 5
diff --git a/public_test_cases/p03193/output.0.txt b/public_test_cases/p03193/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03193/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03194/input.0.txt b/public_test_cases/p03194/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f2c3444e4ee1267154d1af953a451981d520491
--- /dev/null
+++ b/public_test_cases/p03194/input.0.txt
@@ -0,0 +1 @@
+3 24
diff --git a/public_test_cases/p03194/input.1.txt b/public_test_cases/p03194/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c3e36b56c13943c0b4452e45c0f58d406a76285
--- /dev/null
+++ b/public_test_cases/p03194/input.1.txt
@@ -0,0 +1 @@
+5 1
diff --git a/public_test_cases/p03194/input.2.txt b/public_test_cases/p03194/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2389c0eea727b285f212c6bdc9365983a6d90ade
--- /dev/null
+++ b/public_test_cases/p03194/input.2.txt
@@ -0,0 +1 @@
+4 972439611840
diff --git a/public_test_cases/p03194/input.3.txt b/public_test_cases/p03194/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f2c3444e4ee1267154d1af953a451981d520491
--- /dev/null
+++ b/public_test_cases/p03194/input.3.txt
@@ -0,0 +1 @@
+3 24
diff --git a/public_test_cases/p03194/input.4.txt b/public_test_cases/p03194/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f6af7d1407699c37529a0cef4df8148335d98cc
--- /dev/null
+++ b/public_test_cases/p03194/input.4.txt
@@ -0,0 +1 @@
+1 111
diff --git a/public_test_cases/p03194/output.0.txt b/public_test_cases/p03194/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03194/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03194/output.1.txt b/public_test_cases/p03194/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03194/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03194/output.2.txt b/public_test_cases/p03194/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b35cfafd269f3d6871bf59e319b1810b42c0d76a
--- /dev/null
+++ b/public_test_cases/p03194/output.2.txt
@@ -0,0 +1 @@
+206
diff --git a/public_test_cases/p03194/output.3.txt b/public_test_cases/p03194/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03194/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03194/output.4.txt b/public_test_cases/p03194/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p03194/output.4.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p03195/input.0.txt b/public_test_cases/p03195/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p03195/input.0.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p03195/output.0.txt b/public_test_cases/p03195/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c59e24b8393179a5d712de4f990178df5734d99
--- /dev/null
+++ b/public_test_cases/p03195/output.0.txt
@@ -0,0 +1 @@
+first
diff --git a/public_test_cases/p03196/input.0.txt b/public_test_cases/p03196/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f2c3444e4ee1267154d1af953a451981d520491
--- /dev/null
+++ b/public_test_cases/p03196/input.0.txt
@@ -0,0 +1 @@
+3 24
diff --git a/public_test_cases/p03196/output.0.txt b/public_test_cases/p03196/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03196/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03197/input.0.txt b/public_test_cases/p03197/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p03197/input.0.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p03197/input.1.txt b/public_test_cases/p03197/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6793307d4dec5a8f38d912e26cd1db11c831eab3
--- /dev/null
+++ b/public_test_cases/p03197/input.1.txt
@@ -0,0 +1,4 @@
+3
+100000
+30000
+20000
diff --git a/public_test_cases/p03197/input.2.txt b/public_test_cases/p03197/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p03197/input.2.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p03197/output.0.txt b/public_test_cases/p03197/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c59e24b8393179a5d712de4f990178df5734d99
--- /dev/null
+++ b/public_test_cases/p03197/output.0.txt
@@ -0,0 +1 @@
+first
diff --git a/public_test_cases/p03197/output.1.txt b/public_test_cases/p03197/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e019be006cf33489e2d0177a3837a2384eddebc5
--- /dev/null
+++ b/public_test_cases/p03197/output.1.txt
@@ -0,0 +1 @@
+second
diff --git a/public_test_cases/p03197/output.2.txt b/public_test_cases/p03197/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c59e24b8393179a5d712de4f990178df5734d99
--- /dev/null
+++ b/public_test_cases/p03197/output.2.txt
@@ -0,0 +1 @@
+first
diff --git a/public_test_cases/p03198/input.0.txt b/public_test_cases/p03198/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d460fb031911463923f8936d5e3e082d9ea32bc
--- /dev/null
+++ b/public_test_cases/p03198/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 1 4 1
diff --git a/public_test_cases/p03198/input.1.txt b/public_test_cases/p03198/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d460fb031911463923f8936d5e3e082d9ea32bc
--- /dev/null
+++ b/public_test_cases/p03198/input.1.txt
@@ -0,0 +1,2 @@
+4
+3 1 4 1
diff --git a/public_test_cases/p03198/input.2.txt b/public_test_cases/p03198/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfd1d37a5378654a030d7c2f904fbb4e33073f26
--- /dev/null
+++ b/public_test_cases/p03198/input.2.txt
@@ -0,0 +1,2 @@
+8
+657312726 129662684 181537270 324043958 468214806 916875077 825989291 319670097
diff --git a/public_test_cases/p03198/input.3.txt b/public_test_cases/p03198/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p03198/input.3.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p03198/output.0.txt b/public_test_cases/p03198/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03198/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03198/output.1.txt b/public_test_cases/p03198/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03198/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03198/output.2.txt b/public_test_cases/p03198/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03198/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03198/output.3.txt b/public_test_cases/p03198/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03198/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03199/input.0.txt b/public_test_cases/p03199/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c49bff6d233997c66eb03bfa4da4c339c14a8819
--- /dev/null
+++ b/public_test_cases/p03199/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 1 1
+3 1 0
+2 3 1
diff --git a/public_test_cases/p03199/input.1.txt b/public_test_cases/p03199/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a224b5df2a6b6f45d9e52db4db970c3fea5e1c7e
--- /dev/null
+++ b/public_test_cases/p03199/input.1.txt
@@ -0,0 +1 @@
+100000 0
diff --git a/public_test_cases/p03199/input.2.txt b/public_test_cases/p03199/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29ea577bf513ef47c479ecd337ce9efa2e054846
--- /dev/null
+++ b/public_test_cases/p03199/input.2.txt
@@ -0,0 +1,9 @@
+4 8
+1 1 1
+1 2 0
+3 2 1
+1 4 0
+2 1 1
+1 3 0
+3 4 1
+4 4 1
diff --git a/public_test_cases/p03199/input.3.txt b/public_test_cases/p03199/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..455c58edc4bd2520d1993b657bb7013a8db159c5
--- /dev/null
+++ b/public_test_cases/p03199/input.3.txt
@@ -0,0 +1,6 @@
+4 5
+1 3 1
+2 4 0
+2 3 1
+4 2 1
+4 4 1
diff --git a/public_test_cases/p03199/input.4.txt b/public_test_cases/p03199/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..983a817186c0e703bad733ff875dabfec6c03865
--- /dev/null
+++ b/public_test_cases/p03199/input.4.txt
@@ -0,0 +1,6 @@
+3 5
+1 3 1
+3 3 0
+3 1 0
+2 3 1
+3 2 1
diff --git a/public_test_cases/p03199/input.5.txt b/public_test_cases/p03199/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c49bff6d233997c66eb03bfa4da4c339c14a8819
--- /dev/null
+++ b/public_test_cases/p03199/input.5.txt
@@ -0,0 +1,4 @@
+3 3
+1 1 1
+3 1 0
+2 3 1
diff --git a/public_test_cases/p03199/output.0.txt b/public_test_cases/p03199/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03199/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03199/output.1.txt b/public_test_cases/p03199/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dceab880320aba63003dd8639ab70302ef8a95fa
--- /dev/null
+++ b/public_test_cases/p03199/output.1.txt
@@ -0,0 +1 @@
+342016343
diff --git a/public_test_cases/p03199/output.2.txt b/public_test_cases/p03199/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03199/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03199/output.3.txt b/public_test_cases/p03199/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p03199/output.3.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p03199/output.4.txt b/public_test_cases/p03199/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03199/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03199/output.5.txt b/public_test_cases/p03199/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03199/output.5.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03200/input.0.txt b/public_test_cases/p03200/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fec61e36b531c48791debd010e17bbb9ff95d9df
--- /dev/null
+++ b/public_test_cases/p03200/input.0.txt
@@ -0,0 +1 @@
+BBW
diff --git a/public_test_cases/p03200/input.1.txt b/public_test_cases/p03200/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c51da1c41b2af108620354f97627b33387ab4d1
--- /dev/null
+++ b/public_test_cases/p03200/input.1.txt
@@ -0,0 +1 @@
+BWBWBW
diff --git a/public_test_cases/p03200/input.2.txt b/public_test_cases/p03200/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fec61e36b531c48791debd010e17bbb9ff95d9df
--- /dev/null
+++ b/public_test_cases/p03200/input.2.txt
@@ -0,0 +1 @@
+BBW
diff --git a/public_test_cases/p03200/output.0.txt b/public_test_cases/p03200/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03200/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03200/output.1.txt b/public_test_cases/p03200/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03200/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03200/output.2.txt b/public_test_cases/p03200/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03200/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03201/input.0.txt b/public_test_cases/p03201/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03201/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03201/input.1.txt b/public_test_cases/p03201/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03201/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03201/input.2.txt b/public_test_cases/p03201/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec0e220a5755f5060772571d4fa5c268b64e2553
--- /dev/null
+++ b/public_test_cases/p03201/input.2.txt
@@ -0,0 +1,2 @@
+5
+3 11 14 5 13
diff --git a/public_test_cases/p03201/output.0.txt b/public_test_cases/p03201/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03201/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03201/output.1.txt b/public_test_cases/p03201/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03201/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03201/output.2.txt b/public_test_cases/p03201/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03201/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03202/input.0.txt b/public_test_cases/p03202/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5898906cc695e2f596c5a2686fef39f0284514c0
--- /dev/null
+++ b/public_test_cases/p03202/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 2 1
diff --git a/public_test_cases/p03202/input.1.txt b/public_test_cases/p03202/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5898906cc695e2f596c5a2686fef39f0284514c0
--- /dev/null
+++ b/public_test_cases/p03202/input.1.txt
@@ -0,0 +1,2 @@
+3
+3 2 1
diff --git a/public_test_cases/p03202/input.2.txt b/public_test_cases/p03202/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23e7861f9bf2f23814606f38b37e8bd969746c76
--- /dev/null
+++ b/public_test_cases/p03202/input.2.txt
@@ -0,0 +1,2 @@
+5
+2 3 2 1 2
diff --git a/public_test_cases/p03202/output.0.txt b/public_test_cases/p03202/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03202/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03202/output.1.txt b/public_test_cases/p03202/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03202/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03202/output.2.txt b/public_test_cases/p03202/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03202/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03203/input.0.txt b/public_test_cases/p03203/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68341981dead0923043d77a51cbbec13db93ea23
--- /dev/null
+++ b/public_test_cases/p03203/input.0.txt
@@ -0,0 +1,2 @@
+3 3 1
+3 2
diff --git a/public_test_cases/p03203/input.1.txt b/public_test_cases/p03203/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68341981dead0923043d77a51cbbec13db93ea23
--- /dev/null
+++ b/public_test_cases/p03203/input.1.txt
@@ -0,0 +1,2 @@
+3 3 1
+3 2
diff --git a/public_test_cases/p03203/input.2.txt b/public_test_cases/p03203/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96ad7bbb057beb445707b2044048df02cce52e1c
--- /dev/null
+++ b/public_test_cases/p03203/input.2.txt
@@ -0,0 +1 @@
+100000 100000 0
diff --git a/public_test_cases/p03203/input.3.txt b/public_test_cases/p03203/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..656ac90d74ee1d765a68ec3b615332ac4e8081ac
--- /dev/null
+++ b/public_test_cases/p03203/input.3.txt
@@ -0,0 +1,15 @@
+10 10 14
+4 3
+2 2
+7 3
+9 10
+7 7
+8 1
+10 10
+5 4
+3 4
+2 8
+6 4
+4 4
+5 8
+9 2
diff --git a/public_test_cases/p03203/output.0.txt b/public_test_cases/p03203/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03203/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03203/output.1.txt b/public_test_cases/p03203/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03203/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03203/output.2.txt b/public_test_cases/p03203/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p03203/output.2.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p03203/output.3.txt b/public_test_cases/p03203/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03203/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03204/input.0.txt b/public_test_cases/p03204/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86b853330e9d4d02af33acc44b5a2cabf56a29f8
--- /dev/null
+++ b/public_test_cases/p03204/input.0.txt
@@ -0,0 +1,6 @@
+6
+1 5
+5 6
+6 2
+6 3
+6 4
diff --git a/public_test_cases/p03204/input.1.txt b/public_test_cases/p03204/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..535057cd75d5577666ec41d58575f37ac4033b55
--- /dev/null
+++ b/public_test_cases/p03204/input.1.txt
@@ -0,0 +1,6 @@
+6
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p03204/input.2.txt b/public_test_cases/p03204/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86b853330e9d4d02af33acc44b5a2cabf56a29f8
--- /dev/null
+++ b/public_test_cases/p03204/input.2.txt
@@ -0,0 +1,6 @@
+6
+1 5
+5 6
+6 2
+6 3
+6 4
diff --git a/public_test_cases/p03204/input.3.txt b/public_test_cases/p03204/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5f96c881a82c51af3ccb9d512e9df22887b20d1
--- /dev/null
+++ b/public_test_cases/p03204/input.3.txt
@@ -0,0 +1,10 @@
+10
+1 5
+5 6
+6 10
+6 4
+10 3
+10 8
+8 2
+4 7
+4 9
diff --git a/public_test_cases/p03204/output.0.txt b/public_test_cases/p03204/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccf68ff10442ede7cb5479695e6978e4f5d37708
--- /dev/null
+++ b/public_test_cases/p03204/output.0.txt
@@ -0,0 +1 @@
+5 5 5 1 5
diff --git a/public_test_cases/p03204/output.1.txt b/public_test_cases/p03204/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aacb59525ae5e32096372e24707fe291c5a4dae4
--- /dev/null
+++ b/public_test_cases/p03204/output.1.txt
@@ -0,0 +1 @@
+1 2 3 4 5
diff --git a/public_test_cases/p03204/output.2.txt b/public_test_cases/p03204/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccf68ff10442ede7cb5479695e6978e4f5d37708
--- /dev/null
+++ b/public_test_cases/p03204/output.2.txt
@@ -0,0 +1 @@
+5 5 5 1 5
diff --git a/public_test_cases/p03204/output.3.txt b/public_test_cases/p03204/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c3e5b35543228e00faa9cb5dcc23e0df6e00f7f
--- /dev/null
+++ b/public_test_cases/p03204/output.3.txt
@@ -0,0 +1 @@
+7 5 3 1 3 4 7 4 5
diff --git a/public_test_cases/p03205/input.0.txt b/public_test_cases/p03205/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3eb5778d6073fc1d628e4e52acf553a1c8c4e8b
--- /dev/null
+++ b/public_test_cases/p03205/input.0.txt
@@ -0,0 +1,5 @@
+5
+2 1 2
+3 1 2 3
+3 3 4 5
+2 4 5
diff --git a/public_test_cases/p03205/input.1.txt b/public_test_cases/p03205/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b048fcb21ca971a4fded7530a5f81050622d026a
--- /dev/null
+++ b/public_test_cases/p03205/input.1.txt
@@ -0,0 +1,6 @@
+6
+3 1 2 3
+3 2 3 4
+3 1 3 4
+3 1 2 4
+3 4 5 6
diff --git a/public_test_cases/p03205/input.2.txt b/public_test_cases/p03205/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3eb5778d6073fc1d628e4e52acf553a1c8c4e8b
--- /dev/null
+++ b/public_test_cases/p03205/input.2.txt
@@ -0,0 +1,5 @@
+5
+2 1 2
+3 1 2 3
+3 3 4 5
+2 4 5
diff --git a/public_test_cases/p03205/input.3.txt b/public_test_cases/p03205/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97d727f207bdfa5083d6dee6cbe2157fc0d09216
--- /dev/null
+++ b/public_test_cases/p03205/input.3.txt
@@ -0,0 +1,10 @@
+10
+5 1 2 3 4 5
+5 2 3 4 5 6
+5 3 4 5 6 7
+5 4 5 6 7 8
+5 5 6 7 8 9
+5 6 7 8 9 10
+5 7 8 9 10 1
+5 8 9 10 1 2
+5 9 10 1 2 3
diff --git a/public_test_cases/p03205/output.0.txt b/public_test_cases/p03205/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cdb5d20856619990afae2e5ed64712852d9f19f
--- /dev/null
+++ b/public_test_cases/p03205/output.0.txt
@@ -0,0 +1,4 @@
+1 2
+1 3
+3 4
+4 5
diff --git a/public_test_cases/p03205/output.1.txt b/public_test_cases/p03205/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03205/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03205/output.2.txt b/public_test_cases/p03205/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cdb5d20856619990afae2e5ed64712852d9f19f
--- /dev/null
+++ b/public_test_cases/p03205/output.2.txt
@@ -0,0 +1,4 @@
+1 2
+1 3
+3 4
+4 5
diff --git a/public_test_cases/p03205/output.3.txt b/public_test_cases/p03205/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aefdc4e64a2c1cf46e91410db710229f1f8a951c
--- /dev/null
+++ b/public_test_cases/p03205/output.3.txt
@@ -0,0 +1,9 @@
+1 2
+2 3
+3 4
+4 5
+5 6
+6 7
+7 8
+8 9
+9 10
diff --git a/public_test_cases/p03206/input.0.txt b/public_test_cases/p03206/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p03206/input.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p03206/input.1.txt b/public_test_cases/p03206/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p03206/input.1.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p03206/input.2.txt b/public_test_cases/p03206/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03206/input.2.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03206/output.0.txt b/public_test_cases/p03206/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10562b505ff1d965e73f7d86c1134074325b64ec
--- /dev/null
+++ b/public_test_cases/p03206/output.0.txt
@@ -0,0 +1 @@
+Christmas
diff --git a/public_test_cases/p03206/output.1.txt b/public_test_cases/p03206/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10562b505ff1d965e73f7d86c1134074325b64ec
--- /dev/null
+++ b/public_test_cases/p03206/output.1.txt
@@ -0,0 +1 @@
+Christmas
diff --git a/public_test_cases/p03206/output.2.txt b/public_test_cases/p03206/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e999811ec106d9e818df8e1c46fe0caa05fdf
--- /dev/null
+++ b/public_test_cases/p03206/output.2.txt
@@ -0,0 +1 @@
+Christmas Eve Eve Eve
diff --git a/public_test_cases/p03207/input.0.txt b/public_test_cases/p03207/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398b71ecc9e9e80999051167707a45ec80646e83
--- /dev/null
+++ b/public_test_cases/p03207/input.0.txt
@@ -0,0 +1,4 @@
+3
+4980
+7980
+6980
diff --git a/public_test_cases/p03207/input.1.txt b/public_test_cases/p03207/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..035be0b4a35b444c08b05cb33a50fa7e42249d26
--- /dev/null
+++ b/public_test_cases/p03207/input.1.txt
@@ -0,0 +1,5 @@
+4
+4320
+4320
+4320
+4320
diff --git a/public_test_cases/p03207/input.2.txt b/public_test_cases/p03207/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398b71ecc9e9e80999051167707a45ec80646e83
--- /dev/null
+++ b/public_test_cases/p03207/input.2.txt
@@ -0,0 +1,4 @@
+3
+4980
+7980
+6980
diff --git a/public_test_cases/p03207/output.0.txt b/public_test_cases/p03207/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba542378c41c9fd7c11a26466bb89ed63dca4468
--- /dev/null
+++ b/public_test_cases/p03207/output.0.txt
@@ -0,0 +1 @@
+15950
diff --git a/public_test_cases/p03207/output.1.txt b/public_test_cases/p03207/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9c326a038a4ce0b94946f92fd7219a8b6b7866e
--- /dev/null
+++ b/public_test_cases/p03207/output.1.txt
@@ -0,0 +1 @@
+15120
diff --git a/public_test_cases/p03207/output.2.txt b/public_test_cases/p03207/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba542378c41c9fd7c11a26466bb89ed63dca4468
--- /dev/null
+++ b/public_test_cases/p03207/output.2.txt
@@ -0,0 +1 @@
+15950
diff --git a/public_test_cases/p03208/input.0.txt b/public_test_cases/p03208/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4286a23afef659762a8cb6d328a02861f80de99e
--- /dev/null
+++ b/public_test_cases/p03208/input.0.txt
@@ -0,0 +1,6 @@
+5 3
+10
+15
+11
+14
+12
diff --git a/public_test_cases/p03208/input.1.txt b/public_test_cases/p03208/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4286a23afef659762a8cb6d328a02861f80de99e
--- /dev/null
+++ b/public_test_cases/p03208/input.1.txt
@@ -0,0 +1,6 @@
+5 3
+10
+15
+11
+14
+12
diff --git a/public_test_cases/p03208/input.2.txt b/public_test_cases/p03208/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..976181bdd4dc13901f79fde551f6a1e1750dfe05
--- /dev/null
+++ b/public_test_cases/p03208/input.2.txt
@@ -0,0 +1,6 @@
+5 3
+5
+7
+5
+7
+7
diff --git a/public_test_cases/p03208/output.0.txt b/public_test_cases/p03208/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03208/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03208/output.1.txt b/public_test_cases/p03208/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03208/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03208/output.2.txt b/public_test_cases/p03208/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03208/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03209/input.0.txt b/public_test_cases/p03209/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8829253dbd6ca08ee43008f05d5622486462fe40
--- /dev/null
+++ b/public_test_cases/p03209/input.0.txt
@@ -0,0 +1 @@
+2 7
diff --git a/public_test_cases/p03209/input.1.txt b/public_test_cases/p03209/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8e403e9ed652bbb1e7b1502c4d05c8fb2e02da9
--- /dev/null
+++ b/public_test_cases/p03209/input.1.txt
@@ -0,0 +1 @@
+50 4321098765432109
diff --git a/public_test_cases/p03209/input.2.txt b/public_test_cases/p03209/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03209/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03209/input.3.txt b/public_test_cases/p03209/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8829253dbd6ca08ee43008f05d5622486462fe40
--- /dev/null
+++ b/public_test_cases/p03209/input.3.txt
@@ -0,0 +1 @@
+2 7
diff --git a/public_test_cases/p03209/output.0.txt b/public_test_cases/p03209/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03209/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03209/output.1.txt b/public_test_cases/p03209/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03a81f00ca8e1abaa590ab1169b9d161616ee08b
--- /dev/null
+++ b/public_test_cases/p03209/output.1.txt
@@ -0,0 +1 @@
+2160549382716056
diff --git a/public_test_cases/p03209/output.2.txt b/public_test_cases/p03209/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03209/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03209/output.3.txt b/public_test_cases/p03209/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03209/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03210/input.0.txt b/public_test_cases/p03210/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03210/input.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03210/input.1.txt b/public_test_cases/p03210/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03210/input.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03210/input.2.txt b/public_test_cases/p03210/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03210/input.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03210/output.0.txt b/public_test_cases/p03210/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03210/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03210/output.1.txt b/public_test_cases/p03210/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03210/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03210/output.2.txt b/public_test_cases/p03210/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03210/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03211/input.0.txt b/public_test_cases/p03211/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ee63d0df367026e7e1b1a3071039df7c86e27c8
--- /dev/null
+++ b/public_test_cases/p03211/input.0.txt
@@ -0,0 +1 @@
+1234567876
diff --git a/public_test_cases/p03211/input.1.txt b/public_test_cases/p03211/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..528cfef8712ef3bc0207b7998216b01178caacd2
--- /dev/null
+++ b/public_test_cases/p03211/input.1.txt
@@ -0,0 +1 @@
+35753
diff --git a/public_test_cases/p03211/input.2.txt b/public_test_cases/p03211/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ee63d0df367026e7e1b1a3071039df7c86e27c8
--- /dev/null
+++ b/public_test_cases/p03211/input.2.txt
@@ -0,0 +1 @@
+1234567876
diff --git a/public_test_cases/p03211/input.3.txt b/public_test_cases/p03211/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15c36bcdd204bb29a2392bbb808d45f813ad5c32
--- /dev/null
+++ b/public_test_cases/p03211/input.3.txt
@@ -0,0 +1 @@
+1111111111
diff --git a/public_test_cases/p03211/output.0.txt b/public_test_cases/p03211/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p03211/output.0.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p03211/output.1.txt b/public_test_cases/p03211/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03211/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03211/output.2.txt b/public_test_cases/p03211/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p03211/output.2.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p03211/output.3.txt b/public_test_cases/p03211/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3006dac01469048f5adbfbedfdab6286ca9b0bb8
--- /dev/null
+++ b/public_test_cases/p03211/output.3.txt
@@ -0,0 +1 @@
+642
diff --git a/public_test_cases/p03212/input.0.txt b/public_test_cases/p03212/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db08d2acf848400d68132e548a0dd7a6150da542
--- /dev/null
+++ b/public_test_cases/p03212/input.0.txt
@@ -0,0 +1 @@
+575
diff --git a/public_test_cases/p03212/input.1.txt b/public_test_cases/p03212/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db08d2acf848400d68132e548a0dd7a6150da542
--- /dev/null
+++ b/public_test_cases/p03212/input.1.txt
@@ -0,0 +1 @@
+575
diff --git a/public_test_cases/p03212/input.2.txt b/public_test_cases/p03212/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dc663e66f8edb6be98ede1bc12601fc5aa6352a
--- /dev/null
+++ b/public_test_cases/p03212/input.2.txt
@@ -0,0 +1 @@
+3600
diff --git a/public_test_cases/p03212/input.3.txt b/public_test_cases/p03212/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28e56d983ef928848a1b0cdae1fe481ad09143a2
--- /dev/null
+++ b/public_test_cases/p03212/input.3.txt
@@ -0,0 +1 @@
+999999999
diff --git a/public_test_cases/p03212/output.0.txt b/public_test_cases/p03212/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03212/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03212/output.1.txt b/public_test_cases/p03212/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03212/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03212/output.2.txt b/public_test_cases/p03212/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03212/output.2.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03212/output.3.txt b/public_test_cases/p03212/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5acc686dd689857f8c96c554c0cb70ee440b860
--- /dev/null
+++ b/public_test_cases/p03212/output.3.txt
@@ -0,0 +1 @@
+26484
diff --git a/public_test_cases/p03213/input.0.txt b/public_test_cases/p03213/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03213/input.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03213/input.1.txt b/public_test_cases/p03213/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03213/input.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03213/input.2.txt b/public_test_cases/p03213/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03213/input.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03213/input.3.txt b/public_test_cases/p03213/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03213/input.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03213/output.0.txt b/public_test_cases/p03213/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03213/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03213/output.1.txt b/public_test_cases/p03213/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03213/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03213/output.2.txt b/public_test_cases/p03213/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..849baeed65a7d4e512d8c4447a7e26eca35a607f
--- /dev/null
+++ b/public_test_cases/p03213/output.2.txt
@@ -0,0 +1 @@
+543
diff --git a/public_test_cases/p03213/output.3.txt b/public_test_cases/p03213/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03213/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03214/input.0.txt b/public_test_cases/p03214/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03214/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03214/input.1.txt b/public_test_cases/p03214/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03214/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03214/input.2.txt b/public_test_cases/p03214/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..509bf9d4494502fee57b8da72af17c76e617b0c4
--- /dev/null
+++ b/public_test_cases/p03214/input.2.txt
@@ -0,0 +1,2 @@
+4
+2 5 2 5
diff --git a/public_test_cases/p03214/output.0.txt b/public_test_cases/p03214/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03214/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03214/output.1.txt b/public_test_cases/p03214/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03214/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03214/output.2.txt b/public_test_cases/p03214/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03214/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03215/input.0.txt b/public_test_cases/p03215/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70ab672d1c5e598b80aa7a483f0d8e2cdf492e2a
--- /dev/null
+++ b/public_test_cases/p03215/input.0.txt
@@ -0,0 +1,2 @@
+4 2
+2 5 2 5
diff --git a/public_test_cases/p03215/input.1.txt b/public_test_cases/p03215/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70ab672d1c5e598b80aa7a483f0d8e2cdf492e2a
--- /dev/null
+++ b/public_test_cases/p03215/input.1.txt
@@ -0,0 +1,2 @@
+4 2
+2 5 2 5
diff --git a/public_test_cases/p03215/input.2.txt b/public_test_cases/p03215/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1ab7cfe936b4b91ee35590828221575ed7522fa
--- /dev/null
+++ b/public_test_cases/p03215/input.2.txt
@@ -0,0 +1,2 @@
+8 4
+9 1 8 2 7 5 6 4
diff --git a/public_test_cases/p03215/output.0.txt b/public_test_cases/p03215/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03215/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03215/output.1.txt b/public_test_cases/p03215/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03215/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03215/output.2.txt b/public_test_cases/p03215/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p03215/output.2.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p03216/input.0.txt b/public_test_cases/p03216/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..042cbaf1bf2ff913927f1718b020e1c2db3b6427
--- /dev/null
+++ b/public_test_cases/p03216/input.0.txt
@@ -0,0 +1,4 @@
+18
+DWANGOMEDIACLUSTER
+1
+18
diff --git a/public_test_cases/p03216/input.1.txt b/public_test_cases/p03216/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..846d689513d64cf9e1eb5acf6a276186f70d12e9
--- /dev/null
+++ b/public_test_cases/p03216/input.1.txt
@@ -0,0 +1,4 @@
+54
+DIALUPWIDEAREANETWORKGAMINGOPERATIONCORPORATIONLIMITED
+3
+20 30 40
diff --git a/public_test_cases/p03216/input.2.txt b/public_test_cases/p03216/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..042cbaf1bf2ff913927f1718b020e1c2db3b6427
--- /dev/null
+++ b/public_test_cases/p03216/input.2.txt
@@ -0,0 +1,4 @@
+18
+DWANGOMEDIACLUSTER
+1
+18
diff --git a/public_test_cases/p03216/input.3.txt b/public_test_cases/p03216/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..861c4b42f13e113a51971a5db37b57fad463d028
--- /dev/null
+++ b/public_test_cases/p03216/input.3.txt
@@ -0,0 +1,4 @@
+18
+DDDDDDMMMMMCCCCCCC
+1
+18
diff --git a/public_test_cases/p03216/input.4.txt b/public_test_cases/p03216/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17de8c1c3cf5580e0c5c87edea3ef87a78178e9f
--- /dev/null
+++ b/public_test_cases/p03216/input.4.txt
@@ -0,0 +1,4 @@
+30
+DMCDMCDMCDMCDMCDMCDMCDMCDMCDMC
+4
+5 10 15 20
diff --git a/public_test_cases/p03216/output.0.txt b/public_test_cases/p03216/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03216/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03216/output.1.txt b/public_test_cases/p03216/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4539bbf2d22d5c3b4227859ff854eda060a687fb
--- /dev/null
+++ b/public_test_cases/p03216/output.1.txt
@@ -0,0 +1,3 @@
+0
+1
+2
diff --git a/public_test_cases/p03216/output.2.txt b/public_test_cases/p03216/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03216/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03216/output.3.txt b/public_test_cases/p03216/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd7da05e3d264bd30a49a5f2c4c647a4ee0d3ec3
--- /dev/null
+++ b/public_test_cases/p03216/output.3.txt
@@ -0,0 +1 @@
+210
diff --git a/public_test_cases/p03216/output.4.txt b/public_test_cases/p03216/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..403a2851443d158e9b76f34516e07c08e827841e
--- /dev/null
+++ b/public_test_cases/p03216/output.4.txt
@@ -0,0 +1,4 @@
+10
+52
+110
+140
diff --git a/public_test_cases/p03217/input.0.txt b/public_test_cases/p03217/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2d4b105fdeee65782427f9f13893ce5277bdeb7
--- /dev/null
+++ b/public_test_cases/p03217/input.0.txt
@@ -0,0 +1,4 @@
+3 1
+0 0
+1 0
+2 0
diff --git a/public_test_cases/p03217/input.1.txt b/public_test_cases/p03217/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6aebc141cc0d7b16af737279f4f2bb1ae4cd5f73
--- /dev/null
+++ b/public_test_cases/p03217/input.1.txt
@@ -0,0 +1,20 @@
+19 2
+1 3
+2 3
+0 1
+1 1
+2 1
+3 1
+4 4
+5 4
+6 4
+7 4
+8 4
+8 3
+8 2
+8 1
+8 0
+7 0
+6 0
+5 0
+4 0
diff --git a/public_test_cases/p03217/input.2.txt b/public_test_cases/p03217/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2d4b105fdeee65782427f9f13893ce5277bdeb7
--- /dev/null
+++ b/public_test_cases/p03217/input.2.txt
@@ -0,0 +1,4 @@
+3 1
+0 0
+1 0
+2 0
diff --git a/public_test_cases/p03217/input.3.txt b/public_test_cases/p03217/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70ed5b1ce9d1380ed66afa9b86d4d0a97a6cc6e0
--- /dev/null
+++ b/public_test_cases/p03217/input.3.txt
@@ -0,0 +1,9 @@
+8 3
+0 0
+0 3
+3 0
+3 3
+2 2
+2 5
+5 2
+5 5
diff --git a/public_test_cases/p03217/output.0.txt b/public_test_cases/p03217/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03217/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03217/output.1.txt b/public_test_cases/p03217/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03217/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03217/output.2.txt b/public_test_cases/p03217/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03217/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03217/output.3.txt b/public_test_cases/p03217/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03217/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03218/input.0.txt b/public_test_cases/p03218/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4238a53f643f773837f0a62d6a47a6818700cbff
--- /dev/null
+++ b/public_test_cases/p03218/input.0.txt
@@ -0,0 +1,2 @@
+2
+4 3
diff --git a/public_test_cases/p03218/input.1.txt b/public_test_cases/p03218/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..509bf9d4494502fee57b8da72af17c76e617b0c4
--- /dev/null
+++ b/public_test_cases/p03218/input.1.txt
@@ -0,0 +1,2 @@
+4
+2 5 2 5
diff --git a/public_test_cases/p03218/input.2.txt b/public_test_cases/p03218/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4238a53f643f773837f0a62d6a47a6818700cbff
--- /dev/null
+++ b/public_test_cases/p03218/input.2.txt
@@ -0,0 +1,2 @@
+2
+4 3
diff --git a/public_test_cases/p03218/output.0.txt b/public_test_cases/p03218/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03218/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03218/output.1.txt b/public_test_cases/p03218/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03218/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03218/output.2.txt b/public_test_cases/p03218/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03218/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03219/input.0.txt b/public_test_cases/p03219/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3575b8c12e57c51533bdf7fe312268f8e1e9581
--- /dev/null
+++ b/public_test_cases/p03219/input.0.txt
@@ -0,0 +1 @@
+81 58
diff --git a/public_test_cases/p03219/input.1.txt b/public_test_cases/p03219/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3575b8c12e57c51533bdf7fe312268f8e1e9581
--- /dev/null
+++ b/public_test_cases/p03219/input.1.txt
@@ -0,0 +1 @@
+81 58
diff --git a/public_test_cases/p03219/input.2.txt b/public_test_cases/p03219/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4691921a55f52fe127e6f66318a0c316963fbb6
--- /dev/null
+++ b/public_test_cases/p03219/input.2.txt
@@ -0,0 +1 @@
+4 54
diff --git a/public_test_cases/p03219/output.0.txt b/public_test_cases/p03219/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p03219/output.0.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p03219/output.1.txt b/public_test_cases/p03219/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p03219/output.1.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p03219/output.2.txt b/public_test_cases/p03219/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e85087affded170efcbc6f9672a6fc671d839ed0
--- /dev/null
+++ b/public_test_cases/p03219/output.2.txt
@@ -0,0 +1 @@
+31
diff --git a/public_test_cases/p03220/input.0.txt b/public_test_cases/p03220/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74143c10e18770471002e27982fb731ad10a41bd
--- /dev/null
+++ b/public_test_cases/p03220/input.0.txt
@@ -0,0 +1,3 @@
+2
+12 5
+1000 2000
diff --git a/public_test_cases/p03220/output.0.txt b/public_test_cases/p03220/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03220/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03221/input.0.txt b/public_test_cases/p03221/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a8ae09645a6b951f49386fbe075d0caf3ccfc07
--- /dev/null
+++ b/public_test_cases/p03221/input.0.txt
@@ -0,0 +1,4 @@
+2 3
+1 32
+2 63
+1 12
diff --git a/public_test_cases/p03221/input.1.txt b/public_test_cases/p03221/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a8ae09645a6b951f49386fbe075d0caf3ccfc07
--- /dev/null
+++ b/public_test_cases/p03221/input.1.txt
@@ -0,0 +1,4 @@
+2 3
+1 32
+2 63
+1 12
diff --git a/public_test_cases/p03221/input.2.txt b/public_test_cases/p03221/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e7122c919cf48caefdd05451005ce0e4b7241d8
--- /dev/null
+++ b/public_test_cases/p03221/input.2.txt
@@ -0,0 +1,4 @@
+2 3
+2 55
+2 77
+2 99
diff --git a/public_test_cases/p03221/output.0.txt b/public_test_cases/p03221/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdb2929b619f2b3239180738064fe53066d850fd
--- /dev/null
+++ b/public_test_cases/p03221/output.0.txt
@@ -0,0 +1,3 @@
+000001000002
+000002000001
+000001000001
diff --git a/public_test_cases/p03221/output.1.txt b/public_test_cases/p03221/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdb2929b619f2b3239180738064fe53066d850fd
--- /dev/null
+++ b/public_test_cases/p03221/output.1.txt
@@ -0,0 +1,3 @@
+000001000002
+000002000001
+000001000001
diff --git a/public_test_cases/p03221/output.2.txt b/public_test_cases/p03221/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3696888dd6f8fcd0fad28070740d4e49db9c8f20
--- /dev/null
+++ b/public_test_cases/p03221/output.2.txt
@@ -0,0 +1,3 @@
+000002000001
+000002000002
+000002000003
diff --git a/public_test_cases/p03222/input.0.txt b/public_test_cases/p03222/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d849ff9fbc8ef5b5ece8947aedea2c693179e497
--- /dev/null
+++ b/public_test_cases/p03222/input.0.txt
@@ -0,0 +1 @@
+1 3 2
diff --git a/public_test_cases/p03222/input.1.txt b/public_test_cases/p03222/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bafe88d75575352861ed5f2a438df237bed39211
--- /dev/null
+++ b/public_test_cases/p03222/input.1.txt
@@ -0,0 +1 @@
+2 3 1
diff --git a/public_test_cases/p03222/input.2.txt b/public_test_cases/p03222/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d849ff9fbc8ef5b5ece8947aedea2c693179e497
--- /dev/null
+++ b/public_test_cases/p03222/input.2.txt
@@ -0,0 +1 @@
+1 3 2
diff --git a/public_test_cases/p03222/input.3.txt b/public_test_cases/p03222/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ed57210360366b2c24137c43090bb72d75d46f4
--- /dev/null
+++ b/public_test_cases/p03222/input.3.txt
@@ -0,0 +1 @@
+1 3 1
diff --git a/public_test_cases/p03222/input.4.txt b/public_test_cases/p03222/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d354bc36bd250a32326f0081c1dcfd95b27c39fe
--- /dev/null
+++ b/public_test_cases/p03222/input.4.txt
@@ -0,0 +1 @@
+7 1 1
diff --git a/public_test_cases/p03222/input.5.txt b/public_test_cases/p03222/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87b289ecc8a6f6cbc339aa2359c84f4dd2f5afb1
--- /dev/null
+++ b/public_test_cases/p03222/input.5.txt
@@ -0,0 +1 @@
+2 3 3
diff --git a/public_test_cases/p03222/input.6.txt b/public_test_cases/p03222/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d48a61737178badcb207a224cd8444dc5d821a9
--- /dev/null
+++ b/public_test_cases/p03222/input.6.txt
@@ -0,0 +1 @@
+15 8 5
diff --git a/public_test_cases/p03222/output.0.txt b/public_test_cases/p03222/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03222/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03222/output.1.txt b/public_test_cases/p03222/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03222/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03222/output.2.txt b/public_test_cases/p03222/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03222/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03222/output.3.txt b/public_test_cases/p03222/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03222/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03222/output.4.txt b/public_test_cases/p03222/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03222/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03222/output.5.txt b/public_test_cases/p03222/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03222/output.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03222/output.6.txt b/public_test_cases/p03222/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3936dfbd1febe1ac0a6302251fff5c13a3b938e
--- /dev/null
+++ b/public_test_cases/p03222/output.6.txt
@@ -0,0 +1 @@
+437760187
diff --git a/public_test_cases/p03223/input.0.txt b/public_test_cases/p03223/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30c09bd1e2079d94ca74563ec8af53a37e889f4b
--- /dev/null
+++ b/public_test_cases/p03223/input.0.txt
@@ -0,0 +1,6 @@
+5
+6
+8
+1
+2
+3
diff --git a/public_test_cases/p03223/output.0.txt b/public_test_cases/p03223/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03223/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03224/input.0.txt b/public_test_cases/p03224/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03224/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03224/output.0.txt b/public_test_cases/p03224/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c74e3100be9687b4610a93788c090c5d7edec4a3
--- /dev/null
+++ b/public_test_cases/p03224/output.0.txt
@@ -0,0 +1,5 @@
+Yes
+3
+2 1 2
+2 3 1
+2 2 3
diff --git a/public_test_cases/p03225/input.0.txt b/public_test_cases/p03225/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e22ebc99a6e394cc9e7e5c1eb438842a49723b9
--- /dev/null
+++ b/public_test_cases/p03225/input.0.txt
@@ -0,0 +1,6 @@
+5 4
+#.##
+.##.
+#...
+..##
+...#
diff --git a/public_test_cases/p03225/input.1.txt b/public_test_cases/p03225/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e22ebc99a6e394cc9e7e5c1eb438842a49723b9
--- /dev/null
+++ b/public_test_cases/p03225/input.1.txt
@@ -0,0 +1,6 @@
+5 4
+#.##
+.##.
+#...
+..##
+...#
diff --git a/public_test_cases/p03225/input.2.txt b/public_test_cases/p03225/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..916f6fa56b38492eb224ea3836279d37b87a57db
--- /dev/null
+++ b/public_test_cases/p03225/input.2.txt
@@ -0,0 +1,14 @@
+13 27
+......#.........#.......#..
+...#.....###..
+..............#####...##...
+...#######......#...#######
+...#.....#.....###...#...#.
+...#######....#.#.#.#.###.#
+..............#.#.#...#.#..
+.#.#.#...###..
+...........#...#...#######
+..#######..#...#...#.....#
+..#.....#..#...#...#.###.#
+..#######..#...#...#.#.#.#
+..........##...#...#.#####
diff --git a/public_test_cases/p03225/input.3.txt b/public_test_cases/p03225/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b92373893aff5ec6aff81377f34f59af0677708
--- /dev/null
+++ b/public_test_cases/p03225/input.3.txt
@@ -0,0 +1,6 @@
+5 4
+.##
+.##.
+...
+..##
+...#
diff --git a/public_test_cases/p03225/output.0.txt b/public_test_cases/p03225/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03225/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03225/output.1.txt b/public_test_cases/p03225/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03225/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03225/output.2.txt b/public_test_cases/p03225/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51270dafa4c356465de60875529551e72f8198f8
--- /dev/null
+++ b/public_test_cases/p03225/output.2.txt
@@ -0,0 +1 @@
+870
diff --git a/public_test_cases/p03225/output.3.txt b/public_test_cases/p03225/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03225/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03226/input.0.txt b/public_test_cases/p03226/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f63e15fc148c044ac1e72e369cb2f5bdb54da43b
--- /dev/null
+++ b/public_test_cases/p03226/input.0.txt
@@ -0,0 +1,4 @@
+3
+1
+2
+1
diff --git a/public_test_cases/p03226/input.1.txt b/public_test_cases/p03226/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f63e15fc148c044ac1e72e369cb2f5bdb54da43b
--- /dev/null
+++ b/public_test_cases/p03226/input.1.txt
@@ -0,0 +1,4 @@
+3
+1
+2
+1
diff --git a/public_test_cases/p03226/input.2.txt b/public_test_cases/p03226/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e504f2b037627deff26c438252c758dc9b4a1f6f
--- /dev/null
+++ b/public_test_cases/p03226/input.2.txt
@@ -0,0 +1,9 @@
+8
+4
+4
+4
+1
+1
+1
+2
+2
diff --git a/public_test_cases/p03226/input.3.txt b/public_test_cases/p03226/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca6b3fb52683b220355b6512d089563d30ad2d2f
--- /dev/null
+++ b/public_test_cases/p03226/input.3.txt
@@ -0,0 +1,7 @@
+6
+1
+1
+6
+2
+2
+2
diff --git a/public_test_cases/p03226/input.4.txt b/public_test_cases/p03226/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32afbf07729ae708432efc646363fa7ef4c7b9da
--- /dev/null
+++ b/public_test_cases/p03226/input.4.txt
@@ -0,0 +1,6 @@
+5
+3
+1
+4
+1
+5
diff --git a/public_test_cases/p03226/output.0.txt b/public_test_cases/p03226/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03226/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03226/output.1.txt b/public_test_cases/p03226/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03226/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03226/output.2.txt b/public_test_cases/p03226/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p03226/output.2.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p03226/output.3.txt b/public_test_cases/p03226/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03226/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03226/output.4.txt b/public_test_cases/p03226/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03226/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03227/input.0.txt b/public_test_cases/p03227/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8baef1b4abc478178b004d62031cf7fe6db6f903
--- /dev/null
+++ b/public_test_cases/p03227/input.0.txt
@@ -0,0 +1 @@
+abc
diff --git a/public_test_cases/p03227/input.1.txt b/public_test_cases/p03227/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8baef1b4abc478178b004d62031cf7fe6db6f903
--- /dev/null
+++ b/public_test_cases/p03227/input.1.txt
@@ -0,0 +1 @@
+abc
diff --git a/public_test_cases/p03227/input.2.txt b/public_test_cases/p03227/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9eb3bbf4e21a1823eb23fe497069343d76b44c5
--- /dev/null
+++ b/public_test_cases/p03227/input.2.txt
@@ -0,0 +1 @@
+ac
diff --git a/public_test_cases/p03227/output.0.txt b/public_test_cases/p03227/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59d2d1ca67822ec79419ef58ee69e9f65d701788
--- /dev/null
+++ b/public_test_cases/p03227/output.0.txt
@@ -0,0 +1 @@
+cba
diff --git a/public_test_cases/p03227/output.1.txt b/public_test_cases/p03227/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59d2d1ca67822ec79419ef58ee69e9f65d701788
--- /dev/null
+++ b/public_test_cases/p03227/output.1.txt
@@ -0,0 +1 @@
+cba
diff --git a/public_test_cases/p03227/output.2.txt b/public_test_cases/p03227/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9eb3bbf4e21a1823eb23fe497069343d76b44c5
--- /dev/null
+++ b/public_test_cases/p03227/output.2.txt
@@ -0,0 +1 @@
+ac
diff --git a/public_test_cases/p03228/input.0.txt b/public_test_cases/p03228/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4669e97437f8101576e9380066a9570b4720875
--- /dev/null
+++ b/public_test_cases/p03228/input.0.txt
@@ -0,0 +1 @@
+5 4 2
diff --git a/public_test_cases/p03228/input.1.txt b/public_test_cases/p03228/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..975b5b4edbcd4186641710d4e3ef291a40475f00
--- /dev/null
+++ b/public_test_cases/p03228/input.1.txt
@@ -0,0 +1 @@
+3 3 3
diff --git a/public_test_cases/p03228/input.2.txt b/public_test_cases/p03228/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4669e97437f8101576e9380066a9570b4720875
--- /dev/null
+++ b/public_test_cases/p03228/input.2.txt
@@ -0,0 +1 @@
+5 4 2
diff --git a/public_test_cases/p03228/input.3.txt b/public_test_cases/p03228/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e5acc4fea364f0742f50df4eb13af60d906b4ba
--- /dev/null
+++ b/public_test_cases/p03228/input.3.txt
@@ -0,0 +1 @@
+314159265 358979323 84
diff --git a/public_test_cases/p03228/output.0.txt b/public_test_cases/p03228/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p03228/output.0.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p03228/output.1.txt b/public_test_cases/p03228/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p03228/output.1.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p03228/output.2.txt b/public_test_cases/p03228/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p03228/output.2.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p03228/output.3.txt b/public_test_cases/p03228/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5250e86ebd58e4ce706fdd54cd8627952064828e
--- /dev/null
+++ b/public_test_cases/p03228/output.3.txt
@@ -0,0 +1 @@
+448759046 224379523
diff --git a/public_test_cases/p03229/input.0.txt b/public_test_cases/p03229/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30c09bd1e2079d94ca74563ec8af53a37e889f4b
--- /dev/null
+++ b/public_test_cases/p03229/input.0.txt
@@ -0,0 +1,6 @@
+5
+6
+8
+1
+2
+3
diff --git a/public_test_cases/p03229/input.1.txt b/public_test_cases/p03229/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..146bd4f5c376c0d7429fd69417303930f1a46b46
--- /dev/null
+++ b/public_test_cases/p03229/input.1.txt
@@ -0,0 +1,4 @@
+3
+5
+5
+1
diff --git a/public_test_cases/p03229/input.2.txt b/public_test_cases/p03229/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2d4b3254e9823c13838c6eecfd88b56e5abe26
--- /dev/null
+++ b/public_test_cases/p03229/input.2.txt
@@ -0,0 +1,7 @@
+6
+3
+1
+4
+1
+5
+9
diff --git a/public_test_cases/p03229/input.3.txt b/public_test_cases/p03229/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30c09bd1e2079d94ca74563ec8af53a37e889f4b
--- /dev/null
+++ b/public_test_cases/p03229/input.3.txt
@@ -0,0 +1,6 @@
+5
+6
+8
+1
+2
+3
diff --git a/public_test_cases/p03229/output.0.txt b/public_test_cases/p03229/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03229/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03229/output.1.txt b/public_test_cases/p03229/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03229/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03229/output.2.txt b/public_test_cases/p03229/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p03229/output.2.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p03229/output.3.txt b/public_test_cases/p03229/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03229/output.3.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03230/input.0.txt b/public_test_cases/p03230/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03230/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03230/input.1.txt b/public_test_cases/p03230/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03230/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03230/input.2.txt b/public_test_cases/p03230/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03230/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03230/output.0.txt b/public_test_cases/p03230/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c74e3100be9687b4610a93788c090c5d7edec4a3
--- /dev/null
+++ b/public_test_cases/p03230/output.0.txt
@@ -0,0 +1,5 @@
+Yes
+3
+2 1 2
+2 3 1
+2 2 3
diff --git a/public_test_cases/p03230/output.1.txt b/public_test_cases/p03230/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03230/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03230/output.2.txt b/public_test_cases/p03230/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c74e3100be9687b4610a93788c090c5d7edec4a3
--- /dev/null
+++ b/public_test_cases/p03230/output.2.txt
@@ -0,0 +1,5 @@
+Yes
+3
+2 1 2
+2 3 1
+2 2 3
diff --git a/public_test_cases/p03231/input.0.txt b/public_test_cases/p03231/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c49d1cb9e6e4611062803087bed1fc5b6f9303ef
--- /dev/null
+++ b/public_test_cases/p03231/input.0.txt
@@ -0,0 +1,3 @@
+3 2
+acp
+ae
diff --git a/public_test_cases/p03231/input.1.txt b/public_test_cases/p03231/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c49d1cb9e6e4611062803087bed1fc5b6f9303ef
--- /dev/null
+++ b/public_test_cases/p03231/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+acp
+ae
diff --git a/public_test_cases/p03231/input.2.txt b/public_test_cases/p03231/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0173dd93b85df952d02becf81b89e6f29aa53007
--- /dev/null
+++ b/public_test_cases/p03231/input.2.txt
@@ -0,0 +1,3 @@
+6 3
+abcdef
+abc
diff --git a/public_test_cases/p03231/input.3.txt b/public_test_cases/p03231/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a7895793f6c6ba95d9b507db6cd241b3e258790
--- /dev/null
+++ b/public_test_cases/p03231/input.3.txt
@@ -0,0 +1,3 @@
+15 9
+dnsusrayukuaiia
+dujrunuma
diff --git a/public_test_cases/p03231/output.0.txt b/public_test_cases/p03231/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03231/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03231/output.1.txt b/public_test_cases/p03231/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03231/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03231/output.2.txt b/public_test_cases/p03231/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03231/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03231/output.3.txt b/public_test_cases/p03231/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea90ee31980757b2e469741512bcb39e73494e78
--- /dev/null
+++ b/public_test_cases/p03231/output.3.txt
@@ -0,0 +1 @@
+45
diff --git a/public_test_cases/p03232/input.0.txt b/public_test_cases/p03232/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03232/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03232/input.1.txt b/public_test_cases/p03232/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d2d6078efd8f25f9d3adabb3327e3ee4c1507ca
--- /dev/null
+++ b/public_test_cases/p03232/input.1.txt
@@ -0,0 +1,2 @@
+10
+1 2 4 8 16 32 64 128 256 512
diff --git a/public_test_cases/p03232/input.2.txt b/public_test_cases/p03232/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03232/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03232/input.3.txt b/public_test_cases/p03232/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c95aee82892a809ab2db3e2c46a29df093e930e
--- /dev/null
+++ b/public_test_cases/p03232/input.3.txt
@@ -0,0 +1,2 @@
+4
+1 1 1 1
diff --git a/public_test_cases/p03232/output.0.txt b/public_test_cases/p03232/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03232/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03232/output.1.txt b/public_test_cases/p03232/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e192446fb50f1d61a6d28970d3edfe39dfcd54e
--- /dev/null
+++ b/public_test_cases/p03232/output.1.txt
@@ -0,0 +1 @@
+880971923
diff --git a/public_test_cases/p03232/output.2.txt b/public_test_cases/p03232/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03232/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03232/output.3.txt b/public_test_cases/p03232/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d389107a348aa189d7b862d7834120e53f2e3a5
--- /dev/null
+++ b/public_test_cases/p03232/output.3.txt
@@ -0,0 +1 @@
+212
diff --git a/public_test_cases/p03233/input.0.txt b/public_test_cases/p03233/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f908ca77cac93cb9623920ad5bb209f68496d6a9
--- /dev/null
+++ b/public_test_cases/p03233/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 5
+4 2
+6 3
diff --git a/public_test_cases/p03233/input.1.txt b/public_test_cases/p03233/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f908ca77cac93cb9623920ad5bb209f68496d6a9
--- /dev/null
+++ b/public_test_cases/p03233/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 5
+4 2
+6 3
diff --git a/public_test_cases/p03233/input.2.txt b/public_test_cases/p03233/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d8f0e3ce3b238f86a5959f56a763d9ed29d9bce
--- /dev/null
+++ b/public_test_cases/p03233/input.2.txt
@@ -0,0 +1,7 @@
+6
+19 92
+64 64
+78 48
+57 33
+73 6
+95 73
diff --git a/public_test_cases/p03233/input.3.txt b/public_test_cases/p03233/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2453ced7f4cb340c311a80f80ac8792457f2ed4
--- /dev/null
+++ b/public_test_cases/p03233/input.3.txt
@@ -0,0 +1,5 @@
+4
+1 5
+2 6
+3 7
+4 8
diff --git a/public_test_cases/p03233/output.0.txt b/public_test_cases/p03233/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03233/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03233/output.1.txt b/public_test_cases/p03233/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03233/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03233/output.2.txt b/public_test_cases/p03233/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c36bbdaa0ad81ad9b599c57286acee8a036a787
--- /dev/null
+++ b/public_test_cases/p03233/output.2.txt
@@ -0,0 +1 @@
+227
diff --git a/public_test_cases/p03233/output.3.txt b/public_test_cases/p03233/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03233/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03234/input.0.txt b/public_test_cases/p03234/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a74b3c2309d5dee0e16c0639409cbe4bfd6f1f9e
--- /dev/null
+++ b/public_test_cases/p03234/input.0.txt
@@ -0,0 +1 @@
+2 0
diff --git a/public_test_cases/p03234/input.1.txt b/public_test_cases/p03234/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a74b3c2309d5dee0e16c0639409cbe4bfd6f1f9e
--- /dev/null
+++ b/public_test_cases/p03234/input.1.txt
@@ -0,0 +1 @@
+2 0
diff --git a/public_test_cases/p03234/input.2.txt b/public_test_cases/p03234/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8559b2a005a38655fd142d9b46eb02ac5ed181b
--- /dev/null
+++ b/public_test_cases/p03234/input.2.txt
@@ -0,0 +1,11 @@
+20 10
+10 18
+11 17
+14 7
+4 6
+30 28
+19 24
+29 22
+25 32
+38 34
+36 39
diff --git a/public_test_cases/p03234/input.3.txt b/public_test_cases/p03234/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5ebb672b1c15c83a1c8798f857fa3eed3615cff
--- /dev/null
+++ b/public_test_cases/p03234/input.3.txt
@@ -0,0 +1,3 @@
+4 2
+5 2
+6 1
diff --git a/public_test_cases/p03234/output.0.txt b/public_test_cases/p03234/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03234/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03234/output.1.txt b/public_test_cases/p03234/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03234/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03234/output.2.txt b/public_test_cases/p03234/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9eddccdf797858c9172b0b8beffe5fe12855beb
--- /dev/null
+++ b/public_test_cases/p03234/output.2.txt
@@ -0,0 +1 @@
+27087418
diff --git a/public_test_cases/p03234/output.3.txt b/public_test_cases/p03234/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03234/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03235/input.0.txt b/public_test_cases/p03235/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15fb63603e6b062e96a257aebd09e6ef4041626f
--- /dev/null
+++ b/public_test_cases/p03235/input.0.txt
@@ -0,0 +1,2 @@
+6
+3 1 4 6 2 5
diff --git a/public_test_cases/p03235/input.1.txt b/public_test_cases/p03235/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15fb63603e6b062e96a257aebd09e6ef4041626f
--- /dev/null
+++ b/public_test_cases/p03235/input.1.txt
@@ -0,0 +1,2 @@
+6
+3 1 4 6 2 5
diff --git a/public_test_cases/p03235/input.2.txt b/public_test_cases/p03235/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66836c1aaa8b67b22a51ece863e9879d602d56c9
--- /dev/null
+++ b/public_test_cases/p03235/input.2.txt
@@ -0,0 +1,2 @@
+7
+1 3 2 5 6 4 7
diff --git a/public_test_cases/p03235/input.3.txt b/public_test_cases/p03235/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p03235/input.3.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p03235/input.4.txt b/public_test_cases/p03235/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90a217e14a3c7b97963b1127004f420c1f67bebd
--- /dev/null
+++ b/public_test_cases/p03235/input.4.txt
@@ -0,0 +1,2 @@
+30
+1 2 6 3 5 7 9 8 11 12 10 13 16 23 15 18 14 24 22 26 19 21 28 17 4 27 29 25 20 30
diff --git a/public_test_cases/p03235/output.0.txt b/public_test_cases/p03235/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b4c127d1d2f545cec1e200772b31526487baa6b
--- /dev/null
+++ b/public_test_cases/p03235/output.0.txt
@@ -0,0 +1 @@
+001001
diff --git a/public_test_cases/p03235/output.1.txt b/public_test_cases/p03235/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b4c127d1d2f545cec1e200772b31526487baa6b
--- /dev/null
+++ b/public_test_cases/p03235/output.1.txt
@@ -0,0 +1 @@
+001001
diff --git a/public_test_cases/p03235/output.2.txt b/public_test_cases/p03235/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24a5c3c739e675ce2a03a77cdbcf48169bb07ea6
--- /dev/null
+++ b/public_test_cases/p03235/output.2.txt
@@ -0,0 +1 @@
+0001101
diff --git a/public_test_cases/p03235/output.3.txt b/public_test_cases/p03235/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03235/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03235/output.4.txt b/public_test_cases/p03235/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a197f3957087e4adb07b42efca7604eb2372acfa
--- /dev/null
+++ b/public_test_cases/p03235/output.4.txt
@@ -0,0 +1 @@
+000000000001100101010010011101
diff --git a/public_test_cases/p03236/input.0.txt b/public_test_cases/p03236/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fa92d2137692b40ccc8c01d53ca5977ca44843b
--- /dev/null
+++ b/public_test_cases/p03236/input.0.txt
@@ -0,0 +1,3 @@
+2
+11
+11
diff --git a/public_test_cases/p03236/input.1.txt b/public_test_cases/p03236/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b7899dc150fd28df1cf759c5d9a4a4067c73bc4
--- /dev/null
+++ b/public_test_cases/p03236/input.1.txt
@@ -0,0 +1,5 @@
+4
+1111
+11#1
+1#11
+1111
diff --git a/public_test_cases/p03236/input.2.txt b/public_test_cases/p03236/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb6cefea98b618ccdd5141a2c09fffcf47fe8eff
--- /dev/null
+++ b/public_test_cases/p03236/input.2.txt
@@ -0,0 +1,11 @@
+10
+4177143673
+7#########
+5#1716155#
+6#4#####5#
+2#3#597#6#
+6#9#8#3#5#
+5#2#899#9#
+1#6#####6#
+6#5359657#
+5#########
diff --git a/public_test_cases/p03236/input.3.txt b/public_test_cases/p03236/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cfb780db20c1607132d0eb52761fa02938f6c69
--- /dev/null
+++ b/public_test_cases/p03236/input.3.txt
@@ -0,0 +1,11 @@
+10
+76##63##3#
+8445669721
+75#9542133
+3#285##445
+749632##89
+2458##9515
+5952578#77
+1#3#44196#
+4355#99#1#
+298#63587
diff --git a/public_test_cases/p03236/input.4.txt b/public_test_cases/p03236/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fa92d2137692b40ccc8c01d53ca5977ca44843b
--- /dev/null
+++ b/public_test_cases/p03236/input.4.txt
@@ -0,0 +1,3 @@
+2
+11
+11
diff --git a/public_test_cases/p03236/output.0.txt b/public_test_cases/p03236/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03236/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03236/output.1.txt b/public_test_cases/p03236/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abac1ea7b759d8258c9ad9e5b450f782aaa33374
--- /dev/null
+++ b/public_test_cases/p03236/output.1.txt
@@ -0,0 +1 @@
+47
diff --git a/public_test_cases/p03236/output.2.txt b/public_test_cases/p03236/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dac21a5739ac8f9346c9ee568e38df7623358535
--- /dev/null
+++ b/public_test_cases/p03236/output.2.txt
@@ -0,0 +1 @@
+6525
diff --git a/public_test_cases/p03236/output.3.txt b/public_test_cases/p03236/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e7ebbeeece66d2c3e9a5429b9b4b5d911f32a37
--- /dev/null
+++ b/public_test_cases/p03236/output.3.txt
@@ -0,0 +1 @@
+36065
diff --git a/public_test_cases/p03236/output.4.txt b/public_test_cases/p03236/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03236/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03237/input.0.txt b/public_test_cases/p03237/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fa92d2137692b40ccc8c01d53ca5977ca44843b
--- /dev/null
+++ b/public_test_cases/p03237/input.0.txt
@@ -0,0 +1,3 @@
+2
+11
+11
diff --git a/public_test_cases/p03237/output.0.txt b/public_test_cases/p03237/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03237/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03238/input.0.txt b/public_test_cases/p03238/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03238/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03238/input.1.txt b/public_test_cases/p03238/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03238/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03238/input.2.txt b/public_test_cases/p03238/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e543d3934759d715ac9ca39e71e2b14a992e64e0
--- /dev/null
+++ b/public_test_cases/p03238/input.2.txt
@@ -0,0 +1,3 @@
+2
+3
+5
diff --git a/public_test_cases/p03238/output.0.txt b/public_test_cases/p03238/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..557db03de997c86a4a028e1ebd3a1ceb225be238
--- /dev/null
+++ b/public_test_cases/p03238/output.0.txt
@@ -0,0 +1 @@
+Hello World
diff --git a/public_test_cases/p03238/output.1.txt b/public_test_cases/p03238/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..557db03de997c86a4a028e1ebd3a1ceb225be238
--- /dev/null
+++ b/public_test_cases/p03238/output.1.txt
@@ -0,0 +1 @@
+Hello World
diff --git a/public_test_cases/p03238/output.2.txt b/public_test_cases/p03238/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03238/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03239/input.0.txt b/public_test_cases/p03239/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67634bfb2f0e2953fabb1d26f69599da22062b44
--- /dev/null
+++ b/public_test_cases/p03239/input.0.txt
@@ -0,0 +1,4 @@
+3 70
+7 60
+1 80
+4 50
diff --git a/public_test_cases/p03239/input.1.txt b/public_test_cases/p03239/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fda400e84eee96325bbce286ecaaa3a0faf25bc9
--- /dev/null
+++ b/public_test_cases/p03239/input.1.txt
@@ -0,0 +1,5 @@
+4 3
+1 1000
+2 4
+3 1000
+4 500
diff --git a/public_test_cases/p03239/input.2.txt b/public_test_cases/p03239/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62d19bb4f1ba102353bbb3d35e6769421a9c6822
--- /dev/null
+++ b/public_test_cases/p03239/input.2.txt
@@ -0,0 +1,6 @@
+5 9
+25 8
+5 9
+4 10
+1000 1000
+6 1
diff --git a/public_test_cases/p03239/input.3.txt b/public_test_cases/p03239/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67634bfb2f0e2953fabb1d26f69599da22062b44
--- /dev/null
+++ b/public_test_cases/p03239/input.3.txt
@@ -0,0 +1,4 @@
+3 70
+7 60
+1 80
+4 50
diff --git a/public_test_cases/p03239/output.0.txt b/public_test_cases/p03239/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03239/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03239/output.1.txt b/public_test_cases/p03239/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91ddb053fc4a95de53f0a59990dc9bcab464083c
--- /dev/null
+++ b/public_test_cases/p03239/output.1.txt
@@ -0,0 +1 @@
+TLE
diff --git a/public_test_cases/p03239/output.2.txt b/public_test_cases/p03239/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03239/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03239/output.3.txt b/public_test_cases/p03239/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03239/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03240/input.0.txt b/public_test_cases/p03240/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63032121c49804ad689c19108179089bc1138eee
--- /dev/null
+++ b/public_test_cases/p03240/input.0.txt
@@ -0,0 +1,5 @@
+4
+2 3 5
+2 1 5
+1 2 5
+3 2 5
diff --git a/public_test_cases/p03240/input.1.txt b/public_test_cases/p03240/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da51b2edb1f4cde56471062e8f3c7dc93d800cba
--- /dev/null
+++ b/public_test_cases/p03240/input.1.txt
@@ -0,0 +1,3 @@
+2
+0 0 100
+1 1 98
diff --git a/public_test_cases/p03240/input.2.txt b/public_test_cases/p03240/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a05b1f074ab00cca332590fd2b8f3bd1088d8c73
--- /dev/null
+++ b/public_test_cases/p03240/input.2.txt
@@ -0,0 +1,4 @@
+3
+99 1 191
+100 1 192
+99 0 192
diff --git a/public_test_cases/p03240/input.3.txt b/public_test_cases/p03240/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63032121c49804ad689c19108179089bc1138eee
--- /dev/null
+++ b/public_test_cases/p03240/input.3.txt
@@ -0,0 +1,5 @@
+4
+2 3 5
+2 1 5
+1 2 5
+3 2 5
diff --git a/public_test_cases/p03240/output.0.txt b/public_test_cases/p03240/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a208c99c8afd9ba51e5e94d65219bc1c44556d20
--- /dev/null
+++ b/public_test_cases/p03240/output.0.txt
@@ -0,0 +1 @@
+2 2 6
diff --git a/public_test_cases/p03240/output.1.txt b/public_test_cases/p03240/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45bc3d6dc22c5a70fe6bc70d32b06a73b5aab9db
--- /dev/null
+++ b/public_test_cases/p03240/output.1.txt
@@ -0,0 +1 @@
+0 0 100
diff --git a/public_test_cases/p03240/output.2.txt b/public_test_cases/p03240/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b7c9edd687117b85e5f30ac0381be735d20c563
--- /dev/null
+++ b/public_test_cases/p03240/output.2.txt
@@ -0,0 +1 @@
+100 0 193
diff --git a/public_test_cases/p03240/output.3.txt b/public_test_cases/p03240/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a208c99c8afd9ba51e5e94d65219bc1c44556d20
--- /dev/null
+++ b/public_test_cases/p03240/output.3.txt
@@ -0,0 +1 @@
+2 2 6
diff --git a/public_test_cases/p03241/input.0.txt b/public_test_cases/p03241/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9bc2800face87e33ba810a198560950690ca0e6
--- /dev/null
+++ b/public_test_cases/p03241/input.0.txt
@@ -0,0 +1 @@
+3 14
diff --git a/public_test_cases/p03241/input.1.txt b/public_test_cases/p03241/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9899c3bd1754fa01da000a33c17b695e3ceaa0f
--- /dev/null
+++ b/public_test_cases/p03241/input.1.txt
@@ -0,0 +1 @@
+10 123
diff --git a/public_test_cases/p03241/input.2.txt b/public_test_cases/p03241/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9bc2800face87e33ba810a198560950690ca0e6
--- /dev/null
+++ b/public_test_cases/p03241/input.2.txt
@@ -0,0 +1 @@
+3 14
diff --git a/public_test_cases/p03241/input.3.txt b/public_test_cases/p03241/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d9e4c999f442f753c7031ae06a02ac94f70f80c
--- /dev/null
+++ b/public_test_cases/p03241/input.3.txt
@@ -0,0 +1 @@
+100000 1000000000
diff --git a/public_test_cases/p03241/output.0.txt b/public_test_cases/p03241/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03241/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03241/output.1.txt b/public_test_cases/p03241/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03241/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03241/output.2.txt b/public_test_cases/p03241/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03241/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03241/output.3.txt b/public_test_cases/p03241/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5caff40c4a0ce4ed0dcb3aa983da623641af1b06
--- /dev/null
+++ b/public_test_cases/p03241/output.3.txt
@@ -0,0 +1 @@
+10000
diff --git a/public_test_cases/p03242/input.0.txt b/public_test_cases/p03242/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..078fa0fe576b141de649b5439c1fbebbb391dff4
--- /dev/null
+++ b/public_test_cases/p03242/input.0.txt
@@ -0,0 +1 @@
+119
diff --git a/public_test_cases/p03242/input.1.txt b/public_test_cases/p03242/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..078fa0fe576b141de649b5439c1fbebbb391dff4
--- /dev/null
+++ b/public_test_cases/p03242/input.1.txt
@@ -0,0 +1 @@
+119
diff --git a/public_test_cases/p03242/input.2.txt b/public_test_cases/p03242/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6905f8ba447c0116590e38b2430151b506b1611
--- /dev/null
+++ b/public_test_cases/p03242/input.2.txt
@@ -0,0 +1 @@
+999
diff --git a/public_test_cases/p03242/output.0.txt b/public_test_cases/p03242/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1724ded9d64c1d33bf4fb66198c1dcb6cf0f141
--- /dev/null
+++ b/public_test_cases/p03242/output.0.txt
@@ -0,0 +1 @@
+991
diff --git a/public_test_cases/p03242/output.1.txt b/public_test_cases/p03242/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1724ded9d64c1d33bf4fb66198c1dcb6cf0f141
--- /dev/null
+++ b/public_test_cases/p03242/output.1.txt
@@ -0,0 +1 @@
+991
diff --git a/public_test_cases/p03242/output.2.txt b/public_test_cases/p03242/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p03242/output.2.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p03243/input.0.txt b/public_test_cases/p03243/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p03243/input.0.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p03243/input.1.txt b/public_test_cases/p03243/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9beea1f9dc6e3e79bfb53017a387a2caf78cf203
--- /dev/null
+++ b/public_test_cases/p03243/input.1.txt
@@ -0,0 +1 @@
+750
diff --git a/public_test_cases/p03243/input.2.txt b/public_test_cases/p03243/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..194b81caae1cb16aa059ce147a1e2e74206999af
--- /dev/null
+++ b/public_test_cases/p03243/input.2.txt
@@ -0,0 +1 @@
+112
diff --git a/public_test_cases/p03243/input.3.txt b/public_test_cases/p03243/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p03243/input.3.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p03243/output.0.txt b/public_test_cases/p03243/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p03243/output.0.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p03243/output.1.txt b/public_test_cases/p03243/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e68a0f7e9e1d2da6cdabd3d1588fc2eaa0c9e64
--- /dev/null
+++ b/public_test_cases/p03243/output.1.txt
@@ -0,0 +1 @@
+777
diff --git a/public_test_cases/p03243/output.2.txt b/public_test_cases/p03243/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c200906efd24ec5e783bee7f23b5d7c941b0c12c
--- /dev/null
+++ b/public_test_cases/p03243/output.2.txt
@@ -0,0 +1 @@
+222
diff --git a/public_test_cases/p03243/output.3.txt b/public_test_cases/p03243/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9bdf9d017fcd178dc8c073cbfcbb7ff240d6c
--- /dev/null
+++ b/public_test_cases/p03243/output.3.txt
@@ -0,0 +1 @@
+111
diff --git a/public_test_cases/p03244/input.0.txt b/public_test_cases/p03244/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..735df2c0fb36bccf1e31d09bf674e0e698da9de4
--- /dev/null
+++ b/public_test_cases/p03244/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 1 3 2
diff --git a/public_test_cases/p03244/input.1.txt b/public_test_cases/p03244/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..735df2c0fb36bccf1e31d09bf674e0e698da9de4
--- /dev/null
+++ b/public_test_cases/p03244/input.1.txt
@@ -0,0 +1,2 @@
+4
+3 1 3 2
diff --git a/public_test_cases/p03244/input.2.txt b/public_test_cases/p03244/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c95aee82892a809ab2db3e2c46a29df093e930e
--- /dev/null
+++ b/public_test_cases/p03244/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 1 1 1
diff --git a/public_test_cases/p03244/input.3.txt b/public_test_cases/p03244/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff0e3528a59aa94ec4368d7a8b50e87577f8220d
--- /dev/null
+++ b/public_test_cases/p03244/input.3.txt
@@ -0,0 +1,2 @@
+6
+105 119 105 119 105 119
diff --git a/public_test_cases/p03244/output.0.txt b/public_test_cases/p03244/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03244/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03244/output.1.txt b/public_test_cases/p03244/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03244/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03244/output.2.txt b/public_test_cases/p03244/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03244/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03244/output.3.txt b/public_test_cases/p03244/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03244/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03245/input.0.txt b/public_test_cases/p03245/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3e86896d106eb3646be66f92fa2d418f5c48704
--- /dev/null
+++ b/public_test_cases/p03245/input.0.txt
@@ -0,0 +1,4 @@
+3
+-1 0
+0 3
+2 -1
diff --git a/public_test_cases/p03245/input.1.txt b/public_test_cases/p03245/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd29bee20df23dd8c9c7b5df08c2fffa67dc3a0
--- /dev/null
+++ b/public_test_cases/p03245/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 1
+1 1
diff --git a/public_test_cases/p03245/input.2.txt b/public_test_cases/p03245/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..adaf2fe5147529cc724e7474501754b9a861eca8
--- /dev/null
+++ b/public_test_cases/p03245/input.2.txt
@@ -0,0 +1,6 @@
+5
+0 0
+1 0
+2 0
+3 0
+4 0
diff --git a/public_test_cases/p03245/input.3.txt b/public_test_cases/p03245/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37a4ccff852194eb838d0d63c3c041f3413fad1b
--- /dev/null
+++ b/public_test_cases/p03245/input.3.txt
@@ -0,0 +1,4 @@
+3
+-7 -3
+7 3
+-3 -7
diff --git a/public_test_cases/p03245/input.4.txt b/public_test_cases/p03245/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3e86896d106eb3646be66f92fa2d418f5c48704
--- /dev/null
+++ b/public_test_cases/p03245/input.4.txt
@@ -0,0 +1,4 @@
+3
+-1 0
+0 3
+2 -1
diff --git a/public_test_cases/p03245/output.0.txt b/public_test_cases/p03245/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7df4b889998de484b858d4ba1284194fe717ad94
--- /dev/null
+++ b/public_test_cases/p03245/output.0.txt
@@ -0,0 +1,5 @@
+2
+1 2
+RL
+UU
+DR
diff --git a/public_test_cases/p03245/output.1.txt b/public_test_cases/p03245/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d97be88735d3fc80f8f964d094dbd3c8d000ab57
--- /dev/null
+++ b/public_test_cases/p03245/output.1.txt
@@ -0,0 +1,4 @@
+2
+1 1
+RU
+UR
diff --git a/public_test_cases/p03245/output.2.txt b/public_test_cases/p03245/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03245/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03245/output.3.txt b/public_test_cases/p03245/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9438550b621a587448d7c913f6a49b8648228d4
--- /dev/null
+++ b/public_test_cases/p03245/output.3.txt
@@ -0,0 +1,5 @@
+5
+3 1 4 1 5
+LRDUL
+RDULR
+DULRD
diff --git a/public_test_cases/p03245/output.4.txt b/public_test_cases/p03245/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7df4b889998de484b858d4ba1284194fe717ad94
--- /dev/null
+++ b/public_test_cases/p03245/output.4.txt
@@ -0,0 +1,5 @@
+2
+1 2
+RL
+UU
+DR
diff --git a/public_test_cases/p03246/input.0.txt b/public_test_cases/p03246/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..735df2c0fb36bccf1e31d09bf674e0e698da9de4
--- /dev/null
+++ b/public_test_cases/p03246/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 1 3 2
diff --git a/public_test_cases/p03246/output.0.txt b/public_test_cases/p03246/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03246/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03247/input.0.txt b/public_test_cases/p03247/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3e86896d106eb3646be66f92fa2d418f5c48704
--- /dev/null
+++ b/public_test_cases/p03247/input.0.txt
@@ -0,0 +1,4 @@
+3
+-1 0
+0 3
+2 -1
diff --git a/public_test_cases/p03247/output.0.txt b/public_test_cases/p03247/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7df4b889998de484b858d4ba1284194fe717ad94
--- /dev/null
+++ b/public_test_cases/p03247/output.0.txt
@@ -0,0 +1,5 @@
+2
+1 2
+RL
+UU
+DR
diff --git a/public_test_cases/p03248/input.0.txt b/public_test_cases/p03248/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f2f16bfff90e6620509c0cf442e7a3586dad8fb
--- /dev/null
+++ b/public_test_cases/p03248/input.0.txt
@@ -0,0 +1 @@
+1111
diff --git a/public_test_cases/p03248/input.1.txt b/public_test_cases/p03248/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a75ff76190b66939608d9c42715f8d2bcbcd059
--- /dev/null
+++ b/public_test_cases/p03248/input.1.txt
@@ -0,0 +1 @@
+1110
diff --git a/public_test_cases/p03248/input.2.txt b/public_test_cases/p03248/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f2f16bfff90e6620509c0cf442e7a3586dad8fb
--- /dev/null
+++ b/public_test_cases/p03248/input.2.txt
@@ -0,0 +1 @@
+1111
diff --git a/public_test_cases/p03248/input.3.txt b/public_test_cases/p03248/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52a9f4e2bf4dbf248ddc2526cfbf33a95f7d1c8a
--- /dev/null
+++ b/public_test_cases/p03248/input.3.txt
@@ -0,0 +1 @@
+1010
diff --git a/public_test_cases/p03248/output.0.txt b/public_test_cases/p03248/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03248/output.0.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03248/output.1.txt b/public_test_cases/p03248/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b3ea1fba35fe7eadfb434fb32c48709e71523a4
--- /dev/null
+++ b/public_test_cases/p03248/output.1.txt
@@ -0,0 +1,3 @@
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p03248/output.2.txt b/public_test_cases/p03248/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03248/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03248/output.3.txt b/public_test_cases/p03248/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8abf5b5fd0818df65517d3961a20b5c7b234f5ac
--- /dev/null
+++ b/public_test_cases/p03248/output.3.txt
@@ -0,0 +1,3 @@
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p03249/input.0.txt b/public_test_cases/p03249/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d99e6647d78802b137e877c898ebfe187607af6c
--- /dev/null
+++ b/public_test_cases/p03249/input.0.txt
@@ -0,0 +1,8 @@
+7
+10
+15
+13
+18
+11
+14
+19
diff --git a/public_test_cases/p03249/input.1.txt b/public_test_cases/p03249/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4194e5816d3c3f3c75e17880d9d7f9a96e630bab
--- /dev/null
+++ b/public_test_cases/p03249/input.1.txt
@@ -0,0 +1,16 @@
+15
+57
+62
+47
+45
+42
+74
+90
+75
+54
+50
+66
+63
+77
+87
+51
diff --git a/public_test_cases/p03249/input.2.txt b/public_test_cases/p03249/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5357a4ab725b414041284c4c3279bd75c1709068
--- /dev/null
+++ b/public_test_cases/p03249/input.2.txt
@@ -0,0 +1,3 @@
+2
+1
+2
diff --git a/public_test_cases/p03249/input.3.txt b/public_test_cases/p03249/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d99e6647d78802b137e877c898ebfe187607af6c
--- /dev/null
+++ b/public_test_cases/p03249/input.3.txt
@@ -0,0 +1,8 @@
+7
+10
+15
+13
+18
+11
+14
+19
diff --git a/public_test_cases/p03249/output.0.txt b/public_test_cases/p03249/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f77c76347f2547d63b39da43f3c771d7ba478c2
--- /dev/null
+++ b/public_test_cases/p03249/output.0.txt
@@ -0,0 +1,6 @@
+1 2
+1 3
+1 5
+3 4
+5 6
+6 7
diff --git a/public_test_cases/p03249/output.1.txt b/public_test_cases/p03249/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af4ba370eb0de98b5fd92c72e420341498aa97a5
--- /dev/null
+++ b/public_test_cases/p03249/output.1.txt
@@ -0,0 +1,14 @@
+1 10
+1 11
+2 8
+2 15
+3 5
+3 9
+4 5
+4 10
+5 15
+6 12
+6 14
+7 13
+9 12
+11 13
diff --git a/public_test_cases/p03249/output.2.txt b/public_test_cases/p03249/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03249/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03249/output.3.txt b/public_test_cases/p03249/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f77c76347f2547d63b39da43f3c771d7ba478c2
--- /dev/null
+++ b/public_test_cases/p03249/output.3.txt
@@ -0,0 +1,6 @@
+1 2
+1 3
+1 5
+3 4
+5 6
+6 7
diff --git a/public_test_cases/p03250/input.0.txt b/public_test_cases/p03250/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2434f51bd5b2c6bc55c86f04e54e78d5e756eaba
--- /dev/null
+++ b/public_test_cases/p03250/input.0.txt
@@ -0,0 +1 @@
+1 5 2
diff --git a/public_test_cases/p03250/input.1.txt b/public_test_cases/p03250/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01dcddcee7cf7ebf22f1897a92e8c041ffb8cdf7
--- /dev/null
+++ b/public_test_cases/p03250/input.1.txt
@@ -0,0 +1 @@
+9 9 9
diff --git a/public_test_cases/p03250/input.2.txt b/public_test_cases/p03250/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2434f51bd5b2c6bc55c86f04e54e78d5e756eaba
--- /dev/null
+++ b/public_test_cases/p03250/input.2.txt
@@ -0,0 +1 @@
+1 5 2
diff --git a/public_test_cases/p03250/input.3.txt b/public_test_cases/p03250/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7a6d513c796b11c1b23d0369cb3689f6b86d9e1
--- /dev/null
+++ b/public_test_cases/p03250/input.3.txt
@@ -0,0 +1 @@
+6 6 7
diff --git a/public_test_cases/p03250/output.0.txt b/public_test_cases/p03250/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59343b09ec765366a5b0ac04196385079acd864e
--- /dev/null
+++ b/public_test_cases/p03250/output.0.txt
@@ -0,0 +1 @@
+53
diff --git a/public_test_cases/p03250/output.1.txt b/public_test_cases/p03250/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b20426c05051ed8bd8c8cc632573c194e57809c
--- /dev/null
+++ b/public_test_cases/p03250/output.1.txt
@@ -0,0 +1 @@
+108
diff --git a/public_test_cases/p03250/output.2.txt b/public_test_cases/p03250/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59343b09ec765366a5b0ac04196385079acd864e
--- /dev/null
+++ b/public_test_cases/p03250/output.2.txt
@@ -0,0 +1 @@
+53
diff --git a/public_test_cases/p03250/output.3.txt b/public_test_cases/p03250/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dde92ddc1a594acd912b467305f36d9f26da45f3
--- /dev/null
+++ b/public_test_cases/p03250/output.3.txt
@@ -0,0 +1 @@
+82
diff --git a/public_test_cases/p03251/input.0.txt b/public_test_cases/p03251/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..666d3e09330af7aeb2701c3570591fe97d074504
--- /dev/null
+++ b/public_test_cases/p03251/input.0.txt
@@ -0,0 +1,3 @@
+3 2 10 20
+8 15 13
+16 22
diff --git a/public_test_cases/p03251/input.1.txt b/public_test_cases/p03251/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..666d3e09330af7aeb2701c3570591fe97d074504
--- /dev/null
+++ b/public_test_cases/p03251/input.1.txt
@@ -0,0 +1,3 @@
+3 2 10 20
+8 15 13
+16 22
diff --git a/public_test_cases/p03251/input.2.txt b/public_test_cases/p03251/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef7af75247af7207eee2f5e65f192584bc6b6d2b
--- /dev/null
+++ b/public_test_cases/p03251/input.2.txt
@@ -0,0 +1,3 @@
+4 2 -48 -1
+-20 -35 -91 -23
+-22 66
diff --git a/public_test_cases/p03251/input.3.txt b/public_test_cases/p03251/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..941cdab31e802601338e080b7d9fc22336949b2b
--- /dev/null
+++ b/public_test_cases/p03251/input.3.txt
@@ -0,0 +1,3 @@
+5 3 6 8
+-10 3 1 5 -100
+100 6 14
diff --git a/public_test_cases/p03251/output.0.txt b/public_test_cases/p03251/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5df93fee1e2b3a939720ffcc17aee84aea5ce85e
--- /dev/null
+++ b/public_test_cases/p03251/output.0.txt
@@ -0,0 +1 @@
+No War
diff --git a/public_test_cases/p03251/output.1.txt b/public_test_cases/p03251/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5df93fee1e2b3a939720ffcc17aee84aea5ce85e
--- /dev/null
+++ b/public_test_cases/p03251/output.1.txt
@@ -0,0 +1 @@
+No War
diff --git a/public_test_cases/p03251/output.2.txt b/public_test_cases/p03251/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb239f33ec8eeeb6c45fcdab382818af9786b514
--- /dev/null
+++ b/public_test_cases/p03251/output.2.txt
@@ -0,0 +1 @@
+War
diff --git a/public_test_cases/p03251/output.3.txt b/public_test_cases/p03251/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb239f33ec8eeeb6c45fcdab382818af9786b514
--- /dev/null
+++ b/public_test_cases/p03251/output.3.txt
@@ -0,0 +1 @@
+War
diff --git a/public_test_cases/p03252/input.0.txt b/public_test_cases/p03252/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b27567ef2afae6a0ea1fb28fe647889146a464a7
--- /dev/null
+++ b/public_test_cases/p03252/input.0.txt
@@ -0,0 +1,2 @@
+azzel
+apple
diff --git a/public_test_cases/p03252/input.1.txt b/public_test_cases/p03252/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b27567ef2afae6a0ea1fb28fe647889146a464a7
--- /dev/null
+++ b/public_test_cases/p03252/input.1.txt
@@ -0,0 +1,2 @@
+azzel
+apple
diff --git a/public_test_cases/p03252/input.2.txt b/public_test_cases/p03252/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb1fdb666f782e6e9b17f0820987aed0cc663914
--- /dev/null
+++ b/public_test_cases/p03252/input.2.txt
@@ -0,0 +1,2 @@
+abcdefghijklmnopqrstuvwxyz
+ibyhqfrekavclxjstdwgpzmonu
diff --git a/public_test_cases/p03252/input.3.txt b/public_test_cases/p03252/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..260634f6d4a27c636685fac40c717f5a6c5edae6
--- /dev/null
+++ b/public_test_cases/p03252/input.3.txt
@@ -0,0 +1,2 @@
+chokudai
+redcoder
diff --git a/public_test_cases/p03252/output.0.txt b/public_test_cases/p03252/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03252/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03252/output.1.txt b/public_test_cases/p03252/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03252/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03252/output.2.txt b/public_test_cases/p03252/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03252/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03252/output.3.txt b/public_test_cases/p03252/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03252/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03253/input.0.txt b/public_test_cases/p03253/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d69ecad4f4c9b19aa64952e3ea2a201bc20cbc2c
--- /dev/null
+++ b/public_test_cases/p03253/input.0.txt
@@ -0,0 +1 @@
+2 6
diff --git a/public_test_cases/p03253/input.1.txt b/public_test_cases/p03253/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce3eb3a220b853cca5a8554639527a98a8613aae
--- /dev/null
+++ b/public_test_cases/p03253/input.1.txt
@@ -0,0 +1 @@
+3 12
diff --git a/public_test_cases/p03253/input.2.txt b/public_test_cases/p03253/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d69ecad4f4c9b19aa64952e3ea2a201bc20cbc2c
--- /dev/null
+++ b/public_test_cases/p03253/input.2.txt
@@ -0,0 +1 @@
+2 6
diff --git a/public_test_cases/p03253/input.3.txt b/public_test_cases/p03253/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d9e4c999f442f753c7031ae06a02ac94f70f80c
--- /dev/null
+++ b/public_test_cases/p03253/input.3.txt
@@ -0,0 +1 @@
+100000 1000000000
diff --git a/public_test_cases/p03253/output.0.txt b/public_test_cases/p03253/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03253/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03253/output.1.txt b/public_test_cases/p03253/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03253/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03253/output.2.txt b/public_test_cases/p03253/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03253/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03253/output.3.txt b/public_test_cases/p03253/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc262d000ba1ceb367060f6a331f6e2f3eb23878
--- /dev/null
+++ b/public_test_cases/p03253/output.3.txt
@@ -0,0 +1 @@
+957870001
diff --git a/public_test_cases/p03254/input.0.txt b/public_test_cases/p03254/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7543258cd51e0b93932495012534052122f3aab1
--- /dev/null
+++ b/public_test_cases/p03254/input.0.txt
@@ -0,0 +1,2 @@
+3 70
+20 30 10
diff --git a/public_test_cases/p03254/input.1.txt b/public_test_cases/p03254/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b10b3866b4dbee2e395a1e7b3ed74d81a6061f52
--- /dev/null
+++ b/public_test_cases/p03254/input.1.txt
@@ -0,0 +1,2 @@
+4 1111
+1 10 100 1000
diff --git a/public_test_cases/p03254/input.2.txt b/public_test_cases/p03254/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7543258cd51e0b93932495012534052122f3aab1
--- /dev/null
+++ b/public_test_cases/p03254/input.2.txt
@@ -0,0 +1,2 @@
+3 70
+20 30 10
diff --git a/public_test_cases/p03254/input.3.txt b/public_test_cases/p03254/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d395d6c6d5ce924587c3fc66a9e1a12a68285c0
--- /dev/null
+++ b/public_test_cases/p03254/input.3.txt
@@ -0,0 +1,2 @@
+3 10
+20 30 10
diff --git a/public_test_cases/p03254/input.4.txt b/public_test_cases/p03254/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c00cd734851046e43f9c02824073e04cce22d19c
--- /dev/null
+++ b/public_test_cases/p03254/input.4.txt
@@ -0,0 +1,2 @@
+2 10
+20 20
diff --git a/public_test_cases/p03254/output.0.txt b/public_test_cases/p03254/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03254/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03254/output.1.txt b/public_test_cases/p03254/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03254/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03254/output.2.txt b/public_test_cases/p03254/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03254/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03254/output.3.txt b/public_test_cases/p03254/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03254/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03254/output.4.txt b/public_test_cases/p03254/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03254/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03255/input.0.txt b/public_test_cases/p03255/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c50360ea4ff1a8b189e2aa5529c81b1bf298dd1
--- /dev/null
+++ b/public_test_cases/p03255/input.0.txt
@@ -0,0 +1,2 @@
+2 100
+1 10
diff --git a/public_test_cases/p03255/input.1.txt b/public_test_cases/p03255/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53f8f936236bc9dc549c1b139945fa42812ba8e8
--- /dev/null
+++ b/public_test_cases/p03255/input.1.txt
@@ -0,0 +1,2 @@
+5 1
+1 999999997 999999998 999999999 1000000000
diff --git a/public_test_cases/p03255/input.2.txt b/public_test_cases/p03255/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0124283a24b1fa478d8b551617bcd108d8b04840
--- /dev/null
+++ b/public_test_cases/p03255/input.2.txt
@@ -0,0 +1,2 @@
+16 10
+1 7 12 27 52 75 731 13856 395504 534840 1276551 2356789 9384806 19108104 82684732 535447408
diff --git a/public_test_cases/p03255/input.3.txt b/public_test_cases/p03255/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c50360ea4ff1a8b189e2aa5529c81b1bf298dd1
--- /dev/null
+++ b/public_test_cases/p03255/input.3.txt
@@ -0,0 +1,2 @@
+2 100
+1 10
diff --git a/public_test_cases/p03255/input.4.txt b/public_test_cases/p03255/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd4de06f60e38aa22ebc33e827241770e2de9553
--- /dev/null
+++ b/public_test_cases/p03255/input.4.txt
@@ -0,0 +1,2 @@
+10 8851025
+38 87 668 3175 22601 65499 90236 790604 4290609 4894746
diff --git a/public_test_cases/p03255/output.0.txt b/public_test_cases/p03255/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8941db590596b8073da15204306ddb6ba40c3f0f
--- /dev/null
+++ b/public_test_cases/p03255/output.0.txt
@@ -0,0 +1 @@
+355
diff --git a/public_test_cases/p03255/output.1.txt b/public_test_cases/p03255/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ce9aa7633a77c23f0bd3cd5ae5911f20092857f
--- /dev/null
+++ b/public_test_cases/p03255/output.1.txt
@@ -0,0 +1 @@
+19999999983
diff --git a/public_test_cases/p03255/output.2.txt b/public_test_cases/p03255/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67d31b2d27a6186bca8ae230736c7277afdfb20f
--- /dev/null
+++ b/public_test_cases/p03255/output.2.txt
@@ -0,0 +1 @@
+3256017715
diff --git a/public_test_cases/p03255/output.3.txt b/public_test_cases/p03255/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8941db590596b8073da15204306ddb6ba40c3f0f
--- /dev/null
+++ b/public_test_cases/p03255/output.3.txt
@@ -0,0 +1 @@
+355
diff --git a/public_test_cases/p03255/output.4.txt b/public_test_cases/p03255/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27bdbad9b5fc16677c97e53941b8a1edccf83059
--- /dev/null
+++ b/public_test_cases/p03255/output.4.txt
@@ -0,0 +1 @@
+150710136
diff --git a/public_test_cases/p03256/input.0.txt b/public_test_cases/p03256/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5afbbb473d52a1b046639c3e6a68f920a46bfdb6
--- /dev/null
+++ b/public_test_cases/p03256/input.0.txt
@@ -0,0 +1,5 @@
+2 3
+AB
+1 1
+1 2
+2 2
diff --git a/public_test_cases/p03256/input.1.txt b/public_test_cases/p03256/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ec2e708caf35b60a916d43e00d5e02db6cb096f
--- /dev/null
+++ b/public_test_cases/p03256/input.1.txt
@@ -0,0 +1,19 @@
+13 17
+BBABBBAABABBA
+7 1
+7 9
+11 12
+3 9
+11 9
+2 1
+11 5
+12 11
+10 8
+1 11
+1 8
+7 7
+9 10
+8 8
+8 12
+6 2
+13 11
diff --git a/public_test_cases/p03256/input.2.txt b/public_test_cases/p03256/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5afbbb473d52a1b046639c3e6a68f920a46bfdb6
--- /dev/null
+++ b/public_test_cases/p03256/input.2.txt
@@ -0,0 +1,5 @@
+2 3
+AB
+1 1
+1 2
+2 2
diff --git a/public_test_cases/p03256/input.3.txt b/public_test_cases/p03256/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2905b0f8b5f70d2c45e44d6e58401fb11623be32
--- /dev/null
+++ b/public_test_cases/p03256/input.3.txt
@@ -0,0 +1,5 @@
+4 3
+ABAB
+1 2
+2 3
+3 1
diff --git a/public_test_cases/p03256/input.4.txt b/public_test_cases/p03256/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58780d369895c47f6e0015ab30f2567bbb2c0d94
--- /dev/null
+++ b/public_test_cases/p03256/input.4.txt
@@ -0,0 +1,25 @@
+13 23
+ABAAAABBBBAAB
+7 1
+10 6
+1 11
+2 10
+2 8
+2 11
+11 12
+8 3
+7 12
+11 2
+13 13
+11 9
+4 1
+9 7
+9 6
+8 13
+8 6
+4 10
+8 7
+4 3
+2 1
+8 12
+6 9
diff --git a/public_test_cases/p03256/output.0.txt b/public_test_cases/p03256/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03256/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03256/output.1.txt b/public_test_cases/p03256/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03256/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03256/output.2.txt b/public_test_cases/p03256/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03256/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03256/output.3.txt b/public_test_cases/p03256/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03256/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03256/output.4.txt b/public_test_cases/p03256/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03256/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03257/input.0.txt b/public_test_cases/p03257/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03257/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03257/input.1.txt b/public_test_cases/p03257/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03257/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03257/output.0.txt b/public_test_cases/p03257/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80f52af056daa29860f5b2d3632b58126fe6dc63
--- /dev/null
+++ b/public_test_cases/p03257/output.0.txt
@@ -0,0 +1,2 @@
+4 7
+23 10
diff --git a/public_test_cases/p03257/output.1.txt b/public_test_cases/p03257/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80f52af056daa29860f5b2d3632b58126fe6dc63
--- /dev/null
+++ b/public_test_cases/p03257/output.1.txt
@@ -0,0 +1,2 @@
+4 7
+23 10
diff --git a/public_test_cases/p03258/input.0.txt b/public_test_cases/p03258/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d308e1d060b0c387d452cf4747f89ecb9935851
--- /dev/null
+++ b/public_test_cases/p03258/input.0.txt
@@ -0,0 +1 @@
+aaaa
diff --git a/public_test_cases/p03258/input.1.txt b/public_test_cases/p03258/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f8d542b0a7598d47f992d480b3e48101d299b54
--- /dev/null
+++ b/public_test_cases/p03258/input.1.txt
@@ -0,0 +1 @@
+babbabaaba
diff --git a/public_test_cases/p03258/input.2.txt b/public_test_cases/p03258/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d016a4338c4603d89fcd6bc0cace3d109b7f157b
--- /dev/null
+++ b/public_test_cases/p03258/input.2.txt
@@ -0,0 +1 @@
+ababababa
diff --git a/public_test_cases/p03258/input.3.txt b/public_test_cases/p03258/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d308e1d060b0c387d452cf4747f89ecb9935851
--- /dev/null
+++ b/public_test_cases/p03258/input.3.txt
@@ -0,0 +1 @@
+aaaa
diff --git a/public_test_cases/p03258/input.4.txt b/public_test_cases/p03258/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf59612bf5a5d3a5d29dfd74708ba9f2318a8878
--- /dev/null
+++ b/public_test_cases/p03258/input.4.txt
@@ -0,0 +1 @@
+aabb
diff --git a/public_test_cases/p03258/output.0.txt b/public_test_cases/p03258/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03258/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03258/output.1.txt b/public_test_cases/p03258/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f92bfdd49766b1907d4aec8d3b0f9ed6129d0e6
--- /dev/null
+++ b/public_test_cases/p03258/output.1.txt
@@ -0,0 +1 @@
+35
diff --git a/public_test_cases/p03258/output.2.txt b/public_test_cases/p03258/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03258/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03258/output.3.txt b/public_test_cases/p03258/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03258/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03258/output.4.txt b/public_test_cases/p03258/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03258/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03259/input.0.txt b/public_test_cases/p03259/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61d10fa3100a25a601338e9130c6191d5c408867
--- /dev/null
+++ b/public_test_cases/p03259/input.0.txt
@@ -0,0 +1,17 @@
+2
+3
+1 2
+2 3
+1 3
+3 2
+6
+1 2
+2 3
+3 4
+4 5
+5 6
+1 2
+2 4
+4 3
+3 5
+5 6
diff --git a/public_test_cases/p03259/input.1.txt b/public_test_cases/p03259/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6176e6457a92133d1226b973f76990aec0c2742
--- /dev/null
+++ b/public_test_cases/p03259/input.1.txt
@@ -0,0 +1,40 @@
+3
+8
+2 7
+4 8
+8 6
+7 1
+7 3
+5 7
+7 8
+4 2
+5 2
+1 2
+8 1
+3 2
+2 6
+2 7
+4
+1 2
+2 3
+3 4
+3 4
+2 1
+3 2
+9
+5 3
+4 3
+9 3
+6 8
+2 3
+1 3
+3 8
+1 7
+4 1
+2 8
+9 6
+3 6
+3 5
+1 8
+9 7
+1 6
diff --git a/public_test_cases/p03259/input.2.txt b/public_test_cases/p03259/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61d10fa3100a25a601338e9130c6191d5c408867
--- /dev/null
+++ b/public_test_cases/p03259/input.2.txt
@@ -0,0 +1,17 @@
+2
+3
+1 2
+2 3
+1 3
+3 2
+6
+1 2
+2 3
+3 4
+4 5
+5 6
+1 2
+2 4
+4 3
+3 5
+5 6
diff --git a/public_test_cases/p03259/output.0.txt b/public_test_cases/p03259/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94d36aad18523dd282e91587eaf1a1777fb668fc
--- /dev/null
+++ b/public_test_cases/p03259/output.0.txt
@@ -0,0 +1,2 @@
+1
+-1
diff --git a/public_test_cases/p03259/output.1.txt b/public_test_cases/p03259/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e03ce8aed935108e03a3d2e60e3f9123ec107ff5
--- /dev/null
+++ b/public_test_cases/p03259/output.1.txt
@@ -0,0 +1,3 @@
+6
+0
+7
diff --git a/public_test_cases/p03259/output.2.txt b/public_test_cases/p03259/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94d36aad18523dd282e91587eaf1a1777fb668fc
--- /dev/null
+++ b/public_test_cases/p03259/output.2.txt
@@ -0,0 +1,2 @@
+1
+-1
diff --git a/public_test_cases/p03260/input.0.txt b/public_test_cases/p03260/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p03260/input.0.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p03260/input.1.txt b/public_test_cases/p03260/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p03260/input.1.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p03260/input.2.txt b/public_test_cases/p03260/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p03260/input.2.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p03260/input.3.txt b/public_test_cases/p03260/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03260/input.3.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03260/output.0.txt b/public_test_cases/p03260/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03260/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03260/output.1.txt b/public_test_cases/p03260/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03260/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03260/output.2.txt b/public_test_cases/p03260/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03260/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03260/output.3.txt b/public_test_cases/p03260/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03260/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03261/input.0.txt b/public_test_cases/p03261/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6ed8ba976febbacd96bd22a8302272749b4acda
--- /dev/null
+++ b/public_test_cases/p03261/input.0.txt
@@ -0,0 +1,5 @@
+4
+hoge
+english
+hoge
+enigma
diff --git a/public_test_cases/p03261/input.1.txt b/public_test_cases/p03261/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6ed8ba976febbacd96bd22a8302272749b4acda
--- /dev/null
+++ b/public_test_cases/p03261/input.1.txt
@@ -0,0 +1,5 @@
+4
+hoge
+english
+hoge
+enigma
diff --git a/public_test_cases/p03261/input.2.txt b/public_test_cases/p03261/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb5548533947d1709021f62a5dddaa93a73f8c2
--- /dev/null
+++ b/public_test_cases/p03261/input.2.txt
@@ -0,0 +1,10 @@
+9
+basic
+c
+cpp
+php
+python
+nadesico
+ocaml
+lua
+assembly
diff --git a/public_test_cases/p03261/input.3.txt b/public_test_cases/p03261/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..587e9caf00cfa80fca55dd9779dfdb92e5ec0e41
--- /dev/null
+++ b/public_test_cases/p03261/input.3.txt
@@ -0,0 +1,4 @@
+3
+abc
+arc
+agc
diff --git a/public_test_cases/p03261/input.4.txt b/public_test_cases/p03261/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8792d4c6103b7b8182160b972882f25e6fa33293
--- /dev/null
+++ b/public_test_cases/p03261/input.4.txt
@@ -0,0 +1,9 @@
+8
+a
+aa
+aaa
+aaaa
+aaaaa
+aaaaaa
+aaa
+aaaaaaa
diff --git a/public_test_cases/p03261/output.0.txt b/public_test_cases/p03261/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03261/output.0.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03261/output.1.txt b/public_test_cases/p03261/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03261/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03261/output.2.txt b/public_test_cases/p03261/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03261/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03261/output.3.txt b/public_test_cases/p03261/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03261/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03261/output.4.txt b/public_test_cases/p03261/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03261/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03262/input.0.txt b/public_test_cases/p03262/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6895a67682b917b3f2a456c681a018fa1f0bde7e
--- /dev/null
+++ b/public_test_cases/p03262/input.0.txt
@@ -0,0 +1,2 @@
+3 3
+1 7 11
diff --git a/public_test_cases/p03262/input.1.txt b/public_test_cases/p03262/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a98e8aa79192b0c9ba4df8194daa87e0f45eea5
--- /dev/null
+++ b/public_test_cases/p03262/input.1.txt
@@ -0,0 +1,2 @@
+3 81
+33 105 57
diff --git a/public_test_cases/p03262/input.2.txt b/public_test_cases/p03262/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6895a67682b917b3f2a456c681a018fa1f0bde7e
--- /dev/null
+++ b/public_test_cases/p03262/input.2.txt
@@ -0,0 +1,2 @@
+3 3
+1 7 11
diff --git a/public_test_cases/p03262/input.3.txt b/public_test_cases/p03262/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e3b5d7b0b1f0eff1b23dd98210a87fcc993b246
--- /dev/null
+++ b/public_test_cases/p03262/input.3.txt
@@ -0,0 +1,2 @@
+1 1
+1000000000
diff --git a/public_test_cases/p03262/output.0.txt b/public_test_cases/p03262/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03262/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03262/output.1.txt b/public_test_cases/p03262/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p03262/output.1.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p03262/output.2.txt b/public_test_cases/p03262/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03262/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03262/output.3.txt b/public_test_cases/p03262/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28e56d983ef928848a1b0cdae1fe481ad09143a2
--- /dev/null
+++ b/public_test_cases/p03262/output.3.txt
@@ -0,0 +1 @@
+999999999
diff --git a/public_test_cases/p03263/input.0.txt b/public_test_cases/p03263/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf41eaa92a8329db04d0607846b8a60b3fd15516
--- /dev/null
+++ b/public_test_cases/p03263/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+1 2 3
+0 1 1
diff --git a/public_test_cases/p03263/input.1.txt b/public_test_cases/p03263/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c502d0a29b58561705616ac98a6e9289fc904fb
--- /dev/null
+++ b/public_test_cases/p03263/input.1.txt
@@ -0,0 +1,2 @@
+1 5
+9 9 9 9 9
diff --git a/public_test_cases/p03263/input.2.txt b/public_test_cases/p03263/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37c888745d1cd93f63832188d1468abafc97448b
--- /dev/null
+++ b/public_test_cases/p03263/input.2.txt
@@ -0,0 +1,4 @@
+3 2
+1 0
+2 1
+1 0
diff --git a/public_test_cases/p03263/input.3.txt b/public_test_cases/p03263/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf41eaa92a8329db04d0607846b8a60b3fd15516
--- /dev/null
+++ b/public_test_cases/p03263/input.3.txt
@@ -0,0 +1,3 @@
+2 3
+1 2 3
+0 1 1
diff --git a/public_test_cases/p03263/output.0.txt b/public_test_cases/p03263/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77c122d0ab3c1b2bf09dc7569619b11492985b0c
--- /dev/null
+++ b/public_test_cases/p03263/output.0.txt
@@ -0,0 +1,4 @@
+3
+2 2 2 3
+1 1 1 2
+1 3 1 2
diff --git a/public_test_cases/p03263/output.1.txt b/public_test_cases/p03263/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4764a9f64191876eb8c27143ec448b3ed4be4a5d
--- /dev/null
+++ b/public_test_cases/p03263/output.1.txt
@@ -0,0 +1,3 @@
+2
+1 1 1 2
+1 3 1 4
diff --git a/public_test_cases/p03263/output.2.txt b/public_test_cases/p03263/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b035e6d14b29715f27ca00a1aea90bced62e4010
--- /dev/null
+++ b/public_test_cases/p03263/output.2.txt
@@ -0,0 +1,4 @@
+3
+1 1 1 2
+1 2 2 2
+3 1 3 2
diff --git a/public_test_cases/p03263/output.3.txt b/public_test_cases/p03263/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77c122d0ab3c1b2bf09dc7569619b11492985b0c
--- /dev/null
+++ b/public_test_cases/p03263/output.3.txt
@@ -0,0 +1,4 @@
+3
+2 2 2 3
+1 1 1 2
+1 3 1 2
diff --git a/public_test_cases/p03264/input.0.txt b/public_test_cases/p03264/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03264/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03264/input.1.txt b/public_test_cases/p03264/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03264/input.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03264/input.2.txt b/public_test_cases/p03264/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03264/input.2.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03264/input.3.txt b/public_test_cases/p03264/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03264/input.3.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03264/input.4.txt b/public_test_cases/p03264/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03264/input.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03264/output.0.txt b/public_test_cases/p03264/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03264/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03264/output.1.txt b/public_test_cases/p03264/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03264/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03264/output.2.txt b/public_test_cases/p03264/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67ac2bbd74f2abf30ba6b4cb6e015e88d41e3d2d
--- /dev/null
+++ b/public_test_cases/p03264/output.2.txt
@@ -0,0 +1 @@
+625
diff --git a/public_test_cases/p03264/output.3.txt b/public_test_cases/p03264/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03264/output.3.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03264/output.4.txt b/public_test_cases/p03264/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03264/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03265/input.0.txt b/public_test_cases/p03265/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c77a4c1a71b53d80b7a46493d7d23ca41597158a
--- /dev/null
+++ b/public_test_cases/p03265/input.0.txt
@@ -0,0 +1 @@
+0 0 0 1
diff --git a/public_test_cases/p03265/input.1.txt b/public_test_cases/p03265/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5be5a5d3d90a68d7a6fbd8cf4906be64cfa0f6c8
--- /dev/null
+++ b/public_test_cases/p03265/input.1.txt
@@ -0,0 +1 @@
+2 3 6 6
diff --git a/public_test_cases/p03265/input.2.txt b/public_test_cases/p03265/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c77a4c1a71b53d80b7a46493d7d23ca41597158a
--- /dev/null
+++ b/public_test_cases/p03265/input.2.txt
@@ -0,0 +1 @@
+0 0 0 1
diff --git a/public_test_cases/p03265/input.3.txt b/public_test_cases/p03265/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caba57205c365e01b377c13aca554aaf7ccc698b
--- /dev/null
+++ b/public_test_cases/p03265/input.3.txt
@@ -0,0 +1 @@
+31 -41 -59 26
diff --git a/public_test_cases/p03265/output.0.txt b/public_test_cases/p03265/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b08a5f7456c1ba76f4ccb33c962289e7bb87381c
--- /dev/null
+++ b/public_test_cases/p03265/output.0.txt
@@ -0,0 +1 @@
+-1 1 -1 0
diff --git a/public_test_cases/p03265/output.1.txt b/public_test_cases/p03265/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a2f0995e54392946e3853333d80517bbfe3b333
--- /dev/null
+++ b/public_test_cases/p03265/output.1.txt
@@ -0,0 +1 @@
+3 10 -1 7
diff --git a/public_test_cases/p03265/output.2.txt b/public_test_cases/p03265/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b08a5f7456c1ba76f4ccb33c962289e7bb87381c
--- /dev/null
+++ b/public_test_cases/p03265/output.2.txt
@@ -0,0 +1 @@
+-1 1 -1 0
diff --git a/public_test_cases/p03265/output.3.txt b/public_test_cases/p03265/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b84630dd655fd7148f9916fdd3131b64e0876fbe
--- /dev/null
+++ b/public_test_cases/p03265/output.3.txt
@@ -0,0 +1 @@
+-126 -64 -36 -131
diff --git a/public_test_cases/p03266/input.0.txt b/public_test_cases/p03266/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03266/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03266/output.0.txt b/public_test_cases/p03266/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03266/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03267/input.0.txt b/public_test_cases/p03267/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03267/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03267/input.1.txt b/public_test_cases/p03267/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03267/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03267/input.2.txt b/public_test_cases/p03267/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03267/input.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03267/output.0.txt b/public_test_cases/p03267/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25d7a55c015c4f425e807a15c4df96d74c04c86a
--- /dev/null
+++ b/public_test_cases/p03267/output.0.txt
@@ -0,0 +1,11 @@
+8 10
+1 2 0
+2 3 0
+3 4 0
+1 5 0
+2 6 0
+3 7 0
+4 8 0
+5 6 1
+6 7 1
+7 8 1
diff --git a/public_test_cases/p03267/output.1.txt b/public_test_cases/p03267/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25d7a55c015c4f425e807a15c4df96d74c04c86a
--- /dev/null
+++ b/public_test_cases/p03267/output.1.txt
@@ -0,0 +1,11 @@
+8 10
+1 2 0
+2 3 0
+3 4 0
+1 5 0
+2 6 0
+3 7 0
+4 8 0
+5 6 1
+6 7 1
+7 8 1
diff --git a/public_test_cases/p03267/output.2.txt b/public_test_cases/p03267/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74110ccfbff306bd3dea896262b5f8493ab437e6
--- /dev/null
+++ b/public_test_cases/p03267/output.2.txt
@@ -0,0 +1,8 @@
+5 7
+1 2 0
+2 3 1
+3 4 0
+4 5 0
+2 4 0
+1 3 3
+3 5 1
diff --git a/public_test_cases/p03268/input.0.txt b/public_test_cases/p03268/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03268/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03268/input.1.txt b/public_test_cases/p03268/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb00375829cc3c2f3a931782d3b492d206d28841
--- /dev/null
+++ b/public_test_cases/p03268/input.1.txt
@@ -0,0 +1 @@
+31415 9265
diff --git a/public_test_cases/p03268/input.2.txt b/public_test_cases/p03268/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03268/input.2.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03268/input.3.txt b/public_test_cases/p03268/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48034fe673f450e2a9e1d2c6c0dd2bbc76ac7210
--- /dev/null
+++ b/public_test_cases/p03268/input.3.txt
@@ -0,0 +1 @@
+35897 932
diff --git a/public_test_cases/p03268/input.4.txt b/public_test_cases/p03268/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3303b14c866c1efcb0e7bf3ccc416e5a33d89af0
--- /dev/null
+++ b/public_test_cases/p03268/input.4.txt
@@ -0,0 +1 @@
+5 3
diff --git a/public_test_cases/p03268/output.0.txt b/public_test_cases/p03268/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03268/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03268/output.1.txt b/public_test_cases/p03268/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p03268/output.1.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p03268/output.2.txt b/public_test_cases/p03268/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03268/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03268/output.3.txt b/public_test_cases/p03268/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1be18efa3f7229948d055d2f42e37f41c7b91318
--- /dev/null
+++ b/public_test_cases/p03268/output.3.txt
@@ -0,0 +1 @@
+114191
diff --git a/public_test_cases/p03268/output.4.txt b/public_test_cases/p03268/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03268/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03269/input.0.txt b/public_test_cases/p03269/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03269/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03269/output.0.txt b/public_test_cases/p03269/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25d7a55c015c4f425e807a15c4df96d74c04c86a
--- /dev/null
+++ b/public_test_cases/p03269/output.0.txt
@@ -0,0 +1,11 @@
+8 10
+1 2 0
+2 3 0
+3 4 0
+1 5 0
+2 6 0
+3 7 0
+4 8 0
+5 6 1
+6 7 1
+7 8 1
diff --git a/public_test_cases/p03270/input.0.txt b/public_test_cases/p03270/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03270/input.0.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03270/input.1.txt b/public_test_cases/p03270/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cb410637c2221881de0407452ad0e4382a728a8
--- /dev/null
+++ b/public_test_cases/p03270/input.1.txt
@@ -0,0 +1 @@
+6 1000
diff --git a/public_test_cases/p03270/input.2.txt b/public_test_cases/p03270/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03270/input.2.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03270/input.3.txt b/public_test_cases/p03270/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a99162ed9cdd1b90006cbd4f07e2a2bd3f404d4
--- /dev/null
+++ b/public_test_cases/p03270/input.3.txt
@@ -0,0 +1 @@
+4 5
diff --git a/public_test_cases/p03270/output.0.txt b/public_test_cases/p03270/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d9b69d0ddc88f2df1d93d52b1cfdbed00a4124d
--- /dev/null
+++ b/public_test_cases/p03270/output.0.txt
@@ -0,0 +1,5 @@
+7
+7
+4
+7
+7
diff --git a/public_test_cases/p03270/output.1.txt b/public_test_cases/p03270/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e26dea21dac05ac49d2197a85480312fc3526d0
--- /dev/null
+++ b/public_test_cases/p03270/output.1.txt
@@ -0,0 +1,11 @@
+149393349
+149393349
+668669001
+668669001
+4000002
+4000002
+4000002
+668669001
+668669001
+149393349
+149393349
diff --git a/public_test_cases/p03270/output.2.txt b/public_test_cases/p03270/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d9b69d0ddc88f2df1d93d52b1cfdbed00a4124d
--- /dev/null
+++ b/public_test_cases/p03270/output.2.txt
@@ -0,0 +1,5 @@
+7
+7
+4
+7
+7
diff --git a/public_test_cases/p03270/output.3.txt b/public_test_cases/p03270/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b455ff2421ca2ca95aa47a2bcc06c4a9454fb3d0
--- /dev/null
+++ b/public_test_cases/p03270/output.3.txt
@@ -0,0 +1,7 @@
+36
+36
+20
+20
+20
+36
+36
diff --git a/public_test_cases/p03271/input.0.txt b/public_test_cases/p03271/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a7c751d92fd1fb7845022a03fb01e7fc58c4da0
--- /dev/null
+++ b/public_test_cases/p03271/input.0.txt
@@ -0,0 +1,6 @@
+5
+5
+2
+1
+4
+3
diff --git a/public_test_cases/p03271/input.1.txt b/public_test_cases/p03271/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f86d5d040d25ccd261a44378d0e55c3e09b66a7
--- /dev/null
+++ b/public_test_cases/p03271/input.1.txt
@@ -0,0 +1,7 @@
+6
+5
+3
+4
+1
+2
+6
diff --git a/public_test_cases/p03271/input.2.txt b/public_test_cases/p03271/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a7c751d92fd1fb7845022a03fb01e7fc58c4da0
--- /dev/null
+++ b/public_test_cases/p03271/input.2.txt
@@ -0,0 +1,6 @@
+5
+5
+2
+1
+4
+3
diff --git a/public_test_cases/p03271/input.3.txt b/public_test_cases/p03271/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..385526b27aee1f59bd5f8ce1da5b927d659665b4
--- /dev/null
+++ b/public_test_cases/p03271/input.3.txt
@@ -0,0 +1,5 @@
+4
+3
+2
+4
+1
diff --git a/public_test_cases/p03271/input.4.txt b/public_test_cases/p03271/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75e9b2de108fedfb2eed869722757157d7310b04
--- /dev/null
+++ b/public_test_cases/p03271/input.4.txt
@@ -0,0 +1,8 @@
+7
+3
+2
+1
+6
+5
+4
+7
diff --git a/public_test_cases/p03271/output.0.txt b/public_test_cases/p03271/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03271/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03271/output.1.txt b/public_test_cases/p03271/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03271/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03271/output.2.txt b/public_test_cases/p03271/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03271/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03271/output.3.txt b/public_test_cases/p03271/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03271/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03271/output.4.txt b/public_test_cases/p03271/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03271/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03272/input.0.txt b/public_test_cases/p03272/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805e7f5a05abb0767d277398dd810d64910d282f
--- /dev/null
+++ b/public_test_cases/p03272/input.0.txt
@@ -0,0 +1 @@
+4 2
diff --git a/public_test_cases/p03272/input.1.txt b/public_test_cases/p03272/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03272/input.1.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03272/input.2.txt b/public_test_cases/p03272/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805e7f5a05abb0767d277398dd810d64910d282f
--- /dev/null
+++ b/public_test_cases/p03272/input.2.txt
@@ -0,0 +1 @@
+4 2
diff --git a/public_test_cases/p03272/input.3.txt b/public_test_cases/p03272/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ae60938e9cd7dd0e804c0dd31fa44609008166f
--- /dev/null
+++ b/public_test_cases/p03272/input.3.txt
@@ -0,0 +1 @@
+15 11
diff --git a/public_test_cases/p03272/output.0.txt b/public_test_cases/p03272/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03272/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03272/output.1.txt b/public_test_cases/p03272/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03272/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03272/output.2.txt b/public_test_cases/p03272/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03272/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03272/output.3.txt b/public_test_cases/p03272/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03272/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03273/input.0.txt b/public_test_cases/p03273/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35aa0e983f90aaccdf9a048ae78fe2664aeaca0b
--- /dev/null
+++ b/public_test_cases/p03273/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+##.#
+....
+##.#
+.#.#
diff --git a/public_test_cases/p03273/input.1.txt b/public_test_cases/p03273/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35aa0e983f90aaccdf9a048ae78fe2664aeaca0b
--- /dev/null
+++ b/public_test_cases/p03273/input.1.txt
@@ -0,0 +1,5 @@
+4 4
+##.#
+....
+##.#
+.#.#
diff --git a/public_test_cases/p03273/input.2.txt b/public_test_cases/p03273/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6f6f90c5d0c961c4d7156da1c143e4c73dce616
--- /dev/null
+++ b/public_test_cases/p03273/input.2.txt
@@ -0,0 +1,5 @@
+4 5
+.....
+.....
+..#..
+.....
diff --git a/public_test_cases/p03273/input.3.txt b/public_test_cases/p03273/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42ac522da2c2699cdd088e875a79f7b7cf81b0f0
--- /dev/null
+++ b/public_test_cases/p03273/input.3.txt
@@ -0,0 +1,8 @@
+7 6
+......
+....#.
+.#....
+..#...
+..#...
+......
+.#..#.
diff --git a/public_test_cases/p03273/input.4.txt b/public_test_cases/p03273/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99cfd809d19cf1152364a4d5a126b8ac68f3b9cb
--- /dev/null
+++ b/public_test_cases/p03273/input.4.txt
@@ -0,0 +1,5 @@
+4 4
+.#
+....
+.#
+.#.#
diff --git a/public_test_cases/p03273/input.5.txt b/public_test_cases/p03273/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0640e6df5d9c2374ec2d9d242a01fdff1d9dfaaf
--- /dev/null
+++ b/public_test_cases/p03273/input.5.txt
@@ -0,0 +1,4 @@
+3 3
+..
+.#.
+..#
diff --git a/public_test_cases/p03273/output.0.txt b/public_test_cases/p03273/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..216ba4355db62d1d9eff752bc2ede94e334ff1e4
--- /dev/null
+++ b/public_test_cases/p03273/output.0.txt
@@ -0,0 +1,3 @@
+###
+###
+.##
diff --git a/public_test_cases/p03273/output.1.txt b/public_test_cases/p03273/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..216ba4355db62d1d9eff752bc2ede94e334ff1e4
--- /dev/null
+++ b/public_test_cases/p03273/output.1.txt
@@ -0,0 +1,3 @@
+###
+###
+.##
diff --git a/public_test_cases/p03273/output.2.txt b/public_test_cases/p03273/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p03273/output.2.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p03273/output.3.txt b/public_test_cases/p03273/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f26aad17e1acf6fd4c93a96d060cf8df1793bfc1
--- /dev/null
+++ b/public_test_cases/p03273/output.3.txt
@@ -0,0 +1,5 @@
+..#
+..
+.#.
+.#.
+.#
diff --git a/public_test_cases/p03273/output.4.txt b/public_test_cases/p03273/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae46755bf836e3668fe8433562c5ac06e808e3df
--- /dev/null
+++ b/public_test_cases/p03273/output.4.txt
@@ -0,0 +1 @@
+.##
diff --git a/public_test_cases/p03273/output.5.txt b/public_test_cases/p03273/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8529be8b9aa9707e2801c8a70e6394e04296a072
--- /dev/null
+++ b/public_test_cases/p03273/output.5.txt
@@ -0,0 +1,3 @@
+..
+.#.
+..#
diff --git a/public_test_cases/p03274/input.0.txt b/public_test_cases/p03274/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6de14fc19e7a0fbae57adb4ad982612452747000
--- /dev/null
+++ b/public_test_cases/p03274/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+-30 -10 10 20 50
diff --git a/public_test_cases/p03274/input.1.txt b/public_test_cases/p03274/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..100fd1837bd53ffe52ef7f896d97232a969a3922
--- /dev/null
+++ b/public_test_cases/p03274/input.1.txt
@@ -0,0 +1,2 @@
+8 5
+-9 -7 -4 -3 1 2 3 4
diff --git a/public_test_cases/p03274/input.2.txt b/public_test_cases/p03274/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6de14fc19e7a0fbae57adb4ad982612452747000
--- /dev/null
+++ b/public_test_cases/p03274/input.2.txt
@@ -0,0 +1,2 @@
+5 3
+-30 -10 10 20 50
diff --git a/public_test_cases/p03274/input.3.txt b/public_test_cases/p03274/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b774dab2b2a8a99b5977390fb9d06e6fcaae52e
--- /dev/null
+++ b/public_test_cases/p03274/input.3.txt
@@ -0,0 +1,2 @@
+1 1
+0
diff --git a/public_test_cases/p03274/input.4.txt b/public_test_cases/p03274/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a790d83455edf9b2819cf6cc2ff1ba939e3d5a6e
--- /dev/null
+++ b/public_test_cases/p03274/input.4.txt
@@ -0,0 +1,2 @@
+3 2
+10 20 30
diff --git a/public_test_cases/p03274/output.0.txt b/public_test_cases/p03274/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03274/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03274/output.1.txt b/public_test_cases/p03274/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03274/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03274/output.2.txt b/public_test_cases/p03274/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03274/output.2.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03274/output.3.txt b/public_test_cases/p03274/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03274/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03274/output.4.txt b/public_test_cases/p03274/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03274/output.4.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03275/input.0.txt b/public_test_cases/p03275/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..834b3db2b7687e668082d218c619aab173dc42f6
--- /dev/null
+++ b/public_test_cases/p03275/input.0.txt
@@ -0,0 +1,2 @@
+3
+10 30 20
diff --git a/public_test_cases/p03275/input.1.txt b/public_test_cases/p03275/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..834b3db2b7687e668082d218c619aab173dc42f6
--- /dev/null
+++ b/public_test_cases/p03275/input.1.txt
@@ -0,0 +1,2 @@
+3
+10 30 20
diff --git a/public_test_cases/p03275/input.2.txt b/public_test_cases/p03275/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c65e8819a54924e723e228c8b271e4045243296
--- /dev/null
+++ b/public_test_cases/p03275/input.2.txt
@@ -0,0 +1,2 @@
+10
+5 9 5 9 8 9 3 5 4 3
diff --git a/public_test_cases/p03275/input.3.txt b/public_test_cases/p03275/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b258dc3d8a70dfd158dac8e5a6905f41cadd45f4
--- /dev/null
+++ b/public_test_cases/p03275/input.3.txt
@@ -0,0 +1,2 @@
+1
+10
diff --git a/public_test_cases/p03275/output.0.txt b/public_test_cases/p03275/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03275/output.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03275/output.1.txt b/public_test_cases/p03275/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03275/output.1.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03275/output.2.txt b/public_test_cases/p03275/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03275/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03275/output.3.txt b/public_test_cases/p03275/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03275/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03276/input.0.txt b/public_test_cases/p03276/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6de14fc19e7a0fbae57adb4ad982612452747000
--- /dev/null
+++ b/public_test_cases/p03276/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+-30 -10 10 20 50
diff --git a/public_test_cases/p03276/output.0.txt b/public_test_cases/p03276/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03276/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03277/input.0.txt b/public_test_cases/p03277/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..834b3db2b7687e668082d218c619aab173dc42f6
--- /dev/null
+++ b/public_test_cases/p03277/input.0.txt
@@ -0,0 +1,2 @@
+3
+10 30 20
diff --git a/public_test_cases/p03277/output.0.txt b/public_test_cases/p03277/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03277/output.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03278/input.0.txt b/public_test_cases/p03278/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..604c7b32caf077c090d1e568da712399ae45734a
--- /dev/null
+++ b/public_test_cases/p03278/input.0.txt
@@ -0,0 +1,4 @@
+4
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p03278/input.1.txt b/public_test_cases/p03278/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..604c7b32caf077c090d1e568da712399ae45734a
--- /dev/null
+++ b/public_test_cases/p03278/input.1.txt
@@ -0,0 +1,4 @@
+4
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p03278/input.2.txt b/public_test_cases/p03278/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcd5f8768c2971106a5490b3aa4336a3f2498e1a
--- /dev/null
+++ b/public_test_cases/p03278/input.2.txt
@@ -0,0 +1,6 @@
+6
+1 2
+1 3
+3 4
+1 5
+5 6
diff --git a/public_test_cases/p03278/input.3.txt b/public_test_cases/p03278/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4834d4e23a86db13492ec18b6c68bba11132751a
--- /dev/null
+++ b/public_test_cases/p03278/input.3.txt
@@ -0,0 +1,10 @@
+10
+8 5
+10 8
+6 5
+1 5
+4 8
+2 10
+3 6
+9 2
+1 7
diff --git a/public_test_cases/p03278/input.4.txt b/public_test_cases/p03278/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e7e919d9086f19d0faf1800efb363a22b6e6b8
--- /dev/null
+++ b/public_test_cases/p03278/input.4.txt
@@ -0,0 +1,4 @@
+4
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p03278/output.0.txt b/public_test_cases/p03278/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03278/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03278/output.1.txt b/public_test_cases/p03278/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03278/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03278/output.2.txt b/public_test_cases/p03278/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03278/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03278/output.3.txt b/public_test_cases/p03278/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04226cf3c1192917de4b3144af9b9d14977370ce
--- /dev/null
+++ b/public_test_cases/p03278/output.3.txt
@@ -0,0 +1 @@
+672
diff --git a/public_test_cases/p03278/output.4.txt b/public_test_cases/p03278/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03278/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03279/input.0.txt b/public_test_cases/p03279/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b94335e4b34dafeb72f2f7ceb937364f5994347
--- /dev/null
+++ b/public_test_cases/p03279/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+2 3
+1 4
diff --git a/public_test_cases/p03279/input.1.txt b/public_test_cases/p03279/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30b69f42049b050df927913cf95ad4f607a0697c
--- /dev/null
+++ b/public_test_cases/p03279/input.1.txt
@@ -0,0 +1,3 @@
+4 1
+1 2 4 5
+3
diff --git a/public_test_cases/p03279/input.2.txt b/public_test_cases/p03279/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b8269a58abf4ebc2cec18b8768d5d8c0ed198d6
--- /dev/null
+++ b/public_test_cases/p03279/input.2.txt
@@ -0,0 +1,3 @@
+4 5
+2 5 7 11
+1 3 6 9 13
diff --git a/public_test_cases/p03279/input.3.txt b/public_test_cases/p03279/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40c4d0ffacd8a395973bc518e0522744353ab4ff
--- /dev/null
+++ b/public_test_cases/p03279/input.3.txt
@@ -0,0 +1,3 @@
+10 10
+4 13 15 18 19 20 21 22 25 27
+1 5 11 12 14 16 23 26 29 30
diff --git a/public_test_cases/p03279/input.4.txt b/public_test_cases/p03279/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25ea2ad2c008bd3ac9d87c0ec44da1414c49ba9c
--- /dev/null
+++ b/public_test_cases/p03279/input.4.txt
@@ -0,0 +1,3 @@
+3 4
+2 5 10
+1 3 7 13
diff --git a/public_test_cases/p03279/input.5.txt b/public_test_cases/p03279/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b94335e4b34dafeb72f2f7ceb937364f5994347
--- /dev/null
+++ b/public_test_cases/p03279/input.5.txt
@@ -0,0 +1,3 @@
+2 2
+2 3
+1 4
diff --git a/public_test_cases/p03279/output.0.txt b/public_test_cases/p03279/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03279/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03279/output.1.txt b/public_test_cases/p03279/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03279/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03279/output.2.txt b/public_test_cases/p03279/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03279/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03279/output.3.txt b/public_test_cases/p03279/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03279/output.3.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03279/output.4.txt b/public_test_cases/p03279/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03279/output.4.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03279/output.5.txt b/public_test_cases/p03279/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03279/output.5.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03280/input.0.txt b/public_test_cases/p03280/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03280/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03280/input.1.txt b/public_test_cases/p03280/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..149a6b3213f3e0a3e12ea4aac0776d890ff8b3e6
--- /dev/null
+++ b/public_test_cases/p03280/input.1.txt
@@ -0,0 +1 @@
+5 7
diff --git a/public_test_cases/p03280/input.2.txt b/public_test_cases/p03280/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03280/input.2.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03280/output.0.txt b/public_test_cases/p03280/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03280/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03280/output.1.txt b/public_test_cases/p03280/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a45fd52cc5891570d6299fab38643103c3955474
--- /dev/null
+++ b/public_test_cases/p03280/output.1.txt
@@ -0,0 +1 @@
+24
diff --git a/public_test_cases/p03280/output.2.txt b/public_test_cases/p03280/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03280/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03281/input.0.txt b/public_test_cases/p03281/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f96ac06721837aa6a644a580c03c76f304e81db0
--- /dev/null
+++ b/public_test_cases/p03281/input.0.txt
@@ -0,0 +1 @@
+105
diff --git a/public_test_cases/p03281/input.1.txt b/public_test_cases/p03281/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f96ac06721837aa6a644a580c03c76f304e81db0
--- /dev/null
+++ b/public_test_cases/p03281/input.1.txt
@@ -0,0 +1 @@
+105
diff --git a/public_test_cases/p03281/input.2.txt b/public_test_cases/p03281/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03281/input.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03281/output.0.txt b/public_test_cases/p03281/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03281/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03281/output.1.txt b/public_test_cases/p03281/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03281/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03281/output.2.txt b/public_test_cases/p03281/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03281/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03282/input.0.txt b/public_test_cases/p03282/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ec6a831352a878f10fbff1a2e8c37d0ce2171eb
--- /dev/null
+++ b/public_test_cases/p03282/input.0.txt
@@ -0,0 +1,2 @@
+1214
+4
diff --git a/public_test_cases/p03282/input.1.txt b/public_test_cases/p03282/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a4d9d76dd89878ccd357ad7d39797920117fc8d
--- /dev/null
+++ b/public_test_cases/p03282/input.1.txt
@@ -0,0 +1,2 @@
+299792458
+9460730472580800
diff --git a/public_test_cases/p03282/input.2.txt b/public_test_cases/p03282/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b55cf2c5b1591536ac996c1b5e1cb3317aa8dee
--- /dev/null
+++ b/public_test_cases/p03282/input.2.txt
@@ -0,0 +1,2 @@
+3
+157
diff --git a/public_test_cases/p03282/input.3.txt b/public_test_cases/p03282/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ec6a831352a878f10fbff1a2e8c37d0ce2171eb
--- /dev/null
+++ b/public_test_cases/p03282/input.3.txt
@@ -0,0 +1,2 @@
+1214
+4
diff --git a/public_test_cases/p03282/output.0.txt b/public_test_cases/p03282/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03282/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03282/output.1.txt b/public_test_cases/p03282/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03282/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03282/output.2.txt b/public_test_cases/p03282/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03282/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03282/output.3.txt b/public_test_cases/p03282/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03282/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03283/input.0.txt b/public_test_cases/p03283/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36d429f4e17d750c70f356ca9fc5468222e3e172
--- /dev/null
+++ b/public_test_cases/p03283/input.0.txt
@@ -0,0 +1,5 @@
+2 3 1
+1 1
+1 2
+2 2
+1 2
diff --git a/public_test_cases/p03283/input.1.txt b/public_test_cases/p03283/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce339168838dae8341742e81b9d9a99d54b9afcf
--- /dev/null
+++ b/public_test_cases/p03283/input.1.txt
@@ -0,0 +1,6 @@
+10 3 2
+1 5
+2 8
+7 10
+1 7
+3 10
diff --git a/public_test_cases/p03283/input.2.txt b/public_test_cases/p03283/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36d429f4e17d750c70f356ca9fc5468222e3e172
--- /dev/null
+++ b/public_test_cases/p03283/input.2.txt
@@ -0,0 +1,5 @@
+2 3 1
+1 1
+1 2
+2 2
+1 2
diff --git a/public_test_cases/p03283/input.3.txt b/public_test_cases/p03283/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a3640814d29f050b9ca4a336470595233e3f264
--- /dev/null
+++ b/public_test_cases/p03283/input.3.txt
@@ -0,0 +1,21 @@
+10 10 10
+1 6
+2 9
+4 5
+4 7
+4 7
+5 8
+6 6
+6 7
+7 9
+10 10
+1 8
+1 9
+1 10
+2 8
+2 9
+2 10
+3 8
+3 9
+3 10
+1 10
diff --git a/public_test_cases/p03283/output.0.txt b/public_test_cases/p03283/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03283/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03283/output.1.txt b/public_test_cases/p03283/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p03283/output.1.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p03283/output.2.txt b/public_test_cases/p03283/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03283/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03283/output.3.txt b/public_test_cases/p03283/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84102c612bcba4e23836f4ce06f0c95896040086
--- /dev/null
+++ b/public_test_cases/p03283/output.3.txt
@@ -0,0 +1,10 @@
+7
+9
+10
+6
+8
+9
+6
+7
+8
+10
diff --git a/public_test_cases/p03284/input.0.txt b/public_test_cases/p03284/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f036e7ba038ea9020e90a29f669ac3db830dd66
--- /dev/null
+++ b/public_test_cases/p03284/input.0.txt
@@ -0,0 +1 @@
+7 3
diff --git a/public_test_cases/p03284/input.1.txt b/public_test_cases/p03284/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25c77a97862a6257b5c9264d0924066cd74d4048
--- /dev/null
+++ b/public_test_cases/p03284/input.1.txt
@@ -0,0 +1 @@
+100 10
diff --git a/public_test_cases/p03284/input.2.txt b/public_test_cases/p03284/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03284/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03284/input.3.txt b/public_test_cases/p03284/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f036e7ba038ea9020e90a29f669ac3db830dd66
--- /dev/null
+++ b/public_test_cases/p03284/input.3.txt
@@ -0,0 +1 @@
+7 3
diff --git a/public_test_cases/p03284/output.0.txt b/public_test_cases/p03284/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03284/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03284/output.1.txt b/public_test_cases/p03284/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03284/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03284/output.2.txt b/public_test_cases/p03284/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03284/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03284/output.3.txt b/public_test_cases/p03284/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03284/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03285/input.0.txt b/public_test_cases/p03285/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03285/input.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03285/input.1.txt b/public_test_cases/p03285/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03285/input.1.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03285/input.2.txt b/public_test_cases/p03285/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03285/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03285/input.3.txt b/public_test_cases/p03285/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03285/input.3.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03285/output.0.txt b/public_test_cases/p03285/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03285/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03285/output.1.txt b/public_test_cases/p03285/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03285/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03285/output.2.txt b/public_test_cases/p03285/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03285/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03285/output.3.txt b/public_test_cases/p03285/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03285/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03286/input.0.txt b/public_test_cases/p03286/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dc3a6a50cf6fecb08f7b1b2930ea5072247e819
--- /dev/null
+++ b/public_test_cases/p03286/input.0.txt
@@ -0,0 +1 @@
+-9
diff --git a/public_test_cases/p03286/input.1.txt b/public_test_cases/p03286/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03286/input.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03286/input.2.txt b/public_test_cases/p03286/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28d14454c380441fa2b6f562072a1cd641c06e22
--- /dev/null
+++ b/public_test_cases/p03286/input.2.txt
@@ -0,0 +1 @@
+123456789
diff --git a/public_test_cases/p03286/input.3.txt b/public_test_cases/p03286/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dc3a6a50cf6fecb08f7b1b2930ea5072247e819
--- /dev/null
+++ b/public_test_cases/p03286/input.3.txt
@@ -0,0 +1 @@
+-9
diff --git a/public_test_cases/p03286/output.0.txt b/public_test_cases/p03286/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d488f1cf42ed17aae3ba8c1b2aa6d97716a44fa8
--- /dev/null
+++ b/public_test_cases/p03286/output.0.txt
@@ -0,0 +1 @@
+1011
diff --git a/public_test_cases/p03286/output.1.txt b/public_test_cases/p03286/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03286/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03286/output.2.txt b/public_test_cases/p03286/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67e1485eb3e71c6688969b39bd226db0176b46fd
--- /dev/null
+++ b/public_test_cases/p03286/output.2.txt
@@ -0,0 +1 @@
+11000101011001101110100010101
diff --git a/public_test_cases/p03286/output.3.txt b/public_test_cases/p03286/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d488f1cf42ed17aae3ba8c1b2aa6d97716a44fa8
--- /dev/null
+++ b/public_test_cases/p03286/output.3.txt
@@ -0,0 +1 @@
+1011
diff --git a/public_test_cases/p03287/input.0.txt b/public_test_cases/p03287/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6140a86bee72ec625dca1db11d4cabcb92614640
--- /dev/null
+++ b/public_test_cases/p03287/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+4 1 5
diff --git a/public_test_cases/p03287/input.1.txt b/public_test_cases/p03287/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af10b530d571d38f0d809a1a437313f5bdf3ed69
--- /dev/null
+++ b/public_test_cases/p03287/input.1.txt
@@ -0,0 +1,2 @@
+10 400000000
+1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000
diff --git a/public_test_cases/p03287/input.2.txt b/public_test_cases/p03287/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b2a3d1802e1d3f1b04ed26e160eba87459ec78b
--- /dev/null
+++ b/public_test_cases/p03287/input.2.txt
@@ -0,0 +1,2 @@
+13 17
+29 7 5 7 9 51 7 13 8 55 42 9 81
diff --git a/public_test_cases/p03287/input.3.txt b/public_test_cases/p03287/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6140a86bee72ec625dca1db11d4cabcb92614640
--- /dev/null
+++ b/public_test_cases/p03287/input.3.txt
@@ -0,0 +1,2 @@
+3 2
+4 1 5
diff --git a/public_test_cases/p03287/output.0.txt b/public_test_cases/p03287/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03287/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03287/output.1.txt b/public_test_cases/p03287/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p03287/output.1.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p03287/output.2.txt b/public_test_cases/p03287/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03287/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03287/output.3.txt b/public_test_cases/p03287/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03287/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03288/input.0.txt b/public_test_cases/p03288/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad9544af516023c6c556bb08efdd244bb0c680ca
--- /dev/null
+++ b/public_test_cases/p03288/input.0.txt
@@ -0,0 +1 @@
+1199
diff --git a/public_test_cases/p03288/input.1.txt b/public_test_cases/p03288/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad9544af516023c6c556bb08efdd244bb0c680ca
--- /dev/null
+++ b/public_test_cases/p03288/input.1.txt
@@ -0,0 +1 @@
+1199
diff --git a/public_test_cases/p03288/input.2.txt b/public_test_cases/p03288/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59a3ec59b53573619be25381cf973b173e2a60ba
--- /dev/null
+++ b/public_test_cases/p03288/input.2.txt
@@ -0,0 +1 @@
+1200
diff --git a/public_test_cases/p03288/input.3.txt b/public_test_cases/p03288/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f12704884a5dd412be31c4c3add769089e82a52
--- /dev/null
+++ b/public_test_cases/p03288/input.3.txt
@@ -0,0 +1 @@
+4208
diff --git a/public_test_cases/p03288/output.0.txt b/public_test_cases/p03288/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03288/output.0.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03288/output.1.txt b/public_test_cases/p03288/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03288/output.1.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03288/output.2.txt b/public_test_cases/p03288/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c4fba4f9ae03ed0aeddbb3fe0ff90f5684e90bb
--- /dev/null
+++ b/public_test_cases/p03288/output.2.txt
@@ -0,0 +1 @@
+ARC
diff --git a/public_test_cases/p03288/output.3.txt b/public_test_cases/p03288/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8be9c4a48148b79b1f03180cb484dd3c476e2cd0
--- /dev/null
+++ b/public_test_cases/p03288/output.3.txt
@@ -0,0 +1 @@
+AGC
diff --git a/public_test_cases/p03289/input.0.txt b/public_test_cases/p03289/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0084c2f125d7e9d5107f0435a1f8a54e5a9b1b22
--- /dev/null
+++ b/public_test_cases/p03289/input.0.txt
@@ -0,0 +1 @@
+AtCoder
diff --git a/public_test_cases/p03289/input.1.txt b/public_test_cases/p03289/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c55d14505dae2268b791c751a86cc4b2aee277d
--- /dev/null
+++ b/public_test_cases/p03289/input.1.txt
@@ -0,0 +1 @@
+AtCoCo
diff --git a/public_test_cases/p03289/input.2.txt b/public_test_cases/p03289/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab4d15ea248944af06c832bef7274b12b2472c5f
--- /dev/null
+++ b/public_test_cases/p03289/input.2.txt
@@ -0,0 +1 @@
+Atcoder
diff --git a/public_test_cases/p03289/input.3.txt b/public_test_cases/p03289/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..baa0f86a0af349c4b8023b33329162c4bd794fc8
--- /dev/null
+++ b/public_test_cases/p03289/input.3.txt
@@ -0,0 +1 @@
+ACoder
diff --git a/public_test_cases/p03289/input.4.txt b/public_test_cases/p03289/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..849d6c6ee854b79b4e8c3da8633fabf7bdc5158d
--- /dev/null
+++ b/public_test_cases/p03289/input.4.txt
@@ -0,0 +1 @@
+AcycliC
diff --git a/public_test_cases/p03289/input.5.txt b/public_test_cases/p03289/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0084c2f125d7e9d5107f0435a1f8a54e5a9b1b22
--- /dev/null
+++ b/public_test_cases/p03289/input.5.txt
@@ -0,0 +1 @@
+AtCoder
diff --git a/public_test_cases/p03289/output.0.txt b/public_test_cases/p03289/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdd343bb8efd735e092defa5f1c0dd3d16e8ca0a
--- /dev/null
+++ b/public_test_cases/p03289/output.0.txt
@@ -0,0 +1 @@
+AC
diff --git a/public_test_cases/p03289/output.1.txt b/public_test_cases/p03289/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd9f23b7f8166772c0ddb18beccb83e328dae16f
--- /dev/null
+++ b/public_test_cases/p03289/output.1.txt
@@ -0,0 +1 @@
+WA
diff --git a/public_test_cases/p03289/output.2.txt b/public_test_cases/p03289/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd9f23b7f8166772c0ddb18beccb83e328dae16f
--- /dev/null
+++ b/public_test_cases/p03289/output.2.txt
@@ -0,0 +1 @@
+WA
diff --git a/public_test_cases/p03289/output.3.txt b/public_test_cases/p03289/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd9f23b7f8166772c0ddb18beccb83e328dae16f
--- /dev/null
+++ b/public_test_cases/p03289/output.3.txt
@@ -0,0 +1 @@
+WA
diff --git a/public_test_cases/p03289/output.4.txt b/public_test_cases/p03289/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd9f23b7f8166772c0ddb18beccb83e328dae16f
--- /dev/null
+++ b/public_test_cases/p03289/output.4.txt
@@ -0,0 +1 @@
+WA
diff --git a/public_test_cases/p03289/output.5.txt b/public_test_cases/p03289/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdd343bb8efd735e092defa5f1c0dd3d16e8ca0a
--- /dev/null
+++ b/public_test_cases/p03289/output.5.txt
@@ -0,0 +1 @@
+AC
diff --git a/public_test_cases/p03290/input.0.txt b/public_test_cases/p03290/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5be5722aada91e01050649c7323372644569165e
--- /dev/null
+++ b/public_test_cases/p03290/input.0.txt
@@ -0,0 +1,3 @@
+2 700
+3 500
+5 800
diff --git a/public_test_cases/p03290/input.1.txt b/public_test_cases/p03290/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8a68961f15f1938279c20249b4c2ccac47b3c3a
--- /dev/null
+++ b/public_test_cases/p03290/input.1.txt
@@ -0,0 +1,6 @@
+5 25000
+20 1000
+40 1000
+50 1000
+30 1000
+1 1000
diff --git a/public_test_cases/p03290/input.2.txt b/public_test_cases/p03290/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1c203782044a056525d44941bc17106ad371ace
--- /dev/null
+++ b/public_test_cases/p03290/input.2.txt
@@ -0,0 +1,3 @@
+2 400
+3 500
+5 800
diff --git a/public_test_cases/p03290/input.3.txt b/public_test_cases/p03290/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5be5722aada91e01050649c7323372644569165e
--- /dev/null
+++ b/public_test_cases/p03290/input.3.txt
@@ -0,0 +1,3 @@
+2 700
+3 500
+5 800
diff --git a/public_test_cases/p03290/input.4.txt b/public_test_cases/p03290/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62bf3db4ec3166b3038a2494b4ff57054f1e2b3e
--- /dev/null
+++ b/public_test_cases/p03290/input.4.txt
@@ -0,0 +1,3 @@
+2 2000
+3 500
+5 800
diff --git a/public_test_cases/p03290/output.0.txt b/public_test_cases/p03290/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03290/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03290/output.1.txt b/public_test_cases/p03290/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69a893aa31141827125ddaaee26966b7aed3de74
--- /dev/null
+++ b/public_test_cases/p03290/output.1.txt
@@ -0,0 +1 @@
+66
diff --git a/public_test_cases/p03290/output.2.txt b/public_test_cases/p03290/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03290/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03290/output.3.txt b/public_test_cases/p03290/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03290/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03290/output.4.txt b/public_test_cases/p03290/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03290/output.4.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03291/input.0.txt b/public_test_cases/p03291/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab7e974c0f01c881c302d77cc8f8dc4be0dcf434
--- /dev/null
+++ b/public_test_cases/p03291/input.0.txt
@@ -0,0 +1 @@
+A??C
diff --git a/public_test_cases/p03291/input.1.txt b/public_test_cases/p03291/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1c3506b4ef81d5e06b9657de9c7598c9f399ca5
--- /dev/null
+++ b/public_test_cases/p03291/input.1.txt
@@ -0,0 +1 @@
+ABCBC
diff --git a/public_test_cases/p03291/input.2.txt b/public_test_cases/p03291/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80278741fe88981fe45fa320cc70a69a71e29852
--- /dev/null
+++ b/public_test_cases/p03291/input.2.txt
@@ -0,0 +1 @@
+????C?????B??????A???????
diff --git a/public_test_cases/p03291/input.3.txt b/public_test_cases/p03291/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab7e974c0f01c881c302d77cc8f8dc4be0dcf434
--- /dev/null
+++ b/public_test_cases/p03291/input.3.txt
@@ -0,0 +1 @@
+A??C
diff --git a/public_test_cases/p03291/output.0.txt b/public_test_cases/p03291/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03291/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03291/output.1.txt b/public_test_cases/p03291/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03291/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03291/output.2.txt b/public_test_cases/p03291/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6735cd36606cf4489e2fee21eb26344422ac8ea
--- /dev/null
+++ b/public_test_cases/p03291/output.2.txt
@@ -0,0 +1 @@
+979596887
diff --git a/public_test_cases/p03291/output.3.txt b/public_test_cases/p03291/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03291/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03292/input.0.txt b/public_test_cases/p03292/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d0fd1a1dfc7f356cb75e2ea2c814f9c3ad2016b
--- /dev/null
+++ b/public_test_cases/p03292/input.0.txt
@@ -0,0 +1 @@
+1 6 3
diff --git a/public_test_cases/p03292/input.1.txt b/public_test_cases/p03292/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d0fd1a1dfc7f356cb75e2ea2c814f9c3ad2016b
--- /dev/null
+++ b/public_test_cases/p03292/input.1.txt
@@ -0,0 +1 @@
+1 6 3
diff --git a/public_test_cases/p03292/input.2.txt b/public_test_cases/p03292/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa64af6e1d1f16e45cad3c4a007d1dfb602bbef5
--- /dev/null
+++ b/public_test_cases/p03292/input.2.txt
@@ -0,0 +1 @@
+100 100 100
diff --git a/public_test_cases/p03292/input.3.txt b/public_test_cases/p03292/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1bb7b04fa9fcede7905e94110bfc5b7c46e350c
--- /dev/null
+++ b/public_test_cases/p03292/input.3.txt
@@ -0,0 +1 @@
+11 5 5
diff --git a/public_test_cases/p03292/output.0.txt b/public_test_cases/p03292/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03292/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03292/output.1.txt b/public_test_cases/p03292/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03292/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03292/output.2.txt b/public_test_cases/p03292/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03292/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03292/output.3.txt b/public_test_cases/p03292/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03292/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03293/input.0.txt b/public_test_cases/p03293/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62f2deae967fad9a9d29a0ec292ab1784cd5ae42
--- /dev/null
+++ b/public_test_cases/p03293/input.0.txt
@@ -0,0 +1,2 @@
+kyoto
+tokyo
diff --git a/public_test_cases/p03293/input.1.txt b/public_test_cases/p03293/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25953b23bd27f2b74beff1513b3db2edd3b6e197
--- /dev/null
+++ b/public_test_cases/p03293/input.1.txt
@@ -0,0 +1,2 @@
+aaaaaaaaaaaaaaab
+aaaaaaaaaaaaaaab
diff --git a/public_test_cases/p03293/input.2.txt b/public_test_cases/p03293/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62f2deae967fad9a9d29a0ec292ab1784cd5ae42
--- /dev/null
+++ b/public_test_cases/p03293/input.2.txt
@@ -0,0 +1,2 @@
+kyoto
+tokyo
diff --git a/public_test_cases/p03293/input.3.txt b/public_test_cases/p03293/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..383570422778d398892bd8b56ae0532fe08748d7
--- /dev/null
+++ b/public_test_cases/p03293/input.3.txt
@@ -0,0 +1,2 @@
+abc
+arc
diff --git a/public_test_cases/p03293/output.0.txt b/public_test_cases/p03293/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03293/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03293/output.1.txt b/public_test_cases/p03293/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03293/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03293/output.2.txt b/public_test_cases/p03293/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03293/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03293/output.3.txt b/public_test_cases/p03293/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03293/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03294/input.0.txt b/public_test_cases/p03294/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07a82d02f93d87ba5fc789af1ef2812c15472de6
--- /dev/null
+++ b/public_test_cases/p03294/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 4 6
diff --git a/public_test_cases/p03294/input.1.txt b/public_test_cases/p03294/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36a7ed37735d2c0993db66f0c3795c033bfd92dc
--- /dev/null
+++ b/public_test_cases/p03294/input.1.txt
@@ -0,0 +1,2 @@
+5
+7 46 11 20 11
diff --git a/public_test_cases/p03294/input.2.txt b/public_test_cases/p03294/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eee6de745b00f0c8266ae750a8a6a65336c92f42
--- /dev/null
+++ b/public_test_cases/p03294/input.2.txt
@@ -0,0 +1,2 @@
+7
+994 518 941 851 647 2 581
diff --git a/public_test_cases/p03294/input.3.txt b/public_test_cases/p03294/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07a82d02f93d87ba5fc789af1ef2812c15472de6
--- /dev/null
+++ b/public_test_cases/p03294/input.3.txt
@@ -0,0 +1,2 @@
+3
+3 4 6
diff --git a/public_test_cases/p03294/output.0.txt b/public_test_cases/p03294/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03294/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03294/output.1.txt b/public_test_cases/p03294/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61f00d8cad3920809f4d992ac3031b3f32e7f10
--- /dev/null
+++ b/public_test_cases/p03294/output.1.txt
@@ -0,0 +1 @@
+90
diff --git a/public_test_cases/p03294/output.2.txt b/public_test_cases/p03294/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..992a491ef17926b3dbe32530ae13a5d7b834866d
--- /dev/null
+++ b/public_test_cases/p03294/output.2.txt
@@ -0,0 +1 @@
+4527
diff --git a/public_test_cases/p03294/output.3.txt b/public_test_cases/p03294/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03294/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03295/input.0.txt b/public_test_cases/p03295/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b23fc33488a70906d592a14f36013a94f7a1272
--- /dev/null
+++ b/public_test_cases/p03295/input.0.txt
@@ -0,0 +1,3 @@
+5 2
+1 4
+2 5
diff --git a/public_test_cases/p03295/input.1.txt b/public_test_cases/p03295/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..007706b64ffe9c2a5f7fd8089be739dd06cde1b6
--- /dev/null
+++ b/public_test_cases/p03295/input.1.txt
@@ -0,0 +1,11 @@
+5 10
+1 2
+1 3
+1 4
+1 5
+2 3
+2 4
+2 5
+3 4
+3 5
+4 5
diff --git a/public_test_cases/p03295/input.2.txt b/public_test_cases/p03295/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b23fc33488a70906d592a14f36013a94f7a1272
--- /dev/null
+++ b/public_test_cases/p03295/input.2.txt
@@ -0,0 +1,3 @@
+5 2
+1 4
+2 5
diff --git a/public_test_cases/p03295/input.3.txt b/public_test_cases/p03295/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42181691da055f23c4e7f6ed96f8251475c5aac8
--- /dev/null
+++ b/public_test_cases/p03295/input.3.txt
@@ -0,0 +1,6 @@
+9 5
+1 8
+2 7
+3 5
+4 6
+7 9
diff --git a/public_test_cases/p03295/output.0.txt b/public_test_cases/p03295/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03295/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03295/output.1.txt b/public_test_cases/p03295/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03295/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03295/output.2.txt b/public_test_cases/p03295/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03295/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03295/output.3.txt b/public_test_cases/p03295/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03295/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03296/input.0.txt b/public_test_cases/p03296/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f1ce342281385c09f0d9fd2ee727a024f0c1cb2
--- /dev/null
+++ b/public_test_cases/p03296/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 1 2 2 2
diff --git a/public_test_cases/p03296/input.1.txt b/public_test_cases/p03296/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f1ce342281385c09f0d9fd2ee727a024f0c1cb2
--- /dev/null
+++ b/public_test_cases/p03296/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 1 2 2 2
diff --git a/public_test_cases/p03296/input.2.txt b/public_test_cases/p03296/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56221aadc5dfac666c62fd57ad1536458c512851
--- /dev/null
+++ b/public_test_cases/p03296/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 2 1
diff --git a/public_test_cases/p03296/input.3.txt b/public_test_cases/p03296/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0fc2525c31d242216cc0b4a7d5ee6a5c0af85fca
--- /dev/null
+++ b/public_test_cases/p03296/input.3.txt
@@ -0,0 +1,2 @@
+14
+1 2 2 3 3 3 4 4 4 4 1 2 3 4
diff --git a/public_test_cases/p03296/input.4.txt b/public_test_cases/p03296/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5798ec63b3d84e04ace9c318af6eee1f3c36507
--- /dev/null
+++ b/public_test_cases/p03296/input.4.txt
@@ -0,0 +1,2 @@
+5
+1 1 1 1 1
diff --git a/public_test_cases/p03296/output.0.txt b/public_test_cases/p03296/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03296/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03296/output.1.txt b/public_test_cases/p03296/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03296/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03296/output.2.txt b/public_test_cases/p03296/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03296/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03296/output.3.txt b/public_test_cases/p03296/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03296/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03296/output.4.txt b/public_test_cases/p03296/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03296/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03297/input.0.txt b/public_test_cases/p03297/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65e3a19dfed79bb1a29fbc79bbf4c01d3c8c309f
--- /dev/null
+++ b/public_test_cases/p03297/input.0.txt
@@ -0,0 +1,15 @@
+14
+9 7 5 9
+9 7 6 9
+14 10 7 12
+14 10 8 12
+14 10 9 12
+14 10 7 11
+14 10 8 11
+14 10 9 11
+9 10 5 10
+10 10 5 10
+11 10 5 10
+16 10 5 10
+1000000000000000000 17 14 999999999999999985
+1000000000000000000 17 15 999999999999999985
diff --git a/public_test_cases/p03297/input.1.txt b/public_test_cases/p03297/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc3fd408b2736ef3e3a2f39389718607df82a44c
--- /dev/null
+++ b/public_test_cases/p03297/input.1.txt
@@ -0,0 +1,25 @@
+24
+1 2 3 4
+1 2 4 3
+1 3 2 4
+1 3 4 2
+1 4 2 3
+1 4 3 2
+2 1 3 4
+2 1 4 3
+2 3 1 4
+2 3 4 1
+2 4 1 3
+2 4 3 1
+3 1 2 4
+3 1 4 2
+3 2 1 4
+3 2 4 1
+3 4 1 2
+3 4 2 1
+4 1 2 3
+4 1 3 2
+4 2 1 3
+4 2 3 1
+4 3 1 2
+4 3 2 1
diff --git a/public_test_cases/p03297/input.2.txt b/public_test_cases/p03297/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65e3a19dfed79bb1a29fbc79bbf4c01d3c8c309f
--- /dev/null
+++ b/public_test_cases/p03297/input.2.txt
@@ -0,0 +1,15 @@
+14
+9 7 5 9
+9 7 6 9
+14 10 7 12
+14 10 8 12
+14 10 9 12
+14 10 7 11
+14 10 8 11
+14 10 9 11
+9 10 5 10
+10 10 5 10
+11 10 5 10
+16 10 5 10
+1000000000000000000 17 14 999999999999999985
+1000000000000000000 17 15 999999999999999985
diff --git a/public_test_cases/p03297/output.0.txt b/public_test_cases/p03297/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fec519f89bacb02764ab64cbc1f72df931fdc352
--- /dev/null
+++ b/public_test_cases/p03297/output.0.txt
@@ -0,0 +1,14 @@
+No
+Yes
+No
+Yes
+Yes
+No
+No
+Yes
+No
+Yes
+Yes
+No
+No
+Yes
diff --git a/public_test_cases/p03297/output.1.txt b/public_test_cases/p03297/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654e25607ac1e042b8e57adf8fb433247cdd2590
--- /dev/null
+++ b/public_test_cases/p03297/output.1.txt
@@ -0,0 +1,24 @@
+No
+No
+No
+No
+No
+No
+Yes
+Yes
+No
+No
+No
+No
+Yes
+Yes
+Yes
+No
+No
+No
+Yes
+Yes
+Yes
+No
+No
+No
diff --git a/public_test_cases/p03297/output.2.txt b/public_test_cases/p03297/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fec519f89bacb02764ab64cbc1f72df931fdc352
--- /dev/null
+++ b/public_test_cases/p03297/output.2.txt
@@ -0,0 +1,14 @@
+No
+Yes
+No
+Yes
+Yes
+No
+No
+Yes
+No
+Yes
+Yes
+No
+No
+Yes
diff --git a/public_test_cases/p03298/input.0.txt b/public_test_cases/p03298/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f9823fecef53b48b65c9b68f6b3e404e533ba8e
--- /dev/null
+++ b/public_test_cases/p03298/input.0.txt
@@ -0,0 +1,2 @@
+4
+cabaacba
diff --git a/public_test_cases/p03298/input.1.txt b/public_test_cases/p03298/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f9823fecef53b48b65c9b68f6b3e404e533ba8e
--- /dev/null
+++ b/public_test_cases/p03298/input.1.txt
@@ -0,0 +1,2 @@
+4
+cabaacba
diff --git a/public_test_cases/p03298/input.2.txt b/public_test_cases/p03298/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3511beb77ff915ce2623d37789861d3eea3a62a
--- /dev/null
+++ b/public_test_cases/p03298/input.2.txt
@@ -0,0 +1,2 @@
+18
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
diff --git a/public_test_cases/p03298/input.3.txt b/public_test_cases/p03298/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c4f10d7d9fc53ad6a4c5cb076fea3e1fe8d8a97
--- /dev/null
+++ b/public_test_cases/p03298/input.3.txt
@@ -0,0 +1,2 @@
+11
+mippiisssisssiipsspiim
diff --git a/public_test_cases/p03298/input.4.txt b/public_test_cases/p03298/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea657989c347ddfbc2bda45c794cbb7149438d4d
--- /dev/null
+++ b/public_test_cases/p03298/input.4.txt
@@ -0,0 +1,2 @@
+4
+abcdefgh
diff --git a/public_test_cases/p03298/output.0.txt b/public_test_cases/p03298/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03298/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03298/output.1.txt b/public_test_cases/p03298/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03298/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03298/output.2.txt b/public_test_cases/p03298/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29ccdd063b2cfcda8c679a952a22cf8eccb8e5f6
--- /dev/null
+++ b/public_test_cases/p03298/output.2.txt
@@ -0,0 +1 @@
+9075135300
diff --git a/public_test_cases/p03298/output.3.txt b/public_test_cases/p03298/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3091e8eea2ff748bf47189885fb5df2feaf14de2
--- /dev/null
+++ b/public_test_cases/p03298/output.3.txt
@@ -0,0 +1 @@
+504
diff --git a/public_test_cases/p03298/output.4.txt b/public_test_cases/p03298/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03298/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03299/input.0.txt b/public_test_cases/p03299/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e0d5bac7d2099ba4fc086bf3b8e8536301b647e
--- /dev/null
+++ b/public_test_cases/p03299/input.0.txt
@@ -0,0 +1,2 @@
+9
+2 3 5 4 1 2 4 2 1
diff --git a/public_test_cases/p03299/input.1.txt b/public_test_cases/p03299/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e0d5bac7d2099ba4fc086bf3b8e8536301b647e
--- /dev/null
+++ b/public_test_cases/p03299/input.1.txt
@@ -0,0 +1,2 @@
+9
+2 3 5 4 1 2 4 2 1
diff --git a/public_test_cases/p03299/input.2.txt b/public_test_cases/p03299/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d7778566a9ec2edc1aef3405376f39389487c9f
--- /dev/null
+++ b/public_test_cases/p03299/input.2.txt
@@ -0,0 +1,2 @@
+2
+2 2
diff --git a/public_test_cases/p03299/input.3.txt b/public_test_cases/p03299/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61da9393aff67624c721832d2cdd5a995ae9cb2f
--- /dev/null
+++ b/public_test_cases/p03299/input.3.txt
@@ -0,0 +1,2 @@
+9
+27 18 28 18 28 45 90 45 23
diff --git a/public_test_cases/p03299/input.4.txt b/public_test_cases/p03299/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46dcc49a2e12db7593ef436b425d1f89b66bcfb9
--- /dev/null
+++ b/public_test_cases/p03299/input.4.txt
@@ -0,0 +1,2 @@
+5
+2 1 2 1 2
diff --git a/public_test_cases/p03299/output.0.txt b/public_test_cases/p03299/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba605fc0df7b657db495f4528cd0dba22540bf02
--- /dev/null
+++ b/public_test_cases/p03299/output.0.txt
@@ -0,0 +1 @@
+12800
diff --git a/public_test_cases/p03299/output.1.txt b/public_test_cases/p03299/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba605fc0df7b657db495f4528cd0dba22540bf02
--- /dev/null
+++ b/public_test_cases/p03299/output.1.txt
@@ -0,0 +1 @@
+12800
diff --git a/public_test_cases/p03299/output.2.txt b/public_test_cases/p03299/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03299/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03299/output.3.txt b/public_test_cases/p03299/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f719e0c4d08f2d06b60823792715d7c3738a764
--- /dev/null
+++ b/public_test_cases/p03299/output.3.txt
@@ -0,0 +1 @@
+844733013
diff --git a/public_test_cases/p03299/output.4.txt b/public_test_cases/p03299/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9183bf03fccab013c0805dd51f7ea97bbb86de5d
--- /dev/null
+++ b/public_test_cases/p03299/output.4.txt
@@ -0,0 +1 @@
+256
diff --git a/public_test_cases/p03300/input.0.txt b/public_test_cases/p03300/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7092e6c89c8328ddbe0cacc49bb455b0172d3cef
--- /dev/null
+++ b/public_test_cases/p03300/input.0.txt
@@ -0,0 +1,2 @@
+3
+aababb
diff --git a/public_test_cases/p03300/input.1.txt b/public_test_cases/p03300/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e87ffa757adbd682050539592f1c45882cc8865
--- /dev/null
+++ b/public_test_cases/p03300/input.1.txt
@@ -0,0 +1,2 @@
+3
+bbabaa
diff --git a/public_test_cases/p03300/input.2.txt b/public_test_cases/p03300/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7092e6c89c8328ddbe0cacc49bb455b0172d3cef
--- /dev/null
+++ b/public_test_cases/p03300/input.2.txt
@@ -0,0 +1,2 @@
+3
+aababb
diff --git a/public_test_cases/p03300/input.3.txt b/public_test_cases/p03300/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fcd5e1d066dc3d8dac65dd4546336b770807590
--- /dev/null
+++ b/public_test_cases/p03300/input.3.txt
@@ -0,0 +1,2 @@
+9
+abbbaababaababbaba
diff --git a/public_test_cases/p03300/input.4.txt b/public_test_cases/p03300/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..605ca7b564e17df9e4c35ade731ef39aaf7f77f8
--- /dev/null
+++ b/public_test_cases/p03300/input.4.txt
@@ -0,0 +1,2 @@
+6
+bbbaabbabaaa
diff --git a/public_test_cases/p03300/output.0.txt b/public_test_cases/p03300/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1790c8d8f24817257c4d9e9bfddcb7e7d001c208
--- /dev/null
+++ b/public_test_cases/p03300/output.0.txt
@@ -0,0 +1 @@
+abab
diff --git a/public_test_cases/p03300/output.1.txt b/public_test_cases/p03300/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46ce007823318b7d7514e87cc8d0875e08c9eb1a
--- /dev/null
+++ b/public_test_cases/p03300/output.1.txt
@@ -0,0 +1 @@
+bbabaa
diff --git a/public_test_cases/p03300/output.2.txt b/public_test_cases/p03300/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1790c8d8f24817257c4d9e9bfddcb7e7d001c208
--- /dev/null
+++ b/public_test_cases/p03300/output.2.txt
@@ -0,0 +1 @@
+abab
diff --git a/public_test_cases/p03300/output.3.txt b/public_test_cases/p03300/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..044e1facd501aeee102bd9891584d09a81e3df4f
--- /dev/null
+++ b/public_test_cases/p03300/output.3.txt
@@ -0,0 +1 @@
+bbaababababa
diff --git a/public_test_cases/p03300/output.4.txt b/public_test_cases/p03300/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a3e35517699ef79db68cfc2c5dc48c50c392794
--- /dev/null
+++ b/public_test_cases/p03300/output.4.txt
@@ -0,0 +1 @@
+bbbabaaa
diff --git a/public_test_cases/p03301/input.0.txt b/public_test_cases/p03301/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9485a0735e2d2d5b62cc35a3fd1ab7e4f39c318f
--- /dev/null
+++ b/public_test_cases/p03301/input.0.txt
@@ -0,0 +1,2 @@
+5
+20 100 10 1 10
diff --git a/public_test_cases/p03301/input.1.txt b/public_test_cases/p03301/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9485a0735e2d2d5b62cc35a3fd1ab7e4f39c318f
--- /dev/null
+++ b/public_test_cases/p03301/input.1.txt
@@ -0,0 +1,2 @@
+5
+20 100 10 1 10
diff --git a/public_test_cases/p03301/input.2.txt b/public_test_cases/p03301/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7bfd1482e6c6a229341fe13a1f49507b42be258
--- /dev/null
+++ b/public_test_cases/p03301/input.2.txt
@@ -0,0 +1,2 @@
+6
+4 5 1 1 4 5
diff --git a/public_test_cases/p03301/input.3.txt b/public_test_cases/p03301/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de612a7470a111c414289fee1719483cc79395e4
--- /dev/null
+++ b/public_test_cases/p03301/input.3.txt
@@ -0,0 +1,2 @@
+5
+1 10 100 10 1
diff --git a/public_test_cases/p03301/output.0.txt b/public_test_cases/p03301/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a29588c7d055d257eca73f824162f1c0a10f670
--- /dev/null
+++ b/public_test_cases/p03301/output.0.txt
@@ -0,0 +1 @@
+120 21
diff --git a/public_test_cases/p03301/output.1.txt b/public_test_cases/p03301/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a29588c7d055d257eca73f824162f1c0a10f670
--- /dev/null
+++ b/public_test_cases/p03301/output.1.txt
@@ -0,0 +1 @@
+120 21
diff --git a/public_test_cases/p03301/output.2.txt b/public_test_cases/p03301/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..148b5def626bce659fae2dedc75b76a72d04b821
--- /dev/null
+++ b/public_test_cases/p03301/output.2.txt
@@ -0,0 +1 @@
+11 9
diff --git a/public_test_cases/p03301/output.3.txt b/public_test_cases/p03301/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56cfd8453a8afbec5af030b25033001cad38706b
--- /dev/null
+++ b/public_test_cases/p03301/output.3.txt
@@ -0,0 +1 @@
+102 20
diff --git a/public_test_cases/p03302/input.0.txt b/public_test_cases/p03302/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1afc8a03f49a7a6f6036a9c037d35cde089ef5ce
--- /dev/null
+++ b/public_test_cases/p03302/input.0.txt
@@ -0,0 +1 @@
+4 11
diff --git a/public_test_cases/p03302/input.1.txt b/public_test_cases/p03302/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1afc8a03f49a7a6f6036a9c037d35cde089ef5ce
--- /dev/null
+++ b/public_test_cases/p03302/input.1.txt
@@ -0,0 +1 @@
+4 11
diff --git a/public_test_cases/p03302/input.2.txt b/public_test_cases/p03302/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p03302/input.2.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p03302/input.3.txt b/public_test_cases/p03302/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03302/input.3.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03302/output.0.txt b/public_test_cases/p03302/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd38861632cb2360cb5acb6253e7e281647f034a
--- /dev/null
+++ b/public_test_cases/p03302/output.0.txt
@@ -0,0 +1 @@
++
diff --git a/public_test_cases/p03302/output.1.txt b/public_test_cases/p03302/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd38861632cb2360cb5acb6253e7e281647f034a
--- /dev/null
+++ b/public_test_cases/p03302/output.1.txt
@@ -0,0 +1 @@
++
diff --git a/public_test_cases/p03302/output.2.txt b/public_test_cases/p03302/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72e8ffc0db8aad71a934dd11e5968bd5109e54b4
--- /dev/null
+++ b/public_test_cases/p03302/output.2.txt
@@ -0,0 +1 @@
+*
diff --git a/public_test_cases/p03302/output.3.txt b/public_test_cases/p03302/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..587be6b4c3f93f93c489c0111bba5596147a26cb
--- /dev/null
+++ b/public_test_cases/p03302/output.3.txt
@@ -0,0 +1 @@
+x
diff --git a/public_test_cases/p03303/input.0.txt b/public_test_cases/p03303/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6aeefcc7bc4205704815c55745311de957102c76
--- /dev/null
+++ b/public_test_cases/p03303/input.0.txt
@@ -0,0 +1,2 @@
+abcdefgh
+3
diff --git a/public_test_cases/p03303/input.1.txt b/public_test_cases/p03303/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..530ea1440d2b27eafaa3987845ef41732c8a3852
--- /dev/null
+++ b/public_test_cases/p03303/input.1.txt
@@ -0,0 +1,2 @@
+lllll
+1
diff --git a/public_test_cases/p03303/input.2.txt b/public_test_cases/p03303/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6aeefcc7bc4205704815c55745311de957102c76
--- /dev/null
+++ b/public_test_cases/p03303/input.2.txt
@@ -0,0 +1,2 @@
+abcdefgh
+3
diff --git a/public_test_cases/p03303/input.3.txt b/public_test_cases/p03303/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d362afc49d73dd68c68946c11bd7024d6031fd54
--- /dev/null
+++ b/public_test_cases/p03303/input.3.txt
@@ -0,0 +1,2 @@
+souuundhound
+2
diff --git a/public_test_cases/p03303/output.0.txt b/public_test_cases/p03303/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01ffc25f6c40eb12b361eb2938ae275d6a6b02cb
--- /dev/null
+++ b/public_test_cases/p03303/output.0.txt
@@ -0,0 +1 @@
+adg
diff --git a/public_test_cases/p03303/output.1.txt b/public_test_cases/p03303/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4a8dab3d5364300fa327ca26e6ea6da0244098f
--- /dev/null
+++ b/public_test_cases/p03303/output.1.txt
@@ -0,0 +1 @@
+lllll
diff --git a/public_test_cases/p03303/output.2.txt b/public_test_cases/p03303/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01ffc25f6c40eb12b361eb2938ae275d6a6b02cb
--- /dev/null
+++ b/public_test_cases/p03303/output.2.txt
@@ -0,0 +1 @@
+adg
diff --git a/public_test_cases/p03303/output.3.txt b/public_test_cases/p03303/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..931f13e9f7bbf6a50f54b68bc2c74575d8039e64
--- /dev/null
+++ b/public_test_cases/p03303/output.3.txt
@@ -0,0 +1 @@
+suudon
diff --git a/public_test_cases/p03304/input.0.txt b/public_test_cases/p03304/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bafe88d75575352861ed5f2a438df237bed39211
--- /dev/null
+++ b/public_test_cases/p03304/input.0.txt
@@ -0,0 +1 @@
+2 3 1
diff --git a/public_test_cases/p03304/input.1.txt b/public_test_cases/p03304/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bafe88d75575352861ed5f2a438df237bed39211
--- /dev/null
+++ b/public_test_cases/p03304/input.1.txt
@@ -0,0 +1 @@
+2 3 1
diff --git a/public_test_cases/p03304/input.2.txt b/public_test_cases/p03304/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89f0e7ca86a3afa7704d0a08fe78a46fe7cfeb82
--- /dev/null
+++ b/public_test_cases/p03304/input.2.txt
@@ -0,0 +1 @@
+1000000000 180707 0
diff --git a/public_test_cases/p03304/output.0.txt b/public_test_cases/p03304/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..487cbbc74cbdc97e962d1773d88da2ca4f560520
--- /dev/null
+++ b/public_test_cases/p03304/output.0.txt
@@ -0,0 +1 @@
+1.0000000000
diff --git a/public_test_cases/p03304/output.1.txt b/public_test_cases/p03304/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..487cbbc74cbdc97e962d1773d88da2ca4f560520
--- /dev/null
+++ b/public_test_cases/p03304/output.1.txt
@@ -0,0 +1 @@
+1.0000000000
diff --git a/public_test_cases/p03304/output.2.txt b/public_test_cases/p03304/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a623dcaf07a532e3cdb6d30a1573fc6b6949cc8
--- /dev/null
+++ b/public_test_cases/p03304/output.2.txt
@@ -0,0 +1 @@
+0.0001807060
diff --git a/public_test_cases/p03305/input.0.txt b/public_test_cases/p03305/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d700f5dbab98a4ff39cdc961cffb7cdc20985802
--- /dev/null
+++ b/public_test_cases/p03305/input.0.txt
@@ -0,0 +1,4 @@
+4 3 2 3
+1 4 1 100
+1 2 1 10
+1 3 20 1
diff --git a/public_test_cases/p03305/input.1.txt b/public_test_cases/p03305/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b67281805b7394dd3f90c384b6c239f03703d1f2
--- /dev/null
+++ b/public_test_cases/p03305/input.1.txt
@@ -0,0 +1,13 @@
+8 12 3 8
+2 8 685087149 857180777
+6 7 298270585 209942236
+2 4 346080035 234079976
+2 5 131857300 22507157
+4 8 30723332 173476334
+2 6 480845267 448565596
+1 4 181424400 548830121
+4 5 57429995 195056405
+7 8 160277628 479932440
+1 6 475692952 203530153
+3 5 336869679 160714712
+2 7 389775999 199123879
diff --git a/public_test_cases/p03305/input.2.txt b/public_test_cases/p03305/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d700f5dbab98a4ff39cdc961cffb7cdc20985802
--- /dev/null
+++ b/public_test_cases/p03305/input.2.txt
@@ -0,0 +1,4 @@
+4 3 2 3
+1 4 1 100
+1 2 1 10
+1 3 20 1
diff --git a/public_test_cases/p03305/output.0.txt b/public_test_cases/p03305/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a46fb2ef1847c90bf457a991f3877953150afa04
--- /dev/null
+++ b/public_test_cases/p03305/output.0.txt
@@ -0,0 +1,4 @@
+999999999999998
+999999999999989
+999999999999979
+999999999999897
diff --git a/public_test_cases/p03305/output.1.txt b/public_test_cases/p03305/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d369359c32b8170a6c92503641f71deb5b13b66f
--- /dev/null
+++ b/public_test_cases/p03305/output.1.txt
@@ -0,0 +1,8 @@
+999999574976994
+999999574976994
+999999574976994
+999999574976994
+999999574976994
+999999574976994
+999999574976994
+999999574976994
diff --git a/public_test_cases/p03305/output.2.txt b/public_test_cases/p03305/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a46fb2ef1847c90bf457a991f3877953150afa04
--- /dev/null
+++ b/public_test_cases/p03305/output.2.txt
@@ -0,0 +1,4 @@
+999999999999998
+999999999999989
+999999999999979
+999999999999897
diff --git a/public_test_cases/p03306/input.0.txt b/public_test_cases/p03306/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7c9877db32b24548870bc86584793c4899afd6f
--- /dev/null
+++ b/public_test_cases/p03306/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 3
+2 3 5
+1 3 4
diff --git a/public_test_cases/p03306/input.1.txt b/public_test_cases/p03306/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b11170afdb7860157c24b7fa013a2404db4c4eb
--- /dev/null
+++ b/public_test_cases/p03306/input.1.txt
@@ -0,0 +1,4 @@
+4 3
+1 2 6
+2 3 7
+3 4 5
diff --git a/public_test_cases/p03306/input.2.txt b/public_test_cases/p03306/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7c9877db32b24548870bc86584793c4899afd6f
--- /dev/null
+++ b/public_test_cases/p03306/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 3
+2 3 5
+1 3 4
diff --git a/public_test_cases/p03306/input.3.txt b/public_test_cases/p03306/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1901de287ae950df004510d3bed455ed60ea8cef
--- /dev/null
+++ b/public_test_cases/p03306/input.3.txt
@@ -0,0 +1,8 @@
+8 7
+1 2 1000000000
+2 3 2
+3 4 1000000000
+4 5 2
+5 6 1000000000
+6 7 2
+7 8 1000000000
diff --git a/public_test_cases/p03306/output.0.txt b/public_test_cases/p03306/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03306/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03306/output.1.txt b/public_test_cases/p03306/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03306/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03306/output.2.txt b/public_test_cases/p03306/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03306/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03306/output.3.txt b/public_test_cases/p03306/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03306/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03307/input.0.txt b/public_test_cases/p03307/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03307/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03307/input.1.txt b/public_test_cases/p03307/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28e56d983ef928848a1b0cdae1fe481ad09143a2
--- /dev/null
+++ b/public_test_cases/p03307/input.1.txt
@@ -0,0 +1 @@
+999999999
diff --git a/public_test_cases/p03307/input.2.txt b/public_test_cases/p03307/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03307/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03307/input.3.txt b/public_test_cases/p03307/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03307/input.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03307/output.0.txt b/public_test_cases/p03307/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03307/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03307/output.1.txt b/public_test_cases/p03307/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01484d37669d80fe274add6298b2132d173f137a
--- /dev/null
+++ b/public_test_cases/p03307/output.1.txt
@@ -0,0 +1 @@
+1999999998
diff --git a/public_test_cases/p03307/output.2.txt b/public_test_cases/p03307/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03307/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03307/output.3.txt b/public_test_cases/p03307/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03307/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03308/input.0.txt b/public_test_cases/p03308/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef7d14bdc75425cdcf13ed55d092787c673ea15d
--- /dev/null
+++ b/public_test_cases/p03308/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 4 6 3
diff --git a/public_test_cases/p03308/output.0.txt b/public_test_cases/p03308/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03308/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03309/input.0.txt b/public_test_cases/p03309/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18882524da6c1d7cc2d63743af279793a0871d9a
--- /dev/null
+++ b/public_test_cases/p03309/input.0.txt
@@ -0,0 +1,2 @@
+5
+2 2 3 5 5
diff --git a/public_test_cases/p03309/input.1.txt b/public_test_cases/p03309/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18882524da6c1d7cc2d63743af279793a0871d9a
--- /dev/null
+++ b/public_test_cases/p03309/input.1.txt
@@ -0,0 +1,2 @@
+5
+2 2 3 5 5
diff --git a/public_test_cases/p03309/input.2.txt b/public_test_cases/p03309/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a3ff79dc95b51a1d8f27b79db2e1f2343369fe8
--- /dev/null
+++ b/public_test_cases/p03309/input.2.txt
@@ -0,0 +1,2 @@
+7
+1 1 1 1 2 3 4
diff --git a/public_test_cases/p03309/input.3.txt b/public_test_cases/p03309/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bbd6ae3a1f8c6414096b7a175fd70d13657f5b
--- /dev/null
+++ b/public_test_cases/p03309/input.3.txt
@@ -0,0 +1,2 @@
+9
+1 2 3 4 5 6 7 8 9
diff --git a/public_test_cases/p03309/input.4.txt b/public_test_cases/p03309/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8db8ab6d8a65dd0691ca63947f38b74873b969ac
--- /dev/null
+++ b/public_test_cases/p03309/input.4.txt
@@ -0,0 +1,2 @@
+6
+6 5 4 3 2 1
diff --git a/public_test_cases/p03309/output.0.txt b/public_test_cases/p03309/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03309/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03309/output.1.txt b/public_test_cases/p03309/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03309/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03309/output.2.txt b/public_test_cases/p03309/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03309/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03309/output.3.txt b/public_test_cases/p03309/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03309/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03309/output.4.txt b/public_test_cases/p03309/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03309/output.4.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03310/input.0.txt b/public_test_cases/p03310/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eef0e99088698dd532a6aad4e136d1de8f9ea1e5
--- /dev/null
+++ b/public_test_cases/p03310/input.0.txt
@@ -0,0 +1,2 @@
+5
+3 2 4 1 2
diff --git a/public_test_cases/p03310/output.0.txt b/public_test_cases/p03310/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03310/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03311/input.0.txt b/public_test_cases/p03311/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18882524da6c1d7cc2d63743af279793a0871d9a
--- /dev/null
+++ b/public_test_cases/p03311/input.0.txt
@@ -0,0 +1,2 @@
+5
+2 2 3 5 5
diff --git a/public_test_cases/p03311/output.0.txt b/public_test_cases/p03311/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03311/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03312/input.0.txt b/public_test_cases/p03312/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eef0e99088698dd532a6aad4e136d1de8f9ea1e5
--- /dev/null
+++ b/public_test_cases/p03312/input.0.txt
@@ -0,0 +1,2 @@
+5
+3 2 4 1 2
diff --git a/public_test_cases/p03312/input.1.txt b/public_test_cases/p03312/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86ce8a951ce1b6d265d8a3121d482cef2ee70560
--- /dev/null
+++ b/public_test_cases/p03312/input.1.txt
@@ -0,0 +1,2 @@
+10
+10 71 84 33 6 47 23 25 52 64
diff --git a/public_test_cases/p03312/input.2.txt b/public_test_cases/p03312/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2859cc91932520a774bacb37ceaf9a5c42afbea
--- /dev/null
+++ b/public_test_cases/p03312/input.2.txt
@@ -0,0 +1,2 @@
+7
+1 2 3 1000000000 4 5 6
diff --git a/public_test_cases/p03312/input.3.txt b/public_test_cases/p03312/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eef0e99088698dd532a6aad4e136d1de8f9ea1e5
--- /dev/null
+++ b/public_test_cases/p03312/input.3.txt
@@ -0,0 +1,2 @@
+5
+3 2 4 1 2
diff --git a/public_test_cases/p03312/output.0.txt b/public_test_cases/p03312/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03312/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03312/output.1.txt b/public_test_cases/p03312/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p03312/output.1.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p03312/output.2.txt b/public_test_cases/p03312/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2eb623f6c553f7aa73c620f7fbf2de472fed0e4
--- /dev/null
+++ b/public_test_cases/p03312/output.2.txt
@@ -0,0 +1 @@
+999999994
diff --git a/public_test_cases/p03312/output.3.txt b/public_test_cases/p03312/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03312/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03313/input.0.txt b/public_test_cases/p03313/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83e9f6373b97d04a0accc95994cb186b28132804
--- /dev/null
+++ b/public_test_cases/p03313/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 2 3 1
diff --git a/public_test_cases/p03313/input.1.txt b/public_test_cases/p03313/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83e9f6373b97d04a0accc95994cb186b28132804
--- /dev/null
+++ b/public_test_cases/p03313/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 2 3 1
diff --git a/public_test_cases/p03313/input.2.txt b/public_test_cases/p03313/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a10e743c275280a713cf47f5076470c110e0eb10
--- /dev/null
+++ b/public_test_cases/p03313/input.2.txt
@@ -0,0 +1,2 @@
+3
+10 71 84 33 6 47 23 25
diff --git a/public_test_cases/p03313/input.3.txt b/public_test_cases/p03313/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..305f381b96082743084f41a175728192e698edfa
--- /dev/null
+++ b/public_test_cases/p03313/input.3.txt
@@ -0,0 +1,2 @@
+4
+75 26 45 72 81 47 97 97 2 2 25 82 84 17 56 32
diff --git a/public_test_cases/p03313/output.0.txt b/public_test_cases/p03313/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2e8ea0904b0fdd2d02ac80f08d60c82e199e8a5
--- /dev/null
+++ b/public_test_cases/p03313/output.0.txt
@@ -0,0 +1,3 @@
+3
+4
+5
diff --git a/public_test_cases/p03313/output.1.txt b/public_test_cases/p03313/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2e8ea0904b0fdd2d02ac80f08d60c82e199e8a5
--- /dev/null
+++ b/public_test_cases/p03313/output.1.txt
@@ -0,0 +1,3 @@
+3
+4
+5
diff --git a/public_test_cases/p03313/output.2.txt b/public_test_cases/p03313/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5ec56b58d49f46d8f7f7cb830ff52467b885742
--- /dev/null
+++ b/public_test_cases/p03313/output.2.txt
@@ -0,0 +1,7 @@
+81
+94
+155
+155
+155
+155
+155
diff --git a/public_test_cases/p03313/output.3.txt b/public_test_cases/p03313/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6bb9a43507322d573ef0f99cef6a3a52ac02876
--- /dev/null
+++ b/public_test_cases/p03313/output.3.txt
@@ -0,0 +1,15 @@
+101
+120
+147
+156
+156
+178
+194
+194
+194
+194
+194
+194
+194
+194
+194
diff --git a/public_test_cases/p03314/input.0.txt b/public_test_cases/p03314/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84dd496a5c3eb6aa2f1497d0aff95267d481f117
--- /dev/null
+++ b/public_test_cases/p03314/input.0.txt
@@ -0,0 +1,2 @@
+3 2 1
+1
diff --git a/public_test_cases/p03314/input.1.txt b/public_test_cases/p03314/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84dd496a5c3eb6aa2f1497d0aff95267d481f117
--- /dev/null
+++ b/public_test_cases/p03314/input.1.txt
@@ -0,0 +1,2 @@
+3 2 1
+1
diff --git a/public_test_cases/p03314/input.2.txt b/public_test_cases/p03314/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7e50889f4de41ff8d34a2f5058dc550e40a6641
--- /dev/null
+++ b/public_test_cases/p03314/input.2.txt
@@ -0,0 +1,2 @@
+4 2 2
+1 2
diff --git a/public_test_cases/p03314/input.3.txt b/public_test_cases/p03314/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c6af0ea176c94b8a2c169771f544e76be9ac54b
--- /dev/null
+++ b/public_test_cases/p03314/input.3.txt
@@ -0,0 +1,2 @@
+5 4 3
+1 1 1
diff --git a/public_test_cases/p03314/input.4.txt b/public_test_cases/p03314/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73d296492ccbe2a05ad8225ccbae0fe4fbf4d823
--- /dev/null
+++ b/public_test_cases/p03314/input.4.txt
@@ -0,0 +1,2 @@
+25000 400 4
+3 7 31 127
diff --git a/public_test_cases/p03314/input.5.txt b/public_test_cases/p03314/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c46335264c9cc1e6e588122dd37dfe78902afd4
--- /dev/null
+++ b/public_test_cases/p03314/input.5.txt
@@ -0,0 +1,2 @@
+9954 310 12
+267 193 278 294 6 63 86 166 157 193 168 43
diff --git a/public_test_cases/p03314/input.6.txt b/public_test_cases/p03314/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68e51ea407fd1be200d36f593289c75c2db2b8cb
--- /dev/null
+++ b/public_test_cases/p03314/input.6.txt
@@ -0,0 +1,2 @@
+10 3 5
+1 1 2 3 3
diff --git a/public_test_cases/p03314/input.7.txt b/public_test_cases/p03314/input.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f25298e7908560ec9a4e963518162af1a0939d5
--- /dev/null
+++ b/public_test_cases/p03314/input.7.txt
@@ -0,0 +1,2 @@
+7 4 5
+1 2 3 1 2
diff --git a/public_test_cases/p03314/output.0.txt b/public_test_cases/p03314/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03314/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03314/output.1.txt b/public_test_cases/p03314/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03314/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03314/output.2.txt b/public_test_cases/p03314/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03314/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03314/output.3.txt b/public_test_cases/p03314/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03314/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03314/output.4.txt b/public_test_cases/p03314/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b89bb558b312ee46f7012f42a0c4dec84d8081a7
--- /dev/null
+++ b/public_test_cases/p03314/output.4.txt
@@ -0,0 +1 @@
+923966268
diff --git a/public_test_cases/p03314/output.5.txt b/public_test_cases/p03314/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ee660e2a438ea3ea790a4dd3049c93e7dcfa167
--- /dev/null
+++ b/public_test_cases/p03314/output.5.txt
@@ -0,0 +1 @@
+979180369
diff --git a/public_test_cases/p03314/output.6.txt b/public_test_cases/p03314/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2794bbe069d76d27c545987b32738bfebce988d0
--- /dev/null
+++ b/public_test_cases/p03314/output.6.txt
@@ -0,0 +1 @@
+1458
diff --git a/public_test_cases/p03314/output.7.txt b/public_test_cases/p03314/output.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p03314/output.7.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p03315/input.0.txt b/public_test_cases/p03315/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..598cec5dac1cace461b98c2d1d12a36012a9c82d
--- /dev/null
+++ b/public_test_cases/p03315/input.0.txt
@@ -0,0 +1 @@
++-++
diff --git a/public_test_cases/p03315/input.1.txt b/public_test_cases/p03315/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..598cec5dac1cace461b98c2d1d12a36012a9c82d
--- /dev/null
+++ b/public_test_cases/p03315/input.1.txt
@@ -0,0 +1 @@
++-++
diff --git a/public_test_cases/p03315/input.2.txt b/public_test_cases/p03315/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3383539a6ede74fff78959ce670c5071eda46f68
--- /dev/null
+++ b/public_test_cases/p03315/input.2.txt
@@ -0,0 +1 @@
+-+--
diff --git a/public_test_cases/p03315/input.3.txt b/public_test_cases/p03315/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87d43697f4110b9b1d8a738b2ab1e47c51db9db1
--- /dev/null
+++ b/public_test_cases/p03315/input.3.txt
@@ -0,0 +1 @@
+----
diff --git a/public_test_cases/p03315/output.0.txt b/public_test_cases/p03315/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03315/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03315/output.1.txt b/public_test_cases/p03315/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03315/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03315/output.2.txt b/public_test_cases/p03315/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fbedf693b51d80a9480634ff720815943de9889
--- /dev/null
+++ b/public_test_cases/p03315/output.2.txt
@@ -0,0 +1 @@
+-2
diff --git a/public_test_cases/p03315/output.3.txt b/public_test_cases/p03315/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bae29925cf01f8e876ee529f224635c00a865924
--- /dev/null
+++ b/public_test_cases/p03315/output.3.txt
@@ -0,0 +1 @@
+-4
diff --git a/public_test_cases/p03316/input.0.txt b/public_test_cases/p03316/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03316/input.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03316/output.0.txt b/public_test_cases/p03316/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03316/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03317/input.0.txt b/public_test_cases/p03317/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a86d88f9ad792f07c1786b5cc87bec3e254d46c
--- /dev/null
+++ b/public_test_cases/p03317/input.0.txt
@@ -0,0 +1,2 @@
+4 3
+2 3 1 4
diff --git a/public_test_cases/p03317/input.1.txt b/public_test_cases/p03317/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81011f8acc96c80bda2d326c060335845cb16d08
--- /dev/null
+++ b/public_test_cases/p03317/input.1.txt
@@ -0,0 +1,2 @@
+8 3
+7 3 1 8 4 6 2 5
diff --git a/public_test_cases/p03317/input.2.txt b/public_test_cases/p03317/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a86d88f9ad792f07c1786b5cc87bec3e254d46c
--- /dev/null
+++ b/public_test_cases/p03317/input.2.txt
@@ -0,0 +1,2 @@
+4 3
+2 3 1 4
diff --git a/public_test_cases/p03317/input.3.txt b/public_test_cases/p03317/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e6c03e4e6d4a7352717eb6d36ee63669371c68a
--- /dev/null
+++ b/public_test_cases/p03317/input.3.txt
@@ -0,0 +1,2 @@
+3 3
+1 2 3
diff --git a/public_test_cases/p03317/output.0.txt b/public_test_cases/p03317/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03317/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03317/output.1.txt b/public_test_cases/p03317/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03317/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03317/output.2.txt b/public_test_cases/p03317/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03317/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03317/output.3.txt b/public_test_cases/p03317/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03317/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03318/input.0.txt b/public_test_cases/p03318/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03318/input.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03318/input.1.txt b/public_test_cases/p03318/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03318/input.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03318/output.0.txt b/public_test_cases/p03318/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcd3f64f3656e133bda10c9aaadf190d89c0a173
--- /dev/null
+++ b/public_test_cases/p03318/output.0.txt
@@ -0,0 +1,10 @@
+1
+2
+3
+4
+5
+6
+7
+8
+9
+19
diff --git a/public_test_cases/p03318/output.1.txt b/public_test_cases/p03318/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcd3f64f3656e133bda10c9aaadf190d89c0a173
--- /dev/null
+++ b/public_test_cases/p03318/output.1.txt
@@ -0,0 +1,10 @@
+1
+2
+3
+4
+5
+6
+7
+8
+9
+19
diff --git a/public_test_cases/p03319/input.0.txt b/public_test_cases/p03319/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a86d88f9ad792f07c1786b5cc87bec3e254d46c
--- /dev/null
+++ b/public_test_cases/p03319/input.0.txt
@@ -0,0 +1,2 @@
+4 3
+2 3 1 4
diff --git a/public_test_cases/p03319/output.0.txt b/public_test_cases/p03319/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03319/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03320/input.0.txt b/public_test_cases/p03320/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03320/input.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03320/output.0.txt b/public_test_cases/p03320/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcd3f64f3656e133bda10c9aaadf190d89c0a173
--- /dev/null
+++ b/public_test_cases/p03320/output.0.txt
@@ -0,0 +1,10 @@
+1
+2
+3
+4
+5
+6
+7
+8
+9
+19
diff --git a/public_test_cases/p03321/input.0.txt b/public_test_cases/p03321/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c7a862754ca2037b5cf4622cace2794909c3caa
--- /dev/null
+++ b/public_test_cases/p03321/input.0.txt
@@ -0,0 +1,6 @@
+5 5
+1 2
+1 3
+3 4
+3 5
+4 5
diff --git a/public_test_cases/p03321/input.1.txt b/public_test_cases/p03321/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c7a862754ca2037b5cf4622cace2794909c3caa
--- /dev/null
+++ b/public_test_cases/p03321/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+1 2
+1 3
+3 4
+3 5
+4 5
diff --git a/public_test_cases/p03321/input.2.txt b/public_test_cases/p03321/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3c7fe7e3f23ecf11ebd912c3b48e86f9b11da99
--- /dev/null
+++ b/public_test_cases/p03321/input.2.txt
@@ -0,0 +1,2 @@
+5 1
+1 2
diff --git a/public_test_cases/p03321/input.3.txt b/public_test_cases/p03321/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e6c86ac51034c9265446bb0a6719b9c6212b2283
--- /dev/null
+++ b/public_test_cases/p03321/input.3.txt
@@ -0,0 +1,40 @@
+10 39
+7 2
+7 1
+5 6
+5 8
+9 10
+2 8
+8 7
+3 10
+10 1
+8 10
+2 3
+7 4
+3 9
+4 10
+3 4
+6 1
+6 7
+9 5
+9 7
+6 9
+9 4
+4 6
+7 5
+8 3
+2 5
+9 2
+10 7
+8 6
+8 9
+7 3
+5 3
+4 5
+6 3
+2 10
+5 10
+4 2
+6 2
+8 4
+10 6
diff --git a/public_test_cases/p03321/input.4.txt b/public_test_cases/p03321/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..605cb786f64eb0b1cf19292f4f46b4d4f6c8049b
--- /dev/null
+++ b/public_test_cases/p03321/input.4.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p03321/output.0.txt b/public_test_cases/p03321/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03321/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03321/output.1.txt b/public_test_cases/p03321/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03321/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03321/output.2.txt b/public_test_cases/p03321/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03321/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03321/output.3.txt b/public_test_cases/p03321/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03321/output.3.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03321/output.4.txt b/public_test_cases/p03321/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03321/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03322/input.0.txt b/public_test_cases/p03322/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42b12af0812f5b334997e8a9da0b25c882032356
--- /dev/null
+++ b/public_test_cases/p03322/input.0.txt
@@ -0,0 +1,2 @@
+5
++>+<-
diff --git a/public_test_cases/p03322/input.1.txt b/public_test_cases/p03322/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42b12af0812f5b334997e8a9da0b25c882032356
--- /dev/null
+++ b/public_test_cases/p03322/input.1.txt
@@ -0,0 +1,2 @@
+5
++>+<-
diff --git a/public_test_cases/p03322/input.2.txt b/public_test_cases/p03322/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60e418509085d2a5b14e8b05e23fd1c89ea88d7c
--- /dev/null
+++ b/public_test_cases/p03322/input.2.txt
@@ -0,0 +1,2 @@
+5
++>+-<
diff --git a/public_test_cases/p03322/input.3.txt b/public_test_cases/p03322/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbe01c2a12b755a75aac03fbb8d68fa0406fcce6
--- /dev/null
+++ b/public_test_cases/p03322/input.3.txt
@@ -0,0 +1,2 @@
+48
+-+><<><><><>>>+-<<>->>><<><<-+<>><+<<>+><-+->><<
diff --git a/public_test_cases/p03322/output.0.txt b/public_test_cases/p03322/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03322/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03322/output.1.txt b/public_test_cases/p03322/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03322/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03322/output.2.txt b/public_test_cases/p03322/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03322/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03322/output.3.txt b/public_test_cases/p03322/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7573eff88e16d06e8be936ff5d8a005d39ad782f
--- /dev/null
+++ b/public_test_cases/p03322/output.3.txt
@@ -0,0 +1 @@
+475
diff --git a/public_test_cases/p03323/input.0.txt b/public_test_cases/p03323/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f64a0cb9f54508ddc866bfe93dac511a5f10974
--- /dev/null
+++ b/public_test_cases/p03323/input.0.txt
@@ -0,0 +1 @@
+5 4
diff --git a/public_test_cases/p03323/input.1.txt b/public_test_cases/p03323/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0597be34a47ffd6931f649718e1472dc0dc26db
--- /dev/null
+++ b/public_test_cases/p03323/input.1.txt
@@ -0,0 +1 @@
+11 4
diff --git a/public_test_cases/p03323/input.2.txt b/public_test_cases/p03323/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99ca15399f960d2c36bd34b24db2178857aca917
--- /dev/null
+++ b/public_test_cases/p03323/input.2.txt
@@ -0,0 +1 @@
+8 8
diff --git a/public_test_cases/p03323/input.3.txt b/public_test_cases/p03323/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f64a0cb9f54508ddc866bfe93dac511a5f10974
--- /dev/null
+++ b/public_test_cases/p03323/input.3.txt
@@ -0,0 +1 @@
+5 4
diff --git a/public_test_cases/p03323/output.0.txt b/public_test_cases/p03323/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54183385deb59b25453c38ce72f56b662fb4c600
--- /dev/null
+++ b/public_test_cases/p03323/output.0.txt
@@ -0,0 +1 @@
+Yay!
diff --git a/public_test_cases/p03323/output.1.txt b/public_test_cases/p03323/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1504ea7bfc17cea50e6965a20bcd0579931ce040
--- /dev/null
+++ b/public_test_cases/p03323/output.1.txt
@@ -0,0 +1 @@
+:(
diff --git a/public_test_cases/p03323/output.2.txt b/public_test_cases/p03323/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54183385deb59b25453c38ce72f56b662fb4c600
--- /dev/null
+++ b/public_test_cases/p03323/output.2.txt
@@ -0,0 +1 @@
+Yay!
diff --git a/public_test_cases/p03323/output.3.txt b/public_test_cases/p03323/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54183385deb59b25453c38ce72f56b662fb4c600
--- /dev/null
+++ b/public_test_cases/p03323/output.3.txt
@@ -0,0 +1 @@
+Yay!
diff --git a/public_test_cases/p03324/input.0.txt b/public_test_cases/p03324/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22045a6074ab1cf173eb962eb580d1c8dfe8b730
--- /dev/null
+++ b/public_test_cases/p03324/input.0.txt
@@ -0,0 +1 @@
+0 5
diff --git a/public_test_cases/p03324/input.1.txt b/public_test_cases/p03324/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b7b5e51f3cce66a0573bd7da363eb6fc1e3df09
--- /dev/null
+++ b/public_test_cases/p03324/input.1.txt
@@ -0,0 +1 @@
+2 85
diff --git a/public_test_cases/p03324/input.2.txt b/public_test_cases/p03324/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea95df1358e5e36113f57071f8109f9f152e84a2
--- /dev/null
+++ b/public_test_cases/p03324/input.2.txt
@@ -0,0 +1 @@
+1 11
diff --git a/public_test_cases/p03324/input.3.txt b/public_test_cases/p03324/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22045a6074ab1cf173eb962eb580d1c8dfe8b730
--- /dev/null
+++ b/public_test_cases/p03324/input.3.txt
@@ -0,0 +1 @@
+0 5
diff --git a/public_test_cases/p03324/output.0.txt b/public_test_cases/p03324/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03324/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03324/output.1.txt b/public_test_cases/p03324/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd45b853df5a7fa90ffe590b428a66cc3a52244d
--- /dev/null
+++ b/public_test_cases/p03324/output.1.txt
@@ -0,0 +1 @@
+850000
diff --git a/public_test_cases/p03324/output.2.txt b/public_test_cases/p03324/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d878b321af84e332e6428a6f19225cd9ce24c176
--- /dev/null
+++ b/public_test_cases/p03324/output.2.txt
@@ -0,0 +1 @@
+1100
diff --git a/public_test_cases/p03324/output.3.txt b/public_test_cases/p03324/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03324/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03325/input.0.txt b/public_test_cases/p03325/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e22f6ae2e6bded2b1525d768e297bd006bd641a
--- /dev/null
+++ b/public_test_cases/p03325/input.0.txt
@@ -0,0 +1,2 @@
+3
+5 2 4
diff --git a/public_test_cases/p03325/input.1.txt b/public_test_cases/p03325/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f72741eab0096b18b2ad55e19bd2c24088efbf9a
--- /dev/null
+++ b/public_test_cases/p03325/input.1.txt
@@ -0,0 +1,2 @@
+10
+2184 2126 1721 1800 1024 2528 3360 1945 1280 1776
diff --git a/public_test_cases/p03325/input.2.txt b/public_test_cases/p03325/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0ef8f1fb9f451c553a3ec43ddca4550f6a0de21
--- /dev/null
+++ b/public_test_cases/p03325/input.2.txt
@@ -0,0 +1,2 @@
+4
+631 577 243 199
diff --git a/public_test_cases/p03325/input.3.txt b/public_test_cases/p03325/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e22f6ae2e6bded2b1525d768e297bd006bd641a
--- /dev/null
+++ b/public_test_cases/p03325/input.3.txt
@@ -0,0 +1,2 @@
+3
+5 2 4
diff --git a/public_test_cases/p03325/output.0.txt b/public_test_cases/p03325/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03325/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03325/output.1.txt b/public_test_cases/p03325/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2720097dccb441015beb4f75766b9908ad46f5a
--- /dev/null
+++ b/public_test_cases/p03325/output.1.txt
@@ -0,0 +1 @@
+39
diff --git a/public_test_cases/p03325/output.2.txt b/public_test_cases/p03325/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03325/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03325/output.3.txt b/public_test_cases/p03325/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03325/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03326/input.0.txt b/public_test_cases/p03326/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ffcb2f256d3622c0941fc2efbd908edb2744c70
--- /dev/null
+++ b/public_test_cases/p03326/input.0.txt
@@ -0,0 +1,6 @@
+5 3
+3 1 4
+1 5 9
+2 6 5
+3 5 8
+9 7 9
diff --git a/public_test_cases/p03326/input.1.txt b/public_test_cases/p03326/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a565204b1a498a41dd4eafc8f30be9c90380fa
--- /dev/null
+++ b/public_test_cases/p03326/input.1.txt
@@ -0,0 +1,6 @@
+5 3
+1 -2 3
+-4 5 -6
+7 -8 -9
+-10 11 -12
+13 -14 15
diff --git a/public_test_cases/p03326/input.2.txt b/public_test_cases/p03326/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da9e2e0f6ab9375f4b3cabb09756f0d347bc725a
--- /dev/null
+++ b/public_test_cases/p03326/input.2.txt
@@ -0,0 +1,11 @@
+10 5
+10 -80 21
+23 8 38
+-94 28 11
+-26 -2 18
+-69 72 79
+-26 -86 -54
+-72 -50 59
+21 65 -32
+40 -94 87
+-62 18 82
diff --git a/public_test_cases/p03326/input.3.txt b/public_test_cases/p03326/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ffcb2f256d3622c0941fc2efbd908edb2744c70
--- /dev/null
+++ b/public_test_cases/p03326/input.3.txt
@@ -0,0 +1,6 @@
+5 3
+3 1 4
+1 5 9
+2 6 5
+3 5 8
+9 7 9
diff --git a/public_test_cases/p03326/input.4.txt b/public_test_cases/p03326/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81873d4d1f0a4b0656797176c5a6b986f38d1df6
--- /dev/null
+++ b/public_test_cases/p03326/input.4.txt
@@ -0,0 +1,4 @@
+3 2
+2000000000 -9000000000 4000000000
+7000000000 -5000000000 3000000000
+6000000000 -1000000000 8000000000
diff --git a/public_test_cases/p03326/output.0.txt b/public_test_cases/p03326/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b91e0e1f8dddaac700b51aa7a66f29fc135a02
--- /dev/null
+++ b/public_test_cases/p03326/output.0.txt
@@ -0,0 +1 @@
+56
diff --git a/public_test_cases/p03326/output.1.txt b/public_test_cases/p03326/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1e7bc86996a80d4a16529b990adda1d3434c92
--- /dev/null
+++ b/public_test_cases/p03326/output.1.txt
@@ -0,0 +1 @@
+54
diff --git a/public_test_cases/p03326/output.2.txt b/public_test_cases/p03326/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..231a7d578ebb904044b4edce8308d1d55545feda
--- /dev/null
+++ b/public_test_cases/p03326/output.2.txt
@@ -0,0 +1 @@
+638
diff --git a/public_test_cases/p03326/output.3.txt b/public_test_cases/p03326/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b91e0e1f8dddaac700b51aa7a66f29fc135a02
--- /dev/null
+++ b/public_test_cases/p03326/output.3.txt
@@ -0,0 +1 @@
+56
diff --git a/public_test_cases/p03326/output.4.txt b/public_test_cases/p03326/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3064192cbf67d0fcae52f8cb4dae3e350008844
--- /dev/null
+++ b/public_test_cases/p03326/output.4.txt
@@ -0,0 +1 @@
+30000000000
diff --git a/public_test_cases/p03327/input.0.txt b/public_test_cases/p03327/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6905f8ba447c0116590e38b2430151b506b1611
--- /dev/null
+++ b/public_test_cases/p03327/input.0.txt
@@ -0,0 +1 @@
+999
diff --git a/public_test_cases/p03327/input.1.txt b/public_test_cases/p03327/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p03327/input.1.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p03327/input.2.txt b/public_test_cases/p03327/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c39429ed30fd40cf50c3e7815c081f88de7e657
--- /dev/null
+++ b/public_test_cases/p03327/input.2.txt
@@ -0,0 +1 @@
+1481
diff --git a/public_test_cases/p03327/input.3.txt b/public_test_cases/p03327/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6905f8ba447c0116590e38b2430151b506b1611
--- /dev/null
+++ b/public_test_cases/p03327/input.3.txt
@@ -0,0 +1 @@
+999
diff --git a/public_test_cases/p03327/output.0.txt b/public_test_cases/p03327/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03327/output.0.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03327/output.1.txt b/public_test_cases/p03327/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c4d2ac5df6f323a0f9da3acec98edf90e73a765
--- /dev/null
+++ b/public_test_cases/p03327/output.1.txt
@@ -0,0 +1 @@
+ABD
diff --git a/public_test_cases/p03327/output.2.txt b/public_test_cases/p03327/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c4d2ac5df6f323a0f9da3acec98edf90e73a765
--- /dev/null
+++ b/public_test_cases/p03327/output.2.txt
@@ -0,0 +1 @@
+ABD
diff --git a/public_test_cases/p03327/output.3.txt b/public_test_cases/p03327/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03327/output.3.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03328/input.0.txt b/public_test_cases/p03328/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d139cb85dcfdfef0020af1c86c56edc900e4c033
--- /dev/null
+++ b/public_test_cases/p03328/input.0.txt
@@ -0,0 +1 @@
+8 13
diff --git a/public_test_cases/p03328/input.1.txt b/public_test_cases/p03328/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39b0fdf3d60cff61cb5aad927a480200051ca65f
--- /dev/null
+++ b/public_test_cases/p03328/input.1.txt
@@ -0,0 +1 @@
+54 65
diff --git a/public_test_cases/p03328/input.2.txt b/public_test_cases/p03328/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d139cb85dcfdfef0020af1c86c56edc900e4c033
--- /dev/null
+++ b/public_test_cases/p03328/input.2.txt
@@ -0,0 +1 @@
+8 13
diff --git a/public_test_cases/p03328/output.0.txt b/public_test_cases/p03328/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03328/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03328/output.1.txt b/public_test_cases/p03328/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03328/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03328/output.2.txt b/public_test_cases/p03328/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03328/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03329/input.0.txt b/public_test_cases/p03329/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c75acbe2ff1053360e76c0ff6012517cbd1dec9b
--- /dev/null
+++ b/public_test_cases/p03329/input.0.txt
@@ -0,0 +1 @@
+127
diff --git a/public_test_cases/p03329/input.1.txt b/public_test_cases/p03329/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03329/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03329/input.2.txt b/public_test_cases/p03329/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f48a7d086080b9388a70410d25ecee834176ed7
--- /dev/null
+++ b/public_test_cases/p03329/input.2.txt
@@ -0,0 +1 @@
+44852
diff --git a/public_test_cases/p03329/input.3.txt b/public_test_cases/p03329/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c75acbe2ff1053360e76c0ff6012517cbd1dec9b
--- /dev/null
+++ b/public_test_cases/p03329/input.3.txt
@@ -0,0 +1 @@
+127
diff --git a/public_test_cases/p03329/output.0.txt b/public_test_cases/p03329/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03329/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03329/output.1.txt b/public_test_cases/p03329/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03329/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03329/output.2.txt b/public_test_cases/p03329/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03329/output.2.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03329/output.3.txt b/public_test_cases/p03329/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03329/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03330/input.0.txt b/public_test_cases/p03330/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d9af31cde37ac0977d6ce60a8c80f75825af63
--- /dev/null
+++ b/public_test_cases/p03330/input.0.txt
@@ -0,0 +1,6 @@
+2 3
+0 1 1
+1 0 1
+1 4 0
+1 2
+3 3
diff --git a/public_test_cases/p03330/input.1.txt b/public_test_cases/p03330/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99af356c3a769b75565ff9c31154bb2320069bed
--- /dev/null
+++ b/public_test_cases/p03330/input.1.txt
@@ -0,0 +1,8 @@
+4 3
+0 12 71
+81 0 53
+14 92 0
+1 1 2 1
+2 1 1 2
+2 2 1 3
+1 1 2 2
diff --git a/public_test_cases/p03330/input.2.txt b/public_test_cases/p03330/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26d9af31cde37ac0977d6ce60a8c80f75825af63
--- /dev/null
+++ b/public_test_cases/p03330/input.2.txt
@@ -0,0 +1,6 @@
+2 3
+0 1 1
+1 0 1
+1 4 0
+1 2
+3 3
diff --git a/public_test_cases/p03330/output.0.txt b/public_test_cases/p03330/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03330/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03330/output.1.txt b/public_test_cases/p03330/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43d371afdd3dc0e2254a507b5a6d7371e10e9860
--- /dev/null
+++ b/public_test_cases/p03330/output.1.txt
@@ -0,0 +1 @@
+428
diff --git a/public_test_cases/p03330/output.2.txt b/public_test_cases/p03330/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03330/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03331/input.0.txt b/public_test_cases/p03331/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03331/input.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03331/input.1.txt b/public_test_cases/p03331/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03331/input.1.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03331/input.2.txt b/public_test_cases/p03331/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p03331/input.2.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p03331/output.0.txt b/public_test_cases/p03331/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03331/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03331/output.1.txt b/public_test_cases/p03331/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03331/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03331/output.2.txt b/public_test_cases/p03331/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03331/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03332/input.0.txt b/public_test_cases/p03332/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..872e540f7e551e7c34ec133e610c70688cd6569d
--- /dev/null
+++ b/public_test_cases/p03332/input.0.txt
@@ -0,0 +1 @@
+4 1 2 5
diff --git a/public_test_cases/p03332/input.1.txt b/public_test_cases/p03332/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d90004750a81b4b15bf27033452943697b2df70d
--- /dev/null
+++ b/public_test_cases/p03332/input.1.txt
@@ -0,0 +1 @@
+90081 33447 90629 6391049189
diff --git a/public_test_cases/p03332/input.2.txt b/public_test_cases/p03332/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..598f7c45d55becf52c24bee095f6df8b2d56f860
--- /dev/null
+++ b/public_test_cases/p03332/input.2.txt
@@ -0,0 +1 @@
+2 5 6 0
diff --git a/public_test_cases/p03332/input.3.txt b/public_test_cases/p03332/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..872e540f7e551e7c34ec133e610c70688cd6569d
--- /dev/null
+++ b/public_test_cases/p03332/input.3.txt
@@ -0,0 +1 @@
+4 1 2 5
diff --git a/public_test_cases/p03332/output.0.txt b/public_test_cases/p03332/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03332/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03332/output.1.txt b/public_test_cases/p03332/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af7845e78e099ecf41ebd467b641d775e423169b
--- /dev/null
+++ b/public_test_cases/p03332/output.1.txt
@@ -0,0 +1 @@
+577742975
diff --git a/public_test_cases/p03332/output.2.txt b/public_test_cases/p03332/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03332/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03332/output.3.txt b/public_test_cases/p03332/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03332/output.3.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03333/input.0.txt b/public_test_cases/p03333/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..550f6d32c31f065a252120cf337b44720e3372cd
--- /dev/null
+++ b/public_test_cases/p03333/input.0.txt
@@ -0,0 +1,4 @@
+3
+-5 1
+3 7
+-4 -2
diff --git a/public_test_cases/p03333/input.1.txt b/public_test_cases/p03333/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf3de8936aec141cfc3745bbff8bf1b8ea264439
--- /dev/null
+++ b/public_test_cases/p03333/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 2
+3 4
+5 6
diff --git a/public_test_cases/p03333/input.2.txt b/public_test_cases/p03333/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..550f6d32c31f065a252120cf337b44720e3372cd
--- /dev/null
+++ b/public_test_cases/p03333/input.2.txt
@@ -0,0 +1,4 @@
+3
+-5 1
+3 7
+-4 -2
diff --git a/public_test_cases/p03333/input.3.txt b/public_test_cases/p03333/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57302482ddca4c469d77a00191fbd37806772eaf
--- /dev/null
+++ b/public_test_cases/p03333/input.3.txt
@@ -0,0 +1,6 @@
+5
+-2 0
+-2 0
+7 8
+9 10
+-2 -1
diff --git a/public_test_cases/p03333/output.0.txt b/public_test_cases/p03333/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03333/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03333/output.1.txt b/public_test_cases/p03333/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03333/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03333/output.2.txt b/public_test_cases/p03333/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03333/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03333/output.3.txt b/public_test_cases/p03333/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p03333/output.3.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p03334/input.0.txt b/public_test_cases/p03334/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b04ccdba4df31d78b9f5f65b0d7f77ce8b40d7
--- /dev/null
+++ b/public_test_cases/p03334/input.0.txt
@@ -0,0 +1 @@
+2 1 2
diff --git a/public_test_cases/p03334/input.1.txt b/public_test_cases/p03334/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac99b57fb36f4cfbc71cf64e84ca4189bf95314
--- /dev/null
+++ b/public_test_cases/p03334/input.1.txt
@@ -0,0 +1 @@
+3 1 5
diff --git a/public_test_cases/p03334/input.2.txt b/public_test_cases/p03334/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b04ccdba4df31d78b9f5f65b0d7f77ce8b40d7
--- /dev/null
+++ b/public_test_cases/p03334/input.2.txt
@@ -0,0 +1 @@
+2 1 2
diff --git a/public_test_cases/p03334/output.0.txt b/public_test_cases/p03334/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0a2a4bceadc92f70b9406f733126016de06309f
--- /dev/null
+++ b/public_test_cases/p03334/output.0.txt
@@ -0,0 +1,4 @@
+0 0
+0 2
+2 0
+2 2
diff --git a/public_test_cases/p03334/output.1.txt b/public_test_cases/p03334/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e987a5d96aeb25f6d6d82a140df315c1bef39b2f
--- /dev/null
+++ b/public_test_cases/p03334/output.1.txt
@@ -0,0 +1,9 @@
+0 0
+0 2
+0 4
+1 1
+1 3
+1 5
+2 0
+2 2
+2 4
diff --git a/public_test_cases/p03334/output.2.txt b/public_test_cases/p03334/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0a2a4bceadc92f70b9406f733126016de06309f
--- /dev/null
+++ b/public_test_cases/p03334/output.2.txt
@@ -0,0 +1,4 @@
+0 0
+0 2
+2 0
+2 2
diff --git a/public_test_cases/p03335/input.0.txt b/public_test_cases/p03335/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd8d2849cae956cf83d02c85de1a890e5748dfbc
--- /dev/null
+++ b/public_test_cases/p03335/input.0.txt
@@ -0,0 +1,7 @@
+4 3
+2 1
+3 1
+4 1
+2 3
+3 4
+4 2
diff --git a/public_test_cases/p03335/input.1.txt b/public_test_cases/p03335/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ebeb8254c7cea0781a9e8541d4af2c8d59628ad
--- /dev/null
+++ b/public_test_cases/p03335/input.1.txt
@@ -0,0 +1,8 @@
+5 3
+1 2
+1 3
+3 4
+3 5
+2 4
+3 5
+1 5
diff --git a/public_test_cases/p03335/input.2.txt b/public_test_cases/p03335/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..811396824d153d706d7ffb9c01a71c39b7a373d5
--- /dev/null
+++ b/public_test_cases/p03335/input.2.txt
@@ -0,0 +1,10 @@
+6 4
+1 2
+2 3
+1 4
+4 5
+4 6
+2 4
+3 6
+5 6
+4 5
diff --git a/public_test_cases/p03335/input.3.txt b/public_test_cases/p03335/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd8d2849cae956cf83d02c85de1a890e5748dfbc
--- /dev/null
+++ b/public_test_cases/p03335/input.3.txt
@@ -0,0 +1,7 @@
+4 3
+2 1
+3 1
+4 1
+2 3
+3 4
+4 2
diff --git a/public_test_cases/p03335/output.0.txt b/public_test_cases/p03335/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45376070850d658d8f14035bee9c1c9404e4e177
--- /dev/null
+++ b/public_test_cases/p03335/output.0.txt
@@ -0,0 +1,4 @@
+6
+2 3
+3 4
+4 2
diff --git a/public_test_cases/p03335/output.1.txt b/public_test_cases/p03335/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c963576c597bce8bfd7bdbaf120e5a0a5767b48a
--- /dev/null
+++ b/public_test_cases/p03335/output.1.txt
@@ -0,0 +1,4 @@
+6
+2 4
+3 5
+5 1
diff --git a/public_test_cases/p03335/output.2.txt b/public_test_cases/p03335/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66ff61bd538255e83e93ebfbf12fae2303f95c69
--- /dev/null
+++ b/public_test_cases/p03335/output.2.txt
@@ -0,0 +1,5 @@
+9
+2 4
+6 3
+5 6
+4 5
diff --git a/public_test_cases/p03335/output.3.txt b/public_test_cases/p03335/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45376070850d658d8f14035bee9c1c9404e4e177
--- /dev/null
+++ b/public_test_cases/p03335/output.3.txt
@@ -0,0 +1,4 @@
+6
+2 3
+3 4
+4 2
diff --git a/public_test_cases/p03336/input.0.txt b/public_test_cases/p03336/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c632a9169941ae7d02f4a6f2549e83489ab71ea9
--- /dev/null
+++ b/public_test_cases/p03336/input.0.txt
@@ -0,0 +1,3 @@
+2 3 3
+11
+101
diff --git a/public_test_cases/p03336/input.1.txt b/public_test_cases/p03336/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c632a9169941ae7d02f4a6f2549e83489ab71ea9
--- /dev/null
+++ b/public_test_cases/p03336/input.1.txt
@@ -0,0 +1,3 @@
+2 3 3
+11
+101
diff --git a/public_test_cases/p03336/input.2.txt b/public_test_cases/p03336/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39212ecd3e69e4142a67dd10ccb300253e578da2
--- /dev/null
+++ b/public_test_cases/p03336/input.2.txt
@@ -0,0 +1,3 @@
+10 10 10
+1100110011
+1011001101
diff --git a/public_test_cases/p03336/input.3.txt b/public_test_cases/p03336/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de4f653be2b3239d97f255b855638bc4e68915d0
--- /dev/null
+++ b/public_test_cases/p03336/input.3.txt
@@ -0,0 +1,3 @@
+5 8 3
+10101
+10101001
diff --git a/public_test_cases/p03336/output.0.txt b/public_test_cases/p03336/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a764b1586c1df5a10f8f476052b51a6d506a5e5a
--- /dev/null
+++ b/public_test_cases/p03336/output.0.txt
@@ -0,0 +1,2 @@
+10000
+10010
diff --git a/public_test_cases/p03336/output.1.txt b/public_test_cases/p03336/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a764b1586c1df5a10f8f476052b51a6d506a5e5a
--- /dev/null
+++ b/public_test_cases/p03336/output.1.txt
@@ -0,0 +1,2 @@
+10000
+10010
diff --git a/public_test_cases/p03336/output.2.txt b/public_test_cases/p03336/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b69f06aa0538148f7d4eaf9b569b7e16f2f029d5
--- /dev/null
+++ b/public_test_cases/p03336/output.2.txt
@@ -0,0 +1,2 @@
+10000100000010001000
+10000100000000100010
diff --git a/public_test_cases/p03336/output.3.txt b/public_test_cases/p03336/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f7a7722ba4ee07c6cc0af2188f09e5eb6eddd99
--- /dev/null
+++ b/public_test_cases/p03336/output.3.txt
@@ -0,0 +1,2 @@
+100000
+10110100
diff --git a/public_test_cases/p03337/input.0.txt b/public_test_cases/p03337/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p03337/input.0.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p03337/input.1.txt b/public_test_cases/p03337/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b748e2dcfcbc7db3aae214293cef6cb2afbd0a65
--- /dev/null
+++ b/public_test_cases/p03337/input.1.txt
@@ -0,0 +1 @@
+0 0
diff --git a/public_test_cases/p03337/input.2.txt b/public_test_cases/p03337/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p03337/input.2.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p03337/input.3.txt b/public_test_cases/p03337/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c88d2d4718379b02aed2e9752ed748500759856
--- /dev/null
+++ b/public_test_cases/p03337/input.3.txt
@@ -0,0 +1 @@
+4 -2
diff --git a/public_test_cases/p03337/output.0.txt b/public_test_cases/p03337/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03337/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03337/output.1.txt b/public_test_cases/p03337/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03337/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03337/output.2.txt b/public_test_cases/p03337/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03337/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03337/output.3.txt b/public_test_cases/p03337/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03337/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03338/input.0.txt b/public_test_cases/p03338/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c734ad4b60de4349d6de1d53831ce51c4521a17c
--- /dev/null
+++ b/public_test_cases/p03338/input.0.txt
@@ -0,0 +1,2 @@
+6
+aabbca
diff --git a/public_test_cases/p03338/input.1.txt b/public_test_cases/p03338/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..135919156dac0447eec875af9be68b79a9288add
--- /dev/null
+++ b/public_test_cases/p03338/input.1.txt
@@ -0,0 +1,2 @@
+10
+aaaaaaaaaa
diff --git a/public_test_cases/p03338/input.2.txt b/public_test_cases/p03338/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c734ad4b60de4349d6de1d53831ce51c4521a17c
--- /dev/null
+++ b/public_test_cases/p03338/input.2.txt
@@ -0,0 +1,2 @@
+6
+aabbca
diff --git a/public_test_cases/p03338/input.3.txt b/public_test_cases/p03338/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fb68e9369da90162c52271ed4d62a78a3db8f1c
--- /dev/null
+++ b/public_test_cases/p03338/input.3.txt
@@ -0,0 +1,2 @@
+45
+tgxgdqkyjzhyputjjtllptdfxocrylqfqjynmfbfucbir
diff --git a/public_test_cases/p03338/output.0.txt b/public_test_cases/p03338/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03338/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03338/output.1.txt b/public_test_cases/p03338/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03338/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03338/output.2.txt b/public_test_cases/p03338/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03338/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03338/output.3.txt b/public_test_cases/p03338/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03338/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03339/input.0.txt b/public_test_cases/p03339/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c066074755dbcad5a6d765d4463fe27a3b3789c8
--- /dev/null
+++ b/public_test_cases/p03339/input.0.txt
@@ -0,0 +1,2 @@
+5
+WEEWW
diff --git a/public_test_cases/p03339/output.0.txt b/public_test_cases/p03339/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03339/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03341/input.0.txt b/public_test_cases/p03341/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c066074755dbcad5a6d765d4463fe27a3b3789c8
--- /dev/null
+++ b/public_test_cases/p03341/input.0.txt
@@ -0,0 +1,2 @@
+5
+WEEWW
diff --git a/public_test_cases/p03341/input.1.txt b/public_test_cases/p03341/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c56465da2254fd5069c1487b469cbc3c15e5cf12
--- /dev/null
+++ b/public_test_cases/p03341/input.1.txt
@@ -0,0 +1,2 @@
+12
+WEWEWEEEWWWE
diff --git a/public_test_cases/p03341/input.2.txt b/public_test_cases/p03341/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c066074755dbcad5a6d765d4463fe27a3b3789c8
--- /dev/null
+++ b/public_test_cases/p03341/input.2.txt
@@ -0,0 +1,2 @@
+5
+WEEWW
diff --git a/public_test_cases/p03341/input.3.txt b/public_test_cases/p03341/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd56439db90d79e0a9320bac7c2c06369051bb27
--- /dev/null
+++ b/public_test_cases/p03341/input.3.txt
@@ -0,0 +1,2 @@
+8
+WWWWWEEE
diff --git a/public_test_cases/p03341/output.0.txt b/public_test_cases/p03341/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03341/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03341/output.1.txt b/public_test_cases/p03341/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03341/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03341/output.2.txt b/public_test_cases/p03341/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03341/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03341/output.3.txt b/public_test_cases/p03341/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03341/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03343/input.0.txt b/public_test_cases/p03343/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f8ccf4a5de66ef1f7bddec67fa2cd60ebb6d658
--- /dev/null
+++ b/public_test_cases/p03343/input.0.txt
@@ -0,0 +1,2 @@
+5 3 2
+4 3 1 5 2
diff --git a/public_test_cases/p03343/input.1.txt b/public_test_cases/p03343/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4aa190fcb1c1dbb0d7332de9d6f8b60caf01890b
--- /dev/null
+++ b/public_test_cases/p03343/input.1.txt
@@ -0,0 +1,2 @@
+11 7 5
+24979445 861648772 623690081 433933447 476190629 262703497 211047202 971407775 628894325 731963982 822804784
diff --git a/public_test_cases/p03343/input.2.txt b/public_test_cases/p03343/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f8ccf4a5de66ef1f7bddec67fa2cd60ebb6d658
--- /dev/null
+++ b/public_test_cases/p03343/input.2.txt
@@ -0,0 +1,2 @@
+5 3 2
+4 3 1 5 2
diff --git a/public_test_cases/p03343/input.3.txt b/public_test_cases/p03343/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..127de9bfef75be460d72d203f8cdc8a194175b11
--- /dev/null
+++ b/public_test_cases/p03343/input.3.txt
@@ -0,0 +1,2 @@
+10 1 6
+1 1 2 3 5 8 13 21 34 55
diff --git a/public_test_cases/p03343/output.0.txt b/public_test_cases/p03343/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03343/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03343/output.1.txt b/public_test_cases/p03343/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed0506e198c0987cae4ab40d7a7195e6d3ed2538
--- /dev/null
+++ b/public_test_cases/p03343/output.1.txt
@@ -0,0 +1 @@
+451211184
diff --git a/public_test_cases/p03343/output.2.txt b/public_test_cases/p03343/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03343/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03343/output.3.txt b/public_test_cases/p03343/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03343/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03344/input.0.txt b/public_test_cases/p03344/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fc356fc1775ac8697bfdd457c4e78c7bc02c3e0
--- /dev/null
+++ b/public_test_cases/p03344/input.0.txt
@@ -0,0 +1,10 @@
+4 5
+3 1
+1 2
+4 1
+6 2
+1 2
+2 3
+2 4
+1 4
+3 4
diff --git a/public_test_cases/p03344/input.1.txt b/public_test_cases/p03344/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..926e65de65d1ca2dde5f82d6359e2607e6b7d489
--- /dev/null
+++ b/public_test_cases/p03344/input.1.txt
@@ -0,0 +1,14 @@
+5 8
+6 4
+15 13
+15 19
+15 1
+20 7
+1 3
+1 4
+1 5
+2 3
+2 4
+2 5
+3 5
+4 5
diff --git a/public_test_cases/p03344/input.2.txt b/public_test_cases/p03344/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d80887cff57850f7d2b7f277ec7f5d636ec74a6
--- /dev/null
+++ b/public_test_cases/p03344/input.2.txt
@@ -0,0 +1,20 @@
+9 10
+131 2
+98 79
+242 32
+231 38
+382 82
+224 22
+140 88
+209 70
+164 64
+6 8
+1 6
+1 4
+1 3
+4 7
+4 9
+3 7
+3 9
+5 9
+2 5
diff --git a/public_test_cases/p03344/input.3.txt b/public_test_cases/p03344/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fc356fc1775ac8697bfdd457c4e78c7bc02c3e0
--- /dev/null
+++ b/public_test_cases/p03344/input.3.txt
@@ -0,0 +1,10 @@
+4 5
+3 1
+1 2
+4 1
+6 2
+1 2
+2 3
+2 4
+1 4
+3 4
diff --git a/public_test_cases/p03344/output.0.txt b/public_test_cases/p03344/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03344/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03344/output.1.txt b/public_test_cases/p03344/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c739b42c4d2ce23786c5350641d0adbf5fa7d6b2
--- /dev/null
+++ b/public_test_cases/p03344/output.1.txt
@@ -0,0 +1 @@
+44
diff --git a/public_test_cases/p03344/output.2.txt b/public_test_cases/p03344/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..373892ba356c11210a3d520b39b203438a84da07
--- /dev/null
+++ b/public_test_cases/p03344/output.2.txt
@@ -0,0 +1 @@
+582
diff --git a/public_test_cases/p03344/output.3.txt b/public_test_cases/p03344/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03344/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03345/input.0.txt b/public_test_cases/p03345/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1d1c76e40ebc8469e98d3b6eaba358bc4a2f9e1
--- /dev/null
+++ b/public_test_cases/p03345/input.0.txt
@@ -0,0 +1 @@
+1 2 3 1
diff --git a/public_test_cases/p03345/input.1.txt b/public_test_cases/p03345/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1d1c76e40ebc8469e98d3b6eaba358bc4a2f9e1
--- /dev/null
+++ b/public_test_cases/p03345/input.1.txt
@@ -0,0 +1 @@
+1 2 3 1
diff --git a/public_test_cases/p03345/input.2.txt b/public_test_cases/p03345/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51d1cafe1b5eb131ca0907de2abda83cdd237e7a
--- /dev/null
+++ b/public_test_cases/p03345/input.2.txt
@@ -0,0 +1 @@
+2 3 2 0
diff --git a/public_test_cases/p03345/input.3.txt b/public_test_cases/p03345/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c4e430d0ce9570e61d76187960ef7f4d07e6507
--- /dev/null
+++ b/public_test_cases/p03345/input.3.txt
@@ -0,0 +1 @@
+1000000000 1000000000 1000000000 1000000000000000000
diff --git a/public_test_cases/p03345/output.0.txt b/public_test_cases/p03345/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03345/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03345/output.1.txt b/public_test_cases/p03345/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03345/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03345/output.2.txt b/public_test_cases/p03345/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03345/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03345/output.3.txt b/public_test_cases/p03345/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03345/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03346/input.0.txt b/public_test_cases/p03346/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db28a87b57b4005398b3a38ee235f7b94206c521
--- /dev/null
+++ b/public_test_cases/p03346/input.0.txt
@@ -0,0 +1,5 @@
+4
+1
+3
+2
+4
diff --git a/public_test_cases/p03346/input.1.txt b/public_test_cases/p03346/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db28a87b57b4005398b3a38ee235f7b94206c521
--- /dev/null
+++ b/public_test_cases/p03346/input.1.txt
@@ -0,0 +1,5 @@
+4
+1
+3
+2
+4
diff --git a/public_test_cases/p03346/input.2.txt b/public_test_cases/p03346/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85fd6a14c44e69a7a49ccd4585e53f41fef0d2c0
--- /dev/null
+++ b/public_test_cases/p03346/input.2.txt
@@ -0,0 +1,7 @@
+6
+3
+2
+5
+1
+4
+6
diff --git a/public_test_cases/p03346/input.3.txt b/public_test_cases/p03346/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e1f35333069478223436b5205c435a6af90f560
--- /dev/null
+++ b/public_test_cases/p03346/input.3.txt
@@ -0,0 +1,9 @@
+8
+6
+3
+1
+2
+7
+4
+8
+5
diff --git a/public_test_cases/p03346/output.0.txt b/public_test_cases/p03346/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03346/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03346/output.1.txt b/public_test_cases/p03346/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03346/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03346/output.2.txt b/public_test_cases/p03346/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03346/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03346/output.3.txt b/public_test_cases/p03346/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03346/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03347/input.0.txt b/public_test_cases/p03347/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded0e7ca12440753282f05dcc8b5d8ca0903d9c7
--- /dev/null
+++ b/public_test_cases/p03347/input.0.txt
@@ -0,0 +1,5 @@
+4
+0
+1
+1
+2
diff --git a/public_test_cases/p03347/input.1.txt b/public_test_cases/p03347/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f63e15fc148c044ac1e72e369cb2f5bdb54da43b
--- /dev/null
+++ b/public_test_cases/p03347/input.1.txt
@@ -0,0 +1,4 @@
+3
+1
+2
+1
diff --git a/public_test_cases/p03347/input.2.txt b/public_test_cases/p03347/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be8a1757041023045428dfdcf201f68516595d3d
--- /dev/null
+++ b/public_test_cases/p03347/input.2.txt
@@ -0,0 +1,10 @@
+9
+0
+1
+1
+0
+1
+2
+2
+1
+2
diff --git a/public_test_cases/p03347/input.3.txt b/public_test_cases/p03347/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded0e7ca12440753282f05dcc8b5d8ca0903d9c7
--- /dev/null
+++ b/public_test_cases/p03347/input.3.txt
@@ -0,0 +1,5 @@
+4
+0
+1
+1
+2
diff --git a/public_test_cases/p03347/output.0.txt b/public_test_cases/p03347/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03347/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03347/output.1.txt b/public_test_cases/p03347/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03347/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03347/output.2.txt b/public_test_cases/p03347/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03347/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03347/output.3.txt b/public_test_cases/p03347/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03347/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03348/input.0.txt b/public_test_cases/p03348/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec1c340feac463e5e3b91fee553af0432ee9a2bd
--- /dev/null
+++ b/public_test_cases/p03348/input.0.txt
@@ -0,0 +1,5 @@
+5
+1 2
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p03348/input.1.txt b/public_test_cases/p03348/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1041dbde674cc1b8261422378f982ba2e19c83c7
--- /dev/null
+++ b/public_test_cases/p03348/input.1.txt
@@ -0,0 +1,8 @@
+8
+1 2
+2 3
+4 3
+5 4
+6 7
+6 8
+3 6
diff --git a/public_test_cases/p03348/input.2.txt b/public_test_cases/p03348/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2c47975b2e67cbc613dbf116860d768c247b92b
--- /dev/null
+++ b/public_test_cases/p03348/input.2.txt
@@ -0,0 +1,13 @@
+13
+5 6
+6 4
+2 8
+4 7
+8 9
+3 2
+10 4
+11 10
+2 4
+13 10
+1 8
+12 1
diff --git a/public_test_cases/p03348/input.3.txt b/public_test_cases/p03348/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec1c340feac463e5e3b91fee553af0432ee9a2bd
--- /dev/null
+++ b/public_test_cases/p03348/input.3.txt
@@ -0,0 +1,5 @@
+5
+1 2
+2 3
+3 4
+3 5
diff --git a/public_test_cases/p03348/input.4.txt b/public_test_cases/p03348/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d7c4f1e58a0745b917b6266a4bd10c62a409e79
--- /dev/null
+++ b/public_test_cases/p03348/input.4.txt
@@ -0,0 +1,10 @@
+10
+1 2
+2 3
+3 4
+4 5
+5 6
+6 7
+3 8
+5 9
+3 10
diff --git a/public_test_cases/p03348/output.0.txt b/public_test_cases/p03348/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0efd67f9502e63cb033cb651e65e025b6e3a5cb2
--- /dev/null
+++ b/public_test_cases/p03348/output.0.txt
@@ -0,0 +1 @@
+2 4
diff --git a/public_test_cases/p03348/output.1.txt b/public_test_cases/p03348/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebcee1a506db729ea7b0e0b6e9b0be36806d16bd
--- /dev/null
+++ b/public_test_cases/p03348/output.1.txt
@@ -0,0 +1 @@
+3 4
diff --git a/public_test_cases/p03348/output.2.txt b/public_test_cases/p03348/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e18a59c6f617145ff60c20773faa83e86c12ffe
--- /dev/null
+++ b/public_test_cases/p03348/output.2.txt
@@ -0,0 +1 @@
+4 12
diff --git a/public_test_cases/p03348/output.3.txt b/public_test_cases/p03348/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0efd67f9502e63cb033cb651e65e025b6e3a5cb2
--- /dev/null
+++ b/public_test_cases/p03348/output.3.txt
@@ -0,0 +1 @@
+2 4
diff --git a/public_test_cases/p03348/output.4.txt b/public_test_cases/p03348/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9290688fa7995d643a841e69083fc3f1316a0ef8
--- /dev/null
+++ b/public_test_cases/p03348/output.4.txt
@@ -0,0 +1 @@
+4 6
diff --git a/public_test_cases/p03349/input.0.txt b/public_test_cases/p03349/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52fd35840f728b87398fa76c9b7f1b5ed3bb94ea
--- /dev/null
+++ b/public_test_cases/p03349/input.0.txt
@@ -0,0 +1 @@
+2 2 100
diff --git a/public_test_cases/p03349/input.1.txt b/public_test_cases/p03349/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52fd35840f728b87398fa76c9b7f1b5ed3bb94ea
--- /dev/null
+++ b/public_test_cases/p03349/input.1.txt
@@ -0,0 +1 @@
+2 2 100
diff --git a/public_test_cases/p03349/input.2.txt b/public_test_cases/p03349/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a759c6bc9130b38d4c6e2c4b86d248491e8b73d7
--- /dev/null
+++ b/public_test_cases/p03349/input.2.txt
@@ -0,0 +1 @@
+4 3 999999999
diff --git a/public_test_cases/p03349/input.3.txt b/public_test_cases/p03349/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8b56c7af891332ce5acc1ba1a689ec664934a33
--- /dev/null
+++ b/public_test_cases/p03349/input.3.txt
@@ -0,0 +1 @@
+150 150 998244353
diff --git a/public_test_cases/p03349/output.0.txt b/public_test_cases/p03349/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03349/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03349/output.1.txt b/public_test_cases/p03349/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03349/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03349/output.2.txt b/public_test_cases/p03349/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4eed3b8aceac58897e4f8b9b5d61fe9980e970f
--- /dev/null
+++ b/public_test_cases/p03349/output.2.txt
@@ -0,0 +1 @@
+358
diff --git a/public_test_cases/p03349/output.3.txt b/public_test_cases/p03349/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a739886b72f72b1c8d013b1b9784a1cf3b52c308
--- /dev/null
+++ b/public_test_cases/p03349/output.3.txt
@@ -0,0 +1 @@
+186248260
diff --git a/public_test_cases/p03350/input.0.txt b/public_test_cases/p03350/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0263f13a791a6b47117faa27335c9f5aef6be2f0
--- /dev/null
+++ b/public_test_cases/p03350/input.0.txt
@@ -0,0 +1,5 @@
+3 4
+1
+01
+1011
+01001110
diff --git a/public_test_cases/p03350/input.1.txt b/public_test_cases/p03350/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b569e9ba4fc29c471cca3cce8dda74a7eba441f3
--- /dev/null
+++ b/public_test_cases/p03350/input.1.txt
@@ -0,0 +1,6 @@
+4 6
+1
+01
+1011
+10111010
+1101110011111101
diff --git a/public_test_cases/p03350/input.2.txt b/public_test_cases/p03350/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0047becd16d3a74a97033730ab47696be6abe8c7
--- /dev/null
+++ b/public_test_cases/p03350/input.2.txt
@@ -0,0 +1,4 @@
+2 5
+0
+11
+1111
diff --git a/public_test_cases/p03350/input.3.txt b/public_test_cases/p03350/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0263f13a791a6b47117faa27335c9f5aef6be2f0
--- /dev/null
+++ b/public_test_cases/p03350/input.3.txt
@@ -0,0 +1,5 @@
+3 4
+1
+01
+1011
+01001110
diff --git a/public_test_cases/p03350/output.0.txt b/public_test_cases/p03350/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03350/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03350/output.1.txt b/public_test_cases/p03350/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03350/output.1.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03350/output.2.txt b/public_test_cases/p03350/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p03350/output.2.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p03350/output.3.txt b/public_test_cases/p03350/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03350/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03351/input.0.txt b/public_test_cases/p03351/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69ab4a71858d897dce9b60d46c34c37cff7f2860
--- /dev/null
+++ b/public_test_cases/p03351/input.0.txt
@@ -0,0 +1 @@
+4 7 9 3
diff --git a/public_test_cases/p03351/input.1.txt b/public_test_cases/p03351/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8ca01a422ed005f0f8f3a221412ddeca690cf8a8
--- /dev/null
+++ b/public_test_cases/p03351/input.1.txt
@@ -0,0 +1 @@
+1 100 2 10
diff --git a/public_test_cases/p03351/input.2.txt b/public_test_cases/p03351/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c32ff2d17f7bb5b246e751ca5209d6413050638
--- /dev/null
+++ b/public_test_cases/p03351/input.2.txt
@@ -0,0 +1 @@
+100 10 1 2
diff --git a/public_test_cases/p03351/input.3.txt b/public_test_cases/p03351/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b48d644b63325028ae890c52ca81bad208a749c4
--- /dev/null
+++ b/public_test_cases/p03351/input.3.txt
@@ -0,0 +1 @@
+10 10 10 1
diff --git a/public_test_cases/p03351/input.4.txt b/public_test_cases/p03351/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69ab4a71858d897dce9b60d46c34c37cff7f2860
--- /dev/null
+++ b/public_test_cases/p03351/input.4.txt
@@ -0,0 +1 @@
+4 7 9 3
diff --git a/public_test_cases/p03351/output.0.txt b/public_test_cases/p03351/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03351/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03351/output.1.txt b/public_test_cases/p03351/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03351/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03351/output.2.txt b/public_test_cases/p03351/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03351/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03351/output.3.txt b/public_test_cases/p03351/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03351/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03351/output.4.txt b/public_test_cases/p03351/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03351/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03352/input.0.txt b/public_test_cases/p03352/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03352/input.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03352/input.1.txt b/public_test_cases/p03352/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03352/input.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03352/input.2.txt b/public_test_cases/p03352/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03352/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03352/input.3.txt b/public_test_cases/p03352/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6905f8ba447c0116590e38b2430151b506b1611
--- /dev/null
+++ b/public_test_cases/p03352/input.3.txt
@@ -0,0 +1 @@
+999
diff --git a/public_test_cases/p03352/output.0.txt b/public_test_cases/p03352/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03352/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03352/output.1.txt b/public_test_cases/p03352/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03352/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03352/output.2.txt b/public_test_cases/p03352/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03352/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03352/output.3.txt b/public_test_cases/p03352/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..612eb51c3de985edb5a880ebc6df668f536d95ee
--- /dev/null
+++ b/public_test_cases/p03352/output.3.txt
@@ -0,0 +1 @@
+961
diff --git a/public_test_cases/p03353/input.0.txt b/public_test_cases/p03353/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5bf0da633e8e9c52311f3e85c838b0218bfab7a
--- /dev/null
+++ b/public_test_cases/p03353/input.0.txt
@@ -0,0 +1,2 @@
+aba
+4
diff --git a/public_test_cases/p03353/input.1.txt b/public_test_cases/p03353/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5bf0da633e8e9c52311f3e85c838b0218bfab7a
--- /dev/null
+++ b/public_test_cases/p03353/input.1.txt
@@ -0,0 +1,2 @@
+aba
+4
diff --git a/public_test_cases/p03353/input.2.txt b/public_test_cases/p03353/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0493ee59c46996fb001b1647c863d80aa48e93a2
--- /dev/null
+++ b/public_test_cases/p03353/input.2.txt
@@ -0,0 +1,2 @@
+atcoderandatcodeer
+5
diff --git a/public_test_cases/p03353/input.3.txt b/public_test_cases/p03353/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c2fc74ac319998db4fe6fed9979e0fbc2d7748b
--- /dev/null
+++ b/public_test_cases/p03353/input.3.txt
@@ -0,0 +1,2 @@
+z
+1
diff --git a/public_test_cases/p03353/output.0.txt b/public_test_cases/p03353/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p03353/output.0.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p03353/output.1.txt b/public_test_cases/p03353/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p03353/output.1.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p03353/output.2.txt b/public_test_cases/p03353/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c13db87d067afbe19cf500b6f03a7565d543184a
--- /dev/null
+++ b/public_test_cases/p03353/output.2.txt
@@ -0,0 +1 @@
+andat
diff --git a/public_test_cases/p03353/output.3.txt b/public_test_cases/p03353/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b68025345d5301abad4d9ec9166f455243a0d746
--- /dev/null
+++ b/public_test_cases/p03353/output.3.txt
@@ -0,0 +1 @@
+z
diff --git a/public_test_cases/p03354/input.0.txt b/public_test_cases/p03354/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f2789d24296c602d83dabaaec9123e8f570a74
--- /dev/null
+++ b/public_test_cases/p03354/input.0.txt
@@ -0,0 +1,4 @@
+5 2
+5 3 1 4 2
+1 3
+5 4
diff --git a/public_test_cases/p03354/input.1.txt b/public_test_cases/p03354/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c694fbe69b8c89daee44a8fa87c0d9fe915fae1c
--- /dev/null
+++ b/public_test_cases/p03354/input.1.txt
@@ -0,0 +1,3 @@
+5 1
+1 2 3 4 5
+1 5
diff --git a/public_test_cases/p03354/input.2.txt b/public_test_cases/p03354/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c31dd24deded1bbcc6eb30ae7d0cf92aa7ed424b
--- /dev/null
+++ b/public_test_cases/p03354/input.2.txt
@@ -0,0 +1,10 @@
+10 8
+5 3 6 8 7 10 9 1 2 4
+3 1
+4 1
+5 9
+2 5
+6 5
+3 5
+8 9
+7 9
diff --git a/public_test_cases/p03354/input.3.txt b/public_test_cases/p03354/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..809a6086320b6a42b7e10cf3e99b8cdb636a7adb
--- /dev/null
+++ b/public_test_cases/p03354/input.3.txt
@@ -0,0 +1,4 @@
+3 2
+3 2 1
+1 2
+2 3
diff --git a/public_test_cases/p03354/input.4.txt b/public_test_cases/p03354/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f2789d24296c602d83dabaaec9123e8f570a74
--- /dev/null
+++ b/public_test_cases/p03354/input.4.txt
@@ -0,0 +1,4 @@
+5 2
+5 3 1 4 2
+1 3
+5 4
diff --git a/public_test_cases/p03354/output.0.txt b/public_test_cases/p03354/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03354/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03354/output.1.txt b/public_test_cases/p03354/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03354/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03354/output.2.txt b/public_test_cases/p03354/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03354/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03354/output.3.txt b/public_test_cases/p03354/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03354/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03354/output.4.txt b/public_test_cases/p03354/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03354/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03355/input.0.txt b/public_test_cases/p03355/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5bf0da633e8e9c52311f3e85c838b0218bfab7a
--- /dev/null
+++ b/public_test_cases/p03355/input.0.txt
@@ -0,0 +1,2 @@
+aba
+4
diff --git a/public_test_cases/p03355/output.0.txt b/public_test_cases/p03355/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p03355/output.0.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p03356/input.0.txt b/public_test_cases/p03356/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f2789d24296c602d83dabaaec9123e8f570a74
--- /dev/null
+++ b/public_test_cases/p03356/input.0.txt
@@ -0,0 +1,4 @@
+5 2
+5 3 1 4 2
+1 3
+5 4
diff --git a/public_test_cases/p03356/output.0.txt b/public_test_cases/p03356/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03356/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03357/input.0.txt b/public_test_cases/p03357/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6440f2c0c5fce50098a401e2e04e7338bd4fb19
--- /dev/null
+++ b/public_test_cases/p03357/input.0.txt
@@ -0,0 +1,7 @@
+3
+B 1
+W 2
+B 3
+W 1
+W 3
+B 2
diff --git a/public_test_cases/p03357/input.1.txt b/public_test_cases/p03357/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..000c25dfff6a0ad7cb7d3150e19a24201abf9671
--- /dev/null
+++ b/public_test_cases/p03357/input.1.txt
@@ -0,0 +1,19 @@
+9
+W 3
+B 1
+B 4
+W 1
+B 5
+W 9
+W 2
+B 6
+W 5
+B 3
+W 8
+B 9
+W 7
+B 2
+B 8
+W 4
+W 6
+B 7
diff --git a/public_test_cases/p03357/input.2.txt b/public_test_cases/p03357/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6440f2c0c5fce50098a401e2e04e7338bd4fb19
--- /dev/null
+++ b/public_test_cases/p03357/input.2.txt
@@ -0,0 +1,7 @@
+3
+B 1
+W 2
+B 3
+W 1
+W 3
+B 2
diff --git a/public_test_cases/p03357/input.3.txt b/public_test_cases/p03357/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79b88b2d81e7dda7459678356aa5ff57d43d26ee
--- /dev/null
+++ b/public_test_cases/p03357/input.3.txt
@@ -0,0 +1,9 @@
+4
+B 4
+W 4
+B 3
+W 3
+B 2
+W 2
+B 1
+W 1
diff --git a/public_test_cases/p03357/output.0.txt b/public_test_cases/p03357/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03357/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03357/output.1.txt b/public_test_cases/p03357/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87523dd7a0632907d61799465827c3f08825fa47
--- /dev/null
+++ b/public_test_cases/p03357/output.1.txt
@@ -0,0 +1 @@
+41
diff --git a/public_test_cases/p03357/output.2.txt b/public_test_cases/p03357/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03357/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03357/output.3.txt b/public_test_cases/p03357/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03357/output.3.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03358/input.0.txt b/public_test_cases/p03358/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f11a2f3abce7db3781b3b6d2560d641cb4b0fbd2
--- /dev/null
+++ b/public_test_cases/p03358/input.0.txt
@@ -0,0 +1,6 @@
+5
+1 2
+2 3
+2 4
+4 5
+WBBWW
diff --git a/public_test_cases/p03358/input.1.txt b/public_test_cases/p03358/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..370cd6e7685d92a8b1724e1aa9f4962c1f8480fc
--- /dev/null
+++ b/public_test_cases/p03358/input.1.txt
@@ -0,0 +1,21 @@
+20
+2 19
+5 13
+6 4
+15 6
+12 19
+13 19
+3 11
+8 3
+3 20
+16 13
+7 14
+3 17
+7 8
+10 20
+11 9
+8 18
+8 2
+10 1
+6 13
+WBWBWBBWWWBBWWBBBBBW
diff --git a/public_test_cases/p03358/input.2.txt b/public_test_cases/p03358/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91bbe4e7dd64e938f434992a6b588bb5ddf1f69c
--- /dev/null
+++ b/public_test_cases/p03358/input.2.txt
@@ -0,0 +1,7 @@
+6
+3 1
+4 5
+2 6
+6 1
+3 4
+WWBWBB
diff --git a/public_test_cases/p03358/input.3.txt b/public_test_cases/p03358/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f11a2f3abce7db3781b3b6d2560d641cb4b0fbd2
--- /dev/null
+++ b/public_test_cases/p03358/input.3.txt
@@ -0,0 +1,6 @@
+5
+1 2
+2 3
+2 4
+4 5
+WBBWW
diff --git a/public_test_cases/p03358/input.4.txt b/public_test_cases/p03358/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ba6551eebfee9b538f12c885afb5780f604a6e8
--- /dev/null
+++ b/public_test_cases/p03358/input.4.txt
@@ -0,0 +1,2 @@
+1
+B
diff --git a/public_test_cases/p03358/output.0.txt b/public_test_cases/p03358/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03358/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03358/output.1.txt b/public_test_cases/p03358/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03358/output.1.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03358/output.2.txt b/public_test_cases/p03358/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03358/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03358/output.3.txt b/public_test_cases/p03358/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03358/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03358/output.4.txt b/public_test_cases/p03358/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03358/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03359/input.0.txt b/public_test_cases/p03359/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..299a71f3fe47862a2e17f69e981e7ad8beff4e53
--- /dev/null
+++ b/public_test_cases/p03359/input.0.txt
@@ -0,0 +1 @@
+5 5
diff --git a/public_test_cases/p03359/input.1.txt b/public_test_cases/p03359/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c18b11fe74d2d48530a09b8071296755154acde4
--- /dev/null
+++ b/public_test_cases/p03359/input.1.txt
@@ -0,0 +1 @@
+11 30
diff --git a/public_test_cases/p03359/input.2.txt b/public_test_cases/p03359/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03359/input.2.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03359/input.3.txt b/public_test_cases/p03359/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..299a71f3fe47862a2e17f69e981e7ad8beff4e53
--- /dev/null
+++ b/public_test_cases/p03359/input.3.txt
@@ -0,0 +1 @@
+5 5
diff --git a/public_test_cases/p03359/output.0.txt b/public_test_cases/p03359/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03359/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03359/output.1.txt b/public_test_cases/p03359/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03359/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03359/output.2.txt b/public_test_cases/p03359/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03359/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03359/output.3.txt b/public_test_cases/p03359/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03359/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03360/input.0.txt b/public_test_cases/p03360/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f4c10f02755a6d91cf55dbd61f134ed4d458dd9
--- /dev/null
+++ b/public_test_cases/p03360/input.0.txt
@@ -0,0 +1,2 @@
+5 3 11
+1
diff --git a/public_test_cases/p03360/input.1.txt b/public_test_cases/p03360/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f4c10f02755a6d91cf55dbd61f134ed4d458dd9
--- /dev/null
+++ b/public_test_cases/p03360/input.1.txt
@@ -0,0 +1,2 @@
+5 3 11
+1
diff --git a/public_test_cases/p03360/input.2.txt b/public_test_cases/p03360/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42e77eae0417e668e1f0222b91afdc55396d6b49
--- /dev/null
+++ b/public_test_cases/p03360/input.2.txt
@@ -0,0 +1,2 @@
+3 3 4
+2
diff --git a/public_test_cases/p03360/output.0.txt b/public_test_cases/p03360/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03360/output.0.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03360/output.1.txt b/public_test_cases/p03360/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03360/output.1.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03360/output.2.txt b/public_test_cases/p03360/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03360/output.2.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03361/input.0.txt b/public_test_cases/p03361/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ef579b6416f9b4723b057adfe7aab7d7c6e5100
--- /dev/null
+++ b/public_test_cases/p03361/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+.#.
+###
+.#.
diff --git a/public_test_cases/p03361/input.1.txt b/public_test_cases/p03361/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ef579b6416f9b4723b057adfe7aab7d7c6e5100
--- /dev/null
+++ b/public_test_cases/p03361/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+.#.
+###
+.#.
diff --git a/public_test_cases/p03361/input.2.txt b/public_test_cases/p03361/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f6f90f1dcff12ce600d10c0eded10a3fdef8c35
--- /dev/null
+++ b/public_test_cases/p03361/input.2.txt
@@ -0,0 +1,6 @@
+5 5
+.#.#
+.#.#.
+.#.#
+.#.#.
+.#.#
diff --git a/public_test_cases/p03361/input.3.txt b/public_test_cases/p03361/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67be65fcf455b7314e2e9d2723a68aded6934279
--- /dev/null
+++ b/public_test_cases/p03361/input.3.txt
@@ -0,0 +1,12 @@
+11 11
+...#####...
+.##.....##.
+..##.##..#
+..##.##..#
+.........#
+...###...#
+.#########.
+.#.#.#.#.#.
+.#.#.#.##
+..##.#.##..
+.##..#..##.
diff --git a/public_test_cases/p03361/input.4.txt b/public_test_cases/p03361/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca8e4aa9f8c6563ead69e30fbeda060172a55796
--- /dev/null
+++ b/public_test_cases/p03361/input.4.txt
@@ -0,0 +1,4 @@
+3 3
+.#.
+
+.#.
diff --git a/public_test_cases/p03361/output.0.txt b/public_test_cases/p03361/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03361/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03361/output.1.txt b/public_test_cases/p03361/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03361/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03361/output.2.txt b/public_test_cases/p03361/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03361/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03361/output.3.txt b/public_test_cases/p03361/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03361/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03361/output.4.txt b/public_test_cases/p03361/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03361/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03362/input.0.txt b/public_test_cases/p03362/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03362/input.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03362/input.1.txt b/public_test_cases/p03362/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03362/input.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03362/input.2.txt b/public_test_cases/p03362/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03362/input.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03362/input.3.txt b/public_test_cases/p03362/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03362/input.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03362/output.0.txt b/public_test_cases/p03362/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fad62e6c0f22dc9bbc909af45d99c6385b6a721
--- /dev/null
+++ b/public_test_cases/p03362/output.0.txt
@@ -0,0 +1 @@
+3 5 7 11 31
diff --git a/public_test_cases/p03362/output.1.txt b/public_test_cases/p03362/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b4051a666df6d4935996b5ac6a7a82d8470a8af
--- /dev/null
+++ b/public_test_cases/p03362/output.1.txt
@@ -0,0 +1 @@
+2 3 5 7 11 13
diff --git a/public_test_cases/p03362/output.2.txt b/public_test_cases/p03362/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4704dcdb97786e5e9139ebc21df22701e084c06c
--- /dev/null
+++ b/public_test_cases/p03362/output.2.txt
@@ -0,0 +1 @@
+2 5 7 13 19 37 67 79
diff --git a/public_test_cases/p03362/output.3.txt b/public_test_cases/p03362/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fad62e6c0f22dc9bbc909af45d99c6385b6a721
--- /dev/null
+++ b/public_test_cases/p03362/output.3.txt
@@ -0,0 +1 @@
+3 5 7 11 31
diff --git a/public_test_cases/p03363/input.0.txt b/public_test_cases/p03363/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f17106b6113f53fffbe9e234d2af2b7016ace67
--- /dev/null
+++ b/public_test_cases/p03363/input.0.txt
@@ -0,0 +1,2 @@
+6
+1 3 -4 2 2 -2
diff --git a/public_test_cases/p03363/input.1.txt b/public_test_cases/p03363/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3657d0c8e7f05746708b49d4cf02d2358622669
--- /dev/null
+++ b/public_test_cases/p03363/input.1.txt
@@ -0,0 +1,2 @@
+7
+1 -1 1 -1 1 -1 1
diff --git a/public_test_cases/p03363/input.2.txt b/public_test_cases/p03363/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..618b120a6faefa7beb484aa7383aaefdd3f350b0
--- /dev/null
+++ b/public_test_cases/p03363/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 -2 3 -4 5
diff --git a/public_test_cases/p03363/input.3.txt b/public_test_cases/p03363/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f17106b6113f53fffbe9e234d2af2b7016ace67
--- /dev/null
+++ b/public_test_cases/p03363/input.3.txt
@@ -0,0 +1,2 @@
+6
+1 3 -4 2 2 -2
diff --git a/public_test_cases/p03363/output.0.txt b/public_test_cases/p03363/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03363/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03363/output.1.txt b/public_test_cases/p03363/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03363/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03363/output.2.txt b/public_test_cases/p03363/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03363/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03363/output.3.txt b/public_test_cases/p03363/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03363/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03364/input.0.txt b/public_test_cases/p03364/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..052e5cb88bc005bf5c39cf957e478558b817abe9
--- /dev/null
+++ b/public_test_cases/p03364/input.0.txt
@@ -0,0 +1,3 @@
+2
+ab
+ca
diff --git a/public_test_cases/p03364/input.1.txt b/public_test_cases/p03364/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..052e5cb88bc005bf5c39cf957e478558b817abe9
--- /dev/null
+++ b/public_test_cases/p03364/input.1.txt
@@ -0,0 +1,3 @@
+2
+ab
+ca
diff --git a/public_test_cases/p03364/input.2.txt b/public_test_cases/p03364/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..494176e5dd4824496b798d0118a1e42665f5f890
--- /dev/null
+++ b/public_test_cases/p03364/input.2.txt
@@ -0,0 +1,6 @@
+5
+abcde
+fghij
+klmno
+pqrst
+uvwxy
diff --git a/public_test_cases/p03364/input.3.txt b/public_test_cases/p03364/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b29a4b10615263fa5e365e7aeaf24ecd5e90746
--- /dev/null
+++ b/public_test_cases/p03364/input.3.txt
@@ -0,0 +1,5 @@
+4
+aaaa
+aaaa
+aaaa
+aaaa
diff --git a/public_test_cases/p03364/output.0.txt b/public_test_cases/p03364/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03364/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03364/output.1.txt b/public_test_cases/p03364/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03364/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03364/output.2.txt b/public_test_cases/p03364/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03364/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03364/output.3.txt b/public_test_cases/p03364/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03364/output.3.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03365/input.0.txt b/public_test_cases/p03365/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03365/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03365/input.1.txt b/public_test_cases/p03365/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03365/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03365/input.2.txt b/public_test_cases/p03365/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03365/input.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03365/input.3.txt b/public_test_cases/p03365/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03365/input.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03365/input.4.txt b/public_test_cases/p03365/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p03365/input.4.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p03365/output.0.txt b/public_test_cases/p03365/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03365/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03365/output.1.txt b/public_test_cases/p03365/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03365/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03365/output.2.txt b/public_test_cases/p03365/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03365/output.2.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03365/output.3.txt b/public_test_cases/p03365/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..871727de1fd703d0c4aab92017011c373e795b67
--- /dev/null
+++ b/public_test_cases/p03365/output.3.txt
@@ -0,0 +1 @@
+84
diff --git a/public_test_cases/p03365/output.4.txt b/public_test_cases/p03365/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6b4cceaacfb65fa97b33c0b6deb23e4bb9b8e8a
--- /dev/null
+++ b/public_test_cases/p03365/output.4.txt
@@ -0,0 +1 @@
+341429644
diff --git a/public_test_cases/p03366/input.0.txt b/public_test_cases/p03366/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f1251ec99add63a080740da477d2ddfccf44b38
--- /dev/null
+++ b/public_test_cases/p03366/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+1 3
+3 4
+4 2
diff --git a/public_test_cases/p03366/input.1.txt b/public_test_cases/p03366/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3956d4a98dbf30e9a80b3bd99000ed61578ac4e2
--- /dev/null
+++ b/public_test_cases/p03366/input.1.txt
@@ -0,0 +1,16 @@
+15 409904902
+94198000 15017
+117995501 7656764
+275583856 313263626
+284496300 356635175
+324233841 607
+360631781 148
+472103717 5224
+497641071 34695
+522945827 816241
+554305668 32
+623788284 22832
+667409501 124410641
+876731548 12078
+904557302 291749534
+918215789 5
diff --git a/public_test_cases/p03366/input.2.txt b/public_test_cases/p03366/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f1251ec99add63a080740da477d2ddfccf44b38
--- /dev/null
+++ b/public_test_cases/p03366/input.2.txt
@@ -0,0 +1,4 @@
+3 2
+1 3
+3 4
+4 2
diff --git a/public_test_cases/p03366/input.3.txt b/public_test_cases/p03366/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..568333f22482a376e209a33f451075ffd5ee478b
--- /dev/null
+++ b/public_test_cases/p03366/input.3.txt
@@ -0,0 +1,7 @@
+6 4
+1 10
+2 1000
+3 100000
+5 1000000
+6 10000
+7 100
diff --git a/public_test_cases/p03366/output.0.txt b/public_test_cases/p03366/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03366/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03366/output.1.txt b/public_test_cases/p03366/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53aeeb028de400f97e3c0ac232694749b3b985b3
--- /dev/null
+++ b/public_test_cases/p03366/output.1.txt
@@ -0,0 +1 @@
+2397671583
diff --git a/public_test_cases/p03366/output.2.txt b/public_test_cases/p03366/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03366/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03366/output.3.txt b/public_test_cases/p03366/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03366/output.3.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03367/input.0.txt b/public_test_cases/p03367/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90a24e94a60392348447c993aafd563a9a740eed
--- /dev/null
+++ b/public_test_cases/p03367/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 3 3
diff --git a/public_test_cases/p03367/input.1.txt b/public_test_cases/p03367/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9be0d5c92668fda4d697397d2b4935e218d02eba
--- /dev/null
+++ b/public_test_cases/p03367/input.1.txt
@@ -0,0 +1,2 @@
+5
+4 4 4 4 4
diff --git a/public_test_cases/p03367/input.2.txt b/public_test_cases/p03367/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e65a3cd414a9bfe802a8c9dc6ea20d6b853967d
--- /dev/null
+++ b/public_test_cases/p03367/input.2.txt
@@ -0,0 +1,2 @@
+30
+22 30 15 20 10 29 11 29 28 11 26 10 18 28 22 5 29 16 24 24 27 10 21 30 29 19 28 27 18 23
diff --git a/public_test_cases/p03367/input.3.txt b/public_test_cases/p03367/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90a24e94a60392348447c993aafd563a9a740eed
--- /dev/null
+++ b/public_test_cases/p03367/input.3.txt
@@ -0,0 +1,2 @@
+3
+2 3 3
diff --git a/public_test_cases/p03367/input.4.txt b/public_test_cases/p03367/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..968d462a84a48ce21017d2444510272ed359e775
--- /dev/null
+++ b/public_test_cases/p03367/input.4.txt
@@ -0,0 +1,2 @@
+6
+4 2 5 1 6 3
diff --git a/public_test_cases/p03367/output.0.txt b/public_test_cases/p03367/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03367/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03367/output.1.txt b/public_test_cases/p03367/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03367/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03367/output.2.txt b/public_test_cases/p03367/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab58af1cbcb9afbdca179242bd1524f0dbe30bad
--- /dev/null
+++ b/public_test_cases/p03367/output.2.txt
@@ -0,0 +1 @@
+848414012
diff --git a/public_test_cases/p03367/output.3.txt b/public_test_cases/p03367/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03367/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03367/output.4.txt b/public_test_cases/p03367/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03367/output.4.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03368/input.0.txt b/public_test_cases/p03368/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2181810a6646a52cd80bec36dda635194a182a38
--- /dev/null
+++ b/public_test_cases/p03368/input.0.txt
@@ -0,0 +1,3 @@
+6
+1 1 2 3 3
+0 1 1 0 0 0
diff --git a/public_test_cases/p03368/input.1.txt b/public_test_cases/p03368/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d6451de9dafc8b5614d1c6a8097c1447a9c1826
--- /dev/null
+++ b/public_test_cases/p03368/input.1.txt
@@ -0,0 +1,3 @@
+15
+1 2 3 2 5 6 2 2 9 10 1 12 13 12
+1 1 1 0 1 1 0 0 1 0 0 1 1 0 0
diff --git a/public_test_cases/p03368/input.2.txt b/public_test_cases/p03368/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2181810a6646a52cd80bec36dda635194a182a38
--- /dev/null
+++ b/public_test_cases/p03368/input.2.txt
@@ -0,0 +1,3 @@
+6
+1 1 2 3 3
+0 1 1 0 0 0
diff --git a/public_test_cases/p03368/input.3.txt b/public_test_cases/p03368/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2c112f580567e7b059620337ff2ef1c7d142f81
--- /dev/null
+++ b/public_test_cases/p03368/input.3.txt
@@ -0,0 +1,3 @@
+1
+
+0
diff --git a/public_test_cases/p03368/output.0.txt b/public_test_cases/p03368/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03368/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03368/output.1.txt b/public_test_cases/p03368/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e85087affded170efcbc6f9672a6fc671d839ed0
--- /dev/null
+++ b/public_test_cases/p03368/output.1.txt
@@ -0,0 +1 @@
+31
diff --git a/public_test_cases/p03368/output.2.txt b/public_test_cases/p03368/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03368/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03368/output.3.txt b/public_test_cases/p03368/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03368/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03369/input.0.txt b/public_test_cases/p03369/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b400ca7da865cee3674fc11ad6c42bc0c41dd46a
--- /dev/null
+++ b/public_test_cases/p03369/input.0.txt
@@ -0,0 +1 @@
+oxo
diff --git a/public_test_cases/p03369/input.1.txt b/public_test_cases/p03369/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b400ca7da865cee3674fc11ad6c42bc0c41dd46a
--- /dev/null
+++ b/public_test_cases/p03369/input.1.txt
@@ -0,0 +1 @@
+oxo
diff --git a/public_test_cases/p03369/input.2.txt b/public_test_cases/p03369/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6459e005434a49a66a3ddec92279a86160ad71f
--- /dev/null
+++ b/public_test_cases/p03369/input.2.txt
@@ -0,0 +1 @@
+xxx
diff --git a/public_test_cases/p03369/input.3.txt b/public_test_cases/p03369/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82d35d93aaecd842f7b067ca1ed1dc2813afa1a3
--- /dev/null
+++ b/public_test_cases/p03369/input.3.txt
@@ -0,0 +1 @@
+ooo
diff --git a/public_test_cases/p03369/output.0.txt b/public_test_cases/p03369/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b02a197f603b1424f13f8f5293cbf92417c1b00
--- /dev/null
+++ b/public_test_cases/p03369/output.0.txt
@@ -0,0 +1 @@
+900
diff --git a/public_test_cases/p03369/output.1.txt b/public_test_cases/p03369/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b02a197f603b1424f13f8f5293cbf92417c1b00
--- /dev/null
+++ b/public_test_cases/p03369/output.1.txt
@@ -0,0 +1 @@
+900
diff --git a/public_test_cases/p03369/output.2.txt b/public_test_cases/p03369/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4890ce57fed26f8237519931c4892b8d323d249
--- /dev/null
+++ b/public_test_cases/p03369/output.2.txt
@@ -0,0 +1 @@
+700
diff --git a/public_test_cases/p03369/output.3.txt b/public_test_cases/p03369/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p03369/output.3.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p03370/input.0.txt b/public_test_cases/p03370/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afc62c74fc7e30ce842e09a3daf24dd8150a0fa7
--- /dev/null
+++ b/public_test_cases/p03370/input.0.txt
@@ -0,0 +1,4 @@
+3 1000
+120
+100
+140
diff --git a/public_test_cases/p03370/input.1.txt b/public_test_cases/p03370/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afc62c74fc7e30ce842e09a3daf24dd8150a0fa7
--- /dev/null
+++ b/public_test_cases/p03370/input.1.txt
@@ -0,0 +1,4 @@
+3 1000
+120
+100
+140
diff --git a/public_test_cases/p03370/input.2.txt b/public_test_cases/p03370/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e199aec99ae3d434a7e26f60d2b39d84d66a690
--- /dev/null
+++ b/public_test_cases/p03370/input.2.txt
@@ -0,0 +1,6 @@
+5 3000
+150
+130
+150
+130
+110
diff --git a/public_test_cases/p03370/input.3.txt b/public_test_cases/p03370/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e598701d375e3d940405700467fed7e9d021c9f
--- /dev/null
+++ b/public_test_cases/p03370/input.3.txt
@@ -0,0 +1,5 @@
+4 360
+90
+90
+90
+90
diff --git a/public_test_cases/p03370/output.0.txt b/public_test_cases/p03370/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03370/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03370/output.1.txt b/public_test_cases/p03370/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03370/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03370/output.2.txt b/public_test_cases/p03370/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p03370/output.2.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p03370/output.3.txt b/public_test_cases/p03370/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03370/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03371/input.0.txt b/public_test_cases/p03371/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f5f09024294858c8370a5f1f38f3b818154afc6
--- /dev/null
+++ b/public_test_cases/p03371/input.0.txt
@@ -0,0 +1 @@
+1500 2000 1600 3 2
diff --git a/public_test_cases/p03371/input.1.txt b/public_test_cases/p03371/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f5f09024294858c8370a5f1f38f3b818154afc6
--- /dev/null
+++ b/public_test_cases/p03371/input.1.txt
@@ -0,0 +1 @@
+1500 2000 1600 3 2
diff --git a/public_test_cases/p03371/input.2.txt b/public_test_cases/p03371/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bb39b0ec0ed63bc5ff1dfd882b4aa40e524ce6a
--- /dev/null
+++ b/public_test_cases/p03371/input.2.txt
@@ -0,0 +1 @@
+1500 2000 500 90000 100000
diff --git a/public_test_cases/p03371/input.3.txt b/public_test_cases/p03371/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4d279290077ac6791208bc13454d681f3f246f6
--- /dev/null
+++ b/public_test_cases/p03371/input.3.txt
@@ -0,0 +1 @@
+1500 2000 1900 3 2
diff --git a/public_test_cases/p03371/output.0.txt b/public_test_cases/p03371/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..855f5f86a8de3069885ee24c85ff71e285be75b0
--- /dev/null
+++ b/public_test_cases/p03371/output.0.txt
@@ -0,0 +1 @@
+7900
diff --git a/public_test_cases/p03371/output.1.txt b/public_test_cases/p03371/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..855f5f86a8de3069885ee24c85ff71e285be75b0
--- /dev/null
+++ b/public_test_cases/p03371/output.1.txt
@@ -0,0 +1 @@
+7900
diff --git a/public_test_cases/p03371/output.2.txt b/public_test_cases/p03371/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea600cb61b366b723c6e331e118865642391327f
--- /dev/null
+++ b/public_test_cases/p03371/output.2.txt
@@ -0,0 +1 @@
+100000000
diff --git a/public_test_cases/p03371/output.3.txt b/public_test_cases/p03371/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b28927a92197669e0a56fc70577492a1f91285e4
--- /dev/null
+++ b/public_test_cases/p03371/output.3.txt
@@ -0,0 +1 @@
+8500
diff --git a/public_test_cases/p03372/input.0.txt b/public_test_cases/p03372/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8185fbe4c08db8e9ad5049b63e4ac1ae5cc45b84
--- /dev/null
+++ b/public_test_cases/p03372/input.0.txt
@@ -0,0 +1,4 @@
+3 20
+2 80
+9 120
+16 1
diff --git a/public_test_cases/p03372/output.0.txt b/public_test_cases/p03372/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88b2e78342d56f05c2cf57c289329a19342fb5f9
--- /dev/null
+++ b/public_test_cases/p03372/output.0.txt
@@ -0,0 +1 @@
+191
diff --git a/public_test_cases/p03373/input.0.txt b/public_test_cases/p03373/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f5f09024294858c8370a5f1f38f3b818154afc6
--- /dev/null
+++ b/public_test_cases/p03373/input.0.txt
@@ -0,0 +1 @@
+1500 2000 1600 3 2
diff --git a/public_test_cases/p03373/output.0.txt b/public_test_cases/p03373/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..855f5f86a8de3069885ee24c85ff71e285be75b0
--- /dev/null
+++ b/public_test_cases/p03373/output.0.txt
@@ -0,0 +1 @@
+7900
diff --git a/public_test_cases/p03374/input.0.txt b/public_test_cases/p03374/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8185fbe4c08db8e9ad5049b63e4ac1ae5cc45b84
--- /dev/null
+++ b/public_test_cases/p03374/input.0.txt
@@ -0,0 +1,4 @@
+3 20
+2 80
+9 120
+16 1
diff --git a/public_test_cases/p03374/input.1.txt b/public_test_cases/p03374/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fc9caa06ab8915a3585268afb75bd6027cd8f42
--- /dev/null
+++ b/public_test_cases/p03374/input.1.txt
@@ -0,0 +1,16 @@
+15 10000000000
+400000000 1000000000
+800000000 1000000000
+1900000000 1000000000
+2400000000 1000000000
+2900000000 1000000000
+3300000000 1000000000
+3700000000 1000000000
+3800000000 1000000000
+4000000000 1000000000
+4100000000 1000000000
+5200000000 1000000000
+6600000000 1000000000
+8000000000 1000000000
+9300000000 1000000000
+9700000000 1000000000
diff --git a/public_test_cases/p03374/input.2.txt b/public_test_cases/p03374/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8185fbe4c08db8e9ad5049b63e4ac1ae5cc45b84
--- /dev/null
+++ b/public_test_cases/p03374/input.2.txt
@@ -0,0 +1,4 @@
+3 20
+2 80
+9 120
+16 1
diff --git a/public_test_cases/p03374/input.3.txt b/public_test_cases/p03374/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d28aafe7e2f966b1b466352e9885f383a335dbf5
--- /dev/null
+++ b/public_test_cases/p03374/input.3.txt
@@ -0,0 +1,4 @@
+3 20
+2 80
+9 1
+16 120
diff --git a/public_test_cases/p03374/input.4.txt b/public_test_cases/p03374/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0b62631fed6775c7d88889ab487701f489c5900
--- /dev/null
+++ b/public_test_cases/p03374/input.4.txt
@@ -0,0 +1,2 @@
+1 100000000000000
+50000000000000 1
diff --git a/public_test_cases/p03374/output.0.txt b/public_test_cases/p03374/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88b2e78342d56f05c2cf57c289329a19342fb5f9
--- /dev/null
+++ b/public_test_cases/p03374/output.0.txt
@@ -0,0 +1 @@
+191
diff --git a/public_test_cases/p03374/output.1.txt b/public_test_cases/p03374/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2802b09198317fbbea9dc4b09a1f54e993a26002
--- /dev/null
+++ b/public_test_cases/p03374/output.1.txt
@@ -0,0 +1 @@
+6500000000
diff --git a/public_test_cases/p03374/output.2.txt b/public_test_cases/p03374/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88b2e78342d56f05c2cf57c289329a19342fb5f9
--- /dev/null
+++ b/public_test_cases/p03374/output.2.txt
@@ -0,0 +1 @@
+191
diff --git a/public_test_cases/p03374/output.3.txt b/public_test_cases/p03374/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86a0307199419a10492c4e4a044feb9f6580c607
--- /dev/null
+++ b/public_test_cases/p03374/output.3.txt
@@ -0,0 +1 @@
+192
diff --git a/public_test_cases/p03374/output.4.txt b/public_test_cases/p03374/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03374/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03375/input.0.txt b/public_test_cases/p03375/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98173dff48f2836a0440e388e92033f621c84a46
--- /dev/null
+++ b/public_test_cases/p03375/input.0.txt
@@ -0,0 +1 @@
+2 1000000007
diff --git a/public_test_cases/p03375/input.1.txt b/public_test_cases/p03375/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b76836087780374537c0cb5a0acc4393ccaacd4
--- /dev/null
+++ b/public_test_cases/p03375/input.1.txt
@@ -0,0 +1 @@
+3 1000000009
diff --git a/public_test_cases/p03375/input.2.txt b/public_test_cases/p03375/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98173dff48f2836a0440e388e92033f621c84a46
--- /dev/null
+++ b/public_test_cases/p03375/input.2.txt
@@ -0,0 +1 @@
+2 1000000007
diff --git a/public_test_cases/p03375/input.3.txt b/public_test_cases/p03375/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01bb66d47ad67075ee9d0a25f07ef9ff240e3caa
--- /dev/null
+++ b/public_test_cases/p03375/input.3.txt
@@ -0,0 +1 @@
+3000 123456791
diff --git a/public_test_cases/p03375/input.4.txt b/public_test_cases/p03375/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ed01ea7c266588c708b2e9d25311f4b2384c564
--- /dev/null
+++ b/public_test_cases/p03375/input.4.txt
@@ -0,0 +1 @@
+50 111111113
diff --git a/public_test_cases/p03375/output.0.txt b/public_test_cases/p03375/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03375/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03375/output.1.txt b/public_test_cases/p03375/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..415196e47f5324354b6e706ca5813567fa6c3784
--- /dev/null
+++ b/public_test_cases/p03375/output.1.txt
@@ -0,0 +1 @@
+118
diff --git a/public_test_cases/p03375/output.2.txt b/public_test_cases/p03375/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03375/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03375/output.3.txt b/public_test_cases/p03375/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c23ed6da81707df0aa58d2a0935941df27456fd2
--- /dev/null
+++ b/public_test_cases/p03375/output.3.txt
@@ -0,0 +1 @@
+16369789
diff --git a/public_test_cases/p03375/output.4.txt b/public_test_cases/p03375/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ae9060b2676981f4b3bd4c95677ca6895916730
--- /dev/null
+++ b/public_test_cases/p03375/output.4.txt
@@ -0,0 +1 @@
+1456748
diff --git a/public_test_cases/p03376/input.0.txt b/public_test_cases/p03376/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7a396efa9be81eecc6feb15b018049a83271c29
--- /dev/null
+++ b/public_test_cases/p03376/input.0.txt
@@ -0,0 +1,4 @@
+3 100 1
+15
+10 1
+20 1
diff --git a/public_test_cases/p03376/input.1.txt b/public_test_cases/p03376/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8095693637afc7745d369896724e7cc5f7231bc5
--- /dev/null
+++ b/public_test_cases/p03376/input.1.txt
@@ -0,0 +1,4 @@
+3 100 10
+15
+10 1
+20 1
diff --git a/public_test_cases/p03376/input.2.txt b/public_test_cases/p03376/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40dc61bed9cea9ad8f242cf19eab342ce220a94c
--- /dev/null
+++ b/public_test_cases/p03376/input.2.txt
@@ -0,0 +1,6 @@
+5 1000000000 1000000
+123
+159 1
+111 1
+135 3
+147 3
diff --git a/public_test_cases/p03376/input.3.txt b/public_test_cases/p03376/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7a396efa9be81eecc6feb15b018049a83271c29
--- /dev/null
+++ b/public_test_cases/p03376/input.3.txt
@@ -0,0 +1,4 @@
+3 100 1
+15
+10 1
+20 1
diff --git a/public_test_cases/p03376/output.0.txt b/public_test_cases/p03376/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03376/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03376/output.1.txt b/public_test_cases/p03376/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03376/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03376/output.2.txt b/public_test_cases/p03376/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d74f80fb6f775ae26233b94a66f0f080038d5727
--- /dev/null
+++ b/public_test_cases/p03376/output.2.txt
@@ -0,0 +1 @@
+7496296
diff --git a/public_test_cases/p03376/output.3.txt b/public_test_cases/p03376/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03376/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03377/input.0.txt b/public_test_cases/p03377/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7139457f098c05fc4b67849edd90591ec6830b4
--- /dev/null
+++ b/public_test_cases/p03377/input.0.txt
@@ -0,0 +1 @@
+3 5 4
diff --git a/public_test_cases/p03377/input.1.txt b/public_test_cases/p03377/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a208c99c8afd9ba51e5e94d65219bc1c44556d20
--- /dev/null
+++ b/public_test_cases/p03377/input.1.txt
@@ -0,0 +1 @@
+2 2 6
diff --git a/public_test_cases/p03377/input.2.txt b/public_test_cases/p03377/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7139457f098c05fc4b67849edd90591ec6830b4
--- /dev/null
+++ b/public_test_cases/p03377/input.2.txt
@@ -0,0 +1 @@
+3 5 4
diff --git a/public_test_cases/p03377/input.3.txt b/public_test_cases/p03377/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad0d61ad00fde7baaad7c56f69635f64152ce966
--- /dev/null
+++ b/public_test_cases/p03377/input.3.txt
@@ -0,0 +1 @@
+5 3 2
diff --git a/public_test_cases/p03377/output.0.txt b/public_test_cases/p03377/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03377/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03377/output.1.txt b/public_test_cases/p03377/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03377/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03377/output.2.txt b/public_test_cases/p03377/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03377/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03377/output.3.txt b/public_test_cases/p03377/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03377/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03378/input.0.txt b/public_test_cases/p03378/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3db830e02472d13080b9168dfd95ed13b91b5af6
--- /dev/null
+++ b/public_test_cases/p03378/input.0.txt
@@ -0,0 +1,2 @@
+5 3 3
+1 2 4
diff --git a/public_test_cases/p03378/output.0.txt b/public_test_cases/p03378/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03378/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03379/input.0.txt b/public_test_cases/p03379/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..568b018286a4113ee3b6809de19688ff7566be5e
--- /dev/null
+++ b/public_test_cases/p03379/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 4 4 3
diff --git a/public_test_cases/p03379/output.0.txt b/public_test_cases/p03379/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9bfb3367e5f44c5c8301de8eaa527b358132c8b
--- /dev/null
+++ b/public_test_cases/p03379/output.0.txt
@@ -0,0 +1,4 @@
+4
+3
+3
+4
diff --git a/public_test_cases/p03380/input.0.txt b/public_test_cases/p03380/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd91c974ab23b5c815ef231a5209b1e08ee21c5
--- /dev/null
+++ b/public_test_cases/p03380/input.0.txt
@@ -0,0 +1,2 @@
+5
+6 9 4 2 11
diff --git a/public_test_cases/p03380/input.1.txt b/public_test_cases/p03380/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd91c974ab23b5c815ef231a5209b1e08ee21c5
--- /dev/null
+++ b/public_test_cases/p03380/input.1.txt
@@ -0,0 +1,2 @@
+5
+6 9 4 2 11
diff --git a/public_test_cases/p03380/input.2.txt b/public_test_cases/p03380/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5a70c63e61f9da4947526127fbf1798c99ea51c
--- /dev/null
+++ b/public_test_cases/p03380/input.2.txt
@@ -0,0 +1,2 @@
+2
+100 0
diff --git a/public_test_cases/p03380/output.0.txt b/public_test_cases/p03380/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5868379786bbebc13c2b0cc4f7d2bb412e28fbaa
--- /dev/null
+++ b/public_test_cases/p03380/output.0.txt
@@ -0,0 +1 @@
+11 6
diff --git a/public_test_cases/p03380/output.1.txt b/public_test_cases/p03380/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5868379786bbebc13c2b0cc4f7d2bb412e28fbaa
--- /dev/null
+++ b/public_test_cases/p03380/output.1.txt
@@ -0,0 +1 @@
+11 6
diff --git a/public_test_cases/p03380/output.2.txt b/public_test_cases/p03380/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45d4794c122865f3d0b54adfddf0b0f30f96c4ff
--- /dev/null
+++ b/public_test_cases/p03380/output.2.txt
@@ -0,0 +1 @@
+100 0
diff --git a/public_test_cases/p03381/input.0.txt b/public_test_cases/p03381/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..568b018286a4113ee3b6809de19688ff7566be5e
--- /dev/null
+++ b/public_test_cases/p03381/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 4 4 3
diff --git a/public_test_cases/p03381/input.1.txt b/public_test_cases/p03381/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..efa0c2e614f6898a64f03220e1cfacb783bcf3e1
--- /dev/null
+++ b/public_test_cases/p03381/input.1.txt
@@ -0,0 +1,2 @@
+6
+5 5 4 4 3 3
diff --git a/public_test_cases/p03381/input.2.txt b/public_test_cases/p03381/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..568b018286a4113ee3b6809de19688ff7566be5e
--- /dev/null
+++ b/public_test_cases/p03381/input.2.txt
@@ -0,0 +1,2 @@
+4
+2 4 4 3
diff --git a/public_test_cases/p03381/input.3.txt b/public_test_cases/p03381/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03381/input.3.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03381/output.0.txt b/public_test_cases/p03381/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9bfb3367e5f44c5c8301de8eaa527b358132c8b
--- /dev/null
+++ b/public_test_cases/p03381/output.0.txt
@@ -0,0 +1,4 @@
+4
+3
+3
+4
diff --git a/public_test_cases/p03381/output.1.txt b/public_test_cases/p03381/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1c48292bda1f1daac48c6d4304f686513290981
--- /dev/null
+++ b/public_test_cases/p03381/output.1.txt
@@ -0,0 +1,6 @@
+4
+4
+4
+4
+4
+4
diff --git a/public_test_cases/p03381/output.2.txt b/public_test_cases/p03381/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9bfb3367e5f44c5c8301de8eaa527b358132c8b
--- /dev/null
+++ b/public_test_cases/p03381/output.2.txt
@@ -0,0 +1,4 @@
+4
+3
+3
+4
diff --git a/public_test_cases/p03381/output.3.txt b/public_test_cases/p03381/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p03381/output.3.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p03382/input.0.txt b/public_test_cases/p03382/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd91c974ab23b5c815ef231a5209b1e08ee21c5
--- /dev/null
+++ b/public_test_cases/p03382/input.0.txt
@@ -0,0 +1,2 @@
+5
+6 9 4 2 11
diff --git a/public_test_cases/p03382/output.0.txt b/public_test_cases/p03382/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5868379786bbebc13c2b0cc4f7d2bb412e28fbaa
--- /dev/null
+++ b/public_test_cases/p03382/output.0.txt
@@ -0,0 +1 @@
+11 6
diff --git a/public_test_cases/p03383/input.0.txt b/public_test_cases/p03383/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de086ed28217fb56b723e18184d1b959d5489680
--- /dev/null
+++ b/public_test_cases/p03383/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+arc
+rac
diff --git a/public_test_cases/p03383/input.1.txt b/public_test_cases/p03383/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d774d11f724cf5a437c76a2eccfb2599cae86e4a
--- /dev/null
+++ b/public_test_cases/p03383/input.1.txt
@@ -0,0 +1,4 @@
+3 7
+atcoder
+regular
+contest
diff --git a/public_test_cases/p03383/input.2.txt b/public_test_cases/p03383/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66449f022eb55d52e66db1a251763a2333c3f9fc
--- /dev/null
+++ b/public_test_cases/p03383/input.2.txt
@@ -0,0 +1,13 @@
+12 12
+bimonigaloaf
+faurwlkbleht
+dexwimqxzxbb
+lxdgyoifcxid
+ydxiliocfdgx
+nfoabgilamoi
+ibxbdqmzxxwe
+pqirylfrcrnf
+wtehfkllbura
+yfrnpflcrirq
+wvcclwgiubrk
+lkbrwgwuiccv
diff --git a/public_test_cases/p03383/input.3.txt b/public_test_cases/p03383/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de086ed28217fb56b723e18184d1b959d5489680
--- /dev/null
+++ b/public_test_cases/p03383/input.3.txt
@@ -0,0 +1,3 @@
+2 3
+arc
+rac
diff --git a/public_test_cases/p03383/output.0.txt b/public_test_cases/p03383/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03383/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03383/output.1.txt b/public_test_cases/p03383/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03383/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03383/output.2.txt b/public_test_cases/p03383/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03383/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03383/output.3.txt b/public_test_cases/p03383/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03383/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03384/input.0.txt b/public_test_cases/p03384/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd11afcecc80c2c2a2c7a69c4fe1435bfd567502
--- /dev/null
+++ b/public_test_cases/p03384/input.0.txt
@@ -0,0 +1,6 @@
+6
+1 2
+1 3
+1 4
+1 5
+5 6
diff --git a/public_test_cases/p03384/input.1.txt b/public_test_cases/p03384/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db94cdfec39994f321becbaa7fc941b7132f32ff
--- /dev/null
+++ b/public_test_cases/p03384/input.1.txt
@@ -0,0 +1,15 @@
+15
+1 2
+1 3
+2 4
+2 5
+3 6
+3 7
+4 8
+4 9
+5 10
+5 11
+6 12
+6 13
+7 14
+7 15
diff --git a/public_test_cases/p03384/input.2.txt b/public_test_cases/p03384/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd11afcecc80c2c2a2c7a69c4fe1435bfd567502
--- /dev/null
+++ b/public_test_cases/p03384/input.2.txt
@@ -0,0 +1,6 @@
+6
+1 2
+1 3
+1 4
+1 5
+5 6
diff --git a/public_test_cases/p03384/input.3.txt b/public_test_cases/p03384/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..062726584ce63455cb4eb674774c04531494cb80
--- /dev/null
+++ b/public_test_cases/p03384/input.3.txt
@@ -0,0 +1,6 @@
+6
+1 2
+2 3
+3 4
+1 5
+5 6
diff --git a/public_test_cases/p03384/output.0.txt b/public_test_cases/p03384/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d9c72f2d4f834ab630a6f7d2981408335dbbcf8
--- /dev/null
+++ b/public_test_cases/p03384/output.0.txt
@@ -0,0 +1 @@
+1 2 4 5 3 6
diff --git a/public_test_cases/p03384/output.1.txt b/public_test_cases/p03384/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03384/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03384/output.2.txt b/public_test_cases/p03384/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d9c72f2d4f834ab630a6f7d2981408335dbbcf8
--- /dev/null
+++ b/public_test_cases/p03384/output.2.txt
@@ -0,0 +1 @@
+1 2 4 5 3 6
diff --git a/public_test_cases/p03384/output.3.txt b/public_test_cases/p03384/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b61b7c26ca70f51b5480b0084e854ffbd1f9f264
--- /dev/null
+++ b/public_test_cases/p03384/output.3.txt
@@ -0,0 +1 @@
+1 2 3 4 5 6
diff --git a/public_test_cases/p03385/input.0.txt b/public_test_cases/p03385/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f536db4608f3afe1f22923d146b81abe4886dcb
--- /dev/null
+++ b/public_test_cases/p03385/input.0.txt
@@ -0,0 +1 @@
+bac
diff --git a/public_test_cases/p03385/input.1.txt b/public_test_cases/p03385/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aa4b504306ae8fd271fab2fdb4c70fb5e2e83a9
--- /dev/null
+++ b/public_test_cases/p03385/input.1.txt
@@ -0,0 +1 @@
+bab
diff --git a/public_test_cases/p03385/input.2.txt b/public_test_cases/p03385/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8baef1b4abc478178b004d62031cf7fe6db6f903
--- /dev/null
+++ b/public_test_cases/p03385/input.2.txt
@@ -0,0 +1 @@
+abc
diff --git a/public_test_cases/p03385/input.3.txt b/public_test_cases/p03385/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72943a16fb2c8f38f9dde202b7a70ccc19c52f34
--- /dev/null
+++ b/public_test_cases/p03385/input.3.txt
@@ -0,0 +1 @@
+aaa
diff --git a/public_test_cases/p03385/input.4.txt b/public_test_cases/p03385/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f536db4608f3afe1f22923d146b81abe4886dcb
--- /dev/null
+++ b/public_test_cases/p03385/input.4.txt
@@ -0,0 +1 @@
+bac
diff --git a/public_test_cases/p03385/output.0.txt b/public_test_cases/p03385/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03385/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03385/output.1.txt b/public_test_cases/p03385/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03385/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03385/output.2.txt b/public_test_cases/p03385/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03385/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03385/output.3.txt b/public_test_cases/p03385/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03385/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03385/output.4.txt b/public_test_cases/p03385/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03385/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03386/input.0.txt b/public_test_cases/p03386/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4ec18ee84df973b0c79c6c20da63c069a7447a6
--- /dev/null
+++ b/public_test_cases/p03386/input.0.txt
@@ -0,0 +1 @@
+3 8 2
diff --git a/public_test_cases/p03386/input.1.txt b/public_test_cases/p03386/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1037ea0abd77dd5d8fef0e2f784b0d336ac6805c
--- /dev/null
+++ b/public_test_cases/p03386/input.1.txt
@@ -0,0 +1 @@
+2 9 100
diff --git a/public_test_cases/p03386/input.2.txt b/public_test_cases/p03386/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4ec18ee84df973b0c79c6c20da63c069a7447a6
--- /dev/null
+++ b/public_test_cases/p03386/input.2.txt
@@ -0,0 +1 @@
+3 8 2
diff --git a/public_test_cases/p03386/input.3.txt b/public_test_cases/p03386/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..270762e1ecefac63725c7c8d2f3e64b910a0329f
--- /dev/null
+++ b/public_test_cases/p03386/input.3.txt
@@ -0,0 +1 @@
+4 8 3
diff --git a/public_test_cases/p03386/output.0.txt b/public_test_cases/p03386/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1454114473f6b57004a9e568b0871229708bab32
--- /dev/null
+++ b/public_test_cases/p03386/output.0.txt
@@ -0,0 +1,4 @@
+3
+4
+7
+8
diff --git a/public_test_cases/p03386/output.1.txt b/public_test_cases/p03386/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5617de67bc334ba753462ac8120427fe2ba2df80
--- /dev/null
+++ b/public_test_cases/p03386/output.1.txt
@@ -0,0 +1,8 @@
+2
+3
+4
+5
+6
+7
+8
+9
diff --git a/public_test_cases/p03386/output.2.txt b/public_test_cases/p03386/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1454114473f6b57004a9e568b0871229708bab32
--- /dev/null
+++ b/public_test_cases/p03386/output.2.txt
@@ -0,0 +1,4 @@
+3
+4
+7
+8
diff --git a/public_test_cases/p03386/output.3.txt b/public_test_cases/p03386/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7968e2a5f58fb703f373e09ab97a671434030a51
--- /dev/null
+++ b/public_test_cases/p03386/output.3.txt
@@ -0,0 +1,5 @@
+4
+5
+6
+7
+8
diff --git a/public_test_cases/p03387/input.0.txt b/public_test_cases/p03387/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f874fb1787a11c117415a7630996e04db4f7d3b
--- /dev/null
+++ b/public_test_cases/p03387/input.0.txt
@@ -0,0 +1 @@
+2 5 4
diff --git a/public_test_cases/p03387/output.0.txt b/public_test_cases/p03387/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03387/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03388/input.0.txt b/public_test_cases/p03388/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75634f5cd785fd5c79a8393807414205fb0f8bf6
--- /dev/null
+++ b/public_test_cases/p03388/input.0.txt
@@ -0,0 +1,9 @@
+8
+1 4
+10 5
+3 3
+4 11
+8 9
+22 40
+8 36
+314159265 358979323
diff --git a/public_test_cases/p03388/input.1.txt b/public_test_cases/p03388/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75634f5cd785fd5c79a8393807414205fb0f8bf6
--- /dev/null
+++ b/public_test_cases/p03388/input.1.txt
@@ -0,0 +1,9 @@
+8
+1 4
+10 5
+3 3
+4 11
+8 9
+22 40
+8 36
+314159265 358979323
diff --git a/public_test_cases/p03388/output.0.txt b/public_test_cases/p03388/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a441b4420805c99cdc61b098822101a8daf9a3bb
--- /dev/null
+++ b/public_test_cases/p03388/output.0.txt
@@ -0,0 +1,8 @@
+1
+12
+4
+11
+14
+57
+31
+671644785
diff --git a/public_test_cases/p03388/output.1.txt b/public_test_cases/p03388/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a441b4420805c99cdc61b098822101a8daf9a3bb
--- /dev/null
+++ b/public_test_cases/p03388/output.1.txt
@@ -0,0 +1,8 @@
+1
+12
+4
+11
+14
+57
+31
+671644785
diff --git a/public_test_cases/p03389/input.0.txt b/public_test_cases/p03389/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f874fb1787a11c117415a7630996e04db4f7d3b
--- /dev/null
+++ b/public_test_cases/p03389/input.0.txt
@@ -0,0 +1 @@
+2 5 4
diff --git a/public_test_cases/p03389/output.0.txt b/public_test_cases/p03389/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03389/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03390/input.0.txt b/public_test_cases/p03390/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75634f5cd785fd5c79a8393807414205fb0f8bf6
--- /dev/null
+++ b/public_test_cases/p03390/input.0.txt
@@ -0,0 +1,9 @@
+8
+1 4
+10 5
+3 3
+4 11
+8 9
+22 40
+8 36
+314159265 358979323
diff --git a/public_test_cases/p03390/output.0.txt b/public_test_cases/p03390/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a441b4420805c99cdc61b098822101a8daf9a3bb
--- /dev/null
+++ b/public_test_cases/p03390/output.0.txt
@@ -0,0 +1,8 @@
+1
+12
+4
+11
+14
+57
+31
+671644785
diff --git a/public_test_cases/p03391/input.0.txt b/public_test_cases/p03391/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cddb408d3053c71fef4e35a325b73a29bd20de68
--- /dev/null
+++ b/public_test_cases/p03391/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 2
+3 2
diff --git a/public_test_cases/p03391/input.1.txt b/public_test_cases/p03391/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57f2f4f1ef927b5df058250434d022d49775aad4
--- /dev/null
+++ b/public_test_cases/p03391/input.1.txt
@@ -0,0 +1,4 @@
+3
+8 3
+0 1
+4 8
diff --git a/public_test_cases/p03391/input.2.txt b/public_test_cases/p03391/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20478c63e5f63708f9e029bd32f2a98cf73cbd6b
--- /dev/null
+++ b/public_test_cases/p03391/input.2.txt
@@ -0,0 +1,2 @@
+1
+1 1
diff --git a/public_test_cases/p03391/input.3.txt b/public_test_cases/p03391/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cddb408d3053c71fef4e35a325b73a29bd20de68
--- /dev/null
+++ b/public_test_cases/p03391/input.3.txt
@@ -0,0 +1,3 @@
+2
+1 2
+3 2
diff --git a/public_test_cases/p03391/output.0.txt b/public_test_cases/p03391/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03391/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03391/output.1.txt b/public_test_cases/p03391/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03391/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03391/output.2.txt b/public_test_cases/p03391/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03391/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03391/output.3.txt b/public_test_cases/p03391/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03391/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03392/input.0.txt b/public_test_cases/p03392/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8baef1b4abc478178b004d62031cf7fe6db6f903
--- /dev/null
+++ b/public_test_cases/p03392/input.0.txt
@@ -0,0 +1 @@
+abc
diff --git a/public_test_cases/p03392/input.1.txt b/public_test_cases/p03392/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..607798036c180358c44a684d649284d5737beadd
--- /dev/null
+++ b/public_test_cases/p03392/input.1.txt
@@ -0,0 +1 @@
+babacabac
diff --git a/public_test_cases/p03392/input.2.txt b/public_test_cases/p03392/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa15d016e2f9d73c06643b385c7fb42d132e732b
--- /dev/null
+++ b/public_test_cases/p03392/input.2.txt
@@ -0,0 +1 @@
+abbac
diff --git a/public_test_cases/p03392/input.3.txt b/public_test_cases/p03392/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8baef1b4abc478178b004d62031cf7fe6db6f903
--- /dev/null
+++ b/public_test_cases/p03392/input.3.txt
@@ -0,0 +1 @@
+abc
diff --git a/public_test_cases/p03392/input.4.txt b/public_test_cases/p03392/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6892e168c4a551d9f351dcf5654ffb23e2d98007
--- /dev/null
+++ b/public_test_cases/p03392/input.4.txt
@@ -0,0 +1 @@
+ababacbcacbacacbcbbcbbacbaccacbacbacba
diff --git a/public_test_cases/p03392/output.0.txt b/public_test_cases/p03392/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03392/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03392/output.1.txt b/public_test_cases/p03392/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87fb4960b8024e33d3f4c5e2054c2593964ea2b2
--- /dev/null
+++ b/public_test_cases/p03392/output.1.txt
@@ -0,0 +1 @@
+6310
diff --git a/public_test_cases/p03392/output.2.txt b/public_test_cases/p03392/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1479e19b5fdf6c32d2eb41dad16203706f7d663d
--- /dev/null
+++ b/public_test_cases/p03392/output.2.txt
@@ -0,0 +1 @@
+65
diff --git a/public_test_cases/p03392/output.3.txt b/public_test_cases/p03392/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03392/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03392/output.4.txt b/public_test_cases/p03392/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70804d5416f5964d4feaeea032ac320a19ef1880
--- /dev/null
+++ b/public_test_cases/p03392/output.4.txt
@@ -0,0 +1 @@
+148010497
diff --git a/public_test_cases/p03393/input.0.txt b/public_test_cases/p03393/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ef13d11d0bc8c8cde49253ea4a0cdbea2c9416
--- /dev/null
+++ b/public_test_cases/p03393/input.0.txt
@@ -0,0 +1 @@
+atcoder
diff --git a/public_test_cases/p03393/input.1.txt b/public_test_cases/p03393/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1993644d07fc23b02cf1c6e59d16bc0cc1a2cec
--- /dev/null
+++ b/public_test_cases/p03393/input.1.txt
@@ -0,0 +1 @@
+zyxwvutsrqponmlkjihgfedcba
diff --git a/public_test_cases/p03393/input.2.txt b/public_test_cases/p03393/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ef13d11d0bc8c8cde49253ea4a0cdbea2c9416
--- /dev/null
+++ b/public_test_cases/p03393/input.2.txt
@@ -0,0 +1 @@
+atcoder
diff --git a/public_test_cases/p03393/input.3.txt b/public_test_cases/p03393/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cd85ae25f5715b96439d2e07c8608afc5215485
--- /dev/null
+++ b/public_test_cases/p03393/input.3.txt
@@ -0,0 +1 @@
+abcdefghijklmnopqrstuvwzyx
diff --git a/public_test_cases/p03393/input.4.txt b/public_test_cases/p03393/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8baef1b4abc478178b004d62031cf7fe6db6f903
--- /dev/null
+++ b/public_test_cases/p03393/input.4.txt
@@ -0,0 +1 @@
+abc
diff --git a/public_test_cases/p03393/output.0.txt b/public_test_cases/p03393/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eece1cefc1e0f47d8e22fe4b5cda976eb8d29ece
--- /dev/null
+++ b/public_test_cases/p03393/output.0.txt
@@ -0,0 +1 @@
+atcoderb
diff --git a/public_test_cases/p03393/output.1.txt b/public_test_cases/p03393/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03393/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03393/output.2.txt b/public_test_cases/p03393/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eece1cefc1e0f47d8e22fe4b5cda976eb8d29ece
--- /dev/null
+++ b/public_test_cases/p03393/output.2.txt
@@ -0,0 +1 @@
+atcoderb
diff --git a/public_test_cases/p03393/output.3.txt b/public_test_cases/p03393/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e46f4903ee612f28769122073a2fcd9f958599ae
--- /dev/null
+++ b/public_test_cases/p03393/output.3.txt
@@ -0,0 +1 @@
+abcdefghijklmnopqrstuvx
diff --git a/public_test_cases/p03393/output.4.txt b/public_test_cases/p03393/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acbe86c7c89586e0912a0a851bacf309c595c308
--- /dev/null
+++ b/public_test_cases/p03393/output.4.txt
@@ -0,0 +1 @@
+abcd
diff --git a/public_test_cases/p03394/input.0.txt b/public_test_cases/p03394/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03394/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03394/input.1.txt b/public_test_cases/p03394/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03394/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03394/input.2.txt b/public_test_cases/p03394/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03394/input.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03394/output.0.txt b/public_test_cases/p03394/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9322dd1b3251f84a909fbc562c8474c3ec834e8f
--- /dev/null
+++ b/public_test_cases/p03394/output.0.txt
@@ -0,0 +1 @@
+2 5 63
diff --git a/public_test_cases/p03394/output.1.txt b/public_test_cases/p03394/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9322dd1b3251f84a909fbc562c8474c3ec834e8f
--- /dev/null
+++ b/public_test_cases/p03394/output.1.txt
@@ -0,0 +1 @@
+2 5 63
diff --git a/public_test_cases/p03394/output.2.txt b/public_test_cases/p03394/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..648717f8de9bf9f27d085d94735111c29a959cb7
--- /dev/null
+++ b/public_test_cases/p03394/output.2.txt
@@ -0,0 +1 @@
+2 5 20 63
diff --git a/public_test_cases/p03395/input.0.txt b/public_test_cases/p03395/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0668e09b0ad9383694adcbb0dc322cd5bc40590a
--- /dev/null
+++ b/public_test_cases/p03395/input.0.txt
@@ -0,0 +1,3 @@
+3
+19 10 14
+0 3 4
diff --git a/public_test_cases/p03395/input.1.txt b/public_test_cases/p03395/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a6536b78abd91784ecf8a17461d28563496bb0b
--- /dev/null
+++ b/public_test_cases/p03395/input.1.txt
@@ -0,0 +1,3 @@
+1
+50
+13
diff --git a/public_test_cases/p03395/input.2.txt b/public_test_cases/p03395/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25091e1f75f09120b58af86aada4ed6bf285a5ac
--- /dev/null
+++ b/public_test_cases/p03395/input.2.txt
@@ -0,0 +1,3 @@
+3
+19 15 14
+0 0 0
diff --git a/public_test_cases/p03395/input.3.txt b/public_test_cases/p03395/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0668e09b0ad9383694adcbb0dc322cd5bc40590a
--- /dev/null
+++ b/public_test_cases/p03395/input.3.txt
@@ -0,0 +1,3 @@
+3
+19 10 14
+0 3 4
diff --git a/public_test_cases/p03395/input.4.txt b/public_test_cases/p03395/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b435552aa3f370d3fc1a52fd8e367f49cbc0874
--- /dev/null
+++ b/public_test_cases/p03395/input.4.txt
@@ -0,0 +1,3 @@
+4
+2 0 1 8
+2 0 1 8
diff --git a/public_test_cases/p03395/input.5.txt b/public_test_cases/p03395/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1229bbaaf7c5b580f53970af6186313741c1aaa4
--- /dev/null
+++ b/public_test_cases/p03395/input.5.txt
@@ -0,0 +1,3 @@
+2
+8 13
+5 13
diff --git a/public_test_cases/p03395/output.0.txt b/public_test_cases/p03395/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a76256037d61ef7aed02f761d7673513e814e747
--- /dev/null
+++ b/public_test_cases/p03395/output.0.txt
@@ -0,0 +1 @@
+160
diff --git a/public_test_cases/p03395/output.1.txt b/public_test_cases/p03395/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee84a2d91ec47d5a0f4a234ac6fdc759abf41427
--- /dev/null
+++ b/public_test_cases/p03395/output.1.txt
@@ -0,0 +1 @@
+137438953472
diff --git a/public_test_cases/p03395/output.2.txt b/public_test_cases/p03395/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03395/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03395/output.3.txt b/public_test_cases/p03395/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a76256037d61ef7aed02f761d7673513e814e747
--- /dev/null
+++ b/public_test_cases/p03395/output.3.txt
@@ -0,0 +1 @@
+160
diff --git a/public_test_cases/p03395/output.4.txt b/public_test_cases/p03395/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03395/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03395/output.5.txt b/public_test_cases/p03395/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03395/output.5.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03396/input.0.txt b/public_test_cases/p03396/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcbef38bc84dfd25a4cb60f4f510e2750b4c387a
--- /dev/null
+++ b/public_test_cases/p03396/input.0.txt
@@ -0,0 +1,3 @@
+2 10
+5 8
+10 4
diff --git a/public_test_cases/p03396/input.1.txt b/public_test_cases/p03396/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc7a5cfd1bc43aec524a4e3eba95a77eb067d2a8
--- /dev/null
+++ b/public_test_cases/p03396/input.1.txt
@@ -0,0 +1,3 @@
+5 100
+10 19 28 47 68
+200 200 200 200 200
diff --git a/public_test_cases/p03396/input.2.txt b/public_test_cases/p03396/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66177d2a4f887202e540ca0a32fbea72c26218f6
--- /dev/null
+++ b/public_test_cases/p03396/input.2.txt
@@ -0,0 +1,3 @@
+2 10
+5 8
+10 5
diff --git a/public_test_cases/p03396/input.3.txt b/public_test_cases/p03396/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ceb06284e023ae8fade79b2221cd706bae2493e8
--- /dev/null
+++ b/public_test_cases/p03396/input.3.txt
@@ -0,0 +1,3 @@
+8 1000000000
+2018 123456 1719128 1929183 9129198 10100101 77777777 120182018
+99999999 1000000000 1000000000 11291341 1 200 1 123812831
diff --git a/public_test_cases/p03396/input.4.txt b/public_test_cases/p03396/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcbef38bc84dfd25a4cb60f4f510e2750b4c387a
--- /dev/null
+++ b/public_test_cases/p03396/input.4.txt
@@ -0,0 +1,3 @@
+2 10
+5 8
+10 4
diff --git a/public_test_cases/p03396/output.0.txt b/public_test_cases/p03396/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03396/output.0.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03396/output.1.txt b/public_test_cases/p03396/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59a3ec59b53573619be25381cf973b173e2a60ba
--- /dev/null
+++ b/public_test_cases/p03396/output.1.txt
@@ -0,0 +1 @@
+1200
diff --git a/public_test_cases/p03396/output.2.txt b/public_test_cases/p03396/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03396/output.2.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03396/output.3.txt b/public_test_cases/p03396/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..558830c8e34aecc3697ce918d198ffe8a1685281
--- /dev/null
+++ b/public_test_cases/p03396/output.3.txt
@@ -0,0 +1 @@
+14000000000
diff --git a/public_test_cases/p03396/output.4.txt b/public_test_cases/p03396/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03396/output.4.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03397/input.0.txt b/public_test_cases/p03397/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c241ce0ad1db6d688c426c2289ab7a2d3a24eca
--- /dev/null
+++ b/public_test_cases/p03397/input.0.txt
@@ -0,0 +1 @@
+1??00
diff --git a/public_test_cases/p03397/input.1.txt b/public_test_cases/p03397/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c241ce0ad1db6d688c426c2289ab7a2d3a24eca
--- /dev/null
+++ b/public_test_cases/p03397/input.1.txt
@@ -0,0 +1 @@
+1??00
diff --git a/public_test_cases/p03397/input.2.txt b/public_test_cases/p03397/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..244331bec050b2d517680387ffaaea974504f7f2
--- /dev/null
+++ b/public_test_cases/p03397/input.2.txt
@@ -0,0 +1 @@
+?0101???10???00?1???????????????0????????????1????0
diff --git a/public_test_cases/p03397/input.3.txt b/public_test_cases/p03397/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1e2647d215e6f815cd5b3e1b7692197c26a8211
--- /dev/null
+++ b/public_test_cases/p03397/input.3.txt
@@ -0,0 +1 @@
+?
diff --git a/public_test_cases/p03397/output.0.txt b/public_test_cases/p03397/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03397/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03397/output.1.txt b/public_test_cases/p03397/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03397/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03397/output.2.txt b/public_test_cases/p03397/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b6b75a4e23b18390de2ceabb9e331d1b23c385a
--- /dev/null
+++ b/public_test_cases/p03397/output.2.txt
@@ -0,0 +1 @@
+402589311
diff --git a/public_test_cases/p03397/output.3.txt b/public_test_cases/p03397/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03397/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03398/input.0.txt b/public_test_cases/p03398/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03398/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03398/input.1.txt b/public_test_cases/p03398/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03398/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03398/input.2.txt b/public_test_cases/p03398/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03398/input.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03398/input.3.txt b/public_test_cases/p03398/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03398/input.3.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03398/output.0.txt b/public_test_cases/p03398/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03398/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03398/output.1.txt b/public_test_cases/p03398/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03398/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03398/output.2.txt b/public_test_cases/p03398/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..871727de1fd703d0c4aab92017011c373e795b67
--- /dev/null
+++ b/public_test_cases/p03398/output.2.txt
@@ -0,0 +1 @@
+84
diff --git a/public_test_cases/p03398/output.3.txt b/public_test_cases/p03398/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00dba995a9f91dc9e98416655afa35599aaeded3
--- /dev/null
+++ b/public_test_cases/p03398/output.3.txt
@@ -0,0 +1 @@
+487772376
diff --git a/public_test_cases/p03399/input.0.txt b/public_test_cases/p03399/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00fdd0aa2f7197523954619d97fb21b969a0efc3
--- /dev/null
+++ b/public_test_cases/p03399/input.0.txt
@@ -0,0 +1,4 @@
+600
+300
+220
+420
diff --git a/public_test_cases/p03399/input.1.txt b/public_test_cases/p03399/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ac8fa07150890de55686e4b169957901b4b85c4
--- /dev/null
+++ b/public_test_cases/p03399/input.1.txt
@@ -0,0 +1,4 @@
+549
+817
+715
+603
diff --git a/public_test_cases/p03399/input.2.txt b/public_test_cases/p03399/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2685621e480ca279b790e15d8a2ef323507c9ed5
--- /dev/null
+++ b/public_test_cases/p03399/input.2.txt
@@ -0,0 +1,4 @@
+555
+555
+400
+200
diff --git a/public_test_cases/p03399/input.3.txt b/public_test_cases/p03399/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00fdd0aa2f7197523954619d97fb21b969a0efc3
--- /dev/null
+++ b/public_test_cases/p03399/input.3.txt
@@ -0,0 +1,4 @@
+600
+300
+220
+420
diff --git a/public_test_cases/p03399/output.0.txt b/public_test_cases/p03399/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2596e4ad8c6f16a47bf4e33e8e2b291c89d40c88
--- /dev/null
+++ b/public_test_cases/p03399/output.0.txt
@@ -0,0 +1 @@
+520
diff --git a/public_test_cases/p03399/output.1.txt b/public_test_cases/p03399/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d98057a110d4093515a66f94858edc071b5cdf72
--- /dev/null
+++ b/public_test_cases/p03399/output.1.txt
@@ -0,0 +1 @@
+1152
diff --git a/public_test_cases/p03399/output.2.txt b/public_test_cases/p03399/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20610ea7288b69eaa9fadc204f2feebef59b8226
--- /dev/null
+++ b/public_test_cases/p03399/output.2.txt
@@ -0,0 +1 @@
+755
diff --git a/public_test_cases/p03399/output.3.txt b/public_test_cases/p03399/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2596e4ad8c6f16a47bf4e33e8e2b291c89d40c88
--- /dev/null
+++ b/public_test_cases/p03399/output.3.txt
@@ -0,0 +1 @@
+520
diff --git a/public_test_cases/p03400/input.0.txt b/public_test_cases/p03400/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04756e1cd9a20d6891a36ffef918c3b983941710
--- /dev/null
+++ b/public_test_cases/p03400/input.0.txt
@@ -0,0 +1,5 @@
+3
+7 1
+2
+5
+10
diff --git a/public_test_cases/p03400/input.1.txt b/public_test_cases/p03400/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10e81f357f1d9422755fc405494dfeea801572b9
--- /dev/null
+++ b/public_test_cases/p03400/input.1.txt
@@ -0,0 +1,7 @@
+5
+30 44
+26
+18
+81
+18
+6
diff --git a/public_test_cases/p03400/input.2.txt b/public_test_cases/p03400/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04756e1cd9a20d6891a36ffef918c3b983941710
--- /dev/null
+++ b/public_test_cases/p03400/input.2.txt
@@ -0,0 +1,5 @@
+3
+7 1
+2
+5
+10
diff --git a/public_test_cases/p03400/input.3.txt b/public_test_cases/p03400/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a025994494d6913f853bffd91c24a80c5ce713ec
--- /dev/null
+++ b/public_test_cases/p03400/input.3.txt
@@ -0,0 +1,4 @@
+2
+8 20
+1
+10
diff --git a/public_test_cases/p03400/output.0.txt b/public_test_cases/p03400/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03400/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03400/output.1.txt b/public_test_cases/p03400/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b91e0e1f8dddaac700b51aa7a66f29fc135a02
--- /dev/null
+++ b/public_test_cases/p03400/output.1.txt
@@ -0,0 +1 @@
+56
diff --git a/public_test_cases/p03400/output.2.txt b/public_test_cases/p03400/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03400/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03400/output.3.txt b/public_test_cases/p03400/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f04c001f3f7fd5d290d0264b4a2c35f7b159ac42
--- /dev/null
+++ b/public_test_cases/p03400/output.3.txt
@@ -0,0 +1 @@
+29
diff --git a/public_test_cases/p03401/input.0.txt b/public_test_cases/p03401/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dc439f2eb0856f932a668e97d6e7348d42cecd8
--- /dev/null
+++ b/public_test_cases/p03401/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 5 -1
diff --git a/public_test_cases/p03401/output.0.txt b/public_test_cases/p03401/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61106bad49b1b9d3e6936409cebbcb9e08629e10
--- /dev/null
+++ b/public_test_cases/p03401/output.0.txt
@@ -0,0 +1,3 @@
+12
+8
+10
diff --git a/public_test_cases/p03402/input.0.txt b/public_test_cases/p03402/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03402/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03402/output.0.txt b/public_test_cases/p03402/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..092d4bc252c7463f975a966da607162ac9bd33ad
--- /dev/null
+++ b/public_test_cases/p03402/output.0.txt
@@ -0,0 +1,4 @@
+3 3
+##.
+..#
+#.#
diff --git a/public_test_cases/p03403/input.0.txt b/public_test_cases/p03403/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dc439f2eb0856f932a668e97d6e7348d42cecd8
--- /dev/null
+++ b/public_test_cases/p03403/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 5 -1
diff --git a/public_test_cases/p03403/input.1.txt b/public_test_cases/p03403/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5d24bc383ea33fca8835c4094aa3556d035ca92
--- /dev/null
+++ b/public_test_cases/p03403/input.1.txt
@@ -0,0 +1,2 @@
+6
+-679 -2409 -3258 3095 -3291 -4462
diff --git a/public_test_cases/p03403/input.2.txt b/public_test_cases/p03403/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaab4ebd1e4304cb89081074aec9012816261043
--- /dev/null
+++ b/public_test_cases/p03403/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 1 1 2 0
diff --git a/public_test_cases/p03403/input.3.txt b/public_test_cases/p03403/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dc439f2eb0856f932a668e97d6e7348d42cecd8
--- /dev/null
+++ b/public_test_cases/p03403/input.3.txt
@@ -0,0 +1,2 @@
+3
+3 5 -1
diff --git a/public_test_cases/p03403/output.0.txt b/public_test_cases/p03403/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61106bad49b1b9d3e6936409cebbcb9e08629e10
--- /dev/null
+++ b/public_test_cases/p03403/output.0.txt
@@ -0,0 +1,3 @@
+12
+8
+10
diff --git a/public_test_cases/p03403/output.1.txt b/public_test_cases/p03403/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..677d532b9612a4cba8781927cd609b91e70221e9
--- /dev/null
+++ b/public_test_cases/p03403/output.1.txt
@@ -0,0 +1,6 @@
+21630
+21630
+19932
+8924
+21630
+19288
diff --git a/public_test_cases/p03403/output.2.txt b/public_test_cases/p03403/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0250ece50170aae2112fb508aafd3f21b727d9f0
--- /dev/null
+++ b/public_test_cases/p03403/output.2.txt
@@ -0,0 +1,5 @@
+4
+4
+4
+2
+4
diff --git a/public_test_cases/p03403/output.3.txt b/public_test_cases/p03403/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61106bad49b1b9d3e6936409cebbcb9e08629e10
--- /dev/null
+++ b/public_test_cases/p03403/output.3.txt
@@ -0,0 +1,3 @@
+12
+8
+10
diff --git a/public_test_cases/p03404/input.0.txt b/public_test_cases/p03404/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03404/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03404/input.1.txt b/public_test_cases/p03404/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9bc2800face87e33ba810a198560950690ca0e6
--- /dev/null
+++ b/public_test_cases/p03404/input.1.txt
@@ -0,0 +1 @@
+3 14
diff --git a/public_test_cases/p03404/input.2.txt b/public_test_cases/p03404/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03404/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03404/input.3.txt b/public_test_cases/p03404/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03404/input.3.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03404/input.4.txt b/public_test_cases/p03404/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0f2aade42a279fe8df32c991ade97cd15afa097
--- /dev/null
+++ b/public_test_cases/p03404/input.4.txt
@@ -0,0 +1 @@
+7 8
diff --git a/public_test_cases/p03404/output.0.txt b/public_test_cases/p03404/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..092d4bc252c7463f975a966da607162ac9bd33ad
--- /dev/null
+++ b/public_test_cases/p03404/output.0.txt
@@ -0,0 +1,4 @@
+3 3
+##.
+..#
+#.#
diff --git a/public_test_cases/p03404/output.1.txt b/public_test_cases/p03404/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66cdc307b5aaa1f11c25760125677d5131a328c5
--- /dev/null
+++ b/public_test_cases/p03404/output.1.txt
@@ -0,0 +1,9 @@
+8 18
+..................
+..................
+....##.......####.
+....#.#.....#.....
+...#...#....#.....
+..#.###.#...#.....
+.#.......#..#.....
+.........#..####.
diff --git a/public_test_cases/p03404/output.2.txt b/public_test_cases/p03404/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd392727d6cf11b92f2d39285ad39d54cdd654ac
--- /dev/null
+++ b/public_test_cases/p03404/output.2.txt
@@ -0,0 +1,3 @@
+4 2
+..
+.
diff --git a/public_test_cases/p03404/output.3.txt b/public_test_cases/p03404/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..092d4bc252c7463f975a966da607162ac9bd33ad
--- /dev/null
+++ b/public_test_cases/p03404/output.3.txt
@@ -0,0 +1,4 @@
+3 3
+##.
+..#
+#.#
diff --git a/public_test_cases/p03404/output.4.txt b/public_test_cases/p03404/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef8d7d345ca3b03cd45a792d81d4bdb326186553
--- /dev/null
+++ b/public_test_cases/p03404/output.4.txt
@@ -0,0 +1,4 @@
+3 5
+.#.#
+.#.#.
+.#.#
diff --git a/public_test_cases/p03405/input.0.txt b/public_test_cases/p03405/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8ed633c035e6c011b87ff8dd34a9223a865539b
--- /dev/null
+++ b/public_test_cases/p03405/input.0.txt
@@ -0,0 +1,5 @@
+3 3
+2
+1 2 1
+2 3 1
+3 1 1
diff --git a/public_test_cases/p03405/input.1.txt b/public_test_cases/p03405/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b6a2fad7ee2d029f2c0066be579ef813f396822
--- /dev/null
+++ b/public_test_cases/p03405/input.1.txt
@@ -0,0 +1,6 @@
+5 4
+1
+1 2 3
+1 3 3
+2 4 6
+2 5 8
diff --git a/public_test_cases/p03405/input.2.txt b/public_test_cases/p03405/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bd4d2585aa8a6a8495c96c49d719cfbf9299191
--- /dev/null
+++ b/public_test_cases/p03405/input.2.txt
@@ -0,0 +1,12 @@
+8 10
+49
+4 6 10
+8 4 11
+5 8 9
+1 8 10
+3 8 128773450
+7 8 10
+4 2 4
+3 4 1
+3 1 13
+5 2 2
diff --git a/public_test_cases/p03405/input.3.txt b/public_test_cases/p03405/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8ed633c035e6c011b87ff8dd34a9223a865539b
--- /dev/null
+++ b/public_test_cases/p03405/input.3.txt
@@ -0,0 +1,5 @@
+3 3
+2
+1 2 1
+2 3 1
+3 1 1
diff --git a/public_test_cases/p03405/input.4.txt b/public_test_cases/p03405/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6dc4f0fca4e64d66fdb1729dc83a291f3a6e47a3
--- /dev/null
+++ b/public_test_cases/p03405/input.4.txt
@@ -0,0 +1,5 @@
+3 3
+3
+1 2 1
+2 3 1
+3 1 2
diff --git a/public_test_cases/p03405/output.0.txt b/public_test_cases/p03405/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03405/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03405/output.1.txt b/public_test_cases/p03405/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03405/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03405/output.2.txt b/public_test_cases/p03405/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03405/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03405/output.3.txt b/public_test_cases/p03405/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03405/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03405/output.4.txt b/public_test_cases/p03405/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03405/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03406/input.0.txt b/public_test_cases/p03406/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b228a8a8765df50079d8bf241122bd4acdde9ee
--- /dev/null
+++ b/public_test_cases/p03406/input.0.txt
@@ -0,0 +1,2 @@
+2 1
+3
diff --git a/public_test_cases/p03406/input.1.txt b/public_test_cases/p03406/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86c1be2917e2e793d86e3a05fbfb76d75290b10c
--- /dev/null
+++ b/public_test_cases/p03406/input.1.txt
@@ -0,0 +1,2 @@
+4 3
+2 4 6
diff --git a/public_test_cases/p03406/input.2.txt b/public_test_cases/p03406/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c91fc456a55f62b231b0bb99a48540e5320a73b
--- /dev/null
+++ b/public_test_cases/p03406/input.2.txt
@@ -0,0 +1 @@
+3 0
diff --git a/public_test_cases/p03406/input.3.txt b/public_test_cases/p03406/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b228a8a8765df50079d8bf241122bd4acdde9ee
--- /dev/null
+++ b/public_test_cases/p03406/input.3.txt
@@ -0,0 +1,2 @@
+2 1
+3
diff --git a/public_test_cases/p03406/input.4.txt b/public_test_cases/p03406/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39cea4dfe78f4f3265beb608fdc2de43d1405f4a
--- /dev/null
+++ b/public_test_cases/p03406/input.4.txt
@@ -0,0 +1,2 @@
+16 16
+5489 5490 5491 5492 5493 5494 5495 5497 18993 18995 18997 18999 19000 19001 19002 19003
diff --git a/public_test_cases/p03406/input.5.txt b/public_test_cases/p03406/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d43e2ae3a35a39a0f05795fba6fbdd7a5f051727
--- /dev/null
+++ b/public_test_cases/p03406/input.5.txt
@@ -0,0 +1,2 @@
+3 3
+3 4 7
diff --git a/public_test_cases/p03406/output.0.txt b/public_test_cases/p03406/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03406/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03406/output.1.txt b/public_test_cases/p03406/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03406/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03406/output.2.txt b/public_test_cases/p03406/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47ae14062c08ea3d66fbc0f4b639ff02364d6795
--- /dev/null
+++ b/public_test_cases/p03406/output.2.txt
@@ -0,0 +1 @@
+40320
diff --git a/public_test_cases/p03406/output.3.txt b/public_test_cases/p03406/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03406/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03406/output.4.txt b/public_test_cases/p03406/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49cfd069eac9e4e3099b31166a6d2fdadce81adc
--- /dev/null
+++ b/public_test_cases/p03406/output.4.txt
@@ -0,0 +1 @@
+816646464
diff --git a/public_test_cases/p03406/output.5.txt b/public_test_cases/p03406/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e46834fcb95642cbbf4e3ed93d3275d73eb2e57
--- /dev/null
+++ b/public_test_cases/p03406/output.5.txt
@@ -0,0 +1 @@
+2688
diff --git a/public_test_cases/p03407/input.0.txt b/public_test_cases/p03407/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3998a7768704301789cc488c2000978dfaf9dfe
--- /dev/null
+++ b/public_test_cases/p03407/input.0.txt
@@ -0,0 +1 @@
+50 100 120
diff --git a/public_test_cases/p03407/input.1.txt b/public_test_cases/p03407/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b28ee049abcb4d8c81739ddec3b7e59392fd5827
--- /dev/null
+++ b/public_test_cases/p03407/input.1.txt
@@ -0,0 +1 @@
+500 100 1000
diff --git a/public_test_cases/p03407/input.2.txt b/public_test_cases/p03407/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bfba0ee6ee03fa96c1366904355e3bfbc2b5102d
--- /dev/null
+++ b/public_test_cases/p03407/input.2.txt
@@ -0,0 +1 @@
+19 123 143
diff --git a/public_test_cases/p03407/input.3.txt b/public_test_cases/p03407/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92177e316354cc5abf6765eb123263291c115322
--- /dev/null
+++ b/public_test_cases/p03407/input.3.txt
@@ -0,0 +1 @@
+19 123 142
diff --git a/public_test_cases/p03407/input.4.txt b/public_test_cases/p03407/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3998a7768704301789cc488c2000978dfaf9dfe
--- /dev/null
+++ b/public_test_cases/p03407/input.4.txt
@@ -0,0 +1 @@
+50 100 120
diff --git a/public_test_cases/p03407/output.0.txt b/public_test_cases/p03407/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03407/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03407/output.1.txt b/public_test_cases/p03407/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03407/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03407/output.2.txt b/public_test_cases/p03407/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03407/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03407/output.3.txt b/public_test_cases/p03407/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03407/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03407/output.4.txt b/public_test_cases/p03407/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03407/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03408/input.0.txt b/public_test_cases/p03408/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dade5022317f676d8d6c2cbcb3f86a9151310645
--- /dev/null
+++ b/public_test_cases/p03408/input.0.txt
@@ -0,0 +1,6 @@
+3
+apple
+orange
+apple
+1
+grape
diff --git a/public_test_cases/p03408/input.1.txt b/public_test_cases/p03408/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3e259e9d57ab82625427a7c49b6ab452e78b86a
--- /dev/null
+++ b/public_test_cases/p03408/input.1.txt
@@ -0,0 +1,10 @@
+3
+apple
+orange
+apple
+5
+apple
+apple
+apple
+apple
+apple
diff --git a/public_test_cases/p03408/input.2.txt b/public_test_cases/p03408/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dade5022317f676d8d6c2cbcb3f86a9151310645
--- /dev/null
+++ b/public_test_cases/p03408/input.2.txt
@@ -0,0 +1,6 @@
+3
+apple
+orange
+apple
+1
+grape
diff --git a/public_test_cases/p03408/input.3.txt b/public_test_cases/p03408/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d1db09fff74dc655e5d554bc48e326ad0bae7bf
--- /dev/null
+++ b/public_test_cases/p03408/input.3.txt
@@ -0,0 +1,13 @@
+6
+red
+red
+blue
+yellow
+yellow
+red
+5
+red
+red
+yellow
+green
+blue
diff --git a/public_test_cases/p03408/input.4.txt b/public_test_cases/p03408/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e3f820709506d026fa3756faaea37870d49a90b
--- /dev/null
+++ b/public_test_cases/p03408/input.4.txt
@@ -0,0 +1,13 @@
+1
+voldemort
+10
+voldemort
+voldemort
+voldemort
+voldemort
+voldemort
+voldemort
+voldemort
+voldemort
+voldemort
+voldemort
diff --git a/public_test_cases/p03408/output.0.txt b/public_test_cases/p03408/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03408/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03408/output.1.txt b/public_test_cases/p03408/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03408/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03408/output.2.txt b/public_test_cases/p03408/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03408/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03408/output.3.txt b/public_test_cases/p03408/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03408/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03408/output.4.txt b/public_test_cases/p03408/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03408/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03409/input.0.txt b/public_test_cases/p03409/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa4f6ecb29fd886704c864e5382a28090d79e777
--- /dev/null
+++ b/public_test_cases/p03409/input.0.txt
@@ -0,0 +1,7 @@
+3
+2 0
+3 1
+1 3
+4 2
+0 4
+5 5
diff --git a/public_test_cases/p03409/input.1.txt b/public_test_cases/p03409/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a24277c905372847d921e20aa32c59832cb9ab8
--- /dev/null
+++ b/public_test_cases/p03409/input.1.txt
@@ -0,0 +1,5 @@
+2
+2 2
+3 3
+0 0
+1 1
diff --git a/public_test_cases/p03409/input.2.txt b/public_test_cases/p03409/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a289f752d6f5d1bbf3e372228fdf25e95f0d2f6
--- /dev/null
+++ b/public_test_cases/p03409/input.2.txt
@@ -0,0 +1,11 @@
+5
+0 0
+7 3
+2 2
+4 8
+1 6
+8 5
+6 9
+5 4
+9 1
+3 7
diff --git a/public_test_cases/p03409/input.3.txt b/public_test_cases/p03409/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc33f92b6b22ba15712901e38991c00283e374e9
--- /dev/null
+++ b/public_test_cases/p03409/input.3.txt
@@ -0,0 +1,11 @@
+5
+0 0
+1 1
+5 5
+6 6
+7 7
+2 2
+3 3
+4 4
+8 8
+9 9
diff --git a/public_test_cases/p03409/input.4.txt b/public_test_cases/p03409/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b400d78a9a475aa491b387e390d098d69ad6b17
--- /dev/null
+++ b/public_test_cases/p03409/input.4.txt
@@ -0,0 +1,7 @@
+3
+0 0
+1 1
+5 2
+2 3
+3 4
+4 5
diff --git a/public_test_cases/p03409/input.5.txt b/public_test_cases/p03409/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa4f6ecb29fd886704c864e5382a28090d79e777
--- /dev/null
+++ b/public_test_cases/p03409/input.5.txt
@@ -0,0 +1,7 @@
+3
+2 0
+3 1
+1 3
+4 2
+0 4
+5 5
diff --git a/public_test_cases/p03409/output.0.txt b/public_test_cases/p03409/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03409/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03409/output.1.txt b/public_test_cases/p03409/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03409/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03409/output.2.txt b/public_test_cases/p03409/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03409/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03409/output.3.txt b/public_test_cases/p03409/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03409/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03409/output.4.txt b/public_test_cases/p03409/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03409/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03409/output.5.txt b/public_test_cases/p03409/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03409/output.5.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03411/input.0.txt b/public_test_cases/p03411/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa4f6ecb29fd886704c864e5382a28090d79e777
--- /dev/null
+++ b/public_test_cases/p03411/input.0.txt
@@ -0,0 +1,7 @@
+3
+2 0
+3 1
+1 3
+4 2
+0 4
+5 5
diff --git a/public_test_cases/p03411/output.0.txt b/public_test_cases/p03411/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03411/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03413/input.0.txt b/public_test_cases/p03413/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1bc8f7d2eef622e7d87f02a25e6db05bb096580
--- /dev/null
+++ b/public_test_cases/p03413/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 4 3 7 5
diff --git a/public_test_cases/p03413/input.1.txt b/public_test_cases/p03413/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1bc8f7d2eef622e7d87f02a25e6db05bb096580
--- /dev/null
+++ b/public_test_cases/p03413/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 4 3 7 5
diff --git a/public_test_cases/p03413/input.2.txt b/public_test_cases/p03413/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d52e8fdb07d39ea74905c4875baa8b74eb7b88a
--- /dev/null
+++ b/public_test_cases/p03413/input.2.txt
@@ -0,0 +1,2 @@
+6
+-1 -2 -3 1 2 3
diff --git a/public_test_cases/p03413/input.3.txt b/public_test_cases/p03413/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb89523406cd9c26d49e82d9eedfca2fcc19c703
--- /dev/null
+++ b/public_test_cases/p03413/input.3.txt
@@ -0,0 +1,2 @@
+4
+100 100 -1 100
diff --git a/public_test_cases/p03413/input.4.txt b/public_test_cases/p03413/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9238b74f92269d8617c866344d5fcc1b243abf1f
--- /dev/null
+++ b/public_test_cases/p03413/input.4.txt
@@ -0,0 +1,2 @@
+9
+1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000
diff --git a/public_test_cases/p03413/output.0.txt b/public_test_cases/p03413/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4455baa19c08d457f6b678d55e60715b75ee1757
--- /dev/null
+++ b/public_test_cases/p03413/output.0.txt
@@ -0,0 +1,5 @@
+11
+3
+1
+4
+2
diff --git a/public_test_cases/p03413/output.1.txt b/public_test_cases/p03413/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4455baa19c08d457f6b678d55e60715b75ee1757
--- /dev/null
+++ b/public_test_cases/p03413/output.1.txt
@@ -0,0 +1,5 @@
+11
+3
+1
+4
+2
diff --git a/public_test_cases/p03413/output.2.txt b/public_test_cases/p03413/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bacf65af6ecf75e2685d4f843673dff776a3e78
--- /dev/null
+++ b/public_test_cases/p03413/output.2.txt
@@ -0,0 +1,5 @@
+4
+3
+2
+1
+2
diff --git a/public_test_cases/p03413/output.3.txt b/public_test_cases/p03413/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d01d7fafe07d0cec92e4223545a613dc6c5b4f9
--- /dev/null
+++ b/public_test_cases/p03413/output.3.txt
@@ -0,0 +1,4 @@
+200
+2
+3
+1
diff --git a/public_test_cases/p03413/output.4.txt b/public_test_cases/p03413/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec2c60768331edfe7710ab3f4b03f7825dffec3a
--- /dev/null
+++ b/public_test_cases/p03413/output.4.txt
@@ -0,0 +1,6 @@
+5000000000
+4
+2
+2
+2
+2
diff --git a/public_test_cases/p03414/input.0.txt b/public_test_cases/p03414/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc88773658f25592fbc224fa48bd285513c79119
--- /dev/null
+++ b/public_test_cases/p03414/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p03414/input.1.txt b/public_test_cases/p03414/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf26463ad0c816f4a3965504e371b6421ce43892
--- /dev/null
+++ b/public_test_cases/p03414/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+1 2
+2 1
diff --git a/public_test_cases/p03414/input.2.txt b/public_test_cases/p03414/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad89de4f73c57c9b8de5b9861a71c5d09f6ee61a
--- /dev/null
+++ b/public_test_cases/p03414/input.2.txt
@@ -0,0 +1,10 @@
+5 9
+3 2
+3 1
+4 1
+4 2
+3 5
+5 3
+3 4
+1 2
+2 5
diff --git a/public_test_cases/p03414/input.3.txt b/public_test_cases/p03414/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc88773658f25592fbc224fa48bd285513c79119
--- /dev/null
+++ b/public_test_cases/p03414/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p03414/output.0.txt b/public_test_cases/p03414/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b70316906487f63797257c15519d1bc4ca5ba5dc
--- /dev/null
+++ b/public_test_cases/p03414/output.0.txt
@@ -0,0 +1,3 @@
+same
+diff
+same
diff --git a/public_test_cases/p03414/output.1.txt b/public_test_cases/p03414/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac1722ac22d746beccc1ee4ed1d36eca9d5ed510
--- /dev/null
+++ b/public_test_cases/p03414/output.1.txt
@@ -0,0 +1,2 @@
+diff
+diff
diff --git a/public_test_cases/p03414/output.2.txt b/public_test_cases/p03414/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1922e21a34e644ad8afcf2f67edbffb7d215681b
--- /dev/null
+++ b/public_test_cases/p03414/output.2.txt
@@ -0,0 +1,9 @@
+same
+same
+same
+same
+same
+diff
+diff
+diff
+diff
diff --git a/public_test_cases/p03414/output.3.txt b/public_test_cases/p03414/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b70316906487f63797257c15519d1bc4ca5ba5dc
--- /dev/null
+++ b/public_test_cases/p03414/output.3.txt
@@ -0,0 +1,3 @@
+same
+diff
+same
diff --git a/public_test_cases/p03415/input.0.txt b/public_test_cases/p03415/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bbf266f932bfce59bb80af1bbc63c825dd12dc4
--- /dev/null
+++ b/public_test_cases/p03415/input.0.txt
@@ -0,0 +1,3 @@
+ant
+obe
+rec
diff --git a/public_test_cases/p03415/input.1.txt b/public_test_cases/p03415/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bbf266f932bfce59bb80af1bbc63c825dd12dc4
--- /dev/null
+++ b/public_test_cases/p03415/input.1.txt
@@ -0,0 +1,3 @@
+ant
+obe
+rec
diff --git a/public_test_cases/p03415/input.2.txt b/public_test_cases/p03415/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b9bf45fdb839d511af320c591e0ef78e2153583
--- /dev/null
+++ b/public_test_cases/p03415/input.2.txt
@@ -0,0 +1,3 @@
+edu
+cat
+ion
diff --git a/public_test_cases/p03415/output.0.txt b/public_test_cases/p03415/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8baef1b4abc478178b004d62031cf7fe6db6f903
--- /dev/null
+++ b/public_test_cases/p03415/output.0.txt
@@ -0,0 +1 @@
+abc
diff --git a/public_test_cases/p03415/output.1.txt b/public_test_cases/p03415/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8baef1b4abc478178b004d62031cf7fe6db6f903
--- /dev/null
+++ b/public_test_cases/p03415/output.1.txt
@@ -0,0 +1 @@
+abc
diff --git a/public_test_cases/p03415/output.2.txt b/public_test_cases/p03415/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..839b2b5b6ea5416b1b8865f6355b13726b22b57c
--- /dev/null
+++ b/public_test_cases/p03415/output.2.txt
@@ -0,0 +1 @@
+ean
diff --git a/public_test_cases/p03416/input.0.txt b/public_test_cases/p03416/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a19342feb458b578623e743066cb44bb6a7bcf1d
--- /dev/null
+++ b/public_test_cases/p03416/input.0.txt
@@ -0,0 +1 @@
+11009 11332
diff --git a/public_test_cases/p03416/input.1.txt b/public_test_cases/p03416/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a19342feb458b578623e743066cb44bb6a7bcf1d
--- /dev/null
+++ b/public_test_cases/p03416/input.1.txt
@@ -0,0 +1 @@
+11009 11332
diff --git a/public_test_cases/p03416/input.2.txt b/public_test_cases/p03416/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff904126b615999b0706efbf2ad8d4a17d8e3ba8
--- /dev/null
+++ b/public_test_cases/p03416/input.2.txt
@@ -0,0 +1 @@
+31415 92653
diff --git a/public_test_cases/p03416/output.0.txt b/public_test_cases/p03416/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03416/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03416/output.1.txt b/public_test_cases/p03416/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03416/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03416/output.2.txt b/public_test_cases/p03416/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..282d20871cc15e3ba3484e25c322aba39a5a714c
--- /dev/null
+++ b/public_test_cases/p03416/output.2.txt
@@ -0,0 +1 @@
+612
diff --git a/public_test_cases/p03417/input.0.txt b/public_test_cases/p03417/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03417/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03417/output.0.txt b/public_test_cases/p03417/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03417/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03418/input.0.txt b/public_test_cases/p03418/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p03418/input.0.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p03418/output.0.txt b/public_test_cases/p03418/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03418/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03419/input.0.txt b/public_test_cases/p03419/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03419/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03419/input.1.txt b/public_test_cases/p03419/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c15dab81887ba3cead7b6a121c63e52c1792a2da
--- /dev/null
+++ b/public_test_cases/p03419/input.1.txt
@@ -0,0 +1 @@
+1 7
diff --git a/public_test_cases/p03419/input.2.txt b/public_test_cases/p03419/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03419/input.2.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03419/input.3.txt b/public_test_cases/p03419/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b6b48550ce9ae0eae3d26928cfd917c62bccc54
--- /dev/null
+++ b/public_test_cases/p03419/input.3.txt
@@ -0,0 +1 @@
+314 1592
diff --git a/public_test_cases/p03419/output.0.txt b/public_test_cases/p03419/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03419/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03419/output.1.txt b/public_test_cases/p03419/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03419/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03419/output.2.txt b/public_test_cases/p03419/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03419/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03419/output.3.txt b/public_test_cases/p03419/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98e1391a75a579227c2994911b140716f445ad58
--- /dev/null
+++ b/public_test_cases/p03419/output.3.txt
@@ -0,0 +1 @@
+496080
diff --git a/public_test_cases/p03420/input.0.txt b/public_test_cases/p03420/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p03420/input.0.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p03420/input.1.txt b/public_test_cases/p03420/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p03420/input.1.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p03420/input.2.txt b/public_test_cases/p03420/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb00375829cc3c2f3a931782d3b492d206d28841
--- /dev/null
+++ b/public_test_cases/p03420/input.2.txt
@@ -0,0 +1 @@
+31415 9265
diff --git a/public_test_cases/p03420/input.3.txt b/public_test_cases/p03420/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58d2fb649914c5494e6eb63f335cccb2606647fe
--- /dev/null
+++ b/public_test_cases/p03420/input.3.txt
@@ -0,0 +1 @@
+10 0
diff --git a/public_test_cases/p03420/output.0.txt b/public_test_cases/p03420/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03420/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03420/output.1.txt b/public_test_cases/p03420/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03420/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03420/output.2.txt b/public_test_cases/p03420/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c12836dd024aeb42c427e2f07a20f0db24a662a9
--- /dev/null
+++ b/public_test_cases/p03420/output.2.txt
@@ -0,0 +1 @@
+287927211
diff --git a/public_test_cases/p03420/output.3.txt b/public_test_cases/p03420/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03420/output.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03421/input.0.txt b/public_test_cases/p03421/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad0d61ad00fde7baaad7c56f69635f64152ce966
--- /dev/null
+++ b/public_test_cases/p03421/input.0.txt
@@ -0,0 +1 @@
+5 3 2
diff --git a/public_test_cases/p03421/input.1.txt b/public_test_cases/p03421/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..504c5a4147569cc42cda85edf064232c62a7117f
--- /dev/null
+++ b/public_test_cases/p03421/input.1.txt
@@ -0,0 +1 @@
+7 7 1
diff --git a/public_test_cases/p03421/input.2.txt b/public_test_cases/p03421/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38102568b2e68f6a70c3233a4f665074375b9fc3
--- /dev/null
+++ b/public_test_cases/p03421/input.2.txt
@@ -0,0 +1 @@
+300000 300000 300000
diff --git a/public_test_cases/p03421/input.3.txt b/public_test_cases/p03421/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad0d61ad00fde7baaad7c56f69635f64152ce966
--- /dev/null
+++ b/public_test_cases/p03421/input.3.txt
@@ -0,0 +1 @@
+5 3 2
diff --git a/public_test_cases/p03421/output.0.txt b/public_test_cases/p03421/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e4d8855e32d7456c0d1fc9c1cf94e7ce9c66b7e
--- /dev/null
+++ b/public_test_cases/p03421/output.0.txt
@@ -0,0 +1 @@
+2 4 1 5 3
diff --git a/public_test_cases/p03421/output.1.txt b/public_test_cases/p03421/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4457aae66f6b1e46122d724ea12e9fae956d392
--- /dev/null
+++ b/public_test_cases/p03421/output.1.txt
@@ -0,0 +1 @@
+1 2 3 4 5 6 7
diff --git a/public_test_cases/p03421/output.2.txt b/public_test_cases/p03421/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03421/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03421/output.3.txt b/public_test_cases/p03421/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e4d8855e32d7456c0d1fc9c1cf94e7ce9c66b7e
--- /dev/null
+++ b/public_test_cases/p03421/output.3.txt
@@ -0,0 +1 @@
+2 4 1 5 3
diff --git a/public_test_cases/p03422/input.0.txt b/public_test_cases/p03422/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c03717e1b6f0ab375c468ad1ec7b008bebcaa74
--- /dev/null
+++ b/public_test_cases/p03422/input.0.txt
@@ -0,0 +1,3 @@
+2
+5 2
+3 3
diff --git a/public_test_cases/p03422/input.1.txt b/public_test_cases/p03422/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..983671b946a4d5e607d4032cb0fb66e8b9c93292
--- /dev/null
+++ b/public_test_cases/p03422/input.1.txt
@@ -0,0 +1,5 @@
+4
+3141 59
+26535 897
+93 23
+8462 64
diff --git a/public_test_cases/p03422/input.2.txt b/public_test_cases/p03422/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3055a4d3ce024317502b859ce8355c158d56892
--- /dev/null
+++ b/public_test_cases/p03422/input.2.txt
@@ -0,0 +1,4 @@
+3
+28 3
+16 4
+19 2
diff --git a/public_test_cases/p03422/input.3.txt b/public_test_cases/p03422/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..304494f2831e243c7c1c2709a7999ff63021e5f2
--- /dev/null
+++ b/public_test_cases/p03422/input.3.txt
@@ -0,0 +1,4 @@
+3
+3 2
+4 3
+5 1
diff --git a/public_test_cases/p03422/input.4.txt b/public_test_cases/p03422/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c03717e1b6f0ab375c468ad1ec7b008bebcaa74
--- /dev/null
+++ b/public_test_cases/p03422/input.4.txt
@@ -0,0 +1,3 @@
+2
+5 2
+3 3
diff --git a/public_test_cases/p03422/output.0.txt b/public_test_cases/p03422/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a3df71704d9a1237ac45b43f1f021f6d75f210a
--- /dev/null
+++ b/public_test_cases/p03422/output.0.txt
@@ -0,0 +1 @@
+Aoki
diff --git a/public_test_cases/p03422/output.1.txt b/public_test_cases/p03422/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ad9702b533f80b83cefed1fa780c5db95ca477e
--- /dev/null
+++ b/public_test_cases/p03422/output.1.txt
@@ -0,0 +1 @@
+Takahashi
diff --git a/public_test_cases/p03422/output.2.txt b/public_test_cases/p03422/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a3df71704d9a1237ac45b43f1f021f6d75f210a
--- /dev/null
+++ b/public_test_cases/p03422/output.2.txt
@@ -0,0 +1 @@
+Aoki
diff --git a/public_test_cases/p03422/output.3.txt b/public_test_cases/p03422/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ad9702b533f80b83cefed1fa780c5db95ca477e
--- /dev/null
+++ b/public_test_cases/p03422/output.3.txt
@@ -0,0 +1 @@
+Takahashi
diff --git a/public_test_cases/p03422/output.4.txt b/public_test_cases/p03422/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a3df71704d9a1237ac45b43f1f021f6d75f210a
--- /dev/null
+++ b/public_test_cases/p03422/output.4.txt
@@ -0,0 +1 @@
+Aoki
diff --git a/public_test_cases/p03423/input.0.txt b/public_test_cases/p03423/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03423/input.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03423/output.0.txt b/public_test_cases/p03423/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03423/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03424/input.0.txt b/public_test_cases/p03424/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4272d71d4358d6f7672c51d63b283443fbc484fd
--- /dev/null
+++ b/public_test_cases/p03424/input.0.txt
@@ -0,0 +1,2 @@
+6
+G W Y P Y W
diff --git a/public_test_cases/p03424/input.1.txt b/public_test_cases/p03424/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4272d71d4358d6f7672c51d63b283443fbc484fd
--- /dev/null
+++ b/public_test_cases/p03424/input.1.txt
@@ -0,0 +1,2 @@
+6
+G W Y P Y W
diff --git a/public_test_cases/p03424/input.2.txt b/public_test_cases/p03424/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3437dd8d19c93bef0f53e8e0cac3814c71ed90e4
--- /dev/null
+++ b/public_test_cases/p03424/input.2.txt
@@ -0,0 +1,2 @@
+9
+G W W G P W P G G
diff --git a/public_test_cases/p03424/input.3.txt b/public_test_cases/p03424/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74678f941c4647fd4802d1001c2117612cbd25a7
--- /dev/null
+++ b/public_test_cases/p03424/input.3.txt
@@ -0,0 +1,2 @@
+8
+P Y W G Y W Y Y
diff --git a/public_test_cases/p03424/output.0.txt b/public_test_cases/p03424/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c1b97610a5a69e0a0d8ac5c31613668580de23c
--- /dev/null
+++ b/public_test_cases/p03424/output.0.txt
@@ -0,0 +1 @@
+Four
diff --git a/public_test_cases/p03424/output.1.txt b/public_test_cases/p03424/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c1b97610a5a69e0a0d8ac5c31613668580de23c
--- /dev/null
+++ b/public_test_cases/p03424/output.1.txt
@@ -0,0 +1 @@
+Four
diff --git a/public_test_cases/p03424/output.2.txt b/public_test_cases/p03424/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2cde1851fb7895abe2b793cbb71947c01e5c7fd
--- /dev/null
+++ b/public_test_cases/p03424/output.2.txt
@@ -0,0 +1 @@
+Three
diff --git a/public_test_cases/p03424/output.3.txt b/public_test_cases/p03424/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c1b97610a5a69e0a0d8ac5c31613668580de23c
--- /dev/null
+++ b/public_test_cases/p03424/output.3.txt
@@ -0,0 +1 @@
+Four
diff --git a/public_test_cases/p03425/input.0.txt b/public_test_cases/p03425/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ded017f663c93fc38223667499809f6d94097d2
--- /dev/null
+++ b/public_test_cases/p03425/input.0.txt
@@ -0,0 +1,6 @@
+5
+MASHIKE
+RUMOI
+OBIRA
+HABORO
+HOROKANAI
diff --git a/public_test_cases/p03425/input.1.txt b/public_test_cases/p03425/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ded017f663c93fc38223667499809f6d94097d2
--- /dev/null
+++ b/public_test_cases/p03425/input.1.txt
@@ -0,0 +1,6 @@
+5
+MASHIKE
+RUMOI
+OBIRA
+HABORO
+HOROKANAI
diff --git a/public_test_cases/p03425/input.2.txt b/public_test_cases/p03425/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb4b00161add09d69c1ce07de981d01027d4c78e
--- /dev/null
+++ b/public_test_cases/p03425/input.2.txt
@@ -0,0 +1,6 @@
+5
+CHOKUDAI
+RNG
+MAKOTO
+AOKI
+RINGO
diff --git a/public_test_cases/p03425/input.3.txt b/public_test_cases/p03425/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2c0984441675437010017b4bbc35e03ebbb69f7
--- /dev/null
+++ b/public_test_cases/p03425/input.3.txt
@@ -0,0 +1,5 @@
+4
+ZZ
+ZZZ
+Z
+ZZZZZZZZZZ
diff --git a/public_test_cases/p03425/output.0.txt b/public_test_cases/p03425/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03425/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03425/output.1.txt b/public_test_cases/p03425/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03425/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03425/output.2.txt b/public_test_cases/p03425/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03425/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03425/output.3.txt b/public_test_cases/p03425/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03425/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03426/input.0.txt b/public_test_cases/p03426/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d72386eef820a3710d999b4b3e6ea7af3cfc9a83
--- /dev/null
+++ b/public_test_cases/p03426/input.0.txt
@@ -0,0 +1,6 @@
+3 3 2
+1 4 3
+2 5 7
+8 9 6
+1
+4 8
diff --git a/public_test_cases/p03426/input.1.txt b/public_test_cases/p03426/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d72386eef820a3710d999b4b3e6ea7af3cfc9a83
--- /dev/null
+++ b/public_test_cases/p03426/input.1.txt
@@ -0,0 +1,6 @@
+3 3 2
+1 4 3
+2 5 7
+8 9 6
+1
+4 8
diff --git a/public_test_cases/p03426/input.2.txt b/public_test_cases/p03426/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57858afc9a89b947796fe57a38b7e1b935cb3496
--- /dev/null
+++ b/public_test_cases/p03426/input.2.txt
@@ -0,0 +1,8 @@
+4 2 3
+3 7
+1 4
+5 2
+6 8
+2
+2 2
+2 2
diff --git a/public_test_cases/p03426/input.3.txt b/public_test_cases/p03426/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4bb0570b1f6119b4b413ba4b4d18aa5baf255f4
--- /dev/null
+++ b/public_test_cases/p03426/input.3.txt
@@ -0,0 +1,10 @@
+5 5 4
+13 25 7 15 17
+16 22 20 2 9
+14 11 12 1 19
+10 6 23 8 18
+3 21 5 24 4
+3
+13 13
+2 10
+13 13
diff --git a/public_test_cases/p03426/output.0.txt b/public_test_cases/p03426/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03426/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03426/output.1.txt b/public_test_cases/p03426/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03426/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03426/output.2.txt b/public_test_cases/p03426/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa47d0d46d47a06090f436b0b851b76bb6f3b6e2
--- /dev/null
+++ b/public_test_cases/p03426/output.2.txt
@@ -0,0 +1,2 @@
+0
+0
diff --git a/public_test_cases/p03426/output.3.txt b/public_test_cases/p03426/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13008b4e446fdc97fc81152c1221bef0d4579653
--- /dev/null
+++ b/public_test_cases/p03426/output.3.txt
@@ -0,0 +1,3 @@
+0
+5
+0
diff --git a/public_test_cases/p03427/input.0.txt b/public_test_cases/p03427/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03427/input.0.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03427/input.1.txt b/public_test_cases/p03427/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60b56bdad103fe0ca958fdee8022936638069bc5
--- /dev/null
+++ b/public_test_cases/p03427/input.1.txt
@@ -0,0 +1 @@
+3141592653589793
diff --git a/public_test_cases/p03427/input.2.txt b/public_test_cases/p03427/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03427/input.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03427/input.3.txt b/public_test_cases/p03427/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db39b737daa92aea7fbe58a13face8de2c81db7e
--- /dev/null
+++ b/public_test_cases/p03427/input.3.txt
@@ -0,0 +1 @@
+9995
diff --git a/public_test_cases/p03427/output.0.txt b/public_test_cases/p03427/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03427/output.0.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03427/output.1.txt b/public_test_cases/p03427/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..065fd3e79c93500fd6b1588a36d15692c9ed1c8e
--- /dev/null
+++ b/public_test_cases/p03427/output.1.txt
@@ -0,0 +1 @@
+137
diff --git a/public_test_cases/p03427/output.2.txt b/public_test_cases/p03427/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03427/output.2.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03427/output.3.txt b/public_test_cases/p03427/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f92bfdd49766b1907d4aec8d3b0f9ed6129d0e6
--- /dev/null
+++ b/public_test_cases/p03427/output.3.txt
@@ -0,0 +1 @@
+35
diff --git a/public_test_cases/p03428/input.0.txt b/public_test_cases/p03428/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..736b8244187c8d0a21bd7be834a4f2e1aff95c08
--- /dev/null
+++ b/public_test_cases/p03428/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 0
+1 1
diff --git a/public_test_cases/p03428/input.1.txt b/public_test_cases/p03428/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..736b8244187c8d0a21bd7be834a4f2e1aff95c08
--- /dev/null
+++ b/public_test_cases/p03428/input.1.txt
@@ -0,0 +1,3 @@
+2
+0 0
+1 1
diff --git a/public_test_cases/p03428/input.2.txt b/public_test_cases/p03428/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af07c83d47ae693c56bba0d0e1bff5d9c97a644c
--- /dev/null
+++ b/public_test_cases/p03428/input.2.txt
@@ -0,0 +1,6 @@
+5
+0 0
+2 8
+4 5
+2 6
+3 10
diff --git a/public_test_cases/p03428/output.0.txt b/public_test_cases/p03428/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7905ff43d830425ca72a19a683335c1981712242
--- /dev/null
+++ b/public_test_cases/p03428/output.0.txt
@@ -0,0 +1,2 @@
+0.5
+0.5
diff --git a/public_test_cases/p03428/output.1.txt b/public_test_cases/p03428/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7905ff43d830425ca72a19a683335c1981712242
--- /dev/null
+++ b/public_test_cases/p03428/output.1.txt
@@ -0,0 +1,2 @@
+0.5
+0.5
diff --git a/public_test_cases/p03428/output.2.txt b/public_test_cases/p03428/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1eca61ca4e655f393353ca1446c70332ba919feb
--- /dev/null
+++ b/public_test_cases/p03428/output.2.txt
@@ -0,0 +1,5 @@
+0.43160120892732328768
+0.03480224363653196956
+0.13880483535586193855
+0.00000000000000000000
+0.39479171208028279727
diff --git a/public_test_cases/p03429/input.0.txt b/public_test_cases/p03429/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c8494a94a1d1cd35485e20b42f9399874ad5251
--- /dev/null
+++ b/public_test_cases/p03429/input.0.txt
@@ -0,0 +1 @@
+3 4 4 2
diff --git a/public_test_cases/p03429/input.1.txt b/public_test_cases/p03429/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41d39d6c0ddbf979c8403b2894480a5047fa29a9
--- /dev/null
+++ b/public_test_cases/p03429/input.1.txt
@@ -0,0 +1 @@
+4 5 5 3
diff --git a/public_test_cases/p03429/input.2.txt b/public_test_cases/p03429/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c8494a94a1d1cd35485e20b42f9399874ad5251
--- /dev/null
+++ b/public_test_cases/p03429/input.2.txt
@@ -0,0 +1 @@
+3 4 4 2
diff --git a/public_test_cases/p03429/input.3.txt b/public_test_cases/p03429/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb99f9cdbcb5ffef984bd4fb89859017ef8e5396
--- /dev/null
+++ b/public_test_cases/p03429/input.3.txt
@@ -0,0 +1 @@
+7 9 20 20
diff --git a/public_test_cases/p03429/output.0.txt b/public_test_cases/p03429/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..698be3eb8694bf6307d222e3eceddbfa8b05d474
--- /dev/null
+++ b/public_test_cases/p03429/output.0.txt
@@ -0,0 +1,4 @@
+YES
+<><>
+^<>^
+v<>v
diff --git a/public_test_cases/p03429/output.1.txt b/public_test_cases/p03429/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bb14fab3b651721814e5a70de44bcdfd098d59b
--- /dev/null
+++ b/public_test_cases/p03429/output.1.txt
@@ -0,0 +1,5 @@
+YES
+<>..^
+^.<>v
+v<>.^
+<><>v
diff --git a/public_test_cases/p03429/output.2.txt b/public_test_cases/p03429/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..698be3eb8694bf6307d222e3eceddbfa8b05d474
--- /dev/null
+++ b/public_test_cases/p03429/output.2.txt
@@ -0,0 +1,4 @@
+YES
+<><>
+^<>^
+v<>v
diff --git a/public_test_cases/p03429/output.3.txt b/public_test_cases/p03429/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03429/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03430/input.0.txt b/public_test_cases/p03430/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57ef1c2a25b425c894cfa0cc8f6dd2c5f7ebbb8d
--- /dev/null
+++ b/public_test_cases/p03430/input.0.txt
@@ -0,0 +1,2 @@
+abcabcabc
+1
diff --git a/public_test_cases/p03430/input.1.txt b/public_test_cases/p03430/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57ef1c2a25b425c894cfa0cc8f6dd2c5f7ebbb8d
--- /dev/null
+++ b/public_test_cases/p03430/input.1.txt
@@ -0,0 +1,2 @@
+abcabcabc
+1
diff --git a/public_test_cases/p03430/input.2.txt b/public_test_cases/p03430/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573747e88295c5e7a08819370da29ca09ad33185
--- /dev/null
+++ b/public_test_cases/p03430/input.2.txt
@@ -0,0 +1,2 @@
+atcodergrandcontest
+3
diff --git a/public_test_cases/p03430/output.0.txt b/public_test_cases/p03430/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03430/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03430/output.1.txt b/public_test_cases/p03430/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03430/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03430/output.2.txt b/public_test_cases/p03430/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03430/output.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03431/input.0.txt b/public_test_cases/p03431/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0efd67f9502e63cb033cb651e65e025b6e3a5cb2
--- /dev/null
+++ b/public_test_cases/p03431/input.0.txt
@@ -0,0 +1 @@
+2 4
diff --git a/public_test_cases/p03431/input.1.txt b/public_test_cases/p03431/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3933c1f854201be886d45544b1716c9fba0c69a0
--- /dev/null
+++ b/public_test_cases/p03431/input.1.txt
@@ -0,0 +1 @@
+8 10
diff --git a/public_test_cases/p03431/input.2.txt b/public_test_cases/p03431/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0871b0b46ec9fe33d7a99d3608001b41d41374a5
--- /dev/null
+++ b/public_test_cases/p03431/input.2.txt
@@ -0,0 +1 @@
+3 7
diff --git a/public_test_cases/p03431/input.3.txt b/public_test_cases/p03431/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba8cb67558c6382c9aac100f77901c0ecabad218
--- /dev/null
+++ b/public_test_cases/p03431/input.3.txt
@@ -0,0 +1 @@
+123456 234567
diff --git a/public_test_cases/p03431/input.4.txt b/public_test_cases/p03431/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90619d0123d63a3a312a0496eaf752910f9d8154
--- /dev/null
+++ b/public_test_cases/p03431/input.4.txt
@@ -0,0 +1 @@
+8 3
diff --git a/public_test_cases/p03431/input.5.txt b/public_test_cases/p03431/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0efd67f9502e63cb033cb651e65e025b6e3a5cb2
--- /dev/null
+++ b/public_test_cases/p03431/input.5.txt
@@ -0,0 +1 @@
+2 4
diff --git a/public_test_cases/p03431/output.0.txt b/public_test_cases/p03431/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03431/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03431/output.1.txt b/public_test_cases/p03431/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e5feb5256930f3cae636754eef8a244ede164eb
--- /dev/null
+++ b/public_test_cases/p03431/output.1.txt
@@ -0,0 +1 @@
+46
diff --git a/public_test_cases/p03431/output.2.txt b/public_test_cases/p03431/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1617e842ad9a038ec2d8332c6084300a43cb09d
--- /dev/null
+++ b/public_test_cases/p03431/output.2.txt
@@ -0,0 +1 @@
+57
diff --git a/public_test_cases/p03431/output.3.txt b/public_test_cases/p03431/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f73eb7af74825d4c50df8ea778950fbbbf2c2a0
--- /dev/null
+++ b/public_test_cases/p03431/output.3.txt
@@ -0,0 +1 @@
+857617983
diff --git a/public_test_cases/p03431/output.4.txt b/public_test_cases/p03431/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03431/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03431/output.5.txt b/public_test_cases/p03431/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03431/output.5.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03432/input.0.txt b/public_test_cases/p03432/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03432/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03432/input.1.txt b/public_test_cases/p03432/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff0fb51eecff4000068de7065fa4b4d7b5da0153
--- /dev/null
+++ b/public_test_cases/p03432/input.1.txt
@@ -0,0 +1 @@
+5000 100
diff --git a/public_test_cases/p03432/input.2.txt b/public_test_cases/p03432/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02903d78815e71fbac7e03b56a2833bfb663d6f4
--- /dev/null
+++ b/public_test_cases/p03432/input.2.txt
@@ -0,0 +1 @@
+17 13
diff --git a/public_test_cases/p03432/input.3.txt b/public_test_cases/p03432/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p03432/input.3.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p03432/input.4.txt b/public_test_cases/p03432/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03432/input.4.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03432/output.0.txt b/public_test_cases/p03432/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p03432/output.0.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p03432/output.1.txt b/public_test_cases/p03432/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..518fc338fe6268a1321070b8d3ee118efa953557
--- /dev/null
+++ b/public_test_cases/p03432/output.1.txt
@@ -0,0 +1 @@
+57613837
diff --git a/public_test_cases/p03432/output.2.txt b/public_test_cases/p03432/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05a56dd6507afd6d105f3b53e62c46ee7c33c888
--- /dev/null
+++ b/public_test_cases/p03432/output.2.txt
@@ -0,0 +1 @@
+229876268
diff --git a/public_test_cases/p03432/output.3.txt b/public_test_cases/p03432/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c9a94ce98fd9cf1507e0867f2b7ac12a91365bd
--- /dev/null
+++ b/public_test_cases/p03432/output.3.txt
@@ -0,0 +1 @@
+2588
diff --git a/public_test_cases/p03432/output.4.txt b/public_test_cases/p03432/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p03432/output.4.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p03433/input.0.txt b/public_test_cases/p03433/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e6bc7d28c161b9d0bedc349949806924580acd3
--- /dev/null
+++ b/public_test_cases/p03433/input.0.txt
@@ -0,0 +1,2 @@
+2018
+218
diff --git a/public_test_cases/p03433/input.1.txt b/public_test_cases/p03433/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7df7a12fe780c5cf45d9dba92747854e7d14183
--- /dev/null
+++ b/public_test_cases/p03433/input.1.txt
@@ -0,0 +1,2 @@
+2763
+0
diff --git a/public_test_cases/p03433/input.2.txt b/public_test_cases/p03433/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e6bc7d28c161b9d0bedc349949806924580acd3
--- /dev/null
+++ b/public_test_cases/p03433/input.2.txt
@@ -0,0 +1,2 @@
+2018
+218
diff --git a/public_test_cases/p03433/input.3.txt b/public_test_cases/p03433/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..beb32dab558d32b55885418c90ea4e960b3f2813
--- /dev/null
+++ b/public_test_cases/p03433/input.3.txt
@@ -0,0 +1,2 @@
+37
+514
diff --git a/public_test_cases/p03433/output.0.txt b/public_test_cases/p03433/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03433/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03433/output.1.txt b/public_test_cases/p03433/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03433/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03433/output.2.txt b/public_test_cases/p03433/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03433/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03433/output.3.txt b/public_test_cases/p03433/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03433/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03434/input.0.txt b/public_test_cases/p03434/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b9ff05be3e0c7ad337e362468f961df7ba98fd1
--- /dev/null
+++ b/public_test_cases/p03434/input.0.txt
@@ -0,0 +1,2 @@
+2
+3 1
diff --git a/public_test_cases/p03434/input.1.txt b/public_test_cases/p03434/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7a6cad908fb73c6ff0866e013567240039d3e1e
--- /dev/null
+++ b/public_test_cases/p03434/input.1.txt
@@ -0,0 +1,2 @@
+4
+20 18 2 18
diff --git a/public_test_cases/p03434/input.2.txt b/public_test_cases/p03434/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b9ff05be3e0c7ad337e362468f961df7ba98fd1
--- /dev/null
+++ b/public_test_cases/p03434/input.2.txt
@@ -0,0 +1,2 @@
+2
+3 1
diff --git a/public_test_cases/p03434/input.3.txt b/public_test_cases/p03434/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b263942dc6434388ccc495888de4d1f80879730
--- /dev/null
+++ b/public_test_cases/p03434/input.3.txt
@@ -0,0 +1,2 @@
+3
+2 7 4
diff --git a/public_test_cases/p03434/output.0.txt b/public_test_cases/p03434/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03434/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03434/output.1.txt b/public_test_cases/p03434/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03434/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03434/output.2.txt b/public_test_cases/p03434/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03434/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03434/output.3.txt b/public_test_cases/p03434/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03434/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03435/input.0.txt b/public_test_cases/p03435/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70c71aabc6f49831ca0845c94ae491b8d0a9084d
--- /dev/null
+++ b/public_test_cases/p03435/input.0.txt
@@ -0,0 +1,3 @@
+1 0 1
+2 1 2
+1 0 1
diff --git a/public_test_cases/p03435/input.1.txt b/public_test_cases/p03435/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70c71aabc6f49831ca0845c94ae491b8d0a9084d
--- /dev/null
+++ b/public_test_cases/p03435/input.1.txt
@@ -0,0 +1,3 @@
+1 0 1
+2 1 2
+1 0 1
diff --git a/public_test_cases/p03435/input.2.txt b/public_test_cases/p03435/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b91ba510e879fa1d0a2abb7e50ce6234850b47f
--- /dev/null
+++ b/public_test_cases/p03435/input.2.txt
@@ -0,0 +1,3 @@
+1 8 6
+2 9 7
+0 7 7
diff --git a/public_test_cases/p03435/input.3.txt b/public_test_cases/p03435/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62cedc130f819a76ee953d9a6c97ba2daaa0c473
--- /dev/null
+++ b/public_test_cases/p03435/input.3.txt
@@ -0,0 +1,3 @@
+0 8 8
+0 8 8
+0 8 8
diff --git a/public_test_cases/p03435/input.4.txt b/public_test_cases/p03435/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6664337f7753637e0dcfdf8a870cc1e64683fb7
--- /dev/null
+++ b/public_test_cases/p03435/input.4.txt
@@ -0,0 +1,3 @@
+2 2 2
+2 1 2
+2 2 2
diff --git a/public_test_cases/p03435/output.0.txt b/public_test_cases/p03435/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03435/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03435/output.1.txt b/public_test_cases/p03435/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03435/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03435/output.2.txt b/public_test_cases/p03435/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03435/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03435/output.3.txt b/public_test_cases/p03435/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03435/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03435/output.4.txt b/public_test_cases/p03435/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03435/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03436/input.0.txt b/public_test_cases/p03436/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d50c85ba3a24f64cb763268bda943a767e88a68f
--- /dev/null
+++ b/public_test_cases/p03436/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+..#
+#..
+...
diff --git a/public_test_cases/p03436/input.1.txt b/public_test_cases/p03436/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f16a68f1ed19039144d033c233235cdcce21ed5
--- /dev/null
+++ b/public_test_cases/p03436/input.1.txt
@@ -0,0 +1,11 @@
+10 37
+.....................................
+...#...####...####..###...###...###..
+..#.#..#...#.##....#...#.#...#.#...#.
+..#.#..#...#.#.....#...#.#...#.#...#.
+.#...#.#..##.#.....#...#.#.###.#.###.
+.#####.####..#.....#...#..##....##...
+.#...#.#...#.#.....#...#.#...#.#...#.
+.#...#.#...#.##....#...#.#...#.#...#.
+.#...#.####...####..###...###...###..
+.....................................
diff --git a/public_test_cases/p03436/input.2.txt b/public_test_cases/p03436/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d50c85ba3a24f64cb763268bda943a767e88a68f
--- /dev/null
+++ b/public_test_cases/p03436/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+..#
+#..
+...
diff --git a/public_test_cases/p03436/input.3.txt b/public_test_cases/p03436/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0fb7d7a0731cb2ba9397232c362334c274c2056
--- /dev/null
+++ b/public_test_cases/p03436/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+..#
+..
+...
diff --git a/public_test_cases/p03436/output.0.txt b/public_test_cases/p03436/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03436/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03436/output.1.txt b/public_test_cases/p03436/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fba2b43771eec7be9298f8336f9a6cf52f159b0
--- /dev/null
+++ b/public_test_cases/p03436/output.1.txt
@@ -0,0 +1 @@
+209
diff --git a/public_test_cases/p03436/output.2.txt b/public_test_cases/p03436/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03436/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03436/output.3.txt b/public_test_cases/p03436/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03436/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03437/input.0.txt b/public_test_cases/p03437/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25bf1347ee5411deaaf3532637d6568e29bdb7b6
--- /dev/null
+++ b/public_test_cases/p03437/input.0.txt
@@ -0,0 +1 @@
+8 6
diff --git a/public_test_cases/p03437/input.1.txt b/public_test_cases/p03437/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03437/input.1.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03437/input.2.txt b/public_test_cases/p03437/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25bf1347ee5411deaaf3532637d6568e29bdb7b6
--- /dev/null
+++ b/public_test_cases/p03437/input.2.txt
@@ -0,0 +1 @@
+8 6
diff --git a/public_test_cases/p03437/output.0.txt b/public_test_cases/p03437/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03437/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03437/output.1.txt b/public_test_cases/p03437/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03437/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03437/output.2.txt b/public_test_cases/p03437/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03437/output.2.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03438/input.0.txt b/public_test_cases/p03438/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7162ddb33f570046e30ee0312b2a02fb85c9655
--- /dev/null
+++ b/public_test_cases/p03438/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2 3
+5 2 2
diff --git a/public_test_cases/p03438/input.1.txt b/public_test_cases/p03438/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dcb0add93a96a864334e9d485da1f6a6be932bb
--- /dev/null
+++ b/public_test_cases/p03438/input.1.txt
@@ -0,0 +1,3 @@
+5
+3 1 4 1 5
+2 7 1 8 2
diff --git a/public_test_cases/p03438/input.2.txt b/public_test_cases/p03438/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e475da569f36cbc1317accaeb8d91dc9fee9f8cf
--- /dev/null
+++ b/public_test_cases/p03438/input.2.txt
@@ -0,0 +1,3 @@
+5
+2 7 1 8 2
+3 1 4 1 5
diff --git a/public_test_cases/p03438/input.3.txt b/public_test_cases/p03438/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7162ddb33f570046e30ee0312b2a02fb85c9655
--- /dev/null
+++ b/public_test_cases/p03438/input.3.txt
@@ -0,0 +1,3 @@
+3
+1 2 3
+5 2 2
diff --git a/public_test_cases/p03438/output.0.txt b/public_test_cases/p03438/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03438/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03438/output.1.txt b/public_test_cases/p03438/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03438/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03438/output.2.txt b/public_test_cases/p03438/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03438/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03438/output.3.txt b/public_test_cases/p03438/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03438/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03440/input.0.txt b/public_test_cases/p03440/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ead752c7233c1857714509813c270be07438854c
--- /dev/null
+++ b/public_test_cases/p03440/input.0.txt
@@ -0,0 +1,7 @@
+7 5
+1 2 3 4 5 6 7
+3 0
+4 0
+1 2
+1 3
+5 6
diff --git a/public_test_cases/p03440/input.1.txt b/public_test_cases/p03440/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a8fd70ecae51776b7590f5c222389f768a127b4
--- /dev/null
+++ b/public_test_cases/p03440/input.1.txt
@@ -0,0 +1,2 @@
+1 0
+5
diff --git a/public_test_cases/p03440/input.2.txt b/public_test_cases/p03440/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ead752c7233c1857714509813c270be07438854c
--- /dev/null
+++ b/public_test_cases/p03440/input.2.txt
@@ -0,0 +1,7 @@
+7 5
+1 2 3 4 5 6 7
+3 0
+4 0
+1 2
+1 3
+5 6
diff --git a/public_test_cases/p03440/input.3.txt b/public_test_cases/p03440/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c4a2d70fa0d9607a72403888625f9a156433fc8
--- /dev/null
+++ b/public_test_cases/p03440/input.3.txt
@@ -0,0 +1,2 @@
+5 0
+3 1 4 1 5
diff --git a/public_test_cases/p03440/output.0.txt b/public_test_cases/p03440/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03440/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03440/output.1.txt b/public_test_cases/p03440/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03440/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03440/output.2.txt b/public_test_cases/p03440/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03440/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03440/output.3.txt b/public_test_cases/p03440/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p03440/output.3.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p03441/input.0.txt b/public_test_cases/p03441/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccf47c9894e43eb325bc040be60389f06ab92cbc
--- /dev/null
+++ b/public_test_cases/p03441/input.0.txt
@@ -0,0 +1,5 @@
+5
+0 1
+0 2
+0 3
+3 4
diff --git a/public_test_cases/p03441/input.1.txt b/public_test_cases/p03441/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b544f7afafb6de1367ffe7dde1074b573c7d86e0
--- /dev/null
+++ b/public_test_cases/p03441/input.1.txt
@@ -0,0 +1,2 @@
+2
+0 1
diff --git a/public_test_cases/p03441/input.2.txt b/public_test_cases/p03441/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccf47c9894e43eb325bc040be60389f06ab92cbc
--- /dev/null
+++ b/public_test_cases/p03441/input.2.txt
@@ -0,0 +1,5 @@
+5
+0 1
+0 2
+0 3
+3 4
diff --git a/public_test_cases/p03441/input.3.txt b/public_test_cases/p03441/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b13950d4476be73dd9cbd8188e1be9e1e4de4ad6
--- /dev/null
+++ b/public_test_cases/p03441/input.3.txt
@@ -0,0 +1,10 @@
+10
+2 8
+6 0
+4 1
+7 6
+2 3
+8 6
+6 9
+2 4
+5 8
diff --git a/public_test_cases/p03441/output.0.txt b/public_test_cases/p03441/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03441/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03441/output.1.txt b/public_test_cases/p03441/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03441/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03441/output.2.txt b/public_test_cases/p03441/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03441/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03441/output.3.txt b/public_test_cases/p03441/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03441/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03442/input.0.txt b/public_test_cases/p03442/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34db5aba93cd49bd48787467d558cad6c76adf14
--- /dev/null
+++ b/public_test_cases/p03442/input.0.txt
@@ -0,0 +1,5 @@
+5
+0 1 1
+0 2 3
+0 3 6
+3 4 4
diff --git a/public_test_cases/p03442/input.1.txt b/public_test_cases/p03442/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..34db5aba93cd49bd48787467d558cad6c76adf14
--- /dev/null
+++ b/public_test_cases/p03442/input.1.txt
@@ -0,0 +1,5 @@
+5
+0 1 1
+0 2 3
+0 3 6
+3 4 4
diff --git a/public_test_cases/p03442/input.2.txt b/public_test_cases/p03442/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..596bf86560e4375c54f8048bf70ce5093b0799da
--- /dev/null
+++ b/public_test_cases/p03442/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 0 0
diff --git a/public_test_cases/p03442/output.0.txt b/public_test_cases/p03442/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03442/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03442/output.1.txt b/public_test_cases/p03442/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03442/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03442/output.2.txt b/public_test_cases/p03442/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03442/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03443/input.0.txt b/public_test_cases/p03443/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cfc3c2c50f7b48dd1f0801b3259f5ce1404fe86
--- /dev/null
+++ b/public_test_cases/p03443/input.0.txt
@@ -0,0 +1,2 @@
+2
+010
diff --git a/public_test_cases/p03443/input.1.txt b/public_test_cases/p03443/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cfc3c2c50f7b48dd1f0801b3259f5ce1404fe86
--- /dev/null
+++ b/public_test_cases/p03443/input.1.txt
@@ -0,0 +1,2 @@
+2
+010
diff --git a/public_test_cases/p03443/input.2.txt b/public_test_cases/p03443/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cb06ea89a3c3923da1b3b1a30379f2df8b5a8bd
--- /dev/null
+++ b/public_test_cases/p03443/input.2.txt
@@ -0,0 +1,2 @@
+2
+001
diff --git a/public_test_cases/p03443/input.3.txt b/public_test_cases/p03443/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9540152ad45d323624ea95fcc1a7c07b6c8e6ef3
--- /dev/null
+++ b/public_test_cases/p03443/input.3.txt
@@ -0,0 +1,2 @@
+3
+10101
diff --git a/public_test_cases/p03443/input.4.txt b/public_test_cases/p03443/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24ef2316d50c79e0169fb3aa80caaa2ab7630823
--- /dev/null
+++ b/public_test_cases/p03443/input.4.txt
@@ -0,0 +1,2 @@
+6
+00111011100
diff --git a/public_test_cases/p03443/input.5.txt b/public_test_cases/p03443/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6e89581809da6b5d53be9b8be78ab03aa147931
--- /dev/null
+++ b/public_test_cases/p03443/input.5.txt
@@ -0,0 +1,2 @@
+3
+10110
diff --git a/public_test_cases/p03443/output.0.txt b/public_test_cases/p03443/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7b161f9045977d1151203f81292cae89fa1e017
--- /dev/null
+++ b/public_test_cases/p03443/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+1 1 2 2
diff --git a/public_test_cases/p03443/output.1.txt b/public_test_cases/p03443/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7b161f9045977d1151203f81292cae89fa1e017
--- /dev/null
+++ b/public_test_cases/p03443/output.1.txt
@@ -0,0 +1,2 @@
+Yes
+1 1 2 2
diff --git a/public_test_cases/p03443/output.2.txt b/public_test_cases/p03443/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03443/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03443/output.3.txt b/public_test_cases/p03443/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03443/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03443/output.4.txt b/public_test_cases/p03443/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5cc2a7f6dffab1626687a42f86e314d8d1380a4
--- /dev/null
+++ b/public_test_cases/p03443/output.4.txt
@@ -0,0 +1,2 @@
+Yes
+1 6 1 2 3 4 4 2 3 5 6 5
diff --git a/public_test_cases/p03443/output.5.txt b/public_test_cases/p03443/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2438a6aa83b407e30d1a204a5f3b0a069e4f08b9
--- /dev/null
+++ b/public_test_cases/p03443/output.5.txt
@@ -0,0 +1,2 @@
+Yes
+1 3 2 1 2 3
diff --git a/public_test_cases/p03444/input.0.txt b/public_test_cases/p03444/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e702931b18fd64cb97b5e7560ff982060c77c0a
--- /dev/null
+++ b/public_test_cases/p03444/input.0.txt
@@ -0,0 +1,3 @@
+5
+0 1 2 3
+2 4 0 1 3
diff --git a/public_test_cases/p03444/input.1.txt b/public_test_cases/p03444/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e702931b18fd64cb97b5e7560ff982060c77c0a
--- /dev/null
+++ b/public_test_cases/p03444/input.1.txt
@@ -0,0 +1,3 @@
+5
+0 1 2 3
+2 4 0 1 3
diff --git a/public_test_cases/p03444/input.2.txt b/public_test_cases/p03444/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da11103ebf40df2820d98d5a97c99a4468adb970
--- /dev/null
+++ b/public_test_cases/p03444/input.2.txt
@@ -0,0 +1,3 @@
+5
+0 1 2 2
+4 3 1 2 0
diff --git a/public_test_cases/p03444/output.0.txt b/public_test_cases/p03444/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcf37cd5e26203dc0a9570d26b7a5074049d4c9c
--- /dev/null
+++ b/public_test_cases/p03444/output.0.txt
@@ -0,0 +1,3 @@
+2
+3
+4
diff --git a/public_test_cases/p03444/output.1.txt b/public_test_cases/p03444/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcf37cd5e26203dc0a9570d26b7a5074049d4c9c
--- /dev/null
+++ b/public_test_cases/p03444/output.1.txt
@@ -0,0 +1,3 @@
+2
+3
+4
diff --git a/public_test_cases/p03444/output.2.txt b/public_test_cases/p03444/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e38d89fd17dc9bd05e22551f3c3ed03112cb112
--- /dev/null
+++ b/public_test_cases/p03444/output.2.txt
@@ -0,0 +1,4 @@
+3
+4
+3
+1
diff --git a/public_test_cases/p03445/input.0.txt b/public_test_cases/p03445/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cbfdc7445d2a519fa797f7212d97f802bfea133
--- /dev/null
+++ b/public_test_cases/p03445/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+1
+1 1
diff --git a/public_test_cases/p03445/input.1.txt b/public_test_cases/p03445/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87e57a3a82ecc1aa5e37a94d9ce7641f6dd9ba59
--- /dev/null
+++ b/public_test_cases/p03445/input.1.txt
@@ -0,0 +1,3 @@
+2 3
+1
+1 2
diff --git a/public_test_cases/p03445/input.2.txt b/public_test_cases/p03445/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54bb12804b90d9a7fba6ac1c281de4bf87055231
--- /dev/null
+++ b/public_test_cases/p03445/input.2.txt
@@ -0,0 +1,3 @@
+3 3
+1
+1 1
diff --git a/public_test_cases/p03445/input.3.txt b/public_test_cases/p03445/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62b19090c4b37c06e2b2bbbf29c1567beed401c6
--- /dev/null
+++ b/public_test_cases/p03445/input.3.txt
@@ -0,0 +1,3 @@
+1000000 1000000
+1
+0 0
diff --git a/public_test_cases/p03445/input.4.txt b/public_test_cases/p03445/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a03983a21cb9092a3fef010b26aedbfdc936d01
--- /dev/null
+++ b/public_test_cases/p03445/input.4.txt
@@ -0,0 +1,6 @@
+4 4
+4
+0 1
+1 1
+2 1
+2 2
diff --git a/public_test_cases/p03445/input.5.txt b/public_test_cases/p03445/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cbfdc7445d2a519fa797f7212d97f802bfea133
--- /dev/null
+++ b/public_test_cases/p03445/input.5.txt
@@ -0,0 +1,3 @@
+2 3
+1
+1 1
diff --git a/public_test_cases/p03445/output.0.txt b/public_test_cases/p03445/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03445/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03445/output.1.txt b/public_test_cases/p03445/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03445/output.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03445/output.2.txt b/public_test_cases/p03445/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p03445/output.2.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p03445/output.3.txt b/public_test_cases/p03445/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95ab42446c27b8b6f31319a755725603728ed2a8
--- /dev/null
+++ b/public_test_cases/p03445/output.3.txt
@@ -0,0 +1 @@
+333211937
diff --git a/public_test_cases/p03445/output.4.txt b/public_test_cases/p03445/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..864d5650ed9d29e2ce17b6914cc733e27432409b
--- /dev/null
+++ b/public_test_cases/p03445/output.4.txt
@@ -0,0 +1 @@
+268
diff --git a/public_test_cases/p03445/output.5.txt b/public_test_cases/p03445/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03445/output.5.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03446/input.0.txt b/public_test_cases/p03446/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..baab52895f485ca144ff4f2b50fbf8df63f5d3cd
--- /dev/null
+++ b/public_test_cases/p03446/input.0.txt
@@ -0,0 +1 @@
+1 1 1 2 2 2
diff --git a/public_test_cases/p03446/input.1.txt b/public_test_cases/p03446/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cefd04b7f7fe6c1538509db22d4e5226ca81675
--- /dev/null
+++ b/public_test_cases/p03446/input.1.txt
@@ -0,0 +1 @@
+2 2 2 4 4 4
diff --git a/public_test_cases/p03446/input.2.txt b/public_test_cases/p03446/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..221f1aa5cb4d957bf79c5f9041ac9ee7f5b1987f
--- /dev/null
+++ b/public_test_cases/p03446/input.2.txt
@@ -0,0 +1 @@
+2 3 4 98 99 100
diff --git a/public_test_cases/p03446/input.3.txt b/public_test_cases/p03446/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..baab52895f485ca144ff4f2b50fbf8df63f5d3cd
--- /dev/null
+++ b/public_test_cases/p03446/input.3.txt
@@ -0,0 +1 @@
+1 1 1 2 2 2
diff --git a/public_test_cases/p03446/input.4.txt b/public_test_cases/p03446/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07238d762310123d39f95b518c52f21c045e657b
--- /dev/null
+++ b/public_test_cases/p03446/input.4.txt
@@ -0,0 +1 @@
+2 3 4 6 7 8
diff --git a/public_test_cases/p03446/output.0.txt b/public_test_cases/p03446/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03446/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03446/output.1.txt b/public_test_cases/p03446/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..064c0200be2034c6c69792c8c6db23067e2715f7
--- /dev/null
+++ b/public_test_cases/p03446/output.1.txt
@@ -0,0 +1 @@
+744
diff --git a/public_test_cases/p03446/output.2.txt b/public_test_cases/p03446/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71261235a686c214ec7cf4fa685caaf534ef72f3
--- /dev/null
+++ b/public_test_cases/p03446/output.2.txt
@@ -0,0 +1 @@
+471975164
diff --git a/public_test_cases/p03446/output.3.txt b/public_test_cases/p03446/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03446/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03446/output.4.txt b/public_test_cases/p03446/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03446/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03447/input.0.txt b/public_test_cases/p03447/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2e17ad368bbf72e6d25b4a94337ee503a8c25f1
--- /dev/null
+++ b/public_test_cases/p03447/input.0.txt
@@ -0,0 +1,3 @@
+1234
+150
+100
diff --git a/public_test_cases/p03447/input.1.txt b/public_test_cases/p03447/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1f776cf9606412bf8a746e745c53cfa11ec2366
--- /dev/null
+++ b/public_test_cases/p03447/input.1.txt
@@ -0,0 +1,3 @@
+1000
+108
+108
diff --git a/public_test_cases/p03447/input.2.txt b/public_test_cases/p03447/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2e17ad368bbf72e6d25b4a94337ee503a8c25f1
--- /dev/null
+++ b/public_test_cases/p03447/input.2.txt
@@ -0,0 +1,3 @@
+1234
+150
+100
diff --git a/public_test_cases/p03447/input.3.txt b/public_test_cases/p03447/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1c4c2278346958afd7a9b9d96ab09baaacea97a
--- /dev/null
+++ b/public_test_cases/p03447/input.3.txt
@@ -0,0 +1,3 @@
+579
+123
+456
diff --git a/public_test_cases/p03447/input.4.txt b/public_test_cases/p03447/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b356ecb2913fd1d7ae3c0a39ce097cb79c9573d1
--- /dev/null
+++ b/public_test_cases/p03447/input.4.txt
@@ -0,0 +1,3 @@
+7477
+549
+593
diff --git a/public_test_cases/p03447/output.0.txt b/public_test_cases/p03447/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..871727de1fd703d0c4aab92017011c373e795b67
--- /dev/null
+++ b/public_test_cases/p03447/output.0.txt
@@ -0,0 +1 @@
+84
diff --git a/public_test_cases/p03447/output.1.txt b/public_test_cases/p03447/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9902f17848a8974ab57d57999b74a63198fe6e23
--- /dev/null
+++ b/public_test_cases/p03447/output.1.txt
@@ -0,0 +1 @@
+28
diff --git a/public_test_cases/p03447/output.2.txt b/public_test_cases/p03447/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..871727de1fd703d0c4aab92017011c373e795b67
--- /dev/null
+++ b/public_test_cases/p03447/output.2.txt
@@ -0,0 +1 @@
+84
diff --git a/public_test_cases/p03447/output.3.txt b/public_test_cases/p03447/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03447/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03447/output.4.txt b/public_test_cases/p03447/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec8785ec99e51e8f448e8c1af2fc98f4a36b6d07
--- /dev/null
+++ b/public_test_cases/p03447/output.4.txt
@@ -0,0 +1 @@
+405
diff --git a/public_test_cases/p03448/input.0.txt b/public_test_cases/p03448/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36c96caba8fc2034e528dfe69e4a40882d714443
--- /dev/null
+++ b/public_test_cases/p03448/input.0.txt
@@ -0,0 +1,4 @@
+2
+2
+2
+100
diff --git a/public_test_cases/p03448/input.1.txt b/public_test_cases/p03448/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36c96caba8fc2034e528dfe69e4a40882d714443
--- /dev/null
+++ b/public_test_cases/p03448/input.1.txt
@@ -0,0 +1,4 @@
+2
+2
+2
+100
diff --git a/public_test_cases/p03448/input.2.txt b/public_test_cases/p03448/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0de670ad6f10c6c997be40a4f1567e887b35b7f
--- /dev/null
+++ b/public_test_cases/p03448/input.2.txt
@@ -0,0 +1,4 @@
+30
+40
+50
+6000
diff --git a/public_test_cases/p03448/input.3.txt b/public_test_cases/p03448/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b8e49cff87e76deb12ea1ba50fed9e411e3d993
--- /dev/null
+++ b/public_test_cases/p03448/input.3.txt
@@ -0,0 +1,4 @@
+5
+1
+0
+150
diff --git a/public_test_cases/p03448/output.0.txt b/public_test_cases/p03448/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03448/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03448/output.1.txt b/public_test_cases/p03448/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03448/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03448/output.2.txt b/public_test_cases/p03448/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..964480f63e4d594a56f6dc7e847da17f1a568eb1
--- /dev/null
+++ b/public_test_cases/p03448/output.2.txt
@@ -0,0 +1 @@
+213
diff --git a/public_test_cases/p03448/output.3.txt b/public_test_cases/p03448/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03448/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03449/input.0.txt b/public_test_cases/p03449/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd36ac5c61987bfc0d45e05bf4cb759f862e31e1
--- /dev/null
+++ b/public_test_cases/p03449/input.0.txt
@@ -0,0 +1,3 @@
+5
+3 2 2 4 1
+1 2 2 2 1
diff --git a/public_test_cases/p03449/input.1.txt b/public_test_cases/p03449/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2db165be6db3d9a808fddbb9ece77f590e4c243
--- /dev/null
+++ b/public_test_cases/p03449/input.1.txt
@@ -0,0 +1,3 @@
+7
+3 3 4 5 4 5 3
+5 3 4 4 2 3 2
diff --git a/public_test_cases/p03449/input.2.txt b/public_test_cases/p03449/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01e79c32a8c99c557f0757da7cb6d65b3414466d
--- /dev/null
+++ b/public_test_cases/p03449/input.2.txt
@@ -0,0 +1,3 @@
+1
+2
+3
diff --git a/public_test_cases/p03449/input.3.txt b/public_test_cases/p03449/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd36ac5c61987bfc0d45e05bf4cb759f862e31e1
--- /dev/null
+++ b/public_test_cases/p03449/input.3.txt
@@ -0,0 +1,3 @@
+5
+3 2 2 4 1
+1 2 2 2 1
diff --git a/public_test_cases/p03449/input.4.txt b/public_test_cases/p03449/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..776ca26d7957af03cec1baf9b38a9476715a69c0
--- /dev/null
+++ b/public_test_cases/p03449/input.4.txt
@@ -0,0 +1,3 @@
+4
+1 1 1 1
+1 1 1 1
diff --git a/public_test_cases/p03449/output.0.txt b/public_test_cases/p03449/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03449/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03449/output.1.txt b/public_test_cases/p03449/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f04c001f3f7fd5d290d0264b4a2c35f7b159ac42
--- /dev/null
+++ b/public_test_cases/p03449/output.1.txt
@@ -0,0 +1 @@
+29
diff --git a/public_test_cases/p03449/output.2.txt b/public_test_cases/p03449/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03449/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03449/output.3.txt b/public_test_cases/p03449/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03449/output.3.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03449/output.4.txt b/public_test_cases/p03449/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03449/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03450/input.0.txt b/public_test_cases/p03450/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e134717926eef6632de613fb4ead393d879b7060
--- /dev/null
+++ b/public_test_cases/p03450/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+2 3 1
+1 3 2
diff --git a/public_test_cases/p03450/output.0.txt b/public_test_cases/p03450/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03450/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03451/input.0.txt b/public_test_cases/p03451/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd36ac5c61987bfc0d45e05bf4cb759f862e31e1
--- /dev/null
+++ b/public_test_cases/p03451/input.0.txt
@@ -0,0 +1,3 @@
+5
+3 2 2 4 1
+1 2 2 2 1
diff --git a/public_test_cases/p03451/output.0.txt b/public_test_cases/p03451/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03451/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03452/input.0.txt b/public_test_cases/p03452/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e134717926eef6632de613fb4ead393d879b7060
--- /dev/null
+++ b/public_test_cases/p03452/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+2 3 1
+1 3 2
diff --git a/public_test_cases/p03452/input.1.txt b/public_test_cases/p03452/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6e5d17ebe1e32ba97b242bb424f3618bd44a84e
--- /dev/null
+++ b/public_test_cases/p03452/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+2 3 1
+1 3 5
diff --git a/public_test_cases/p03452/input.2.txt b/public_test_cases/p03452/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45d4794c122865f3d0b54adfddf0b0f30f96c4ff
--- /dev/null
+++ b/public_test_cases/p03452/input.2.txt
@@ -0,0 +1 @@
+100 0
diff --git a/public_test_cases/p03452/input.3.txt b/public_test_cases/p03452/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00363406b3005531afc41edc5ca44f5c98994b1c
--- /dev/null
+++ b/public_test_cases/p03452/input.3.txt
@@ -0,0 +1,4 @@
+10 3
+8 7 100
+7 9 100
+9 8 100
diff --git a/public_test_cases/p03452/input.4.txt b/public_test_cases/p03452/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e134717926eef6632de613fb4ead393d879b7060
--- /dev/null
+++ b/public_test_cases/p03452/input.4.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+2 3 1
+1 3 2
diff --git a/public_test_cases/p03452/input.5.txt b/public_test_cases/p03452/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ead1b92c3f0093b87665897e20fc08dad566e01f
--- /dev/null
+++ b/public_test_cases/p03452/input.5.txt
@@ -0,0 +1,4 @@
+4 3
+2 1 1
+2 3 5
+3 4 2
diff --git a/public_test_cases/p03452/output.0.txt b/public_test_cases/p03452/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03452/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03452/output.1.txt b/public_test_cases/p03452/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03452/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03452/output.2.txt b/public_test_cases/p03452/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03452/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03452/output.3.txt b/public_test_cases/p03452/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03452/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03452/output.4.txt b/public_test_cases/p03452/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03452/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03452/output.5.txt b/public_test_cases/p03452/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03452/output.5.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03453/input.0.txt b/public_test_cases/p03453/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f34f473cb3eaf931a346ae9d419239b49712d23
--- /dev/null
+++ b/public_test_cases/p03453/input.0.txt
@@ -0,0 +1,6 @@
+4 4
+1 3
+1 2 1
+2 3 1
+3 4 1
+4 1 1
diff --git a/public_test_cases/p03453/input.1.txt b/public_test_cases/p03453/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f34f473cb3eaf931a346ae9d419239b49712d23
--- /dev/null
+++ b/public_test_cases/p03453/input.1.txt
@@ -0,0 +1,6 @@
+4 4
+1 3
+1 2 1
+2 3 1
+3 4 1
+4 1 1
diff --git a/public_test_cases/p03453/input.2.txt b/public_test_cases/p03453/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95668e4cceff7c0f8ca6952e8ae3dbba53ddfed7
--- /dev/null
+++ b/public_test_cases/p03453/input.2.txt
@@ -0,0 +1,5 @@
+3 3
+1 3
+1 2 1
+2 3 1
+3 1 2
diff --git a/public_test_cases/p03453/input.3.txt b/public_test_cases/p03453/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaf2e9c60bea92e76e721d5c41394e8a51f9cb22
--- /dev/null
+++ b/public_test_cases/p03453/input.3.txt
@@ -0,0 +1,15 @@
+8 13
+4 2
+7 3 9
+6 2 3
+1 6 4
+7 6 9
+3 8 9
+1 2 2
+2 8 12
+8 6 9
+2 5 5
+4 2 18
+5 3 7
+5 1 515371567
+4 8 6
diff --git a/public_test_cases/p03453/output.0.txt b/public_test_cases/p03453/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03453/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03453/output.1.txt b/public_test_cases/p03453/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03453/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03453/output.2.txt b/public_test_cases/p03453/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03453/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03453/output.3.txt b/public_test_cases/p03453/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03453/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03454/input.0.txt b/public_test_cases/p03454/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03454/input.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03454/input.1.txt b/public_test_cases/p03454/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03454/input.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03454/input.2.txt b/public_test_cases/p03454/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03454/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03454/input.3.txt b/public_test_cases/p03454/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..190a18037c64c43e6b11489df4bf0b9eb6d2c9bf
--- /dev/null
+++ b/public_test_cases/p03454/input.3.txt
@@ -0,0 +1 @@
+123
diff --git a/public_test_cases/p03454/input.4.txt b/public_test_cases/p03454/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e058c467362eea3457946af4a69b00be7ae6275
--- /dev/null
+++ b/public_test_cases/p03454/input.4.txt
@@ -0,0 +1 @@
+36018
diff --git a/public_test_cases/p03454/input.5.txt b/public_test_cases/p03454/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p03454/input.5.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p03454/output.0.txt b/public_test_cases/p03454/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03454/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03454/output.1.txt b/public_test_cases/p03454/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03454/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03454/output.2.txt b/public_test_cases/p03454/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6529ff889b0cc4d1ebe65cdc6a21ec584859d931
--- /dev/null
+++ b/public_test_cases/p03454/output.2.txt
@@ -0,0 +1 @@
+98
diff --git a/public_test_cases/p03454/output.3.txt b/public_test_cases/p03454/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bb22af04ac245fa77ff3157285939bc4465c12c
--- /dev/null
+++ b/public_test_cases/p03454/output.3.txt
@@ -0,0 +1 @@
+460191684
diff --git a/public_test_cases/p03454/output.4.txt b/public_test_cases/p03454/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93be451fa0bdb70301b64447e55e79be96c5876b
--- /dev/null
+++ b/public_test_cases/p03454/output.4.txt
@@ -0,0 +1 @@
+966522825
diff --git a/public_test_cases/p03454/output.5.txt b/public_test_cases/p03454/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f3fecbad7701843077d1a533da9d0f940712f5d
--- /dev/null
+++ b/public_test_cases/p03454/output.5.txt
@@ -0,0 +1 @@
+184984484
diff --git a/public_test_cases/p03455/input.0.txt b/public_test_cases/p03455/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebcee1a506db729ea7b0e0b6e9b0be36806d16bd
--- /dev/null
+++ b/public_test_cases/p03455/input.0.txt
@@ -0,0 +1 @@
+3 4
diff --git a/public_test_cases/p03455/input.1.txt b/public_test_cases/p03455/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebcee1a506db729ea7b0e0b6e9b0be36806d16bd
--- /dev/null
+++ b/public_test_cases/p03455/input.1.txt
@@ -0,0 +1 @@
+3 4
diff --git a/public_test_cases/p03455/input.2.txt b/public_test_cases/p03455/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce09ec98268fcebf9ac2e79f00c415849f2d7ade
--- /dev/null
+++ b/public_test_cases/p03455/input.2.txt
@@ -0,0 +1 @@
+1 21
diff --git a/public_test_cases/p03455/output.0.txt b/public_test_cases/p03455/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ab77240feea900cd4688dfff566c60a1b0e7a0a
--- /dev/null
+++ b/public_test_cases/p03455/output.0.txt
@@ -0,0 +1 @@
+Even
diff --git a/public_test_cases/p03455/output.1.txt b/public_test_cases/p03455/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ab77240feea900cd4688dfff566c60a1b0e7a0a
--- /dev/null
+++ b/public_test_cases/p03455/output.1.txt
@@ -0,0 +1 @@
+Even
diff --git a/public_test_cases/p03455/output.2.txt b/public_test_cases/p03455/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6320bff5e4abc7b9660cda8b84027ac5ea1b5e17
--- /dev/null
+++ b/public_test_cases/p03455/output.2.txt
@@ -0,0 +1 @@
+Odd
diff --git a/public_test_cases/p03456/input.0.txt b/public_test_cases/p03456/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce09ec98268fcebf9ac2e79f00c415849f2d7ade
--- /dev/null
+++ b/public_test_cases/p03456/input.0.txt
@@ -0,0 +1 @@
+1 21
diff --git a/public_test_cases/p03456/input.1.txt b/public_test_cases/p03456/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce09ec98268fcebf9ac2e79f00c415849f2d7ade
--- /dev/null
+++ b/public_test_cases/p03456/input.1.txt
@@ -0,0 +1 @@
+1 21
diff --git a/public_test_cases/p03456/input.2.txt b/public_test_cases/p03456/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e0707c2ccfb0176b0fa1cebeb20ca653f031a84
--- /dev/null
+++ b/public_test_cases/p03456/input.2.txt
@@ -0,0 +1 @@
+12 10
diff --git a/public_test_cases/p03456/input.3.txt b/public_test_cases/p03456/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9732b55455bca575261eac1a6a7082c96223368d
--- /dev/null
+++ b/public_test_cases/p03456/input.3.txt
@@ -0,0 +1 @@
+100 100
diff --git a/public_test_cases/p03456/output.0.txt b/public_test_cases/p03456/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03456/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03456/output.1.txt b/public_test_cases/p03456/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03456/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03456/output.2.txt b/public_test_cases/p03456/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03456/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03456/output.3.txt b/public_test_cases/p03456/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03456/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03457/input.0.txt b/public_test_cases/p03457/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c19bcc7d50c8bfc1519fa90f3fcc6056e2520d8
--- /dev/null
+++ b/public_test_cases/p03457/input.0.txt
@@ -0,0 +1,3 @@
+2
+3 1 2
+6 1 1
diff --git a/public_test_cases/p03457/input.1.txt b/public_test_cases/p03457/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c19bcc7d50c8bfc1519fa90f3fcc6056e2520d8
--- /dev/null
+++ b/public_test_cases/p03457/input.1.txt
@@ -0,0 +1,3 @@
+2
+3 1 2
+6 1 1
diff --git a/public_test_cases/p03457/input.2.txt b/public_test_cases/p03457/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7dc9beff98740295d18087c439b9be137474855
--- /dev/null
+++ b/public_test_cases/p03457/input.2.txt
@@ -0,0 +1,3 @@
+2
+5 1 1
+100 1 1
diff --git a/public_test_cases/p03457/input.3.txt b/public_test_cases/p03457/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea3a4df4aceafe385630c0450dbaaa664b09048d
--- /dev/null
+++ b/public_test_cases/p03457/input.3.txt
@@ -0,0 +1,2 @@
+1
+2 100 100
diff --git a/public_test_cases/p03457/output.0.txt b/public_test_cases/p03457/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03457/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03457/output.1.txt b/public_test_cases/p03457/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03457/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03457/output.2.txt b/public_test_cases/p03457/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03457/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03457/output.3.txt b/public_test_cases/p03457/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03457/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03458/input.0.txt b/public_test_cases/p03458/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5695521dac59c2417c5aeda494c24f46be2304f
--- /dev/null
+++ b/public_test_cases/p03458/input.0.txt
@@ -0,0 +1,5 @@
+4 3
+0 1 W
+1 2 W
+5 3 B
+5 4 B
diff --git a/public_test_cases/p03458/input.1.txt b/public_test_cases/p03458/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0dd1fc338cda055f88fce91932660af74ae42e0
--- /dev/null
+++ b/public_test_cases/p03458/input.1.txt
@@ -0,0 +1,7 @@
+6 2
+1 2 B
+2 1 W
+2 2 B
+1 0 B
+0 6 W
+4 5 W
diff --git a/public_test_cases/p03458/input.2.txt b/public_test_cases/p03458/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5695521dac59c2417c5aeda494c24f46be2304f
--- /dev/null
+++ b/public_test_cases/p03458/input.2.txt
@@ -0,0 +1,5 @@
+4 3
+0 1 W
+1 2 W
+5 3 B
+5 4 B
diff --git a/public_test_cases/p03458/input.3.txt b/public_test_cases/p03458/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4baf4fe0197f39f275ec5cfeae5924511eb3f6b
--- /dev/null
+++ b/public_test_cases/p03458/input.3.txt
@@ -0,0 +1,3 @@
+2 1000
+0 0 B
+0 1 W
diff --git a/public_test_cases/p03458/output.0.txt b/public_test_cases/p03458/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03458/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03458/output.1.txt b/public_test_cases/p03458/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03458/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03458/output.2.txt b/public_test_cases/p03458/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03458/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03458/output.3.txt b/public_test_cases/p03458/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03458/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03459/input.0.txt b/public_test_cases/p03459/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c19bcc7d50c8bfc1519fa90f3fcc6056e2520d8
--- /dev/null
+++ b/public_test_cases/p03459/input.0.txt
@@ -0,0 +1,3 @@
+2
+3 1 2
+6 1 1
diff --git a/public_test_cases/p03459/output.0.txt b/public_test_cases/p03459/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03459/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03460/input.0.txt b/public_test_cases/p03460/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5695521dac59c2417c5aeda494c24f46be2304f
--- /dev/null
+++ b/public_test_cases/p03460/input.0.txt
@@ -0,0 +1,5 @@
+4 3
+0 1 W
+1 2 W
+5 3 B
+5 4 B
diff --git a/public_test_cases/p03460/output.0.txt b/public_test_cases/p03460/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03460/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03461/input.0.txt b/public_test_cases/p03461/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4be66635ca10096939214e7cb4765409869911a3
--- /dev/null
+++ b/public_test_cases/p03461/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+1 2 2
+1 2 3
diff --git a/public_test_cases/p03461/input.1.txt b/public_test_cases/p03461/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4be66635ca10096939214e7cb4765409869911a3
--- /dev/null
+++ b/public_test_cases/p03461/input.1.txt
@@ -0,0 +1,3 @@
+2 3
+1 2 2
+1 2 3
diff --git a/public_test_cases/p03461/input.2.txt b/public_test_cases/p03461/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d246f4e07ec8055a6fbcd8c506932c22c9461768
--- /dev/null
+++ b/public_test_cases/p03461/input.2.txt
@@ -0,0 +1,2 @@
+1 3
+100 50 1
diff --git a/public_test_cases/p03461/output.0.txt b/public_test_cases/p03461/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..650d046773140ffe74487ba5e7b7b65867945669
--- /dev/null
+++ b/public_test_cases/p03461/output.0.txt
@@ -0,0 +1,7 @@
+Possible
+3 4
+1 2 X
+2 3 1
+3 2 Y
+1 3 Y
+1 3
diff --git a/public_test_cases/p03461/output.1.txt b/public_test_cases/p03461/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..650d046773140ffe74487ba5e7b7b65867945669
--- /dev/null
+++ b/public_test_cases/p03461/output.1.txt
@@ -0,0 +1,7 @@
+Possible
+3 4
+1 2 X
+2 3 1
+3 2 Y
+1 3 Y
+1 3
diff --git a/public_test_cases/p03461/output.2.txt b/public_test_cases/p03461/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p03461/output.2.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p03462/input.0.txt b/public_test_cases/p03462/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47d1a2897132c49a9cd951a0ceb5a458014a8cf1
--- /dev/null
+++ b/public_test_cases/p03462/input.0.txt
@@ -0,0 +1,2 @@
+2 2
+rb
diff --git a/public_test_cases/p03462/input.1.txt b/public_test_cases/p03462/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52036f59782e4980bc3961ccea9385e05b73e4c6
--- /dev/null
+++ b/public_test_cases/p03462/input.1.txt
@@ -0,0 +1,2 @@
+70 70
+bbrbrrbbrrbbbbrbbrbrrbbrrbbrbrrbrbrbbbbrbbrbrrbbrrbbbbrbbrbrrbbrrbbbbr
diff --git a/public_test_cases/p03462/input.2.txt b/public_test_cases/p03462/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f36ae6ba5c0a84989d05b708c21438805c8751d6
--- /dev/null
+++ b/public_test_cases/p03462/input.2.txt
@@ -0,0 +1,2 @@
+7 4
+rbrb
diff --git a/public_test_cases/p03462/input.3.txt b/public_test_cases/p03462/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47d1a2897132c49a9cd951a0ceb5a458014a8cf1
--- /dev/null
+++ b/public_test_cases/p03462/input.3.txt
@@ -0,0 +1,2 @@
+2 2
+rb
diff --git a/public_test_cases/p03462/input.4.txt b/public_test_cases/p03462/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49a7b17315b5a67d986eedb09f5082acbeed8863
--- /dev/null
+++ b/public_test_cases/p03462/input.4.txt
@@ -0,0 +1,2 @@
+5 2
+br
diff --git a/public_test_cases/p03462/output.0.txt b/public_test_cases/p03462/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03462/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03462/output.1.txt b/public_test_cases/p03462/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97e6df424afdb06274685ab080268860ceb98fe0
--- /dev/null
+++ b/public_test_cases/p03462/output.1.txt
@@ -0,0 +1 @@
+841634130
diff --git a/public_test_cases/p03462/output.2.txt b/public_test_cases/p03462/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41cf401fee3b8ec71136c098880bf6b0e2ed0fb9
--- /dev/null
+++ b/public_test_cases/p03462/output.2.txt
@@ -0,0 +1 @@
+1569
diff --git a/public_test_cases/p03462/output.3.txt b/public_test_cases/p03462/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03462/output.3.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03462/output.4.txt b/public_test_cases/p03462/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03462/output.4.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03463/input.0.txt b/public_test_cases/p03463/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37122f4bb8da7cdc63b02195266c286138058939
--- /dev/null
+++ b/public_test_cases/p03463/input.0.txt
@@ -0,0 +1 @@
+5 2 4
diff --git a/public_test_cases/p03463/input.1.txt b/public_test_cases/p03463/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96d1f5048ad697577551f52fece1e351c1a5d727
--- /dev/null
+++ b/public_test_cases/p03463/input.1.txt
@@ -0,0 +1 @@
+58 23 42
diff --git a/public_test_cases/p03463/input.2.txt b/public_test_cases/p03463/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b04ccdba4df31d78b9f5f65b0d7f77ce8b40d7
--- /dev/null
+++ b/public_test_cases/p03463/input.2.txt
@@ -0,0 +1 @@
+2 1 2
diff --git a/public_test_cases/p03463/input.3.txt b/public_test_cases/p03463/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37122f4bb8da7cdc63b02195266c286138058939
--- /dev/null
+++ b/public_test_cases/p03463/input.3.txt
@@ -0,0 +1 @@
+5 2 4
diff --git a/public_test_cases/p03463/output.0.txt b/public_test_cases/p03463/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03463/output.0.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03463/output.1.txt b/public_test_cases/p03463/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..948118fe5db924da15fcde341ca7776ca7c32957
--- /dev/null
+++ b/public_test_cases/p03463/output.1.txt
@@ -0,0 +1 @@
+Borys
diff --git a/public_test_cases/p03463/output.2.txt b/public_test_cases/p03463/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..948118fe5db924da15fcde341ca7776ca7c32957
--- /dev/null
+++ b/public_test_cases/p03463/output.2.txt
@@ -0,0 +1 @@
+Borys
diff --git a/public_test_cases/p03463/output.3.txt b/public_test_cases/p03463/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03463/output.3.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03464/input.0.txt b/public_test_cases/p03464/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ba418c00e9ce40880ad4deef598996eeb18d628
--- /dev/null
+++ b/public_test_cases/p03464/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 4 3 2
diff --git a/public_test_cases/p03464/input.1.txt b/public_test_cases/p03464/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5210be1c3b20fdc502635d5f048ecd45200bb0c3
--- /dev/null
+++ b/public_test_cases/p03464/input.1.txt
@@ -0,0 +1,2 @@
+5
+3 4 100 3 2
diff --git a/public_test_cases/p03464/input.2.txt b/public_test_cases/p03464/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6c3431e054c67850ea223341a59b41bdf0859d5
--- /dev/null
+++ b/public_test_cases/p03464/input.2.txt
@@ -0,0 +1,2 @@
+10
+2 2 2 2 2 2 2 2 2 2
diff --git a/public_test_cases/p03464/input.3.txt b/public_test_cases/p03464/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ba418c00e9ce40880ad4deef598996eeb18d628
--- /dev/null
+++ b/public_test_cases/p03464/input.3.txt
@@ -0,0 +1,2 @@
+4
+3 4 3 2
diff --git a/public_test_cases/p03464/output.0.txt b/public_test_cases/p03464/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20a8108cdfe136b0c97700da9a3f06a55bcb51fb
--- /dev/null
+++ b/public_test_cases/p03464/output.0.txt
@@ -0,0 +1 @@
+6 8
diff --git a/public_test_cases/p03464/output.1.txt b/public_test_cases/p03464/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03464/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03464/output.2.txt b/public_test_cases/p03464/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03464/output.2.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03464/output.3.txt b/public_test_cases/p03464/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20a8108cdfe136b0c97700da9a3f06a55bcb51fb
--- /dev/null
+++ b/public_test_cases/p03464/output.3.txt
@@ -0,0 +1 @@
+6 8
diff --git a/public_test_cases/p03465/input.0.txt b/public_test_cases/p03465/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56221aadc5dfac666c62fd57ad1536458c512851
--- /dev/null
+++ b/public_test_cases/p03465/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 1
diff --git a/public_test_cases/p03465/input.1.txt b/public_test_cases/p03465/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56221aadc5dfac666c62fd57ad1536458c512851
--- /dev/null
+++ b/public_test_cases/p03465/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 1
diff --git a/public_test_cases/p03465/input.2.txt b/public_test_cases/p03465/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc2b5b23ffe16407c3e863020d1feef51dc28ab8
--- /dev/null
+++ b/public_test_cases/p03465/input.2.txt
@@ -0,0 +1,2 @@
+1
+58
diff --git a/public_test_cases/p03465/output.0.txt b/public_test_cases/p03465/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03465/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03465/output.1.txt b/public_test_cases/p03465/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03465/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03465/output.2.txt b/public_test_cases/p03465/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c61d23e125b800e69cb950b09e23c06f728fff9
--- /dev/null
+++ b/public_test_cases/p03465/output.2.txt
@@ -0,0 +1 @@
+58
diff --git a/public_test_cases/p03466/input.0.txt b/public_test_cases/p03466/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d594e7684e566dd4ecb485cc9b72289e680d3bc5
--- /dev/null
+++ b/public_test_cases/p03466/input.0.txt
@@ -0,0 +1,6 @@
+5
+2 3 1 5
+6 4 1 10
+2 3 4 4
+6 4 3 7
+8 10 5 8
diff --git a/public_test_cases/p03466/input.1.txt b/public_test_cases/p03466/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d594e7684e566dd4ecb485cc9b72289e680d3bc5
--- /dev/null
+++ b/public_test_cases/p03466/input.1.txt
@@ -0,0 +1,6 @@
+5
+2 3 1 5
+6 4 1 10
+2 3 4 4
+6 4 3 7
+8 10 5 8
diff --git a/public_test_cases/p03466/output.0.txt b/public_test_cases/p03466/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49aa0b147ea693a3dee48c2ca0d3de6f7446fe9c
--- /dev/null
+++ b/public_test_cases/p03466/output.0.txt
@@ -0,0 +1,5 @@
+BABAB
+AABAABAABB
+A
+BAABA
+ABAB
diff --git a/public_test_cases/p03466/output.1.txt b/public_test_cases/p03466/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49aa0b147ea693a3dee48c2ca0d3de6f7446fe9c
--- /dev/null
+++ b/public_test_cases/p03466/output.1.txt
@@ -0,0 +1,5 @@
+BABAB
+AABAABAABB
+A
+BAABA
+ABAB
diff --git a/public_test_cases/p03467/input.0.txt b/public_test_cases/p03467/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f7afa6beb18058f81d239d26d2b1a1386f8c186
--- /dev/null
+++ b/public_test_cases/p03467/input.0.txt
@@ -0,0 +1 @@
+011
diff --git a/public_test_cases/p03467/input.1.txt b/public_test_cases/p03467/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee071f8154aa3ae92f46bb56527c1f1e5545979
--- /dev/null
+++ b/public_test_cases/p03467/input.1.txt
@@ -0,0 +1 @@
+101110
diff --git a/public_test_cases/p03467/input.2.txt b/public_test_cases/p03467/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..739d79706d1a14642c4ce1c263a8760a2cf0d050
--- /dev/null
+++ b/public_test_cases/p03467/input.2.txt
@@ -0,0 +1 @@
+0000
diff --git a/public_test_cases/p03467/input.3.txt b/public_test_cases/p03467/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9bd97e77a61806ff1e46cf124f036dcf08f7f364
--- /dev/null
+++ b/public_test_cases/p03467/input.3.txt
@@ -0,0 +1 @@
+001110111010110001100000100111
diff --git a/public_test_cases/p03467/input.4.txt b/public_test_cases/p03467/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f7afa6beb18058f81d239d26d2b1a1386f8c186
--- /dev/null
+++ b/public_test_cases/p03467/input.4.txt
@@ -0,0 +1 @@
+011
diff --git a/public_test_cases/p03467/output.0.txt b/public_test_cases/p03467/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03467/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03467/output.1.txt b/public_test_cases/p03467/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91b629b0fa997ff777a1d36357199b3b325d3012
--- /dev/null
+++ b/public_test_cases/p03467/output.1.txt
@@ -0,0 +1 @@
+156
diff --git a/public_test_cases/p03467/output.2.txt b/public_test_cases/p03467/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03467/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03467/output.3.txt b/public_test_cases/p03467/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4eb641ea9132680ab34fec4328e29a1160e53d0c
--- /dev/null
+++ b/public_test_cases/p03467/output.3.txt
@@ -0,0 +1 @@
+363383189
diff --git a/public_test_cases/p03467/output.4.txt b/public_test_cases/p03467/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03467/output.4.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03468/input.0.txt b/public_test_cases/p03468/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93645c09020ef841ec3e6934b67c5861073837fb
--- /dev/null
+++ b/public_test_cases/p03468/input.0.txt
@@ -0,0 +1,2 @@
+2 3
+2 2
diff --git a/public_test_cases/p03468/input.1.txt b/public_test_cases/p03468/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e0cd5966ea49048a82499d6cfabb36d8db3a8aa
--- /dev/null
+++ b/public_test_cases/p03468/input.1.txt
@@ -0,0 +1,2 @@
+4 6
+4 1 3 2
diff --git a/public_test_cases/p03468/input.2.txt b/public_test_cases/p03468/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f14f94140d0e8b24bd5469836fc29017292bc70f
--- /dev/null
+++ b/public_test_cases/p03468/input.2.txt
@@ -0,0 +1,2 @@
+3 5
+2 2 4
diff --git a/public_test_cases/p03468/input.3.txt b/public_test_cases/p03468/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2be8564591f8a2f5dbab4d2db8629c9d6601cea2
--- /dev/null
+++ b/public_test_cases/p03468/input.3.txt
@@ -0,0 +1,2 @@
+4 2
+1 1 1 1
diff --git a/public_test_cases/p03468/input.4.txt b/public_test_cases/p03468/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93645c09020ef841ec3e6934b67c5861073837fb
--- /dev/null
+++ b/public_test_cases/p03468/input.4.txt
@@ -0,0 +1,2 @@
+2 3
+2 2
diff --git a/public_test_cases/p03468/input.5.txt b/public_test_cases/p03468/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7d0453234f0f0414b6ed368f9b00f8928e21a8a
--- /dev/null
+++ b/public_test_cases/p03468/input.5.txt
@@ -0,0 +1,2 @@
+4 10
+1 2 3 4
diff --git a/public_test_cases/p03468/input.6.txt b/public_test_cases/p03468/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59cb293e9417af37f6f7fb11acf594834ce55d00
--- /dev/null
+++ b/public_test_cases/p03468/input.6.txt
@@ -0,0 +1,2 @@
+6 49
+22 13 27 8 2 19
diff --git a/public_test_cases/p03468/output.0.txt b/public_test_cases/p03468/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02f284a60e5dcc580136e05e85e852eb2b87f985
--- /dev/null
+++ b/public_test_cases/p03468/output.0.txt
@@ -0,0 +1 @@
+0.3333333333333333
diff --git a/public_test_cases/p03468/output.1.txt b/public_test_cases/p03468/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3211604939da0e2e0732ce6d47d00e6337b20ae
--- /dev/null
+++ b/public_test_cases/p03468/output.1.txt
@@ -0,0 +1 @@
+0.3148148148148148
diff --git a/public_test_cases/p03468/output.2.txt b/public_test_cases/p03468/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2f920941675f000dcd12fc1c739e003a05ecaa3
--- /dev/null
+++ b/public_test_cases/p03468/output.2.txt
@@ -0,0 +1 @@
+0.4000000000000000
diff --git a/public_test_cases/p03468/output.3.txt b/public_test_cases/p03468/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18e68c0612fb897279506203da446d7ee269ab7b
--- /dev/null
+++ b/public_test_cases/p03468/output.3.txt
@@ -0,0 +1 @@
+0.5000000000000000
diff --git a/public_test_cases/p03468/output.4.txt b/public_test_cases/p03468/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02f284a60e5dcc580136e05e85e852eb2b87f985
--- /dev/null
+++ b/public_test_cases/p03468/output.4.txt
@@ -0,0 +1 @@
+0.3333333333333333
diff --git a/public_test_cases/p03468/output.5.txt b/public_test_cases/p03468/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da5cfce855f8ad54c28d1fffda5420442d9efae4
--- /dev/null
+++ b/public_test_cases/p03468/output.5.txt
@@ -0,0 +1 @@
+0.0000000000000000
diff --git a/public_test_cases/p03468/output.6.txt b/public_test_cases/p03468/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..249bbb7c95db4a120445832994e02903ea63f743
--- /dev/null
+++ b/public_test_cases/p03468/output.6.txt
@@ -0,0 +1 @@
+0.2832340720702695
diff --git a/public_test_cases/p03469/input.0.txt b/public_test_cases/p03469/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98912d55fee54acc703f028a74c552e3635d86aa
--- /dev/null
+++ b/public_test_cases/p03469/input.0.txt
@@ -0,0 +1 @@
+2017/01/07
diff --git a/public_test_cases/p03469/input.1.txt b/public_test_cases/p03469/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98912d55fee54acc703f028a74c552e3635d86aa
--- /dev/null
+++ b/public_test_cases/p03469/input.1.txt
@@ -0,0 +1 @@
+2017/01/07
diff --git a/public_test_cases/p03469/input.2.txt b/public_test_cases/p03469/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2d56106cb3f16dc97e0cdf98f43e7453a0bedad
--- /dev/null
+++ b/public_test_cases/p03469/input.2.txt
@@ -0,0 +1 @@
+2017/01/31
diff --git a/public_test_cases/p03469/output.0.txt b/public_test_cases/p03469/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3207f555eb518408e6c890a4a033f4cd3cc07b9b
--- /dev/null
+++ b/public_test_cases/p03469/output.0.txt
@@ -0,0 +1 @@
+2018/01/07
diff --git a/public_test_cases/p03469/output.1.txt b/public_test_cases/p03469/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3207f555eb518408e6c890a4a033f4cd3cc07b9b
--- /dev/null
+++ b/public_test_cases/p03469/output.1.txt
@@ -0,0 +1 @@
+2018/01/07
diff --git a/public_test_cases/p03469/output.2.txt b/public_test_cases/p03469/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dec13492d7ea23ee77b5a63fc28c05e4285b89f3
--- /dev/null
+++ b/public_test_cases/p03469/output.2.txt
@@ -0,0 +1 @@
+2018/01/31
diff --git a/public_test_cases/p03470/input.0.txt b/public_test_cases/p03470/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..555ff375f43944f44d474a857d46015209a027e7
--- /dev/null
+++ b/public_test_cases/p03470/input.0.txt
@@ -0,0 +1,5 @@
+4
+10
+8
+8
+6
diff --git a/public_test_cases/p03470/input.1.txt b/public_test_cases/p03470/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7ce81db8647ec1d03f3bfed29db810b35a9124a
--- /dev/null
+++ b/public_test_cases/p03470/input.1.txt
@@ -0,0 +1,8 @@
+7
+50
+30
+50
+100
+50
+80
+30
diff --git a/public_test_cases/p03470/input.2.txt b/public_test_cases/p03470/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..775604ed529a965ec10027851a5dc59650343533
--- /dev/null
+++ b/public_test_cases/p03470/input.2.txt
@@ -0,0 +1,4 @@
+3
+15
+15
+15
diff --git a/public_test_cases/p03470/input.3.txt b/public_test_cases/p03470/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..555ff375f43944f44d474a857d46015209a027e7
--- /dev/null
+++ b/public_test_cases/p03470/input.3.txt
@@ -0,0 +1,5 @@
+4
+10
+8
+8
+6
diff --git a/public_test_cases/p03470/output.0.txt b/public_test_cases/p03470/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03470/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03470/output.1.txt b/public_test_cases/p03470/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03470/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03470/output.2.txt b/public_test_cases/p03470/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03470/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03470/output.3.txt b/public_test_cases/p03470/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03470/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03471/input.0.txt b/public_test_cases/p03471/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f839b6e5fab3592aa9d6067953e9a61a968e21ba
--- /dev/null
+++ b/public_test_cases/p03471/input.0.txt
@@ -0,0 +1 @@
+9 45000
diff --git a/public_test_cases/p03471/input.1.txt b/public_test_cases/p03471/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eee91beec2f08c8a425d8f3b9f77523152aa771f
--- /dev/null
+++ b/public_test_cases/p03471/input.1.txt
@@ -0,0 +1 @@
+1000 1234000
diff --git a/public_test_cases/p03471/input.2.txt b/public_test_cases/p03471/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f839b6e5fab3592aa9d6067953e9a61a968e21ba
--- /dev/null
+++ b/public_test_cases/p03471/input.2.txt
@@ -0,0 +1 @@
+9 45000
diff --git a/public_test_cases/p03471/input.3.txt b/public_test_cases/p03471/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8aaef5533cfd6af67f4b03467ea02536119a450
--- /dev/null
+++ b/public_test_cases/p03471/input.3.txt
@@ -0,0 +1 @@
+20 196000
diff --git a/public_test_cases/p03471/input.4.txt b/public_test_cases/p03471/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0498bbe3676fb1f929c4d1d5e02eca2ec96a2937
--- /dev/null
+++ b/public_test_cases/p03471/input.4.txt
@@ -0,0 +1 @@
+2000 20000000
diff --git a/public_test_cases/p03471/output.0.txt b/public_test_cases/p03471/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f64984fb866e5376bac4ce01010b269f7d04587
--- /dev/null
+++ b/public_test_cases/p03471/output.0.txt
@@ -0,0 +1 @@
+4 0 5
diff --git a/public_test_cases/p03471/output.1.txt b/public_test_cases/p03471/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1f2c1b379b43cb719aa99c29892640cef15f471
--- /dev/null
+++ b/public_test_cases/p03471/output.1.txt
@@ -0,0 +1 @@
+14 27 959
diff --git a/public_test_cases/p03471/output.2.txt b/public_test_cases/p03471/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f64984fb866e5376bac4ce01010b269f7d04587
--- /dev/null
+++ b/public_test_cases/p03471/output.2.txt
@@ -0,0 +1 @@
+4 0 5
diff --git a/public_test_cases/p03471/output.3.txt b/public_test_cases/p03471/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3cd8d39aa08af2ed2f98dd33a58a9286b3dbc6b
--- /dev/null
+++ b/public_test_cases/p03471/output.3.txt
@@ -0,0 +1 @@
+-1 -1 -1
diff --git a/public_test_cases/p03471/output.4.txt b/public_test_cases/p03471/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d3f7f3646590d873e30dc595af3dd8ec6c165f0
--- /dev/null
+++ b/public_test_cases/p03471/output.4.txt
@@ -0,0 +1 @@
+2000 0 0
diff --git a/public_test_cases/p03472/input.0.txt b/public_test_cases/p03472/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f01109ee998309939a8124686ccca8c71cf2cc0e
--- /dev/null
+++ b/public_test_cases/p03472/input.0.txt
@@ -0,0 +1,2 @@
+1 10
+3 5
diff --git a/public_test_cases/p03472/input.1.txt b/public_test_cases/p03472/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..977aa2c3c48bd0a7d6c47cb7e2ca13ea2b715d98
--- /dev/null
+++ b/public_test_cases/p03472/input.1.txt
@@ -0,0 +1,5 @@
+4 1000000000
+1 1
+1 10000000
+1 30000000
+1 99999999
diff --git a/public_test_cases/p03472/input.2.txt b/public_test_cases/p03472/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f01109ee998309939a8124686ccca8c71cf2cc0e
--- /dev/null
+++ b/public_test_cases/p03472/input.2.txt
@@ -0,0 +1,2 @@
+1 10
+3 5
diff --git a/public_test_cases/p03472/input.3.txt b/public_test_cases/p03472/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..234b312628e1e82edb838ad25714bf39727d1170
--- /dev/null
+++ b/public_test_cases/p03472/input.3.txt
@@ -0,0 +1,3 @@
+2 10
+3 5
+2 6
diff --git a/public_test_cases/p03472/input.4.txt b/public_test_cases/p03472/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8345af886e38bb0e5674d25c6ee62e91fd95be66
--- /dev/null
+++ b/public_test_cases/p03472/input.4.txt
@@ -0,0 +1,6 @@
+5 500
+35 44
+28 83
+46 62
+31 79
+40 43
diff --git a/public_test_cases/p03472/output.0.txt b/public_test_cases/p03472/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03472/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03472/output.1.txt b/public_test_cases/p03472/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5624d566c27bad0352fbce807374c993b19549a6
--- /dev/null
+++ b/public_test_cases/p03472/output.1.txt
@@ -0,0 +1 @@
+860000004
diff --git a/public_test_cases/p03472/output.2.txt b/public_test_cases/p03472/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03472/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03472/output.3.txt b/public_test_cases/p03472/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03472/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03472/output.4.txt b/public_test_cases/p03472/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03472/output.4.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03473/input.0.txt b/public_test_cases/p03473/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03473/input.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03473/input.1.txt b/public_test_cases/p03473/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03473/input.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03473/input.2.txt b/public_test_cases/p03473/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03473/input.2.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03473/output.0.txt b/public_test_cases/p03473/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p03473/output.0.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p03473/output.1.txt b/public_test_cases/p03473/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p03473/output.1.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p03473/output.2.txt b/public_test_cases/p03473/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p03473/output.2.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p03474/input.0.txt b/public_test_cases/p03474/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e98ab148bfbf1fb9e8ae7588cff61d37394f557
--- /dev/null
+++ b/public_test_cases/p03474/input.0.txt
@@ -0,0 +1,2 @@
+3 4
+269-6650
diff --git a/public_test_cases/p03474/input.1.txt b/public_test_cases/p03474/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d086907f282ebe1f0fb30e24742b530b8fb19f21
--- /dev/null
+++ b/public_test_cases/p03474/input.1.txt
@@ -0,0 +1,2 @@
+1 2
+7444
diff --git a/public_test_cases/p03474/input.2.txt b/public_test_cases/p03474/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e98ab148bfbf1fb9e8ae7588cff61d37394f557
--- /dev/null
+++ b/public_test_cases/p03474/input.2.txt
@@ -0,0 +1,2 @@
+3 4
+269-6650
diff --git a/public_test_cases/p03474/input.3.txt b/public_test_cases/p03474/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1afa5d5af5a6905e1ae99b7b45bf3b81b6445bba
--- /dev/null
+++ b/public_test_cases/p03474/input.3.txt
@@ -0,0 +1,2 @@
+1 1
+---
diff --git a/public_test_cases/p03474/output.0.txt b/public_test_cases/p03474/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03474/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03474/output.1.txt b/public_test_cases/p03474/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03474/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03474/output.2.txt b/public_test_cases/p03474/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03474/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03474/output.3.txt b/public_test_cases/p03474/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03474/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03475/input.0.txt b/public_test_cases/p03475/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cf0576ed0ecbc909da7134cf8aef79922d5bc9b
--- /dev/null
+++ b/public_test_cases/p03475/input.0.txt
@@ -0,0 +1,3 @@
+3
+6 5 1
+1 10 1
diff --git a/public_test_cases/p03475/input.1.txt b/public_test_cases/p03475/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cf0576ed0ecbc909da7134cf8aef79922d5bc9b
--- /dev/null
+++ b/public_test_cases/p03475/input.1.txt
@@ -0,0 +1,3 @@
+3
+6 5 1
+1 10 1
diff --git a/public_test_cases/p03475/input.2.txt b/public_test_cases/p03475/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1a95b00ddcaada006b47a6937a044f41812d54d
--- /dev/null
+++ b/public_test_cases/p03475/input.2.txt
@@ -0,0 +1,4 @@
+4
+12 13 1
+44 17 17
+66 4096 64
diff --git a/public_test_cases/p03475/input.3.txt b/public_test_cases/p03475/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38d73e0da1948ae7ac96904cb8890361c68b0e84
--- /dev/null
+++ b/public_test_cases/p03475/input.3.txt
@@ -0,0 +1,4 @@
+4
+12 24 6
+52 16 4
+99 2 2
diff --git a/public_test_cases/p03475/output.0.txt b/public_test_cases/p03475/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22c59fd4e05a6d716b766c4ca11cc276d5c6ae19
--- /dev/null
+++ b/public_test_cases/p03475/output.0.txt
@@ -0,0 +1,3 @@
+12
+11
+0
diff --git a/public_test_cases/p03475/output.1.txt b/public_test_cases/p03475/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22c59fd4e05a6d716b766c4ca11cc276d5c6ae19
--- /dev/null
+++ b/public_test_cases/p03475/output.1.txt
@@ -0,0 +1,3 @@
+12
+11
+0
diff --git a/public_test_cases/p03475/output.2.txt b/public_test_cases/p03475/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5747cfbab79d6479b2dc60c19b8e6c0045eb773b
--- /dev/null
+++ b/public_test_cases/p03475/output.2.txt
@@ -0,0 +1,4 @@
+4162
+4162
+4162
+0
diff --git a/public_test_cases/p03475/output.3.txt b/public_test_cases/p03475/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e73e3d63396d202a0e0345e77b1e52e591d07f62
--- /dev/null
+++ b/public_test_cases/p03475/output.3.txt
@@ -0,0 +1,4 @@
+187
+167
+101
+0
diff --git a/public_test_cases/p03476/input.0.txt b/public_test_cases/p03476/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6990404d4b88b097d7188992916d558f5dfbe4e5
--- /dev/null
+++ b/public_test_cases/p03476/input.0.txt
@@ -0,0 +1,2 @@
+1
+3 7
diff --git a/public_test_cases/p03476/input.1.txt b/public_test_cases/p03476/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6990404d4b88b097d7188992916d558f5dfbe4e5
--- /dev/null
+++ b/public_test_cases/p03476/input.1.txt
@@ -0,0 +1,2 @@
+1
+3 7
diff --git a/public_test_cases/p03476/input.2.txt b/public_test_cases/p03476/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..988378b391a304a4cab6d01ef684423b85d5e6c3
--- /dev/null
+++ b/public_test_cases/p03476/input.2.txt
@@ -0,0 +1,5 @@
+4
+13 13
+7 11
+7 11
+2017 2017
diff --git a/public_test_cases/p03476/input.3.txt b/public_test_cases/p03476/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da66f27031a6584ac6e336cffc69188ea4ea7015
--- /dev/null
+++ b/public_test_cases/p03476/input.3.txt
@@ -0,0 +1,7 @@
+6
+1 53
+13 91
+37 55
+19 51
+73 91
+13 49
diff --git a/public_test_cases/p03476/output.0.txt b/public_test_cases/p03476/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03476/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03476/output.1.txt b/public_test_cases/p03476/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03476/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03476/output.2.txt b/public_test_cases/p03476/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..680eb502aaab592f5ffe958c241ee2f1de143aea
--- /dev/null
+++ b/public_test_cases/p03476/output.2.txt
@@ -0,0 +1,4 @@
+1
+0
+0
+1
diff --git a/public_test_cases/p03476/output.3.txt b/public_test_cases/p03476/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10cd9cad6c65cd2ed98c087f452e8c46b6e93e89
--- /dev/null
+++ b/public_test_cases/p03476/output.3.txt
@@ -0,0 +1,6 @@
+4
+4
+1
+1
+1
+2
diff --git a/public_test_cases/p03477/input.0.txt b/public_test_cases/p03477/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f49f804e8bc7161a03ee83227604d7939fcbed8
--- /dev/null
+++ b/public_test_cases/p03477/input.0.txt
@@ -0,0 +1 @@
+3 8 7 1
diff --git a/public_test_cases/p03477/input.1.txt b/public_test_cases/p03477/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f49f804e8bc7161a03ee83227604d7939fcbed8
--- /dev/null
+++ b/public_test_cases/p03477/input.1.txt
@@ -0,0 +1 @@
+3 8 7 1
diff --git a/public_test_cases/p03477/input.2.txt b/public_test_cases/p03477/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b07fe23239f6a9ea30c32050ab511fb6bc88ade
--- /dev/null
+++ b/public_test_cases/p03477/input.2.txt
@@ -0,0 +1 @@
+1 7 6 4
diff --git a/public_test_cases/p03477/input.3.txt b/public_test_cases/p03477/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98eaada3248e94e418b68627934d7925459775ea
--- /dev/null
+++ b/public_test_cases/p03477/input.3.txt
@@ -0,0 +1 @@
+3 4 5 2
diff --git a/public_test_cases/p03477/output.0.txt b/public_test_cases/p03477/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2404dced08c72f0d5e6a1d20bae9ee747b64cd9e
--- /dev/null
+++ b/public_test_cases/p03477/output.0.txt
@@ -0,0 +1 @@
+Left
diff --git a/public_test_cases/p03477/output.1.txt b/public_test_cases/p03477/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2404dced08c72f0d5e6a1d20bae9ee747b64cd9e
--- /dev/null
+++ b/public_test_cases/p03477/output.1.txt
@@ -0,0 +1 @@
+Left
diff --git a/public_test_cases/p03477/output.2.txt b/public_test_cases/p03477/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e966fe0588086241555247b800b91a860b6ba9
--- /dev/null
+++ b/public_test_cases/p03477/output.2.txt
@@ -0,0 +1 @@
+Right
diff --git a/public_test_cases/p03477/output.3.txt b/public_test_cases/p03477/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a7b71018a0d7eeb713418aad48653920e69454d
--- /dev/null
+++ b/public_test_cases/p03477/output.3.txt
@@ -0,0 +1 @@
+Balanced
diff --git a/public_test_cases/p03478/input.0.txt b/public_test_cases/p03478/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dff3d1092a3808b1c68b6f10b1190f757971cc09
--- /dev/null
+++ b/public_test_cases/p03478/input.0.txt
@@ -0,0 +1 @@
+20 2 5
diff --git a/public_test_cases/p03478/input.1.txt b/public_test_cases/p03478/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8a79e2fe3adc6011533af5b1c2c87113ebfc5b9
--- /dev/null
+++ b/public_test_cases/p03478/input.1.txt
@@ -0,0 +1 @@
+10 1 2
diff --git a/public_test_cases/p03478/input.2.txt b/public_test_cases/p03478/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dff3d1092a3808b1c68b6f10b1190f757971cc09
--- /dev/null
+++ b/public_test_cases/p03478/input.2.txt
@@ -0,0 +1 @@
+20 2 5
diff --git a/public_test_cases/p03478/input.3.txt b/public_test_cases/p03478/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c35f0baf03315d623383b194aac5e32045e97d2
--- /dev/null
+++ b/public_test_cases/p03478/input.3.txt
@@ -0,0 +1 @@
+100 4 16
diff --git a/public_test_cases/p03478/output.0.txt b/public_test_cases/p03478/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..871727de1fd703d0c4aab92017011c373e795b67
--- /dev/null
+++ b/public_test_cases/p03478/output.0.txt
@@ -0,0 +1 @@
+84
diff --git a/public_test_cases/p03478/output.1.txt b/public_test_cases/p03478/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03478/output.1.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03478/output.2.txt b/public_test_cases/p03478/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..871727de1fd703d0c4aab92017011c373e795b67
--- /dev/null
+++ b/public_test_cases/p03478/output.2.txt
@@ -0,0 +1 @@
+84
diff --git a/public_test_cases/p03478/output.3.txt b/public_test_cases/p03478/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0fabd4cea154ed852b603352718108f3a97d777
--- /dev/null
+++ b/public_test_cases/p03478/output.3.txt
@@ -0,0 +1 @@
+4554
diff --git a/public_test_cases/p03479/input.0.txt b/public_test_cases/p03479/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5610a8eca0188ab1ee55642852bbd299a586a9f
--- /dev/null
+++ b/public_test_cases/p03479/input.0.txt
@@ -0,0 +1 @@
+3 20
diff --git a/public_test_cases/p03479/input.1.txt b/public_test_cases/p03479/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5610a8eca0188ab1ee55642852bbd299a586a9f
--- /dev/null
+++ b/public_test_cases/p03479/input.1.txt
@@ -0,0 +1 @@
+3 20
diff --git a/public_test_cases/p03479/input.2.txt b/public_test_cases/p03479/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7adc5725bb71dd17295bb922477ae88a73bc4b85
--- /dev/null
+++ b/public_test_cases/p03479/input.2.txt
@@ -0,0 +1 @@
+314159265 358979323846264338
diff --git a/public_test_cases/p03479/input.3.txt b/public_test_cases/p03479/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cb60b71291b52f2caaa3ff535f3b2ba2c1d6df7
--- /dev/null
+++ b/public_test_cases/p03479/input.3.txt
@@ -0,0 +1 @@
+25 100
diff --git a/public_test_cases/p03479/output.0.txt b/public_test_cases/p03479/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03479/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03479/output.1.txt b/public_test_cases/p03479/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03479/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03479/output.2.txt b/public_test_cases/p03479/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e85087affded170efcbc6f9672a6fc671d839ed0
--- /dev/null
+++ b/public_test_cases/p03479/output.2.txt
@@ -0,0 +1 @@
+31
diff --git a/public_test_cases/p03479/output.3.txt b/public_test_cases/p03479/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03479/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03480/input.0.txt b/public_test_cases/p03480/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e8493eaee24931316636bac59fcf63e51482e1f
--- /dev/null
+++ b/public_test_cases/p03480/input.0.txt
@@ -0,0 +1 @@
+010
diff --git a/public_test_cases/p03480/input.1.txt b/public_test_cases/p03480/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea600cb61b366b723c6e331e118865642391327f
--- /dev/null
+++ b/public_test_cases/p03480/input.1.txt
@@ -0,0 +1 @@
+100000000
diff --git a/public_test_cases/p03480/input.2.txt b/public_test_cases/p03480/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e8493eaee24931316636bac59fcf63e51482e1f
--- /dev/null
+++ b/public_test_cases/p03480/input.2.txt
@@ -0,0 +1 @@
+010
diff --git a/public_test_cases/p03480/input.3.txt b/public_test_cases/p03480/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a60ffe5535e3d6b294750c6433f834ae4b91f5e
--- /dev/null
+++ b/public_test_cases/p03480/input.3.txt
@@ -0,0 +1 @@
+00001111
diff --git a/public_test_cases/p03480/output.0.txt b/public_test_cases/p03480/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03480/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03480/output.1.txt b/public_test_cases/p03480/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03480/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03480/output.2.txt b/public_test_cases/p03480/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03480/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03480/output.3.txt b/public_test_cases/p03480/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03480/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03481/input.0.txt b/public_test_cases/p03481/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5610a8eca0188ab1ee55642852bbd299a586a9f
--- /dev/null
+++ b/public_test_cases/p03481/input.0.txt
@@ -0,0 +1 @@
+3 20
diff --git a/public_test_cases/p03481/output.0.txt b/public_test_cases/p03481/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03481/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03482/input.0.txt b/public_test_cases/p03482/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e8493eaee24931316636bac59fcf63e51482e1f
--- /dev/null
+++ b/public_test_cases/p03482/input.0.txt
@@ -0,0 +1 @@
+010
diff --git a/public_test_cases/p03482/output.0.txt b/public_test_cases/p03482/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03482/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03483/input.0.txt b/public_test_cases/p03483/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..debd42be4d75866b71fd8f8b4d38b913cf489cb7
--- /dev/null
+++ b/public_test_cases/p03483/input.0.txt
@@ -0,0 +1 @@
+eel
diff --git a/public_test_cases/p03483/input.1.txt b/public_test_cases/p03483/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..484bd2b8d4cd00915fe830d2fd5177307a08d125
--- /dev/null
+++ b/public_test_cases/p03483/input.1.txt
@@ -0,0 +1 @@
+snuke
diff --git a/public_test_cases/p03483/input.2.txt b/public_test_cases/p03483/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60af058af593c7989c77e7117c3817f1c7541a49
--- /dev/null
+++ b/public_test_cases/p03483/input.2.txt
@@ -0,0 +1 @@
+ataatmma
diff --git a/public_test_cases/p03483/input.3.txt b/public_test_cases/p03483/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..debd42be4d75866b71fd8f8b4d38b913cf489cb7
--- /dev/null
+++ b/public_test_cases/p03483/input.3.txt
@@ -0,0 +1 @@
+eel
diff --git a/public_test_cases/p03483/output.0.txt b/public_test_cases/p03483/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03483/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03483/output.1.txt b/public_test_cases/p03483/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03483/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03483/output.2.txt b/public_test_cases/p03483/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03483/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03483/output.3.txt b/public_test_cases/p03483/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03483/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03484/input.0.txt b/public_test_cases/p03484/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d28f51cfbcaf47face8ddeace7069ce587dca10e
--- /dev/null
+++ b/public_test_cases/p03484/input.0.txt
@@ -0,0 +1,7 @@
+7
+1 2
+2 3
+2 4
+4 5
+4 6
+6 7
diff --git a/public_test_cases/p03484/input.1.txt b/public_test_cases/p03484/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d28f51cfbcaf47face8ddeace7069ce587dca10e
--- /dev/null
+++ b/public_test_cases/p03484/input.1.txt
@@ -0,0 +1,7 @@
+7
+1 2
+2 3
+2 4
+4 5
+4 6
+6 7
diff --git a/public_test_cases/p03484/input.2.txt b/public_test_cases/p03484/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54aabbf1bcc66d652e3e816caa4f34ece45c4eec
--- /dev/null
+++ b/public_test_cases/p03484/input.2.txt
@@ -0,0 +1,10 @@
+10
+1 2
+2 3
+3 4
+2 5
+6 5
+6 7
+7 8
+5 9
+10 5
diff --git a/public_test_cases/p03484/input.3.txt b/public_test_cases/p03484/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9611a27a925cf367f0f0e00ef9c903ecdf061368
--- /dev/null
+++ b/public_test_cases/p03484/input.3.txt
@@ -0,0 +1,8 @@
+8
+1 2
+2 3
+3 4
+4 5
+5 6
+5 7
+5 8
diff --git a/public_test_cases/p03484/output.0.txt b/public_test_cases/p03484/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03484/output.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03484/output.1.txt b/public_test_cases/p03484/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03484/output.1.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03484/output.2.txt b/public_test_cases/p03484/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebcee1a506db729ea7b0e0b6e9b0be36806d16bd
--- /dev/null
+++ b/public_test_cases/p03484/output.2.txt
@@ -0,0 +1 @@
+3 4
diff --git a/public_test_cases/p03484/output.3.txt b/public_test_cases/p03484/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p03484/output.3.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p03485/input.0.txt b/public_test_cases/p03485/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p03485/input.0.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p03485/output.0.txt b/public_test_cases/p03485/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03485/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03486/input.0.txt b/public_test_cases/p03486/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbfae11b38c24e17cc6d0f84720e51ea20686a04
--- /dev/null
+++ b/public_test_cases/p03486/input.0.txt
@@ -0,0 +1,2 @@
+yx
+axy
diff --git a/public_test_cases/p03486/input.1.txt b/public_test_cases/p03486/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80bee1ef336ae6e72b09277069da6da5706e8ff1
--- /dev/null
+++ b/public_test_cases/p03486/input.1.txt
@@ -0,0 +1,2 @@
+ratcode
+atlas
diff --git a/public_test_cases/p03486/input.2.txt b/public_test_cases/p03486/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..efc06dc45723bac27bcb6869878ad00c8e304d64
--- /dev/null
+++ b/public_test_cases/p03486/input.2.txt
@@ -0,0 +1,2 @@
+zzz
+zzz
diff --git a/public_test_cases/p03486/input.3.txt b/public_test_cases/p03486/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a22ca137193b549478c15134eaca9d53896d901b
--- /dev/null
+++ b/public_test_cases/p03486/input.3.txt
@@ -0,0 +1,2 @@
+w
+ww
diff --git a/public_test_cases/p03486/input.4.txt b/public_test_cases/p03486/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80c3a4b7888dd5f353d029024eb827f78c447df9
--- /dev/null
+++ b/public_test_cases/p03486/input.4.txt
@@ -0,0 +1,2 @@
+cd
+abc
diff --git a/public_test_cases/p03486/input.5.txt b/public_test_cases/p03486/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbfae11b38c24e17cc6d0f84720e51ea20686a04
--- /dev/null
+++ b/public_test_cases/p03486/input.5.txt
@@ -0,0 +1,2 @@
+yx
+axy
diff --git a/public_test_cases/p03486/output.0.txt b/public_test_cases/p03486/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03486/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03486/output.1.txt b/public_test_cases/p03486/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03486/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03486/output.2.txt b/public_test_cases/p03486/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03486/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03486/output.3.txt b/public_test_cases/p03486/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03486/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03486/output.4.txt b/public_test_cases/p03486/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03486/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03486/output.5.txt b/public_test_cases/p03486/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03486/output.5.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03487/input.0.txt b/public_test_cases/p03487/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c527d5403ccac6eb909516290ad2a34f0d99684b
--- /dev/null
+++ b/public_test_cases/p03487/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 3 3 3
diff --git a/public_test_cases/p03487/output.0.txt b/public_test_cases/p03487/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03487/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03488/input.0.txt b/public_test_cases/p03488/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c44ccfc3ff65d1a7b7cc30ef4a9ed7604a88512
--- /dev/null
+++ b/public_test_cases/p03488/input.0.txt
@@ -0,0 +1,2 @@
+FTFFTFFF
+4 2
diff --git a/public_test_cases/p03488/output.0.txt b/public_test_cases/p03488/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03488/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03489/input.0.txt b/public_test_cases/p03489/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c527d5403ccac6eb909516290ad2a34f0d99684b
--- /dev/null
+++ b/public_test_cases/p03489/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 3 3 3
diff --git a/public_test_cases/p03489/input.1.txt b/public_test_cases/p03489/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d8f6bf8c2bc65f3d569e7bcec3500bd89632d72
--- /dev/null
+++ b/public_test_cases/p03489/input.1.txt
@@ -0,0 +1,2 @@
+8
+2 7 1 8 2 8 1 8
diff --git a/public_test_cases/p03489/input.2.txt b/public_test_cases/p03489/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8faee6e444a239b1e46632078e2c9378479346c1
--- /dev/null
+++ b/public_test_cases/p03489/input.2.txt
@@ -0,0 +1,2 @@
+1
+1000000000
diff --git a/public_test_cases/p03489/input.3.txt b/public_test_cases/p03489/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5af33054015cd452e8c2a733bfc072d517a634ab
--- /dev/null
+++ b/public_test_cases/p03489/input.3.txt
@@ -0,0 +1,2 @@
+6
+1 2 2 3 3 3
diff --git a/public_test_cases/p03489/input.4.txt b/public_test_cases/p03489/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c527d5403ccac6eb909516290ad2a34f0d99684b
--- /dev/null
+++ b/public_test_cases/p03489/input.4.txt
@@ -0,0 +1,2 @@
+4
+3 3 3 3
diff --git a/public_test_cases/p03489/input.5.txt b/public_test_cases/p03489/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97482d68edadbbdcc5aec97719ca05f267af9dc0
--- /dev/null
+++ b/public_test_cases/p03489/input.5.txt
@@ -0,0 +1,2 @@
+5
+2 4 1 4 2
diff --git a/public_test_cases/p03489/output.0.txt b/public_test_cases/p03489/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03489/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03489/output.1.txt b/public_test_cases/p03489/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03489/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03489/output.2.txt b/public_test_cases/p03489/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03489/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03489/output.3.txt b/public_test_cases/p03489/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03489/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03489/output.4.txt b/public_test_cases/p03489/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03489/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03489/output.5.txt b/public_test_cases/p03489/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03489/output.5.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03490/input.0.txt b/public_test_cases/p03490/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c44ccfc3ff65d1a7b7cc30ef4a9ed7604a88512
--- /dev/null
+++ b/public_test_cases/p03490/input.0.txt
@@ -0,0 +1,2 @@
+FTFFTFFF
+4 2
diff --git a/public_test_cases/p03490/input.1.txt b/public_test_cases/p03490/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f412caddb6150baa9d58a4448bf278d5a6ba7e68
--- /dev/null
+++ b/public_test_cases/p03490/input.1.txt
@@ -0,0 +1,2 @@
+TF
+1 0
diff --git a/public_test_cases/p03490/input.2.txt b/public_test_cases/p03490/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c73464a0f4b9ddc041997c88948652a98445ae5b
--- /dev/null
+++ b/public_test_cases/p03490/input.2.txt
@@ -0,0 +1,2 @@
+FF
+1 0
diff --git a/public_test_cases/p03490/input.3.txt b/public_test_cases/p03490/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e282a3020ebece1b1ce6dc8dc950f2c60cf8e1af
--- /dev/null
+++ b/public_test_cases/p03490/input.3.txt
@@ -0,0 +1,2 @@
+FFTTFF
+0 0
diff --git a/public_test_cases/p03490/input.4.txt b/public_test_cases/p03490/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a19f7f23108676fde2812fc04f4d23511b24a7e
--- /dev/null
+++ b/public_test_cases/p03490/input.4.txt
@@ -0,0 +1,2 @@
+FTFFTFFF
+-2 -2
diff --git a/public_test_cases/p03490/input.5.txt b/public_test_cases/p03490/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9f20fc2890ef3e3063c950eec572af83fd80866
--- /dev/null
+++ b/public_test_cases/p03490/input.5.txt
@@ -0,0 +1,2 @@
+TTTT
+1 0
diff --git a/public_test_cases/p03490/input.6.txt b/public_test_cases/p03490/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c44ccfc3ff65d1a7b7cc30ef4a9ed7604a88512
--- /dev/null
+++ b/public_test_cases/p03490/input.6.txt
@@ -0,0 +1,2 @@
+FTFFTFFF
+4 2
diff --git a/public_test_cases/p03490/output.0.txt b/public_test_cases/p03490/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03490/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03490/output.1.txt b/public_test_cases/p03490/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03490/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03490/output.2.txt b/public_test_cases/p03490/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03490/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03490/output.3.txt b/public_test_cases/p03490/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03490/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03490/output.4.txt b/public_test_cases/p03490/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03490/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03490/output.5.txt b/public_test_cases/p03490/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03490/output.5.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03490/output.6.txt b/public_test_cases/p03490/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03490/output.6.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03491/input.0.txt b/public_test_cases/p03491/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded6d3d775f9a212fcd6464bd34503e8b79253d4
--- /dev/null
+++ b/public_test_cases/p03491/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+00
+01
diff --git a/public_test_cases/p03491/input.1.txt b/public_test_cases/p03491/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cb3b493fa5d86c1207fb01c23f9325795207b44
--- /dev/null
+++ b/public_test_cases/p03491/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+0
+10
+110
diff --git a/public_test_cases/p03491/input.2.txt b/public_test_cases/p03491/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e16acfa7a61fb8e81eb7553eae187a4d4e71b88
--- /dev/null
+++ b/public_test_cases/p03491/input.2.txt
@@ -0,0 +1,3 @@
+2 3
+101
+11
diff --git a/public_test_cases/p03491/input.3.txt b/public_test_cases/p03491/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f825eda8890e0b3b0a810c09494bca0bdc6eecf2
--- /dev/null
+++ b/public_test_cases/p03491/input.3.txt
@@ -0,0 +1,2 @@
+1 2
+11
diff --git a/public_test_cases/p03491/input.4.txt b/public_test_cases/p03491/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8852c82819de2958ee80a1ee54cc86da762170e5
--- /dev/null
+++ b/public_test_cases/p03491/input.4.txt
@@ -0,0 +1,3 @@
+2 2
+00
+11
diff --git a/public_test_cases/p03491/input.5.txt b/public_test_cases/p03491/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8c8efc57ac51b2d853077c2636b744b1573cb95
--- /dev/null
+++ b/public_test_cases/p03491/input.5.txt
@@ -0,0 +1,3 @@
+2 1
+0
+1
diff --git a/public_test_cases/p03491/input.6.txt b/public_test_cases/p03491/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded6d3d775f9a212fcd6464bd34503e8b79253d4
--- /dev/null
+++ b/public_test_cases/p03491/input.6.txt
@@ -0,0 +1,3 @@
+2 2
+00
+01
diff --git a/public_test_cases/p03491/output.0.txt b/public_test_cases/p03491/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03491/output.0.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03491/output.1.txt b/public_test_cases/p03491/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03491/output.1.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03491/output.2.txt b/public_test_cases/p03491/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p03491/output.2.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p03491/output.3.txt b/public_test_cases/p03491/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03491/output.3.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03491/output.4.txt b/public_test_cases/p03491/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p03491/output.4.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p03491/output.5.txt b/public_test_cases/p03491/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p03491/output.5.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p03491/output.6.txt b/public_test_cases/p03491/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03491/output.6.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03492/input.0.txt b/public_test_cases/p03492/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03492/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03492/input.1.txt b/public_test_cases/p03492/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03492/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03492/input.2.txt b/public_test_cases/p03492/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95dc363f3303a461f15965423249ca1335ca414f
--- /dev/null
+++ b/public_test_cases/p03492/input.2.txt
@@ -0,0 +1,6 @@
+6
+1 2
+1 3
+1 4
+2 5
+2 6
diff --git a/public_test_cases/p03492/input.3.txt b/public_test_cases/p03492/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dfada82f41e1e3a36aa0fd3a810f14161932b9ea
--- /dev/null
+++ b/public_test_cases/p03492/input.3.txt
@@ -0,0 +1,7 @@
+7
+1 2
+6 3
+4 5
+1 7
+1 5
+2 3
diff --git a/public_test_cases/p03492/input.4.txt b/public_test_cases/p03492/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e7e919d9086f19d0faf1800efb363a22b6e6b8
--- /dev/null
+++ b/public_test_cases/p03492/input.4.txt
@@ -0,0 +1,4 @@
+4
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p03492/output.0.txt b/public_test_cases/p03492/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03492/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03492/output.1.txt b/public_test_cases/p03492/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03492/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03492/output.2.txt b/public_test_cases/p03492/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p03492/output.2.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p03492/output.3.txt b/public_test_cases/p03492/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4391a3343395552806c91a380a71dcbc6ea9e4b2
--- /dev/null
+++ b/public_test_cases/p03492/output.3.txt
@@ -0,0 +1 @@
+396
diff --git a/public_test_cases/p03492/output.4.txt b/public_test_cases/p03492/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03492/output.4.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03493/input.0.txt b/public_test_cases/p03493/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398050c62c882fa5ebc8d8aaa2e730e70790beeb
--- /dev/null
+++ b/public_test_cases/p03493/input.0.txt
@@ -0,0 +1 @@
+101
diff --git a/public_test_cases/p03493/output.0.txt b/public_test_cases/p03493/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03493/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03494/input.0.txt b/public_test_cases/p03494/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f52145a3c3f9e8bed41db4f396aaf91bbaccba5f
--- /dev/null
+++ b/public_test_cases/p03494/input.0.txt
@@ -0,0 +1,2 @@
+3
+8 12 40
diff --git a/public_test_cases/p03494/input.1.txt b/public_test_cases/p03494/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19a230c0c30e5f6635fb7cdcf00a6f33e26075a5
--- /dev/null
+++ b/public_test_cases/p03494/input.1.txt
@@ -0,0 +1,2 @@
+6
+382253568 723152896 37802240 379425024 404894720 471526144
diff --git a/public_test_cases/p03494/input.2.txt b/public_test_cases/p03494/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c16ac1adc385aace37660a2ad239df8489809846
--- /dev/null
+++ b/public_test_cases/p03494/input.2.txt
@@ -0,0 +1,2 @@
+4
+5 6 8 10
diff --git a/public_test_cases/p03494/input.3.txt b/public_test_cases/p03494/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f52145a3c3f9e8bed41db4f396aaf91bbaccba5f
--- /dev/null
+++ b/public_test_cases/p03494/input.3.txt
@@ -0,0 +1,2 @@
+3
+8 12 40
diff --git a/public_test_cases/p03494/output.0.txt b/public_test_cases/p03494/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03494/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03494/output.1.txt b/public_test_cases/p03494/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03494/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03494/output.2.txt b/public_test_cases/p03494/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03494/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03494/output.3.txt b/public_test_cases/p03494/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03494/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03495/input.0.txt b/public_test_cases/p03495/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..449c2b564bb90a7981b106bec4be17b663963d84
--- /dev/null
+++ b/public_test_cases/p03495/input.0.txt
@@ -0,0 +1,2 @@
+5 2
+1 1 2 2 5
diff --git a/public_test_cases/p03495/output.0.txt b/public_test_cases/p03495/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03495/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03496/input.0.txt b/public_test_cases/p03496/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20d1c1dc5cb33771d34df37c749b2346618d4587
--- /dev/null
+++ b/public_test_cases/p03496/input.0.txt
@@ -0,0 +1,2 @@
+3
+-2 5 -1
diff --git a/public_test_cases/p03496/input.1.txt b/public_test_cases/p03496/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20d1c1dc5cb33771d34df37c749b2346618d4587
--- /dev/null
+++ b/public_test_cases/p03496/input.1.txt
@@ -0,0 +1,2 @@
+3
+-2 5 -1
diff --git a/public_test_cases/p03496/input.2.txt b/public_test_cases/p03496/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f55e257009a79c3e8a18b3cae6c41955ae405297
--- /dev/null
+++ b/public_test_cases/p03496/input.2.txt
@@ -0,0 +1,2 @@
+2
+-1 -3
diff --git a/public_test_cases/p03496/input.3.txt b/public_test_cases/p03496/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b541ffb87392aae1f65a1d55b69720c286393883
--- /dev/null
+++ b/public_test_cases/p03496/input.3.txt
@@ -0,0 +1,2 @@
+5
+0 0 0 0 0
diff --git a/public_test_cases/p03496/output.0.txt b/public_test_cases/p03496/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc68d1023532efd851ea37ea35a60d963b0b0f07
--- /dev/null
+++ b/public_test_cases/p03496/output.0.txt
@@ -0,0 +1,3 @@
+2
+2 3
+3 3
diff --git a/public_test_cases/p03496/output.1.txt b/public_test_cases/p03496/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc68d1023532efd851ea37ea35a60d963b0b0f07
--- /dev/null
+++ b/public_test_cases/p03496/output.1.txt
@@ -0,0 +1,3 @@
+2
+2 3
+3 3
diff --git a/public_test_cases/p03496/output.2.txt b/public_test_cases/p03496/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bdc75bb7ccd0ce3d6e496a8cee296717eaa8448
--- /dev/null
+++ b/public_test_cases/p03496/output.2.txt
@@ -0,0 +1,2 @@
+1
+2 1
diff --git a/public_test_cases/p03496/output.3.txt b/public_test_cases/p03496/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03496/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03497/input.0.txt b/public_test_cases/p03497/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..449c2b564bb90a7981b106bec4be17b663963d84
--- /dev/null
+++ b/public_test_cases/p03497/input.0.txt
@@ -0,0 +1,2 @@
+5 2
+1 1 2 2 5
diff --git a/public_test_cases/p03497/input.1.txt b/public_test_cases/p03497/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccd96e709a27ff72e1eeee68bb2abadadcad495e
--- /dev/null
+++ b/public_test_cases/p03497/input.1.txt
@@ -0,0 +1,2 @@
+4 4
+1 1 2 2
diff --git a/public_test_cases/p03497/input.2.txt b/public_test_cases/p03497/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..449c2b564bb90a7981b106bec4be17b663963d84
--- /dev/null
+++ b/public_test_cases/p03497/input.2.txt
@@ -0,0 +1,2 @@
+5 2
+1 1 2 2 5
diff --git a/public_test_cases/p03497/input.3.txt b/public_test_cases/p03497/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..500b03ca51bd828619f0153b0de8ed9f8900612d
--- /dev/null
+++ b/public_test_cases/p03497/input.3.txt
@@ -0,0 +1,2 @@
+10 3
+5 1 3 2 4 1 1 2 3 4
diff --git a/public_test_cases/p03497/output.0.txt b/public_test_cases/p03497/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03497/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03497/output.1.txt b/public_test_cases/p03497/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03497/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03497/output.2.txt b/public_test_cases/p03497/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03497/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03497/output.3.txt b/public_test_cases/p03497/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03497/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03498/input.0.txt b/public_test_cases/p03498/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20d1c1dc5cb33771d34df37c749b2346618d4587
--- /dev/null
+++ b/public_test_cases/p03498/input.0.txt
@@ -0,0 +1,2 @@
+3
+-2 5 -1
diff --git a/public_test_cases/p03498/output.0.txt b/public_test_cases/p03498/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc68d1023532efd851ea37ea35a60d963b0b0f07
--- /dev/null
+++ b/public_test_cases/p03498/output.0.txt
@@ -0,0 +1,3 @@
+2
+2 3
+3 3
diff --git a/public_test_cases/p03499/input.0.txt b/public_test_cases/p03499/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a9ba555df6514a934861f4fcc1e43a4f4440b7c
--- /dev/null
+++ b/public_test_cases/p03499/input.0.txt
@@ -0,0 +1,2 @@
+2
+0 0
diff --git a/public_test_cases/p03499/input.1.txt b/public_test_cases/p03499/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a9ba555df6514a934861f4fcc1e43a4f4440b7c
--- /dev/null
+++ b/public_test_cases/p03499/input.1.txt
@@ -0,0 +1,2 @@
+2
+0 0
diff --git a/public_test_cases/p03499/input.2.txt b/public_test_cases/p03499/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac7f7c5800268b1ec8747cba695505dc43353a55
--- /dev/null
+++ b/public_test_cases/p03499/input.2.txt
@@ -0,0 +1,2 @@
+31
+0 1 0 2 4 0 4 1 6 4 3 9 7 3 7 2 15 6 12 10 12 16 5 3 20 1 25 20 23 24 23
diff --git a/public_test_cases/p03499/input.3.txt b/public_test_cases/p03499/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15325232991c86717260e7bc6ecadae7c01d7393
--- /dev/null
+++ b/public_test_cases/p03499/input.3.txt
@@ -0,0 +1,2 @@
+5
+0 1 1 0 4
diff --git a/public_test_cases/p03499/output.0.txt b/public_test_cases/p03499/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03499/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03499/output.1.txt b/public_test_cases/p03499/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03499/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03499/output.2.txt b/public_test_cases/p03499/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b5e6a74bd9147eab984f4cff71b583dddc236b1
--- /dev/null
+++ b/public_test_cases/p03499/output.2.txt
@@ -0,0 +1 @@
+730395550
diff --git a/public_test_cases/p03499/output.3.txt b/public_test_cases/p03499/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f906e1845dc9a277bd1a44cddccef74038e38367
--- /dev/null
+++ b/public_test_cases/p03499/output.3.txt
@@ -0,0 +1 @@
+96
diff --git a/public_test_cases/p03500/input.0.txt b/public_test_cases/p03500/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..911d4a5690c28c7d601da255a48b80c8c23f4b0d
--- /dev/null
+++ b/public_test_cases/p03500/input.0.txt
@@ -0,0 +1,2 @@
+2 2
+5 7
diff --git a/public_test_cases/p03500/input.1.txt b/public_test_cases/p03500/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e31b762560f4bcd5716a6749d6c0f92f4382d737
--- /dev/null
+++ b/public_test_cases/p03500/input.1.txt
@@ -0,0 +1,2 @@
+3 4
+10 13 22
diff --git a/public_test_cases/p03500/input.2.txt b/public_test_cases/p03500/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..860cef516cd847c9b79bc7c3c67597370c7acabd
--- /dev/null
+++ b/public_test_cases/p03500/input.2.txt
@@ -0,0 +1,2 @@
+1 100
+10
diff --git a/public_test_cases/p03500/input.3.txt b/public_test_cases/p03500/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af3226d2404c52eac7c405fa6523d180ef6c7803
--- /dev/null
+++ b/public_test_cases/p03500/input.3.txt
@@ -0,0 +1,2 @@
+10 123456789012345678
+228344079825412349 478465001534875275 398048921164061989 329102208281783917 779698519704384319 617456682030809556 561259383338846380 254083246422083141 458181156833851984 502254767369499613
diff --git a/public_test_cases/p03500/input.4.txt b/public_test_cases/p03500/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..911d4a5690c28c7d601da255a48b80c8c23f4b0d
--- /dev/null
+++ b/public_test_cases/p03500/input.4.txt
@@ -0,0 +1,2 @@
+2 2
+5 7
diff --git a/public_test_cases/p03500/output.0.txt b/public_test_cases/p03500/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03500/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03500/output.1.txt b/public_test_cases/p03500/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03500/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03500/output.2.txt b/public_test_cases/p03500/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03500/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03500/output.3.txt b/public_test_cases/p03500/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe98b004fbdec6ab04206008a6ff974efa827ef2
--- /dev/null
+++ b/public_test_cases/p03500/output.3.txt
@@ -0,0 +1 @@
+164286011
diff --git a/public_test_cases/p03500/output.4.txt b/public_test_cases/p03500/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03500/output.4.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03501/input.0.txt b/public_test_cases/p03501/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9741825f3404365f3c0361d1bb4b9a059a6a85a
--- /dev/null
+++ b/public_test_cases/p03501/input.0.txt
@@ -0,0 +1 @@
+7 17 120
diff --git a/public_test_cases/p03501/output.0.txt b/public_test_cases/p03501/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..078fa0fe576b141de649b5439c1fbebbb391dff4
--- /dev/null
+++ b/public_test_cases/p03501/output.0.txt
@@ -0,0 +1 @@
+119
diff --git a/public_test_cases/p03502/input.0.txt b/public_test_cases/p03502/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03502/input.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03502/input.1.txt b/public_test_cases/p03502/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d667b5e3a43281136f8c4150f765871e0f95ee2
--- /dev/null
+++ b/public_test_cases/p03502/input.1.txt
@@ -0,0 +1 @@
+148
diff --git a/public_test_cases/p03502/input.2.txt b/public_test_cases/p03502/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e1617e842ad9a038ec2d8332c6084300a43cb09d
--- /dev/null
+++ b/public_test_cases/p03502/input.2.txt
@@ -0,0 +1 @@
+57
diff --git a/public_test_cases/p03502/input.3.txt b/public_test_cases/p03502/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03502/input.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03502/output.0.txt b/public_test_cases/p03502/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03502/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03502/output.1.txt b/public_test_cases/p03502/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03502/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03502/output.2.txt b/public_test_cases/p03502/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03502/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03502/output.3.txt b/public_test_cases/p03502/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03502/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03503/input.0.txt b/public_test_cases/p03503/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c69a99b514327f698893625e54c3ff221838065b
--- /dev/null
+++ b/public_test_cases/p03503/input.0.txt
@@ -0,0 +1,3 @@
+1
+1 1 0 1 0 0 0 1 0 1
+3 4 5 6 7 8 9 -2 -3 4 -2
diff --git a/public_test_cases/p03503/input.1.txt b/public_test_cases/p03503/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c69a99b514327f698893625e54c3ff221838065b
--- /dev/null
+++ b/public_test_cases/p03503/input.1.txt
@@ -0,0 +1,3 @@
+1
+1 1 0 1 0 0 0 1 0 1
+3 4 5 6 7 8 9 -2 -3 4 -2
diff --git a/public_test_cases/p03503/input.2.txt b/public_test_cases/p03503/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5e881e606de588751853ebd489acf9194f741f7
--- /dev/null
+++ b/public_test_cases/p03503/input.2.txt
@@ -0,0 +1,7 @@
+3
+1 1 1 1 1 1 0 0 1 1
+0 1 0 1 1 1 1 0 1 0
+1 0 1 1 0 1 0 1 0 1
+-8 6 -2 -8 -8 4 8 7 -6 2 2
+-9 2 0 1 7 -5 0 -2 -6 5 5
+6 -6 7 -9 6 -5 8 0 -9 -7 -7
diff --git a/public_test_cases/p03503/input.3.txt b/public_test_cases/p03503/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9453bb82e63b23c8e63e5c7b456f0ebb6321c8a
--- /dev/null
+++ b/public_test_cases/p03503/input.3.txt
@@ -0,0 +1,5 @@
+2
+1 1 1 1 1 0 0 0 0 0
+0 0 0 0 0 1 1 1 1 1
+0 -2 -2 -2 -2 -2 -1 -1 -1 -1 -1
+0 -2 -2 -2 -2 -2 -1 -1 -1 -1 -1
diff --git a/public_test_cases/p03503/output.0.txt b/public_test_cases/p03503/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03503/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03503/output.1.txt b/public_test_cases/p03503/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03503/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03503/output.2.txt b/public_test_cases/p03503/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p03503/output.2.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p03503/output.3.txt b/public_test_cases/p03503/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fbedf693b51d80a9480634ff720815943de9889
--- /dev/null
+++ b/public_test_cases/p03503/output.3.txt
@@ -0,0 +1 @@
+-2
diff --git a/public_test_cases/p03504/input.0.txt b/public_test_cases/p03504/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b4ed085fdfc8fafcfc86dbe7373ae42eee4e4e1
--- /dev/null
+++ b/public_test_cases/p03504/input.0.txt
@@ -0,0 +1,4 @@
+3 2
+1 7 2
+7 8 1
+8 12 1
diff --git a/public_test_cases/p03504/input.1.txt b/public_test_cases/p03504/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c16f880ae5f8530f85980b4708731168adc6550
--- /dev/null
+++ b/public_test_cases/p03504/input.1.txt
@@ -0,0 +1,10 @@
+9 4
+56 60 4
+33 37 2
+89 90 3
+32 43 1
+67 68 3
+49 51 3
+31 32 3
+70 71 1
+11 12 3
diff --git a/public_test_cases/p03504/input.2.txt b/public_test_cases/p03504/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b4ed085fdfc8fafcfc86dbe7373ae42eee4e4e1
--- /dev/null
+++ b/public_test_cases/p03504/input.2.txt
@@ -0,0 +1,4 @@
+3 2
+1 7 2
+7 8 1
+8 12 1
diff --git a/public_test_cases/p03504/input.3.txt b/public_test_cases/p03504/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d50a81967936568c7ebbd4add37bc3e77976d516
--- /dev/null
+++ b/public_test_cases/p03504/input.3.txt
@@ -0,0 +1,4 @@
+3 4
+1 3 2
+3 4 4
+1 4 3
diff --git a/public_test_cases/p03504/output.0.txt b/public_test_cases/p03504/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03504/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03504/output.1.txt b/public_test_cases/p03504/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03504/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03504/output.2.txt b/public_test_cases/p03504/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03504/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03504/output.3.txt b/public_test_cases/p03504/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03504/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03505/input.0.txt b/public_test_cases/p03505/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f6714102b6aa9a1721d8db75950d8d35539ef14
--- /dev/null
+++ b/public_test_cases/p03505/input.0.txt
@@ -0,0 +1 @@
+4000 2000 500
diff --git a/public_test_cases/p03505/input.1.txt b/public_test_cases/p03505/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9894dd65e4edb8334aee4a1ef7aaf35a5eeae813
--- /dev/null
+++ b/public_test_cases/p03505/input.1.txt
@@ -0,0 +1 @@
+4000 500 2000
diff --git a/public_test_cases/p03505/input.2.txt b/public_test_cases/p03505/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f6714102b6aa9a1721d8db75950d8d35539ef14
--- /dev/null
+++ b/public_test_cases/p03505/input.2.txt
@@ -0,0 +1 @@
+4000 2000 500
diff --git a/public_test_cases/p03505/input.3.txt b/public_test_cases/p03505/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4127a6207f47d1798b3d8c04efca6cf931890b4
--- /dev/null
+++ b/public_test_cases/p03505/input.3.txt
@@ -0,0 +1 @@
+1000000000000000000 2 1
diff --git a/public_test_cases/p03505/output.0.txt b/public_test_cases/p03505/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03505/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03505/output.1.txt b/public_test_cases/p03505/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03505/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03505/output.2.txt b/public_test_cases/p03505/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03505/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03505/output.3.txt b/public_test_cases/p03505/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd288f0cb101f6b748f0c04f7ef8db96645e2187
--- /dev/null
+++ b/public_test_cases/p03505/output.3.txt
@@ -0,0 +1 @@
+1999999999999999997
diff --git a/public_test_cases/p03506/input.0.txt b/public_test_cases/p03506/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed9d24952cb1e07b0f6e7a40bee70fa01e904ad
--- /dev/null
+++ b/public_test_cases/p03506/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+5 7
+8 11
+3 9
diff --git a/public_test_cases/p03506/input.1.txt b/public_test_cases/p03506/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed9d24952cb1e07b0f6e7a40bee70fa01e904ad
--- /dev/null
+++ b/public_test_cases/p03506/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+5 7
+8 11
+3 9
diff --git a/public_test_cases/p03506/input.2.txt b/public_test_cases/p03506/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bcc37c07e65317b0c1bf5147b1d3f62008ca828
--- /dev/null
+++ b/public_test_cases/p03506/input.2.txt
@@ -0,0 +1,3 @@
+100000 2
+1 2
+3 4
diff --git a/public_test_cases/p03506/output.0.txt b/public_test_cases/p03506/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b52e52d0a527394fbeea350bb8d1ffc5c1385d05
--- /dev/null
+++ b/public_test_cases/p03506/output.0.txt
@@ -0,0 +1,3 @@
+2
+1
+3
diff --git a/public_test_cases/p03506/output.1.txt b/public_test_cases/p03506/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b52e52d0a527394fbeea350bb8d1ffc5c1385d05
--- /dev/null
+++ b/public_test_cases/p03506/output.1.txt
@@ -0,0 +1,3 @@
+2
+1
+3
diff --git a/public_test_cases/p03506/output.2.txt b/public_test_cases/p03506/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p03506/output.2.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p03507/input.0.txt b/public_test_cases/p03507/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fceb26bc054e691d6345c8e8a7ccb5496e0c6f88
--- /dev/null
+++ b/public_test_cases/p03507/input.0.txt
@@ -0,0 +1,3 @@
+2 6
+20 10
+25 15
diff --git a/public_test_cases/p03507/input.1.txt b/public_test_cases/p03507/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b491249572c66a969a43606ea598811785798d2a
--- /dev/null
+++ b/public_test_cases/p03507/input.1.txt
@@ -0,0 +1,2 @@
+1 1000000000
+1000000000000000000 1000000000
diff --git a/public_test_cases/p03507/input.2.txt b/public_test_cases/p03507/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fceb26bc054e691d6345c8e8a7ccb5496e0c6f88
--- /dev/null
+++ b/public_test_cases/p03507/input.2.txt
@@ -0,0 +1,3 @@
+2 6
+20 10
+25 15
diff --git a/public_test_cases/p03507/input.3.txt b/public_test_cases/p03507/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb72c0836163c249cd32210eca23ab40bf0cee91
--- /dev/null
+++ b/public_test_cases/p03507/input.3.txt
@@ -0,0 +1,4 @@
+3 9
+10 10
+10 10
+10 10
diff --git a/public_test_cases/p03507/output.0.txt b/public_test_cases/p03507/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03507/output.0.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03507/output.1.txt b/public_test_cases/p03507/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a92330e712d125a69a84b863162831f3b882614
--- /dev/null
+++ b/public_test_cases/p03507/output.1.txt
@@ -0,0 +1 @@
+1999999999000000000
diff --git a/public_test_cases/p03507/output.2.txt b/public_test_cases/p03507/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03507/output.2.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03507/output.3.txt b/public_test_cases/p03507/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03507/output.3.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03508/input.0.txt b/public_test_cases/p03508/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61f1030688e0cdad0c72651ae4a79beb87fb5c7c
--- /dev/null
+++ b/public_test_cases/p03508/input.0.txt
@@ -0,0 +1,2 @@
+4 1
+1 3
diff --git a/public_test_cases/p03508/input.1.txt b/public_test_cases/p03508/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61f1030688e0cdad0c72651ae4a79beb87fb5c7c
--- /dev/null
+++ b/public_test_cases/p03508/input.1.txt
@@ -0,0 +1,2 @@
+4 1
+1 3
diff --git a/public_test_cases/p03508/input.2.txt b/public_test_cases/p03508/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a74b3c2309d5dee0e16c0639409cbe4bfd6f1f9e
--- /dev/null
+++ b/public_test_cases/p03508/input.2.txt
@@ -0,0 +1 @@
+2 0
diff --git a/public_test_cases/p03508/input.3.txt b/public_test_cases/p03508/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3402a924278248c0f448cc153414093217922d13
--- /dev/null
+++ b/public_test_cases/p03508/input.3.txt
@@ -0,0 +1,7 @@
+9 6
+1 4
+1 8
+2 5
+3 6
+4 8
+5 7
diff --git a/public_test_cases/p03508/output.0.txt b/public_test_cases/p03508/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03508/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03508/output.1.txt b/public_test_cases/p03508/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03508/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03508/output.2.txt b/public_test_cases/p03508/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03508/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03508/output.3.txt b/public_test_cases/p03508/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03508/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03509/input.0.txt b/public_test_cases/p03509/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..710d668dae59c1a34a662fb59da3ab8e9ab3bf8f
--- /dev/null
+++ b/public_test_cases/p03509/input.0.txt
@@ -0,0 +1,5 @@
+4 75
+1 1
+1 1
+1 1
+1 1
diff --git a/public_test_cases/p03509/input.1.txt b/public_test_cases/p03509/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..207a59e2ba6071a288bd019cd5479647a31ec611
--- /dev/null
+++ b/public_test_cases/p03509/input.1.txt
@@ -0,0 +1,6 @@
+5 60
+6 3
+5 9
+3 4
+7 8
+4 7
diff --git a/public_test_cases/p03509/input.2.txt b/public_test_cases/p03509/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..710d668dae59c1a34a662fb59da3ab8e9ab3bf8f
--- /dev/null
+++ b/public_test_cases/p03509/input.2.txt
@@ -0,0 +1,5 @@
+4 75
+1 1
+1 1
+1 1
+1 1
diff --git a/public_test_cases/p03509/input.3.txt b/public_test_cases/p03509/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84f001e5c5f562f9abff6b8d63db6519cb429031
--- /dev/null
+++ b/public_test_cases/p03509/input.3.txt
@@ -0,0 +1,5 @@
+4 75
+1 1
+1 1
+1 1
+100 1
diff --git a/public_test_cases/p03509/output.0.txt b/public_test_cases/p03509/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03509/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03509/output.1.txt b/public_test_cases/p03509/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03509/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03509/output.2.txt b/public_test_cases/p03509/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03509/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03509/output.3.txt b/public_test_cases/p03509/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03509/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03510/input.0.txt b/public_test_cases/p03510/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6017c95758c88e1f1cbdd33c2cad2236e17aa042
--- /dev/null
+++ b/public_test_cases/p03510/input.0.txt
@@ -0,0 +1,6 @@
+5
+10 20
+40 50
+60 30
+70 40
+90 10
diff --git a/public_test_cases/p03510/input.1.txt b/public_test_cases/p03510/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbb0381cf0a5b107ce7a9be2c3c77acdf4a93f62
--- /dev/null
+++ b/public_test_cases/p03510/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 100
+3 200
+999999999999999 150
+1000000000000000 150
diff --git a/public_test_cases/p03510/input.2.txt b/public_test_cases/p03510/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b09c1fb9e4b59dbe63f9e97f639cc5366c9da49
--- /dev/null
+++ b/public_test_cases/p03510/input.2.txt
@@ -0,0 +1,6 @@
+5
+10 2
+40 5
+60 3
+70 4
+90 1
diff --git a/public_test_cases/p03510/input.3.txt b/public_test_cases/p03510/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6017c95758c88e1f1cbdd33c2cad2236e17aa042
--- /dev/null
+++ b/public_test_cases/p03510/input.3.txt
@@ -0,0 +1,6 @@
+5
+10 20
+40 50
+60 30
+70 40
+90 10
diff --git a/public_test_cases/p03510/output.0.txt b/public_test_cases/p03510/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61f00d8cad3920809f4d992ac3031b3f32e7f10
--- /dev/null
+++ b/public_test_cases/p03510/output.0.txt
@@ -0,0 +1 @@
+90
diff --git a/public_test_cases/p03510/output.1.txt b/public_test_cases/p03510/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03a5b41d9fe4e87abe23d9efba209933c6d1e30f
--- /dev/null
+++ b/public_test_cases/p03510/output.1.txt
@@ -0,0 +1 @@
+299
diff --git a/public_test_cases/p03510/output.2.txt b/public_test_cases/p03510/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03510/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03510/output.3.txt b/public_test_cases/p03510/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d61f00d8cad3920809f4d992ac3031b3f32e7f10
--- /dev/null
+++ b/public_test_cases/p03510/output.3.txt
@@ -0,0 +1 @@
+90
diff --git a/public_test_cases/p03511/input.0.txt b/public_test_cases/p03511/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ec5faf96c57875a4cc7f70bec467886655009ba
--- /dev/null
+++ b/public_test_cases/p03511/input.0.txt
@@ -0,0 +1,3 @@
+6
+at
+code
diff --git a/public_test_cases/p03511/input.1.txt b/public_test_cases/p03511/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bedb767e4d83246b18a3b5725f976df1a59b39a
--- /dev/null
+++ b/public_test_cases/p03511/input.1.txt
@@ -0,0 +1,3 @@
+10
+coin
+age
diff --git a/public_test_cases/p03511/input.2.txt b/public_test_cases/p03511/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52c2726ec96b62acc3b1796592e73355017ae3ef
--- /dev/null
+++ b/public_test_cases/p03511/input.2.txt
@@ -0,0 +1,3 @@
+8
+coding
+festival
diff --git a/public_test_cases/p03511/input.3.txt b/public_test_cases/p03511/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ec5faf96c57875a4cc7f70bec467886655009ba
--- /dev/null
+++ b/public_test_cases/p03511/input.3.txt
@@ -0,0 +1,3 @@
+6
+at
+code
diff --git a/public_test_cases/p03511/input.4.txt b/public_test_cases/p03511/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5ecb11b8db7d75e4438b918741c1e97b16def6c
--- /dev/null
+++ b/public_test_cases/p03511/input.4.txt
@@ -0,0 +1,3 @@
+8
+same
+same
diff --git a/public_test_cases/p03511/output.0.txt b/public_test_cases/p03511/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d78d85841a96936c56142d82884fdd6ed0708e1
--- /dev/null
+++ b/public_test_cases/p03511/output.0.txt
@@ -0,0 +1 @@
+atatat
diff --git a/public_test_cases/p03511/output.1.txt b/public_test_cases/p03511/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..798a698302494d48a25e41cd76c7e31008ef0681
--- /dev/null
+++ b/public_test_cases/p03511/output.1.txt
@@ -0,0 +1 @@
+ageagecoin
diff --git a/public_test_cases/p03511/output.2.txt b/public_test_cases/p03511/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6269d848cb4230d33707cb5d3e2967bfe888cdbd
--- /dev/null
+++ b/public_test_cases/p03511/output.2.txt
@@ -0,0 +1 @@
+festival
diff --git a/public_test_cases/p03511/output.3.txt b/public_test_cases/p03511/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d78d85841a96936c56142d82884fdd6ed0708e1
--- /dev/null
+++ b/public_test_cases/p03511/output.3.txt
@@ -0,0 +1 @@
+atatat
diff --git a/public_test_cases/p03511/output.4.txt b/public_test_cases/p03511/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32f6566a63561b9772561dfaf6f5bf3ef25b3cff
--- /dev/null
+++ b/public_test_cases/p03511/output.4.txt
@@ -0,0 +1 @@
+samesame
diff --git a/public_test_cases/p03512/input.0.txt b/public_test_cases/p03512/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d0731ca3c1fe6ccd5a332d1f0cebb41f48def3f
--- /dev/null
+++ b/public_test_cases/p03512/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 10
+3 -20
+6 15
diff --git a/public_test_cases/p03512/input.1.txt b/public_test_cases/p03512/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..992fe92a183385f1be963bfd8b51a6d34083f829
--- /dev/null
+++ b/public_test_cases/p03512/input.1.txt
@@ -0,0 +1,4 @@
+3
+10 -3
+50 4
+100 -5
diff --git a/public_test_cases/p03512/input.2.txt b/public_test_cases/p03512/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d0731ca3c1fe6ccd5a332d1f0cebb41f48def3f
--- /dev/null
+++ b/public_test_cases/p03512/input.2.txt
@@ -0,0 +1,4 @@
+3
+2 10
+3 -20
+6 15
diff --git a/public_test_cases/p03512/input.3.txt b/public_test_cases/p03512/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..011744587579f7cf73dd06f1083d9ce08d4474be
--- /dev/null
+++ b/public_test_cases/p03512/input.3.txt
@@ -0,0 +1,6 @@
+5
+56 114834
+72 -149861
+100 190757
+192 -132693
+240 133108
diff --git a/public_test_cases/p03512/output.0.txt b/public_test_cases/p03512/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03512/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03512/output.1.txt b/public_test_cases/p03512/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03512/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03512/output.2.txt b/public_test_cases/p03512/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03512/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03512/output.3.txt b/public_test_cases/p03512/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50092ceb6e25782d664d7f73b0d4ff4d38e49fd3
--- /dev/null
+++ b/public_test_cases/p03512/output.3.txt
@@ -0,0 +1 @@
+438699
diff --git a/public_test_cases/p03513/input.0.txt b/public_test_cases/p03513/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74f370568812fccd8266f521dcfe97f9dcca7068
--- /dev/null
+++ b/public_test_cases/p03513/input.0.txt
@@ -0,0 +1,4 @@
+4 3
+1 3
+2 3
+3 4
diff --git a/public_test_cases/p03513/input.1.txt b/public_test_cases/p03513/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c493f0fd7b54ec329cca66552cca00c7d310410d
--- /dev/null
+++ b/public_test_cases/p03513/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+1 3
+2 4
+3 4
+3 5
+4 5
diff --git a/public_test_cases/p03513/input.2.txt b/public_test_cases/p03513/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..599315683914fde4b4132876a4155fcefdb40065
--- /dev/null
+++ b/public_test_cases/p03513/input.2.txt
@@ -0,0 +1,7 @@
+6 6
+1 2
+2 3
+3 4
+4 5
+5 6
+1 6
diff --git a/public_test_cases/p03513/input.3.txt b/public_test_cases/p03513/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74f370568812fccd8266f521dcfe97f9dcca7068
--- /dev/null
+++ b/public_test_cases/p03513/input.3.txt
@@ -0,0 +1,4 @@
+4 3
+1 3
+2 3
+3 4
diff --git a/public_test_cases/p03513/output.0.txt b/public_test_cases/p03513/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03513/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03513/output.1.txt b/public_test_cases/p03513/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03513/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03513/output.2.txt b/public_test_cases/p03513/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p03513/output.2.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p03513/output.3.txt b/public_test_cases/p03513/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03513/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03514/input.0.txt b/public_test_cases/p03514/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c203fc2d5bcbf4c7aa145becba34b43ecedf2922
--- /dev/null
+++ b/public_test_cases/p03514/input.0.txt
@@ -0,0 +1,3 @@
+1
+150000
+108
diff --git a/public_test_cases/p03514/input.1.txt b/public_test_cases/p03514/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c203fc2d5bcbf4c7aa145becba34b43ecedf2922
--- /dev/null
+++ b/public_test_cases/p03514/input.1.txt
@@ -0,0 +1,3 @@
+1
+150000
+108
diff --git a/public_test_cases/p03514/input.2.txt b/public_test_cases/p03514/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cf003eea079b50a9aa0d3c4690afa26bc59aa3a
--- /dev/null
+++ b/public_test_cases/p03514/input.2.txt
@@ -0,0 +1,5 @@
+2
+50000
+50000
+100000
+100000
diff --git a/public_test_cases/p03514/output.0.txt b/public_test_cases/p03514/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..403e007709b8157607659ca7f493f7f6c543c37a
--- /dev/null
+++ b/public_test_cases/p03514/output.0.txt
@@ -0,0 +1 @@
+150000.0
diff --git a/public_test_cases/p03514/output.1.txt b/public_test_cases/p03514/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..403e007709b8157607659ca7f493f7f6c543c37a
--- /dev/null
+++ b/public_test_cases/p03514/output.1.txt
@@ -0,0 +1 @@
+150000.0
diff --git a/public_test_cases/p03514/output.2.txt b/public_test_cases/p03514/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b57b8607d3720dd01f27c1dbf2e987c191763f7
--- /dev/null
+++ b/public_test_cases/p03514/output.2.txt
@@ -0,0 +1 @@
+183333.3333333333
diff --git a/public_test_cases/p03515/input.0.txt b/public_test_cases/p03515/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5728dac989e2d1a5d65d83207be8ba6fb85a2705
--- /dev/null
+++ b/public_test_cases/p03515/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2 10
+2 3 20
diff --git a/public_test_cases/p03515/input.1.txt b/public_test_cases/p03515/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdcd39d9b377c14e0f80c2c3b740991bf897612e
--- /dev/null
+++ b/public_test_cases/p03515/input.1.txt
@@ -0,0 +1,15 @@
+15
+6 3 2
+13 3 1
+1 13 2
+7 1 2
+8 1 1
+2 8 2
+2 12 2
+5 2 2
+2 11 2
+10 2 2
+10 9 1
+9 14 2
+4 14 1
+11 15 2
diff --git a/public_test_cases/p03515/input.2.txt b/public_test_cases/p03515/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aced078f2708b39f5de2f04fc739c12baeda4a2e
--- /dev/null
+++ b/public_test_cases/p03515/input.2.txt
@@ -0,0 +1,19 @@
+19
+19 14 48
+11 19 23
+17 14 30
+7 11 15
+2 19 15
+2 18 21
+19 10 43
+12 11 25
+3 11 4
+5 19 50
+4 11 19
+9 12 29
+14 13 3
+14 6 12
+14 15 14
+5 1 6
+8 18 13
+7 16 14
diff --git a/public_test_cases/p03515/input.3.txt b/public_test_cases/p03515/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5728dac989e2d1a5d65d83207be8ba6fb85a2705
--- /dev/null
+++ b/public_test_cases/p03515/input.3.txt
@@ -0,0 +1,3 @@
+3
+1 2 10
+2 3 20
diff --git a/public_test_cases/p03515/output.0.txt b/public_test_cases/p03515/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de0f597fe17edfa0b193c1d6808ac0e38ae97e2a
--- /dev/null
+++ b/public_test_cases/p03515/output.0.txt
@@ -0,0 +1,3 @@
+20
+30
+30
diff --git a/public_test_cases/p03515/output.1.txt b/public_test_cases/p03515/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b90dc5f87461e14be8887e1befc5512286583897
--- /dev/null
+++ b/public_test_cases/p03515/output.1.txt
@@ -0,0 +1,15 @@
+16
+20
+15
+14
+20
+15
+16
+20
+15
+20
+20
+20
+16
+15
+20
diff --git a/public_test_cases/p03515/output.2.txt b/public_test_cases/p03515/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea08e4aa14569b62156f1c61188c5a8132d57042
--- /dev/null
+++ b/public_test_cases/p03515/output.2.txt
@@ -0,0 +1,19 @@
+103
+237
+71
+263
+370
+193
+231
+207
+299
+358
+295
+299
+54
+368
+220
+220
+319
+237
+370
diff --git a/public_test_cases/p03515/output.3.txt b/public_test_cases/p03515/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de0f597fe17edfa0b193c1d6808ac0e38ae97e2a
--- /dev/null
+++ b/public_test_cases/p03515/output.3.txt
@@ -0,0 +1,3 @@
+20
+30
+30
diff --git a/public_test_cases/p03516/input.0.txt b/public_test_cases/p03516/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17269c1b73e148a9efefecbb001a4ab23684c054
--- /dev/null
+++ b/public_test_cases/p03516/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 2 3 2
diff --git a/public_test_cases/p03516/input.1.txt b/public_test_cases/p03516/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1cf95b947da6b2f4e3c35b608bcfc7018e09162
--- /dev/null
+++ b/public_test_cases/p03516/input.1.txt
@@ -0,0 +1,2 @@
+16
+2 1 3 1 2 1 4 1 1 2 1 1 3 2 4 3
diff --git a/public_test_cases/p03516/input.2.txt b/public_test_cases/p03516/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17269c1b73e148a9efefecbb001a4ab23684c054
--- /dev/null
+++ b/public_test_cases/p03516/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 2 2 3 2
diff --git a/public_test_cases/p03516/output.0.txt b/public_test_cases/p03516/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03516/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03516/output.1.txt b/public_test_cases/p03516/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..114394f710805a44bbfe021dc98ab1cd0f069654
--- /dev/null
+++ b/public_test_cases/p03516/output.1.txt
@@ -0,0 +1 @@
+555275958
diff --git a/public_test_cases/p03516/output.2.txt b/public_test_cases/p03516/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03516/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03517/input.0.txt b/public_test_cases/p03517/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eff71ab09b208b424862fcc7219fcf9e3a262f18
--- /dev/null
+++ b/public_test_cases/p03517/input.0.txt
@@ -0,0 +1,5 @@
+4 3 3
+1 0 1 2
+1 2 10
+2 3 20
+2 4 50
diff --git a/public_test_cases/p03517/input.1.txt b/public_test_cases/p03517/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eff71ab09b208b424862fcc7219fcf9e3a262f18
--- /dev/null
+++ b/public_test_cases/p03517/input.1.txt
@@ -0,0 +1,5 @@
+4 3 3
+1 0 1 2
+1 2 10
+2 3 20
+2 4 50
diff --git a/public_test_cases/p03517/input.2.txt b/public_test_cases/p03517/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70a575b5ccffb0b91e210f6741ccdd771d0d16da
--- /dev/null
+++ b/public_test_cases/p03517/input.2.txt
@@ -0,0 +1,39 @@
+18 37 12
+5 0 4 10 8 7 2 10 6 0 9 12 12 11 11 11 0 1
+17 1 1
+11 16 7575
+11 15 9
+10 10 289938980
+5 10 17376
+18 4 1866625
+8 11 959154208
+18 13 200
+16 13 2
+2 7 982223
+12 12 9331
+13 12 8861390
+14 13 743
+2 10 162440
+2 4 981849
+7 9 1
+14 17 2800
+2 7 7225452
+3 7 85
+5 17 4
+2 13 1
+10 3 45
+1 15 973
+14 7 56553306
+16 17 70476
+7 18 9
+9 13 27911
+18 14 7788322
+11 11 8925
+9 13 654295
+2 10 9
+10 1 545631016
+3 4 5
+17 12 1929
+2 11 57
+1 5 4
+1 17 7807368
diff --git a/public_test_cases/p03517/input.3.txt b/public_test_cases/p03517/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9e5abd7cdec5fc1ca9f0cd05b0ec59ac7c46789
--- /dev/null
+++ b/public_test_cases/p03517/input.3.txt
@@ -0,0 +1,14 @@
+9 12 9
+1 2 3 4 5 6 7 8 9
+6 9 9
+8 9 6
+6 7 85
+9 5 545631016
+2 1 321545
+1 6 33562944
+7 3 84946329
+9 7 15926167
+4 7 53386480
+5 8 70476
+4 6 4549
+4 8 8
diff --git a/public_test_cases/p03517/input.4.txt b/public_test_cases/p03517/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46c3961430afaf51253c74d13486667f641eefbf
--- /dev/null
+++ b/public_test_cases/p03517/input.4.txt
@@ -0,0 +1,4 @@
+5 2 4
+0 0 0 0 0
+1 2 10
+2 3 10
diff --git a/public_test_cases/p03517/output.0.txt b/public_test_cases/p03517/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03517/output.0.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03517/output.1.txt b/public_test_cases/p03517/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03517/output.1.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03517/output.2.txt b/public_test_cases/p03517/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b34c321e9c5c5f00062f7a017f75b611e0b4fb4a
--- /dev/null
+++ b/public_test_cases/p03517/output.2.txt
@@ -0,0 +1 @@
+171
diff --git a/public_test_cases/p03517/output.3.txt b/public_test_cases/p03517/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a6c1fa952ac7981606c312bd76cba8656299980
--- /dev/null
+++ b/public_test_cases/p03517/output.3.txt
@@ -0,0 +1 @@
+118901402
diff --git a/public_test_cases/p03517/output.4.txt b/public_test_cases/p03517/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03517/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03518/input.0.txt b/public_test_cases/p03518/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76f19b9c1121c6f707a58d59ab73eb0947785ab5
--- /dev/null
+++ b/public_test_cases/p03518/input.0.txt
@@ -0,0 +1,2 @@
+5
+4 2 0 1 3
diff --git a/public_test_cases/p03518/input.1.txt b/public_test_cases/p03518/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5099ae4b127bed4320a3473ff269a55fff84b417
--- /dev/null
+++ b/public_test_cases/p03518/input.1.txt
@@ -0,0 +1,2 @@
+9
+1 0 4 3 5 6 2 8 7
diff --git a/public_test_cases/p03518/input.2.txt b/public_test_cases/p03518/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76f19b9c1121c6f707a58d59ab73eb0947785ab5
--- /dev/null
+++ b/public_test_cases/p03518/input.2.txt
@@ -0,0 +1,2 @@
+5
+4 2 0 1 3
diff --git a/public_test_cases/p03518/output.0.txt b/public_test_cases/p03518/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb9c9327ee8915396de35ff329b65c83274079bc
--- /dev/null
+++ b/public_test_cases/p03518/output.0.txt
@@ -0,0 +1,5 @@
+4
+2
+3
+1
+2
diff --git a/public_test_cases/p03518/output.1.txt b/public_test_cases/p03518/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9fc5932bf5d1fc71a8ec02f9ada82f6364e1a74
--- /dev/null
+++ b/public_test_cases/p03518/output.1.txt
@@ -0,0 +1,12 @@
+11
+3
+6
+1
+3
+5
+2
+4
+7
+8
+6
+3
diff --git a/public_test_cases/p03518/output.2.txt b/public_test_cases/p03518/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb9c9327ee8915396de35ff329b65c83274079bc
--- /dev/null
+++ b/public_test_cases/p03518/output.2.txt
@@ -0,0 +1,5 @@
+4
+2
+3
+1
+2
diff --git a/public_test_cases/p03519/input.0.txt b/public_test_cases/p03519/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9ca582e8a66e1a6e10f834a6c4306f21d779659
--- /dev/null
+++ b/public_test_cases/p03519/input.0.txt
@@ -0,0 +1,5 @@
+2 2
+1 1 7 3
+4 2 3 3
+2 4 6
+3 2 5
diff --git a/public_test_cases/p03519/input.1.txt b/public_test_cases/p03519/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9ca582e8a66e1a6e10f834a6c4306f21d779659
--- /dev/null
+++ b/public_test_cases/p03519/input.1.txt
@@ -0,0 +1,5 @@
+2 2
+1 1 7 3
+4 2 3 3
+2 4 6
+3 2 5
diff --git a/public_test_cases/p03519/input.2.txt b/public_test_cases/p03519/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce2dd44b18abc47ad41778fb031181a0f7c43473
--- /dev/null
+++ b/public_test_cases/p03519/input.2.txt
@@ -0,0 +1,10 @@
+7 7
+34 -20 -27 42 44 29 9 11 20 44 27 19 -31 -29
+46 -50 -11 20 28 46 12 13 33 -22 -48 -27 35 -17
+7 27 34
+12 -2 22
+4 -50 -12
+3 -32 15
+8 -7 23
+3 -30 11
+4 -2 23
diff --git a/public_test_cases/p03519/output.0.txt b/public_test_cases/p03519/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2de525e8598cc86ffc221bd5689677d5fc94b7f
--- /dev/null
+++ b/public_test_cases/p03519/output.0.txt
@@ -0,0 +1,2 @@
+15
+15
diff --git a/public_test_cases/p03519/output.1.txt b/public_test_cases/p03519/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2de525e8598cc86ffc221bd5689677d5fc94b7f
--- /dev/null
+++ b/public_test_cases/p03519/output.1.txt
@@ -0,0 +1,2 @@
+15
+15
diff --git a/public_test_cases/p03519/output.2.txt b/public_test_cases/p03519/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ebf23be92134abdad07567515e830798eb41653
--- /dev/null
+++ b/public_test_cases/p03519/output.2.txt
@@ -0,0 +1,7 @@
+311
+312
+260
+286
+296
+292
+327
diff --git a/public_test_cases/p03520/input.0.txt b/public_test_cases/p03520/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc17309e03ab880bd9f2bc669fad6165c01a963f
--- /dev/null
+++ b/public_test_cases/p03520/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 2
+2 3
+3 4
+8 6 6 8
diff --git a/public_test_cases/p03520/input.1.txt b/public_test_cases/p03520/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc17309e03ab880bd9f2bc669fad6165c01a963f
--- /dev/null
+++ b/public_test_cases/p03520/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 2
+2 3
+3 4
+8 6 6 8
diff --git a/public_test_cases/p03520/input.2.txt b/public_test_cases/p03520/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6808d49841e7848e2e6172e6581893269e3bcdb2
--- /dev/null
+++ b/public_test_cases/p03520/input.2.txt
@@ -0,0 +1,16 @@
+15
+9 10
+9 15
+15 4
+4 13
+13 2
+13 11
+2 14
+13 6
+11 1
+1 12
+12 3
+12 7
+2 5
+14 8
+1154 890 2240 883 2047 2076 1590 1104 1726 1791 1091 1226 841 1000 901
diff --git a/public_test_cases/p03520/input.3.txt b/public_test_cases/p03520/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6c217f8e3b77b083b71d9495a5bc1764989028a
--- /dev/null
+++ b/public_test_cases/p03520/input.3.txt
@@ -0,0 +1,6 @@
+5
+1 2
+1 3
+1 4
+1 5
+10 13 16 19 22
diff --git a/public_test_cases/p03520/output.0.txt b/public_test_cases/p03520/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e13c5bfaa64f706a467fbfed13e3c609dc07a95e
--- /dev/null
+++ b/public_test_cases/p03520/output.0.txt
@@ -0,0 +1,3 @@
+1
+2
+1
diff --git a/public_test_cases/p03520/output.1.txt b/public_test_cases/p03520/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e13c5bfaa64f706a467fbfed13e3c609dc07a95e
--- /dev/null
+++ b/public_test_cases/p03520/output.1.txt
@@ -0,0 +1,3 @@
+1
+2
+1
diff --git a/public_test_cases/p03520/output.2.txt b/public_test_cases/p03520/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44cac8f822297058a9eefec62e7226a85a6105a9
--- /dev/null
+++ b/public_test_cases/p03520/output.2.txt
@@ -0,0 +1,14 @@
+5
+75
+2
+6
+7
+50
+10
+95
+9
+8
+78
+28
+89
+8
diff --git a/public_test_cases/p03520/output.3.txt b/public_test_cases/p03520/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94ebaf900161394059478fd88aec30e59092a1d7
--- /dev/null
+++ b/public_test_cases/p03520/output.3.txt
@@ -0,0 +1,4 @@
+1
+2
+3
+4
diff --git a/public_test_cases/p03521/input.0.txt b/public_test_cases/p03521/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ddda174dd5e1026d745abfdcfe61a3b55b47df9
--- /dev/null
+++ b/public_test_cases/p03521/input.0.txt
@@ -0,0 +1,4 @@
+4
+1
+2
+3
diff --git a/public_test_cases/p03521/input.1.txt b/public_test_cases/p03521/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ddda174dd5e1026d745abfdcfe61a3b55b47df9
--- /dev/null
+++ b/public_test_cases/p03521/input.1.txt
@@ -0,0 +1,4 @@
+4
+1
+2
+3
diff --git a/public_test_cases/p03521/input.2.txt b/public_test_cases/p03521/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75ecbffa90d621c30ef75df6ceefd48db73796fc
--- /dev/null
+++ b/public_test_cases/p03521/input.2.txt
@@ -0,0 +1,15 @@
+15
+1
+2
+3
+1
+4
+2
+7
+1
+8
+2
+8
+1
+8
+2
diff --git a/public_test_cases/p03521/input.3.txt b/public_test_cases/p03521/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0571a2e15a712887514f5eabbbe731a4b1b70672
--- /dev/null
+++ b/public_test_cases/p03521/input.3.txt
@@ -0,0 +1,3 @@
+3
+1
+2
diff --git a/public_test_cases/p03521/input.4.txt b/public_test_cases/p03521/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64eb98e01950ec244ef7c2ed00aae375286da9fc
--- /dev/null
+++ b/public_test_cases/p03521/input.4.txt
@@ -0,0 +1,5 @@
+5
+1
+1
+3
+3
diff --git a/public_test_cases/p03521/output.0.txt b/public_test_cases/p03521/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03521/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03521/output.1.txt b/public_test_cases/p03521/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03521/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03521/output.2.txt b/public_test_cases/p03521/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79222e578d1b2e977eb4dede36af36c97efee3e7
--- /dev/null
+++ b/public_test_cases/p03521/output.2.txt
@@ -0,0 +1 @@
+97193524
diff --git a/public_test_cases/p03521/output.3.txt b/public_test_cases/p03521/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03521/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03521/output.4.txt b/public_test_cases/p03521/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03521/output.4.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03522/input.0.txt b/public_test_cases/p03522/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9c78ddc7d5fe4c96e42bf17a8f52e9bce9b9405
--- /dev/null
+++ b/public_test_cases/p03522/input.0.txt
@@ -0,0 +1,6 @@
+5
+4
+1
+8
+8
+7
diff --git a/public_test_cases/p03522/input.1.txt b/public_test_cases/p03522/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41d4c1d8eb05a6a1d01049b22cd28de28909cb56
--- /dev/null
+++ b/public_test_cases/p03522/input.1.txt
@@ -0,0 +1,21 @@
+20
+8
+2
+9
+7
+4
+6
+7
+9
+7
+4
+7
+4
+4
+3
+6
+2
+3
+4
+4
+9
diff --git a/public_test_cases/p03522/input.2.txt b/public_test_cases/p03522/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f9c78ddc7d5fe4c96e42bf17a8f52e9bce9b9405
--- /dev/null
+++ b/public_test_cases/p03522/input.2.txt
@@ -0,0 +1,6 @@
+5
+4
+1
+8
+8
+7
diff --git a/public_test_cases/p03522/output.0.txt b/public_test_cases/p03522/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03522/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03522/output.1.txt b/public_test_cases/p03522/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8fa06e1be7da01425d2be19da24595de2fa02c2
--- /dev/null
+++ b/public_test_cases/p03522/output.1.txt
@@ -0,0 +1 @@
+62
diff --git a/public_test_cases/p03522/output.2.txt b/public_test_cases/p03522/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03522/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03523/input.0.txt b/public_test_cases/p03523/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd1ba0ef412fe717e0a1e7edf982e09973beff4
--- /dev/null
+++ b/public_test_cases/p03523/input.0.txt
@@ -0,0 +1 @@
+KIHBR
diff --git a/public_test_cases/p03523/input.1.txt b/public_test_cases/p03523/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6ae4b40d0f95f7599e91f91cc5b0dd9499f4b06
--- /dev/null
+++ b/public_test_cases/p03523/input.1.txt
@@ -0,0 +1 @@
+AKIBAHARA
diff --git a/public_test_cases/p03523/input.2.txt b/public_test_cases/p03523/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd1ba0ef412fe717e0a1e7edf982e09973beff4
--- /dev/null
+++ b/public_test_cases/p03523/input.2.txt
@@ -0,0 +1 @@
+KIHBR
diff --git a/public_test_cases/p03523/input.3.txt b/public_test_cases/p03523/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e11cbe157f8ce8878db5c9c00607353bde1cc9a8
--- /dev/null
+++ b/public_test_cases/p03523/input.3.txt
@@ -0,0 +1 @@
+AAKIAHBAARA
diff --git a/public_test_cases/p03523/output.0.txt b/public_test_cases/p03523/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03523/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03523/output.1.txt b/public_test_cases/p03523/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03523/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03523/output.2.txt b/public_test_cases/p03523/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03523/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03523/output.3.txt b/public_test_cases/p03523/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03523/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03524/input.0.txt b/public_test_cases/p03524/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54c125dfc6659ff8228cfc17d1e5d026598d0b85
--- /dev/null
+++ b/public_test_cases/p03524/input.0.txt
@@ -0,0 +1 @@
+abac
diff --git a/public_test_cases/p03524/output.0.txt b/public_test_cases/p03524/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03524/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03525/input.0.txt b/public_test_cases/p03525/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74374010e99818ed82d5fa905c10f9835d89248d
--- /dev/null
+++ b/public_test_cases/p03525/input.0.txt
@@ -0,0 +1,2 @@
+3
+7 12 8
diff --git a/public_test_cases/p03525/output.0.txt b/public_test_cases/p03525/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03525/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03526/input.0.txt b/public_test_cases/p03526/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205aa8e6d9f6fee94354e4e57355a24a9f185ccf
--- /dev/null
+++ b/public_test_cases/p03526/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 2
+1 3
+3 4
diff --git a/public_test_cases/p03526/input.1.txt b/public_test_cases/p03526/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a91dd2989eccee9a9bcfb82d7c695629a4d9596d
--- /dev/null
+++ b/public_test_cases/p03526/input.1.txt
@@ -0,0 +1,4 @@
+3
+2 4
+3 1
+4 1
diff --git a/public_test_cases/p03526/input.2.txt b/public_test_cases/p03526/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00a02cf51af3f231386e27fbf7e22ba7aab2d93c
--- /dev/null
+++ b/public_test_cases/p03526/input.2.txt
@@ -0,0 +1,11 @@
+10
+1 3
+8 4
+8 3
+9 1
+6 4
+2 3
+4 2
+9 2
+8 3
+0 1
diff --git a/public_test_cases/p03526/input.3.txt b/public_test_cases/p03526/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205aa8e6d9f6fee94354e4e57355a24a9f185ccf
--- /dev/null
+++ b/public_test_cases/p03526/input.3.txt
@@ -0,0 +1,4 @@
+3
+0 2
+1 3
+3 4
diff --git a/public_test_cases/p03526/output.0.txt b/public_test_cases/p03526/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03526/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03526/output.1.txt b/public_test_cases/p03526/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03526/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03526/output.2.txt b/public_test_cases/p03526/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03526/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03526/output.3.txt b/public_test_cases/p03526/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03526/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03527/input.0.txt b/public_test_cases/p03527/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c38531df690dbc69e7ebf4809ef264b4ed269212
--- /dev/null
+++ b/public_test_cases/p03527/input.0.txt
@@ -0,0 +1,4 @@
+bixzja
+2
+2 3
+3 6
diff --git a/public_test_cases/p03527/output.0.txt b/public_test_cases/p03527/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03527/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03529/input.0.txt b/public_test_cases/p03529/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03529/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03529/input.1.txt b/public_test_cases/p03529/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..484ac97d06c09604060ad60b3f216bf7724bbc0f
--- /dev/null
+++ b/public_test_cases/p03529/input.1.txt
@@ -0,0 +1 @@
+20 17
diff --git a/public_test_cases/p03529/input.2.txt b/public_test_cases/p03529/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03529/input.2.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03529/output.0.txt b/public_test_cases/p03529/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03529/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03529/output.1.txt b/public_test_cases/p03529/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8312820b968a9e72a863071add3eec5e8742f3a3
--- /dev/null
+++ b/public_test_cases/p03529/output.1.txt
@@ -0,0 +1 @@
+983853488
diff --git a/public_test_cases/p03529/output.2.txt b/public_test_cases/p03529/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03529/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03530/input.0.txt b/public_test_cases/p03530/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9d5d0225822c890dec663f97fde4f2ca853c10a
--- /dev/null
+++ b/public_test_cases/p03530/input.0.txt
@@ -0,0 +1,4 @@
+3 3
++#+
+#P#
++#+
diff --git a/public_test_cases/p03530/input.1.txt b/public_test_cases/p03530/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9d5d0225822c890dec663f97fde4f2ca853c10a
--- /dev/null
+++ b/public_test_cases/p03530/input.1.txt
@@ -0,0 +1,4 @@
+3 3
++#+
+#P#
++#+
diff --git a/public_test_cases/p03530/input.2.txt b/public_test_cases/p03530/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..545202ea75b8f8c02a991e10f17bda1544724dab
--- /dev/null
+++ b/public_test_cases/p03530/input.2.txt
@@ -0,0 +1,41 @@
+40 40
+++#+++++#+#+#+##+++++++##+#+++#++##++##
++##++++++++++#+###+##++++#+++++++++#++##
++++#+++++#++#++####+++#+#+###+++##+++#++
++++#+######++##+#+##+#+++#+++++++++#++#+
++++##+#+#++#+++#++++##+++++++++#++#+#+#+
+++#+++#+#++++##+#+#+++##+#+##+#++++##++
+++#+##+++#++####+#++##++#+++#+#+#++++#++
++#+###++++++##++++++#++##+#####++#++##++
++##+#+++#+#+##++#+###+######++++#+###+
++++#+++##+#####+#+#++++#+#+++++#+##++##+
++++#+##+++++++#++#++++++++++###+#++#+#+
++++##++#+++++#++++#++#+##++#+#+#++##+#
++++#+###+++++##++#+#+++####+#+++++#+++
++++#++#++#+++++++++#++###++++++++###+##+
+++#+++#++++++#####++##++#+++#+++++#++++#
+++#++#+##++++#####+###+++####+#+#+######
+++++++##+++++##+++++#++###++#++##+++++++
++#++++##++++++#++++#+#++++#++++##+++##+#
++++++++#+#++##+##+#+++++++###+###++##+++
+++++++#++###+#+#+++##+#++++++#++#+#++#+#
++##++++++#+++++#++#+#++##+++#+#+++##+#
++++#+#+##+#+##++#P#++#++++++##++#+#++##
++++#++##+##+#++++#++#++##++++++#+#+#+++
+++++####+#++#####+++#+###+#++###++++#++#
++#++####++##++#+#+#+##+#+#+##++++##++#+
++###+###+#+##+++#++++++#+#++++###+#+++++
++++#+++++#+++#+++++##++++++++###++#+#+++
++#+#++#+#++++++###+#++##+#+##+##+#+#####
+++++++++#+#+###+######++#++#+++++++++++
++++##+#+#++#++#++#++++++#++##+#+#++###
++#+#+#+++++++#+++++++######+##++#++##+##
+++#+++#+###+#++###+++#+++#+#++++#+###+++
++#+###++#+#####+++++#+####++#++#+###+++
++#+##+#++#++##+++++++######++#++++++++++
++####+#+#+++++##+#+#++#+#++#+++##++++#+#
+++##++#+#+++++##+#++++####+++++###+#+#+
++#++#++#+##+#+#++##++###+###+#+++++##+
+++###+###+#+#++#++#########+++###+#+##
++++#+++#++++++++++#+#+++#++#++###+####+#
+++##+###+++++++##+++++#++#++++++++++++++
diff --git a/public_test_cases/p03530/input.3.txt b/public_test_cases/p03530/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38d1eefac98dcecc951518fa4f7382c60532b493
--- /dev/null
+++ b/public_test_cases/p03530/input.3.txt
@@ -0,0 +1,7 @@
+6 6
++++++
++++#++
++++++
++++P+#
++##+++
+++++#+
diff --git a/public_test_cases/p03530/input.4.txt b/public_test_cases/p03530/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf2fb9fc4d9e78266eeecb644cfaf0c680f039f2
--- /dev/null
+++ b/public_test_cases/p03530/input.4.txt
@@ -0,0 +1,4 @@
+3 3
++#+
+P#
++#+
diff --git a/public_test_cases/p03530/input.5.txt b/public_test_cases/p03530/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64728ad0f41a0a75b03863329ad8cfcd07666d4b
--- /dev/null
+++ b/public_test_cases/p03530/input.5.txt
@@ -0,0 +1,2 @@
+1 1
+P
diff --git a/public_test_cases/p03530/output.0.txt b/public_test_cases/p03530/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03530/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03530/output.1.txt b/public_test_cases/p03530/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03530/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03530/output.2.txt b/public_test_cases/p03530/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b9cba4ae554a6be2a83e312864d17476f13431a
--- /dev/null
+++ b/public_test_cases/p03530/output.2.txt
@@ -0,0 +1 @@
+151
diff --git a/public_test_cases/p03530/output.3.txt b/public_test_cases/p03530/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03530/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03530/output.4.txt b/public_test_cases/p03530/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03530/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03530/output.5.txt b/public_test_cases/p03530/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03530/output.5.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03531/input.0.txt b/public_test_cases/p03531/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c8e60dbf0b4bb05f452c426ddc5fc38e4cc5c3b
--- /dev/null
+++ b/public_test_cases/p03531/input.0.txt
@@ -0,0 +1,2 @@
+3
+0 3 0 6 0 0 0 8
diff --git a/public_test_cases/p03531/input.1.txt b/public_test_cases/p03531/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bdc75bb7ccd0ce3d6e496a8cee296717eaa8448
--- /dev/null
+++ b/public_test_cases/p03531/input.1.txt
@@ -0,0 +1,2 @@
+1
+2 1
diff --git a/public_test_cases/p03531/input.2.txt b/public_test_cases/p03531/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c8e60dbf0b4bb05f452c426ddc5fc38e4cc5c3b
--- /dev/null
+++ b/public_test_cases/p03531/input.2.txt
@@ -0,0 +1,2 @@
+3
+0 3 0 6 0 0 0 8
diff --git a/public_test_cases/p03531/output.0.txt b/public_test_cases/p03531/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7e47ea5eee5805b5f26c80c36dc067d05d353de
--- /dev/null
+++ b/public_test_cases/p03531/output.0.txt
@@ -0,0 +1,2 @@
+YES
+3 4 8 6 2 1 7 5
diff --git a/public_test_cases/p03531/output.1.txt b/public_test_cases/p03531/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03531/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03531/output.2.txt b/public_test_cases/p03531/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7e47ea5eee5805b5f26c80c36dc067d05d353de
--- /dev/null
+++ b/public_test_cases/p03531/output.2.txt
@@ -0,0 +1,2 @@
+YES
+3 4 8 6 2 1 7 5
diff --git a/public_test_cases/p03532/input.0.txt b/public_test_cases/p03532/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e3b48f72e3a66198273aec01f34d32dfa338591
--- /dev/null
+++ b/public_test_cases/p03532/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 3 5 1
+1 2 1
+2 3 2
+3 4 3
diff --git a/public_test_cases/p03532/input.1.txt b/public_test_cases/p03532/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e3b48f72e3a66198273aec01f34d32dfa338591
--- /dev/null
+++ b/public_test_cases/p03532/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 3 5 1
+1 2 1
+2 3 2
+3 4 3
diff --git a/public_test_cases/p03532/input.2.txt b/public_test_cases/p03532/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..baa4e18d2169e5bd91b4ba98439963e8a0714b4d
--- /dev/null
+++ b/public_test_cases/p03532/input.2.txt
@@ -0,0 +1,7 @@
+6
+44 23 31 29 32 15
+1 2 10
+1 3 12
+1 4 16
+4 5 8
+4 6 15
diff --git a/public_test_cases/p03532/input.3.txt b/public_test_cases/p03532/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a51265326ba97b54e9ffc74260be46c29eb6352
--- /dev/null
+++ b/public_test_cases/p03532/input.3.txt
@@ -0,0 +1,3 @@
+2
+1000000000 1000000000
+2 1 1000000000
diff --git a/public_test_cases/p03532/output.0.txt b/public_test_cases/p03532/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03532/output.0.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03532/output.1.txt b/public_test_cases/p03532/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03532/output.1.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03532/output.2.txt b/public_test_cases/p03532/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf7ff50f7096c769562fad5129339959761946c2
--- /dev/null
+++ b/public_test_cases/p03532/output.2.txt
@@ -0,0 +1 @@
+359
diff --git a/public_test_cases/p03532/output.3.txt b/public_test_cases/p03532/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1911b6e1e0b6ba372db173e7dcb15d7f609827d2
--- /dev/null
+++ b/public_test_cases/p03532/output.3.txt
@@ -0,0 +1 @@
+3000000000
diff --git a/public_test_cases/p03533/input.0.txt b/public_test_cases/p03533/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fd1ba0ef412fe717e0a1e7edf982e09973beff4
--- /dev/null
+++ b/public_test_cases/p03533/input.0.txt
@@ -0,0 +1 @@
+KIHBR
diff --git a/public_test_cases/p03533/output.0.txt b/public_test_cases/p03533/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03533/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03534/input.0.txt b/public_test_cases/p03534/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54c125dfc6659ff8228cfc17d1e5d026598d0b85
--- /dev/null
+++ b/public_test_cases/p03534/input.0.txt
@@ -0,0 +1 @@
+abac
diff --git a/public_test_cases/p03534/input.1.txt b/public_test_cases/p03534/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9265f8251cfab3529825e5c708c15c55801bed5
--- /dev/null
+++ b/public_test_cases/p03534/input.1.txt
@@ -0,0 +1 @@
+aba
diff --git a/public_test_cases/p03534/input.2.txt b/public_test_cases/p03534/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54c125dfc6659ff8228cfc17d1e5d026598d0b85
--- /dev/null
+++ b/public_test_cases/p03534/input.2.txt
@@ -0,0 +1 @@
+abac
diff --git a/public_test_cases/p03534/input.3.txt b/public_test_cases/p03534/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9796b69f56e9e4f35abe49ce7cc5cc9bbbb71c80
--- /dev/null
+++ b/public_test_cases/p03534/input.3.txt
@@ -0,0 +1 @@
+babacccabab
diff --git a/public_test_cases/p03534/output.0.txt b/public_test_cases/p03534/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03534/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03534/output.1.txt b/public_test_cases/p03534/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03534/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03534/output.2.txt b/public_test_cases/p03534/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03534/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03534/output.3.txt b/public_test_cases/p03534/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03534/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03535/input.0.txt b/public_test_cases/p03535/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74374010e99818ed82d5fa905c10f9835d89248d
--- /dev/null
+++ b/public_test_cases/p03535/input.0.txt
@@ -0,0 +1,2 @@
+3
+7 12 8
diff --git a/public_test_cases/p03535/input.1.txt b/public_test_cases/p03535/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29a40133fb1a10cfca50f70519e1af98b013dd34
--- /dev/null
+++ b/public_test_cases/p03535/input.1.txt
@@ -0,0 +1,2 @@
+2
+11 11
diff --git a/public_test_cases/p03535/input.2.txt b/public_test_cases/p03535/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74374010e99818ed82d5fa905c10f9835d89248d
--- /dev/null
+++ b/public_test_cases/p03535/input.2.txt
@@ -0,0 +1,2 @@
+3
+7 12 8
diff --git a/public_test_cases/p03535/input.3.txt b/public_test_cases/p03535/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b261da18d51a39dc2cf0d156791e9c0b35dd83f4
--- /dev/null
+++ b/public_test_cases/p03535/input.3.txt
@@ -0,0 +1,2 @@
+1
+0
diff --git a/public_test_cases/p03535/output.0.txt b/public_test_cases/p03535/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03535/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03535/output.1.txt b/public_test_cases/p03535/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03535/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03535/output.2.txt b/public_test_cases/p03535/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03535/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03535/output.3.txt b/public_test_cases/p03535/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03535/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03536/input.0.txt b/public_test_cases/p03536/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..205aa8e6d9f6fee94354e4e57355a24a9f185ccf
--- /dev/null
+++ b/public_test_cases/p03536/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 2
+1 3
+3 4
diff --git a/public_test_cases/p03536/output.0.txt b/public_test_cases/p03536/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03536/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03537/input.0.txt b/public_test_cases/p03537/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c38531df690dbc69e7ebf4809ef264b4ed269212
--- /dev/null
+++ b/public_test_cases/p03537/input.0.txt
@@ -0,0 +1,4 @@
+bixzja
+2
+2 3
+3 6
diff --git a/public_test_cases/p03537/input.1.txt b/public_test_cases/p03537/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c38531df690dbc69e7ebf4809ef264b4ed269212
--- /dev/null
+++ b/public_test_cases/p03537/input.1.txt
@@ -0,0 +1,4 @@
+bixzja
+2
+2 3
+3 6
diff --git a/public_test_cases/p03537/input.2.txt b/public_test_cases/p03537/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01bfdecd44aff92015c9cc2eb03fbad9dc01d279
--- /dev/null
+++ b/public_test_cases/p03537/input.2.txt
@@ -0,0 +1,3 @@
+abc
+1
+2 2
diff --git a/public_test_cases/p03537/input.3.txt b/public_test_cases/p03537/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b37183035bb583fd4dec438d87b65443d21df0a
--- /dev/null
+++ b/public_test_cases/p03537/input.3.txt
@@ -0,0 +1,6 @@
+cassert
+4
+1 2
+3 4
+1 1
+2 2
diff --git a/public_test_cases/p03537/output.0.txt b/public_test_cases/p03537/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03537/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03537/output.1.txt b/public_test_cases/p03537/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03537/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03537/output.2.txt b/public_test_cases/p03537/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03537/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03537/output.3.txt b/public_test_cases/p03537/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03537/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03539/input.0.txt b/public_test_cases/p03539/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03539/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03539/output.0.txt b/public_test_cases/p03539/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03539/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03540/input.0.txt b/public_test_cases/p03540/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9d5d0225822c890dec663f97fde4f2ca853c10a
--- /dev/null
+++ b/public_test_cases/p03540/input.0.txt
@@ -0,0 +1,4 @@
+3 3
++#+
+#P#
++#+
diff --git a/public_test_cases/p03540/output.0.txt b/public_test_cases/p03540/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03540/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03541/input.0.txt b/public_test_cases/p03541/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c8e60dbf0b4bb05f452c426ddc5fc38e4cc5c3b
--- /dev/null
+++ b/public_test_cases/p03541/input.0.txt
@@ -0,0 +1,2 @@
+3
+0 3 0 6 0 0 0 8
diff --git a/public_test_cases/p03541/output.0.txt b/public_test_cases/p03541/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7e47ea5eee5805b5f26c80c36dc067d05d353de
--- /dev/null
+++ b/public_test_cases/p03541/output.0.txt
@@ -0,0 +1,2 @@
+YES
+3 4 8 6 2 1 7 5
diff --git a/public_test_cases/p03542/input.0.txt b/public_test_cases/p03542/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e3b48f72e3a66198273aec01f34d32dfa338591
--- /dev/null
+++ b/public_test_cases/p03542/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 3 5 1
+1 2 1
+2 3 2
+3 4 3
diff --git a/public_test_cases/p03542/output.0.txt b/public_test_cases/p03542/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03542/output.0.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03543/input.0.txt b/public_test_cases/p03543/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79e6287b6aa1b0ed4bd31257e0eba6be3f4053ba
--- /dev/null
+++ b/public_test_cases/p03543/input.0.txt
@@ -0,0 +1 @@
+1118
diff --git a/public_test_cases/p03543/input.1.txt b/public_test_cases/p03543/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0c6b7a659ba4a341868127982f1070d46964755
--- /dev/null
+++ b/public_test_cases/p03543/input.1.txt
@@ -0,0 +1 @@
+7777
diff --git a/public_test_cases/p03543/input.2.txt b/public_test_cases/p03543/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79e6287b6aa1b0ed4bd31257e0eba6be3f4053ba
--- /dev/null
+++ b/public_test_cases/p03543/input.2.txt
@@ -0,0 +1 @@
+1118
diff --git a/public_test_cases/p03543/input.3.txt b/public_test_cases/p03543/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81c545efebe5f57d4cab2ba9ec294c4b0cadf672
--- /dev/null
+++ b/public_test_cases/p03543/input.3.txt
@@ -0,0 +1 @@
+1234
diff --git a/public_test_cases/p03543/output.0.txt b/public_test_cases/p03543/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03543/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03543/output.1.txt b/public_test_cases/p03543/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03543/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03543/output.2.txt b/public_test_cases/p03543/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03543/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03543/output.3.txt b/public_test_cases/p03543/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03543/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03544/input.0.txt b/public_test_cases/p03544/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03544/input.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03544/input.1.txt b/public_test_cases/p03544/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03544/input.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03544/input.2.txt b/public_test_cases/p03544/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cf5c1a22a22b47ef790873cb9fdbd475460e6c3
--- /dev/null
+++ b/public_test_cases/p03544/input.2.txt
@@ -0,0 +1 @@
+86
diff --git a/public_test_cases/p03544/output.0.txt b/public_test_cases/p03544/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03544/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03544/output.1.txt b/public_test_cases/p03544/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03544/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03544/output.2.txt b/public_test_cases/p03544/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ef4fe0eb168474233d454f572700e7c8b04928a
--- /dev/null
+++ b/public_test_cases/p03544/output.2.txt
@@ -0,0 +1 @@
+939587134549734843
diff --git a/public_test_cases/p03545/input.0.txt b/public_test_cases/p03545/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d63033fa51d4833e6c07e9836674f1e25ce95e2
--- /dev/null
+++ b/public_test_cases/p03545/input.0.txt
@@ -0,0 +1 @@
+1222
diff --git a/public_test_cases/p03545/input.1.txt b/public_test_cases/p03545/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d63033fa51d4833e6c07e9836674f1e25ce95e2
--- /dev/null
+++ b/public_test_cases/p03545/input.1.txt
@@ -0,0 +1 @@
+1222
diff --git a/public_test_cases/p03545/input.2.txt b/public_test_cases/p03545/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..095d2cc22ad08c4a81658cd5fbe6d99d8f5e7e45
--- /dev/null
+++ b/public_test_cases/p03545/input.2.txt
@@ -0,0 +1 @@
+3242
diff --git a/public_test_cases/p03545/input.3.txt b/public_test_cases/p03545/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..09c08840d0ab586228d29657d5c86c829a140afd
--- /dev/null
+++ b/public_test_cases/p03545/input.3.txt
@@ -0,0 +1 @@
+0290
diff --git a/public_test_cases/p03545/output.0.txt b/public_test_cases/p03545/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bf514dd7a2547f25088b3e42b13379a7d7bb717
--- /dev/null
+++ b/public_test_cases/p03545/output.0.txt
@@ -0,0 +1 @@
+1+2+2+2=7
diff --git a/public_test_cases/p03545/output.1.txt b/public_test_cases/p03545/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bf514dd7a2547f25088b3e42b13379a7d7bb717
--- /dev/null
+++ b/public_test_cases/p03545/output.1.txt
@@ -0,0 +1 @@
+1+2+2+2=7
diff --git a/public_test_cases/p03545/output.2.txt b/public_test_cases/p03545/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1cf300a4a794d714320893975cdc4ee08f1b74ea
--- /dev/null
+++ b/public_test_cases/p03545/output.2.txt
@@ -0,0 +1 @@
+3+2+4-2=7
diff --git a/public_test_cases/p03545/output.3.txt b/public_test_cases/p03545/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3930f30584a688ae0b50ac7664b1af8ba191db4a
--- /dev/null
+++ b/public_test_cases/p03545/output.3.txt
@@ -0,0 +1 @@
+0-2+9+0=7
diff --git a/public_test_cases/p03546/input.0.txt b/public_test_cases/p03546/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29daa64336ef1aee769d70245bfda57345fc360e
--- /dev/null
+++ b/public_test_cases/p03546/input.0.txt
@@ -0,0 +1,13 @@
+2 4
+0 9 9 9 9 9 9 9 9 9
+9 0 9 9 9 9 9 9 9 9
+9 9 0 9 9 9 9 9 9 9
+9 9 9 0 9 9 9 9 9 9
+9 9 9 9 0 9 9 9 9 2
+9 9 9 9 9 0 9 9 9 9
+9 9 9 9 9 9 0 9 9 9
+9 9 9 9 9 9 9 0 9 9
+9 9 9 9 2 9 9 9 0 9
+9 2 9 9 9 9 9 9 9 0
+-1 -1 -1 -1
+8 1 1 8
diff --git a/public_test_cases/p03546/input.1.txt b/public_test_cases/p03546/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29daa64336ef1aee769d70245bfda57345fc360e
--- /dev/null
+++ b/public_test_cases/p03546/input.1.txt
@@ -0,0 +1,13 @@
+2 4
+0 9 9 9 9 9 9 9 9 9
+9 0 9 9 9 9 9 9 9 9
+9 9 0 9 9 9 9 9 9 9
+9 9 9 0 9 9 9 9 9 9
+9 9 9 9 0 9 9 9 9 2
+9 9 9 9 9 0 9 9 9 9
+9 9 9 9 9 9 0 9 9 9
+9 9 9 9 9 9 9 0 9 9
+9 9 9 9 2 9 9 9 0 9
+9 2 9 9 9 9 9 9 9 0
+-1 -1 -1 -1
+8 1 1 8
diff --git a/public_test_cases/p03546/input.2.txt b/public_test_cases/p03546/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..668d7db470608b4e6925fa5f544d90a0f0a8476a
--- /dev/null
+++ b/public_test_cases/p03546/input.2.txt
@@ -0,0 +1,14 @@
+3 5
+0 4 3 6 2 7 2 5 3 3
+4 0 5 3 7 5 3 7 2 7
+5 7 0 7 2 9 3 2 9 1
+3 6 2 0 2 4 6 4 2 3
+3 5 7 4 0 6 9 7 6 7
+9 8 5 2 2 0 4 7 6 5
+5 4 6 3 2 3 0 5 4 3
+3 6 2 3 4 2 4 0 8 9
+4 6 5 4 3 5 3 2 0 8
+2 1 3 4 5 7 8 6 4 0
+3 5 2 6 1
+2 5 3 2 1
+6 9 2 5 6
diff --git a/public_test_cases/p03546/input.3.txt b/public_test_cases/p03546/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45dc2bfab1946c3144f760d8094cc16407e03210
--- /dev/null
+++ b/public_test_cases/p03546/input.3.txt
@@ -0,0 +1,16 @@
+5 5
+0 999 999 999 999 999 999 999 999 999
+999 0 999 999 999 999 999 999 999 999
+999 999 0 999 999 999 999 999 999 999
+999 999 999 0 999 999 999 999 999 999
+999 999 999 999 0 999 999 999 999 999
+999 999 999 999 999 0 999 999 999 999
+999 999 999 999 999 999 0 999 999 999
+999 999 999 999 999 999 999 0 999 999
+999 999 999 999 999 999 999 999 0 999
+999 999 999 999 999 999 999 999 999 0
+1 1 1 1 1
+1 1 1 1 1
+1 1 1 1 1
+1 1 1 1 1
+1 1 1 1 1
diff --git a/public_test_cases/p03546/output.0.txt b/public_test_cases/p03546/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03546/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03546/output.1.txt b/public_test_cases/p03546/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03546/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03546/output.2.txt b/public_test_cases/p03546/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abac1ea7b759d8258c9ad9e5b450f782aaa33374
--- /dev/null
+++ b/public_test_cases/p03546/output.2.txt
@@ -0,0 +1 @@
+47
diff --git a/public_test_cases/p03546/output.3.txt b/public_test_cases/p03546/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03546/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03547/input.0.txt b/public_test_cases/p03547/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5decc2b6a1cdca10966091e39caed1e532a81772
--- /dev/null
+++ b/public_test_cases/p03547/input.0.txt
@@ -0,0 +1 @@
+A B
diff --git a/public_test_cases/p03547/input.1.txt b/public_test_cases/p03547/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..622d51c162583f36eec4a61f31c07ec523734ec0
--- /dev/null
+++ b/public_test_cases/p03547/input.1.txt
@@ -0,0 +1 @@
+F F
diff --git a/public_test_cases/p03547/input.2.txt b/public_test_cases/p03547/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5decc2b6a1cdca10966091e39caed1e532a81772
--- /dev/null
+++ b/public_test_cases/p03547/input.2.txt
@@ -0,0 +1 @@
+A B
diff --git a/public_test_cases/p03547/input.3.txt b/public_test_cases/p03547/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b2e4a87744b9e5d1821243aa6ca1b3eb985fc49
--- /dev/null
+++ b/public_test_cases/p03547/input.3.txt
@@ -0,0 +1 @@
+E C
diff --git a/public_test_cases/p03547/output.0.txt b/public_test_cases/p03547/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9318418344a8d00847ab6dc08d0c979248b92a0b
--- /dev/null
+++ b/public_test_cases/p03547/output.0.txt
@@ -0,0 +1 @@
+<
diff --git a/public_test_cases/p03547/output.1.txt b/public_test_cases/p03547/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3134d36bfdd63256413783fceb65bd8842846792
--- /dev/null
+++ b/public_test_cases/p03547/output.1.txt
@@ -0,0 +1 @@
+=
diff --git a/public_test_cases/p03547/output.2.txt b/public_test_cases/p03547/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9318418344a8d00847ab6dc08d0c979248b92a0b
--- /dev/null
+++ b/public_test_cases/p03547/output.2.txt
@@ -0,0 +1 @@
+<
diff --git a/public_test_cases/p03547/output.3.txt b/public_test_cases/p03547/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9e80f6f7602c18d035af9659303047b30204182
--- /dev/null
+++ b/public_test_cases/p03547/output.3.txt
@@ -0,0 +1 @@
+>
diff --git a/public_test_cases/p03548/input.0.txt b/public_test_cases/p03548/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8869fd822a4a2b805923eae5385c49c85d229dca
--- /dev/null
+++ b/public_test_cases/p03548/input.0.txt
@@ -0,0 +1 @@
+13 3 1
diff --git a/public_test_cases/p03548/input.1.txt b/public_test_cases/p03548/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a2db4dbfe3af6e033fd054a78a2037008824d20
--- /dev/null
+++ b/public_test_cases/p03548/input.1.txt
@@ -0,0 +1 @@
+100000 1 1
diff --git a/public_test_cases/p03548/input.2.txt b/public_test_cases/p03548/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8869fd822a4a2b805923eae5385c49c85d229dca
--- /dev/null
+++ b/public_test_cases/p03548/input.2.txt
@@ -0,0 +1 @@
+13 3 1
diff --git a/public_test_cases/p03548/input.3.txt b/public_test_cases/p03548/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14677320ef1ebabb799141d7c55440be4b06f584
--- /dev/null
+++ b/public_test_cases/p03548/input.3.txt
@@ -0,0 +1 @@
+64145 123 456
diff --git a/public_test_cases/p03548/input.4.txt b/public_test_cases/p03548/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4bef20d82a639700e4af6bedd78d102baea3583
--- /dev/null
+++ b/public_test_cases/p03548/input.4.txt
@@ -0,0 +1 @@
+12 3 1
diff --git a/public_test_cases/p03548/input.5.txt b/public_test_cases/p03548/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22335fca74b4a2875714637b97a7945717bc0a82
--- /dev/null
+++ b/public_test_cases/p03548/input.5.txt
@@ -0,0 +1 @@
+64146 123 456
diff --git a/public_test_cases/p03548/output.0.txt b/public_test_cases/p03548/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03548/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03548/output.1.txt b/public_test_cases/p03548/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..722870edc1d6f330c6d631a42f4ca175b6fd4650
--- /dev/null
+++ b/public_test_cases/p03548/output.1.txt
@@ -0,0 +1 @@
+49999
diff --git a/public_test_cases/p03548/output.2.txt b/public_test_cases/p03548/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03548/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03548/output.3.txt b/public_test_cases/p03548/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2a9fee008af419b5b336e778c8f3e45e247c776
--- /dev/null
+++ b/public_test_cases/p03548/output.3.txt
@@ -0,0 +1 @@
+109
diff --git a/public_test_cases/p03548/output.4.txt b/public_test_cases/p03548/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03548/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03548/output.5.txt b/public_test_cases/p03548/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p03548/output.5.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p03549/input.0.txt b/public_test_cases/p03549/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03549/input.0.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03549/input.1.txt b/public_test_cases/p03549/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5bf2d0f1e8a723c3ff025969fd8c6dceba85bde6
--- /dev/null
+++ b/public_test_cases/p03549/input.1.txt
@@ -0,0 +1 @@
+100 5
diff --git a/public_test_cases/p03549/input.2.txt b/public_test_cases/p03549/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd64ae0403c3dcbf893963e75f433dbfad8230bb
--- /dev/null
+++ b/public_test_cases/p03549/input.2.txt
@@ -0,0 +1 @@
+10 2
diff --git a/public_test_cases/p03549/input.3.txt b/public_test_cases/p03549/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03549/input.3.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03549/output.0.txt b/public_test_cases/p03549/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e78293ac9dd39a69c5aafd13a49abb589ae35fa5
--- /dev/null
+++ b/public_test_cases/p03549/output.0.txt
@@ -0,0 +1 @@
+3800
diff --git a/public_test_cases/p03549/output.1.txt b/public_test_cases/p03549/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4ef163bc56e1244a5f4d4bcc3d8d6976a3616e9
--- /dev/null
+++ b/public_test_cases/p03549/output.1.txt
@@ -0,0 +1 @@
+608000
diff --git a/public_test_cases/p03549/output.2.txt b/public_test_cases/p03549/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de26d6d9e7977e10dacaac06568f37ec099438e2
--- /dev/null
+++ b/public_test_cases/p03549/output.2.txt
@@ -0,0 +1 @@
+18400
diff --git a/public_test_cases/p03549/output.3.txt b/public_test_cases/p03549/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e78293ac9dd39a69c5aafd13a49abb589ae35fa5
--- /dev/null
+++ b/public_test_cases/p03549/output.3.txt
@@ -0,0 +1 @@
+3800
diff --git a/public_test_cases/p03550/input.0.txt b/public_test_cases/p03550/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..083efa941ff5110940889dba8df4fea894da1582
--- /dev/null
+++ b/public_test_cases/p03550/input.0.txt
@@ -0,0 +1,2 @@
+3 100 100
+10 1000 100
diff --git a/public_test_cases/p03550/output.0.txt b/public_test_cases/p03550/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b02a197f603b1424f13f8f5293cbf92417c1b00
--- /dev/null
+++ b/public_test_cases/p03550/output.0.txt
@@ -0,0 +1 @@
+900
diff --git a/public_test_cases/p03551/input.0.txt b/public_test_cases/p03551/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03551/input.0.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03551/output.0.txt b/public_test_cases/p03551/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e78293ac9dd39a69c5aafd13a49abb589ae35fa5
--- /dev/null
+++ b/public_test_cases/p03551/output.0.txt
@@ -0,0 +1 @@
+3800
diff --git a/public_test_cases/p03552/input.0.txt b/public_test_cases/p03552/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..083efa941ff5110940889dba8df4fea894da1582
--- /dev/null
+++ b/public_test_cases/p03552/input.0.txt
@@ -0,0 +1,2 @@
+3 100 100
+10 1000 100
diff --git a/public_test_cases/p03552/input.1.txt b/public_test_cases/p03552/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbe2d07a9ab15ca061acdba2fbc46e644602b8b1
--- /dev/null
+++ b/public_test_cases/p03552/input.1.txt
@@ -0,0 +1,2 @@
+5 1 1
+1 1 1 1 1
diff --git a/public_test_cases/p03552/input.2.txt b/public_test_cases/p03552/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8458e86f95eb2256dd6d1856381385d2269f87e1
--- /dev/null
+++ b/public_test_cases/p03552/input.2.txt
@@ -0,0 +1,2 @@
+3 100 1000
+10 100 100
diff --git a/public_test_cases/p03552/input.3.txt b/public_test_cases/p03552/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..083efa941ff5110940889dba8df4fea894da1582
--- /dev/null
+++ b/public_test_cases/p03552/input.3.txt
@@ -0,0 +1,2 @@
+3 100 100
+10 1000 100
diff --git a/public_test_cases/p03552/input.4.txt b/public_test_cases/p03552/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67d8cdba63417e3eab11258ad38bdf6ad4090fed
--- /dev/null
+++ b/public_test_cases/p03552/input.4.txt
@@ -0,0 +1,2 @@
+1 1 1
+1000000000
diff --git a/public_test_cases/p03552/output.0.txt b/public_test_cases/p03552/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b02a197f603b1424f13f8f5293cbf92417c1b00
--- /dev/null
+++ b/public_test_cases/p03552/output.0.txt
@@ -0,0 +1 @@
+900
diff --git a/public_test_cases/p03552/output.1.txt b/public_test_cases/p03552/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03552/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03552/output.2.txt b/public_test_cases/p03552/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b02a197f603b1424f13f8f5293cbf92417c1b00
--- /dev/null
+++ b/public_test_cases/p03552/output.2.txt
@@ -0,0 +1 @@
+900
diff --git a/public_test_cases/p03552/output.3.txt b/public_test_cases/p03552/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b02a197f603b1424f13f8f5293cbf92417c1b00
--- /dev/null
+++ b/public_test_cases/p03552/output.3.txt
@@ -0,0 +1 @@
+900
diff --git a/public_test_cases/p03552/output.4.txt b/public_test_cases/p03552/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28e56d983ef928848a1b0cdae1fe481ad09143a2
--- /dev/null
+++ b/public_test_cases/p03552/output.4.txt
@@ -0,0 +1 @@
+999999999
diff --git a/public_test_cases/p03553/input.0.txt b/public_test_cases/p03553/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be91059b7d657a86a6adb65a83eccd3a3dbd3da2
--- /dev/null
+++ b/public_test_cases/p03553/input.0.txt
@@ -0,0 +1,2 @@
+6
+1 2 -6 4 5 3
diff --git a/public_test_cases/p03553/input.1.txt b/public_test_cases/p03553/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83ffbd1ca1b470ca814404d8c5e97dab88849577
--- /dev/null
+++ b/public_test_cases/p03553/input.1.txt
@@ -0,0 +1,2 @@
+6
+100 -100 -100 -100 100 -100
diff --git a/public_test_cases/p03553/input.2.txt b/public_test_cases/p03553/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be91059b7d657a86a6adb65a83eccd3a3dbd3da2
--- /dev/null
+++ b/public_test_cases/p03553/input.2.txt
@@ -0,0 +1,2 @@
+6
+1 2 -6 4 5 3
diff --git a/public_test_cases/p03553/input.3.txt b/public_test_cases/p03553/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..823eee703dae285fb13e52056a2a4b60f59afc46
--- /dev/null
+++ b/public_test_cases/p03553/input.3.txt
@@ -0,0 +1,2 @@
+2
+-1000 100000
diff --git a/public_test_cases/p03553/input.4.txt b/public_test_cases/p03553/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..207d73bf63bb45e2f8d59f4a9205baf02febd387
--- /dev/null
+++ b/public_test_cases/p03553/input.4.txt
@@ -0,0 +1,2 @@
+5
+-1 -2 -3 -4 -5
diff --git a/public_test_cases/p03553/output.0.txt b/public_test_cases/p03553/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03553/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03553/output.1.txt b/public_test_cases/p03553/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08839f6bb296e888d311d8ea2f35f7ff82dd3f2d
--- /dev/null
+++ b/public_test_cases/p03553/output.1.txt
@@ -0,0 +1 @@
+200
diff --git a/public_test_cases/p03553/output.2.txt b/public_test_cases/p03553/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03553/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03553/output.3.txt b/public_test_cases/p03553/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7eaa76c2c785cb914e8e10cb816c43195f2b082f
--- /dev/null
+++ b/public_test_cases/p03553/output.3.txt
@@ -0,0 +1 @@
+99000
diff --git a/public_test_cases/p03553/output.4.txt b/public_test_cases/p03553/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03553/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03554/input.0.txt b/public_test_cases/p03554/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9480b00fcc639d00bd4182ca0b67d149ac294123
--- /dev/null
+++ b/public_test_cases/p03554/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 0 1
+1
+1 3
diff --git a/public_test_cases/p03554/input.1.txt b/public_test_cases/p03554/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f690989cf2ae6f9952c607ae5df8e6212eb8efe5
--- /dev/null
+++ b/public_test_cases/p03554/input.1.txt
@@ -0,0 +1,4 @@
+5
+0 1 0 1 0
+1
+1 5
diff --git a/public_test_cases/p03554/input.2.txt b/public_test_cases/p03554/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3317d8581a60daedae40854275b80020c17096f
--- /dev/null
+++ b/public_test_cases/p03554/input.2.txt
@@ -0,0 +1,5 @@
+3
+1 0 1
+2
+1 1
+3 3
diff --git a/public_test_cases/p03554/input.3.txt b/public_test_cases/p03554/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e3850a66cff43c7a80224e7c16709fd1de1fd7e
--- /dev/null
+++ b/public_test_cases/p03554/input.3.txt
@@ -0,0 +1,10 @@
+10
+0 0 0 1 0 0 1 1 1 0
+7
+1 4
+2 5
+1 3
+6 7
+9 9
+1 5
+7 9
diff --git a/public_test_cases/p03554/input.4.txt b/public_test_cases/p03554/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9480b00fcc639d00bd4182ca0b67d149ac294123
--- /dev/null
+++ b/public_test_cases/p03554/input.4.txt
@@ -0,0 +1,4 @@
+3
+1 0 1
+1
+1 3
diff --git a/public_test_cases/p03554/input.5.txt b/public_test_cases/p03554/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38521174922bc92ea8ab901ee9070879ef6589fc
--- /dev/null
+++ b/public_test_cases/p03554/input.5.txt
@@ -0,0 +1,5 @@
+3
+1 0 1
+2
+1 1
+2 3
diff --git a/public_test_cases/p03554/input.6.txt b/public_test_cases/p03554/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d95b3055438ab75cb30dc85ae9a76f6b015b9f94
--- /dev/null
+++ b/public_test_cases/p03554/input.6.txt
@@ -0,0 +1,12 @@
+15
+1 1 0 0 0 0 0 0 1 0 1 1 1 0 0
+9
+4 10
+13 14
+1 7
+4 14
+9 11
+2 6
+7 8
+3 12
+7 13
diff --git a/public_test_cases/p03554/input.7.txt b/public_test_cases/p03554/input.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb4d9106f2c91d5c5653bb51ce1ae50bfaa85a66
--- /dev/null
+++ b/public_test_cases/p03554/input.7.txt
@@ -0,0 +1,6 @@
+9
+0 1 0 1 1 1 0 1 0
+3
+1 4
+5 8
+6 7
diff --git a/public_test_cases/p03554/output.0.txt b/public_test_cases/p03554/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03554/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03554/output.1.txt b/public_test_cases/p03554/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03554/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03554/output.2.txt b/public_test_cases/p03554/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03554/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03554/output.3.txt b/public_test_cases/p03554/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03554/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03554/output.4.txt b/public_test_cases/p03554/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03554/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03554/output.5.txt b/public_test_cases/p03554/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03554/output.5.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03554/output.6.txt b/public_test_cases/p03554/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03554/output.6.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03554/output.7.txt b/public_test_cases/p03554/output.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03554/output.7.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03555/input.0.txt b/public_test_cases/p03555/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..825a387db8b024d8de8b9311ed370814a8f1e31a
--- /dev/null
+++ b/public_test_cases/p03555/input.0.txt
@@ -0,0 +1,2 @@
+pot
+top
diff --git a/public_test_cases/p03555/input.1.txt b/public_test_cases/p03555/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2361e11963d6a514137ae088c129ab5fb5bfe75d
--- /dev/null
+++ b/public_test_cases/p03555/input.1.txt
@@ -0,0 +1,2 @@
+tab
+bet
diff --git a/public_test_cases/p03555/input.2.txt b/public_test_cases/p03555/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..527c59d68d65fd6df0f8fb4edc4b543e91159355
--- /dev/null
+++ b/public_test_cases/p03555/input.2.txt
@@ -0,0 +1,2 @@
+eye
+eel
diff --git a/public_test_cases/p03555/input.3.txt b/public_test_cases/p03555/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..825a387db8b024d8de8b9311ed370814a8f1e31a
--- /dev/null
+++ b/public_test_cases/p03555/input.3.txt
@@ -0,0 +1,2 @@
+pot
+top
diff --git a/public_test_cases/p03555/output.0.txt b/public_test_cases/p03555/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03555/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03555/output.1.txt b/public_test_cases/p03555/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03555/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03555/output.2.txt b/public_test_cases/p03555/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03555/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03555/output.3.txt b/public_test_cases/p03555/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03555/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03556/input.0.txt b/public_test_cases/p03556/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03556/input.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03556/input.1.txt b/public_test_cases/p03556/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d88e313699871a6c780316c8df7479aebe6999c0
--- /dev/null
+++ b/public_test_cases/p03556/input.1.txt
@@ -0,0 +1 @@
+81
diff --git a/public_test_cases/p03556/input.2.txt b/public_test_cases/p03556/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03556/input.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03556/input.3.txt b/public_test_cases/p03556/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17769f40e3b8358a059e72d92a19257ed1060ad7
--- /dev/null
+++ b/public_test_cases/p03556/input.3.txt
@@ -0,0 +1 @@
+271828182
diff --git a/public_test_cases/p03556/output.0.txt b/public_test_cases/p03556/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03556/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03556/output.1.txt b/public_test_cases/p03556/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d88e313699871a6c780316c8df7479aebe6999c0
--- /dev/null
+++ b/public_test_cases/p03556/output.1.txt
@@ -0,0 +1 @@
+81
diff --git a/public_test_cases/p03556/output.2.txt b/public_test_cases/p03556/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03556/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03556/output.3.txt b/public_test_cases/p03556/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8060ba194335a605fe779098008da87df7488d3c
--- /dev/null
+++ b/public_test_cases/p03556/output.3.txt
@@ -0,0 +1 @@
+271821169
diff --git a/public_test_cases/p03557/input.0.txt b/public_test_cases/p03557/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..094d7025ae107dbdedcfccddbc454a23826e633a
--- /dev/null
+++ b/public_test_cases/p03557/input.0.txt
@@ -0,0 +1,4 @@
+2
+1 5
+2 4
+3 6
diff --git a/public_test_cases/p03557/output.0.txt b/public_test_cases/p03557/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03557/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03558/input.0.txt b/public_test_cases/p03558/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03558/input.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03558/input.1.txt b/public_test_cases/p03558/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87523dd7a0632907d61799465827c3f08825fa47
--- /dev/null
+++ b/public_test_cases/p03558/input.1.txt
@@ -0,0 +1 @@
+41
diff --git a/public_test_cases/p03558/input.2.txt b/public_test_cases/p03558/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03558/input.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03558/input.3.txt b/public_test_cases/p03558/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..061d89caec2321166db8d6e54bce88c1befb5751
--- /dev/null
+++ b/public_test_cases/p03558/input.3.txt
@@ -0,0 +1 @@
+79992
diff --git a/public_test_cases/p03558/output.0.txt b/public_test_cases/p03558/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03558/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03558/output.1.txt b/public_test_cases/p03558/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03558/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03558/output.2.txt b/public_test_cases/p03558/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03558/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03558/output.3.txt b/public_test_cases/p03558/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p03558/output.3.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p03559/input.0.txt b/public_test_cases/p03559/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..094d7025ae107dbdedcfccddbc454a23826e633a
--- /dev/null
+++ b/public_test_cases/p03559/input.0.txt
@@ -0,0 +1,4 @@
+2
+1 5
+2 4
+3 6
diff --git a/public_test_cases/p03559/input.1.txt b/public_test_cases/p03559/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a304b917058e357ca1abf1237e4a64bc2ec91cd3
--- /dev/null
+++ b/public_test_cases/p03559/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 1 1
+2 2 2
+3 3 3
diff --git a/public_test_cases/p03559/input.2.txt b/public_test_cases/p03559/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..094d7025ae107dbdedcfccddbc454a23826e633a
--- /dev/null
+++ b/public_test_cases/p03559/input.2.txt
@@ -0,0 +1,4 @@
+2
+1 5
+2 4
+3 6
diff --git a/public_test_cases/p03559/input.3.txt b/public_test_cases/p03559/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad6543d433818ee175e95c99df6c013f5b02a397
--- /dev/null
+++ b/public_test_cases/p03559/input.3.txt
@@ -0,0 +1,4 @@
+6
+3 14 159 2 6 53
+58 9 79 323 84 6
+2643 383 2 79 50 288
diff --git a/public_test_cases/p03559/output.0.txt b/public_test_cases/p03559/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03559/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03559/output.1.txt b/public_test_cases/p03559/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p03559/output.1.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p03559/output.2.txt b/public_test_cases/p03559/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03559/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03559/output.3.txt b/public_test_cases/p03559/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84df3526d808244511707ba9f610794cfb3096e6
--- /dev/null
+++ b/public_test_cases/p03559/output.3.txt
@@ -0,0 +1 @@
+87
diff --git a/public_test_cases/p03560/input.0.txt b/public_test_cases/p03560/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03560/input.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03560/output.0.txt b/public_test_cases/p03560/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03560/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03561/input.0.txt b/public_test_cases/p03561/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03561/input.0.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03561/input.1.txt b/public_test_cases/p03561/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0efd67f9502e63cb033cb651e65e025b6e3a5cb2
--- /dev/null
+++ b/public_test_cases/p03561/input.1.txt
@@ -0,0 +1 @@
+2 4
diff --git a/public_test_cases/p03561/input.2.txt b/public_test_cases/p03561/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed100ae2be56afb172d164c5656fd5a1da0fc220
--- /dev/null
+++ b/public_test_cases/p03561/input.2.txt
@@ -0,0 +1 @@
+5 14
diff --git a/public_test_cases/p03561/input.3.txt b/public_test_cases/p03561/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03561/input.3.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03561/output.0.txt b/public_test_cases/p03561/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03561/output.0.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03561/output.1.txt b/public_test_cases/p03561/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8834daeea7aa2b0437b66593d2a17bb7f7e1431
--- /dev/null
+++ b/public_test_cases/p03561/output.1.txt
@@ -0,0 +1 @@
+1 2 2 2
diff --git a/public_test_cases/p03561/output.2.txt b/public_test_cases/p03561/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d35f37d2ffeae7a02d20c63bcf1d3ee04f30e21
--- /dev/null
+++ b/public_test_cases/p03561/output.2.txt
@@ -0,0 +1 @@
+3 3 3 3 3 3 3 3 3 3 3 3 2 2
diff --git a/public_test_cases/p03561/output.3.txt b/public_test_cases/p03561/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03561/output.3.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03562/input.0.txt b/public_test_cases/p03562/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f197eac02f99b9c0b77a14a8444f4763e7a56456
--- /dev/null
+++ b/public_test_cases/p03562/input.0.txt
@@ -0,0 +1,4 @@
+3 111
+1111
+10111
+10010
diff --git a/public_test_cases/p03562/input.1.txt b/public_test_cases/p03562/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea44fcab6eb07c8ecbfe467565b855832192c806
--- /dev/null
+++ b/public_test_cases/p03562/input.1.txt
@@ -0,0 +1,2 @@
+1 111111111111111111111111111111111111111111111111111111111111111
+1
diff --git a/public_test_cases/p03562/input.2.txt b/public_test_cases/p03562/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec802f48b3295b730e42db9dac9e2dd0c9bb3801
--- /dev/null
+++ b/public_test_cases/p03562/input.2.txt
@@ -0,0 +1,5 @@
+4 100100
+1011
+1110
+110101
+1010110
diff --git a/public_test_cases/p03562/input.3.txt b/public_test_cases/p03562/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08178b06c9b134481518fc41b2cdc7691cc0d03c
--- /dev/null
+++ b/public_test_cases/p03562/input.3.txt
@@ -0,0 +1,5 @@
+4 111001100101001
+10111110
+1001000110
+100000101
+11110000011
diff --git a/public_test_cases/p03562/input.4.txt b/public_test_cases/p03562/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f197eac02f99b9c0b77a14a8444f4763e7a56456
--- /dev/null
+++ b/public_test_cases/p03562/input.4.txt
@@ -0,0 +1,4 @@
+3 111
+1111
+10111
+10010
diff --git a/public_test_cases/p03562/output.0.txt b/public_test_cases/p03562/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03562/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03562/output.1.txt b/public_test_cases/p03562/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c7ec0eba453b2773795087a3b6f14692435e020
--- /dev/null
+++ b/public_test_cases/p03562/output.1.txt
@@ -0,0 +1 @@
+466025955
diff --git a/public_test_cases/p03562/output.2.txt b/public_test_cases/p03562/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81b5c5d06cc0b8290c264b408abb32cc0986e8f2
--- /dev/null
+++ b/public_test_cases/p03562/output.2.txt
@@ -0,0 +1 @@
+37
diff --git a/public_test_cases/p03562/output.3.txt b/public_test_cases/p03562/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f625eb6ab6abaebfe94176fa9c5ad9b74e049598
--- /dev/null
+++ b/public_test_cases/p03562/output.3.txt
@@ -0,0 +1 @@
+1843
diff --git a/public_test_cases/p03562/output.4.txt b/public_test_cases/p03562/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03562/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03563/input.0.txt b/public_test_cases/p03563/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d4f939133a3d35e5007927473d0b8a570c85393
--- /dev/null
+++ b/public_test_cases/p03563/input.0.txt
@@ -0,0 +1,2 @@
+2002
+2017
diff --git a/public_test_cases/p03563/input.1.txt b/public_test_cases/p03563/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..713c0321005541bbbd8621b2184b4101fcfed867
--- /dev/null
+++ b/public_test_cases/p03563/input.1.txt
@@ -0,0 +1,2 @@
+4500
+0
diff --git a/public_test_cases/p03563/input.2.txt b/public_test_cases/p03563/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d4f939133a3d35e5007927473d0b8a570c85393
--- /dev/null
+++ b/public_test_cases/p03563/input.2.txt
@@ -0,0 +1,2 @@
+2002
+2017
diff --git a/public_test_cases/p03563/output.0.txt b/public_test_cases/p03563/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9cef4a4ee82fce94640535983845b6cde054af9
--- /dev/null
+++ b/public_test_cases/p03563/output.0.txt
@@ -0,0 +1 @@
+2032
diff --git a/public_test_cases/p03563/output.1.txt b/public_test_cases/p03563/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c167a1dfe7416fa6a536b5002a249a615d7b059
--- /dev/null
+++ b/public_test_cases/p03563/output.1.txt
@@ -0,0 +1 @@
+-4500
diff --git a/public_test_cases/p03563/output.2.txt b/public_test_cases/p03563/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9cef4a4ee82fce94640535983845b6cde054af9
--- /dev/null
+++ b/public_test_cases/p03563/output.2.txt
@@ -0,0 +1 @@
+2032
diff --git a/public_test_cases/p03564/input.0.txt b/public_test_cases/p03564/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81450f3d334f886509a186abffcf1a1aee0866a5
--- /dev/null
+++ b/public_test_cases/p03564/input.0.txt
@@ -0,0 +1,2 @@
+4
+3
diff --git a/public_test_cases/p03564/input.1.txt b/public_test_cases/p03564/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2f7f08c17074991c47ce9b2475c3fe58fc26247
--- /dev/null
+++ b/public_test_cases/p03564/input.1.txt
@@ -0,0 +1,2 @@
+10
+10
diff --git a/public_test_cases/p03564/input.2.txt b/public_test_cases/p03564/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81450f3d334f886509a186abffcf1a1aee0866a5
--- /dev/null
+++ b/public_test_cases/p03564/input.2.txt
@@ -0,0 +1,2 @@
+4
+3
diff --git a/public_test_cases/p03564/output.0.txt b/public_test_cases/p03564/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03564/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03564/output.1.txt b/public_test_cases/p03564/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd475631baeff3ce652b97d921c1cc43c917b9e2
--- /dev/null
+++ b/public_test_cases/p03564/output.1.txt
@@ -0,0 +1 @@
+76
diff --git a/public_test_cases/p03564/output.2.txt b/public_test_cases/p03564/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03564/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03565/input.0.txt b/public_test_cases/p03565/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0e087018fbf7f8aa3030c078849bf7c101e4790
--- /dev/null
+++ b/public_test_cases/p03565/input.0.txt
@@ -0,0 +1,2 @@
+?tc????
+coder
diff --git a/public_test_cases/p03565/input.1.txt b/public_test_cases/p03565/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0e087018fbf7f8aa3030c078849bf7c101e4790
--- /dev/null
+++ b/public_test_cases/p03565/input.1.txt
@@ -0,0 +1,2 @@
+?tc????
+coder
diff --git a/public_test_cases/p03565/input.2.txt b/public_test_cases/p03565/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75bed926ecbefce7cdc384b62ca4cce24db8a523
--- /dev/null
+++ b/public_test_cases/p03565/input.2.txt
@@ -0,0 +1,2 @@
+??p??d??
+abc
diff --git a/public_test_cases/p03565/output.0.txt b/public_test_cases/p03565/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ef13d11d0bc8c8cde49253ea4a0cdbea2c9416
--- /dev/null
+++ b/public_test_cases/p03565/output.0.txt
@@ -0,0 +1 @@
+atcoder
diff --git a/public_test_cases/p03565/output.1.txt b/public_test_cases/p03565/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ef13d11d0bc8c8cde49253ea4a0cdbea2c9416
--- /dev/null
+++ b/public_test_cases/p03565/output.1.txt
@@ -0,0 +1 @@
+atcoder
diff --git a/public_test_cases/p03565/output.2.txt b/public_test_cases/p03565/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..507b5b96ecda1046ae689dfa99a64e4bd3b9491d
--- /dev/null
+++ b/public_test_cases/p03565/output.2.txt
@@ -0,0 +1 @@
+UNRESTORABLE
diff --git a/public_test_cases/p03566/input.0.txt b/public_test_cases/p03566/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bac488bcb51bb8e1384d4c83320c735f2d09fab
--- /dev/null
+++ b/public_test_cases/p03566/input.0.txt
@@ -0,0 +1,3 @@
+1
+100
+30
diff --git a/public_test_cases/p03566/input.1.txt b/public_test_cases/p03566/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..329fb39a9ea51f2341e11de22e8ee32dcbfb5c0f
--- /dev/null
+++ b/public_test_cases/p03566/input.1.txt
@@ -0,0 +1,3 @@
+1
+9
+10
diff --git a/public_test_cases/p03566/input.2.txt b/public_test_cases/p03566/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d221b2985160b0420105b047f6c44bab6610044
--- /dev/null
+++ b/public_test_cases/p03566/input.2.txt
@@ -0,0 +1,3 @@
+3
+12 14 2
+6 2 7
diff --git a/public_test_cases/p03566/input.3.txt b/public_test_cases/p03566/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..452d284322460aabc223bac6e97cdd317d8b2253
--- /dev/null
+++ b/public_test_cases/p03566/input.3.txt
@@ -0,0 +1,3 @@
+2
+60 50
+34 38
diff --git a/public_test_cases/p03566/input.4.txt b/public_test_cases/p03566/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bac488bcb51bb8e1384d4c83320c735f2d09fab
--- /dev/null
+++ b/public_test_cases/p03566/input.4.txt
@@ -0,0 +1,3 @@
+1
+100
+30
diff --git a/public_test_cases/p03566/input.5.txt b/public_test_cases/p03566/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db7426c79623aca76bb501988656c258f9fa6ac7
--- /dev/null
+++ b/public_test_cases/p03566/input.5.txt
@@ -0,0 +1,3 @@
+10
+64 55 27 35 76 119 7 18 49 100
+29 19 31 39 27 48 41 87 55 70
diff --git a/public_test_cases/p03566/output.0.txt b/public_test_cases/p03566/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78b379d51aaaf9cf385531fa94f9848d883426a6
--- /dev/null
+++ b/public_test_cases/p03566/output.0.txt
@@ -0,0 +1 @@
+2100.000000000000000
diff --git a/public_test_cases/p03566/output.1.txt b/public_test_cases/p03566/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8bb59e34abcb1569ad5c2c45b9f0212e1596436
--- /dev/null
+++ b/public_test_cases/p03566/output.1.txt
@@ -0,0 +1 @@
+20.250000000000000000
diff --git a/public_test_cases/p03566/output.2.txt b/public_test_cases/p03566/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f13db76ac6a92e9aa7773b2b9dceded2aa7ccaf9
--- /dev/null
+++ b/public_test_cases/p03566/output.2.txt
@@ -0,0 +1 @@
+76.000000000000000
diff --git a/public_test_cases/p03566/output.3.txt b/public_test_cases/p03566/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a1816134c78fffa8672f0adab3a8252892db736
--- /dev/null
+++ b/public_test_cases/p03566/output.3.txt
@@ -0,0 +1 @@
+2632.000000000000000
diff --git a/public_test_cases/p03566/output.4.txt b/public_test_cases/p03566/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78b379d51aaaf9cf385531fa94f9848d883426a6
--- /dev/null
+++ b/public_test_cases/p03566/output.4.txt
@@ -0,0 +1 @@
+2100.000000000000000
diff --git a/public_test_cases/p03566/output.5.txt b/public_test_cases/p03566/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06b1fbf2345c077b8a7f8f4220d0871ce27c1407
--- /dev/null
+++ b/public_test_cases/p03566/output.5.txt
@@ -0,0 +1 @@
+20291.000000000000
diff --git a/public_test_cases/p03567/input.0.txt b/public_test_cases/p03567/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4951826b6b4191b5a46df6429334a3bd0fa82973
--- /dev/null
+++ b/public_test_cases/p03567/input.0.txt
@@ -0,0 +1 @@
+BACD
diff --git a/public_test_cases/p03567/input.1.txt b/public_test_cases/p03567/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0856047476e55b8b182aa294e37b793fc038d4ad
--- /dev/null
+++ b/public_test_cases/p03567/input.1.txt
@@ -0,0 +1 @@
+CABD
diff --git a/public_test_cases/p03567/input.2.txt b/public_test_cases/p03567/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4951826b6b4191b5a46df6429334a3bd0fa82973
--- /dev/null
+++ b/public_test_cases/p03567/input.2.txt
@@ -0,0 +1 @@
+BACD
diff --git a/public_test_cases/p03567/input.3.txt b/public_test_cases/p03567/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40c47850a1e09c671d858529954e41da6197e9ce
--- /dev/null
+++ b/public_test_cases/p03567/input.3.txt
@@ -0,0 +1 @@
+ACACA
diff --git a/public_test_cases/p03567/input.4.txt b/public_test_cases/p03567/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ed461429cd4f1c992693d7350a4a66c762dca3d
--- /dev/null
+++ b/public_test_cases/p03567/input.4.txt
@@ -0,0 +1 @@
+ABCD
diff --git a/public_test_cases/p03567/input.5.txt b/public_test_cases/p03567/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71d9eb34caa48baf089ec1f6ee107d6a60831dfb
--- /dev/null
+++ b/public_test_cases/p03567/input.5.txt
@@ -0,0 +1 @@
+XX
diff --git a/public_test_cases/p03567/output.0.txt b/public_test_cases/p03567/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03567/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03567/output.1.txt b/public_test_cases/p03567/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03567/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03567/output.2.txt b/public_test_cases/p03567/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03567/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03567/output.3.txt b/public_test_cases/p03567/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03567/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03567/output.4.txt b/public_test_cases/p03567/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03567/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03567/output.5.txt b/public_test_cases/p03567/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03567/output.5.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03568/input.0.txt b/public_test_cases/p03568/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6b80dc12eb8b4d587c14925619a0ed63a2a23c4
--- /dev/null
+++ b/public_test_cases/p03568/input.0.txt
@@ -0,0 +1,2 @@
+2
+2 3
diff --git a/public_test_cases/p03568/input.1.txt b/public_test_cases/p03568/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2174064a619baff298cf6c4bc0e9d6408cfe3343
--- /dev/null
+++ b/public_test_cases/p03568/input.1.txt
@@ -0,0 +1,2 @@
+10
+90 52 56 71 44 8 13 30 57 84
diff --git a/public_test_cases/p03568/input.2.txt b/public_test_cases/p03568/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6b80dc12eb8b4d587c14925619a0ed63a2a23c4
--- /dev/null
+++ b/public_test_cases/p03568/input.2.txt
@@ -0,0 +1,2 @@
+2
+2 3
diff --git a/public_test_cases/p03568/input.3.txt b/public_test_cases/p03568/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ace1d56c945a8b51a5a4b8866a21680d7caa2852
--- /dev/null
+++ b/public_test_cases/p03568/input.3.txt
@@ -0,0 +1,2 @@
+1
+100
diff --git a/public_test_cases/p03568/input.4.txt b/public_test_cases/p03568/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7c8d8c3c5f68303dbc6b7f9208e3f0e74235ba1
--- /dev/null
+++ b/public_test_cases/p03568/input.4.txt
@@ -0,0 +1,2 @@
+3
+3 3 3
diff --git a/public_test_cases/p03568/output.0.txt b/public_test_cases/p03568/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03568/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03568/output.1.txt b/public_test_cases/p03568/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87c026d313fed27515b2e6afe21cf3bce8b218aa
--- /dev/null
+++ b/public_test_cases/p03568/output.1.txt
@@ -0,0 +1 @@
+58921
diff --git a/public_test_cases/p03568/output.2.txt b/public_test_cases/p03568/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03568/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03568/output.3.txt b/public_test_cases/p03568/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03568/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03568/output.4.txt b/public_test_cases/p03568/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p03568/output.4.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p03569/input.0.txt b/public_test_cases/p03569/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db19ce83c1d59a66f1959aef8bd43b459a283597
--- /dev/null
+++ b/public_test_cases/p03569/input.0.txt
@@ -0,0 +1 @@
+xabxa
diff --git a/public_test_cases/p03569/input.1.txt b/public_test_cases/p03569/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p03569/input.1.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p03569/input.2.txt b/public_test_cases/p03569/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db19ce83c1d59a66f1959aef8bd43b459a283597
--- /dev/null
+++ b/public_test_cases/p03569/input.2.txt
@@ -0,0 +1 @@
+xabxa
diff --git a/public_test_cases/p03569/input.3.txt b/public_test_cases/p03569/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81bf396956110ad81c14860af1bbcc9dfbe4df20
--- /dev/null
+++ b/public_test_cases/p03569/input.3.txt
@@ -0,0 +1 @@
+ab
diff --git a/public_test_cases/p03569/input.4.txt b/public_test_cases/p03569/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d1a3d5e4ac30b797bd74ebbe97b5310677918ab
--- /dev/null
+++ b/public_test_cases/p03569/input.4.txt
@@ -0,0 +1 @@
+oxxx
diff --git a/public_test_cases/p03569/output.0.txt b/public_test_cases/p03569/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03569/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03569/output.1.txt b/public_test_cases/p03569/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03569/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03569/output.2.txt b/public_test_cases/p03569/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03569/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03569/output.3.txt b/public_test_cases/p03569/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03569/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03569/output.4.txt b/public_test_cases/p03569/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03569/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03570/input.0.txt b/public_test_cases/p03570/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef4623e4f2864fdd479fc030abf0cbfe86c12b81
--- /dev/null
+++ b/public_test_cases/p03570/input.0.txt
@@ -0,0 +1 @@
+aabxyyzz
diff --git a/public_test_cases/p03570/input.1.txt b/public_test_cases/p03570/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3abe061d90cd975b4bef1fa702caec7c0f320b29
--- /dev/null
+++ b/public_test_cases/p03570/input.1.txt
@@ -0,0 +1 @@
+byebye
diff --git a/public_test_cases/p03570/input.2.txt b/public_test_cases/p03570/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0883f382e1a80609b7b2c7904e701fbe6760b14
--- /dev/null
+++ b/public_test_cases/p03570/input.2.txt
@@ -0,0 +1 @@
+abcdefghijklmnopqrstuvwxyz
diff --git a/public_test_cases/p03570/input.3.txt b/public_test_cases/p03570/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef4623e4f2864fdd479fc030abf0cbfe86c12b81
--- /dev/null
+++ b/public_test_cases/p03570/input.3.txt
@@ -0,0 +1 @@
+aabxyyzz
diff --git a/public_test_cases/p03570/input.4.txt b/public_test_cases/p03570/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84c6e9e5df561d3b6ce9658870d9886d68efb2a2
--- /dev/null
+++ b/public_test_cases/p03570/input.4.txt
@@ -0,0 +1 @@
+abcabcxabcx
diff --git a/public_test_cases/p03570/output.0.txt b/public_test_cases/p03570/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03570/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03570/output.1.txt b/public_test_cases/p03570/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03570/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03570/output.2.txt b/public_test_cases/p03570/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p03570/output.2.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p03570/output.3.txt b/public_test_cases/p03570/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03570/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03570/output.4.txt b/public_test_cases/p03570/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03570/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03571/input.0.txt b/public_test_cases/p03571/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..daa56cc946f5c834b52daf52f052de6e44c97156
--- /dev/null
+++ b/public_test_cases/p03571/input.0.txt
@@ -0,0 +1 @@
+3 4 5 1
diff --git a/public_test_cases/p03571/input.1.txt b/public_test_cases/p03571/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2aa9e787cfb5468b50b0fdb47a585cb828979aee
--- /dev/null
+++ b/public_test_cases/p03571/input.1.txt
@@ -0,0 +1 @@
+1 2 3 0
diff --git a/public_test_cases/p03571/input.2.txt b/public_test_cases/p03571/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a6ac94d63029387080af7d4c329d901671dda91
--- /dev/null
+++ b/public_test_cases/p03571/input.2.txt
@@ -0,0 +1 @@
+3 5 7 100
diff --git a/public_test_cases/p03571/input.3.txt b/public_test_cases/p03571/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..daa56cc946f5c834b52daf52f052de6e44c97156
--- /dev/null
+++ b/public_test_cases/p03571/input.3.txt
@@ -0,0 +1 @@
+3 4 5 1
diff --git a/public_test_cases/p03571/input.4.txt b/public_test_cases/p03571/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..640580f17af42ce4959a7d083b872cfe53eaf2ae
--- /dev/null
+++ b/public_test_cases/p03571/input.4.txt
@@ -0,0 +1 @@
+1234 12345 1234567 5
diff --git a/public_test_cases/p03571/input.5.txt b/public_test_cases/p03571/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40be6763f7fc3032cf7d2ccb109b4f4fbcb22bb2
--- /dev/null
+++ b/public_test_cases/p03571/input.5.txt
@@ -0,0 +1 @@
+3 123456781 1000000000 100
diff --git a/public_test_cases/p03571/input.6.txt b/public_test_cases/p03571/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c48d2187ddab029d3cd9a14dcdc237c5d89d276e
--- /dev/null
+++ b/public_test_cases/p03571/input.6.txt
@@ -0,0 +1 @@
+999999997 999999999 1000000000 50000
diff --git a/public_test_cases/p03571/output.0.txt b/public_test_cases/p03571/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1e7bc86996a80d4a16529b990adda1d3434c92
--- /dev/null
+++ b/public_test_cases/p03571/output.0.txt
@@ -0,0 +1 @@
+54
diff --git a/public_test_cases/p03571/output.1.txt b/public_test_cases/p03571/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03571/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03571/output.2.txt b/public_test_cases/p03571/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f96ac06721837aa6a644a580c03c76f304e81db0
--- /dev/null
+++ b/public_test_cases/p03571/output.2.txt
@@ -0,0 +1 @@
+105
diff --git a/public_test_cases/p03571/output.3.txt b/public_test_cases/p03571/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb1e7bc86996a80d4a16529b990adda1d3434c92
--- /dev/null
+++ b/public_test_cases/p03571/output.3.txt
@@ -0,0 +1 @@
+54
diff --git a/public_test_cases/p03571/output.4.txt b/public_test_cases/p03571/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..307452a1c9bf0beafea015d6d0d7f69f65dc0997
--- /dev/null
+++ b/public_test_cases/p03571/output.4.txt
@@ -0,0 +1 @@
+150673016
diff --git a/public_test_cases/p03571/output.5.txt b/public_test_cases/p03571/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..032df39fa87320b44339f5867b0a1ca4828b29eb
--- /dev/null
+++ b/public_test_cases/p03571/output.5.txt
@@ -0,0 +1 @@
+444124403
diff --git a/public_test_cases/p03571/output.6.txt b/public_test_cases/p03571/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b10014c253f7b8741d17c9e65745b01be88bea3
--- /dev/null
+++ b/public_test_cases/p03571/output.6.txt
@@ -0,0 +1 @@
+8402143
diff --git a/public_test_cases/p03572/input.0.txt b/public_test_cases/p03572/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d080ca626ae28126cef844007c6d9d8c52491f0
--- /dev/null
+++ b/public_test_cases/p03572/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2 3
+2 3 1
diff --git a/public_test_cases/p03572/input.1.txt b/public_test_cases/p03572/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d080ca626ae28126cef844007c6d9d8c52491f0
--- /dev/null
+++ b/public_test_cases/p03572/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2 3
+2 3 1
diff --git a/public_test_cases/p03572/input.2.txt b/public_test_cases/p03572/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9005bae1a08640dea5aef6c8dd4e670725084aad
--- /dev/null
+++ b/public_test_cases/p03572/input.2.txt
@@ -0,0 +1,3 @@
+9
+4 5 6 7 8 9 1 2 3
+7 8 9 1 2 3 4 5 6
diff --git a/public_test_cases/p03572/input.3.txt b/public_test_cases/p03572/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b186e0a22bc3d061de3cdfe175d2bcfe3a4cf33d
--- /dev/null
+++ b/public_test_cases/p03572/input.3.txt
@@ -0,0 +1,3 @@
+6
+1 2 3 4 5 6
+2 1 4 3 6 5
diff --git a/public_test_cases/p03572/input.4.txt b/public_test_cases/p03572/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0139c299951a85ea18f7c8b358244356b953fb1
--- /dev/null
+++ b/public_test_cases/p03572/input.4.txt
@@ -0,0 +1,3 @@
+3
+1 2 3
+1 2 3
diff --git a/public_test_cases/p03572/input.5.txt b/public_test_cases/p03572/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54c9bcc88a45b44c407ce6ad8e2765709c862500
--- /dev/null
+++ b/public_test_cases/p03572/input.5.txt
@@ -0,0 +1,3 @@
+6
+1 2 3 4 5 6
+6 5 4 3 2 1
diff --git a/public_test_cases/p03572/output.0.txt b/public_test_cases/p03572/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03572/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03572/output.1.txt b/public_test_cases/p03572/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03572/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03572/output.2.txt b/public_test_cases/p03572/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afbdde3319f5b519d76b4b015bf954ec894e2c18
--- /dev/null
+++ b/public_test_cases/p03572/output.2.txt
@@ -0,0 +1 @@
+33600
diff --git a/public_test_cases/p03572/output.3.txt b/public_test_cases/p03572/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p03572/output.3.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p03572/output.4.txt b/public_test_cases/p03572/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03572/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03572/output.5.txt b/public_test_cases/p03572/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a76256037d61ef7aed02f761d7673513e814e747
--- /dev/null
+++ b/public_test_cases/p03572/output.5.txt
@@ -0,0 +1 @@
+160
diff --git a/public_test_cases/p03573/input.0.txt b/public_test_cases/p03573/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f1497a8f8479aa395017cb862f6aecb9445987e
--- /dev/null
+++ b/public_test_cases/p03573/input.0.txt
@@ -0,0 +1 @@
+5 7 5
diff --git a/public_test_cases/p03573/input.1.txt b/public_test_cases/p03573/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f1497a8f8479aa395017cb862f6aecb9445987e
--- /dev/null
+++ b/public_test_cases/p03573/input.1.txt
@@ -0,0 +1 @@
+5 7 5
diff --git a/public_test_cases/p03573/input.2.txt b/public_test_cases/p03573/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0570047f5e6e837d1e518e41c0418dff45f5d4c
--- /dev/null
+++ b/public_test_cases/p03573/input.2.txt
@@ -0,0 +1 @@
+-100 100 100
diff --git a/public_test_cases/p03573/input.3.txt b/public_test_cases/p03573/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..747c5e3e594c3970a6366e434ea91854c811fe66
--- /dev/null
+++ b/public_test_cases/p03573/input.3.txt
@@ -0,0 +1 @@
+1 1 7
diff --git a/public_test_cases/p03573/output.0.txt b/public_test_cases/p03573/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03573/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03573/output.1.txt b/public_test_cases/p03573/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03573/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03573/output.2.txt b/public_test_cases/p03573/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e96acb9254becae7d57c63a77897b49f2688c9e1
--- /dev/null
+++ b/public_test_cases/p03573/output.2.txt
@@ -0,0 +1 @@
+-100
diff --git a/public_test_cases/p03573/output.3.txt b/public_test_cases/p03573/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03573/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03574/input.0.txt b/public_test_cases/p03574/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2de4b27b1efa8cebbfacdfd2c162f20042426c09
--- /dev/null
+++ b/public_test_cases/p03574/input.0.txt
@@ -0,0 +1,4 @@
+3 5
+.....
+.#.#.
+.....
diff --git a/public_test_cases/p03574/input.1.txt b/public_test_cases/p03574/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2de4b27b1efa8cebbfacdfd2c162f20042426c09
--- /dev/null
+++ b/public_test_cases/p03574/input.1.txt
@@ -0,0 +1,4 @@
+3 5
+.....
+.#.#.
+.....
diff --git a/public_test_cases/p03574/input.2.txt b/public_test_cases/p03574/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p03574/input.2.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p03574/input.3.txt b/public_test_cases/p03574/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ec177fd57a2745b330667259831bda1e294f07f
--- /dev/null
+++ b/public_test_cases/p03574/input.3.txt
@@ -0,0 +1,7 @@
+6 6
+.
+.#.##
+.#
+.#..#.
+.##..
+.#...
diff --git a/public_test_cases/p03574/output.0.txt b/public_test_cases/p03574/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c797e255780b6f64b5720e1e918cdb71480ab6a
--- /dev/null
+++ b/public_test_cases/p03574/output.0.txt
@@ -0,0 +1,3 @@
+11211
+1#2#1
+11211
diff --git a/public_test_cases/p03574/output.1.txt b/public_test_cases/p03574/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7c797e255780b6f64b5720e1e918cdb71480ab6a
--- /dev/null
+++ b/public_test_cases/p03574/output.1.txt
@@ -0,0 +1,3 @@
+11211
+1#2#1
+11211
diff --git a/public_test_cases/p03574/output.2.txt b/public_test_cases/p03574/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p03574/output.2.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p03574/output.3.txt b/public_test_cases/p03574/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..33bb793ae1505318753b3f3326ca318172d29532
--- /dev/null
+++ b/public_test_cases/p03574/output.3.txt
@@ -0,0 +1,6 @@
+3
+8#7##
+5#
+4#65#2
+5##21
+4#310
diff --git a/public_test_cases/p03575/input.0.txt b/public_test_cases/p03575/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..052f07af20aa7390e7dda7eed469604a7fcced87
--- /dev/null
+++ b/public_test_cases/p03575/input.0.txt
@@ -0,0 +1,8 @@
+7 7
+1 3
+2 7
+3 4
+4 5
+4 6
+5 6
+6 7
diff --git a/public_test_cases/p03575/input.1.txt b/public_test_cases/p03575/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc88773658f25592fbc224fa48bd285513c79119
--- /dev/null
+++ b/public_test_cases/p03575/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p03575/input.2.txt b/public_test_cases/p03575/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23c6e7c10e1b348c722c0dfc6f2413d74bc1698b
--- /dev/null
+++ b/public_test_cases/p03575/input.2.txt
@@ -0,0 +1,6 @@
+6 5
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p03575/input.3.txt b/public_test_cases/p03575/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..052f07af20aa7390e7dda7eed469604a7fcced87
--- /dev/null
+++ b/public_test_cases/p03575/input.3.txt
@@ -0,0 +1,8 @@
+7 7
+1 3
+2 7
+3 4
+4 5
+4 6
+5 6
+6 7
diff --git a/public_test_cases/p03575/output.0.txt b/public_test_cases/p03575/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03575/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03575/output.1.txt b/public_test_cases/p03575/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03575/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03575/output.2.txt b/public_test_cases/p03575/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03575/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03575/output.3.txt b/public_test_cases/p03575/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03575/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03576/input.0.txt b/public_test_cases/p03576/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5128c2de943a9b7dbc4e9c1a99295ca5e62deeb2
--- /dev/null
+++ b/public_test_cases/p03576/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+1 4
+3 3
+6 2
+8 1
diff --git a/public_test_cases/p03576/input.1.txt b/public_test_cases/p03576/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..07518943fe1e1f4e3faaed64dcd9a6d6481357d5
--- /dev/null
+++ b/public_test_cases/p03576/input.1.txt
@@ -0,0 +1,5 @@
+4 3
+-1000000000 -1000000000
+1000000000 1000000000
+-999999999 999999999
+999999999 -999999999
diff --git a/public_test_cases/p03576/input.2.txt b/public_test_cases/p03576/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e237cdbb3925cb7ac047b8c051216519280bb1cc
--- /dev/null
+++ b/public_test_cases/p03576/input.2.txt
@@ -0,0 +1,5 @@
+4 2
+0 0
+1 1
+2 2
+3 3
diff --git a/public_test_cases/p03576/input.3.txt b/public_test_cases/p03576/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5128c2de943a9b7dbc4e9c1a99295ca5e62deeb2
--- /dev/null
+++ b/public_test_cases/p03576/input.3.txt
@@ -0,0 +1,5 @@
+4 4
+1 4
+3 3
+6 2
+8 1
diff --git a/public_test_cases/p03576/output.0.txt b/public_test_cases/p03576/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03576/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03576/output.1.txt b/public_test_cases/p03576/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c02cf7e15192aacdea377a21f8462ed8d1513918
--- /dev/null
+++ b/public_test_cases/p03576/output.1.txt
@@ -0,0 +1 @@
+3999999996000000001
diff --git a/public_test_cases/p03576/output.2.txt b/public_test_cases/p03576/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03576/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03576/output.3.txt b/public_test_cases/p03576/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03576/output.3.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03577/input.0.txt b/public_test_cases/p03577/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6278f144219063e186191a7a5d52cfbddda36ce0
--- /dev/null
+++ b/public_test_cases/p03577/input.0.txt
@@ -0,0 +1 @@
+CODEFESTIVAL
diff --git a/public_test_cases/p03577/input.1.txt b/public_test_cases/p03577/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a154b22c13358dfda0232c8e217196811e4c6d5
--- /dev/null
+++ b/public_test_cases/p03577/input.1.txt
@@ -0,0 +1 @@
+YAKINIKUFESTIVAL
diff --git a/public_test_cases/p03577/input.2.txt b/public_test_cases/p03577/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f4cd0b88e10022d84e38bb2cbd3fcf5b5108854
--- /dev/null
+++ b/public_test_cases/p03577/input.2.txt
@@ -0,0 +1 @@
+CODEFESTIVALFESTIVAL
diff --git a/public_test_cases/p03577/input.3.txt b/public_test_cases/p03577/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6278f144219063e186191a7a5d52cfbddda36ce0
--- /dev/null
+++ b/public_test_cases/p03577/input.3.txt
@@ -0,0 +1 @@
+CODEFESTIVAL
diff --git a/public_test_cases/p03577/output.0.txt b/public_test_cases/p03577/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73dfa4644f07f3719f51d627d4d3c91de25a1667
--- /dev/null
+++ b/public_test_cases/p03577/output.0.txt
@@ -0,0 +1 @@
+CODE
diff --git a/public_test_cases/p03577/output.1.txt b/public_test_cases/p03577/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f15d90253bfebfc4698b8dc987a8c49fd93bd23c
--- /dev/null
+++ b/public_test_cases/p03577/output.1.txt
@@ -0,0 +1 @@
+YAKINIKU
diff --git a/public_test_cases/p03577/output.2.txt b/public_test_cases/p03577/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6278f144219063e186191a7a5d52cfbddda36ce0
--- /dev/null
+++ b/public_test_cases/p03577/output.2.txt
@@ -0,0 +1 @@
+CODEFESTIVAL
diff --git a/public_test_cases/p03577/output.3.txt b/public_test_cases/p03577/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..73dfa4644f07f3719f51d627d4d3c91de25a1667
--- /dev/null
+++ b/public_test_cases/p03577/output.3.txt
@@ -0,0 +1 @@
+CODE
diff --git a/public_test_cases/p03578/input.0.txt b/public_test_cases/p03578/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05fe154fa223abce8688ab17ece5eb9e534abe97
--- /dev/null
+++ b/public_test_cases/p03578/input.0.txt
@@ -0,0 +1,4 @@
+5
+3 1 4 1 5
+3
+5 4 3
diff --git a/public_test_cases/p03578/input.1.txt b/public_test_cases/p03578/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05fe154fa223abce8688ab17ece5eb9e534abe97
--- /dev/null
+++ b/public_test_cases/p03578/input.1.txt
@@ -0,0 +1,4 @@
+5
+3 1 4 1 5
+3
+5 4 3
diff --git a/public_test_cases/p03578/input.2.txt b/public_test_cases/p03578/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98816f574656d2dda13fdd93af63d41bf9f7015e
--- /dev/null
+++ b/public_test_cases/p03578/input.2.txt
@@ -0,0 +1,4 @@
+1
+800
+5
+100 100 100 100 100
diff --git a/public_test_cases/p03578/input.3.txt b/public_test_cases/p03578/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d34026d41da3b9db55d9a074947b3ccac677da9a
--- /dev/null
+++ b/public_test_cases/p03578/input.3.txt
@@ -0,0 +1,4 @@
+15
+1 2 2 3 3 3 4 4 4 4 5 5 5 5 5
+9
+5 4 3 2 1 2 3 4 5
diff --git a/public_test_cases/p03578/input.4.txt b/public_test_cases/p03578/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81e4ea25213d6bee15706d8a77f910d18afba624
--- /dev/null
+++ b/public_test_cases/p03578/input.4.txt
@@ -0,0 +1,4 @@
+7
+100 200 500 700 1200 1600 2000
+6
+100 200 500 700 1600 1600
diff --git a/public_test_cases/p03578/output.0.txt b/public_test_cases/p03578/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03578/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03578/output.1.txt b/public_test_cases/p03578/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03578/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03578/output.2.txt b/public_test_cases/p03578/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03578/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03578/output.3.txt b/public_test_cases/p03578/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03578/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03578/output.4.txt b/public_test_cases/p03578/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03578/output.4.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03579/input.0.txt b/public_test_cases/p03579/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23c6e7c10e1b348c722c0dfc6f2413d74bc1698b
--- /dev/null
+++ b/public_test_cases/p03579/input.0.txt
@@ -0,0 +1,6 @@
+6 5
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p03579/input.1.txt b/public_test_cases/p03579/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23c6e7c10e1b348c722c0dfc6f2413d74bc1698b
--- /dev/null
+++ b/public_test_cases/p03579/input.1.txt
@@ -0,0 +1,6 @@
+6 5
+1 2
+2 3
+3 4
+4 5
+5 6
diff --git a/public_test_cases/p03579/input.2.txt b/public_test_cases/p03579/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02b61e61ec3ca20984d01fc43a29dd57b06b0c9c
--- /dev/null
+++ b/public_test_cases/p03579/input.2.txt
@@ -0,0 +1,6 @@
+5 5
+1 2
+2 3
+3 1
+5 4
+5 1
diff --git a/public_test_cases/p03579/output.0.txt b/public_test_cases/p03579/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03579/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03579/output.1.txt b/public_test_cases/p03579/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03579/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03579/output.2.txt b/public_test_cases/p03579/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03579/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03580/input.0.txt b/public_test_cases/p03580/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d19331b2e70ee9ec63ba0969f111600efea2b890
--- /dev/null
+++ b/public_test_cases/p03580/input.0.txt
@@ -0,0 +1,2 @@
+7
+1010101
diff --git a/public_test_cases/p03580/input.1.txt b/public_test_cases/p03580/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d19331b2e70ee9ec63ba0969f111600efea2b890
--- /dev/null
+++ b/public_test_cases/p03580/input.1.txt
@@ -0,0 +1,2 @@
+7
+1010101
diff --git a/public_test_cases/p03580/input.2.txt b/public_test_cases/p03580/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fba2dee1811275ad97bafe2fc313f207e2d85858
--- /dev/null
+++ b/public_test_cases/p03580/input.2.txt
@@ -0,0 +1,2 @@
+50
+10101000010011011110001001111110000101010111100110
diff --git a/public_test_cases/p03580/output.0.txt b/public_test_cases/p03580/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03580/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03580/output.1.txt b/public_test_cases/p03580/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03580/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03580/output.2.txt b/public_test_cases/p03580/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03580/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03581/input.0.txt b/public_test_cases/p03581/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03581/input.0.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03581/input.1.txt b/public_test_cases/p03581/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45dbbecd30d62729b1acadb04f7907f77aaa9741
--- /dev/null
+++ b/public_test_cases/p03581/input.1.txt
@@ -0,0 +1 @@
+1987 1789
diff --git a/public_test_cases/p03581/input.2.txt b/public_test_cases/p03581/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8835c0701f66f328251eac951d4278ae8acd00a1
--- /dev/null
+++ b/public_test_cases/p03581/input.2.txt
@@ -0,0 +1 @@
+4 4
diff --git a/public_test_cases/p03581/input.3.txt b/public_test_cases/p03581/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03581/input.3.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03581/input.4.txt b/public_test_cases/p03581/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5b6096201d6b1d532a4301f492b7736cdde9c91
--- /dev/null
+++ b/public_test_cases/p03581/input.4.txt
@@ -0,0 +1 @@
+7 9
diff --git a/public_test_cases/p03581/output.0.txt b/public_test_cases/p03581/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03581/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03581/output.1.txt b/public_test_cases/p03581/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7379a9814b35e819da7aac8e1a5381bcb5d5232
--- /dev/null
+++ b/public_test_cases/p03581/output.1.txt
@@ -0,0 +1 @@
+456315553
diff --git a/public_test_cases/p03581/output.2.txt b/public_test_cases/p03581/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fdcd7c44cb1791f45e7386a8f230e018fd7e052
--- /dev/null
+++ b/public_test_cases/p03581/output.2.txt
@@ -0,0 +1 @@
+67
diff --git a/public_test_cases/p03581/output.3.txt b/public_test_cases/p03581/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03581/output.3.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03581/output.4.txt b/public_test_cases/p03581/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f839d3cc3f345f5a17253521e682ff0a11e9a157
--- /dev/null
+++ b/public_test_cases/p03581/output.4.txt
@@ -0,0 +1 @@
+7772
diff --git a/public_test_cases/p03582/input.0.txt b/public_test_cases/p03582/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fab56448a4e74f00a22d955d939228e8ac9f654
--- /dev/null
+++ b/public_test_cases/p03582/input.0.txt
@@ -0,0 +1 @@
+2 2 0
diff --git a/public_test_cases/p03582/input.1.txt b/public_test_cases/p03582/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8fab56448a4e74f00a22d955d939228e8ac9f654
--- /dev/null
+++ b/public_test_cases/p03582/input.1.txt
@@ -0,0 +1 @@
+2 2 0
diff --git a/public_test_cases/p03582/input.2.txt b/public_test_cases/p03582/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc3759002bf5280e344eeadc5dbf9ea31b3e0b78
--- /dev/null
+++ b/public_test_cases/p03582/input.2.txt
@@ -0,0 +1 @@
+1 1 1
diff --git a/public_test_cases/p03582/output.0.txt b/public_test_cases/p03582/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1790c8d8f24817257c4d9e9bfddcb7e7d001c208
--- /dev/null
+++ b/public_test_cases/p03582/output.0.txt
@@ -0,0 +1 @@
+abab
diff --git a/public_test_cases/p03582/output.1.txt b/public_test_cases/p03582/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1790c8d8f24817257c4d9e9bfddcb7e7d001c208
--- /dev/null
+++ b/public_test_cases/p03582/output.1.txt
@@ -0,0 +1 @@
+abab
diff --git a/public_test_cases/p03582/output.2.txt b/public_test_cases/p03582/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66a2f4b494cf4aa9e6dbd0668e7b93bb93b4546b
--- /dev/null
+++ b/public_test_cases/p03582/output.2.txt
@@ -0,0 +1 @@
+acb
diff --git a/public_test_cases/p03583/input.0.txt b/public_test_cases/p03583/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03583/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03583/input.1.txt b/public_test_cases/p03583/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03583/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03583/input.2.txt b/public_test_cases/p03583/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8eef87f3f969b769f1a3495324bf088557f6d72f
--- /dev/null
+++ b/public_test_cases/p03583/input.2.txt
@@ -0,0 +1 @@
+4664
diff --git a/public_test_cases/p03583/input.3.txt b/public_test_cases/p03583/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..294337bb646b5b52727165e0b0200589c4f82d4b
--- /dev/null
+++ b/public_test_cases/p03583/input.3.txt
@@ -0,0 +1 @@
+3485
diff --git a/public_test_cases/p03583/output.0.txt b/public_test_cases/p03583/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43cebf1df4e79a791597a64647725012587f449f
--- /dev/null
+++ b/public_test_cases/p03583/output.0.txt
@@ -0,0 +1 @@
+1 2 2
diff --git a/public_test_cases/p03583/output.1.txt b/public_test_cases/p03583/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43cebf1df4e79a791597a64647725012587f449f
--- /dev/null
+++ b/public_test_cases/p03583/output.1.txt
@@ -0,0 +1 @@
+1 2 2
diff --git a/public_test_cases/p03583/output.2.txt b/public_test_cases/p03583/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1e4782dca50611ad7fc314ba3edf71c5f44a59a
--- /dev/null
+++ b/public_test_cases/p03583/output.2.txt
@@ -0,0 +1 @@
+3498 3498 3498
diff --git a/public_test_cases/p03583/output.3.txt b/public_test_cases/p03583/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4621825b6a607250e9329270d4f263119e0807f1
--- /dev/null
+++ b/public_test_cases/p03583/output.3.txt
@@ -0,0 +1 @@
+872 1012974 1539173474040
diff --git a/public_test_cases/p03584/input.0.txt b/public_test_cases/p03584/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f4c3763d1cd0b8f5cfacf9e4ee6ac2c53c6d5b8
--- /dev/null
+++ b/public_test_cases/p03584/input.0.txt
@@ -0,0 +1,4 @@
+3 5
+3 3
+4 4
+2 5
diff --git a/public_test_cases/p03584/output.0.txt b/public_test_cases/p03584/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03584/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03585/input.0.txt b/public_test_cases/p03585/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bee223d572b5a7d591d961dc549fd0d9d32dd16
--- /dev/null
+++ b/public_test_cases/p03585/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 1 1
+2 -1 2
+-1 2 2
diff --git a/public_test_cases/p03585/input.1.txt b/public_test_cases/p03585/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..561b92eb019fcd5f1612ca530bfe71fe418dc004
--- /dev/null
+++ b/public_test_cases/p03585/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 1 2
+1 -1 0
+3 -1 -2
+1 -3 4
diff --git a/public_test_cases/p03585/input.2.txt b/public_test_cases/p03585/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bee223d572b5a7d591d961dc549fd0d9d32dd16
--- /dev/null
+++ b/public_test_cases/p03585/input.2.txt
@@ -0,0 +1,4 @@
+3
+1 1 1
+2 -1 2
+-1 2 2
diff --git a/public_test_cases/p03585/input.3.txt b/public_test_cases/p03585/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db24a564c8887a8e08d5f0dd5b96e1ee2ec7b493
--- /dev/null
+++ b/public_test_cases/p03585/input.3.txt
@@ -0,0 +1,8 @@
+7
+1 7 8
+-2 4 9
+3 -8 -5
+9 2 -14
+6 7 5
+-8 -9 3
+3 8 10
diff --git a/public_test_cases/p03585/output.0.txt b/public_test_cases/p03585/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a78a793c547e4d23202d5a5a8e44944abc21aa8
--- /dev/null
+++ b/public_test_cases/p03585/output.0.txt
@@ -0,0 +1 @@
+1.000000000000000 1.000000000000000
diff --git a/public_test_cases/p03585/output.1.txt b/public_test_cases/p03585/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b79b1751e0b681ed253c89a12f4b0352360e0537
--- /dev/null
+++ b/public_test_cases/p03585/output.1.txt
@@ -0,0 +1 @@
+-1.000000000000000 -1.000000000000000
diff --git a/public_test_cases/p03585/output.2.txt b/public_test_cases/p03585/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0a78a793c547e4d23202d5a5a8e44944abc21aa8
--- /dev/null
+++ b/public_test_cases/p03585/output.2.txt
@@ -0,0 +1 @@
+1.000000000000000 1.000000000000000
diff --git a/public_test_cases/p03585/output.3.txt b/public_test_cases/p03585/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e24e46fcbe630902fe98fa963b9d5b94f33eba6c
--- /dev/null
+++ b/public_test_cases/p03585/output.3.txt
@@ -0,0 +1 @@
+-1.722222222222222 1.325000000000000
diff --git a/public_test_cases/p03586/input.0.txt b/public_test_cases/p03586/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6bbfa589ed057bf5a9d97837db7065fa3f0adb3
--- /dev/null
+++ b/public_test_cases/p03586/input.0.txt
@@ -0,0 +1,5 @@
+4
+2 4
+3 8
+9 6
+10 7
diff --git a/public_test_cases/p03586/input.1.txt b/public_test_cases/p03586/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..362e0bf2f1975c381e7dcc7df15836465e477a57
--- /dev/null
+++ b/public_test_cases/p03586/input.1.txt
@@ -0,0 +1,4 @@
+3
+177 168
+2028 88772
+123456789 987654321
diff --git a/public_test_cases/p03586/input.2.txt b/public_test_cases/p03586/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6bbfa589ed057bf5a9d97837db7065fa3f0adb3
--- /dev/null
+++ b/public_test_cases/p03586/input.2.txt
@@ -0,0 +1,5 @@
+4
+2 4
+3 8
+9 6
+10 7
diff --git a/public_test_cases/p03586/output.0.txt b/public_test_cases/p03586/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d217aacfe4ca3d0ac76a59f677498e62e3b17f0
--- /dev/null
+++ b/public_test_cases/p03586/output.0.txt
@@ -0,0 +1,4 @@
+4
+11
+9
+2
diff --git a/public_test_cases/p03586/output.1.txt b/public_test_cases/p03586/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79543a6406ef963bb078ae04f6e3f465ddf48e0f
--- /dev/null
+++ b/public_test_cases/p03586/output.1.txt
@@ -0,0 +1,3 @@
+7953
+234831584
+471523108231963269
diff --git a/public_test_cases/p03586/output.2.txt b/public_test_cases/p03586/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d217aacfe4ca3d0ac76a59f677498e62e3b17f0
--- /dev/null
+++ b/public_test_cases/p03586/output.2.txt
@@ -0,0 +1,4 @@
+4
+11
+9
+2
diff --git a/public_test_cases/p03587/input.0.txt b/public_test_cases/p03587/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91f9bab3bb19e8711179df2cfcae02a5aa4f6b92
--- /dev/null
+++ b/public_test_cases/p03587/input.0.txt
@@ -0,0 +1 @@
+111100
diff --git a/public_test_cases/p03587/input.1.txt b/public_test_cases/p03587/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b4c127d1d2f545cec1e200772b31526487baa6b
--- /dev/null
+++ b/public_test_cases/p03587/input.1.txt
@@ -0,0 +1 @@
+001001
diff --git a/public_test_cases/p03587/input.2.txt b/public_test_cases/p03587/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4949eb930d0cf4dfe779fb20d06377c49899112
--- /dev/null
+++ b/public_test_cases/p03587/input.2.txt
@@ -0,0 +1 @@
+000000
diff --git a/public_test_cases/p03587/input.3.txt b/public_test_cases/p03587/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91f9bab3bb19e8711179df2cfcae02a5aa4f6b92
--- /dev/null
+++ b/public_test_cases/p03587/input.3.txt
@@ -0,0 +1 @@
+111100
diff --git a/public_test_cases/p03587/output.0.txt b/public_test_cases/p03587/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03587/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03587/output.1.txt b/public_test_cases/p03587/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03587/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03587/output.2.txt b/public_test_cases/p03587/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03587/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03587/output.3.txt b/public_test_cases/p03587/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03587/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03588/input.0.txt b/public_test_cases/p03588/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2c7f3d0980fea855ea9d1071255711c4cf9fa59
--- /dev/null
+++ b/public_test_cases/p03588/input.0.txt
@@ -0,0 +1,4 @@
+3
+4 7
+2 9
+6 2
diff --git a/public_test_cases/p03588/input.1.txt b/public_test_cases/p03588/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e2c7f3d0980fea855ea9d1071255711c4cf9fa59
--- /dev/null
+++ b/public_test_cases/p03588/input.1.txt
@@ -0,0 +1,4 @@
+3
+4 7
+2 9
+6 2
diff --git a/public_test_cases/p03588/input.2.txt b/public_test_cases/p03588/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f220008bd9454808196facc9dde1ad571dce8e9
--- /dev/null
+++ b/public_test_cases/p03588/input.2.txt
@@ -0,0 +1,3 @@
+2
+1 1000000000
+1000000000 1
diff --git a/public_test_cases/p03588/input.3.txt b/public_test_cases/p03588/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a83c92094b2c9c094d02df7722b08c62e696f2e9
--- /dev/null
+++ b/public_test_cases/p03588/input.3.txt
@@ -0,0 +1,6 @@
+5
+1 10
+3 6
+5 2
+4 4
+2 8
diff --git a/public_test_cases/p03588/output.0.txt b/public_test_cases/p03588/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03588/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03588/output.1.txt b/public_test_cases/p03588/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03588/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03588/output.2.txt b/public_test_cases/p03588/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a528ed87320071ba84058bf3cd59e85b5bb7fd7d
--- /dev/null
+++ b/public_test_cases/p03588/output.2.txt
@@ -0,0 +1 @@
+1000000001
diff --git a/public_test_cases/p03588/output.3.txt b/public_test_cases/p03588/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03588/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03589/input.0.txt b/public_test_cases/p03589/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03589/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03589/output.0.txt b/public_test_cases/p03589/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43cebf1df4e79a791597a64647725012587f449f
--- /dev/null
+++ b/public_test_cases/p03589/output.0.txt
@@ -0,0 +1 @@
+1 2 2
diff --git a/public_test_cases/p03590/input.0.txt b/public_test_cases/p03590/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f4c3763d1cd0b8f5cfacf9e4ee6ac2c53c6d5b8
--- /dev/null
+++ b/public_test_cases/p03590/input.0.txt
@@ -0,0 +1,4 @@
+3 5
+3 3
+4 4
+2 5
diff --git a/public_test_cases/p03590/input.1.txt b/public_test_cases/p03590/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..953b5b37ca1a455d1bd4e88eadb77d49e9191ed4
--- /dev/null
+++ b/public_test_cases/p03590/input.1.txt
@@ -0,0 +1,4 @@
+3 6
+3 3
+4 4
+2 5
diff --git a/public_test_cases/p03590/input.2.txt b/public_test_cases/p03590/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f756d3dd0511a71302020952b5d430d68bc5965
--- /dev/null
+++ b/public_test_cases/p03590/input.2.txt
@@ -0,0 +1,8 @@
+7 14
+10 5
+7 4
+11 4
+9 8
+3 6
+6 2
+8 9
diff --git a/public_test_cases/p03590/input.3.txt b/public_test_cases/p03590/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f4c3763d1cd0b8f5cfacf9e4ee6ac2c53c6d5b8
--- /dev/null
+++ b/public_test_cases/p03590/input.3.txt
@@ -0,0 +1,4 @@
+3 5
+3 3
+4 4
+2 5
diff --git a/public_test_cases/p03590/output.0.txt b/public_test_cases/p03590/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03590/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03590/output.1.txt b/public_test_cases/p03590/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03590/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03590/output.2.txt b/public_test_cases/p03590/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p03590/output.2.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p03590/output.3.txt b/public_test_cases/p03590/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03590/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03591/input.0.txt b/public_test_cases/p03591/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f15d90253bfebfc4698b8dc987a8c49fd93bd23c
--- /dev/null
+++ b/public_test_cases/p03591/input.0.txt
@@ -0,0 +1 @@
+YAKINIKU
diff --git a/public_test_cases/p03591/input.1.txt b/public_test_cases/p03591/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f15d90253bfebfc4698b8dc987a8c49fd93bd23c
--- /dev/null
+++ b/public_test_cases/p03591/input.1.txt
@@ -0,0 +1 @@
+YAKINIKU
diff --git a/public_test_cases/p03591/input.2.txt b/public_test_cases/p03591/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70d40cbffe290b231b4cbe4fe6cd655e98cb01da
--- /dev/null
+++ b/public_test_cases/p03591/input.2.txt
@@ -0,0 +1 @@
+TAKOYAKI
diff --git a/public_test_cases/p03591/input.3.txt b/public_test_cases/p03591/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1020c6f01a5567219929fa395b98a5cffc9e779b
--- /dev/null
+++ b/public_test_cases/p03591/input.3.txt
@@ -0,0 +1 @@
+YAK
diff --git a/public_test_cases/p03591/output.0.txt b/public_test_cases/p03591/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03591/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03591/output.1.txt b/public_test_cases/p03591/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03591/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03591/output.2.txt b/public_test_cases/p03591/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03591/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03591/output.3.txt b/public_test_cases/p03591/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03591/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03592/input.0.txt b/public_test_cases/p03592/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p03592/input.0.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p03592/input.1.txt b/public_test_cases/p03592/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p03592/input.1.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p03592/input.2.txt b/public_test_cases/p03592/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p03592/input.2.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p03592/input.3.txt b/public_test_cases/p03592/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74b25dcf266102603bd4911957533375a99b0148
--- /dev/null
+++ b/public_test_cases/p03592/input.3.txt
@@ -0,0 +1 @@
+7 9 20
diff --git a/public_test_cases/p03592/input.4.txt b/public_test_cases/p03592/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..803684c8a46f4ad036793a8684530ec2decafb74
--- /dev/null
+++ b/public_test_cases/p03592/input.4.txt
@@ -0,0 +1 @@
+3 5 8
diff --git a/public_test_cases/p03592/output.0.txt b/public_test_cases/p03592/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03592/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03592/output.1.txt b/public_test_cases/p03592/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03592/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03592/output.2.txt b/public_test_cases/p03592/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03592/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03592/output.3.txt b/public_test_cases/p03592/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03592/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03592/output.4.txt b/public_test_cases/p03592/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03592/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03593/input.0.txt b/public_test_cases/p03593/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b60f6feb4b124de99677b629f235649c40e01345
--- /dev/null
+++ b/public_test_cases/p03593/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+aabb
+aabb
+aacc
diff --git a/public_test_cases/p03593/input.1.txt b/public_test_cases/p03593/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50739428cf195c7b5a188dbcbabed0865aef1871
--- /dev/null
+++ b/public_test_cases/p03593/input.1.txt
@@ -0,0 +1,3 @@
+2 5
+abxba
+abyba
diff --git a/public_test_cases/p03593/input.2.txt b/public_test_cases/p03593/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..366f819e264d23683228bdd073fbe10a33e5769d
--- /dev/null
+++ b/public_test_cases/p03593/input.2.txt
@@ -0,0 +1,6 @@
+5 1
+t
+w
+e
+e
+t
diff --git a/public_test_cases/p03593/input.3.txt b/public_test_cases/p03593/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..415c5a1bed5bc0d48cdda58c5df2e1fb67d88be5
--- /dev/null
+++ b/public_test_cases/p03593/input.3.txt
@@ -0,0 +1,3 @@
+2 2
+aa
+bb
diff --git a/public_test_cases/p03593/input.4.txt b/public_test_cases/p03593/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6e07373df8563ac2f5ce1ff7e2d387c2fb5fc24
--- /dev/null
+++ b/public_test_cases/p03593/input.4.txt
@@ -0,0 +1,2 @@
+1 1
+z
diff --git a/public_test_cases/p03593/input.5.txt b/public_test_cases/p03593/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b60f6feb4b124de99677b629f235649c40e01345
--- /dev/null
+++ b/public_test_cases/p03593/input.5.txt
@@ -0,0 +1,4 @@
+3 4
+aabb
+aabb
+aacc
diff --git a/public_test_cases/p03593/output.0.txt b/public_test_cases/p03593/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03593/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03593/output.1.txt b/public_test_cases/p03593/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03593/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03593/output.2.txt b/public_test_cases/p03593/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03593/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03593/output.3.txt b/public_test_cases/p03593/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03593/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03593/output.4.txt b/public_test_cases/p03593/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03593/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03593/output.5.txt b/public_test_cases/p03593/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03593/output.5.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03594/input.0.txt b/public_test_cases/p03594/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p03594/input.0.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p03594/input.1.txt b/public_test_cases/p03594/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p03594/input.1.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p03594/input.2.txt b/public_test_cases/p03594/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb09d0419167765fd1dffe4eecba39579415d658
--- /dev/null
+++ b/public_test_cases/p03594/input.2.txt
@@ -0,0 +1 @@
+2 3 2
diff --git a/public_test_cases/p03594/output.0.txt b/public_test_cases/p03594/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0e9169aeea37eab7c6db5544a9e3949dfae2b30
--- /dev/null
+++ b/public_test_cases/p03594/output.0.txt
@@ -0,0 +1,2 @@
+RY
+GR
diff --git a/public_test_cases/p03594/output.1.txt b/public_test_cases/p03594/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0e9169aeea37eab7c6db5544a9e3949dfae2b30
--- /dev/null
+++ b/public_test_cases/p03594/output.1.txt
@@ -0,0 +1,2 @@
+RY
+GR
diff --git a/public_test_cases/p03594/output.2.txt b/public_test_cases/p03594/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b5b38851ee5398a9240ec29204ebc4431939bfe
--- /dev/null
+++ b/public_test_cases/p03594/output.2.txt
@@ -0,0 +1,2 @@
+RYB
+RGB
diff --git a/public_test_cases/p03595/input.0.txt b/public_test_cases/p03595/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c58f48c562f77d93c2701680a2880ebde62c84a7
--- /dev/null
+++ b/public_test_cases/p03595/input.0.txt
@@ -0,0 +1,5 @@
+2 2
+10
+01
+10
+01
diff --git a/public_test_cases/p03595/input.1.txt b/public_test_cases/p03595/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3517195fd368dcf11bdee47e287fd4522a6cf8a0
--- /dev/null
+++ b/public_test_cases/p03595/input.1.txt
@@ -0,0 +1,5 @@
+3 4
+111
+111
+1111
+1111
diff --git a/public_test_cases/p03595/input.2.txt b/public_test_cases/p03595/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e68d6b59357320f2932e9e35cd03736de6251c2e
--- /dev/null
+++ b/public_test_cases/p03595/input.2.txt
@@ -0,0 +1,5 @@
+9 13
+111100001
+010101011
+0000000000000
+1010111111101
diff --git a/public_test_cases/p03595/input.3.txt b/public_test_cases/p03595/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a5e2206beff3f777b91d1ac6cb827079a6e7f24
--- /dev/null
+++ b/public_test_cases/p03595/input.3.txt
@@ -0,0 +1,5 @@
+2 2
+11
+11
+11
+11
diff --git a/public_test_cases/p03595/input.4.txt b/public_test_cases/p03595/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e23ecb46543f307692dcbaf81ad3cd5e569345d6
--- /dev/null
+++ b/public_test_cases/p03595/input.4.txt
@@ -0,0 +1,5 @@
+17 21
+11001010101011101
+11001010011010111
+111010101110101111100
+011010110110101000111
diff --git a/public_test_cases/p03595/input.5.txt b/public_test_cases/p03595/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..202204cc8c8db3f4415b2ccbbfa9c69ecb7b637e
--- /dev/null
+++ b/public_test_cases/p03595/input.5.txt
@@ -0,0 +1,5 @@
+23 30
+01010010101010010001110
+11010100100100101010101
+000101001001010010101010101101
+101001000100101001010010101000
diff --git a/public_test_cases/p03595/input.6.txt b/public_test_cases/p03595/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c58f48c562f77d93c2701680a2880ebde62c84a7
--- /dev/null
+++ b/public_test_cases/p03595/input.6.txt
@@ -0,0 +1,5 @@
+2 2
+10
+01
+10
+01
diff --git a/public_test_cases/p03595/input.7.txt b/public_test_cases/p03595/input.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb46876ac42f833bf7db944426453dd60e448242
--- /dev/null
+++ b/public_test_cases/p03595/input.7.txt
@@ -0,0 +1,5 @@
+3 4
+000
+101
+1111
+0010
diff --git a/public_test_cases/p03595/output.0.txt b/public_test_cases/p03595/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03595/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03595/output.1.txt b/public_test_cases/p03595/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b809f8d5b608b051c5cc1eb7de360d80aec1239
--- /dev/null
+++ b/public_test_cases/p03595/output.1.txt
@@ -0,0 +1 @@
+1276
diff --git a/public_test_cases/p03595/output.2.txt b/public_test_cases/p03595/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19d9535afb0e2ca4a70d0b4870996f2f9a049eb2
--- /dev/null
+++ b/public_test_cases/p03595/output.2.txt
@@ -0,0 +1 @@
+177856
diff --git a/public_test_cases/p03595/output.3.txt b/public_test_cases/p03595/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p03595/output.3.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p03595/output.4.txt b/public_test_cases/p03595/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b3e126fba1807b79f239c3f8a0b45099b615d74
--- /dev/null
+++ b/public_test_cases/p03595/output.4.txt
@@ -0,0 +1 @@
+548356548
diff --git a/public_test_cases/p03595/output.5.txt b/public_test_cases/p03595/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d401677fead5a2ee397b9e26941182f61512d47c
--- /dev/null
+++ b/public_test_cases/p03595/output.5.txt
@@ -0,0 +1 @@
+734524988
diff --git a/public_test_cases/p03595/output.6.txt b/public_test_cases/p03595/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03595/output.6.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03595/output.7.txt b/public_test_cases/p03595/output.7.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03595/output.7.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03596/input.0.txt b/public_test_cases/p03596/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da7e2683930a192d974c42d4a5ff0edf17b08550
--- /dev/null
+++ b/public_test_cases/p03596/input.0.txt
@@ -0,0 +1,2 @@
+2
+3 3
diff --git a/public_test_cases/p03596/input.1.txt b/public_test_cases/p03596/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f63eb2bbdec3e47773eb4084d4df93d9305f9655
--- /dev/null
+++ b/public_test_cases/p03596/input.1.txt
@@ -0,0 +1,2 @@
+10
+3 1 4 1 5 9 2 6 5 3
diff --git a/public_test_cases/p03596/input.2.txt b/public_test_cases/p03596/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e37455d6909314e8f437d1f7233e5d7f35780f5b
--- /dev/null
+++ b/public_test_cases/p03596/input.2.txt
@@ -0,0 +1,2 @@
+4
+2 1 2 2
diff --git a/public_test_cases/p03596/input.3.txt b/public_test_cases/p03596/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p03596/input.3.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p03596/input.4.txt b/public_test_cases/p03596/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da7e2683930a192d974c42d4a5ff0edf17b08550
--- /dev/null
+++ b/public_test_cases/p03596/input.4.txt
@@ -0,0 +1,2 @@
+2
+3 3
diff --git a/public_test_cases/p03596/output.0.txt b/public_test_cases/p03596/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03596/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03596/output.1.txt b/public_test_cases/p03596/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03596/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03596/output.2.txt b/public_test_cases/p03596/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03596/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03596/output.3.txt b/public_test_cases/p03596/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03596/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03596/output.4.txt b/public_test_cases/p03596/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03596/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03597/input.0.txt b/public_test_cases/p03597/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b94473479cd96f84ea5fdd389a9f4f9d3786b8c1
--- /dev/null
+++ b/public_test_cases/p03597/input.0.txt
@@ -0,0 +1,2 @@
+3
+4
diff --git a/public_test_cases/p03597/input.1.txt b/public_test_cases/p03597/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b94473479cd96f84ea5fdd389a9f4f9d3786b8c1
--- /dev/null
+++ b/public_test_cases/p03597/input.1.txt
@@ -0,0 +1,2 @@
+3
+4
diff --git a/public_test_cases/p03597/input.2.txt b/public_test_cases/p03597/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc0829ef1f36f01d8630f1b7d4a72bc1fe072828
--- /dev/null
+++ b/public_test_cases/p03597/input.2.txt
@@ -0,0 +1,2 @@
+19
+100
diff --git a/public_test_cases/p03597/input.3.txt b/public_test_cases/p03597/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..937bac740bc20c8955f85232d72c06f8bb923b23
--- /dev/null
+++ b/public_test_cases/p03597/input.3.txt
@@ -0,0 +1,2 @@
+10
+0
diff --git a/public_test_cases/p03597/output.0.txt b/public_test_cases/p03597/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03597/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03597/output.1.txt b/public_test_cases/p03597/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03597/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03597/output.2.txt b/public_test_cases/p03597/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fc233b7abc7e73aab2d968759841218fde09dfb
--- /dev/null
+++ b/public_test_cases/p03597/output.2.txt
@@ -0,0 +1 @@
+261
diff --git a/public_test_cases/p03597/output.3.txt b/public_test_cases/p03597/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03597/output.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03598/input.0.txt b/public_test_cases/p03598/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..621d3f69d9e3859d74e3cec7936453dc456107a4
--- /dev/null
+++ b/public_test_cases/p03598/input.0.txt
@@ -0,0 +1,3 @@
+1
+10
+2
diff --git a/public_test_cases/p03598/input.1.txt b/public_test_cases/p03598/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..621d3f69d9e3859d74e3cec7936453dc456107a4
--- /dev/null
+++ b/public_test_cases/p03598/input.1.txt
@@ -0,0 +1,3 @@
+1
+10
+2
diff --git a/public_test_cases/p03598/input.2.txt b/public_test_cases/p03598/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06370ce79d874883193a6426e44f005553d46b7a
--- /dev/null
+++ b/public_test_cases/p03598/input.2.txt
@@ -0,0 +1,3 @@
+2
+9
+3 6
diff --git a/public_test_cases/p03598/input.3.txt b/public_test_cases/p03598/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b82e790c8fddbbbb35cdbd33603029dc359bbd5
--- /dev/null
+++ b/public_test_cases/p03598/input.3.txt
@@ -0,0 +1,3 @@
+5
+20
+11 12 9 17 12
diff --git a/public_test_cases/p03598/output.0.txt b/public_test_cases/p03598/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03598/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03598/output.1.txt b/public_test_cases/p03598/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03598/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03598/output.2.txt b/public_test_cases/p03598/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03598/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03598/output.3.txt b/public_test_cases/p03598/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fff0a2476aa5c8e60a3ef21cfc66e0cc670920be
--- /dev/null
+++ b/public_test_cases/p03598/output.3.txt
@@ -0,0 +1 @@
+74
diff --git a/public_test_cases/p03599/input.0.txt b/public_test_cases/p03599/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06354836e229041206f81c510cf52c3bd0293371
--- /dev/null
+++ b/public_test_cases/p03599/input.0.txt
@@ -0,0 +1 @@
+1 2 10 20 15 200
diff --git a/public_test_cases/p03599/input.1.txt b/public_test_cases/p03599/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74a7475567efc9349a79f4b99b40fa6257a472e5
--- /dev/null
+++ b/public_test_cases/p03599/input.1.txt
@@ -0,0 +1 @@
+1 2 1 2 100 1000
diff --git a/public_test_cases/p03599/input.2.txt b/public_test_cases/p03599/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06354836e229041206f81c510cf52c3bd0293371
--- /dev/null
+++ b/public_test_cases/p03599/input.2.txt
@@ -0,0 +1 @@
+1 2 10 20 15 200
diff --git a/public_test_cases/p03599/input.3.txt b/public_test_cases/p03599/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..616261117b3b0603fe04cb08aaf6b91469f91cb9
--- /dev/null
+++ b/public_test_cases/p03599/input.3.txt
@@ -0,0 +1 @@
+17 19 22 26 55 2802
diff --git a/public_test_cases/p03599/output.0.txt b/public_test_cases/p03599/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03c38c3977e4ab37579f0d3d17a5a0e38b148b44
--- /dev/null
+++ b/public_test_cases/p03599/output.0.txt
@@ -0,0 +1 @@
+110 10
diff --git a/public_test_cases/p03599/output.1.txt b/public_test_cases/p03599/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1500237c24296d952c6c8e739ce43ef8a78914be
--- /dev/null
+++ b/public_test_cases/p03599/output.1.txt
@@ -0,0 +1 @@
+200 100
diff --git a/public_test_cases/p03599/output.2.txt b/public_test_cases/p03599/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03c38c3977e4ab37579f0d3d17a5a0e38b148b44
--- /dev/null
+++ b/public_test_cases/p03599/output.2.txt
@@ -0,0 +1 @@
+110 10
diff --git a/public_test_cases/p03599/output.3.txt b/public_test_cases/p03599/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a6d3dc652a2b77cb73f5b91e11f9387b87185e7
--- /dev/null
+++ b/public_test_cases/p03599/output.3.txt
@@ -0,0 +1 @@
+2634 934
diff --git a/public_test_cases/p03600/input.0.txt b/public_test_cases/p03600/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ba40b3961b9f4f12aac2897d28ebee84b0b41b5
--- /dev/null
+++ b/public_test_cases/p03600/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 1 3
+1 0 2
+3 2 0
diff --git a/public_test_cases/p03600/input.1.txt b/public_test_cases/p03600/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e8ea178e38eb2e13e5e0126fa8cae1842da873a
--- /dev/null
+++ b/public_test_cases/p03600/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 1000000000 1000000000
+1000000000 0 1000000000
+1000000000 1000000000 0
diff --git a/public_test_cases/p03600/input.2.txt b/public_test_cases/p03600/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ba40b3961b9f4f12aac2897d28ebee84b0b41b5
--- /dev/null
+++ b/public_test_cases/p03600/input.2.txt
@@ -0,0 +1,4 @@
+3
+0 1 3
+1 0 2
+3 2 0
diff --git a/public_test_cases/p03600/input.3.txt b/public_test_cases/p03600/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91066a224d710738746b1287b27eea54a337aa16
--- /dev/null
+++ b/public_test_cases/p03600/input.3.txt
@@ -0,0 +1,4 @@
+3
+0 1 3
+1 0 1
+3 1 0
diff --git a/public_test_cases/p03600/input.4.txt b/public_test_cases/p03600/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21d1b10b6c9e6def83cc76e086f56a8adbddf38d
--- /dev/null
+++ b/public_test_cases/p03600/input.4.txt
@@ -0,0 +1,6 @@
+5
+0 21 18 11 28
+21 0 13 10 26
+18 13 0 23 13
+11 10 23 0 17
+28 26 13 17 0
diff --git a/public_test_cases/p03600/output.0.txt b/public_test_cases/p03600/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03600/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03600/output.1.txt b/public_test_cases/p03600/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1911b6e1e0b6ba372db173e7dcb15d7f609827d2
--- /dev/null
+++ b/public_test_cases/p03600/output.1.txt
@@ -0,0 +1 @@
+3000000000
diff --git a/public_test_cases/p03600/output.2.txt b/public_test_cases/p03600/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03600/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03600/output.3.txt b/public_test_cases/p03600/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03600/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03600/output.4.txt b/public_test_cases/p03600/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dde92ddc1a594acd912b467305f36d9f26da45f3
--- /dev/null
+++ b/public_test_cases/p03600/output.4.txt
@@ -0,0 +1 @@
+82
diff --git a/public_test_cases/p03601/input.0.txt b/public_test_cases/p03601/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06354836e229041206f81c510cf52c3bd0293371
--- /dev/null
+++ b/public_test_cases/p03601/input.0.txt
@@ -0,0 +1 @@
+1 2 10 20 15 200
diff --git a/public_test_cases/p03601/output.0.txt b/public_test_cases/p03601/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03c38c3977e4ab37579f0d3d17a5a0e38b148b44
--- /dev/null
+++ b/public_test_cases/p03601/output.0.txt
@@ -0,0 +1 @@
+110 10
diff --git a/public_test_cases/p03602/input.0.txt b/public_test_cases/p03602/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ba40b3961b9f4f12aac2897d28ebee84b0b41b5
--- /dev/null
+++ b/public_test_cases/p03602/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 1 3
+1 0 2
+3 2 0
diff --git a/public_test_cases/p03602/output.0.txt b/public_test_cases/p03602/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03602/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03603/input.0.txt b/public_test_cases/p03603/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbae4633d8610f4a93578740a88eb5efb2f67342
--- /dev/null
+++ b/public_test_cases/p03603/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 1
+4 3 2
diff --git a/public_test_cases/p03603/input.1.txt b/public_test_cases/p03603/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbae4633d8610f4a93578740a88eb5efb2f67342
--- /dev/null
+++ b/public_test_cases/p03603/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 1
+4 3 2
diff --git a/public_test_cases/p03603/input.2.txt b/public_test_cases/p03603/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..89f5c351ae55b789044d16216bc4379b97fb0c23
--- /dev/null
+++ b/public_test_cases/p03603/input.2.txt
@@ -0,0 +1,3 @@
+8
+1 1 1 3 4 5 5
+4 1 6 2 2 1 3 3
diff --git a/public_test_cases/p03603/input.3.txt b/public_test_cases/p03603/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2c112f580567e7b059620337ff2ef1c7d142f81
--- /dev/null
+++ b/public_test_cases/p03603/input.3.txt
@@ -0,0 +1,3 @@
+1
+
+0
diff --git a/public_test_cases/p03603/input.4.txt b/public_test_cases/p03603/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ada4f5df8a95028c3ab8325e31442a8c782c0b4b
--- /dev/null
+++ b/public_test_cases/p03603/input.4.txt
@@ -0,0 +1,3 @@
+3
+1 2
+1 2 3
diff --git a/public_test_cases/p03603/output.0.txt b/public_test_cases/p03603/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03603/output.0.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03603/output.1.txt b/public_test_cases/p03603/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03603/output.1.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03603/output.2.txt b/public_test_cases/p03603/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03603/output.2.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03603/output.3.txt b/public_test_cases/p03603/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03603/output.3.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03603/output.4.txt b/public_test_cases/p03603/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p03603/output.4.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p03604/input.0.txt b/public_test_cases/p03604/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d26dbe20cd2fea504fbb1ddd88f8d210753ddd8
--- /dev/null
+++ b/public_test_cases/p03604/input.0.txt
@@ -0,0 +1,5 @@
+2
+1 1
+1 2
+2 1
+2 2
diff --git a/public_test_cases/p03604/input.1.txt b/public_test_cases/p03604/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1ac84d82c231d63c14be53db40220a739d4ac9c
--- /dev/null
+++ b/public_test_cases/p03604/input.1.txt
@@ -0,0 +1,9 @@
+4
+1 1
+2 2
+3 3
+4 4
+1 2
+2 1
+3 4
+4 3
diff --git a/public_test_cases/p03604/input.2.txt b/public_test_cases/p03604/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..faef7aa92bfef9f747cce4911d30225a77109350
--- /dev/null
+++ b/public_test_cases/p03604/input.2.txt
@@ -0,0 +1,17 @@
+8
+6 2
+5 1
+6 8
+7 8
+6 5
+5 7
+4 3
+1 4
+7 6
+8 3
+2 8
+3 6
+3 2
+8 5
+1 5
+5 8
diff --git a/public_test_cases/p03604/input.3.txt b/public_test_cases/p03604/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d26dbe20cd2fea504fbb1ddd88f8d210753ddd8
--- /dev/null
+++ b/public_test_cases/p03604/input.3.txt
@@ -0,0 +1,5 @@
+2
+1 1
+1 2
+2 1
+2 2
diff --git a/public_test_cases/p03604/input.4.txt b/public_test_cases/p03604/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9f5beab78641901c79414eebc39c258866ea46b9
--- /dev/null
+++ b/public_test_cases/p03604/input.4.txt
@@ -0,0 +1,7 @@
+3
+1 1
+1 2
+1 3
+2 1
+2 2
+2 3
diff --git a/public_test_cases/p03604/input.5.txt b/public_test_cases/p03604/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b91a8acb88f18fd4862c3f09447ec1701917856d
--- /dev/null
+++ b/public_test_cases/p03604/input.5.txt
@@ -0,0 +1,9 @@
+4
+3 2
+1 2
+4 1
+4 2
+2 2
+4 4
+2 1
+1 3
diff --git a/public_test_cases/p03604/output.0.txt b/public_test_cases/p03604/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03604/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03604/output.1.txt b/public_test_cases/p03604/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bf6eb06ed73887a3abae2753b127a05f3401d5a
--- /dev/null
+++ b/public_test_cases/p03604/output.1.txt
@@ -0,0 +1 @@
+4480
diff --git a/public_test_cases/p03604/output.2.txt b/public_test_cases/p03604/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd3bd0c57e177f0b77f742c24d482880a519318e
--- /dev/null
+++ b/public_test_cases/p03604/output.2.txt
@@ -0,0 +1 @@
+82060779
diff --git a/public_test_cases/p03604/output.3.txt b/public_test_cases/p03604/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03604/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03604/output.4.txt b/public_test_cases/p03604/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03604/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03604/output.5.txt b/public_test_cases/p03604/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0d6bf571e8639a356c9364f082a36c0e0cf175f
--- /dev/null
+++ b/public_test_cases/p03604/output.5.txt
@@ -0,0 +1 @@
+7392
diff --git a/public_test_cases/p03605/input.0.txt b/public_test_cases/p03605/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f04c001f3f7fd5d290d0264b4a2c35f7b159ac42
--- /dev/null
+++ b/public_test_cases/p03605/input.0.txt
@@ -0,0 +1 @@
+29
diff --git a/public_test_cases/p03605/input.1.txt b/public_test_cases/p03605/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f04c001f3f7fd5d290d0264b4a2c35f7b159ac42
--- /dev/null
+++ b/public_test_cases/p03605/input.1.txt
@@ -0,0 +1 @@
+29
diff --git a/public_test_cases/p03605/input.2.txt b/public_test_cases/p03605/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fe4e495fed81a962c91dde803eb5bbe3aa14261
--- /dev/null
+++ b/public_test_cases/p03605/input.2.txt
@@ -0,0 +1 @@
+91
diff --git a/public_test_cases/p03605/input.3.txt b/public_test_cases/p03605/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea70ce013438b2e42d5297cf39110708d9cfe033
--- /dev/null
+++ b/public_test_cases/p03605/input.3.txt
@@ -0,0 +1 @@
+72
diff --git a/public_test_cases/p03605/output.0.txt b/public_test_cases/p03605/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03605/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03605/output.1.txt b/public_test_cases/p03605/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03605/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03605/output.2.txt b/public_test_cases/p03605/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03605/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03605/output.3.txt b/public_test_cases/p03605/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03605/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03606/input.0.txt b/public_test_cases/p03606/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a23486bd597b8f667459a3acc6c0fd78f9e48dd1
--- /dev/null
+++ b/public_test_cases/p03606/input.0.txt
@@ -0,0 +1,2 @@
+1
+24 30
diff --git a/public_test_cases/p03606/input.1.txt b/public_test_cases/p03606/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a23486bd597b8f667459a3acc6c0fd78f9e48dd1
--- /dev/null
+++ b/public_test_cases/p03606/input.1.txt
@@ -0,0 +1,2 @@
+1
+24 30
diff --git a/public_test_cases/p03606/input.2.txt b/public_test_cases/p03606/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2546551f1bdee87e8b49abaefb4ac5a12537e007
--- /dev/null
+++ b/public_test_cases/p03606/input.2.txt
@@ -0,0 +1,3 @@
+2
+6 8
+3 3
diff --git a/public_test_cases/p03606/output.0.txt b/public_test_cases/p03606/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03606/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03606/output.1.txt b/public_test_cases/p03606/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03606/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03606/output.2.txt b/public_test_cases/p03606/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03606/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03607/input.0.txt b/public_test_cases/p03607/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7282dfabada5e88d9ef1968157c0f732cced671
--- /dev/null
+++ b/public_test_cases/p03607/input.0.txt
@@ -0,0 +1,4 @@
+3
+6
+2
+6
diff --git a/public_test_cases/p03607/input.1.txt b/public_test_cases/p03607/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7282dfabada5e88d9ef1968157c0f732cced671
--- /dev/null
+++ b/public_test_cases/p03607/input.1.txt
@@ -0,0 +1,4 @@
+3
+6
+2
+6
diff --git a/public_test_cases/p03607/input.2.txt b/public_test_cases/p03607/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c7892595226176004a889759994a5c07fa57e2b
--- /dev/null
+++ b/public_test_cases/p03607/input.2.txt
@@ -0,0 +1,5 @@
+4
+2
+5
+5
+2
diff --git a/public_test_cases/p03607/input.3.txt b/public_test_cases/p03607/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..041499452d17110a5f46560af9fec6b89ba5c4b8
--- /dev/null
+++ b/public_test_cases/p03607/input.3.txt
@@ -0,0 +1,7 @@
+6
+12
+22
+16
+22
+18
+12
diff --git a/public_test_cases/p03607/output.0.txt b/public_test_cases/p03607/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03607/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03607/output.1.txt b/public_test_cases/p03607/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03607/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03607/output.2.txt b/public_test_cases/p03607/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03607/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03607/output.3.txt b/public_test_cases/p03607/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03607/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03608/input.0.txt b/public_test_cases/p03608/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c99749f9160c091c45fe78d87bbdd3cf4703dd3b
--- /dev/null
+++ b/public_test_cases/p03608/input.0.txt
@@ -0,0 +1,5 @@
+3 3 3
+1 2 3
+1 2 1
+2 3 1
+3 1 4
diff --git a/public_test_cases/p03608/input.1.txt b/public_test_cases/p03608/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e47ade297a1752e2e6833d4a24f7b7dac780b973
--- /dev/null
+++ b/public_test_cases/p03608/input.1.txt
@@ -0,0 +1,8 @@
+4 6 3
+2 3 4
+1 2 4
+2 3 3
+4 3 1
+1 4 1
+4 2 2
+3 1 6
diff --git a/public_test_cases/p03608/input.2.txt b/public_test_cases/p03608/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c99749f9160c091c45fe78d87bbdd3cf4703dd3b
--- /dev/null
+++ b/public_test_cases/p03608/input.2.txt
@@ -0,0 +1,5 @@
+3 3 3
+1 2 3
+1 2 1
+2 3 1
+3 1 4
diff --git a/public_test_cases/p03608/input.3.txt b/public_test_cases/p03608/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d674d468b05a6058982f8b220d777208ffc5a2e
--- /dev/null
+++ b/public_test_cases/p03608/input.3.txt
@@ -0,0 +1,5 @@
+3 3 2
+1 3
+2 3 2
+1 3 6
+1 2 2
diff --git a/public_test_cases/p03608/output.0.txt b/public_test_cases/p03608/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03608/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03608/output.1.txt b/public_test_cases/p03608/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03608/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03608/output.2.txt b/public_test_cases/p03608/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03608/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03608/output.3.txt b/public_test_cases/p03608/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03608/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03609/input.0.txt b/public_test_cases/p03609/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d998482785a2c1f2ee2df0a322684c23e6cc8a1
--- /dev/null
+++ b/public_test_cases/p03609/input.0.txt
@@ -0,0 +1 @@
+100 17
diff --git a/public_test_cases/p03609/input.1.txt b/public_test_cases/p03609/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12f5eb891c322d9a5b97973aa062015954838ad6
--- /dev/null
+++ b/public_test_cases/p03609/input.1.txt
@@ -0,0 +1 @@
+48 58
diff --git a/public_test_cases/p03609/input.2.txt b/public_test_cases/p03609/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caf89741fceaaa4127b0607f26763103dc3d00ca
--- /dev/null
+++ b/public_test_cases/p03609/input.2.txt
@@ -0,0 +1 @@
+1000000000 1000000000
diff --git a/public_test_cases/p03609/input.3.txt b/public_test_cases/p03609/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d998482785a2c1f2ee2df0a322684c23e6cc8a1
--- /dev/null
+++ b/public_test_cases/p03609/input.3.txt
@@ -0,0 +1 @@
+100 17
diff --git a/public_test_cases/p03609/output.0.txt b/public_test_cases/p03609/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76a8b2b7030a5174d272734b25898ecee82a0830
--- /dev/null
+++ b/public_test_cases/p03609/output.0.txt
@@ -0,0 +1 @@
+83
diff --git a/public_test_cases/p03609/output.1.txt b/public_test_cases/p03609/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03609/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03609/output.2.txt b/public_test_cases/p03609/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03609/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03609/output.3.txt b/public_test_cases/p03609/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76a8b2b7030a5174d272734b25898ecee82a0830
--- /dev/null
+++ b/public_test_cases/p03609/output.3.txt
@@ -0,0 +1 @@
+83
diff --git a/public_test_cases/p03610/input.0.txt b/public_test_cases/p03610/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ef13d11d0bc8c8cde49253ea4a0cdbea2c9416
--- /dev/null
+++ b/public_test_cases/p03610/input.0.txt
@@ -0,0 +1 @@
+atcoder
diff --git a/public_test_cases/p03610/output.0.txt b/public_test_cases/p03610/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d04ab90941856b9f63463bf2985acdbe97615d86
--- /dev/null
+++ b/public_test_cases/p03610/output.0.txt
@@ -0,0 +1 @@
+acdr
diff --git a/public_test_cases/p03611/input.0.txt b/public_test_cases/p03611/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e87d7a086c27bcb29567dd1086f15cc55abd524
--- /dev/null
+++ b/public_test_cases/p03611/input.0.txt
@@ -0,0 +1,2 @@
+7
+3 1 4 1 5 9 2
diff --git a/public_test_cases/p03611/output.0.txt b/public_test_cases/p03611/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03611/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03612/input.0.txt b/public_test_cases/p03612/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28360663082779fc5b0073c379f3bd0a3995650e
--- /dev/null
+++ b/public_test_cases/p03612/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 4 3 5 2
diff --git a/public_test_cases/p03612/input.1.txt b/public_test_cases/p03612/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28360663082779fc5b0073c379f3bd0a3995650e
--- /dev/null
+++ b/public_test_cases/p03612/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 4 3 5 2
diff --git a/public_test_cases/p03612/input.2.txt b/public_test_cases/p03612/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76c825cf02aafda59e7201090090ef0c952d3672
--- /dev/null
+++ b/public_test_cases/p03612/input.2.txt
@@ -0,0 +1,2 @@
+9
+1 2 4 9 5 8 7 3 6
diff --git a/public_test_cases/p03612/input.3.txt b/public_test_cases/p03612/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03612/input.3.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03612/input.4.txt b/public_test_cases/p03612/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65cd4f58526b6a547080920f1f04b3d3a58b80b1
--- /dev/null
+++ b/public_test_cases/p03612/input.4.txt
@@ -0,0 +1,2 @@
+2
+2 1
diff --git a/public_test_cases/p03612/output.0.txt b/public_test_cases/p03612/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03612/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03612/output.1.txt b/public_test_cases/p03612/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03612/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03612/output.2.txt b/public_test_cases/p03612/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03612/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03612/output.3.txt b/public_test_cases/p03612/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03612/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03612/output.4.txt b/public_test_cases/p03612/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03612/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03613/input.0.txt b/public_test_cases/p03613/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e87d7a086c27bcb29567dd1086f15cc55abd524
--- /dev/null
+++ b/public_test_cases/p03613/input.0.txt
@@ -0,0 +1,2 @@
+7
+3 1 4 1 5 9 2
diff --git a/public_test_cases/p03613/input.1.txt b/public_test_cases/p03613/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e87d7a086c27bcb29567dd1086f15cc55abd524
--- /dev/null
+++ b/public_test_cases/p03613/input.1.txt
@@ -0,0 +1,2 @@
+7
+3 1 4 1 5 9 2
diff --git a/public_test_cases/p03613/input.2.txt b/public_test_cases/p03613/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4a0ecd37aa595b1e59ef8bbd436f8fe416f97ce
--- /dev/null
+++ b/public_test_cases/p03613/input.2.txt
@@ -0,0 +1,2 @@
+10
+0 1 2 3 4 5 6 7 8 9
diff --git a/public_test_cases/p03613/input.3.txt b/public_test_cases/p03613/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed3a625fa45cfa7ea95b4610d354e6aa7701fe06
--- /dev/null
+++ b/public_test_cases/p03613/input.3.txt
@@ -0,0 +1,2 @@
+1
+99999
diff --git a/public_test_cases/p03613/output.0.txt b/public_test_cases/p03613/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03613/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03613/output.1.txt b/public_test_cases/p03613/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03613/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03613/output.2.txt b/public_test_cases/p03613/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03613/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03613/output.3.txt b/public_test_cases/p03613/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03613/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03614/input.0.txt b/public_test_cases/p03614/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28360663082779fc5b0073c379f3bd0a3995650e
--- /dev/null
+++ b/public_test_cases/p03614/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 4 3 5 2
diff --git a/public_test_cases/p03614/output.0.txt b/public_test_cases/p03614/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03614/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03615/input.0.txt b/public_test_cases/p03615/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6261c29d220c9a855c0a499a2e85bfb30611d6b9
--- /dev/null
+++ b/public_test_cases/p03615/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 0
+0 1
+1 0
+1 1
diff --git a/public_test_cases/p03615/input.1.txt b/public_test_cases/p03615/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..604bcf4a2a9eec3bf7833d6449b85e48bafde28d
--- /dev/null
+++ b/public_test_cases/p03615/input.1.txt
@@ -0,0 +1,2 @@
+1
+3141 2718
diff --git a/public_test_cases/p03615/input.2.txt b/public_test_cases/p03615/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6261c29d220c9a855c0a499a2e85bfb30611d6b9
--- /dev/null
+++ b/public_test_cases/p03615/input.2.txt
@@ -0,0 +1,5 @@
+4
+0 0
+0 1
+1 0
+1 1
diff --git a/public_test_cases/p03615/input.3.txt b/public_test_cases/p03615/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77bea69e4f6a4681073eba07f3b75351e51f0abc
--- /dev/null
+++ b/public_test_cases/p03615/input.3.txt
@@ -0,0 +1,6 @@
+5
+0 0
+0 1
+0 2
+0 3
+1 1
diff --git a/public_test_cases/p03615/output.0.txt b/public_test_cases/p03615/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03615/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03615/output.1.txt b/public_test_cases/p03615/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03615/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03615/output.2.txt b/public_test_cases/p03615/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03615/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03615/output.3.txt b/public_test_cases/p03615/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03615/output.3.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03616/input.0.txt b/public_test_cases/p03616/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc792429d3d86d714d751cefaf663562b44bec42
--- /dev/null
+++ b/public_test_cases/p03616/input.0.txt
@@ -0,0 +1,7 @@
+180
+3
+60 120 180
+3
+30 90
+61 1
+180 180
diff --git a/public_test_cases/p03616/input.1.txt b/public_test_cases/p03616/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..069aec92ee68d8d8bc1647bf7e7a6ba9373ab293
--- /dev/null
+++ b/public_test_cases/p03616/input.1.txt
@@ -0,0 +1,11 @@
+100
+5
+48 141 231 314 425
+7
+0 19
+50 98
+143 30
+231 55
+342 0
+365 100
+600 10
diff --git a/public_test_cases/p03616/input.2.txt b/public_test_cases/p03616/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc792429d3d86d714d751cefaf663562b44bec42
--- /dev/null
+++ b/public_test_cases/p03616/input.2.txt
@@ -0,0 +1,7 @@
+180
+3
+60 120 180
+3
+30 90
+61 1
+180 180
diff --git a/public_test_cases/p03616/input.3.txt b/public_test_cases/p03616/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63669fddfe2d99c649d55e6f9b020ac95f5765e5
--- /dev/null
+++ b/public_test_cases/p03616/input.3.txt
@@ -0,0 +1,8 @@
+100
+1
+100000
+4
+0 100
+90 100
+100 100
+101 100
diff --git a/public_test_cases/p03616/output.0.txt b/public_test_cases/p03616/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da1ae998ae274097eec0b2b444333308bb62b34a
--- /dev/null
+++ b/public_test_cases/p03616/output.0.txt
@@ -0,0 +1,3 @@
+60
+1
+120
diff --git a/public_test_cases/p03616/output.1.txt b/public_test_cases/p03616/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccd84e91d49fdf473de92e0a5a2ef3a581726bd3
--- /dev/null
+++ b/public_test_cases/p03616/output.1.txt
@@ -0,0 +1,7 @@
+19
+52
+91
+10
+58
+42
+100
diff --git a/public_test_cases/p03616/output.2.txt b/public_test_cases/p03616/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da1ae998ae274097eec0b2b444333308bb62b34a
--- /dev/null
+++ b/public_test_cases/p03616/output.2.txt
@@ -0,0 +1,3 @@
+60
+1
+120
diff --git a/public_test_cases/p03616/output.3.txt b/public_test_cases/p03616/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a360ba265329d5eb4f34a9c6a3356d064a0ca70
--- /dev/null
+++ b/public_test_cases/p03616/output.3.txt
@@ -0,0 +1,4 @@
+100
+10
+0
+0
diff --git a/public_test_cases/p03617/input.0.txt b/public_test_cases/p03617/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14bc83bc9481e8be993b5de1bef35ee665d6b871
--- /dev/null
+++ b/public_test_cases/p03617/input.0.txt
@@ -0,0 +1,2 @@
+20 30 70 90
+3
diff --git a/public_test_cases/p03617/input.1.txt b/public_test_cases/p03617/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6f2bfd9fc4c72634aab2bd3c25da87129f30119
--- /dev/null
+++ b/public_test_cases/p03617/input.1.txt
@@ -0,0 +1,2 @@
+10 100 1000 10000
+1
diff --git a/public_test_cases/p03617/input.2.txt b/public_test_cases/p03617/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14bc83bc9481e8be993b5de1bef35ee665d6b871
--- /dev/null
+++ b/public_test_cases/p03617/input.2.txt
@@ -0,0 +1,2 @@
+20 30 70 90
+3
diff --git a/public_test_cases/p03617/input.3.txt b/public_test_cases/p03617/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cc4a479d7111e2591b72e2ecece7bf77b335878
--- /dev/null
+++ b/public_test_cases/p03617/input.3.txt
@@ -0,0 +1,2 @@
+10000 1000 100 10
+1
diff --git a/public_test_cases/p03617/input.4.txt b/public_test_cases/p03617/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b42e1214e2d1ea64221c8ab7b3114f85e3b6470
--- /dev/null
+++ b/public_test_cases/p03617/input.4.txt
@@ -0,0 +1,2 @@
+12345678 87654321 12345678 87654321
+123456789
diff --git a/public_test_cases/p03617/output.0.txt b/public_test_cases/p03617/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa8f08cb6ff8a30dd34a3b442009bdfc798a7316
--- /dev/null
+++ b/public_test_cases/p03617/output.0.txt
@@ -0,0 +1 @@
+150
diff --git a/public_test_cases/p03617/output.1.txt b/public_test_cases/p03617/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..425151f3a411f5e088d7753e7c8d016303b1b9d1
--- /dev/null
+++ b/public_test_cases/p03617/output.1.txt
@@ -0,0 +1 @@
+40
diff --git a/public_test_cases/p03617/output.2.txt b/public_test_cases/p03617/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa8f08cb6ff8a30dd34a3b442009bdfc798a7316
--- /dev/null
+++ b/public_test_cases/p03617/output.2.txt
@@ -0,0 +1 @@
+150
diff --git a/public_test_cases/p03617/output.3.txt b/public_test_cases/p03617/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03617/output.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03617/output.4.txt b/public_test_cases/p03617/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4ce7e0633ed6986b97b8a840a204e3cb5f59ba5
--- /dev/null
+++ b/public_test_cases/p03617/output.4.txt
@@ -0,0 +1 @@
+1524157763907942
diff --git a/public_test_cases/p03618/input.0.txt b/public_test_cases/p03618/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..985c8f63f3a78f846de8424066da01f9b8dccdfd
--- /dev/null
+++ b/public_test_cases/p03618/input.0.txt
@@ -0,0 +1 @@
+aatt
diff --git a/public_test_cases/p03618/input.1.txt b/public_test_cases/p03618/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0cbc4d4d54bdbc57609fcb344e210df4bdace32
--- /dev/null
+++ b/public_test_cases/p03618/input.1.txt
@@ -0,0 +1 @@
+xxxxxxxxxx
diff --git a/public_test_cases/p03618/input.2.txt b/public_test_cases/p03618/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..985c8f63f3a78f846de8424066da01f9b8dccdfd
--- /dev/null
+++ b/public_test_cases/p03618/input.2.txt
@@ -0,0 +1 @@
+aatt
diff --git a/public_test_cases/p03618/input.3.txt b/public_test_cases/p03618/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..474987c2cb0ee4fe61865c86ec86fd4819976874
--- /dev/null
+++ b/public_test_cases/p03618/input.3.txt
@@ -0,0 +1 @@
+abracadabra
diff --git a/public_test_cases/p03618/output.0.txt b/public_test_cases/p03618/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03618/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03618/output.1.txt b/public_test_cases/p03618/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03618/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03618/output.2.txt b/public_test_cases/p03618/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03618/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03618/output.3.txt b/public_test_cases/p03618/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c739b42c4d2ce23786c5350641d0adbf5fa7d6b2
--- /dev/null
+++ b/public_test_cases/p03618/output.3.txt
@@ -0,0 +1 @@
+44
diff --git a/public_test_cases/p03619/input.0.txt b/public_test_cases/p03619/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ceb79111581318ba52417aac5a938d0af10a6801
--- /dev/null
+++ b/public_test_cases/p03619/input.0.txt
@@ -0,0 +1,5 @@
+1 1 6 5
+3
+3 2
+5 3
+2 4
diff --git a/public_test_cases/p03619/input.1.txt b/public_test_cases/p03619/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e12452264c46651946e113198a0ee8d57c8d7cb
--- /dev/null
+++ b/public_test_cases/p03619/input.1.txt
@@ -0,0 +1,5 @@
+4 2 2 2
+3
+3 2
+5 3
+2 4
diff --git a/public_test_cases/p03619/input.2.txt b/public_test_cases/p03619/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ceb79111581318ba52417aac5a938d0af10a6801
--- /dev/null
+++ b/public_test_cases/p03619/input.2.txt
@@ -0,0 +1,5 @@
+1 1 6 5
+3
+3 2
+5 3
+2 4
diff --git a/public_test_cases/p03619/input.3.txt b/public_test_cases/p03619/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29bd6dc2c7f49b1baa618722240abb4ac2f93ee2
--- /dev/null
+++ b/public_test_cases/p03619/input.3.txt
@@ -0,0 +1,5 @@
+3 5 6 4
+3
+3 2
+5 3
+2 4
diff --git a/public_test_cases/p03619/output.0.txt b/public_test_cases/p03619/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec5bc18f7940e180de5a1e0e4625b292f5186747
--- /dev/null
+++ b/public_test_cases/p03619/output.0.txt
@@ -0,0 +1 @@
+891.415926535897938
diff --git a/public_test_cases/p03619/output.1.txt b/public_test_cases/p03619/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b24df817417e1b96e995a742e6ad58a75b82992e
--- /dev/null
+++ b/public_test_cases/p03619/output.1.txt
@@ -0,0 +1 @@
+211.415926535897938
diff --git a/public_test_cases/p03619/output.2.txt b/public_test_cases/p03619/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec5bc18f7940e180de5a1e0e4625b292f5186747
--- /dev/null
+++ b/public_test_cases/p03619/output.2.txt
@@ -0,0 +1 @@
+891.415926535897938
diff --git a/public_test_cases/p03619/output.3.txt b/public_test_cases/p03619/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02a609b9eb7f7b1b3a85ebb880745dcc5b8add06
--- /dev/null
+++ b/public_test_cases/p03619/output.3.txt
@@ -0,0 +1 @@
+400.000000000000000
diff --git a/public_test_cases/p03620/input.0.txt b/public_test_cases/p03620/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7148477869ce68f717f4257b64b01a6088905755
--- /dev/null
+++ b/public_test_cases/p03620/input.0.txt
@@ -0,0 +1,2 @@
+1010
+1100
diff --git a/public_test_cases/p03620/input.1.txt b/public_test_cases/p03620/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7148477869ce68f717f4257b64b01a6088905755
--- /dev/null
+++ b/public_test_cases/p03620/input.1.txt
@@ -0,0 +1,2 @@
+1010
+1100
diff --git a/public_test_cases/p03620/input.2.txt b/public_test_cases/p03620/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b261da18d51a39dc2cf0d156791e9c0b35dd83f4
--- /dev/null
+++ b/public_test_cases/p03620/input.2.txt
@@ -0,0 +1,2 @@
+1
+0
diff --git a/public_test_cases/p03620/input.3.txt b/public_test_cases/p03620/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8fd97b0c518a73fa3fbcb43268ea32199c1d8dc
--- /dev/null
+++ b/public_test_cases/p03620/input.3.txt
@@ -0,0 +1,2 @@
+11010
+10001
diff --git a/public_test_cases/p03620/input.4.txt b/public_test_cases/p03620/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6dd0393f2db485f063163a07360152debe704a4d
--- /dev/null
+++ b/public_test_cases/p03620/input.4.txt
@@ -0,0 +1,2 @@
+0100100
+1111111
diff --git a/public_test_cases/p03620/output.0.txt b/public_test_cases/p03620/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03620/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03620/output.1.txt b/public_test_cases/p03620/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03620/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03620/output.2.txt b/public_test_cases/p03620/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03620/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03620/output.3.txt b/public_test_cases/p03620/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03620/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03620/output.4.txt b/public_test_cases/p03620/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03620/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03621/input.0.txt b/public_test_cases/p03621/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7148477869ce68f717f4257b64b01a6088905755
--- /dev/null
+++ b/public_test_cases/p03621/input.0.txt
@@ -0,0 +1,2 @@
+1010
+1100
diff --git a/public_test_cases/p03621/input.1.txt b/public_test_cases/p03621/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f14dfcf413e9bcabd34cad00c6a997147b8cfd5
--- /dev/null
+++ b/public_test_cases/p03621/input.1.txt
@@ -0,0 +1,2 @@
+01001
+01001
diff --git a/public_test_cases/p03621/input.2.txt b/public_test_cases/p03621/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..662e26c096e21fd724c8c64f2897bb57f5744b12
--- /dev/null
+++ b/public_test_cases/p03621/input.2.txt
@@ -0,0 +1,2 @@
+101010
+010101
diff --git a/public_test_cases/p03621/input.3.txt b/public_test_cases/p03621/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3273e1fc584feb952c3c0f1d25113a2283480e9
--- /dev/null
+++ b/public_test_cases/p03621/input.3.txt
@@ -0,0 +1,2 @@
+1101011011110
+0111101011101
diff --git a/public_test_cases/p03621/input.4.txt b/public_test_cases/p03621/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7148477869ce68f717f4257b64b01a6088905755
--- /dev/null
+++ b/public_test_cases/p03621/input.4.txt
@@ -0,0 +1,2 @@
+1010
+1100
diff --git a/public_test_cases/p03621/output.0.txt b/public_test_cases/p03621/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03621/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03621/output.1.txt b/public_test_cases/p03621/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03621/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03621/output.2.txt b/public_test_cases/p03621/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7facc89938bbc5635e3d36ffa56b4c85e9b07db8
--- /dev/null
+++ b/public_test_cases/p03621/output.2.txt
@@ -0,0 +1 @@
+36
diff --git a/public_test_cases/p03621/output.3.txt b/public_test_cases/p03621/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b6d7710340cc19b1ed55b649106e123f05e97d5
--- /dev/null
+++ b/public_test_cases/p03621/output.3.txt
@@ -0,0 +1 @@
+932171449
diff --git a/public_test_cases/p03621/output.4.txt b/public_test_cases/p03621/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03621/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03622/input.0.txt b/public_test_cases/p03622/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03622/input.0.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03622/input.1.txt b/public_test_cases/p03622/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03622/input.1.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03622/input.2.txt b/public_test_cases/p03622/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03622/input.2.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03622/input.3.txt b/public_test_cases/p03622/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afc4d6a1d976cedf052af284f38b9e7ddc63c71f
--- /dev/null
+++ b/public_test_cases/p03622/input.3.txt
@@ -0,0 +1 @@
+42 23
diff --git a/public_test_cases/p03622/input.4.txt b/public_test_cases/p03622/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebcee1a506db729ea7b0e0b6e9b0be36806d16bd
--- /dev/null
+++ b/public_test_cases/p03622/input.4.txt
@@ -0,0 +1 @@
+3 4
diff --git a/public_test_cases/p03622/input.5.txt b/public_test_cases/p03622/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6bc7799eba513be6b20846b727f864fb7acabcd
--- /dev/null
+++ b/public_test_cases/p03622/input.5.txt
@@ -0,0 +1 @@
+10 10
diff --git a/public_test_cases/p03622/output.0.txt b/public_test_cases/p03622/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14f2eab3dff766544ac4b71da727ce58c173eca4
--- /dev/null
+++ b/public_test_cases/p03622/output.0.txt
@@ -0,0 +1 @@
+499122178
diff --git a/public_test_cases/p03622/output.1.txt b/public_test_cases/p03622/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14f2eab3dff766544ac4b71da727ce58c173eca4
--- /dev/null
+++ b/public_test_cases/p03622/output.1.txt
@@ -0,0 +1 @@
+499122178
diff --git a/public_test_cases/p03622/output.2.txt b/public_test_cases/p03622/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86074344efdf296e481ef0d164515c3613ff174b
--- /dev/null
+++ b/public_test_cases/p03622/output.2.txt
@@ -0,0 +1 @@
+831870297
diff --git a/public_test_cases/p03622/output.3.txt b/public_test_cases/p03622/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e48cff7ba9a254f30fcbd74ee5950caf66f4a9d
--- /dev/null
+++ b/public_test_cases/p03622/output.3.txt
@@ -0,0 +1 @@
+362936761
diff --git a/public_test_cases/p03622/output.4.txt b/public_test_cases/p03622/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..462c01438fea9e0092bb423e6e8b5f7520be100e
--- /dev/null
+++ b/public_test_cases/p03622/output.4.txt
@@ -0,0 +1 @@
+770074220
diff --git a/public_test_cases/p03622/output.5.txt b/public_test_cases/p03622/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f5b8aa3c8c2a3936cfa5c7100c057e248a57b72
--- /dev/null
+++ b/public_test_cases/p03622/output.5.txt
@@ -0,0 +1 @@
+208827570
diff --git a/public_test_cases/p03623/input.0.txt b/public_test_cases/p03623/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2204ecc5a053f6a5ee8d90452489a32bfcc6ccb5
--- /dev/null
+++ b/public_test_cases/p03623/input.0.txt
@@ -0,0 +1 @@
+5 2 7
diff --git a/public_test_cases/p03623/input.1.txt b/public_test_cases/p03623/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e13bd2e38860dca7e7b45a157e90c87732e04dd6
--- /dev/null
+++ b/public_test_cases/p03623/input.1.txt
@@ -0,0 +1 @@
+1 999 1000
diff --git a/public_test_cases/p03623/input.2.txt b/public_test_cases/p03623/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2204ecc5a053f6a5ee8d90452489a32bfcc6ccb5
--- /dev/null
+++ b/public_test_cases/p03623/input.2.txt
@@ -0,0 +1 @@
+5 2 7
diff --git a/public_test_cases/p03623/output.0.txt b/public_test_cases/p03623/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..223b7836fb19fdf64ba2d3cd6173c6a283141f78
--- /dev/null
+++ b/public_test_cases/p03623/output.0.txt
@@ -0,0 +1 @@
+B
diff --git a/public_test_cases/p03623/output.1.txt b/public_test_cases/p03623/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p03623/output.1.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p03623/output.2.txt b/public_test_cases/p03623/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..223b7836fb19fdf64ba2d3cd6173c6a283141f78
--- /dev/null
+++ b/public_test_cases/p03623/output.2.txt
@@ -0,0 +1 @@
+B
diff --git a/public_test_cases/p03624/input.0.txt b/public_test_cases/p03624/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d233b110355c600fd3d90e1134590993e34db52c
--- /dev/null
+++ b/public_test_cases/p03624/input.0.txt
@@ -0,0 +1 @@
+atcoderregularcontest
diff --git a/public_test_cases/p03624/output.0.txt b/public_test_cases/p03624/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p03624/output.0.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p03625/input.0.txt b/public_test_cases/p03625/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae65d60bd8308caf4eec868d523dec9d043a705c
--- /dev/null
+++ b/public_test_cases/p03625/input.0.txt
@@ -0,0 +1,2 @@
+6
+3 1 2 4 2 1
diff --git a/public_test_cases/p03625/input.1.txt b/public_test_cases/p03625/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef7fa3d2ef6c44b7adc8f64474840bd57506772d
--- /dev/null
+++ b/public_test_cases/p03625/input.1.txt
@@ -0,0 +1,2 @@
+10
+3 3 3 3 4 4 4 5 5 5
diff --git a/public_test_cases/p03625/input.2.txt b/public_test_cases/p03625/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae65d60bd8308caf4eec868d523dec9d043a705c
--- /dev/null
+++ b/public_test_cases/p03625/input.2.txt
@@ -0,0 +1,2 @@
+6
+3 1 2 4 2 1
diff --git a/public_test_cases/p03625/input.3.txt b/public_test_cases/p03625/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a4d515660c3c567ab07859fc5e252f8c966e46
--- /dev/null
+++ b/public_test_cases/p03625/input.3.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 4
diff --git a/public_test_cases/p03625/output.0.txt b/public_test_cases/p03625/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03625/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03625/output.1.txt b/public_test_cases/p03625/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03625/output.1.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03625/output.2.txt b/public_test_cases/p03625/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03625/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03625/output.3.txt b/public_test_cases/p03625/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03625/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03626/input.0.txt b/public_test_cases/p03626/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17f3b341e036676c79e060576a75b1cd9f0b4b50
--- /dev/null
+++ b/public_test_cases/p03626/input.0.txt
@@ -0,0 +1,3 @@
+3
+aab
+ccb
diff --git a/public_test_cases/p03626/input.1.txt b/public_test_cases/p03626/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f067cac32e9e5a9353d207d68ace470edcf66f2c
--- /dev/null
+++ b/public_test_cases/p03626/input.1.txt
@@ -0,0 +1,3 @@
+1
+Z
+Z
diff --git a/public_test_cases/p03626/input.2.txt b/public_test_cases/p03626/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7237cdf2de5826eb2cebd450b4a02e0adac3286e
--- /dev/null
+++ b/public_test_cases/p03626/input.2.txt
@@ -0,0 +1,3 @@
+52
+RvvttdWIyyPPQFFZZssffEEkkaSSDKqcibbeYrhAljCCGGJppHHn
+RLLwwdWIxxNNQUUXXVVMMooBBaggDKqcimmeYrhAljOOTTJuuzzn
diff --git a/public_test_cases/p03626/input.3.txt b/public_test_cases/p03626/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17f3b341e036676c79e060576a75b1cd9f0b4b50
--- /dev/null
+++ b/public_test_cases/p03626/input.3.txt
@@ -0,0 +1,3 @@
+3
+aab
+ccb
diff --git a/public_test_cases/p03626/output.0.txt b/public_test_cases/p03626/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03626/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03626/output.1.txt b/public_test_cases/p03626/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03626/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03626/output.2.txt b/public_test_cases/p03626/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71a64baa35b28ff5112352e4956afdb1a1090c43
--- /dev/null
+++ b/public_test_cases/p03626/output.2.txt
@@ -0,0 +1 @@
+958681902
diff --git a/public_test_cases/p03626/output.3.txt b/public_test_cases/p03626/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03626/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03627/input.0.txt b/public_test_cases/p03627/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae65d60bd8308caf4eec868d523dec9d043a705c
--- /dev/null
+++ b/public_test_cases/p03627/input.0.txt
@@ -0,0 +1,2 @@
+6
+3 1 2 4 2 1
diff --git a/public_test_cases/p03627/output.0.txt b/public_test_cases/p03627/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03627/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03628/input.0.txt b/public_test_cases/p03628/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17f3b341e036676c79e060576a75b1cd9f0b4b50
--- /dev/null
+++ b/public_test_cases/p03628/input.0.txt
@@ -0,0 +1,3 @@
+3
+aab
+ccb
diff --git a/public_test_cases/p03628/output.0.txt b/public_test_cases/p03628/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03628/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03629/input.0.txt b/public_test_cases/p03629/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d233b110355c600fd3d90e1134590993e34db52c
--- /dev/null
+++ b/public_test_cases/p03629/input.0.txt
@@ -0,0 +1 @@
+atcoderregularcontest
diff --git a/public_test_cases/p03629/input.1.txt b/public_test_cases/p03629/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acc370c91e2a9ac7f267ec3c550660993c7c8cb6
--- /dev/null
+++ b/public_test_cases/p03629/input.1.txt
@@ -0,0 +1 @@
+frqnvhydscshfcgdemurlfrutcpzhopfotpifgepnqjxupnskapziurswqazdwnwbgdhyktfyhqqxpoidfhjdakoxraiedxskywuepzfniuyskxiyjpjlxuqnfgmnjcvtlpnclfkpervxmdbvrbrdn
diff --git a/public_test_cases/p03629/input.2.txt b/public_test_cases/p03629/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0883f382e1a80609b7b2c7904e701fbe6760b14
--- /dev/null
+++ b/public_test_cases/p03629/input.2.txt
@@ -0,0 +1 @@
+abcdefghijklmnopqrstuvwxyz
diff --git a/public_test_cases/p03629/input.3.txt b/public_test_cases/p03629/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d233b110355c600fd3d90e1134590993e34db52c
--- /dev/null
+++ b/public_test_cases/p03629/input.3.txt
@@ -0,0 +1 @@
+atcoderregularcontest
diff --git a/public_test_cases/p03629/output.0.txt b/public_test_cases/p03629/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p03629/output.0.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p03629/output.1.txt b/public_test_cases/p03629/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d002497f8b08b369ebf42d5f0e3f49c22bd3930
--- /dev/null
+++ b/public_test_cases/p03629/output.1.txt
@@ -0,0 +1 @@
+aca
diff --git a/public_test_cases/p03629/output.2.txt b/public_test_cases/p03629/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e61ef7b965e17c62ca23b6ff5f0aaf09586e10e9
--- /dev/null
+++ b/public_test_cases/p03629/output.2.txt
@@ -0,0 +1 @@
+aa
diff --git a/public_test_cases/p03629/output.3.txt b/public_test_cases/p03629/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61780798228d17af2d34fce4cfbdf35556832472
--- /dev/null
+++ b/public_test_cases/p03629/output.3.txt
@@ -0,0 +1 @@
+b
diff --git a/public_test_cases/p03630/input.0.txt b/public_test_cases/p03630/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02e0c141197f4068f12f60cd60c18c79d9d7c91e
--- /dev/null
+++ b/public_test_cases/p03630/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+..#
+##.
+.#.
diff --git a/public_test_cases/p03630/input.1.txt b/public_test_cases/p03630/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a1f4a4b3f608aed0b11aa7f18644d3afdd2db0
--- /dev/null
+++ b/public_test_cases/p03630/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+..#
+.
+.#.
diff --git a/public_test_cases/p03630/input.2.txt b/public_test_cases/p03630/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d719abba3473feb2e729bfc85b95f88115a8528
--- /dev/null
+++ b/public_test_cases/p03630/input.2.txt
@@ -0,0 +1,11 @@
+10 8
+...#.#
+...#.#
+..###.#.
+.##.#.#
+.#..#.#.
+..##.#.#
+.#.#..
+...#.#..
+.#.##
+..###
diff --git a/public_test_cases/p03630/input.3.txt b/public_test_cases/p03630/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..02e0c141197f4068f12f60cd60c18c79d9d7c91e
--- /dev/null
+++ b/public_test_cases/p03630/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+..#
+##.
+.#.
diff --git a/public_test_cases/p03630/input.4.txt b/public_test_cases/p03630/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..357fbac7b38917aeba951948441c5f3b541d963c
--- /dev/null
+++ b/public_test_cases/p03630/input.4.txt
@@ -0,0 +1,5 @@
+4 4
+....
+....
+....
+....
diff --git a/public_test_cases/p03630/output.0.txt b/public_test_cases/p03630/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03630/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03630/output.1.txt b/public_test_cases/p03630/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03630/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03630/output.2.txt b/public_test_cases/p03630/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f64f5d8d85ac0230d36724bd7e6ba351a95b4942
--- /dev/null
+++ b/public_test_cases/p03630/output.2.txt
@@ -0,0 +1 @@
+27
diff --git a/public_test_cases/p03630/output.3.txt b/public_test_cases/p03630/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03630/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03630/output.4.txt b/public_test_cases/p03630/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03630/output.4.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03631/input.0.txt b/public_test_cases/p03631/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db08d2acf848400d68132e548a0dd7a6150da542
--- /dev/null
+++ b/public_test_cases/p03631/input.0.txt
@@ -0,0 +1 @@
+575
diff --git a/public_test_cases/p03631/input.1.txt b/public_test_cases/p03631/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7438337bf96d89a1f30afaa436deb9ceb53483f3
--- /dev/null
+++ b/public_test_cases/p03631/input.1.txt
@@ -0,0 +1 @@
+812
diff --git a/public_test_cases/p03631/input.2.txt b/public_test_cases/p03631/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db08d2acf848400d68132e548a0dd7a6150da542
--- /dev/null
+++ b/public_test_cases/p03631/input.2.txt
@@ -0,0 +1 @@
+575
diff --git a/public_test_cases/p03631/input.3.txt b/public_test_cases/p03631/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..190a18037c64c43e6b11489df4bf0b9eb6d2c9bf
--- /dev/null
+++ b/public_test_cases/p03631/input.3.txt
@@ -0,0 +1 @@
+123
diff --git a/public_test_cases/p03631/output.0.txt b/public_test_cases/p03631/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03631/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03631/output.1.txt b/public_test_cases/p03631/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03631/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03631/output.2.txt b/public_test_cases/p03631/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03631/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03631/output.3.txt b/public_test_cases/p03631/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03631/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03632/input.0.txt b/public_test_cases/p03632/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c888ba537e7f96d4bbefacf71ad3de7a6fa588f4
--- /dev/null
+++ b/public_test_cases/p03632/input.0.txt
@@ -0,0 +1 @@
+0 75 25 100
diff --git a/public_test_cases/p03632/input.1.txt b/public_test_cases/p03632/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccb4ae2dca50502a04e60e00e98c7856b9ca740b
--- /dev/null
+++ b/public_test_cases/p03632/input.1.txt
@@ -0,0 +1 @@
+10 90 20 80
diff --git a/public_test_cases/p03632/input.2.txt b/public_test_cases/p03632/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c888ba537e7f96d4bbefacf71ad3de7a6fa588f4
--- /dev/null
+++ b/public_test_cases/p03632/input.2.txt
@@ -0,0 +1 @@
+0 75 25 100
diff --git a/public_test_cases/p03632/input.3.txt b/public_test_cases/p03632/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8008b143105902cade0de2935956dd1a47ba848
--- /dev/null
+++ b/public_test_cases/p03632/input.3.txt
@@ -0,0 +1 @@
+0 33 66 99
diff --git a/public_test_cases/p03632/output.0.txt b/public_test_cases/p03632/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03632/output.0.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03632/output.1.txt b/public_test_cases/p03632/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03632/output.1.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03632/output.2.txt b/public_test_cases/p03632/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e373ee695f6e76d7d3f8f8c4e92d1d60995352e5
--- /dev/null
+++ b/public_test_cases/p03632/output.2.txt
@@ -0,0 +1 @@
+50
diff --git a/public_test_cases/p03632/output.3.txt b/public_test_cases/p03632/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03632/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03633/input.0.txt b/public_test_cases/p03633/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..179d8a7593af64bd2f34369a01d06ceb66ca4c40
--- /dev/null
+++ b/public_test_cases/p03633/input.0.txt
@@ -0,0 +1,3 @@
+2
+2
+3
diff --git a/public_test_cases/p03633/input.1.txt b/public_test_cases/p03633/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f31bf06e3c8313a571741c30fcee9b336aff53a
--- /dev/null
+++ b/public_test_cases/p03633/input.1.txt
@@ -0,0 +1,6 @@
+5
+2
+5
+10
+1000000000000000000
+1000000000000000000
diff --git a/public_test_cases/p03633/input.2.txt b/public_test_cases/p03633/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..179d8a7593af64bd2f34369a01d06ceb66ca4c40
--- /dev/null
+++ b/public_test_cases/p03633/input.2.txt
@@ -0,0 +1,3 @@
+2
+2
+3
diff --git a/public_test_cases/p03633/output.0.txt b/public_test_cases/p03633/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03633/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03633/output.1.txt b/public_test_cases/p03633/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a4149f568ebd1c601c9657a0e51a097d0c2703
--- /dev/null
+++ b/public_test_cases/p03633/output.1.txt
@@ -0,0 +1 @@
+1000000000000000000
diff --git a/public_test_cases/p03633/output.2.txt b/public_test_cases/p03633/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03633/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03634/input.0.txt b/public_test_cases/p03634/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76a1a4930e69d987762584da0089045f2386579d
--- /dev/null
+++ b/public_test_cases/p03634/input.0.txt
@@ -0,0 +1,9 @@
+5
+1 2 1
+1 3 1
+2 4 1
+3 5 1
+3 1
+2 4
+2 3
+4 5
diff --git a/public_test_cases/p03634/input.1.txt b/public_test_cases/p03634/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76a1a4930e69d987762584da0089045f2386579d
--- /dev/null
+++ b/public_test_cases/p03634/input.1.txt
@@ -0,0 +1,9 @@
+5
+1 2 1
+1 3 1
+2 4 1
+3 5 1
+3 1
+2 4
+2 3
+4 5
diff --git a/public_test_cases/p03634/input.2.txt b/public_test_cases/p03634/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b9b727eeaccdb3e6d308952a4bcb62aae3ea7b7
--- /dev/null
+++ b/public_test_cases/p03634/input.2.txt
@@ -0,0 +1,11 @@
+7
+1 2 1
+1 3 3
+1 4 5
+1 5 7
+1 6 9
+1 7 11
+3 2
+1 3
+4 5
+6 7
diff --git a/public_test_cases/p03634/input.3.txt b/public_test_cases/p03634/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fecdd6e0a16fcf545513977f69171e385b8d6783
--- /dev/null
+++ b/public_test_cases/p03634/input.3.txt
@@ -0,0 +1,12 @@
+10
+1 2 1000000000
+2 3 1000000000
+3 4 1000000000
+4 5 1000000000
+5 6 1000000000
+6 7 1000000000
+7 8 1000000000
+8 9 1000000000
+9 10 1000000000
+1 1
+9 10
diff --git a/public_test_cases/p03634/output.0.txt b/public_test_cases/p03634/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b37424c292e8be2a461d6003ee2b58794746e743
--- /dev/null
+++ b/public_test_cases/p03634/output.0.txt
@@ -0,0 +1,3 @@
+3
+2
+4
diff --git a/public_test_cases/p03634/output.1.txt b/public_test_cases/p03634/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b37424c292e8be2a461d6003ee2b58794746e743
--- /dev/null
+++ b/public_test_cases/p03634/output.1.txt
@@ -0,0 +1,3 @@
+3
+2
+4
diff --git a/public_test_cases/p03634/output.2.txt b/public_test_cases/p03634/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0220289d07186c627a290decc49a7aaf22ceb0c
--- /dev/null
+++ b/public_test_cases/p03634/output.2.txt
@@ -0,0 +1,3 @@
+5
+14
+22
diff --git a/public_test_cases/p03634/output.3.txt b/public_test_cases/p03634/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcd6d3c417e15bb575c849220687c81bd54de8d5
--- /dev/null
+++ b/public_test_cases/p03634/output.3.txt
@@ -0,0 +1 @@
+17000000000
diff --git a/public_test_cases/p03635/input.0.txt b/public_test_cases/p03635/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebcee1a506db729ea7b0e0b6e9b0be36806d16bd
--- /dev/null
+++ b/public_test_cases/p03635/input.0.txt
@@ -0,0 +1 @@
+3 4
diff --git a/public_test_cases/p03635/output.0.txt b/public_test_cases/p03635/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03635/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03636/input.0.txt b/public_test_cases/p03636/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee27c63b67f3543e18b51cbd13e51dbb1443c60
--- /dev/null
+++ b/public_test_cases/p03636/input.0.txt
@@ -0,0 +1 @@
+internationalization
diff --git a/public_test_cases/p03636/input.1.txt b/public_test_cases/p03636/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d249fbca1e52488507b90673f5c1951c3d24ac26
--- /dev/null
+++ b/public_test_cases/p03636/input.1.txt
@@ -0,0 +1 @@
+smiles
diff --git a/public_test_cases/p03636/input.2.txt b/public_test_cases/p03636/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee27c63b67f3543e18b51cbd13e51dbb1443c60
--- /dev/null
+++ b/public_test_cases/p03636/input.2.txt
@@ -0,0 +1 @@
+internationalization
diff --git a/public_test_cases/p03636/input.3.txt b/public_test_cases/p03636/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd470e619003f5e55999473fec485d85a8601e44
--- /dev/null
+++ b/public_test_cases/p03636/input.3.txt
@@ -0,0 +1 @@
+xyz
diff --git a/public_test_cases/p03636/output.0.txt b/public_test_cases/p03636/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5669308ee0f02580bab3a0d3632ecbd85f8fd755
--- /dev/null
+++ b/public_test_cases/p03636/output.0.txt
@@ -0,0 +1 @@
+i18n
diff --git a/public_test_cases/p03636/output.1.txt b/public_test_cases/p03636/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51ddc716491d275cbe97866d80933c802d510f42
--- /dev/null
+++ b/public_test_cases/p03636/output.1.txt
@@ -0,0 +1 @@
+s4s
diff --git a/public_test_cases/p03636/output.2.txt b/public_test_cases/p03636/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5669308ee0f02580bab3a0d3632ecbd85f8fd755
--- /dev/null
+++ b/public_test_cases/p03636/output.2.txt
@@ -0,0 +1 @@
+i18n
diff --git a/public_test_cases/p03636/output.3.txt b/public_test_cases/p03636/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6361d808ec53437a389069feb267f7b395ea266b
--- /dev/null
+++ b/public_test_cases/p03636/output.3.txt
@@ -0,0 +1 @@
+x1z
diff --git a/public_test_cases/p03637/input.0.txt b/public_test_cases/p03637/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac1c775de0a3d87826e58f000bbe4f5222a22e9
--- /dev/null
+++ b/public_test_cases/p03637/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 10 100
diff --git a/public_test_cases/p03637/input.1.txt b/public_test_cases/p03637/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5460fe3629ec0ab902a3f067f307d923af674451
--- /dev/null
+++ b/public_test_cases/p03637/input.1.txt
@@ -0,0 +1,2 @@
+6
+2 7 1 8 2 8
diff --git a/public_test_cases/p03637/input.2.txt b/public_test_cases/p03637/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf3a1164322c6e9ed544e706677fa9f249010e08
--- /dev/null
+++ b/public_test_cases/p03637/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 4 1
diff --git a/public_test_cases/p03637/input.3.txt b/public_test_cases/p03637/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac1c775de0a3d87826e58f000bbe4f5222a22e9
--- /dev/null
+++ b/public_test_cases/p03637/input.3.txt
@@ -0,0 +1,2 @@
+3
+1 10 100
diff --git a/public_test_cases/p03637/input.4.txt b/public_test_cases/p03637/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..811797a5438c685df3973fb0fb0d816b7750605b
--- /dev/null
+++ b/public_test_cases/p03637/input.4.txt
@@ -0,0 +1,2 @@
+2
+1 1
diff --git a/public_test_cases/p03637/input.5.txt b/public_test_cases/p03637/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a4d515660c3c567ab07859fc5e252f8c966e46
--- /dev/null
+++ b/public_test_cases/p03637/input.5.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 4
diff --git a/public_test_cases/p03637/output.0.txt b/public_test_cases/p03637/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03637/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03637/output.1.txt b/public_test_cases/p03637/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03637/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03637/output.2.txt b/public_test_cases/p03637/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03637/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03637/output.3.txt b/public_test_cases/p03637/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03637/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03637/output.4.txt b/public_test_cases/p03637/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03637/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03637/output.5.txt b/public_test_cases/p03637/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03637/output.5.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03638/input.0.txt b/public_test_cases/p03638/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5748a065de40ee14ad4cbf73269c3df1fe19e316
--- /dev/null
+++ b/public_test_cases/p03638/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+3
+2 1 1
diff --git a/public_test_cases/p03638/output.0.txt b/public_test_cases/p03638/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd26e55f72a31621d14466eda2816a0151e00816
--- /dev/null
+++ b/public_test_cases/p03638/output.0.txt
@@ -0,0 +1,2 @@
+1 1
+2 3
diff --git a/public_test_cases/p03639/input.0.txt b/public_test_cases/p03639/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ac1c775de0a3d87826e58f000bbe4f5222a22e9
--- /dev/null
+++ b/public_test_cases/p03639/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 10 100
diff --git a/public_test_cases/p03639/output.0.txt b/public_test_cases/p03639/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03639/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03640/input.0.txt b/public_test_cases/p03640/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5748a065de40ee14ad4cbf73269c3df1fe19e316
--- /dev/null
+++ b/public_test_cases/p03640/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+3
+2 1 1
diff --git a/public_test_cases/p03640/input.1.txt b/public_test_cases/p03640/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa06f24722228190f0f083410747b30fad83865d
--- /dev/null
+++ b/public_test_cases/p03640/input.1.txt
@@ -0,0 +1,3 @@
+1 1
+1
+1
diff --git a/public_test_cases/p03640/input.2.txt b/public_test_cases/p03640/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..868aec373cf22491ae715444c9999204749762db
--- /dev/null
+++ b/public_test_cases/p03640/input.2.txt
@@ -0,0 +1,3 @@
+3 5
+5
+1 2 3 4 5
diff --git a/public_test_cases/p03640/input.3.txt b/public_test_cases/p03640/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5748a065de40ee14ad4cbf73269c3df1fe19e316
--- /dev/null
+++ b/public_test_cases/p03640/input.3.txt
@@ -0,0 +1,3 @@
+2 2
+3
+2 1 1
diff --git a/public_test_cases/p03640/output.0.txt b/public_test_cases/p03640/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd26e55f72a31621d14466eda2816a0151e00816
--- /dev/null
+++ b/public_test_cases/p03640/output.0.txt
@@ -0,0 +1,2 @@
+1 1
+2 3
diff --git a/public_test_cases/p03640/output.1.txt b/public_test_cases/p03640/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03640/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03640/output.2.txt b/public_test_cases/p03640/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3597a6dc537d3b6bf89dd0f3004979b2b15fa131
--- /dev/null
+++ b/public_test_cases/p03640/output.2.txt
@@ -0,0 +1,3 @@
+1 4 4 4 3
+2 5 4 5 3
+2 5 5 5 3
diff --git a/public_test_cases/p03640/output.3.txt b/public_test_cases/p03640/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd26e55f72a31621d14466eda2816a0151e00816
--- /dev/null
+++ b/public_test_cases/p03640/output.3.txt
@@ -0,0 +1,2 @@
+1 1
+2 3
diff --git a/public_test_cases/p03641/input.0.txt b/public_test_cases/p03641/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11be524eec56c42d86863eda83563bea50990916
--- /dev/null
+++ b/public_test_cases/p03641/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 2 4 1
diff --git a/public_test_cases/p03641/input.1.txt b/public_test_cases/p03641/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03641/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03641/input.2.txt b/public_test_cases/p03641/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f94f086ced953f1607d2a20033e6183429c8b84f
--- /dev/null
+++ b/public_test_cases/p03641/input.2.txt
@@ -0,0 +1,2 @@
+8
+4 6 3 2 8 5 7 1
diff --git a/public_test_cases/p03641/input.3.txt b/public_test_cases/p03641/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11be524eec56c42d86863eda83563bea50990916
--- /dev/null
+++ b/public_test_cases/p03641/input.3.txt
@@ -0,0 +1,2 @@
+4
+3 2 4 1
diff --git a/public_test_cases/p03641/output.0.txt b/public_test_cases/p03641/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2801cca7dbc36f5b89b38430b77c11eb683f0f15
--- /dev/null
+++ b/public_test_cases/p03641/output.0.txt
@@ -0,0 +1 @@
+3 1 2 4
diff --git a/public_test_cases/p03641/output.1.txt b/public_test_cases/p03641/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p03641/output.1.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p03641/output.2.txt b/public_test_cases/p03641/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7e4c258ec3cedd9aef37e4b103dc95eeee2ad2b
--- /dev/null
+++ b/public_test_cases/p03641/output.2.txt
@@ -0,0 +1 @@
+3 1 2 7 4 6 8 5
diff --git a/public_test_cases/p03641/output.3.txt b/public_test_cases/p03641/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2801cca7dbc36f5b89b38430b77c11eb683f0f15
--- /dev/null
+++ b/public_test_cases/p03641/output.3.txt
@@ -0,0 +1 @@
+3 1 2 4
diff --git a/public_test_cases/p03642/input.0.txt b/public_test_cases/p03642/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..141ae9891986526d63d7f1aa23cdcc83cd31d4b9
--- /dev/null
+++ b/public_test_cases/p03642/input.0.txt
@@ -0,0 +1,2 @@
+2
+4 5
diff --git a/public_test_cases/p03642/input.1.txt b/public_test_cases/p03642/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..141ae9891986526d63d7f1aa23cdcc83cd31d4b9
--- /dev/null
+++ b/public_test_cases/p03642/input.1.txt
@@ -0,0 +1,2 @@
+2
+4 5
diff --git a/public_test_cases/p03642/input.2.txt b/public_test_cases/p03642/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db8957c19ca4c6bd2c778190eb5e7d50e30bf866
--- /dev/null
+++ b/public_test_cases/p03642/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 10000000
diff --git a/public_test_cases/p03642/input.3.txt b/public_test_cases/p03642/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bbd6ae3a1f8c6414096b7a175fd70d13657f5b
--- /dev/null
+++ b/public_test_cases/p03642/input.3.txt
@@ -0,0 +1,2 @@
+9
+1 2 3 4 5 6 7 8 9
diff --git a/public_test_cases/p03642/output.0.txt b/public_test_cases/p03642/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03642/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03642/output.1.txt b/public_test_cases/p03642/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03642/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03642/output.2.txt b/public_test_cases/p03642/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03642/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03642/output.3.txt b/public_test_cases/p03642/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03642/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03643/input.0.txt b/public_test_cases/p03643/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03643/input.0.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03643/input.1.txt b/public_test_cases/p03643/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6905f8ba447c0116590e38b2430151b506b1611
--- /dev/null
+++ b/public_test_cases/p03643/input.1.txt
@@ -0,0 +1 @@
+999
diff --git a/public_test_cases/p03643/input.2.txt b/public_test_cases/p03643/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e4a5228abc4023f3ec178d58a0fefd20c97e61e
--- /dev/null
+++ b/public_test_cases/p03643/input.2.txt
@@ -0,0 +1 @@
+425
diff --git a/public_test_cases/p03643/input.3.txt b/public_test_cases/p03643/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03643/input.3.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03643/output.0.txt b/public_test_cases/p03643/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..440cbd5c657e1c68bbb6e16b14598c1f2b4eb1c1
--- /dev/null
+++ b/public_test_cases/p03643/output.0.txt
@@ -0,0 +1 @@
+ABC100
diff --git a/public_test_cases/p03643/output.1.txt b/public_test_cases/p03643/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..faddfa803712de9d9b27dbf8b06fb588404695a2
--- /dev/null
+++ b/public_test_cases/p03643/output.1.txt
@@ -0,0 +1 @@
+ABC999
diff --git a/public_test_cases/p03643/output.2.txt b/public_test_cases/p03643/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d269d6a48f3822e5ecbcc98ed98546ea80b230cd
--- /dev/null
+++ b/public_test_cases/p03643/output.2.txt
@@ -0,0 +1 @@
+ABC425
diff --git a/public_test_cases/p03643/output.3.txt b/public_test_cases/p03643/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..440cbd5c657e1c68bbb6e16b14598c1f2b4eb1c1
--- /dev/null
+++ b/public_test_cases/p03643/output.3.txt
@@ -0,0 +1 @@
+ABC100
diff --git a/public_test_cases/p03644/input.0.txt b/public_test_cases/p03644/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03644/input.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03644/input.1.txt b/public_test_cases/p03644/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03644/input.1.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03644/input.2.txt b/public_test_cases/p03644/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03644/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03644/input.3.txt b/public_test_cases/p03644/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03644/input.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03644/input.4.txt b/public_test_cases/p03644/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p03644/input.4.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p03644/output.0.txt b/public_test_cases/p03644/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03644/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03644/output.1.txt b/public_test_cases/p03644/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p03644/output.1.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p03644/output.2.txt b/public_test_cases/p03644/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03644/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03644/output.3.txt b/public_test_cases/p03644/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03644/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03644/output.4.txt b/public_test_cases/p03644/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p03644/output.4.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p03645/input.0.txt b/public_test_cases/p03645/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p03645/input.0.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p03645/output.0.txt b/public_test_cases/p03645/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03645/output.0.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03646/input.0.txt b/public_test_cases/p03646/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03646/input.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03646/output.0.txt b/public_test_cases/p03646/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c527d5403ccac6eb909516290ad2a34f0d99684b
--- /dev/null
+++ b/public_test_cases/p03646/output.0.txt
@@ -0,0 +1,2 @@
+4
+3 3 3 3
diff --git a/public_test_cases/p03647/input.0.txt b/public_test_cases/p03647/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p03647/input.0.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p03647/input.1.txt b/public_test_cases/p03647/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9341dd1d933a874bacc49475ebb86d71a3c7602e
--- /dev/null
+++ b/public_test_cases/p03647/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+1 3
+4 5
+2 3
+2 4
+1 4
diff --git a/public_test_cases/p03647/input.2.txt b/public_test_cases/p03647/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7eb1cdc80c531ee5890d1c06dc39932f06177048
--- /dev/null
+++ b/public_test_cases/p03647/input.2.txt
@@ -0,0 +1,2 @@
+100000 1
+1 99999
diff --git a/public_test_cases/p03647/input.3.txt b/public_test_cases/p03647/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60fdf3feec682bec0be8b20e3d7ac2805bf0c2e0
--- /dev/null
+++ b/public_test_cases/p03647/input.3.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p03647/input.4.txt b/public_test_cases/p03647/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p03647/input.4.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p03647/output.0.txt b/public_test_cases/p03647/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03647/output.0.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03647/output.1.txt b/public_test_cases/p03647/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03647/output.1.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03647/output.2.txt b/public_test_cases/p03647/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p03647/output.2.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p03647/output.3.txt b/public_test_cases/p03647/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p03647/output.3.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p03647/output.4.txt b/public_test_cases/p03647/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03647/output.4.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03648/input.0.txt b/public_test_cases/p03648/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03648/input.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03648/input.1.txt b/public_test_cases/p03648/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03648/input.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03648/input.2.txt b/public_test_cases/p03648/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03648/input.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03648/input.3.txt b/public_test_cases/p03648/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4b65e6d834fd105cd8cc5ff3ce0d2533b8b737b
--- /dev/null
+++ b/public_test_cases/p03648/input.3.txt
@@ -0,0 +1 @@
+1234567894848
diff --git a/public_test_cases/p03648/input.4.txt b/public_test_cases/p03648/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03648/input.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03648/input.5.txt b/public_test_cases/p03648/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03648/input.5.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03648/output.0.txt b/public_test_cases/p03648/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c527d5403ccac6eb909516290ad2a34f0d99684b
--- /dev/null
+++ b/public_test_cases/p03648/output.0.txt
@@ -0,0 +1,2 @@
+4
+3 3 3 3
diff --git a/public_test_cases/p03648/output.1.txt b/public_test_cases/p03648/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c527d5403ccac6eb909516290ad2a34f0d99684b
--- /dev/null
+++ b/public_test_cases/p03648/output.1.txt
@@ -0,0 +1,2 @@
+4
+3 3 3 3
diff --git a/public_test_cases/p03648/output.2.txt b/public_test_cases/p03648/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5236c6a310ff95e604ee66db81918b5b07de6df1
--- /dev/null
+++ b/public_test_cases/p03648/output.2.txt
@@ -0,0 +1,2 @@
+3
+1 0 3
diff --git a/public_test_cases/p03648/output.3.txt b/public_test_cases/p03648/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74f2d2c2b3b84dc2155963cca6033579af294ad8
--- /dev/null
+++ b/public_test_cases/p03648/output.3.txt
@@ -0,0 +1,2 @@
+10
+1000 193 256 777 0 1 1192 1234567891011 48 425
diff --git a/public_test_cases/p03648/output.4.txt b/public_test_cases/p03648/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d7778566a9ec2edc1aef3405376f39389487c9f
--- /dev/null
+++ b/public_test_cases/p03648/output.4.txt
@@ -0,0 +1,2 @@
+2
+2 2
diff --git a/public_test_cases/p03648/output.5.txt b/public_test_cases/p03648/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea40c66a55cfc4c5b064380e79a71379d1a850a7
--- /dev/null
+++ b/public_test_cases/p03648/output.5.txt
@@ -0,0 +1,2 @@
+7
+27 0 0 0 0 0 0
diff --git a/public_test_cases/p03649/input.0.txt b/public_test_cases/p03649/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c527d5403ccac6eb909516290ad2a34f0d99684b
--- /dev/null
+++ b/public_test_cases/p03649/input.0.txt
@@ -0,0 +1,2 @@
+4
+3 3 3 3
diff --git a/public_test_cases/p03649/input.1.txt b/public_test_cases/p03649/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d7778566a9ec2edc1aef3405376f39389487c9f
--- /dev/null
+++ b/public_test_cases/p03649/input.1.txt
@@ -0,0 +1,2 @@
+2
+2 2
diff --git a/public_test_cases/p03649/input.2.txt b/public_test_cases/p03649/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c527d5403ccac6eb909516290ad2a34f0d99684b
--- /dev/null
+++ b/public_test_cases/p03649/input.2.txt
@@ -0,0 +1,2 @@
+4
+3 3 3 3
diff --git a/public_test_cases/p03649/input.3.txt b/public_test_cases/p03649/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea40c66a55cfc4c5b064380e79a71379d1a850a7
--- /dev/null
+++ b/public_test_cases/p03649/input.3.txt
@@ -0,0 +1,2 @@
+7
+27 0 0 0 0 0 0
diff --git a/public_test_cases/p03649/input.4.txt b/public_test_cases/p03649/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5236c6a310ff95e604ee66db81918b5b07de6df1
--- /dev/null
+++ b/public_test_cases/p03649/input.4.txt
@@ -0,0 +1,2 @@
+3
+1 0 3
diff --git a/public_test_cases/p03649/input.5.txt b/public_test_cases/p03649/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74f2d2c2b3b84dc2155963cca6033579af294ad8
--- /dev/null
+++ b/public_test_cases/p03649/input.5.txt
@@ -0,0 +1,2 @@
+10
+1000 193 256 777 0 1 1192 1234567891011 48 425
diff --git a/public_test_cases/p03649/output.0.txt b/public_test_cases/p03649/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03649/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03649/output.1.txt b/public_test_cases/p03649/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03649/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03649/output.2.txt b/public_test_cases/p03649/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03649/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03649/output.3.txt b/public_test_cases/p03649/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03649/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03649/output.4.txt b/public_test_cases/p03649/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03649/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03649/output.5.txt b/public_test_cases/p03649/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4b65e6d834fd105cd8cc5ff3ce0d2533b8b737b
--- /dev/null
+++ b/public_test_cases/p03649/output.5.txt
@@ -0,0 +1 @@
+1234567894848
diff --git a/public_test_cases/p03650/input.0.txt b/public_test_cases/p03650/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65c8e6bc51b9b68d4c4cc97544660e27a2dedd3d
--- /dev/null
+++ b/public_test_cases/p03650/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 3 4 1
diff --git a/public_test_cases/p03650/input.1.txt b/public_test_cases/p03650/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83447d0b6ba8aeed75a84d348839ba497597ff24
--- /dev/null
+++ b/public_test_cases/p03650/input.1.txt
@@ -0,0 +1,2 @@
+6
+4 5 6 5 6 4
diff --git a/public_test_cases/p03650/input.2.txt b/public_test_cases/p03650/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5ca630fe51a1f083546542ff19f232f1e9842b8
--- /dev/null
+++ b/public_test_cases/p03650/input.2.txt
@@ -0,0 +1,2 @@
+4
+2 3 1 1
diff --git a/public_test_cases/p03650/input.3.txt b/public_test_cases/p03650/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b29044c7562263214ba07e95181d4fffa71da483
--- /dev/null
+++ b/public_test_cases/p03650/input.3.txt
@@ -0,0 +1,2 @@
+3
+2 3 1
diff --git a/public_test_cases/p03650/input.4.txt b/public_test_cases/p03650/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..65c8e6bc51b9b68d4c4cc97544660e27a2dedd3d
--- /dev/null
+++ b/public_test_cases/p03650/input.4.txt
@@ -0,0 +1,2 @@
+4
+2 3 4 1
diff --git a/public_test_cases/p03650/output.0.txt b/public_test_cases/p03650/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03650/output.0.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03650/output.1.txt b/public_test_cases/p03650/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p03650/output.1.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p03650/output.2.txt b/public_test_cases/p03650/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03650/output.2.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03650/output.3.txt b/public_test_cases/p03650/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p03650/output.3.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p03650/output.4.txt b/public_test_cases/p03650/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03650/output.4.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03651/input.0.txt b/public_test_cases/p03651/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a82133b51ac239b7edf79305877ee020eaaf0598
--- /dev/null
+++ b/public_test_cases/p03651/input.0.txt
@@ -0,0 +1,2 @@
+3 7
+9 3 4
diff --git a/public_test_cases/p03651/input.1.txt b/public_test_cases/p03651/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7bd62921f3e87274b610c0452ab91fe5e61ab88
--- /dev/null
+++ b/public_test_cases/p03651/input.1.txt
@@ -0,0 +1,2 @@
+4 11
+11 3 7 15
diff --git a/public_test_cases/p03651/input.2.txt b/public_test_cases/p03651/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2849bf5e8e96bc99ec6ec21536f0128a9671f6af
--- /dev/null
+++ b/public_test_cases/p03651/input.2.txt
@@ -0,0 +1,2 @@
+3 5
+6 9 3
diff --git a/public_test_cases/p03651/input.3.txt b/public_test_cases/p03651/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..44f1095ac9d2fc38ed0e23f700c4fd99ebe76c1d
--- /dev/null
+++ b/public_test_cases/p03651/input.3.txt
@@ -0,0 +1,2 @@
+5 12
+10 2 8 6 4
diff --git a/public_test_cases/p03651/input.4.txt b/public_test_cases/p03651/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a82133b51ac239b7edf79305877ee020eaaf0598
--- /dev/null
+++ b/public_test_cases/p03651/input.4.txt
@@ -0,0 +1,2 @@
+3 7
+9 3 4
diff --git a/public_test_cases/p03651/output.0.txt b/public_test_cases/p03651/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03651/output.0.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03651/output.1.txt b/public_test_cases/p03651/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03651/output.1.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03651/output.2.txt b/public_test_cases/p03651/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p03651/output.2.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p03651/output.3.txt b/public_test_cases/p03651/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p03651/output.3.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p03651/output.4.txt b/public_test_cases/p03651/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d589be1f338dc2493f622e94784b883eded3adaa
--- /dev/null
+++ b/public_test_cases/p03651/output.4.txt
@@ -0,0 +1 @@
+POSSIBLE
diff --git a/public_test_cases/p03652/input.0.txt b/public_test_cases/p03652/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82b53e7a0f2f79e9e64499bc318b8883e0d8efd2
--- /dev/null
+++ b/public_test_cases/p03652/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+5 1 3 4 2
+2 5 3 1 4
+2 3 1 4 5
+2 5 4 3 1
diff --git a/public_test_cases/p03652/input.1.txt b/public_test_cases/p03652/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6af1bae82ccf7c141b0bb9cfefd7849171daf394
--- /dev/null
+++ b/public_test_cases/p03652/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+2 1 3
+2 1 3
+2 1 3
diff --git a/public_test_cases/p03652/input.2.txt b/public_test_cases/p03652/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82b53e7a0f2f79e9e64499bc318b8883e0d8efd2
--- /dev/null
+++ b/public_test_cases/p03652/input.2.txt
@@ -0,0 +1,5 @@
+4 5
+5 1 3 4 2
+2 5 3 1 4
+2 3 1 4 5
+2 5 4 3 1
diff --git a/public_test_cases/p03652/output.0.txt b/public_test_cases/p03652/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03652/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03652/output.1.txt b/public_test_cases/p03652/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03652/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03652/output.2.txt b/public_test_cases/p03652/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03652/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03653/input.0.txt b/public_test_cases/p03653/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df7f1ec3ccd09a14f99f64910db4b14da19c7458
--- /dev/null
+++ b/public_test_cases/p03653/input.0.txt
@@ -0,0 +1,5 @@
+1 2 1
+2 4 4
+3 2 1
+7 6 7
+5 2 3
diff --git a/public_test_cases/p03653/input.1.txt b/public_test_cases/p03653/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df7f1ec3ccd09a14f99f64910db4b14da19c7458
--- /dev/null
+++ b/public_test_cases/p03653/input.1.txt
@@ -0,0 +1,5 @@
+1 2 1
+2 4 4
+3 2 1
+7 6 7
+5 2 3
diff --git a/public_test_cases/p03653/input.2.txt b/public_test_cases/p03653/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2768cb36e01e9e851aae0a7c7e2820516fb10afa
--- /dev/null
+++ b/public_test_cases/p03653/input.2.txt
@@ -0,0 +1,13 @@
+6 2 4
+33189 87907 277349742
+71616 46764 575306520
+8801 53151 327161251
+58589 4337 796697686
+66854 17565 289910583
+50598 35195 478112689
+13919 88414 103962455
+7953 69657 699253752
+44255 98144 468443709
+2332 42580 752437097
+39752 19060 845062869
+60126 74101 382963164
diff --git a/public_test_cases/p03653/input.3.txt b/public_test_cases/p03653/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e19edcd887a851c8f34b2005f866688487ec8c6
--- /dev/null
+++ b/public_test_cases/p03653/input.3.txt
@@ -0,0 +1,9 @@
+3 3 2
+16 17 1
+2 7 5
+2 16 12
+17 7 7
+13 2 10
+12 18 3
+16 15 19
+5 6 2
diff --git a/public_test_cases/p03653/output.0.txt b/public_test_cases/p03653/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03653/output.0.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03653/output.1.txt b/public_test_cases/p03653/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03653/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03653/output.2.txt b/public_test_cases/p03653/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b345828cf371adc7713203cc4e5e416777c5cbc9
--- /dev/null
+++ b/public_test_cases/p03653/output.2.txt
@@ -0,0 +1 @@
+3093929975
diff --git a/public_test_cases/p03653/output.3.txt b/public_test_cases/p03653/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc6298e80ad4b7c48ae27ed65630f31e1d1143de
--- /dev/null
+++ b/public_test_cases/p03653/output.3.txt
@@ -0,0 +1 @@
+110
diff --git a/public_test_cases/p03654/input.0.txt b/public_test_cases/p03654/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fea644efa1773a4c98d8e1d42977e1514e1fa168
--- /dev/null
+++ b/public_test_cases/p03654/input.0.txt
@@ -0,0 +1,5 @@
+5
+1 2 5
+3 4 7
+2 3 3
+2 5 2
diff --git a/public_test_cases/p03654/input.1.txt b/public_test_cases/p03654/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..925e88fdfa08c76c4efd6b6a21f1e088263edb50
--- /dev/null
+++ b/public_test_cases/p03654/input.1.txt
@@ -0,0 +1,8 @@
+8
+2 8 8
+1 5 1
+4 8 2
+2 5 4
+3 8 6
+6 8 9
+2 7 12
diff --git a/public_test_cases/p03654/input.2.txt b/public_test_cases/p03654/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fea644efa1773a4c98d8e1d42977e1514e1fa168
--- /dev/null
+++ b/public_test_cases/p03654/input.2.txt
@@ -0,0 +1,5 @@
+5
+1 2 5
+3 4 7
+2 3 3
+2 5 2
diff --git a/public_test_cases/p03654/output.0.txt b/public_test_cases/p03654/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e522732c77ec94723e739d22f28df549b0231f5f
--- /dev/null
+++ b/public_test_cases/p03654/output.0.txt
@@ -0,0 +1 @@
+38
diff --git a/public_test_cases/p03654/output.1.txt b/public_test_cases/p03654/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94361d49fd91ff9629fe80ddd10a5cb5581cbb0d
--- /dev/null
+++ b/public_test_cases/p03654/output.1.txt
@@ -0,0 +1 @@
+132
diff --git a/public_test_cases/p03654/output.2.txt b/public_test_cases/p03654/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e522732c77ec94723e739d22f28df549b0231f5f
--- /dev/null
+++ b/public_test_cases/p03654/output.2.txt
@@ -0,0 +1 @@
+38
diff --git a/public_test_cases/p03655/input.0.txt b/public_test_cases/p03655/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5e56d4d0c4f5cb200fa493bc8d07be641e9689c
--- /dev/null
+++ b/public_test_cases/p03655/input.0.txt
@@ -0,0 +1,2 @@
+1 1 2 2 3 4
+1 1 2 2 3 3
diff --git a/public_test_cases/p03655/input.1.txt b/public_test_cases/p03655/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04f89f13d22193291a5425bcbedb34b7396334ea
--- /dev/null
+++ b/public_test_cases/p03655/input.1.txt
@@ -0,0 +1,2 @@
+1 2 3 4 5 6
+1 2 3 4 5 6
diff --git a/public_test_cases/p03655/input.2.txt b/public_test_cases/p03655/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5e56d4d0c4f5cb200fa493bc8d07be641e9689c
--- /dev/null
+++ b/public_test_cases/p03655/input.2.txt
@@ -0,0 +1,2 @@
+1 1 2 2 3 4
+1 1 2 2 3 3
diff --git a/public_test_cases/p03655/input.3.txt b/public_test_cases/p03655/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d17dcb1f3d7ea2b6dd0c13bf8f62d6ea2e0f708
--- /dev/null
+++ b/public_test_cases/p03655/input.3.txt
@@ -0,0 +1,2 @@
+77523 89555 420588 604360 845669 973451
+2743 188053 544330 647651 709337 988194
diff --git a/public_test_cases/p03655/output.0.txt b/public_test_cases/p03655/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03655/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03655/output.1.txt b/public_test_cases/p03655/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4fdb9ba8959b715315eb59824b2af4ebbdaa674
--- /dev/null
+++ b/public_test_cases/p03655/output.1.txt
@@ -0,0 +1 @@
+2346
diff --git a/public_test_cases/p03655/output.2.txt b/public_test_cases/p03655/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03655/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03655/output.3.txt b/public_test_cases/p03655/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9330c497e0b934322d200d3d2601920f46eb3b6
--- /dev/null
+++ b/public_test_cases/p03655/output.3.txt
@@ -0,0 +1 @@
+137477680
diff --git a/public_test_cases/p03656/input.0.txt b/public_test_cases/p03656/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c355bc6e1cdf9cb4863a051d892488247be4cb89
--- /dev/null
+++ b/public_test_cases/p03656/input.0.txt
@@ -0,0 +1,3 @@
+5
+3 3 4 -1 4
+4 4 1 -1 1
diff --git a/public_test_cases/p03656/input.1.txt b/public_test_cases/p03656/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17e3be3c9ea90ecc4882666539feadfa403064ed
--- /dev/null
+++ b/public_test_cases/p03656/input.1.txt
@@ -0,0 +1,3 @@
+6
+-1 5 1 5 1 3
+6 5 5 3 -1 3
diff --git a/public_test_cases/p03656/input.2.txt b/public_test_cases/p03656/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c355bc6e1cdf9cb4863a051d892488247be4cb89
--- /dev/null
+++ b/public_test_cases/p03656/input.2.txt
@@ -0,0 +1,3 @@
+5
+3 3 4 -1 4
+4 4 1 -1 1
diff --git a/public_test_cases/p03656/input.3.txt b/public_test_cases/p03656/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0323ed6967d490d6ec5e45b5cbb929bdb4127b74
--- /dev/null
+++ b/public_test_cases/p03656/input.3.txt
@@ -0,0 +1,3 @@
+8
+2 7 1 2 2 1 -1 4
+4 -1 4 7 4 4 2 4
diff --git a/public_test_cases/p03656/output.0.txt b/public_test_cases/p03656/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12fa794e8f6fe4b9f5157848ccb40edf75644b44
--- /dev/null
+++ b/public_test_cases/p03656/output.0.txt
@@ -0,0 +1,2 @@
+POSSIBLE
+1 -1 -1 3 -1
diff --git a/public_test_cases/p03656/output.1.txt b/public_test_cases/p03656/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e36f604ad5f01f224df0fc69289677d46ac935d
--- /dev/null
+++ b/public_test_cases/p03656/output.1.txt
@@ -0,0 +1 @@
+IMPOSSIBLE
diff --git a/public_test_cases/p03656/output.2.txt b/public_test_cases/p03656/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12fa794e8f6fe4b9f5157848ccb40edf75644b44
--- /dev/null
+++ b/public_test_cases/p03656/output.2.txt
@@ -0,0 +1,2 @@
+POSSIBLE
+1 -1 -1 3 -1
diff --git a/public_test_cases/p03656/output.3.txt b/public_test_cases/p03656/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5de9dea432babddc776123bb8607c6877ca12c43
--- /dev/null
+++ b/public_test_cases/p03656/output.3.txt
@@ -0,0 +1,2 @@
+POSSIBLE
+1 2 -1 0 -1 1 0 -1
diff --git a/public_test_cases/p03657/input.0.txt b/public_test_cases/p03657/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a99162ed9cdd1b90006cbd4f07e2a2bd3f404d4
--- /dev/null
+++ b/public_test_cases/p03657/input.0.txt
@@ -0,0 +1 @@
+4 5
diff --git a/public_test_cases/p03657/input.1.txt b/public_test_cases/p03657/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a99162ed9cdd1b90006cbd4f07e2a2bd3f404d4
--- /dev/null
+++ b/public_test_cases/p03657/input.1.txt
@@ -0,0 +1 @@
+4 5
diff --git a/public_test_cases/p03657/input.2.txt b/public_test_cases/p03657/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03657/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03657/output.0.txt b/public_test_cases/p03657/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p03657/output.0.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p03657/output.1.txt b/public_test_cases/p03657/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p03657/output.1.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p03657/output.2.txt b/public_test_cases/p03657/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p03657/output.2.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p03658/input.0.txt b/public_test_cases/p03658/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7414a21c5fa330e8417f28dd55e5ea21b73e1144
--- /dev/null
+++ b/public_test_cases/p03658/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+1 2 3 4 5
diff --git a/public_test_cases/p03658/input.1.txt b/public_test_cases/p03658/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c33da1b8e47e2f2fc795c54f26400d7659b01f7
--- /dev/null
+++ b/public_test_cases/p03658/input.1.txt
@@ -0,0 +1,2 @@
+15 14
+50 26 27 21 41 7 42 35 7 5 5 36 39 1 45
diff --git a/public_test_cases/p03658/input.2.txt b/public_test_cases/p03658/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7414a21c5fa330e8417f28dd55e5ea21b73e1144
--- /dev/null
+++ b/public_test_cases/p03658/input.2.txt
@@ -0,0 +1,2 @@
+5 3
+1 2 3 4 5
diff --git a/public_test_cases/p03658/output.0.txt b/public_test_cases/p03658/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03658/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03658/output.1.txt b/public_test_cases/p03658/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aeccadf78362abd1f808e39f898b6fefa0f1dcec
--- /dev/null
+++ b/public_test_cases/p03658/output.1.txt
@@ -0,0 +1 @@
+386
diff --git a/public_test_cases/p03658/output.2.txt b/public_test_cases/p03658/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03658/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03659/input.0.txt b/public_test_cases/p03659/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee886e113fb8e0c61426795b71508f0130a4438
--- /dev/null
+++ b/public_test_cases/p03659/input.0.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 4 5 6
diff --git a/public_test_cases/p03659/input.1.txt b/public_test_cases/p03659/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee886e113fb8e0c61426795b71508f0130a4438
--- /dev/null
+++ b/public_test_cases/p03659/input.1.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 4 5 6
diff --git a/public_test_cases/p03659/input.2.txt b/public_test_cases/p03659/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..335374b79f6dd17cbb646953b32ec6476765fedc
--- /dev/null
+++ b/public_test_cases/p03659/input.2.txt
@@ -0,0 +1,2 @@
+2
+10 -10
diff --git a/public_test_cases/p03659/output.0.txt b/public_test_cases/p03659/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03659/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03659/output.1.txt b/public_test_cases/p03659/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03659/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03659/output.2.txt b/public_test_cases/p03659/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03659/output.2.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03660/input.0.txt b/public_test_cases/p03660/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dca699f88e7c06ae1c2dae48cda4207b03443fc9
--- /dev/null
+++ b/public_test_cases/p03660/input.0.txt
@@ -0,0 +1,7 @@
+7
+3 6
+1 2
+3 1
+7 4
+5 7
+1 4
diff --git a/public_test_cases/p03660/output.0.txt b/public_test_cases/p03660/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4aecd8165b8122c76e25ecc7ea6582a7c5887ca3
--- /dev/null
+++ b/public_test_cases/p03660/output.0.txt
@@ -0,0 +1 @@
+Fennec
diff --git a/public_test_cases/p03661/input.0.txt b/public_test_cases/p03661/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ee886e113fb8e0c61426795b71508f0130a4438
--- /dev/null
+++ b/public_test_cases/p03661/input.0.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 4 5 6
diff --git a/public_test_cases/p03661/output.0.txt b/public_test_cases/p03661/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03661/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03662/input.0.txt b/public_test_cases/p03662/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dca699f88e7c06ae1c2dae48cda4207b03443fc9
--- /dev/null
+++ b/public_test_cases/p03662/input.0.txt
@@ -0,0 +1,7 @@
+7
+3 6
+1 2
+3 1
+7 4
+5 7
+1 4
diff --git a/public_test_cases/p03662/input.1.txt b/public_test_cases/p03662/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad7e03d90e7a8021875df1ef0562300291af22d4
--- /dev/null
+++ b/public_test_cases/p03662/input.1.txt
@@ -0,0 +1,4 @@
+4
+1 4
+4 2
+2 3
diff --git a/public_test_cases/p03662/input.2.txt b/public_test_cases/p03662/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dca699f88e7c06ae1c2dae48cda4207b03443fc9
--- /dev/null
+++ b/public_test_cases/p03662/input.2.txt
@@ -0,0 +1,7 @@
+7
+3 6
+1 2
+3 1
+7 4
+5 7
+1 4
diff --git a/public_test_cases/p03662/output.0.txt b/public_test_cases/p03662/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4aecd8165b8122c76e25ecc7ea6582a7c5887ca3
--- /dev/null
+++ b/public_test_cases/p03662/output.0.txt
@@ -0,0 +1 @@
+Fennec
diff --git a/public_test_cases/p03662/output.1.txt b/public_test_cases/p03662/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..745062eb37e7fb3fe05e7957680d6e99d54a82b9
--- /dev/null
+++ b/public_test_cases/p03662/output.1.txt
@@ -0,0 +1 @@
+Snuke
diff --git a/public_test_cases/p03662/output.2.txt b/public_test_cases/p03662/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4aecd8165b8122c76e25ecc7ea6582a7c5887ca3
--- /dev/null
+++ b/public_test_cases/p03662/output.2.txt
@@ -0,0 +1 @@
+Fennec
diff --git a/public_test_cases/p03664/input.0.txt b/public_test_cases/p03664/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf4953b4a1556af7a8d3d297e268b7581368b29a
--- /dev/null
+++ b/public_test_cases/p03664/input.0.txt
@@ -0,0 +1,7 @@
+4 6
+1 2 100
+3 1 100
+2 4 100
+4 3 100
+1 4 100
+3 2 100
diff --git a/public_test_cases/p03664/input.1.txt b/public_test_cases/p03664/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69032148db1badb9b9bc7a3ed1bc65a1c1195cad
--- /dev/null
+++ b/public_test_cases/p03664/input.1.txt
@@ -0,0 +1,23 @@
+15 22
+8 13 33418
+14 15 55849
+7 10 15207
+4 6 64328
+6 9 86902
+15 7 46978
+8 14 53526
+1 2 8720
+14 12 37748
+8 3 61543
+6 5 32425
+4 11 20932
+3 12 55123
+8 2 45333
+9 12 77796
+3 9 71922
+12 15 70793
+2 4 25485
+11 6 1436
+2 7 81563
+7 11 97843
+3 1 40491
diff --git a/public_test_cases/p03664/input.2.txt b/public_test_cases/p03664/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71fcd8431c6ef5a607f6db97d4321c7f1f8d9de4
--- /dev/null
+++ b/public_test_cases/p03664/input.2.txt
@@ -0,0 +1,2 @@
+2 1
+1 2 1
diff --git a/public_test_cases/p03664/input.3.txt b/public_test_cases/p03664/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf4953b4a1556af7a8d3d297e268b7581368b29a
--- /dev/null
+++ b/public_test_cases/p03664/input.3.txt
@@ -0,0 +1,7 @@
+4 6
+1 2 100
+3 1 100
+2 4 100
+4 3 100
+1 4 100
+3 2 100
diff --git a/public_test_cases/p03664/output.0.txt b/public_test_cases/p03664/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08839f6bb296e888d311d8ea2f35f7ff82dd3f2d
--- /dev/null
+++ b/public_test_cases/p03664/output.0.txt
@@ -0,0 +1 @@
+200
diff --git a/public_test_cases/p03664/output.1.txt b/public_test_cases/p03664/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46c136bf11ff28e46ca70323f0e1a5731bb217f3
--- /dev/null
+++ b/public_test_cases/p03664/output.1.txt
@@ -0,0 +1 @@
+133677
diff --git a/public_test_cases/p03664/output.2.txt b/public_test_cases/p03664/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03664/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03664/output.3.txt b/public_test_cases/p03664/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08839f6bb296e888d311d8ea2f35f7ff82dd3f2d
--- /dev/null
+++ b/public_test_cases/p03664/output.3.txt
@@ -0,0 +1 @@
+200
diff --git a/public_test_cases/p03665/input.0.txt b/public_test_cases/p03665/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9c573f8e4c3370184e75ee6ae6f8e9881d718c3
--- /dev/null
+++ b/public_test_cases/p03665/input.0.txt
@@ -0,0 +1,2 @@
+2 0
+1 3
diff --git a/public_test_cases/p03665/input.1.txt b/public_test_cases/p03665/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a15a558085825d9e31901dc47d36bb66f95b9c9
--- /dev/null
+++ b/public_test_cases/p03665/input.1.txt
@@ -0,0 +1,2 @@
+3 0
+1 1 1
diff --git a/public_test_cases/p03665/input.2.txt b/public_test_cases/p03665/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd3e03b8e00e34871805e7ab186bac0cebadd33d
--- /dev/null
+++ b/public_test_cases/p03665/input.2.txt
@@ -0,0 +1,2 @@
+1 1
+50
diff --git a/public_test_cases/p03665/input.3.txt b/public_test_cases/p03665/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9c573f8e4c3370184e75ee6ae6f8e9881d718c3
--- /dev/null
+++ b/public_test_cases/p03665/input.3.txt
@@ -0,0 +1,2 @@
+2 0
+1 3
diff --git a/public_test_cases/p03665/input.4.txt b/public_test_cases/p03665/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed66fdb06aca33773558d6a556f36368b15ea41
--- /dev/null
+++ b/public_test_cases/p03665/input.4.txt
@@ -0,0 +1,2 @@
+45 1
+17 55 85 55 74 20 90 67 40 70 39 89 91 50 16 24 14 43 24 66 25 9 89 71 41 16 53 13 61 15 85 72 62 67 42 26 36 66 4 87 59 91 4 25 26
diff --git a/public_test_cases/p03665/output.0.txt b/public_test_cases/p03665/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03665/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03665/output.1.txt b/public_test_cases/p03665/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03665/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03665/output.2.txt b/public_test_cases/p03665/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03665/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03665/output.3.txt b/public_test_cases/p03665/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03665/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03665/output.4.txt b/public_test_cases/p03665/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1c8c019498913a37b2270d4a0dd9d5399369511
--- /dev/null
+++ b/public_test_cases/p03665/output.4.txt
@@ -0,0 +1 @@
+17592186044416
diff --git a/public_test_cases/p03666/input.0.txt b/public_test_cases/p03666/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7bb5ef743e0273fa512f5995eed8c07ea48819e
--- /dev/null
+++ b/public_test_cases/p03666/input.0.txt
@@ -0,0 +1 @@
+5 1 5 2 4
diff --git a/public_test_cases/p03666/input.1.txt b/public_test_cases/p03666/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed9b3e111b82d34eff88657e2a85e9e3c8e1bce9
--- /dev/null
+++ b/public_test_cases/p03666/input.1.txt
@@ -0,0 +1 @@
+48792 105960835 681218449 90629745 90632170
diff --git a/public_test_cases/p03666/input.2.txt b/public_test_cases/p03666/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b532964482390a9d83c5470f8fc59619e4d057f3
--- /dev/null
+++ b/public_test_cases/p03666/input.2.txt
@@ -0,0 +1 @@
+491995 412925347 825318103 59999126 59999339
diff --git a/public_test_cases/p03666/input.3.txt b/public_test_cases/p03666/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7bb5ef743e0273fa512f5995eed8c07ea48819e
--- /dev/null
+++ b/public_test_cases/p03666/input.3.txt
@@ -0,0 +1 @@
+5 1 5 2 4
diff --git a/public_test_cases/p03666/input.4.txt b/public_test_cases/p03666/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60a4a14eb7e691a9c6e520a2a8dd1af1c69530d3
--- /dev/null
+++ b/public_test_cases/p03666/input.4.txt
@@ -0,0 +1 @@
+4 7 6 4 5
diff --git a/public_test_cases/p03666/output.0.txt b/public_test_cases/p03666/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03666/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03666/output.1.txt b/public_test_cases/p03666/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03666/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03666/output.2.txt b/public_test_cases/p03666/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03666/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03666/output.3.txt b/public_test_cases/p03666/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03666/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03666/output.4.txt b/public_test_cases/p03666/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03666/output.4.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03667/input.0.txt b/public_test_cases/p03667/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2448cd072b6281b38688a6257ebde0fb11376454
--- /dev/null
+++ b/public_test_cases/p03667/input.0.txt
@@ -0,0 +1,5 @@
+5 3
+1 1 3 4 5
+1 2
+2 5
+5 4
diff --git a/public_test_cases/p03667/input.1.txt b/public_test_cases/p03667/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2448cd072b6281b38688a6257ebde0fb11376454
--- /dev/null
+++ b/public_test_cases/p03667/input.1.txt
@@ -0,0 +1,5 @@
+5 3
+1 1 3 4 5
+1 2
+2 5
+5 4
diff --git a/public_test_cases/p03667/input.2.txt b/public_test_cases/p03667/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb3028fd4ec01c1d652fbef9e6830768d6faa526
--- /dev/null
+++ b/public_test_cases/p03667/input.2.txt
@@ -0,0 +1,6 @@
+4 4
+4 4 4 4
+4 1
+3 1
+1 1
+2 1
diff --git a/public_test_cases/p03667/input.3.txt b/public_test_cases/p03667/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0ef4c723ba16e32a5eb1154f25b3652ec3251ea
--- /dev/null
+++ b/public_test_cases/p03667/input.3.txt
@@ -0,0 +1,12 @@
+10 10
+8 7 2 9 10 6 6 5 5 4
+8 1
+6 3
+6 2
+7 10
+9 7
+9 9
+2 4
+8 1
+1 8
+7 7
diff --git a/public_test_cases/p03667/output.0.txt b/public_test_cases/p03667/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..986394f7c0fa05e52a94a3d93dee7085ed84cca4
--- /dev/null
+++ b/public_test_cases/p03667/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+1
diff --git a/public_test_cases/p03667/output.1.txt b/public_test_cases/p03667/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..986394f7c0fa05e52a94a3d93dee7085ed84cca4
--- /dev/null
+++ b/public_test_cases/p03667/output.1.txt
@@ -0,0 +1,3 @@
+0
+1
+1
diff --git a/public_test_cases/p03667/output.2.txt b/public_test_cases/p03667/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc856dafab0941942ccea4202bfa3a5b02bf4371
--- /dev/null
+++ b/public_test_cases/p03667/output.2.txt
@@ -0,0 +1,4 @@
+0
+1
+2
+3
diff --git a/public_test_cases/p03667/output.3.txt b/public_test_cases/p03667/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51733d841d7dc1303ae1409c12655c2013395f77
--- /dev/null
+++ b/public_test_cases/p03667/output.3.txt
@@ -0,0 +1,10 @@
+1
+0
+1
+2
+2
+3
+3
+3
+3
+2
diff --git a/public_test_cases/p03668/input.0.txt b/public_test_cases/p03668/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb7357eca2083e13f4ab0688f8f6e042d29dfd56
--- /dev/null
+++ b/public_test_cases/p03668/input.0.txt
@@ -0,0 +1,5 @@
+5
+1 2
+2 3
+2 4
+4 5
diff --git a/public_test_cases/p03668/input.1.txt b/public_test_cases/p03668/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb7357eca2083e13f4ab0688f8f6e042d29dfd56
--- /dev/null
+++ b/public_test_cases/p03668/input.1.txt
@@ -0,0 +1,5 @@
+5
+1 2
+2 3
+2 4
+4 5
diff --git a/public_test_cases/p03668/input.2.txt b/public_test_cases/p03668/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b9afc790893fab7d7b1dcffb8bf948671231c3bb
--- /dev/null
+++ b/public_test_cases/p03668/input.2.txt
@@ -0,0 +1,5 @@
+5
+1 2
+2 3
+1 4
+4 5
diff --git a/public_test_cases/p03668/input.3.txt b/public_test_cases/p03668/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa06bc32ac549014fec7140f5e64d1c3811f1c20
--- /dev/null
+++ b/public_test_cases/p03668/input.3.txt
@@ -0,0 +1,7 @@
+7
+1 2
+3 7
+4 6
+2 3
+2 4
+1 5
diff --git a/public_test_cases/p03668/input.4.txt b/public_test_cases/p03668/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c8dea598f64c7881be97b47ceae5c8bd1f57630
--- /dev/null
+++ b/public_test_cases/p03668/input.4.txt
@@ -0,0 +1,6 @@
+6
+1 2
+2 4
+5 1
+6 3
+3 2
diff --git a/public_test_cases/p03668/output.0.txt b/public_test_cases/p03668/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03668/output.0.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03668/output.1.txt b/public_test_cases/p03668/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03668/output.1.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03668/output.2.txt b/public_test_cases/p03668/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p03668/output.2.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p03668/output.3.txt b/public_test_cases/p03668/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p03668/output.3.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p03668/output.4.txt b/public_test_cases/p03668/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03668/output.4.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03669/input.0.txt b/public_test_cases/p03669/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23273ed5495639a28ad5ba41fb4915be3e123547
--- /dev/null
+++ b/public_test_cases/p03669/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+1 1 0 0
+2 2 0 1
+3 3 1 0
diff --git a/public_test_cases/p03669/input.1.txt b/public_test_cases/p03669/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..510d85c7a82dd65c92b65e14db37339497936c77
--- /dev/null
+++ b/public_test_cases/p03669/input.1.txt
@@ -0,0 +1,11 @@
+10 4
+1 1 0 3
+2 3 2 0
+1 2 3 0
+2 1 0 0
+3 2 0 2
+1 1 3 0
+3 2 0 0
+1 3 2 0
+1 1 1 3
+2 3 0 0
diff --git a/public_test_cases/p03669/input.2.txt b/public_test_cases/p03669/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23273ed5495639a28ad5ba41fb4915be3e123547
--- /dev/null
+++ b/public_test_cases/p03669/input.2.txt
@@ -0,0 +1,4 @@
+3 4
+1 1 0 0
+2 2 0 1
+3 3 1 0
diff --git a/public_test_cases/p03669/input.3.txt b/public_test_cases/p03669/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4ca73da6206a9d1be485e0281155136d4565c0b
--- /dev/null
+++ b/public_test_cases/p03669/input.3.txt
@@ -0,0 +1,5 @@
+4 2
+1 1 0 1
+1 1 0 1
+1 1 0 1
+1 1 0 1
diff --git a/public_test_cases/p03669/output.0.txt b/public_test_cases/p03669/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03669/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03669/output.1.txt b/public_test_cases/p03669/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03669/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03669/output.2.txt b/public_test_cases/p03669/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03669/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03669/output.3.txt b/public_test_cases/p03669/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03669/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03670/input.0.txt b/public_test_cases/p03670/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dce25bda9588ce3f3488c3c685309e49ea8a9ef
--- /dev/null
+++ b/public_test_cases/p03670/input.0.txt
@@ -0,0 +1,2 @@
+3 2 1
+1 2 0
diff --git a/public_test_cases/p03670/input.1.txt b/public_test_cases/p03670/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dce25bda9588ce3f3488c3c685309e49ea8a9ef
--- /dev/null
+++ b/public_test_cases/p03670/input.1.txt
@@ -0,0 +1,2 @@
+3 2 1
+1 2 0
diff --git a/public_test_cases/p03670/input.2.txt b/public_test_cases/p03670/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87f5db4bf2f6a8cf25c46a47d79b23b945b622a4
--- /dev/null
+++ b/public_test_cases/p03670/input.2.txt
@@ -0,0 +1,3 @@
+3 2 2
+1 1 1
+2 1 0
diff --git a/public_test_cases/p03670/input.3.txt b/public_test_cases/p03670/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71e3adb978cea09e9052209a02666ea8aed0f6c3
--- /dev/null
+++ b/public_test_cases/p03670/input.3.txt
@@ -0,0 +1,3 @@
+5 4 2
+1 3 1
+4 2 0
diff --git a/public_test_cases/p03670/input.4.txt b/public_test_cases/p03670/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c5f4e4449c9f5165741f236d295f3c157c3d5a9a
--- /dev/null
+++ b/public_test_cases/p03670/input.4.txt
@@ -0,0 +1 @@
+20 20 0
diff --git a/public_test_cases/p03670/output.0.txt b/public_test_cases/p03670/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03670/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03670/output.1.txt b/public_test_cases/p03670/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03670/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03670/output.2.txt b/public_test_cases/p03670/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03670/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03670/output.3.txt b/public_test_cases/p03670/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..730a054a05d6b19fce149748d475c9c8210a6094
--- /dev/null
+++ b/public_test_cases/p03670/output.3.txt
@@ -0,0 +1 @@
+172
diff --git a/public_test_cases/p03670/output.4.txt b/public_test_cases/p03670/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ffe8111a4fae1dfa6a2c42397637dc42a03aa5b2
--- /dev/null
+++ b/public_test_cases/p03670/output.4.txt
@@ -0,0 +1 @@
+881396682
diff --git a/public_test_cases/p03671/input.0.txt b/public_test_cases/p03671/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24daf29a009f2e7f54cbf7ade3f44f9ffabddf62
--- /dev/null
+++ b/public_test_cases/p03671/input.0.txt
@@ -0,0 +1 @@
+700 600 780
diff --git a/public_test_cases/p03671/input.1.txt b/public_test_cases/p03671/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7aca916d0f6c45712e4d1d72440c9379b47449fe
--- /dev/null
+++ b/public_test_cases/p03671/input.1.txt
@@ -0,0 +1 @@
+10000 10000 10000
diff --git a/public_test_cases/p03671/input.2.txt b/public_test_cases/p03671/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24daf29a009f2e7f54cbf7ade3f44f9ffabddf62
--- /dev/null
+++ b/public_test_cases/p03671/input.2.txt
@@ -0,0 +1 @@
+700 600 780
diff --git a/public_test_cases/p03671/output.0.txt b/public_test_cases/p03671/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d772530577314aab98d903ff0cc7a76de17f9e15
--- /dev/null
+++ b/public_test_cases/p03671/output.0.txt
@@ -0,0 +1 @@
+1300
diff --git a/public_test_cases/p03671/output.1.txt b/public_test_cases/p03671/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b92677edb9566c26b6e52b6422544bb952cb7ca6
--- /dev/null
+++ b/public_test_cases/p03671/output.1.txt
@@ -0,0 +1 @@
+20000
diff --git a/public_test_cases/p03671/output.2.txt b/public_test_cases/p03671/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d772530577314aab98d903ff0cc7a76de17f9e15
--- /dev/null
+++ b/public_test_cases/p03671/output.2.txt
@@ -0,0 +1 @@
+1300
diff --git a/public_test_cases/p03672/input.0.txt b/public_test_cases/p03672/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49d807a0ad4fb61b9234d5ffede3e6834c9264a7
--- /dev/null
+++ b/public_test_cases/p03672/input.0.txt
@@ -0,0 +1 @@
+abaababaab
diff --git a/public_test_cases/p03672/input.1.txt b/public_test_cases/p03672/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49d807a0ad4fb61b9234d5ffede3e6834c9264a7
--- /dev/null
+++ b/public_test_cases/p03672/input.1.txt
@@ -0,0 +1 @@
+abaababaab
diff --git a/public_test_cases/p03672/input.2.txt b/public_test_cases/p03672/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2375f8108b2b664aa0c7533d599c03873f1d5f66
--- /dev/null
+++ b/public_test_cases/p03672/input.2.txt
@@ -0,0 +1 @@
+abcabcabcabc
diff --git a/public_test_cases/p03672/input.3.txt b/public_test_cases/p03672/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63fc8131d563e4c067404cb42d39eb293952bd51
--- /dev/null
+++ b/public_test_cases/p03672/input.3.txt
@@ -0,0 +1 @@
+xxxx
diff --git a/public_test_cases/p03672/input.4.txt b/public_test_cases/p03672/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d27e0346bbba65d25484877ff318531fdde490b3
--- /dev/null
+++ b/public_test_cases/p03672/input.4.txt
@@ -0,0 +1 @@
+akasakaakasakasakaakas
diff --git a/public_test_cases/p03672/output.0.txt b/public_test_cases/p03672/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03672/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03672/output.1.txt b/public_test_cases/p03672/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03672/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03672/output.2.txt b/public_test_cases/p03672/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03672/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03672/output.3.txt b/public_test_cases/p03672/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03672/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03672/output.4.txt b/public_test_cases/p03672/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03672/output.4.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03673/input.0.txt b/public_test_cases/p03673/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a4d515660c3c567ab07859fc5e252f8c966e46
--- /dev/null
+++ b/public_test_cases/p03673/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 4
diff --git a/public_test_cases/p03673/output.0.txt b/public_test_cases/p03673/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce818bcbcc5ffa46782098f19aaa07922fa9fb0d
--- /dev/null
+++ b/public_test_cases/p03673/output.0.txt
@@ -0,0 +1 @@
+4 2 1 3
diff --git a/public_test_cases/p03674/input.0.txt b/public_test_cases/p03674/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6357b8d6a4fa71fc3e324552d493858ca227a418
--- /dev/null
+++ b/public_test_cases/p03674/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 1 3
diff --git a/public_test_cases/p03674/input.1.txt b/public_test_cases/p03674/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20478c63e5f63708f9e029bd32f2a98cf73cbd6b
--- /dev/null
+++ b/public_test_cases/p03674/input.1.txt
@@ -0,0 +1,2 @@
+1
+1 1
diff --git a/public_test_cases/p03674/input.2.txt b/public_test_cases/p03674/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b78286fd7efb97e0d93e3b5a486bbb9e0c7a3237
--- /dev/null
+++ b/public_test_cases/p03674/input.2.txt
@@ -0,0 +1,2 @@
+32
+29 19 7 10 26 32 27 4 11 20 2 8 16 23 5 14 6 12 17 22 18 30 28 24 15 1 25 3 13 21 19 31 9
diff --git a/public_test_cases/p03674/input.3.txt b/public_test_cases/p03674/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6357b8d6a4fa71fc3e324552d493858ca227a418
--- /dev/null
+++ b/public_test_cases/p03674/input.3.txt
@@ -0,0 +1,2 @@
+3
+1 2 1 3
diff --git a/public_test_cases/p03674/output.0.txt b/public_test_cases/p03674/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c08d8781d7d94dc29afc40547bf97eebe778e0ae
--- /dev/null
+++ b/public_test_cases/p03674/output.0.txt
@@ -0,0 +1,4 @@
+3
+5
+4
+1
diff --git a/public_test_cases/p03674/output.1.txt b/public_test_cases/p03674/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p03674/output.1.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p03674/output.2.txt b/public_test_cases/p03674/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdd452603f0da3dad0aa5d4cdb63c78da8e8ec02
--- /dev/null
+++ b/public_test_cases/p03674/output.2.txt
@@ -0,0 +1,33 @@
+32
+525
+5453
+40919
+237336
+1107568
+4272048
+13884156
+38567100
+92561040
+193536720
+354817320
+573166440
+818809200
+37158313
+166803103
+166803103
+37158313
+818809200
+573166440
+354817320
+193536720
+92561040
+38567100
+13884156
+4272048
+1107568
+237336
+40920
+5456
+528
+33
+1
diff --git a/public_test_cases/p03674/output.3.txt b/public_test_cases/p03674/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c08d8781d7d94dc29afc40547bf97eebe778e0ae
--- /dev/null
+++ b/public_test_cases/p03674/output.3.txt
@@ -0,0 +1,4 @@
+3
+5
+4
+1
diff --git a/public_test_cases/p03675/input.0.txt b/public_test_cases/p03675/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a4d515660c3c567ab07859fc5e252f8c966e46
--- /dev/null
+++ b/public_test_cases/p03675/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 4
diff --git a/public_test_cases/p03675/input.1.txt b/public_test_cases/p03675/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24bc79b73a4beb49985fea8994940882e2e2ca75
--- /dev/null
+++ b/public_test_cases/p03675/input.1.txt
@@ -0,0 +1,2 @@
+6
+0 6 7 6 7 0
diff --git a/public_test_cases/p03675/input.2.txt b/public_test_cases/p03675/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18a4d515660c3c567ab07859fc5e252f8c966e46
--- /dev/null
+++ b/public_test_cases/p03675/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 4
diff --git a/public_test_cases/p03675/input.3.txt b/public_test_cases/p03675/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8faee6e444a239b1e46632078e2c9378479346c1
--- /dev/null
+++ b/public_test_cases/p03675/input.3.txt
@@ -0,0 +1,2 @@
+1
+1000000000
diff --git a/public_test_cases/p03675/input.4.txt b/public_test_cases/p03675/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03675/input.4.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03675/output.0.txt b/public_test_cases/p03675/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce818bcbcc5ffa46782098f19aaa07922fa9fb0d
--- /dev/null
+++ b/public_test_cases/p03675/output.0.txt
@@ -0,0 +1 @@
+4 2 1 3
diff --git a/public_test_cases/p03675/output.1.txt b/public_test_cases/p03675/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0792df61af70ea159d54b3b06c15a37615fe0ae
--- /dev/null
+++ b/public_test_cases/p03675/output.1.txt
@@ -0,0 +1 @@
+0 6 6 0 7 7
diff --git a/public_test_cases/p03675/output.2.txt b/public_test_cases/p03675/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce818bcbcc5ffa46782098f19aaa07922fa9fb0d
--- /dev/null
+++ b/public_test_cases/p03675/output.2.txt
@@ -0,0 +1 @@
+4 2 1 3
diff --git a/public_test_cases/p03675/output.3.txt b/public_test_cases/p03675/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..770fdcfb4b7d03520f649b7f7ca20e2546bdb41f
--- /dev/null
+++ b/public_test_cases/p03675/output.3.txt
@@ -0,0 +1 @@
+1000000000
diff --git a/public_test_cases/p03675/output.4.txt b/public_test_cases/p03675/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4c3b6fa8ddc94fc44ce15c6da3720c1f07040ba
--- /dev/null
+++ b/public_test_cases/p03675/output.4.txt
@@ -0,0 +1 @@
+3 1 2
diff --git a/public_test_cases/p03676/input.0.txt b/public_test_cases/p03676/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6357b8d6a4fa71fc3e324552d493858ca227a418
--- /dev/null
+++ b/public_test_cases/p03676/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 1 3
diff --git a/public_test_cases/p03676/output.0.txt b/public_test_cases/p03676/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c08d8781d7d94dc29afc40547bf97eebe778e0ae
--- /dev/null
+++ b/public_test_cases/p03676/output.0.txt
@@ -0,0 +1,4 @@
+3
+5
+4
+1
diff --git a/public_test_cases/p03677/input.0.txt b/public_test_cases/p03677/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb097451500f5b8314203a6c2503bc9ad37036cd
--- /dev/null
+++ b/public_test_cases/p03677/input.0.txt
@@ -0,0 +1,2 @@
+4 6
+1 5 1 4
diff --git a/public_test_cases/p03677/input.1.txt b/public_test_cases/p03677/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb097451500f5b8314203a6c2503bc9ad37036cd
--- /dev/null
+++ b/public_test_cases/p03677/input.1.txt
@@ -0,0 +1,2 @@
+4 6
+1 5 1 4
diff --git a/public_test_cases/p03677/input.2.txt b/public_test_cases/p03677/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40634cc1a09b6cf7e0ffc9c032f49b1bf2d529b7
--- /dev/null
+++ b/public_test_cases/p03677/input.2.txt
@@ -0,0 +1,2 @@
+10 10
+10 9 8 7 6 5 4 3 2 1
diff --git a/public_test_cases/p03677/output.0.txt b/public_test_cases/p03677/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03677/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03677/output.1.txt b/public_test_cases/p03677/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03677/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03677/output.2.txt b/public_test_cases/p03677/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea90ee31980757b2e469741512bcb39e73494e78
--- /dev/null
+++ b/public_test_cases/p03677/output.2.txt
@@ -0,0 +1 @@
+45
diff --git a/public_test_cases/p03678/input.0.txt b/public_test_cases/p03678/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c9d7351f31927dcb963ebabd41d297a3093d4a0
--- /dev/null
+++ b/public_test_cases/p03678/input.0.txt
@@ -0,0 +1,2 @@
+abaaba
+6 10
diff --git a/public_test_cases/p03678/input.1.txt b/public_test_cases/p03678/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dccd567b64e11f254364d7589c5208b51a0a74f7
--- /dev/null
+++ b/public_test_cases/p03678/input.1.txt
@@ -0,0 +1,2 @@
+vgxgpuamkvgxgvgxgpuamkvgxg
+1 1000000000000000000
diff --git a/public_test_cases/p03678/input.2.txt b/public_test_cases/p03678/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d4d2c85d093b382cddff258a5bb78d0a90383c04
--- /dev/null
+++ b/public_test_cases/p03678/input.2.txt
@@ -0,0 +1,2 @@
+xx
+1 1000000000000000000
diff --git a/public_test_cases/p03678/input.3.txt b/public_test_cases/p03678/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c9d7351f31927dcb963ebabd41d297a3093d4a0
--- /dev/null
+++ b/public_test_cases/p03678/input.3.txt
@@ -0,0 +1,2 @@
+abaaba
+6 10
diff --git a/public_test_cases/p03678/output.0.txt b/public_test_cases/p03678/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e21c53f1ad7078783ce57398f5cc2f27f8d426ee
--- /dev/null
+++ b/public_test_cases/p03678/output.0.txt
@@ -0,0 +1 @@
+3 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p03678/output.1.txt b/public_test_cases/p03678/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62e336be6bfe22e1a04f855c9a9f9148c978fa48
--- /dev/null
+++ b/public_test_cases/p03678/output.1.txt
@@ -0,0 +1 @@
+87167725689669676 0 0 0 0 0 282080685775825810 0 0 0 87167725689669676 0 87167725689669676 0 0 87167725689669676 0 0 0 0 87167725689669676 141040342887912905 0 141040342887912905 0 0
diff --git a/public_test_cases/p03678/output.2.txt b/public_test_cases/p03678/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9e36800ed3ef4285652ec41913610d00f858065
--- /dev/null
+++ b/public_test_cases/p03678/output.2.txt
@@ -0,0 +1 @@
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1000000000000000000 0 0
diff --git a/public_test_cases/p03678/output.3.txt b/public_test_cases/p03678/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e21c53f1ad7078783ce57398f5cc2f27f8d426ee
--- /dev/null
+++ b/public_test_cases/p03678/output.3.txt
@@ -0,0 +1 @@
+3 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
diff --git a/public_test_cases/p03679/input.0.txt b/public_test_cases/p03679/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f44244baaaa2aea6bedd6b5cd5d071e31b46e8df
--- /dev/null
+++ b/public_test_cases/p03679/input.0.txt
@@ -0,0 +1 @@
+4 3 6
diff --git a/public_test_cases/p03679/input.1.txt b/public_test_cases/p03679/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f44244baaaa2aea6bedd6b5cd5d071e31b46e8df
--- /dev/null
+++ b/public_test_cases/p03679/input.1.txt
@@ -0,0 +1 @@
+4 3 6
diff --git a/public_test_cases/p03679/input.2.txt b/public_test_cases/p03679/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4187bffd6bddb72adb386c61be2751cf7caa8755
--- /dev/null
+++ b/public_test_cases/p03679/input.2.txt
@@ -0,0 +1 @@
+6 5 1
diff --git a/public_test_cases/p03679/input.3.txt b/public_test_cases/p03679/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1f25ed83f5879d7bd090f6952c6528df00b362d
--- /dev/null
+++ b/public_test_cases/p03679/input.3.txt
@@ -0,0 +1 @@
+3 7 12
diff --git a/public_test_cases/p03679/output.0.txt b/public_test_cases/p03679/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7767f67d3494c9c8df2deaac7129f48ce33d2f7
--- /dev/null
+++ b/public_test_cases/p03679/output.0.txt
@@ -0,0 +1 @@
+safe
diff --git a/public_test_cases/p03679/output.1.txt b/public_test_cases/p03679/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7767f67d3494c9c8df2deaac7129f48ce33d2f7
--- /dev/null
+++ b/public_test_cases/p03679/output.1.txt
@@ -0,0 +1 @@
+safe
diff --git a/public_test_cases/p03679/output.2.txt b/public_test_cases/p03679/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d47584887ba08d615ec8176949ab6c30b846fa5
--- /dev/null
+++ b/public_test_cases/p03679/output.2.txt
@@ -0,0 +1 @@
+delicious
diff --git a/public_test_cases/p03679/output.3.txt b/public_test_cases/p03679/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8438307b9fe33ae479bb975bdf8fbb5dea385d42
--- /dev/null
+++ b/public_test_cases/p03679/output.3.txt
@@ -0,0 +1 @@
+dangerous
diff --git a/public_test_cases/p03680/input.0.txt b/public_test_cases/p03680/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d6ec76789f40db7d20f7a5620be54bff42c3193
--- /dev/null
+++ b/public_test_cases/p03680/input.0.txt
@@ -0,0 +1,4 @@
+3
+3
+1
+2
diff --git a/public_test_cases/p03680/input.1.txt b/public_test_cases/p03680/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d6ec76789f40db7d20f7a5620be54bff42c3193
--- /dev/null
+++ b/public_test_cases/p03680/input.1.txt
@@ -0,0 +1,4 @@
+3
+3
+1
+2
diff --git a/public_test_cases/p03680/input.2.txt b/public_test_cases/p03680/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0159210d717c280109d3a4b22d92d62b9e6efa37
--- /dev/null
+++ b/public_test_cases/p03680/input.2.txt
@@ -0,0 +1,6 @@
+5
+3
+3
+4
+2
+4
diff --git a/public_test_cases/p03680/input.3.txt b/public_test_cases/p03680/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..796a4816d68a5f21157d8ab0c74e6a87af4c586a
--- /dev/null
+++ b/public_test_cases/p03680/input.3.txt
@@ -0,0 +1,5 @@
+4
+3
+4
+1
+2
diff --git a/public_test_cases/p03680/output.0.txt b/public_test_cases/p03680/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03680/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03680/output.1.txt b/public_test_cases/p03680/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03680/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03680/output.2.txt b/public_test_cases/p03680/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03680/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03680/output.3.txt b/public_test_cases/p03680/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03680/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03681/input.0.txt b/public_test_cases/p03681/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03681/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03681/output.0.txt b/public_test_cases/p03681/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03681/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03682/input.0.txt b/public_test_cases/p03682/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e663c5c0ac2a153bb5a296d093e21bcc384b02a
--- /dev/null
+++ b/public_test_cases/p03682/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 5
+3 9
+7 8
diff --git a/public_test_cases/p03682/output.0.txt b/public_test_cases/p03682/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03682/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03683/input.0.txt b/public_test_cases/p03683/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03683/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03683/input.1.txt b/public_test_cases/p03683/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bfd8643e47256f0fce54761d9cc9e58d209aebc
--- /dev/null
+++ b/public_test_cases/p03683/input.1.txt
@@ -0,0 +1 @@
+100000 100000
diff --git a/public_test_cases/p03683/input.2.txt b/public_test_cases/p03683/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bce438813ac78ccab622a25c584da28e4df80db5
--- /dev/null
+++ b/public_test_cases/p03683/input.2.txt
@@ -0,0 +1 @@
+3 2
diff --git a/public_test_cases/p03683/input.3.txt b/public_test_cases/p03683/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ebabbcb524590aac8aa2ae22f41f4eff6cfd4e1
--- /dev/null
+++ b/public_test_cases/p03683/input.3.txt
@@ -0,0 +1 @@
+1 8
diff --git a/public_test_cases/p03683/input.4.txt b/public_test_cases/p03683/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03683/input.4.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03683/output.0.txt b/public_test_cases/p03683/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03683/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03683/output.1.txt b/public_test_cases/p03683/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b5a6478ea3c00c348e9401c85cfa533dac4b531
--- /dev/null
+++ b/public_test_cases/p03683/output.1.txt
@@ -0,0 +1 @@
+530123477
diff --git a/public_test_cases/p03683/output.2.txt b/public_test_cases/p03683/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03683/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03683/output.3.txt b/public_test_cases/p03683/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03683/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03683/output.4.txt b/public_test_cases/p03683/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03683/output.4.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03684/input.0.txt b/public_test_cases/p03684/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e663c5c0ac2a153bb5a296d093e21bcc384b02a
--- /dev/null
+++ b/public_test_cases/p03684/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 5
+3 9
+7 8
diff --git a/public_test_cases/p03684/input.1.txt b/public_test_cases/p03684/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60719023385529bed75e93a8f64c8d2c0350a346
--- /dev/null
+++ b/public_test_cases/p03684/input.1.txt
@@ -0,0 +1,7 @@
+6
+8 3
+4 9
+12 19
+18 1
+13 5
+7 6
diff --git a/public_test_cases/p03684/input.2.txt b/public_test_cases/p03684/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e663c5c0ac2a153bb5a296d093e21bcc384b02a
--- /dev/null
+++ b/public_test_cases/p03684/input.2.txt
@@ -0,0 +1,4 @@
+3
+1 5
+3 9
+7 8
diff --git a/public_test_cases/p03684/output.0.txt b/public_test_cases/p03684/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03684/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03684/output.1.txt b/public_test_cases/p03684/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03684/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03684/output.2.txt b/public_test_cases/p03684/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03684/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03685/input.0.txt b/public_test_cases/p03685/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..613798ae568bb8990a88c2f6c1790dfb3246a859
--- /dev/null
+++ b/public_test_cases/p03685/input.0.txt
@@ -0,0 +1,4 @@
+4 2 3
+0 1 3 1
+1 1 4 1
+2 0 2 2
diff --git a/public_test_cases/p03685/input.1.txt b/public_test_cases/p03685/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..613798ae568bb8990a88c2f6c1790dfb3246a859
--- /dev/null
+++ b/public_test_cases/p03685/input.1.txt
@@ -0,0 +1,4 @@
+4 2 3
+0 1 3 1
+1 1 4 1
+2 0 2 2
diff --git a/public_test_cases/p03685/input.2.txt b/public_test_cases/p03685/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5998fa118ef91c51884601563aead76513f96fd
--- /dev/null
+++ b/public_test_cases/p03685/input.2.txt
@@ -0,0 +1,8 @@
+5 5 7
+0 0 2 4
+2 3 4 5
+3 5 5 2
+5 5 5 4
+0 3 5 1
+2 2 4 4
+0 5 4 1
diff --git a/public_test_cases/p03685/input.3.txt b/public_test_cases/p03685/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d89c9d44e66f780b807b5cfe60a9cec8eaa60f7
--- /dev/null
+++ b/public_test_cases/p03685/input.3.txt
@@ -0,0 +1,5 @@
+2 2 4
+0 0 2 2
+2 0 0 1
+0 2 1 2
+1 1 2 1
diff --git a/public_test_cases/p03685/input.4.txt b/public_test_cases/p03685/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad9a5a70580939c1a17c4cc14d85392a8ea93b63
--- /dev/null
+++ b/public_test_cases/p03685/input.4.txt
@@ -0,0 +1,3 @@
+1 1 2
+0 0 1 1
+1 0 0 1
diff --git a/public_test_cases/p03685/output.0.txt b/public_test_cases/p03685/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03685/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03685/output.1.txt b/public_test_cases/p03685/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03685/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03685/output.2.txt b/public_test_cases/p03685/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03685/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03685/output.3.txt b/public_test_cases/p03685/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03685/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03685/output.4.txt b/public_test_cases/p03685/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03685/output.4.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03686/input.0.txt b/public_test_cases/p03686/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70eec072d84a7295a26e489971dba0d6e08146a
--- /dev/null
+++ b/public_test_cases/p03686/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+0 3
+2 3
+1 3
+3 4
diff --git a/public_test_cases/p03686/input.1.txt b/public_test_cases/p03686/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7b4dcd71529b28c6d53eb6fe7cfec51724ac8f96
--- /dev/null
+++ b/public_test_cases/p03686/input.1.txt
@@ -0,0 +1,7 @@
+6 6
+1 6
+1 6
+1 5
+1 5
+2 6
+2 6
diff --git a/public_test_cases/p03686/input.2.txt b/public_test_cases/p03686/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70eec072d84a7295a26e489971dba0d6e08146a
--- /dev/null
+++ b/public_test_cases/p03686/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+0 3
+2 3
+1 3
+3 4
diff --git a/public_test_cases/p03686/input.3.txt b/public_test_cases/p03686/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f9d673bf3910a21b04986e625dbb5e27ad11562
--- /dev/null
+++ b/public_test_cases/p03686/input.3.txt
@@ -0,0 +1,8 @@
+7 6
+0 7
+1 5
+3 6
+2 7
+1 6
+2 6
+3 7
diff --git a/public_test_cases/p03686/input.4.txt b/public_test_cases/p03686/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4670f6711e46121a188fdb755f9806ecac82ac4
--- /dev/null
+++ b/public_test_cases/p03686/input.4.txt
@@ -0,0 +1,4 @@
+3 1
+1 2
+1 2
+1 2
diff --git a/public_test_cases/p03686/output.0.txt b/public_test_cases/p03686/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03686/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03686/output.1.txt b/public_test_cases/p03686/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03686/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03686/output.2.txt b/public_test_cases/p03686/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03686/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03686/output.3.txt b/public_test_cases/p03686/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03686/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03686/output.4.txt b/public_test_cases/p03686/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03686/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03687/input.0.txt b/public_test_cases/p03687/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d368247923840f35ded4e12ab65711769d569f2b
--- /dev/null
+++ b/public_test_cases/p03687/input.0.txt
@@ -0,0 +1 @@
+serval
diff --git a/public_test_cases/p03687/input.1.txt b/public_test_cases/p03687/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d368247923840f35ded4e12ab65711769d569f2b
--- /dev/null
+++ b/public_test_cases/p03687/input.1.txt
@@ -0,0 +1 @@
+serval
diff --git a/public_test_cases/p03687/input.2.txt b/public_test_cases/p03687/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68798336ae914c1a682ac0a254402ad7f408192d
--- /dev/null
+++ b/public_test_cases/p03687/input.2.txt
@@ -0,0 +1 @@
+whbrjpjyhsrywlqjxdbrbaomnw
diff --git a/public_test_cases/p03687/input.3.txt b/public_test_cases/p03687/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b57ec9b7396a611eb13975b9f01636149d0e9e5
--- /dev/null
+++ b/public_test_cases/p03687/input.3.txt
@@ -0,0 +1 @@
+jackal
diff --git a/public_test_cases/p03687/input.4.txt b/public_test_cases/p03687/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1a17ba136936531b72571844a773fe938b85ad4
--- /dev/null
+++ b/public_test_cases/p03687/input.4.txt
@@ -0,0 +1 @@
+zzz
diff --git a/public_test_cases/p03687/output.0.txt b/public_test_cases/p03687/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03687/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03687/output.1.txt b/public_test_cases/p03687/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03687/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03687/output.2.txt b/public_test_cases/p03687/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03687/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03687/output.3.txt b/public_test_cases/p03687/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03687/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03687/output.4.txt b/public_test_cases/p03687/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03687/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03688/input.0.txt b/public_test_cases/p03688/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1a3ea4e326f8121a99b2057e7f2b8c9b0c2119f
--- /dev/null
+++ b/public_test_cases/p03688/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 2
diff --git a/public_test_cases/p03688/input.1.txt b/public_test_cases/p03688/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e1857e71f68a2a11164f7ca09cb1f89d82cb385
--- /dev/null
+++ b/public_test_cases/p03688/input.1.txt
@@ -0,0 +1,2 @@
+5
+4 3 4 3 4
diff --git a/public_test_cases/p03688/input.2.txt b/public_test_cases/p03688/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c54d55a8d166e20db07dc7c7ab25cb293a0c3cfd
--- /dev/null
+++ b/public_test_cases/p03688/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 1 2
diff --git a/public_test_cases/p03688/input.3.txt b/public_test_cases/p03688/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6ad0ca15d6caa972e6ddf0d652c404bffd885a2
--- /dev/null
+++ b/public_test_cases/p03688/input.3.txt
@@ -0,0 +1,2 @@
+5
+3 3 3 3 3
diff --git a/public_test_cases/p03688/input.4.txt b/public_test_cases/p03688/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f1a3ea4e326f8121a99b2057e7f2b8c9b0c2119f
--- /dev/null
+++ b/public_test_cases/p03688/input.4.txt
@@ -0,0 +1,2 @@
+3
+1 2 2
diff --git a/public_test_cases/p03688/input.5.txt b/public_test_cases/p03688/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7fb94c2e07f44732d9a7c8cf87909b12438cc5b
--- /dev/null
+++ b/public_test_cases/p03688/input.5.txt
@@ -0,0 +1,2 @@
+4
+2 2 2 2
diff --git a/public_test_cases/p03688/input.6.txt b/public_test_cases/p03688/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7de66e6d61c2f227c6978ef84b34d8e28eeb6bfe
--- /dev/null
+++ b/public_test_cases/p03688/input.6.txt
@@ -0,0 +1,2 @@
+3
+2 2 2
diff --git a/public_test_cases/p03688/output.0.txt b/public_test_cases/p03688/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03688/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03688/output.1.txt b/public_test_cases/p03688/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03688/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03688/output.2.txt b/public_test_cases/p03688/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03688/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03688/output.3.txt b/public_test_cases/p03688/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03688/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03688/output.4.txt b/public_test_cases/p03688/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03688/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03688/output.5.txt b/public_test_cases/p03688/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03688/output.5.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03688/output.6.txt b/public_test_cases/p03688/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03688/output.6.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03689/input.0.txt b/public_test_cases/p03689/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c4e8901a7bd4ab6c93fb89729dca1b99f0e5123
--- /dev/null
+++ b/public_test_cases/p03689/input.0.txt
@@ -0,0 +1 @@
+3 3 2 2
diff --git a/public_test_cases/p03689/input.1.txt b/public_test_cases/p03689/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..212fe2895b354f17cbab8b732895ac267e7cf0e5
--- /dev/null
+++ b/public_test_cases/p03689/input.1.txt
@@ -0,0 +1 @@
+2 4 1 2
diff --git a/public_test_cases/p03689/input.2.txt b/public_test_cases/p03689/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43291f26025b90ac2eaa684e1c4ee84808510aea
--- /dev/null
+++ b/public_test_cases/p03689/input.2.txt
@@ -0,0 +1 @@
+3 4 2 3
diff --git a/public_test_cases/p03689/input.3.txt b/public_test_cases/p03689/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c4e8901a7bd4ab6c93fb89729dca1b99f0e5123
--- /dev/null
+++ b/public_test_cases/p03689/input.3.txt
@@ -0,0 +1 @@
+3 3 2 2
diff --git a/public_test_cases/p03689/output.0.txt b/public_test_cases/p03689/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5cb16c6ed006daa634f8be4ccac4a3baf597bd4
--- /dev/null
+++ b/public_test_cases/p03689/output.0.txt
@@ -0,0 +1,4 @@
+Yes
+1 1 1
+1 -4 1
+1 1 1
diff --git a/public_test_cases/p03689/output.1.txt b/public_test_cases/p03689/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03689/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03689/output.2.txt b/public_test_cases/p03689/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b768c90dd9db7d04ae2168c7a5373b625f6a626
--- /dev/null
+++ b/public_test_cases/p03689/output.2.txt
@@ -0,0 +1,4 @@
+Yes
+2 -5 8 7
+3 -5 -4 -5
+2 1 -1 7
diff --git a/public_test_cases/p03689/output.3.txt b/public_test_cases/p03689/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5cb16c6ed006daa634f8be4ccac4a3baf597bd4
--- /dev/null
+++ b/public_test_cases/p03689/output.3.txt
@@ -0,0 +1,4 @@
+Yes
+1 1 1
+1 -4 1
+1 1 1
diff --git a/public_test_cases/p03690/input.0.txt b/public_test_cases/p03690/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e665fe82b1d58e567eee3598c81dd88b2414fad
--- /dev/null
+++ b/public_test_cases/p03690/input.0.txt
@@ -0,0 +1,3 @@
+3
+0 1 2
+3 1 0
diff --git a/public_test_cases/p03690/input.1.txt b/public_test_cases/p03690/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e665fe82b1d58e567eee3598c81dd88b2414fad
--- /dev/null
+++ b/public_test_cases/p03690/input.1.txt
@@ -0,0 +1,3 @@
+3
+0 1 2
+3 1 0
diff --git a/public_test_cases/p03690/input.2.txt b/public_test_cases/p03690/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e68a48ba87a48369e20ce9843af2d9c523f7f1b0
--- /dev/null
+++ b/public_test_cases/p03690/input.2.txt
@@ -0,0 +1,3 @@
+4
+0 1 2 3
+1 0 3 2
diff --git a/public_test_cases/p03690/input.3.txt b/public_test_cases/p03690/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..793a219bc9287b3b37f66693291390a2901a2744
--- /dev/null
+++ b/public_test_cases/p03690/input.3.txt
@@ -0,0 +1,3 @@
+3
+0 1 2
+0 1 2
diff --git a/public_test_cases/p03690/input.4.txt b/public_test_cases/p03690/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a2f7f7ca6f72ce1bd69d7f0c57684d4c6126868
--- /dev/null
+++ b/public_test_cases/p03690/input.4.txt
@@ -0,0 +1,3 @@
+2
+1 1
+0 0
diff --git a/public_test_cases/p03690/output.0.txt b/public_test_cases/p03690/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03690/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03690/output.1.txt b/public_test_cases/p03690/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03690/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03690/output.2.txt b/public_test_cases/p03690/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03690/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03690/output.3.txt b/public_test_cases/p03690/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03690/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03690/output.4.txt b/public_test_cases/p03690/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03690/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03691/input.0.txt b/public_test_cases/p03691/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fa34b26edbf5a028e89c0ad87b196b184ac114a
--- /dev/null
+++ b/public_test_cases/p03691/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+1 2
diff --git a/public_test_cases/p03691/input.1.txt b/public_test_cases/p03691/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d415dcf061e74c0a32abfd354a19a31d4bc285e3
--- /dev/null
+++ b/public_test_cases/p03691/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+1 2
diff --git a/public_test_cases/p03691/input.2.txt b/public_test_cases/p03691/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bfedf910adf1ac8f0ed630db18fcb83cfaf84b8
--- /dev/null
+++ b/public_test_cases/p03691/input.2.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+3 4
+2 3
diff --git a/public_test_cases/p03691/input.3.txt b/public_test_cases/p03691/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40355bb69986d9e173ebd45b6562b0a373964e20
--- /dev/null
+++ b/public_test_cases/p03691/input.3.txt
@@ -0,0 +1,11 @@
+10 10
+8 9
+2 8
+4 6
+4 9
+7 8
+2 8
+1 8
+3 4
+3 4
+2 7
diff --git a/public_test_cases/p03691/input.4.txt b/public_test_cases/p03691/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fa34b26edbf5a028e89c0ad87b196b184ac114a
--- /dev/null
+++ b/public_test_cases/p03691/input.4.txt
@@ -0,0 +1,2 @@
+3 1
+1 2
diff --git a/public_test_cases/p03691/output.0.txt b/public_test_cases/p03691/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03691/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03691/output.1.txt b/public_test_cases/p03691/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03691/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03691/output.2.txt b/public_test_cases/p03691/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03691/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03691/output.3.txt b/public_test_cases/p03691/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03691/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03691/output.4.txt b/public_test_cases/p03691/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03691/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03692/input.0.txt b/public_test_cases/p03692/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fa10279583c299e9d987e8a5ad331bc6c8704d
--- /dev/null
+++ b/public_test_cases/p03692/input.0.txt
@@ -0,0 +1,2 @@
+2 1
+1 2
diff --git a/public_test_cases/p03692/input.1.txt b/public_test_cases/p03692/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..938abf4cc84ac0f75d8470678b365b734c5a9076
--- /dev/null
+++ b/public_test_cases/p03692/input.1.txt
@@ -0,0 +1,3 @@
+4 2
+1 3
+2 4
diff --git a/public_test_cases/p03692/input.2.txt b/public_test_cases/p03692/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab6b3ad72b66bb8b71a331f71dab8ab6b5a2e1b2
--- /dev/null
+++ b/public_test_cases/p03692/input.2.txt
@@ -0,0 +1,11 @@
+5 10
+2 4
+3 4
+2 5
+2 3
+1 2
+3 5
+1 3
+1 5
+4 5
+1 4
diff --git a/public_test_cases/p03692/input.3.txt b/public_test_cases/p03692/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc88773658f25592fbc224fa48bd285513c79119
--- /dev/null
+++ b/public_test_cases/p03692/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p03692/input.4.txt b/public_test_cases/p03692/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9fa10279583c299e9d987e8a5ad331bc6c8704d
--- /dev/null
+++ b/public_test_cases/p03692/input.4.txt
@@ -0,0 +1,2 @@
+2 1
+1 2
diff --git a/public_test_cases/p03692/output.0.txt b/public_test_cases/p03692/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03692/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03692/output.1.txt b/public_test_cases/p03692/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03692/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03692/output.2.txt b/public_test_cases/p03692/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd93ccc9dbccdc409312a8f118ad64431b5e01e6
--- /dev/null
+++ b/public_test_cases/p03692/output.2.txt
@@ -0,0 +1 @@
+816
diff --git a/public_test_cases/p03692/output.3.txt b/public_test_cases/p03692/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03692/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03692/output.4.txt b/public_test_cases/p03692/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03692/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03693/input.0.txt b/public_test_cases/p03693/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8745e6f89587ddd56678ed3cebbdd42dd2f83f33
--- /dev/null
+++ b/public_test_cases/p03693/input.0.txt
@@ -0,0 +1 @@
+4 3 2
diff --git a/public_test_cases/p03693/input.1.txt b/public_test_cases/p03693/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8745e6f89587ddd56678ed3cebbdd42dd2f83f33
--- /dev/null
+++ b/public_test_cases/p03693/input.1.txt
@@ -0,0 +1 @@
+4 3 2
diff --git a/public_test_cases/p03693/input.2.txt b/public_test_cases/p03693/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aacd417fc7c2580e624192c8176938cde0c8f06
--- /dev/null
+++ b/public_test_cases/p03693/input.2.txt
@@ -0,0 +1 @@
+2 3 4
diff --git a/public_test_cases/p03693/output.0.txt b/public_test_cases/p03693/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03693/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03693/output.1.txt b/public_test_cases/p03693/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03693/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03693/output.2.txt b/public_test_cases/p03693/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03693/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03694/input.0.txt b/public_test_cases/p03694/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b27f01a7269693686d3af70c165f99f2c1542de2
--- /dev/null
+++ b/public_test_cases/p03694/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 3 7 9
diff --git a/public_test_cases/p03694/input.1.txt b/public_test_cases/p03694/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b27f01a7269693686d3af70c165f99f2c1542de2
--- /dev/null
+++ b/public_test_cases/p03694/input.1.txt
@@ -0,0 +1,2 @@
+4
+2 3 7 9
diff --git a/public_test_cases/p03694/input.2.txt b/public_test_cases/p03694/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1106c7db160dfbf7191fbd97774cbb40b33e0a52
--- /dev/null
+++ b/public_test_cases/p03694/input.2.txt
@@ -0,0 +1,2 @@
+8
+3 1 4 1 5 9 2 6
diff --git a/public_test_cases/p03694/output.0.txt b/public_test_cases/p03694/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03694/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03694/output.1.txt b/public_test_cases/p03694/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03694/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03694/output.2.txt b/public_test_cases/p03694/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03694/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03695/input.0.txt b/public_test_cases/p03695/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aa8b7d4d3d88eb0ebc4569ab0c0444dfbaf3d3c
--- /dev/null
+++ b/public_test_cases/p03695/input.0.txt
@@ -0,0 +1,2 @@
+4
+2100 2500 2700 2700
diff --git a/public_test_cases/p03695/input.1.txt b/public_test_cases/p03695/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3aa8b7d4d3d88eb0ebc4569ab0c0444dfbaf3d3c
--- /dev/null
+++ b/public_test_cases/p03695/input.1.txt
@@ -0,0 +1,2 @@
+4
+2100 2500 2700 2700
diff --git a/public_test_cases/p03695/input.2.txt b/public_test_cases/p03695/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66cdd1f3891619efaf1384e4ee627ad0764197f0
--- /dev/null
+++ b/public_test_cases/p03695/input.2.txt
@@ -0,0 +1,2 @@
+20
+800 810 820 830 840 850 860 870 880 890 900 910 920 930 940 950 960 970 980 990
diff --git a/public_test_cases/p03695/input.3.txt b/public_test_cases/p03695/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51db65b46b5881ec23e334115da4722ec4510932
--- /dev/null
+++ b/public_test_cases/p03695/input.3.txt
@@ -0,0 +1,2 @@
+5
+1100 1900 2800 3200 3200
diff --git a/public_test_cases/p03695/output.0.txt b/public_test_cases/p03695/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03695/output.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03695/output.1.txt b/public_test_cases/p03695/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03695/output.1.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03695/output.2.txt b/public_test_cases/p03695/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03695/output.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03695/output.3.txt b/public_test_cases/p03695/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p03695/output.3.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p03696/input.0.txt b/public_test_cases/p03696/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82887e71ddb0b73fa53a08a84d3c5f8bc46e6cc
--- /dev/null
+++ b/public_test_cases/p03696/input.0.txt
@@ -0,0 +1,2 @@
+3
+())
diff --git a/public_test_cases/p03696/input.1.txt b/public_test_cases/p03696/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25419b30732d73dfa9093195399290f5db93269a
--- /dev/null
+++ b/public_test_cases/p03696/input.1.txt
@@ -0,0 +1,2 @@
+8
+))))((((
diff --git a/public_test_cases/p03696/input.2.txt b/public_test_cases/p03696/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82887e71ddb0b73fa53a08a84d3c5f8bc46e6cc
--- /dev/null
+++ b/public_test_cases/p03696/input.2.txt
@@ -0,0 +1,2 @@
+3
+())
diff --git a/public_test_cases/p03696/input.3.txt b/public_test_cases/p03696/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03a440a41f595c2c2b3080cd9dde7efa00cb08f2
--- /dev/null
+++ b/public_test_cases/p03696/input.3.txt
@@ -0,0 +1,2 @@
+6
+)))())
diff --git a/public_test_cases/p03696/output.0.txt b/public_test_cases/p03696/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbb2ed7bd9e0c917fd90e69d3401e6ebf43f30c4
--- /dev/null
+++ b/public_test_cases/p03696/output.0.txt
@@ -0,0 +1 @@
+(())
diff --git a/public_test_cases/p03696/output.1.txt b/public_test_cases/p03696/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b36443d5393429fe9e9b3ebc774157fe83ee479
--- /dev/null
+++ b/public_test_cases/p03696/output.1.txt
@@ -0,0 +1 @@
+(((())))(((())))
diff --git a/public_test_cases/p03696/output.2.txt b/public_test_cases/p03696/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbb2ed7bd9e0c917fd90e69d3401e6ebf43f30c4
--- /dev/null
+++ b/public_test_cases/p03696/output.2.txt
@@ -0,0 +1 @@
+(())
diff --git a/public_test_cases/p03696/output.3.txt b/public_test_cases/p03696/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b660f3a39874d59a07e4a706e815ce3d1a6b3265
--- /dev/null
+++ b/public_test_cases/p03696/output.3.txt
@@ -0,0 +1 @@
+(((()))())
diff --git a/public_test_cases/p03697/input.0.txt b/public_test_cases/p03697/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0dc5f67e18feaa8ac385a23e46b2594040b228c
--- /dev/null
+++ b/public_test_cases/p03697/input.0.txt
@@ -0,0 +1 @@
+6 3
diff --git a/public_test_cases/p03697/input.1.txt b/public_test_cases/p03697/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9efb403ac19b10bb1044ee6f241a1af54f353edb
--- /dev/null
+++ b/public_test_cases/p03697/input.1.txt
@@ -0,0 +1 @@
+6 4
diff --git a/public_test_cases/p03697/input.2.txt b/public_test_cases/p03697/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0dc5f67e18feaa8ac385a23e46b2594040b228c
--- /dev/null
+++ b/public_test_cases/p03697/input.2.txt
@@ -0,0 +1 @@
+6 3
diff --git a/public_test_cases/p03697/output.0.txt b/public_test_cases/p03697/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03697/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03697/output.1.txt b/public_test_cases/p03697/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8276753746b12b5843b25ec22b5a061787b0b670
--- /dev/null
+++ b/public_test_cases/p03697/output.1.txt
@@ -0,0 +1 @@
+error
diff --git a/public_test_cases/p03697/output.2.txt b/public_test_cases/p03697/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03697/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03698/input.0.txt b/public_test_cases/p03698/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e3e456ccb783811ec57c3ae8008313c4b6d5ede
--- /dev/null
+++ b/public_test_cases/p03698/input.0.txt
@@ -0,0 +1 @@
+uncopyrightable
diff --git a/public_test_cases/p03698/input.1.txt b/public_test_cases/p03698/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e3e456ccb783811ec57c3ae8008313c4b6d5ede
--- /dev/null
+++ b/public_test_cases/p03698/input.1.txt
@@ -0,0 +1 @@
+uncopyrightable
diff --git a/public_test_cases/p03698/input.2.txt b/public_test_cases/p03698/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8dca2f88bcfeb5fb3ecb832c4170ea85ef7be25c
--- /dev/null
+++ b/public_test_cases/p03698/input.2.txt
@@ -0,0 +1 @@
+different
diff --git a/public_test_cases/p03698/input.3.txt b/public_test_cases/p03698/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p03698/input.3.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p03698/output.0.txt b/public_test_cases/p03698/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p03698/output.0.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p03698/output.1.txt b/public_test_cases/p03698/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p03698/output.1.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p03698/output.2.txt b/public_test_cases/p03698/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ecb56eb3fa3fa6f19dd48bca9f971950b119ede
--- /dev/null
+++ b/public_test_cases/p03698/output.2.txt
@@ -0,0 +1 @@
+no
diff --git a/public_test_cases/p03698/output.3.txt b/public_test_cases/p03698/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cfab5b05d620d8c6f386273d5d507975cef115f
--- /dev/null
+++ b/public_test_cases/p03698/output.3.txt
@@ -0,0 +1 @@
+yes
diff --git a/public_test_cases/p03699/input.0.txt b/public_test_cases/p03699/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bba7385792f97b429cd1dff433e9baf6b164045
--- /dev/null
+++ b/public_test_cases/p03699/input.0.txt
@@ -0,0 +1,4 @@
+3
+5
+10
+15
diff --git a/public_test_cases/p03699/input.1.txt b/public_test_cases/p03699/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f44fc1eaadcd01ba1021dbe30c240d7a22fe1366
--- /dev/null
+++ b/public_test_cases/p03699/input.1.txt
@@ -0,0 +1,4 @@
+3
+10
+10
+15
diff --git a/public_test_cases/p03699/input.2.txt b/public_test_cases/p03699/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e21dd378953a88a4ee04b824e01851e2491c87c
--- /dev/null
+++ b/public_test_cases/p03699/input.2.txt
@@ -0,0 +1,4 @@
+3
+10
+20
+30
diff --git a/public_test_cases/p03699/input.3.txt b/public_test_cases/p03699/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bba7385792f97b429cd1dff433e9baf6b164045
--- /dev/null
+++ b/public_test_cases/p03699/input.3.txt
@@ -0,0 +1,4 @@
+3
+5
+10
+15
diff --git a/public_test_cases/p03699/output.0.txt b/public_test_cases/p03699/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p03699/output.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p03699/output.1.txt b/public_test_cases/p03699/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f92bfdd49766b1907d4aec8d3b0f9ed6129d0e6
--- /dev/null
+++ b/public_test_cases/p03699/output.1.txt
@@ -0,0 +1 @@
+35
diff --git a/public_test_cases/p03699/output.2.txt b/public_test_cases/p03699/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03699/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03699/output.3.txt b/public_test_cases/p03699/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p03699/output.3.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p03700/input.0.txt b/public_test_cases/p03700/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba54752c07cb492d492c531049c31395a7fba458
--- /dev/null
+++ b/public_test_cases/p03700/input.0.txt
@@ -0,0 +1,5 @@
+4 5 3
+8
+7
+4
+2
diff --git a/public_test_cases/p03700/input.1.txt b/public_test_cases/p03700/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cf5330b515812b455ef34393218eb7ac9d85138
--- /dev/null
+++ b/public_test_cases/p03700/input.1.txt
@@ -0,0 +1,6 @@
+5 2 1
+900000000
+900000000
+1000000000
+1000000000
+1000000000
diff --git a/public_test_cases/p03700/input.2.txt b/public_test_cases/p03700/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba54752c07cb492d492c531049c31395a7fba458
--- /dev/null
+++ b/public_test_cases/p03700/input.2.txt
@@ -0,0 +1,5 @@
+4 5 3
+8
+7
+4
+2
diff --git a/public_test_cases/p03700/input.3.txt b/public_test_cases/p03700/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3848a6e34b952b891f27996c009e84ab37a17fb2
--- /dev/null
+++ b/public_test_cases/p03700/input.3.txt
@@ -0,0 +1,3 @@
+2 10 4
+20
+20
diff --git a/public_test_cases/p03700/output.0.txt b/public_test_cases/p03700/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03700/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03700/output.1.txt b/public_test_cases/p03700/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bbf1410e01b0b57202807e620a852005214e5bc
--- /dev/null
+++ b/public_test_cases/p03700/output.1.txt
@@ -0,0 +1 @@
+800000000
diff --git a/public_test_cases/p03700/output.2.txt b/public_test_cases/p03700/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03700/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03700/output.3.txt b/public_test_cases/p03700/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03700/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03701/input.0.txt b/public_test_cases/p03701/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bba7385792f97b429cd1dff433e9baf6b164045
--- /dev/null
+++ b/public_test_cases/p03701/input.0.txt
@@ -0,0 +1,4 @@
+3
+5
+10
+15
diff --git a/public_test_cases/p03701/output.0.txt b/public_test_cases/p03701/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7273c0fa8c522b7eed7762a353d46f7768e9b6f2
--- /dev/null
+++ b/public_test_cases/p03701/output.0.txt
@@ -0,0 +1 @@
+25
diff --git a/public_test_cases/p03702/input.0.txt b/public_test_cases/p03702/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba54752c07cb492d492c531049c31395a7fba458
--- /dev/null
+++ b/public_test_cases/p03702/input.0.txt
@@ -0,0 +1,5 @@
+4 5 3
+8
+7
+4
+2
diff --git a/public_test_cases/p03702/output.0.txt b/public_test_cases/p03702/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03702/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03703/input.0.txt b/public_test_cases/p03703/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d757af51c60addcc0b8836177ac74719403dd5e
--- /dev/null
+++ b/public_test_cases/p03703/input.0.txt
@@ -0,0 +1,4 @@
+3 6
+7
+5
+7
diff --git a/public_test_cases/p03703/input.1.txt b/public_test_cases/p03703/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11f162df37eb603c6bc8320a10e36affe66f9118
--- /dev/null
+++ b/public_test_cases/p03703/input.1.txt
@@ -0,0 +1,2 @@
+1 2
+1
diff --git a/public_test_cases/p03703/input.2.txt b/public_test_cases/p03703/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d757af51c60addcc0b8836177ac74719403dd5e
--- /dev/null
+++ b/public_test_cases/p03703/input.2.txt
@@ -0,0 +1,4 @@
+3 6
+7
+5
+7
diff --git a/public_test_cases/p03703/input.3.txt b/public_test_cases/p03703/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72c8cabe7072fde55d1324c7839f3927c9dcedad
--- /dev/null
+++ b/public_test_cases/p03703/input.3.txt
@@ -0,0 +1,8 @@
+7 26
+10
+20
+30
+40
+30
+20
+10
diff --git a/public_test_cases/p03703/output.0.txt b/public_test_cases/p03703/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03703/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03703/output.1.txt b/public_test_cases/p03703/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03703/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03703/output.2.txt b/public_test_cases/p03703/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03703/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03703/output.3.txt b/public_test_cases/p03703/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03703/output.3.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03704/input.0.txt b/public_test_cases/p03704/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b9026d8e2aa237955be84bd9e06954bdd343190
--- /dev/null
+++ b/public_test_cases/p03704/input.0.txt
@@ -0,0 +1 @@
+63
diff --git a/public_test_cases/p03704/input.1.txt b/public_test_cases/p03704/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b9026d8e2aa237955be84bd9e06954bdd343190
--- /dev/null
+++ b/public_test_cases/p03704/input.1.txt
@@ -0,0 +1 @@
+63
diff --git a/public_test_cases/p03704/input.2.txt b/public_test_cases/p03704/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..399a9dd60e532d63e8c3b4c728c2cdaeb28dd130
--- /dev/null
+++ b/public_test_cases/p03704/input.2.txt
@@ -0,0 +1 @@
+864197532
diff --git a/public_test_cases/p03704/input.3.txt b/public_test_cases/p03704/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78eb67cee1ab25652fe5c9e29efc173671301400
--- /dev/null
+++ b/public_test_cases/p03704/input.3.txt
@@ -0,0 +1 @@
+75
diff --git a/public_test_cases/p03704/output.0.txt b/public_test_cases/p03704/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03704/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03704/output.1.txt b/public_test_cases/p03704/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03704/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03704/output.2.txt b/public_test_cases/p03704/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e37d15a094a6b6e87fadc3c4d934fd9304f3653d
--- /dev/null
+++ b/public_test_cases/p03704/output.2.txt
@@ -0,0 +1 @@
+1920
diff --git a/public_test_cases/p03704/output.3.txt b/public_test_cases/p03704/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03704/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03705/input.0.txt b/public_test_cases/p03705/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f007b23a109968c228711c8e2a114b9ec1277ba6
--- /dev/null
+++ b/public_test_cases/p03705/input.0.txt
@@ -0,0 +1 @@
+4 4 6
diff --git a/public_test_cases/p03705/input.1.txt b/public_test_cases/p03705/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aacd9808d5d451faed62fc45c8e80895238922a4
--- /dev/null
+++ b/public_test_cases/p03705/input.1.txt
@@ -0,0 +1 @@
+5 4 3
diff --git a/public_test_cases/p03705/input.2.txt b/public_test_cases/p03705/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5581895cdf526fd0348737c271ff8a7e8d799237
--- /dev/null
+++ b/public_test_cases/p03705/input.2.txt
@@ -0,0 +1 @@
+1 7 10
diff --git a/public_test_cases/p03705/input.3.txt b/public_test_cases/p03705/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ef63d76e86713ac418642c556347aae7ea86ed3
--- /dev/null
+++ b/public_test_cases/p03705/input.3.txt
@@ -0,0 +1 @@
+1 3 3
diff --git a/public_test_cases/p03705/input.4.txt b/public_test_cases/p03705/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f007b23a109968c228711c8e2a114b9ec1277ba6
--- /dev/null
+++ b/public_test_cases/p03705/input.4.txt
@@ -0,0 +1 @@
+4 4 6
diff --git a/public_test_cases/p03705/output.0.txt b/public_test_cases/p03705/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03705/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03705/output.1.txt b/public_test_cases/p03705/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03705/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03705/output.2.txt b/public_test_cases/p03705/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03705/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03705/output.3.txt b/public_test_cases/p03705/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03705/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03705/output.4.txt b/public_test_cases/p03705/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03705/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03706/input.0.txt b/public_test_cases/p03706/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a7b37f2f396d6c8f3d923abd0abe9e68c9dcb3e
--- /dev/null
+++ b/public_test_cases/p03706/input.0.txt
@@ -0,0 +1 @@
+UUD
diff --git a/public_test_cases/p03706/output.0.txt b/public_test_cases/p03706/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03706/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03707/input.0.txt b/public_test_cases/p03707/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b81148f8105ccd880dd4f2bd6babfa6f3143dba6
--- /dev/null
+++ b/public_test_cases/p03707/input.0.txt
@@ -0,0 +1,8 @@
+3 4 4
+1101
+0110
+1101
+1 1 3 4
+1 1 3 1
+2 2 3 4
+1 2 2 4
diff --git a/public_test_cases/p03707/input.1.txt b/public_test_cases/p03707/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b81148f8105ccd880dd4f2bd6babfa6f3143dba6
--- /dev/null
+++ b/public_test_cases/p03707/input.1.txt
@@ -0,0 +1,8 @@
+3 4 4
+1101
+0110
+1101
+1 1 3 4
+1 1 3 1
+2 2 3 4
+1 2 2 4
diff --git a/public_test_cases/p03707/input.2.txt b/public_test_cases/p03707/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6aa020e882ee9beafdffbdbb8d89c66821c93378
--- /dev/null
+++ b/public_test_cases/p03707/input.2.txt
@@ -0,0 +1,12 @@
+5 5 6
+11010
+01110
+10101
+11101
+01010
+1 1 5 5
+1 2 4 5
+2 3 3 4
+3 3 3 3
+3 1 3 5
+1 1 3 4
diff --git a/public_test_cases/p03707/output.0.txt b/public_test_cases/p03707/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47caebfbef7dff406435e96bcb077353adfe2a4e
--- /dev/null
+++ b/public_test_cases/p03707/output.0.txt
@@ -0,0 +1,4 @@
+3
+2
+2
+2
diff --git a/public_test_cases/p03707/output.1.txt b/public_test_cases/p03707/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47caebfbef7dff406435e96bcb077353adfe2a4e
--- /dev/null
+++ b/public_test_cases/p03707/output.1.txt
@@ -0,0 +1,4 @@
+3
+2
+2
+2
diff --git a/public_test_cases/p03707/output.2.txt b/public_test_cases/p03707/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d92d9e52e8bd7c9950e194a17e33a627cc69f82e
--- /dev/null
+++ b/public_test_cases/p03707/output.2.txt
@@ -0,0 +1,6 @@
+3
+2
+1
+1
+3
+2
diff --git a/public_test_cases/p03708/input.0.txt b/public_test_cases/p03708/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce2e38b6160eedf7b303339b2290b097c58f7af3
--- /dev/null
+++ b/public_test_cases/p03708/input.0.txt
@@ -0,0 +1,2 @@
+7
+9
diff --git a/public_test_cases/p03708/input.1.txt b/public_test_cases/p03708/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3554e1f2952a45eaa45893c8cbf82bdd74caf37d
--- /dev/null
+++ b/public_test_cases/p03708/input.1.txt
@@ -0,0 +1,2 @@
+65
+98
diff --git a/public_test_cases/p03708/input.2.txt b/public_test_cases/p03708/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce2e38b6160eedf7b303339b2290b097c58f7af3
--- /dev/null
+++ b/public_test_cases/p03708/input.2.txt
@@ -0,0 +1,2 @@
+7
+9
diff --git a/public_test_cases/p03708/input.3.txt b/public_test_cases/p03708/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..617b33fb582f115d550d624cfdacd3ab2cd6457e
--- /dev/null
+++ b/public_test_cases/p03708/input.3.txt
@@ -0,0 +1,2 @@
+271828182845904523
+314159265358979323
diff --git a/public_test_cases/p03708/output.0.txt b/public_test_cases/p03708/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03708/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03708/output.1.txt b/public_test_cases/p03708/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b9026d8e2aa237955be84bd9e06954bdd343190
--- /dev/null
+++ b/public_test_cases/p03708/output.1.txt
@@ -0,0 +1 @@
+63
diff --git a/public_test_cases/p03708/output.2.txt b/public_test_cases/p03708/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03708/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03708/output.3.txt b/public_test_cases/p03708/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6f85d9497fab254dc69bc1c7e8a651966587df8
--- /dev/null
+++ b/public_test_cases/p03708/output.3.txt
@@ -0,0 +1 @@
+68833183630578410
diff --git a/public_test_cases/p03709/input.0.txt b/public_test_cases/p03709/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90981ddfb4f51287886ec11b074a2f17ce22b727
--- /dev/null
+++ b/public_test_cases/p03709/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 5
+6 1
+3 7
diff --git a/public_test_cases/p03709/input.1.txt b/public_test_cases/p03709/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90981ddfb4f51287886ec11b074a2f17ce22b727
--- /dev/null
+++ b/public_test_cases/p03709/input.1.txt
@@ -0,0 +1,4 @@
+3
+2 5
+6 1
+3 7
diff --git a/public_test_cases/p03709/input.2.txt b/public_test_cases/p03709/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31057b6ac92a40a60e492674eff764e320d97805
--- /dev/null
+++ b/public_test_cases/p03709/input.2.txt
@@ -0,0 +1,5 @@
+4
+3 7
+2 9
+8 16
+10 8
diff --git a/public_test_cases/p03709/output.0.txt b/public_test_cases/p03709/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03709/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03709/output.1.txt b/public_test_cases/p03709/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03709/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03709/output.2.txt b/public_test_cases/p03709/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03709/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03710/input.0.txt b/public_test_cases/p03710/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5a07a2b46e284ae4463abd4a7ff1e44f89c133
--- /dev/null
+++ b/public_test_cases/p03710/input.0.txt
@@ -0,0 +1,4 @@
+3
+4 4
+6 10
+12 11
diff --git a/public_test_cases/p03710/input.1.txt b/public_test_cases/p03710/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be70bda70870d449872eea598a0c9c77de9a94d8
--- /dev/null
+++ b/public_test_cases/p03710/input.1.txt
@@ -0,0 +1,11 @@
+10
+1 1
+2 2
+5 1000000000000000000
+7 3
+1 334334334334334334
+23847657 23458792534
+111111111 111111111
+7 7
+4 19
+9 10
diff --git a/public_test_cases/p03710/input.2.txt b/public_test_cases/p03710/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5a07a2b46e284ae4463abd4a7ff1e44f89c133
--- /dev/null
+++ b/public_test_cases/p03710/input.2.txt
@@ -0,0 +1,4 @@
+3
+4 4
+6 10
+12 11
diff --git a/public_test_cases/p03710/output.0.txt b/public_test_cases/p03710/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d14a2192e5134ccd6cb0a959b5a9bd8e8b8c3964
--- /dev/null
+++ b/public_test_cases/p03710/output.0.txt
@@ -0,0 +1,3 @@
+2 4
+4 1
+4 7
diff --git a/public_test_cases/p03710/output.1.txt b/public_test_cases/p03710/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bba1e066d166155928666f2d6869b0f3381fbd67
--- /dev/null
+++ b/public_test_cases/p03710/output.1.txt
@@ -0,0 +1,10 @@
+1 1
+1 4
+4 600000013
+3 1
+1 993994017
+35 37447
+38 2
+3 6
+3 9
+4 2
diff --git a/public_test_cases/p03710/output.2.txt b/public_test_cases/p03710/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d14a2192e5134ccd6cb0a959b5a9bd8e8b8c3964
--- /dev/null
+++ b/public_test_cases/p03710/output.2.txt
@@ -0,0 +1,3 @@
+2 4
+4 1
+4 7
diff --git a/public_test_cases/p03711/input.0.txt b/public_test_cases/p03711/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p03711/input.0.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p03711/input.1.txt b/public_test_cases/p03711/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0efd67f9502e63cb033cb651e65e025b6e3a5cb2
--- /dev/null
+++ b/public_test_cases/p03711/input.1.txt
@@ -0,0 +1 @@
+2 4
diff --git a/public_test_cases/p03711/input.2.txt b/public_test_cases/p03711/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p03711/input.2.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p03711/output.0.txt b/public_test_cases/p03711/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03711/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03711/output.1.txt b/public_test_cases/p03711/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03711/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03711/output.2.txt b/public_test_cases/p03711/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03711/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03712/input.0.txt b/public_test_cases/p03712/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6aafc49b2ec604b71fb0ef119e09ad49ab78bbd
--- /dev/null
+++ b/public_test_cases/p03712/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+abc
+arc
diff --git a/public_test_cases/p03712/input.1.txt b/public_test_cases/p03712/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6aafc49b2ec604b71fb0ef119e09ad49ab78bbd
--- /dev/null
+++ b/public_test_cases/p03712/input.1.txt
@@ -0,0 +1,3 @@
+2 3
+abc
+arc
diff --git a/public_test_cases/p03712/input.2.txt b/public_test_cases/p03712/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6e07373df8563ac2f5ce1ff7e2d387c2fb5fc24
--- /dev/null
+++ b/public_test_cases/p03712/input.2.txt
@@ -0,0 +1,2 @@
+1 1
+z
diff --git a/public_test_cases/p03712/output.0.txt b/public_test_cases/p03712/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03881610f3b286f98e5249e8d15ba8fc659a6fa2
--- /dev/null
+++ b/public_test_cases/p03712/output.0.txt
@@ -0,0 +1,4 @@
+#####
+#abc#
+#arc#
+#####
diff --git a/public_test_cases/p03712/output.1.txt b/public_test_cases/p03712/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03881610f3b286f98e5249e8d15ba8fc659a6fa2
--- /dev/null
+++ b/public_test_cases/p03712/output.1.txt
@@ -0,0 +1,4 @@
+#####
+#abc#
+#arc#
+#####
diff --git a/public_test_cases/p03712/output.2.txt b/public_test_cases/p03712/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ced7816a30245aac0b5c646272cd4a4daf06072b
--- /dev/null
+++ b/public_test_cases/p03712/output.2.txt
@@ -0,0 +1 @@
+z#
diff --git a/public_test_cases/p03713/input.0.txt b/public_test_cases/p03713/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p03713/input.0.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p03713/input.1.txt b/public_test_cases/p03713/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p03713/input.1.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p03713/input.2.txt b/public_test_cases/p03713/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bfd8643e47256f0fce54761d9cc9e58d209aebc
--- /dev/null
+++ b/public_test_cases/p03713/input.2.txt
@@ -0,0 +1 @@
+100000 100000
diff --git a/public_test_cases/p03713/input.3.txt b/public_test_cases/p03713/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fbf084b3bc8579e8a9c727ab3d9b153a3f88ff94
--- /dev/null
+++ b/public_test_cases/p03713/input.3.txt
@@ -0,0 +1 @@
+100000 2
diff --git a/public_test_cases/p03713/input.4.txt b/public_test_cases/p03713/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..299a71f3fe47862a2e17f69e981e7ad8beff4e53
--- /dev/null
+++ b/public_test_cases/p03713/input.4.txt
@@ -0,0 +1 @@
+5 5
diff --git a/public_test_cases/p03713/input.5.txt b/public_test_cases/p03713/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a99162ed9cdd1b90006cbd4f07e2a2bd3f404d4
--- /dev/null
+++ b/public_test_cases/p03713/input.5.txt
@@ -0,0 +1 @@
+4 5
diff --git a/public_test_cases/p03713/output.0.txt b/public_test_cases/p03713/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03713/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03713/output.1.txt b/public_test_cases/p03713/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03713/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03713/output.2.txt b/public_test_cases/p03713/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ccfc37a15dad24fe8999ddb4c0d77ca5dcb1e1a4
--- /dev/null
+++ b/public_test_cases/p03713/output.2.txt
@@ -0,0 +1 @@
+50000
diff --git a/public_test_cases/p03713/output.3.txt b/public_test_cases/p03713/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03713/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03713/output.4.txt b/public_test_cases/p03713/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03713/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03713/output.5.txt b/public_test_cases/p03713/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03713/output.5.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03714/input.0.txt b/public_test_cases/p03714/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d4f27ac163f769a21c4f0194d8dacb2b8b9bd74
--- /dev/null
+++ b/public_test_cases/p03714/input.0.txt
@@ -0,0 +1,2 @@
+2
+3 1 4 1 5 9
diff --git a/public_test_cases/p03714/input.1.txt b/public_test_cases/p03714/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d4f27ac163f769a21c4f0194d8dacb2b8b9bd74
--- /dev/null
+++ b/public_test_cases/p03714/input.1.txt
@@ -0,0 +1,2 @@
+2
+3 1 4 1 5 9
diff --git a/public_test_cases/p03714/input.2.txt b/public_test_cases/p03714/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4fe8783a8d21f51583db27e86ad33c9aff70efaf
--- /dev/null
+++ b/public_test_cases/p03714/input.2.txt
@@ -0,0 +1,2 @@
+1
+1 2 3
diff --git a/public_test_cases/p03714/input.3.txt b/public_test_cases/p03714/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e21a588230c73d19985aa71e9d81cd1c71d6620
--- /dev/null
+++ b/public_test_cases/p03714/input.3.txt
@@ -0,0 +1,2 @@
+3
+8 2 2 7 4 6 5 3 8
diff --git a/public_test_cases/p03714/output.0.txt b/public_test_cases/p03714/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03714/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03714/output.1.txt b/public_test_cases/p03714/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03714/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03714/output.2.txt b/public_test_cases/p03714/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03714/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03714/output.3.txt b/public_test_cases/p03714/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03714/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03715/input.0.txt b/public_test_cases/p03715/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99818b5e14a5b696e9ca6864fe6ee34c0695cb04
--- /dev/null
+++ b/public_test_cases/p03715/input.0.txt
@@ -0,0 +1 @@
+3 5
diff --git a/public_test_cases/p03715/output.0.txt b/public_test_cases/p03715/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03715/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03716/input.0.txt b/public_test_cases/p03716/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d4f27ac163f769a21c4f0194d8dacb2b8b9bd74
--- /dev/null
+++ b/public_test_cases/p03716/input.0.txt
@@ -0,0 +1,2 @@
+2
+3 1 4 1 5 9
diff --git a/public_test_cases/p03716/output.0.txt b/public_test_cases/p03716/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03716/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03717/input.0.txt b/public_test_cases/p03717/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd7515ecf20946ec4b8658f306be727f34723f0f
--- /dev/null
+++ b/public_test_cases/p03717/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+1 3 3
diff --git a/public_test_cases/p03717/input.1.txt b/public_test_cases/p03717/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd7515ecf20946ec4b8658f306be727f34723f0f
--- /dev/null
+++ b/public_test_cases/p03717/input.1.txt
@@ -0,0 +1,2 @@
+3 1
+1 3 3
diff --git a/public_test_cases/p03717/input.2.txt b/public_test_cases/p03717/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50aa54a4ae4040ded4a33e2769105ce320472255
--- /dev/null
+++ b/public_test_cases/p03717/input.2.txt
@@ -0,0 +1,11 @@
+8 10
+2 6 2
+5 5 1
+3 5 2
+4 7 3
+4 4 1
+2 3 1
+7 7 1
+1 5 2
+1 7 3
+3 4 2
diff --git a/public_test_cases/p03717/input.3.txt b/public_test_cases/p03717/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9f7cc24f7bfe602ec8157f0dadc99203536d91e
--- /dev/null
+++ b/public_test_cases/p03717/input.3.txt
@@ -0,0 +1,4 @@
+1 3
+1 1 1
+1 1 2
+1 1 3
diff --git a/public_test_cases/p03717/input.4.txt b/public_test_cases/p03717/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..514e315b1f00bd523b29d91dbbcf0e50e9b5e48a
--- /dev/null
+++ b/public_test_cases/p03717/input.4.txt
@@ -0,0 +1,3 @@
+4 2
+1 3 1
+2 4 2
diff --git a/public_test_cases/p03717/output.0.txt b/public_test_cases/p03717/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03717/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03717/output.1.txt b/public_test_cases/p03717/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03717/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03717/output.2.txt b/public_test_cases/p03717/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b20426c05051ed8bd8c8cc632573c194e57809c
--- /dev/null
+++ b/public_test_cases/p03717/output.2.txt
@@ -0,0 +1 @@
+108
diff --git a/public_test_cases/p03717/output.3.txt b/public_test_cases/p03717/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03717/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03717/output.4.txt b/public_test_cases/p03717/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03717/output.4.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03718/input.0.txt b/public_test_cases/p03718/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e54740d44fa6e510d35deb0c79deb89b1d2e592
--- /dev/null
+++ b/public_test_cases/p03718/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+S.o
+.o.
+o.T
diff --git a/public_test_cases/p03718/input.1.txt b/public_test_cases/p03718/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..090cbe26697dfe31eb1957a16ad20996a68513ef
--- /dev/null
+++ b/public_test_cases/p03718/input.1.txt
@@ -0,0 +1,5 @@
+4 3
+.S.
+.o.
+.o.
+.T.
diff --git a/public_test_cases/p03718/input.2.txt b/public_test_cases/p03718/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05dcdcef8751db3708bd334bb260cb42470ba180
--- /dev/null
+++ b/public_test_cases/p03718/input.2.txt
@@ -0,0 +1,4 @@
+3 4
+S...
+.oo.
+...T
diff --git a/public_test_cases/p03718/input.3.txt b/public_test_cases/p03718/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e54740d44fa6e510d35deb0c79deb89b1d2e592
--- /dev/null
+++ b/public_test_cases/p03718/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+S.o
+.o.
+o.T
diff --git a/public_test_cases/p03718/input.4.txt b/public_test_cases/p03718/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49bd7cba070c2e8967b24dbe20059085adddb193
--- /dev/null
+++ b/public_test_cases/p03718/input.4.txt
@@ -0,0 +1,11 @@
+10 10
+.o...o..o.
+....o.....
+....oo.oo.
+..oooo..o.
+....oo....
+..o..o....
+o..o....So
+o....T....
+....o.....
+........oo
diff --git a/public_test_cases/p03718/output.0.txt b/public_test_cases/p03718/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03718/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03718/output.1.txt b/public_test_cases/p03718/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03718/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03718/output.2.txt b/public_test_cases/p03718/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03718/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03718/output.3.txt b/public_test_cases/p03718/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03718/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03718/output.4.txt b/public_test_cases/p03718/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03718/output.4.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03719/input.0.txt b/public_test_cases/p03719/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d849ff9fbc8ef5b5ece8947aedea2c693179e497
--- /dev/null
+++ b/public_test_cases/p03719/input.0.txt
@@ -0,0 +1 @@
+1 3 2
diff --git a/public_test_cases/p03719/input.1.txt b/public_test_cases/p03719/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef8c4b9ae5c4b77065fe39d4097af026125f5675
--- /dev/null
+++ b/public_test_cases/p03719/input.1.txt
@@ -0,0 +1 @@
+6 5 4
diff --git a/public_test_cases/p03719/input.2.txt b/public_test_cases/p03719/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p03719/input.2.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p03719/input.3.txt b/public_test_cases/p03719/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d849ff9fbc8ef5b5ece8947aedea2c693179e497
--- /dev/null
+++ b/public_test_cases/p03719/input.3.txt
@@ -0,0 +1 @@
+1 3 2
diff --git a/public_test_cases/p03719/output.0.txt b/public_test_cases/p03719/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03719/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03719/output.1.txt b/public_test_cases/p03719/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03719/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03719/output.2.txt b/public_test_cases/p03719/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03719/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03719/output.3.txt b/public_test_cases/p03719/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03719/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03720/input.0.txt b/public_test_cases/p03720/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fca0d282ff0046c8f0bd3e46dfc1e536ed65307
--- /dev/null
+++ b/public_test_cases/p03720/input.0.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+2 3
+1 4
diff --git a/public_test_cases/p03720/input.1.txt b/public_test_cases/p03720/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fca0d282ff0046c8f0bd3e46dfc1e536ed65307
--- /dev/null
+++ b/public_test_cases/p03720/input.1.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+2 3
+1 4
diff --git a/public_test_cases/p03720/input.2.txt b/public_test_cases/p03720/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e3d066d47355315bc0262cfe9e716871ef1597c
--- /dev/null
+++ b/public_test_cases/p03720/input.2.txt
@@ -0,0 +1,9 @@
+8 8
+1 2
+3 4
+1 5
+2 8
+3 7
+5 2
+4 1
+6 8
diff --git a/public_test_cases/p03720/input.3.txt b/public_test_cases/p03720/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fcba2c8375468ad5dd87cfcfd7967a2b2ae80cf
--- /dev/null
+++ b/public_test_cases/p03720/input.3.txt
@@ -0,0 +1,6 @@
+2 5
+1 2
+2 1
+1 2
+2 1
+1 2
diff --git a/public_test_cases/p03720/output.0.txt b/public_test_cases/p03720/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74cd8c6d31fbfab6e528d2eb5a285845b175476b
--- /dev/null
+++ b/public_test_cases/p03720/output.0.txt
@@ -0,0 +1,4 @@
+2
+2
+1
+1
diff --git a/public_test_cases/p03720/output.1.txt b/public_test_cases/p03720/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74cd8c6d31fbfab6e528d2eb5a285845b175476b
--- /dev/null
+++ b/public_test_cases/p03720/output.1.txt
@@ -0,0 +1,4 @@
+2
+2
+1
+1
diff --git a/public_test_cases/p03720/output.2.txt b/public_test_cases/p03720/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e35d833bd435d3fea5fae6f591e7ac2ffba2073e
--- /dev/null
+++ b/public_test_cases/p03720/output.2.txt
@@ -0,0 +1,8 @@
+3
+3
+2
+2
+2
+1
+1
+2
diff --git a/public_test_cases/p03720/output.3.txt b/public_test_cases/p03720/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fd3c81a4d763121f1827c8b4bbdd0cef674c30f9
--- /dev/null
+++ b/public_test_cases/p03720/output.3.txt
@@ -0,0 +1,2 @@
+5
+5
diff --git a/public_test_cases/p03721/input.0.txt b/public_test_cases/p03721/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f54f665f431f43545c73ca8dd9cee7b9a39e7d0
--- /dev/null
+++ b/public_test_cases/p03721/input.0.txt
@@ -0,0 +1,4 @@
+3 4
+1 1
+2 2
+3 3
diff --git a/public_test_cases/p03721/input.1.txt b/public_test_cases/p03721/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f54f665f431f43545c73ca8dd9cee7b9a39e7d0
--- /dev/null
+++ b/public_test_cases/p03721/input.1.txt
@@ -0,0 +1,4 @@
+3 4
+1 1
+2 2
+3 3
diff --git a/public_test_cases/p03721/input.2.txt b/public_test_cases/p03721/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7171a4c207c669409f428494299681ccd4df97fc
--- /dev/null
+++ b/public_test_cases/p03721/input.2.txt
@@ -0,0 +1,11 @@
+10 500000
+1 100000
+1 100000
+1 100000
+1 100000
+1 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
+100000 100000
diff --git a/public_test_cases/p03721/output.0.txt b/public_test_cases/p03721/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03721/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03721/output.1.txt b/public_test_cases/p03721/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03721/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03721/output.2.txt b/public_test_cases/p03721/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03721/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03722/input.0.txt b/public_test_cases/p03722/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cf74603e8a3efaa071854c1c925e84707539b87
--- /dev/null
+++ b/public_test_cases/p03722/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 4
+2 3 3
+1 3 5
diff --git a/public_test_cases/p03722/input.1.txt b/public_test_cases/p03722/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14a08ad68b20fee28c83a586cdc42f957e4a7614
--- /dev/null
+++ b/public_test_cases/p03722/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+1 2 1
+2 1 1
diff --git a/public_test_cases/p03722/input.2.txt b/public_test_cases/p03722/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cf74603e8a3efaa071854c1c925e84707539b87
--- /dev/null
+++ b/public_test_cases/p03722/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 4
+2 3 3
+1 3 5
diff --git a/public_test_cases/p03722/input.3.txt b/public_test_cases/p03722/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..280b713298de33bbf28b30bdb2bc2645f01c807b
--- /dev/null
+++ b/public_test_cases/p03722/input.3.txt
@@ -0,0 +1,6 @@
+6 5
+1 2 -1000000000
+2 3 -1000000000
+3 4 -1000000000
+4 5 -1000000000
+5 6 -1000000000
diff --git a/public_test_cases/p03722/output.0.txt b/public_test_cases/p03722/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03722/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03722/output.1.txt b/public_test_cases/p03722/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8484d062f57dd9d5606ee2db1c06424879fd62f4
--- /dev/null
+++ b/public_test_cases/p03722/output.1.txt
@@ -0,0 +1 @@
+inf
diff --git a/public_test_cases/p03722/output.2.txt b/public_test_cases/p03722/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03722/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03722/output.3.txt b/public_test_cases/p03722/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b50d4b172b3d6adf1a81d4ff0d288f5f8796be51
--- /dev/null
+++ b/public_test_cases/p03722/output.3.txt
@@ -0,0 +1 @@
+-5000000000
diff --git a/public_test_cases/p03723/input.0.txt b/public_test_cases/p03723/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50775277604c92e3779ed248a09012d4e4a69fbf
--- /dev/null
+++ b/public_test_cases/p03723/input.0.txt
@@ -0,0 +1 @@
+4 12 20
diff --git a/public_test_cases/p03723/input.1.txt b/public_test_cases/p03723/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95b3079fe08cdd7df49aa8cb902a5df8863513cf
--- /dev/null
+++ b/public_test_cases/p03723/input.1.txt
@@ -0,0 +1 @@
+14 14 14
diff --git a/public_test_cases/p03723/input.2.txt b/public_test_cases/p03723/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcb6500f6e2321ea24510014a711901574e2e90d
--- /dev/null
+++ b/public_test_cases/p03723/input.2.txt
@@ -0,0 +1 @@
+454 414 444
diff --git a/public_test_cases/p03723/input.3.txt b/public_test_cases/p03723/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..50775277604c92e3779ed248a09012d4e4a69fbf
--- /dev/null
+++ b/public_test_cases/p03723/input.3.txt
@@ -0,0 +1 @@
+4 12 20
diff --git a/public_test_cases/p03723/output.0.txt b/public_test_cases/p03723/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03723/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03723/output.1.txt b/public_test_cases/p03723/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03723/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03723/output.2.txt b/public_test_cases/p03723/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03723/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03723/output.3.txt b/public_test_cases/p03723/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03723/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03724/input.0.txt b/public_test_cases/p03724/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a54c5894d0d926eb3561c6439e0f0b15711634d
--- /dev/null
+++ b/public_test_cases/p03724/input.0.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 4
+1 3
+3 4
diff --git a/public_test_cases/p03724/input.1.txt b/public_test_cases/p03724/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..807be6b3bbbb70c8a0db5578a249f34a9ccb9803
--- /dev/null
+++ b/public_test_cases/p03724/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+1 2
+3 5
+5 1
+3 4
+2 3
diff --git a/public_test_cases/p03724/input.2.txt b/public_test_cases/p03724/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7a54c5894d0d926eb3561c6439e0f0b15711634d
--- /dev/null
+++ b/public_test_cases/p03724/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 4
+1 3
+3 4
diff --git a/public_test_cases/p03724/output.0.txt b/public_test_cases/p03724/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03724/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03724/output.1.txt b/public_test_cases/p03724/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03724/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03724/output.2.txt b/public_test_cases/p03724/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03724/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03725/input.0.txt b/public_test_cases/p03725/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdc6862a84044aada7b60227b0dfd3890f1ce621
--- /dev/null
+++ b/public_test_cases/p03725/input.0.txt
@@ -0,0 +1,4 @@
+3 3 3
+#.#
+#S.
+###
diff --git a/public_test_cases/p03725/input.1.txt b/public_test_cases/p03725/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdc6862a84044aada7b60227b0dfd3890f1ce621
--- /dev/null
+++ b/public_test_cases/p03725/input.1.txt
@@ -0,0 +1,4 @@
+3 3 3
+#.#
+#S.
+###
diff --git a/public_test_cases/p03725/input.2.txt b/public_test_cases/p03725/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac905a4ca06d6095bba1313693669a0a72569c40
--- /dev/null
+++ b/public_test_cases/p03725/input.2.txt
@@ -0,0 +1,3 @@
+3 3 3
+.#
+S.
diff --git a/public_test_cases/p03725/input.3.txt b/public_test_cases/p03725/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b3f03fef33632813c5c9d65370b6733fb464a551
--- /dev/null
+++ b/public_test_cases/p03725/input.3.txt
@@ -0,0 +1,3 @@
+3 3 3
+
+S#
diff --git a/public_test_cases/p03725/input.4.txt b/public_test_cases/p03725/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52ae5ad005c40b4c1bd775f298a962e588d3f33e
--- /dev/null
+++ b/public_test_cases/p03725/input.4.txt
@@ -0,0 +1,7 @@
+7 7 2
+
+
+...##
+S###
+.#.##
+.###
diff --git a/public_test_cases/p03725/output.0.txt b/public_test_cases/p03725/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03725/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03725/output.1.txt b/public_test_cases/p03725/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03725/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03725/output.2.txt b/public_test_cases/p03725/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03725/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03725/output.3.txt b/public_test_cases/p03725/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03725/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03725/output.4.txt b/public_test_cases/p03725/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03725/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03726/input.0.txt b/public_test_cases/p03726/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03726/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03726/input.1.txt b/public_test_cases/p03726/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03726/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03726/input.2.txt b/public_test_cases/p03726/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc252a3b66a9065ff078f32a92245338c08e207c
--- /dev/null
+++ b/public_test_cases/p03726/input.2.txt
@@ -0,0 +1,6 @@
+6
+1 2
+2 3
+3 4
+2 5
+5 6
diff --git a/public_test_cases/p03726/input.3.txt b/public_test_cases/p03726/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..913dc828930ae6560976a61bff74724593bfba79
--- /dev/null
+++ b/public_test_cases/p03726/input.3.txt
@@ -0,0 +1,4 @@
+4
+1 2
+2 3
+2 4
diff --git a/public_test_cases/p03726/output.0.txt b/public_test_cases/p03726/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03726/output.0.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03726/output.1.txt b/public_test_cases/p03726/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03726/output.1.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03726/output.2.txt b/public_test_cases/p03726/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p03726/output.2.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p03726/output.3.txt b/public_test_cases/p03726/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03726/output.3.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03727/input.0.txt b/public_test_cases/p03727/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b96801e923f3a3db7667e973ff0312a8ced06659
--- /dev/null
+++ b/public_test_cases/p03727/input.0.txt
@@ -0,0 +1,5 @@
+3
+1 2
+2 3
+1 3
+3 2
diff --git a/public_test_cases/p03727/input.1.txt b/public_test_cases/p03727/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94b81cb576d92277a1aacb8416e4ef31ff03662e
--- /dev/null
+++ b/public_test_cases/p03727/input.1.txt
@@ -0,0 +1,9 @@
+5
+1 2
+2 3
+3 4
+4 5
+3 4
+2 4
+1 4
+1 5
diff --git a/public_test_cases/p03727/input.2.txt b/public_test_cases/p03727/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b2371029d2b36bc71807554904a350588366e00
--- /dev/null
+++ b/public_test_cases/p03727/input.2.txt
@@ -0,0 +1,11 @@
+6
+1 2
+3 5
+4 6
+1 6
+5 1
+5 3
+1 4
+2 6
+4 3
+5 6
diff --git a/public_test_cases/p03727/input.3.txt b/public_test_cases/p03727/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b96801e923f3a3db7667e973ff0312a8ced06659
--- /dev/null
+++ b/public_test_cases/p03727/input.3.txt
@@ -0,0 +1,5 @@
+3
+1 2
+2 3
+1 3
+3 2
diff --git a/public_test_cases/p03727/output.0.txt b/public_test_cases/p03727/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03727/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03727/output.1.txt b/public_test_cases/p03727/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03727/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03727/output.2.txt b/public_test_cases/p03727/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03727/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03727/output.3.txt b/public_test_cases/p03727/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03727/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03728/input.0.txt b/public_test_cases/p03728/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b963f22471ef530788d18524b079a2e9b8e7d6ef
--- /dev/null
+++ b/public_test_cases/p03728/input.0.txt
@@ -0,0 +1,2 @@
+5
+3 5 1 2 4
diff --git a/public_test_cases/p03728/input.1.txt b/public_test_cases/p03728/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19316c8d53b3b1b6b61b70be0560b4d5b5f4d457
--- /dev/null
+++ b/public_test_cases/p03728/input.1.txt
@@ -0,0 +1,2 @@
+10
+2 10 5 7 3 6 4 9 8 1
diff --git a/public_test_cases/p03728/input.2.txt b/public_test_cases/p03728/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac4e9ed890dd280894cc797a96e1d2f4ab7d3a9b
--- /dev/null
+++ b/public_test_cases/p03728/input.2.txt
@@ -0,0 +1,2 @@
+5
+5 4 3 2 1
diff --git a/public_test_cases/p03728/input.3.txt b/public_test_cases/p03728/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b963f22471ef530788d18524b079a2e9b8e7d6ef
--- /dev/null
+++ b/public_test_cases/p03728/input.3.txt
@@ -0,0 +1,2 @@
+5
+3 5 1 2 4
diff --git a/public_test_cases/p03728/output.0.txt b/public_test_cases/p03728/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03728/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03728/output.1.txt b/public_test_cases/p03728/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03728/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03728/output.2.txt b/public_test_cases/p03728/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03728/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03728/output.3.txt b/public_test_cases/p03728/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03728/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03729/input.0.txt b/public_test_cases/p03729/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0916aac9a4a6a53c03b9a3bb80aa9254ce172546
--- /dev/null
+++ b/public_test_cases/p03729/input.0.txt
@@ -0,0 +1 @@
+rng gorilla apple
diff --git a/public_test_cases/p03729/input.1.txt b/public_test_cases/p03729/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b22eb844f75bd4eed8bf8e138e4c24dd32cf7b10
--- /dev/null
+++ b/public_test_cases/p03729/input.1.txt
@@ -0,0 +1 @@
+a a a
diff --git a/public_test_cases/p03729/input.2.txt b/public_test_cases/p03729/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0916aac9a4a6a53c03b9a3bb80aa9254ce172546
--- /dev/null
+++ b/public_test_cases/p03729/input.2.txt
@@ -0,0 +1 @@
+rng gorilla apple
diff --git a/public_test_cases/p03729/input.3.txt b/public_test_cases/p03729/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f16ebe5ad77a0f2a69925ddd545abcdfc573969a
--- /dev/null
+++ b/public_test_cases/p03729/input.3.txt
@@ -0,0 +1 @@
+aaaaaaaaab aaaaaaaaaa aaaaaaaaab
diff --git a/public_test_cases/p03729/input.4.txt b/public_test_cases/p03729/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe76cce66949b394c0ec34338bd4f93383ad64e4
--- /dev/null
+++ b/public_test_cases/p03729/input.4.txt
@@ -0,0 +1 @@
+yakiniku unagi sushi
diff --git a/public_test_cases/p03729/output.0.txt b/public_test_cases/p03729/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03729/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03729/output.1.txt b/public_test_cases/p03729/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03729/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03729/output.2.txt b/public_test_cases/p03729/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03729/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03729/output.3.txt b/public_test_cases/p03729/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03729/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03729/output.4.txt b/public_test_cases/p03729/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03729/output.4.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03730/input.0.txt b/public_test_cases/p03730/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..241c6876cf2bdecaea2fb551186de4b29e68164a
--- /dev/null
+++ b/public_test_cases/p03730/input.0.txt
@@ -0,0 +1 @@
+7 5 1
diff --git a/public_test_cases/p03730/input.1.txt b/public_test_cases/p03730/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..241c6876cf2bdecaea2fb551186de4b29e68164a
--- /dev/null
+++ b/public_test_cases/p03730/input.1.txt
@@ -0,0 +1 @@
+7 5 1
diff --git a/public_test_cases/p03730/input.2.txt b/public_test_cases/p03730/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac06d91d8aecaaf1ed168da3b63333dfc2e26e6d
--- /dev/null
+++ b/public_test_cases/p03730/input.2.txt
@@ -0,0 +1 @@
+2 2 1
diff --git a/public_test_cases/p03730/input.3.txt b/public_test_cases/p03730/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f42daf402344e2b963a64fec7b7dee0a0a42b26
--- /dev/null
+++ b/public_test_cases/p03730/input.3.txt
@@ -0,0 +1 @@
+77 42 36
diff --git a/public_test_cases/p03730/input.4.txt b/public_test_cases/p03730/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04951d81cf91981fc9ad32a70a113bebe64fae85
--- /dev/null
+++ b/public_test_cases/p03730/input.4.txt
@@ -0,0 +1 @@
+40 98 58
diff --git a/public_test_cases/p03730/input.5.txt b/public_test_cases/p03730/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f57324a533e5bf64320cddec9709ffc77a62bff5
--- /dev/null
+++ b/public_test_cases/p03730/input.5.txt
@@ -0,0 +1 @@
+1 100 97
diff --git a/public_test_cases/p03730/output.0.txt b/public_test_cases/p03730/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03730/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03730/output.1.txt b/public_test_cases/p03730/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03730/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03730/output.2.txt b/public_test_cases/p03730/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03730/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03730/output.3.txt b/public_test_cases/p03730/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03730/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03730/output.4.txt b/public_test_cases/p03730/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03730/output.4.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03730/output.5.txt b/public_test_cases/p03730/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03730/output.5.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03731/input.0.txt b/public_test_cases/p03731/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e828bdbc9d3fad86abe19a2e4c2f80164947a462
--- /dev/null
+++ b/public_test_cases/p03731/input.0.txt
@@ -0,0 +1,2 @@
+2 4
+0 3
diff --git a/public_test_cases/p03731/output.0.txt b/public_test_cases/p03731/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03731/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03732/input.0.txt b/public_test_cases/p03732/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fdb127b63a113e6a518ddf21cb9692ef22e6cb1
--- /dev/null
+++ b/public_test_cases/p03732/input.0.txt
@@ -0,0 +1,5 @@
+4 6
+2 1
+3 4
+4 10
+3 4
diff --git a/public_test_cases/p03732/output.0.txt b/public_test_cases/p03732/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03732/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03733/input.0.txt b/public_test_cases/p03733/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e828bdbc9d3fad86abe19a2e4c2f80164947a462
--- /dev/null
+++ b/public_test_cases/p03733/input.0.txt
@@ -0,0 +1,2 @@
+2 4
+0 3
diff --git a/public_test_cases/p03733/input.1.txt b/public_test_cases/p03733/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d5a87e1986270412d7ef5fc943b27b914aeebb1
--- /dev/null
+++ b/public_test_cases/p03733/input.1.txt
@@ -0,0 +1,2 @@
+9 10
+0 3 5 7 100 110 200 300 311
diff --git a/public_test_cases/p03733/input.2.txt b/public_test_cases/p03733/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e828bdbc9d3fad86abe19a2e4c2f80164947a462
--- /dev/null
+++ b/public_test_cases/p03733/input.2.txt
@@ -0,0 +1,2 @@
+2 4
+0 3
diff --git a/public_test_cases/p03733/input.3.txt b/public_test_cases/p03733/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b774dab2b2a8a99b5977390fb9d06e6fcaae52e
--- /dev/null
+++ b/public_test_cases/p03733/input.3.txt
@@ -0,0 +1,2 @@
+1 1
+0
diff --git a/public_test_cases/p03733/input.4.txt b/public_test_cases/p03733/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..057ae1144ea22b0b4a1ff60817c99123d1fe8bf3
--- /dev/null
+++ b/public_test_cases/p03733/input.4.txt
@@ -0,0 +1,2 @@
+2 4
+0 5
diff --git a/public_test_cases/p03733/input.5.txt b/public_test_cases/p03733/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dec7b0b182ddf77ac579453a813d29652c50a3ef
--- /dev/null
+++ b/public_test_cases/p03733/input.5.txt
@@ -0,0 +1,2 @@
+4 1000000000
+0 1000 1000000 1000000000
diff --git a/public_test_cases/p03733/output.0.txt b/public_test_cases/p03733/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03733/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03733/output.1.txt b/public_test_cases/p03733/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fdcd7c44cb1791f45e7386a8f230e018fd7e052
--- /dev/null
+++ b/public_test_cases/p03733/output.1.txt
@@ -0,0 +1 @@
+67
diff --git a/public_test_cases/p03733/output.2.txt b/public_test_cases/p03733/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03733/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03733/output.3.txt b/public_test_cases/p03733/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03733/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03733/output.4.txt b/public_test_cases/p03733/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03733/output.4.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03733/output.5.txt b/public_test_cases/p03733/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04b2646e30b0383d7bab169b05c1edc80feed7b0
--- /dev/null
+++ b/public_test_cases/p03733/output.5.txt
@@ -0,0 +1 @@
+2000000000
diff --git a/public_test_cases/p03734/input.0.txt b/public_test_cases/p03734/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fdb127b63a113e6a518ddf21cb9692ef22e6cb1
--- /dev/null
+++ b/public_test_cases/p03734/input.0.txt
@@ -0,0 +1,5 @@
+4 6
+2 1
+3 4
+4 10
+3 4
diff --git a/public_test_cases/p03734/input.1.txt b/public_test_cases/p03734/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f37330f505b890ea485b82311610d4b8034393c
--- /dev/null
+++ b/public_test_cases/p03734/input.1.txt
@@ -0,0 +1,5 @@
+4 10
+1 100
+1 100
+1 100
+1 100
diff --git a/public_test_cases/p03734/input.2.txt b/public_test_cases/p03734/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c9bb63575edc5f3505ac36ba322a96f80fb110c
--- /dev/null
+++ b/public_test_cases/p03734/input.2.txt
@@ -0,0 +1,5 @@
+4 1
+10 100
+10 100
+10 100
+10 100
diff --git a/public_test_cases/p03734/input.3.txt b/public_test_cases/p03734/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d24bc8459b5075bcc9e2915ad6e690e858a44c1
--- /dev/null
+++ b/public_test_cases/p03734/input.3.txt
@@ -0,0 +1,5 @@
+4 6
+2 1
+3 7
+4 10
+3 6
diff --git a/public_test_cases/p03734/input.4.txt b/public_test_cases/p03734/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5fdb127b63a113e6a518ddf21cb9692ef22e6cb1
--- /dev/null
+++ b/public_test_cases/p03734/input.4.txt
@@ -0,0 +1,5 @@
+4 6
+2 1
+3 4
+4 10
+3 4
diff --git a/public_test_cases/p03734/output.0.txt b/public_test_cases/p03734/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03734/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03734/output.1.txt b/public_test_cases/p03734/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d411bb7c1acabe5edc652eb910b74ab77be9dd3d
--- /dev/null
+++ b/public_test_cases/p03734/output.1.txt
@@ -0,0 +1 @@
+400
diff --git a/public_test_cases/p03734/output.2.txt b/public_test_cases/p03734/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03734/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03734/output.3.txt b/public_test_cases/p03734/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03734/output.3.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03734/output.4.txt b/public_test_cases/p03734/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03734/output.4.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03735/input.0.txt b/public_test_cases/p03735/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf3de8936aec141cfc3745bbff8bf1b8ea264439
--- /dev/null
+++ b/public_test_cases/p03735/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2
+3 4
+5 6
diff --git a/public_test_cases/p03735/input.1.txt b/public_test_cases/p03735/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7f0c4d450c561840fe987127609c8c2f9459deb
--- /dev/null
+++ b/public_test_cases/p03735/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 1
+1000000000 1000000000
diff --git a/public_test_cases/p03735/input.2.txt b/public_test_cases/p03735/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf3de8936aec141cfc3745bbff8bf1b8ea264439
--- /dev/null
+++ b/public_test_cases/p03735/input.2.txt
@@ -0,0 +1,4 @@
+3
+1 2
+3 4
+5 6
diff --git a/public_test_cases/p03735/input.3.txt b/public_test_cases/p03735/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1011aefcf34dde2c544c6368efe83c16bd48dad
--- /dev/null
+++ b/public_test_cases/p03735/input.3.txt
@@ -0,0 +1,4 @@
+3
+1010 10
+1000 1
+20 1020
diff --git a/public_test_cases/p03735/output.0.txt b/public_test_cases/p03735/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03735/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03735/output.1.txt b/public_test_cases/p03735/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a8453ca30824c67c9a58fe61aa64b2da4868c29
--- /dev/null
+++ b/public_test_cases/p03735/output.1.txt
@@ -0,0 +1 @@
+999999998000000001
diff --git a/public_test_cases/p03735/output.2.txt b/public_test_cases/p03735/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03735/output.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03735/output.3.txt b/public_test_cases/p03735/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c2f53117572c977e17d57f8ca4570b144fafef06
--- /dev/null
+++ b/public_test_cases/p03735/output.3.txt
@@ -0,0 +1 @@
+380
diff --git a/public_test_cases/p03736/input.0.txt b/public_test_cases/p03736/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..329af0b0aac58c113202a313a5c4006d1ca3b312
--- /dev/null
+++ b/public_test_cases/p03736/input.0.txt
@@ -0,0 +1,2 @@
+8 3 1 8
+3 5 1
diff --git a/public_test_cases/p03736/input.1.txt b/public_test_cases/p03736/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..329af0b0aac58c113202a313a5c4006d1ca3b312
--- /dev/null
+++ b/public_test_cases/p03736/input.1.txt
@@ -0,0 +1,2 @@
+8 3 1 8
+3 5 1
diff --git a/public_test_cases/p03736/input.2.txt b/public_test_cases/p03736/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1fccdd72f9a449dfa77d7bcfc467b8505aee1fd5
--- /dev/null
+++ b/public_test_cases/p03736/input.2.txt
@@ -0,0 +1,2 @@
+9 2 1 9
+5 9
diff --git a/public_test_cases/p03736/input.3.txt b/public_test_cases/p03736/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04207ed5b41d141027ec1ee55ce5123cac59068b
--- /dev/null
+++ b/public_test_cases/p03736/input.3.txt
@@ -0,0 +1,2 @@
+9 2 1 9
+5 1
diff --git a/public_test_cases/p03736/input.4.txt b/public_test_cases/p03736/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c4413c1a8668c9ef5194bd12cdd8e94485cbc68
--- /dev/null
+++ b/public_test_cases/p03736/input.4.txt
@@ -0,0 +1,2 @@
+11 16 8 1
+1 1 5 1 11 4 5 2 5 3 3 3 5 5 6 7
diff --git a/public_test_cases/p03736/output.0.txt b/public_test_cases/p03736/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03736/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03736/output.1.txt b/public_test_cases/p03736/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03736/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03736/output.2.txt b/public_test_cases/p03736/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03736/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03736/output.3.txt b/public_test_cases/p03736/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03736/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03736/output.4.txt b/public_test_cases/p03736/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03736/output.4.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03737/input.0.txt b/public_test_cases/p03737/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95ded2343e9167a2fd1f9728ed53af9b5b1733fd
--- /dev/null
+++ b/public_test_cases/p03737/input.0.txt
@@ -0,0 +1 @@
+atcoder beginner contest
diff --git a/public_test_cases/p03737/input.1.txt b/public_test_cases/p03737/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46c61765558cc5b3053650b3ca4dd0a1330ba3a2
--- /dev/null
+++ b/public_test_cases/p03737/input.1.txt
@@ -0,0 +1 @@
+resident register number
diff --git a/public_test_cases/p03737/input.2.txt b/public_test_cases/p03737/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ac2dd48b68fca760df1e31f81c8e60b9906d799
--- /dev/null
+++ b/public_test_cases/p03737/input.2.txt
@@ -0,0 +1 @@
+async layered coding
diff --git a/public_test_cases/p03737/input.3.txt b/public_test_cases/p03737/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28cc7a4a93e5dd27bdacc16b61ba2d77c6dbef6d
--- /dev/null
+++ b/public_test_cases/p03737/input.3.txt
@@ -0,0 +1 @@
+k nearest neighbor
diff --git a/public_test_cases/p03737/input.4.txt b/public_test_cases/p03737/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95ded2343e9167a2fd1f9728ed53af9b5b1733fd
--- /dev/null
+++ b/public_test_cases/p03737/input.4.txt
@@ -0,0 +1 @@
+atcoder beginner contest
diff --git a/public_test_cases/p03737/output.0.txt b/public_test_cases/p03737/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03737/output.0.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03737/output.1.txt b/public_test_cases/p03737/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74fcecc52ceb5f73e7ce3bec28841e653267a14c
--- /dev/null
+++ b/public_test_cases/p03737/output.1.txt
@@ -0,0 +1 @@
+RRN
diff --git a/public_test_cases/p03737/output.2.txt b/public_test_cases/p03737/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d33a4436e26c4fe7bbc749aea9d98d8fb695194
--- /dev/null
+++ b/public_test_cases/p03737/output.2.txt
@@ -0,0 +1 @@
+ALC
diff --git a/public_test_cases/p03737/output.3.txt b/public_test_cases/p03737/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8cd5024aae5bb158b281bbe976de5a7bbe841460
--- /dev/null
+++ b/public_test_cases/p03737/output.3.txt
@@ -0,0 +1 @@
+KNN
diff --git a/public_test_cases/p03737/output.4.txt b/public_test_cases/p03737/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03737/output.4.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03738/input.0.txt b/public_test_cases/p03738/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69f2da6c4dd2e0a4bd4cc1ec41d2133cda6d0292
--- /dev/null
+++ b/public_test_cases/p03738/input.0.txt
@@ -0,0 +1,2 @@
+36
+24
diff --git a/public_test_cases/p03738/input.1.txt b/public_test_cases/p03738/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69f2da6c4dd2e0a4bd4cc1ec41d2133cda6d0292
--- /dev/null
+++ b/public_test_cases/p03738/input.1.txt
@@ -0,0 +1,2 @@
+36
+24
diff --git a/public_test_cases/p03738/input.2.txt b/public_test_cases/p03738/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..003e839ef1a68ad233cc50f6a543392e88080b9c
--- /dev/null
+++ b/public_test_cases/p03738/input.2.txt
@@ -0,0 +1,2 @@
+9720246
+22516266
diff --git a/public_test_cases/p03738/input.3.txt b/public_test_cases/p03738/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a072adbde64c1f10c82ceebac7c92667f0421934
--- /dev/null
+++ b/public_test_cases/p03738/input.3.txt
@@ -0,0 +1,2 @@
+123456789012345678901234567890
+234567890123456789012345678901
diff --git a/public_test_cases/p03738/input.4.txt b/public_test_cases/p03738/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc02257141bb209c158cc948e768e4d13202670c
--- /dev/null
+++ b/public_test_cases/p03738/input.4.txt
@@ -0,0 +1,2 @@
+850
+3777
diff --git a/public_test_cases/p03738/output.0.txt b/public_test_cases/p03738/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62da4c4673493da0ae9138ede6769ef72c5f5088
--- /dev/null
+++ b/public_test_cases/p03738/output.0.txt
@@ -0,0 +1 @@
+GREATER
diff --git a/public_test_cases/p03738/output.1.txt b/public_test_cases/p03738/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..62da4c4673493da0ae9138ede6769ef72c5f5088
--- /dev/null
+++ b/public_test_cases/p03738/output.1.txt
@@ -0,0 +1 @@
+GREATER
diff --git a/public_test_cases/p03738/output.2.txt b/public_test_cases/p03738/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71a2337a7b74a7f6c8190ac89b88a5ad2a38abdf
--- /dev/null
+++ b/public_test_cases/p03738/output.2.txt
@@ -0,0 +1 @@
+LESS
diff --git a/public_test_cases/p03738/output.3.txt b/public_test_cases/p03738/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71a2337a7b74a7f6c8190ac89b88a5ad2a38abdf
--- /dev/null
+++ b/public_test_cases/p03738/output.3.txt
@@ -0,0 +1 @@
+LESS
diff --git a/public_test_cases/p03738/output.4.txt b/public_test_cases/p03738/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71a2337a7b74a7f6c8190ac89b88a5ad2a38abdf
--- /dev/null
+++ b/public_test_cases/p03738/output.4.txt
@@ -0,0 +1 @@
+LESS
diff --git a/public_test_cases/p03739/input.0.txt b/public_test_cases/p03739/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0f81bac299ee93b12a0e22d03579e3203f52c3a
--- /dev/null
+++ b/public_test_cases/p03739/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 -3 1 0
diff --git a/public_test_cases/p03739/input.1.txt b/public_test_cases/p03739/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79e083beea4b5ff0f17edfcdeb9facf310fd2cd1
--- /dev/null
+++ b/public_test_cases/p03739/input.1.txt
@@ -0,0 +1,2 @@
+5
+3 -6 4 -5 7
diff --git a/public_test_cases/p03739/input.2.txt b/public_test_cases/p03739/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0f81bac299ee93b12a0e22d03579e3203f52c3a
--- /dev/null
+++ b/public_test_cases/p03739/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 -3 1 0
diff --git a/public_test_cases/p03739/input.3.txt b/public_test_cases/p03739/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72ecc374387df32474282cfb71a2a310a262c527
--- /dev/null
+++ b/public_test_cases/p03739/input.3.txt
@@ -0,0 +1,2 @@
+6
+-1 4 3 2 -5 4
diff --git a/public_test_cases/p03739/output.0.txt b/public_test_cases/p03739/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03739/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03739/output.1.txt b/public_test_cases/p03739/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03739/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03739/output.2.txt b/public_test_cases/p03739/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03739/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03739/output.3.txt b/public_test_cases/p03739/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03739/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03740/input.0.txt b/public_test_cases/p03740/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03740/input.0.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03740/input.1.txt b/public_test_cases/p03740/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b748e2dcfcbc7db3aae214293cef6cb2afbd0a65
--- /dev/null
+++ b/public_test_cases/p03740/input.1.txt
@@ -0,0 +1 @@
+0 0
diff --git a/public_test_cases/p03740/input.2.txt b/public_test_cases/p03740/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e846a7c6282b3642ed86ac23209829f4a4a48586
--- /dev/null
+++ b/public_test_cases/p03740/input.2.txt
@@ -0,0 +1 @@
+5 0
diff --git a/public_test_cases/p03740/input.3.txt b/public_test_cases/p03740/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03740/input.3.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03740/input.4.txt b/public_test_cases/p03740/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dfbee1ba298ba75b0413655c18cbcf5dfc2dbc0
--- /dev/null
+++ b/public_test_cases/p03740/input.4.txt
@@ -0,0 +1 @@
+4 8
diff --git a/public_test_cases/p03740/output.0.txt b/public_test_cases/p03740/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c047400bd768be07b10f47b989ee47bd21acff6
--- /dev/null
+++ b/public_test_cases/p03740/output.0.txt
@@ -0,0 +1 @@
+Brown
diff --git a/public_test_cases/p03740/output.1.txt b/public_test_cases/p03740/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c047400bd768be07b10f47b989ee47bd21acff6
--- /dev/null
+++ b/public_test_cases/p03740/output.1.txt
@@ -0,0 +1 @@
+Brown
diff --git a/public_test_cases/p03740/output.2.txt b/public_test_cases/p03740/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03740/output.2.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03740/output.3.txt b/public_test_cases/p03740/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c047400bd768be07b10f47b989ee47bd21acff6
--- /dev/null
+++ b/public_test_cases/p03740/output.3.txt
@@ -0,0 +1 @@
+Brown
diff --git a/public_test_cases/p03740/output.4.txt b/public_test_cases/p03740/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03740/output.4.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03741/input.0.txt b/public_test_cases/p03741/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0f81bac299ee93b12a0e22d03579e3203f52c3a
--- /dev/null
+++ b/public_test_cases/p03741/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 -3 1 0
diff --git a/public_test_cases/p03741/output.0.txt b/public_test_cases/p03741/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03741/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03742/input.0.txt b/public_test_cases/p03742/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03742/input.0.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03742/output.0.txt b/public_test_cases/p03742/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c047400bd768be07b10f47b989ee47bd21acff6
--- /dev/null
+++ b/public_test_cases/p03742/output.0.txt
@@ -0,0 +1 @@
+Brown
diff --git a/public_test_cases/p03743/input.0.txt b/public_test_cases/p03743/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e69f0f4b05fcae47fdd491694fb8934e08cc530d
--- /dev/null
+++ b/public_test_cases/p03743/input.0.txt
@@ -0,0 +1,4 @@
+4 10
+3 4 3 3
+2
+4 3
diff --git a/public_test_cases/p03743/input.1.txt b/public_test_cases/p03743/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e572a508be66d30f0f364612d8a8df2e57c5dc6
--- /dev/null
+++ b/public_test_cases/p03743/input.1.txt
@@ -0,0 +1,4 @@
+5 9
+4 4 2 3 2
+5
+1 4 2 3 5
diff --git a/public_test_cases/p03743/input.2.txt b/public_test_cases/p03743/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca3bb1ff86bf85c0cd196eb94a2f80b4e3d79ffb
--- /dev/null
+++ b/public_test_cases/p03743/input.2.txt
@@ -0,0 +1,4 @@
+6 15
+4 3 5 4 2 1
+6
+1 2 3 4 5 6
diff --git a/public_test_cases/p03743/input.3.txt b/public_test_cases/p03743/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e69f0f4b05fcae47fdd491694fb8934e08cc530d
--- /dev/null
+++ b/public_test_cases/p03743/input.3.txt
@@ -0,0 +1,4 @@
+4 10
+3 4 3 3
+2
+4 3
diff --git a/public_test_cases/p03743/output.0.txt b/public_test_cases/p03743/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b84a2378d351b0c1b98546d4891b3f0a324df1fb
--- /dev/null
+++ b/public_test_cases/p03743/output.0.txt
@@ -0,0 +1,2 @@
+NO
+YES
diff --git a/public_test_cases/p03743/output.1.txt b/public_test_cases/p03743/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74eacf7ff9ea117139c086368d25b43f9358123d
--- /dev/null
+++ b/public_test_cases/p03743/output.1.txt
@@ -0,0 +1,5 @@
+YES
+YES
+YES
+YES
+YES
diff --git a/public_test_cases/p03743/output.2.txt b/public_test_cases/p03743/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..187ad8af4c3f273d97a2cb63d7639786576795bb
--- /dev/null
+++ b/public_test_cases/p03743/output.2.txt
@@ -0,0 +1,6 @@
+NO
+NO
+YES
+NO
+NO
+YES
diff --git a/public_test_cases/p03743/output.3.txt b/public_test_cases/p03743/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b84a2378d351b0c1b98546d4891b3f0a324df1fb
--- /dev/null
+++ b/public_test_cases/p03743/output.3.txt
@@ -0,0 +1,2 @@
+NO
+YES
diff --git a/public_test_cases/p03744/input.0.txt b/public_test_cases/p03744/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ee1359abf34c1a9416a243fbc541e0c8733eca5
--- /dev/null
+++ b/public_test_cases/p03744/input.0.txt
@@ -0,0 +1,4 @@
+3 10
+10 10
+20 5
+4 3
diff --git a/public_test_cases/p03744/input.1.txt b/public_test_cases/p03744/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81bb6f9e11a938d724bb0ea5660dc89bc9dc9f36
--- /dev/null
+++ b/public_test_cases/p03744/input.1.txt
@@ -0,0 +1,5 @@
+4 15
+1000000000 15
+9 5
+8 6
+7 4
diff --git a/public_test_cases/p03744/input.2.txt b/public_test_cases/p03744/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92a130235c08d972779c476887d892cdc7a87772
--- /dev/null
+++ b/public_test_cases/p03744/input.2.txt
@@ -0,0 +1,5 @@
+4 15
+0 15
+2 5
+3 6
+4 4
diff --git a/public_test_cases/p03744/input.3.txt b/public_test_cases/p03744/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ee1359abf34c1a9416a243fbc541e0c8733eca5
--- /dev/null
+++ b/public_test_cases/p03744/input.3.txt
@@ -0,0 +1,4 @@
+3 10
+10 10
+20 5
+4 3
diff --git a/public_test_cases/p03744/output.0.txt b/public_test_cases/p03744/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28697c1875dde03252855bfefef122150d4b1d88
--- /dev/null
+++ b/public_test_cases/p03744/output.0.txt
@@ -0,0 +1,3 @@
+10.0000000
+15.0000000
+13.2000000
diff --git a/public_test_cases/p03744/output.1.txt b/public_test_cases/p03744/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5393287eaf1a3833f975202752394f5ce5488fdc
--- /dev/null
+++ b/public_test_cases/p03744/output.1.txt
@@ -0,0 +1,4 @@
+1000000000.0000000
+666666669.6666666
+400000005.0000000
+293333338.8666667
diff --git a/public_test_cases/p03744/output.2.txt b/public_test_cases/p03744/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acd5e5465a9ad78d84dce68aca15bc67312a041a
--- /dev/null
+++ b/public_test_cases/p03744/output.2.txt
@@ -0,0 +1,4 @@
+0.0000000
+0.6666667
+1.8666667
+2.9333333
diff --git a/public_test_cases/p03744/output.3.txt b/public_test_cases/p03744/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28697c1875dde03252855bfefef122150d4b1d88
--- /dev/null
+++ b/public_test_cases/p03744/output.3.txt
@@ -0,0 +1,3 @@
+10.0000000
+15.0000000
+13.2000000
diff --git a/public_test_cases/p03745/input.0.txt b/public_test_cases/p03745/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9b36f4a769f3c2eed3885a23cb7558e8e9ab910
--- /dev/null
+++ b/public_test_cases/p03745/input.0.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 2 2 1
diff --git a/public_test_cases/p03745/input.1.txt b/public_test_cases/p03745/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9b36f4a769f3c2eed3885a23cb7558e8e9ab910
--- /dev/null
+++ b/public_test_cases/p03745/input.1.txt
@@ -0,0 +1,2 @@
+6
+1 2 3 2 2 1
diff --git a/public_test_cases/p03745/input.2.txt b/public_test_cases/p03745/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83c1da325adf3eaebb05e3d6a7575b5ed326d1e3
--- /dev/null
+++ b/public_test_cases/p03745/input.2.txt
@@ -0,0 +1,2 @@
+9
+1 2 1 2 1 2 1 2 1
diff --git a/public_test_cases/p03745/input.3.txt b/public_test_cases/p03745/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4e0369d90d8e00f3549d9bb9cb5206f7a7101ab
--- /dev/null
+++ b/public_test_cases/p03745/input.3.txt
@@ -0,0 +1,2 @@
+7
+1 2 3 2 1 999999999 1000000000
diff --git a/public_test_cases/p03745/output.0.txt b/public_test_cases/p03745/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03745/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03745/output.1.txt b/public_test_cases/p03745/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03745/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03745/output.2.txt b/public_test_cases/p03745/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03745/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03745/output.3.txt b/public_test_cases/p03745/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03745/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03746/input.0.txt b/public_test_cases/p03746/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..993abe322648a1c93e25c384415c85ad661dc022
--- /dev/null
+++ b/public_test_cases/p03746/input.0.txt
@@ -0,0 +1,7 @@
+5 6
+1 3
+1 4
+2 3
+1 5
+3 5
+2 4
diff --git a/public_test_cases/p03746/input.1.txt b/public_test_cases/p03746/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..993abe322648a1c93e25c384415c85ad661dc022
--- /dev/null
+++ b/public_test_cases/p03746/input.1.txt
@@ -0,0 +1,7 @@
+5 6
+1 3
+1 4
+2 3
+1 5
+3 5
+2 4
diff --git a/public_test_cases/p03746/input.2.txt b/public_test_cases/p03746/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6130c6999e981533ca0a8cc5ef1f2bacb8d1ebb6
--- /dev/null
+++ b/public_test_cases/p03746/input.2.txt
@@ -0,0 +1,9 @@
+7 8
+1 2
+2 3
+3 4
+4 5
+5 6
+6 7
+3 5
+2 6
diff --git a/public_test_cases/p03746/output.0.txt b/public_test_cases/p03746/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd3e9c88357a718e9f8022965f8f178b05cd2e74
--- /dev/null
+++ b/public_test_cases/p03746/output.0.txt
@@ -0,0 +1,2 @@
+4
+2 3 1 4
diff --git a/public_test_cases/p03746/output.1.txt b/public_test_cases/p03746/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd3e9c88357a718e9f8022965f8f178b05cd2e74
--- /dev/null
+++ b/public_test_cases/p03746/output.1.txt
@@ -0,0 +1,2 @@
+4
+2 3 1 4
diff --git a/public_test_cases/p03746/output.2.txt b/public_test_cases/p03746/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1867bcc2bb2dbdce09956ca9bd917b085cfdda7b
--- /dev/null
+++ b/public_test_cases/p03746/output.2.txt
@@ -0,0 +1,2 @@
+7
+1 2 3 4 5 6 7
diff --git a/public_test_cases/p03747/input.0.txt b/public_test_cases/p03747/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48881c145447f4614aba6da09bf01cda91c8413c
--- /dev/null
+++ b/public_test_cases/p03747/input.0.txt
@@ -0,0 +1,4 @@
+3 8 3
+0 1
+3 2
+6 1
diff --git a/public_test_cases/p03747/input.1.txt b/public_test_cases/p03747/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6a64cd7d1e83d6aa20c125b83e8a2b876604ddf
--- /dev/null
+++ b/public_test_cases/p03747/input.1.txt
@@ -0,0 +1,5 @@
+4 20 9
+7 2
+9 1
+12 1
+18 1
diff --git a/public_test_cases/p03747/input.2.txt b/public_test_cases/p03747/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48881c145447f4614aba6da09bf01cda91c8413c
--- /dev/null
+++ b/public_test_cases/p03747/input.2.txt
@@ -0,0 +1,4 @@
+3 8 3
+0 1
+3 2
+6 1
diff --git a/public_test_cases/p03747/output.0.txt b/public_test_cases/p03747/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..983374adc89a3fac6cbfc4a881eca3083b1063a1
--- /dev/null
+++ b/public_test_cases/p03747/output.0.txt
@@ -0,0 +1,3 @@
+1
+3
+0
diff --git a/public_test_cases/p03747/output.1.txt b/public_test_cases/p03747/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..413c9b935bc0a7582df9f39ec16414f130697331
--- /dev/null
+++ b/public_test_cases/p03747/output.1.txt
@@ -0,0 +1,4 @@
+7
+18
+18
+1
diff --git a/public_test_cases/p03747/output.2.txt b/public_test_cases/p03747/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..983374adc89a3fac6cbfc4a881eca3083b1063a1
--- /dev/null
+++ b/public_test_cases/p03747/output.2.txt
@@ -0,0 +1,3 @@
+1
+3
+0
diff --git a/public_test_cases/p03748/input.0.txt b/public_test_cases/p03748/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03748/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03748/input.1.txt b/public_test_cases/p03748/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aec3d1631b352671316272905257ef83b1db9911
--- /dev/null
+++ b/public_test_cases/p03748/input.1.txt
@@ -0,0 +1 @@
+1000 3000
diff --git a/public_test_cases/p03748/input.2.txt b/public_test_cases/p03748/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..453cb994d01ac18236056aaf7c4b110f88445352
--- /dev/null
+++ b/public_test_cases/p03748/input.2.txt
@@ -0,0 +1 @@
+1000 10
diff --git a/public_test_cases/p03748/input.3.txt b/public_test_cases/p03748/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03748/input.3.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03748/output.0.txt b/public_test_cases/p03748/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b91e0e1f8dddaac700b51aa7a66f29fc135a02
--- /dev/null
+++ b/public_test_cases/p03748/output.0.txt
@@ -0,0 +1 @@
+56
diff --git a/public_test_cases/p03748/output.1.txt b/public_test_cases/p03748/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..754b53abc0f7e2aae86adab676c987c746b324a5
--- /dev/null
+++ b/public_test_cases/p03748/output.1.txt
@@ -0,0 +1 @@
+693347555
diff --git a/public_test_cases/p03748/output.2.txt b/public_test_cases/p03748/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6820bf1779b1e548aa6c6e35afcd092e0e09137a
--- /dev/null
+++ b/public_test_cases/p03748/output.2.txt
@@ -0,0 +1 @@
+1048576
diff --git a/public_test_cases/p03748/output.3.txt b/public_test_cases/p03748/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b91e0e1f8dddaac700b51aa7a66f29fc135a02
--- /dev/null
+++ b/public_test_cases/p03748/output.3.txt
@@ -0,0 +1 @@
+56
diff --git a/public_test_cases/p03749/input.0.txt b/public_test_cases/p03749/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e7c097aa3efddc15f7118eafbea4952255140f
--- /dev/null
+++ b/public_test_cases/p03749/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+2
diff --git a/public_test_cases/p03749/input.1.txt b/public_test_cases/p03749/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98b559c7fe1805d51d977a34f10bb2698d72c5b9
--- /dev/null
+++ b/public_test_cases/p03749/input.1.txt
@@ -0,0 +1 @@
+1000000000 0
diff --git a/public_test_cases/p03749/input.2.txt b/public_test_cases/p03749/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a5c11097e3509876aa693156964af8163f4ab8b
--- /dev/null
+++ b/public_test_cases/p03749/input.2.txt
@@ -0,0 +1,2 @@
+10 9
+1 2 3 4 5 6 7 8 9
diff --git a/public_test_cases/p03749/input.3.txt b/public_test_cases/p03749/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b4a8ec64d0e0b87d122c0253bf629f19793c087
--- /dev/null
+++ b/public_test_cases/p03749/input.3.txt
@@ -0,0 +1,2 @@
+5 2
+2 3
diff --git a/public_test_cases/p03749/input.4.txt b/public_test_cases/p03749/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e7c097aa3efddc15f7118eafbea4952255140f
--- /dev/null
+++ b/public_test_cases/p03749/input.4.txt
@@ -0,0 +1,2 @@
+3 1
+2
diff --git a/public_test_cases/p03749/output.0.txt b/public_test_cases/p03749/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03749/output.0.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03749/output.1.txt b/public_test_cases/p03749/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29cf824614bac19b4bd6ee1a0b473c97dcd0d65a
--- /dev/null
+++ b/public_test_cases/p03749/output.1.txt
@@ -0,0 +1 @@
+693316425
diff --git a/public_test_cases/p03749/output.2.txt b/public_test_cases/p03749/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p03749/output.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p03749/output.3.txt b/public_test_cases/p03749/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69a893aa31141827125ddaaee26966b7aed3de74
--- /dev/null
+++ b/public_test_cases/p03749/output.3.txt
@@ -0,0 +1 @@
+66
diff --git a/public_test_cases/p03749/output.4.txt b/public_test_cases/p03749/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03749/output.4.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03750/input.0.txt b/public_test_cases/p03750/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d0f8b175277e4033dcb3ab4b804a040571fdd61
--- /dev/null
+++ b/public_test_cases/p03750/input.0.txt
@@ -0,0 +1,9 @@
+3
+4 1
+5 3
+3 1
+1 2 3 4
+3
+5 4
+4 3
+2 3
diff --git a/public_test_cases/p03750/input.1.txt b/public_test_cases/p03750/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a76bfae09e3940ea16c7ea00fb37eb6c124d827f
--- /dev/null
+++ b/public_test_cases/p03750/input.1.txt
@@ -0,0 +1,15 @@
+5
+7 1
+9 7
+13 13
+11 8
+12 9
+16 7 8 6 9 11
+7
+6 11
+7 10
+9 3
+12 9
+18 16
+8 9
+10 15
diff --git a/public_test_cases/p03750/input.2.txt b/public_test_cases/p03750/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86bcdfcdaf30b882dd0c405ce30fa32d2b5c3178
--- /dev/null
+++ b/public_test_cases/p03750/input.2.txt
@@ -0,0 +1,23 @@
+9
+89 67
+37 14
+6 1
+42 25
+61 22
+23 1
+63 60
+93 62
+14 2
+67 96 26 17 1 62 56 92 13 38
+11
+93 97
+17 93
+61 57
+88 62
+98 29
+49 1
+5 1
+1 77
+34 1
+63 27
+22 66
diff --git a/public_test_cases/p03750/input.3.txt b/public_test_cases/p03750/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d0f8b175277e4033dcb3ab4b804a040571fdd61
--- /dev/null
+++ b/public_test_cases/p03750/input.3.txt
@@ -0,0 +1,9 @@
+3
+4 1
+5 3
+3 1
+1 2 3 4
+3
+5 4
+4 3
+2 3
diff --git a/public_test_cases/p03750/output.0.txt b/public_test_cases/p03750/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4539bbf2d22d5c3b4227859ff854eda060a687fb
--- /dev/null
+++ b/public_test_cases/p03750/output.0.txt
@@ -0,0 +1,3 @@
+0
+1
+2
diff --git a/public_test_cases/p03750/output.1.txt b/public_test_cases/p03750/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d3b5c1ce5914d2a2cef9a53756ecb4a2ef0f96af
--- /dev/null
+++ b/public_test_cases/p03750/output.1.txt
@@ -0,0 +1,7 @@
+4
+3
+3
+1
+-1
+3
+2
diff --git a/public_test_cases/p03750/output.2.txt b/public_test_cases/p03750/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f2b4842ec35995b329346db35808a7c40e9a3393
--- /dev/null
+++ b/public_test_cases/p03750/output.2.txt
@@ -0,0 +1,11 @@
+7
+9
+8
+7
+7
+9
+9
+10
+9
+7
+9
diff --git a/public_test_cases/p03750/output.3.txt b/public_test_cases/p03750/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4539bbf2d22d5c3b4227859ff854eda060a687fb
--- /dev/null
+++ b/public_test_cases/p03750/output.3.txt
@@ -0,0 +1,3 @@
+0
+1
+2
diff --git a/public_test_cases/p03751/input.0.txt b/public_test_cases/p03751/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5527f287d06fad3cd6519f78baeae0b378478af2
--- /dev/null
+++ b/public_test_cases/p03751/input.0.txt
@@ -0,0 +1,4 @@
+2
+tourist
+petr
+e
diff --git a/public_test_cases/p03751/input.1.txt b/public_test_cases/p03751/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5527f287d06fad3cd6519f78baeae0b378478af2
--- /dev/null
+++ b/public_test_cases/p03751/input.1.txt
@@ -0,0 +1,4 @@
+2
+tourist
+petr
+e
diff --git a/public_test_cases/p03751/output.0.txt b/public_test_cases/p03751/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03751/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03751/output.1.txt b/public_test_cases/p03751/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03751/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03752/input.0.txt b/public_test_cases/p03752/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c178895950f41cbb64b8e4846cbef7534ee437e
--- /dev/null
+++ b/public_test_cases/p03752/input.0.txt
@@ -0,0 +1,2 @@
+5 5
+3949 3774 3598 3469 3424
diff --git a/public_test_cases/p03752/input.1.txt b/public_test_cases/p03752/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c178895950f41cbb64b8e4846cbef7534ee437e
--- /dev/null
+++ b/public_test_cases/p03752/input.1.txt
@@ -0,0 +1,2 @@
+5 5
+3949 3774 3598 3469 3424
diff --git a/public_test_cases/p03752/output.0.txt b/public_test_cases/p03752/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27600766db2b79929d5ce1d0d0303fca20197f36
--- /dev/null
+++ b/public_test_cases/p03752/output.0.txt
@@ -0,0 +1 @@
+1541
diff --git a/public_test_cases/p03752/output.1.txt b/public_test_cases/p03752/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27600766db2b79929d5ce1d0d0303fca20197f36
--- /dev/null
+++ b/public_test_cases/p03752/output.1.txt
@@ -0,0 +1 @@
+1541
diff --git a/public_test_cases/p03753/input.0.txt b/public_test_cases/p03753/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ab59c7608953d385cfbf47f3dc95216974589f7
--- /dev/null
+++ b/public_test_cases/p03753/input.0.txt
@@ -0,0 +1,2 @@
+7 7 3
+1 3 5
diff --git a/public_test_cases/p03753/input.1.txt b/public_test_cases/p03753/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24df371ba1939057559695a3d11a23370d6b5132
--- /dev/null
+++ b/public_test_cases/p03753/input.1.txt
@@ -0,0 +1,2 @@
+10 14 8
+5 6 7 8 9 10 11 12
diff --git a/public_test_cases/p03753/input.2.txt b/public_test_cases/p03753/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ab59c7608953d385cfbf47f3dc95216974589f7
--- /dev/null
+++ b/public_test_cases/p03753/input.2.txt
@@ -0,0 +1,2 @@
+7 7 3
+1 3 5
diff --git a/public_test_cases/p03753/output.0.txt b/public_test_cases/p03753/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03753/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03753/output.1.txt b/public_test_cases/p03753/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03753/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03753/output.2.txt b/public_test_cases/p03753/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03753/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03754/input.0.txt b/public_test_cases/p03754/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..913dc828930ae6560976a61bff74724593bfba79
--- /dev/null
+++ b/public_test_cases/p03754/input.0.txt
@@ -0,0 +1,4 @@
+4
+1 2
+2 3
+2 4
diff --git a/public_test_cases/p03754/output.0.txt b/public_test_cases/p03754/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3c2b005c10d03d5201b1384bd37c07d4d73d202
--- /dev/null
+++ b/public_test_cases/p03754/output.0.txt
@@ -0,0 +1,4 @@
+2.0
+1.0
+2.0
+2.0
diff --git a/public_test_cases/p03755/input.0.txt b/public_test_cases/p03755/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7672e0e77ff51c1b0e5a552df9ccdd5912f8abb8
--- /dev/null
+++ b/public_test_cases/p03755/input.0.txt
@@ -0,0 +1,2 @@
+7 2 3
+0 7
diff --git a/public_test_cases/p03755/output.0.txt b/public_test_cases/p03755/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3f407c0955bb5738e40a82664c79b63f04a9adb
--- /dev/null
+++ b/public_test_cases/p03755/output.0.txt
@@ -0,0 +1 @@
+55
diff --git a/public_test_cases/p03756/input.0.txt b/public_test_cases/p03756/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d924da28f6e6abe8850c4c5c5988f78ba26d60d
--- /dev/null
+++ b/public_test_cases/p03756/input.0.txt
@@ -0,0 +1,4 @@
+4 4 2 2
+1 1 2 2
+1 1 E 1 1
+1 2 E 2 2
diff --git a/public_test_cases/p03756/output.0.txt b/public_test_cases/p03756/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03756/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03757/input.0.txt b/public_test_cases/p03757/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..297a66675f30d49885f2feeda62fda465b02013d
--- /dev/null
+++ b/public_test_cases/p03757/input.0.txt
@@ -0,0 +1,14 @@
+6 7
+-1 6
+0 5
+0 4
+2 3
+2 2
+1 1
+2 0 1
+1 0 2 1
+2 2 1
+3 3 3
+2 0 3
+3 3 4
+2 1 1
diff --git a/public_test_cases/p03757/input.1.txt b/public_test_cases/p03757/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..297a66675f30d49885f2feeda62fda465b02013d
--- /dev/null
+++ b/public_test_cases/p03757/input.1.txt
@@ -0,0 +1,14 @@
+6 7
+-1 6
+0 5
+0 4
+2 3
+2 2
+1 1
+2 0 1
+1 0 2 1
+2 2 1
+3 3 3
+2 0 3
+3 3 4
+2 1 1
diff --git a/public_test_cases/p03757/output.0.txt b/public_test_cases/p03757/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3731fdcb849e90d7519f05584bc14781cf07a304
--- /dev/null
+++ b/public_test_cases/p03757/output.0.txt
@@ -0,0 +1,4 @@
+15
+12
+30
+8
diff --git a/public_test_cases/p03757/output.1.txt b/public_test_cases/p03757/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3731fdcb849e90d7519f05584bc14781cf07a304
--- /dev/null
+++ b/public_test_cases/p03757/output.1.txt
@@ -0,0 +1,4 @@
+15
+12
+30
+8
diff --git a/public_test_cases/p03759/input.0.txt b/public_test_cases/p03759/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c94bb7149267de1604826623ceb14500c7acfb23
--- /dev/null
+++ b/public_test_cases/p03759/input.0.txt
@@ -0,0 +1 @@
+2 4 6
diff --git a/public_test_cases/p03759/input.1.txt b/public_test_cases/p03759/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d9df412c4a61a869745a305412e5bc089a469ef
--- /dev/null
+++ b/public_test_cases/p03759/input.1.txt
@@ -0,0 +1 @@
+2 5 6
diff --git a/public_test_cases/p03759/input.2.txt b/public_test_cases/p03759/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d03090e700f3bac824c9d4299ee554a97e685319
--- /dev/null
+++ b/public_test_cases/p03759/input.2.txt
@@ -0,0 +1 @@
+3 2 1
diff --git a/public_test_cases/p03759/input.3.txt b/public_test_cases/p03759/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c94bb7149267de1604826623ceb14500c7acfb23
--- /dev/null
+++ b/public_test_cases/p03759/input.3.txt
@@ -0,0 +1 @@
+2 4 6
diff --git a/public_test_cases/p03759/output.0.txt b/public_test_cases/p03759/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03759/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03759/output.1.txt b/public_test_cases/p03759/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03759/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03759/output.2.txt b/public_test_cases/p03759/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03759/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03759/output.3.txt b/public_test_cases/p03759/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03759/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03760/input.0.txt b/public_test_cases/p03760/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc404011c75d8d2ca96a18d6c290a701cd9cce0b
--- /dev/null
+++ b/public_test_cases/p03760/input.0.txt
@@ -0,0 +1,2 @@
+xyz
+abc
diff --git a/public_test_cases/p03760/input.1.txt b/public_test_cases/p03760/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81e5403aee910da71c585c931e116b6a7472b468
--- /dev/null
+++ b/public_test_cases/p03760/input.1.txt
@@ -0,0 +1,2 @@
+atcoderbeginnercontest
+atcoderregularcontest
diff --git a/public_test_cases/p03760/input.2.txt b/public_test_cases/p03760/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc404011c75d8d2ca96a18d6c290a701cd9cce0b
--- /dev/null
+++ b/public_test_cases/p03760/input.2.txt
@@ -0,0 +1,2 @@
+xyz
+abc
diff --git a/public_test_cases/p03760/output.0.txt b/public_test_cases/p03760/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caba0fa8cf7707a456e897a5474ce4ae7e77630c
--- /dev/null
+++ b/public_test_cases/p03760/output.0.txt
@@ -0,0 +1 @@
+xaybzc
diff --git a/public_test_cases/p03760/output.1.txt b/public_test_cases/p03760/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..41d5905be67e3ab91e31eddecf620db724b18ba4
--- /dev/null
+++ b/public_test_cases/p03760/output.1.txt
@@ -0,0 +1 @@
+aattccooddeerrbreeggiunlnaerrccoonntteesstt
diff --git a/public_test_cases/p03760/output.2.txt b/public_test_cases/p03760/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caba0fa8cf7707a456e897a5474ce4ae7e77630c
--- /dev/null
+++ b/public_test_cases/p03760/output.2.txt
@@ -0,0 +1 @@
+xaybzc
diff --git a/public_test_cases/p03761/input.0.txt b/public_test_cases/p03761/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d05cb41794fc3fa557f0a53c150590eedf40a82
--- /dev/null
+++ b/public_test_cases/p03761/input.0.txt
@@ -0,0 +1,4 @@
+3
+cbaa
+daacc
+acacac
diff --git a/public_test_cases/p03761/input.1.txt b/public_test_cases/p03761/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d05cb41794fc3fa557f0a53c150590eedf40a82
--- /dev/null
+++ b/public_test_cases/p03761/input.1.txt
@@ -0,0 +1,4 @@
+3
+cbaa
+daacc
+acacac
diff --git a/public_test_cases/p03761/input.2.txt b/public_test_cases/p03761/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e4d48b26b9b387f5f111bc4437629d5e618a4b9
--- /dev/null
+++ b/public_test_cases/p03761/input.2.txt
@@ -0,0 +1,4 @@
+3
+a
+aa
+b
diff --git a/public_test_cases/p03761/output.0.txt b/public_test_cases/p03761/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbfd75b4a5b0175f4f2561863391c3bd47c53101
--- /dev/null
+++ b/public_test_cases/p03761/output.0.txt
@@ -0,0 +1 @@
+aac
diff --git a/public_test_cases/p03761/output.1.txt b/public_test_cases/p03761/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbfd75b4a5b0175f4f2561863391c3bd47c53101
--- /dev/null
+++ b/public_test_cases/p03761/output.1.txt
@@ -0,0 +1 @@
+aac
diff --git a/public_test_cases/p03761/output.2.txt b/public_test_cases/p03761/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p03761/output.2.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p03762/input.0.txt b/public_test_cases/p03762/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc0b99d65a95e854cdcd6232e87d6b163b7eca2a
--- /dev/null
+++ b/public_test_cases/p03762/input.0.txt
@@ -0,0 +1,3 @@
+3 3
+1 3 4
+1 3 6
diff --git a/public_test_cases/p03762/input.1.txt b/public_test_cases/p03762/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc0b99d65a95e854cdcd6232e87d6b163b7eca2a
--- /dev/null
+++ b/public_test_cases/p03762/input.1.txt
@@ -0,0 +1,3 @@
+3 3
+1 3 4
+1 3 6
diff --git a/public_test_cases/p03762/input.2.txt b/public_test_cases/p03762/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8c39cae32af401661bc14b1f96e49c7153a5929
--- /dev/null
+++ b/public_test_cases/p03762/input.2.txt
@@ -0,0 +1,3 @@
+6 5
+-790013317 -192321079 95834122 418379342 586260100 802780784
+-253230108 193944314 363756450 712662868 735867677
diff --git a/public_test_cases/p03762/output.0.txt b/public_test_cases/p03762/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03762/output.0.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03762/output.1.txt b/public_test_cases/p03762/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03762/output.1.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03762/output.2.txt b/public_test_cases/p03762/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1501f739081d5afcb06e879d73f0561bcd1328a
--- /dev/null
+++ b/public_test_cases/p03762/output.2.txt
@@ -0,0 +1 @@
+835067060
diff --git a/public_test_cases/p03763/input.0.txt b/public_test_cases/p03763/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d05cb41794fc3fa557f0a53c150590eedf40a82
--- /dev/null
+++ b/public_test_cases/p03763/input.0.txt
@@ -0,0 +1,4 @@
+3
+cbaa
+daacc
+acacac
diff --git a/public_test_cases/p03763/output.0.txt b/public_test_cases/p03763/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbfd75b4a5b0175f4f2561863391c3bd47c53101
--- /dev/null
+++ b/public_test_cases/p03763/output.0.txt
@@ -0,0 +1 @@
+aac
diff --git a/public_test_cases/p03764/input.0.txt b/public_test_cases/p03764/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc0b99d65a95e854cdcd6232e87d6b163b7eca2a
--- /dev/null
+++ b/public_test_cases/p03764/input.0.txt
@@ -0,0 +1,3 @@
+3 3
+1 3 4
+1 3 6
diff --git a/public_test_cases/p03764/output.0.txt b/public_test_cases/p03764/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03764/output.0.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03765/input.0.txt b/public_test_cases/p03765/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e8ff1bfd47605bef2e956cc4cba6a59399ff275
--- /dev/null
+++ b/public_test_cases/p03765/input.0.txt
@@ -0,0 +1,7 @@
+BBBAAAABA
+BBBBA
+4
+7 9 2 5
+7 9 1 4
+1 7 2 5
+1 7 2 4
diff --git a/public_test_cases/p03765/input.1.txt b/public_test_cases/p03765/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e77d91d55ee5f8114f49fbfbbe3b362c225e66b
--- /dev/null
+++ b/public_test_cases/p03765/input.1.txt
@@ -0,0 +1,13 @@
+AAAAABBBBAAABBBBAAAA
+BBBBAAABBBBBBAAAAABB
+10
+2 15 2 13
+2 13 6 16
+1 13 2 20
+4 20 3 20
+1 18 9 19
+2 14 1 11
+3 20 3 15
+6 16 1 17
+4 18 8 20
+7 20 3 14
diff --git a/public_test_cases/p03765/input.2.txt b/public_test_cases/p03765/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e8ff1bfd47605bef2e956cc4cba6a59399ff275
--- /dev/null
+++ b/public_test_cases/p03765/input.2.txt
@@ -0,0 +1,7 @@
+BBBAAAABA
+BBBBA
+4
+7 9 2 5
+7 9 1 4
+1 7 2 5
+1 7 2 4
diff --git a/public_test_cases/p03765/output.0.txt b/public_test_cases/p03765/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bc77997d5fbb268f458f0a0d0c4e16bd5a6a25e
--- /dev/null
+++ b/public_test_cases/p03765/output.0.txt
@@ -0,0 +1,4 @@
+YES
+NO
+YES
+NO
diff --git a/public_test_cases/p03765/output.1.txt b/public_test_cases/p03765/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6371ca733f2bd6d56ef751468d1b2aeed7970f93
--- /dev/null
+++ b/public_test_cases/p03765/output.1.txt
@@ -0,0 +1,10 @@
+YES
+YES
+YES
+YES
+YES
+YES
+NO
+NO
+NO
+NO
diff --git a/public_test_cases/p03765/output.2.txt b/public_test_cases/p03765/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bc77997d5fbb268f458f0a0d0c4e16bd5a6a25e
--- /dev/null
+++ b/public_test_cases/p03765/output.2.txt
@@ -0,0 +1,4 @@
+YES
+NO
+YES
+NO
diff --git a/public_test_cases/p03766/input.0.txt b/public_test_cases/p03766/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03766/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03766/input.1.txt b/public_test_cases/p03766/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f9e30b6a9aeb8aa0ed59183fa86751d026af4d0
--- /dev/null
+++ b/public_test_cases/p03766/input.1.txt
@@ -0,0 +1 @@
+654321
diff --git a/public_test_cases/p03766/input.2.txt b/public_test_cases/p03766/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03766/input.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03766/output.0.txt b/public_test_cases/p03766/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03766/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03766/output.1.txt b/public_test_cases/p03766/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..486f2c7634b655411a6dbf650a96ed13432f798f
--- /dev/null
+++ b/public_test_cases/p03766/output.1.txt
@@ -0,0 +1 @@
+968545283
diff --git a/public_test_cases/p03766/output.2.txt b/public_test_cases/p03766/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03766/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03767/input.0.txt b/public_test_cases/p03767/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af50bdad870153a116cd1e0b2d1723d623a3b2cc
--- /dev/null
+++ b/public_test_cases/p03767/input.0.txt
@@ -0,0 +1,2 @@
+2
+5 2 8 5 1 5
diff --git a/public_test_cases/p03767/input.1.txt b/public_test_cases/p03767/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af50bdad870153a116cd1e0b2d1723d623a3b2cc
--- /dev/null
+++ b/public_test_cases/p03767/input.1.txt
@@ -0,0 +1,2 @@
+2
+5 2 8 5 1 5
diff --git a/public_test_cases/p03767/input.2.txt b/public_test_cases/p03767/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47fe052f408a201640fa6ace2799acfc59fd5ef7
--- /dev/null
+++ b/public_test_cases/p03767/input.2.txt
@@ -0,0 +1,2 @@
+10
+1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000
diff --git a/public_test_cases/p03767/output.0.txt b/public_test_cases/p03767/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03767/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03767/output.1.txt b/public_test_cases/p03767/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03767/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03767/output.2.txt b/public_test_cases/p03767/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa70b89f2419392b9755e77e59b6b93b424cca9a
--- /dev/null
+++ b/public_test_cases/p03767/output.2.txt
@@ -0,0 +1 @@
+10000000000
diff --git a/public_test_cases/p03768/input.0.txt b/public_test_cases/p03768/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20a5ccc215d2783da5564ba65b5be522a188c94d
--- /dev/null
+++ b/public_test_cases/p03768/input.0.txt
@@ -0,0 +1,11 @@
+7 7
+1 2
+1 3
+1 4
+4 5
+5 6
+5 7
+2 3
+2
+6 1 1
+1 2 2
diff --git a/public_test_cases/p03768/input.1.txt b/public_test_cases/p03768/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58c9d1fed9c8be84ac01c60dba13fd3bcc253fce
--- /dev/null
+++ b/public_test_cases/p03768/input.1.txt
@@ -0,0 +1,20 @@
+14 10
+1 4
+5 7
+7 11
+4 10
+14 7
+14 3
+6 14
+8 11
+5 13
+8 3
+8
+8 6 2
+9 7 85
+6 9 3
+6 7 5
+10 3 1
+12 9 4
+9 6 6
+8 2 3
diff --git a/public_test_cases/p03768/input.2.txt b/public_test_cases/p03768/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20a5ccc215d2783da5564ba65b5be522a188c94d
--- /dev/null
+++ b/public_test_cases/p03768/input.2.txt
@@ -0,0 +1,11 @@
+7 7
+1 2
+1 3
+1 4
+4 5
+5 6
+5 7
+2 3
+2
+6 1 1
+1 2 2
diff --git a/public_test_cases/p03768/output.0.txt b/public_test_cases/p03768/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d77f91e4274307bde71d099f425fee453ff857e
--- /dev/null
+++ b/public_test_cases/p03768/output.0.txt
@@ -0,0 +1,7 @@
+2
+2
+2
+2
+2
+1
+0
diff --git a/public_test_cases/p03768/output.1.txt b/public_test_cases/p03768/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..87e4b8e1ac88f7edb1681f326684f16a44affd6c
--- /dev/null
+++ b/public_test_cases/p03768/output.1.txt
@@ -0,0 +1,14 @@
+1
+0
+3
+1
+5
+5
+3
+3
+6
+1
+3
+4
+5
+3
diff --git a/public_test_cases/p03768/output.2.txt b/public_test_cases/p03768/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d77f91e4274307bde71d099f425fee453ff857e
--- /dev/null
+++ b/public_test_cases/p03768/output.2.txt
@@ -0,0 +1,7 @@
+2
+2
+2
+2
+2
+1
+0
diff --git a/public_test_cases/p03769/input.0.txt b/public_test_cases/p03769/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03769/input.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03769/input.1.txt b/public_test_cases/p03769/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03769/input.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03769/input.2.txt b/public_test_cases/p03769/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03a5b41d9fe4e87abe23d9efba209933c6d1e30f
--- /dev/null
+++ b/public_test_cases/p03769/input.2.txt
@@ -0,0 +1 @@
+299
diff --git a/public_test_cases/p03769/output.0.txt b/public_test_cases/p03769/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c95aee82892a809ab2db3e2c46a29df093e930e
--- /dev/null
+++ b/public_test_cases/p03769/output.0.txt
@@ -0,0 +1,2 @@
+4
+1 1 1 1
diff --git a/public_test_cases/p03769/output.1.txt b/public_test_cases/p03769/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c95aee82892a809ab2db3e2c46a29df093e930e
--- /dev/null
+++ b/public_test_cases/p03769/output.1.txt
@@ -0,0 +1,2 @@
+4
+1 1 1 1
diff --git a/public_test_cases/p03769/output.2.txt b/public_test_cases/p03769/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..744ffd85ee2f55913f8e186840fba2484ba6b6e6
--- /dev/null
+++ b/public_test_cases/p03769/output.2.txt
@@ -0,0 +1,2 @@
+23
+32 11 11 73 45 8 11 83 83 8 45 32 32 10 100 73 32 83 45 73 32 11 10
diff --git a/public_test_cases/p03770/input.0.txt b/public_test_cases/p03770/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded6cd420473b8d8393a53a1b18754d80638ae49
--- /dev/null
+++ b/public_test_cases/p03770/input.0.txt
@@ -0,0 +1,5 @@
+4 7 3
+3 2
+4 3
+2 1
+4 4
diff --git a/public_test_cases/p03770/input.1.txt b/public_test_cases/p03770/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..46b206baeac2eedb49ae7c2aea80920b600f1ab0
--- /dev/null
+++ b/public_test_cases/p03770/input.1.txt
@@ -0,0 +1,2 @@
+1 1 1
+1 1
diff --git a/public_test_cases/p03770/input.2.txt b/public_test_cases/p03770/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ded6cd420473b8d8393a53a1b18754d80638ae49
--- /dev/null
+++ b/public_test_cases/p03770/input.2.txt
@@ -0,0 +1,5 @@
+4 7 3
+3 2
+4 3
+2 1
+4 4
diff --git a/public_test_cases/p03770/input.3.txt b/public_test_cases/p03770/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8583ac4a898bfc60b692902728df18aeec903028
--- /dev/null
+++ b/public_test_cases/p03770/input.3.txt
@@ -0,0 +1,22 @@
+21 77 68
+16 73
+16 99
+19 66
+2 87
+2 16
+7 17
+10 36
+10 68
+2 38
+10 74
+13 55
+21 21
+3 7
+12 41
+13 88
+18 6
+2 12
+13 87
+1 9
+2 27
+13 15
diff --git a/public_test_cases/p03770/output.0.txt b/public_test_cases/p03770/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03770/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03770/output.1.txt b/public_test_cases/p03770/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03770/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03770/output.2.txt b/public_test_cases/p03770/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03770/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03770/output.3.txt b/public_test_cases/p03770/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93b5e76bfd60a7fccebb48061a9f4d2890c9bec0
--- /dev/null
+++ b/public_test_cases/p03770/output.3.txt
@@ -0,0 +1 @@
+129729600
diff --git a/public_test_cases/p03771/input.0.txt b/public_test_cases/p03771/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d1837c5eea6dd252ab6d9fe6f7767757b9abf4d
--- /dev/null
+++ b/public_test_cases/p03771/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+1 3 6
diff --git a/public_test_cases/p03771/input.1.txt b/public_test_cases/p03771/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11d5735b449d411dee7b201a04579bb42b24a9cb
--- /dev/null
+++ b/public_test_cases/p03771/input.1.txt
@@ -0,0 +1,2 @@
+7 2
+-10 -4 -2 0 2 4 10
diff --git a/public_test_cases/p03771/input.2.txt b/public_test_cases/p03771/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69a8168aefa7ca0fa413d9bf78ff068effc36f70
--- /dev/null
+++ b/public_test_cases/p03771/input.2.txt
@@ -0,0 +1,2 @@
+16 19
+-49 -48 -33 -30 -21 -14 0 15 19 23 44 52 80 81 82 84
diff --git a/public_test_cases/p03771/input.3.txt b/public_test_cases/p03771/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d1837c5eea6dd252ab6d9fe6f7767757b9abf4d
--- /dev/null
+++ b/public_test_cases/p03771/input.3.txt
@@ -0,0 +1,2 @@
+3 2
+1 3 6
diff --git a/public_test_cases/p03771/output.0.txt b/public_test_cases/p03771/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3550184703552470d008afafafbf44a8e8df5abb
--- /dev/null
+++ b/public_test_cases/p03771/output.0.txt
@@ -0,0 +1,3 @@
+Possible
+Possible
+Possible
diff --git a/public_test_cases/p03771/output.1.txt b/public_test_cases/p03771/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..51595f8a26f73f2fc3407660764d981f1ed25333
--- /dev/null
+++ b/public_test_cases/p03771/output.1.txt
@@ -0,0 +1,7 @@
+Impossible
+Possible
+Possible
+Possible
+Possible
+Possible
+Impossible
diff --git a/public_test_cases/p03771/output.2.txt b/public_test_cases/p03771/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75193e0d251fc19aef4cd98fd7ba59829beea0d8
--- /dev/null
+++ b/public_test_cases/p03771/output.2.txt
@@ -0,0 +1,16 @@
+Possible
+Possible
+Possible
+Possible
+Possible
+Possible
+Possible
+Possible
+Possible
+Possible
+Possible
+Possible
+Impossible
+Impossible
+Impossible
+Impossible
diff --git a/public_test_cases/p03771/output.3.txt b/public_test_cases/p03771/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3550184703552470d008afafafbf44a8e8df5abb
--- /dev/null
+++ b/public_test_cases/p03771/output.3.txt
@@ -0,0 +1,3 @@
+Possible
+Possible
+Possible
diff --git a/public_test_cases/p03772/input.0.txt b/public_test_cases/p03772/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8f5ba43ed3115d9d079dab2be8bcc10bc5e843d
--- /dev/null
+++ b/public_test_cases/p03772/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 3 2
diff --git a/public_test_cases/p03772/input.1.txt b/public_test_cases/p03772/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..446a35f64712c77c955b63c7c179c8473ad20f6f
--- /dev/null
+++ b/public_test_cases/p03772/input.1.txt
@@ -0,0 +1,2 @@
+4
+1 3 2 3 2 4 3
diff --git a/public_test_cases/p03772/input.2.txt b/public_test_cases/p03772/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cdcb367ac3cd39938bdaac3d2cd1efd09ca8763
--- /dev/null
+++ b/public_test_cases/p03772/input.2.txt
@@ -0,0 +1,2 @@
+15
+1 5 9 11 1 19 17 18 20 1 14 3 3 8 19 15 16 29 10 2 4 13 6 12 7 15 16 1 1
diff --git a/public_test_cases/p03772/input.3.txt b/public_test_cases/p03772/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8f5ba43ed3115d9d079dab2be8bcc10bc5e843d
--- /dev/null
+++ b/public_test_cases/p03772/input.3.txt
@@ -0,0 +1,2 @@
+2
+1 3 2
diff --git a/public_test_cases/p03772/output.0.txt b/public_test_cases/p03772/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03772/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03772/output.1.txt b/public_test_cases/p03772/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03772/output.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03772/output.2.txt b/public_test_cases/p03772/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d495e186910faead49939c0176af44108f512c1a
--- /dev/null
+++ b/public_test_cases/p03772/output.2.txt
@@ -0,0 +1 @@
+911828634
diff --git a/public_test_cases/p03772/output.3.txt b/public_test_cases/p03772/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03772/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03773/input.0.txt b/public_test_cases/p03773/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bc09f8637b346ba4e57e897cc73df4e0886e14e
--- /dev/null
+++ b/public_test_cases/p03773/input.0.txt
@@ -0,0 +1 @@
+9 12
diff --git a/public_test_cases/p03773/input.1.txt b/public_test_cases/p03773/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bc09f8637b346ba4e57e897cc73df4e0886e14e
--- /dev/null
+++ b/public_test_cases/p03773/input.1.txt
@@ -0,0 +1 @@
+9 12
diff --git a/public_test_cases/p03773/input.2.txt b/public_test_cases/p03773/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7541665a56c89b6205bfc2e6f314fca15a0ab2f9
--- /dev/null
+++ b/public_test_cases/p03773/input.2.txt
@@ -0,0 +1 @@
+19 0
diff --git a/public_test_cases/p03773/input.3.txt b/public_test_cases/p03773/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45d317f7c763bcc2474448abba65466a28a8b46e
--- /dev/null
+++ b/public_test_cases/p03773/input.3.txt
@@ -0,0 +1 @@
+23 2
diff --git a/public_test_cases/p03773/output.0.txt b/public_test_cases/p03773/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03773/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03773/output.1.txt b/public_test_cases/p03773/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03773/output.1.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03773/output.2.txt b/public_test_cases/p03773/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p03773/output.2.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p03773/output.3.txt b/public_test_cases/p03773/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03773/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03774/input.0.txt b/public_test_cases/p03774/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c43659a792a49946e6db081f0d90bb9e24eb7317
--- /dev/null
+++ b/public_test_cases/p03774/input.0.txt
@@ -0,0 +1,5 @@
+2 2
+2 0
+0 0
+-1 0
+1 0
diff --git a/public_test_cases/p03774/input.1.txt b/public_test_cases/p03774/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..541f6dd451a165174338d0235b8f13476b7e8bc5
--- /dev/null
+++ b/public_test_cases/p03774/input.1.txt
@@ -0,0 +1,8 @@
+3 4
+10 10
+-10 -10
+3 3
+1 2
+2 3
+3 5
+3 5
diff --git a/public_test_cases/p03774/input.2.txt b/public_test_cases/p03774/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c43659a792a49946e6db081f0d90bb9e24eb7317
--- /dev/null
+++ b/public_test_cases/p03774/input.2.txt
@@ -0,0 +1,5 @@
+2 2
+2 0
+0 0
+-1 0
+1 0
diff --git a/public_test_cases/p03774/input.3.txt b/public_test_cases/p03774/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..596121ce9775283348fe63220d9f1d28e3566218
--- /dev/null
+++ b/public_test_cases/p03774/input.3.txt
@@ -0,0 +1,11 @@
+5 5
+-100000000 -100000000
+-100000000 100000000
+100000000 -100000000
+100000000 100000000
+0 0
+0 0
+100000000 100000000
+100000000 -100000000
+-100000000 100000000
+-100000000 -100000000
diff --git a/public_test_cases/p03774/output.0.txt b/public_test_cases/p03774/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p03774/output.0.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p03774/output.1.txt b/public_test_cases/p03774/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0571a2e15a712887514f5eabbbe731a4b1b70672
--- /dev/null
+++ b/public_test_cases/p03774/output.1.txt
@@ -0,0 +1,3 @@
+3
+1
+2
diff --git a/public_test_cases/p03774/output.2.txt b/public_test_cases/p03774/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p03774/output.2.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p03774/output.3.txt b/public_test_cases/p03774/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..86e24d1b4c3fb30080acde6f9c98a24bac0d47c7
--- /dev/null
+++ b/public_test_cases/p03774/output.3.txt
@@ -0,0 +1,5 @@
+5
+4
+3
+2
+1
diff --git a/public_test_cases/p03775/input.0.txt b/public_test_cases/p03775/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5caff40c4a0ce4ed0dcb3aa983da623641af1b06
--- /dev/null
+++ b/public_test_cases/p03775/input.0.txt
@@ -0,0 +1 @@
+10000
diff --git a/public_test_cases/p03775/input.1.txt b/public_test_cases/p03775/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48145ccd79e644cbd016a5ef7c0919b535a7ac95
--- /dev/null
+++ b/public_test_cases/p03775/input.1.txt
@@ -0,0 +1 @@
+1000003
diff --git a/public_test_cases/p03775/input.2.txt b/public_test_cases/p03775/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5caff40c4a0ce4ed0dcb3aa983da623641af1b06
--- /dev/null
+++ b/public_test_cases/p03775/input.2.txt
@@ -0,0 +1 @@
+10000
diff --git a/public_test_cases/p03775/input.3.txt b/public_test_cases/p03775/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ebc85d26bdfd21e43fb7b0701ce7e1b0bf36aa66
--- /dev/null
+++ b/public_test_cases/p03775/input.3.txt
@@ -0,0 +1 @@
+9876543210
diff --git a/public_test_cases/p03775/output.0.txt b/public_test_cases/p03775/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03775/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03775/output.1.txt b/public_test_cases/p03775/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03775/output.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03775/output.2.txt b/public_test_cases/p03775/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03775/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03775/output.3.txt b/public_test_cases/p03775/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03775/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03776/input.0.txt b/public_test_cases/p03776/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7635a5f476390d668bcb9533b30cfb4648a5873b
--- /dev/null
+++ b/public_test_cases/p03776/input.0.txt
@@ -0,0 +1,2 @@
+5 2 2
+1 2 3 4 5
diff --git a/public_test_cases/p03776/input.1.txt b/public_test_cases/p03776/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d27e433e2dba4260bc08afcdee38420dc550dbf7
--- /dev/null
+++ b/public_test_cases/p03776/input.1.txt
@@ -0,0 +1,2 @@
+4 2 3
+10 20 10 10
diff --git a/public_test_cases/p03776/input.2.txt b/public_test_cases/p03776/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db2b367f2fd22b46d06067687c278cea82e5c066
--- /dev/null
+++ b/public_test_cases/p03776/input.2.txt
@@ -0,0 +1,2 @@
+5 1 5
+1000000000000000 999999999999999 999999999999998 999999999999997 999999999999996
diff --git a/public_test_cases/p03776/input.3.txt b/public_test_cases/p03776/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7635a5f476390d668bcb9533b30cfb4648a5873b
--- /dev/null
+++ b/public_test_cases/p03776/input.3.txt
@@ -0,0 +1,2 @@
+5 2 2
+1 2 3 4 5
diff --git a/public_test_cases/p03776/output.0.txt b/public_test_cases/p03776/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc4e4c91a03bc03498c80e7d88345efdbb0fd3e1
--- /dev/null
+++ b/public_test_cases/p03776/output.0.txt
@@ -0,0 +1,2 @@
+4.500000
+1
diff --git a/public_test_cases/p03776/output.1.txt b/public_test_cases/p03776/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4da008e8718c14a6d8fb4b60f9f36a7030431fd
--- /dev/null
+++ b/public_test_cases/p03776/output.1.txt
@@ -0,0 +1,2 @@
+15.000000
+3
diff --git a/public_test_cases/p03776/output.2.txt b/public_test_cases/p03776/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6186621ce07c929e551bc977d94a9212a9dfd4a
--- /dev/null
+++ b/public_test_cases/p03776/output.2.txt
@@ -0,0 +1,2 @@
+1000000000000000.000000
+1
diff --git a/public_test_cases/p03776/output.3.txt b/public_test_cases/p03776/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc4e4c91a03bc03498c80e7d88345efdbb0fd3e1
--- /dev/null
+++ b/public_test_cases/p03776/output.3.txt
@@ -0,0 +1,2 @@
+4.500000
+1
diff --git a/public_test_cases/p03777/input.0.txt b/public_test_cases/p03777/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573250eb98ab56631150e3664fbc794a95098508
--- /dev/null
+++ b/public_test_cases/p03777/input.0.txt
@@ -0,0 +1 @@
+H H
diff --git a/public_test_cases/p03777/input.1.txt b/public_test_cases/p03777/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..286573b1d8e481e859122c7abf82243cec4f37ec
--- /dev/null
+++ b/public_test_cases/p03777/input.1.txt
@@ -0,0 +1 @@
+D D
diff --git a/public_test_cases/p03777/input.2.txt b/public_test_cases/p03777/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573250eb98ab56631150e3664fbc794a95098508
--- /dev/null
+++ b/public_test_cases/p03777/input.2.txt
@@ -0,0 +1 @@
+H H
diff --git a/public_test_cases/p03777/input.3.txt b/public_test_cases/p03777/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f10c60b946bdea71dedd1bc24f51db434e8504e
--- /dev/null
+++ b/public_test_cases/p03777/input.3.txt
@@ -0,0 +1 @@
+D H
diff --git a/public_test_cases/p03777/output.0.txt b/public_test_cases/p03777/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9edc74f3848050ab04b488787d715349bb9b215
--- /dev/null
+++ b/public_test_cases/p03777/output.0.txt
@@ -0,0 +1 @@
+H
diff --git a/public_test_cases/p03777/output.1.txt b/public_test_cases/p03777/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9edc74f3848050ab04b488787d715349bb9b215
--- /dev/null
+++ b/public_test_cases/p03777/output.1.txt
@@ -0,0 +1 @@
+H
diff --git a/public_test_cases/p03777/output.2.txt b/public_test_cases/p03777/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9edc74f3848050ab04b488787d715349bb9b215
--- /dev/null
+++ b/public_test_cases/p03777/output.2.txt
@@ -0,0 +1 @@
+H
diff --git a/public_test_cases/p03777/output.3.txt b/public_test_cases/p03777/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..178481050188cf00d7d9cd5a11e43ab8fab9294f
--- /dev/null
+++ b/public_test_cases/p03777/output.3.txt
@@ -0,0 +1 @@
+D
diff --git a/public_test_cases/p03778/input.0.txt b/public_test_cases/p03778/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b532e558fd1aa7bd7a735352f045bad542b4fbb
--- /dev/null
+++ b/public_test_cases/p03778/input.0.txt
@@ -0,0 +1 @@
+3 2 6
diff --git a/public_test_cases/p03778/input.1.txt b/public_test_cases/p03778/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b532e558fd1aa7bd7a735352f045bad542b4fbb
--- /dev/null
+++ b/public_test_cases/p03778/input.1.txt
@@ -0,0 +1 @@
+3 2 6
diff --git a/public_test_cases/p03778/input.2.txt b/public_test_cases/p03778/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd44576efdb1644f37860091ca301a02d1d8c54d
--- /dev/null
+++ b/public_test_cases/p03778/input.2.txt
@@ -0,0 +1 @@
+3 1 3
diff --git a/public_test_cases/p03778/input.3.txt b/public_test_cases/p03778/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f4d9f12cf4e0313ab8f3bdfd61bbc7a4c52ad9d6
--- /dev/null
+++ b/public_test_cases/p03778/input.3.txt
@@ -0,0 +1 @@
+5 10 1
diff --git a/public_test_cases/p03778/output.0.txt b/public_test_cases/p03778/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03778/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03778/output.1.txt b/public_test_cases/p03778/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03778/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03778/output.2.txt b/public_test_cases/p03778/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03778/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03778/output.3.txt b/public_test_cases/p03778/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03778/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03779/input.0.txt b/public_test_cases/p03779/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03779/input.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03779/output.0.txt b/public_test_cases/p03779/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03779/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03780/input.0.txt b/public_test_cases/p03780/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2680447d9729a558e2876ecee873986d18b6851f
--- /dev/null
+++ b/public_test_cases/p03780/input.0.txt
@@ -0,0 +1,2 @@
+3 6
+1 4 3
diff --git a/public_test_cases/p03780/input.1.txt b/public_test_cases/p03780/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ce3ccedf3278a141c9477cb5fe1029a3d9d7726
--- /dev/null
+++ b/public_test_cases/p03780/input.1.txt
@@ -0,0 +1,2 @@
+5 400
+3 1 4 1 5
diff --git a/public_test_cases/p03780/input.2.txt b/public_test_cases/p03780/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2680447d9729a558e2876ecee873986d18b6851f
--- /dev/null
+++ b/public_test_cases/p03780/input.2.txt
@@ -0,0 +1,2 @@
+3 6
+1 4 3
diff --git a/public_test_cases/p03780/input.3.txt b/public_test_cases/p03780/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1e1d6df6cecef66037935bbc664899438eb1e83
--- /dev/null
+++ b/public_test_cases/p03780/input.3.txt
@@ -0,0 +1,2 @@
+6 20
+10 4 3 10 25 2
diff --git a/public_test_cases/p03780/output.0.txt b/public_test_cases/p03780/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03780/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03780/output.1.txt b/public_test_cases/p03780/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03780/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03780/output.2.txt b/public_test_cases/p03780/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03780/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03780/output.3.txt b/public_test_cases/p03780/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03780/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03781/input.0.txt b/public_test_cases/p03781/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03781/input.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03781/input.1.txt b/public_test_cases/p03781/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03781/input.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03781/input.2.txt b/public_test_cases/p03781/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03781/input.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03781/input.3.txt b/public_test_cases/p03781/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03781/input.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03781/output.0.txt b/public_test_cases/p03781/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03781/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03781/output.1.txt b/public_test_cases/p03781/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03781/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03781/output.2.txt b/public_test_cases/p03781/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03781/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03781/output.3.txt b/public_test_cases/p03781/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03781/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03782/input.0.txt b/public_test_cases/p03782/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2680447d9729a558e2876ecee873986d18b6851f
--- /dev/null
+++ b/public_test_cases/p03782/input.0.txt
@@ -0,0 +1,2 @@
+3 6
+1 4 3
diff --git a/public_test_cases/p03782/output.0.txt b/public_test_cases/p03782/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03782/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03783/input.0.txt b/public_test_cases/p03783/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19841dd54fe2120790ae2a4333ffc387842826ed
--- /dev/null
+++ b/public_test_cases/p03783/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 3
+5 7
+1 3
diff --git a/public_test_cases/p03783/input.1.txt b/public_test_cases/p03783/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95f1190ffe625ea2073d5b87403f66a6afcc03cd
--- /dev/null
+++ b/public_test_cases/p03783/input.1.txt
@@ -0,0 +1,4 @@
+3
+2 5
+4 6
+1 4
diff --git a/public_test_cases/p03783/input.2.txt b/public_test_cases/p03783/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dc24d939208a0461a640ddb48581910ac3a4e67
--- /dev/null
+++ b/public_test_cases/p03783/input.2.txt
@@ -0,0 +1,6 @@
+5
+123456 789012
+123 456
+12 345678901
+123456 789012
+1 23
diff --git a/public_test_cases/p03783/input.3.txt b/public_test_cases/p03783/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19841dd54fe2120790ae2a4333ffc387842826ed
--- /dev/null
+++ b/public_test_cases/p03783/input.3.txt
@@ -0,0 +1,4 @@
+3
+1 3
+5 7
+1 3
diff --git a/public_test_cases/p03783/input.4.txt b/public_test_cases/p03783/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35c4e5b17c19ca5e0a4ded365bdbfdff94822bfd
--- /dev/null
+++ b/public_test_cases/p03783/input.4.txt
@@ -0,0 +1,2 @@
+1
+1 400
diff --git a/public_test_cases/p03783/input.5.txt b/public_test_cases/p03783/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc0f9b450f36d8454a09b82c5904e390510a637c
--- /dev/null
+++ b/public_test_cases/p03783/input.5.txt
@@ -0,0 +1,6 @@
+5
+999999999 1000000000
+1 2
+314 315
+500000 500001
+999999999 1000000000
diff --git a/public_test_cases/p03783/output.0.txt b/public_test_cases/p03783/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03783/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03783/output.1.txt b/public_test_cases/p03783/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03783/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03783/output.2.txt b/public_test_cases/p03783/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d62d32ed1f0d948ab996b9924cdfea72d632dcc
--- /dev/null
+++ b/public_test_cases/p03783/output.2.txt
@@ -0,0 +1 @@
+246433
diff --git a/public_test_cases/p03783/output.3.txt b/public_test_cases/p03783/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03783/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03783/output.4.txt b/public_test_cases/p03783/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03783/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03783/output.5.txt b/public_test_cases/p03783/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4864470505a26211fdca807031e7ac64cf895df2
--- /dev/null
+++ b/public_test_cases/p03783/output.5.txt
@@ -0,0 +1 @@
+1999999680
diff --git a/public_test_cases/p03785/input.0.txt b/public_test_cases/p03785/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8846fba52a441a7a3b9ca8a26255f04b64a4bafa
--- /dev/null
+++ b/public_test_cases/p03785/input.0.txt
@@ -0,0 +1,6 @@
+5 3 5
+1
+2
+3
+6
+12
diff --git a/public_test_cases/p03785/input.1.txt b/public_test_cases/p03785/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8846fba52a441a7a3b9ca8a26255f04b64a4bafa
--- /dev/null
+++ b/public_test_cases/p03785/input.1.txt
@@ -0,0 +1,6 @@
+5 3 5
+1
+2
+3
+6
+12
diff --git a/public_test_cases/p03785/input.2.txt b/public_test_cases/p03785/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6982ce4514ea2cc158cecbb242744f1dd8cc9c2d
--- /dev/null
+++ b/public_test_cases/p03785/input.2.txt
@@ -0,0 +1,7 @@
+6 3 3
+7
+6
+2
+8
+10
+6
diff --git a/public_test_cases/p03785/output.0.txt b/public_test_cases/p03785/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03785/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03785/output.1.txt b/public_test_cases/p03785/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03785/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03785/output.2.txt b/public_test_cases/p03785/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03785/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03786/input.0.txt b/public_test_cases/p03786/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..077743bf22666b8fe7840d1736cb3255c8dd857e
--- /dev/null
+++ b/public_test_cases/p03786/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 1 4
diff --git a/public_test_cases/p03786/input.1.txt b/public_test_cases/p03786/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5798ec63b3d84e04ace9c318af6eee1f3c36507
--- /dev/null
+++ b/public_test_cases/p03786/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 1 1 1 1
diff --git a/public_test_cases/p03786/input.2.txt b/public_test_cases/p03786/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..077743bf22666b8fe7840d1736cb3255c8dd857e
--- /dev/null
+++ b/public_test_cases/p03786/input.2.txt
@@ -0,0 +1,2 @@
+3
+3 1 4
diff --git a/public_test_cases/p03786/input.3.txt b/public_test_cases/p03786/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..050891e1450d138a944be2b24fa5b8af1c15fe26
--- /dev/null
+++ b/public_test_cases/p03786/input.3.txt
@@ -0,0 +1,2 @@
+6
+40 1 30 2 7 20
diff --git a/public_test_cases/p03786/output.0.txt b/public_test_cases/p03786/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03786/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03786/output.1.txt b/public_test_cases/p03786/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03786/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03786/output.2.txt b/public_test_cases/p03786/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03786/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03786/output.3.txt b/public_test_cases/p03786/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03786/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03787/input.0.txt b/public_test_cases/p03787/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fa34b26edbf5a028e89c0ad87b196b184ac114a
--- /dev/null
+++ b/public_test_cases/p03787/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+1 2
diff --git a/public_test_cases/p03787/input.1.txt b/public_test_cases/p03787/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d8fd32b427646dc2d767b16411e2bb2e7a25005b
--- /dev/null
+++ b/public_test_cases/p03787/input.1.txt
@@ -0,0 +1,6 @@
+7 5
+1 2
+3 4
+3 5
+4 5
+2 6
diff --git a/public_test_cases/p03787/input.2.txt b/public_test_cases/p03787/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fa34b26edbf5a028e89c0ad87b196b184ac114a
--- /dev/null
+++ b/public_test_cases/p03787/input.2.txt
@@ -0,0 +1,2 @@
+3 1
+1 2
diff --git a/public_test_cases/p03787/output.0.txt b/public_test_cases/p03787/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03787/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03787/output.1.txt b/public_test_cases/p03787/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03787/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03787/output.2.txt b/public_test_cases/p03787/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03787/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03788/input.0.txt b/public_test_cases/p03788/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..912dd04723cbbc6f7e730200d5ce47ded9ec84ab
--- /dev/null
+++ b/public_test_cases/p03788/input.0.txt
@@ -0,0 +1,2 @@
+5 1
+ABAAA
diff --git a/public_test_cases/p03788/input.1.txt b/public_test_cases/p03788/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d40847d5841930df385ffb02ab1bb4a33807c583
--- /dev/null
+++ b/public_test_cases/p03788/input.1.txt
@@ -0,0 +1,2 @@
+5 2
+ABAAA
diff --git a/public_test_cases/p03788/input.2.txt b/public_test_cases/p03788/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..912dd04723cbbc6f7e730200d5ce47ded9ec84ab
--- /dev/null
+++ b/public_test_cases/p03788/input.2.txt
@@ -0,0 +1,2 @@
+5 1
+ABAAA
diff --git a/public_test_cases/p03788/input.3.txt b/public_test_cases/p03788/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64397fec342a12c6eda5edebd88d89909ffb9a63
--- /dev/null
+++ b/public_test_cases/p03788/input.3.txt
@@ -0,0 +1,2 @@
+4 123456789
+AABB
diff --git a/public_test_cases/p03788/output.0.txt b/public_test_cases/p03788/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f4305f07d40098e304f184b413acfa1d7283a5a
--- /dev/null
+++ b/public_test_cases/p03788/output.0.txt
@@ -0,0 +1 @@
+BBAAA
diff --git a/public_test_cases/p03788/output.1.txt b/public_test_cases/p03788/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..647c66bcde44c7648d4bbb15e42ac413e6d43e20
--- /dev/null
+++ b/public_test_cases/p03788/output.1.txt
@@ -0,0 +1 @@
+ABBBA
diff --git a/public_test_cases/p03788/output.2.txt b/public_test_cases/p03788/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f4305f07d40098e304f184b413acfa1d7283a5a
--- /dev/null
+++ b/public_test_cases/p03788/output.2.txt
@@ -0,0 +1 @@
+BBAAA
diff --git a/public_test_cases/p03788/output.3.txt b/public_test_cases/p03788/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..142636566ed873a71861cb8d79f6935f6cdeb36b
--- /dev/null
+++ b/public_test_cases/p03788/output.3.txt
@@ -0,0 +1 @@
+BABA
diff --git a/public_test_cases/p03789/input.0.txt b/public_test_cases/p03789/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p03789/input.0.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p03789/input.1.txt b/public_test_cases/p03789/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..28d14454c380441fa2b6f562072a1cd641c06e22
--- /dev/null
+++ b/public_test_cases/p03789/input.1.txt
@@ -0,0 +1 @@
+123456789
diff --git a/public_test_cases/p03789/input.2.txt b/public_test_cases/p03789/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15a2cc44e31b14c65264271b81072e5ba0e1634
--- /dev/null
+++ b/public_test_cases/p03789/input.2.txt
@@ -0,0 +1 @@
+80
diff --git a/public_test_cases/p03789/input.3.txt b/public_test_cases/p03789/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce348cd58e19f3ec286ad17a64ba6bd439d0de68
--- /dev/null
+++ b/public_test_cases/p03789/input.3.txt
@@ -0,0 +1 @@
+7204647845201772120166980358816078279571541735614841625060678056933503
diff --git a/public_test_cases/p03789/input.4.txt b/public_test_cases/p03789/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f106e0dda37c9ebb3b713a828a0e5196e2b22b26
--- /dev/null
+++ b/public_test_cases/p03789/input.4.txt
@@ -0,0 +1 @@
+20170312
diff --git a/public_test_cases/p03789/output.0.txt b/public_test_cases/p03789/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03789/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03789/output.1.txt b/public_test_cases/p03789/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03789/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03789/output.2.txt b/public_test_cases/p03789/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03789/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03789/output.3.txt b/public_test_cases/p03789/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e85087affded170efcbc6f9672a6fc671d839ed0
--- /dev/null
+++ b/public_test_cases/p03789/output.3.txt
@@ -0,0 +1 @@
+31
diff --git a/public_test_cases/p03789/output.4.txt b/public_test_cases/p03789/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03789/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03790/input.0.txt b/public_test_cases/p03790/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cff04cf86cfb14435ff2767ff30bff9fe3f0934
--- /dev/null
+++ b/public_test_cases/p03790/input.0.txt
@@ -0,0 +1,4 @@
+3 10
+4 1
+3 1
+4 1
diff --git a/public_test_cases/p03790/input.1.txt b/public_test_cases/p03790/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7cff04cf86cfb14435ff2767ff30bff9fe3f0934
--- /dev/null
+++ b/public_test_cases/p03790/input.1.txt
@@ -0,0 +1,4 @@
+3 10
+4 1
+3 1
+4 1
diff --git a/public_test_cases/p03790/input.2.txt b/public_test_cases/p03790/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..90f1d693020b0c210d2fd9c605111bc911f20977
--- /dev/null
+++ b/public_test_cases/p03790/input.2.txt
@@ -0,0 +1,7 @@
+6 4
+1 1
+1 1
+1 1
+1 1
+1 1
+1 1
diff --git a/public_test_cases/p03790/input.3.txt b/public_test_cases/p03790/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3de53c40176941ee5a28c798bc8ed7209d3939d
--- /dev/null
+++ b/public_test_cases/p03790/input.3.txt
@@ -0,0 +1,21 @@
+20 987654321
+129662684 2
+162021979 1
+458437539 1
+319670097 2
+202863355 1
+112218745 1
+348732033 1
+323036578 1
+382398703 1
+55854389 1
+283445191 1
+151300613 1
+693338042 2
+191178308 2
+386707193 1
+204580036 1
+335134457 1
+122253639 1
+824646518 2
+902554792 2
diff --git a/public_test_cases/p03790/input.4.txt b/public_test_cases/p03790/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9642cc7261771488c236c2be3ff1fdde4fb11cba
--- /dev/null
+++ b/public_test_cases/p03790/input.4.txt
@@ -0,0 +1,2 @@
+1 10
+10 1
diff --git a/public_test_cases/p03790/output.0.txt b/public_test_cases/p03790/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p03790/output.0.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p03790/output.1.txt b/public_test_cases/p03790/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p03790/output.1.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p03790/output.2.txt b/public_test_cases/p03790/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03790/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03790/output.3.txt b/public_test_cases/p03790/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2c0faf0296cb3d76b151f31fe3b635541847860
--- /dev/null
+++ b/public_test_cases/p03790/output.3.txt
@@ -0,0 +1 @@
+14829091348
diff --git a/public_test_cases/p03790/output.4.txt b/public_test_cases/p03790/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03790/output.4.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03791/input.0.txt b/public_test_cases/p03791/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03791/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03791/input.1.txt b/public_test_cases/p03791/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3422d0a09d7da299f80d267c4a523a1774fd4150
--- /dev/null
+++ b/public_test_cases/p03791/input.1.txt
@@ -0,0 +1,2 @@
+13
+4 6 8 9 10 12 14 15 16 18 20 21 22
diff --git a/public_test_cases/p03791/input.2.txt b/public_test_cases/p03791/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03791/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03791/input.3.txt b/public_test_cases/p03791/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88820dc653221aac1f701c46e60afd7bd3b7f745
--- /dev/null
+++ b/public_test_cases/p03791/input.3.txt
@@ -0,0 +1,2 @@
+3
+2 3 4
diff --git a/public_test_cases/p03791/input.4.txt b/public_test_cases/p03791/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bd59c0f42aabb8a155b5997e98e757116e1b62d
--- /dev/null
+++ b/public_test_cases/p03791/input.4.txt
@@ -0,0 +1,2 @@
+8
+1 2 3 5 7 11 13 17
diff --git a/public_test_cases/p03791/output.0.txt b/public_test_cases/p03791/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03791/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03791/output.1.txt b/public_test_cases/p03791/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bd1270ff2d2a0ae5d6e717386154b60694b325fc
--- /dev/null
+++ b/public_test_cases/p03791/output.1.txt
@@ -0,0 +1 @@
+311014372
diff --git a/public_test_cases/p03791/output.2.txt b/public_test_cases/p03791/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03791/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03791/output.3.txt b/public_test_cases/p03791/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03791/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03791/output.4.txt b/public_test_cases/p03791/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72058b9dbeda213de0c9d9f3db35fc878371d010
--- /dev/null
+++ b/public_test_cases/p03791/output.4.txt
@@ -0,0 +1 @@
+10080
diff --git a/public_test_cases/p03792/input.0.txt b/public_test_cases/p03792/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3efa6cec5cd9ad7953275de7392d959fc955d5c9
--- /dev/null
+++ b/public_test_cases/p03792/input.0.txt
@@ -0,0 +1,3 @@
+2
+#.
+.#
diff --git a/public_test_cases/p03792/input.1.txt b/public_test_cases/p03792/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..018bb7038a9e3a376f0c961b8e4ba2a9489f7b6c
--- /dev/null
+++ b/public_test_cases/p03792/input.1.txt
@@ -0,0 +1,3 @@
+2
+..
+..
diff --git a/public_test_cases/p03792/input.2.txt b/public_test_cases/p03792/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3efa6cec5cd9ad7953275de7392d959fc955d5c9
--- /dev/null
+++ b/public_test_cases/p03792/input.2.txt
@@ -0,0 +1,3 @@
+2
+#.
+.#
diff --git a/public_test_cases/p03792/input.3.txt b/public_test_cases/p03792/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03792/input.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03792/input.4.txt b/public_test_cases/p03792/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ee0362e63b7cc0bc8e2bcced9a6e596baf7a6bb
--- /dev/null
+++ b/public_test_cases/p03792/input.4.txt
@@ -0,0 +1,4 @@
+3
+.#.
+
+.#.
diff --git a/public_test_cases/p03792/input.5.txt b/public_test_cases/p03792/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9b11d76b0d70946a2438bd66247c25f623d5533
--- /dev/null
+++ b/public_test_cases/p03792/input.5.txt
@@ -0,0 +1,4 @@
+3
+...
+.#.
+...
diff --git a/public_test_cases/p03792/input.6.txt b/public_test_cases/p03792/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f04f4e4111ebac4624ed14073653ca0023ae4d72
--- /dev/null
+++ b/public_test_cases/p03792/input.6.txt
@@ -0,0 +1,3 @@
+2
+.
+.#
diff --git a/public_test_cases/p03792/output.0.txt b/public_test_cases/p03792/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03792/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03792/output.1.txt b/public_test_cases/p03792/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03792/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03792/output.2.txt b/public_test_cases/p03792/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03792/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03792/output.3.txt b/public_test_cases/p03792/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03792/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03792/output.4.txt b/public_test_cases/p03792/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03792/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03792/output.5.txt b/public_test_cases/p03792/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03792/output.5.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03792/output.6.txt b/public_test_cases/p03792/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03792/output.6.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03793/input.0.txt b/public_test_cases/p03793/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb95af0d32e8774c8b18890217eba0b52d745df8
--- /dev/null
+++ b/public_test_cases/p03793/input.0.txt
@@ -0,0 +1,4 @@
+axxxxza
+2
+1 7
+2 6
diff --git a/public_test_cases/p03793/input.1.txt b/public_test_cases/p03793/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c0613a1f01b8eb841a5d4c85ddc2964829f6e21
--- /dev/null
+++ b/public_test_cases/p03793/input.1.txt
@@ -0,0 +1,3 @@
+aabcdefghijklmnopqrstuvwxyz
+1
+1 27
diff --git a/public_test_cases/p03793/input.2.txt b/public_test_cases/p03793/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f25105a64a26a6e9145ed39f5505bacaaf5500b
--- /dev/null
+++ b/public_test_cases/p03793/input.2.txt
@@ -0,0 +1,10 @@
+yzyyyzyzyyyz
+8
+1 6
+7 12
+1 12
+6 11
+1 1
+1 3
+4 9
+3 8
diff --git a/public_test_cases/p03793/input.3.txt b/public_test_cases/p03793/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb95af0d32e8774c8b18890217eba0b52d745df8
--- /dev/null
+++ b/public_test_cases/p03793/input.3.txt
@@ -0,0 +1,4 @@
+axxxxza
+2
+1 7
+2 6
diff --git a/public_test_cases/p03793/output.0.txt b/public_test_cases/p03793/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6631b22779376d4c1b0470c35390d511ec268e3c
--- /dev/null
+++ b/public_test_cases/p03793/output.0.txt
@@ -0,0 +1,2 @@
+No
+Yes
diff --git a/public_test_cases/p03793/output.1.txt b/public_test_cases/p03793/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03793/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03793/output.2.txt b/public_test_cases/p03793/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c01a787a9d7dbe188c70c286482dd5752976295
--- /dev/null
+++ b/public_test_cases/p03793/output.2.txt
@@ -0,0 +1,8 @@
+Yes
+Yes
+Yes
+Yes
+No
+No
+No
+No
diff --git a/public_test_cases/p03793/output.3.txt b/public_test_cases/p03793/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6631b22779376d4c1b0470c35390d511ec268e3c
--- /dev/null
+++ b/public_test_cases/p03793/output.3.txt
@@ -0,0 +1,2 @@
+No
+Yes
diff --git a/public_test_cases/p03794/input.0.txt b/public_test_cases/p03794/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e7e919d9086f19d0faf1800efb363a22b6e6b8
--- /dev/null
+++ b/public_test_cases/p03794/input.0.txt
@@ -0,0 +1,4 @@
+4
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p03794/input.1.txt b/public_test_cases/p03794/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..604c7b32caf077c090d1e568da712399ae45734a
--- /dev/null
+++ b/public_test_cases/p03794/input.1.txt
@@ -0,0 +1,4 @@
+4
+1 2
+2 3
+3 4
diff --git a/public_test_cases/p03794/input.2.txt b/public_test_cases/p03794/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e48098a9f2bd0f5b5b6dcc50f8516a71d8d616bb
--- /dev/null
+++ b/public_test_cases/p03794/input.2.txt
@@ -0,0 +1,10 @@
+10
+2 4
+2 5
+8 3
+10 7
+1 6
+2 8
+9 5
+8 6
+10 6
diff --git a/public_test_cases/p03794/input.3.txt b/public_test_cases/p03794/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e7e919d9086f19d0faf1800efb363a22b6e6b8
--- /dev/null
+++ b/public_test_cases/p03794/input.3.txt
@@ -0,0 +1,4 @@
+4
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p03794/input.4.txt b/public_test_cases/p03794/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95dc363f3303a461f15965423249ca1335ca414f
--- /dev/null
+++ b/public_test_cases/p03794/input.4.txt
@@ -0,0 +1,6 @@
+6
+1 2
+1 3
+1 4
+2 5
+2 6
diff --git a/public_test_cases/p03794/output.0.txt b/public_test_cases/p03794/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03794/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03794/output.1.txt b/public_test_cases/p03794/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03794/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03794/output.2.txt b/public_test_cases/p03794/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..257e563266b43281b3fbb3632ab67ab0d3f314e9
--- /dev/null
+++ b/public_test_cases/p03794/output.2.txt
@@ -0,0 +1 @@
+102
diff --git a/public_test_cases/p03794/output.3.txt b/public_test_cases/p03794/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03794/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03794/output.4.txt b/public_test_cases/p03794/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03794/output.4.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03795/input.0.txt b/public_test_cases/p03795/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03795/input.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03795/output.0.txt b/public_test_cases/p03795/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d32ab209573e8cedcbe8bc6672ce982cb3ae38df
--- /dev/null
+++ b/public_test_cases/p03795/output.0.txt
@@ -0,0 +1 @@
+15800
diff --git a/public_test_cases/p03796/input.0.txt b/public_test_cases/p03796/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03796/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03796/input.1.txt b/public_test_cases/p03796/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7393e847d34d19031ee0ba57df63e4d0ccb4fb2
--- /dev/null
+++ b/public_test_cases/p03796/input.1.txt
@@ -0,0 +1 @@
+100000
diff --git a/public_test_cases/p03796/input.2.txt b/public_test_cases/p03796/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03796/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03796/input.3.txt b/public_test_cases/p03796/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03796/input.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03796/output.0.txt b/public_test_cases/p03796/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03796/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03796/output.1.txt b/public_test_cases/p03796/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63225bf03ec1b4650cd1e8ebdb2c6e5854f25e5c
--- /dev/null
+++ b/public_test_cases/p03796/output.1.txt
@@ -0,0 +1 @@
+457992974
diff --git a/public_test_cases/p03796/output.2.txt b/public_test_cases/p03796/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03796/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03796/output.3.txt b/public_test_cases/p03796/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fbd4a8698fa3e732ab926a391e1c2072da84ddb
--- /dev/null
+++ b/public_test_cases/p03796/output.3.txt
@@ -0,0 +1 @@
+3628800
diff --git a/public_test_cases/p03797/input.0.txt b/public_test_cases/p03797/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32ac9cc4e429950e6787fbe4aa5c9a1e40874ec0
--- /dev/null
+++ b/public_test_cases/p03797/input.0.txt
@@ -0,0 +1 @@
+1 6
diff --git a/public_test_cases/p03797/output.0.txt b/public_test_cases/p03797/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03797/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03798/input.0.txt b/public_test_cases/p03798/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc80772f84ec3bef7d433b3420b3426d8d6ccce2
--- /dev/null
+++ b/public_test_cases/p03798/input.0.txt
@@ -0,0 +1,2 @@
+6
+ooxoox
diff --git a/public_test_cases/p03798/input.1.txt b/public_test_cases/p03798/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7649bc66a0286b8ebbea576f737b31193eba1552
--- /dev/null
+++ b/public_test_cases/p03798/input.1.txt
@@ -0,0 +1,2 @@
+10
+oxooxoxoox
diff --git a/public_test_cases/p03798/input.2.txt b/public_test_cases/p03798/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc80772f84ec3bef7d433b3420b3426d8d6ccce2
--- /dev/null
+++ b/public_test_cases/p03798/input.2.txt
@@ -0,0 +1,2 @@
+6
+ooxoox
diff --git a/public_test_cases/p03798/input.3.txt b/public_test_cases/p03798/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..243c60a1d87935c2f778c8c85850999773d920db
--- /dev/null
+++ b/public_test_cases/p03798/input.3.txt
@@ -0,0 +1,2 @@
+3
+oox
diff --git a/public_test_cases/p03798/output.0.txt b/public_test_cases/p03798/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab94845345485270eb3882e6cd2e68f5550a8ee3
--- /dev/null
+++ b/public_test_cases/p03798/output.0.txt
@@ -0,0 +1 @@
+SSSWWS
diff --git a/public_test_cases/p03798/output.1.txt b/public_test_cases/p03798/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bdd9ba891c473a1262fc8b769a089b98d21111b
--- /dev/null
+++ b/public_test_cases/p03798/output.1.txt
@@ -0,0 +1 @@
+SSWWSSSWWS
diff --git a/public_test_cases/p03798/output.2.txt b/public_test_cases/p03798/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab94845345485270eb3882e6cd2e68f5550a8ee3
--- /dev/null
+++ b/public_test_cases/p03798/output.2.txt
@@ -0,0 +1 @@
+SSSWWS
diff --git a/public_test_cases/p03798/output.3.txt b/public_test_cases/p03798/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03798/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03799/input.0.txt b/public_test_cases/p03799/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32ac9cc4e429950e6787fbe4aa5c9a1e40874ec0
--- /dev/null
+++ b/public_test_cases/p03799/input.0.txt
@@ -0,0 +1 @@
+1 6
diff --git a/public_test_cases/p03799/input.1.txt b/public_test_cases/p03799/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5340a25d656157a0b17082417ba33b02baace299
--- /dev/null
+++ b/public_test_cases/p03799/input.1.txt
@@ -0,0 +1 @@
+12345 678901
diff --git a/public_test_cases/p03799/input.2.txt b/public_test_cases/p03799/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32ac9cc4e429950e6787fbe4aa5c9a1e40874ec0
--- /dev/null
+++ b/public_test_cases/p03799/input.2.txt
@@ -0,0 +1 @@
+1 6
diff --git a/public_test_cases/p03799/output.0.txt b/public_test_cases/p03799/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03799/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03799/output.1.txt b/public_test_cases/p03799/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9fef2bdd0d0effe9a8ed66e41ac092d8cc7af274
--- /dev/null
+++ b/public_test_cases/p03799/output.1.txt
@@ -0,0 +1 @@
+175897
diff --git a/public_test_cases/p03799/output.2.txt b/public_test_cases/p03799/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03799/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03800/input.0.txt b/public_test_cases/p03800/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fc80772f84ec3bef7d433b3420b3426d8d6ccce2
--- /dev/null
+++ b/public_test_cases/p03800/input.0.txt
@@ -0,0 +1,2 @@
+6
+ooxoox
diff --git a/public_test_cases/p03800/output.0.txt b/public_test_cases/p03800/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab94845345485270eb3882e6cd2e68f5550a8ee3
--- /dev/null
+++ b/public_test_cases/p03800/output.0.txt
@@ -0,0 +1 @@
+SSSWWS
diff --git a/public_test_cases/p03801/input.0.txt b/public_test_cases/p03801/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03801/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03801/input.1.txt b/public_test_cases/p03801/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03801/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03801/input.2.txt b/public_test_cases/p03801/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b72efcb03d48e339bd969467b90a7418df723aa8
--- /dev/null
+++ b/public_test_cases/p03801/input.2.txt
@@ -0,0 +1,2 @@
+10
+1 2 1 3 2 4 2 5 8 1
diff --git a/public_test_cases/p03801/output.0.txt b/public_test_cases/p03801/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p03801/output.0.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p03801/output.1.txt b/public_test_cases/p03801/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f1d0ecea5d750ac0e30713a0aee40cdde3b2a52
--- /dev/null
+++ b/public_test_cases/p03801/output.1.txt
@@ -0,0 +1,2 @@
+2
+1
diff --git a/public_test_cases/p03801/output.2.txt b/public_test_cases/p03801/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc046cf566caafb9515a194e794e242dd1147b24
--- /dev/null
+++ b/public_test_cases/p03801/output.2.txt
@@ -0,0 +1,10 @@
+10
+7
+0
+4
+0
+3
+0
+2
+3
+0
diff --git a/public_test_cases/p03802/input.0.txt b/public_test_cases/p03802/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb8ed04a3249bd4a35a7642d528c202939ce9405
--- /dev/null
+++ b/public_test_cases/p03802/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 3
+2 5
+1 9
diff --git a/public_test_cases/p03802/input.1.txt b/public_test_cases/p03802/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1aa00dffc8f541802094b892dd2783838a46caea
--- /dev/null
+++ b/public_test_cases/p03802/input.1.txt
@@ -0,0 +1,6 @@
+5
+2 2
+2 2
+2 2
+2 2
+2 2
diff --git a/public_test_cases/p03802/input.2.txt b/public_test_cases/p03802/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb8ed04a3249bd4a35a7642d528c202939ce9405
--- /dev/null
+++ b/public_test_cases/p03802/input.2.txt
@@ -0,0 +1,4 @@
+3
+1 3
+2 5
+1 9
diff --git a/public_test_cases/p03802/input.3.txt b/public_test_cases/p03802/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..379b01e084c954633d01c2de051141700496f06e
--- /dev/null
+++ b/public_test_cases/p03802/input.3.txt
@@ -0,0 +1,23 @@
+22
+93 6440
+78 6647
+862 11
+8306 9689
+798 99
+801 521
+188 206
+6079 971
+4559 209
+50 94
+92 6270
+5403 560
+803 83
+1855 99
+42 504
+75 484
+629 11
+92 122
+3359 37
+28 16
+648 14
+11 269
diff --git a/public_test_cases/p03802/output.0.txt b/public_test_cases/p03802/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03802/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03802/output.1.txt b/public_test_cases/p03802/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03802/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03802/output.2.txt b/public_test_cases/p03802/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03802/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03802/output.3.txt b/public_test_cases/p03802/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p03802/output.3.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p03803/input.0.txt b/public_test_cases/p03803/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25bf1347ee5411deaaf3532637d6568e29bdb7b6
--- /dev/null
+++ b/public_test_cases/p03803/input.0.txt
@@ -0,0 +1 @@
+8 6
diff --git a/public_test_cases/p03803/input.1.txt b/public_test_cases/p03803/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25bf1347ee5411deaaf3532637d6568e29bdb7b6
--- /dev/null
+++ b/public_test_cases/p03803/input.1.txt
@@ -0,0 +1 @@
+8 6
diff --git a/public_test_cases/p03803/input.2.txt b/public_test_cases/p03803/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fb73a07ec2d7b737fbb6c160ff8bc78dadb6930
--- /dev/null
+++ b/public_test_cases/p03803/input.2.txt
@@ -0,0 +1 @@
+1 1
diff --git a/public_test_cases/p03803/input.3.txt b/public_test_cases/p03803/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..be6c2bd70d72aa3f3b8b4a4cb46b4eb31ffa7122
--- /dev/null
+++ b/public_test_cases/p03803/input.3.txt
@@ -0,0 +1 @@
+13 1
diff --git a/public_test_cases/p03803/output.0.txt b/public_test_cases/p03803/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03803/output.0.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03803/output.1.txt b/public_test_cases/p03803/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08b64854c096175321a68282c6af3817c89edbdc
--- /dev/null
+++ b/public_test_cases/p03803/output.1.txt
@@ -0,0 +1 @@
+Alice
diff --git a/public_test_cases/p03803/output.2.txt b/public_test_cases/p03803/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e3aa57d754e218f35f415900ed803f94c09b3df
--- /dev/null
+++ b/public_test_cases/p03803/output.2.txt
@@ -0,0 +1 @@
+Draw
diff --git a/public_test_cases/p03803/output.3.txt b/public_test_cases/p03803/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e9edc911f9ca0d09afabec830edf23a30a7044
--- /dev/null
+++ b/public_test_cases/p03803/output.3.txt
@@ -0,0 +1 @@
+Bob
diff --git a/public_test_cases/p03804/input.0.txt b/public_test_cases/p03804/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a6d44a8a120d7a520c89aae717cf962cb3622f7
--- /dev/null
+++ b/public_test_cases/p03804/input.0.txt
@@ -0,0 +1,6 @@
+3 2
+#.#
+.#.
+#.#
+#.
+.#
diff --git a/public_test_cases/p03804/input.1.txt b/public_test_cases/p03804/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a6d44a8a120d7a520c89aae717cf962cb3622f7
--- /dev/null
+++ b/public_test_cases/p03804/input.1.txt
@@ -0,0 +1,6 @@
+3 2
+#.#
+.#.
+#.#
+#.
+.#
diff --git a/public_test_cases/p03804/input.2.txt b/public_test_cases/p03804/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d5f3220b7a76001cb02852be96f0de48b93d44e
--- /dev/null
+++ b/public_test_cases/p03804/input.2.txt
@@ -0,0 +1,5 @@
+4 1
+....
+....
+....
+....
diff --git a/public_test_cases/p03804/input.3.txt b/public_test_cases/p03804/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c4fbd0c75348c60a8464fa4576a4f651b34e1b8
--- /dev/null
+++ b/public_test_cases/p03804/input.3.txt
@@ -0,0 +1,6 @@
+3 2
+.#
+.#.
+.#
+.
+.#
diff --git a/public_test_cases/p03804/output.0.txt b/public_test_cases/p03804/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03804/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03804/output.1.txt b/public_test_cases/p03804/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03804/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03804/output.2.txt b/public_test_cases/p03804/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03804/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03804/output.3.txt b/public_test_cases/p03804/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03804/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03805/input.0.txt b/public_test_cases/p03805/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc88773658f25592fbc224fa48bd285513c79119
--- /dev/null
+++ b/public_test_cases/p03805/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p03805/input.1.txt b/public_test_cases/p03805/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..052f07af20aa7390e7dda7eed469604a7fcced87
--- /dev/null
+++ b/public_test_cases/p03805/input.1.txt
@@ -0,0 +1,8 @@
+7 7
+1 3
+2 7
+3 4
+4 5
+4 6
+5 6
+6 7
diff --git a/public_test_cases/p03805/input.2.txt b/public_test_cases/p03805/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc88773658f25592fbc224fa48bd285513c79119
--- /dev/null
+++ b/public_test_cases/p03805/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+1 3
+2 3
diff --git a/public_test_cases/p03805/output.0.txt b/public_test_cases/p03805/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03805/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03805/output.1.txt b/public_test_cases/p03805/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03805/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03805/output.2.txt b/public_test_cases/p03805/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03805/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03806/input.0.txt b/public_test_cases/p03806/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75ff3ea9dc197e9530e6541f49838e7095386b5b
--- /dev/null
+++ b/public_test_cases/p03806/input.0.txt
@@ -0,0 +1,4 @@
+3 1 1
+1 2 1
+2 1 2
+3 3 10
diff --git a/public_test_cases/p03806/input.1.txt b/public_test_cases/p03806/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a58b4f71c6bca21844261432fcadece86ade4f14
--- /dev/null
+++ b/public_test_cases/p03806/input.1.txt
@@ -0,0 +1,2 @@
+1 1 10
+10 10 10
diff --git a/public_test_cases/p03806/input.2.txt b/public_test_cases/p03806/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75ff3ea9dc197e9530e6541f49838e7095386b5b
--- /dev/null
+++ b/public_test_cases/p03806/input.2.txt
@@ -0,0 +1,4 @@
+3 1 1
+1 2 1
+2 1 2
+3 3 10
diff --git a/public_test_cases/p03806/output.0.txt b/public_test_cases/p03806/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03806/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03806/output.1.txt b/public_test_cases/p03806/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03806/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03806/output.2.txt b/public_test_cases/p03806/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03806/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03807/input.0.txt b/public_test_cases/p03807/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03807/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03807/input.1.txt b/public_test_cases/p03807/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p03807/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p03807/input.2.txt b/public_test_cases/p03807/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03807/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03807/output.0.txt b/public_test_cases/p03807/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03807/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03807/output.1.txt b/public_test_cases/p03807/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03807/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03807/output.2.txt b/public_test_cases/p03807/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03807/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03808/input.0.txt b/public_test_cases/p03808/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abfa1c28b3970b0d8d77df8a44de1e8872e6a9fb
--- /dev/null
+++ b/public_test_cases/p03808/input.0.txt
@@ -0,0 +1,2 @@
+5
+4 5 1 2 3
diff --git a/public_test_cases/p03808/input.1.txt b/public_test_cases/p03808/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d0ebc780dd26aa0fa06ac11c00c419583dce160c
--- /dev/null
+++ b/public_test_cases/p03808/input.1.txt
@@ -0,0 +1,2 @@
+4
+1 2 3 1
diff --git a/public_test_cases/p03808/input.2.txt b/public_test_cases/p03808/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd3e7a6d733d9190a8981ccd1b4d0d2649dbaab7
--- /dev/null
+++ b/public_test_cases/p03808/input.2.txt
@@ -0,0 +1,2 @@
+5
+6 9 12 10 8
diff --git a/public_test_cases/p03808/input.3.txt b/public_test_cases/p03808/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abfa1c28b3970b0d8d77df8a44de1e8872e6a9fb
--- /dev/null
+++ b/public_test_cases/p03808/input.3.txt
@@ -0,0 +1,2 @@
+5
+4 5 1 2 3
diff --git a/public_test_cases/p03808/output.0.txt b/public_test_cases/p03808/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03808/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03808/output.1.txt b/public_test_cases/p03808/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03808/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03808/output.2.txt b/public_test_cases/p03808/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03808/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03808/output.3.txt b/public_test_cases/p03808/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03808/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03809/input.0.txt b/public_test_cases/p03809/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ade5c99d8b017c82759a5005cc201c4ba178484c
--- /dev/null
+++ b/public_test_cases/p03809/input.0.txt
@@ -0,0 +1,6 @@
+5
+1 2 1 1 2
+2 4
+5 2
+3 2
+1 3
diff --git a/public_test_cases/p03809/input.1.txt b/public_test_cases/p03809/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e59cbd81b6b5cec5e46705f66963f3c2a3ab9ceb
--- /dev/null
+++ b/public_test_cases/p03809/input.1.txt
@@ -0,0 +1,7 @@
+6
+3 2 2 2 2 2
+1 2
+2 3
+1 4
+1 5
+4 6
diff --git a/public_test_cases/p03809/input.2.txt b/public_test_cases/p03809/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ade5c99d8b017c82759a5005cc201c4ba178484c
--- /dev/null
+++ b/public_test_cases/p03809/input.2.txt
@@ -0,0 +1,6 @@
+5
+1 2 1 1 2
+2 4
+5 2
+3 2
+1 3
diff --git a/public_test_cases/p03809/input.3.txt b/public_test_cases/p03809/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..38205e0b9319c256d50c6d19be05f078624e51bf
--- /dev/null
+++ b/public_test_cases/p03809/input.3.txt
@@ -0,0 +1,4 @@
+3
+1 2 1
+1 2
+2 3
diff --git a/public_test_cases/p03809/output.0.txt b/public_test_cases/p03809/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03809/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03809/output.1.txt b/public_test_cases/p03809/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03809/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03809/output.2.txt b/public_test_cases/p03809/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03809/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03809/output.3.txt b/public_test_cases/p03809/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03809/output.3.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03810/input.0.txt b/public_test_cases/p03810/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..216b4c7f179156d414a09f166a9931721b598cf5
--- /dev/null
+++ b/public_test_cases/p03810/input.0.txt
@@ -0,0 +1,2 @@
+3
+3 6 7
diff --git a/public_test_cases/p03810/input.1.txt b/public_test_cases/p03810/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..216b4c7f179156d414a09f166a9931721b598cf5
--- /dev/null
+++ b/public_test_cases/p03810/input.1.txt
@@ -0,0 +1,2 @@
+3
+3 6 7
diff --git a/public_test_cases/p03810/input.2.txt b/public_test_cases/p03810/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fcd4007f47f8446e2d03da988c565e8a99c2bd86
--- /dev/null
+++ b/public_test_cases/p03810/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 2 4 8
diff --git a/public_test_cases/p03810/input.3.txt b/public_test_cases/p03810/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2dcb0c32309c81a4ab24422f10da771c509c0947
--- /dev/null
+++ b/public_test_cases/p03810/input.3.txt
@@ -0,0 +1,2 @@
+5
+7 8 8 8 8
diff --git a/public_test_cases/p03810/output.0.txt b/public_test_cases/p03810/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03810/output.0.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03810/output.1.txt b/public_test_cases/p03810/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03810/output.1.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03810/output.2.txt b/public_test_cases/p03810/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03810/output.2.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03810/output.3.txt b/public_test_cases/p03810/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p03810/output.3.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p03811/input.0.txt b/public_test_cases/p03811/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p03811/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p03811/input.1.txt b/public_test_cases/p03811/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1df2e0620468b317111218135743816ca3eda604
--- /dev/null
+++ b/public_test_cases/p03811/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 4 5
diff --git a/public_test_cases/p03811/input.2.txt b/public_test_cases/p03811/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e7844f0340e07a18cc27010c97975502576e5f0
--- /dev/null
+++ b/public_test_cases/p03811/input.2.txt
@@ -0,0 +1,2 @@
+4
+2 3 4 6
diff --git a/public_test_cases/p03811/output.0.txt b/public_test_cases/p03811/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b537cd78d2ef1f5a9a9c1bf1027f6a789b4146
--- /dev/null
+++ b/public_test_cases/p03811/output.0.txt
@@ -0,0 +1 @@
+5 3 2 4 1
diff --git a/public_test_cases/p03811/output.1.txt b/public_test_cases/p03811/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3b537cd78d2ef1f5a9a9c1bf1027f6a789b4146
--- /dev/null
+++ b/public_test_cases/p03811/output.1.txt
@@ -0,0 +1 @@
+5 3 2 4 1
diff --git a/public_test_cases/p03811/output.2.txt b/public_test_cases/p03811/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17bddc75d8d5af49530deddbe3242bb1fef8acee
--- /dev/null
+++ b/public_test_cases/p03811/output.2.txt
@@ -0,0 +1 @@
+2 4 6 3
diff --git a/public_test_cases/p03812/input.0.txt b/public_test_cases/p03812/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..356a32ff569debbc9616ed0ce12649f4dfa1f84c
--- /dev/null
+++ b/public_test_cases/p03812/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 2 3
+1 2
+2 3
diff --git a/public_test_cases/p03812/input.1.txt b/public_test_cases/p03812/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..356a32ff569debbc9616ed0ce12649f4dfa1f84c
--- /dev/null
+++ b/public_test_cases/p03812/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 2 3
+1 2
+2 3
diff --git a/public_test_cases/p03812/input.2.txt b/public_test_cases/p03812/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9640487f5fd4e1a08ad27bd7fa8e6043af88299
--- /dev/null
+++ b/public_test_cases/p03812/input.2.txt
@@ -0,0 +1,6 @@
+5
+5 4 1 2 3
+1 2
+1 3
+2 4
+2 5
diff --git a/public_test_cases/p03812/input.3.txt b/public_test_cases/p03812/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5e734a4337cc4680121a9f33a8b38d38dfd9475
--- /dev/null
+++ b/public_test_cases/p03812/input.3.txt
@@ -0,0 +1,4 @@
+3
+1 1 1
+1 2
+2 3
diff --git a/public_test_cases/p03812/output.0.txt b/public_test_cases/p03812/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03812/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03812/output.1.txt b/public_test_cases/p03812/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03812/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03812/output.2.txt b/public_test_cases/p03812/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d04f961a037117c1eaa69ac60eb363d37ae78d1
--- /dev/null
+++ b/public_test_cases/p03812/output.2.txt
@@ -0,0 +1 @@
+1 2
diff --git a/public_test_cases/p03812/output.3.txt b/public_test_cases/p03812/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p03812/output.3.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p03813/input.0.txt b/public_test_cases/p03813/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p03813/input.0.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p03813/input.1.txt b/public_test_cases/p03813/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p03813/input.1.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p03813/input.2.txt b/public_test_cases/p03813/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd1af11bf283704974791862e5f3b3bd5e411aa
--- /dev/null
+++ b/public_test_cases/p03813/input.2.txt
@@ -0,0 +1 @@
+2000
diff --git a/public_test_cases/p03813/output.0.txt b/public_test_cases/p03813/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03813/output.0.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03813/output.1.txt b/public_test_cases/p03813/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03813/output.1.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03813/output.2.txt b/public_test_cases/p03813/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c4fba4f9ae03ed0aeddbb3fe0ff90f5684e90bb
--- /dev/null
+++ b/public_test_cases/p03813/output.2.txt
@@ -0,0 +1 @@
+ARC
diff --git a/public_test_cases/p03814/input.0.txt b/public_test_cases/p03814/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bea3a90a6011a5f41ab75fc9e4478c37c6b4c631
--- /dev/null
+++ b/public_test_cases/p03814/input.0.txt
@@ -0,0 +1 @@
+QWERTYASDFZXCV
diff --git a/public_test_cases/p03814/input.1.txt b/public_test_cases/p03814/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1a8bde7d7a6ed819f488aba7deb8d0fe3c592486
--- /dev/null
+++ b/public_test_cases/p03814/input.1.txt
@@ -0,0 +1 @@
+HASFJGHOGAKZZFEGA
diff --git a/public_test_cases/p03814/input.2.txt b/public_test_cases/p03814/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..189fc1fb8eaf6a88c3a7a37c2719f75d316552ef
--- /dev/null
+++ b/public_test_cases/p03814/input.2.txt
@@ -0,0 +1 @@
+ZABCZ
diff --git a/public_test_cases/p03814/input.3.txt b/public_test_cases/p03814/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bea3a90a6011a5f41ab75fc9e4478c37c6b4c631
--- /dev/null
+++ b/public_test_cases/p03814/input.3.txt
@@ -0,0 +1 @@
+QWERTYASDFZXCV
diff --git a/public_test_cases/p03814/output.0.txt b/public_test_cases/p03814/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03814/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03814/output.1.txt b/public_test_cases/p03814/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03814/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03814/output.2.txt b/public_test_cases/p03814/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03814/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03814/output.3.txt b/public_test_cases/p03814/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03814/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03815/input.0.txt b/public_test_cases/p03815/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03815/input.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03815/input.1.txt b/public_test_cases/p03815/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03815/input.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03815/input.2.txt b/public_test_cases/p03815/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..15bd0a83b3ec19eec24260c40bfbce16fc391375
--- /dev/null
+++ b/public_test_cases/p03815/input.2.txt
@@ -0,0 +1 @@
+149696127901
diff --git a/public_test_cases/p03815/output.0.txt b/public_test_cases/p03815/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03815/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03815/output.1.txt b/public_test_cases/p03815/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03815/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03815/output.2.txt b/public_test_cases/p03815/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94a0b81f9c8eb98e30194b2906d8cc5bb9500b79
--- /dev/null
+++ b/public_test_cases/p03815/output.2.txt
@@ -0,0 +1 @@
+27217477801
diff --git a/public_test_cases/p03816/input.0.txt b/public_test_cases/p03816/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e15dcf15767d3e289c2fbbb080fb8a0c7c6b4cad
--- /dev/null
+++ b/public_test_cases/p03816/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 1 3 7
diff --git a/public_test_cases/p03816/input.1.txt b/public_test_cases/p03816/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e15dcf15767d3e289c2fbbb080fb8a0c7c6b4cad
--- /dev/null
+++ b/public_test_cases/p03816/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 2 1 3 7
diff --git a/public_test_cases/p03816/input.2.txt b/public_test_cases/p03816/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce48eee6e8d4c5b97032f63070486b4c200705fb
--- /dev/null
+++ b/public_test_cases/p03816/input.2.txt
@@ -0,0 +1,2 @@
+15
+1 3 5 2 1 3 2 8 8 6 2 6 11 1 1
diff --git a/public_test_cases/p03816/output.0.txt b/public_test_cases/p03816/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03816/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03816/output.1.txt b/public_test_cases/p03816/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03816/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03816/output.2.txt b/public_test_cases/p03816/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03816/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03817/input.0.txt b/public_test_cases/p03817/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03817/input.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03817/output.0.txt b/public_test_cases/p03817/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03817/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03818/input.0.txt b/public_test_cases/p03818/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e15dcf15767d3e289c2fbbb080fb8a0c7c6b4cad
--- /dev/null
+++ b/public_test_cases/p03818/input.0.txt
@@ -0,0 +1,2 @@
+5
+1 2 1 3 7
diff --git a/public_test_cases/p03818/output.0.txt b/public_test_cases/p03818/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03818/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03819/input.0.txt b/public_test_cases/p03819/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81dc078edb9905d11622ae49f48fb1d6a504dfac
--- /dev/null
+++ b/public_test_cases/p03819/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 3
diff --git a/public_test_cases/p03819/input.1.txt b/public_test_cases/p03819/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81dc078edb9905d11622ae49f48fb1d6a504dfac
--- /dev/null
+++ b/public_test_cases/p03819/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+3 3
diff --git a/public_test_cases/p03819/input.2.txt b/public_test_cases/p03819/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..193c57de0b1cd38ec20766a245b02c7346fc5d0f
--- /dev/null
+++ b/public_test_cases/p03819/input.2.txt
@@ -0,0 +1,8 @@
+7 9
+1 7
+5 9
+5 7
+5 9
+1 1
+6 8
+3 4
diff --git a/public_test_cases/p03819/output.0.txt b/public_test_cases/p03819/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3cb04507b740b492d5c49c55e8ac5dc39be987f
--- /dev/null
+++ b/public_test_cases/p03819/output.0.txt
@@ -0,0 +1,3 @@
+3
+2
+2
diff --git a/public_test_cases/p03819/output.1.txt b/public_test_cases/p03819/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3cb04507b740b492d5c49c55e8ac5dc39be987f
--- /dev/null
+++ b/public_test_cases/p03819/output.1.txt
@@ -0,0 +1,3 @@
+3
+2
+2
diff --git a/public_test_cases/p03819/output.2.txt b/public_test_cases/p03819/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..661d975cbd45c856b42855c8de30a16e6d07149d
--- /dev/null
+++ b/public_test_cases/p03819/output.2.txt
@@ -0,0 +1,9 @@
+7
+6
+6
+5
+4
+5
+5
+3
+2
diff --git a/public_test_cases/p03820/input.0.txt b/public_test_cases/p03820/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03820/input.0.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03820/input.1.txt b/public_test_cases/p03820/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03820/input.1.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03820/input.2.txt b/public_test_cases/p03820/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb86a82c765bc3b22eb61b4c1dd47bb6a42664ba
--- /dev/null
+++ b/public_test_cases/p03820/input.2.txt
@@ -0,0 +1 @@
+2000 1000
diff --git a/public_test_cases/p03820/input.3.txt b/public_test_cases/p03820/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cadffb8e8d10ec5f03f54e69e12f802858e17987
--- /dev/null
+++ b/public_test_cases/p03820/input.3.txt
@@ -0,0 +1 @@
+17 2
diff --git a/public_test_cases/p03820/output.0.txt b/public_test_cases/p03820/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03820/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03820/output.1.txt b/public_test_cases/p03820/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03820/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03820/output.2.txt b/public_test_cases/p03820/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84c68dd763e3e2b93cff03dd3d422aa0c447e0c7
--- /dev/null
+++ b/public_test_cases/p03820/output.2.txt
@@ -0,0 +1 @@
+674286644
diff --git a/public_test_cases/p03820/output.3.txt b/public_test_cases/p03820/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d14dfebef3a698d7edf184b1e725661d3019ae21
--- /dev/null
+++ b/public_test_cases/p03820/output.3.txt
@@ -0,0 +1 @@
+262144
diff --git a/public_test_cases/p03821/input.0.txt b/public_test_cases/p03821/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bd2310285374395ee46e9d82c25c6a51152a039
--- /dev/null
+++ b/public_test_cases/p03821/input.0.txt
@@ -0,0 +1,4 @@
+3
+3 5
+2 7
+9 4
diff --git a/public_test_cases/p03821/input.1.txt b/public_test_cases/p03821/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb6fd3568cc71fda539a55f3fde8379a39ed5c9f
--- /dev/null
+++ b/public_test_cases/p03821/input.1.txt
@@ -0,0 +1,8 @@
+7
+3 1
+4 1
+5 9
+2 6
+5 3
+5 8
+9 7
diff --git a/public_test_cases/p03821/input.2.txt b/public_test_cases/p03821/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bd2310285374395ee46e9d82c25c6a51152a039
--- /dev/null
+++ b/public_test_cases/p03821/input.2.txt
@@ -0,0 +1,4 @@
+3
+3 5
+2 7
+9 4
diff --git a/public_test_cases/p03821/output.0.txt b/public_test_cases/p03821/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03821/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03821/output.1.txt b/public_test_cases/p03821/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03821/output.1.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03821/output.2.txt b/public_test_cases/p03821/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03821/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03822/input.0.txt b/public_test_cases/p03822/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0838f564f6db9592a7f42f6d916f776afacb371f
--- /dev/null
+++ b/public_test_cases/p03822/input.0.txt
@@ -0,0 +1,5 @@
+5
+1
+1
+2
+4
diff --git a/public_test_cases/p03822/input.1.txt b/public_test_cases/p03822/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82b1c82a77c740058891f68e4b0f0a7856082b42
--- /dev/null
+++ b/public_test_cases/p03822/input.1.txt
@@ -0,0 +1,7 @@
+7
+1
+2
+1
+3
+1
+4
diff --git a/public_test_cases/p03822/input.2.txt b/public_test_cases/p03822/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..186c1e94f6484e8728038ff0292b46a4d0d0514d
--- /dev/null
+++ b/public_test_cases/p03822/input.2.txt
@@ -0,0 +1,4 @@
+4
+4
+4
+1
diff --git a/public_test_cases/p03822/input.3.txt b/public_test_cases/p03822/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0838f564f6db9592a7f42f6d916f776afacb371f
--- /dev/null
+++ b/public_test_cases/p03822/input.3.txt
@@ -0,0 +1,5 @@
+5
+1
+1
+2
+4
diff --git a/public_test_cases/p03822/output.0.txt b/public_test_cases/p03822/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03822/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03822/output.1.txt b/public_test_cases/p03822/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03822/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03822/output.2.txt b/public_test_cases/p03822/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03822/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03822/output.3.txt b/public_test_cases/p03822/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03822/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03823/input.0.txt b/public_test_cases/p03823/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbe04094cbfd83f1c5338999462490ebba31a96c
--- /dev/null
+++ b/public_test_cases/p03823/input.0.txt
@@ -0,0 +1,6 @@
+5 3 7
+1
+3
+6
+9
+12
diff --git a/public_test_cases/p03823/input.1.txt b/public_test_cases/p03823/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbe04094cbfd83f1c5338999462490ebba31a96c
--- /dev/null
+++ b/public_test_cases/p03823/input.1.txt
@@ -0,0 +1,6 @@
+5 3 7
+1
+3
+6
+9
+12
diff --git a/public_test_cases/p03823/input.2.txt b/public_test_cases/p03823/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c4acd6eaba63ec88bd833d32c75a6897ab02aa9a
--- /dev/null
+++ b/public_test_cases/p03823/input.2.txt
@@ -0,0 +1,4 @@
+3 3 4
+5
+6
+7
diff --git a/public_test_cases/p03823/input.3.txt b/public_test_cases/p03823/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c753ce4a07bb6e10221a5c3b5fd7326c74b0dde2
--- /dev/null
+++ b/public_test_cases/p03823/input.3.txt
@@ -0,0 +1,9 @@
+8 2 9
+3
+4
+5
+13
+15
+22
+26
+32
diff --git a/public_test_cases/p03823/input.4.txt b/public_test_cases/p03823/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd63aa7e229c037744123ca4fa4da8c18fc76a9d
--- /dev/null
+++ b/public_test_cases/p03823/input.4.txt
@@ -0,0 +1,8 @@
+7 5 3
+0
+2
+4
+7
+8
+11
+15
diff --git a/public_test_cases/p03823/output.0.txt b/public_test_cases/p03823/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03823/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03823/output.1.txt b/public_test_cases/p03823/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03823/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03823/output.2.txt b/public_test_cases/p03823/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03823/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03823/output.3.txt b/public_test_cases/p03823/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03823/output.3.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03823/output.4.txt b/public_test_cases/p03823/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03823/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03824/input.0.txt b/public_test_cases/p03824/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01f00984864abf869efeddebb71572dc8662c535
--- /dev/null
+++ b/public_test_cases/p03824/input.0.txt
@@ -0,0 +1,7 @@
+7
+1 2
+2 3
+2 4
+4 6
+6 7
+7 5
diff --git a/public_test_cases/p03824/input.1.txt b/public_test_cases/p03824/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef740b4a7b874134cd94038acfd624de05f51f4d
--- /dev/null
+++ b/public_test_cases/p03824/input.1.txt
@@ -0,0 +1,12 @@
+12
+1 2
+2 3
+2 4
+4 5
+5 6
+6 7
+7 8
+5 9
+9 10
+10 11
+11 12
diff --git a/public_test_cases/p03824/input.2.txt b/public_test_cases/p03824/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01f00984864abf869efeddebb71572dc8662c535
--- /dev/null
+++ b/public_test_cases/p03824/input.2.txt
@@ -0,0 +1,7 @@
+7
+1 2
+2 3
+2 4
+4 6
+6 7
+7 5
diff --git a/public_test_cases/p03824/output.0.txt b/public_test_cases/p03824/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03824/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03824/output.1.txt b/public_test_cases/p03824/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03824/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03824/output.2.txt b/public_test_cases/p03824/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03824/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03825/input.0.txt b/public_test_cases/p03825/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p03825/input.0.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p03825/input.1.txt b/public_test_cases/p03825/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7fc9bc7c08ff3aee2d1ec7caabcb461fa6a72730
--- /dev/null
+++ b/public_test_cases/p03825/input.1.txt
@@ -0,0 +1 @@
+2 2 2
diff --git a/public_test_cases/p03825/input.2.txt b/public_test_cases/p03825/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8089c073cd289a816777b879b923b3890ba96d0a
--- /dev/null
+++ b/public_test_cases/p03825/input.2.txt
@@ -0,0 +1 @@
+3 4 3
diff --git a/public_test_cases/p03825/input.3.txt b/public_test_cases/p03825/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..933614b46dcd135fe14ed0c8978a7ff73fa07291
--- /dev/null
+++ b/public_test_cases/p03825/input.3.txt
@@ -0,0 +1 @@
+150 150 14
diff --git a/public_test_cases/p03825/output.0.txt b/public_test_cases/p03825/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03825/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03825/output.1.txt b/public_test_cases/p03825/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03825/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03825/output.2.txt b/public_test_cases/p03825/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03825/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03825/output.3.txt b/public_test_cases/p03825/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f432bc9fce1bb3f91ee083630780a8cb4321f7c3
--- /dev/null
+++ b/public_test_cases/p03825/output.3.txt
@@ -0,0 +1 @@
+937426930
diff --git a/public_test_cases/p03826/input.0.txt b/public_test_cases/p03826/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42fc78be573b6deb96423cc7ac3eb75621090c9e
--- /dev/null
+++ b/public_test_cases/p03826/input.0.txt
@@ -0,0 +1 @@
+3 5 2 7
diff --git a/public_test_cases/p03826/input.1.txt b/public_test_cases/p03826/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddd25442873b1a7708854b2f38e045bfa94c63c4
--- /dev/null
+++ b/public_test_cases/p03826/input.1.txt
@@ -0,0 +1 @@
+100 600 200 300
diff --git a/public_test_cases/p03826/input.2.txt b/public_test_cases/p03826/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..42fc78be573b6deb96423cc7ac3eb75621090c9e
--- /dev/null
+++ b/public_test_cases/p03826/input.2.txt
@@ -0,0 +1 @@
+3 5 2 7
diff --git a/public_test_cases/p03826/output.0.txt b/public_test_cases/p03826/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03826/output.0.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03826/output.1.txt b/public_test_cases/p03826/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..541b3a18e90c9006fa0e9b52b8b9236d1bca5056
--- /dev/null
+++ b/public_test_cases/p03826/output.1.txt
@@ -0,0 +1 @@
+60000
diff --git a/public_test_cases/p03826/output.2.txt b/public_test_cases/p03826/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03826/output.2.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03827/input.0.txt b/public_test_cases/p03827/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6ae927c678ae229610511d223b91a7ab500914c
--- /dev/null
+++ b/public_test_cases/p03827/input.0.txt
@@ -0,0 +1,2 @@
+5
+IIDID
diff --git a/public_test_cases/p03827/input.1.txt b/public_test_cases/p03827/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6ae927c678ae229610511d223b91a7ab500914c
--- /dev/null
+++ b/public_test_cases/p03827/input.1.txt
@@ -0,0 +1,2 @@
+5
+IIDID
diff --git a/public_test_cases/p03827/input.2.txt b/public_test_cases/p03827/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6793fd1f5df0c46004f8fa48b4528c8b77cbf94d
--- /dev/null
+++ b/public_test_cases/p03827/input.2.txt
@@ -0,0 +1,2 @@
+7
+DDIDDII
diff --git a/public_test_cases/p03827/output.0.txt b/public_test_cases/p03827/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03827/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03827/output.1.txt b/public_test_cases/p03827/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03827/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03827/output.2.txt b/public_test_cases/p03827/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03827/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03828/input.0.txt b/public_test_cases/p03828/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03828/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03828/input.1.txt b/public_test_cases/p03828/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03828/input.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03828/input.2.txt b/public_test_cases/p03828/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03828/input.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03828/input.3.txt b/public_test_cases/p03828/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..83b33d238dab9943201aaf267f701e8ea5fc9268
--- /dev/null
+++ b/public_test_cases/p03828/input.3.txt
@@ -0,0 +1 @@
+1000
diff --git a/public_test_cases/p03828/output.0.txt b/public_test_cases/p03828/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03828/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03828/output.1.txt b/public_test_cases/p03828/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64bb6b746dceaf12b0ba8c08f310b0426babde44
--- /dev/null
+++ b/public_test_cases/p03828/output.1.txt
@@ -0,0 +1 @@
+30
diff --git a/public_test_cases/p03828/output.2.txt b/public_test_cases/p03828/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03828/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03828/output.3.txt b/public_test_cases/p03828/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..854c6b736acc80434bc7087a6234710a29d54b4d
--- /dev/null
+++ b/public_test_cases/p03828/output.3.txt
@@ -0,0 +1 @@
+972926972
diff --git a/public_test_cases/p03829/input.0.txt b/public_test_cases/p03829/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec9287fd8f88bded8a6af3a216946ea350f01926
--- /dev/null
+++ b/public_test_cases/p03829/input.0.txt
@@ -0,0 +1,2 @@
+4 2 5
+1 2 5 7
diff --git a/public_test_cases/p03829/input.1.txt b/public_test_cases/p03829/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93ebf07b93179b90f580257f1ff43572dfdcff73
--- /dev/null
+++ b/public_test_cases/p03829/input.1.txt
@@ -0,0 +1,2 @@
+7 1 100
+40 43 45 105 108 115 124
diff --git a/public_test_cases/p03829/input.2.txt b/public_test_cases/p03829/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3984854dc20bbfb203d84099259cc6200d7082e6
--- /dev/null
+++ b/public_test_cases/p03829/input.2.txt
@@ -0,0 +1,2 @@
+7 1 2
+24 35 40 68 72 99 103
diff --git a/public_test_cases/p03829/input.3.txt b/public_test_cases/p03829/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec9287fd8f88bded8a6af3a216946ea350f01926
--- /dev/null
+++ b/public_test_cases/p03829/input.3.txt
@@ -0,0 +1,2 @@
+4 2 5
+1 2 5 7
diff --git a/public_test_cases/p03829/output.0.txt b/public_test_cases/p03829/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03829/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03829/output.1.txt b/public_test_cases/p03829/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..871727de1fd703d0c4aab92017011c373e795b67
--- /dev/null
+++ b/public_test_cases/p03829/output.1.txt
@@ -0,0 +1 @@
+84
diff --git a/public_test_cases/p03829/output.2.txt b/public_test_cases/p03829/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03829/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03829/output.3.txt b/public_test_cases/p03829/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03829/output.3.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03830/input.0.txt b/public_test_cases/p03830/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03830/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03830/output.0.txt b/public_test_cases/p03830/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03830/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03831/input.0.txt b/public_test_cases/p03831/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec9287fd8f88bded8a6af3a216946ea350f01926
--- /dev/null
+++ b/public_test_cases/p03831/input.0.txt
@@ -0,0 +1,2 @@
+4 2 5
+1 2 5 7
diff --git a/public_test_cases/p03831/output.0.txt b/public_test_cases/p03831/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03831/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03832/input.0.txt b/public_test_cases/p03832/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..511f25706dbec658f9a2c87017ef6a12d23af010
--- /dev/null
+++ b/public_test_cases/p03832/input.0.txt
@@ -0,0 +1 @@
+3 1 3 1 2
diff --git a/public_test_cases/p03832/input.1.txt b/public_test_cases/p03832/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8597a9ff905883c7720da81f25cc59df8e4c9d15
--- /dev/null
+++ b/public_test_cases/p03832/input.1.txt
@@ -0,0 +1 @@
+10 3 4 2 5
diff --git a/public_test_cases/p03832/input.2.txt b/public_test_cases/p03832/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8058950bc7373698f7314c71893cb054dc86aa5
--- /dev/null
+++ b/public_test_cases/p03832/input.2.txt
@@ -0,0 +1 @@
+7 2 3 1 3
diff --git a/public_test_cases/p03832/input.3.txt b/public_test_cases/p03832/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b065a35eb25cd602129788d951a4a24b2b2581d
--- /dev/null
+++ b/public_test_cases/p03832/input.3.txt
@@ -0,0 +1 @@
+1000 1 1000 1 1000
diff --git a/public_test_cases/p03832/input.4.txt b/public_test_cases/p03832/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..511f25706dbec658f9a2c87017ef6a12d23af010
--- /dev/null
+++ b/public_test_cases/p03832/input.4.txt
@@ -0,0 +1 @@
+3 1 3 1 2
diff --git a/public_test_cases/p03832/output.0.txt b/public_test_cases/p03832/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03832/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03832/output.1.txt b/public_test_cases/p03832/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03832/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03832/output.2.txt b/public_test_cases/p03832/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f96ac06721837aa6a644a580c03c76f304e81db0
--- /dev/null
+++ b/public_test_cases/p03832/output.2.txt
@@ -0,0 +1 @@
+105
diff --git a/public_test_cases/p03832/output.3.txt b/public_test_cases/p03832/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc39aea3d66951242164bae6972e1c63a41f2845
--- /dev/null
+++ b/public_test_cases/p03832/output.3.txt
@@ -0,0 +1 @@
+465231251
diff --git a/public_test_cases/p03832/output.4.txt b/public_test_cases/p03832/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03832/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03833/input.0.txt b/public_test_cases/p03833/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..836ceb477616a8e7ee820ce8f89dee4a9c4947a1
--- /dev/null
+++ b/public_test_cases/p03833/input.0.txt
@@ -0,0 +1,5 @@
+3 4
+1 4
+2 2 5 1
+1 3 3 2
+2 2 5 1
diff --git a/public_test_cases/p03833/input.1.txt b/public_test_cases/p03833/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..836ceb477616a8e7ee820ce8f89dee4a9c4947a1
--- /dev/null
+++ b/public_test_cases/p03833/input.1.txt
@@ -0,0 +1,5 @@
+3 4
+1 4
+2 2 5 1
+1 3 3 2
+2 2 5 1
diff --git a/public_test_cases/p03833/input.2.txt b/public_test_cases/p03833/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f20f0f62570b075a5f58643975e785ed901dbb9
--- /dev/null
+++ b/public_test_cases/p03833/input.2.txt
@@ -0,0 +1,7 @@
+5 3
+1 2 3 4
+10 1 1
+1 1 1
+1 10 1
+1 1 1
+1 1 10
diff --git a/public_test_cases/p03833/output.0.txt b/public_test_cases/p03833/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03833/output.0.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03833/output.1.txt b/public_test_cases/p03833/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03833/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03833/output.2.txt b/public_test_cases/p03833/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03833/output.2.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03834/input.0.txt b/public_test_cases/p03834/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d588731d35a7ee695f0c93221fd6b039404eef6
--- /dev/null
+++ b/public_test_cases/p03834/input.0.txt
@@ -0,0 +1 @@
+happy,newyear,enjoy
diff --git a/public_test_cases/p03834/input.1.txt b/public_test_cases/p03834/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afb694cf99032f48d5ecf234bba7eaf28df42e58
--- /dev/null
+++ b/public_test_cases/p03834/input.1.txt
@@ -0,0 +1 @@
+haiku,atcoder,tasks
diff --git a/public_test_cases/p03834/input.2.txt b/public_test_cases/p03834/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5754294aff7cd7d324da46de3a2e237227ef1fc8
--- /dev/null
+++ b/public_test_cases/p03834/input.2.txt
@@ -0,0 +1 @@
+abcde,fghihgf,edcba
diff --git a/public_test_cases/p03834/input.3.txt b/public_test_cases/p03834/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d588731d35a7ee695f0c93221fd6b039404eef6
--- /dev/null
+++ b/public_test_cases/p03834/input.3.txt
@@ -0,0 +1 @@
+happy,newyear,enjoy
diff --git a/public_test_cases/p03834/output.0.txt b/public_test_cases/p03834/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..541eb1f7dee049d70f5354d0f7bed7756b565f44
--- /dev/null
+++ b/public_test_cases/p03834/output.0.txt
@@ -0,0 +1 @@
+happy newyear enjoy
diff --git a/public_test_cases/p03834/output.1.txt b/public_test_cases/p03834/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31e5a9a76a062f0b6309a5a9aa52b6c2abafa651
--- /dev/null
+++ b/public_test_cases/p03834/output.1.txt
@@ -0,0 +1 @@
+haiku atcoder tasks
diff --git a/public_test_cases/p03834/output.2.txt b/public_test_cases/p03834/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..582d223b52f9b0415d665ad79f6308567824adb0
--- /dev/null
+++ b/public_test_cases/p03834/output.2.txt
@@ -0,0 +1 @@
+abcde fghihgf edcba
diff --git a/public_test_cases/p03834/output.3.txt b/public_test_cases/p03834/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..541eb1f7dee049d70f5354d0f7bed7756b565f44
--- /dev/null
+++ b/public_test_cases/p03834/output.3.txt
@@ -0,0 +1 @@
+happy newyear enjoy
diff --git a/public_test_cases/p03835/input.0.txt b/public_test_cases/p03835/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03835/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03835/input.1.txt b/public_test_cases/p03835/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03835/input.1.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03835/input.2.txt b/public_test_cases/p03835/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbe3ea5b86370ce67269e77cbecb35dd75efddb5
--- /dev/null
+++ b/public_test_cases/p03835/input.2.txt
@@ -0,0 +1 @@
+5 15
diff --git a/public_test_cases/p03835/output.0.txt b/public_test_cases/p03835/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03835/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03835/output.1.txt b/public_test_cases/p03835/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03835/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03835/output.2.txt b/public_test_cases/p03835/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03835/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03836/input.0.txt b/public_test_cases/p03836/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4eb9384c376593f1ebc15b8475e38e20ba9e7d82
--- /dev/null
+++ b/public_test_cases/p03836/input.0.txt
@@ -0,0 +1 @@
+0 0 1 2
diff --git a/public_test_cases/p03836/input.1.txt b/public_test_cases/p03836/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4eb9384c376593f1ebc15b8475e38e20ba9e7d82
--- /dev/null
+++ b/public_test_cases/p03836/input.1.txt
@@ -0,0 +1 @@
+0 0 1 2
diff --git a/public_test_cases/p03836/input.2.txt b/public_test_cases/p03836/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f17315e57611c7478d7070b1f2c3a5439a880856
--- /dev/null
+++ b/public_test_cases/p03836/input.2.txt
@@ -0,0 +1 @@
+-2 -2 1 1
diff --git a/public_test_cases/p03836/output.0.txt b/public_test_cases/p03836/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab0a49f8c6e3242c131475b55f1c839f4d8249b1
--- /dev/null
+++ b/public_test_cases/p03836/output.0.txt
@@ -0,0 +1 @@
+UURDDLLUUURRDRDDDLLU
diff --git a/public_test_cases/p03836/output.1.txt b/public_test_cases/p03836/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab0a49f8c6e3242c131475b55f1c839f4d8249b1
--- /dev/null
+++ b/public_test_cases/p03836/output.1.txt
@@ -0,0 +1 @@
+UURDDLLUUURRDRDDDLLU
diff --git a/public_test_cases/p03836/output.2.txt b/public_test_cases/p03836/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..06400727b4414be7bdab999b52b723b11852369c
--- /dev/null
+++ b/public_test_cases/p03836/output.2.txt
@@ -0,0 +1 @@
+UURRURRDDDLLDLLULUUURRURRDDDLLDL
diff --git a/public_test_cases/p03837/input.0.txt b/public_test_cases/p03837/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b1c1b6434f5a8cdd1d3fa24ffd4040f47628c82
--- /dev/null
+++ b/public_test_cases/p03837/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+1 3 1
+2 3 3
diff --git a/public_test_cases/p03837/input.1.txt b/public_test_cases/p03837/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b1c1b6434f5a8cdd1d3fa24ffd4040f47628c82
--- /dev/null
+++ b/public_test_cases/p03837/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+1 3 1
+2 3 3
diff --git a/public_test_cases/p03837/input.2.txt b/public_test_cases/p03837/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f97b6d0a4e33a8a78de03c96e3f5c08bea29277
--- /dev/null
+++ b/public_test_cases/p03837/input.2.txt
@@ -0,0 +1,3 @@
+3 2
+1 2 1
+2 3 1
diff --git a/public_test_cases/p03837/output.0.txt b/public_test_cases/p03837/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03837/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03837/output.1.txt b/public_test_cases/p03837/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03837/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03837/output.2.txt b/public_test_cases/p03837/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03837/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03838/input.0.txt b/public_test_cases/p03838/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed40cec79baa7d9dbb01e18ad634edd038ad2259
--- /dev/null
+++ b/public_test_cases/p03838/input.0.txt
@@ -0,0 +1 @@
+10 20
diff --git a/public_test_cases/p03838/input.1.txt b/public_test_cases/p03838/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed40cec79baa7d9dbb01e18ad634edd038ad2259
--- /dev/null
+++ b/public_test_cases/p03838/input.1.txt
@@ -0,0 +1 @@
+10 20
diff --git a/public_test_cases/p03838/input.2.txt b/public_test_cases/p03838/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..572e9769f78a3ef168e96744987f9c8f8455ec82
--- /dev/null
+++ b/public_test_cases/p03838/input.2.txt
@@ -0,0 +1 @@
+-10 -20
diff --git a/public_test_cases/p03838/input.3.txt b/public_test_cases/p03838/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d05c00a7cf8b6dd00fb63f6574c7024d54244aed
--- /dev/null
+++ b/public_test_cases/p03838/input.3.txt
@@ -0,0 +1 @@
+10 -10
diff --git a/public_test_cases/p03838/output.0.txt b/public_test_cases/p03838/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03838/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03838/output.1.txt b/public_test_cases/p03838/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03838/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03838/output.2.txt b/public_test_cases/p03838/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03838/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03838/output.3.txt b/public_test_cases/p03838/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03838/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03839/input.0.txt b/public_test_cases/p03839/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caea71e089ce6652aaef30824996886b3614582b
--- /dev/null
+++ b/public_test_cases/p03839/input.0.txt
@@ -0,0 +1,2 @@
+5 3
+-10 10 -10 10 -10
diff --git a/public_test_cases/p03839/input.1.txt b/public_test_cases/p03839/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a71e27f5929811314fa3096dd73b55e262b1494
--- /dev/null
+++ b/public_test_cases/p03839/input.1.txt
@@ -0,0 +1,2 @@
+10 5
+5 -4 -5 -8 -4 7 2 -4 0 7
diff --git a/public_test_cases/p03839/input.2.txt b/public_test_cases/p03839/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b3d1dbe2626314ef18234751d62980157f1580a
--- /dev/null
+++ b/public_test_cases/p03839/input.2.txt
@@ -0,0 +1,2 @@
+1 1
+-10
diff --git a/public_test_cases/p03839/input.3.txt b/public_test_cases/p03839/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caea71e089ce6652aaef30824996886b3614582b
--- /dev/null
+++ b/public_test_cases/p03839/input.3.txt
@@ -0,0 +1,2 @@
+5 3
+-10 10 -10 10 -10
diff --git a/public_test_cases/p03839/input.4.txt b/public_test_cases/p03839/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..39b6ca23cf2f910551a52f11f0a97c0d398d4788
--- /dev/null
+++ b/public_test_cases/p03839/input.4.txt
@@ -0,0 +1,2 @@
+4 2
+10 -10 -10 10
diff --git a/public_test_cases/p03839/output.0.txt b/public_test_cases/p03839/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03839/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03839/output.1.txt b/public_test_cases/p03839/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p03839/output.1.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p03839/output.2.txt b/public_test_cases/p03839/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03839/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03839/output.3.txt b/public_test_cases/p03839/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03839/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03839/output.4.txt b/public_test_cases/p03839/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p03839/output.4.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p03840/input.0.txt b/public_test_cases/p03840/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7f7442e060fc5c3cf191f064e72e1eb86296329
--- /dev/null
+++ b/public_test_cases/p03840/input.0.txt
@@ -0,0 +1 @@
+2 1 1 0 0 0 0
diff --git a/public_test_cases/p03840/input.1.txt b/public_test_cases/p03840/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7f7442e060fc5c3cf191f064e72e1eb86296329
--- /dev/null
+++ b/public_test_cases/p03840/input.1.txt
@@ -0,0 +1 @@
+2 1 1 0 0 0 0
diff --git a/public_test_cases/p03840/input.2.txt b/public_test_cases/p03840/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b64a0839d9134fec2ebf53942a4d126efe914b7a
--- /dev/null
+++ b/public_test_cases/p03840/input.2.txt
@@ -0,0 +1 @@
+0 0 10 0 0 0 0
diff --git a/public_test_cases/p03840/output.0.txt b/public_test_cases/p03840/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03840/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03840/output.1.txt b/public_test_cases/p03840/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03840/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03840/output.2.txt b/public_test_cases/p03840/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03840/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03841/input.0.txt b/public_test_cases/p03841/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1baa7b470a455b95abdf1958aa75e97787d68e9b
--- /dev/null
+++ b/public_test_cases/p03841/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 5 9
diff --git a/public_test_cases/p03841/input.1.txt b/public_test_cases/p03841/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..97141bb503621432c473b985ea38b0632eb7271c
--- /dev/null
+++ b/public_test_cases/p03841/input.1.txt
@@ -0,0 +1,2 @@
+2
+4 1
diff --git a/public_test_cases/p03841/input.2.txt b/public_test_cases/p03841/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1baa7b470a455b95abdf1958aa75e97787d68e9b
--- /dev/null
+++ b/public_test_cases/p03841/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 5 9
diff --git a/public_test_cases/p03841/output.0.txt b/public_test_cases/p03841/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..335433a4d55eab728c0a8a84cf9b074fbd03c3ed
--- /dev/null
+++ b/public_test_cases/p03841/output.0.txt
@@ -0,0 +1,2 @@
+Yes
+1 1 1 2 2 2 3 3 3
diff --git a/public_test_cases/p03841/output.1.txt b/public_test_cases/p03841/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03841/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03841/output.2.txt b/public_test_cases/p03841/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..335433a4d55eab728c0a8a84cf9b074fbd03c3ed
--- /dev/null
+++ b/public_test_cases/p03841/output.2.txt
@@ -0,0 +1,2 @@
+Yes
+1 1 1 2 2 2 3 3 3
diff --git a/public_test_cases/p03842/input.0.txt b/public_test_cases/p03842/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03842/input.0.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03842/input.1.txt b/public_test_cases/p03842/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..811797a5438c685df3973fb0fb0d816b7750605b
--- /dev/null
+++ b/public_test_cases/p03842/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 1
diff --git a/public_test_cases/p03842/input.2.txt b/public_test_cases/p03842/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6d86050b0e039e215b0da8a93663a9bb6efd092a
--- /dev/null
+++ b/public_test_cases/p03842/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 1 1
diff --git a/public_test_cases/p03842/input.3.txt b/public_test_cases/p03842/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43b6a73891112a58649226dca9107ab1246e0cf7
--- /dev/null
+++ b/public_test_cases/p03842/input.3.txt
@@ -0,0 +1,2 @@
+3
+2 1 1
diff --git a/public_test_cases/p03842/input.4.txt b/public_test_cases/p03842/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p03842/input.4.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p03842/input.5.txt b/public_test_cases/p03842/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4dfda7c853d2249547065f503cced08b01058039
--- /dev/null
+++ b/public_test_cases/p03842/input.5.txt
@@ -0,0 +1,2 @@
+13
+2 1 4 3 6 7 5 9 10 8 8 9 11
diff --git a/public_test_cases/p03842/output.0.txt b/public_test_cases/p03842/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03842/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03842/output.1.txt b/public_test_cases/p03842/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03842/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03842/output.2.txt b/public_test_cases/p03842/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03842/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03842/output.3.txt b/public_test_cases/p03842/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03842/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03842/output.4.txt b/public_test_cases/p03842/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03842/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03842/output.5.txt b/public_test_cases/p03842/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03842/output.5.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03843/input.0.txt b/public_test_cases/p03843/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14f83ce419bbf2b867c10deccb822dcacf00cd53
--- /dev/null
+++ b/public_test_cases/p03843/input.0.txt
@@ -0,0 +1,5 @@
+4
+1 2
+1 3
+1 4
+1100
diff --git a/public_test_cases/p03843/input.1.txt b/public_test_cases/p03843/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14f83ce419bbf2b867c10deccb822dcacf00cd53
--- /dev/null
+++ b/public_test_cases/p03843/input.1.txt
@@ -0,0 +1,5 @@
+4
+1 2
+1 3
+1 4
+1100
diff --git a/public_test_cases/p03843/input.2.txt b/public_test_cases/p03843/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..338b4dc45bce5b750d9c59f7c1f298efefc481ec
--- /dev/null
+++ b/public_test_cases/p03843/input.2.txt
@@ -0,0 +1,6 @@
+5
+1 2
+1 3
+1 4
+4 5
+11111
diff --git a/public_test_cases/p03843/input.3.txt b/public_test_cases/p03843/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2d3ba26f781722dae27e2fdffd618cf74cce1fc
--- /dev/null
+++ b/public_test_cases/p03843/input.3.txt
@@ -0,0 +1,7 @@
+6
+1 2
+1 3
+1 4
+2 5
+2 6
+100011
diff --git a/public_test_cases/p03843/output.0.txt b/public_test_cases/p03843/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03843/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03843/output.1.txt b/public_test_cases/p03843/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03843/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03843/output.2.txt b/public_test_cases/p03843/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03843/output.2.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03843/output.3.txt b/public_test_cases/p03843/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03843/output.3.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03844/input.0.txt b/public_test_cases/p03844/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0ef5840209cba55095233da06d417f0c5ac7e00
--- /dev/null
+++ b/public_test_cases/p03844/input.0.txt
@@ -0,0 +1 @@
+1 + 2
diff --git a/public_test_cases/p03844/input.1.txt b/public_test_cases/p03844/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0ef5840209cba55095233da06d417f0c5ac7e00
--- /dev/null
+++ b/public_test_cases/p03844/input.1.txt
@@ -0,0 +1 @@
+1 + 2
diff --git a/public_test_cases/p03844/input.2.txt b/public_test_cases/p03844/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37303e210b8936f2d931acdcd2acec924b077fcb
--- /dev/null
+++ b/public_test_cases/p03844/input.2.txt
@@ -0,0 +1 @@
+5 - 7
diff --git a/public_test_cases/p03844/output.0.txt b/public_test_cases/p03844/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03844/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03844/output.1.txt b/public_test_cases/p03844/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03844/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03844/output.2.txt b/public_test_cases/p03844/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fbedf693b51d80a9480634ff720815943de9889
--- /dev/null
+++ b/public_test_cases/p03844/output.2.txt
@@ -0,0 +1 @@
+-2
diff --git a/public_test_cases/p03845/input.0.txt b/public_test_cases/p03845/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf1d5f0ef805c512725925158bbd921968758296
--- /dev/null
+++ b/public_test_cases/p03845/input.0.txt
@@ -0,0 +1,5 @@
+3
+2 1 4
+2
+1 1
+2 3
diff --git a/public_test_cases/p03845/input.1.txt b/public_test_cases/p03845/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf1d5f0ef805c512725925158bbd921968758296
--- /dev/null
+++ b/public_test_cases/p03845/input.1.txt
@@ -0,0 +1,5 @@
+3
+2 1 4
+2
+1 1
+2 3
diff --git a/public_test_cases/p03845/input.2.txt b/public_test_cases/p03845/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..413e65c95ba69a4949cb469d504610504cb05597
--- /dev/null
+++ b/public_test_cases/p03845/input.2.txt
@@ -0,0 +1,6 @@
+5
+7 2 3 8 5
+3
+4 2
+1 7
+4 13
diff --git a/public_test_cases/p03845/output.0.txt b/public_test_cases/p03845/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95b562c8e68036d3eeda8bd9f59123609db2498b
--- /dev/null
+++ b/public_test_cases/p03845/output.0.txt
@@ -0,0 +1,2 @@
+6
+9
diff --git a/public_test_cases/p03845/output.1.txt b/public_test_cases/p03845/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..95b562c8e68036d3eeda8bd9f59123609db2498b
--- /dev/null
+++ b/public_test_cases/p03845/output.1.txt
@@ -0,0 +1,2 @@
+6
+9
diff --git a/public_test_cases/p03845/output.2.txt b/public_test_cases/p03845/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9941b474bcf133913d08d023d8005bec7b5f86e8
--- /dev/null
+++ b/public_test_cases/p03845/output.2.txt
@@ -0,0 +1,3 @@
+19
+25
+30
diff --git a/public_test_cases/p03846/input.0.txt b/public_test_cases/p03846/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5704f0bb73c5fa67b416f508aa0650dc013e160
--- /dev/null
+++ b/public_test_cases/p03846/input.0.txt
@@ -0,0 +1,2 @@
+5
+2 4 4 0 2
diff --git a/public_test_cases/p03846/input.1.txt b/public_test_cases/p03846/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d2af4b34bf162f67c5fc57156cc74ed032f7dde4
--- /dev/null
+++ b/public_test_cases/p03846/input.1.txt
@@ -0,0 +1,2 @@
+8
+7 5 1 1 7 3 5 3
diff --git a/public_test_cases/p03846/input.2.txt b/public_test_cases/p03846/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..19428a4d1f59e6b58b9835c50a5979ca9df40594
--- /dev/null
+++ b/public_test_cases/p03846/input.2.txt
@@ -0,0 +1,2 @@
+7
+6 4 0 2 4 0 2
diff --git a/public_test_cases/p03846/input.3.txt b/public_test_cases/p03846/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5704f0bb73c5fa67b416f508aa0650dc013e160
--- /dev/null
+++ b/public_test_cases/p03846/input.3.txt
@@ -0,0 +1,2 @@
+5
+2 4 4 0 2
diff --git a/public_test_cases/p03846/output.0.txt b/public_test_cases/p03846/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03846/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03846/output.1.txt b/public_test_cases/p03846/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03846/output.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03846/output.2.txt b/public_test_cases/p03846/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03846/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03846/output.3.txt b/public_test_cases/p03846/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03846/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03847/input.0.txt b/public_test_cases/p03847/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03847/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03847/output.0.txt b/public_test_cases/p03847/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03847/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03848/input.0.txt b/public_test_cases/p03848/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5704f0bb73c5fa67b416f508aa0650dc013e160
--- /dev/null
+++ b/public_test_cases/p03848/input.0.txt
@@ -0,0 +1,2 @@
+5
+2 4 4 0 2
diff --git a/public_test_cases/p03848/output.0.txt b/public_test_cases/p03848/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03848/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03849/input.0.txt b/public_test_cases/p03849/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03849/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03849/input.1.txt b/public_test_cases/p03849/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03849/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03849/input.2.txt b/public_test_cases/p03849/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecaa8c86fa601830e0e46393e16bd32fc30cfa63
--- /dev/null
+++ b/public_test_cases/p03849/input.2.txt
@@ -0,0 +1 @@
+1422
diff --git a/public_test_cases/p03849/input.3.txt b/public_test_cases/p03849/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9a4149f568ebd1c601c9657a0e51a097d0c2703
--- /dev/null
+++ b/public_test_cases/p03849/input.3.txt
@@ -0,0 +1 @@
+1000000000000000000
diff --git a/public_test_cases/p03849/output.0.txt b/public_test_cases/p03849/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03849/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03849/output.1.txt b/public_test_cases/p03849/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03849/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03849/output.2.txt b/public_test_cases/p03849/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aa1d8f41eac8c6171a443b5ef48861029bc2ebda
--- /dev/null
+++ b/public_test_cases/p03849/output.2.txt
@@ -0,0 +1 @@
+52277
diff --git a/public_test_cases/p03849/output.3.txt b/public_test_cases/p03849/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee455bf28f69881347a7df27a8e937d59d3c6216
--- /dev/null
+++ b/public_test_cases/p03849/output.3.txt
@@ -0,0 +1 @@
+787014179
diff --git a/public_test_cases/p03850/input.0.txt b/public_test_cases/p03850/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..679003462b0c9f753189377d2032e5c92fdc16ff
--- /dev/null
+++ b/public_test_cases/p03850/input.0.txt
@@ -0,0 +1,2 @@
+3
+5 - 1 - 3
diff --git a/public_test_cases/p03850/input.1.txt b/public_test_cases/p03850/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b24a5d73eb4d88ab9915441f3191779f13479af3
--- /dev/null
+++ b/public_test_cases/p03850/input.1.txt
@@ -0,0 +1,2 @@
+5
+1 - 2 + 3 - 4 + 5
diff --git a/public_test_cases/p03850/input.2.txt b/public_test_cases/p03850/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..679003462b0c9f753189377d2032e5c92fdc16ff
--- /dev/null
+++ b/public_test_cases/p03850/input.2.txt
@@ -0,0 +1,2 @@
+3
+5 - 1 - 3
diff --git a/public_test_cases/p03850/input.3.txt b/public_test_cases/p03850/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b81cc6c9ca4f852c0dbe1ed0bcae63d7b7eae76
--- /dev/null
+++ b/public_test_cases/p03850/input.3.txt
@@ -0,0 +1,2 @@
+5
+1 - 20 - 13 + 14 - 5
diff --git a/public_test_cases/p03850/output.0.txt b/public_test_cases/p03850/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03850/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03850/output.1.txt b/public_test_cases/p03850/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03850/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03850/output.2.txt b/public_test_cases/p03850/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03850/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03850/output.3.txt b/public_test_cases/p03850/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1bd38b62a0800a4f6a80c34e21c5acffae52c7e
--- /dev/null
+++ b/public_test_cases/p03850/output.3.txt
@@ -0,0 +1 @@
+13
diff --git a/public_test_cases/p03851/input.0.txt b/public_test_cases/p03851/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8837b322ce72bf1386ac8d839f9cf806f297ecec
--- /dev/null
+++ b/public_test_cases/p03851/input.0.txt
@@ -0,0 +1,5 @@
+5
+1 1 4 1 1
+2
+3 2
+3 10
diff --git a/public_test_cases/p03851/input.1.txt b/public_test_cases/p03851/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8837b322ce72bf1386ac8d839f9cf806f297ecec
--- /dev/null
+++ b/public_test_cases/p03851/input.1.txt
@@ -0,0 +1,5 @@
+5
+1 1 4 1 1
+2
+3 2
+3 10
diff --git a/public_test_cases/p03851/input.2.txt b/public_test_cases/p03851/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74837ce7527b789fe7d2a79e2e23663bc265f853
--- /dev/null
+++ b/public_test_cases/p03851/input.2.txt
@@ -0,0 +1,13 @@
+12
+1 2 1 3 4 1 2 1 12 3 12 12
+10
+9 3
+11 1
+5 35
+6 15
+12 1
+1 9
+4 3
+10 2
+5 1
+7 6
diff --git a/public_test_cases/p03851/output.0.txt b/public_test_cases/p03851/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..deae8f82e015c5ce2e255f8ed03f55c43979833d
--- /dev/null
+++ b/public_test_cases/p03851/output.0.txt
@@ -0,0 +1,2 @@
+9
+2
diff --git a/public_test_cases/p03851/output.1.txt b/public_test_cases/p03851/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..deae8f82e015c5ce2e255f8ed03f55c43979833d
--- /dev/null
+++ b/public_test_cases/p03851/output.1.txt
@@ -0,0 +1,2 @@
+9
+2
diff --git a/public_test_cases/p03851/output.2.txt b/public_test_cases/p03851/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..169d986263353ed4bb233b76911738d9f485cc88
--- /dev/null
+++ b/public_test_cases/p03851/output.2.txt
@@ -0,0 +1,10 @@
+34
+35
+5
+11
+35
+17
+25
+26
+28
+21
diff --git a/public_test_cases/p03852/input.0.txt b/public_test_cases/p03852/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p03852/input.0.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p03852/input.1.txt b/public_test_cases/p03852/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4785957bc986dc39c629de9fac9df46972c00fc
--- /dev/null
+++ b/public_test_cases/p03852/input.1.txt
@@ -0,0 +1 @@
+s
diff --git a/public_test_cases/p03852/input.2.txt b/public_test_cases/p03852/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b68025345d5301abad4d9ec9166f455243a0d746
--- /dev/null
+++ b/public_test_cases/p03852/input.2.txt
@@ -0,0 +1 @@
+z
diff --git a/public_test_cases/p03852/input.3.txt b/public_test_cases/p03852/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78981922613b2afb6025042ff6bd878ac1994e85
--- /dev/null
+++ b/public_test_cases/p03852/input.3.txt
@@ -0,0 +1 @@
+a
diff --git a/public_test_cases/p03852/output.0.txt b/public_test_cases/p03852/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05f8ce3cc87489adb40df32b73d036787382ba0b
--- /dev/null
+++ b/public_test_cases/p03852/output.0.txt
@@ -0,0 +1 @@
+vowel
diff --git a/public_test_cases/p03852/output.1.txt b/public_test_cases/p03852/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..901caf59f62da5c7a75eb4cfb5af2486835b0689
--- /dev/null
+++ b/public_test_cases/p03852/output.1.txt
@@ -0,0 +1 @@
+consonant
diff --git a/public_test_cases/p03852/output.2.txt b/public_test_cases/p03852/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..901caf59f62da5c7a75eb4cfb5af2486835b0689
--- /dev/null
+++ b/public_test_cases/p03852/output.2.txt
@@ -0,0 +1 @@
+consonant
diff --git a/public_test_cases/p03852/output.3.txt b/public_test_cases/p03852/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05f8ce3cc87489adb40df32b73d036787382ba0b
--- /dev/null
+++ b/public_test_cases/p03852/output.3.txt
@@ -0,0 +1 @@
+vowel
diff --git a/public_test_cases/p03853/input.0.txt b/public_test_cases/p03853/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..103c0cfe2d2858b8b31a1809ab7825eb55a2cc79
--- /dev/null
+++ b/public_test_cases/p03853/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+*.
+.*
diff --git a/public_test_cases/p03853/input.1.txt b/public_test_cases/p03853/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2cf0e86b0cf4f65dcb7e20fcb3bc94133e9e2f6d
--- /dev/null
+++ b/public_test_cases/p03853/input.1.txt
@@ -0,0 +1,10 @@
+9 20
+.....***....***.....
+....*...*..*...*....
+...*.....**.....*...
+...*.....*......*...
+....*.....*....*....
+.....**..*...**.....
+.......*..*.*.......
+........**.*........
+.........**.........
diff --git a/public_test_cases/p03853/input.2.txt b/public_test_cases/p03853/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..103c0cfe2d2858b8b31a1809ab7825eb55a2cc79
--- /dev/null
+++ b/public_test_cases/p03853/input.2.txt
@@ -0,0 +1,3 @@
+2 2
+*.
+.*
diff --git a/public_test_cases/p03853/input.3.txt b/public_test_cases/p03853/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dc095056437bad14a2208a4b58835921213dbb9f
--- /dev/null
+++ b/public_test_cases/p03853/input.3.txt
@@ -0,0 +1,2 @@
+1 4
+***.
diff --git a/public_test_cases/p03853/output.0.txt b/public_test_cases/p03853/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82480d0cf2d2ec2e53be66359502b7d8b3690881
--- /dev/null
+++ b/public_test_cases/p03853/output.0.txt
@@ -0,0 +1,4 @@
+*.
+*.
+.*
+.*
diff --git a/public_test_cases/p03853/output.1.txt b/public_test_cases/p03853/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5facf2f4d7a0c1658f47b37cec6d36fdac94d52b
--- /dev/null
+++ b/public_test_cases/p03853/output.1.txt
@@ -0,0 +1,18 @@
+.....***....***.....
+.....***....***.....
+....*...*..*...*....
+....*...*..*...*....
+...*.....**.....*...
+...*.....**.....*...
+...*.....*......*...
+...*.....*......*...
+....*.....*....*....
+....*.....*....*....
+.....**..*...**.....
+.....**..*...**.....
+.......*..*.*.......
+.......*..*.*.......
+........**.*........
+........**.*........
+.........**.........
+.........**.........
diff --git a/public_test_cases/p03853/output.2.txt b/public_test_cases/p03853/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..82480d0cf2d2ec2e53be66359502b7d8b3690881
--- /dev/null
+++ b/public_test_cases/p03853/output.2.txt
@@ -0,0 +1,4 @@
+*.
+*.
+.*
+.*
diff --git a/public_test_cases/p03853/output.3.txt b/public_test_cases/p03853/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1a4b491b4e01e239553b682a83643c8baca2eaa
--- /dev/null
+++ b/public_test_cases/p03853/output.3.txt
@@ -0,0 +1,2 @@
+***.
+***.
diff --git a/public_test_cases/p03854/input.0.txt b/public_test_cases/p03854/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2f36c515340952d293596987ff468a3839d3fda
--- /dev/null
+++ b/public_test_cases/p03854/input.0.txt
@@ -0,0 +1 @@
+erasedream
diff --git a/public_test_cases/p03854/input.1.txt b/public_test_cases/p03854/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..621f45355b97aed3f1eaa003ac651e856a125064
--- /dev/null
+++ b/public_test_cases/p03854/input.1.txt
@@ -0,0 +1 @@
+dreamerer
diff --git a/public_test_cases/p03854/input.2.txt b/public_test_cases/p03854/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2f36c515340952d293596987ff468a3839d3fda
--- /dev/null
+++ b/public_test_cases/p03854/input.2.txt
@@ -0,0 +1 @@
+erasedream
diff --git a/public_test_cases/p03854/input.3.txt b/public_test_cases/p03854/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afebb48a374e93446553425312d515e879d80760
--- /dev/null
+++ b/public_test_cases/p03854/input.3.txt
@@ -0,0 +1 @@
+dreameraser
diff --git a/public_test_cases/p03854/output.0.txt b/public_test_cases/p03854/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03854/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03854/output.1.txt b/public_test_cases/p03854/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03854/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03854/output.2.txt b/public_test_cases/p03854/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03854/output.2.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03854/output.3.txt b/public_test_cases/p03854/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03854/output.3.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03855/input.0.txt b/public_test_cases/p03855/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbb30e000cbfdcf868667e4b9e5ab43171e4e927
--- /dev/null
+++ b/public_test_cases/p03855/input.0.txt
@@ -0,0 +1,5 @@
+4 3 1
+1 2
+2 3
+3 4
+2 3
diff --git a/public_test_cases/p03855/output.0.txt b/public_test_cases/p03855/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecc6a13517f5c18e9c3f11484761bc07d1448d89
--- /dev/null
+++ b/public_test_cases/p03855/output.0.txt
@@ -0,0 +1 @@
+1 2 2 1
diff --git a/public_test_cases/p03856/input.0.txt b/public_test_cases/p03856/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2f36c515340952d293596987ff468a3839d3fda
--- /dev/null
+++ b/public_test_cases/p03856/input.0.txt
@@ -0,0 +1 @@
+erasedream
diff --git a/public_test_cases/p03856/output.0.txt b/public_test_cases/p03856/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03856/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03857/input.0.txt b/public_test_cases/p03857/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbb30e000cbfdcf868667e4b9e5ab43171e4e927
--- /dev/null
+++ b/public_test_cases/p03857/input.0.txt
@@ -0,0 +1,5 @@
+4 3 1
+1 2
+2 3
+3 4
+2 3
diff --git a/public_test_cases/p03857/input.1.txt b/public_test_cases/p03857/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1697a4e996b8a2254779faad052443f5f3581c71
--- /dev/null
+++ b/public_test_cases/p03857/input.1.txt
@@ -0,0 +1,9 @@
+7 4 4
+1 2
+2 3
+2 5
+6 7
+3 5
+4 5
+3 4
+6 7
diff --git a/public_test_cases/p03857/input.2.txt b/public_test_cases/p03857/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbb30e000cbfdcf868667e4b9e5ab43171e4e927
--- /dev/null
+++ b/public_test_cases/p03857/input.2.txt
@@ -0,0 +1,5 @@
+4 3 1
+1 2
+2 3
+3 4
+2 3
diff --git a/public_test_cases/p03857/input.3.txt b/public_test_cases/p03857/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aacaee27ee8ebe7e9eeee1b6f796d2c042bd9be2
--- /dev/null
+++ b/public_test_cases/p03857/input.3.txt
@@ -0,0 +1,5 @@
+4 2 2
+1 2
+2 3
+1 4
+2 3
diff --git a/public_test_cases/p03857/output.0.txt b/public_test_cases/p03857/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecc6a13517f5c18e9c3f11484761bc07d1448d89
--- /dev/null
+++ b/public_test_cases/p03857/output.0.txt
@@ -0,0 +1 @@
+1 2 2 1
diff --git a/public_test_cases/p03857/output.1.txt b/public_test_cases/p03857/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b259998a0df05d233488251693af892c8e4a571e
--- /dev/null
+++ b/public_test_cases/p03857/output.1.txt
@@ -0,0 +1 @@
+1 1 2 1 2 2 2
diff --git a/public_test_cases/p03857/output.2.txt b/public_test_cases/p03857/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecc6a13517f5c18e9c3f11484761bc07d1448d89
--- /dev/null
+++ b/public_test_cases/p03857/output.2.txt
@@ -0,0 +1 @@
+1 2 2 1
diff --git a/public_test_cases/p03857/output.3.txt b/public_test_cases/p03857/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ecc6a13517f5c18e9c3f11484761bc07d1448d89
--- /dev/null
+++ b/public_test_cases/p03857/output.3.txt
@@ -0,0 +1 @@
+1 2 2 1
diff --git a/public_test_cases/p03858/input.0.txt b/public_test_cases/p03858/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dc30491bf9a11ea77d60bde840354c677a61e3d
--- /dev/null
+++ b/public_test_cases/p03858/input.0.txt
@@ -0,0 +1,6 @@
+5 1 2
+1 1
+4 3
+6 1
+5 5
+4 8
diff --git a/public_test_cases/p03858/input.1.txt b/public_test_cases/p03858/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3f15330e30765d4d43e0aa8c7e737ff970a3c23
--- /dev/null
+++ b/public_test_cases/p03858/input.1.txt
@@ -0,0 +1,7 @@
+6 2 3
+1 3
+5 3
+3 5
+8 4
+4 7
+2 5
diff --git a/public_test_cases/p03858/input.2.txt b/public_test_cases/p03858/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dc30491bf9a11ea77d60bde840354c677a61e3d
--- /dev/null
+++ b/public_test_cases/p03858/input.2.txt
@@ -0,0 +1,6 @@
+5 1 2
+1 1
+4 3
+6 1
+5 5
+4 8
diff --git a/public_test_cases/p03858/input.3.txt b/public_test_cases/p03858/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f0522a6804da27fa15ec4472f31cb53a90e0428
--- /dev/null
+++ b/public_test_cases/p03858/input.3.txt
@@ -0,0 +1,9 @@
+8 1 2
+1 5
+4 3
+8 2
+4 7
+8 8
+3 3
+6 6
+4 8
diff --git a/public_test_cases/p03858/output.0.txt b/public_test_cases/p03858/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03858/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03858/output.1.txt b/public_test_cases/p03858/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03858/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03858/output.2.txt b/public_test_cases/p03858/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03858/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03858/output.3.txt b/public_test_cases/p03858/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03858/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03859/input.0.txt b/public_test_cases/p03859/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad05388d44e941886ead88a68100849ba4035e8c
--- /dev/null
+++ b/public_test_cases/p03859/input.0.txt
@@ -0,0 +1,4 @@
+5 2
+01001
+2 4
+3 5
diff --git a/public_test_cases/p03859/input.1.txt b/public_test_cases/p03859/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1bc88062c98484eab0225eb4a4f9ee653d18447a
--- /dev/null
+++ b/public_test_cases/p03859/input.1.txt
@@ -0,0 +1,8 @@
+11 6
+00101000110
+2 4
+2 3
+4 7
+5 6
+6 10
+10 11
diff --git a/public_test_cases/p03859/input.2.txt b/public_test_cases/p03859/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad05388d44e941886ead88a68100849ba4035e8c
--- /dev/null
+++ b/public_test_cases/p03859/input.2.txt
@@ -0,0 +1,4 @@
+5 2
+01001
+2 4
+3 5
diff --git a/public_test_cases/p03859/input.3.txt b/public_test_cases/p03859/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6da0377b39883c167bd66fb54d6483f8d8dd9fa
--- /dev/null
+++ b/public_test_cases/p03859/input.3.txt
@@ -0,0 +1,5 @@
+9 3
+110111110
+1 4
+4 6
+6 9
diff --git a/public_test_cases/p03859/output.0.txt b/public_test_cases/p03859/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03859/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03859/output.1.txt b/public_test_cases/p03859/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fba7ed526e434d8e4d615d8c9eca14f252c8a0f4
--- /dev/null
+++ b/public_test_cases/p03859/output.1.txt
@@ -0,0 +1 @@
+143
diff --git a/public_test_cases/p03859/output.2.txt b/public_test_cases/p03859/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03859/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03859/output.3.txt b/public_test_cases/p03859/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p03859/output.3.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p03860/input.0.txt b/public_test_cases/p03860/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1131392b16ce203529cce6303fbfee38d1c19e99
--- /dev/null
+++ b/public_test_cases/p03860/input.0.txt
@@ -0,0 +1 @@
+AtCoder Beginner Contest
diff --git a/public_test_cases/p03860/input.1.txt b/public_test_cases/p03860/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1131392b16ce203529cce6303fbfee38d1c19e99
--- /dev/null
+++ b/public_test_cases/p03860/input.1.txt
@@ -0,0 +1 @@
+AtCoder Beginner Contest
diff --git a/public_test_cases/p03860/input.2.txt b/public_test_cases/p03860/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a03c5b79c0055aac35b44dee21cf073f6a35510c
--- /dev/null
+++ b/public_test_cases/p03860/input.2.txt
@@ -0,0 +1 @@
+AtCoder Snuke Contest
diff --git a/public_test_cases/p03860/input.3.txt b/public_test_cases/p03860/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f19b9fe4cdea76e723b60abd36ab769ca9756841
--- /dev/null
+++ b/public_test_cases/p03860/input.3.txt
@@ -0,0 +1 @@
+AtCoder X Contest
diff --git a/public_test_cases/p03860/output.0.txt b/public_test_cases/p03860/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03860/output.0.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03860/output.1.txt b/public_test_cases/p03860/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5da849b5c6f00b5292b1a823b29ceb303e98585c
--- /dev/null
+++ b/public_test_cases/p03860/output.1.txt
@@ -0,0 +1 @@
+ABC
diff --git a/public_test_cases/p03860/output.2.txt b/public_test_cases/p03860/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bde36bfa240be08e43605b9797a2083f0e52985e
--- /dev/null
+++ b/public_test_cases/p03860/output.2.txt
@@ -0,0 +1 @@
+ASC
diff --git a/public_test_cases/p03860/output.3.txt b/public_test_cases/p03860/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9aa70d9f3bb8b0aa669cd9da76fe61087639d50b
--- /dev/null
+++ b/public_test_cases/p03860/output.3.txt
@@ -0,0 +1 @@
+AXC
diff --git a/public_test_cases/p03861/input.0.txt b/public_test_cases/p03861/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84d5a7b3b4b2a0b71cee627265912293767e6deb
--- /dev/null
+++ b/public_test_cases/p03861/input.0.txt
@@ -0,0 +1 @@
+4 8 2
diff --git a/public_test_cases/p03861/input.1.txt b/public_test_cases/p03861/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84d5a7b3b4b2a0b71cee627265912293767e6deb
--- /dev/null
+++ b/public_test_cases/p03861/input.1.txt
@@ -0,0 +1 @@
+4 8 2
diff --git a/public_test_cases/p03861/input.2.txt b/public_test_cases/p03861/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..210361fad9fd5541da1b89687552b54331bb5b6c
--- /dev/null
+++ b/public_test_cases/p03861/input.2.txt
@@ -0,0 +1 @@
+9 9 2
diff --git a/public_test_cases/p03861/input.3.txt b/public_test_cases/p03861/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81701251d4f39c9fa64b937cee5e9ae6bc9f334c
--- /dev/null
+++ b/public_test_cases/p03861/input.3.txt
@@ -0,0 +1 @@
+1 1000000000000000000 3
diff --git a/public_test_cases/p03861/input.4.txt b/public_test_cases/p03861/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a779db161a4a19c52b88d2619cf0b050efc5b089
--- /dev/null
+++ b/public_test_cases/p03861/input.4.txt
@@ -0,0 +1 @@
+0 5 1
diff --git a/public_test_cases/p03861/output.0.txt b/public_test_cases/p03861/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03861/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03861/output.1.txt b/public_test_cases/p03861/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03861/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03861/output.2.txt b/public_test_cases/p03861/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03861/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03861/output.3.txt b/public_test_cases/p03861/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..674429b3ca56bca625094d0ab4bd9613af1b9446
--- /dev/null
+++ b/public_test_cases/p03861/output.3.txt
@@ -0,0 +1 @@
+333333333333333333
diff --git a/public_test_cases/p03861/output.4.txt b/public_test_cases/p03861/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03861/output.4.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03862/input.0.txt b/public_test_cases/p03862/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd7d19d664b1af656b5ac799a274ad759e64cb03
--- /dev/null
+++ b/public_test_cases/p03862/input.0.txt
@@ -0,0 +1,2 @@
+3 3
+2 2 2
diff --git a/public_test_cases/p03862/input.1.txt b/public_test_cases/p03862/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dea979abbce5cc56709678138945b20d53e203ba
--- /dev/null
+++ b/public_test_cases/p03862/input.1.txt
@@ -0,0 +1,2 @@
+2 0
+5 5
diff --git a/public_test_cases/p03862/input.2.txt b/public_test_cases/p03862/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45edf9e00e81f1f206b41ad76b08a4de9725cca7
--- /dev/null
+++ b/public_test_cases/p03862/input.2.txt
@@ -0,0 +1,2 @@
+5 9
+3 1 4 1 5
diff --git a/public_test_cases/p03862/input.3.txt b/public_test_cases/p03862/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd7d19d664b1af656b5ac799a274ad759e64cb03
--- /dev/null
+++ b/public_test_cases/p03862/input.3.txt
@@ -0,0 +1,2 @@
+3 3
+2 2 2
diff --git a/public_test_cases/p03862/input.4.txt b/public_test_cases/p03862/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0f549f5e6195d586e93fa48bde25f14d8dbaa5e8
--- /dev/null
+++ b/public_test_cases/p03862/input.4.txt
@@ -0,0 +1,2 @@
+6 1
+1 6 1 2 0 4
diff --git a/public_test_cases/p03862/output.0.txt b/public_test_cases/p03862/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03862/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03862/output.1.txt b/public_test_cases/p03862/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03862/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03862/output.2.txt b/public_test_cases/p03862/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03862/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03862/output.3.txt b/public_test_cases/p03862/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03862/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03862/output.4.txt b/public_test_cases/p03862/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03862/output.4.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03863/input.0.txt b/public_test_cases/p03863/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9265f8251cfab3529825e5c708c15c55801bed5
--- /dev/null
+++ b/public_test_cases/p03863/input.0.txt
@@ -0,0 +1 @@
+aba
diff --git a/public_test_cases/p03863/input.1.txt b/public_test_cases/p03863/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8baef1b4abc478178b004d62031cf7fe6db6f903
--- /dev/null
+++ b/public_test_cases/p03863/input.1.txt
@@ -0,0 +1 @@
+abc
diff --git a/public_test_cases/p03863/input.2.txt b/public_test_cases/p03863/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9265f8251cfab3529825e5c708c15c55801bed5
--- /dev/null
+++ b/public_test_cases/p03863/input.2.txt
@@ -0,0 +1 @@
+aba
diff --git a/public_test_cases/p03863/input.3.txt b/public_test_cases/p03863/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64a9b8a12e023cc2f476dd584cceb99456b93a65
--- /dev/null
+++ b/public_test_cases/p03863/input.3.txt
@@ -0,0 +1 @@
+abcab
diff --git a/public_test_cases/p03863/output.0.txt b/public_test_cases/p03863/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p03863/output.0.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p03863/output.1.txt b/public_test_cases/p03863/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03863/output.1.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03863/output.2.txt b/public_test_cases/p03863/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p03863/output.2.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p03863/output.3.txt b/public_test_cases/p03863/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p03863/output.3.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p03864/input.0.txt b/public_test_cases/p03864/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dd7d19d664b1af656b5ac799a274ad759e64cb03
--- /dev/null
+++ b/public_test_cases/p03864/input.0.txt
@@ -0,0 +1,2 @@
+3 3
+2 2 2
diff --git a/public_test_cases/p03864/output.0.txt b/public_test_cases/p03864/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03864/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03865/input.0.txt b/public_test_cases/p03865/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9265f8251cfab3529825e5c708c15c55801bed5
--- /dev/null
+++ b/public_test_cases/p03865/input.0.txt
@@ -0,0 +1 @@
+aba
diff --git a/public_test_cases/p03865/output.0.txt b/public_test_cases/p03865/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p03865/output.0.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p03866/input.0.txt b/public_test_cases/p03866/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35977b4f73f500c6bcabce325f9c0f30f4d35cc1
--- /dev/null
+++ b/public_test_cases/p03866/input.0.txt
@@ -0,0 +1,3 @@
+-2 -2 2 2
+1
+0 0 1
diff --git a/public_test_cases/p03866/input.1.txt b/public_test_cases/p03866/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf65b5da523db2bb99f827bfb3b97a1e8039a28b
--- /dev/null
+++ b/public_test_cases/p03866/input.1.txt
@@ -0,0 +1,4 @@
+-2 0 2 0
+2
+-1 0 2
+1 0 2
diff --git a/public_test_cases/p03866/input.2.txt b/public_test_cases/p03866/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e025970031487e8973a9a7d26e0d3ffc99427be
--- /dev/null
+++ b/public_test_cases/p03866/input.2.txt
@@ -0,0 +1,5 @@
+4 -2 -2 4
+3
+0 0 2
+4 0 1
+0 4 1
diff --git a/public_test_cases/p03866/input.3.txt b/public_test_cases/p03866/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35977b4f73f500c6bcabce325f9c0f30f4d35cc1
--- /dev/null
+++ b/public_test_cases/p03866/input.3.txt
@@ -0,0 +1,3 @@
+-2 -2 2 2
+1
+0 0 1
diff --git a/public_test_cases/p03866/output.0.txt b/public_test_cases/p03866/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4743e21a76c0a625cd10d0d5e1c89b718ddee86b
--- /dev/null
+++ b/public_test_cases/p03866/output.0.txt
@@ -0,0 +1 @@
+3.6568542495
diff --git a/public_test_cases/p03866/output.1.txt b/public_test_cases/p03866/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c9ea018f39fb93217cb6e831e08c8a7d15907f1a
--- /dev/null
+++ b/public_test_cases/p03866/output.1.txt
@@ -0,0 +1 @@
+0.0000000000
diff --git a/public_test_cases/p03866/output.2.txt b/public_test_cases/p03866/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5cebf94fe02ec054332441c14dff6e277e7d65b5
--- /dev/null
+++ b/public_test_cases/p03866/output.2.txt
@@ -0,0 +1 @@
+4.0000000000
diff --git a/public_test_cases/p03866/output.3.txt b/public_test_cases/p03866/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4743e21a76c0a625cd10d0d5e1c89b718ddee86b
--- /dev/null
+++ b/public_test_cases/p03866/output.3.txt
@@ -0,0 +1 @@
+3.6568542495
diff --git a/public_test_cases/p03867/input.0.txt b/public_test_cases/p03867/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805e7f5a05abb0767d277398dd810d64910d282f
--- /dev/null
+++ b/public_test_cases/p03867/input.0.txt
@@ -0,0 +1 @@
+4 2
diff --git a/public_test_cases/p03867/input.1.txt b/public_test_cases/p03867/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..caf89741fceaaa4127b0607f26763103dc3d00ca
--- /dev/null
+++ b/public_test_cases/p03867/input.1.txt
@@ -0,0 +1 @@
+1000000000 1000000000
diff --git a/public_test_cases/p03867/input.2.txt b/public_test_cases/p03867/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aba066490735a0d12c6c3ce01830600db457d5bc
--- /dev/null
+++ b/public_test_cases/p03867/input.2.txt
@@ -0,0 +1 @@
+1 10
diff --git a/public_test_cases/p03867/input.3.txt b/public_test_cases/p03867/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805e7f5a05abb0767d277398dd810d64910d282f
--- /dev/null
+++ b/public_test_cases/p03867/input.3.txt
@@ -0,0 +1 @@
+4 2
diff --git a/public_test_cases/p03867/input.4.txt b/public_test_cases/p03867/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0dc5f67e18feaa8ac385a23e46b2594040b228c
--- /dev/null
+++ b/public_test_cases/p03867/input.4.txt
@@ -0,0 +1 @@
+6 3
diff --git a/public_test_cases/p03867/output.0.txt b/public_test_cases/p03867/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03867/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03867/output.1.txt b/public_test_cases/p03867/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5faa6b31ef0c825b028777ec2b54d428ee25dee1
--- /dev/null
+++ b/public_test_cases/p03867/output.1.txt
@@ -0,0 +1 @@
+875699961
diff --git a/public_test_cases/p03867/output.2.txt b/public_test_cases/p03867/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03867/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03867/output.3.txt b/public_test_cases/p03867/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03867/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03867/output.4.txt b/public_test_cases/p03867/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78eb67cee1ab25652fe5c9e29efc173671301400
--- /dev/null
+++ b/public_test_cases/p03867/output.4.txt
@@ -0,0 +1 @@
+75
diff --git a/public_test_cases/p03868/input.0.txt b/public_test_cases/p03868/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c97d655f0330438069ff55bd0a18f0dd78d6e077
--- /dev/null
+++ b/public_test_cases/p03868/input.0.txt
@@ -0,0 +1,5 @@
+2
+0
+10
+20
+30
diff --git a/public_test_cases/p03868/output.0.txt b/public_test_cases/p03868/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03868/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03869/input.0.txt b/public_test_cases/p03869/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bacef92c21f7d2b311b29e5de633241cce58036c
--- /dev/null
+++ b/public_test_cases/p03869/input.0.txt
@@ -0,0 +1,3 @@
+0 0
+1 1
+2 0
diff --git a/public_test_cases/p03869/output.0.txt b/public_test_cases/p03869/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08a80a2690cad9d1b14e87b1f7d3ac5ba5345e58
--- /dev/null
+++ b/public_test_cases/p03869/output.0.txt
@@ -0,0 +1 @@
+0.292893218813
diff --git a/public_test_cases/p03870/input.0.txt b/public_test_cases/p03870/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ecdb04bca6a9dd0158e83de51ac6c0536084d6e
--- /dev/null
+++ b/public_test_cases/p03870/input.0.txt
@@ -0,0 +1,4 @@
+3
+2
+3
+4
diff --git a/public_test_cases/p03870/output.0.txt b/public_test_cases/p03870/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03870/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03871/input.0.txt b/public_test_cases/p03871/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c52fc240d5e70f2093011440dc8b9217970fbc2f
--- /dev/null
+++ b/public_test_cases/p03871/input.0.txt
@@ -0,0 +1,2 @@
+25 25 25 25 0 0
+0 0 0 0 50 50
diff --git a/public_test_cases/p03871/input.1.txt b/public_test_cases/p03871/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..378c94745f2217c6f603afacafd3320b22d606ab
--- /dev/null
+++ b/public_test_cases/p03871/input.1.txt
@@ -0,0 +1,2 @@
+10 20 20 10 20 20
+20 20 20 10 10 20
diff --git a/public_test_cases/p03871/input.2.txt b/public_test_cases/p03871/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c52fc240d5e70f2093011440dc8b9217970fbc2f
--- /dev/null
+++ b/public_test_cases/p03871/input.2.txt
@@ -0,0 +1,2 @@
+25 25 25 25 0 0
+0 0 0 0 50 50
diff --git a/public_test_cases/p03871/output.0.txt b/public_test_cases/p03871/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b43b2ec6156b9a6e96f1152dd5c48c3b433ab05a
--- /dev/null
+++ b/public_test_cases/p03871/output.0.txt
@@ -0,0 +1 @@
+1.000000000000
diff --git a/public_test_cases/p03871/output.1.txt b/public_test_cases/p03871/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3e06abbd8229c2554e367ca91edd450da44d62b
--- /dev/null
+++ b/public_test_cases/p03871/output.1.txt
@@ -0,0 +1 @@
+0.550000000000
diff --git a/public_test_cases/p03871/output.2.txt b/public_test_cases/p03871/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b43b2ec6156b9a6e96f1152dd5c48c3b433ab05a
--- /dev/null
+++ b/public_test_cases/p03871/output.2.txt
@@ -0,0 +1 @@
+1.000000000000
diff --git a/public_test_cases/p03872/input.0.txt b/public_test_cases/p03872/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3a06879ded5d329d13da0c9cf44afbf87046b0c
--- /dev/null
+++ b/public_test_cases/p03872/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0 10
+2 0 5
+0 5 8
diff --git a/public_test_cases/p03872/output.0.txt b/public_test_cases/p03872/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85e290e226cbc5eab4e808a250592bb058ed068a
--- /dev/null
+++ b/public_test_cases/p03872/output.0.txt
@@ -0,0 +1 @@
+6.500000000000
diff --git a/public_test_cases/p03873/input.0.txt b/public_test_cases/p03873/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..873ce35d29660b236dff95f798504ba43ec86226
--- /dev/null
+++ b/public_test_cases/p03873/input.0.txt
@@ -0,0 +1,5 @@
+4
+2 7
+2 5
+4 1
+7 5
diff --git a/public_test_cases/p03873/output.0.txt b/public_test_cases/p03873/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03873/output.0.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03874/input.0.txt b/public_test_cases/p03874/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03874/input.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03874/input.1.txt b/public_test_cases/p03874/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03874/input.1.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03874/input.2.txt b/public_test_cases/p03874/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9183bf03fccab013c0805dd51f7ea97bbb86de5d
--- /dev/null
+++ b/public_test_cases/p03874/input.2.txt
@@ -0,0 +1 @@
+256
diff --git a/public_test_cases/p03874/output.0.txt b/public_test_cases/p03874/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7fabf6b74ac331fb09d6a44916a3a3588b5274c
--- /dev/null
+++ b/public_test_cases/p03874/output.0.txt
@@ -0,0 +1 @@
+FESSSSSSSTIVAL
diff --git a/public_test_cases/p03874/output.1.txt b/public_test_cases/p03874/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7fabf6b74ac331fb09d6a44916a3a3588b5274c
--- /dev/null
+++ b/public_test_cases/p03874/output.1.txt
@@ -0,0 +1 @@
+FESSSSSSSTIVAL
diff --git a/public_test_cases/p03874/output.2.txt b/public_test_cases/p03874/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4b59af9771713ad1d066b17186f2397822698044
--- /dev/null
+++ b/public_test_cases/p03874/output.2.txt
@@ -0,0 +1 @@
+FFEESSTTIIVVAALL
diff --git a/public_test_cases/p03875/input.0.txt b/public_test_cases/p03875/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5588077b4f7297f370e79bab708d7d4847bd7b8
--- /dev/null
+++ b/public_test_cases/p03875/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 1
+1 0
diff --git a/public_test_cases/p03875/input.1.txt b/public_test_cases/p03875/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5588077b4f7297f370e79bab708d7d4847bd7b8
--- /dev/null
+++ b/public_test_cases/p03875/input.1.txt
@@ -0,0 +1,3 @@
+2
+0 1
+1 0
diff --git a/public_test_cases/p03875/input.2.txt b/public_test_cases/p03875/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ac475494a322b06e73052f856a93ec017c388e8
--- /dev/null
+++ b/public_test_cases/p03875/input.2.txt
@@ -0,0 +1,11 @@
+10
+1 0 0 1 1 1 0 0 1 0
+0 0 0 1 1 0 0 0 1 0
+0 0 1 1 1 1 1 1 1 1
+0 1 0 1 0 0 0 1 1 0
+0 0 1 0 1 1 1 1 1 1
+1 0 0 0 0 1 0 0 0 0
+1 1 1 0 1 0 0 0 0 1
+0 0 0 1 0 0 1 0 1 0
+0 0 0 1 1 1 0 0 0 0
+1 0 1 0 0 1 1 1 1 1
diff --git a/public_test_cases/p03875/output.0.txt b/public_test_cases/p03875/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03875/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03875/output.1.txt b/public_test_cases/p03875/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03875/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03875/output.2.txt b/public_test_cases/p03875/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0eaa215518081adaa2c994c43c4cb217f5f8fa06
--- /dev/null
+++ b/public_test_cases/p03875/output.2.txt
@@ -0,0 +1 @@
+741992411
diff --git a/public_test_cases/p03876/input.0.txt b/public_test_cases/p03876/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ba21e8795ecc15343e0f9c0693c9e67ff162586
--- /dev/null
+++ b/public_test_cases/p03876/input.0.txt
@@ -0,0 +1,9 @@
+8
+90
+90
+270
+90
+90
+90
+270
+90
diff --git a/public_test_cases/p03876/output.0.txt b/public_test_cases/p03876/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cf08f5592de9fc65816f6c6dea1137aa0bd60cf
--- /dev/null
+++ b/public_test_cases/p03876/output.0.txt
@@ -0,0 +1,8 @@
+0 0
+2 0
+2 1
+3 1
+3 2
+1 2
+1 1
+0 1
diff --git a/public_test_cases/p03877/input.0.txt b/public_test_cases/p03877/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e74b415e7fbb85867d122f19bbd5959bf6d6bc1b
--- /dev/null
+++ b/public_test_cases/p03877/input.0.txt
@@ -0,0 +1 @@
+3 1 2 0
diff --git a/public_test_cases/p03877/input.1.txt b/public_test_cases/p03877/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e74b415e7fbb85867d122f19bbd5959bf6d6bc1b
--- /dev/null
+++ b/public_test_cases/p03877/input.1.txt
@@ -0,0 +1 @@
+3 1 2 0
diff --git a/public_test_cases/p03877/input.2.txt b/public_test_cases/p03877/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c445d44a841480fdfd9524818aeb5cab172f7efb
--- /dev/null
+++ b/public_test_cases/p03877/input.2.txt
@@ -0,0 +1 @@
+600 100 200 300
diff --git a/public_test_cases/p03877/output.0.txt b/public_test_cases/p03877/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03877/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03877/output.1.txt b/public_test_cases/p03877/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03877/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03877/output.2.txt b/public_test_cases/p03877/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3bedde34eff4bf29ae91001963543201e7dbf93d
--- /dev/null
+++ b/public_test_cases/p03877/output.2.txt
@@ -0,0 +1 @@
+522158867
diff --git a/public_test_cases/p03878/input.0.txt b/public_test_cases/p03878/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c97d655f0330438069ff55bd0a18f0dd78d6e077
--- /dev/null
+++ b/public_test_cases/p03878/input.0.txt
@@ -0,0 +1,5 @@
+2
+0
+10
+20
+30
diff --git a/public_test_cases/p03878/input.1.txt b/public_test_cases/p03878/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c97d655f0330438069ff55bd0a18f0dd78d6e077
--- /dev/null
+++ b/public_test_cases/p03878/input.1.txt
@@ -0,0 +1,5 @@
+2
+0
+10
+20
+30
diff --git a/public_test_cases/p03878/input.2.txt b/public_test_cases/p03878/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40d2360f481342d12e3ab892de5bd9327208b687
--- /dev/null
+++ b/public_test_cases/p03878/input.2.txt
@@ -0,0 +1,7 @@
+3
+3
+10
+8
+7
+12
+5
diff --git a/public_test_cases/p03878/output.0.txt b/public_test_cases/p03878/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03878/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03878/output.1.txt b/public_test_cases/p03878/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03878/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03878/output.2.txt b/public_test_cases/p03878/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03878/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03879/input.0.txt b/public_test_cases/p03879/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bacef92c21f7d2b311b29e5de633241cce58036c
--- /dev/null
+++ b/public_test_cases/p03879/input.0.txt
@@ -0,0 +1,3 @@
+0 0
+1 1
+2 0
diff --git a/public_test_cases/p03879/input.1.txt b/public_test_cases/p03879/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32b285a4eaee8a0bee64e1e8d33346f95896c6af
--- /dev/null
+++ b/public_test_cases/p03879/input.1.txt
@@ -0,0 +1,3 @@
+3 1
+1 5
+4 9
diff --git a/public_test_cases/p03879/input.2.txt b/public_test_cases/p03879/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bacef92c21f7d2b311b29e5de633241cce58036c
--- /dev/null
+++ b/public_test_cases/p03879/input.2.txt
@@ -0,0 +1,3 @@
+0 0
+1 1
+2 0
diff --git a/public_test_cases/p03879/output.0.txt b/public_test_cases/p03879/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08a80a2690cad9d1b14e87b1f7d3ac5ba5345e58
--- /dev/null
+++ b/public_test_cases/p03879/output.0.txt
@@ -0,0 +1 @@
+0.292893218813
diff --git a/public_test_cases/p03879/output.1.txt b/public_test_cases/p03879/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e1e545bd53fee5cb45039146d7ee8507762dff5
--- /dev/null
+++ b/public_test_cases/p03879/output.1.txt
@@ -0,0 +1 @@
+0.889055514217
diff --git a/public_test_cases/p03879/output.2.txt b/public_test_cases/p03879/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08a80a2690cad9d1b14e87b1f7d3ac5ba5345e58
--- /dev/null
+++ b/public_test_cases/p03879/output.2.txt
@@ -0,0 +1 @@
+0.292893218813
diff --git a/public_test_cases/p03880/input.0.txt b/public_test_cases/p03880/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ecdb04bca6a9dd0158e83de51ac6c0536084d6e
--- /dev/null
+++ b/public_test_cases/p03880/input.0.txt
@@ -0,0 +1,4 @@
+3
+2
+3
+4
diff --git a/public_test_cases/p03880/input.1.txt b/public_test_cases/p03880/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ecdb04bca6a9dd0158e83de51ac6c0536084d6e
--- /dev/null
+++ b/public_test_cases/p03880/input.1.txt
@@ -0,0 +1,4 @@
+3
+2
+3
+4
diff --git a/public_test_cases/p03880/input.2.txt b/public_test_cases/p03880/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f2b204a959380c70552ec4fdc20d4ee9b48b464
--- /dev/null
+++ b/public_test_cases/p03880/input.2.txt
@@ -0,0 +1,4 @@
+3
+100
+100
+100
diff --git a/public_test_cases/p03880/output.0.txt b/public_test_cases/p03880/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03880/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03880/output.1.txt b/public_test_cases/p03880/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03880/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03880/output.2.txt b/public_test_cases/p03880/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03880/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03881/input.0.txt b/public_test_cases/p03881/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c52fc240d5e70f2093011440dc8b9217970fbc2f
--- /dev/null
+++ b/public_test_cases/p03881/input.0.txt
@@ -0,0 +1,2 @@
+25 25 25 25 0 0
+0 0 0 0 50 50
diff --git a/public_test_cases/p03881/output.0.txt b/public_test_cases/p03881/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b43b2ec6156b9a6e96f1152dd5c48c3b433ab05a
--- /dev/null
+++ b/public_test_cases/p03881/output.0.txt
@@ -0,0 +1 @@
+1.000000000000
diff --git a/public_test_cases/p03882/input.0.txt b/public_test_cases/p03882/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3a06879ded5d329d13da0c9cf44afbf87046b0c
--- /dev/null
+++ b/public_test_cases/p03882/input.0.txt
@@ -0,0 +1,4 @@
+3
+0 0 10
+2 0 5
+0 5 8
diff --git a/public_test_cases/p03882/input.1.txt b/public_test_cases/p03882/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3a06879ded5d329d13da0c9cf44afbf87046b0c
--- /dev/null
+++ b/public_test_cases/p03882/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 0 10
+2 0 5
+0 5 8
diff --git a/public_test_cases/p03882/input.2.txt b/public_test_cases/p03882/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cbaf0bf9995e34506d1ae36094dac7358d6b216e
--- /dev/null
+++ b/public_test_cases/p03882/input.2.txt
@@ -0,0 +1,16 @@
+15
+335279264 849598327 822889311
+446755913 526239859 548830120
+181424399 715477619 342858071
+625711486 448565595 480845266
+647639160 467825612 449656269
+160714711 336869678 545923679
+61020590 573085537 816372580
+626006012 389312924 135599877
+547865075 511429216 605997004
+561330066 539239436 921749002
+650693494 63219754 786119025
+849028504 632532642 655702582
+285323416 611583586 211428413
+990607689 590857173 393671555
+560686330 679513171 501983447
diff --git a/public_test_cases/p03882/output.0.txt b/public_test_cases/p03882/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85e290e226cbc5eab4e808a250592bb058ed068a
--- /dev/null
+++ b/public_test_cases/p03882/output.0.txt
@@ -0,0 +1 @@
+6.500000000000
diff --git a/public_test_cases/p03882/output.1.txt b/public_test_cases/p03882/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..85e290e226cbc5eab4e808a250592bb058ed068a
--- /dev/null
+++ b/public_test_cases/p03882/output.1.txt
@@ -0,0 +1 @@
+6.500000000000
diff --git a/public_test_cases/p03882/output.2.txt b/public_test_cases/p03882/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6512d91f329df8c6354714a0a5849a72a8435f64
--- /dev/null
+++ b/public_test_cases/p03882/output.2.txt
@@ -0,0 +1 @@
+434666178.237122833729
diff --git a/public_test_cases/p03883/input.0.txt b/public_test_cases/p03883/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..873ce35d29660b236dff95f798504ba43ec86226
--- /dev/null
+++ b/public_test_cases/p03883/input.0.txt
@@ -0,0 +1,5 @@
+4
+2 7
+2 5
+4 1
+7 5
diff --git a/public_test_cases/p03883/input.1.txt b/public_test_cases/p03883/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee0ac8fdf5d0d88362c994b639c4aac42c27c958
--- /dev/null
+++ b/public_test_cases/p03883/input.1.txt
@@ -0,0 +1,21 @@
+20
+97 2
+75 25
+82 84
+17 56
+32 2
+28 37
+57 39
+18 11
+79 6
+40 68
+68 16
+40 63
+93 49
+91 10
+55 68
+31 80
+57 18
+34 28
+76 55
+21 80
diff --git a/public_test_cases/p03883/input.2.txt b/public_test_cases/p03883/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..873ce35d29660b236dff95f798504ba43ec86226
--- /dev/null
+++ b/public_test_cases/p03883/input.2.txt
@@ -0,0 +1,5 @@
+4
+2 7
+2 5
+4 1
+7 5
diff --git a/public_test_cases/p03883/output.0.txt b/public_test_cases/p03883/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03883/output.0.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03883/output.1.txt b/public_test_cases/p03883/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd22903d843294d0ed5fde4fa5fa94481fa94e73
--- /dev/null
+++ b/public_test_cases/p03883/output.1.txt
@@ -0,0 +1 @@
+7337
diff --git a/public_test_cases/p03883/output.2.txt b/public_test_cases/p03883/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2bd5a0a98a36cc08ada88b804d3be047e6aa5b8a
--- /dev/null
+++ b/public_test_cases/p03883/output.2.txt
@@ -0,0 +1 @@
+22
diff --git a/public_test_cases/p03884/input.0.txt b/public_test_cases/p03884/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03884/input.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03884/output.0.txt b/public_test_cases/p03884/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7fabf6b74ac331fb09d6a44916a3a3588b5274c
--- /dev/null
+++ b/public_test_cases/p03884/output.0.txt
@@ -0,0 +1 @@
+FESSSSSSSTIVAL
diff --git a/public_test_cases/p03885/input.0.txt b/public_test_cases/p03885/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5588077b4f7297f370e79bab708d7d4847bd7b8
--- /dev/null
+++ b/public_test_cases/p03885/input.0.txt
@@ -0,0 +1,3 @@
+2
+0 1
+1 0
diff --git a/public_test_cases/p03885/output.0.txt b/public_test_cases/p03885/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03885/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03886/input.0.txt b/public_test_cases/p03886/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ba21e8795ecc15343e0f9c0693c9e67ff162586
--- /dev/null
+++ b/public_test_cases/p03886/input.0.txt
@@ -0,0 +1,9 @@
+8
+90
+90
+270
+90
+90
+90
+270
+90
diff --git a/public_test_cases/p03886/input.1.txt b/public_test_cases/p03886/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ba21e8795ecc15343e0f9c0693c9e67ff162586
--- /dev/null
+++ b/public_test_cases/p03886/input.1.txt
@@ -0,0 +1,9 @@
+8
+90
+90
+270
+90
+90
+90
+270
+90
diff --git a/public_test_cases/p03886/input.2.txt b/public_test_cases/p03886/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8ea3b594cc85b94cbbe278ef9bf0f1e38dc620d
--- /dev/null
+++ b/public_test_cases/p03886/input.2.txt
@@ -0,0 +1,4 @@
+3
+90
+90
+90
diff --git a/public_test_cases/p03886/output.0.txt b/public_test_cases/p03886/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cf08f5592de9fc65816f6c6dea1137aa0bd60cf
--- /dev/null
+++ b/public_test_cases/p03886/output.0.txt
@@ -0,0 +1,8 @@
+0 0
+2 0
+2 1
+3 1
+3 2
+1 2
+1 1
+0 1
diff --git a/public_test_cases/p03886/output.1.txt b/public_test_cases/p03886/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cf08f5592de9fc65816f6c6dea1137aa0bd60cf
--- /dev/null
+++ b/public_test_cases/p03886/output.1.txt
@@ -0,0 +1,8 @@
+0 0
+2 0
+2 1
+3 1
+3 2
+1 2
+1 1
+0 1
diff --git a/public_test_cases/p03886/output.2.txt b/public_test_cases/p03886/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03886/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03887/input.0.txt b/public_test_cases/p03887/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e74b415e7fbb85867d122f19bbd5959bf6d6bc1b
--- /dev/null
+++ b/public_test_cases/p03887/input.0.txt
@@ -0,0 +1 @@
+3 1 2 0
diff --git a/public_test_cases/p03887/output.0.txt b/public_test_cases/p03887/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03887/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03888/input.0.txt b/public_test_cases/p03888/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03888/input.0.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03888/input.1.txt b/public_test_cases/p03888/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c599ae1944431c57be525df306d867dd22e36afb
--- /dev/null
+++ b/public_test_cases/p03888/input.1.txt
@@ -0,0 +1 @@
+100 99
diff --git a/public_test_cases/p03888/input.2.txt b/public_test_cases/p03888/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p03888/input.2.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p03888/output.0.txt b/public_test_cases/p03888/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d14f9d446602f9be53de1935a2617650f9fb0a4
--- /dev/null
+++ b/public_test_cases/p03888/output.0.txt
@@ -0,0 +1 @@
+1.2000000000
diff --git a/public_test_cases/p03888/output.1.txt b/public_test_cases/p03888/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..087e2b827613f337343c9fb21785e116441eabbc
--- /dev/null
+++ b/public_test_cases/p03888/output.1.txt
@@ -0,0 +1 @@
+49.7487437186
diff --git a/public_test_cases/p03888/output.2.txt b/public_test_cases/p03888/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d14f9d446602f9be53de1935a2617650f9fb0a4
--- /dev/null
+++ b/public_test_cases/p03888/output.2.txt
@@ -0,0 +1 @@
+1.2000000000
diff --git a/public_test_cases/p03889/input.0.txt b/public_test_cases/p03889/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf4f0519629d30d0cedf2fbfae0c8e462ed560d6
--- /dev/null
+++ b/public_test_cases/p03889/input.0.txt
@@ -0,0 +1 @@
+pdbq
diff --git a/public_test_cases/p03889/input.1.txt b/public_test_cases/p03889/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0dd69c291191bbe99d5f7ee3d085d827ad5e825d
--- /dev/null
+++ b/public_test_cases/p03889/input.1.txt
@@ -0,0 +1 @@
+ppqb
diff --git a/public_test_cases/p03889/input.2.txt b/public_test_cases/p03889/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf4f0519629d30d0cedf2fbfae0c8e462ed560d6
--- /dev/null
+++ b/public_test_cases/p03889/input.2.txt
@@ -0,0 +1 @@
+pdbq
diff --git a/public_test_cases/p03889/output.0.txt b/public_test_cases/p03889/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03889/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03889/output.1.txt b/public_test_cases/p03889/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03889/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03889/output.2.txt b/public_test_cases/p03889/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03889/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03890/input.0.txt b/public_test_cases/p03890/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dfa8e69c232028fbf3284173d5f290f79670ff9
--- /dev/null
+++ b/public_test_cases/p03890/input.0.txt
@@ -0,0 +1,5 @@
+2
+1
+3
+10
+19
diff --git a/public_test_cases/p03890/input.1.txt b/public_test_cases/p03890/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9eb406fb043e162c53b66edc39cd2a5face6bedf
--- /dev/null
+++ b/public_test_cases/p03890/input.1.txt
@@ -0,0 +1,9 @@
+3
+1
+3
+2
+4
+6
+8
+100
+104
diff --git a/public_test_cases/p03890/input.2.txt b/public_test_cases/p03890/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3dfa8e69c232028fbf3284173d5f290f79670ff9
--- /dev/null
+++ b/public_test_cases/p03890/input.2.txt
@@ -0,0 +1,5 @@
+2
+1
+3
+10
+19
diff --git a/public_test_cases/p03890/output.0.txt b/public_test_cases/p03890/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03890/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03890/output.1.txt b/public_test_cases/p03890/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03890/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03890/output.2.txt b/public_test_cases/p03890/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03890/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03891/input.0.txt b/public_test_cases/p03891/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bca0cc9d4b028f3a665d3b8c9762860f98f5ba6
--- /dev/null
+++ b/public_test_cases/p03891/input.0.txt
@@ -0,0 +1,3 @@
+8
+3
+5
diff --git a/public_test_cases/p03891/input.1.txt b/public_test_cases/p03891/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7bca0cc9d4b028f3a665d3b8c9762860f98f5ba6
--- /dev/null
+++ b/public_test_cases/p03891/input.1.txt
@@ -0,0 +1,3 @@
+8
+3
+5
diff --git a/public_test_cases/p03891/input.2.txt b/public_test_cases/p03891/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8183f05f5db68b3934e93f4bf6bed2bb664e0b5
--- /dev/null
+++ b/public_test_cases/p03891/input.2.txt
@@ -0,0 +1,3 @@
+1
+1
+1
diff --git a/public_test_cases/p03891/output.0.txt b/public_test_cases/p03891/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f640368cdb737721108b5a86e83f60f27aad5e9d
--- /dev/null
+++ b/public_test_cases/p03891/output.0.txt
@@ -0,0 +1,3 @@
+8 3 4
+1 5 9
+6 7 2
diff --git a/public_test_cases/p03891/output.1.txt b/public_test_cases/p03891/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f640368cdb737721108b5a86e83f60f27aad5e9d
--- /dev/null
+++ b/public_test_cases/p03891/output.1.txt
@@ -0,0 +1,3 @@
+8 3 4
+1 5 9
+6 7 2
diff --git a/public_test_cases/p03891/output.2.txt b/public_test_cases/p03891/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1338399b918e92b66f6224f72a7c51c4384b38fa
--- /dev/null
+++ b/public_test_cases/p03891/output.2.txt
@@ -0,0 +1,3 @@
+1 1 1
+1 1 1
+1 1 1
diff --git a/public_test_cases/p03892/input.0.txt b/public_test_cases/p03892/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01aed53aca7e015f4b00452fdf9b794c2e19c94c
--- /dev/null
+++ b/public_test_cases/p03892/input.0.txt
@@ -0,0 +1 @@
+1 1 3 4
diff --git a/public_test_cases/p03892/input.1.txt b/public_test_cases/p03892/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..01aed53aca7e015f4b00452fdf9b794c2e19c94c
--- /dev/null
+++ b/public_test_cases/p03892/input.1.txt
@@ -0,0 +1 @@
+1 1 3 4
diff --git a/public_test_cases/p03892/input.2.txt b/public_test_cases/p03892/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04ce30c67acf66c35d1605223f4914b1e5f0c7f5
--- /dev/null
+++ b/public_test_cases/p03892/input.2.txt
@@ -0,0 +1 @@
+2 3 10 7
diff --git a/public_test_cases/p03892/output.0.txt b/public_test_cases/p03892/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03892/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03892/output.1.txt b/public_test_cases/p03892/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03892/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03892/output.2.txt b/public_test_cases/p03892/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03892/output.2.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03893/input.0.txt b/public_test_cases/p03893/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03893/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03893/input.1.txt b/public_test_cases/p03893/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03893/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03893/output.0.txt b/public_test_cases/p03893/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03893/output.0.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03893/output.1.txt b/public_test_cases/p03893/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03893/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03894/input.0.txt b/public_test_cases/p03894/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9951017cf66256b53d63f0eaae90cacb10b70fb8
--- /dev/null
+++ b/public_test_cases/p03894/input.0.txt
@@ -0,0 +1,4 @@
+10 3
+1 3
+2 4
+4 5
diff --git a/public_test_cases/p03894/input.1.txt b/public_test_cases/p03894/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9951017cf66256b53d63f0eaae90cacb10b70fb8
--- /dev/null
+++ b/public_test_cases/p03894/input.1.txt
@@ -0,0 +1,4 @@
+10 3
+1 3
+2 4
+4 5
diff --git a/public_test_cases/p03894/input.2.txt b/public_test_cases/p03894/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de14e49546f7eda97f495c117ff8874478344f2d
--- /dev/null
+++ b/public_test_cases/p03894/input.2.txt
@@ -0,0 +1,4 @@
+20 3
+1 7
+8 20
+1 19
diff --git a/public_test_cases/p03894/output.0.txt b/public_test_cases/p03894/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03894/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03894/output.1.txt b/public_test_cases/p03894/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03894/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03894/output.2.txt b/public_test_cases/p03894/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03894/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03895/input.0.txt b/public_test_cases/p03895/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0157d523fb0b7b86104c0b4d374eeef0c273078f
--- /dev/null
+++ b/public_test_cases/p03895/input.0.txt
@@ -0,0 +1,4 @@
+3
+28800 57600
+28800 57600
+57600 28800
diff --git a/public_test_cases/p03895/input.1.txt b/public_test_cases/p03895/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0157d523fb0b7b86104c0b4d374eeef0c273078f
--- /dev/null
+++ b/public_test_cases/p03895/input.1.txt
@@ -0,0 +1,4 @@
+3
+28800 57600
+28800 57600
+57600 28800
diff --git a/public_test_cases/p03895/input.2.txt b/public_test_cases/p03895/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c33b5b5325f4d2d098fa23b335a96957a03b2a4
--- /dev/null
+++ b/public_test_cases/p03895/input.2.txt
@@ -0,0 +1,11 @@
+10
+28800 57600
+4800 9600
+6000 1200
+600 600
+300 600
+5400 600
+6000 5760
+6760 2880
+6000 12000
+9000 600
diff --git a/public_test_cases/p03895/output.0.txt b/public_test_cases/p03895/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03895/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03895/output.1.txt b/public_test_cases/p03895/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03895/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03895/output.2.txt b/public_test_cases/p03895/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03895/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03896/input.0.txt b/public_test_cases/p03896/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03896/input.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03896/input.1.txt b/public_test_cases/p03896/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03896/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03896/input.2.txt b/public_test_cases/p03896/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03896/input.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03896/output.0.txt b/public_test_cases/p03896/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..264b5814306e0e689648b8f99cdcab9aa4130be5
--- /dev/null
+++ b/public_test_cases/p03896/output.0.txt
@@ -0,0 +1,7 @@
+2 3 4 5 6 7
+5 3 1 6 4 7
+2 7 4 1 5 6
+2 1 7 5 3 6
+1 4 3 7 6 2
+2 5 7 3 4 1
+2 6 1 4 5 3
diff --git a/public_test_cases/p03896/output.1.txt b/public_test_cases/p03896/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03896/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03896/output.2.txt b/public_test_cases/p03896/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..264b5814306e0e689648b8f99cdcab9aa4130be5
--- /dev/null
+++ b/public_test_cases/p03896/output.2.txt
@@ -0,0 +1,7 @@
+2 3 4 5 6 7
+5 3 1 6 4 7
+2 7 4 1 5 6
+2 1 7 5 3 6
+1 4 3 7 6 2
+2 5 7 3 4 1
+2 6 1 4 5 3
diff --git a/public_test_cases/p03897/input.0.txt b/public_test_cases/p03897/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03897/input.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03897/input.1.txt b/public_test_cases/p03897/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03897/input.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03897/input.2.txt b/public_test_cases/p03897/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03897/input.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03897/output.0.txt b/public_test_cases/p03897/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7ce5df8fb16e7741b8e2541619740404108597f
--- /dev/null
+++ b/public_test_cases/p03897/output.0.txt
@@ -0,0 +1,2 @@
+1
+1 0
diff --git a/public_test_cases/p03897/output.1.txt b/public_test_cases/p03897/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7ce5df8fb16e7741b8e2541619740404108597f
--- /dev/null
+++ b/public_test_cases/p03897/output.1.txt
@@ -0,0 +1,2 @@
+1
+1 0
diff --git a/public_test_cases/p03897/output.2.txt b/public_test_cases/p03897/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4ccceac372f7c1b735f0bacd256ce1e15e72cbb
--- /dev/null
+++ b/public_test_cases/p03897/output.2.txt
@@ -0,0 +1,4 @@
+3
+0 1
+2 1
+2 3
diff --git a/public_test_cases/p03898/input.0.txt b/public_test_cases/p03898/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..913dc828930ae6560976a61bff74724593bfba79
--- /dev/null
+++ b/public_test_cases/p03898/input.0.txt
@@ -0,0 +1,4 @@
+4
+1 2
+2 3
+2 4
diff --git a/public_test_cases/p03898/input.1.txt b/public_test_cases/p03898/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..76fe18e6fb256dd7f122f78a405b240154405981
--- /dev/null
+++ b/public_test_cases/p03898/input.1.txt
@@ -0,0 +1,10 @@
+10
+7 9
+1 2
+6 4
+8 1
+3 7
+6 5
+2 10
+9 6
+2 6
diff --git a/public_test_cases/p03898/input.2.txt b/public_test_cases/p03898/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..913dc828930ae6560976a61bff74724593bfba79
--- /dev/null
+++ b/public_test_cases/p03898/input.2.txt
@@ -0,0 +1,4 @@
+4
+1 2
+2 3
+2 4
diff --git a/public_test_cases/p03898/output.0.txt b/public_test_cases/p03898/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03898/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03898/output.1.txt b/public_test_cases/p03898/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03898/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03898/output.2.txt b/public_test_cases/p03898/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03898/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03899/input.0.txt b/public_test_cases/p03899/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52ef680ccdbc47351f5f76caa5710e1df82c455a
--- /dev/null
+++ b/public_test_cases/p03899/input.0.txt
@@ -0,0 +1,2 @@
+5 2 3
+10 2 8 10 2
diff --git a/public_test_cases/p03899/input.1.txt b/public_test_cases/p03899/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..52ef680ccdbc47351f5f76caa5710e1df82c455a
--- /dev/null
+++ b/public_test_cases/p03899/input.1.txt
@@ -0,0 +1,2 @@
+5 2 3
+10 2 8 10 2
diff --git a/public_test_cases/p03899/input.2.txt b/public_test_cases/p03899/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fb420ed59a76490977e082e25ecba4153a23ffd
--- /dev/null
+++ b/public_test_cases/p03899/input.2.txt
@@ -0,0 +1,2 @@
+10 3 5
+3 7 2 6 9 4 8 5 1 1000000000
diff --git a/public_test_cases/p03899/input.3.txt b/public_test_cases/p03899/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0ea4c883b3639f175e858e07bd8763047768d76
--- /dev/null
+++ b/public_test_cases/p03899/input.3.txt
@@ -0,0 +1,2 @@
+5 5 2
+5 2 10 5 9
diff --git a/public_test_cases/p03899/output.0.txt b/public_test_cases/p03899/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b91e0e1f8dddaac700b51aa7a66f29fc135a02
--- /dev/null
+++ b/public_test_cases/p03899/output.0.txt
@@ -0,0 +1 @@
+56
diff --git a/public_test_cases/p03899/output.1.txt b/public_test_cases/p03899/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6b91e0e1f8dddaac700b51aa7a66f29fc135a02
--- /dev/null
+++ b/public_test_cases/p03899/output.1.txt
@@ -0,0 +1 @@
+56
diff --git a/public_test_cases/p03899/output.2.txt b/public_test_cases/p03899/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb8eb31af402af5a33d06463d29cc64db2ae09a0
--- /dev/null
+++ b/public_test_cases/p03899/output.2.txt
@@ -0,0 +1 @@
+5000000078
diff --git a/public_test_cases/p03899/output.3.txt b/public_test_cases/p03899/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9902f17848a8974ab57d57999b74a63198fe6e23
--- /dev/null
+++ b/public_test_cases/p03899/output.3.txt
@@ -0,0 +1 @@
+28
diff --git a/public_test_cases/p03900/input.0.txt b/public_test_cases/p03900/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04bb19b4c7e89684eb1edc3d06fb96264998aee9
--- /dev/null
+++ b/public_test_cases/p03900/input.0.txt
@@ -0,0 +1,3 @@
+4
+1 2 3 4
+MmM
diff --git a/public_test_cases/p03900/input.1.txt b/public_test_cases/p03900/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7d9c0f9239238d5801dd63b733908aaceec883b
--- /dev/null
+++ b/public_test_cases/p03900/input.1.txt
@@ -0,0 +1,3 @@
+5
+3 4 2 2 1
+MMmm
diff --git a/public_test_cases/p03900/input.2.txt b/public_test_cases/p03900/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f357e8b997d4e835b7f06e7cca7baf79735406d
--- /dev/null
+++ b/public_test_cases/p03900/input.2.txt
@@ -0,0 +1,3 @@
+10
+1 8 7 6 8 5 2 2 6 1
+MmmmmMMMm
diff --git a/public_test_cases/p03900/input.3.txt b/public_test_cases/p03900/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f6e86284abd12c31471aea36d8f8cb162940c37
--- /dev/null
+++ b/public_test_cases/p03900/input.3.txt
@@ -0,0 +1,3 @@
+20
+12 7 16 8 7 19 8 19 20 11 7 13 20 3 4 11 19 11 15 5
+mMMmmmMMMMMMmMmmmMM
diff --git a/public_test_cases/p03900/input.4.txt b/public_test_cases/p03900/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04bb19b4c7e89684eb1edc3d06fb96264998aee9
--- /dev/null
+++ b/public_test_cases/p03900/input.4.txt
@@ -0,0 +1,3 @@
+4
+1 2 3 4
+MmM
diff --git a/public_test_cases/p03900/output.0.txt b/public_test_cases/p03900/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03900/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03900/output.1.txt b/public_test_cases/p03900/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03900/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03900/output.2.txt b/public_test_cases/p03900/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03900/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03900/output.3.txt b/public_test_cases/p03900/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03900/output.3.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03900/output.4.txt b/public_test_cases/p03900/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03900/output.4.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03901/input.0.txt b/public_test_cases/p03901/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e334c9cc44262cdf8970a5d4ad41c7dd75002a2
--- /dev/null
+++ b/public_test_cases/p03901/input.0.txt
@@ -0,0 +1,2 @@
+3
+100
diff --git a/public_test_cases/p03901/input.1.txt b/public_test_cases/p03901/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..03475b2d9c3a0bbf1515bbc18dae32846efe5492
--- /dev/null
+++ b/public_test_cases/p03901/input.1.txt
@@ -0,0 +1,2 @@
+6
+40
diff --git a/public_test_cases/p03901/input.2.txt b/public_test_cases/p03901/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b9c3adc3b2e9a579eb19a72fc4455fe452f82d0
--- /dev/null
+++ b/public_test_cases/p03901/input.2.txt
@@ -0,0 +1,2 @@
+101
+80
diff --git a/public_test_cases/p03901/input.3.txt b/public_test_cases/p03901/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e334c9cc44262cdf8970a5d4ad41c7dd75002a2
--- /dev/null
+++ b/public_test_cases/p03901/input.3.txt
@@ -0,0 +1,2 @@
+3
+100
diff --git a/public_test_cases/p03901/output.0.txt b/public_test_cases/p03901/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b115ac3742ec2160465003718e933a07feeea7db
--- /dev/null
+++ b/public_test_cases/p03901/output.0.txt
@@ -0,0 +1 @@
+2.0000000
diff --git a/public_test_cases/p03901/output.1.txt b/public_test_cases/p03901/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4937b7a2a7a27aacd5d33a863555056332dd02b9
--- /dev/null
+++ b/public_test_cases/p03901/output.1.txt
@@ -0,0 +1 @@
+7.5000000
diff --git a/public_test_cases/p03901/output.2.txt b/public_test_cases/p03901/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30679b685e9bf3a5eafe10333787314e021ce8d0
--- /dev/null
+++ b/public_test_cases/p03901/output.2.txt
@@ -0,0 +1 @@
+63.7500000
diff --git a/public_test_cases/p03901/output.3.txt b/public_test_cases/p03901/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b115ac3742ec2160465003718e933a07feeea7db
--- /dev/null
+++ b/public_test_cases/p03901/output.3.txt
@@ -0,0 +1 @@
+2.0000000
diff --git a/public_test_cases/p03902/input.0.txt b/public_test_cases/p03902/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2c0abf4c1cac470e9d5c005d482433f6ef78b4f
--- /dev/null
+++ b/public_test_cases/p03902/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+2 3 1
+2 1 2
+2 6 3
diff --git a/public_test_cases/p03902/input.1.txt b/public_test_cases/p03902/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ee9832c31d8ec70603687e090ef22ec33af9dcbc
--- /dev/null
+++ b/public_test_cases/p03902/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+2 6 5 6 9
+2 6 4 9 10
+2 6 8 6 7
+2 1 7 3 8
+2 1 4 8 3
diff --git a/public_test_cases/p03902/input.2.txt b/public_test_cases/p03902/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..063da6fe5bd814a416fa7765c425a8051d7a4d03
--- /dev/null
+++ b/public_test_cases/p03902/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+3 2 10
+10 5 4
+9 1 9
diff --git a/public_test_cases/p03902/input.3.txt b/public_test_cases/p03902/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b2c0abf4c1cac470e9d5c005d482433f6ef78b4f
--- /dev/null
+++ b/public_test_cases/p03902/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+2 3 1
+2 1 2
+2 6 3
diff --git a/public_test_cases/p03902/output.0.txt b/public_test_cases/p03902/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03902/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03902/output.1.txt b/public_test_cases/p03902/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
--- /dev/null
+++ b/public_test_cases/p03902/output.1.txt
@@ -0,0 +1 @@
+11
diff --git a/public_test_cases/p03902/output.2.txt b/public_test_cases/p03902/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03902/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03902/output.3.txt b/public_test_cases/p03902/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03902/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03903/input.0.txt b/public_test_cases/p03903/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7fa7c8667f10d8b246175e238b331c9e17a8fbf
--- /dev/null
+++ b/public_test_cases/p03903/input.0.txt
@@ -0,0 +1,7 @@
+4 3
+1 2 3
+2 3 4
+3 4 5
+2
+2 3
+1 4
diff --git a/public_test_cases/p03903/input.1.txt b/public_test_cases/p03903/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c95759d82d02e4ad308d07edb8e2a1b10bff33aa
--- /dev/null
+++ b/public_test_cases/p03903/input.1.txt
@@ -0,0 +1,9 @@
+4 6
+1 3 5
+4 1 10
+2 4 6
+3 2 2
+3 4 5
+2 1 3
+1
+2 3
diff --git a/public_test_cases/p03903/input.2.txt b/public_test_cases/p03903/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d7fa7c8667f10d8b246175e238b331c9e17a8fbf
--- /dev/null
+++ b/public_test_cases/p03903/input.2.txt
@@ -0,0 +1,7 @@
+4 3
+1 2 3
+2 3 4
+3 4 5
+2
+2 3
+1 4
diff --git a/public_test_cases/p03903/output.0.txt b/public_test_cases/p03903/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c52c0341c4b5bda02afb9813365631e97fa2bff7
--- /dev/null
+++ b/public_test_cases/p03903/output.0.txt
@@ -0,0 +1,2 @@
+8
+7
diff --git a/public_test_cases/p03903/output.1.txt b/public_test_cases/p03903/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03903/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03903/output.2.txt b/public_test_cases/p03903/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c52c0341c4b5bda02afb9813365631e97fa2bff7
--- /dev/null
+++ b/public_test_cases/p03903/output.2.txt
@@ -0,0 +1,2 @@
+8
+7
diff --git a/public_test_cases/p03904/input.0.txt b/public_test_cases/p03904/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ac11ed22082c3986e6361bfea57d1897281a4c2
--- /dev/null
+++ b/public_test_cases/p03904/input.0.txt
@@ -0,0 +1,2 @@
+2
+15267315
diff --git a/public_test_cases/p03904/input.1.txt b/public_test_cases/p03904/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b49021bfabafc193f40c85dbe2180091556e3f53
--- /dev/null
+++ b/public_test_cases/p03904/input.1.txt
@@ -0,0 +1,2 @@
+8
+127356176351764127645176543176531763517635176531278461856198765816581726586715987216581
diff --git a/public_test_cases/p03904/input.2.txt b/public_test_cases/p03904/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ac11ed22082c3986e6361bfea57d1897281a4c2
--- /dev/null
+++ b/public_test_cases/p03904/input.2.txt
@@ -0,0 +1,2 @@
+2
+15267315
diff --git a/public_test_cases/p03904/input.3.txt b/public_test_cases/p03904/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1a61cf61fa2a1a954b60e08cbbac1d5f19fdf1f
--- /dev/null
+++ b/public_test_cases/p03904/input.3.txt
@@ -0,0 +1,2 @@
+0
+12456174517653111
diff --git a/public_test_cases/p03904/output.0.txt b/public_test_cases/p03904/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66953656a205bd743475fa76b8e4ea6ee3076b3a
--- /dev/null
+++ b/public_test_cases/p03904/output.0.txt
@@ -0,0 +1 @@
+315
diff --git a/public_test_cases/p03904/output.1.txt b/public_test_cases/p03904/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7c9ffedb86fa271159dfea6d03eb86881577fe4
--- /dev/null
+++ b/public_test_cases/p03904/output.1.txt
@@ -0,0 +1 @@
+5317635176
diff --git a/public_test_cases/p03904/output.2.txt b/public_test_cases/p03904/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..66953656a205bd743475fa76b8e4ea6ee3076b3a
--- /dev/null
+++ b/public_test_cases/p03904/output.2.txt
@@ -0,0 +1 @@
+315
diff --git a/public_test_cases/p03904/output.3.txt b/public_test_cases/p03904/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..32432f2facdfda772feeb0d43cbd264ce8271123
--- /dev/null
+++ b/public_test_cases/p03904/output.3.txt
@@ -0,0 +1 @@
+12456174517653111
diff --git a/public_test_cases/p03905/input.0.txt b/public_test_cases/p03905/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55a59007689e66009da1c61b950d7cb8fce223b9
--- /dev/null
+++ b/public_test_cases/p03905/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 1
+1 0
+1 1
+2 1
diff --git a/public_test_cases/p03905/output.0.txt b/public_test_cases/p03905/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03905/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03906/input.0.txt b/public_test_cases/p03906/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..370b467635b44838e9289ec462174adc5dcb118f
--- /dev/null
+++ b/public_test_cases/p03906/input.0.txt
@@ -0,0 +1,2 @@
+3
+43 24 37
diff --git a/public_test_cases/p03906/output.0.txt b/public_test_cases/p03906/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03906/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03907/input.0.txt b/public_test_cases/p03907/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55a59007689e66009da1c61b950d7cb8fce223b9
--- /dev/null
+++ b/public_test_cases/p03907/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 1
+1 0
+1 1
+2 1
diff --git a/public_test_cases/p03907/input.1.txt b/public_test_cases/p03907/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6572807d955643cafc016aafe313b3a4057e5df
--- /dev/null
+++ b/public_test_cases/p03907/input.1.txt
@@ -0,0 +1,4 @@
+3
+0 1
+1 0
+2 2
diff --git a/public_test_cases/p03907/input.2.txt b/public_test_cases/p03907/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..55a59007689e66009da1c61b950d7cb8fce223b9
--- /dev/null
+++ b/public_test_cases/p03907/input.2.txt
@@ -0,0 +1,5 @@
+4
+0 1
+1 0
+1 1
+2 1
diff --git a/public_test_cases/p03907/output.0.txt b/public_test_cases/p03907/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03907/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03907/output.1.txt b/public_test_cases/p03907/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03907/output.1.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03907/output.2.txt b/public_test_cases/p03907/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03907/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03908/input.0.txt b/public_test_cases/p03908/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..370b467635b44838e9289ec462174adc5dcb118f
--- /dev/null
+++ b/public_test_cases/p03908/input.0.txt
@@ -0,0 +1,2 @@
+3
+43 24 37
diff --git a/public_test_cases/p03908/input.1.txt b/public_test_cases/p03908/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..370b467635b44838e9289ec462174adc5dcb118f
--- /dev/null
+++ b/public_test_cases/p03908/input.1.txt
@@ -0,0 +1,2 @@
+3
+43 24 37
diff --git a/public_test_cases/p03908/input.2.txt b/public_test_cases/p03908/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e8d26e0418020903d7479e954eec4b7bfd06178
--- /dev/null
+++ b/public_test_cases/p03908/input.2.txt
@@ -0,0 +1,2 @@
+5
+49735011221 970534221705 411566391637 760836201000 563515091165
diff --git a/public_test_cases/p03908/output.0.txt b/public_test_cases/p03908/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03908/output.0.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03908/output.1.txt b/public_test_cases/p03908/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03908/output.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03908/output.2.txt b/public_test_cases/p03908/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f96ac06721837aa6a644a580c03c76f304e81db0
--- /dev/null
+++ b/public_test_cases/p03908/output.2.txt
@@ -0,0 +1 @@
+105
diff --git a/public_test_cases/p03909/input.0.txt b/public_test_cases/p03909/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cffe64bea1b257eafe3b5c8edc77f8f1171e895b
--- /dev/null
+++ b/public_test_cases/p03909/input.0.txt
@@ -0,0 +1,16 @@
+15 10
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snuke snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
diff --git a/public_test_cases/p03909/input.1.txt b/public_test_cases/p03909/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cffe64bea1b257eafe3b5c8edc77f8f1171e895b
--- /dev/null
+++ b/public_test_cases/p03909/input.1.txt
@@ -0,0 +1,16 @@
+15 10
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snuke snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
diff --git a/public_test_cases/p03909/input.2.txt b/public_test_cases/p03909/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e797d8d7fa91dde201bc2ac2a91e8196ec940b16
--- /dev/null
+++ b/public_test_cases/p03909/input.2.txt
@@ -0,0 +1,2 @@
+1 1
+snuke
diff --git a/public_test_cases/p03909/output.0.txt b/public_test_cases/p03909/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36e957ec5e3131a68548f5f15805715ef4d70320
--- /dev/null
+++ b/public_test_cases/p03909/output.0.txt
@@ -0,0 +1 @@
+H6
diff --git a/public_test_cases/p03909/output.1.txt b/public_test_cases/p03909/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36e957ec5e3131a68548f5f15805715ef4d70320
--- /dev/null
+++ b/public_test_cases/p03909/output.1.txt
@@ -0,0 +1 @@
+H6
diff --git a/public_test_cases/p03909/output.2.txt b/public_test_cases/p03909/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e6fea0beb6ee8f1b3af7b1f554fe0231dc97016
--- /dev/null
+++ b/public_test_cases/p03909/output.2.txt
@@ -0,0 +1 @@
+A1
diff --git a/public_test_cases/p03910/input.0.txt b/public_test_cases/p03910/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03910/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03910/input.1.txt b/public_test_cases/p03910/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03910/input.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03910/input.2.txt b/public_test_cases/p03910/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03910/input.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03910/input.3.txt b/public_test_cases/p03910/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03910/input.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03910/output.0.txt b/public_test_cases/p03910/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p03910/output.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p03910/output.1.txt b/public_test_cases/p03910/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p03910/output.1.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p03910/output.2.txt b/public_test_cases/p03910/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8a01cd985125a824409ef6b2f264c76b54ffe6a
--- /dev/null
+++ b/public_test_cases/p03910/output.2.txt
@@ -0,0 +1,3 @@
+1
+2
+4
diff --git a/public_test_cases/p03910/output.3.txt b/public_test_cases/p03910/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03910/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03911/input.0.txt b/public_test_cases/p03911/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a9e0fbff537a0bb6c2227e168496f1c64ce9994
--- /dev/null
+++ b/public_test_cases/p03911/input.0.txt
@@ -0,0 +1,5 @@
+4 6
+3 1 2 3
+2 4 2
+2 4 6
+1 6
diff --git a/public_test_cases/p03911/output.0.txt b/public_test_cases/p03911/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03911/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03912/input.0.txt b/public_test_cases/p03912/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5a5ef34631ef24e353ec9100b6fc9c1a7cbd9fc
--- /dev/null
+++ b/public_test_cases/p03912/input.0.txt
@@ -0,0 +1,2 @@
+7 5
+3 1 4 1 5 9 2
diff --git a/public_test_cases/p03912/output.0.txt b/public_test_cases/p03912/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03912/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03913/input.0.txt b/public_test_cases/p03913/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af989859a6a6db64e78a7df7edcdbf3d495948d9
--- /dev/null
+++ b/public_test_cases/p03913/input.0.txt
@@ -0,0 +1 @@
+8 1
diff --git a/public_test_cases/p03913/input.1.txt b/public_test_cases/p03913/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0d1892bdf7bd3b3242f6ee4273434a206327d21
--- /dev/null
+++ b/public_test_cases/p03913/input.1.txt
@@ -0,0 +1 @@
+1000000000000 1000000000000
diff --git a/public_test_cases/p03913/input.2.txt b/public_test_cases/p03913/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af989859a6a6db64e78a7df7edcdbf3d495948d9
--- /dev/null
+++ b/public_test_cases/p03913/input.2.txt
@@ -0,0 +1 @@
+8 1
diff --git a/public_test_cases/p03913/output.0.txt b/public_test_cases/p03913/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03913/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03913/output.1.txt b/public_test_cases/p03913/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6ee9012f2ab8aa0961ad84e2066b4518eafea4f
--- /dev/null
+++ b/public_test_cases/p03913/output.1.txt
@@ -0,0 +1 @@
+1000000000000
diff --git a/public_test_cases/p03913/output.2.txt b/public_test_cases/p03913/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03913/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03914/input.0.txt b/public_test_cases/p03914/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03914/input.0.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03914/input.1.txt b/public_test_cases/p03914/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03914/input.1.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03914/input.2.txt b/public_test_cases/p03914/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6bc9bfb343f33d5c97ae86d1f8060695e024adce
--- /dev/null
+++ b/public_test_cases/p03914/input.2.txt
@@ -0,0 +1 @@
+150 300
diff --git a/public_test_cases/p03914/input.3.txt b/public_test_cases/p03914/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..badfc1a91ddc13e67184e8031f458cc874e044a2
--- /dev/null
+++ b/public_test_cases/p03914/input.3.txt
@@ -0,0 +1 @@
+300 150
diff --git a/public_test_cases/p03914/output.0.txt b/public_test_cases/p03914/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03914/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03914/output.1.txt b/public_test_cases/p03914/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03914/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03914/output.2.txt b/public_test_cases/p03914/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6ca611cfbe37f5c53022d63e3c8b9881a8ff6d2
--- /dev/null
+++ b/public_test_cases/p03914/output.2.txt
@@ -0,0 +1 @@
+734286322
diff --git a/public_test_cases/p03914/output.3.txt b/public_test_cases/p03914/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03914/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03915/input.0.txt b/public_test_cases/p03915/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c26866c8cf9a3352a7297951b085a24398b498fc
--- /dev/null
+++ b/public_test_cases/p03915/input.0.txt
@@ -0,0 +1,2 @@
+7 1
+5 2 1
diff --git a/public_test_cases/p03915/input.1.txt b/public_test_cases/p03915/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c26866c8cf9a3352a7297951b085a24398b498fc
--- /dev/null
+++ b/public_test_cases/p03915/input.1.txt
@@ -0,0 +1,2 @@
+7 1
+5 2 1
diff --git a/public_test_cases/p03915/input.2.txt b/public_test_cases/p03915/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e1fe15e48a7647e040e2cd8e17c41c2fb09b5fb
--- /dev/null
+++ b/public_test_cases/p03915/input.2.txt
@@ -0,0 +1,2 @@
+2 1
+0 0 1000000000
diff --git a/public_test_cases/p03915/input.3.txt b/public_test_cases/p03915/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9012ac4d904881a193328d2277e1fab8133791c
--- /dev/null
+++ b/public_test_cases/p03915/input.3.txt
@@ -0,0 +1,4 @@
+5 3
+0 1 10
+0 2 10
+0 4 10
diff --git a/public_test_cases/p03915/output.0.txt b/public_test_cases/p03915/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03915/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03915/output.1.txt b/public_test_cases/p03915/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03915/output.1.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03915/output.2.txt b/public_test_cases/p03915/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a528ed87320071ba84058bf3cd59e85b5bb7fd7d
--- /dev/null
+++ b/public_test_cases/p03915/output.2.txt
@@ -0,0 +1 @@
+1000000001
diff --git a/public_test_cases/p03915/output.3.txt b/public_test_cases/p03915/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d81cc0710eb6cf9efd5b920a8453e1e07157b6cd
--- /dev/null
+++ b/public_test_cases/p03915/output.3.txt
@@ -0,0 +1 @@
+42
diff --git a/public_test_cases/p03916/input.0.txt b/public_test_cases/p03916/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca282344e3862acbb16958e0ca0539eec3540e52
--- /dev/null
+++ b/public_test_cases/p03916/input.0.txt
@@ -0,0 +1,4 @@
+5
+2 7 1 8
+1
+2
diff --git a/public_test_cases/p03916/input.1.txt b/public_test_cases/p03916/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5638b1a82fa5a06c7a9ccb64178fdb9915800551
--- /dev/null
+++ b/public_test_cases/p03916/input.1.txt
@@ -0,0 +1,8 @@
+9
+2 0 1 6 1 1 2 6
+5
+2016
+1
+1
+2
+6
diff --git a/public_test_cases/p03916/input.2.txt b/public_test_cases/p03916/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca282344e3862acbb16958e0ca0539eec3540e52
--- /dev/null
+++ b/public_test_cases/p03916/input.2.txt
@@ -0,0 +1,4 @@
+5
+2 7 1 8
+1
+2
diff --git a/public_test_cases/p03916/output.0.txt b/public_test_cases/p03916/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03916/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03916/output.1.txt b/public_test_cases/p03916/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24afd3145e362ba133a7918064d9a9d1ee7af379
--- /dev/null
+++ b/public_test_cases/p03916/output.1.txt
@@ -0,0 +1,5 @@
+2001
+6
+6
+7
+7
diff --git a/public_test_cases/p03916/output.2.txt b/public_test_cases/p03916/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03916/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03917/input.0.txt b/public_test_cases/p03917/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4bcb653cd341dab24438edda0e4ff1e13cc6894
--- /dev/null
+++ b/public_test_cases/p03917/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+cf
+cf
diff --git a/public_test_cases/p03917/input.1.txt b/public_test_cases/p03917/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4bcb653cd341dab24438edda0e4ff1e13cc6894
--- /dev/null
+++ b/public_test_cases/p03917/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+cf
+cf
diff --git a/public_test_cases/p03917/input.2.txt b/public_test_cases/p03917/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c6a3e7e40e03ece591b12035ce14309b4317c12
--- /dev/null
+++ b/public_test_cases/p03917/input.2.txt
@@ -0,0 +1,2 @@
+1 12
+codefestival
diff --git a/public_test_cases/p03917/output.0.txt b/public_test_cases/p03917/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03917/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03917/output.1.txt b/public_test_cases/p03917/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03917/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03917/output.2.txt b/public_test_cases/p03917/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03917/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03918/input.0.txt b/public_test_cases/p03918/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b6e3d382e0556652a0e991101bc2492b3781ac1
--- /dev/null
+++ b/public_test_cases/p03918/input.0.txt
@@ -0,0 +1,5 @@
+3
+0 0 1
+1 1 0
+3 0 1
+0 1 1
diff --git a/public_test_cases/p03918/input.1.txt b/public_test_cases/p03918/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2863aba2f26c40572c00d9f8bd7f27c9ffebb15a
--- /dev/null
+++ b/public_test_cases/p03918/input.1.txt
@@ -0,0 +1,5 @@
+2
+2 0
+2 0
+0 0
+0 0
diff --git a/public_test_cases/p03918/input.2.txt b/public_test_cases/p03918/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b6e3d382e0556652a0e991101bc2492b3781ac1
--- /dev/null
+++ b/public_test_cases/p03918/input.2.txt
@@ -0,0 +1,5 @@
+3
+0 0 1
+1 1 0
+3 0 1
+0 1 1
diff --git a/public_test_cases/p03918/output.0.txt b/public_test_cases/p03918/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0875097253c9ec05135d0569c2f7f60f764afb57
--- /dev/null
+++ b/public_test_cases/p03918/output.0.txt
@@ -0,0 +1,9 @@
+L1
+L1
+L1
+L3
+D1
+R2
+U3
+R3
+D2
diff --git a/public_test_cases/p03918/output.1.txt b/public_test_cases/p03918/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03918/output.1.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03918/output.2.txt b/public_test_cases/p03918/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0875097253c9ec05135d0569c2f7f60f764afb57
--- /dev/null
+++ b/public_test_cases/p03918/output.2.txt
@@ -0,0 +1,9 @@
+L1
+L1
+L1
+L3
+D1
+R2
+U3
+R3
+D2
diff --git a/public_test_cases/p03919/input.0.txt b/public_test_cases/p03919/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cffe64bea1b257eafe3b5c8edc77f8f1171e895b
--- /dev/null
+++ b/public_test_cases/p03919/input.0.txt
@@ -0,0 +1,16 @@
+15 10
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snuke snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
+snake snake snake snake snake snake snake snake snake snake
diff --git a/public_test_cases/p03919/output.0.txt b/public_test_cases/p03919/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36e957ec5e3131a68548f5f15805715ef4d70320
--- /dev/null
+++ b/public_test_cases/p03919/output.0.txt
@@ -0,0 +1 @@
+H6
diff --git a/public_test_cases/p03920/input.0.txt b/public_test_cases/p03920/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03920/input.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03920/output.0.txt b/public_test_cases/p03920/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b2f2e1b9261c50c3816610eb3eb140fabf1745a
--- /dev/null
+++ b/public_test_cases/p03920/output.0.txt
@@ -0,0 +1,2 @@
+1
+3
diff --git a/public_test_cases/p03921/input.0.txt b/public_test_cases/p03921/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a9e0fbff537a0bb6c2227e168496f1c64ce9994
--- /dev/null
+++ b/public_test_cases/p03921/input.0.txt
@@ -0,0 +1,5 @@
+4 6
+3 1 2 3
+2 4 2
+2 4 6
+1 6
diff --git a/public_test_cases/p03921/input.1.txt b/public_test_cases/p03921/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a9e0fbff537a0bb6c2227e168496f1c64ce9994
--- /dev/null
+++ b/public_test_cases/p03921/input.1.txt
@@ -0,0 +1,5 @@
+4 6
+3 1 2 3
+2 4 2
+2 4 6
+1 6
diff --git a/public_test_cases/p03921/input.2.txt b/public_test_cases/p03921/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eeb3449f278467829ff150a4e443113678d99ee6
--- /dev/null
+++ b/public_test_cases/p03921/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+2 1 2
+2 1 2
+1 3
+2 4 3
diff --git a/public_test_cases/p03921/output.0.txt b/public_test_cases/p03921/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03921/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03921/output.1.txt b/public_test_cases/p03921/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p03921/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p03921/output.2.txt b/public_test_cases/p03921/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p03921/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p03922/input.0.txt b/public_test_cases/p03922/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5a5ef34631ef24e353ec9100b6fc9c1a7cbd9fc
--- /dev/null
+++ b/public_test_cases/p03922/input.0.txt
@@ -0,0 +1,2 @@
+7 5
+3 1 4 1 5 9 2
diff --git a/public_test_cases/p03922/input.1.txt b/public_test_cases/p03922/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e5a5ef34631ef24e353ec9100b6fc9c1a7cbd9fc
--- /dev/null
+++ b/public_test_cases/p03922/input.1.txt
@@ -0,0 +1,2 @@
+7 5
+3 1 4 1 5 9 2
diff --git a/public_test_cases/p03922/input.2.txt b/public_test_cases/p03922/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbcce0bcf01ce9ea49118bcd8c018c3b39ec1ad8
--- /dev/null
+++ b/public_test_cases/p03922/input.2.txt
@@ -0,0 +1,2 @@
+15 10
+1 5 6 10 11 11 11 20 21 25 25 26 99 99 99
diff --git a/public_test_cases/p03922/output.0.txt b/public_test_cases/p03922/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03922/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03922/output.1.txt b/public_test_cases/p03922/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03922/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03922/output.2.txt b/public_test_cases/p03922/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03922/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03923/input.0.txt b/public_test_cases/p03923/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..af989859a6a6db64e78a7df7edcdbf3d495948d9
--- /dev/null
+++ b/public_test_cases/p03923/input.0.txt
@@ -0,0 +1 @@
+8 1
diff --git a/public_test_cases/p03923/output.0.txt b/public_test_cases/p03923/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03923/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03924/input.0.txt b/public_test_cases/p03924/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac81dc6c529dd3ba045aa25a75933ff6b8539a39
--- /dev/null
+++ b/public_test_cases/p03924/input.0.txt
@@ -0,0 +1 @@
+3 3
diff --git a/public_test_cases/p03924/output.0.txt b/public_test_cases/p03924/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03924/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03925/input.0.txt b/public_test_cases/p03925/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c26866c8cf9a3352a7297951b085a24398b498fc
--- /dev/null
+++ b/public_test_cases/p03925/input.0.txt
@@ -0,0 +1,2 @@
+7 1
+5 2 1
diff --git a/public_test_cases/p03925/output.0.txt b/public_test_cases/p03925/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03925/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03926/input.0.txt b/public_test_cases/p03926/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca282344e3862acbb16958e0ca0539eec3540e52
--- /dev/null
+++ b/public_test_cases/p03926/input.0.txt
@@ -0,0 +1,4 @@
+5
+2 7 1 8
+1
+2
diff --git a/public_test_cases/p03926/output.0.txt b/public_test_cases/p03926/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03926/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03927/input.0.txt b/public_test_cases/p03927/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4bcb653cd341dab24438edda0e4ff1e13cc6894
--- /dev/null
+++ b/public_test_cases/p03927/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+cf
+cf
diff --git a/public_test_cases/p03927/output.0.txt b/public_test_cases/p03927/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03927/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03928/input.0.txt b/public_test_cases/p03928/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b6e3d382e0556652a0e991101bc2492b3781ac1
--- /dev/null
+++ b/public_test_cases/p03928/input.0.txt
@@ -0,0 +1,5 @@
+3
+0 0 1
+1 1 0
+3 0 1
+0 1 1
diff --git a/public_test_cases/p03928/output.0.txt b/public_test_cases/p03928/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0875097253c9ec05135d0569c2f7f60f764afb57
--- /dev/null
+++ b/public_test_cases/p03928/output.0.txt
@@ -0,0 +1,9 @@
+L1
+L1
+L1
+L3
+D1
+R2
+U3
+R3
+D2
diff --git a/public_test_cases/p03929/input.0.txt b/public_test_cases/p03929/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11c8dd7f2c36bdd2f4603cd9e82c497036c78f61
--- /dev/null
+++ b/public_test_cases/p03929/input.0.txt
@@ -0,0 +1 @@
+7 7
diff --git a/public_test_cases/p03929/output.0.txt b/public_test_cases/p03929/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03929/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03931/input.0.txt b/public_test_cases/p03931/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6f19c987b62beffd30898dd2b738b8e263f50d6
--- /dev/null
+++ b/public_test_cases/p03931/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+1 2 3
diff --git a/public_test_cases/p03931/input.1.txt b/public_test_cases/p03931/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b0dd705ae64fd83ccb0bcc583cba1511e4ec1a9
--- /dev/null
+++ b/public_test_cases/p03931/input.1.txt
@@ -0,0 +1,2 @@
+25 127
+5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 105 110 115 120 125
diff --git a/public_test_cases/p03931/input.2.txt b/public_test_cases/p03931/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c6f19c987b62beffd30898dd2b738b8e263f50d6
--- /dev/null
+++ b/public_test_cases/p03931/input.2.txt
@@ -0,0 +1,2 @@
+3 1
+1 2 3
diff --git a/public_test_cases/p03931/input.3.txt b/public_test_cases/p03931/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..17cb8d1a96ca2be4364ef10f278a62b08773cf10
--- /dev/null
+++ b/public_test_cases/p03931/input.3.txt
@@ -0,0 +1,2 @@
+3 10
+8 7 5
diff --git a/public_test_cases/p03931/output.0.txt b/public_test_cases/p03931/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03931/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03931/output.1.txt b/public_test_cases/p03931/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0e9a42827bea1973b9408ac466875a5769beef23
--- /dev/null
+++ b/public_test_cases/p03931/output.1.txt
@@ -0,0 +1 @@
+235924722
diff --git a/public_test_cases/p03931/output.2.txt b/public_test_cases/p03931/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03931/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03931/output.3.txt b/public_test_cases/p03931/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03931/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03932/input.0.txt b/public_test_cases/p03932/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb6c4129d94104e15c479f988974ba48a7d61389
--- /dev/null
+++ b/public_test_cases/p03932/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 0 5
+2 2 3
+4 2 4
diff --git a/public_test_cases/p03932/input.1.txt b/public_test_cases/p03932/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd3cf73cb65e479f06d360c71f8e7ba92cf388a3
--- /dev/null
+++ b/public_test_cases/p03932/input.1.txt
@@ -0,0 +1,7 @@
+6 6
+1 2 3 4 5 6
+8 6 9 1 2 0
+3 1 4 1 5 9
+2 6 5 3 5 8
+1 4 1 4 2 1
+2 7 1 8 2 8
diff --git a/public_test_cases/p03932/input.2.txt b/public_test_cases/p03932/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb6c4129d94104e15c479f988974ba48a7d61389
--- /dev/null
+++ b/public_test_cases/p03932/input.2.txt
@@ -0,0 +1,4 @@
+3 3
+1 0 5
+2 2 3
+4 2 4
diff --git a/public_test_cases/p03932/output.0.txt b/public_test_cases/p03932/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03932/output.0.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03932/output.1.txt b/public_test_cases/p03932/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c17e934b51c1f08a2b3056e4cd63fe62d111672d
--- /dev/null
+++ b/public_test_cases/p03932/output.1.txt
@@ -0,0 +1 @@
+97
diff --git a/public_test_cases/p03932/output.2.txt b/public_test_cases/p03932/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03932/output.2.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03933/input.0.txt b/public_test_cases/p03933/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p03933/input.0.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p03933/input.1.txt b/public_test_cases/p03933/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p03933/input.1.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p03933/input.2.txt b/public_test_cases/p03933/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8585e8227b0ed39229d096fa1ebeade239ca9dd3
--- /dev/null
+++ b/public_test_cases/p03933/input.2.txt
@@ -0,0 +1 @@
+12 220
diff --git a/public_test_cases/p03933/input.3.txt b/public_test_cases/p03933/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c7907f9ed995225a618e238435cf68b9cf6cd06
--- /dev/null
+++ b/public_test_cases/p03933/input.3.txt
@@ -0,0 +1 @@
+6 9
diff --git a/public_test_cases/p03933/output.0.txt b/public_test_cases/p03933/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0052626b462e41304cca2575da304eb5117e90d3
--- /dev/null
+++ b/public_test_cases/p03933/output.0.txt
@@ -0,0 +1 @@
+1.0000000000000
diff --git a/public_test_cases/p03933/output.1.txt b/public_test_cases/p03933/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0052626b462e41304cca2575da304eb5117e90d3
--- /dev/null
+++ b/public_test_cases/p03933/output.1.txt
@@ -0,0 +1 @@
+1.0000000000000
diff --git a/public_test_cases/p03933/output.2.txt b/public_test_cases/p03933/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c52dec16377f02dec04b1d97344d9c0d10d0fc5e
--- /dev/null
+++ b/public_test_cases/p03933/output.2.txt
@@ -0,0 +1 @@
+1.29903810568
diff --git a/public_test_cases/p03933/output.3.txt b/public_test_cases/p03933/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2eb7709fdb9718ec60d11b4fed0f3c5e7ac1e87f
--- /dev/null
+++ b/public_test_cases/p03933/output.3.txt
@@ -0,0 +1 @@
+0.86602540378
diff --git a/public_test_cases/p03934/input.0.txt b/public_test_cases/p03934/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a84cefc5514f91746ec95c9ec9702d87f7aec031
--- /dev/null
+++ b/public_test_cases/p03934/input.0.txt
@@ -0,0 +1,4 @@
+9 3
+5 11
+8 4
+4 7
diff --git a/public_test_cases/p03934/input.1.txt b/public_test_cases/p03934/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ec65aee98f3c3751988e08afa467751bd7d5990
--- /dev/null
+++ b/public_test_cases/p03934/input.1.txt
@@ -0,0 +1,7 @@
+6 6
+3 5
+6 11
+1 6
+4 7
+5 2
+2 5
diff --git a/public_test_cases/p03934/input.2.txt b/public_test_cases/p03934/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a84cefc5514f91746ec95c9ec9702d87f7aec031
--- /dev/null
+++ b/public_test_cases/p03934/input.2.txt
@@ -0,0 +1,4 @@
+9 3
+5 11
+8 4
+4 7
diff --git a/public_test_cases/p03934/input.3.txt b/public_test_cases/p03934/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b84405095a8e5b7e75d511b064f10977adbd645d
--- /dev/null
+++ b/public_test_cases/p03934/input.3.txt
@@ -0,0 +1,7 @@
+5 6
+1 1
+2 1
+3 1
+1 1
+5 1
+3 1
diff --git a/public_test_cases/p03934/input.4.txt b/public_test_cases/p03934/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4f024d7210348548f88085727e0f942cfdbfc49
--- /dev/null
+++ b/public_test_cases/p03934/input.4.txt
@@ -0,0 +1,11 @@
+10 10
+10 10
+9 20
+8 30
+7 40
+6 50
+5 60
+4 70
+3 80
+2 90
+1 100
diff --git a/public_test_cases/p03934/output.0.txt b/public_test_cases/p03934/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31de5e4a1fae8e83cd7a09601511b7d579bb79ee
--- /dev/null
+++ b/public_test_cases/p03934/output.0.txt
@@ -0,0 +1,9 @@
+4
+4
+4
+4
+2
+2
+1
+1
+0
diff --git a/public_test_cases/p03934/output.1.txt b/public_test_cases/p03934/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9dd8a629004e48402071881af89a58d0d85cbcde
--- /dev/null
+++ b/public_test_cases/p03934/output.1.txt
@@ -0,0 +1,6 @@
+10
+10
+5
+5
+4
+2
diff --git a/public_test_cases/p03934/output.2.txt b/public_test_cases/p03934/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31de5e4a1fae8e83cd7a09601511b7d579bb79ee
--- /dev/null
+++ b/public_test_cases/p03934/output.2.txt
@@ -0,0 +1,9 @@
+4
+4
+4
+4
+2
+2
+1
+1
+0
diff --git a/public_test_cases/p03934/output.3.txt b/public_test_cases/p03934/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e12b8a9216ea2c83be4943c19fbbae1430277bf0
--- /dev/null
+++ b/public_test_cases/p03934/output.3.txt
@@ -0,0 +1,5 @@
+2
+2
+1
+1
+0
diff --git a/public_test_cases/p03934/output.4.txt b/public_test_cases/p03934/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..943c47d100ad5acfedbb210dcb330855039f1a88
--- /dev/null
+++ b/public_test_cases/p03934/output.4.txt
@@ -0,0 +1,10 @@
+223
+123
+77
+50
+33
+21
+12
+7
+3
+1
diff --git a/public_test_cases/p03935/input.0.txt b/public_test_cases/p03935/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ac1165e4c0945867839c19fec5e93993649bbef
--- /dev/null
+++ b/public_test_cases/p03935/input.0.txt
@@ -0,0 +1 @@
+4 7
diff --git a/public_test_cases/p03935/input.1.txt b/public_test_cases/p03935/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9ac1165e4c0945867839c19fec5e93993649bbef
--- /dev/null
+++ b/public_test_cases/p03935/input.1.txt
@@ -0,0 +1 @@
+4 7
diff --git a/public_test_cases/p03935/input.2.txt b/public_test_cases/p03935/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db422711562179475058321c1e9ba6f490f51421
--- /dev/null
+++ b/public_test_cases/p03935/input.2.txt
@@ -0,0 +1 @@
+12 20
diff --git a/public_test_cases/p03935/input.3.txt b/public_test_cases/p03935/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4084d94e7dd94a14f3985f0bc77cbf47b9673f02
--- /dev/null
+++ b/public_test_cases/p03935/input.3.txt
@@ -0,0 +1 @@
+16 30
diff --git a/public_test_cases/p03935/output.0.txt b/public_test_cases/p03935/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1057e9a27306e3e5567c601c522f00dc5ed6698e
--- /dev/null
+++ b/public_test_cases/p03935/output.0.txt
@@ -0,0 +1 @@
+176
diff --git a/public_test_cases/p03935/output.1.txt b/public_test_cases/p03935/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1057e9a27306e3e5567c601c522f00dc5ed6698e
--- /dev/null
+++ b/public_test_cases/p03935/output.1.txt
@@ -0,0 +1 @@
+176
diff --git a/public_test_cases/p03935/output.2.txt b/public_test_cases/p03935/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63c2e7082ba38fbbe271d2f78d066d4cf0b84a1a
--- /dev/null
+++ b/public_test_cases/p03935/output.2.txt
@@ -0,0 +1 @@
+174174144
diff --git a/public_test_cases/p03935/output.3.txt b/public_test_cases/p03935/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a172647416c81b9cc39585335133d93e3ceda9da
--- /dev/null
+++ b/public_test_cases/p03935/output.3.txt
@@ -0,0 +1 @@
+102292850
diff --git a/public_test_cases/p03937/input.0.txt b/public_test_cases/p03937/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6dff3c7e5c8c94ff17b00917b493956a715316f9
--- /dev/null
+++ b/public_test_cases/p03937/input.0.txt
@@ -0,0 +1,5 @@
+4 5
+##...
+.##..
+..##.
+...##
diff --git a/public_test_cases/p03937/input.1.txt b/public_test_cases/p03937/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b21594815b6de900fc5343132cf300a0a750c9b3
--- /dev/null
+++ b/public_test_cases/p03937/input.1.txt
@@ -0,0 +1,5 @@
+5 3
+
+..#
+
+..
diff --git a/public_test_cases/p03937/input.2.txt b/public_test_cases/p03937/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6dff3c7e5c8c94ff17b00917b493956a715316f9
--- /dev/null
+++ b/public_test_cases/p03937/input.2.txt
@@ -0,0 +1,5 @@
+4 5
+##...
+.##..
+..##.
+...##
diff --git a/public_test_cases/p03937/input.3.txt b/public_test_cases/p03937/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..580bac27d910df0307df8ed06f05cd6c820ed84e
--- /dev/null
+++ b/public_test_cases/p03937/input.3.txt
@@ -0,0 +1,5 @@
+4 5
+...
+.###.
+.###.
+...##
diff --git a/public_test_cases/p03937/input.4.txt b/public_test_cases/p03937/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b46552a116c5e0e1e4e98b9d06568746b03c3c49
--- /dev/null
+++ b/public_test_cases/p03937/input.4.txt
@@ -0,0 +1,5 @@
+4 5
+...
+.##..
+..##.
+...##
diff --git a/public_test_cases/p03937/output.0.txt b/public_test_cases/p03937/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p03937/output.0.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p03937/output.1.txt b/public_test_cases/p03937/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p03937/output.1.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p03937/output.2.txt b/public_test_cases/p03937/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p03937/output.2.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p03937/output.3.txt b/public_test_cases/p03937/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p03937/output.3.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p03937/output.4.txt b/public_test_cases/p03937/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p03937/output.4.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p03938/input.0.txt b/public_test_cases/p03938/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03938/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03938/input.1.txt b/public_test_cases/p03938/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5898906cc695e2f596c5a2686fef39f0284514c0
--- /dev/null
+++ b/public_test_cases/p03938/input.1.txt
@@ -0,0 +1,2 @@
+3
+3 2 1
diff --git a/public_test_cases/p03938/input.2.txt b/public_test_cases/p03938/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b29044c7562263214ba07e95181d4fffa71da483
--- /dev/null
+++ b/public_test_cases/p03938/input.2.txt
@@ -0,0 +1,2 @@
+3
+2 3 1
diff --git a/public_test_cases/p03938/input.3.txt b/public_test_cases/p03938/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a789e877c643430c30a51865929c408fd1be22d4
--- /dev/null
+++ b/public_test_cases/p03938/input.3.txt
@@ -0,0 +1,2 @@
+2
+1 2
diff --git a/public_test_cases/p03938/output.0.txt b/public_test_cases/p03938/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fd114c41aefed78eaa24be39cb6e685d782a451
--- /dev/null
+++ b/public_test_cases/p03938/output.0.txt
@@ -0,0 +1,2 @@
+1 4
+5 4
diff --git a/public_test_cases/p03938/output.1.txt b/public_test_cases/p03938/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8f6391481842ead0e037a7a8f48355327b283e8d
--- /dev/null
+++ b/public_test_cases/p03938/output.1.txt
@@ -0,0 +1,2 @@
+1 2 3
+5 3 1
diff --git a/public_test_cases/p03938/output.2.txt b/public_test_cases/p03938/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f37bad9d5d0c4c54f9f2ace4b7f278dcfb5fa97c
--- /dev/null
+++ b/public_test_cases/p03938/output.2.txt
@@ -0,0 +1,2 @@
+5 10 100
+100 10 1
diff --git a/public_test_cases/p03938/output.3.txt b/public_test_cases/p03938/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fd114c41aefed78eaa24be39cb6e685d782a451
--- /dev/null
+++ b/public_test_cases/p03938/output.3.txt
@@ -0,0 +1,2 @@
+1 4
+5 4
diff --git a/public_test_cases/p03939/input.0.txt b/public_test_cases/p03939/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ef63d76e86713ac418642c556347aae7ea86ed3
--- /dev/null
+++ b/public_test_cases/p03939/input.0.txt
@@ -0,0 +1 @@
+1 3 3
diff --git a/public_test_cases/p03939/input.1.txt b/public_test_cases/p03939/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ef63d76e86713ac418642c556347aae7ea86ed3
--- /dev/null
+++ b/public_test_cases/p03939/input.1.txt
@@ -0,0 +1 @@
+1 3 3
diff --git a/public_test_cases/p03939/input.2.txt b/public_test_cases/p03939/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7ca21f62cc452296f2cd11e737889977b95049c
--- /dev/null
+++ b/public_test_cases/p03939/input.2.txt
@@ -0,0 +1 @@
+1000 100 100
diff --git a/public_test_cases/p03939/input.3.txt b/public_test_cases/p03939/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf3b95ccb2dce2dba412eba3a42880252b3238a3
--- /dev/null
+++ b/public_test_cases/p03939/input.3.txt
@@ -0,0 +1 @@
+2 1 0
diff --git a/public_test_cases/p03939/output.0.txt b/public_test_cases/p03939/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7cc2d57badfff1023a3665689f8840d9afe1370
--- /dev/null
+++ b/public_test_cases/p03939/output.0.txt
@@ -0,0 +1 @@
+4.500000000000000
diff --git a/public_test_cases/p03939/output.1.txt b/public_test_cases/p03939/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e7cc2d57badfff1023a3665689f8840d9afe1370
--- /dev/null
+++ b/public_test_cases/p03939/output.1.txt
@@ -0,0 +1 @@
+4.500000000000000
diff --git a/public_test_cases/p03939/output.2.txt b/public_test_cases/p03939/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..482f269830ff7100ff855a42a6445378de6e8b98
--- /dev/null
+++ b/public_test_cases/p03939/output.2.txt
@@ -0,0 +1 @@
+649620280.957660079002380
diff --git a/public_test_cases/p03939/output.3.txt b/public_test_cases/p03939/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f45b7ffd5a15b78dc934dec2ac98819ea6de7fff
--- /dev/null
+++ b/public_test_cases/p03939/output.3.txt
@@ -0,0 +1 @@
+2.500000000000000
diff --git a/public_test_cases/p03940/input.0.txt b/public_test_cases/p03940/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6517df473ed162c8617a66d3a768c0859f07938
--- /dev/null
+++ b/public_test_cases/p03940/input.0.txt
@@ -0,0 +1,2 @@
+3 9 1
+1 3 8
diff --git a/public_test_cases/p03940/input.1.txt b/public_test_cases/p03940/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6517df473ed162c8617a66d3a768c0859f07938
--- /dev/null
+++ b/public_test_cases/p03940/input.1.txt
@@ -0,0 +1,2 @@
+3 9 1
+1 3 8
diff --git a/public_test_cases/p03940/input.2.txt b/public_test_cases/p03940/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24f8dc1e1bd64f38be817319648d343639ecb895
--- /dev/null
+++ b/public_test_cases/p03940/input.2.txt
@@ -0,0 +1,2 @@
+2 1000000000 1000000000
+1 999999999
diff --git a/public_test_cases/p03940/input.3.txt b/public_test_cases/p03940/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..feea728056bf5c5b0f3588cfb925b13d7bd641da
--- /dev/null
+++ b/public_test_cases/p03940/input.3.txt
@@ -0,0 +1,2 @@
+3 9 3
+1 3 8
diff --git a/public_test_cases/p03940/output.0.txt b/public_test_cases/p03940/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03940/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03940/output.1.txt b/public_test_cases/p03940/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03940/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03940/output.2.txt b/public_test_cases/p03940/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9702df67e79499fd3e69dddbcfd583c52905f614
--- /dev/null
+++ b/public_test_cases/p03940/output.2.txt
@@ -0,0 +1 @@
+2999999996
diff --git a/public_test_cases/p03940/output.3.txt b/public_test_cases/p03940/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03940/output.3.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03941/input.0.txt b/public_test_cases/p03941/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53db7bf9499109729d422e0dfa267502950a02c5
--- /dev/null
+++ b/public_test_cases/p03941/input.0.txt
@@ -0,0 +1,7 @@
+7
+1 1
+1 1
+2 1
+2 1
+3 1
+3 1
diff --git a/public_test_cases/p03941/input.1.txt b/public_test_cases/p03941/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4957980da7a57430a4fdde21348be7057e14a51c
--- /dev/null
+++ b/public_test_cases/p03941/input.1.txt
@@ -0,0 +1,9 @@
+9
+1 2
+1 2
+3 2
+3 2
+5 2
+5 2
+7 2
+7 2
diff --git a/public_test_cases/p03941/input.2.txt b/public_test_cases/p03941/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0158dd7f8869960acd606d272b7e081111d3aab
--- /dev/null
+++ b/public_test_cases/p03941/input.2.txt
@@ -0,0 +1,3 @@
+3
+1 0
+1 0
diff --git a/public_test_cases/p03941/input.3.txt b/public_test_cases/p03941/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..53db7bf9499109729d422e0dfa267502950a02c5
--- /dev/null
+++ b/public_test_cases/p03941/input.3.txt
@@ -0,0 +1,7 @@
+7
+1 1
+1 1
+2 1
+2 1
+3 1
+3 1
diff --git a/public_test_cases/p03941/input.4.txt b/public_test_cases/p03941/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1c499d965bb58cce57c34587d036d01c4df939c8
--- /dev/null
+++ b/public_test_cases/p03941/input.4.txt
@@ -0,0 +1,15 @@
+15
+1 2
+1 5
+3 3
+4 3
+4 3
+6 5
+5 4
+5 3
+6 3
+3 2
+11 5
+11 3
+13 2
+13 1
diff --git a/public_test_cases/p03941/output.0.txt b/public_test_cases/p03941/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03941/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03941/output.1.txt b/public_test_cases/p03941/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03941/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03941/output.2.txt b/public_test_cases/p03941/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03941/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03941/output.3.txt b/public_test_cases/p03941/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03941/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03941/output.4.txt b/public_test_cases/p03941/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p03941/output.4.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p03942/input.0.txt b/public_test_cases/p03942/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de4d9f16d15fc86a23c71d1ed5bfb1a2d0aa3177
--- /dev/null
+++ b/public_test_cases/p03942/input.0.txt
@@ -0,0 +1,3 @@
+5
+abcde
+aaacc
diff --git a/public_test_cases/p03942/input.1.txt b/public_test_cases/p03942/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cea30a93ed8f4b21a0f0a6b24982672ca9cb72a1
--- /dev/null
+++ b/public_test_cases/p03942/input.1.txt
@@ -0,0 +1,3 @@
+5
+abcde
+abcde
diff --git a/public_test_cases/p03942/input.2.txt b/public_test_cases/p03942/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2f78086b708602f479fd0f7c41135742d78f7f8f
--- /dev/null
+++ b/public_test_cases/p03942/input.2.txt
@@ -0,0 +1,3 @@
+5
+abcde
+bbbbb
diff --git a/public_test_cases/p03942/input.3.txt b/public_test_cases/p03942/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1504a8b6efd516c89956e4d642d41004b4778d1a
--- /dev/null
+++ b/public_test_cases/p03942/input.3.txt
@@ -0,0 +1,3 @@
+4
+acaa
+aaca
diff --git a/public_test_cases/p03942/input.4.txt b/public_test_cases/p03942/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..de4d9f16d15fc86a23c71d1ed5bfb1a2d0aa3177
--- /dev/null
+++ b/public_test_cases/p03942/input.4.txt
@@ -0,0 +1,3 @@
+5
+abcde
+aaacc
diff --git a/public_test_cases/p03942/output.0.txt b/public_test_cases/p03942/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03942/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03942/output.1.txt b/public_test_cases/p03942/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03942/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03942/output.2.txt b/public_test_cases/p03942/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03942/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03942/output.3.txt b/public_test_cases/p03942/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03942/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03942/output.4.txt b/public_test_cases/p03942/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03942/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03943/input.0.txt b/public_test_cases/p03943/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..656cfca42f985f948aa5326564973e28baad5fc4
--- /dev/null
+++ b/public_test_cases/p03943/input.0.txt
@@ -0,0 +1 @@
+10 30 20
diff --git a/public_test_cases/p03943/input.1.txt b/public_test_cases/p03943/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d8671ece10546c705aedb92232cac25f810eccd
--- /dev/null
+++ b/public_test_cases/p03943/input.1.txt
@@ -0,0 +1 @@
+56 25 31
diff --git a/public_test_cases/p03943/input.2.txt b/public_test_cases/p03943/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..656cfca42f985f948aa5326564973e28baad5fc4
--- /dev/null
+++ b/public_test_cases/p03943/input.2.txt
@@ -0,0 +1 @@
+10 30 20
diff --git a/public_test_cases/p03943/input.3.txt b/public_test_cases/p03943/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cdadafdd7634b7a89b4ec1347004e4e3074035ed
--- /dev/null
+++ b/public_test_cases/p03943/input.3.txt
@@ -0,0 +1 @@
+30 30 100
diff --git a/public_test_cases/p03943/output.0.txt b/public_test_cases/p03943/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03943/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03943/output.1.txt b/public_test_cases/p03943/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03943/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03943/output.2.txt b/public_test_cases/p03943/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03943/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03943/output.3.txt b/public_test_cases/p03943/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03943/output.3.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03944/input.0.txt b/public_test_cases/p03944/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acbfc5e914a1485dd0f6a4160d9c109bb8dc6c6e
--- /dev/null
+++ b/public_test_cases/p03944/input.0.txt
@@ -0,0 +1,3 @@
+5 4 2
+2 1 1
+3 3 4
diff --git a/public_test_cases/p03944/input.1.txt b/public_test_cases/p03944/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d609c374a9e658e6a39461753fba812d8dd9bb58
--- /dev/null
+++ b/public_test_cases/p03944/input.1.txt
@@ -0,0 +1,4 @@
+5 4 3
+2 1 1
+3 3 4
+1 4 2
diff --git a/public_test_cases/p03944/input.2.txt b/public_test_cases/p03944/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..acbfc5e914a1485dd0f6a4160d9c109bb8dc6c6e
--- /dev/null
+++ b/public_test_cases/p03944/input.2.txt
@@ -0,0 +1,3 @@
+5 4 2
+2 1 1
+3 3 4
diff --git a/public_test_cases/p03944/input.3.txt b/public_test_cases/p03944/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..47ecef8375ebebdb78ee55771deb7c94f53638f3
--- /dev/null
+++ b/public_test_cases/p03944/input.3.txt
@@ -0,0 +1,6 @@
+10 10 5
+1 6 1
+4 1 3
+6 9 4
+9 4 2
+3 1 3
diff --git a/public_test_cases/p03944/output.0.txt b/public_test_cases/p03944/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03944/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03944/output.1.txt b/public_test_cases/p03944/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03944/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03944/output.2.txt b/public_test_cases/p03944/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03944/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03944/output.3.txt b/public_test_cases/p03944/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..900731ffd51ffc82db488b6554f719de735f12bd
--- /dev/null
+++ b/public_test_cases/p03944/output.3.txt
@@ -0,0 +1 @@
+64
diff --git a/public_test_cases/p03945/input.0.txt b/public_test_cases/p03945/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b48f967c360cc8198983a3395fb4552803ccbc3a
--- /dev/null
+++ b/public_test_cases/p03945/input.0.txt
@@ -0,0 +1 @@
+BBBWW
diff --git a/public_test_cases/p03945/input.1.txt b/public_test_cases/p03945/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13bbdc2e7705c3c8014b52f71464477b407420b7
--- /dev/null
+++ b/public_test_cases/p03945/input.1.txt
@@ -0,0 +1 @@
+WWWWWW
diff --git a/public_test_cases/p03945/input.2.txt b/public_test_cases/p03945/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4db4936fb9b6e057496c68831c60f74bd4daa432
--- /dev/null
+++ b/public_test_cases/p03945/input.2.txt
@@ -0,0 +1 @@
+WBWBWBWBWB
diff --git a/public_test_cases/p03945/input.3.txt b/public_test_cases/p03945/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b48f967c360cc8198983a3395fb4552803ccbc3a
--- /dev/null
+++ b/public_test_cases/p03945/input.3.txt
@@ -0,0 +1 @@
+BBBWW
diff --git a/public_test_cases/p03945/output.0.txt b/public_test_cases/p03945/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03945/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03945/output.1.txt b/public_test_cases/p03945/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03945/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03945/output.2.txt b/public_test_cases/p03945/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03945/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03945/output.3.txt b/public_test_cases/p03945/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03945/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03946/input.0.txt b/public_test_cases/p03946/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b9859e2b51fca8177149002068af19928c5d203
--- /dev/null
+++ b/public_test_cases/p03946/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+100 50 200
diff --git a/public_test_cases/p03946/output.0.txt b/public_test_cases/p03946/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03946/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03947/input.0.txt b/public_test_cases/p03947/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b48f967c360cc8198983a3395fb4552803ccbc3a
--- /dev/null
+++ b/public_test_cases/p03947/input.0.txt
@@ -0,0 +1 @@
+BBBWW
diff --git a/public_test_cases/p03947/output.0.txt b/public_test_cases/p03947/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03947/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03948/input.0.txt b/public_test_cases/p03948/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b9859e2b51fca8177149002068af19928c5d203
--- /dev/null
+++ b/public_test_cases/p03948/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+100 50 200
diff --git a/public_test_cases/p03948/input.1.txt b/public_test_cases/p03948/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c68c835b4dc2a4aa7c96fe69d1b8cf8e4ab60fd
--- /dev/null
+++ b/public_test_cases/p03948/input.1.txt
@@ -0,0 +1,2 @@
+5 8
+50 30 40 10 20
diff --git a/public_test_cases/p03948/input.2.txt b/public_test_cases/p03948/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71b4c4a6e1aee249c789eea014e9be6027f1a655
--- /dev/null
+++ b/public_test_cases/p03948/input.2.txt
@@ -0,0 +1,2 @@
+10 100
+7 10 4 5 9 3 6 8 2 1
diff --git a/public_test_cases/p03948/input.3.txt b/public_test_cases/p03948/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b9859e2b51fca8177149002068af19928c5d203
--- /dev/null
+++ b/public_test_cases/p03948/input.3.txt
@@ -0,0 +1,2 @@
+3 2
+100 50 200
diff --git a/public_test_cases/p03948/output.0.txt b/public_test_cases/p03948/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03948/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03948/output.1.txt b/public_test_cases/p03948/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03948/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03948/output.2.txt b/public_test_cases/p03948/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03948/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03948/output.3.txt b/public_test_cases/p03948/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03948/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03949/input.0.txt b/public_test_cases/p03949/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a86b83066fac73972b4e53faad052a65b805ba4
--- /dev/null
+++ b/public_test_cases/p03949/input.0.txt
@@ -0,0 +1,8 @@
+5
+1 2
+3 1
+4 3
+3 5
+2
+2 6
+5 7
diff --git a/public_test_cases/p03949/input.1.txt b/public_test_cases/p03949/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a2c5f2b60afe6ab8b9a93da253ee8bbee3f41423
--- /dev/null
+++ b/public_test_cases/p03949/input.1.txt
@@ -0,0 +1,6 @@
+4
+1 2
+2 3
+3 4
+1
+1 0
diff --git a/public_test_cases/p03949/input.2.txt b/public_test_cases/p03949/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22cc29e609c06446fa337c99d7e9fc1ae29d9d9b
--- /dev/null
+++ b/public_test_cases/p03949/input.2.txt
@@ -0,0 +1,9 @@
+5
+1 2
+3 1
+4 3
+3 5
+3
+2 6
+4 3
+5 7
diff --git a/public_test_cases/p03949/input.3.txt b/public_test_cases/p03949/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5a86b83066fac73972b4e53faad052a65b805ba4
--- /dev/null
+++ b/public_test_cases/p03949/input.3.txt
@@ -0,0 +1,8 @@
+5
+1 2
+3 1
+4 3
+3 5
+2
+2 6
+5 7
diff --git a/public_test_cases/p03949/output.0.txt b/public_test_cases/p03949/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7580dae88ef712178ccaf8c66e4254d87292eab6
--- /dev/null
+++ b/public_test_cases/p03949/output.0.txt
@@ -0,0 +1,6 @@
+Yes
+5
+6
+6
+5
+7
diff --git a/public_test_cases/p03949/output.1.txt b/public_test_cases/p03949/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29172929eee15d368dec7c0cd4b7419ca870adff
--- /dev/null
+++ b/public_test_cases/p03949/output.1.txt
@@ -0,0 +1,5 @@
+Yes
+0
+-1
+-2
+-3
diff --git a/public_test_cases/p03949/output.2.txt b/public_test_cases/p03949/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03949/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03949/output.3.txt b/public_test_cases/p03949/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7580dae88ef712178ccaf8c66e4254d87292eab6
--- /dev/null
+++ b/public_test_cases/p03949/output.3.txt
@@ -0,0 +1,6 @@
+Yes
+5
+6
+6
+5
+7
diff --git a/public_test_cases/p03950/input.0.txt b/public_test_cases/p03950/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f20ff619fdaa77a8899620a6600da5bbe2ecdeb
--- /dev/null
+++ b/public_test_cases/p03950/input.0.txt
@@ -0,0 +1,5 @@
+10 10 4
+1 6
+4 1
+6 9
+9 4
diff --git a/public_test_cases/p03950/input.1.txt b/public_test_cases/p03950/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..430ff4f3baef0cba67479fffd7ec46832427c418
--- /dev/null
+++ b/public_test_cases/p03950/input.1.txt
@@ -0,0 +1,6 @@
+5 4 5
+0 0
+1 1
+2 2
+4 3
+5 4
diff --git a/public_test_cases/p03950/input.2.txt b/public_test_cases/p03950/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fc42b50125dd2e2d97e5e25f24d7bf21fcc9735
--- /dev/null
+++ b/public_test_cases/p03950/input.2.txt
@@ -0,0 +1,2 @@
+100000000 100000000 1
+3 4
diff --git a/public_test_cases/p03950/input.3.txt b/public_test_cases/p03950/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f20ff619fdaa77a8899620a6600da5bbe2ecdeb
--- /dev/null
+++ b/public_test_cases/p03950/input.3.txt
@@ -0,0 +1,5 @@
+10 10 4
+1 6
+4 1
+6 9
+9 4
diff --git a/public_test_cases/p03950/input.4.txt b/public_test_cases/p03950/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..367e02f1efd7d6515fdb0f354fb660fab31946ad
--- /dev/null
+++ b/public_test_cases/p03950/input.4.txt
@@ -0,0 +1,9 @@
+100 100 8
+19 33
+8 10
+52 18
+94 2
+81 36
+88 95
+67 83
+20 71
diff --git a/public_test_cases/p03950/output.0.txt b/public_test_cases/p03950/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p03950/output.0.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p03950/output.1.txt b/public_test_cases/p03950/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03950/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03950/output.2.txt b/public_test_cases/p03950/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6b1f3019788d9a5daa5f800c98453dea70a075b
--- /dev/null
+++ b/public_test_cases/p03950/output.2.txt
@@ -0,0 +1 @@
+399999994
diff --git a/public_test_cases/p03950/output.3.txt b/public_test_cases/p03950/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5c89552bd3e62bfce023a230e90d141f7a46b2f
--- /dev/null
+++ b/public_test_cases/p03950/output.3.txt
@@ -0,0 +1 @@
+32
diff --git a/public_test_cases/p03950/output.4.txt b/public_test_cases/p03950/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67f3f23eca8eac181c5a0e2f8da2a535eba9f5a3
--- /dev/null
+++ b/public_test_cases/p03950/output.4.txt
@@ -0,0 +1 @@
+270
diff --git a/public_test_cases/p03951/input.0.txt b/public_test_cases/p03951/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..307c7f09087bbd6e66f21e43ad2f1cc56ca8c16c
--- /dev/null
+++ b/public_test_cases/p03951/input.0.txt
@@ -0,0 +1,3 @@
+3
+abc
+cde
diff --git a/public_test_cases/p03951/input.1.txt b/public_test_cases/p03951/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..307c7f09087bbd6e66f21e43ad2f1cc56ca8c16c
--- /dev/null
+++ b/public_test_cases/p03951/input.1.txt
@@ -0,0 +1,3 @@
+3
+abc
+cde
diff --git a/public_test_cases/p03951/input.2.txt b/public_test_cases/p03951/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1b769783b672fd10a46a0e9efab1f51d24146aad
--- /dev/null
+++ b/public_test_cases/p03951/input.2.txt
@@ -0,0 +1,3 @@
+1
+a
+z
diff --git a/public_test_cases/p03951/input.3.txt b/public_test_cases/p03951/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..20a0bfc44e6c1024b706abb447e51b4204fb676f
--- /dev/null
+++ b/public_test_cases/p03951/input.3.txt
@@ -0,0 +1,3 @@
+4
+expr
+expr
diff --git a/public_test_cases/p03951/output.0.txt b/public_test_cases/p03951/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03951/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03951/output.1.txt b/public_test_cases/p03951/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03951/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03951/output.2.txt b/public_test_cases/p03951/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03951/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03951/output.3.txt b/public_test_cases/p03951/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03951/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03952/input.0.txt b/public_test_cases/p03952/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8835c0701f66f328251eac951d4278ae8acd00a1
--- /dev/null
+++ b/public_test_cases/p03952/input.0.txt
@@ -0,0 +1 @@
+4 4
diff --git a/public_test_cases/p03952/input.1.txt b/public_test_cases/p03952/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8835c0701f66f328251eac951d4278ae8acd00a1
--- /dev/null
+++ b/public_test_cases/p03952/input.1.txt
@@ -0,0 +1 @@
+4 4
diff --git a/public_test_cases/p03952/input.2.txt b/public_test_cases/p03952/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cba3471eb57a36532843f61b9d1c3e9a8a577c4e
--- /dev/null
+++ b/public_test_cases/p03952/input.2.txt
@@ -0,0 +1 @@
+2 1
diff --git a/public_test_cases/p03952/output.0.txt b/public_test_cases/p03952/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b9ccb9813ece7aafb50883e27049005e641b4d3
--- /dev/null
+++ b/public_test_cases/p03952/output.0.txt
@@ -0,0 +1,8 @@
+Yes
+1
+6
+3
+7
+4
+5
+2
diff --git a/public_test_cases/p03952/output.1.txt b/public_test_cases/p03952/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2b9ccb9813ece7aafb50883e27049005e641b4d3
--- /dev/null
+++ b/public_test_cases/p03952/output.1.txt
@@ -0,0 +1,8 @@
+Yes
+1
+6
+3
+7
+4
+5
+2
diff --git a/public_test_cases/p03952/output.2.txt b/public_test_cases/p03952/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03952/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03953/input.0.txt b/public_test_cases/p03953/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b59c1af8a5ce918474d108784bbd7fb0abb291e0
--- /dev/null
+++ b/public_test_cases/p03953/input.0.txt
@@ -0,0 +1,4 @@
+3
+-1 0 2
+1 1
+2
diff --git a/public_test_cases/p03953/input.1.txt b/public_test_cases/p03953/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fa061307993e5409167e9bb91cf15e4eefdf69a6
--- /dev/null
+++ b/public_test_cases/p03953/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 -1 1
+2 2
+2 2
diff --git a/public_test_cases/p03953/input.2.txt b/public_test_cases/p03953/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b59c1af8a5ce918474d108784bbd7fb0abb291e0
--- /dev/null
+++ b/public_test_cases/p03953/input.2.txt
@@ -0,0 +1,4 @@
+3
+-1 0 2
+1 1
+2
diff --git a/public_test_cases/p03953/input.3.txt b/public_test_cases/p03953/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aaee52912379fb4a19821d200b2be72e3b13b056
--- /dev/null
+++ b/public_test_cases/p03953/input.3.txt
@@ -0,0 +1,4 @@
+5
+0 1 3 6 10
+3 10
+2 3 4
diff --git a/public_test_cases/p03953/output.0.txt b/public_test_cases/p03953/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d7d8729c67ead057e94219e7e7a85ff53f9d6dc
--- /dev/null
+++ b/public_test_cases/p03953/output.0.txt
@@ -0,0 +1,3 @@
+-1.0
+1.0
+2.0
diff --git a/public_test_cases/p03953/output.1.txt b/public_test_cases/p03953/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afe8e47a026fa74e33fb5b97dd78d15161515d0a
--- /dev/null
+++ b/public_test_cases/p03953/output.1.txt
@@ -0,0 +1,3 @@
+1.0
+-1.0
+1.0
diff --git a/public_test_cases/p03953/output.2.txt b/public_test_cases/p03953/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d7d8729c67ead057e94219e7e7a85ff53f9d6dc
--- /dev/null
+++ b/public_test_cases/p03953/output.2.txt
@@ -0,0 +1,3 @@
+-1.0
+1.0
+2.0
diff --git a/public_test_cases/p03953/output.3.txt b/public_test_cases/p03953/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..541ed43ff35d61632a9d7404efa1b676f7420165
--- /dev/null
+++ b/public_test_cases/p03953/output.3.txt
@@ -0,0 +1,5 @@
+0.0
+3.0
+7.0
+8.0
+10.0
diff --git a/public_test_cases/p03954/input.0.txt b/public_test_cases/p03954/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5366401351031e6e838a75628d235ff9ceff5421
--- /dev/null
+++ b/public_test_cases/p03954/input.0.txt
@@ -0,0 +1,2 @@
+4
+1 6 3 7 4 5 2
diff --git a/public_test_cases/p03954/input.1.txt b/public_test_cases/p03954/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..114c36cc30ab6cb59ae49e39e1f583b3e0da5fa1
--- /dev/null
+++ b/public_test_cases/p03954/input.1.txt
@@ -0,0 +1,2 @@
+2
+1 2 3
diff --git a/public_test_cases/p03954/input.2.txt b/public_test_cases/p03954/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5366401351031e6e838a75628d235ff9ceff5421
--- /dev/null
+++ b/public_test_cases/p03954/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 6 3 7 4 5 2
diff --git a/public_test_cases/p03954/output.0.txt b/public_test_cases/p03954/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03954/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03954/output.1.txt b/public_test_cases/p03954/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03954/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03954/output.2.txt b/public_test_cases/p03954/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03954/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03955/input.0.txt b/public_test_cases/p03955/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c2e9f3467d3456f1e556444eba73288d04ac01a
--- /dev/null
+++ b/public_test_cases/p03955/input.0.txt
@@ -0,0 +1,4 @@
+5
+9 6 15 12 1
+8 5 14 11 2
+7 4 13 10 3
diff --git a/public_test_cases/p03955/input.1.txt b/public_test_cases/p03955/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eb3ec21f2dd0a4597c3b50273f7e6c73a1df84e7
--- /dev/null
+++ b/public_test_cases/p03955/input.1.txt
@@ -0,0 +1,4 @@
+7
+21 12 1 16 13 6 7
+20 11 2 17 14 5 8
+19 10 3 18 15 4 9
diff --git a/public_test_cases/p03955/input.2.txt b/public_test_cases/p03955/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c2e9f3467d3456f1e556444eba73288d04ac01a
--- /dev/null
+++ b/public_test_cases/p03955/input.2.txt
@@ -0,0 +1,4 @@
+5
+9 6 15 12 1
+8 5 14 11 2
+7 4 13 10 3
diff --git a/public_test_cases/p03955/input.3.txt b/public_test_cases/p03955/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f319d1e2b039b14b3e30813d3e5bbab2b27c41f
--- /dev/null
+++ b/public_test_cases/p03955/input.3.txt
@@ -0,0 +1,4 @@
+6
+15 10 3 4 9 16
+14 11 2 5 8 17
+13 12 1 6 7 18
diff --git a/public_test_cases/p03955/input.4.txt b/public_test_cases/p03955/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c806f3cc379a623cc9e478110e27beae6cad5a36
--- /dev/null
+++ b/public_test_cases/p03955/input.4.txt
@@ -0,0 +1,4 @@
+5
+1 4 7 10 13
+2 5 8 11 14
+3 6 9 12 15
diff --git a/public_test_cases/p03955/input.5.txt b/public_test_cases/p03955/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a419e65fdd1ae6631c2752f4e4d6c34e0b0b0908
--- /dev/null
+++ b/public_test_cases/p03955/input.5.txt
@@ -0,0 +1,4 @@
+5
+1 2 3 4 5
+6 7 8 9 10
+11 12 13 14 15
diff --git a/public_test_cases/p03955/output.0.txt b/public_test_cases/p03955/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03955/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03955/output.1.txt b/public_test_cases/p03955/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03955/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03955/output.2.txt b/public_test_cases/p03955/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03955/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03955/output.3.txt b/public_test_cases/p03955/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03955/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03955/output.4.txt b/public_test_cases/p03955/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03955/output.4.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03955/output.5.txt b/public_test_cases/p03955/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03955/output.5.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03956/input.0.txt b/public_test_cases/p03956/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p03956/input.0.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p03956/input.1.txt b/public_test_cases/p03956/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..36c9231aa98943c01ca36f37c6dd3d7aa8821437
--- /dev/null
+++ b/public_test_cases/p03956/input.1.txt
@@ -0,0 +1,3 @@
+2 2
+1 1
+1 2
diff --git a/public_test_cases/p03956/input.2.txt b/public_test_cases/p03956/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p03956/input.2.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p03956/input.3.txt b/public_test_cases/p03956/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2857bfc6239f0802cf7894ab087f26dee1d75404
--- /dev/null
+++ b/public_test_cases/p03956/input.3.txt
@@ -0,0 +1,4 @@
+4 3
+1 2
+1 3
+4 4
diff --git a/public_test_cases/p03956/output.0.txt b/public_test_cases/p03956/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03956/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03956/output.1.txt b/public_test_cases/p03956/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03956/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03956/output.2.txt b/public_test_cases/p03956/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03956/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03956/output.3.txt b/public_test_cases/p03956/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03956/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03957/input.0.txt b/public_test_cases/p03957/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6278f144219063e186191a7a5d52cfbddda36ce0
--- /dev/null
+++ b/public_test_cases/p03957/input.0.txt
@@ -0,0 +1 @@
+CODEFESTIVAL
diff --git a/public_test_cases/p03957/input.1.txt b/public_test_cases/p03957/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5b1c4b44dbee9f35933afec133db2cd861c40e76
--- /dev/null
+++ b/public_test_cases/p03957/input.1.txt
@@ -0,0 +1 @@
+CF
diff --git a/public_test_cases/p03957/input.2.txt b/public_test_cases/p03957/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6278f144219063e186191a7a5d52cfbddda36ce0
--- /dev/null
+++ b/public_test_cases/p03957/input.2.txt
@@ -0,0 +1 @@
+CODEFESTIVAL
diff --git a/public_test_cases/p03957/input.3.txt b/public_test_cases/p03957/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c29dd53f8fa3efae138292ed9601de24db29e3d7
--- /dev/null
+++ b/public_test_cases/p03957/input.3.txt
@@ -0,0 +1 @@
+FCF
diff --git a/public_test_cases/p03957/input.4.txt b/public_test_cases/p03957/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8e7ebe3363c3a5aa55f126bbfd275cd23eaab48c
--- /dev/null
+++ b/public_test_cases/p03957/input.4.txt
@@ -0,0 +1 @@
+FESTIVALCODE
diff --git a/public_test_cases/p03957/output.0.txt b/public_test_cases/p03957/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03957/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03957/output.1.txt b/public_test_cases/p03957/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03957/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03957/output.2.txt b/public_test_cases/p03957/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03957/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03957/output.3.txt b/public_test_cases/p03957/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03957/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03957/output.4.txt b/public_test_cases/p03957/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03957/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03958/input.0.txt b/public_test_cases/p03958/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff6fbade6ac71780772f750cf85830bf8cb026d0
--- /dev/null
+++ b/public_test_cases/p03958/input.0.txt
@@ -0,0 +1,2 @@
+7 3
+3 2 2
diff --git a/public_test_cases/p03958/input.1.txt b/public_test_cases/p03958/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ff6fbade6ac71780772f750cf85830bf8cb026d0
--- /dev/null
+++ b/public_test_cases/p03958/input.1.txt
@@ -0,0 +1,2 @@
+7 3
+3 2 2
diff --git a/public_test_cases/p03958/input.2.txt b/public_test_cases/p03958/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e30b2a2866cfad33acbbe162b595b69dff4d88
--- /dev/null
+++ b/public_test_cases/p03958/input.2.txt
@@ -0,0 +1,2 @@
+6 3
+1 4 1
diff --git a/public_test_cases/p03958/input.3.txt b/public_test_cases/p03958/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b42da4c307b0d00daac0623fcf7f085099b869b
--- /dev/null
+++ b/public_test_cases/p03958/input.3.txt
@@ -0,0 +1,2 @@
+100 1
+100
diff --git a/public_test_cases/p03958/output.0.txt b/public_test_cases/p03958/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03958/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03958/output.1.txt b/public_test_cases/p03958/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03958/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03958/output.2.txt b/public_test_cases/p03958/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03958/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03958/output.3.txt b/public_test_cases/p03958/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3ad5abd03aea89f7de126c4861363e4f64355973
--- /dev/null
+++ b/public_test_cases/p03958/output.3.txt
@@ -0,0 +1 @@
+99
diff --git a/public_test_cases/p03959/input.0.txt b/public_test_cases/p03959/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8768803a0ae40ad7015cf82bdb2564ef23cef2bd
--- /dev/null
+++ b/public_test_cases/p03959/input.0.txt
@@ -0,0 +1,3 @@
+5
+1 3 3 3 3
+3 3 2 2 2
diff --git a/public_test_cases/p03959/input.1.txt b/public_test_cases/p03959/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8768803a0ae40ad7015cf82bdb2564ef23cef2bd
--- /dev/null
+++ b/public_test_cases/p03959/input.1.txt
@@ -0,0 +1,3 @@
+5
+1 3 3 3 3
+3 3 2 2 2
diff --git a/public_test_cases/p03959/input.2.txt b/public_test_cases/p03959/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..14edf48c27bc002d680a99d20c5c756df17ed22b
--- /dev/null
+++ b/public_test_cases/p03959/input.2.txt
@@ -0,0 +1,3 @@
+10
+1 3776 3776 8848 8848 8848 8848 8848 8848 8848
+8848 8848 8848 8848 8848 8848 8848 8848 3776 5
diff --git a/public_test_cases/p03959/input.3.txt b/public_test_cases/p03959/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6d586748d7cfbbb0069213ede1931d36c93556e
--- /dev/null
+++ b/public_test_cases/p03959/input.3.txt
@@ -0,0 +1,3 @@
+1
+17
+17
diff --git a/public_test_cases/p03959/input.4.txt b/public_test_cases/p03959/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc1851cdeb6471132e5096c8cc8953efdbf68009
--- /dev/null
+++ b/public_test_cases/p03959/input.4.txt
@@ -0,0 +1,3 @@
+5
+1 1 1 2 2
+3 2 1 1 1
diff --git a/public_test_cases/p03959/output.0.txt b/public_test_cases/p03959/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03959/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03959/output.1.txt b/public_test_cases/p03959/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03959/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03959/output.2.txt b/public_test_cases/p03959/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58ee70ae7c1a7cdefa3616cdb58c9699e98a487b
--- /dev/null
+++ b/public_test_cases/p03959/output.2.txt
@@ -0,0 +1 @@
+884111967
diff --git a/public_test_cases/p03959/output.3.txt b/public_test_cases/p03959/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03959/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03959/output.4.txt b/public_test_cases/p03959/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03959/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03960/input.0.txt b/public_test_cases/p03960/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3156030e0fcfe5dfea942455220093fa041a007c
--- /dev/null
+++ b/public_test_cases/p03960/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+rrr
+brg
diff --git a/public_test_cases/p03960/output.0.txt b/public_test_cases/p03960/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03960/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03961/input.0.txt b/public_test_cases/p03961/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..611e085c614995c711c3d494d0fdf075d483a86c
--- /dev/null
+++ b/public_test_cases/p03961/input.0.txt
@@ -0,0 +1,2 @@
+4
+0 2 3 0
diff --git a/public_test_cases/p03961/input.1.txt b/public_test_cases/p03961/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b261da18d51a39dc2cf0d156791e9c0b35dd83f4
--- /dev/null
+++ b/public_test_cases/p03961/input.1.txt
@@ -0,0 +1,2 @@
+1
+0
diff --git a/public_test_cases/p03961/input.2.txt b/public_test_cases/p03961/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1441a89af9d89b59ae5d73b397b73fab6029596d
--- /dev/null
+++ b/public_test_cases/p03961/input.2.txt
@@ -0,0 +1,2 @@
+5
+1 2 3 5 4
diff --git a/public_test_cases/p03961/input.3.txt b/public_test_cases/p03961/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..611e085c614995c711c3d494d0fdf075d483a86c
--- /dev/null
+++ b/public_test_cases/p03961/input.3.txt
@@ -0,0 +1,2 @@
+4
+0 2 3 0
diff --git a/public_test_cases/p03961/input.4.txt b/public_test_cases/p03961/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..470f21e0f4c48a62289f1691d6f1af9c18bded13
--- /dev/null
+++ b/public_test_cases/p03961/input.4.txt
@@ -0,0 +1,2 @@
+10
+0 3 0 0 1 0 4 0 0 0
diff --git a/public_test_cases/p03961/input.5.txt b/public_test_cases/p03961/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2edfca631f6b221d5a1dfd1f79e5a63d755b7b9d
--- /dev/null
+++ b/public_test_cases/p03961/input.5.txt
@@ -0,0 +1,2 @@
+3
+0 0 0
diff --git a/public_test_cases/p03961/output.0.txt b/public_test_cases/p03961/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p03961/output.0.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p03961/output.1.txt b/public_test_cases/p03961/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03961/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03961/output.2.txt b/public_test_cases/p03961/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03961/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03961/output.3.txt b/public_test_cases/p03961/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p03961/output.3.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p03961/output.4.txt b/public_test_cases/p03961/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8df87bf19b800c0fd76b44b6864cf46bb0486ad
--- /dev/null
+++ b/public_test_cases/p03961/output.4.txt
@@ -0,0 +1 @@
+953330050
diff --git a/public_test_cases/p03961/output.5.txt b/public_test_cases/p03961/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aabe6ec3909c9d4871f8f89ef88ca3b6795ebd29
--- /dev/null
+++ b/public_test_cases/p03961/output.5.txt
@@ -0,0 +1 @@
+21
diff --git a/public_test_cases/p03962/input.0.txt b/public_test_cases/p03962/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a46f5080b5038d22913c906f987ba65fb8fa7ed1
--- /dev/null
+++ b/public_test_cases/p03962/input.0.txt
@@ -0,0 +1 @@
+3 1 4
diff --git a/public_test_cases/p03962/input.1.txt b/public_test_cases/p03962/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a46f5080b5038d22913c906f987ba65fb8fa7ed1
--- /dev/null
+++ b/public_test_cases/p03962/input.1.txt
@@ -0,0 +1 @@
+3 1 4
diff --git a/public_test_cases/p03962/input.2.txt b/public_test_cases/p03962/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..064755371e7443dd469886c633eda11b30b812df
--- /dev/null
+++ b/public_test_cases/p03962/input.2.txt
@@ -0,0 +1 @@
+3 3 33
diff --git a/public_test_cases/p03962/output.0.txt b/public_test_cases/p03962/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03962/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03962/output.1.txt b/public_test_cases/p03962/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03962/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03962/output.2.txt b/public_test_cases/p03962/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03962/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03963/input.0.txt b/public_test_cases/p03963/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03963/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03963/input.1.txt b/public_test_cases/p03963/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p03963/input.1.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p03963/input.2.txt b/public_test_cases/p03963/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aba066490735a0d12c6c3ce01830600db457d5bc
--- /dev/null
+++ b/public_test_cases/p03963/input.2.txt
@@ -0,0 +1 @@
+1 10
diff --git a/public_test_cases/p03963/output.0.txt b/public_test_cases/p03963/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03963/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03963/output.1.txt b/public_test_cases/p03963/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03963/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03963/output.2.txt b/public_test_cases/p03963/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03963/output.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03964/input.0.txt b/public_test_cases/p03964/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f33eee775724a46fafe7d246e771aa87e7402ecb
--- /dev/null
+++ b/public_test_cases/p03964/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 3
+1 1
+3 2
diff --git a/public_test_cases/p03964/input.1.txt b/public_test_cases/p03964/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7e5a124f22f9b0512e2566dfa53c9265cbe62b9
--- /dev/null
+++ b/public_test_cases/p03964/input.1.txt
@@ -0,0 +1,6 @@
+5
+3 10
+48 17
+31 199
+231 23
+3 2
diff --git a/public_test_cases/p03964/input.2.txt b/public_test_cases/p03964/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98aa80e8ea5480d11869cb1076313c1ba3e1b440
--- /dev/null
+++ b/public_test_cases/p03964/input.2.txt
@@ -0,0 +1,5 @@
+4
+1 1
+1 1
+1 5
+1 100
diff --git a/public_test_cases/p03964/input.3.txt b/public_test_cases/p03964/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f33eee775724a46fafe7d246e771aa87e7402ecb
--- /dev/null
+++ b/public_test_cases/p03964/input.3.txt
@@ -0,0 +1,4 @@
+3
+2 3
+1 1
+3 2
diff --git a/public_test_cases/p03964/output.0.txt b/public_test_cases/p03964/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03964/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03964/output.1.txt b/public_test_cases/p03964/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f35be3abca15608f5b8bc230f729609e3b030b21
--- /dev/null
+++ b/public_test_cases/p03964/output.1.txt
@@ -0,0 +1 @@
+6930
diff --git a/public_test_cases/p03964/output.2.txt b/public_test_cases/p03964/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..398050c62c882fa5ebc8d8aaa2e730e70790beeb
--- /dev/null
+++ b/public_test_cases/p03964/output.2.txt
@@ -0,0 +1 @@
+101
diff --git a/public_test_cases/p03964/output.3.txt b/public_test_cases/p03964/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03964/output.3.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03965/input.0.txt b/public_test_cases/p03965/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37ca8bede779918e2c88a3be33e826b03460f95e
--- /dev/null
+++ b/public_test_cases/p03965/input.0.txt
@@ -0,0 +1 @@
+gpg
diff --git a/public_test_cases/p03965/input.1.txt b/public_test_cases/p03965/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37ca8bede779918e2c88a3be33e826b03460f95e
--- /dev/null
+++ b/public_test_cases/p03965/input.1.txt
@@ -0,0 +1 @@
+gpg
diff --git a/public_test_cases/p03965/input.2.txt b/public_test_cases/p03965/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a75723a5e1b4c7060f13b153b745c6098dacc33
--- /dev/null
+++ b/public_test_cases/p03965/input.2.txt
@@ -0,0 +1 @@
+ggppgggpgg
diff --git a/public_test_cases/p03965/output.0.txt b/public_test_cases/p03965/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03965/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03965/output.1.txt b/public_test_cases/p03965/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03965/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03965/output.2.txt b/public_test_cases/p03965/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03965/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03966/input.0.txt b/public_test_cases/p03966/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f33eee775724a46fafe7d246e771aa87e7402ecb
--- /dev/null
+++ b/public_test_cases/p03966/input.0.txt
@@ -0,0 +1,4 @@
+3
+2 3
+1 1
+3 2
diff --git a/public_test_cases/p03966/output.0.txt b/public_test_cases/p03966/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p03966/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p03967/input.0.txt b/public_test_cases/p03967/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37ca8bede779918e2c88a3be33e826b03460f95e
--- /dev/null
+++ b/public_test_cases/p03967/input.0.txt
@@ -0,0 +1 @@
+gpg
diff --git a/public_test_cases/p03967/output.0.txt b/public_test_cases/p03967/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03967/output.0.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03968/input.0.txt b/public_test_cases/p03968/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5edb4e1326d2bc88ca8b04d04c36f502a3ea7ce
--- /dev/null
+++ b/public_test_cases/p03968/input.0.txt
@@ -0,0 +1,7 @@
+6
+0 1 2 3
+0 4 6 1
+1 6 7 2
+2 7 5 3
+6 4 5 7
+4 0 3 5
diff --git a/public_test_cases/p03968/input.1.txt b/public_test_cases/p03968/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b5edb4e1326d2bc88ca8b04d04c36f502a3ea7ce
--- /dev/null
+++ b/public_test_cases/p03968/input.1.txt
@@ -0,0 +1,7 @@
+6
+0 1 2 3
+0 4 6 1
+1 6 7 2
+2 7 5 3
+6 4 5 7
+4 0 3 5
diff --git a/public_test_cases/p03968/input.2.txt b/public_test_cases/p03968/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a5c81345a50f4daf99f96de149eaa3a4210f011b
--- /dev/null
+++ b/public_test_cases/p03968/input.2.txt
@@ -0,0 +1,7 @@
+6
+0 0 0 0
+0 0 0 0
+0 0 0 0
+0 0 0 0
+0 0 0 0
+0 0 0 0
diff --git a/public_test_cases/p03968/input.3.txt b/public_test_cases/p03968/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bafceaf8cf73f6f4736031d15882575972e6c308
--- /dev/null
+++ b/public_test_cases/p03968/input.3.txt
@@ -0,0 +1,9 @@
+8
+0 0 0 0
+0 0 1 1
+0 1 0 1
+0 1 1 0
+1 0 0 1
+1 0 1 0
+1 1 0 0
+1 1 1 1
diff --git a/public_test_cases/p03968/output.0.txt b/public_test_cases/p03968/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03968/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03968/output.1.txt b/public_test_cases/p03968/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03968/output.1.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03968/output.2.txt b/public_test_cases/p03968/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cd613a43016ed8555ee531f91013f7ef75d6204
--- /dev/null
+++ b/public_test_cases/p03968/output.2.txt
@@ -0,0 +1 @@
+122880
diff --git a/public_test_cases/p03968/output.3.txt b/public_test_cases/p03968/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a29644e57ed8718497f53748fe4433ed7d7bdf79
--- /dev/null
+++ b/public_test_cases/p03968/output.3.txt
@@ -0,0 +1 @@
+144
diff --git a/public_test_cases/p03969/input.0.txt b/public_test_cases/p03969/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9e23db40da22ef50b5e99fbcc3a196730767b23
--- /dev/null
+++ b/public_test_cases/p03969/input.0.txt
@@ -0,0 +1,5 @@
+4 4 2
+1 2
+2 3
+3 1
+3 4
diff --git a/public_test_cases/p03969/input.1.txt b/public_test_cases/p03969/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9e23db40da22ef50b5e99fbcc3a196730767b23
--- /dev/null
+++ b/public_test_cases/p03969/input.1.txt
@@ -0,0 +1,5 @@
+4 4 2
+1 2
+2 3
+3 1
+3 4
diff --git a/public_test_cases/p03969/input.2.txt b/public_test_cases/p03969/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77c8590efe59d04e643387c7d7d3360dd48db290
--- /dev/null
+++ b/public_test_cases/p03969/input.2.txt
@@ -0,0 +1,3 @@
+5 2 3
+1 2
+4 5
diff --git a/public_test_cases/p03969/input.3.txt b/public_test_cases/p03969/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..733e9fdcc399f6295d8b4292e6e119eecae6beeb
--- /dev/null
+++ b/public_test_cases/p03969/input.3.txt
@@ -0,0 +1,13 @@
+11 12 48
+3 1
+8 2
+4 9
+5 4
+1 6
+2 9
+8 3
+10 8
+4 10
+8 6
+11 7
+1 8
diff --git a/public_test_cases/p03969/output.0.txt b/public_test_cases/p03969/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03969/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03969/output.1.txt b/public_test_cases/p03969/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03969/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03969/output.2.txt b/public_test_cases/p03969/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03969/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03969/output.3.txt b/public_test_cases/p03969/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1e33b72d33b39624024032db63bb8fa587cd902
--- /dev/null
+++ b/public_test_cases/p03969/output.3.txt
@@ -0,0 +1 @@
+569519295
diff --git a/public_test_cases/p03970/input.0.txt b/public_test_cases/p03970/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7f43fb953ada7dadda2d3eab68d3d9881345f71
--- /dev/null
+++ b/public_test_cases/p03970/input.0.txt
@@ -0,0 +1 @@
+C0DEFESTIVAL2O16
diff --git a/public_test_cases/p03970/input.1.txt b/public_test_cases/p03970/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c7f43fb953ada7dadda2d3eab68d3d9881345f71
--- /dev/null
+++ b/public_test_cases/p03970/input.1.txt
@@ -0,0 +1 @@
+C0DEFESTIVAL2O16
diff --git a/public_test_cases/p03970/input.2.txt b/public_test_cases/p03970/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..607b641a31ed0b7cfeb86c59c40693231d674368
--- /dev/null
+++ b/public_test_cases/p03970/input.2.txt
@@ -0,0 +1 @@
+FESTIVAL2016CODE
diff --git a/public_test_cases/p03970/output.0.txt b/public_test_cases/p03970/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03970/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03970/output.1.txt b/public_test_cases/p03970/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03970/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03970/output.2.txt b/public_test_cases/p03970/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03970/output.2.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03971/input.0.txt b/public_test_cases/p03971/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d64452c2558bc27292b603b24d183c5b66a61b3e
--- /dev/null
+++ b/public_test_cases/p03971/input.0.txt
@@ -0,0 +1,2 @@
+10 2 3
+abccabaabb
diff --git a/public_test_cases/p03971/input.1.txt b/public_test_cases/p03971/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c20f906e276584ec2139a47f8ec7e95bbb0d433
--- /dev/null
+++ b/public_test_cases/p03971/input.1.txt
@@ -0,0 +1,2 @@
+12 5 2
+cabbabaacaba
diff --git a/public_test_cases/p03971/input.2.txt b/public_test_cases/p03971/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..438b14cb26ee07a45fba67d5587c108bcaca3709
--- /dev/null
+++ b/public_test_cases/p03971/input.2.txt
@@ -0,0 +1,2 @@
+5 2 2
+ccccc
diff --git a/public_test_cases/p03971/input.3.txt b/public_test_cases/p03971/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d64452c2558bc27292b603b24d183c5b66a61b3e
--- /dev/null
+++ b/public_test_cases/p03971/input.3.txt
@@ -0,0 +1,2 @@
+10 2 3
+abccabaabb
diff --git a/public_test_cases/p03971/output.0.txt b/public_test_cases/p03971/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f827a85124b9a98d43419d6976a42b581ba4734
--- /dev/null
+++ b/public_test_cases/p03971/output.0.txt
@@ -0,0 +1,10 @@
+Yes
+Yes
+No
+No
+Yes
+Yes
+Yes
+No
+No
+No
diff --git a/public_test_cases/p03971/output.1.txt b/public_test_cases/p03971/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..88a81d5b84ef9ea9343395de2bfae46bc375a790
--- /dev/null
+++ b/public_test_cases/p03971/output.1.txt
@@ -0,0 +1,12 @@
+No
+Yes
+Yes
+Yes
+Yes
+No
+Yes
+Yes
+No
+Yes
+No
+No
diff --git a/public_test_cases/p03971/output.2.txt b/public_test_cases/p03971/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4420a22e06cb925eff9a3e4ec9c45a37d4ef9f1a
--- /dev/null
+++ b/public_test_cases/p03971/output.2.txt
@@ -0,0 +1,5 @@
+No
+No
+No
+No
+No
diff --git a/public_test_cases/p03971/output.3.txt b/public_test_cases/p03971/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f827a85124b9a98d43419d6976a42b581ba4734
--- /dev/null
+++ b/public_test_cases/p03971/output.3.txt
@@ -0,0 +1,10 @@
+Yes
+Yes
+No
+No
+Yes
+Yes
+Yes
+No
+No
+No
diff --git a/public_test_cases/p03972/input.0.txt b/public_test_cases/p03972/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f257cc7217ad2f38a7d25ab2b62ec63a24d89eba
--- /dev/null
+++ b/public_test_cases/p03972/input.0.txt
@@ -0,0 +1,5 @@
+2 2
+3
+5
+2
+7
diff --git a/public_test_cases/p03972/input.1.txt b/public_test_cases/p03972/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a34c20d9e38d68e76d1d1827c75f99defaacaabd
--- /dev/null
+++ b/public_test_cases/p03972/input.1.txt
@@ -0,0 +1,8 @@
+4 3
+2
+4
+8
+1
+2
+9
+3
diff --git a/public_test_cases/p03972/input.2.txt b/public_test_cases/p03972/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f257cc7217ad2f38a7d25ab2b62ec63a24d89eba
--- /dev/null
+++ b/public_test_cases/p03972/input.2.txt
@@ -0,0 +1,5 @@
+2 2
+3
+5
+2
+7
diff --git a/public_test_cases/p03972/output.0.txt b/public_test_cases/p03972/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f04c001f3f7fd5d290d0264b4a2c35f7b159ac42
--- /dev/null
+++ b/public_test_cases/p03972/output.0.txt
@@ -0,0 +1 @@
+29
diff --git a/public_test_cases/p03972/output.1.txt b/public_test_cases/p03972/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abdfb053e41e2af75ba7e11f82b4ef0c312566a7
--- /dev/null
+++ b/public_test_cases/p03972/output.1.txt
@@ -0,0 +1 @@
+60
diff --git a/public_test_cases/p03972/output.2.txt b/public_test_cases/p03972/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f04c001f3f7fd5d290d0264b4a2c35f7b159ac42
--- /dev/null
+++ b/public_test_cases/p03972/output.2.txt
@@ -0,0 +1 @@
+29
diff --git a/public_test_cases/p03973/input.0.txt b/public_test_cases/p03973/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6f10ee4a4f45b977d282ab767709f09579829da
--- /dev/null
+++ b/public_test_cases/p03973/input.0.txt
@@ -0,0 +1,4 @@
+3
+3
+2
+5
diff --git a/public_test_cases/p03973/input.1.txt b/public_test_cases/p03973/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..18523e6a4a89004d1c8c191b0f941dcea6cee502
--- /dev/null
+++ b/public_test_cases/p03973/input.1.txt
@@ -0,0 +1,16 @@
+15
+3
+1
+4
+1
+5
+9
+2
+6
+5
+3
+5
+8
+9
+7
+9
diff --git a/public_test_cases/p03973/input.2.txt b/public_test_cases/p03973/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6f10ee4a4f45b977d282ab767709f09579829da
--- /dev/null
+++ b/public_test_cases/p03973/input.2.txt
@@ -0,0 +1,4 @@
+3
+3
+2
+5
diff --git a/public_test_cases/p03973/output.0.txt b/public_test_cases/p03973/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03973/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03973/output.1.txt b/public_test_cases/p03973/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c032078a4a21c5c51d3c93d91717c1dabbb8cd0
--- /dev/null
+++ b/public_test_cases/p03973/output.1.txt
@@ -0,0 +1 @@
+18
diff --git a/public_test_cases/p03973/output.2.txt b/public_test_cases/p03973/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03973/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03974/input.0.txt b/public_test_cases/p03974/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..921e6210201c461a40ed54aff05242d5c990cab1
--- /dev/null
+++ b/public_test_cases/p03974/input.0.txt
@@ -0,0 +1,12 @@
+5
+aa
+abbaa
+abbba
+aaab
+aaaaaba
+5
+1 abcdefghijklmnopqrstuvwxyz
+2 bacdefghijklmnopqrstuvwxyz
+3 abcdefghijklmnopqrstuvwxyz
+4 bacdefghijklmnopqrstuvwxyz
+5 abcdefghijklmnopqrstuvwxyz
diff --git a/public_test_cases/p03974/input.1.txt b/public_test_cases/p03974/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13fc5b27c62b11bbb2fae4955d3e7318a2d724ac
--- /dev/null
+++ b/public_test_cases/p03974/input.1.txt
@@ -0,0 +1,16 @@
+8
+abrakatabra
+abadaba
+abracadabra
+atcoder
+grand
+contest
+ababa
+a
+6
+3 abcdefghijklmnopqrstuvwxyz
+6 qwertyuiopasdfghjklzxcvbnm
+8 poiuytrewqlkjhgfdsamnbvcxz
+2 qazwsxedcrfvtgbyhnujmikolp
+1 plokmijnuhbygvtfcrdxeszwaq
+4 mnbvcxzasdfghjklpoiuytrewq
diff --git a/public_test_cases/p03974/input.2.txt b/public_test_cases/p03974/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..921e6210201c461a40ed54aff05242d5c990cab1
--- /dev/null
+++ b/public_test_cases/p03974/input.2.txt
@@ -0,0 +1,12 @@
+5
+aa
+abbaa
+abbba
+aaab
+aaaaaba
+5
+1 abcdefghijklmnopqrstuvwxyz
+2 bacdefghijklmnopqrstuvwxyz
+3 abcdefghijklmnopqrstuvwxyz
+4 bacdefghijklmnopqrstuvwxyz
+5 abcdefghijklmnopqrstuvwxyz
diff --git a/public_test_cases/p03974/output.0.txt b/public_test_cases/p03974/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1457ee918ec7f9abe66dc652347d1bccddc0cd6f
--- /dev/null
+++ b/public_test_cases/p03974/output.0.txt
@@ -0,0 +1,5 @@
+1
+2
+5
+4
+2
diff --git a/public_test_cases/p03974/output.1.txt b/public_test_cases/p03974/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6cb8f3eacfde389f2eb16f589a317eb53444fbc5
--- /dev/null
+++ b/public_test_cases/p03974/output.1.txt
@@ -0,0 +1,6 @@
+4
+8
+2
+3
+4
+7
diff --git a/public_test_cases/p03974/output.2.txt b/public_test_cases/p03974/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1457ee918ec7f9abe66dc652347d1bccddc0cd6f
--- /dev/null
+++ b/public_test_cases/p03974/output.2.txt
@@ -0,0 +1,5 @@
+1
+2
+5
+4
+2
diff --git a/public_test_cases/p03975/input.0.txt b/public_test_cases/p03975/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..397f8096b210351c650e7eb7674508dbe57b780b
--- /dev/null
+++ b/public_test_cases/p03975/input.0.txt
@@ -0,0 +1,6 @@
+5 5 9
+4
+3
+6
+9
+1
diff --git a/public_test_cases/p03975/input.1.txt b/public_test_cases/p03975/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..958e29e7ff6e0a0217e9786209ede39c81da9104
--- /dev/null
+++ b/public_test_cases/p03975/input.1.txt
@@ -0,0 +1,5 @@
+4 3 6
+9
+6
+8
+1
diff --git a/public_test_cases/p03975/input.2.txt b/public_test_cases/p03975/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..397f8096b210351c650e7eb7674508dbe57b780b
--- /dev/null
+++ b/public_test_cases/p03975/input.2.txt
@@ -0,0 +1,6 @@
+5 5 9
+4
+3
+6
+9
+1
diff --git a/public_test_cases/p03975/input.3.txt b/public_test_cases/p03975/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8d00cba2ce8e257b39584c9d0fbdbeecfb67ae78
--- /dev/null
+++ b/public_test_cases/p03975/input.3.txt
@@ -0,0 +1,3 @@
+2 1 2
+1
+2
diff --git a/public_test_cases/p03975/input.4.txt b/public_test_cases/p03975/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56743babb9440a16e421aa07efb25ea7609eedd5
--- /dev/null
+++ b/public_test_cases/p03975/input.4.txt
@@ -0,0 +1,6 @@
+5 4 9
+5
+6
+7
+8
+9
diff --git a/public_test_cases/p03975/output.0.txt b/public_test_cases/p03975/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03975/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03975/output.1.txt b/public_test_cases/p03975/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03975/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03975/output.2.txt b/public_test_cases/p03975/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03975/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03975/output.3.txt b/public_test_cases/p03975/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03975/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03975/output.4.txt b/public_test_cases/p03975/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03975/output.4.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03976/input.0.txt b/public_test_cases/p03976/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eef5e16f1a9db318aed08a14d2856e899c24d883
--- /dev/null
+++ b/public_test_cases/p03976/input.0.txt
@@ -0,0 +1,10 @@
+9 3
+APPLE
+ANT
+ATCODER
+BLOCK
+BULL
+BOSS
+CAT
+DOG
+EGG
diff --git a/public_test_cases/p03976/input.1.txt b/public_test_cases/p03976/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eef5e16f1a9db318aed08a14d2856e899c24d883
--- /dev/null
+++ b/public_test_cases/p03976/input.1.txt
@@ -0,0 +1,10 @@
+9 3
+APPLE
+ANT
+ATCODER
+BLOCK
+BULL
+BOSS
+CAT
+DOG
+EGG
diff --git a/public_test_cases/p03976/input.2.txt b/public_test_cases/p03976/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9a62af6f02641c676853c6b26c081879b80ad420
--- /dev/null
+++ b/public_test_cases/p03976/input.2.txt
@@ -0,0 +1,4 @@
+3 2
+KU
+KYOUDAI
+KYOTOUNIV
diff --git a/public_test_cases/p03976/output.0.txt b/public_test_cases/p03976/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03976/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03976/output.1.txt b/public_test_cases/p03976/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03976/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03976/output.2.txt b/public_test_cases/p03976/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03976/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03977/input.0.txt b/public_test_cases/p03977/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b14d67bbc6c61d51590084d2a98083174fab6f8
--- /dev/null
+++ b/public_test_cases/p03977/input.0.txt
@@ -0,0 +1,4 @@
+3
+3 1
+4 108
+1 10
diff --git a/public_test_cases/p03977/input.1.txt b/public_test_cases/p03977/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b14d67bbc6c61d51590084d2a98083174fab6f8
--- /dev/null
+++ b/public_test_cases/p03977/input.1.txt
@@ -0,0 +1,4 @@
+3
+3 1
+4 108
+1 10
diff --git a/public_test_cases/p03977/output.0.txt b/public_test_cases/p03977/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0c50c8b5fff54ef9ed0fd7ad02c9d04d8fdb71d
--- /dev/null
+++ b/public_test_cases/p03977/output.0.txt
@@ -0,0 +1,3 @@
+255
+400
+10
diff --git a/public_test_cases/p03977/output.1.txt b/public_test_cases/p03977/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f0c50c8b5fff54ef9ed0fd7ad02c9d04d8fdb71d
--- /dev/null
+++ b/public_test_cases/p03977/output.1.txt
@@ -0,0 +1,3 @@
+255
+400
+10
diff --git a/public_test_cases/p03978/input.1.txt b/public_test_cases/p03978/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p03978/input.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p03978/output.1.txt b/public_test_cases/p03978/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc
--- /dev/null
+++ b/public_test_cases/p03978/output.1.txt
@@ -0,0 +1 @@
+
diff --git a/public_test_cases/p03980/input.0.txt b/public_test_cases/p03980/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805c688046345b4b622fa979cfef2f240b365949
--- /dev/null
+++ b/public_test_cases/p03980/input.0.txt
@@ -0,0 +1,5 @@
+4
+_(4,51)?
+^(99,_(3,67))?
+_(0,87)?
+3?
diff --git a/public_test_cases/p03980/input.1.txt b/public_test_cases/p03980/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805c688046345b4b622fa979cfef2f240b365949
--- /dev/null
+++ b/public_test_cases/p03980/input.1.txt
@@ -0,0 +1,5 @@
+4
+_(4,51)?
+^(99,_(3,67))?
+_(0,87)?
+3?
diff --git a/public_test_cases/p03980/input.2.txt b/public_test_cases/p03980/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91745cdc8adcf6c707074023aa904b54833cdc56
--- /dev/null
+++ b/public_test_cases/p03980/input.2.txt
@@ -0,0 +1,8 @@
+7
+_(23,^(_(22,40),4))?
+_(0,99)?
+^(99,_(^(19,2),5))?
+_(^(43,20),^(30,29))?
+^(_(20,3),_(50,41))?
+^(_(20,3),_(3,41))?
+^(_(20,3),_(4,41))?
diff --git a/public_test_cases/p03980/output.0.txt b/public_test_cases/p03980/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4171cc3523269d2455b0dff9057dab2aa982308
--- /dev/null
+++ b/public_test_cases/p03980/output.0.txt
@@ -0,0 +1,4 @@
+4 5
+99 4
+0 3
+3 2
diff --git a/public_test_cases/p03980/output.1.txt b/public_test_cases/p03980/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a4171cc3523269d2455b0dff9057dab2aa982308
--- /dev/null
+++ b/public_test_cases/p03980/output.1.txt
@@ -0,0 +1,4 @@
+4 5
+99 4
+0 3
+3 2
diff --git a/public_test_cases/p03980/output.2.txt b/public_test_cases/p03980/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ba300eb5662ed1a152136d03a8fd590248c7db63
--- /dev/null
+++ b/public_test_cases/p03980/output.2.txt
@@ -0,0 +1,7 @@
+22 18
+0 3
+99 4
+30 17
+41 17
+3 14
+4 15
diff --git a/public_test_cases/p03981/input.0.txt b/public_test_cases/p03981/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db2fcbc4c1f5c985ba531b76d82256f1fe94034b
--- /dev/null
+++ b/public_test_cases/p03981/input.0.txt
@@ -0,0 +1 @@
+abcabc
diff --git a/public_test_cases/p03981/input.1.txt b/public_test_cases/p03981/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a8030836dd962e29a9a997a5bea747314d6605a4
--- /dev/null
+++ b/public_test_cases/p03981/input.1.txt
@@ -0,0 +1 @@
+abcbabbcabbc
diff --git a/public_test_cases/p03981/input.2.txt b/public_test_cases/p03981/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..db2fcbc4c1f5c985ba531b76d82256f1fe94034b
--- /dev/null
+++ b/public_test_cases/p03981/input.2.txt
@@ -0,0 +1 @@
+abcabc
diff --git a/public_test_cases/p03981/input.3.txt b/public_test_cases/p03981/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..474987c2cb0ee4fe61865c86ec86fd4819976874
--- /dev/null
+++ b/public_test_cases/p03981/input.3.txt
@@ -0,0 +1 @@
+abracadabra
diff --git a/public_test_cases/p03981/input.4.txt b/public_test_cases/p03981/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ddaf4446f6feb5af1727d1667c43f14dd8b56f6f
--- /dev/null
+++ b/public_test_cases/p03981/input.4.txt
@@ -0,0 +1 @@
+bbcacbcbcabbabacccbbcacbaaababbacabaaccbccabcaabba
diff --git a/public_test_cases/p03981/output.0.txt b/public_test_cases/p03981/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03981/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03981/output.1.txt b/public_test_cases/p03981/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p03981/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p03981/output.2.txt b/public_test_cases/p03981/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p03981/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p03981/output.3.txt b/public_test_cases/p03981/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03981/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03981/output.4.txt b/public_test_cases/p03981/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c739b42c4d2ce23786c5350641d0adbf5fa7d6b2
--- /dev/null
+++ b/public_test_cases/p03981/output.4.txt
@@ -0,0 +1 @@
+44
diff --git a/public_test_cases/p03982/input.0.txt b/public_test_cases/p03982/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31cf1a4eee021a30a0dc5d7da96f8d1f7341e1ad
--- /dev/null
+++ b/public_test_cases/p03982/input.0.txt
@@ -0,0 +1,3 @@
+2
+1 5
+3 1
diff --git a/public_test_cases/p03982/input.1.txt b/public_test_cases/p03982/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..31cf1a4eee021a30a0dc5d7da96f8d1f7341e1ad
--- /dev/null
+++ b/public_test_cases/p03982/input.1.txt
@@ -0,0 +1,3 @@
+2
+1 5
+3 1
diff --git a/public_test_cases/p03982/input.2.txt b/public_test_cases/p03982/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..68f8d91ecfbdf3c164912a92f42367cb30a43948
--- /dev/null
+++ b/public_test_cases/p03982/input.2.txt
@@ -0,0 +1,3 @@
+5
+1 2 3 4 5
+3 3 1 1 1
diff --git a/public_test_cases/p03982/input.3.txt b/public_test_cases/p03982/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..086072c608ec3f40d0d148806d3d65cafeeb273e
--- /dev/null
+++ b/public_test_cases/p03982/input.3.txt
@@ -0,0 +1,3 @@
+27
+46 3 4 2 10 2 5 2 6 7 20 13 9 49 3 8 4 3 19 9 3 5 4 13 9 5 7
+10 2 5 6 2 6 3 2 2 5 3 11 13 2 2 7 7 3 9 5 13 4 17 2 2 2 4
diff --git a/public_test_cases/p03982/input.4.txt b/public_test_cases/p03982/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..887406890bff122f36ea60c31a08044c770c72ed
--- /dev/null
+++ b/public_test_cases/p03982/input.4.txt
@@ -0,0 +1,3 @@
+2
+1 99999999999
+1234567891 1
diff --git a/public_test_cases/p03982/input.5.txt b/public_test_cases/p03982/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7dd2f8226cf6ab22d9f2eb0f4841b07486db82ad
--- /dev/null
+++ b/public_test_cases/p03982/input.5.txt
@@ -0,0 +1,3 @@
+18
+3878348 423911 8031742 1035156 24256 10344593 19379 3867285 4481365 1475384 1959412 1383457 164869 4633165 6674637 9732852 10459147 2810788
+1236501 770807 4003004 131688 1965412 266841 3980782 565060 816313 192940 541896 250801 217586 3806049 1220252 1161079 31168 2008961
diff --git a/public_test_cases/p03982/output.0.txt b/public_test_cases/p03982/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03982/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03982/output.1.txt b/public_test_cases/p03982/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03982/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03982/output.2.txt b/public_test_cases/p03982/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03982/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03982/output.3.txt b/public_test_cases/p03982/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..21e72e8ac3d7e23bd6532b5f1f4a6bdf8362e6cf
--- /dev/null
+++ b/public_test_cases/p03982/output.3.txt
@@ -0,0 +1 @@
+48
diff --git a/public_test_cases/p03982/output.4.txt b/public_test_cases/p03982/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a32a4347a4ec2c9f9a91b2f40ecca8701af1b22a
--- /dev/null
+++ b/public_test_cases/p03982/output.4.txt
@@ -0,0 +1 @@
+1234567890
diff --git a/public_test_cases/p03982/output.5.txt b/public_test_cases/p03982/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d284a4983253a0c5fe8deb1cac4141c9fc5d8f14
--- /dev/null
+++ b/public_test_cases/p03982/output.5.txt
@@ -0,0 +1 @@
+6302172
diff --git a/public_test_cases/p03983/input.0.txt b/public_test_cases/p03983/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce1349bc1a2212e14be6194f5bcbb47ada25147e
--- /dev/null
+++ b/public_test_cases/p03983/input.0.txt
@@ -0,0 +1,3 @@
+2
+20 8
+20 12
diff --git a/public_test_cases/p03983/input.1.txt b/public_test_cases/p03983/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8da4be2feb37b861d4640e73f3b1d42944e3e08
--- /dev/null
+++ b/public_test_cases/p03983/input.1.txt
@@ -0,0 +1,2 @@
+1
+20 3
diff --git a/public_test_cases/p03983/input.2.txt b/public_test_cases/p03983/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59dc39d9e9afd6d479b6084bc4aa0675bfc56eb0
--- /dev/null
+++ b/public_test_cases/p03983/input.2.txt
@@ -0,0 +1,2 @@
+1
+200 1
diff --git a/public_test_cases/p03983/input.3.txt b/public_test_cases/p03983/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ce1349bc1a2212e14be6194f5bcbb47ada25147e
--- /dev/null
+++ b/public_test_cases/p03983/input.3.txt
@@ -0,0 +1,3 @@
+2
+20 8
+20 12
diff --git a/public_test_cases/p03983/output.0.txt b/public_test_cases/p03983/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f83f7f91731509fa13b156ac57ed875bbfebd1c1
--- /dev/null
+++ b/public_test_cases/p03983/output.0.txt
@@ -0,0 +1,2 @@
+24
+20
diff --git a/public_test_cases/p03983/output.1.txt b/public_test_cases/p03983/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3fdcd7c44cb1791f45e7386a8f230e018fd7e052
--- /dev/null
+++ b/public_test_cases/p03983/output.1.txt
@@ -0,0 +1 @@
+67
diff --git a/public_test_cases/p03983/output.2.txt b/public_test_cases/p03983/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cc4caa84ffe386621f30ccebb5813f1bebcc8d1
--- /dev/null
+++ b/public_test_cases/p03983/output.2.txt
@@ -0,0 +1 @@
+148322100
diff --git a/public_test_cases/p03983/output.3.txt b/public_test_cases/p03983/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f83f7f91731509fa13b156ac57ed875bbfebd1c1
--- /dev/null
+++ b/public_test_cases/p03983/output.3.txt
@@ -0,0 +1,2 @@
+24
+20
diff --git a/public_test_cases/p03984/input.0.txt b/public_test_cases/p03984/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac0195fe747993291953b33cd2c6baf987c8eb6c
--- /dev/null
+++ b/public_test_cases/p03984/input.0.txt
@@ -0,0 +1,5 @@
+4 2
+2
+3
+1
+1
diff --git a/public_test_cases/p03984/input.1.txt b/public_test_cases/p03984/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d1992bff22860bddedac3335a473a37cd24fc18f
--- /dev/null
+++ b/public_test_cases/p03984/input.1.txt
@@ -0,0 +1,11 @@
+10 5
+2
+3
+4
+1
+1
+1
+2
+3
+3
+4
diff --git a/public_test_cases/p03984/input.2.txt b/public_test_cases/p03984/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..902eb6151ea2755f10d19aeb383df9549ec33080
--- /dev/null
+++ b/public_test_cases/p03984/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+2
+3
+4
+1
diff --git a/public_test_cases/p03984/input.3.txt b/public_test_cases/p03984/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac0195fe747993291953b33cd2c6baf987c8eb6c
--- /dev/null
+++ b/public_test_cases/p03984/input.3.txt
@@ -0,0 +1,5 @@
+4 2
+2
+3
+1
+1
diff --git a/public_test_cases/p03984/output.0.txt b/public_test_cases/p03984/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03984/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03984/output.1.txt b/public_test_cases/p03984/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..59bf5f344ff60a33cc5bc160951ebba8b27cf932
--- /dev/null
+++ b/public_test_cases/p03984/output.1.txt
@@ -0,0 +1 @@
+926250
diff --git a/public_test_cases/p03984/output.2.txt b/public_test_cases/p03984/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3f407c0955bb5738e40a82664c79b63f04a9adb
--- /dev/null
+++ b/public_test_cases/p03984/output.2.txt
@@ -0,0 +1 @@
+55
diff --git a/public_test_cases/p03984/output.3.txt b/public_test_cases/p03984/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p03984/output.3.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p03985/input.0.txt b/public_test_cases/p03985/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72b510bfa826c2b45944d25d4011abeb5bcf01eb
--- /dev/null
+++ b/public_test_cases/p03985/input.0.txt
@@ -0,0 +1,5 @@
+4
+0 -3 2 0 3 2
+0 0 9 8 8 2
+0 0 9 10 10 5
+0 0 707 1000 1000 707
diff --git a/public_test_cases/p03985/input.1.txt b/public_test_cases/p03985/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72b510bfa826c2b45944d25d4011abeb5bcf01eb
--- /dev/null
+++ b/public_test_cases/p03985/input.1.txt
@@ -0,0 +1,5 @@
+4
+0 -3 2 0 3 2
+0 0 9 8 8 2
+0 0 9 10 10 5
+0 0 707 1000 1000 707
diff --git a/public_test_cases/p03985/output.0.txt b/public_test_cases/p03985/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e8091f3db0add27dbc8eb91fc6bfda2b3234c7c
--- /dev/null
+++ b/public_test_cases/p03985/output.0.txt
@@ -0,0 +1,4 @@
+3
+10
+21
+180
diff --git a/public_test_cases/p03985/output.1.txt b/public_test_cases/p03985/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e8091f3db0add27dbc8eb91fc6bfda2b3234c7c
--- /dev/null
+++ b/public_test_cases/p03985/output.1.txt
@@ -0,0 +1,4 @@
+3
+10
+21
+180
diff --git a/public_test_cases/p03986/input.0.txt b/public_test_cases/p03986/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb7dd7d38f9e8532568cd084bee8eb16799055cb
--- /dev/null
+++ b/public_test_cases/p03986/input.0.txt
@@ -0,0 +1 @@
+TSTTSS
diff --git a/public_test_cases/p03986/input.1.txt b/public_test_cases/p03986/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fb7dd7d38f9e8532568cd084bee8eb16799055cb
--- /dev/null
+++ b/public_test_cases/p03986/input.1.txt
@@ -0,0 +1 @@
+TSTTSS
diff --git a/public_test_cases/p03986/input.2.txt b/public_test_cases/p03986/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..187f6700321bbf7b7c6ff45479d31a3307f5da45
--- /dev/null
+++ b/public_test_cases/p03986/input.2.txt
@@ -0,0 +1 @@
+SSTTST
diff --git a/public_test_cases/p03986/input.3.txt b/public_test_cases/p03986/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2a8091687ff8b77337c6d3d6b15e2775a6f6b309
--- /dev/null
+++ b/public_test_cases/p03986/input.3.txt
@@ -0,0 +1 @@
+TSSTTTSS
diff --git a/public_test_cases/p03986/output.0.txt b/public_test_cases/p03986/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03986/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03986/output.1.txt b/public_test_cases/p03986/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03986/output.1.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03986/output.2.txt b/public_test_cases/p03986/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03986/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03986/output.3.txt b/public_test_cases/p03986/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03986/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03987/input.0.txt b/public_test_cases/p03987/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0be9b31f60716a41721b53522fbabb7dd714eee7
--- /dev/null
+++ b/public_test_cases/p03987/input.0.txt
@@ -0,0 +1,2 @@
+3
+2 1 3
diff --git a/public_test_cases/p03987/input.1.txt b/public_test_cases/p03987/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0be9b31f60716a41721b53522fbabb7dd714eee7
--- /dev/null
+++ b/public_test_cases/p03987/input.1.txt
@@ -0,0 +1,2 @@
+3
+2 1 3
diff --git a/public_test_cases/p03987/input.2.txt b/public_test_cases/p03987/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b74a6382fd4c003048566f5a3755ce6d3750f919
--- /dev/null
+++ b/public_test_cases/p03987/input.2.txt
@@ -0,0 +1,2 @@
+4
+1 3 2 4
diff --git a/public_test_cases/p03987/input.3.txt b/public_test_cases/p03987/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3f28b12a6790b33bc2bfac0c1c81c5c0f5fdf2f0
--- /dev/null
+++ b/public_test_cases/p03987/input.3.txt
@@ -0,0 +1,2 @@
+8
+5 4 8 1 2 6 7 3
diff --git a/public_test_cases/p03987/output.0.txt b/public_test_cases/p03987/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03987/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03987/output.1.txt b/public_test_cases/p03987/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03987/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03987/output.2.txt b/public_test_cases/p03987/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p03987/output.2.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p03987/output.3.txt b/public_test_cases/p03987/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a862eb8444d443dbaf5db59f7e27d956cd7691d5
--- /dev/null
+++ b/public_test_cases/p03987/output.3.txt
@@ -0,0 +1 @@
+85
diff --git a/public_test_cases/p03988/input.0.txt b/public_test_cases/p03988/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe2e918f671350e8c81a0ad424fa93d60f8a2cde
--- /dev/null
+++ b/public_test_cases/p03988/input.0.txt
@@ -0,0 +1,2 @@
+5
+3 2 2 3 3
diff --git a/public_test_cases/p03988/input.1.txt b/public_test_cases/p03988/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3b073c97cd642976c8bc803d1a5a88f786977247
--- /dev/null
+++ b/public_test_cases/p03988/input.1.txt
@@ -0,0 +1,2 @@
+6
+1 1 1 1 1 5
diff --git a/public_test_cases/p03988/input.2.txt b/public_test_cases/p03988/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c54d55a8d166e20db07dc7c7ab25cb293a0c3cfd
--- /dev/null
+++ b/public_test_cases/p03988/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 1 2
diff --git a/public_test_cases/p03988/input.3.txt b/public_test_cases/p03988/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe2e918f671350e8c81a0ad424fa93d60f8a2cde
--- /dev/null
+++ b/public_test_cases/p03988/input.3.txt
@@ -0,0 +1,2 @@
+5
+3 2 2 3 3
diff --git a/public_test_cases/p03988/input.4.txt b/public_test_cases/p03988/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a101db8fbec1cc4e37d68494ca7036461dcf379f
--- /dev/null
+++ b/public_test_cases/p03988/input.4.txt
@@ -0,0 +1,2 @@
+5
+4 3 2 3 4
diff --git a/public_test_cases/p03988/input.5.txt b/public_test_cases/p03988/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00e1cc7de5bd942aa5de18969e6a0b2027822c4c
--- /dev/null
+++ b/public_test_cases/p03988/input.5.txt
@@ -0,0 +1,2 @@
+10
+1 2 2 2 2 2 2 2 2 2
diff --git a/public_test_cases/p03988/input.6.txt b/public_test_cases/p03988/input.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..27a369495f4209b0e44525608e438d53ae411b2d
--- /dev/null
+++ b/public_test_cases/p03988/input.6.txt
@@ -0,0 +1,2 @@
+10
+1 1 2 2 2 2 2 2 2 2
diff --git a/public_test_cases/p03988/output.0.txt b/public_test_cases/p03988/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p03988/output.0.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p03988/output.1.txt b/public_test_cases/p03988/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p03988/output.1.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p03988/output.2.txt b/public_test_cases/p03988/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p03988/output.2.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p03988/output.3.txt b/public_test_cases/p03988/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p03988/output.3.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p03988/output.4.txt b/public_test_cases/p03988/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p03988/output.4.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p03988/output.5.txt b/public_test_cases/p03988/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0213dbe41c1e02aa78ea4bee84fd4c5e8d74da8d
--- /dev/null
+++ b/public_test_cases/p03988/output.5.txt
@@ -0,0 +1 @@
+Possible
diff --git a/public_test_cases/p03988/output.6.txt b/public_test_cases/p03988/output.6.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p03988/output.6.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p03989/input.0.txt b/public_test_cases/p03989/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p03989/input.0.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p03989/input.1.txt b/public_test_cases/p03989/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ac08000ef10fb83a52c9fa8aa443e526baf9ba89
--- /dev/null
+++ b/public_test_cases/p03989/input.1.txt
@@ -0,0 +1 @@
+425 48
diff --git a/public_test_cases/p03989/input.2.txt b/public_test_cases/p03989/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b05461b1ba727d91054ac49487ae1ab1ceeb4967
--- /dev/null
+++ b/public_test_cases/p03989/input.2.txt
@@ -0,0 +1 @@
+4 1
diff --git a/public_test_cases/p03989/input.3.txt b/public_test_cases/p03989/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..109c32b18b1efa0beca194b39d372eff384919fa
--- /dev/null
+++ b/public_test_cases/p03989/input.3.txt
@@ -0,0 +1 @@
+4 3
diff --git a/public_test_cases/p03989/input.4.txt b/public_test_cases/p03989/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p03989/input.4.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p03989/input.5.txt b/public_test_cases/p03989/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..805e7f5a05abb0767d277398dd810d64910d282f
--- /dev/null
+++ b/public_test_cases/p03989/input.5.txt
@@ -0,0 +1 @@
+4 2
diff --git a/public_test_cases/p03989/output.0.txt b/public_test_cases/p03989/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03989/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03989/output.1.txt b/public_test_cases/p03989/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c0f07c1d035f7e130941c38479e8d22837daf48d
--- /dev/null
+++ b/public_test_cases/p03989/output.1.txt
@@ -0,0 +1 @@
+756765083
diff --git a/public_test_cases/p03989/output.2.txt b/public_test_cases/p03989/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p03989/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p03989/output.3.txt b/public_test_cases/p03989/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p03989/output.3.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p03989/output.4.txt b/public_test_cases/p03989/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03989/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03989/output.5.txt b/public_test_cases/p03989/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p03989/output.5.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p03990/input.0.txt b/public_test_cases/p03990/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1210a620e24351ace095785b9fbb84c98186f30
--- /dev/null
+++ b/public_test_cases/p03990/input.0.txt
@@ -0,0 +1,7 @@
+4 1 2
+1 2
+1 3
+1 4
+2 1
+2 3
+1 4
diff --git a/public_test_cases/p03990/input.1.txt b/public_test_cases/p03990/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5c0baffc7b52854f628432037d73cc04c8a71553
--- /dev/null
+++ b/public_test_cases/p03990/input.1.txt
@@ -0,0 +1,7 @@
+4 1 2
+1 2
+3 4
+2 4
+1 2
+3 4
+1 3
diff --git a/public_test_cases/p03990/input.2.txt b/public_test_cases/p03990/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..388c4557f9dcb0b102bdd31c87e398d31df0f2d5
--- /dev/null
+++ b/public_test_cases/p03990/input.2.txt
@@ -0,0 +1,9 @@
+5 1 2
+1 2
+1 3
+1 4
+4 5
+2 1
+1 3
+1 5
+5 4
diff --git a/public_test_cases/p03990/input.3.txt b/public_test_cases/p03990/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b31cf56cbb21a8bf98e4fd23ae4c030745a9458
--- /dev/null
+++ b/public_test_cases/p03990/input.3.txt
@@ -0,0 +1,5 @@
+3 3 1
+1 2
+2 3
+1 2
+2 3
diff --git a/public_test_cases/p03990/input.4.txt b/public_test_cases/p03990/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c1210a620e24351ace095785b9fbb84c98186f30
--- /dev/null
+++ b/public_test_cases/p03990/input.4.txt
@@ -0,0 +1,7 @@
+4 1 2
+1 2
+1 3
+1 4
+2 1
+2 3
+1 4
diff --git a/public_test_cases/p03990/input.5.txt b/public_test_cases/p03990/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92c2495dca06f247ee510a72c95513c7b2bbaa24
--- /dev/null
+++ b/public_test_cases/p03990/input.5.txt
@@ -0,0 +1,7 @@
+4 2 1
+1 2
+3 4
+2 4
+1 2
+3 4
+1 3
diff --git a/public_test_cases/p03990/output.0.txt b/public_test_cases/p03990/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03990/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03990/output.1.txt b/public_test_cases/p03990/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03990/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03990/output.2.txt b/public_test_cases/p03990/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p03990/output.2.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p03990/output.3.txt b/public_test_cases/p03990/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03990/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03990/output.4.txt b/public_test_cases/p03990/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p03990/output.4.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p03990/output.5.txt b/public_test_cases/p03990/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p03990/output.5.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p03991/input.0.txt b/public_test_cases/p03991/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03991/input.0.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03991/input.1.txt b/public_test_cases/p03991/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a228b06e601c1a4c8c4cfa2172b2486421746cb6
--- /dev/null
+++ b/public_test_cases/p03991/input.1.txt
@@ -0,0 +1,3 @@
+3
+1 2
+2 3
diff --git a/public_test_cases/p03991/input.2.txt b/public_test_cases/p03991/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92e7e919d9086f19d0faf1800efb363a22b6e6b8
--- /dev/null
+++ b/public_test_cases/p03991/input.2.txt
@@ -0,0 +1,4 @@
+4
+1 2
+1 3
+1 4
diff --git a/public_test_cases/p03991/input.3.txt b/public_test_cases/p03991/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d28f51cfbcaf47face8ddeace7069ce587dca10e
--- /dev/null
+++ b/public_test_cases/p03991/input.3.txt
@@ -0,0 +1,7 @@
+7
+1 2
+2 3
+2 4
+4 5
+4 6
+6 7
diff --git a/public_test_cases/p03991/output.0.txt b/public_test_cases/p03991/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74cf3265ecdf3823bcfff4f98e74f552e53476d7
--- /dev/null
+++ b/public_test_cases/p03991/output.0.txt
@@ -0,0 +1,3 @@
+3
+7
+3
diff --git a/public_test_cases/p03991/output.1.txt b/public_test_cases/p03991/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74cf3265ecdf3823bcfff4f98e74f552e53476d7
--- /dev/null
+++ b/public_test_cases/p03991/output.1.txt
@@ -0,0 +1,3 @@
+3
+7
+3
diff --git a/public_test_cases/p03991/output.2.txt b/public_test_cases/p03991/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0979cc2782b0309a29812e353f42c17f527df39f
--- /dev/null
+++ b/public_test_cases/p03991/output.2.txt
@@ -0,0 +1,4 @@
+4
+15
+13
+4
diff --git a/public_test_cases/p03991/output.3.txt b/public_test_cases/p03991/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df3a9e9b716a124bfbde3674f607e020986da75e
--- /dev/null
+++ b/public_test_cases/p03991/output.3.txt
@@ -0,0 +1,7 @@
+7
+67
+150
+179
+122
+45
+7
diff --git a/public_test_cases/p03992/input.0.txt b/public_test_cases/p03992/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6278f144219063e186191a7a5d52cfbddda36ce0
--- /dev/null
+++ b/public_test_cases/p03992/input.0.txt
@@ -0,0 +1 @@
+CODEFESTIVAL
diff --git a/public_test_cases/p03992/input.1.txt b/public_test_cases/p03992/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9effbdca876e33a1bb182b8febfc6311d057de4
--- /dev/null
+++ b/public_test_cases/p03992/input.1.txt
@@ -0,0 +1 @@
+POSTGRADUATE
diff --git a/public_test_cases/p03992/input.2.txt b/public_test_cases/p03992/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bb5bd50943d1fd27deb7464ca1a8df5203af2c7c
--- /dev/null
+++ b/public_test_cases/p03992/input.2.txt
@@ -0,0 +1 @@
+ABCDEFGHIJKL
diff --git a/public_test_cases/p03992/input.3.txt b/public_test_cases/p03992/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6278f144219063e186191a7a5d52cfbddda36ce0
--- /dev/null
+++ b/public_test_cases/p03992/input.3.txt
@@ -0,0 +1 @@
+CODEFESTIVAL
diff --git a/public_test_cases/p03992/output.0.txt b/public_test_cases/p03992/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..789d9a9a59e15c2b90f612bb25d69099d22213ff
--- /dev/null
+++ b/public_test_cases/p03992/output.0.txt
@@ -0,0 +1 @@
+CODE FESTIVAL
diff --git a/public_test_cases/p03992/output.1.txt b/public_test_cases/p03992/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dabca9775369260259f8ee1853d307041bc43c9
--- /dev/null
+++ b/public_test_cases/p03992/output.1.txt
@@ -0,0 +1 @@
+POST GRADUATE
diff --git a/public_test_cases/p03992/output.2.txt b/public_test_cases/p03992/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dee88d909a688e985f5733a07ae50bd64a4edcb6
--- /dev/null
+++ b/public_test_cases/p03992/output.2.txt
@@ -0,0 +1 @@
+ABCD EFGHIJKL
diff --git a/public_test_cases/p03992/output.3.txt b/public_test_cases/p03992/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..789d9a9a59e15c2b90f612bb25d69099d22213ff
--- /dev/null
+++ b/public_test_cases/p03992/output.3.txt
@@ -0,0 +1 @@
+CODE FESTIVAL
diff --git a/public_test_cases/p03993/input.0.txt b/public_test_cases/p03993/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99499867d9a792adf26ec05dd5ce7536d885d371
--- /dev/null
+++ b/public_test_cases/p03993/input.0.txt
@@ -0,0 +1,2 @@
+4
+2 1 4 3
diff --git a/public_test_cases/p03993/input.1.txt b/public_test_cases/p03993/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b29044c7562263214ba07e95181d4fffa71da483
--- /dev/null
+++ b/public_test_cases/p03993/input.1.txt
@@ -0,0 +1,2 @@
+3
+2 3 1
diff --git a/public_test_cases/p03993/input.2.txt b/public_test_cases/p03993/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67b5eb47d93a79b9f7f798005d3866c0a1540ff1
--- /dev/null
+++ b/public_test_cases/p03993/input.2.txt
@@ -0,0 +1,2 @@
+5
+5 5 5 5 1
diff --git a/public_test_cases/p03993/input.3.txt b/public_test_cases/p03993/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99499867d9a792adf26ec05dd5ce7536d885d371
--- /dev/null
+++ b/public_test_cases/p03993/input.3.txt
@@ -0,0 +1,2 @@
+4
+2 1 4 3
diff --git a/public_test_cases/p03993/output.0.txt b/public_test_cases/p03993/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03993/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03993/output.1.txt b/public_test_cases/p03993/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p03993/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p03993/output.2.txt b/public_test_cases/p03993/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p03993/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p03993/output.3.txt b/public_test_cases/p03993/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p03993/output.3.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p03994/input.0.txt b/public_test_cases/p03994/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72e93ab54fa184e871a3dacb01b34b618b82d787
--- /dev/null
+++ b/public_test_cases/p03994/input.0.txt
@@ -0,0 +1,2 @@
+xyz
+4
diff --git a/public_test_cases/p03994/input.1.txt b/public_test_cases/p03994/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a33b87caa17d420d46c5c11996e9d54b0c21610
--- /dev/null
+++ b/public_test_cases/p03994/input.1.txt
@@ -0,0 +1,2 @@
+codefestival
+100
diff --git a/public_test_cases/p03994/input.2.txt b/public_test_cases/p03994/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72e93ab54fa184e871a3dacb01b34b618b82d787
--- /dev/null
+++ b/public_test_cases/p03994/input.2.txt
@@ -0,0 +1,2 @@
+xyz
+4
diff --git a/public_test_cases/p03994/input.3.txt b/public_test_cases/p03994/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2fd30424f421e57f7c040da7c1cdf4269c3ae0af
--- /dev/null
+++ b/public_test_cases/p03994/input.3.txt
@@ -0,0 +1,2 @@
+a
+25
diff --git a/public_test_cases/p03994/output.0.txt b/public_test_cases/p03994/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c1a5fb0bad7b410ab65723106af89688e84125c
--- /dev/null
+++ b/public_test_cases/p03994/output.0.txt
@@ -0,0 +1 @@
+aya
diff --git a/public_test_cases/p03994/output.1.txt b/public_test_cases/p03994/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c74f701fcb1d220976c471b4334481ad83265d67
--- /dev/null
+++ b/public_test_cases/p03994/output.1.txt
@@ -0,0 +1 @@
+aaaafeaaivap
diff --git a/public_test_cases/p03994/output.2.txt b/public_test_cases/p03994/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4c1a5fb0bad7b410ab65723106af89688e84125c
--- /dev/null
+++ b/public_test_cases/p03994/output.2.txt
@@ -0,0 +1 @@
+aya
diff --git a/public_test_cases/p03994/output.3.txt b/public_test_cases/p03994/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b68025345d5301abad4d9ec9166f455243a0d746
--- /dev/null
+++ b/public_test_cases/p03994/output.3.txt
@@ -0,0 +1 @@
+z
diff --git a/public_test_cases/p03995/input.0.txt b/public_test_cases/p03995/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63ed20ec41d444be50a2d16ccdea73854e873be5
--- /dev/null
+++ b/public_test_cases/p03995/input.0.txt
@@ -0,0 +1,5 @@
+2 2
+3
+1 1 0
+1 2 10
+2 1 20
diff --git a/public_test_cases/p03995/input.1.txt b/public_test_cases/p03995/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24acf3f1751d05c7db318eae708664cb1b2e5c55
--- /dev/null
+++ b/public_test_cases/p03995/input.1.txt
@@ -0,0 +1,6 @@
+2 2
+4
+1 1 0
+1 2 10
+2 1 30
+2 2 20
diff --git a/public_test_cases/p03995/input.2.txt b/public_test_cases/p03995/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..63ed20ec41d444be50a2d16ccdea73854e873be5
--- /dev/null
+++ b/public_test_cases/p03995/input.2.txt
@@ -0,0 +1,5 @@
+2 2
+3
+1 1 0
+1 2 10
+2 1 20
diff --git a/public_test_cases/p03995/input.3.txt b/public_test_cases/p03995/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b25826ed5ebf1f960539ffc65737421e6c222b14
--- /dev/null
+++ b/public_test_cases/p03995/input.3.txt
@@ -0,0 +1,6 @@
+3 3
+4
+1 1 0
+1 3 10
+3 1 10
+3 3 20
diff --git a/public_test_cases/p03995/input.4.txt b/public_test_cases/p03995/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..40ed7f5ba7637bd747b34ff919acec024b160b93
--- /dev/null
+++ b/public_test_cases/p03995/input.4.txt
@@ -0,0 +1,5 @@
+2 2
+3
+1 1 20
+1 2 10
+2 1 0
diff --git a/public_test_cases/p03995/input.5.txt b/public_test_cases/p03995/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b74fb9077edf5e239106b975704ebd7e485bd50b
--- /dev/null
+++ b/public_test_cases/p03995/input.5.txt
@@ -0,0 +1,7 @@
+2 3
+5
+1 1 0
+1 2 10
+1 3 20
+2 1 30
+2 3 40
diff --git a/public_test_cases/p03995/output.0.txt b/public_test_cases/p03995/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03995/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03995/output.1.txt b/public_test_cases/p03995/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03995/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03995/output.2.txt b/public_test_cases/p03995/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03995/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03995/output.3.txt b/public_test_cases/p03995/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03995/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03995/output.4.txt b/public_test_cases/p03995/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03995/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03995/output.5.txt b/public_test_cases/p03995/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03995/output.5.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03996/input.0.txt b/public_test_cases/p03996/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82b3b28f67fb38efdc9362755a750766b69bd55
--- /dev/null
+++ b/public_test_cases/p03996/input.0.txt
@@ -0,0 +1,3 @@
+2 2
+3
+2 1 2
diff --git a/public_test_cases/p03996/input.1.txt b/public_test_cases/p03996/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcebd1d44bd554737c82d7f1fddecf87e52aa948
--- /dev/null
+++ b/public_test_cases/p03996/input.1.txt
@@ -0,0 +1,3 @@
+3 3
+6
+1 2 2 3 3 3
diff --git a/public_test_cases/p03996/input.2.txt b/public_test_cases/p03996/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d15423c6fb3b2084c996145082b385bb6343c75f
--- /dev/null
+++ b/public_test_cases/p03996/input.2.txt
@@ -0,0 +1,3 @@
+2 3
+3
+3 2 1
diff --git a/public_test_cases/p03996/input.3.txt b/public_test_cases/p03996/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e82b3b28f67fb38efdc9362755a750766b69bd55
--- /dev/null
+++ b/public_test_cases/p03996/input.3.txt
@@ -0,0 +1,3 @@
+2 2
+3
+2 1 2
diff --git a/public_test_cases/p03996/input.4.txt b/public_test_cases/p03996/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4d4935a5e064ae5eca7d24f90a34e2ff5eb37d51
--- /dev/null
+++ b/public_test_cases/p03996/input.4.txt
@@ -0,0 +1,3 @@
+3 2
+3
+2 1 2
diff --git a/public_test_cases/p03996/output.0.txt b/public_test_cases/p03996/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03996/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03996/output.1.txt b/public_test_cases/p03996/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03996/output.1.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03996/output.2.txt b/public_test_cases/p03996/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03996/output.2.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03996/output.3.txt b/public_test_cases/p03996/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p03996/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p03996/output.4.txt b/public_test_cases/p03996/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p03996/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p03997/input.0.txt b/public_test_cases/p03997/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c1c43cca20cc7fd0562fe62383325fb93daccc9
--- /dev/null
+++ b/public_test_cases/p03997/input.0.txt
@@ -0,0 +1,3 @@
+3
+4
+2
diff --git a/public_test_cases/p03997/input.1.txt b/public_test_cases/p03997/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e435a26e08d0cb483ca192b3003d030f6e501ee
--- /dev/null
+++ b/public_test_cases/p03997/input.1.txt
@@ -0,0 +1,3 @@
+4
+4
+4
diff --git a/public_test_cases/p03997/input.2.txt b/public_test_cases/p03997/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c1c43cca20cc7fd0562fe62383325fb93daccc9
--- /dev/null
+++ b/public_test_cases/p03997/input.2.txt
@@ -0,0 +1,3 @@
+3
+4
+2
diff --git a/public_test_cases/p03997/output.0.txt b/public_test_cases/p03997/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03997/output.0.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03997/output.1.txt b/public_test_cases/p03997/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b6a7d89c68e0ca66e96a9a51892cc33db66fb8a3
--- /dev/null
+++ b/public_test_cases/p03997/output.1.txt
@@ -0,0 +1 @@
+16
diff --git a/public_test_cases/p03997/output.2.txt b/public_test_cases/p03997/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p03997/output.2.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p03998/input.0.txt b/public_test_cases/p03998/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..937fea1cb7867491a8bb912aef69bf9080f1af3d
--- /dev/null
+++ b/public_test_cases/p03998/input.0.txt
@@ -0,0 +1,3 @@
+aca
+accc
+ca
diff --git a/public_test_cases/p03998/input.1.txt b/public_test_cases/p03998/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e0e39ada707d4a70c3e626f799b8c7dbcf2e7236
--- /dev/null
+++ b/public_test_cases/p03998/input.1.txt
@@ -0,0 +1,3 @@
+abcb
+aacb
+bccc
diff --git a/public_test_cases/p03998/input.2.txt b/public_test_cases/p03998/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..937fea1cb7867491a8bb912aef69bf9080f1af3d
--- /dev/null
+++ b/public_test_cases/p03998/input.2.txt
@@ -0,0 +1,3 @@
+aca
+accc
+ca
diff --git a/public_test_cases/p03998/output.0.txt b/public_test_cases/p03998/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p03998/output.0.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p03998/output.1.txt b/public_test_cases/p03998/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3cc58df83752123644fef39faab2393af643b1d2
--- /dev/null
+++ b/public_test_cases/p03998/output.1.txt
@@ -0,0 +1 @@
+C
diff --git a/public_test_cases/p03998/output.2.txt b/public_test_cases/p03998/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f70f10e4db19068f79bc43844b49f3eece45c4e8
--- /dev/null
+++ b/public_test_cases/p03998/output.2.txt
@@ -0,0 +1 @@
+A
diff --git a/public_test_cases/p03999/input.0.txt b/public_test_cases/p03999/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d136d6a7142602026090af9a34286fc2a1ea39b9
--- /dev/null
+++ b/public_test_cases/p03999/input.0.txt
@@ -0,0 +1 @@
+125
diff --git a/public_test_cases/p03999/input.1.txt b/public_test_cases/p03999/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1dcd3c3738e76958023a136cf0f4543a212d4357
--- /dev/null
+++ b/public_test_cases/p03999/input.1.txt
@@ -0,0 +1 @@
+9999999999
diff --git a/public_test_cases/p03999/input.2.txt b/public_test_cases/p03999/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d136d6a7142602026090af9a34286fc2a1ea39b9
--- /dev/null
+++ b/public_test_cases/p03999/input.2.txt
@@ -0,0 +1 @@
+125
diff --git a/public_test_cases/p03999/output.0.txt b/public_test_cases/p03999/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1057e9a27306e3e5567c601c522f00dc5ed6698e
--- /dev/null
+++ b/public_test_cases/p03999/output.0.txt
@@ -0,0 +1 @@
+176
diff --git a/public_test_cases/p03999/output.1.txt b/public_test_cases/p03999/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..098e657a174185447cd92a3bad2887e45c2e7b4e
--- /dev/null
+++ b/public_test_cases/p03999/output.1.txt
@@ -0,0 +1 @@
+12656242944
diff --git a/public_test_cases/p03999/output.2.txt b/public_test_cases/p03999/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1057e9a27306e3e5567c601c522f00dc5ed6698e
--- /dev/null
+++ b/public_test_cases/p03999/output.2.txt
@@ -0,0 +1 @@
+176
diff --git a/public_test_cases/p04000/input.0.txt b/public_test_cases/p04000/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f49cccb2aa19cc0d6242eee291eec19f978085c6
--- /dev/null
+++ b/public_test_cases/p04000/input.0.txt
@@ -0,0 +1,9 @@
+4 5 8
+1 1
+1 4
+1 5
+2 3
+3 1
+3 2
+3 4
+4 4
diff --git a/public_test_cases/p04000/input.1.txt b/public_test_cases/p04000/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae0a16359ad72f0908319c98d02cac95a8955b12
--- /dev/null
+++ b/public_test_cases/p04000/input.1.txt
@@ -0,0 +1 @@
+1000000000 1000000000 0
diff --git a/public_test_cases/p04000/input.2.txt b/public_test_cases/p04000/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f49cccb2aa19cc0d6242eee291eec19f978085c6
--- /dev/null
+++ b/public_test_cases/p04000/input.2.txt
@@ -0,0 +1,9 @@
+4 5 8
+1 1
+1 4
+1 5
+2 3
+3 1
+3 2
+3 4
+4 4
diff --git a/public_test_cases/p04000/input.3.txt b/public_test_cases/p04000/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..23f094d15e38572c19e964dd1f1e3dd3f7febc71
--- /dev/null
+++ b/public_test_cases/p04000/input.3.txt
@@ -0,0 +1,21 @@
+10 10 20
+1 1
+1 4
+1 9
+2 5
+3 10
+4 2
+4 7
+5 9
+6 4
+6 6
+6 7
+7 1
+7 3
+7 7
+8 1
+8 5
+8 10
+9 2
+10 4
+10 9
diff --git a/public_test_cases/p04000/output.0.txt b/public_test_cases/p04000/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df935a33fe0a41da21d21f1863e39bbf5a7bd43a
--- /dev/null
+++ b/public_test_cases/p04000/output.0.txt
@@ -0,0 +1,10 @@
+0
+0
+0
+2
+4
+0
+0
+0
+0
+0
diff --git a/public_test_cases/p04000/output.1.txt b/public_test_cases/p04000/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0d40d17cea24e2062e4eb8b391286ae7ca82bd37
--- /dev/null
+++ b/public_test_cases/p04000/output.1.txt
@@ -0,0 +1,10 @@
+999999996000000004
+0
+0
+0
+0
+0
+0
+0
+0
+0
diff --git a/public_test_cases/p04000/output.2.txt b/public_test_cases/p04000/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df935a33fe0a41da21d21f1863e39bbf5a7bd43a
--- /dev/null
+++ b/public_test_cases/p04000/output.2.txt
@@ -0,0 +1,10 @@
+0
+0
+0
+2
+4
+0
+0
+0
+0
+0
diff --git a/public_test_cases/p04000/output.3.txt b/public_test_cases/p04000/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11df4b645564ac9a1db38720040eae11b4e27c70
--- /dev/null
+++ b/public_test_cases/p04000/output.3.txt
@@ -0,0 +1,10 @@
+4
+26
+22
+10
+2
+0
+0
+0
+0
+0
diff --git a/public_test_cases/p04001/input.0.txt b/public_test_cases/p04001/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d136d6a7142602026090af9a34286fc2a1ea39b9
--- /dev/null
+++ b/public_test_cases/p04001/input.0.txt
@@ -0,0 +1 @@
+125
diff --git a/public_test_cases/p04001/output.0.txt b/public_test_cases/p04001/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1057e9a27306e3e5567c601c522f00dc5ed6698e
--- /dev/null
+++ b/public_test_cases/p04001/output.0.txt
@@ -0,0 +1 @@
+176
diff --git a/public_test_cases/p04002/input.0.txt b/public_test_cases/p04002/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f49cccb2aa19cc0d6242eee291eec19f978085c6
--- /dev/null
+++ b/public_test_cases/p04002/input.0.txt
@@ -0,0 +1,9 @@
+4 5 8
+1 1
+1 4
+1 5
+2 3
+3 1
+3 2
+3 4
+4 4
diff --git a/public_test_cases/p04002/output.0.txt b/public_test_cases/p04002/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..df935a33fe0a41da21d21f1863e39bbf5a7bd43a
--- /dev/null
+++ b/public_test_cases/p04002/output.0.txt
@@ -0,0 +1,10 @@
+0
+0
+0
+2
+4
+0
+0
+0
+0
+0
diff --git a/public_test_cases/p04003/input.0.txt b/public_test_cases/p04003/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72184f7fa1135eeb4cd79f7e6d0bd96ceebec908
--- /dev/null
+++ b/public_test_cases/p04003/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+2 3 1
+3 1 2
diff --git a/public_test_cases/p04003/input.1.txt b/public_test_cases/p04003/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b18aaeb912c1648da2ce8a4bbc23085db214d9d6
--- /dev/null
+++ b/public_test_cases/p04003/input.1.txt
@@ -0,0 +1,12 @@
+8 11
+1 3 1
+1 4 2
+2 3 1
+2 5 1
+3 4 3
+3 6 3
+3 7 3
+4 8 4
+5 6 1
+6 7 5
+7 8 5
diff --git a/public_test_cases/p04003/input.2.txt b/public_test_cases/p04003/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a74b3c2309d5dee0e16c0639409cbe4bfd6f1f9e
--- /dev/null
+++ b/public_test_cases/p04003/input.2.txt
@@ -0,0 +1 @@
+2 0
diff --git a/public_test_cases/p04003/input.3.txt b/public_test_cases/p04003/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..72184f7fa1135eeb4cd79f7e6d0bd96ceebec908
--- /dev/null
+++ b/public_test_cases/p04003/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+1 2 1
+2 3 1
+3 1 2
diff --git a/public_test_cases/p04003/output.0.txt b/public_test_cases/p04003/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04003/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04003/output.1.txt b/public_test_cases/p04003/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04003/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04003/output.2.txt b/public_test_cases/p04003/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p04003/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p04003/output.3.txt b/public_test_cases/p04003/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04003/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04004/input.0.txt b/public_test_cases/p04004/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc3759002bf5280e344eeadc5dbf9ea31b3e0b78
--- /dev/null
+++ b/public_test_cases/p04004/input.0.txt
@@ -0,0 +1 @@
+1 1 1
diff --git a/public_test_cases/p04004/input.1.txt b/public_test_cases/p04004/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8c77475f1fbaf82c05ba735555b9c5db097c24e
--- /dev/null
+++ b/public_test_cases/p04004/input.1.txt
@@ -0,0 +1 @@
+4 2 2
diff --git a/public_test_cases/p04004/input.2.txt b/public_test_cases/p04004/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cc3759002bf5280e344eeadc5dbf9ea31b3e0b78
--- /dev/null
+++ b/public_test_cases/p04004/input.2.txt
@@ -0,0 +1 @@
+1 1 1
diff --git a/public_test_cases/p04004/input.3.txt b/public_test_cases/p04004/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a488289edd1f3e7691ce68ead07631af9ca1169a
--- /dev/null
+++ b/public_test_cases/p04004/input.3.txt
@@ -0,0 +1 @@
+1000 1000 1000
diff --git a/public_test_cases/p04004/output.0.txt b/public_test_cases/p04004/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p04004/output.0.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p04004/output.1.txt b/public_test_cases/p04004/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4f720374865e9f1f0b5502715305de5d2bcde0a5
--- /dev/null
+++ b/public_test_cases/p04004/output.1.txt
@@ -0,0 +1 @@
+1227
diff --git a/public_test_cases/p04004/output.2.txt b/public_test_cases/p04004/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..98d9bcb75a685dfbfd60f611c309410152935b3d
--- /dev/null
+++ b/public_test_cases/p04004/output.2.txt
@@ -0,0 +1 @@
+17
diff --git a/public_test_cases/p04004/output.3.txt b/public_test_cases/p04004/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..75eb331245664120893158458cc44c82dffd7578
--- /dev/null
+++ b/public_test_cases/p04004/output.3.txt
@@ -0,0 +1 @@
+261790852
diff --git a/public_test_cases/p04005/input.0.txt b/public_test_cases/p04005/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..975b5b4edbcd4186641710d4e3ef291a40475f00
--- /dev/null
+++ b/public_test_cases/p04005/input.0.txt
@@ -0,0 +1 @@
+3 3 3
diff --git a/public_test_cases/p04005/input.1.txt b/public_test_cases/p04005/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f50aaec4daf65c6d1b8b27ee9252b0ded2352265
--- /dev/null
+++ b/public_test_cases/p04005/input.1.txt
@@ -0,0 +1 @@
+2 2 4
diff --git a/public_test_cases/p04005/input.2.txt b/public_test_cases/p04005/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..975b5b4edbcd4186641710d4e3ef291a40475f00
--- /dev/null
+++ b/public_test_cases/p04005/input.2.txt
@@ -0,0 +1 @@
+3 3 3
diff --git a/public_test_cases/p04005/input.3.txt b/public_test_cases/p04005/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a0e83e7653ec1c4d7ae8824bb2e65344767ff752
--- /dev/null
+++ b/public_test_cases/p04005/input.3.txt
@@ -0,0 +1 @@
+5 3 5
diff --git a/public_test_cases/p04005/output.0.txt b/public_test_cases/p04005/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p04005/output.0.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p04005/output.1.txt b/public_test_cases/p04005/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p04005/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p04005/output.2.txt b/public_test_cases/p04005/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p04005/output.2.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p04005/output.3.txt b/public_test_cases/p04005/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..60d3b2f4a4cd5f1637eba020358bfe5ecb5edcf2
--- /dev/null
+++ b/public_test_cases/p04005/output.3.txt
@@ -0,0 +1 @@
+15
diff --git a/public_test_cases/p04006/input.0.txt b/public_test_cases/p04006/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64f0c555a1aaee02f00dec0108c04d3299d08605
--- /dev/null
+++ b/public_test_cases/p04006/input.0.txt
@@ -0,0 +1,2 @@
+2 10
+1 100
diff --git a/public_test_cases/p04006/input.1.txt b/public_test_cases/p04006/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b7d0453234f0f0414b6ed368f9b00f8928e21a8a
--- /dev/null
+++ b/public_test_cases/p04006/input.1.txt
@@ -0,0 +1,2 @@
+4 10
+1 2 3 4
diff --git a/public_test_cases/p04006/input.2.txt b/public_test_cases/p04006/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..64f0c555a1aaee02f00dec0108c04d3299d08605
--- /dev/null
+++ b/public_test_cases/p04006/input.2.txt
@@ -0,0 +1,2 @@
+2 10
+1 100
diff --git a/public_test_cases/p04006/input.3.txt b/public_test_cases/p04006/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..13c90b865b0217a8273f0961c424c975f86fdcfa
--- /dev/null
+++ b/public_test_cases/p04006/input.3.txt
@@ -0,0 +1,2 @@
+3 10
+100 1 100
diff --git a/public_test_cases/p04006/output.0.txt b/public_test_cases/p04006/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p04006/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p04006/output.1.txt b/public_test_cases/p04006/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p04006/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p04006/output.2.txt b/public_test_cases/p04006/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p04006/output.2.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p04006/output.3.txt b/public_test_cases/p04006/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..409940768f2a684935a7d15a29f96e82c487f439
--- /dev/null
+++ b/public_test_cases/p04006/output.3.txt
@@ -0,0 +1 @@
+23
diff --git a/public_test_cases/p04007/input.0.txt b/public_test_cases/p04007/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54b1b0e07a9eff71ce6007956851fea1bd516a0e
--- /dev/null
+++ b/public_test_cases/p04007/input.0.txt
@@ -0,0 +1,6 @@
+5 5
+.....
+.#.#.
+.....
+.#.#.
+.....
diff --git a/public_test_cases/p04007/input.1.txt b/public_test_cases/p04007/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54b1b0e07a9eff71ce6007956851fea1bd516a0e
--- /dev/null
+++ b/public_test_cases/p04007/input.1.txt
@@ -0,0 +1,6 @@
+5 5
+.....
+.#.#.
+.....
+.#.#.
+.....
diff --git a/public_test_cases/p04007/input.2.txt b/public_test_cases/p04007/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..881b3a57b68290c0b6f47961daf4c783f3e44576
--- /dev/null
+++ b/public_test_cases/p04007/input.2.txt
@@ -0,0 +1,8 @@
+7 13
+.............
+.###.###.###.
+.#.#.#...#...
+.###.#...#...
+.#.#.#.#.#...
+.#.#.###.###.
+.............
diff --git a/public_test_cases/p04007/output.0.txt b/public_test_cases/p04007/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..206702b0e96b1f80bd58b479369c8920c5c8e88b
--- /dev/null
+++ b/public_test_cases/p04007/output.0.txt
@@ -0,0 +1,11 @@
+.....
+#####
+#....
+#####
+.....
+
+.###.
+.#.#.
+.#.#.
+.#.#.
+.....
diff --git a/public_test_cases/p04007/output.1.txt b/public_test_cases/p04007/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..206702b0e96b1f80bd58b479369c8920c5c8e88b
--- /dev/null
+++ b/public_test_cases/p04007/output.1.txt
@@ -0,0 +1,11 @@
+.....
+#####
+#....
+#####
+.....
+
+.###.
+.#.#.
+.#.#.
+.#.#.
+.....
diff --git a/public_test_cases/p04007/output.2.txt b/public_test_cases/p04007/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..25f4ca3a0f38342909b8c00720bfe041c4a672ee
--- /dev/null
+++ b/public_test_cases/p04007/output.2.txt
@@ -0,0 +1,15 @@
+.............
+.###########.
+.###.###.###.
+.###.###.###.
+.###.###.###.
+.###.###.###.
+.............
+
+.............
+.###.###.###.
+.#.#.#...#...
+.###.#...#...
+.#.#.#.#.#...
+.#.#########.
+.............
diff --git a/public_test_cases/p04008/input.0.txt b/public_test_cases/p04008/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e6812bf868798310dee75319a82a2bde324d88b
--- /dev/null
+++ b/public_test_cases/p04008/input.0.txt
@@ -0,0 +1,2 @@
+3 1
+2 3 1
diff --git a/public_test_cases/p04008/input.1.txt b/public_test_cases/p04008/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ec710cb56a443c9756ec26f2f56b22bd55143eb
--- /dev/null
+++ b/public_test_cases/p04008/input.1.txt
@@ -0,0 +1,2 @@
+8 2
+4 1 2 3 1 2 3 4
diff --git a/public_test_cases/p04008/input.2.txt b/public_test_cases/p04008/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9e6812bf868798310dee75319a82a2bde324d88b
--- /dev/null
+++ b/public_test_cases/p04008/input.2.txt
@@ -0,0 +1,2 @@
+3 1
+2 3 1
diff --git a/public_test_cases/p04008/input.3.txt b/public_test_cases/p04008/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29623797065c5c1a6f759560e61c44a4d2bf1b0f
--- /dev/null
+++ b/public_test_cases/p04008/input.3.txt
@@ -0,0 +1,2 @@
+4 2
+1 1 2 2
diff --git a/public_test_cases/p04008/output.0.txt b/public_test_cases/p04008/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04008/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04008/output.1.txt b/public_test_cases/p04008/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04008/output.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04008/output.2.txt b/public_test_cases/p04008/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04008/output.2.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04008/output.3.txt b/public_test_cases/p04008/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p04008/output.3.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p04009/input.0.txt b/public_test_cases/p04009/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec1a659152021a8288ba4b0c893d7d82087178dc
--- /dev/null
+++ b/public_test_cases/p04009/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+o.o
+.Eo
+ooo
diff --git a/public_test_cases/p04009/input.1.txt b/public_test_cases/p04009/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e97f801705e4c563d3bfe1e028d977031b95454
--- /dev/null
+++ b/public_test_cases/p04009/input.1.txt
@@ -0,0 +1,6 @@
+5 11
+ooo.ooo.ooo
+o.o.o...o..
+ooo.oE..o..
+o.o.o.o.o..
+o.o.ooo.ooo
diff --git a/public_test_cases/p04009/input.2.txt b/public_test_cases/p04009/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d31e6e2df6033c16cb6ab143df7d0228848d84b
--- /dev/null
+++ b/public_test_cases/p04009/input.2.txt
@@ -0,0 +1,4 @@
+3 4
+o...
+o...
+oooE
diff --git a/public_test_cases/p04009/input.3.txt b/public_test_cases/p04009/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec1a659152021a8288ba4b0c893d7d82087178dc
--- /dev/null
+++ b/public_test_cases/p04009/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+o.o
+.Eo
+ooo
diff --git a/public_test_cases/p04009/input.4.txt b/public_test_cases/p04009/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f8052f02855db86b747e240b84f103bc2edd2ffa
--- /dev/null
+++ b/public_test_cases/p04009/input.4.txt
@@ -0,0 +1,3 @@
+2 2
+E.
+..
diff --git a/public_test_cases/p04009/output.0.txt b/public_test_cases/p04009/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04009/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04009/output.1.txt b/public_test_cases/p04009/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p04009/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p04009/output.2.txt b/public_test_cases/p04009/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p04009/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p04009/output.3.txt b/public_test_cases/p04009/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04009/output.3.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04009/output.4.txt b/public_test_cases/p04009/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p04009/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p04010/input.0.txt b/public_test_cases/p04010/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e73d00f559597bda1fc62f2ddd226ee993bd129
--- /dev/null
+++ b/public_test_cases/p04010/input.0.txt
@@ -0,0 +1,6 @@
+6 5
+1 2
+1 3
+1 4
+2 5
+2 6
diff --git a/public_test_cases/p04010/input.1.txt b/public_test_cases/p04010/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4e73d00f559597bda1fc62f2ddd226ee993bd129
--- /dev/null
+++ b/public_test_cases/p04010/input.1.txt
@@ -0,0 +1,6 @@
+6 5
+1 2
+1 3
+1 4
+2 5
+2 6
diff --git a/public_test_cases/p04010/input.2.txt b/public_test_cases/p04010/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p04010/input.2.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p04010/input.3.txt b/public_test_cases/p04010/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91baa4f218707905b03e897b6b0f14e7ded2ebe0
--- /dev/null
+++ b/public_test_cases/p04010/input.3.txt
@@ -0,0 +1,7 @@
+6 6
+1 2
+2 3
+3 1
+1 4
+1 5
+1 6
diff --git a/public_test_cases/p04010/input.4.txt b/public_test_cases/p04010/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3e5b02d4ce0ae2d57ab906325e55bf8f13d9caca
--- /dev/null
+++ b/public_test_cases/p04010/input.4.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+3 4
+4 1
diff --git a/public_test_cases/p04010/output.0.txt b/public_test_cases/p04010/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p04010/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p04010/output.1.txt b/public_test_cases/p04010/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p04010/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p04010/output.2.txt b/public_test_cases/p04010/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p04010/output.2.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p04010/output.3.txt b/public_test_cases/p04010/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f8f011eb73d6043d2e6db9d2c101195ae2801f2
--- /dev/null
+++ b/public_test_cases/p04010/output.3.txt
@@ -0,0 +1 @@
+7
diff --git a/public_test_cases/p04010/output.4.txt b/public_test_cases/p04010/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04010/output.4.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04011/input.0.txt b/public_test_cases/p04011/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..687edf99c939b63a302a8f7ef841e3fcfb3d2cfc
--- /dev/null
+++ b/public_test_cases/p04011/input.0.txt
@@ -0,0 +1,4 @@
+5
+3
+10000
+9000
diff --git a/public_test_cases/p04011/input.1.txt b/public_test_cases/p04011/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e049366d0a70062fe0e52e4af88f60f5d988da09
--- /dev/null
+++ b/public_test_cases/p04011/input.1.txt
@@ -0,0 +1,4 @@
+2
+3
+10000
+9000
diff --git a/public_test_cases/p04011/input.2.txt b/public_test_cases/p04011/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..687edf99c939b63a302a8f7ef841e3fcfb3d2cfc
--- /dev/null
+++ b/public_test_cases/p04011/input.2.txt
@@ -0,0 +1,4 @@
+5
+3
+10000
+9000
diff --git a/public_test_cases/p04011/output.0.txt b/public_test_cases/p04011/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22f0d241a8d1a28a84d5bfadc75068ed9c0b4804
--- /dev/null
+++ b/public_test_cases/p04011/output.0.txt
@@ -0,0 +1 @@
+48000
diff --git a/public_test_cases/p04011/output.1.txt b/public_test_cases/p04011/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b92677edb9566c26b6e52b6422544bb952cb7ca6
--- /dev/null
+++ b/public_test_cases/p04011/output.1.txt
@@ -0,0 +1 @@
+20000
diff --git a/public_test_cases/p04011/output.2.txt b/public_test_cases/p04011/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22f0d241a8d1a28a84d5bfadc75068ed9c0b4804
--- /dev/null
+++ b/public_test_cases/p04011/output.2.txt
@@ -0,0 +1 @@
+48000
diff --git a/public_test_cases/p04012/input.0.txt b/public_test_cases/p04012/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..468a2c27d8c588f0559a30f23be3b3c3115f986d
--- /dev/null
+++ b/public_test_cases/p04012/input.0.txt
@@ -0,0 +1 @@
+abaccaba
diff --git a/public_test_cases/p04012/input.1.txt b/public_test_cases/p04012/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..468a2c27d8c588f0559a30f23be3b3c3115f986d
--- /dev/null
+++ b/public_test_cases/p04012/input.1.txt
@@ -0,0 +1 @@
+abaccaba
diff --git a/public_test_cases/p04012/input.2.txt b/public_test_cases/p04012/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b1e670a1a2ede8a4aa60ce7fdaea44e78d983993
--- /dev/null
+++ b/public_test_cases/p04012/input.2.txt
@@ -0,0 +1 @@
+hthth
diff --git a/public_test_cases/p04012/output.0.txt b/public_test_cases/p04012/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p04012/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p04012/output.1.txt b/public_test_cases/p04012/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p04012/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p04012/output.2.txt b/public_test_cases/p04012/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p04012/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p04013/input.0.txt b/public_test_cases/p04013/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f3cfa17f27c74f1294805118980909652ba3b82
--- /dev/null
+++ b/public_test_cases/p04013/input.0.txt
@@ -0,0 +1,2 @@
+4 8
+7 9 8 9
diff --git a/public_test_cases/p04013/output.0.txt b/public_test_cases/p04013/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p04013/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p04014/input.0.txt b/public_test_cases/p04014/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e9da6ee59862fbdd2171eba54e60850ea76727a
--- /dev/null
+++ b/public_test_cases/p04014/input.0.txt
@@ -0,0 +1,2 @@
+87654
+30
diff --git a/public_test_cases/p04014/input.1.txt b/public_test_cases/p04014/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e9da6ee59862fbdd2171eba54e60850ea76727a
--- /dev/null
+++ b/public_test_cases/p04014/input.1.txt
@@ -0,0 +1,2 @@
+87654
+30
diff --git a/public_test_cases/p04014/input.2.txt b/public_test_cases/p04014/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b83aeacceff137edd426cd8db3ca99a52854596f
--- /dev/null
+++ b/public_test_cases/p04014/input.2.txt
@@ -0,0 +1,2 @@
+87654
+138
diff --git a/public_test_cases/p04014/input.3.txt b/public_test_cases/p04014/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..100176d4d92521ebb1a6f98055663db9b2a6ff54
--- /dev/null
+++ b/public_test_cases/p04014/input.3.txt
@@ -0,0 +1,2 @@
+87654
+45678
diff --git a/public_test_cases/p04014/input.4.txt b/public_test_cases/p04014/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0bc95f91822a935ae863ed6bd23bd3590a6374c5
--- /dev/null
+++ b/public_test_cases/p04014/input.4.txt
@@ -0,0 +1,2 @@
+31415926535
+1
diff --git a/public_test_cases/p04014/input.5.txt b/public_test_cases/p04014/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f4734d6e32331e263388eabb26d8706c38348c7
--- /dev/null
+++ b/public_test_cases/p04014/input.5.txt
@@ -0,0 +1,2 @@
+1
+31415926535
diff --git a/public_test_cases/p04014/output.0.txt b/public_test_cases/p04014/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p04014/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p04014/output.1.txt b/public_test_cases/p04014/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p04014/output.1.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p04014/output.2.txt b/public_test_cases/p04014/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..29d6383b52c1352e92a45875b5bb206f89139643
--- /dev/null
+++ b/public_test_cases/p04014/output.2.txt
@@ -0,0 +1 @@
+100
diff --git a/public_test_cases/p04014/output.3.txt b/public_test_cases/p04014/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p04014/output.3.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p04014/output.4.txt b/public_test_cases/p04014/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3625e8a987a3de210d452e75b0fea107b416c1f
--- /dev/null
+++ b/public_test_cases/p04014/output.4.txt
@@ -0,0 +1 @@
+31415926535
diff --git a/public_test_cases/p04014/output.5.txt b/public_test_cases/p04014/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a2e3f4984a0ee55900f8c7894844c563d2c2744
--- /dev/null
+++ b/public_test_cases/p04014/output.5.txt
@@ -0,0 +1 @@
+-1
diff --git a/public_test_cases/p04015/input.0.txt b/public_test_cases/p04015/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f3cfa17f27c74f1294805118980909652ba3b82
--- /dev/null
+++ b/public_test_cases/p04015/input.0.txt
@@ -0,0 +1,2 @@
+4 8
+7 9 8 9
diff --git a/public_test_cases/p04015/input.1.txt b/public_test_cases/p04015/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5f3cfa17f27c74f1294805118980909652ba3b82
--- /dev/null
+++ b/public_test_cases/p04015/input.1.txt
@@ -0,0 +1,2 @@
+4 8
+7 9 8 9
diff --git a/public_test_cases/p04015/input.2.txt b/public_test_cases/p04015/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cd09baad62d8c9303010a9464aa8e21372b5239e
--- /dev/null
+++ b/public_test_cases/p04015/input.2.txt
@@ -0,0 +1,2 @@
+3 8
+6 6 9
diff --git a/public_test_cases/p04015/input.3.txt b/public_test_cases/p04015/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f523a6a18a00e8753ef2b7fe696fb3930bf8265d
--- /dev/null
+++ b/public_test_cases/p04015/input.3.txt
@@ -0,0 +1,2 @@
+33 3
+3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
diff --git a/public_test_cases/p04015/input.4.txt b/public_test_cases/p04015/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bdfb07c2915c23b8c4f63f9484c4d42cc6edbf94
--- /dev/null
+++ b/public_test_cases/p04015/input.4.txt
@@ -0,0 +1,2 @@
+8 5
+3 6 2 8 7 6 5 9
diff --git a/public_test_cases/p04015/output.0.txt b/public_test_cases/p04015/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p04015/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p04015/output.1.txt b/public_test_cases/p04015/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p04015/output.1.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p04015/output.2.txt b/public_test_cases/p04015/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p04015/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p04015/output.3.txt b/public_test_cases/p04015/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0b54bf8fa9933481addaa9b73db3f431144e4445
--- /dev/null
+++ b/public_test_cases/p04015/output.3.txt
@@ -0,0 +1 @@
+8589934591
diff --git a/public_test_cases/p04015/output.4.txt b/public_test_cases/p04015/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d6b24041cf04154f8f902651969675021f4d93a5
--- /dev/null
+++ b/public_test_cases/p04015/output.4.txt
@@ -0,0 +1 @@
+19
diff --git a/public_test_cases/p04016/input.0.txt b/public_test_cases/p04016/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e9da6ee59862fbdd2171eba54e60850ea76727a
--- /dev/null
+++ b/public_test_cases/p04016/input.0.txt
@@ -0,0 +1,2 @@
+87654
+30
diff --git a/public_test_cases/p04016/output.0.txt b/public_test_cases/p04016/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p04016/output.0.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p04017/input.0.txt b/public_test_cases/p04017/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1af6e133edc91fd46eddc38b81df57afe1c227ad
--- /dev/null
+++ b/public_test_cases/p04017/input.0.txt
@@ -0,0 +1,8 @@
+9
+1 3 6 13 15 18 19 29 31
+10
+4
+1 8
+7 3
+6 7
+8 5
diff --git a/public_test_cases/p04017/input.1.txt b/public_test_cases/p04017/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1af6e133edc91fd46eddc38b81df57afe1c227ad
--- /dev/null
+++ b/public_test_cases/p04017/input.1.txt
@@ -0,0 +1,8 @@
+9
+1 3 6 13 15 18 19 29 31
+10
+4
+1 8
+7 3
+6 7
+8 5
diff --git a/public_test_cases/p04017/output.0.txt b/public_test_cases/p04017/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf0d8bb1a7f0567e2a2a8c40bc3d3b9bc172991b
--- /dev/null
+++ b/public_test_cases/p04017/output.0.txt
@@ -0,0 +1,4 @@
+4
+2
+1
+2
diff --git a/public_test_cases/p04017/output.1.txt b/public_test_cases/p04017/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf0d8bb1a7f0567e2a2a8c40bc3d3b9bc172991b
--- /dev/null
+++ b/public_test_cases/p04017/output.1.txt
@@ -0,0 +1,4 @@
+4
+2
+1
+2
diff --git a/public_test_cases/p04018/input.0.txt b/public_test_cases/p04018/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f27bcf7c99320f97e935dac870033e697bc5b11
--- /dev/null
+++ b/public_test_cases/p04018/input.0.txt
@@ -0,0 +1 @@
+aab
diff --git a/public_test_cases/p04018/input.1.txt b/public_test_cases/p04018/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1d60b70ed8125fdfde9934ac0942548a25477971
--- /dev/null
+++ b/public_test_cases/p04018/input.1.txt
@@ -0,0 +1 @@
+ddd
diff --git a/public_test_cases/p04018/input.2.txt b/public_test_cases/p04018/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f27bcf7c99320f97e935dac870033e697bc5b11
--- /dev/null
+++ b/public_test_cases/p04018/input.2.txt
@@ -0,0 +1 @@
+aab
diff --git a/public_test_cases/p04018/input.3.txt b/public_test_cases/p04018/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e8f43074aafb944c79574e40554c353d2c0ba573
--- /dev/null
+++ b/public_test_cases/p04018/input.3.txt
@@ -0,0 +1 @@
+bcbc
diff --git a/public_test_cases/p04018/output.0.txt b/public_test_cases/p04018/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p04018/output.0.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p04018/output.1.txt b/public_test_cases/p04018/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f00580c4060794725a4817ab7935de04726c8933
--- /dev/null
+++ b/public_test_cases/p04018/output.1.txt
@@ -0,0 +1,2 @@
+3
+1
diff --git a/public_test_cases/p04018/output.2.txt b/public_test_cases/p04018/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6ed281c757a969ffe22f3dcfa5830c532479c726
--- /dev/null
+++ b/public_test_cases/p04018/output.2.txt
@@ -0,0 +1,2 @@
+1
+1
diff --git a/public_test_cases/p04018/output.3.txt b/public_test_cases/p04018/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4792e70f333077a81456ca2bc74e492ab8bb58c3
--- /dev/null
+++ b/public_test_cases/p04018/output.3.txt
@@ -0,0 +1,2 @@
+2
+3
diff --git a/public_test_cases/p04019/input.0.txt b/public_test_cases/p04019/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe588e53fdd8bb0a18425eb09ba441230a3a2e75
--- /dev/null
+++ b/public_test_cases/p04019/input.0.txt
@@ -0,0 +1 @@
+SENW
diff --git a/public_test_cases/p04019/input.1.txt b/public_test_cases/p04019/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..54e96bba4a7484754018275d590c002602d3f692
--- /dev/null
+++ b/public_test_cases/p04019/input.1.txt
@@ -0,0 +1 @@
+NSNNSNSN
diff --git a/public_test_cases/p04019/input.2.txt b/public_test_cases/p04019/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..669beb837f1b7e7ba6a7718d66b09587fb367752
--- /dev/null
+++ b/public_test_cases/p04019/input.2.txt
@@ -0,0 +1 @@
+NNEW
diff --git a/public_test_cases/p04019/input.3.txt b/public_test_cases/p04019/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe588e53fdd8bb0a18425eb09ba441230a3a2e75
--- /dev/null
+++ b/public_test_cases/p04019/input.3.txt
@@ -0,0 +1 @@
+SENW
diff --git a/public_test_cases/p04019/input.4.txt b/public_test_cases/p04019/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a42d8ff61914884d31a8f36bbc78085aae1e0b01
--- /dev/null
+++ b/public_test_cases/p04019/input.4.txt
@@ -0,0 +1 @@
+W
diff --git a/public_test_cases/p04019/output.0.txt b/public_test_cases/p04019/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p04019/output.0.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p04019/output.1.txt b/public_test_cases/p04019/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p04019/output.1.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p04019/output.2.txt b/public_test_cases/p04019/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p04019/output.2.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p04019/output.3.txt b/public_test_cases/p04019/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dcd7a5d6d55bef30b5619e90266d7af48a1c239f
--- /dev/null
+++ b/public_test_cases/p04019/output.3.txt
@@ -0,0 +1 @@
+Yes
diff --git a/public_test_cases/p04019/output.4.txt b/public_test_cases/p04019/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf456979c3c1f62274f0a5b15ac4877ea042a50d
--- /dev/null
+++ b/public_test_cases/p04019/output.4.txt
@@ -0,0 +1 @@
+No
diff --git a/public_test_cases/p04020/input.0.txt b/public_test_cases/p04020/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afec7516ac83f65b3e6866839804aacb80ebdbaf
--- /dev/null
+++ b/public_test_cases/p04020/input.0.txt
@@ -0,0 +1,5 @@
+4
+4
+0
+3
+2
diff --git a/public_test_cases/p04020/input.1.txt b/public_test_cases/p04020/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80305993aeae557f94aac753b38febe326f32d8b
--- /dev/null
+++ b/public_test_cases/p04020/input.1.txt
@@ -0,0 +1,9 @@
+8
+2
+0
+1
+6
+0
+8
+2
+1
diff --git a/public_test_cases/p04020/input.2.txt b/public_test_cases/p04020/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..afec7516ac83f65b3e6866839804aacb80ebdbaf
--- /dev/null
+++ b/public_test_cases/p04020/input.2.txt
@@ -0,0 +1,5 @@
+4
+4
+0
+3
+2
diff --git a/public_test_cases/p04020/output.0.txt b/public_test_cases/p04020/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p04020/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p04020/output.1.txt b/public_test_cases/p04020/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p04020/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p04020/output.2.txt b/public_test_cases/p04020/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p04020/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p04021/input.0.txt b/public_test_cases/p04021/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f837a7a32e7916d73026032b3127f153f8367e43
--- /dev/null
+++ b/public_test_cases/p04021/input.0.txt
@@ -0,0 +1,5 @@
+4
+2
+4
+3
+1
diff --git a/public_test_cases/p04021/input.1.txt b/public_test_cases/p04021/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2892b038bce03ad324d2206a5367622e93e6ab78
--- /dev/null
+++ b/public_test_cases/p04021/input.1.txt
@@ -0,0 +1,6 @@
+5
+10
+8
+5
+3
+2
diff --git a/public_test_cases/p04021/input.2.txt b/public_test_cases/p04021/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f837a7a32e7916d73026032b3127f153f8367e43
--- /dev/null
+++ b/public_test_cases/p04021/input.2.txt
@@ -0,0 +1,5 @@
+4
+2
+4
+3
+1
diff --git a/public_test_cases/p04021/output.0.txt b/public_test_cases/p04021/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04021/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04021/output.1.txt b/public_test_cases/p04021/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p04021/output.1.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p04021/output.2.txt b/public_test_cases/p04021/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04021/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04022/input.0.txt b/public_test_cases/p04022/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef0f40ae9c361a57d966ee880c7542eb092f40c
--- /dev/null
+++ b/public_test_cases/p04022/input.0.txt
@@ -0,0 +1,9 @@
+8
+1
+2
+3
+4
+5
+6
+7
+8
diff --git a/public_test_cases/p04022/input.1.txt b/public_test_cases/p04022/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ef7aabf9a34c3ade1fd774c2873ab0a5a09751e5
--- /dev/null
+++ b/public_test_cases/p04022/input.1.txt
@@ -0,0 +1,11 @@
+10
+1
+10
+100
+1000000007
+10000000000
+1000000009
+999999999
+999
+999
+999
diff --git a/public_test_cases/p04022/input.2.txt b/public_test_cases/p04022/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f063290d5e9ff0553c17aa92548b55703697b16
--- /dev/null
+++ b/public_test_cases/p04022/input.2.txt
@@ -0,0 +1,7 @@
+6
+2
+4
+8
+16
+32
+64
diff --git a/public_test_cases/p04022/input.3.txt b/public_test_cases/p04022/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0ef0f40ae9c361a57d966ee880c7542eb092f40c
--- /dev/null
+++ b/public_test_cases/p04022/input.3.txt
@@ -0,0 +1,9 @@
+8
+1
+2
+3
+4
+5
+6
+7
+8
diff --git a/public_test_cases/p04022/output.0.txt b/public_test_cases/p04022/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p04022/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p04022/output.1.txt b/public_test_cases/p04022/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
--- /dev/null
+++ b/public_test_cases/p04022/output.1.txt
@@ -0,0 +1 @@
+9
diff --git a/public_test_cases/p04022/output.2.txt b/public_test_cases/p04022/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04022/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04022/output.3.txt b/public_test_cases/p04022/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p04022/output.3.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p04023/input.0.txt b/public_test_cases/p04023/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3f33bc93e9af160c4214fb82e41aa7b599c2e84
--- /dev/null
+++ b/public_test_cases/p04023/input.0.txt
@@ -0,0 +1,4 @@
+5 3
+6
+4
+11
diff --git a/public_test_cases/p04023/input.1.txt b/public_test_cases/p04023/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..49dcde8ce30016dbf6bfb6003ccc4ae2a27182be
--- /dev/null
+++ b/public_test_cases/p04023/input.1.txt
@@ -0,0 +1,11 @@
+10 10
+9
+13
+18
+8
+10
+10
+9
+19
+22
+27
diff --git a/public_test_cases/p04023/input.2.txt b/public_test_cases/p04023/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3f33bc93e9af160c4214fb82e41aa7b599c2e84
--- /dev/null
+++ b/public_test_cases/p04023/input.2.txt
@@ -0,0 +1,4 @@
+5 3
+6
+4
+11
diff --git a/public_test_cases/p04023/output.0.txt b/public_test_cases/p04023/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e583be14d0c0fb252d9f673582a462bd5625b9c
--- /dev/null
+++ b/public_test_cases/p04023/output.0.txt
@@ -0,0 +1,5 @@
+3
+3
+3
+2
+0
diff --git a/public_test_cases/p04023/output.1.txt b/public_test_cases/p04023/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a3887b792ffa2c50a9c2cf645496e47b12cf45d5
--- /dev/null
+++ b/public_test_cases/p04023/output.1.txt
@@ -0,0 +1,10 @@
+7
+4
+4
+3
+3
+2
+2
+2
+0
+0
diff --git a/public_test_cases/p04023/output.2.txt b/public_test_cases/p04023/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6e583be14d0c0fb252d9f673582a462bd5625b9c
--- /dev/null
+++ b/public_test_cases/p04023/output.2.txt
@@ -0,0 +1,5 @@
+3
+3
+3
+2
+0
diff --git a/public_test_cases/p04024/input.0.txt b/public_test_cases/p04024/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b98121f2eba0e47afa0e904db9b54d1f04fe32ce
--- /dev/null
+++ b/public_test_cases/p04024/input.0.txt
@@ -0,0 +1,4 @@
+3 3 3
+.#.
+###
+#.#
diff --git a/public_test_cases/p04024/input.1.txt b/public_test_cases/p04024/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..67d330ab12fc2d4092e9b02e83b28310d155cfbc
--- /dev/null
+++ b/public_test_cases/p04024/input.1.txt
@@ -0,0 +1,12 @@
+11 15 1000000000000000000
+.....#.........
+....###........
+....####.......
+...######......
+...#######.....
+..##.###.##....
+..##########...
+.###.....####..
+.####...######.
+
+.##..##..##..#
diff --git a/public_test_cases/p04024/input.2.txt b/public_test_cases/p04024/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b98121f2eba0e47afa0e904db9b54d1f04fe32ce
--- /dev/null
+++ b/public_test_cases/p04024/input.2.txt
@@ -0,0 +1,4 @@
+3 3 3
+.#.
+###
+#.#
diff --git a/public_test_cases/p04024/input.3.txt b/public_test_cases/p04024/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..35cd57bb6fb707de72fa213107139b7f1a1f0c19
--- /dev/null
+++ b/public_test_cases/p04024/input.3.txt
@@ -0,0 +1,3 @@
+3 3 3
+
+.#
diff --git a/public_test_cases/p04024/input.4.txt b/public_test_cases/p04024/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d9c9ede1aa3824feb8c7213283cdd8519989221d
--- /dev/null
+++ b/public_test_cases/p04024/input.4.txt
@@ -0,0 +1,4 @@
+3 3 3
+.#.
+
+.#
diff --git a/public_test_cases/p04024/output.0.txt b/public_test_cases/p04024/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p04024/output.0.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p04024/output.1.txt b/public_test_cases/p04024/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..eaed1f07b27cf729738aad9a32390675be2529dd
--- /dev/null
+++ b/public_test_cases/p04024/output.1.txt
@@ -0,0 +1 @@
+301811921
diff --git a/public_test_cases/p04024/output.2.txt b/public_test_cases/p04024/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p04024/output.2.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p04024/output.3.txt b/public_test_cases/p04024/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04024/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04024/output.4.txt b/public_test_cases/p04024/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..209e3ef4b6247ce746048d5711befda46206d235
--- /dev/null
+++ b/public_test_cases/p04024/output.4.txt
@@ -0,0 +1 @@
+20
diff --git a/public_test_cases/p04025/input.0.txt b/public_test_cases/p04025/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77e678c0379756c0b7fbde31e174409bd21213c6
--- /dev/null
+++ b/public_test_cases/p04025/input.0.txt
@@ -0,0 +1,2 @@
+2
+4 8
diff --git a/public_test_cases/p04025/output.0.txt b/public_test_cases/p04025/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p04025/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p04026/input.0.txt b/public_test_cases/p04026/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b0cb99a6d1f06f2bb6c701a1f851beacd28ab15
--- /dev/null
+++ b/public_test_cases/p04026/input.0.txt
@@ -0,0 +1 @@
+needed
diff --git a/public_test_cases/p04026/input.1.txt b/public_test_cases/p04026/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b0cb99a6d1f06f2bb6c701a1f851beacd28ab15
--- /dev/null
+++ b/public_test_cases/p04026/input.1.txt
@@ -0,0 +1 @@
+needed
diff --git a/public_test_cases/p04026/input.2.txt b/public_test_cases/p04026/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..74ef13d11d0bc8c8cde49253ea4a0cdbea2c9416
--- /dev/null
+++ b/public_test_cases/p04026/input.2.txt
@@ -0,0 +1 @@
+atcoder
diff --git a/public_test_cases/p04026/output.0.txt b/public_test_cases/p04026/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p04026/output.0.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p04026/output.1.txt b/public_test_cases/p04026/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p04026/output.1.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p04026/output.2.txt b/public_test_cases/p04026/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9b56b57b93626dfaee10f0d765259a141fe23f15
--- /dev/null
+++ b/public_test_cases/p04026/output.2.txt
@@ -0,0 +1 @@
+-1 -1
diff --git a/public_test_cases/p04027/input.0.txt b/public_test_cases/p04027/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe176db18cf1811b742ae5a0f5b7cf450b01f51e
--- /dev/null
+++ b/public_test_cases/p04027/input.0.txt
@@ -0,0 +1,3 @@
+2 3
+1 1
+1 1
diff --git a/public_test_cases/p04027/input.1.txt b/public_test_cases/p04027/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f3066d8b7c549663b27f8137fcfe60067b537908
--- /dev/null
+++ b/public_test_cases/p04027/input.1.txt
@@ -0,0 +1,3 @@
+3 100
+7 6 5
+9 9 9
diff --git a/public_test_cases/p04027/input.2.txt b/public_test_cases/p04027/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92d43dbe0a860e830c51d5cd8c58605b19f8808c
--- /dev/null
+++ b/public_test_cases/p04027/input.2.txt
@@ -0,0 +1,3 @@
+1 2
+1
+3
diff --git a/public_test_cases/p04027/input.3.txt b/public_test_cases/p04027/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe176db18cf1811b742ae5a0f5b7cf450b01f51e
--- /dev/null
+++ b/public_test_cases/p04027/input.3.txt
@@ -0,0 +1,3 @@
+2 3
+1 1
+1 1
diff --git a/public_test_cases/p04027/input.4.txt b/public_test_cases/p04027/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71dee2133ccd05d353ce14c3ded57fd96c61f0de
--- /dev/null
+++ b/public_test_cases/p04027/input.4.txt
@@ -0,0 +1,3 @@
+2 3
+1 1
+2 2
diff --git a/public_test_cases/p04027/input.5.txt b/public_test_cases/p04027/input.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5d8a361e7bd56ca39a33d810aa10e7647cc46167
--- /dev/null
+++ b/public_test_cases/p04027/input.5.txt
@@ -0,0 +1,3 @@
+4 8
+3 1 4 1
+3 1 4 1
diff --git a/public_test_cases/p04027/output.0.txt b/public_test_cases/p04027/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p04027/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p04027/output.1.txt b/public_test_cases/p04027/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..345c8392e37e8bf87dc55d017a4a0c68b451a36b
--- /dev/null
+++ b/public_test_cases/p04027/output.1.txt
@@ -0,0 +1 @@
+139123417
diff --git a/public_test_cases/p04027/output.2.txt b/public_test_cases/p04027/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p04027/output.2.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p04027/output.3.txt b/public_test_cases/p04027/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p04027/output.3.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p04027/output.4.txt b/public_test_cases/p04027/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69a893aa31141827125ddaaee26966b7aed3de74
--- /dev/null
+++ b/public_test_cases/p04027/output.4.txt
@@ -0,0 +1 @@
+66
diff --git a/public_test_cases/p04027/output.5.txt b/public_test_cases/p04027/output.5.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6fe8fea153658b048ba9f2df1b23f07148e153f8
--- /dev/null
+++ b/public_test_cases/p04027/output.5.txt
@@ -0,0 +1 @@
+421749
diff --git a/public_test_cases/p04028/input.0.txt b/public_test_cases/p04028/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p04028/input.0.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p04028/input.1.txt b/public_test_cases/p04028/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37e26fc2e0dc783b6064aa031d3bf31c619826ef
--- /dev/null
+++ b/public_test_cases/p04028/input.1.txt
@@ -0,0 +1,2 @@
+5000
+01000001011101000100001101101111011001000110010101110010000
diff --git a/public_test_cases/p04028/input.2.txt b/public_test_cases/p04028/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..043e5719abf6a4dfb639917a36dae53ea42b6919
--- /dev/null
+++ b/public_test_cases/p04028/input.2.txt
@@ -0,0 +1,2 @@
+3
+0
diff --git a/public_test_cases/p04028/input.3.txt b/public_test_cases/p04028/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..11dd361af9157339766a329c90e243f4c86129dc
--- /dev/null
+++ b/public_test_cases/p04028/input.3.txt
@@ -0,0 +1,2 @@
+300
+1100100
diff --git a/public_test_cases/p04028/output.0.txt b/public_test_cases/p04028/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p04028/output.0.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p04028/output.1.txt b/public_test_cases/p04028/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..304de0f7a7c666ebc04ac88219e0c0026af6c035
--- /dev/null
+++ b/public_test_cases/p04028/output.1.txt
@@ -0,0 +1 @@
+500886057
diff --git a/public_test_cases/p04028/output.2.txt b/public_test_cases/p04028/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p04028/output.2.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p04028/output.3.txt b/public_test_cases/p04028/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..91d0b096e3fc0771ef3ee4262689730b980d7b07
--- /dev/null
+++ b/public_test_cases/p04028/output.3.txt
@@ -0,0 +1 @@
+519054663
diff --git a/public_test_cases/p04029/input.0.txt b/public_test_cases/p04029/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04029/input.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04029/input.1.txt b/public_test_cases/p04029/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04029/input.1.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04029/input.2.txt b/public_test_cases/p04029/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
--- /dev/null
+++ b/public_test_cases/p04029/input.2.txt
@@ -0,0 +1 @@
+10
diff --git a/public_test_cases/p04029/input.3.txt b/public_test_cases/p04029/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04029/input.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04029/output.0.txt b/public_test_cases/p04029/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p04029/output.0.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p04029/output.1.txt b/public_test_cases/p04029/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e8b314962144c26d5e0e50fd29d2ca327864913
--- /dev/null
+++ b/public_test_cases/p04029/output.1.txt
@@ -0,0 +1 @@
+6
diff --git a/public_test_cases/p04029/output.2.txt b/public_test_cases/p04029/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c3f407c0955bb5738e40a82664c79b63f04a9adb
--- /dev/null
+++ b/public_test_cases/p04029/output.2.txt
@@ -0,0 +1 @@
+55
diff --git a/public_test_cases/p04029/output.3.txt b/public_test_cases/p04029/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04029/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04030/input.0.txt b/public_test_cases/p04030/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f769cc3538be36cc8d65f556ee112304ac762c2
--- /dev/null
+++ b/public_test_cases/p04030/input.0.txt
@@ -0,0 +1 @@
+01B0
diff --git a/public_test_cases/p04030/input.1.txt b/public_test_cases/p04030/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7f769cc3538be36cc8d65f556ee112304ac762c2
--- /dev/null
+++ b/public_test_cases/p04030/input.1.txt
@@ -0,0 +1 @@
+01B0
diff --git a/public_test_cases/p04030/input.2.txt b/public_test_cases/p04030/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0617eb73dc8c5a593b86bc2998707f7609186303
--- /dev/null
+++ b/public_test_cases/p04030/input.2.txt
@@ -0,0 +1 @@
+0BB1
diff --git a/public_test_cases/p04030/output.0.txt b/public_test_cases/p04030/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4daddb72ffc0402845066df20e4480037235ff6b
--- /dev/null
+++ b/public_test_cases/p04030/output.0.txt
@@ -0,0 +1 @@
+00
diff --git a/public_test_cases/p04030/output.1.txt b/public_test_cases/p04030/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4daddb72ffc0402845066df20e4480037235ff6b
--- /dev/null
+++ b/public_test_cases/p04030/output.1.txt
@@ -0,0 +1 @@
+00
diff --git a/public_test_cases/p04030/output.2.txt b/public_test_cases/p04030/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04030/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04031/input.0.txt b/public_test_cases/p04031/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77e678c0379756c0b7fbde31e174409bd21213c6
--- /dev/null
+++ b/public_test_cases/p04031/input.0.txt
@@ -0,0 +1,2 @@
+2
+4 8
diff --git a/public_test_cases/p04031/input.1.txt b/public_test_cases/p04031/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..77e678c0379756c0b7fbde31e174409bd21213c6
--- /dev/null
+++ b/public_test_cases/p04031/input.1.txt
@@ -0,0 +1,2 @@
+2
+4 8
diff --git a/public_test_cases/p04031/input.2.txt b/public_test_cases/p04031/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5ec766278d9cca47c102e1b0c326ff43b0c91e1c
--- /dev/null
+++ b/public_test_cases/p04031/input.2.txt
@@ -0,0 +1,2 @@
+3
+1 1 3
diff --git a/public_test_cases/p04031/input.3.txt b/public_test_cases/p04031/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00747b6ddf9e7af521c89cf4cf894faa2170774
--- /dev/null
+++ b/public_test_cases/p04031/input.3.txt
@@ -0,0 +1,2 @@
+3
+4 2 5
diff --git a/public_test_cases/p04031/input.4.txt b/public_test_cases/p04031/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d91dea4257e6f62c9d776f7531f3ef814899f3c6
--- /dev/null
+++ b/public_test_cases/p04031/input.4.txt
@@ -0,0 +1,2 @@
+4
+-100 -100 -100 -100
diff --git a/public_test_cases/p04031/output.0.txt b/public_test_cases/p04031/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p04031/output.0.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p04031/output.1.txt b/public_test_cases/p04031/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..45a4fb75db864000d01701c0f7a51864bd4daabf
--- /dev/null
+++ b/public_test_cases/p04031/output.1.txt
@@ -0,0 +1 @@
+8
diff --git a/public_test_cases/p04031/output.2.txt b/public_test_cases/p04031/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04031/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04031/output.3.txt b/public_test_cases/p04031/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7ed6ff82de6bcc2a78243fc9c54d3ef5ac14da69
--- /dev/null
+++ b/public_test_cases/p04031/output.3.txt
@@ -0,0 +1 @@
+5
diff --git a/public_test_cases/p04031/output.4.txt b/public_test_cases/p04031/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p04031/output.4.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p04032/input.0.txt b/public_test_cases/p04032/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b0cb99a6d1f06f2bb6c701a1f851beacd28ab15
--- /dev/null
+++ b/public_test_cases/p04032/input.0.txt
@@ -0,0 +1 @@
+needed
diff --git a/public_test_cases/p04032/output.0.txt b/public_test_cases/p04032/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a57b07e9df1624af5ea8d4dc04c425f07b5f0e1f
--- /dev/null
+++ b/public_test_cases/p04032/output.0.txt
@@ -0,0 +1 @@
+2 5
diff --git a/public_test_cases/p04033/input.0.txt b/public_test_cases/p04033/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..707c2f26137f5d7132ee955e0991307ab1a0c540
--- /dev/null
+++ b/public_test_cases/p04033/input.0.txt
@@ -0,0 +1 @@
+1 3
diff --git a/public_test_cases/p04033/output.0.txt b/public_test_cases/p04033/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bb17ae9585f8185d7c1bb8c4aa98382b0baa17c
--- /dev/null
+++ b/public_test_cases/p04033/output.0.txt
@@ -0,0 +1 @@
+Positive
diff --git a/public_test_cases/p04034/input.0.txt b/public_test_cases/p04034/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p04034/input.0.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p04034/input.1.txt b/public_test_cases/p04034/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d08dd36c793b48d85262290bd4546223000a9f7f
--- /dev/null
+++ b/public_test_cases/p04034/input.1.txt
@@ -0,0 +1,3 @@
+3 2
+1 2
+2 3
diff --git a/public_test_cases/p04034/input.2.txt b/public_test_cases/p04034/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c50540ea7b6cccb2d67a23dd0346ec857911d0a
--- /dev/null
+++ b/public_test_cases/p04034/input.2.txt
@@ -0,0 +1,5 @@
+4 4
+1 2
+2 3
+4 1
+3 4
diff --git a/public_test_cases/p04034/input.3.txt b/public_test_cases/p04034/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00fda8fefd0f7eb36df7bc391876aa9ec7aeb677
--- /dev/null
+++ b/public_test_cases/p04034/input.3.txt
@@ -0,0 +1,4 @@
+3 3
+1 2
+2 3
+2 3
diff --git a/public_test_cases/p04034/output.0.txt b/public_test_cases/p04034/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04034/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04034/output.1.txt b/public_test_cases/p04034/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04034/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04034/output.2.txt b/public_test_cases/p04034/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04034/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04034/output.3.txt b/public_test_cases/p04034/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04034/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04035/input.0.txt b/public_test_cases/p04035/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab848ce2cba2b686e42f39801d419369c4ec594d
--- /dev/null
+++ b/public_test_cases/p04035/input.0.txt
@@ -0,0 +1,2 @@
+3 50
+30 20 10
diff --git a/public_test_cases/p04035/input.1.txt b/public_test_cases/p04035/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ab848ce2cba2b686e42f39801d419369c4ec594d
--- /dev/null
+++ b/public_test_cases/p04035/input.1.txt
@@ -0,0 +1,2 @@
+3 50
+30 20 10
diff --git a/public_test_cases/p04035/input.2.txt b/public_test_cases/p04035/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8af36b4512f83dbbe09f041eca9264c35efca4a3
--- /dev/null
+++ b/public_test_cases/p04035/input.2.txt
@@ -0,0 +1,2 @@
+5 50
+10 20 30 40 50
diff --git a/public_test_cases/p04035/input.3.txt b/public_test_cases/p04035/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94b51af5f286adfe958781bdb5613488340e82fa
--- /dev/null
+++ b/public_test_cases/p04035/input.3.txt
@@ -0,0 +1,2 @@
+2 21
+10 10
diff --git a/public_test_cases/p04035/output.0.txt b/public_test_cases/p04035/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca3dbeeabbcaaeb775389d35633865954ec0e2ea
--- /dev/null
+++ b/public_test_cases/p04035/output.0.txt
@@ -0,0 +1,3 @@
+Possible
+2
+1
diff --git a/public_test_cases/p04035/output.1.txt b/public_test_cases/p04035/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca3dbeeabbcaaeb775389d35633865954ec0e2ea
--- /dev/null
+++ b/public_test_cases/p04035/output.1.txt
@@ -0,0 +1,3 @@
+Possible
+2
+1
diff --git a/public_test_cases/p04035/output.2.txt b/public_test_cases/p04035/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6b4644307c29b5e3f2c29bf997c6402332a6b1c5
--- /dev/null
+++ b/public_test_cases/p04035/output.2.txt
@@ -0,0 +1,5 @@
+Possible
+1
+2
+3
+4
diff --git a/public_test_cases/p04035/output.3.txt b/public_test_cases/p04035/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p04035/output.3.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p04036/input.0.txt b/public_test_cases/p04036/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f6a1b731c827defca4a9d990eb4094964ca075bf
--- /dev/null
+++ b/public_test_cases/p04036/input.0.txt
@@ -0,0 +1,14 @@
+5 6
+2 3
+4 5
+1 2
+1 3
+1 4
+1 5
+6
+2 4 3
+2 4 4
+2 4 5
+1 3 3
+1 3 4
+1 3 5
diff --git a/public_test_cases/p04036/output.0.txt b/public_test_cases/p04036/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a26f52d2890d2cfd201c6845ce4828057e3f0cb2
--- /dev/null
+++ b/public_test_cases/p04036/output.0.txt
@@ -0,0 +1,6 @@
+1
+2
+3
+1
+5
+5
diff --git a/public_test_cases/p04037/input.0.txt b/public_test_cases/p04037/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..942ce066246f106700b877a50c58e810815c3de6
--- /dev/null
+++ b/public_test_cases/p04037/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 3
diff --git a/public_test_cases/p04037/input.1.txt b/public_test_cases/p04037/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..56221aadc5dfac666c62fd57ad1536458c512851
--- /dev/null
+++ b/public_test_cases/p04037/input.1.txt
@@ -0,0 +1,2 @@
+3
+1 2 1
diff --git a/public_test_cases/p04037/input.2.txt b/public_test_cases/p04037/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..942ce066246f106700b877a50c58e810815c3de6
--- /dev/null
+++ b/public_test_cases/p04037/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 3
diff --git a/public_test_cases/p04037/input.3.txt b/public_test_cases/p04037/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..99e00b5d5b1db4e0fa51a22106d5f35af30e2692
--- /dev/null
+++ b/public_test_cases/p04037/input.3.txt
@@ -0,0 +1,2 @@
+3
+1 2 3
diff --git a/public_test_cases/p04037/output.0.txt b/public_test_cases/p04037/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p04037/output.0.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p04037/output.1.txt b/public_test_cases/p04037/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p04037/output.1.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p04037/output.2.txt b/public_test_cases/p04037/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4856fe236dbdd59db2741de0235ae7db63c27a1a
--- /dev/null
+++ b/public_test_cases/p04037/output.2.txt
@@ -0,0 +1 @@
+First
diff --git a/public_test_cases/p04037/output.3.txt b/public_test_cases/p04037/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..495a7e948fe261472b6a1b15d76ffdd69a68eff0
--- /dev/null
+++ b/public_test_cases/p04037/output.3.txt
@@ -0,0 +1 @@
+Second
diff --git a/public_test_cases/p04038/input.0.txt b/public_test_cases/p04038/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p04038/input.0.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p04038/input.1.txt b/public_test_cases/p04038/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..654d526942adbc55329ba991f2023b5f547357a0
--- /dev/null
+++ b/public_test_cases/p04038/input.1.txt
@@ -0,0 +1 @@
+2 3
diff --git a/public_test_cases/p04038/input.2.txt b/public_test_cases/p04038/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..78454aabfb2f18959434287fece91a9070ffa075
--- /dev/null
+++ b/public_test_cases/p04038/input.2.txt
@@ -0,0 +1 @@
+2 2
diff --git a/public_test_cases/p04038/input.3.txt b/public_test_cases/p04038/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..606c19ac81d33c3c51cfca1d25eb19573725db09
--- /dev/null
+++ b/public_test_cases/p04038/input.3.txt
@@ -0,0 +1 @@
+3 1
diff --git a/public_test_cases/p04038/input.4.txt b/public_test_cases/p04038/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca71038cfa7cdffd0f9f88c91973a6d67659c332
--- /dev/null
+++ b/public_test_cases/p04038/input.4.txt
@@ -0,0 +1 @@
+2000 2000
diff --git a/public_test_cases/p04038/output.0.txt b/public_test_cases/p04038/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p04038/output.0.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p04038/output.1.txt b/public_test_cases/p04038/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8351c19397f4fcd5238d10034fa7fa384f14d580
--- /dev/null
+++ b/public_test_cases/p04038/output.1.txt
@@ -0,0 +1 @@
+14
diff --git a/public_test_cases/p04038/output.2.txt b/public_test_cases/p04038/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b8626c4cff2849624fb67f87cd0ad72b163671ad
--- /dev/null
+++ b/public_test_cases/p04038/output.2.txt
@@ -0,0 +1 @@
+4
diff --git a/public_test_cases/p04038/output.3.txt b/public_test_cases/p04038/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04038/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04038/output.4.txt b/public_test_cases/p04038/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7e8e11e9924ff0a8f4460971825bf3a6d86526f7
--- /dev/null
+++ b/public_test_cases/p04038/output.4.txt
@@ -0,0 +1 @@
+546381702
diff --git a/public_test_cases/p04039/input.0.txt b/public_test_cases/p04039/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..008daab23db756e1e7ae8514d0ca7a394d1b53d9
--- /dev/null
+++ b/public_test_cases/p04039/input.0.txt
@@ -0,0 +1,2 @@
+1000 8
+1 3 4 5 6 7 8 9
diff --git a/public_test_cases/p04039/input.1.txt b/public_test_cases/p04039/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..008daab23db756e1e7ae8514d0ca7a394d1b53d9
--- /dev/null
+++ b/public_test_cases/p04039/input.1.txt
@@ -0,0 +1,2 @@
+1000 8
+1 3 4 5 6 7 8 9
diff --git a/public_test_cases/p04039/input.2.txt b/public_test_cases/p04039/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..585dd3a6317ee86d995977407c6945a2deb7884b
--- /dev/null
+++ b/public_test_cases/p04039/input.2.txt
@@ -0,0 +1,2 @@
+9999 1
+0
diff --git a/public_test_cases/p04039/output.0.txt b/public_test_cases/p04039/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd1af11bf283704974791862e5f3b3bd5e411aa
--- /dev/null
+++ b/public_test_cases/p04039/output.0.txt
@@ -0,0 +1 @@
+2000
diff --git a/public_test_cases/p04039/output.1.txt b/public_test_cases/p04039/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd1af11bf283704974791862e5f3b3bd5e411aa
--- /dev/null
+++ b/public_test_cases/p04039/output.1.txt
@@ -0,0 +1 @@
+2000
diff --git a/public_test_cases/p04039/output.2.txt b/public_test_cases/p04039/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c2df076c2fbf45c71d624a6cea8ed81d2ac5ee8
--- /dev/null
+++ b/public_test_cases/p04039/output.2.txt
@@ -0,0 +1 @@
+9999
diff --git a/public_test_cases/p04040/input.0.txt b/public_test_cases/p04040/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f98109664dde37b336d73dee7fbf2b395c7a1fe7
--- /dev/null
+++ b/public_test_cases/p04040/input.0.txt
@@ -0,0 +1 @@
+2 3 1 1
diff --git a/public_test_cases/p04040/input.1.txt b/public_test_cases/p04040/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f98109664dde37b336d73dee7fbf2b395c7a1fe7
--- /dev/null
+++ b/public_test_cases/p04040/input.1.txt
@@ -0,0 +1 @@
+2 3 1 1
diff --git a/public_test_cases/p04040/input.2.txt b/public_test_cases/p04040/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..460c66c660d8bd4ee9a50d61f72e9f6e964d9fe8
--- /dev/null
+++ b/public_test_cases/p04040/input.2.txt
@@ -0,0 +1 @@
+100000 100000 99999 99999
diff --git a/public_test_cases/p04040/input.3.txt b/public_test_cases/p04040/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6073dc32a83779987d6f7da3c2d98ff9d58b74cd
--- /dev/null
+++ b/public_test_cases/p04040/input.3.txt
@@ -0,0 +1 @@
+100000 100000 44444 55555
diff --git a/public_test_cases/p04040/input.4.txt b/public_test_cases/p04040/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16da09e19a8541c1f21a3d181b22da5bb5dbe91e
--- /dev/null
+++ b/public_test_cases/p04040/input.4.txt
@@ -0,0 +1 @@
+10 7 3 4
diff --git a/public_test_cases/p04040/output.0.txt b/public_test_cases/p04040/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04040/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04040/output.1.txt b/public_test_cases/p04040/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04040/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04040/output.2.txt b/public_test_cases/p04040/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04040/output.2.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04040/output.3.txt b/public_test_cases/p04040/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f3ed1ede561146af3d2264021f4b8fffb8ea2f0
--- /dev/null
+++ b/public_test_cases/p04040/output.3.txt
@@ -0,0 +1 @@
+738162020
diff --git a/public_test_cases/p04040/output.4.txt b/public_test_cases/p04040/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..43acce8011a8471a5adf811413e79165f8f276aa
--- /dev/null
+++ b/public_test_cases/p04040/output.4.txt
@@ -0,0 +1 @@
+3570
diff --git a/public_test_cases/p04041/input.0.txt b/public_test_cases/p04041/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10e792e77e4cfb2fb296c61675972631c322f11b
--- /dev/null
+++ b/public_test_cases/p04041/input.0.txt
@@ -0,0 +1 @@
+3 5 7 5
diff --git a/public_test_cases/p04041/input.1.txt b/public_test_cases/p04041/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..24c8e58c7d91373903a2b363a3034c681fafcd5a
--- /dev/null
+++ b/public_test_cases/p04041/input.1.txt
@@ -0,0 +1 @@
+40 5 7 5
diff --git a/public_test_cases/p04041/input.2.txt b/public_test_cases/p04041/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..732cccee76f5fd87d6a0a77732e55152316c82cd
--- /dev/null
+++ b/public_test_cases/p04041/input.2.txt
@@ -0,0 +1 @@
+4 5 7 5
diff --git a/public_test_cases/p04041/input.3.txt b/public_test_cases/p04041/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..10e792e77e4cfb2fb296c61675972631c322f11b
--- /dev/null
+++ b/public_test_cases/p04041/input.3.txt
@@ -0,0 +1 @@
+3 5 7 5
diff --git a/public_test_cases/p04041/input.4.txt b/public_test_cases/p04041/input.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..61841d478d1c7d918038e84950d3d4d614e97b9e
--- /dev/null
+++ b/public_test_cases/p04041/input.4.txt
@@ -0,0 +1 @@
+37 4 2 3
diff --git a/public_test_cases/p04041/output.0.txt b/public_test_cases/p04041/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04041/output.0.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04041/output.1.txt b/public_test_cases/p04041/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..daa2799bd370bc72a4d2292b21aa3a6f62e8543b
--- /dev/null
+++ b/public_test_cases/p04041/output.1.txt
@@ -0,0 +1 @@
+562805100
diff --git a/public_test_cases/p04041/output.2.txt b/public_test_cases/p04041/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a7873645902455c63d166fdcaa4b2fe565f6de7d
--- /dev/null
+++ b/public_test_cases/p04041/output.2.txt
@@ -0,0 +1 @@
+34
diff --git a/public_test_cases/p04041/output.3.txt b/public_test_cases/p04041/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d00491fd7e5bb6fa28c517a0bb32b8b506539d4d
--- /dev/null
+++ b/public_test_cases/p04041/output.3.txt
@@ -0,0 +1 @@
+1
diff --git a/public_test_cases/p04041/output.4.txt b/public_test_cases/p04041/output.4.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f63b98fdc237579631c6403959f220425f629b70
--- /dev/null
+++ b/public_test_cases/p04041/output.4.txt
@@ -0,0 +1 @@
+863912418
diff --git a/public_test_cases/p04042/input.0.txt b/public_test_cases/p04042/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3b305c033cbd98ce659f8ea3b1cbf788005c97a
--- /dev/null
+++ b/public_test_cases/p04042/input.0.txt
@@ -0,0 +1,4 @@
+3 7
+at
+coder
+codar
diff --git a/public_test_cases/p04042/input.1.txt b/public_test_cases/p04042/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e4155207fc6b1ac91ba6222c37b76b79dbcee071
--- /dev/null
+++ b/public_test_cases/p04042/input.1.txt
@@ -0,0 +1,5 @@
+4 13
+kyuri
+namida
+zzzzzzz
+aaaaaa
diff --git a/public_test_cases/p04042/input.2.txt b/public_test_cases/p04042/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e3b305c033cbd98ce659f8ea3b1cbf788005c97a
--- /dev/null
+++ b/public_test_cases/p04042/input.2.txt
@@ -0,0 +1,4 @@
+3 7
+at
+coder
+codar
diff --git a/public_test_cases/p04042/input.3.txt b/public_test_cases/p04042/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..57f2a909f7bc5f3f86f4f811bfcff38043281351
--- /dev/null
+++ b/public_test_cases/p04042/input.3.txt
@@ -0,0 +1,4 @@
+3 7
+coder
+codar
+at
diff --git a/public_test_cases/p04042/output.0.txt b/public_test_cases/p04042/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..236ab3f2809273f1a2fe4cf752788e9197a95c53
--- /dev/null
+++ b/public_test_cases/p04042/output.0.txt
@@ -0,0 +1 @@
+atcodar
diff --git a/public_test_cases/p04042/output.1.txt b/public_test_cases/p04042/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..16094dbf21c85c58462abf5bbd3715de069ec775
--- /dev/null
+++ b/public_test_cases/p04042/output.1.txt
@@ -0,0 +1 @@
+namidazzzzzzz
diff --git a/public_test_cases/p04042/output.2.txt b/public_test_cases/p04042/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..236ab3f2809273f1a2fe4cf752788e9197a95c53
--- /dev/null
+++ b/public_test_cases/p04042/output.2.txt
@@ -0,0 +1 @@
+atcodar
diff --git a/public_test_cases/p04042/output.3.txt b/public_test_cases/p04042/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7d55bcdf6575d53250b85aa2f9d1c94ac80e59d0
--- /dev/null
+++ b/public_test_cases/p04042/output.3.txt
@@ -0,0 +1 @@
+codarat
diff --git a/public_test_cases/p04043/input.0.txt b/public_test_cases/p04043/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..959b81b0987b726e9460e89db0416a00c9faac0b
--- /dev/null
+++ b/public_test_cases/p04043/input.0.txt
@@ -0,0 +1 @@
+5 5 7
diff --git a/public_test_cases/p04043/input.1.txt b/public_test_cases/p04043/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..959b81b0987b726e9460e89db0416a00c9faac0b
--- /dev/null
+++ b/public_test_cases/p04043/input.1.txt
@@ -0,0 +1 @@
+5 5 7
diff --git a/public_test_cases/p04043/input.2.txt b/public_test_cases/p04043/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..023b756a4c048c515288e3bd78d030a0b8e3898f
--- /dev/null
+++ b/public_test_cases/p04043/input.2.txt
@@ -0,0 +1 @@
+7 7 5
diff --git a/public_test_cases/p04043/output.0.txt b/public_test_cases/p04043/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p04043/output.0.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p04043/output.1.txt b/public_test_cases/p04043/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f033a5010da4a225a1ba70eedd933397ae5bebfc
--- /dev/null
+++ b/public_test_cases/p04043/output.1.txt
@@ -0,0 +1 @@
+YES
diff --git a/public_test_cases/p04043/output.2.txt b/public_test_cases/p04043/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5e35d1bfb243fe9a0bf946872a23438db60e8b77
--- /dev/null
+++ b/public_test_cases/p04043/output.2.txt
@@ -0,0 +1 @@
+NO
diff --git a/public_test_cases/p04044/input.0.txt b/public_test_cases/p04044/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d608a688a12afd412ae69400e771c93ea0a30e27
--- /dev/null
+++ b/public_test_cases/p04044/input.0.txt
@@ -0,0 +1,4 @@
+3 3
+dxx
+axx
+cxx
diff --git a/public_test_cases/p04044/input.1.txt b/public_test_cases/p04044/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d608a688a12afd412ae69400e771c93ea0a30e27
--- /dev/null
+++ b/public_test_cases/p04044/input.1.txt
@@ -0,0 +1,4 @@
+3 3
+dxx
+axx
+cxx
diff --git a/public_test_cases/p04044/output.0.txt b/public_test_cases/p04044/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96f7c28ca8e1959a085d42c2edd0f646b80eb535
--- /dev/null
+++ b/public_test_cases/p04044/output.0.txt
@@ -0,0 +1 @@
+axxcxxdxx
diff --git a/public_test_cases/p04044/output.1.txt b/public_test_cases/p04044/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..96f7c28ca8e1959a085d42c2edd0f646b80eb535
--- /dev/null
+++ b/public_test_cases/p04044/output.1.txt
@@ -0,0 +1 @@
+axxcxxdxx
diff --git a/public_test_cases/p04045/input.0.txt b/public_test_cases/p04045/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..008daab23db756e1e7ae8514d0ca7a394d1b53d9
--- /dev/null
+++ b/public_test_cases/p04045/input.0.txt
@@ -0,0 +1,2 @@
+1000 8
+1 3 4 5 6 7 8 9
diff --git a/public_test_cases/p04045/output.0.txt b/public_test_cases/p04045/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8bd1af11bf283704974791862e5f3b3bd5e411aa
--- /dev/null
+++ b/public_test_cases/p04045/output.0.txt
@@ -0,0 +1 @@
+2000
diff --git a/public_test_cases/p04046/input.0.txt b/public_test_cases/p04046/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f98109664dde37b336d73dee7fbf2b395c7a1fe7
--- /dev/null
+++ b/public_test_cases/p04046/input.0.txt
@@ -0,0 +1 @@
+2 3 1 1
diff --git a/public_test_cases/p04046/output.0.txt b/public_test_cases/p04046/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04046/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04047/input.0.txt b/public_test_cases/p04047/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..773eb831ae1e6dfe5e263de9c375b4fd91b777a8
--- /dev/null
+++ b/public_test_cases/p04047/input.0.txt
@@ -0,0 +1,2 @@
+2
+1 3 1 2
diff --git a/public_test_cases/p04047/input.1.txt b/public_test_cases/p04047/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d5424ed3b3e436871f05a3effd73d84cf9c26be8
--- /dev/null
+++ b/public_test_cases/p04047/input.1.txt
@@ -0,0 +1,2 @@
+5
+100 1 2 3 14 15 58 58 58 29
diff --git a/public_test_cases/p04047/input.2.txt b/public_test_cases/p04047/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..773eb831ae1e6dfe5e263de9c375b4fd91b777a8
--- /dev/null
+++ b/public_test_cases/p04047/input.2.txt
@@ -0,0 +1,2 @@
+2
+1 3 1 2
diff --git a/public_test_cases/p04047/output.0.txt b/public_test_cases/p04047/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04047/output.0.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04047/output.1.txt b/public_test_cases/p04047/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c8b255fc8e570b060dee73203b13b3bb65a75758
--- /dev/null
+++ b/public_test_cases/p04047/output.1.txt
@@ -0,0 +1 @@
+135
diff --git a/public_test_cases/p04047/output.2.txt b/public_test_cases/p04047/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..00750edc07d6415dcc07ae0351e9397b0222b7ba
--- /dev/null
+++ b/public_test_cases/p04047/output.2.txt
@@ -0,0 +1 @@
+3
diff --git a/public_test_cases/p04048/input.0.txt b/public_test_cases/p04048/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p04048/input.0.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p04048/input.1.txt b/public_test_cases/p04048/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..69010fb2e636487328585eeb80e4ecfb1ea391f0
--- /dev/null
+++ b/public_test_cases/p04048/input.1.txt
@@ -0,0 +1 @@
+5 2
diff --git a/public_test_cases/p04048/output.0.txt b/public_test_cases/p04048/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p04048/output.0.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p04048/output.1.txt b/public_test_cases/p04048/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
--- /dev/null
+++ b/public_test_cases/p04048/output.1.txt
@@ -0,0 +1 @@
+12
diff --git a/public_test_cases/p04049/input.0.txt b/public_test_cases/p04049/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58bcc369029c99e7f10b448d64ba20aa4ea70569
--- /dev/null
+++ b/public_test_cases/p04049/input.0.txt
@@ -0,0 +1,6 @@
+6 2
+1 2
+3 2
+4 2
+1 6
+5 6
diff --git a/public_test_cases/p04049/input.1.txt b/public_test_cases/p04049/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..58bcc369029c99e7f10b448d64ba20aa4ea70569
--- /dev/null
+++ b/public_test_cases/p04049/input.1.txt
@@ -0,0 +1,6 @@
+6 2
+1 2
+3 2
+4 2
+1 6
+5 6
diff --git a/public_test_cases/p04049/input.2.txt b/public_test_cases/p04049/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..abd7f93eb37e0c3657b175820ecf61a902a7408d
--- /dev/null
+++ b/public_test_cases/p04049/input.2.txt
@@ -0,0 +1,6 @@
+6 5
+1 2
+3 2
+4 2
+1 6
+5 6
diff --git a/public_test_cases/p04049/output.0.txt b/public_test_cases/p04049/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04049/output.0.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04049/output.1.txt b/public_test_cases/p04049/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cfbf08886fca9a91cb753ec8734c84fcbe52c9f
--- /dev/null
+++ b/public_test_cases/p04049/output.1.txt
@@ -0,0 +1 @@
+2
diff --git a/public_test_cases/p04049/output.2.txt b/public_test_cases/p04049/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..573541ac9702dd3969c9bc859d2b91ec1f7e6e56
--- /dev/null
+++ b/public_test_cases/p04049/output.2.txt
@@ -0,0 +1 @@
+0
diff --git a/public_test_cases/p04050/input.0.txt b/public_test_cases/p04050/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..735564ef4e99e0d6b0747d87932b5088397f9cb8
--- /dev/null
+++ b/public_test_cases/p04050/input.0.txt
@@ -0,0 +1,2 @@
+3 2
+2 1
diff --git a/public_test_cases/p04050/input.1.txt b/public_test_cases/p04050/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..735564ef4e99e0d6b0747d87932b5088397f9cb8
--- /dev/null
+++ b/public_test_cases/p04050/input.1.txt
@@ -0,0 +1,2 @@
+3 2
+2 1
diff --git a/public_test_cases/p04050/input.2.txt b/public_test_cases/p04050/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8c44aec543522e1afa47bc6f4e2796693f89642c
--- /dev/null
+++ b/public_test_cases/p04050/input.2.txt
@@ -0,0 +1,2 @@
+55 10
+1 2 3 4 5 6 7 8 9 10
diff --git a/public_test_cases/p04050/input.3.txt b/public_test_cases/p04050/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2ad18d286c3680c7181c8e5005e06d2797b62708
--- /dev/null
+++ b/public_test_cases/p04050/input.3.txt
@@ -0,0 +1,2 @@
+6 1
+6
diff --git a/public_test_cases/p04050/output.0.txt b/public_test_cases/p04050/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92d43dbe0a860e830c51d5cd8c58605b19f8808c
--- /dev/null
+++ b/public_test_cases/p04050/output.0.txt
@@ -0,0 +1,3 @@
+1 2
+1
+3
diff --git a/public_test_cases/p04050/output.1.txt b/public_test_cases/p04050/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..92d43dbe0a860e830c51d5cd8c58605b19f8808c
--- /dev/null
+++ b/public_test_cases/p04050/output.1.txt
@@ -0,0 +1,3 @@
+1 2
+1
+3
diff --git a/public_test_cases/p04050/output.2.txt b/public_test_cases/p04050/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..aebdce6a6fe65fdfb8cf844fe388bc146a50b9b5
--- /dev/null
+++ b/public_test_cases/p04050/output.2.txt
@@ -0,0 +1 @@
+Impossible
diff --git a/public_test_cases/p04050/output.3.txt b/public_test_cases/p04050/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cfaeb23412c12c44e471053d7a999282e7441d62
--- /dev/null
+++ b/public_test_cases/p04050/output.3.txt
@@ -0,0 +1,3 @@
+6
+3
+1 2 3
diff --git a/public_test_cases/p04051/input.0.txt b/public_test_cases/p04051/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..baea5261f35227e645bc95a18ddfd75dadb7d36e
--- /dev/null
+++ b/public_test_cases/p04051/input.0.txt
@@ -0,0 +1,4 @@
+3
+1 1
+1 1
+2 1
diff --git a/public_test_cases/p04051/input.1.txt b/public_test_cases/p04051/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..baea5261f35227e645bc95a18ddfd75dadb7d36e
--- /dev/null
+++ b/public_test_cases/p04051/input.1.txt
@@ -0,0 +1,4 @@
+3
+1 1
+1 1
+2 1
diff --git a/public_test_cases/p04051/output.0.txt b/public_test_cases/p04051/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p04051/output.0.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p04051/output.1.txt b/public_test_cases/p04051/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6f4247a6255c99f420d1df558d68745592862ff7
--- /dev/null
+++ b/public_test_cases/p04051/output.1.txt
@@ -0,0 +1 @@
+26
diff --git a/public_test_cases/p04052/input.0.txt b/public_test_cases/p04052/input.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..986280dec6687d112e116dc164411acda449d0fc
--- /dev/null
+++ b/public_test_cases/p04052/input.0.txt
@@ -0,0 +1,2 @@
+4 2
+4 2 3 1
diff --git a/public_test_cases/p04052/input.1.txt b/public_test_cases/p04052/input.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fe505e04dac46606dbd95c27cdcedf2f1ebab037
--- /dev/null
+++ b/public_test_cases/p04052/input.1.txt
@@ -0,0 +1,2 @@
+8 3
+4 5 7 8 3 1 2 6
diff --git a/public_test_cases/p04052/input.2.txt b/public_test_cases/p04052/input.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b433344d6c89538ac4480746b8567e7bcefdfb59
--- /dev/null
+++ b/public_test_cases/p04052/input.2.txt
@@ -0,0 +1,2 @@
+5 1
+5 4 3 2 1
diff --git a/public_test_cases/p04052/input.3.txt b/public_test_cases/p04052/input.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..986280dec6687d112e116dc164411acda449d0fc
--- /dev/null
+++ b/public_test_cases/p04052/input.3.txt
@@ -0,0 +1,2 @@
+4 2
+4 2 3 1
diff --git a/public_test_cases/p04052/output.0.txt b/public_test_cases/p04052/output.0.txt
new file mode 100644
index 0000000000000000000000000000000000000000..388fe070d8a39dbbaca36e7c0d08b7ad1fe66b74
--- /dev/null
+++ b/public_test_cases/p04052/output.0.txt
@@ -0,0 +1,4 @@
+2
+1
+4
+3
diff --git a/public_test_cases/p04052/output.1.txt b/public_test_cases/p04052/output.1.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9de2dbe2452d4653b108ca2ea355052010e643a5
--- /dev/null
+++ b/public_test_cases/p04052/output.1.txt
@@ -0,0 +1,8 @@
+1
+2
+6
+7
+5
+3
+4
+8
diff --git a/public_test_cases/p04052/output.2.txt b/public_test_cases/p04052/output.2.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8a1218a1024a212bb3db30becd860315f9f3ac52
--- /dev/null
+++ b/public_test_cases/p04052/output.2.txt
@@ -0,0 +1,5 @@
+1
+2
+3
+4
+5
diff --git a/public_test_cases/p04052/output.3.txt b/public_test_cases/p04052/output.3.txt
new file mode 100644
index 0000000000000000000000000000000000000000..388fe070d8a39dbbaca36e7c0d08b7ad1fe66b74
--- /dev/null
+++ b/public_test_cases/p04052/output.3.txt
@@ -0,0 +1,4 @@
+2
+1
+4
+3