// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

/*
    ██████╗░░░██╗██╗███████╗░░░░░░░█████╗░░█████╗░███╗░░░███╗██╗░█████╗░░██████╗
    ╚════██╗░██╔╝██║╚════██║░░░░░░██╔══██╗██╔══██╗████╗░████║██║██╔══██╗██╔════╝
    ░░███╔═╝██╔╝░██║░░░░██╔╝█████╗██║░░╚═╝██║░░██║██╔████╔██║██║██║░░╚═╝╚█████╗░
    ██╔══╝░░███████║░░░██╔╝░╚════╝██║░░██╗██║░░██║██║╚██╔╝██║██║██║░░██╗░╚═══██╗
    ███████╗╚════██║░░██╔╝░░░░░░░░╚█████╔╝╚█████╔╝██║░╚═╝░██║██║╚█████╔╝██████╔╝
    ╚══════╝░░░░░╚═╝░░╚═╝░░░░░░░░░░╚════╝░░╚════╝░╚═╝░░░░░╚═╝╚═╝░╚════╝░╚═════╝░
*/

contract BiPlaneBobo {
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual {}
}

contract BoboBurn is Ownable {
    error BurnNotOn();
    error NoBurnsLeft();
    error NotEnoughPoints();
    error BurnedAlready();
    event ThankYouFromBoboAndTeam();
    event YourStudioBadgeWillArriveSoon();

    BiPlaneBobo boboContract;
    address public boboAddress;
    address public targetBurnAddress =
        0x000000000000000000000000000000000000dEaD;
    uint16[5001] public tokenIdPointValues;
    uint16 public pointsRequiredToBurn = 247;
    uint8 public maxTotalBurn = 20;
    uint8 public burnCounter = 0;
    BurnState public burnState = BurnState.OFF;
    mapping(address => bool) public hasBurned;
    mapping(address => bool) public burnedGold;

    // @dev OFF and COMPLETE are both sale-off states. Distinction is required/used for ease of frontend sale progression context.
    enum BurnState {
        OFF,
        ON,
        COMPLETE
    }

    constructor(address burnContractToSet) {
        boboAddress = burnContractToSet;
        boboContract = BiPlaneBobo(boboAddress);
        tokenIdPointValues = [
            0,
            5,
            2,
            2,
            1,
            2,
            5,
            2,
            5,
            2,
            15,
            5,
            1,
            1,
            5,
            5,
            15,
            5,
            1,
            1,
            15,
            5,
            5,
            15,
            5,
            1,
            2,
            5,
            1,
            15,
            2,
            15,
            1,
            5,
            1,
            5,
            5,
            2,
            15,
            1,
            1,
            5,
            1,
            5,
            5,
            50,
            5,
            1,
            5,
            1,
            1,
            1,
            15,
            1,
            5,
            15,
            1,
            5,
            2,
            1,
            15,
            1,
            1,
            1,
            5,
            1,
            5,
            1,
            15,
            5,
            5,
            15,
            1,
            15,
            5,
            1,
            1,
            5,
            5,
            5,
            1,
            15,
            1,
            15,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            2,
            1,
            5,
            2,
            1,
            5,
            2,
            1,
            5,
            15,
            15,
            1,
            1,
            1,
            1,
            5,
            5,
            5,
            2,
            5,
            5,
            15,
            5,
            15,
            1,
            15,
            5,
            1,
            15,
            5,
            1,
            15,
            5,
            1,
            15,
            1,
            15,
            2,
            1,
            5,
            1,
            1,
            5,
            5,
            1,
            1,
            1,
            1,
            2,
            5,
            1,
            5,
            1,
            2,
            5,
            1,
            2,
            1,
            5,
            5,
            5,
            1,
            5,
            15,
            5,
            15,
            1,
            5,
            15,
            1,
            1,
            5,
            50,
            5,
            1,
            1,
            1,
            1,
            5,
            5,
            1,
            2,
            1,
            5,
            5,
            1,
            5,
            15,
            15,
            5,
            5,
            5,
            5,
            5,
            1,
            2,
            50,
            5,
            1,
            15,
            5,
            5,
            1,
            5,
            5,
            1,
            5,
            15,
            5,
            5,
            2,
            2,
            2,
            5,
            1,
            15,
            1,
            1,
            5,
            1,
            5,
            50,
            5,
            1,
            5,
            1,
            5,
            2,
            15,
            5,
            1,
            1,
            15,
            5,
            1,
            2,
            15,
            1,
            50,
            1,
            5,
            1,
            5,
            5,
            5,
            50,
            1,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            5,
            1,
            15,
            15,
            5,
            2,
            5,
            5,
            5,
            1,
            15,
            15,
            5,
            5,
            15,
            5,
            1,
            5,
            1,
            5,
            1,
            15,
            5,
            5,
            15,
            5,
            1,
            1,
            2,
            1,
            15,
            1,
            5,
            50,
            5,
            1,
            2,
            5,
            5,
            1,
            5,
            1,
            1,
            2,
            2,
            1,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            5,
            15,
            50,
            5,
            5,
            1,
            15,
            5,
            15,
            5,
            5,
            5,
            1,
            15,
            5,
            2,
            1,
            15,
            5,
            1,
            15,
            2,
            1,
            1,
            1,
            1,
            15,
            5,
            1,
            2,
            1,
            2,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            5,
            5,
            5,
            1,
            5,
            2,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            1,
            5,
            1,
            5,
            15,
            1,
            5,
            5,
            15,
            5,
            2,
            1,
            1,
            1,
            2,
            5,
            5,
            2,
            50,
            5,
            1,
            5,
            50,
            1,
            1,
            1,
            5,
            5,
            5,
            5,
            15,
            1,
            15,
            15,
            15,
            1,
            1,
            5,
            5,
            1,
            1,
            5,
            15,
            1,
            5,
            1,
            5,
            2,
            5,
            15,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            2,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            15,
            15,
            1,
            1,
            5,
            1,
            5,
            5,
            1,
            1,
            5,
            1,
            5,
            2,
            15,
            1,
            1,
            15,
            1,
            1,
            5,
            5,
            5,
            1,
            1,
            1,
            1,
            50,
            5,
            5,
            1,
            1,
            2,
            1,
            15,
            15,
            1,
            5,
            50,
            5,
            5,
            1,
            5,
            5,
            5,
            15,
            5,
            15,
            5,
            2,
            1,
            1,
            5,
            5,
            5,
            5,
            15,
            5,
            1,
            1,
            15,
            2,
            5,
            1,
            2,
            5,
            5,
            5,
            5,
            5,
            15,
            1,
            5,
            15,
            1,
            5,
            1,
            1,
            15,
            15,
            1,
            5,
            5,
            5,
            5,
            15,
            2,
            5,
            2,
            5,
            1,
            2,
            5,
            15,
            15,
            5,
            1,
            5,
            1,
            5,
            1,
            1,
            1,
            5,
            5,
            2,
            1,
            1,
            1,
            5,
            1,
            15,
            1,
            5,
            1,
            1,
            1,
            2,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            2,
            1,
            1,
            1,
            5,
            5,
            1,
            15,
            5,
            15,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            5,
            15,
            5,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            5,
            5,
            15,
            5,
            15,
            5,
            1,
            15,
            5,
            1,
            5,
            5,
            1,
            2,
            5,
            15,
            1,
            2,
            5,
            5,
            5,
            5,
            5,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            1,
            1,
            5,
            1,
            5,
            1,
            2,
            1,
            5,
            1,
            1,
            1,
            1,
            5,
            5,
            2,
            1,
            1,
            2,
            5,
            1,
            1,
            5,
            5,
            2,
            2,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            2,
            5,
            1,
            5,
            5,
            15,
            5,
            5,
            5,
            5,
            1,
            1,
            2,
            50,
            1,
            1,
            1,
            1,
            5,
            5,
            1,
            50,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            1,
            5,
            5,
            1,
            5,
            5,
            5,
            1,
            1,
            2,
            5,
            15,
            5,
            5,
            15,
            50,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            15,
            15,
            1,
            5,
            15,
            1,
            5,
            5,
            1,
            1,
            2,
            1,
            5,
            1,
            5,
            5,
            1,
            1,
            1,
            5,
            1,
            5,
            2,
            2,
            5,
            2,
            15,
            15,
            5,
            5,
            5,
            2,
            15,
            5,
            50,
            5,
            15,
            5,
            1,
            5,
            1,
            2,
            5,
            1,
            5,
            5,
            2,
            1,
            5,
            1,
            5,
            2,
            2,
            1,
            5,
            15,
            50,
            1,
            15,
            1,
            1,
            1,
            1,
            1,
            1,
            5,
            1,
            5,
            2,
            1,
            5,
            1,
            1,
            5,
            1,
            15,
            15,
            1,
            5,
            1,
            15,
            5,
            1,
            1,
            15,
            15,
            5,
            1,
            1,
            5,
            5,
            5,
            1,
            5,
            5,
            1,
            5,
            5,
            15,
            1,
            15,
            15,
            5,
            2,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            5,
            15,
            1,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            5,
            10000,
            2,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            5,
            15,
            2,
            1,
            1,
            5,
            1,
            1,
            15,
            1,
            5,
            1,
            1,
            2,
            1,
            2,
            1,
            15,
            5,
            5,
            5,
            15,
            5,
            1,
            1,
            2,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            5,
            1,
            50,
            5,
            15,
            2,
            1,
            5,
            5,
            1,
            15,
            15,
            2,
            1,
            1,
            15,
            5,
            2,
            5,
            5,
            1,
            2,
            5,
            5,
            1,
            15,
            2,
            1,
            5,
            5,
            5,
            5,
            1,
            15,
            1,
            5,
            15,
            1,
            5,
            15,
            1,
            5,
            50,
            5,
            1,
            10000,
            1,
            5,
            1,
            1,
            15,
            1,
            5,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            15,
            5,
            1,
            15,
            1,
            1,
            5,
            5,
            2,
            1,
            2,
            1,
            5,
            1,
            1,
            1,
            1,
            5,
            1,
            5,
            5,
            5,
            1,
            15,
            1,
            1,
            1,
            5,
            5,
            5,
            1,
            2,
            1,
            5,
            2,
            1,
            5,
            2,
            5,
            1,
            5,
            5,
            5,
            15,
            1,
            2,
            5,
            2,
            5,
            1,
            1,
            1,
            1,
            5,
            2,
            15,
            1,
            1,
            2,
            5,
            5,
            1,
            5,
            5,
            1,
            1,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            5,
            1,
            15,
            5,
            1,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            1,
            5,
            1,
            5,
            1,
            1,
            1,
            5,
            15,
            1,
            2,
            1,
            1,
            5,
            5,
            5,
            1,
            2,
            5,
            1,
            1,
            15,
            5,
            1,
            1,
            15,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            5,
            15,
            15,
            5,
            1,
            15,
            50,
            2,
            1,
            1,
            1,
            1,
            15,
            5,
            5,
            5,
            1,
            15,
            5,
            1,
            15,
            1,
            2,
            5,
            2,
            1,
            1,
            1,
            2,
            1,
            5,
            5,
            5,
            1,
            15,
            15,
            5,
            5,
            1,
            1,
            15,
            5,
            1,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            1,
            1,
            15,
            1,
            1,
            2,
            5,
            15,
            1,
            1,
            1,
            1,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            2,
            1,
            5,
            1,
            15,
            15,
            50,
            5,
            15,
            15,
            5,
            2,
            5,
            5,
            1,
            5,
            5,
            5,
            1,
            5,
            1,
            2,
            1,
            1,
            1,
            1,
            5,
            2,
            5,
            5,
            5,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            15,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            5,
            5,
            15,
            5,
            1,
            5,
            15,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            1,
            1,
            1,
            1,
            5,
            15,
            5,
            2,
            1,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            5,
            1,
            5,
            1,
            15,
            5,
            5,
            5,
            1,
            2,
            5,
            5,
            1,
            1,
            1,
            5,
            15,
            2,
            15,
            15,
            2,
            2,
            1,
            5,
            1,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            50,
            1,
            5,
            5,
            15,
            1,
            5,
            1,
            5,
            5,
            2,
            5,
            15,
            5,
            5,
            5,
            5,
            1,
            2,
            2,
            1,
            1,
            2,
            5,
            15,
            5,
            15,
            1,
            5,
            5,
            2,
            5,
            5,
            5,
            15,
            5,
            5,
            1,
            5,
            15,
            1,
            5,
            1,
            5,
            5,
            50,
            15,
            5,
            15,
            15,
            5,
            15,
            1,
            5,
            1,
            15,
            5,
            5,
            1,
            5,
            1,
            15,
            2,
            50,
            1,
            1,
            1,
            2,
            2,
            5,
            1,
            15,
            1,
            1,
            15,
            1,
            15,
            1,
            15,
            5,
            50,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            15,
            1,
            1,
            1,
            50,
            2,
            5,
            1,
            5,
            5,
            15,
            1,
            15,
            1,
            5,
            5,
            2,
            5,
            15,
            5,
            5,
            15,
            1,
            5,
            1,
            1,
            1,
            1,
            1,
            5,
            2,
            5,
            1,
            5,
            5,
            50,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            50,
            1,
            5,
            15,
            5,
            5,
            5,
            1,
            1,
            5,
            2,
            5,
            15,
            2,
            5,
            2,
            15,
            1,
            1,
            2,
            15,
            5,
            5,
            15,
            5,
            15,
            2,
            5,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            15,
            2,
            15,
            15,
            5,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            15,
            15,
            1,
            5,
            5,
            15,
            2,
            5,
            5,
            15,
            2,
            1,
            1,
            5,
            15,
            5,
            5,
            1,
            5,
            5,
            1,
            1,
            1,
            1,
            1,
            1,
            5,
            1,
            1,
            1,
            5,
            15,
            5,
            1,
            5,
            5,
            1,
            1,
            1,
            5,
            15,
            5,
            5,
            15,
            5,
            15,
            1,
            1,
            50,
            1,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            2,
            1,
            5,
            2,
            5,
            5,
            2,
            5,
            5,
            15,
            50,
            5,
            5,
            5,
            2,
            1,
            2,
            5,
            15,
            1,
            15,
            5,
            5,
            5,
            5,
            5,
            15,
            5,
            2,
            1,
            1,
            5,
            15,
            5,
            1,
            5,
            15,
            5,
            15,
            1,
            5,
            5,
            1,
            1,
            15,
            5,
            5,
            2,
            5,
            5,
            5,
            5,
            15,
            5,
            15,
            5,
            5,
            5,
            5,
            2,
            5,
            5,
            1,
            2,
            1,
            2,
            5,
            1,
            5,
            5,
            1,
            5,
            2,
            5,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            15,
            1,
            2,
            5,
            5,
            15,
            15,
            5,
            1,
            1,
            1,
            1,
            1,
            1,
            5,
            1,
            1,
            5,
            15,
            5,
            50,
            1,
            2,
            1,
            1,
            5,
            5,
            5,
            1,
            5,
            5,
            1,
            5,
            5,
            5,
            15,
            2,
            2,
            1,
            5,
            5,
            1,
            5,
            2,
            1,
            15,
            5,
            5,
            5,
            1,
            1,
            15,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            5,
            2,
            2,
            5,
            5,
            1,
            15,
            1,
            5,
            5,
            15,
            1,
            1,
            15,
            5,
            5,
            15,
            5,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            5,
            1,
            2,
            50,
            1,
            5,
            5,
            2,
            2,
            5,
            5,
            2,
            1,
            2,
            2,
            1,
            1,
            15,
            2,
            5,
            1,
            1,
            1,
            5,
            1,
            2,
            5,
            5,
            15,
            1,
            15,
            1,
            1,
            1,
            1,
            5,
            5,
            5,
            15,
            2,
            1,
            1,
            1,
            1,
            5,
            1,
            5,
            15,
            1,
            5,
            1,
            1,
            2,
            2,
            5,
            1,
            15,
            1,
            5,
            15,
            5,
            5,
            2,
            1,
            1,
            15,
            2,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            1,
            5,
            1,
            2,
            1,
            2,
            1,
            15,
            1,
            5,
            50,
            1,
            50,
            5,
            2,
            15,
            1,
            50,
            5,
            1,
            1,
            5,
            1,
            2,
            1,
            1,
            1,
            5,
            15,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            15,
            15,
            1,
            1,
            1,
            5,
            2,
            5,
            5,
            5,
            5,
            2,
            1,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            15,
            5,
            1,
            5,
            5,
            15,
            1,
            5,
            5,
            15,
            5,
            5,
            1,
            1,
            5,
            5,
            15,
            2,
            1,
            5,
            15,
            5,
            5,
            1,
            1,
            1,
            15,
            1,
            1,
            5,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            2,
            1,
            1,
            2,
            5,
            1,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            1,
            50,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            1,
            5,
            1,
            1,
            15,
            5,
            5,
            2,
            5,
            5,
            5,
            5,
            5,
            15,
            5,
            2,
            1,
            50,
            2,
            5,
            5,
            1,
            15,
            5,
            5,
            1,
            1,
            5,
            5,
            1,
            1,
            1,
            1,
            15,
            1,
            1,
            5,
            5,
            5,
            1,
            5,
            5,
            2,
            2,
            1,
            5,
            15,
            5,
            1,
            5,
            1,
            1,
            1,
            5,
            2,
            5,
            1,
            1,
            15,
            2,
            5,
            15,
            1,
            5,
            15,
            5,
            5,
            1,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            5,
            5,
            5,
            15,
            15,
            1,
            5,
            15,
            5,
            5,
            1,
            1,
            2,
            5,
            1,
            5,
            15,
            50,
            5,
            1,
            5,
            1,
            15,
            1,
            2,
            5,
            1,
            5,
            15,
            1,
            1,
            5,
            1,
            1,
            1,
            1,
            5,
            2,
            1,
            5,
            5,
            15,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            1,
            15,
            1,
            2,
            5,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            2,
            5,
            5,
            15,
            2,
            5,
            1,
            5,
            5,
            15,
            5,
            5,
            1,
            5,
            50,
            1,
            15,
            1,
            1,
            5,
            2,
            1,
            1,
            5,
            2,
            1,
            15,
            5,
            5,
            1,
            1,
            5,
            15,
            5,
            15,
            5,
            2,
            5,
            5,
            5,
            5,
            15,
            1,
            1,
            5,
            15,
            15,
            5,
            2,
            5,
            1,
            5,
            5,
            1,
            5,
            15,
            1,
            15,
            5,
            5,
            1,
            15,
            5,
            5,
            15,
            5,
            1,
            5,
            5,
            5,
            5,
            5,
            15,
            5,
            1,
            5,
            1,
            2,
            5,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            15,
            5,
            15,
            5,
            5,
            5,
            2,
            15,
            1,
            15,
            2,
            1,
            5,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            5,
            1,
            1,
            1,
            1,
            1,
            1,
            5,
            50,
            5,
            1,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            15,
            1,
            2,
            1,
            5,
            15,
            1,
            5,
            1,
            5,
            5,
            2,
            50,
            5,
            15,
            10000,
            5,
            2,
            15,
            1,
            5,
            2,
            1,
            2,
            1,
            1,
            50,
            1,
            5,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            15,
            5,
            5,
            1,
            5,
            5,
            5,
            2,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            1,
            2,
            1,
            1,
            15,
            15,
            50,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            5,
            1,
            1,
            2,
            5,
            5,
            5,
            5,
            1,
            1,
            50,
            5,
            15,
            5,
            1,
            15,
            5,
            5,
            5,
            5,
            5,
            1,
            15,
            5,
            5,
            5,
            2,
            2,
            1,
            15,
            2,
            5,
            5,
            5,
            2,
            5,
            5,
            1,
            5,
            1,
            2,
            5,
            5,
            2,
            15,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            1,
            15,
            1,
            5,
            15,
            2,
            5,
            1,
            15,
            1,
            1,
            2,
            1,
            1,
            5,
            15,
            1,
            1,
            5,
            1,
            5,
            5,
            5,
            15,
            1,
            5,
            1,
            1,
            5,
            5,
            1,
            15,
            5,
            5,
            5,
            1,
            5,
            5,
            15,
            5,
            50,
            1,
            1,
            1,
            2,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            15,
            5,
            5,
            15,
            15,
            1,
            5,
            5,
            50,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            15,
            1,
            50,
            5,
            2,
            1,
            1,
            5,
            5,
            5,
            5,
            5,
            5,
            50,
            1,
            5,
            2,
            15,
            1,
            1,
            5,
            15,
            2,
            2,
            5,
            1,
            1,
            1,
            2,
            5,
            1,
            5,
            1,
            5,
            1,
            5,
            15,
            5,
            2,
            1,
            5,
            2,
            1,
            1,
            15,
            5,
            1,
            5,
            2,
            1,
            1,
            5,
            15,
            5,
            5,
            2,
            5,
            15,
            5,
            15,
            1,
            1,
            5,
            1,
            1,
            1,
            15,
            1,
            1,
            5,
            2,
            15,
            5,
            5,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            2,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            1,
            5,
            1,
            15,
            2,
            5,
            5,
            2,
            2,
            5,
            1,
            5,
            1,
            1,
            5,
            1,
            1,
            1,
            15,
            15,
            5,
            50,
            5,
            2,
            15,
            15,
            15,
            1,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            15,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            5,
            15,
            1,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            2,
            2,
            5,
            1,
            1,
            15,
            1,
            1,
            1,
            5,
            1,
            5,
            1,
            1,
            1,
            15,
            5,
            1,
            5,
            15,
            5,
            5,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            50,
            5,
            5,
            1,
            1,
            5,
            5,
            1,
            2,
            1,
            15,
            5,
            5,
            5,
            1,
            1,
            1,
            2,
            15,
            50,
            5,
            15,
            1,
            5,
            1,
            5,
            5,
            1,
            15,
            1,
            2,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            15,
            5,
            5,
            5,
            1,
            1,
            15,
            1,
            15,
            1,
            50,
            15,
            5,
            1,
            1,
            5,
            5,
            5,
            1,
            2,
            5,
            1,
            1,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            5,
            5,
            5,
            2,
            1,
            1,
            1,
            5,
            1,
            2,
            2,
            5,
            5,
            5,
            5,
            15,
            1,
            5,
            5,
            2,
            5,
            5,
            5,
            5,
            5,
            5,
            15,
            1,
            1,
            5,
            5,
            5,
            1,
            1,
            2,
            1,
            5,
            5,
            5,
            5,
            2,
            1,
            5,
            1,
            5,
            2,
            15,
            2,
            5,
            1,
            1,
            5,
            1,
            2,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            2,
            1,
            15,
            1,
            15,
            1,
            1,
            1,
            15,
            1,
            1,
            5,
            1,
            15,
            15,
            5,
            5,
            1,
            5,
            2,
            15,
            1,
            5,
            15,
            50,
            1,
            5,
            1,
            5,
            1,
            5,
            15,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            15,
            5,
            15,
            5,
            1,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            2,
            5,
            1,
            5,
            5,
            1,
            5,
            2,
            15,
            1,
            1,
            1,
            15,
            1,
            5,
            5,
            1,
            5,
            5,
            1,
            5,
            5,
            50,
            15,
            1,
            15,
            1,
            1,
            1,
            5,
            1,
            2,
            5,
            5,
            5,
            1,
            1,
            1,
            50,
            1,
            5,
            1,
            1,
            2,
            15,
            1,
            2,
            1,
            5,
            5,
            1,
            5,
            15,
            50,
            5,
            1,
            5,
            5,
            1,
            1,
            1,
            5,
            2,
            1,
            5,
            10000,
            5,
            1,
            2,
            1,
            1,
            5,
            5,
            1,
            50,
            1,
            5,
            5,
            5,
            5,
            15,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            5,
            2,
            15,
            1,
            5,
            5,
            1,
            5,
            2,
            5,
            5,
            1,
            15,
            5,
            1,
            5,
            1,
            1,
            5,
            50,
            5,
            5,
            5,
            1,
            5,
            5,
            50,
            1,
            5,
            5,
            15,
            5,
            1,
            15,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            5,
            1,
            1,
            15,
            1,
            5,
            5,
            5,
            2,
            1,
            1,
            1,
            15,
            5,
            1,
            5,
            5,
            15,
            1,
            5,
            15,
            1,
            5,
            1,
            2,
            5,
            1,
            15,
            15,
            5,
            1,
            1,
            15,
            1,
            5,
            5,
            1,
            1,
            5,
            1,
            15,
            1,
            1,
            5,
            5,
            15,
            15,
            1,
            1,
            5,
            5,
            5,
            15,
            5,
            2,
            5,
            1,
            5,
            15,
            2,
            5,
            1,
            1,
            5,
            5,
            5,
            15,
            2,
            5,
            1,
            5,
            5,
            5,
            50,
            5,
            5,
            5,
            50,
            1,
            5,
            1,
            1,
            5,
            15,
            5,
            5,
            5,
            15,
            5,
            1,
            5,
            15,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            5,
            15,
            5,
            5,
            5,
            2,
            15,
            2,
            5,
            2,
            1,
            5,
            1,
            15,
            1,
            15,
            1,
            5,
            5,
            5,
            5,
            15,
            15,
            2,
            1,
            5,
            1,
            5,
            15,
            5,
            5,
            15,
            5,
            15,
            50,
            5,
            15,
            1,
            1,
            15,
            5,
            2,
            2,
            1,
            5,
            1,
            1,
            2,
            1,
            1,
            15,
            1,
            15,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            5,
            50,
            1,
            1,
            1,
            1,
            5,
            1,
            1,
            1,
            5,
            2,
            1,
            50,
            1,
            5,
            5,
            5,
            1,
            1,
            1,
            2,
            5,
            1,
            15,
            1,
            5,
            1,
            2,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            5,
            15,
            5,
            5,
            50,
            1,
            15,
            15,
            1,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            2,
            2,
            15,
            1,
            5,
            5,
            1,
            1,
            2,
            5,
            1,
            5,
            1,
            5,
            15,
            5,
            5,
            1,
            5,
            2,
            50,
            5,
            5,
            5,
            1,
            5,
            1,
            5,
            1,
            2,
            5,
            1,
            5,
            5,
            1,
            15,
            1,
            1,
            5,
            5,
            5,
            1,
            5,
            15,
            1,
            5,
            5,
            5,
            1,
            1,
            5,
            2,
            5,
            1,
            1,
            1,
            1,
            1,
            1,
            1,
            1,
            15,
            15,
            15,
            5,
            5,
            1,
            5,
            15,
            5,
            5,
            1,
            1,
            15,
            5,
            15,
            5,
            1,
            5,
            2,
            2,
            5,
            1,
            15,
            1,
            5,
            1,
            1,
            50,
            1,
            15,
            15,
            15,
            1,
            1,
            2,
            5,
            2,
            5,
            5,
            5,
            5,
            1,
            2,
            1,
            15,
            1,
            2,
            5,
            50,
            5,
            1,
            1,
            2,
            5,
            1,
            2,
            5,
            5,
            2,
            1,
            1,
            1,
            15,
            15,
            5,
            15,
            5,
            1,
            1,
            15,
            5,
            1,
            1,
            5,
            5,
            1,
            15,
            1,
            1,
            1,
            5,
            5,
            2,
            1,
            5,
            1,
            1,
            5,
            2,
            1,
            2,
            1,
            1,
            15,
            1,
            1,
            1,
            1,
            5,
            1,
            5,
            5,
            1,
            2,
            5,
            5,
            15,
            5,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            1,
            15,
            1,
            2,
            2,
            15,
            1,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            1,
            5,
            1,
            5,
            5,
            5,
            1,
            5,
            1,
            1,
            1,
            1,
            1,
            5,
            5,
            15,
            5,
            1,
            1,
            2,
            5,
            5,
            5,
            1,
            2,
            5,
            15,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            2,
            5,
            5,
            1,
            2,
            5,
            15,
            5,
            5,
            1,
            5,
            2,
            2,
            1,
            1,
            1,
            15,
            5,
            5,
            5,
            1,
            5,
            5,
            15,
            5,
            5,
            2,
            1,
            5,
            1,
            1,
            15,
            5,
            5,
            15,
            50,
            15,
            5,
            2,
            1,
            5,
            2,
            1,
            5,
            1,
            15,
            1,
            1,
            1,
            1,
            5,
            1,
            2,
            1,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            2,
            5,
            1,
            15,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            5,
            5,
            5,
            2,
            5,
            2,
            5,
            5,
            1,
            1,
            15,
            1,
            5,
            15,
            5,
            15,
            5,
            5,
            2,
            5,
            5,
            1,
            1,
            5,
            5,
            1,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            15,
            5,
            1,
            1,
            1,
            1,
            50,
            5,
            2,
            15,
            2,
            5,
            5,
            5,
            2,
            1,
            5,
            15,
            15,
            2,
            1,
            15,
            1,
            5,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            1,
            1,
            1,
            5,
            1,
            15,
            1,
            1,
            5,
            5,
            1,
            15,
            1,
            5,
            5,
            5,
            1,
            1,
            1,
            15,
            1,
            5,
            1,
            2,
            5,
            1,
            1,
            5,
            5,
            1,
            1,
            15,
            5,
            5,
            5,
            15,
            1,
            1,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            1,
            1,
            1,
            5,
            2,
            2,
            5,
            1,
            1,
            5,
            1,
            1,
            1,
            1,
            1,
            1,
            1,
            1,
            5,
            5,
            1,
            15,
            1,
            1,
            5,
            1,
            15,
            1,
            1,
            5,
            5,
            5,
            5,
            15,
            2,
            2,
            5,
            5,
            1,
            1,
            5,
            5,
            5,
            2,
            15,
            15,
            1,
            1,
            50,
            15,
            5,
            5,
            1,
            50,
            1,
            1,
            2,
            5,
            5,
            5,
            1,
            1,
            15,
            5,
            1,
            15,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            1,
            1,
            5,
            2,
            5,
            5,
            5,
            5,
            2,
            1,
            1,
            15,
            5,
            5,
            15,
            2,
            50,
            5,
            2,
            5,
            1,
            5,
            15,
            1,
            1,
            5,
            2,
            1,
            1,
            5,
            1,
            5,
            5,
            1,
            50,
            5,
            5,
            5,
            15,
            15,
            50,
            5,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            5,
            15,
            5,
            1,
            50,
            1,
            5,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            1,
            1,
            1,
            2,
            5,
            1,
            1,
            2,
            5,
            2,
            5,
            15,
            1,
            1,
            1,
            5,
            15,
            2,
            1,
            2,
            1,
            15,
            5,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            5,
            15,
            15,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            2,
            1,
            5,
            1,
            5,
            5,
            1,
            1,
            5,
            2,
            5,
            1,
            2,
            5,
            1,
            15,
            5,
            5,
            15,
            5,
            5,
            1,
            5,
            2,
            1,
            1,
            5,
            15,
            1,
            5,
            50,
            5,
            2,
            2,
            1,
            50,
            1,
            5,
            2,
            5,
            15,
            5,
            2,
            15,
            1,
            1,
            1,
            1,
            5,
            5,
            1,
            1,
            1,
            1,
            2,
            5,
            1,
            5,
            15,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            2,
            1,
            5,
            1,
            5,
            1,
            50,
            1,
            5,
            5,
            5,
            1,
            5,
            2,
            15,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            15,
            1,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            2,
            15,
            1,
            5,
            15,
            1,
            5,
            1,
            1,
            5,
            1,
            2,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            5,
            5,
            15,
            1,
            15,
            5,
            2,
            1,
            1,
            1,
            5,
            5,
            1,
            2,
            2,
            1,
            1,
            1,
            5,
            1,
            1,
            15,
            1,
            5,
            5,
            2,
            1,
            1,
            5,
            2,
            5,
            5,
            15,
            2,
            5,
            1,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            1,
            15,
            5,
            1,
            15,
            1,
            1,
            15,
            5,
            5,
            1,
            5,
            15,
            5,
            15,
            15,
            15,
            1,
            1,
            1,
            50,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            1,
            1,
            5,
            1,
            1,
            1,
            5,
            5,
            1,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            2,
            5,
            5,
            5,
            1,
            5,
            1,
            15,
            1,
            5,
            1,
            1,
            15,
            5,
            5,
            5,
            5,
            1,
            2,
            5,
            1,
            1,
            5,
            1,
            50,
            5,
            15,
            15,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            1,
            5,
            15,
            5,
            1,
            1,
            1,
            5,
            15,
            1,
            5,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            15,
            1,
            1,
            2,
            1,
            15,
            15,
            1,
            15,
            5,
            1,
            5,
            1,
            15,
            1,
            5,
            15,
            5,
            5,
            5,
            2,
            1,
            5,
            1,
            5,
            1,
            1,
            5,
            2,
            2,
            2,
            1,
            5,
            15,
            5,
            5,
            5,
            15,
            5,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            2,
            1,
            5,
            1,
            5,
            5,
            1,
            5,
            1,
            5,
            15,
            1,
            2,
            1,
            5,
            1,
            1,
            1,
            5,
            1,
            15,
            1,
            15,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            1,
            1,
            1,
            1,
            2,
            15,
            1,
            2,
            2,
            5,
            5,
            1,
            1,
            1,
            1,
            5,
            15,
            1,
            1,
            5,
            5,
            5,
            2,
            5,
            1,
            1,
            1,
            5,
            5,
            5,
            2,
            5,
            1,
            50,
            2,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            15,
            1,
            5,
            2,
            5,
            15,
            50,
            1,
            1,
            1,
            5,
            1,
            5,
            1,
            1,
            1,
            5,
            2,
            5,
            5,
            5,
            1,
            1,
            5,
            1,
            5,
            15,
            5,
            5,
            1,
            1,
            1,
            15,
            1,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            15,
            1,
            15,
            5,
            5,
            1,
            5,
            1,
            1,
            1,
            15,
            1,
            1,
            5,
            1,
            15,
            15,
            15,
            15,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            15,
            15,
            15,
            5,
            15,
            50,
            1,
            15,
            15,
            1,
            1,
            5,
            1,
            5,
            2,
            5,
            1,
            5,
            1,
            5,
            1,
            2,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            50,
            5,
            5,
            15,
            1,
            1,
            1,
            5,
            1,
            1,
            5,
            5,
            15,
            5,
            1,
            2,
            1,
            5,
            1,
            2,
            1,
            5,
            1,
            15,
            5,
            2,
            5,
            1,
            5,
            1,
            1,
            5,
            15,
            1,
            1,
            5,
            2,
            15,
            1,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            5,
            5,
            15,
            15,
            1,
            1,
            1,
            1,
            5,
            1,
            1,
            1,
            1,
            5,
            1,
            50,
            5,
            1,
            2,
            5,
            1,
            1,
            1,
            1,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            15,
            1,
            1,
            1,
            1,
            15,
            5,
            1,
            1,
            50,
            1,
            5,
            5,
            15,
            5,
            1,
            50,
            15,
            1,
            50,
            15,
            5,
            2,
            5,
            1,
            5,
            1,
            1,
            5,
            1,
            1,
            5,
            2,
            15,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            15,
            1,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            2,
            5,
            2,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            2,
            5,
            50,
            1,
            5,
            1,
            5,
            50,
            5,
            15,
            15,
            5,
            2,
            5,
            5,
            15,
            5,
            5,
            2,
            1,
            5,
            5,
            1,
            15,
            5,
            5,
            2,
            5,
            1,
            1,
            5,
            5,
            1,
            15,
            15,
            1,
            1,
            1,
            1,
            15,
            1,
            15,
            1,
            15,
            1,
            5,
            5,
            15,
            5,
            15,
            1,
            5,
            5,
            5,
            5,
            15,
            1,
            5,
            5,
            1,
            5,
            5,
            1,
            5,
            5,
            1,
            5,
            2,
            5,
            5,
            15,
            5,
            5,
            15,
            5,
            1,
            1,
            1,
            5,
            5,
            5,
            2,
            1,
            1,
            15,
            15,
            1,
            5,
            5,
            1,
            5,
            1,
            1,
            15,
            5,
            1,
            5,
            1,
            15,
            1,
            5,
            15,
            5,
            5,
            1,
            5,
            5,
            15,
            50,
            15,
            5,
            5,
            5,
            1,
            15,
            5,
            5,
            5,
            5,
            2,
            1,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            1,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            5,
            1,
            1,
            1,
            5,
            1,
            1,
            5,
            1,
            1,
            1,
            1,
            1,
            5,
            5,
            5,
            15,
            5,
            5,
            5,
            5,
            5,
            2,
            50,
            1,
            5,
            1,
            15,
            5,
            15,
            1,
            5,
            1,
            5,
            1,
            15,
            2,
            5,
            2,
            15,
            15,
            5,
            1,
            5,
            1,
            1,
            1,
            5,
            5,
            5,
            1,
            5,
            1,
            5,
            15,
            1,
            5,
            1,
            2,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            5,
            5,
            1,
            15,
            5,
            50,
            5,
            5,
            2,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            2,
            2,
            2,
            1,
            1,
            1,
            1,
            5,
            2,
            5,
            1,
            1,
            1,
            1,
            15,
            5,
            15,
            5,
            2,
            1,
            1,
            15,
            5,
            5,
            2,
            2,
            5,
            5,
            1,
            1,
            1,
            5,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            15,
            15,
            5,
            50,
            15,
            5,
            1,
            15,
            2,
            1,
            1,
            5,
            1,
            15,
            2,
            5,
            1,
            2,
            1,
            50,
            1,
            1,
            1,
            5,
            1,
            5,
            15,
            5,
            5,
            1,
            5,
            1,
            1,
            1,
            5,
            15,
            15,
            5,
            1,
            5,
            1,
            2,
            15,
            5,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            15,
            1,
            1,
            5,
            2,
            50,
            1,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            5,
            1,
            5,
            5,
            5,
            1,
            1,
            5,
            15,
            15,
            5,
            5,
            5,
            5,
            1,
            15,
            2,
            1,
            5,
            5,
            2,
            2,
            5,
            15,
            15,
            5,
            5,
            15,
            15,
            1,
            1,
            5,
            1,
            15,
            5,
            1,
            5,
            1,
            5,
            1,
            1,
            1,
            5,
            1,
            1,
            5,
            1,
            5,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            1,
            5,
            15,
            5,
            2,
            2,
            5,
            1,
            1,
            1,
            5,
            1,
            2,
            1,
            15,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            15,
            15,
            5,
            5,
            5,
            1,
            1,
            5,
            5,
            15,
            5,
            5,
            15,
            5,
            5,
            5,
            1,
            15,
            1,
            15,
            1,
            2,
            15,
            50,
            5,
            5,
            1,
            1,
            1,
            2,
            5,
            5,
            5,
            1,
            5,
            5,
            2,
            1,
            1,
            1,
            1,
            1,
            1,
            5,
            1,
            15,
            5,
            5,
            1,
            1,
            15,
            5,
            1,
            5,
            15,
            5,
            5,
            15,
            15,
            5,
            5,
            5,
            1,
            1,
            1,
            5,
            5,
            1,
            5,
            5,
            15,
            5,
            15,
            1,
            1,
            1,
            5,
            1,
            1,
            5,
            15,
            15,
            5,
            5,
            15,
            1,
            50,
            1,
            1,
            1,
            5,
            5,
            1,
            1,
            5,
            5,
            5,
            5,
            1,
            10000,
            5,
            15,
            1,
            1,
            5,
            1,
            5,
            5,
            1,
            1,
            5,
            50,
            1,
            15,
            5,
            5,
            1,
            15,
            15,
            5,
            1,
            1,
            1,
            5,
            1,
            1,
            5,
            2,
            5,
            5,
            2,
            15,
            5,
            1,
            1,
            5,
            1,
            1,
            1,
            1,
            15,
            1,
            1,
            5,
            15,
            5,
            5,
            15,
            15,
            15,
            5,
            5,
            5,
            5,
            5,
            5,
            2,
            5,
            2,
            5,
            15,
            15,
            1,
            5,
            15,
            5,
            1,
            1,
            1,
            5,
            1,
            5,
            15,
            1,
            5,
            1,
            5,
            15,
            15,
            1,
            1,
            15,
            5,
            15,
            1,
            2,
            15,
            1,
            5,
            5,
            15,
            1,
            5,
            1,
            1,
            5,
            1,
            1,
            2,
            1,
            5,
            5,
            1,
            1,
            1,
            1,
            5,
            1,
            5,
            5,
            5,
            5,
            1,
            5,
            1,
            5,
            5,
            15,
            1,
            15,
            15,
            5,
            1,
            5
        ];
    }

    // Owner functionality ------------------------------------------------------------------------
    /**
     * @notice Sets the burn contract address of the collection.
     * @param contractToSet The uri to set.
     */
    function setBurnContract(address contractToSet) external onlyOwner {
        boboAddress = contractToSet;
        boboContract = BiPlaneBobo(boboAddress);
    }

    /**
     * @notice Sets the amount of points required to burn.
     * @param pointsRequired The points required to set.
     */
    function setPointsRequiredToBurn(uint16 pointsRequired) external onlyOwner {
        pointsRequiredToBurn = pointsRequired;
    }

    /**
     * @notice Sets the amount burns available.
     * @param maxBurn The max amount of burns available.
     */
    function setMaxBurns(uint8 maxBurn) external onlyOwner {
        maxTotalBurn = maxBurn;
    }

    /**
     * @notice Sets the address to burn to.
     * @param burnAddress The new address.
     */
    function setBurnAddress(address burnAddress) external onlyOwner {
        targetBurnAddress = burnAddress;
    }

    /**
     * @notice Turns off burn
     */
    function setBurnOff() external onlyOwner {
        burnState = BurnState.OFF;
    }

    /**
     * @notice Turns on burn
     */
    function setBurnOn() external onlyOwner {
        burnState = BurnState.ON;
    }

    /**
     * @notice Sets burn complete (functionally equivalent to OFF)
     */
    function setBurnComplete() external onlyOwner {
        burnState = BurnState.COMPLETE;
    }

    /**
     * @notice Gets balanceOf studio badge for a given address.
     * @param ownerAddress The new address.
     */
    function balanceOf(address ownerAddress) public view returns (uint256) {
        return hasBurned[ownerAddress] ? 1 : 0;
    }

    // Burn functionality ------------------------------------------------------------------------
    /**
     * @notice Gets the point total for a given array of tokenids
     * @param tokenIdsToBurn The array of tokenIds to validate
     */
    function getPointTotal(uint256[] calldata tokenIdsToBurn)
        public
        view
        returns (uint16)
    {
        uint16 points;
        for (uint16 i = 0; i < tokenIdsToBurn.length; i++) {
            points += tokenIdPointValues[tokenIdsToBurn[i]];
        }
        return points;
    }

    /**
     * @notice Validates a burn is available, the minimum point requirement is met, and user has not already burned. Then burns all tokenIds in the array.
     * @dev Take note that msg.sender must own all tokenIds and must have called setApprovalForAll to give this contract permission to burn.
     * @param tokenIdsToBurn The array of tokenIds to validate.
     */
    function burn(uint256[] calldata tokenIdsToBurn) public {
        if (burnState != BurnState.ON) revert BurnNotOn();
        uint16 pointTotal = getPointTotal(tokenIdsToBurn);
        if (pointTotal < pointsRequiredToBurn) revert NotEnoughPoints();
        // Burning a gold bobo is worth 2 badges.
        // The only feasible way to burn 10k points is by burning a gold bobo.
        // In reality they are worth 500 points, but for this contract's functionality, they are set to 10k.
        if (pointTotal >= 10000 && burnCounter + 2 > maxTotalBurn)
            revert NoBurnsLeft();
        if (burnCounter + 1 > maxTotalBurn) revert NoBurnsLeft();
        if (hasBurned[msg.sender]) revert BurnedAlready();
        for (uint16 i = 0; i < tokenIdsToBurn.length; i++) {
            boboContract.transferFrom(
                msg.sender,
                targetBurnAddress,
                tokenIdsToBurn[i]
            );
        }
        emit ThankYouFromBoboAndTeam();
        emit YourStudioBadgeWillArriveSoon();
        hasBurned[msg.sender] = true;
        burnCounter++;
        if (pointTotal >= 10000) {
            // Burning a gold bobo is worth 2 badges
            burnCounter++;
            burnedGold[msg.sender] = true;
        }
    }
}