In [55]:
NE = 500 #Number of elements we'd like to look at

def f(v, ex=39):
    S = list(str(v))
    S = [int(i)**ex for i in S]
    return sum(S)

In [56]:
TOTAL_LIST = {}
TOTAL_ORDERED = {}
TOTAL_LIST_START = {}

for N in range(1, NE+1):
    a = {}
    b = []
    S = N
    i=0
    while S not in a:
        a[S] = i
        b.append(S)
        
        S = f(S)
        i += 1
    
    TOTAL_LIST[N] = a
    TOTAL_ORDERED[N] = b
    TOTAL_LIST_START[N] = S
    
    print('Found a cycle with length {} starting from number {}'.format(len(a) - a[S], N))


Found a cycle with length 1 starting from number 1
Found a cycle with length 301 starting from number 2
Found a cycle with length 4356 starting from number 3
Found a cycle with length 1249 starting from number 4
Found a cycle with length 1673 starting from number 5
Found a cycle with length 4356 starting from number 6
Found a cycle with length 236 starting from number 7
Found a cycle with length 914 starting from number 8
Found a cycle with length 4356 starting from number 9
Found a cycle with length 1 starting from number 10
Found a cycle with length 301 starting from number 11
Found a cycle with length 4356 starting from number 12
Found a cycle with length 1249 starting from number 13
Found a cycle with length 1673 starting from number 14
Found a cycle with length 4356 starting from number 15
Found a cycle with length 236 starting from number 16
Found a cycle with length 914 starting from number 17
Found a cycle with length 4356 starting from number 18
Found a cycle with length 1249 starting from number 19
Found a cycle with length 301 starting from number 20
Found a cycle with length 4356 starting from number 21
Found a cycle with length 1249 starting from number 22
Found a cycle with length 1673 starting from number 23
Found a cycle with length 4356 starting from number 24
Found a cycle with length 1249 starting from number 25
Found a cycle with length 1673 starting from number 26
Found a cycle with length 4356 starting from number 27
Found a cycle with length 1249 starting from number 28
Found a cycle with length 1673 starting from number 29
Found a cycle with length 4356 starting from number 30
Found a cycle with length 1249 starting from number 31
Found a cycle with length 1673 starting from number 32
Found a cycle with length 4356 starting from number 33
Found a cycle with length 1249 starting from number 34
Found a cycle with length 1673 starting from number 35
Found a cycle with length 4356 starting from number 36
Found a cycle with length 1249 starting from number 37
Found a cycle with length 914 starting from number 38
Found a cycle with length 403 starting from number 39
Found a cycle with length 1249 starting from number 40
Found a cycle with length 1673 starting from number 41
Found a cycle with length 4356 starting from number 42
Found a cycle with length 1249 starting from number 43
Found a cycle with length 1673 starting from number 44
Found a cycle with length 4356 starting from number 45
Found a cycle with length 1249 starting from number 46
Found a cycle with length 301 starting from number 47
Found a cycle with length 4356 starting from number 48
Found a cycle with length 1249 starting from number 49
Found a cycle with length 1673 starting from number 50
Found a cycle with length 4356 starting from number 51
Found a cycle with length 1249 starting from number 52
Found a cycle with length 1673 starting from number 53
Found a cycle with length 4356 starting from number 54
Found a cycle with length 987 starting from number 55
Found a cycle with length 1673 starting from number 56
Found a cycle with length 4356 starting from number 57
Found a cycle with length 1249 starting from number 58
Found a cycle with length 914 starting from number 59
Found a cycle with length 4356 starting from number 60
Found a cycle with length 236 starting from number 61
Found a cycle with length 1673 starting from number 62
Found a cycle with length 4356 starting from number 63
Found a cycle with length 1249 starting from number 64
Found a cycle with length 1673 starting from number 65
Found a cycle with length 4356 starting from number 66
Found a cycle with length 1249 starting from number 67
Found a cycle with length 1673 starting from number 68
Found a cycle with length 4356 starting from number 69
Found a cycle with length 236 starting from number 70
Found a cycle with length 914 starting from number 71
Found a cycle with length 4356 starting from number 72
Found a cycle with length 1249 starting from number 73
Found a cycle with length 301 starting from number 74
Found a cycle with length 4356 starting from number 75
Found a cycle with length 1249 starting from number 76
Found a cycle with length 1673 starting from number 77
Found a cycle with length 394 starting from number 78
Found a cycle with length 1249 starting from number 79
Found a cycle with length 914 starting from number 80
Found a cycle with length 4356 starting from number 81
Found a cycle with length 1249 starting from number 82
Found a cycle with length 914 starting from number 83
Found a cycle with length 4356 starting from number 84
Found a cycle with length 1249 starting from number 85
Found a cycle with length 1673 starting from number 86
Found a cycle with length 394 starting from number 87
Found a cycle with length 1249 starting from number 88
Found a cycle with length 1673 starting from number 89
Found a cycle with length 4356 starting from number 90
Found a cycle with length 1249 starting from number 91
Found a cycle with length 1673 starting from number 92
Found a cycle with length 403 starting from number 93
Found a cycle with length 1249 starting from number 94
Found a cycle with length 914 starting from number 95
Found a cycle with length 4356 starting from number 96
Found a cycle with length 1249 starting from number 97
Found a cycle with length 1673 starting from number 98
Found a cycle with length 142 starting from number 99
Found a cycle with length 1 starting from number 100
Found a cycle with length 301 starting from number 101
Found a cycle with length 4356 starting from number 102
Found a cycle with length 1249 starting from number 103
Found a cycle with length 1673 starting from number 104
Found a cycle with length 4356 starting from number 105
Found a cycle with length 236 starting from number 106
Found a cycle with length 914 starting from number 107
Found a cycle with length 4356 starting from number 108
Found a cycle with length 1249 starting from number 109
Found a cycle with length 301 starting from number 110
Found a cycle with length 4356 starting from number 111
Found a cycle with length 1249 starting from number 112
Found a cycle with length 914 starting from number 113
Found a cycle with length 403 starting from number 114
Found a cycle with length 1249 starting from number 115
Found a cycle with length 1673 starting from number 116
Found a cycle with length 4356 starting from number 117
Found a cycle with length 1249 starting from number 118
Found a cycle with length 1673 starting from number 119
Found a cycle with length 4356 starting from number 120
Found a cycle with length 1249 starting from number 121
Found a cycle with length 914 starting from number 122
Found a cycle with length 4356 starting from number 123
Found a cycle with length 236 starting from number 124
Found a cycle with length 301 starting from number 125
Found a cycle with length 403 starting from number 126
Found a cycle with length 1249 starting from number 127
Found a cycle with length 914 starting from number 128
Found a cycle with length 4356 starting from number 129
Found a cycle with length 1249 starting from number 130
Found a cycle with length 914 starting from number 131
Found a cycle with length 4356 starting from number 132
Found a cycle with length 1249 starting from number 133
Found a cycle with length 1673 starting from number 134
Found a cycle with length 4356 starting from number 135
Found a cycle with length 987 starting from number 136
Found a cycle with length 914 starting from number 137
Found a cycle with length 4356 starting from number 138
Found a cycle with length 987 starting from number 139
Found a cycle with length 1673 starting from number 140
Found a cycle with length 403 starting from number 141
Found a cycle with length 236 starting from number 142
Found a cycle with length 1673 starting from number 143
Found a cycle with length 4356 starting from number 144
Found a cycle with length 236 starting from number 145
Found a cycle with length 1673 starting from number 146
Found a cycle with length 4356 starting from number 147
Found a cycle with length 987 starting from number 148
Found a cycle with length 914 starting from number 149
Found a cycle with length 4356 starting from number 150
Found a cycle with length 1249 starting from number 151
Found a cycle with length 301 starting from number 152
Found a cycle with length 4356 starting from number 153
Found a cycle with length 236 starting from number 154
Found a cycle with length 1673 starting from number 155
Found a cycle with length 403 starting from number 156
Found a cycle with length 1249 starting from number 157
Found a cycle with length 1673 starting from number 158
Found a cycle with length 4356 starting from number 159
Found a cycle with length 236 starting from number 160
Found a cycle with length 1673 starting from number 161
Found a cycle with length 403 starting from number 162
Found a cycle with length 987 starting from number 163
Found a cycle with length 1673 starting from number 164
Found a cycle with length 403 starting from number 165
Found a cycle with length 1249 starting from number 166
Found a cycle with length 1673 starting from number 167
Found a cycle with length 4356 starting from number 168
Found a cycle with length 1249 starting from number 169
Found a cycle with length 914 starting from number 170
Found a cycle with length 4356 starting from number 171
Found a cycle with length 1249 starting from number 172
Found a cycle with length 914 starting from number 173
Found a cycle with length 4356 starting from number 174
Found a cycle with length 1249 starting from number 175
Found a cycle with length 1673 starting from number 176
Found a cycle with length 4356 starting from number 177
Found a cycle with length 1249 starting from number 178
Found a cycle with length 1673 starting from number 179
Found a cycle with length 4356 starting from number 180
Found a cycle with length 1249 starting from number 181
Found a cycle with length 914 starting from number 182
Found a cycle with length 4356 starting from number 183
Found a cycle with length 987 starting from number 184
Found a cycle with length 1673 starting from number 185
Found a cycle with length 4356 starting from number 186
Found a cycle with length 1249 starting from number 187
Found a cycle with length 914 starting from number 188
Found a cycle with length 4356 starting from number 189
Found a cycle with length 1249 starting from number 190
Found a cycle with length 1673 starting from number 191
Found a cycle with length 4356 starting from number 192
Found a cycle with length 987 starting from number 193
Found a cycle with length 914 starting from number 194
Found a cycle with length 4356 starting from number 195
Found a cycle with length 1249 starting from number 196
Found a cycle with length 1673 starting from number 197
Found a cycle with length 4356 starting from number 198
Found a cycle with length 987 starting from number 199
Found a cycle with length 301 starting from number 200
Found a cycle with length 4356 starting from number 201
Found a cycle with length 1249 starting from number 202
Found a cycle with length 1673 starting from number 203
Found a cycle with length 4356 starting from number 204
Found a cycle with length 1249 starting from number 205
Found a cycle with length 1673 starting from number 206
Found a cycle with length 4356 starting from number 207
Found a cycle with length 1249 starting from number 208
Found a cycle with length 1673 starting from number 209
Found a cycle with length 4356 starting from number 210
Found a cycle with length 1249 starting from number 211
Found a cycle with length 914 starting from number 212
Found a cycle with length 4356 starting from number 213
Found a cycle with length 236 starting from number 214
Found a cycle with length 301 starting from number 215
Found a cycle with length 403 starting from number 216
Found a cycle with length 1249 starting from number 217
Found a cycle with length 914 starting from number 218
Found a cycle with length 4356 starting from number 219
Found a cycle with length 1249 starting from number 220
Found a cycle with length 914 starting from number 221
Found a cycle with length 403 starting from number 222
Found a cycle with length 1249 starting from number 223
Found a cycle with length 1673 starting from number 224
Found a cycle with length 4356 starting from number 225
Found a cycle with length 1249 starting from number 226
Found a cycle with length 1673 starting from number 227
Found a cycle with length 4356 starting from number 228
Found a cycle with length 987 starting from number 229
Found a cycle with length 1673 starting from number 230
Found a cycle with length 4356 starting from number 231
Found a cycle with length 1249 starting from number 232
Found a cycle with length 1673 starting from number 233
Found a cycle with length 4356 starting from number 234
Found a cycle with length 1249 starting from number 235
Found a cycle with length 914 starting from number 236
Found a cycle with length 4356 starting from number 237
Found a cycle with length 1249 starting from number 238
Found a cycle with length 914 starting from number 239
Found a cycle with length 4356 starting from number 240
Found a cycle with length 236 starting from number 241
Found a cycle with length 1673 starting from number 242
Found a cycle with length 4356 starting from number 243
Found a cycle with length 1249 starting from number 244
Found a cycle with length 1673 starting from number 245
Found a cycle with length 4356 starting from number 246
Found a cycle with length 1249 starting from number 247
Found a cycle with length 1673 starting from number 248
Found a cycle with length 4356 starting from number 249
Found a cycle with length 1249 starting from number 250
Found a cycle with length 301 starting from number 251
Found a cycle with length 4356 starting from number 252
Found a cycle with length 1249 starting from number 253
Found a cycle with length 1673 starting from number 254
Found a cycle with length 4356 starting from number 255
Found a cycle with length 1249 starting from number 256
Found a cycle with length 914 starting from number 257
Found a cycle with length 403 starting from number 258
Found a cycle with length 1249 starting from number 259
Found a cycle with length 1673 starting from number 260
Found a cycle with length 403 starting from number 261
Found a cycle with length 1249 starting from number 262
Found a cycle with length 914 starting from number 263
Found a cycle with length 4356 starting from number 264
Found a cycle with length 1249 starting from number 265
Found a cycle with length 1673 starting from number 266
Found a cycle with length 4356 starting from number 267
Found a cycle with length 1249 starting from number 268
Found a cycle with length 1673 starting from number 269
Found a cycle with length 4356 starting from number 270
Found a cycle with length 1249 starting from number 271
Found a cycle with length 1673 starting from number 272
Found a cycle with length 4356 starting from number 273
Found a cycle with length 1249 starting from number 274
Found a cycle with length 914 starting from number 275
Found a cycle with length 4356 starting from number 276
Found a cycle with length 1249 starting from number 277
Found a cycle with length 1673 starting from number 278
Found a cycle with length 4356 starting from number 279
Found a cycle with length 1249 starting from number 280
Found a cycle with length 914 starting from number 281
Found a cycle with length 4356 starting from number 282
Found a cycle with length 1249 starting from number 283
Found a cycle with length 1673 starting from number 284
Found a cycle with length 403 starting from number 285
Found a cycle with length 1249 starting from number 286
Found a cycle with length 1673 starting from number 287
Found a cycle with length 4356 starting from number 288
Found a cycle with length 987 starting from number 289
Found a cycle with length 1673 starting from number 290
Found a cycle with length 4356 starting from number 291
Found a cycle with length 987 starting from number 292
Found a cycle with length 914 starting from number 293
Found a cycle with length 4356 starting from number 294
Found a cycle with length 1249 starting from number 295
Found a cycle with length 1673 starting from number 296
Found a cycle with length 4356 starting from number 297
Found a cycle with length 987 starting from number 298
Found a cycle with length 301 starting from number 299
Found a cycle with length 4356 starting from number 300
Found a cycle with length 1249 starting from number 301
Found a cycle with length 1673 starting from number 302
Found a cycle with length 4356 starting from number 303
Found a cycle with length 1249 starting from number 304
Found a cycle with length 1673 starting from number 305
Found a cycle with length 4356 starting from number 306
Found a cycle with length 1249 starting from number 307
Found a cycle with length 914 starting from number 308
Found a cycle with length 403 starting from number 309
Found a cycle with length 1249 starting from number 310
Found a cycle with length 914 starting from number 311
Found a cycle with length 4356 starting from number 312
Found a cycle with length 1249 starting from number 313
Found a cycle with length 1673 starting from number 314
Found a cycle with length 4356 starting from number 315
Found a cycle with length 987 starting from number 316
Found a cycle with length 914 starting from number 317
Found a cycle with length 4356 starting from number 318
Found a cycle with length 987 starting from number 319
Found a cycle with length 1673 starting from number 320
Found a cycle with length 4356 starting from number 321
Found a cycle with length 1249 starting from number 322
Found a cycle with length 1673 starting from number 323
Found a cycle with length 4356 starting from number 324
Found a cycle with length 1249 starting from number 325
Found a cycle with length 914 starting from number 326
Found a cycle with length 4356 starting from number 327
Found a cycle with length 1249 starting from number 328
Found a cycle with length 914 starting from number 329
Found a cycle with length 4356 starting from number 330
Found a cycle with length 1249 starting from number 331
Found a cycle with length 1673 starting from number 332
Found a cycle with length 4356 starting from number 333
Found a cycle with length 1249 starting from number 334
Found a cycle with length 1673 starting from number 335
Found a cycle with length 4356 starting from number 336
Found a cycle with length 1249 starting from number 337
Found a cycle with length 1673 starting from number 338
Found a cycle with length 394 starting from number 339
Found a cycle with length 1249 starting from number 340
Found a cycle with length 1673 starting from number 341
Found a cycle with length 4356 starting from number 342
Found a cycle with length 1249 starting from number 343
Found a cycle with length 1673 starting from number 344
Found a cycle with length 4356 starting from number 345
Found a cycle with length 987 starting from number 346
Found a cycle with length 914 starting from number 347
Found a cycle with length 4356 starting from number 348
Found a cycle with length 1249 starting from number 349
Found a cycle with length 1673 starting from number 350
Found a cycle with length 4356 starting from number 351
Found a cycle with length 1249 starting from number 352
Found a cycle with length 1673 starting from number 353
Found a cycle with length 4356 starting from number 354
Found a cycle with length 1249 starting from number 355
Found a cycle with length 1673 starting from number 356
Found a cycle with length 4356 starting from number 357
Found a cycle with length 1249 starting from number 358
Found a cycle with length 1673 starting from number 359
Found a cycle with length 4356 starting from number 360
Found a cycle with length 987 starting from number 361
Found a cycle with length 914 starting from number 362
Found a cycle with length 4356 starting from number 363
Found a cycle with length 987 starting from number 364
Found a cycle with length 1673 starting from number 365
Found a cycle with length 403 starting from number 366
Found a cycle with length 1249 starting from number 367
Found a cycle with length 1673 starting from number 368
Found a cycle with length 4356 starting from number 369
Found a cycle with length 1249 starting from number 370
Found a cycle with length 914 starting from number 371
Found a cycle with length 4356 starting from number 372
Found a cycle with length 1249 starting from number 373
Found a cycle with length 914 starting from number 374
Found a cycle with length 4356 starting from number 375
Found a cycle with length 1249 starting from number 376
Found a cycle with length 1673 starting from number 377
Found a cycle with length 403 starting from number 378
Found a cycle with length 1249 starting from number 379
Found a cycle with length 914 starting from number 380
Found a cycle with length 4356 starting from number 381
Found a cycle with length 1249 starting from number 382
Found a cycle with length 1673 starting from number 383
Found a cycle with length 4356 starting from number 384
Found a cycle with length 1249 starting from number 385
Found a cycle with length 1673 starting from number 386
Found a cycle with length 403 starting from number 387
Found a cycle with length 1249 starting from number 388
Found a cycle with length 1673 starting from number 389
Found a cycle with length 403 starting from number 390
Found a cycle with length 987 starting from number 391
Found a cycle with length 914 starting from number 392
Found a cycle with length 394 starting from number 393
Found a cycle with length 1249 starting from number 394
Found a cycle with length 1673 starting from number 395
Found a cycle with length 4356 starting from number 396
Found a cycle with length 1249 starting from number 397
Found a cycle with length 1673 starting from number 398
Found a cycle with length 4356 starting from number 399
Found a cycle with length 1249 starting from number 400
Found a cycle with length 1673 starting from number 401
Found a cycle with length 4356 starting from number 402
Found a cycle with length 1249 starting from number 403
Found a cycle with length 1673 starting from number 404
Found a cycle with length 4356 starting from number 405
Found a cycle with length 1249 starting from number 406
Found a cycle with length 301 starting from number 407
Found a cycle with length 4356 starting from number 408
Found a cycle with length 1249 starting from number 409
Found a cycle with length 1673 starting from number 410
Found a cycle with length 403 starting from number 411
Found a cycle with length 236 starting from number 412
Found a cycle with length 1673 starting from number 413
Found a cycle with length 4356 starting from number 414
Found a cycle with length 236 starting from number 415
Found a cycle with length 1673 starting from number 416
Found a cycle with length 4356 starting from number 417
Found a cycle with length 987 starting from number 418
Found a cycle with length 914 starting from number 419
Found a cycle with length 4356 starting from number 420
Found a cycle with length 236 starting from number 421
Found a cycle with length 1673 starting from number 422
Found a cycle with length 4356 starting from number 423
Found a cycle with length 1249 starting from number 424
Found a cycle with length 1673 starting from number 425
Found a cycle with length 4356 starting from number 426
Found a cycle with length 1249 starting from number 427
Found a cycle with length 1673 starting from number 428
Found a cycle with length 4356 starting from number 429
Found a cycle with length 1249 starting from number 430
Found a cycle with length 1673 starting from number 431
Found a cycle with length 4356 starting from number 432
Found a cycle with length 1249 starting from number 433
Found a cycle with length 1673 starting from number 434
Found a cycle with length 4356 starting from number 435
Found a cycle with length 987 starting from number 436
Found a cycle with length 914 starting from number 437
Found a cycle with length 4356 starting from number 438
Found a cycle with length 1249 starting from number 439
Found a cycle with length 1673 starting from number 440
Found a cycle with length 4356 starting from number 441
Found a cycle with length 1249 starting from number 442
Found a cycle with length 1673 starting from number 443
Found a cycle with length 4356 starting from number 444
Found a cycle with length 1249 starting from number 445
Found a cycle with length 1673 starting from number 446
Found a cycle with length 403 starting from number 447
Found a cycle with length 987 starting from number 448
Found a cycle with length 1673 starting from number 449
Found a cycle with length 4356 starting from number 450
Found a cycle with length 236 starting from number 451
Found a cycle with length 1673 starting from number 452
Found a cycle with length 4356 starting from number 453
Found a cycle with length 1249 starting from number 454
Found a cycle with length 914 starting from number 455
Found a cycle with length 403 starting from number 456
Found a cycle with length 1249 starting from number 457
Found a cycle with length 914 starting from number 458
Found a cycle with length 4356 starting from number 459
Found a cycle with length 1249 starting from number 460
Found a cycle with length 1673 starting from number 461
Found a cycle with length 4356 starting from number 462
Found a cycle with length 987 starting from number 463
Found a cycle with length 1673 starting from number 464
Found a cycle with length 403 starting from number 465
Found a cycle with length 1249 starting from number 466
Found a cycle with length 1673 starting from number 467
Found a cycle with length 4356 starting from number 468
Found a cycle with length 1249 starting from number 469
Found a cycle with length 301 starting from number 470
Found a cycle with length 4356 starting from number 471
Found a cycle with length 1249 starting from number 472
Found a cycle with length 914 starting from number 473
Found a cycle with length 403 starting from number 474
Found a cycle with length 1249 starting from number 475
Found a cycle with length 1673 starting from number 476
Found a cycle with length 4356 starting from number 477
Found a cycle with length 1249 starting from number 478
Found a cycle with length 1673 starting from number 479
Found a cycle with length 4356 starting from number 480
Found a cycle with length 987 starting from number 481
Found a cycle with length 1673 starting from number 482
Found a cycle with length 4356 starting from number 483
Found a cycle with length 987 starting from number 484
Found a cycle with length 914 starting from number 485
Found a cycle with length 4356 starting from number 486
Found a cycle with length 1249 starting from number 487
Found a cycle with length 914 starting from number 488
Found a cycle with length 394 starting from number 489
Found a cycle with length 1249 starting from number 490
Found a cycle with length 914 starting from number 491
Found a cycle with length 4356 starting from number 492
Found a cycle with length 1249 starting from number 493
Found a cycle with length 1673 starting from number 494
Found a cycle with length 4356 starting from number 495
Found a cycle with length 1249 starting from number 496
Found a cycle with length 1673 starting from number 497
Found a cycle with length 394 starting from number 498
Found a cycle with length 1249 starting from number 499
Found a cycle with length 1673 starting from number 500

