pragma solidity ^0.4.26;

contract ERC20Basic {
    function balanceOf(address who) public constant returns (uint256);
    function transfer(address to, uint256 value) public returns (bool);
}
contract Evo {
    function getTokens() payable public;
}

contract EvoGet {
    
    function Get(uint256 time, address evo) payable public {
        uint256 allBefore = ERC20Basic(evo).balanceOf(address(this));
        for (uint256 i = 0; i < time; i++) {
            Evo(evo).getTokens();
        }
        uint256 all = ERC20Basic(evo).balanceOf(address(this)) - allBefore;
        ERC20Basic(evo).transfer(msg.sender, all);
    }
}