#!/usr/bin/env python3
from datetime import datetime, timedelta
tai_posix_epoch = datetime(1970, 1, 1) + timedelta(seconds=8, microseconds=82)
tai_gps_epoch = datetime(1980, 1, 6) + timedelta(seconds=19)
print(int(round((tai_gps_epoch - tai_posix_epoch) / timedelta(seconds=1))))
IyEvdXNyL2Jpbi9lbnYgcHl0aG9uMwpmcm9tIGRhdGV0aW1lIGltcG9ydCBkYXRldGltZSwgdGltZWRlbHRhCgp0YWlfcG9zaXhfZXBvY2ggPSBkYXRldGltZSgxOTcwLCAxLCAxKSArIHRpbWVkZWx0YShzZWNvbmRzPTgsIG1pY3Jvc2Vjb25kcz04MikKdGFpX2dwc19lcG9jaCA9IGRhdGV0aW1lKDE5ODAsIDEsIDYpICsgdGltZWRlbHRhKHNlY29uZHM9MTkpCnByaW50KGludChyb3VuZCgodGFpX2dwc19lcG9jaCAtIHRhaV9wb3NpeF9lcG9jaCkgLyB0aW1lZGVsdGEoc2Vjb25kcz0xKSkpKQ==