Repository: FHIR/sushi
Pull request #297 (2020-03-25 21:36:00)

Usage as a code
This PR addresses https://standardhealthrecord.atlassian.net/browse/CIMPL-308

It changes `Usage` on Instances to expect a code, more similar to `Severity` on Invariants.

The implementation here just changes the grammar and import side to expect and parse a code. Once the code is parsed, we just use the `FshCode`'s `code` property to do the same checking for allowed usages. The `usage` property on the instance class is still expecting a `string` type with one of the three supported values, so the parse function just returns the `code` string.

I did look around a bit to see if there was a clean way to check the specific value of `code` in the Instance class for a specific value. There didn't seem to be a good way to add additional requirements to an existing type without changing the type itself, which I didn't want to do, or created a new, slightly different type. If anyone thinks of a way to do this that I missed, let me know, although I don't mind how it works now, so hopefully you feel similarly!


Patch:
diff --git a/antlr/src/main/antlr/FSH.g4 b/antlr/src/main/antlr/FSH.g4
index 73e26b4..e42263f 100644
--- a/antlr/src/main/antlr/FSH.g4
+++ b/antlr/src/main/antlr/FSH.g4
@@ -35,7 +35,7 @@ expression:         KW_EXPRESSION STRING;
 xpath:              KW_XPATH STRING;
 severity:           KW_SEVERITY CODE;
 instanceOf:         KW_INSTANCEOF SEQUENCE;
-usage:              KW_USAGE SEQUENCE;
+usage:              KW_USAGE CODE;
 mixins:             KW_MIXINS (SEQUENCE | COMMA_DELIMITED_SEQUENCES);
 source:             KW_SOURCE SEQUENCE;
 target:             KW_TARGET STRING;
diff --git a/src/import/FSHImporter.ts b/src/import/FSHImporter.ts
index 8f5b782..eed31a5 100644
--- a/src/import/FSHImporter.ts
+++ b/src/import/FSHImporter.ts
@@ -55,6 +55,7 @@ import {
 } from '../errors';
 import isEqual from 'lodash/isEqual';
 import sortBy from 'lodash/sortBy';
