Advertisement
Somepotato

ROT13 IN LAU

Jul 7th, 2012
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 20.81 KB | None | 0 0
  1. local ptr=0
  2. local stack={}
  3. stack[ptr]=string.byte(io.read(1))
  4. while(stack[ptr]~=0) do
  5. ptr=ptr+1
  6. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  7. ptr=ptr-1
  8. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  9. while(stack[ptr]~=0) do
  10. ptr=ptr+1
  11. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  12. ptr=ptr-1
  13. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  14. while(stack[ptr]~=0) do
  15. ptr=ptr+1
  16. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  17. ptr=ptr-1
  18. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  19. while(stack[ptr]~=0) do
  20. ptr=ptr+1
  21. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  22. ptr=ptr-1
  23. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  24. while(stack[ptr]~=0) do
  25. ptr=ptr+1
  26. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  27. ptr=ptr-1
  28. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  29. while(stack[ptr]~=0) do
  30. ptr=ptr+1
  31. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  32. ptr=ptr-1
  33. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  34. while(stack[ptr]~=0) do
  35. ptr=ptr+1
  36. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  37. ptr=ptr-1
  38. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  39. while(stack[ptr]~=0) do
  40. ptr=ptr+1
  41. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  42. ptr=ptr-1
  43. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  44. while(stack[ptr]~=0) do
  45. ptr=ptr+1
  46. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  47. ptr=ptr-1
  48. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  49. while(stack[ptr]~=0) do
  50. ptr=ptr+1
  51. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  52. ptr=ptr-1
  53. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  54. while(stack[ptr]~=0) do
  55. ptr=ptr+1
  56. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  57. ptr=ptr-1
  58. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  59. while(stack[ptr]~=0) do
  60. ptr=ptr+1
  61. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  62. ptr=ptr-1
  63. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  64. while(stack[ptr]~=0) do
  65. ptr=ptr+1
  66. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  67. ptr=ptr-1
  68. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  69. while(stack[ptr]~=0) do
  70. ptr=ptr+1
  71. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  72. ptr=ptr-1
  73. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  74. while(stack[ptr]~=0) do
  75. ptr=ptr+1
  76. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  77. ptr=ptr-1
  78. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  79. while(stack[ptr]~=0) do
  80. ptr=ptr+1
  81. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  82. ptr=ptr-1
  83. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  84. while(stack[ptr]~=0) do
  85. ptr=ptr+1
  86. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  87. ptr=ptr-1
  88. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  89. while(stack[ptr]~=0) do
  90. ptr=ptr+1
  91. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  92. ptr=ptr-1
  93. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  94. while(stack[ptr]~=0) do
  95. ptr=ptr+1
  96. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  97. ptr=ptr-1
  98. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  99. while(stack[ptr]~=0) do
  100. ptr=ptr+1
  101. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  102. ptr=ptr-1
  103. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  104. while(stack[ptr]~=0) do
  105. ptr=ptr+1
  106. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  107. ptr=ptr-1
  108. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  109. while(stack[ptr]~=0) do
  110. ptr=ptr+1
  111. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  112. ptr=ptr-1
  113. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  114. while(stack[ptr]~=0) do
  115. ptr=ptr+1
  116. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  117. ptr=ptr-1
  118. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  119. while(stack[ptr]~=0) do
  120. ptr=ptr+1
  121. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  122. ptr=ptr-1
  123. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  124. while(stack[ptr]~=0) do
  125. ptr=ptr+1
  126. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  127. ptr=ptr-1
  128. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  129. while(stack[ptr]~=0) do
  130. ptr=ptr+1
  131. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  132. ptr=ptr-1
  133. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  134. while(stack[ptr]~=0) do
  135. ptr=ptr+1
  136. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  137. ptr=ptr-1
  138. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  139. while(stack[ptr]~=0) do
  140. ptr=ptr+1
  141. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  142. ptr=ptr-1
  143. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  144. while(stack[ptr]~=0) do
  145. ptr=ptr+1
  146. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  147. ptr=ptr-1
  148. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  149. while(stack[ptr]~=0) do
  150. ptr=ptr+1
  151. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  152. ptr=ptr-1
  153. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  154. while(stack[ptr]~=0) do
  155. ptr=ptr+1
  156. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  157. ptr=ptr-1
  158. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  159. while(stack[ptr]~=0) do
  160. ptr=ptr+1
  161. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  162. ptr=ptr-1
  163. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  164. while(stack[ptr]~=0) do
  165. ptr=ptr+1
  166. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  167. ptr=ptr-1
  168. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  169. while(stack[ptr]~=0) do
  170. ptr=ptr+1
  171. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  172. ptr=ptr-1
  173. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  174. while(stack[ptr]~=0) do
  175. ptr=ptr+1
  176. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  177. ptr=ptr-1
  178. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  179. while(stack[ptr]~=0) do
  180. ptr=ptr+1
  181. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  182. ptr=ptr-1
  183. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  184. while(stack[ptr]~=0) do
  185. ptr=ptr+1
  186. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  187. ptr=ptr-1
  188. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  189. while(stack[ptr]~=0) do
  190. ptr=ptr+1
  191. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  192. ptr=ptr-1
  193. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  194. while(stack[ptr]~=0) do
  195. ptr=ptr+1
  196. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  197. ptr=ptr-1
  198. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  199. while(stack[ptr]~=0) do
  200. ptr=ptr+1
  201. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  202. ptr=ptr-1
  203. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  204. while(stack[ptr]~=0) do
  205. ptr=ptr+1
  206. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  207. ptr=ptr-1
  208. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  209. while(stack[ptr]~=0) do
  210. ptr=ptr+1
  211. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  212. ptr=ptr-1
  213. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  214. while(stack[ptr]~=0) do
  215. ptr=ptr+1
  216. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  217. ptr=ptr-1
  218. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  219. while(stack[ptr]~=0) do
  220. ptr=ptr+1
  221. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  222. ptr=ptr-1
  223. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  224. while(stack[ptr]~=0) do
  225. ptr=ptr+1
  226. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  227. ptr=ptr-1
  228. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  229. while(stack[ptr]~=0) do
  230. ptr=ptr+1
  231. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  232. ptr=ptr-1
  233. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  234. while(stack[ptr]~=0) do
  235. ptr=ptr+1
  236. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  237. ptr=ptr-1
  238. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  239. while(stack[ptr]~=0) do
  240. ptr=ptr+1
  241. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  242. ptr=ptr-1
  243. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  244. while(stack[ptr]~=0) do
  245. ptr=ptr+1
  246. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  247. ptr=ptr-1
  248. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  249. while(stack[ptr]~=0) do
  250. ptr=ptr+1
  251. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  252. ptr=ptr-1
  253. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  254. while(stack[ptr]~=0) do
  255. ptr=ptr+1
  256. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  257. ptr=ptr-1
  258. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  259. while(stack[ptr]~=0) do
  260. ptr=ptr+1
  261. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  262. ptr=ptr-1
  263. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  264. while(stack[ptr]~=0) do
  265. ptr=ptr+1
  266. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  267. ptr=ptr-1
  268. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  269. while(stack[ptr]~=0) do
  270. ptr=ptr+1
  271. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  272. ptr=ptr-1
  273. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  274. while(stack[ptr]~=0) do
  275. ptr=ptr+1
  276. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  277. ptr=ptr-1
  278. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  279. while(stack[ptr]~=0) do
  280. ptr=ptr+1
  281. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  282. ptr=ptr-1
  283. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  284. while(stack[ptr]~=0) do
  285. ptr=ptr+1
  286. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  287. ptr=ptr-1
  288. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  289. while(stack[ptr]~=0) do
  290. ptr=ptr+1
  291. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  292. ptr=ptr-1
  293. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  294. while(stack[ptr]~=0) do
  295. ptr=ptr+1
  296. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  297. ptr=ptr-1
  298. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  299. while(stack[ptr]~=0) do
  300. ptr=ptr+1
  301. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  302. ptr=ptr-1
  303. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  304. while(stack[ptr]~=0) do
  305. ptr=ptr+1
  306. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  307. ptr=ptr-1
  308. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  309. while(stack[ptr]~=0) do
  310. ptr=ptr+1
  311. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  312. ptr=ptr-1
  313. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  314. while(stack[ptr]~=0) do
  315. ptr=ptr+1
  316. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  317. ptr=ptr-1
  318. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  319. while(stack[ptr]~=0) do
  320. ptr=ptr+1
  321. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  322. ptr=ptr-1
  323. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  324. while(stack[ptr]~=0) do
  325. ptr=ptr+1
  326. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  327. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  328. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  329. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  330. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  331. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  332. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  333. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  334. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  335. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  336. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  337. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  338. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  339. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  340. ptr=ptr-1
  341. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  342. while(stack[ptr]~=0) do
  343. ptr=ptr+1
  344. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  345. ptr=ptr-1
  346. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  347. while(stack[ptr]~=0) do
  348. ptr=ptr+1
  349. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  350. ptr=ptr-1
  351. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  352. while(stack[ptr]~=0) do
  353. ptr=ptr+1
  354. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  355. ptr=ptr-1
  356. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  357. while(stack[ptr]~=0) do
  358. ptr=ptr+1
  359. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  360. ptr=ptr-1
  361. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  362. while(stack[ptr]~=0) do
  363. ptr=ptr+1
  364. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  365. ptr=ptr-1
  366. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  367. while(stack[ptr]~=0) do
  368. ptr=ptr+1
  369. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  370. ptr=ptr-1
  371. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  372. while(stack[ptr]~=0) do
  373. ptr=ptr+1
  374. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  375. ptr=ptr-1
  376. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  377. while(stack[ptr]~=0) do
  378. ptr=ptr+1
  379. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  380. ptr=ptr-1
  381. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  382. while(stack[ptr]~=0) do
  383. ptr=ptr+1
  384. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  385. ptr=ptr-1
  386. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  387. while(stack[ptr]~=0) do
  388. ptr=ptr+1
  389. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  390. ptr=ptr-1
  391. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  392. while(stack[ptr]~=0) do
  393. ptr=ptr+1
  394. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  395. ptr=ptr-1
  396. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  397. while(stack[ptr]~=0) do
  398. ptr=ptr+1
  399. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  400. ptr=ptr-1
  401. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  402. while(stack[ptr]~=0) do
  403. ptr=ptr+1
  404. ptr=ptr+1
  405. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  406. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  407. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  408. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  409. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  410. while(stack[ptr]~=0) do
  411. ptr=ptr-1
  412. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  413. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  414. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  415. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  416. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  417. ptr=ptr+1
  418. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  419. end
  420. ptr=ptr-1
  421. ptr=ptr-1
  422. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  423. while(stack[ptr]~=0) do
  424. ptr=ptr+1
  425. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  426. ptr=ptr-1
  427. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  428. while(stack[ptr]~=0) do
  429. ptr=ptr+1
  430. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  431. ptr=ptr-1
  432. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  433. while(stack[ptr]~=0) do
  434. ptr=ptr+1
  435. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  436. ptr=ptr-1
  437. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  438. while(stack[ptr]~=0) do
  439. ptr=ptr+1
  440. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  441. ptr=ptr-1
  442. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  443. while(stack[ptr]~=0) do
  444. ptr=ptr+1
  445. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  446. ptr=ptr-1
  447. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  448. while(stack[ptr]~=0) do
  449. ptr=ptr+1
  450. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  451. ptr=ptr-1
  452. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  453. while(stack[ptr]~=0) do
  454. ptr=ptr+1
  455. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  456. ptr=ptr-1
  457. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  458. while(stack[ptr]~=0) do
  459. ptr=ptr+1
  460. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  461. ptr=ptr-1
  462. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  463. while(stack[ptr]~=0) do
  464. ptr=ptr+1
  465. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  466. ptr=ptr-1
  467. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  468. while(stack[ptr]~=0) do
  469. ptr=ptr+1
  470. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  471. ptr=ptr-1
  472. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  473. while(stack[ptr]~=0) do
  474. ptr=ptr+1
  475. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  476. ptr=ptr-1
  477. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  478. while(stack[ptr]~=0) do
  479. ptr=ptr+1
  480. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  481. ptr=ptr-1
  482. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  483. while(stack[ptr]~=0) do
  484. ptr=ptr+1
  485. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  486. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  487. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  488. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  489. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  490. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  491. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  492. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  493. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  494. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  495. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  496. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  497. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  498. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  499. ptr=ptr-1
  500. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  501. while(stack[ptr]~=0) do
  502. ptr=ptr+1
  503. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  504. ptr=ptr-1
  505. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  506. while(stack[ptr]~=0) do
  507. ptr=ptr+1
  508. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  509. ptr=ptr-1
  510. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  511. while(stack[ptr]~=0) do
  512. ptr=ptr+1
  513. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  514. ptr=ptr-1
  515. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  516. while(stack[ptr]~=0) do
  517. ptr=ptr+1
  518. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  519. ptr=ptr-1
  520. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  521. while(stack[ptr]~=0) do
  522. ptr=ptr+1
  523. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  524. ptr=ptr-1
  525. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  526. while(stack[ptr]~=0) do
  527. ptr=ptr+1
  528. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  529. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  530. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  531. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  532. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  533. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  534. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  535. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  536. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  537. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  538. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  539. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  540. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  541. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  542. ptr=ptr-1
  543. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  544. while(stack[ptr]~=0) do
  545. ptr=ptr+1
  546. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  547. ptr=ptr-1
  548. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  549. while(stack[ptr]~=0) do
  550. ptr=ptr+1
  551. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  552. ptr=ptr-1
  553. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  554. while(stack[ptr]~=0) do
  555. ptr=ptr+1
  556. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  557. ptr=ptr-1
  558. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  559. while(stack[ptr]~=0) do
  560. ptr=ptr+1
  561. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  562. ptr=ptr-1
  563. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  564. while(stack[ptr]~=0) do
  565. ptr=ptr+1
  566. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  567. ptr=ptr-1
  568. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  569. while(stack[ptr]~=0) do
  570. ptr=ptr+1
  571. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  572. ptr=ptr-1
  573. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  574. while(stack[ptr]~=0) do
  575. ptr=ptr+1
  576. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  577. ptr=ptr-1
  578. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  579. while(stack[ptr]~=0) do
  580. ptr=ptr+1
  581. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  582. ptr=ptr-1
  583. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  584. while(stack[ptr]~=0) do
  585. ptr=ptr+1
  586. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  587. ptr=ptr-1
  588. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  589. while(stack[ptr]~=0) do
  590. ptr=ptr+1
  591. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  592. ptr=ptr-1
  593. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  594. while(stack[ptr]~=0) do
  595. ptr=ptr+1
  596. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  597. ptr=ptr-1
  598. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  599. while(stack[ptr]~=0) do
  600. ptr=ptr+1
  601. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  602. ptr=ptr-1
  603. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  604. while(stack[ptr]~=0) do
  605. ptr=ptr+1
  606. ptr=ptr+1
  607. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  608. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  609. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  610. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  611. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  612. while(stack[ptr]~=0) do
  613. ptr=ptr-1
  614. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  615. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  616. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  617. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  618. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  619. ptr=ptr+1
  620. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  621. end
  622. ptr=ptr-1
  623. ptr=ptr-1
  624. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  625. while(stack[ptr]~=0) do
  626. ptr=ptr+1
  627. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  628. ptr=ptr-1
  629. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  630. while(stack[ptr]~=0) do
  631. ptr=ptr+1
  632. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  633. ptr=ptr-1
  634. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  635. while(stack[ptr]~=0) do
  636. ptr=ptr+1
  637. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  638. ptr=ptr-1
  639. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  640. while(stack[ptr]~=0) do
  641. ptr=ptr+1
  642. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  643. ptr=ptr-1
  644. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  645. while(stack[ptr]~=0) do
  646. ptr=ptr+1
  647. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  648. ptr=ptr-1
  649. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  650. while(stack[ptr]~=0) do
  651. ptr=ptr+1
  652. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  653. ptr=ptr-1
  654. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  655. while(stack[ptr]~=0) do
  656. ptr=ptr+1
  657. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  658. ptr=ptr-1
  659. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  660. while(stack[ptr]~=0) do
  661. ptr=ptr+1
  662. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  663. ptr=ptr-1
  664. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  665. while(stack[ptr]~=0) do
  666. ptr=ptr+1
  667. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  668. ptr=ptr-1
  669. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  670. while(stack[ptr]~=0) do
  671. ptr=ptr+1
  672. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  673. ptr=ptr-1
  674. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  675. while(stack[ptr]~=0) do
  676. ptr=ptr+1
  677. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  678. ptr=ptr-1
  679. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  680. while(stack[ptr]~=0) do
  681. ptr=ptr+1
  682. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  683. ptr=ptr-1
  684. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  685. while(stack[ptr]~=0) do
  686. ptr=ptr+1
  687. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  688. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  689. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  690. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  691. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  692. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  693. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  694. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  695. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  696. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  697. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  698. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  699. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  700. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  701. ptr=ptr-1
  702. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  703. while(stack[ptr]~=0) do
  704. ptr=ptr+1
  705. stack[ptr]=stack[ptr] and stack[ptr]+1 or 1
  706. ptr=ptr-1
  707. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
  708. end
  709. end
  710. end
  711. end
  712. end
  713. end
  714. end
  715. end
  716. end
  717. end
  718. end
  719. end
  720. end
  721. end
  722. end
  723. end
  724. end
  725. end
  726. end
  727. end
  728. end
  729. end
  730. end
  731. end
  732. end
  733. end
  734. end
  735. end
  736. end
  737. end
  738. end
  739. end
  740. end
  741. end
  742. end
  743. end
  744. end
  745. end
  746. end
  747. end
  748. end
  749. end
  750. end
  751. end
  752. end
  753. end
  754. end
  755. end
  756. end
  757. end
  758. end
  759. end
  760. end
  761. end
  762. end
  763. end
  764. end
  765. end
  766. end
  767. end
  768. end
  769. end
  770. end
  771. end
  772. end
  773. end
  774. end
  775. end
  776. end
  777. end
  778. end
  779. end
  780. end
  781. end
  782. end
  783. end
  784. end
  785. end
  786. end
  787. end
  788. end
  789. end
  790. end
  791. end
  792. end
  793. end
  794. end
  795. end
  796. end
  797. end
  798. end
  799. end
  800. end
  801. end
  802. end
  803. end
  804. end
  805. end
  806. end
  807. end
  808. end
  809. end
  810. end
  811. end
  812. end
  813. end
  814. end
  815. end
  816. end
  817. end
  818. end
  819. end
  820. end
  821. end
  822. end
  823. end
  824. end
  825. end
  826. end
  827. end
  828. end
  829. end
  830. end
  831. ptr=ptr+1
  832. io.write(string.char(stack[ptr] or 0))
  833. while(stack[ptr]~=0) do
  834. stack[ptr]=stack[ptr] and stack[ptr]-1 or -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement