various changes
changed longest sequences in input