Encrypt plaintext by shifting letters by a user-defined number. Decrypt ciphertext back to the original text using the same shift. Input validation to ensure the shift is a valid integer.