Please help with Linux script to compare file two fields values

I need to compare two dates for each line of the .txt file. If value in position 11 is equal to �02407' and �21100220' minus �19860220' equal to 124 years I want to bypass this record, otherwise I want this record written to the output.

This is a sample data in the file:

19860220 02407 21100220

19660121 02501 20200218

19670301 02501 20200218

19880420 03105

I am trying to accomplish this with SED or AWK command.

This question looks like homework.

Please follow forum rules about homework.

Thanks