I guess the next question is: are cycles unique? So we build a set of lists (allows us to compare up to order)


In [63]:
cycle_set = {}

for N in range(1, NE+1):
    cycle_set[N] = set(TOTAL_ORDERED[N][TOTAL_ORDERED[N].index(TOTAL_LIST_START[N]):])

ANY_FOUND = False    

current_set_check = {}
current_set_index = {}

for i in range(1, NE+1):
    S = cycle_set[i]
    if len(S) not in current_set_check:
        current_set_check[len(S)] = S
        current_set_index[len(S)] = i
        continue
    
    if current_set_check[len(S)] != S:
        ANY_FOUND = True
        print("Collision found in chain of length {} between numbers {} and {}"
              .format(len(S), i, current_set_index[len(S)]))

if not ANY_FOUND:
    print("No collisions found.")


No collisions found.

In [60]:
for N in range(1, NE+1,3):
    print(len(CYCLE_SET[N]), end=", ")


1, 301, 4356, 1249, 1673, 4356, 236, 914, 4356, 1, 301, 4356, 1249, 1673, 4356, 236, 914, 4356, 1249, 301, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 914, 403, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 301, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 987, 1673, 4356, 1249, 914, 4356, 236, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 236, 914, 4356, 1249, 301, 4356, 1249, 1673, 394, 1249, 914, 4356, 1249, 914, 4356, 1249, 1673, 394, 1249, 1673, 4356, 1249, 1673, 403, 1249, 914, 4356, 1249, 1673, 142, 1, 301, 4356, 1249, 1673, 4356, 236, 914, 4356, 1249, 301, 4356, 1249, 914, 403, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 914, 4356, 236, 301, 403, 1249, 914, 4356, 1249, 914, 4356, 1249, 1673, 4356, 987, 914, 4356, 987, 1673, 403, 236, 1673, 4356, 236, 1673, 4356, 987, 914, 4356, 1249, 301, 4356, 236, 1673, 403, 1249, 1673, 4356, 236, 1673, 403, 987, 1673, 403, 1249, 1673, 4356, 1249, 914, 4356, 1249, 914, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 914, 4356, 987, 1673, 4356, 1249, 914, 4356, 1249, 1673, 4356, 987, 914, 4356, 1249, 1673, 4356, 987, 301, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 914, 4356, 236, 301, 403, 1249, 914, 4356, 1249, 914, 403, 1249, 1673, 4356, 1249, 1673, 4356, 987, 1673, 4356, 1249, 1673, 4356, 1249, 914, 4356, 1249, 914, 4356, 236, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 301, 4356, 1249, 1673, 4356, 1249, 914, 403, 1249, 1673, 403, 1249, 914, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 914, 4356, 1249, 1673, 4356, 1249, 914, 4356, 1249, 1673, 403, 1249, 1673, 4356, 987, 1673, 4356, 987, 914, 4356, 1249, 1673, 4356, 987, 301, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 914, 403, 1249, 914, 4356, 1249, 1673, 4356, 987, 914, 4356, 987, 1673, 4356, 1249, 1673, 4356, 1249, 914, 4356, 1249, 914, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 394, 1249, 1673, 4356, 1249, 1673, 4356, 987, 914, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 987, 914, 4356, 987, 1673, 403, 1249, 1673, 4356, 1249, 914, 4356, 1249, 914, 4356, 1249, 1673, 403, 1249, 914, 4356, 1249, 1673, 4356, 1249, 1673, 403, 1249, 1673, 403, 987, 914, 394, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 301, 4356, 1249, 1673, 403, 236, 1673, 4356, 236, 1673, 4356, 987, 914, 4356, 236, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 987, 914, 4356, 1249, 1673, 4356, 1249, 1673, 4356, 1249, 1673, 403, 987, 1673, 4356, 236, 1673, 4356, 1249, 914, 403, 1249, 914, 4356, 1249, 1673, 4356, 987, 1673, 403, 1249, 1673, 4356, 1249, 301, 4356, 1249, 914, 403, 1249, 1673, 4356, 1249, 1673, 4356, 987, 1673, 4356, 987, 914, 4356, 1249, 914, 394, 1249, 914, 4356, 1249, 1673, 4356, 1249, 1673, 394, 1249, 1673, 

In [ ]: