Visualizing A Meteor

It's gonna crash into you! Watch- *static*

Assuming A, B, C are all numbers to check on the module, and # represents any number to ignore when checking, first examine the group ABC in any of the following configurations:

ABC
A#B#C
A##B##C
A###B###C
A####B####C
A#####B#####C

Now look if the combination for A, B, C in the next table is present in the sequence in the order, CBA or ABC.

000111222333444555666777888999
012123234345456567678789
024135246357468579
036147258369
048159

If the combination of numbers is present when examining any of the mentioned configurations, submit the result at the end of the sequence. I.E. If your sequence is 1##5##9, you submit the 9 in this case. If the sequence is 8#####5####2, you submit the 2 in this case.