+import upperFirst from 'lodash/upperFirst';
 
 enum SdMetadataKey {
   Id = 'Id',
@@ -741,15 +742,17 @@ export class FSHImporter extends FSHVisitor {
   }
 
   visitUsage(ctx: pc.UsageContext): InstanceUsage {
-    let usage = ctx.SEQUENCE().getText();
+    const usageConcept = this.parseCodeLexeme(ctx.CODE().getText(), ctx.CODE())
+      .withLocation(this.extractStartStop(ctx.CODE()))
+      .withFile(this.currentFile);
+    if (usageConcept.system?.length > 0) {
+      logger.warn('Do not specify a system for instance Usage.', usageConcept.sourceInfo);
+    }
+    let usage = upperFirst(usageConcept.code);
     if (!isInstanceUsage(usage)) {
-      const source = {
-        file: this.currentFile,
-        location: this.extractStartStop(ctx.SEQUENCE())
-      };
       logger.error(
-        'Invalid Usage. Supported usages are "Example", "Definition", and "Inline". Instance will be treated as an Example.',
-        source
+        'Invalid Usage. Supported usage codes are "#example", "#definition", and "#inline". Instance will be treated as an example.',
+        usageConcept.sourceInfo
       );
       usage = 'Example';
     }
diff --git a/src/import/generated/FSH.interp b/src/import/generated/FSH.interp
index dba5959..e3d01b2 100644
--- a/src/import/generated/FSH.interp
+++ b/src/import/generated/FSH.interp
@@ -212,4 +212,4 @@ targetType
 
 
 atn:
-[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 72, 561, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 4, 49, 9, 49, 4, 50, 9, 50, 4, 51, 9, 51, 4, 52, 9, 52, 4, 53, 9, 53, 4, 54, 9, 54, 4, 55, 9, 55, 4, 56, 9, 56, 4, 57, 9, 57, 4, 58, 9, 58, 4, 59, 9, 59, 4, 60, 9, 60, 4, 61, 9, 61, 4, 62, 9, 62, 4, 63, 9, 63, 4, 64, 9, 64, 4, 65, 9, 65, 3, 2, 7, 2, 132, 10, 2, 12, 2, 14, 2, 135, 11, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 148, 10, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 6, 5, 158, 10, 5, 13, 5, 14, 5, 159, 3, 5, 7, 5, 163, 10, 5, 12, 5, 14, 5, 166, 11, 5, 3, 6, 3, 6, 3, 6, 7, 6, 171, 10, 6, 12, 6, 14, 6, 174, 11, 6, 3, 6, 7, 6, 177, 10, 6, 12, 6, 14, 6, 180, 11, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 187, 10, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 197, 10, 8, 3, 9, 3, 9, 3, 9, 7, 9, 202, 10, 9, 12, 9, 14, 9, 205, 11, 9, 3, 9, 7, 9, 208, 10, 9, 12, 9, 14, 9, 211, 11, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 5, 10, 218, 10, 10, 3, 11, 3, 11, 3, 11, 6, 11, 223, 10, 11, 13, 11, 14, 11, 224, 3, 12, 3, 12, 3, 12, 3, 12, 5, 12, 231, 10, 12, 3, 13, 3, 13, 3, 13, 7, 13, 236, 10, 13, 12, 13, 14, 13, 239, 11, 13, 3, 13, 3, 13, 7, 13, 243, 10, 13, 12, 13, 14, 13, 246, 11, 13, 3, 14, 3, 14, 3, 14, 5, 14, 251, 10, 14, 3, 15, 3, 15, 3, 15, 7, 15, 256, 10, 15, 12, 15, 14, 15, 259, 11, 15, 3, 15, 3, 15, 7, 15, 263, 10, 15, 12, 15, 14, 15, 266, 11, 15, 3, 16, 3, 16, 3, 16, 5, 16, 271, 10, 16, 3, 17, 3, 17, 3, 17, 6, 17, 276, 10, 17, 13, 17, 14, 17, 277, 3, 18, 3, 18, 3, 18, 7, 18, 283, 10, 18, 12, 18, 14, 18, 286, 11, 18, 3, 18, 7, 18, 289, 10, 18, 12, 18, 14, 18, 292, 11, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 5, 19, 299, 10, 19, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 31, 3, 32, 3, 32, 3, 32, 3, 32, 7, 32, 341, 10, 32, 12, 32, 14, 32, 344, 11, 32, 3, 33, 3, 33, 3, 33, 5, 33, 349, 10, 33, 3, 33, 6, 33, 352, 10, 33, 13, 33, 14, 33, 353, 3, 34, 3, 34, 3, 34, 5, 34, 359, 10, 34, 3, 34, 3, 34, 3, 34, 5, 34, 364, 10, 34, 3, 35, 3, 35, 3, 35, 5, 35, 369, 10, 35, 3, 35, 3, 35, 3, 35, 5, 35, 374, 10, 35, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 7, 36, 382, 10, 36, 12, 36, 14, 36, 385, 11, 36, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 7, 37, 393, 10, 37, 12, 37, 14, 37, 396, 11, 37, 3, 38, 3, 38, 5, 38, 400, 10, 38, 3, 38, 3, 38, 3, 38, 3, 38, 7, 38, 406, 10, 38, 12, 38, 14, 38, 409, 11, 38, 3, 39, 3, 39, 5, 39, 413, 10, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 40, 3, 40, 5, 40, 421, 10, 40, 3, 40, 3, 40, 3, 40, 5, 40, 426, 10, 40, 3, 40, 5, 40, 429, 10, 40, 3, 41, 3, 41, 5, 41, 433, 10, 41, 3, 41, 3, 41, 5, 41, 437, 10, 41, 3, 42, 3, 42, 5, 42, 441, 10, 42, 3, 42, 3, 42, 5, 42, 445, 10, 42, 3, 43, 3, 43, 3, 43, 3, 43, 5, 43, 451, 10, 43, 3, 44, 3, 44, 3, 44, 3, 44, 5, 44, 457, 10, 44, 3, 44, 3, 44, 3, 44, 5, 44, 462, 10, 44, 5, 44, 464, 10, 44, 3, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 47, 7, 47, 475, 10, 47, 12, 47, 14, 47, 478, 11, 47, 3, 47, 3, 47, 3, 48, 3, 48, 3, 48, 5, 48, 485, 10, 48, 3, 49, 3, 49, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 5, 50, 494, 10, 50, 3, 51, 3, 51, 3, 52, 3, 52, 3, 53, 3, 53, 3, 54, 3, 54, 3, 55, 3, 55, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 5, 56, 517, 10, 56, 3, 57, 3, 57, 3, 57, 5, 57, 522, 10, 57, 3, 57, 3, 57, 7, 57, 526, 10, 57, 12, 57, 14, 57, 529, 11, 57, 3, 58, 3, 58, 5, 58, 533, 10, 58, 3, 59, 3, 59, 3, 59, 5, 59, 538, 10, 59, 3, 60, 3, 60, 3, 60, 3, 61, 3, 61, 3, 61, 3, 61, 3, 62, 3, 62, 5, 62, 549, 10, 62, 3, 63, 3, 63, 5, 63, 553, 10, 63, 3, 64, 3, 64, 3, 65, 3, 65, 5, 65, 559, 10, 65, 3, 65, 2, 2, 66, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 2, 9, 3, 2, 55, 56, 3, 2, 68, 69, 4, 2, 50, 50, 69, 69, 4, 2, 47, 47, 69, 69, 3, 2, 24, 29, 3, 2, 31, 34, 3, 2, 41, 42, 2, 593, 2, 133, 3, 2, 2, 2, 4, 147, 3, 2, 2, 2, 6, 149, 3, 2, 2, 2, 8, 154, 3, 2, 2, 2, 10, 167, 3, 2, 2, 2, 12, 186, 3, 2, 2, 2, 14, 196, 3, 2, 2, 2, 16, 198, 3, 2, 2, 2, 18, 217, 3, 2, 2, 2, 20, 219, 3, 2, 2, 2, 22, 230, 3, 2, 2, 2, 24, 232, 3, 2, 2, 2, 26, 250, 3, 2, 2, 2, 28, 252, 3, 2, 2, 2, 30, 270, 3, 2, 2, 2, 32, 272, 3, 2, 2, 2, 34, 279, 3, 2, 2, 2, 36, 298, 3, 2, 2, 2, 38, 300, 3, 2, 2, 2, 40, 303, 3, 2, 2, 2, 42, 306, 3, 2, 2, 2, 44, 309, 3, 2, 2, 2, 46, 312, 3, 2, 2, 2, 48, 315, 3, 2, 2, 2, 50, 318, 3, 2, 2, 2, 52, 321, 3, 2, 2, 2, 54, 324, 3, 2, 2, 2, 56, 327, 3, 2, 2, 2, 58, 330, 3, 2, 2, 2, 60, 333, 3, 2, 2, 2, 62, 336, 3, 2, 2, 2, 64, 345, 3, 2, 2, 2, 66, 355, 3, 2, 2, 2, 68, 365, 3, 2, 2, 2, 70, 375, 3, 2, 2, 2, 72, 386, 3, 2, 2, 2, 74, 397, 3, 2, 2, 2, 76, 410, 3, 2, 2, 2, 78, 418, 3, 2, 2, 2, 80, 430, 3, 2, 2, 2, 82, 444, 3, 2, 2, 2, 84, 446, 3, 2, 2, 2, 86, 452, 3, 2, 2, 2, 88, 465, 3, 2, 2, 2, 90, 468, 3, 2, 2, 2, 92, 476, 3, 2, 2, 2, 94, 481, 3, 2, 2, 2, 96, 486, 3, 2, 2, 2, 98, 493, 3, 2, 2, 2, 100, 495, 3, 2, 2, 2, 102, 497, 3, 2, 2, 2, 104, 499, 3, 2, 2, 2, 106, 501, 3, 2, 2, 2, 108, 503, 3, 2, 2, 2, 110, 516, 3, 2, 2, 2, 112, 518, 3, 2, 2, 2, 114, 530, 3, 2, 2, 2, 116, 534, 3, 2, 2, 2, 118, 539, 3, 2, 2, 2, 120, 542, 3, 2, 2, 2, 122, 546, 3, 2, 2, 2, 124, 552, 3, 2, 2, 2, 126, 554, 3, 2, 2, 2, 128, 558, 3, 2, 2, 2, 130, 132, 5, 4, 3, 2, 131, 130, 3, 2, 2, 2, 132, 135, 3, 2, 2, 2, 133, 131, 3, 2, 2, 2, 133, 134, 3, 2, 2, 2, 134, 136, 3, 2, 2, 2, 135, 133, 3, 2, 2, 2, 136, 137, 7, 2, 2, 3, 137, 3, 3, 2, 2, 2, 138, 148, 5, 6, 4, 2, 139, 148, 5, 8, 5, 2, 140, 148, 5, 10, 6, 2, 141, 148, 5, 20, 11, 2, 142, 148, 5, 16, 9, 2, 143, 148, 5, 24, 13, 2, 144, 148, 5, 28, 15, 2, 145, 148, 5, 32, 17, 2, 146, 148, 5, 34, 18, 2, 147, 138, 3, 2, 2, 2, 147, 139, 3, 2, 2, 2, 147, 140, 3, 2, 2, 2, 147, 141, 3, 2, 2, 2, 147, 142, 3, 2, 2, 2, 147, 143, 3, 2, 2, 2, 147, 144, 3, 2, 2, 2, 147, 145, 3, 2, 2, 2, 147, 146, 3, 2, 2, 2, 148, 5, 3, 2, 2, 2, 149, 150, 7, 3, 2, 2, 150, 151, 7, 69, 2, 2, 151, 152, 7, 50, 2, 2, 152, 153, 7, 69, 2, 2, 153, 7, 3, 2, 2, 2, 154, 155, 7, 4, 2, 2, 155, 157, 7, 69, 2, 2, 156, 158, 5, 12, 7, 2, 157, 156, 3, 2, 2, 2, 158, 159, 3, 2, 2, 2, 159, 157, 3, 2, 2, 2, 159, 160, 3, 2, 2, 2, 160, 164, 3, 2, 2, 2, 161, 163, 5, 14, 8, 2, 162, 161, 3, 2, 2, 2, 163, 166, 3, 2, 2, 2, 164, 162, 3, 2, 2, 2, 164, 165, 3, 2, 2, 2, 165, 9, 3, 2, 2, 2, 166, 164, 3, 2, 2, 2, 167, 168, 7, 5, 2, 2, 168, 172, 7, 69, 2, 2, 169, 171, 5, 12, 7, 2, 170, 169, 3, 2, 2, 2, 171, 174, 3, 2, 2, 2, 172, 170, 3, 2, 2, 2, 172, 173, 3, 2, 2, 2, 173, 178, 3, 2, 2, 2, 174, 172, 3, 2, 2, 2, 175, 177, 5, 14, 8, 2, 176, 175, 3, 2, 2, 2, 177, 180, 3, 2, 2, 2, 178, 176, 3, 2, 2, 2, 178, 179, 3, 2, 2, 2, 179, 11, 3, 2, 2, 2, 180, 178, 3, 2, 2, 2, 181, 187, 5, 38, 20, 2, 182, 187, 5, 40, 21, 2, 183, 187, 5, 42, 22, 2, 184, 187, 5, 44, 23, 2, 185, 187, 5, 56, 29, 2, 186, 181, 3, 2, 2, 2, 186, 182, 3, 2, 2, 2, 186, 183, 3, 2, 2, 2, 186, 184, 3, 2, 2, 2, 186, 185, 3, 2, 2, 2, 187, 13, 3, 2, 2, 2, 188, 197, 5, 62, 32, 2, 189, 197, 5, 64, 33, 2, 190, 197, 5, 66, 34, 2, 191, 197, 5, 68, 35, 2, 192, 197, 5, 70, 36, 2, 193, 197, 5, 72, 37, 2, 194, 197, 5, 74, 38, 2, 195, 197, 5, 76, 39, 2, 196, 188, 3, 2, 2, 2, 196, 189, 3, 2, 2, 2, 196, 190, 3, 2, 2, 2, 196, 191, 3, 2, 2, 2, 196, 192, 3, 2, 2, 2, 196, 193, 3, 2, 2, 2, 196, 194, 3, 2, 2, 2, 196, 195, 3, 2, 2, 2, 197, 15, 3, 2, 2, 2, 198, 199, 7, 6, 2, 2, 199, 203, 7, 69, 2, 2, 200, 202, 5, 18, 10, 2, 201, 200, 3, 2, 2, 2, 202, 205, 3, 2, 2, 2, 203, 201, 3, 2, 2, 2, 203, 204, 3, 2, 2, 2, 204, 209, 3, 2, 2, 2, 205, 203, 3, 2, 2, 2, 206, 208, 5, 68, 35, 2, 207, 206, 3, 2, 2, 2, 208, 211, 3, 2, 2, 2, 209, 207, 3, 2, 2, 2, 209, 210, 3, 2, 2, 2, 210, 17, 3, 2, 2, 2, 211, 209, 3, 2, 2, 2, 212, 218, 5, 52, 27, 2, 213, 218, 5, 42, 22, 2, 214, 218, 5, 44, 23, 2, 215, 218, 5, 54, 28, 2, 216, 218, 5, 56, 29, 2, 217, 212, 3, 2, 2, 2, 217, 213, 3, 2, 2, 2, 217, 214, 3, 2, 2, 2, 217, 215, 3, 2, 2, 2, 217, 216, 3, 2, 2, 2, 218, 19, 3, 2, 2, 2, 219, 220, 7, 8, 2, 2, 220, 222, 7, 69, 2, 2, 221, 223, 5, 22, 12, 2, 222, 221, 3, 2, 2, 2, 223, 224, 3, 2, 2, 2, 224, 222, 3, 2, 2, 2, 224, 225, 3, 2, 2, 2, 225, 21, 3, 2, 2, 2, 226, 231, 5, 44, 23, 2, 227, 231, 5, 46, 24, 2, 228, 231, 5, 48, 25, 2, 229, 231, 5, 50, 26, 2, 230, 226, 3, 2, 2, 2, 230, 227, 3, 2, 2, 2, 230, 228, 3, 2, 2, 2, 230, 229, 3, 2, 2, 2, 231, 23, 3, 2, 2, 2, 232, 233, 7, 9, 2, 2, 233, 237, 7, 69, 2, 2, 234, 236, 5, 26, 14, 2, 235, 234, 3, 2, 2, 2, 236, 239, 3, 2, 2, 2, 237, 235, 3, 2, 2, 2, 237, 238, 3, 2, 2, 2, 238, 244, 3, 2, 2, 2, 239, 237, 3, 2, 2, 2, 240, 243, 5, 76, 39, 2, 241, 243, 5, 80, 41, 2, 242, 240, 3, 2, 2, 2, 242, 241, 3, 2, 2, 2, 243, 246, 3, 2, 2, 2, 244, 242, 3, 2, 2, 2, 244, 245, 3, 2, 2, 2, 245, 25, 3, 2, 2, 2, 246, 244, 3, 2, 2, 2, 247, 251, 5, 40, 21, 2, 248, 251, 5, 42, 22, 2, 249, 251, 5, 44, 23, 2, 250, 247, 3, 2, 2, 2, 250, 248, 3, 2, 2, 2, 250, 249, 3, 2, 2, 2, 251, 27, 3, 2, 2, 2, 252, 253, 7, 10, 2, 2, 253, 257, 7, 69, 2, 2, 254, 256, 5, 30, 16, 2, 255, 254, 3, 2, 2, 2, 256, 259, 3, 2, 2, 2, 257, 255, 3, 2, 2, 2, 257, 258, 3, 2, 2, 2, 258, 264, 3, 2, 2, 2, 259, 257, 3, 2, 2, 2, 260, 263, 5, 76, 39, 2, 261, 263, 5, 116, 59, 2, 262, 260, 3, 2, 2, 2, 262, 261, 3, 2, 2, 2, 263, 266, 3, 2, 2, 2, 264, 262, 3, 2, 2, 2, 264, 265, 3, 2, 2, 2, 265, 29, 3, 2, 2, 2, 266, 264, 3, 2, 2, 2, 267, 271, 5, 40, 21, 2, 268, 271, 5, 42, 22, 2, 269, 271, 5, 44, 23, 2, 270, 267, 3, 2, 2, 2, 270, 268, 3, 2, 2, 2, 270, 269, 3, 2, 2, 2, 271, 31, 3, 2, 2, 2, 272, 273, 7, 11, 2, 2, 273, 275, 7, 69, 2, 2, 274, 276, 5, 14, 8, 2, 275, 274, 3, 2, 2, 2, 276, 277, 3, 2, 2, 2, 277, 275, 3, 2, 2, 2, 277, 278, 3, 2, 2, 2, 278, 33, 3, 2, 2, 2, 279, 280, 7, 12, 2, 2, 280, 284, 7, 69, 2, 2, 281, 283, 5, 36, 19, 2, 282, 281, 3, 2, 2, 2, 283, 286, 3, 2, 2, 2, 284, 282, 3, 2, 2, 2, 284, 285, 3, 2, 2, 2, 285, 290, 3, 2, 2, 2, 286, 284, 3, 2, 2, 2, 287, 289, 5, 78, 40, 2, 288, 287, 3, 2, 2, 2, 289, 292, 3, 2, 2, 2, 290, 288, 3, 2, 2, 2, 290, 291, 3, 2, 2, 2, 291, 35, 3, 2, 2, 2, 292, 290, 3, 2, 2, 2, 293, 299, 5, 40, 21, 2, 294, 299, 5, 58, 30, 2, 295, 299, 5, 60, 31, 2, 296, 299, 5, 44, 23, 2, 297, 299, 5, 42, 22, 2, 298, 293, 3, 2, 2, 2, 298, 294, 3, 2, 2, 2, 298, 295, 3, 2, 2, 2, 298, 296, 3, 2, 2, 2, 298, 297, 3, 2, 2, 2, 299, 37, 3, 2, 2, 2, 300, 301, 7, 14, 2, 2, 301, 302, 7, 69, 2, 2, 302, 39, 3, 2, 2, 2, 303, 304, 7, 15, 2, 2, 304, 305, 7, 69, 2, 2, 305, 41, 3, 2, 2, 2, 306, 307, 7, 16, 2, 2, 307, 308, 7, 55, 2, 2, 308, 43, 3, 2, 2, 2, 309, 310, 7, 17, 2, 2, 310, 311, 9, 2, 2, 2, 311, 45, 3, 2, 2, 2, 312, 313, 7, 18, 2, 2, 313, 314, 7, 55, 2, 2, 314, 47, 3, 2, 2, 2, 315, 316, 7, 19, 2, 2, 316, 317, 7, 55, 2, 2, 317, 49, 3, 2, 2, 2, 318, 319, 7, 20, 2, 2, 319, 320, 7, 59, 2, 2, 320, 51, 3, 2, 2, 2, 321, 322, 7, 7, 2, 2, 322, 323, 7, 69, 2, 2, 323, 53, 3, 2, 2, 2, 324, 325, 7, 21, 2, 2, 325, 326, 7, 69, 2, 2, 326, 55, 3, 2, 2, 2, 327, 328, 7, 13, 2, 2, 328, 329, 9, 3, 2, 2, 329, 57, 3, 2, 2, 2, 330, 331, 7, 22, 2, 2, 331, 332, 7, 69, 2, 2, 332, 59, 3, 2, 2, 2, 333, 334, 7, 23, 2, 2, 334, 335, 7, 55, 2, 2, 335, 61, 3, 2, 2, 2, 336, 337, 7, 51, 2, 2, 337, 338, 5, 100, 51, 2, 338, 342, 7, 63, 2, 2, 339, 341, 5, 106, 54, 2, 340, 339, 3, 2, 2, 2, 341, 344, 3, 2, 2, 2, 342, 340, 3, 2, 2, 2, 342, 343, 3, 2, 2, 2, 343, 63, 3, 2, 2, 2, 344, 342, 3, 2, 2, 2, 345, 348, 7, 51, 2, 2, 346, 349, 5, 100, 51, 2, 347, 349, 5, 102, 52, 2, 348, 346, 3, 2, 2, 2, 348, 347, 3, 2, 2, 2, 349, 351, 3, 2, 2, 2, 350, 352, 5, 106, 54, 2, 351, 350, 3, 2, 2, 2, 352, 353, 3, 2, 2, 2, 353, 351, 3, 2, 2, 2, 353, 354, 3, 2, 2, 2, 354, 65, 3, 2, 2, 2, 355, 356, 7, 51, 2, 2, 356, 358, 5, 100, 51, 2, 357, 359, 7, 48, 2, 2, 358, 357, 3, 2, 2, 2, 358, 359, 3, 2, 2, 2, 359, 360, 3, 2, 2, 2, 360, 361, 7, 30, 2, 2, 361, 363, 7, 69, 2, 2, 362, 364, 5, 108, 55, 2, 363, 362, 3, 2, 2, 2, 363, 364, 3, 2, 2, 2, 364, 67, 3, 2, 2, 2, 365, 366, 7, 51, 2, 2, 366, 368, 5, 100, 51, 2, 367, 369, 7, 48, 2, 2, 368, 367, 3, 2, 2, 2, 368, 369, 3, 2, 2, 2, 369, 370, 3, 2, 2, 2, 370, 371, 7, 50, 2, 2, 371, 373, 5, 110, 56, 2, 372, 374, 7, 49, 2, 2, 373, 372, 3, 2, 2, 2, 373, 374, 3, 2, 2, 2, 374, 69, 3, 2, 2, 2, 375, 376, 7, 51, 2, 2, 376, 377, 5, 100, 51, 2, 377, 378, 7, 35, 2, 2, 378, 383, 5, 112, 57, 2, 379, 380, 7, 37, 2, 2, 380, 382, 5, 112, 57, 2, 381, 379, 3, 2, 2, 2, 382, 385, 3, 2, 2, 2, 383, 381, 3, 2, 2, 2, 383, 384, 3, 2, 2, 2, 384, 71, 3, 2, 2, 2, 385, 383, 3, 2, 2, 2, 386, 387, 7, 51, 2, 2, 387, 388, 5, 100, 51, 2, 388, 389, 7, 38, 2, 2, 389, 394, 5, 128, 65, 2, 390, 391, 7, 39, 2, 2, 391, 393, 5, 128, 65, 2, 392, 390, 3, 2, 2, 2, 393, 396, 3, 2, 2, 2, 394, 392, 3, 2, 2, 2, 394, 395, 3, 2, 2, 2, 395, 73, 3, 2, 2, 2, 396, 394, 3, 2, 2, 2, 397, 399, 7, 51, 2, 2, 398, 400, 5, 100, 51, 2, 399, 398, 3, 2, 2, 2, 399, 400, 3, 2, 2, 2, 400, 401, 3, 2, 2, 2, 401, 402, 7, 40, 2, 2, 402, 407, 7, 69, 2, 2, 403, 404, 7, 37, 2, 2, 404, 406, 7, 69, 2, 2, 405, 403, 3, 2, 2, 2, 406, 409, 3, 2, 2, 2, 407, 405, 3, 2, 2, 2, 407, 408, 3, 2, 2, 2, 408, 75, 3, 2, 2, 2, 409, 407, 3, 2, 2, 2, 410, 412, 7, 51, 2, 2, 411, 413, 5, 100, 51, 2, 412, 411, 3, 2, 2, 2, 412, 413, 3, 2, 2, 2, 413, 414, 3, 2, 2, 2, 414, 415, 5, 104, 53, 2, 415, 416, 7, 50, 2, 2, 416, 417, 5, 110, 56, 2, 417, 77, 3, 2, 2, 2, 418, 420, 7, 51, 2, 2, 419, 421, 5, 100, 51, 2, 420, 419, 3, 2, 2, 2, 420, 421, 3, 2, 2, 2, 421, 422, 3, 2, 2, 2, 422, 423, 7, 54, 2, 2, 423, 425, 7, 55, 2, 2, 424, 426, 7, 55, 2, 2, 425, 424, 3, 2, 2, 2, 425, 426, 3, 2, 2, 2, 426, 428, 3, 2, 2, 2, 427, 429, 7, 59, 2, 2, 428, 427, 3, 2, 2, 2, 428, 429, 3, 2, 2, 2, 429, 79, 3, 2, 2, 2, 430, 432, 7, 51, 2, 2, 431, 433, 7, 43, 2, 2, 432, 431, 3, 2, 2, 2, 432, 433, 3, 2, 2, 2, 433, 436, 3, 2, 2, 2, 434, 437, 5, 82, 42, 2, 435, 437, 5, 84, 43, 2, 436, 434, 3, 2, 2, 2, 436, 435, 3, 2, 2, 2, 437, 81, 3, 2, 2, 2, 438, 440, 5, 114, 58, 2, 439, 441, 5, 86, 44, 2, 440, 439, 3, 2, 2, 2, 440, 441, 3, 2, 2, 2, 441, 445, 3, 2, 2, 2, 442, 443, 7, 67, 2, 2, 443, 445, 5, 86, 44, 2, 444, 438, 3, 2, 2, 2, 444, 442, 3, 2, 2, 2, 445, 83, 3, 2, 2, 2, 446, 447, 7, 44, 2, 2, 447, 450, 5, 86, 44, 2, 448, 449, 7, 45, 2, 2, 449, 451, 5, 92, 47, 2, 450, 448, 3, 2, 2, 2, 450, 451, 3, 2, 2, 2, 451, 85, 3, 2, 2, 2, 452, 463, 7, 30, 2, 2, 453, 456, 5, 88, 45, 2, 454, 455, 7, 37, 2, 2, 455, 457, 5, 90, 46, 2, 456, 454, 3, 2, 2, 2, 456, 457, 3, 2, 2, 2, 457, 464, 3, 2, 2, 2, 458, 461, 5, 90, 46, 2, 459, 460, 7, 37, 2, 2, 460, 462, 5, 88, 45, 2, 461, 459, 3, 2, 2, 2, 461, 462, 3, 2, 2, 2, 462, 464, 3, 2, 2, 2, 463, 453, 3, 2, 2, 2, 463, 458, 3, 2, 2, 2, 464, 87, 3, 2, 2, 2, 465, 466, 7, 47, 2, 2, 466, 467, 7, 69, 2, 2, 467, 89, 3, 2, 2, 2, 468, 469, 7, 46, 2, 2, 469, 470, 9, 3, 2, 2, 470, 91, 3, 2, 2, 2, 471, 472, 5, 94, 48, 2, 472, 473, 7, 37, 2, 2, 473, 475, 3, 2, 2, 2, 474, 471, 3, 2, 2, 2, 475, 478, 3, 2, 2, 2, 476, 474, 3, 2, 2, 2, 476, 477, 3, 2, 2, 2, 477, 479, 3, 2, 2, 2, 478, 476, 3, 2, 2, 2, 479, 480, 5, 94, 48, 2, 480, 93, 3, 2, 2, 2, 481, 482, 7, 69, 2, 2, 482, 484, 5, 96, 49, 2, 483, 485, 5, 98, 50, 2, 484, 483, 3, 2, 2, 2, 484, 485, 3, 2, 2, 2, 485, 95, 3, 2, 2, 2, 486, 487, 9, 4, 2, 2, 487, 97, 3, 2, 2, 2, 488, 494, 5, 114, 58, 2, 489, 494, 7, 41, 2, 2, 490, 494, 7, 42, 2, 2, 491, 494, 7, 66, 2, 2, 492, 494, 7, 55, 2, 2, 493, 488, 3, 2, 2, 2, 493, 489, 3, 2, 2, 2, 493, 490, 3, 2, 2, 2, 493, 491, 3, 2, 2, 2, 493, 492, 3, 2, 2, 2, 494, 99, 3, 2, 2, 2, 495, 496, 9, 5, 2, 2, 496, 101, 3, 2, 2, 2, 497, 498, 7, 68, 2, 2, 498, 103, 3, 2, 2, 2, 499, 500, 7, 65, 2, 2, 500, 105, 3, 2, 2, 2, 501, 502, 9, 6, 2, 2, 502, 107, 3, 2, 2, 2, 503, 504, 9, 7, 2, 2, 504, 109, 3, 2, 2, 2, 505, 517, 7, 69, 2, 2, 506, 517, 7, 55, 2, 2, 507, 517, 7, 56, 2, 2, 508, 517, 7, 57, 2, 2, 509, 517, 7, 61, 2, 2, 510, 517, 7, 62, 2, 2, 511, 517, 5, 122, 62, 2, 512, 517, 5, 114, 58, 2, 513, 517, 5, 118, 60, 2, 514, 517, 5, 120, 61, 2, 515, 517, 5, 126, 64, 2, 516, 505, 3, 2, 2, 2, 516, 506, 3, 2, 2, 2, 516, 507, 3, 2, 2, 2, 516, 508, 3, 2, 2, 2, 516, 509, 3, 2, 2, 2, 516, 510, 3, 2, 2, 2, 516, 511, 3, 2, 2, 2, 516, 512, 3, 2, 2, 2, 516, 513, 3, 2, 2, 2, 516, 514, 3, 2, 2, 2, 516, 515, 3, 2, 2, 2, 517, 111, 3, 2, 2, 2, 518, 521, 7, 69, 2, 2, 519, 520, 7, 36, 2, 2, 520, 522, 7, 69, 2, 2, 521, 519, 3, 2, 2, 2, 521, 522, 3, 2, 2, 2, 522, 523, 3, 2, 2, 2, 523, 527, 7, 63, 2, 2, 524, 526, 5, 106, 54, 2, 525, 524, 3, 2, 2, 2, 526, 529, 3, 2, 2, 2, 527, 525, 3, 2, 2, 2, 527, 528, 3, 2, 2, 2, 528, 113, 3, 2, 2, 2, 529, 527, 3, 2, 2, 2, 530, 532, 7, 59, 2, 2, 531, 533, 7, 55, 2, 2, 532, 531, 3, 2, 2, 2, 532, 533, 3, 2, 2, 2, 533, 115, 3, 2, 2, 2, 534, 535, 7, 51, 2, 2, 535, 537, 5, 114, 58, 2, 536, 538, 7, 55, 2, 2, 537, 536, 3, 2, 2, 2, 537, 538, 3, 2, 2, 2, 538, 117, 3, 2, 2, 2, 539, 540, 7, 57, 2, 2, 540, 541, 7, 58, 2, 2, 541, 119, 3, 2, 2, 2, 542, 543, 5, 124, 63, 2, 543, 544, 7, 52, 2, 2, 544, 545, 5, 124, 63, 2, 545, 121, 3, 2, 2, 2, 546, 548, 7, 64, 2, 2, 547, 549, 7, 55, 2, 2, 548, 547, 3, 2, 2, 2, 548, 549, 3, 2, 2, 2, 549, 123, 3, 2, 2, 2, 550, 553, 7, 57, 2, 2, 551, 553, 5, 118, 60, 2, 552, 550, 3, 2, 2, 2, 552, 551, 3, 2, 2, 2, 553, 125, 3, 2, 2, 2, 554, 555, 9, 8, 2, 2, 555, 127, 3, 2, 2, 2, 556, 559, 7, 69, 2, 2, 557, 559, 5, 122, 62, 2, 558, 556, 3, 2, 2, 2, 558, 557, 3, 2, 2, 2, 559, 129, 3, 2, 2, 2, 61, 133, 147, 159, 164, 172, 178, 186, 196, 203, 209, 217, 224, 230, 237, 242, 244, 250, 257, 262, 264, 270, 277, 284, 290, 298, 342, 348, 353, 358, 363, 368, 373, 383, 394, 399, 407, 412, 420, 425, 428, 432, 436, 440, 444, 450, 456, 461, 463, 476, 484, 493, 516, 521, 527, 532, 537, 548, 552, 558]
\ No newline at end of file
+[3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 72, 561, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 4, 49, 9, 49, 4, 50, 9, 50, 4, 51, 9, 51, 4, 52, 9, 52, 4, 53, 9, 53, 4, 54, 9, 54, 4, 55, 9, 55, 4, 56, 9, 56, 4, 57, 9, 57, 4, 58, 9, 58, 4, 59, 9, 59, 4, 60, 9, 60, 4, 61, 9, 61, 4, 62, 9, 62, 4, 63, 9, 63, 4, 64, 9, 64, 4, 65, 9, 65, 3, 2, 7, 2, 132, 10, 2, 12, 2, 14, 2, 135, 11, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 148, 10, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 6, 5, 158, 10, 5, 13, 5, 14, 5, 159, 3, 5, 7, 5, 163, 10, 5, 12, 5, 14, 5, 166, 11, 5, 3, 6, 3, 6, 3, 6, 7, 6, 171, 10, 6, 12, 6, 14, 6, 174, 11, 6, 3, 6, 7, 6, 177, 10, 6, 12, 6, 14, 6, 180, 11, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 187, 10, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 197, 10, 8, 3, 9, 3, 9, 3, 9, 7, 9, 202, 10, 9, 12, 9, 14, 9, 205, 11, 9, 3, 9, 7, 9, 208, 10, 9, 12, 9, 14, 9, 211, 11, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 5, 10, 218, 10, 10, 3, 11, 3, 11, 3, 11, 6, 11, 223, 10, 11, 13, 11, 14, 11, 224, 3, 12, 3, 12, 3, 12, 3, 12, 5, 12, 231, 10, 12, 3, 13, 3, 13, 3, 13, 7, 13, 236, 10, 13, 12, 13, 14, 13, 239, 11, 13, 3, 13, 3, 13, 7, 13, 243, 10, 13, 12, 13, 14, 13, 246, 11, 13, 3, 14, 3, 14, 3, 14, 5, 14, 251, 10, 14, 3, 15, 3, 15, 3, 15, 7, 15, 256, 10, 15, 12, 15, 14, 15, 259, 11, 15, 3, 15, 3, 15, 7, 15, 263, 10, 15, 12, 15, 14, 15, 266, 11, 15, 3, 16, 3, 16, 3, 16, 5, 16, 271, 10, 16, 3, 17, 3, 17, 3, 17, 6, 17, 276, 10, 17, 13, 17, 14, 17, 277, 3, 18, 3, 18, 3, 18, 7, 18, 283, 10, 18, 12, 18, 14, 18, 286, 11, 18, 3, 18, 7, 18, 289, 10, 18, 12, 18, 14, 18, 292, 11, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 5, 19, 299, 10, 19, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 31, 3, 32, 3, 32, 3, 32, 3, 32, 7, 32, 341, 10, 32, 12, 32, 14, 32, 344, 11, 32, 3, 33, 3, 33, 3, 33, 5, 33, 349, 10, 33, 3, 33, 6, 33, 352, 10, 33, 13, 33, 14, 33, 353, 3, 34, 3, 34, 3, 34, 5, 34, 359, 10, 34, 3, 34, 3, 34, 3, 34, 5, 34, 364, 10, 34, 3, 35, 3, 35, 3, 35, 5, 35, 369, 10, 35, 3, 35, 3, 35, 3, 35, 5, 35, 374, 10, 35, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 7, 36, 382, 10, 36, 12, 36, 14, 36, 385, 11, 36, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 3, 37, 7, 37, 393, 10, 37, 12, 37, 14, 37, 396, 11, 37, 3, 38, 3, 38, 5, 38, 400, 10, 38, 3, 38, 3, 38, 3, 38, 3, 38, 7, 38, 406, 10, 38, 12, 38, 14, 38, 409, 11, 38, 3, 39, 3, 39, 5, 39, 413, 10, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 40, 3, 40, 5, 40, 421, 10, 40, 3, 40, 3, 40, 3, 40, 5, 40, 426, 10, 40, 3, 40, 5, 40, 429, 10, 40, 3, 41, 3, 41, 5, 41, 433, 10, 41, 3, 41, 3, 41, 5, 41, 437, 10, 41, 3, 42, 3, 42, 5, 42, 441, 10, 42, 3, 42, 3, 42, 5, 42, 445, 10, 42, 3, 43, 3, 43, 3, 43, 3, 43, 5, 43, 451, 10, 43, 3, 44, 3, 44, 3, 44, 3, 44, 5, 44, 457, 10, 44, 3, 44, 3, 44, 3, 44, 5, 44, 462, 10, 44, 5, 44, 464, 10, 44, 3, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 47, 7, 47, 475, 10, 47, 12, 47, 14, 47, 478, 11, 47, 3, 47, 3, 47, 3, 48, 3, 48, 3, 48, 5, 48, 485, 10, 48, 3, 49, 3, 49, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 5, 50, 494, 10, 50, 3, 51, 3, 51, 3, 52, 3, 52, 3, 53, 3, 53, 3, 54, 3, 54, 3, 55, 3, 55, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 5, 56, 517, 10, 56, 3, 57, 3, 57, 3, 57, 5, 57, 522, 10, 57, 3, 57, 3, 57, 7, 57, 526, 10, 57, 12, 57, 14, 57, 529, 11, 57, 3, 58, 3, 58, 5, 58, 533, 10, 58, 3, 59, 3, 59, 3, 59, 5, 59, 538, 10, 59, 3, 60, 3, 60, 3, 60, 3, 61, 3, 61, 3, 61, 3, 61, 3, 62, 3, 62, 5, 62, 549, 10, 62, 3, 63, 3, 63, 5, 63, 553, 10, 63, 3, 64, 3, 64, 3, 65, 3, 65, 5, 65, 559, 10, 65, 3, 65, 2, 2, 66, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 2, 9, 3, 2, 55, 56, 3, 2, 68, 69, 4, 2, 50, 50, 69, 69, 4, 2, 47, 47, 69, 69, 3, 2, 24, 29, 3, 2, 31, 34, 3, 2, 41, 42, 2, 593, 2, 133, 3, 2, 2, 2, 4, 147, 3, 2, 2, 2, 6, 149, 3, 2, 2, 2, 8, 154, 3, 2, 2, 2, 10, 167, 3, 2, 2, 2, 12, 186, 3, 2, 2, 2, 14, 196, 3, 2, 2, 2, 16, 198, 3, 2, 2, 2, 18, 217, 3, 2, 2, 2, 20, 219, 3, 2, 2, 2, 22, 230, 3, 2, 2, 2, 24, 232, 3, 2, 2, 2, 26, 250, 3, 2, 2, 2, 28, 252, 3, 2, 2, 2, 30, 270, 3, 2, 2, 2, 32, 272, 3, 2, 2, 2, 34, 279, 3, 2, 2, 2, 36, 298, 3, 2, 2, 2, 38, 300, 3, 2, 2, 2, 40, 303, 3, 2, 2, 2, 42, 306, 3, 2, 2, 2, 44, 309, 3, 2, 2, 2, 46, 312, 3, 2, 2, 2, 48, 315, 3, 2, 2, 2, 50, 318, 3, 2, 2, 2, 52, 321, 3, 2, 2, 2, 54, 324, 3, 2, 2, 2, 56, 327, 3, 2, 2, 2, 58, 330, 3, 2, 2, 2, 60, 333, 3, 2, 2, 2, 62, 336, 3, 2, 2, 2, 64, 345, 3, 2, 2, 2, 66, 355, 3, 2, 2, 2, 68, 365, 3, 2, 2, 2, 70, 375, 3, 2, 2, 2, 72, 386, 3, 2, 2, 2, 74, 397, 3, 2, 2, 2, 76, 410, 3, 2, 2, 2, 78, 418, 3, 2, 2, 2, 80, 430, 3, 2, 2, 2, 82, 444, 3, 2, 2, 2, 84, 446, 3, 2, 2, 2, 86, 452, 3, 2, 2, 2, 88, 465, 3, 2, 2, 2, 90, 468, 3, 2, 2, 2, 92, 476, 3, 2, 2, 2, 94, 481, 3, 2, 2, 2, 96, 486, 3, 2, 2, 2, 98, 493, 3, 2, 2, 2, 100, 495, 3, 2, 2, 2, 102, 497, 3, 2, 2, 2, 104, 499, 3, 2, 2, 2, 106, 501, 3, 2, 2, 2, 108, 503, 3, 2, 2, 2, 110, 516, 3, 2, 2, 2, 112, 518, 3, 2, 2, 2, 114, 530, 3, 2, 2, 2, 116, 534, 3, 2, 2, 2, 118, 539, 3, 2, 2, 2, 120, 542, 3, 2, 2, 2, 122, 546, 3, 2, 2, 2, 124, 552, 3, 2, 2, 2, 126, 554, 3, 2, 2, 2, 128, 558, 3, 2, 2, 2, 130, 132, 5, 4, 3, 2, 131, 130, 3, 2, 2, 2, 132, 135, 3, 2, 2, 2, 133, 131, 3, 2, 2, 2, 133, 134, 3, 2, 2, 2, 134, 136, 3, 2, 2, 2, 135, 133, 3, 2, 2, 2, 136, 137, 7, 2, 2, 3, 137, 3, 3, 2, 2, 2, 138, 148, 5, 6, 4, 2, 139, 148, 5, 8, 5, 2, 140, 148, 5, 10, 6, 2, 141, 148, 5, 20, 11, 2, 142, 148, 5, 16, 9, 2, 143, 148, 5, 24, 13, 2, 144, 148, 5, 28, 15, 2, 145, 148, 5, 32, 17, 2, 146, 148, 5, 34, 18, 2, 147, 138, 3, 2, 2, 2, 147, 139, 3, 2, 2, 2, 147, 140, 3, 2, 2, 2, 147, 141, 3, 2, 2, 2, 147, 142, 3, 2, 2, 2, 147, 143, 3, 2, 2, 2, 147, 144, 3, 2, 2, 2, 147, 145, 3, 2, 2, 2, 147, 146, 3, 2, 2, 2, 148, 5, 3, 2, 2, 2, 149, 150, 7, 3, 2, 2, 150, 151, 7, 69, 2, 2, 151, 152, 7, 50, 2, 2, 152, 153, 7, 69, 2, 2, 153, 7, 3, 2, 2, 2, 154, 155, 7, 4, 2, 2, 155, 157, 7, 69, 2, 2, 156, 158, 5, 12, 7, 2, 157, 156, 3, 2, 2, 2, 158, 159, 3, 2, 2, 2, 159, 157, 3, 2, 2, 2, 159, 160, 3, 2, 2, 2, 160, 164, 3, 2, 2, 2, 161, 163, 5, 14, 8, 2, 162, 161, 3, 2, 2, 2, 163, 166, 3, 2, 2, 2, 164, 162, 3, 2, 2, 2, 164, 165, 3, 2, 2, 2, 165, 9, 3, 2, 2, 2, 166, 164, 3, 2, 2, 2, 167, 168, 7, 5, 2, 2, 168, 172, 7, 69, 2, 2, 169, 171, 5, 12, 7, 2, 170, 169, 3, 2, 2, 2, 171, 174, 3, 2, 2, 2, 172, 170, 3, 2, 2, 2, 172, 173, 3, 2, 2, 2, 173, 178, 3, 2, 2, 2, 174, 172, 3, 2, 2, 2, 175, 177, 5, 14, 8, 2, 176, 175, 3, 2, 2, 2, 177, 180, 3, 2, 2, 2, 178, 176, 3, 2, 2, 2, 178, 179, 3, 2, 2, 2, 179, 11, 3, 2, 2, 2, 180, 178, 3, 2, 2, 2, 181, 187, 5, 38, 20, 2, 182, 187, 5, 40, 21, 2, 183, 187, 5, 42, 22, 2, 184, 187, 5, 44, 23, 2, 185, 187, 5, 56, 29, 2, 186, 181, 3, 2, 2, 2, 186, 182, 3, 2, 2, 2, 186, 183, 3, 2, 2, 2, 186, 184, 3, 2, 2, 2, 186, 185, 3, 2, 2, 2, 187, 13, 3, 2, 2, 2, 188, 197, 5, 62, 32, 2, 189, 197, 5, 64, 33, 2, 190, 197, 5, 66, 34, 2, 191, 197, 5, 68, 35, 2, 192, 197, 5, 70, 36, 2, 193, 197, 5, 72, 37, 2, 194, 197, 5, 74, 38, 2, 195, 197, 5, 76, 39, 2, 196, 188, 3, 2, 2, 2, 196, 189, 3, 2, 2, 2, 196, 190, 3, 2, 2, 2, 196, 191, 3, 2, 2, 2, 196, 192, 3, 2, 2, 2, 196, 193, 3, 2, 2, 2, 196, 194, 3, 2, 2, 2, 196, 195, 3, 2, 2, 2, 197, 15, 3, 2, 2, 2, 198, 199, 7, 6, 2, 2, 199, 203, 7, 69, 2, 2, 200, 202, 5, 18, 10, 2, 201, 200, 3, 2, 2, 2, 202, 205, 3, 2, 2, 2, 203, 201, 3, 2, 2, 2, 203, 204, 3, 2, 2, 2, 204, 209, 3, 2, 2, 2, 205, 203, 3, 2, 2, 2, 206, 208, 5, 68, 35, 2, 207, 206, 3, 2, 2, 2, 208, 211, 3, 2, 2, 2, 209, 207, 3, 2, 2, 2, 209, 210, 3, 2, 2, 2, 210, 17, 3, 2, 2, 2, 211, 209, 3, 2, 2, 2, 212, 218, 5, 52, 27, 2, 213, 218, 5, 42, 22, 2, 214, 218, 5, 44, 23, 2, 215, 218, 5, 54, 28, 2, 216, 218, 5, 56, 29, 2, 217, 212, 3, 2, 2, 2, 217, 213, 3, 2, 2, 2, 217, 214, 3, 2, 2, 2, 217, 215, 3, 2, 2, 2, 217, 216, 3, 2, 2, 2, 218, 19, 3, 2, 2, 2, 219, 220, 7, 8, 2, 2, 220, 222, 7, 69, 2, 2, 221, 223, 5, 22, 12, 2, 222, 221, 3, 2, 2, 2, 223, 224, 3, 2, 2, 2, 224, 222, 3, 2, 2, 2, 224, 225, 3, 2, 2, 2, 225, 21, 3, 2, 2, 2, 226, 231, 5, 44, 23, 2, 227, 231, 5, 46, 24, 2, 228, 231, 5, 48, 25, 2, 229, 231, 5, 50, 26, 2, 230, 226, 3, 2, 2, 2, 230, 227, 3, 2, 2, 2, 230, 228, 3, 2, 2, 2, 230, 229, 3, 2, 2, 2, 231, 23, 3, 2, 2, 2, 232, 233, 7, 9, 2, 2, 233, 237, 7, 69, 2, 2, 234, 236, 5, 26, 14, 2, 235, 234, 3, 2, 2, 2, 236, 239, 3, 2, 2, 2, 237, 235, 3, 2, 2, 2, 237, 238, 3, 2, 2, 2, 238, 244, 3, 2, 2, 2, 239, 237, 3, 2, 2, 2, 240, 243, 5, 76, 39, 2, 241, 243, 5, 80, 41, 2, 242, 240, 3, 2, 2, 2, 242, 241, 3, 2, 2, 2, 243, 246, 3, 2, 2, 2, 244, 242, 3, 2, 2, 2, 244, 245, 3, 2, 2, 2, 245, 25, 3, 2, 2, 2, 246, 244, 3, 2, 2, 2, 247, 251, 5, 40, 21, 2, 248, 251, 5, 42, 22, 2, 249, 251, 5, 44, 23, 2, 250, 247, 3, 2, 2, 2, 250, 248, 3, 2, 2, 2, 250, 249, 3, 2, 2, 2, 251, 27, 3, 2, 2, 2, 252, 253, 7, 10, 2, 2, 253, 257, 7, 69, 2, 2, 254, 256, 5, 30, 16, 2, 255, 254, 3, 2, 2, 2, 256, 259, 3, 2, 2, 2, 257, 255, 3, 2, 2, 2, 257, 258, 3, 2, 2, 2, 258, 264, 3, 2, 2, 2, 259, 257, 3, 2, 2, 2, 260, 263, 5, 76, 39, 2, 261, 263, 5, 116, 59, 2, 262, 260, 3, 2, 2, 2, 262, 261, 3, 2, 2, 2, 263, 266, 3, 2, 2, 2, 264, 262, 3, 2, 2, 2, 264, 265, 3, 2, 2, 2, 265, 29, 3, 2, 2, 2, 266, 264, 3, 2, 2, 2, 267, 271, 5, 40, 21, 2, 268, 271, 5, 42, 22, 2, 269, 271, 5, 44, 23, 2, 270, 267, 3, 2, 2, 2, 270, 268, 3, 2, 2, 2, 270, 269, 3, 2, 2, 2, 271, 31, 3, 2, 2, 2, 272, 273, 7, 11, 2, 2, 273, 275, 7, 69, 2, 2, 274, 276, 5, 14, 8, 2, 275, 274, 3, 2, 2, 2, 276, 277, 3, 2, 2, 2, 277, 275, 3, 2, 2, 2, 277, 278, 3, 2, 2, 2, 278, 33, 3, 2, 2, 2, 279, 280, 7, 12, 2, 2, 280, 284, 7, 69, 2, 2, 281, 283, 5, 36, 19, 2, 282, 281, 3, 2, 2, 2, 283, 286, 3, 2, 2, 2, 284, 282, 3, 2, 2, 2, 284, 285, 3, 2, 2, 2, 285, 290, 3, 2, 2, 2, 286, 284, 3, 2, 2, 2, 287, 289, 5, 78, 40, 2, 288, 287, 3, 2, 2, 2, 289, 292, 3, 2, 2, 2, 290, 288, 3, 2, 2, 2, 290, 291, 3, 2, 2, 2, 291, 35, 3, 2, 2, 2, 292, 290, 3, 2, 2, 2, 293, 299, 5, 40, 21, 2, 294, 299, 5, 58, 30, 2, 295, 299, 5, 60, 31, 2, 296, 299, 5, 44, 23, 2, 297, 299, 5, 42, 22, 2, 298, 293, 3, 2, 2, 2, 298, 294, 3, 2, 2, 2, 298, 295, 3, 2, 2, 2, 298, 296, 3, 2, 2, 2, 298, 297, 3, 2, 2, 2, 299, 37, 3, 2, 2, 2, 300, 301, 7, 14, 2, 2, 301, 302, 7, 69, 2, 2, 302, 39, 3, 2, 2, 2, 303, 304, 7, 15, 2, 2, 304, 305, 7, 69, 2, 2, 305, 41, 3, 2, 2, 2, 306, 307, 7, 16, 2, 2, 307, 308, 7, 55, 2, 2, 308, 43, 3, 2, 2, 2, 309, 310, 7, 17, 2, 2, 310, 311, 9, 2, 2, 2, 311, 45, 3, 2, 2, 2, 312, 313, 7, 18, 2, 2, 313, 314, 7, 55, 2, 2, 314, 47, 3, 2, 2, 2, 315, 316, 7, 19, 2, 2, 316, 317, 7, 55, 2, 2, 317, 49, 3, 2, 2, 2, 318, 319, 7, 20, 2, 2, 319, 320, 7, 59, 2, 2, 320, 51, 3, 2, 2, 2, 321, 322, 7, 7, 2, 2, 322, 323, 7, 69, 2, 2, 323, 53, 3, 2, 2, 2, 324, 325, 7, 21, 2, 2, 325, 326, 7, 59, 2, 2, 326, 55, 3, 2, 2, 2, 327, 328, 7, 13, 2, 2, 328, 329, 9, 3, 2, 2, 329, 57, 3, 2, 2, 2, 330, 331, 7, 22, 2, 2, 331, 332, 7, 69, 2, 2, 332, 59, 3, 2, 2, 2, 333, 334, 7, 23, 2, 2, 334, 335, 7, 55, 2, 2, 335, 61, 3, 2, 2, 2, 336, 337, 7, 51, 2, 2, 337, 338, 5, 100, 51, 2, 338, 342, 7, 63, 2, 2, 339, 341, 5, 106, 54, 2, 340, 339, 3, 2, 2, 2, 341, 344, 3, 2, 2, 2, 342, 340, 3, 2, 2, 2, 342, 343, 3, 2, 2, 2, 343, 63, 3, 2, 2, 2, 344, 342, 3, 2, 2, 2, 345, 348, 7, 51, 2, 2, 346, 349, 5, 100, 51, 2, 347, 349, 5, 102, 52, 2, 348, 346, 3, 2, 2, 2, 348, 347, 3, 2, 2, 2, 349, 351, 3, 2, 2, 2, 350, 352, 5, 106, 54, 2, 351, 350, 3, 2, 2, 2, 352, 353, 3, 2, 2, 2, 353, 351, 3, 2, 2, 2, 353, 354, 3, 2, 2, 2, 354, 65, 3, 2, 2, 2, 355, 356, 7, 51, 2, 2, 356, 358, 5, 100, 51, 2, 357, 359, 7, 48, 2, 2, 358, 357, 3, 2, 2, 2, 358, 359, 3, 2, 2, 2, 359, 360, 3, 2, 2, 2, 360, 361, 7, 30, 2, 2, 361, 363, 7, 69, 2, 2, 362, 364, 5, 108, 55, 2, 363, 362, 3, 2, 2, 2, 363, 364, 3, 2, 2, 2, 364, 67, 3, 2, 2, 2, 365, 366, 7, 51, 2, 2, 366, 368, 5, 100, 51, 2, 367, 369, 7, 48, 2, 2, 368, 367, 3, 2, 2, 2, 368, 369, 3, 2, 2, 2, 369, 370, 3, 2, 2, 2, 370, 371, 7, 50, 2, 2, 371, 373, 5, 110, 56, 2, 372, 374, 7, 49, 2, 2, 373, 372, 3, 2, 2, 2, 373, 374, 3, 2, 2, 2, 374, 69, 3, 2, 2, 2, 375, 376, 7, 51, 2, 2, 376, 377, 5, 100, 51, 2, 377, 378, 7, 35, 2, 2, 378, 383, 5, 112, 57, 2, 379, 380, 7, 37, 2, 2, 380, 382, 5, 112, 57, 2, 381, 379, 3, 2, 2, 2, 382, 385, 3, 2, 2, 2, 383, 381, 3, 2, 2, 2, 383, 384, 3, 2, 2, 2, 384, 71, 3, 2, 2, 2, 385, 383, 3, 2, 2, 2, 386, 387, 7, 51, 2, 2, 387, 388, 5, 100, 51, 2, 388, 389, 7, 38, 2, 2, 389, 394, 5, 128, 65, 2, 390, 391, 7, 39, 2, 2, 391, 393, 5, 128, 65, 2, 392, 390, 3, 2, 2, 2, 393, 396, 3, 2, 2, 2, 394, 392, 3, 2, 2, 2, 394, 395, 3, 2, 2, 2, 395, 73, 3, 2, 2, 2, 396, 394, 3, 2, 2, 2, 397, 399, 7, 51, 2, 2, 398, 400, 5, 100, 51, 2, 399, 398, 3, 2, 2, 2, 399, 400, 3, 2, 2, 2, 400, 401, 3, 2, 2, 2, 401, 402, 7, 40, 2, 2, 402, 407, 7, 69, 2, 2, 403, 404, 7, 37, 2, 2, 404, 406, 7, 69, 2, 2, 405, 403, 3, 2, 2, 2, 406, 409, 3, 2, 2, 2, 407, 405, 3, 2, 2, 2, 407, 408, 3, 2, 2, 2, 408, 75, 3, 2, 2, 2, 409, 407, 3, 2, 2, 2, 410, 412, 7, 51, 2, 2, 411, 413, 5, 100, 51, 2, 412, 411, 3, 2, 2, 2, 412, 413, 3, 2, 2, 2, 413, 414, 3, 2, 2, 2, 414, 415, 5, 104, 53, 2, 415, 416, 7, 50, 2, 2, 416, 417, 5, 110, 56, 2, 417, 77, 3, 2, 2, 2, 418, 420, 7, 51, 2, 2, 419, 421, 5, 100, 51, 2, 420, 419, 3, 2, 2, 2, 420, 421, 3, 2, 2, 2, 421, 422, 3, 2, 2, 2, 422, 423, 7, 54, 2, 2, 423, 425, 7, 55, 2, 2, 424, 426, 7, 55, 2, 2, 425, 424, 3, 2, 2, 2, 425, 426, 3, 2, 2, 2, 426, 428, 3, 2, 2, 2, 427, 429, 7, 59, 2, 2, 428, 427, 3, 2, 2, 2, 428, 429, 3, 2, 2, 2, 429, 79, 3, 2, 2, 2, 430, 432, 7, 51, 2, 2, 431, 433, 7, 43, 2, 2, 432, 431, 3, 2, 2, 2, 432, 433, 3, 2, 2, 2, 433, 436, 3, 2, 2, 2, 434, 437, 5, 82, 42, 2, 435, 437, 5, 84, 43, 2, 436, 434, 3, 2, 2, 2, 436, 435, 3, 2, 2, 2, 437, 81, 3, 2, 2, 2, 438, 440, 5, 114, 58, 2, 439, 441, 5, 86, 44, 2, 440, 439, 3, 2, 2, 2, 440, 441, 3, 2, 2, 2, 441, 445, 3, 2, 2, 2, 442, 443, 7, 67, 2, 2, 443, 445, 5, 86, 44, 2, 444, 438, 3, 2, 2, 2, 444, 442, 3, 2, 2, 2, 445, 83, 3, 2, 2, 2, 446, 447, 7, 44, 2, 2, 447, 450, 5, 86, 44, 2, 448, 449, 7, 45, 2, 2, 449, 451, 5, 92, 47, 2, 450, 448, 3, 2, 2, 2, 450, 451, 3, 2, 2, 2, 451, 85, 3, 2, 2, 2, 452, 463, 7, 30, 2, 2, 453, 456, 5, 88, 45, 2, 454, 455, 7, 37, 2, 2, 455, 457, 5, 90, 46, 2, 456, 454, 3, 2, 2, 2, 456, 457, 3, 2, 2, 2, 457, 464, 3, 2, 2, 2, 458, 461, 5, 90, 46, 2, 459, 460, 7, 37, 2, 2, 460, 462, 5, 88, 45, 2, 461, 459, 3, 2, 2, 2, 461, 462, 3, 2, 2, 2, 462, 464, 3, 2, 2, 2, 463, 453, 3, 2, 2, 2, 463, 458, 3, 2, 2, 2, 464, 87, 3, 2, 2, 2, 465, 466, 7, 47, 2, 2, 466, 467, 7, 69, 2, 2, 467, 89, 3, 2, 2, 2, 468, 469, 7, 46, 2, 2, 469, 470, 9, 3, 2, 2, 470, 91, 3, 2, 2, 2, 471, 472, 5, 94, 48, 2, 472, 473, 7, 37, 2, 2, 473, 475, 3, 2, 2, 2, 474, 471, 3, 2, 2, 2, 475, 478, 3, 2, 2, 2, 476, 474, 3, 2, 2, 2, 476, 477, 3, 2, 2, 2, 477, 479, 3, 2, 2, 2, 478, 476, 3, 2, 2, 2, 479, 480, 5, 94, 48, 2, 480, 93, 3, 2, 2, 2, 481, 482, 7, 69, 2, 2, 482, 484, 5, 96, 49, 2, 483, 485, 5, 98, 50, 2, 484, 483, 3, 2, 2, 2, 484, 485, 3, 2, 2, 2, 485, 95, 3, 2, 2, 2, 486, 487, 9, 4, 2, 2, 487, 97, 3, 2, 2, 2, 488, 494, 5, 114, 58, 2, 489, 494, 7, 41, 2, 2, 490, 494, 7, 42, 2, 2, 491, 494, 7, 66, 2, 2, 492, 494, 7, 55, 2, 2, 493, 488, 3, 2, 2, 2, 493, 489, 3, 2, 2, 2, 493, 490, 3, 2, 2, 2, 493, 491, 3, 2, 2, 2, 493, 492, 3, 2, 2, 2, 494, 99, 3, 2, 2, 2, 495, 496, 9, 5, 2, 2, 496, 101, 3, 2, 2, 2, 497, 498, 7, 68, 2, 2, 498, 103, 3, 2, 2, 2, 499, 500, 7, 65, 2, 2, 500, 105, 3, 2, 2, 2, 501, 502, 9, 6, 2, 2, 502, 107, 3, 2, 2, 2, 503, 504, 9, 7, 2, 2, 504, 109, 3, 2, 2, 2, 505, 517, 7, 69, 2, 2, 506, 517, 7, 55, 2, 2, 507, 517, 7, 56, 2, 2, 508, 517, 7, 57, 2, 2, 509, 517, 7, 61, 2, 2, 510, 517, 7, 62, 2, 2, 511, 517, 5, 122, 62, 2, 512, 517, 5, 114, 58, 2, 513, 517, 5, 118, 60, 2, 514, 517, 5, 120, 61, 2, 515, 517, 5, 126, 64, 2, 516, 505, 3, 2, 2, 2, 516, 506, 3, 2, 2, 2, 516, 507, 3, 2, 2, 2, 516, 508, 3, 2, 2, 2, 516, 509, 3, 2, 2, 2, 516, 510, 3, 2, 2, 2, 516, 511, 3, 2, 2, 2, 516, 512, 3, 2, 2, 2, 516, 513, 3, 2, 2, 2, 516, 514, 3, 2, 2, 2, 516, 515, 3, 2, 2, 2, 517, 111, 3, 2, 2, 2, 518, 521, 7, 69, 2, 2, 519, 520, 7, 36, 2, 2, 520, 522, 7, 69, 2, 2, 521, 519, 3, 2, 2, 2, 521, 522, 3, 2, 2, 2, 522, 523, 3, 2, 2, 2, 523, 527, 7, 63, 2, 2, 524, 526, 5, 106, 54, 2, 525, 524, 3, 2, 2, 2, 526, 529, 3, 2, 2, 2, 527, 525, 3, 2, 2, 2, 527, 528, 3, 2, 2, 2, 528, 113, 3, 2, 2, 2, 529, 527, 3, 2, 2, 2, 530, 532, 7, 59, 2, 2, 531, 533, 7, 55, 2, 2, 532, 531, 3, 2, 2, 2, 532, 533, 3, 2, 2, 2, 533, 115, 3, 2, 2, 2, 534, 535, 7, 51, 2, 2, 535, 537, 5, 114, 58, 2, 536, 538, 7, 55, 2, 2, 537, 536, 3, 2, 2, 2, 537, 538, 3, 2, 2, 2, 538, 117, 3, 2, 2, 2, 539, 540, 7, 57, 2, 2, 540, 541, 7, 58, 2, 2, 541, 119, 3, 2, 2, 2, 542, 543, 5, 124, 63, 2, 543, 544, 7, 52, 2, 2, 544, 545, 5, 124, 63, 2, 545, 121, 3, 2, 2, 2, 546, 548, 7, 64, 2, 2, 547, 549, 7, 55, 2, 2, 548, 547, 3, 2, 2, 2, 548, 549, 3, 2, 2, 2, 549, 123, 3, 2, 2, 2, 550, 553, 7, 57, 2, 2, 551, 553, 5, 118, 60, 2, 552, 550, 3, 2, 2, 2, 552, 551, 3, 2, 2, 2, 553, 125, 3, 2, 2, 2, 554, 555, 9, 8, 2, 2, 555, 127, 3, 2, 2, 2, 556, 559, 7, 69, 2, 2, 557, 559, 5, 122, 62, 2, 558, 556, 3, 2, 2, 2, 558, 557, 3, 2, 2, 2, 559, 129, 3, 2, 2, 2, 61, 133, 147, 159, 164, 172, 178, 186, 196, 203, 209, 217, 224, 230, 237, 242, 244, 250, 257, 262, 264, 270, 277, 284, 290, 298, 342, 348, 353, 358, 363, 368, 373, 383, 394, 399, 407, 412, 420, 425, 428, 432, 436, 440, 444, 450, 456, 461, 463, 476, 484, 493, 516, 521, 527, 532, 537, 548, 552, 558]
\ No newline at end of file
diff --git a/src/import/generated/FSHParser.js b/src/import/generated/FSHParser.js
index 2fc251c..7130a4b 100644
--- a/src/import/generated/FSHParser.js
+++ b/src/import/generated/FSHParser.js
@@ -232,7 +232,7 @@ var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964",
     "\u0002\u013e\u013f\u0007\u0014\u0002\u0002\u013f\u0140\u0007;\u0002",
     "\u0002\u01403\u0003\u0002\u0002\u0002\u0141\u0142\u0007\u0007\u0002",
     "\u0002\u0142\u0143\u0007E\u0002\u0002\u01435\u0003\u0002\u0002\u0002",
-    "\u0144\u0145\u0007\u0015\u0002\u0002\u0145\u0146\u0007E\u0002\u0002",
+    "\u0144\u0145\u0007\u0015\u0002\u0002\u0145\u0146\u0007;\u0002\u0002",
     "\u01467\u0003\u0002\u0002\u0002\u0147\u0148\u0007\r\u0002\u0002\u0148",
     "\u0149\t\u0003\u0002\u0002\u01499\u0003\u0002\u0002\u0002\u014a\u014b",
     "\u0007\u0016\u0002\u0002\u014b\u014c\u0007E\u0002\u0002\u014c;\u0003",
@@ -3242,8 +3242,8 @@ UsageContext.prototype.KW_USAGE = function() {
     return this.getToken(FSHParser.KW_USAGE, 0);
 };
 
-UsageContext.prototype.SEQUENCE = function() {
-    return this.getToken(FSHParser.SEQUENCE, 0);
+UsageContext.prototype.CODE = function() {
+    return this.getToken(FSHParser.CODE, 0);
 };
 
 UsageContext.prototype.enterRule = function(listener) {
@@ -3280,7 +3280,7 @@ FSHParser.prototype.usage = function() {
         this.state = 322;
         this.match(FSHParser.KW_USAGE);
         this.state = 323;
-        this.match(FSHParser.SEQUENCE);
+        this.match(FSHParser.CODE);
     } catch (re) {
     	if(re instanceof antlr4.error.RecognitionException) {
 	        localctx.exception = re;
diff --git a/src/import/parserContexts.ts b/src/import/parserContexts.ts
index 13c4221..b916184 100644
--- a/src/import/parserContexts.ts
+++ b/src/import/parserContexts.ts
@@ -129,7 +129,7 @@ export interface DescriptionContext extends ParserRuleContext {
 }
 
 export interface UsageContext extends ParserRuleContext {
-  SEQUENCE(): ParserRuleContext;
+  CODE(): ParserRuleContext;
 }
 
 export interface MixinsContext extends ParserRuleContext {


Test patch:
diff --git a/test/import/FSHImporter.Instance.test.ts b/test/import/FSHImporter.Instance.test.ts
index 2febe29..5cdf815 100644
--- a/test/import/FSHImporter.Instance.test.ts
+++ b/test/import/FSHImporter.Instance.test.ts
@@ -93,7 +93,7 @@ describe('FSHImporter', () => {
         const input = `
         Instance: MyObservation
         InstanceOf: Observation
-        Usage: Example
+        Usage: #example
         `;
 
         const result = importSingleText(input);
@@ -108,7 +108,7 @@ describe('FSHImporter', () => {
         const input = `
         Instance: MyBadObservation
         InstanceOf: Observation
-        Usage: BadUse
+        Usage: #baduse
         `;
 
         const result = importSingleText(input, 'Bad.fsh');
@@ -118,10 +118,29 @@ describe('FSHImporter', () => {
         expect(instance.instanceOf).toBe('Observation');
         expect(instance.usage).toBe('Example');
         expect(loggerSpy.getLastMessage('error')).toMatch(
-          /Invalid Usage. Supported usages are "Example", "Definition", and "Inline". Instance will be treated as an Example./s
+          /Invalid Usage. Supported usage codes are "#example", "#definition", and "#inline". Instance will be treated as an example./s
         );
         expect(loggerSpy.getLastMessage('error')).toMatch(/File: Bad\.fsh.*Line: 4\D*/s);
       });
+
+      it('should log a warning if a system is specified on usage', () => {
+        const input = `
+        Instance: MyBadObservation
+        InstanceOf: Observation
+        Usage: badsystem#example
+        `;
+
+        const result = importSingleText(input, 'Bad.fsh');
+        expect(result.instances.size).toBe(1);
+        const instance = result.instances.get('MyBadObservation');
+        expect(instance.name).toBe('MyBadObservation');
+        expect(instance.instanceOf).toBe('Observation');
+        expect(instance.usage).toBe('Example');
+        expect(loggerSpy.getLastMessage('warn')).toMatch(
+          /Do not specify a system for instance Usage./s
+        );
+        expect(loggerSpy.getLastMessage('warn')).toMatch(/File: Bad\.fsh.*Line: 4\D*/s);
+      });
     });
 
     describe('#mixins', () => {
@@ -147,7 +166,7 @@ describe('FSHImporter', () => {
         InstanceOf: Patient
         Title: "Georgio Manos"
         Description: "An example of a fictional patient named Georgio Manos"
-        Usage: Example
+        Usage: #example
         * name[0].family = "Georgio"
         * name[0].given[0] = "Manos"
         * gender = #other
@@ -198,12 +217,12 @@ describe('FSHImporter', () => {
         Title: "My Important Observation"
         Description: "My Observation Description"
         Mixins: Mixin1
-        Usage: Example
+        Usage: #example
         InstanceOf: DuplicateObservation
         Title: "My Duplicate Observation"
         Description: "My Duplicate Observation Description"
         Mixins: DuplicateMixin1
-        Usage: Non-example
+        Usage: #non-example
         `;
 
         const result = importSingleText(input);
@@ -223,11 +242,11 @@ describe('FSHImporter', () => {
         InstanceOf: Observation
         Title: "My Important Observation"
         Description: "My Observation Description"
-        Usage: Example
+        Usage: #example
         InstanceOf: DuplicateObservation
         Title: "My Duplicate Observation"
         Description: "My Duplicate Observation Description"
-        Usage: Non-example
+        Usage: #non-example
         `;
 
         importSingleText(input, 'Dupe.fsh');