The elves have heard about geocaching, and want to set up their own! They have created a system with codes that are a maximum of 3 digits long (ie. 1-999). Their system randomly allocates codes, but it has broken! The elves need to identify all the correct codes, whilst removing the incorrect ones. Can you help them? Add up all the correct codes for your answer. They have provided you with a test input:
1878 259 1308 1801 244 1927 1418 1196 555 456
1514
Alert: You are about to download a file that contains details needed to find this geocache. As the geocache owner, I ensure that this file is safe to download. It has not been checked by Geocaching HQ or by the reviewer for possible malicious content. Download this file at your own risk.
Download input data:
Input Data File