import java.io.FileReader;
import java.io.BufferedReader;
import java.io.IOException;

import com.novell.casa.authtoksvc.AuthToken;

public class tokenValidate {
	public static void main(String[] args) throws IOException {
		BufferedReader tokenFile = null;

		tokenFile = new BufferedReader(new FileReader("token.txt"));

		String l;
		l = tokenFile.readLine();

		String id;
		id = AuthToken.validate(l);

		System.out.println(id);
	}
}