This repository contains implementations of selected algorithms in INTERCAL.
Input format:
First line contains single integer, number of letters in the word. Second line contain a word of previously given size.
Output format:
Single line with information if given word is a palindrome or not.
Sample input:
SEVEN
ABCDCBA
Sample output:
PALINDROME
Input format:
First line contains single integer n
, number of elements in the array. Each of the following n
lines contains subsequent integers from the array.
Output format:
n
lines of subsequent integers in sorted array.
Sample input:
FOUR
FOUR
THREE
ONE
TWO
Sample output:
I
II
III
IV