A C# version solution to Merchant's Guide to the Galaxy