
    Design a grading algorithm that calculates the expected answer for a student's geometry assessment by determining the lateral surface area of a cube-shaped object when given its side length, where the lateral surface area includes only the four vertical faces of the cube. The algorithm will be used to automatically evaluate whether students correctly calculated the surface area in their written responses.
    

    
def lateralsurface_cube(l):
    """
    Design a grading algorithm that calculates the expected answer for a student's geometry assessment by determining the lateral surface area of a cube-shaped object when given its side length, where the lateral surface area includes only the four vertical faces of the cube. The algorithm will be used to automatically evaluate whether students correctly calculated the surface area in their written responses.
    

    """
def lateralsurface_cube(l):
    """
    Design a grading algorithm that calculates the expected answer for a student's geometry assessment by determining the lateral surface area of a cube-shaped object when given its side length, where the lateral surface area includes only the four vertical faces of the cube. The algorithm will be used to automatically evaluate whether students correctly calculated the surface area in their written responses.
    

    """
    LSA = 4 * (l * l)
    return LSA