import math


def unclaimed_slot_weight(cpus, memory, disk):
    """
    Calculate slot weight, where one standard slot is 1 CPU and 2000 MB.
    Weight is returned as min of integral slots. Examples:
        unclaimed_slot_weight(cpus=1,memory=3000) => 1.0
        unclaimed_slot_weight(cpus=2,memory=3000) => 1.0
    """
    return math.floor(min(float(cpus),float(memory)/2000))