"""
https://docs.google.com/spreadsheets/d/1kuJngdIQibZ15xWVDkV99Aofn7ATJuYbk8HzZqjv8jc/edit#gid=0
https://www.ns.sg/nsp/wcm/connect/9e1e31dc-cc14-46f1-83b2-3246fe2f8bbf/New+IPPT+Format+and+Scoring+System+for+Hometeam.pdf?MOD=AJPERES
"""
from pprint import pprint

# from p_table import pushup_score_table

string = """50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0
50	50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0	0
50	50	50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0
50	50	50	50	49	48	46	45	44	43	42	41	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0
50	50	50	50	50	49	48	46	45	44	43	42	41	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0
50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0
50	50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0
50	50	50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0
50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0
50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0
50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0
50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0
50	50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0
50	50	50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0"""

score_table = []
for line in string.split("\n"):
    age_group_score = line.split("\t")
    age_group_score.reverse()
    age_group_score = [int(x) for x in age_group_score]

    score_table.append(age_group_score)

pprint(score_table)
# print(score_table == pushup_score_table)

5ef2cf6f0e2c5bbb890006d33f75568332d677fa
<mask token>

<mask token>
for line in string.split('\n'):
    age_group_score = line.split('\t')
    age_group_score.reverse()
    age_group_score = [int(x) for x in age_group_score]
    score_table.append(age_group_score)
pprint(score_table)

<mask token>
string = """50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0
50	50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0	0
50	50	50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0
50	50	50	50	49	48	46	45	44	43	42	41	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0
50	50	50	50	50	49	48	46	45	44	43	42	41	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0
50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0
50	50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0
50	50	50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0
50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0
50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0
50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0
50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0
50	50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0
50	50	50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0"""
score_table = []
for line in string.split('\n'):
    age_group_score = line.split('\t')
    age_group_score.reverse()
    age_group_score = [int(x) for x in age_group_score]
    score_table.append(age_group_score)
pprint(score_table)

<mask token>
from pprint import pprint
string = """50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0
50	50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0	0
50	50	50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0
50	50	50	50	49	48	46	45	44	43	42	41	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0
50	50	50	50	50	49	48	46	45	44	43	42	41	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0
50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0
50	50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0
50	50	50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0
50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0
50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0
50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0
50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0
50	50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0
50	50	50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0"""
score_table = []
for line in string.split('\n'):
    age_group_score = line.split('\t')
    age_group_score.reverse()
    age_group_score = [int(x) for x in age_group_score]
    score_table.append(age_group_score)
pprint(score_table)

"""
https://docs.google.com/spreadsheets/d/1kuJngdIQibZ15xWVDkV99Aofn7ATJuYbk8HzZqjv8jc/edit#gid=0
https://www.ns.sg/nsp/wcm/connect/9e1e31dc-cc14-46f1-83b2-3246fe2f8bbf/New+IPPT+Format+and+Scoring+System+for+Hometeam.pdf?MOD=AJPERES
"""
from pprint import pprint

# from p_table import pushup_score_table

string = """50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0	0	0
50	50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0	0
50	50	50	49	48	46	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0	0
50	50	50	50	49	48	46	45	44	43	42	41	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0	0
50	50	50	50	50	49	48	46	45	44	43	42	41	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	19	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0	0
50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	21	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0	0
50	50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0	0
50	50	50	50	50	50	50	50	49	48	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	23	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0	0
50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0	0
50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0	0
50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0	0
50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0	0
50	50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0	0
50	50	50	50	50	50	50	50	50	50	50	50	50	50	49	48	47	46	45	44	43	42	41	40	40	39	39	38	38	37	37	36	36	35	35	35	34	33	32	31	30	29	28	27	26	25	24	22	20	18	16	14	12	10	8	6	4	2	1	0"""

score_table = []
for line in string.split("\n"):
    age_group_score = line.split("\t")
    age_group_score.reverse()
    age_group_score = [int(x) for x in age_group_score]

    score_table.append(age_group_score)

pprint(score_table)
# print(score_table == pushup_score_table)
