Quaternary memory based on magnetic skyrmion