Problem:

Bank card numbers are not random, they carry information for the card processor (Visa/Mastercard etc), bank which issued the card, the account and checksum. More on the subject is available at http://en.wikipedia.org/wiki/Bank_card_number

Make code which enters card number and validate it i.e. writes VALID or INVALID number has been entered.

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday February 16th.