def caesar_encode(p_offset, p_input_text):
    """
    Encode a text using caesar method with an specific offset
    :param p_offset: offset that will be used with the alphabet
    :param p_input_text: text that will be cyphered
    :return: the text cyphered
    """
    alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    output_text = ""
    # It will take a char from the alphabet with the offset added
    for i in p_input_text:
        pos = alphabet.find(i)
        output_text += alphabet[(pos + p_offset) % len(alphabet)]
    return output_text