text: import numpy as np
  scoreboard = np.array(range(0, 441))
  
  team1 = {
      'char1': [
          1,   2,   3,
          50,  49,  48,
          53,  54,  55,
          102, 101, 100,
          105, 106, 107,
      ],
      'char2': [
          5, 6, 7,
          46,	45,	44,
          57,	58,	59,
          98,	97,	96,
          109, 110, 111
      ],
      'char3': [
          9, 10, 11,
          42,	41,	40,
          61,	62,	63,
          94,	93,	92,
          113, 114, 115
      ]
  }
  
  team2 = {
      'char1': [
          14,	15,	16,
          37,	36,	35,
          66,	67,	68,
          89,	88,	87,
          118, 119, 120
      ],
      'char2': [
          18,	19,	20,
          33,	32,	31,
          70,	71,	72,
          85,	84,	83,
          122, 123, 124
      ],
      'char3': [
          22,	23,	24,
          29,	28,	27,
          74,	75,	76,
          81,	80,	79,
          126, 127, 128
      ]
  }
  
  score1 = {
      'dig1_char1': [
          161,	162,	163,
          202,	201,	200,
          213,	214,	215,
          254,	253,	252,
          265,	266,	267
      ],
      'dig1_char2': [
          157,	158,	159,
          206,	205,	204,
          209,	210,	211,
          258,	257,	256,
          261,	262,	263
      ],
      'dig1_char3': [
          165,	166,	167,
          198,	197,	196,
          217,	218,	219,
          250,	249,	248,
          269,	270,	271
      ],
      'dig2_char1': [
          159,	160,	161,
          204,	203,	202,
          211,	212,	213,
          256,	255,	254,
          263,	264,	265
      ],
      'dig2_char2': [
          163,	164,	165,
          200,	199,	198,
          215,	216,	217,
          252,	251,	250,
          267,	268,	269
      ],
      'dig2_char3': [
          157, 	158,
          206,	205,
          209,	210,
          258,	257,
          261,	262,
          166,	167,
          197,	196,
          218,	219,
          249,	248,
          270,	271
      ],
      'dig3_char1': [
          157,	158,	159,
          206,	205,	204,
          209,	210,	211,
          258,	257,	256,
          261,	262,	263
      ],
      'dig3_char2': [
          161,	162,	163,
          202,	201,	200,
          213,	214,	215,
          254,	253,	252,
          265,	266,	267
      ],
      'dig3_char3': [
          165,	166,	167,
          198,	197,	196,
          217,	218,	219,
          250,	249,	248,
          269,	270,	271
      ]
  }
  score2 = {
      'dig1_char1': [
          174,	175,	176,
          189,	188,	187,
          226,	227,	228,
          241,	240,	239,
          278,	279,	280
      ],
      'dig1_char2': [
          170,	171,	172,
          193,	192,	191,
          222,	223,	224,
          245,	244,	243,
          274,	275,	276
      ],
      'dig1_char3': [
          178,	179,	180,
          185,	184,	183,
          230,	231,	232,
          237,	236,	235,
          282,	283,	284
      ],
      'dig2_char1': [
          172,	173,	174,
          191,	190,	189,
          224,	225,	226,
          243,	242,	241,
          276,	277,	278
      ],
      'dig2_char2': [
          176,	177,	178,
          187,	186,	185,
          228,	229,	230,
          239,	238,	237,
          280,	281,	282
      ],
      'dig2_char3': [
          170,	171,
          193,	192,
          222,	223,
          245,	244,
          274,	275,
          179,	180,
          184,	183,
          231,	232,
          236,	235,
          283,	284
      ],
      'dig3_char1': [
          170,	171,	172,
          193,	192,	191,
          222,	223,	224,
          245,	244,	243,
          274,	275,	276
      ],
      'dig3_char2': [
          174,	175,	176,
          189,	188,	187,
          226,	227,	228,
          241,	240,	239,
          278,	279,	280
      ],
      'dig3_char3': [
          178,	179,	180,
          185,	184,	183,
          230,	231,	232,
          237,	236,	235,
          282,	283,	284
      ]
  }
  
  time_clock = {
      'clock_dig1': [
          317,	318,	319,
          358,	357,	356,
          369,	370,	371,
          410,	409,	408,
          421,	422,	423
      ],
      'clock_dig2': [
          321,	322,	323,
          354,	353,	352,
          373,	374,	375,
          406,	405,	404,
          425,	426,	427
      ],
      'clock_dig3': [
          326,	327,	328,
          349,	348,	347,
          378,	379,	380,
          401,	400,	399,
          430,	431,	432
      ],
      'clock_dig4': [
          330,	331,	332,
          345,	344,	343,
          382,	383,	384,
          397,	396,	395,
          434,	435,	436
      ]
  }