<gh_stars>10-100
#!/usr/bin/env python3

"""
    TASK - Print to screen the number of labs for a given number of students.
    TODO (Primary path)
    1, print welcome message
    2, get number of students
    3, divide number of students by the number of pcs in a room (need discussion - many ways to do this!)
    4, print out the result with meaningful message.
"""

__author__  = "<NAME>"
__email__   = "<EMAIL>"
__licence__ = "The Unlicense"
__version__ = "2019-10-11"

try:
    print("Welcome, please enter a number of students")
    number_of_students = int(input())
    if number_of_students < 1:
        print("please enter a number greater than zero")
    else:
        number_of_rooms = number_of_students // 24
        remainder = number_of_students % 24

        if remainder != 0:
            number_of_rooms += 1

        if number_of_rooms == 1:
            print("You will need", number_of_rooms, "room")
        else:
            print("You will need", number_of_rooms, "rooms")#

except ValueError:
    print("Please enter a whole number")
