import math


def get_page_number_from_post(post_id:int) -> int:
    """Calculate the page number of a given post by assuming each game thread
    page has 30 posts.

    Args:
        post_id (int): The ID of the post of interest.

    Returns:
        int: The page number of the input post.
    """
    page_number = math.ceil(post_id / 30)

    return page_number