# -*- coding: utf-8 -*-


def main():
    a = input()

    # See:
    # https://www.slideshare.net/chokudai/abc007
    if a == 'a':
        print('-1')
    else:
        print('a')


if __name__ == '__main__':
    main()

[]