Gaius Letters

Time limit: 1000 ms
Memory limit: 256 MB

In order to solve this challenge, you will need to break the code used to encrypt it!

M fdahq ime ragzp uz Dayq oazfmuzuzs tgzpdqpe ar xqffqde iduffqz nk Vgxuge Omqemd. Mxx ar ftqy iqdq qzodkbfqp iuft m Omqemd oubtqd iuft ftq wqk egebqofqp fa nq tue nudftpmk uz Vgxk.

Idufq m bdasdmy fa pqodkbf ftq xqffqde.

Azxk ftq mxbtmnqf otmdmofqde rday Mm fa Ll mdq qzodkbfqp. Gbbqdomeq mzp xaiqdomeq otmdmofqde mdq qzodkbfqp ftq emyq imk ituxq bdqeqdhuzs ftqud omeq. Zgynqde, ebmoqe, mzp ebqoumx otmdmofqde mdq mxx wqbf gzotmzsqp.

Efmzpmdp uzbgf

Kagd bdasdmy ygef dqmp ftq fqjf ar ftq xqffqde rday ftq efmzpmdp uzbgf iuft m ymjuygy ar Z=10000Z=10000 otmdmofqde. Ftq uzbgf iuxx nq m efduzs uz m euzsxq xuzq.

Efmzpmdp agfbgf

Kagd bdasdmy ygef bduzf ftq pqodkbfqp fqjf rad ftq uzbgf efduzs fa ftq efmzpmdp agfbgf.

Oazefdmuzfe mzp zafqe

  • 1Z1041 \leq Z \leq 10^4

InputOutputExplanation
U iuxx nq mf ftq eqzmfq fapmk fa tqmd m bqfufuaz rday Fuxxuge. Omeeuge mzp Ndgfge tmhq nqqz mofuzs efdmzsq. Etagxp nq nmow uz fuyq rad puzzqd.
I will be at the senate today to hear a petition from Tillius. Cassius and Brutus have been acting strange. Should be back in time for dinner.

Ftue ime ftq xmef xqffqd ragzp uz ftq mdotuhq. Ftq agfbgf ue ftq pqodkbfqp hqdeuaz ar ftq qzodkbfqp uzbgf.

Authenticate to use the workspace

Log In
Sign Up
Forgot Password?
or connect with