Jonathan and members of his Spanish Club are going to Costa Rica. He purchases 10 traveler's checks in denominations of $20, and $100, totaling $370. He has twice as many $20 checks as $50 checks. How many of each denomination does he have?