#include <stdio.h>

int main(){
	int i, N, tmp, cnt;
	char c1, c2;

	scanf("%d%*c", &N);

	for(i = 0;i < N;i++){
		cnt = 0;
		while(1){
			c1 = getc(stdin);
			if(c1 == '\n')
				break;
			c2 = getc(stdin);
			if(c2 == '\n')
				break;
			
			tmp = (c1 + c2) - (2 * '0');
			if(tmp > 9){
				tmp %= 10;
				ungetc((char)(tmp + '0'), stdin);
				ungetc('1', stdin);
			}else{
				ungetc((char)(tmp + '0'), stdin);
			}
			cnt++;
		}
		printf("%s\n",(cnt % 2) ? "Fabre wins." : "Audrey wins.");
	}
	return 0;
}