Learning Objectives

  • Load external data from a .csv file into a data frame.
  • Describe what a data frame is.
  • Summarize the contents of a data frame.
  • Use indexing to subset specific portions of data frames.
  • Describe what a factor is.
  • Convert between strings and factors.
  • Reorder and rename factors.
  • Change how character strings are handled in a data frame.
  • Format dates.

Presentation of the Survey Data

We are studying the species repartition and weight of animals caught in plots in our study area. The dataset is stored as a comma separated value (CSV) file. Each row holds information for a single animal, and the columns represent:

Column Description
record_id Unique id for the observation
month month of observation
day day of observation
year year of observation
plot_id ID of a particular plot
species_id 2-letter code
sex sex of animal (“M”, “F”)
hindfoot_length length of the hindfoot in mm
weight weight of the animal in grams
genus genus of animal
species species of animal
taxon e.g. Rodent, Reptile, Bird, Rabbit
plot_type type of plot

We are going to use the R function download.file() to download the CSV file that contains the survey data from figshare, and we will use read.csv() to load into memory the content of the CSV file as an object of class data.frame. Inside the download.file command, the first entry is a character string with the source URL (“https://ndownloader.figshare.com/files/2292169”). This source URL downloads a CSV file from figshare. The text after the comma (“/cloud/project/data/portal_data_joined.csv”) is the destination of the file on your local machine. You’ll need to have a folder on your machine called “data” where you’ll download the file. So this command downloads a file from figshare, names it “portal_data_joined.csv,” and adds it to a preexisting folder named “data.”

download.file(url="https://ndownloader.figshare.com/files/2292169",
              destfile = "data/portal_data_joined.csv")

You are now ready to load the data:

surveys <- read.csv("data/portal_data_joined.csv")

This statement doesn’t produce any output because, as you might recall, assignments don’t display anything. If we want to check that our data has been loaded, we can see the contents of the data frame by typing its name: surveys.

Wow… that was a lot of output. At least it means the data loaded properly. Let’s check the top (the first 6 lines) of this data frame using the function head():

head(surveys)
##   record_id month day year plot_id species_id sex hindfoot_length weight
## 1         1     7  16 1977       2         NL   M              32     NA
## 2        72     8  19 1977       2         NL   M              31     NA
## 3       224     9  13 1977       2         NL                  NA     NA
## 4       266    10  16 1977       2         NL                  NA     NA
## 5       349    11  12 1977       2         NL                  NA     NA
## 6       363    11  12 1977       2         NL                  NA     NA
##     genus  species   taxa plot_type
## 1 Neotoma albigula Rodent   Control
## 2 Neotoma albigula Rodent   Control
## 3 Neotoma albigula Rodent   Control
## 4 Neotoma albigula Rodent   Control
## 5 Neotoma albigula Rodent   Control
## 6 Neotoma albigula Rodent   Control
## Try also
View(surveys)

Note

read.csv assumes that fields are delineated by commas, however, in several countries, the comma is used as a decimal separator and the semicolon (;) is used as a field delineator. If you want to read in this type of files in R, you can use the read.csv2 function. It behaves exactly like read.csv but uses different parameters for the decimal and the field separators. If you are working with another format, they can be both specified by the user. Check out the help for read.csv() by typing ?read.csv to learn more. There is also the read.delim() for in tab separated data files. It is important to note that all of these functions are actually wrapper functions for the main read.table() function with different arguments. As such, the surveys data above could have also been loaded by using read.table() with the separation argument as ,. The code is as follows: surveys <- read.table(file="/cloud/project/data/portal_data_joined.csv", sep=",", header=TRUE). The header argument has to be set to TRUE to be able to read the headers as by default read.table() has the header argument set to FALSE.

In addition to the above versions of the csv format, you should develop the habits of looking at and record some parameters of your csv files. For instance, the character encoding, control characters used for line ending, date format (if the date is not splitted into three variables), and the presence of unexepected newlines are important characteristics of your data files. Those parameters will ease up the import step of your data in R.

What are data frames?

Data frames are the de facto data structure for most tabular data, and what we use for statistics and plotting.

A data frame can be created by hand, but most commonly they are generated by the functions read.csv() or read.table(); in other words, when importing spreadsheets from your hard drive (or the web).

A data frame is the representation of data in the format of a table where the columns are vectors that all have the same length. Because columns are vectors, each column must contain a single type of data (e.g., characters, integers, factors).

We can see this when inspecting the structure of a data frame with the function str():

str(surveys)
## 'data.frame':    34786 obs. of  13 variables:
##  $ record_id      : int  1 72 224 266 349 363 435 506 588 661 ...
##  $ month          : int  7 8 9 10 11 11 12 1 2 3 ...
##  $ day            : int  16 19 13 16 12 12 10 8 18 11 ...
##  $ year           : int  1977 1977 1977 1977 1977 1977 1977 1978 1978 1978 ...
##  $ plot_id        : int  2 2 2 2 2 2 2 2 2 2 ...
##  $ species_id     : chr  "NL" "NL" "NL" "NL" ...
##  $ sex            : chr  "M" "M" "" "" ...
##  $ hindfoot_length: int  32 31 NA NA NA NA NA NA NA NA ...
##  $ weight         : int  NA NA NA NA NA NA NA NA 218 NA ...
##  $ genus          : chr  "Neotoma" "Neotoma" "Neotoma" "Neotoma" ...
##  $ species        : chr  "albigula" "albigula" "albigula" "albigula" ...
##  $ taxa           : chr  "Rodent" "Rodent" "Rodent" "Rodent" ...
##  $ plot_type      : chr  "Control" "Control" "Control" "Control" ...

Inspecting data.frame Objects

We already saw how the functions head() and str() can be useful to check the content and the structure of a data frame. Here is a non-exhaustive list of functions to get a sense of the content/structure of the data. Let’s try them out!

  • Size:
    • dim(surveys) - returns a vector with the number of rows in the first element, and the number of columns as the second element (the dimensions of the object)
    • nrow(surveys) - returns the number of rows
    • ncol(surveys) - returns the number of columns
  • Content:
    • head(surveys) - shows the first 6 rows
    • tail(surveys) - shows the last 6 rows
  • Names:
    • names(surveys) - returns the column names (synonym of colnames() for data.frame objects)
    • rownames(surveys) - returns the row names
  • Summary:
    • str(surveys) - structure of the object and information about the class, length and content of each column
    • summary(surveys) - summary statistics for each column

Note: most of these functions are “generic”, they can be used on other types of objects besides data.frame.

Challenge

Based on the output of str(surveys), can you answer the following questions?

  • What is the class of the object surveys?
  • How many rows and how many columns are in this object?
  • How many species have been recorded during these surveys?
str(surveys)
## 'data.frame':  34786 obs. of  13 variables:
##  $ record_id      : int  1 72 224 266 349 363 435 506 588 661 ...
##  $ month          : int  7 8 9 10 11 11 12 1 2 3 ...
##  $ day            : int  16 19 13 16 12 12 10 8 18 11 ...
##  $ year           : int  1977 1977 1977 1977 1977 1977 1977 1978 1978 1978 ...
##  $ plot_id        : int  2 2 2 2 2 2 2 2 2 2 ...
##  $ species_id     : chr  "NL" "NL" "NL" "NL" ...
##  $ sex            : chr  "M" "M" "" "" ...
##  $ hindfoot_length: int  32 31 NA NA NA NA NA NA NA NA ...
##  $ weight         : int  NA NA NA NA NA NA NA NA 218 NA ...
##  $ genus          : chr  "Neotoma" "Neotoma" "Neotoma" "Neotoma" ...
##  $ species        : chr  "albigula" "albigula" "albigula" "albigula" ...
##  $ taxa           : chr  "Rodent" "Rodent" "Rodent" "Rodent" ...
##  $ plot_type      : chr  "Control" "Control" "Control" "Control" ...
## * class: data frame
## * how many rows: 34786,  how many columns: 13
## * how many species: 48

Indexing and subsetting data frames

Our survey data frame has rows and columns (it has 2 dimensions), if we want to extract some specific data from it, we need to specify the “coordinates” we want from it. Row numbers come first, followed by column numbers. However, note that different ways of specifying these coordinates lead to results with different classes.

# first element in the first column of the data frame (as a vector)
surveys[1, 1]   
# first element in the 6th column (as a vector)
surveys[1, 6]   
# first column of the data frame (as a vector)
surveys[, 1]    
# first column of the data frame (as a data.frame)
surveys[1]      
# first three elements in the 7th column (as a vector)
surveys[1:3, 7] 
# the 3rd row of the data frame (as a data.frame)
surveys[3, ]    
# equivalent to head_surveys <- head(surveys)
head_surveys <- surveys[1:6, ] 

: is a special function that creates numeric vectors of integers in increasing or decreasing order, test 1:10 and 10:1 for instance.

You can also exclude certain indices of a data frame using the “-” sign:

surveys[, -1]          # The whole data frame, except the first column
surveys[-c(7:34786), ] # Equivalent to head(surveys)

Data frames can be subset by calling indices (as shown previously), but also by calling their column names directly:

surveys["species_id"]       # Result is a data.frame
surveys[, "species_id"]     # Result is a vector
surveys[["species_id"]]     # Result is a vector
surveys$species_id          # Result is a vector

In RStudio, you can use the autocompletion feature to get the full and correct names of the columns.

Challenge

  1. Create a data.frame (surveys_200) containing only the data in row 200 of the surveys dataset.

  2. Notice how nrow() gave you the number of rows in a data.frame?

    • Use that number to pull out just that last row in the data frame.
    • Compare that with what you see as the last row using tail() to make sure it’s meeting expectations.
    • Pull out that last row using nrow() instead of the row number.
    • Create a new data frame (surveys_last) from that last row.
  3. Use nrow() to extract the row that is in the middle of the data frame. Store the content of this row in an object named surveys_middle.

  4. Combine nrow() with the - notation above to reproduce the behavior of head(surveys), keeping just the first through 6th rows of the surveys dataset.

## 1.
surveys_200 <- surveys[200, ]
## 2.
# Saving `n_rows` to improve readability and reduce duplication
n_rows <- nrow(surveys)
surveys_last <- surveys[n_rows, ]
## 3.
surveys_middle <- surveys[n_rows / 2, ]
## 4.
surveys_head <- surveys[-(7:n_rows), ]

Factors

When we did str(surveys) we saw that several of the columns consist of integers. The columns genus, species, sex, plot_type, … however, are of a special class called factor. Factors are very useful and actually contribute to making R particularly well suited to working with data. So we are going to spend a little time introducing them.

Factors represent categorical data. They are stored as integers associated with labels and they can be ordered or unordered. While factors look (and often behave) like character vectors, they are actually treated as integer vectors by R. So you need to be very careful when treating them as strings.

Once created, factors can only contain a pre-defined set of values, known as levels. By default, R always sorts levels in alphabetical order. For instance, if you have a factor with 2 levels:

sex <- factor(c("male", "female", "female", "male"))

R will assign 1 to the level "female" and 2 to the level "male" (because f comes before m, even though the first element in this vector is "male"). You can see this by using the function levels() and you can find the number of levels using nlevels():

levels(sex)
## [1] "female" "male"
nlevels(sex)
## [1] 2

Sometimes, the order of the factors does not matter, other times you might want to specify the order because it is meaningful (e.g., “low”, “medium”, “high”), it improves your visualization, or it is required by a particular type of analysis. Here, one way to reorder our levels in the sex vector would be:

sex # current order
## [1] male   female female male  
## Levels: female male
sex <- factor(sex, levels = c("male", "female"))
sex # after re-ordering
## [1] male   female female male  
## Levels: male female

In R’s memory, these factors are represented by integers (1, 2, 3), but are more informative than integers because factors are self describing: "female", "male" is more descriptive than 1, 2. Which one is “male”? You wouldn’t be able to tell just from the integer data. Factors, on the other hand, have this information built in. It is particularly helpful when there are many levels (like the species names in our example dataset).

Converting factors

If you need to convert a factor to a character vector, you use as.character(x).

## [1] "male"   "female" "female" "male"

In some cases, you may have to convert factors where the levels appear as numbers (such as concentration levels or years) to a numeric vector. For instance, in one part of your analysis the years might need to be encoded as factors (e.g., comparing average weights across years) but in another part of your analysis they may need to be stored as numeric values (e.g., doing math operations on the years). This conversion from factor to numeric is a little trickier. The as.numeric() function returns the index values of the factor, not its levels, so it will result in an entirely new (and unwanted in this case) set of numbers. One method to avoid this is to convert factors to characters, and then to numbers.

Another method is to use the levels() function. Compare:

year_fct <- factor(c(1990, 1983, 1977, 1998, 1990))
as.numeric(year_fct)               # Wrong! And there is no warning...
## [1] 3 2 1 4 3
as.numeric(as.character(year_fct)) # Works...
## [1] 1990 1983 1977 1998 1990
as.numeric(levels(year_fct))[year_fct]    # The recommended way.
## [1] 1990 1983 1977 1998 1990

Notice that in the levels() approach, three important steps occur:

  • We obtain all the factor levels using levels(year_fct)
  • We convert these levels to numeric values using as.numeric(levels(year_fct))
  • We then access these numeric values using the underlying integers of the vector year_fct inside the square brackets

Renaming factors

When your data is stored as a factor, you can use the plot() function to get a quick glance at the number of observations represented by each factor level. Let’s look at the number of males and females captured over the course of the experiment:

## bar plot of the number of females and males captured during the experiment:
plot(as.factor(surveys$sex))

In addition to males and females, there are about 1700 individuals for which the sex information hasn’t been recorded. Additionally, for these individuals, there is no label to indicate that the information is missing or undetermined. Let’s rename this label to something more meaningful. Before doing that, we’re going to pull out the data on sex and work with that data, so we’re not modifying the working copy of the data frame:

sex <- surveys$sex
head(sex)
## [1] "M" "M" ""  ""  ""  ""
levels(sex)
## NULL
sex <- addNA(sex)
sex
##     [1] M M             M     M M M M   M M M M F F F F F F F M M M F M M M F M
##    [37] F F M F F F F F F M F F F F F F M M M F F M F M F F F F F M F F F M F M
##    [73] F M M M M M M F M F M F M M M F M F F M F M F F F M M M M M M F M F F F
##   [109] F F F F F M M M F F F F F M M M M M M M M M M F F F M F M M F M F F F F
##   [145] F F   F M F F M F M M M F F F M F F F F F   F F M F F   M F F M F M F F
##   [181] F M F F F F F F F   M M F F F F F M M M F F M M M M M M F F M M F F M F
##   [217] M M M M M M M F M F M M M F M M M M M F M M F M F M M M F F F F F F F F
##   [253] F F F M M F F M F F F F M M F M M F M M F M F F M F F F F F F F F F M F
##   [289] F M M F M M M F M M F F F F F F M M M F F M M F M M M M F F M M F M M M
##   [325] M M M M M M M M M M M M M F F M M M F F F F M M M F M F M M M M M M M F
##   [361] F M M M M F M M M   M F M F M M M F M F M M F M F M F M F M F M F M F M
##   [397] M M M M F M M M F F F M F M F M M F M F F F F F F M F M F F M F F F M F
##   [433] F F F M F F F F F M M F F F F F F F F F F F F F F F F F F F F M F F M M
##   [469] F M F M M F M M F F M F M F F M M F M F M M M F M M M M F M F M M M M M
##   [505] M M M F M M F M F M F M F F M M M F M M F M M F   F F F M M M M M M F M
##   [541] F M M F M M F M F F M F F M M F M M M F F M M M F F F F M F F F M F M M
##   [577] M F M M M M M M M M M M M M M M M M M M M M M F M F M M F M F F F F F F
##   [613] F M M M M M F M M F M M M F M F F M F M M M F M F F M M F F F M M F F M
##   [649] F M M F F M F M M F F F M F M F M M M M F M M M M M M M M M M M F M F M
##   [685] M M M F M M M M M M M F M F M M F M M M M M M F M M M M F M M M M M F M
##   [721] M M M M M M F M F M M M M M M F M F F F F F F F M F M M F M F M M M F M
##   [757] F F M M F F M M F F F M M F F F F F F M M M F M   F F F M M M M F F F M
##   [793] M M F F M M   M F M F M M M F F M M M M F M M F F F M M M   M F M F M F
##   [829] M M M M M M F M F M M F M F M F M M F M F F M M F F M M F M M M M M F M
##   [865] M F M F F M F F M M M F M M F M F M M M F M M M F F F F F M F M F M F M
##   [901] F M F M F F M M M F F M F F M F F M M F F F M M F M M M F M M M M M F M
##   [937] F M F M F M F F F M M M M M F M M M F M M M M F F F F M M F F M F F F F
##   [973] M M F M M M F M M M M F M M   M M F F M F F F M F F M F M F M F M F M M
##  [1009] F M F M F M M M F   M F M M F M M M M M M M M M M M F M F M M F F M F F
##  [1045] M F F F M M M M M M M M M M M M M M F F F F F F F M F F F M F F F F F M
##  [1081] F M M M F M M F F M F F M M M M F F F F F M   F M M M F F F M F F M F F
##  [1117] F F M F F F F F M F F F F F F F F F F F F M F F F F F M F M F M F F F F
##  [1153] M M F M M M F M F M F M   M F M M F M M F M M M F M M   M F M M M M M M
##  [1189] M M M F M F M F F M F M M F M M M F M M M M M M F M M M M F M M F M M M
##  [1225] M F M M M M M F M M M M M M M M M M M M M M M F M F M F F F M M F F F F
##  [1261] M   F F F M F M M M M F M M F F M   M M F M F M M           F M M F   F
##  [1297] F M M M F F M F F F M F F F M F M F M F M F M M M M M F F F F M M F   M
##  [1333] M M F F M M F F F F F M M F M M M F M F F F M F F M M F M F M M F F F M
##  [1369] M F F M F F M M M M M M F M M M M M M M M M F M F M F F M F F M F F M M
##  [1405] F M M F M F M F M F M M M F M F M M F F M M M M M M M F M F F M F M M F
##  [1441] M F M F M F M M F M M M F M F M M M M M M M M M M M F M F F M F F F M F
##  [1477] F M M F F M M M M M F M F M F F M F M F F F M M M M M M M F F F F F F F
##  [1513] M F M F F M F M F M F M F M F F M M M M F M F M F F F F F F F M M M M M
##  [1549] M F M M F F M F M F M M F F M M F M F M F F M M M F M F M F M M F F M F
##  [1585] M F M F M M F F M M F F M M M F M F M F M F M F F M F M F M F M M F F F
##  [1621] M F M F M M F M F M F M F F F F F F M F F F M M F F M M M F M F F F F F
##  [1657] F F F F M F F F F F F F F M F M F F M F F M F M F F F M F F M F F F F F
##  [1693] F F M M M F F F F M M F F F F F F M M M M M M M M M M M M M M M M F M F
##  [1729] M M M F M M F F F M M M M M F M F M M M M M M M M M F M M M M M M F M F
##  [1765] F F F M F M M M F F M F F M F M M M F F M M F F F M F M M              
##  [1801]   F       F M F F F F F M M F F F M M F M M M F F F F M F F F F F M F F
##  [1837] M M M M M M F M F M F M M F F M M M F M M M F M F F M F F M M M M F M F
##  [1873] F M M M F M F F F F F F M F M F F M F M F M M F M M M F M M M M F F M M
##  [1909] F M M M F M M M F M F F M M M F F M M F F F M F M M F M F M M M       F
##  [1945] M M M F F M M M M M F M F F F F M M M M F F M F F M F F M F M F M F F  
##  [1981]                                                     F       M F F F F F
##  [2017] M F F F M M F M F M M M M M M M F M M M F M M M M   M M F M M F M F F F
##  [2053] F F M F F F M F F M F M F M M M F M F F F M F F F F F F F M M M F M M M
##  [2089] F F F M M F F F M F M M M M M F F M M F M M M F F M M F M M M M M M M M
##  [2125] M M M M M M M M M M M M M F M F M F F M F F M F M F M M M F F F M M F F
##  [2161] F F M F F F M F F M F M M F M F F F F M M M M M F F M M F M M M     M F
##  [2197] F F M F   F F M F F F M F M M M M F F M F M M M M M M F F M M   F F M F
##  [2233] F   M F M F F F F F F M F M M M F M M M M M M M M M M F M M   F F F F F
##  [2269] M F M F F F M M M M M M M M M M M M M F M M M   M M M F M F M M F F F M
##  [2305] M F M F F M M M F F F F F M F F M M M M F M F F M F F F F F   M F F F F
##  [2341] F M M F M F M M M M F M F F M F M F F M F     M M M F M M F M M M M F M
##  [2377] M F M M M F M M F M M F F M F M F M M M M M F F F F M M F F M F M F M M
##  [2413] M M M M F M F M F M M F M F F M F F M M F M M F M F F F M M F F M M M M
##  [2449] M M F F F F M M M M M F F M M M M F M F M M F M M F F M M M F F M F M F
##  [2485] M M M F M F F F F F F F M F M M M F F M M M F M M M M M M M M M M M M M
##  [2521] M M M F F M M F F M F F M M M M M F F M F F M M F M M F M M F F M M F F
##  [2557] M F M F F M F F M M M M F F F M F M F M M F M F M M F F M M F F F F F F
##  [2593]   M M M F F F M F M F M M F F M F F F F M F M F F F F F M F M M F F M F
##  [2629] M F M F M F F M F M M F F F F   F M F F F M F F F F F F F F F F F M F M
##  [2665] F F M M F F M F F F F M F M M M M M M F M F M F F M F F F M   M M M M M
##  [2701] M M M M F F M M M M F F F M M M F M M F F   M F F   F F F F F F F F F M
##  [2737] M F M F F F F F M F F M   F M M     F M M F M F M F F M F F F F F F M F
##  [2773] M M M F M F M F F M F F F M M F F F F M F F M M F F F M F   F F F M F M
##  [2809] F F M F M F F F F M M M F F M M F F F F F   F M F F F M F F F M F F F M
##  [2845] F F   F F M F M M F M M M M F M F M   F M M M F M M M F M F M M M M F F
##  [2881] M M F M F M F F F M M F F F F M M F F M F M M M M M F F F F M F M M F M
##  [2917] F F F F F M M F M M F F F M F M F F F M M M M M M M M M F M F   F F M F
##  [2953] F F F F M M F F M M F M F M F F F F M M F M F M F   M M M F F F F F F F
##  [2989] F F F F M F F F F F M F F F M M F M F M M F M F F F   M F F M F M F F M
##  [3025] F M F M F F F M F F M M M F M M M M F M M F F M F M M M M M F M F M M F
##  [3061] F M M M F F M M F M M F F M F M M F M M F F F F F M F M F F M F M M M M
##  [3097] M M M M F M M F F M F F M M F F M F F F F M F F M F F M M M M M F F M M
##  [3133] M M F F M F M M M M M F M M M F F F M M M M F M M F M M F M F M M F F F
##  [3169] F F F M   F M F F M F F F F F F M F M F F M F F F F F F F F F F F F F M
##  [3205] M F F M F F F M F M F M M M F M M M M M M M M M M M M M M M M F F F F M
##  [3241] F M M M M F F M M M F F                                     F F M M F F
##  [3277] M M M F M M F F M F M F M M M F F M F M M M F F M F M F F F F F F M F M
##  [3313] F F M M F F F F F F M F F F F F F F F M M M M M M F M M M F F F F F F F
##  [3349] F F M F M M F F F M F M M M F M F F F M M M M F M F M F M F F F M F F M
##  [3385] M M F F M M F M F F M M F F F M M M M F   F M M M F F M M M F F M M F M
##  [3421] M F M M M M F M M F M M M F M M F M F M F M F F M F M F F M M F M F F M
##  [3457] M F F F F F M M F F F F F F M F F F F M F F M F F M F M F F M M F M F M
##  [3493] M F M M M M M M F M M M F M F F M M M M F F F F F M F M M F M F M F F F
##  [3529] F F M M F M M M M F F M           M M M M F M   F F F M F M F M F M M M
##  [3565] M F F M F F M F M F M M M M M M M M M M M                              
##  [3601]     M F F F F     F F M M F F F F F F F F F F F   F F M M M   F F F F F
##  [3637] M F F F M F F M F M F F M F F M F F F   M M M F F F F F M F M F F F F M
##  [3673] M F F M M F F F F M F F M F M F F F M M F M F M F M F F F F F F F M M M
##  [3709] F M M M F F M M F F M M M M F F M M M F M M F M F M F M F F M M F F F M
##  [3745] M F F F F M F M F F M M F M M F M F F F M F F F M M F M F F F F M F F M
##  [3781] F F F M F M F F F M F M M M F F M F M F F M F M F F M M F M F F F F F M
##  [3817] F M F M F M F M F F M F F M M M M M M F F F M M M M F M F F M F F F F F
##  [3853] M M F F M F M M M M F M M M M   F M M M F M M M F M F M M M M M F M M M
##  [3889] F F M M M M F M M F M F M M M F F F F M M M F M F F M M F F F M M F F M
##  [3925] M F F F F F M M M F M F M F F F F F M F F M M F M M F F F M F F M M F M
##  [3961] M M F F F F F M M F F M F F F F F M M M F F F F F M F F M F F M M F F M
##  [3997] M M   F   F M M M M M F M F M F F F F M F F M M F M F F F M F F F F M M
##  [4033] F M F M F F M M F F F F F M F M M F F M M F M       M M M F M F M M M M
##  [4069] M M F F F M F M F M M M M F F F F F F M M M M F F F F M F M F M F M F F
##  [4105] M M M M M M M F F F M F F M M F M F   F F M M M M F M F F M F F F F F M
##  [4141] M M M M F M F M F F M F   M M F M F M F M M M M M M M M M M M M M M M M
##  [4177] M F M F F F F F F F M F M F M M M M F M F F M M F M F M F F M F M M F M
##  [4213] M F F M F F F M F F M F F F F F F F F F F F F M F F M F M M M F M F M F
##  [4249] M F F F F M F F F M M M F F F F M M F M M M M F M M M F M M M F F M   M
##  [4285] F F F F M M F M F F F F M M M F M F F M M F F M F F F F F F M F F M M M
##  [4321] F M M F F M   F F F F F F F F F F M F F F F F F F F F F F F M F M M M F
##  [4357] F F F F M F M M M F F F M M M M M F F F M F M F M M F M F F M M F F M M
##  [4393] F F F F F F M M F F M M F F F M M F F F F F M F M F F M F F M F M F M M
##  [4429] F F F F F F F F F F F F F F F M F F F F F F M M M F M M F F M F M F F F
##  [4465] F M M F M M F F F M F F M F M F F M M M F M M M M F F F M F M F F F   F
##  [4501] F F F M F M F M M F F M F M F F F M F M F M M M F F M F M F F M M M M M
##  [4537] M M F F F M F M F F F F M F M F M F M F M F F F M M F M M M M F F M M M
##  [4573] F M F M F F M M F F M M F M M M F M F F F M F F F M M F M F F M F F F M
##  [4609] M F F M F M M M F F F F             F F M M M M M M M M F F M M F M F M
##  [4645] F F F M M M F M M M F M M M M M F M F F M F M M F M F M F M F F F M M M
##  [4681] M F F F M F F M M F F M F F F M F F M M M F M F M F F M F F M M M F F  
##  [4717] F F F F M F M F F M F M M F M M M M F F F M M M M F M M F F M M M M F M
##  [4753] M M M F M M M F F F       F M M F F F M F M F F M M M M M M F M M F M M
##  [4789] M M F M M F M M F F F F F F F F F M F M M F M M F F M M M F            
##  [4825]                                                                        
##  [4861]                                                                        
##  [4897]                                                             M          
##  [4933]   F M M F F F F M F F F M M M M M F M M F F M M M F F F M M F F M F M F
##  [4969] M F M F F F M M M F F F F F F F F M M F F M F F F F F F F M F F F F F F
##  [5005] M F F M F M F F F F F F F F F M M M   M     F F F M M M M F F F F F F F
##  [5041] F F F F M M F F F F M M M M M F F F F F F   F M F F M M M M F F F F F F
##  [5077] F F F F F F F F M F F F F F F F M F F F F F F F F F M F F F M M F M M F
##  [5113] F F M M M F M M M M F F F F M M M   M M F M F F F M M F M F F M F M F M
##  [5149] F M F F F M   M F M M F F M M F M F M F M F M M M F F M M F M M M F F F
##  [5185] M F M F F F F F F M M M M M F M M M M M M M M M M   M F F M M F M F F F
##  [5221] M M   F M F F M F F F F M F M F M F M F M F F M F F M M M M M F F M F F
##  [5257] F F F F F F F F F M F F M F F M F M F F M F F F F M F F F F M M F F M M
##  [5293] M F M M F M F F F F F M F M F M F F M M M M M M F M M M M M   M F F F M
##  [5329] F F F F F M F F M M F F M M M M F M M M M F M M M M M M M M F F F M M M
##  [5365] M F F F F F M M F M F F M F F F F F F F M F F M M F M M F F M F M F M F
##  [5401] M F M M M M M M F M M M M M F M M M M F M M M M M M M M M F M M M M M M
##  [5437] M M M   M M M M M M F M M F F M M M M F F M M M M M M M M M M M M M M M
##  [5473] M M M M M M M M F M M F M F M M M F M M M M F M M F F M M F M M F M M F
##  [5509] M M F F M F M M M M M M M F M M M F M M M F F F M F F M F M F M M M F F
##  [5545] M M M F M M M F M F M F M M F F F M F F M M M F M M M M F F M M F M F M
##  [5581] F M M M M F M M F M F M M M F M M M M M M M M M M F M M M M F M M F M M
##  [5617] F M M M F M M M M M M F M F M M F M M F M M F M M M F M M M M F M F M M
##  [5653] M M M M M M F M M F M M F M M F M M M M M M F F M M M M F M M M M F M F
##  [5689] F M F F F M M M M M F F F F M M M F F F F M M F F M F F F F F F F M M M
##  [5725] F F F F F M F M F F   M F F M F F M F F M F M M M F F F F M F M F M F F
##  [5761] F M F M F F M M F F F M M M M F F M F M F M F M F F M F M F F F M M M F
##  [5797] M F F M F M F M M F F F M F F M M F M F M F F F F F M F F M M M M M M M
##  [5833] F F M F F M M M M F M F M F F M F M F M F F M M F M M F F F M F F M M M
##  [5869] M M F F F M M F F M M M M M F F F M F F F F M F M M F F F M M M F M M M
##  [5905] M M M F M F M M F M M M F M M M F M F M F M M F M F M F M   F F   F M F
##  [5941] M F M F M M F F M F M F M M M F M M F M M M F F M M F M F M M F F M F M
##  [5977] F M F F M M M F F M M M M M M F F M F M F M F M F F F M M M M F M F M M
##  [6013] M M M F F F F F F M M F F F M M F F M M M F M M F M M M F M M M M M M F
##  [6049] M F M F F M F M M F M M M M M F M F M M F F M F F F F M F F M M F F M M
##  [6085] F M F F M M M M M F F   F M M F F M M F M F F M F M F F M F F M M F M F
##  [6121] F M M F F M F M M F F M F F M F M F F M F M   M M M M M M M M M F M M M
##  [6157] M   M F M F M F M M M F F M M F M F M F F F M F M F M F F F M M F F M M
##  [6193] M F F M F M F M F   M M M M M F M M M M M M M M M M M M M M M F M M F M
##  [6229] M M F M M F   F M M F F F F M F F F M M F M M F M F F F M F M F M F M M
##  [6265] F F M M F M F M F M F F   F M F M F F M F M M F M F M M F M F F M F M M
##  [6301] F F M F F M M M F F F F M F M M M F F M F M M M F F F F F M F M F M F M
##  [6337] F M M M F F F F F F F M F F   M F M M F M M M F M F M F F F M F F M M M
##  [6373] F F M F M F M F F M M M F F F F F F M F F F F F F M M F F M M F M M M F
##  [6409] F M F M M M M M M M M F M M M M F M F F F M F M M F M F F F F F M M F M
##  [6445] F M F M F F F M F F M M F M M F F M F M F M M F M F M M F M F M M F M F
##  [6481] M F M F F M M M F M F F F F M M F M M F M M F F M M F M M M F F M M F M
##  [6517] F M M F F F M M M M F F F F F F M M M M M M M M F M F M M M M F F M M M
##  [6553] F M M M F F F F F F F F F F F M F M F F F F F F F F F F F F F F F M M M
##  [6589] F M F M F M M M M F M M M M M M M M M M M M M F M F F M F F F M M F M F
##  [6625] F F F M M F M M M M F M M F M M M M M M M M M M M M M M M M M M M M M M
##  [6661] M M M M M M M M M F M M M M M M F M M F F M F F F F M M M M F M F F M M
##  [6697] M M M M F M M F   F M F M M M M M M M F F F F F F F F F M F   M M F F M
##  [6733] F F F F F F F F F F F F F M M M M F F F M M M M F F M M M M M M M M M F
##  [6769] M F F F M M F M F M M M                                   F F   F F F M
##  [6805] F M M F F M F M M M F F M F M F F F F M M F M F M M M F M F F M F F F M
##  [6841] F   F M F M F M M M M M M F M F F M   F M F F F M M M F F M F M F M F F
##  [6877] M F F   F F M F M M F F M M F M F M F M F M M M M M F M M M M F F M M M
##  [6913] M M M F M M M F M M             F F M M M F M M F M M F F F M F F M M M
##  [6949] F F                                                                    
##  [6985]                   M F M M M M F M M M M F M F M F F M M F M F F M M F F
##  [7021] F F M M M F M F F M F F M F F F M F F   F F F M F M F F F M F F F F F F
##  [7057] F M F M           M F M     M F F M M M F F F F F F M M F F F F F F F F
##  [7093] M F M F F F M M F M F F M M M F M F F F F F M M F F M M   M M M M F F F
##  [7129] F F F M M F M M M M M M M F F M F   F F M F   F F F F F F F M M M M M M
##  [7165] M M M M M M M M M F M M M F F M F F M M F F F M F M F M F F F F F F F F
##  [7201] F F F F F   F F F     F F F F F F F F M F F F F F F F M M F M M M M F M
##  [7237] F F M F M F M F M F F M F F M M F M M M F F M M F M M F M M M M M M M M
##  [7273] M M F F F M M M F M F M M F M F F F F M F M F M F M F F F F M M F M F M
##  [7309] F F F M M M F F F M M F M F M F M F F M M M F F M M M M M M M F F M M M
##  [7345] F M F M M   F M M M M F F F F M F M F M M F F F M M M M M F F F M F M M
##  [7381] F M F F M F M M M M F M F M M M M M F M M M M F F M M M F M M M M F M M
##  [7417] M F M M M   F M M M F F M M M F F F M M M F M F F M F F F M F F M F F F
##  [7453] M F F M F M F M F F M M F F M F M F M M F F M M M F F M F F F F M M M F
##  [7489] F M M F M F M F M F M M F F M M M F M M M F F M F F F F F F F F F F F F
##  [7525] F F F F F M F M F F F F F M F M M F F F F F F M F F F F F F M F F F F M
##  [7561] F F F F F M F F F M F F M M F F M F F M M M F F F F M M M M F F F M F F
##  [7597] M F M F F F M F F M F M F F F F M F M M M F F F F M F F M   F F M F F M
##  [7633] M M F F M M F F M M F F F M M F M M F F F F F F F M F M M F M F M M F M
##  [7669] M F M F M F F F F F M M M M F F M M M F F M M M F M F M M F M M M M F M
##  [7705] M M M M M M M M M M M M M M M M M   F M F F F F M F M F F F M F F F M F
##  [7741] F M M M M M M F M M M M F M M F M F M F M M F M F M M M F M M F M M F F
##  [7777] M M F F M F M F M M F F F F M M F F M M M M M F M M F F M M M M M F M M
##  [7813] F F F M M M F F M F F F F M F M F F F F M M F F F M F F F M F F M M M F
##  [7849] M F F M F M F F F F F F F F F M M F F F F F F M F M F M M F F M M F M M
##  [7885] F M F F M M M F F F M M F F M F M F M F M M F M M F M M F M   F F M M M
##  [7921] F F M M M F M F M M M M M F F M M M F M F F M M F M F M F M F F F F M F
##  [7957] M F F F F F M F M F M M M F M M M M F M M F M M M M M M M M M F F M M M
##  [7993] M M F M M F M F F M F M F M F M F F M M M F M F F F M F M F F M F M M M
##  [8029] F M M M M F M M M F F M M F M M M F M F M F M F M F M F M F M F F F M M
##  [8065] M M M M F M F M M F M F M F F M F M M M M F M M F F M M F F M M F F M M
##  [8101] M M M F F F M F M F M M F M M F F M F M M M F F F F M M M M M M M M M F
##  [8137] F F M M M F F M F M M M F M F M F M M M F F M M F M F M M M M M M F M M
##  [8173] F F M F F F F F M M M F M M F M F F F F M F F M M M M M F F M M F F M M
##  [8209] M F M F F M F M F F M F M M F F M F M F F M M M M F F M F F F M F F M F
##  [8245] F M M F M M F F F F F F M F M M F M M F M M M M F F M M M M F M M M M M
##  [8281] M M M F F F M M M F M M M F M M F M F F F M M M M M F M M M F M F M F F
##  [8317] M F M F M M F   F M F F F F M F F F F M F M F F M M F F F F F F M F M F
##  [8353] F M M M M M F   M M F M M M M M M M M M F M F M M M M F M M M M M M M M
##  [8389] M M F F M M M M M M   M M M M F M M F M F M M F M F M M M M M M M F M F
##  [8425] M F M F M   M M M M M M M M M M F F F M M F F F F F F M F F F F F M F F
##  [8461] F F F F M F F F F M M F M M M F M M F M F M M   M M F M F F F M F F M M
##  [8497] M F F M F F F F M M M M M M F F F M M M M F M F M F M F M F F M F F F F
##  [8533] F F M M M F F M M F M M M M F M F F M F F M F F M M M M M M M M M M M M
##  [8569] F F M M M F F F F M F M M F M F M F M F F F F M M F F M F M F F F F M F
##  [8605] F F M M F M F F F M M F F F F M F F M M M M F M F F F F F M M F F M F M
##  [8641] M M F M M M M M F F F M F M F M M F F M M M F F M F F F M M F F M F M F
##  [8677] M M F M M M F M M M M F M F F F M F M F F M M M M M M F M F M   M M M F
##  [8713] M M F M M M F M M M M F M M M F M F M F F M M F F M   F F M M M M F M F
##  [8749] M M F F F M F M M F F F F M F M F F M M M F M M M M F M F M M F M F F M
##  [8785] F M F F M M M F M M F M F M M M M M F F M F F F M F F F F M F M F M M F
##  [8821] F M M M M M F F M F F M M M M M F M M M F M M M F M M M M M F F F M F F
##  [8857] F F M F M F M M F M M M M M M F M F M M F F M F M F M F M M M F F M M M
##  [8893] M M M   M M F M F M F M M M F F M F M F F F F F F F M F F M F F F M F M
##  [8929] M M F F M F M F M F F M M M M F F M F F M F F M F M F F M F F M M F F F
##  [8965] F F F M F M F F M   M F F M M M M M F M F M F F M F M F F F M F F F F M
##  [9001] M M M M F F F M M M M M M M M F M F M M F F M M F M M F M M M M M F F M
##  [9037] M M M F M M M M M M M M M M M M M F M F M F M M M M M M F F M M F M M M
##  [9073] F F M F M M F M F M M M M M F M F M M M M   M F F F F M F M M F M F M  
##  [9109]               M F M M M F M F M F F M F F F M F M F F M M M F F F F M M
##  [9145] F M F M F F F F F F M F M F F M F M F F M F F M M M F M M F M F M M F M
##  [9181] F   F F M M F F F M M F M F M M M F M F M F M F M M M F M F F M M F F M
##  [9217] M F M M M M M F F M F M F F M F M M M M F M M M M F F M M   M F M M M M
##  [9253] F M M M F M M M M F F M M F F F M F F F M M M M F M M F M F M M F M    
##  [9289]             F M F M F M M M M M M F M                                  
##  [9325]                                                                        
##  [9361] F F F F F M F F F     F M M F M F M M M M   M   M M M M M M M M F F F M
##  [9397] M F F M M M M F F F M F F F F F M F M F M F M F F M F       M M M F F M
##  [9433] F F M F F M F F F M F M M M   M F F   M M M M M F M M M M M M M F M F F
##  [9469] M M M M F F F F F F F F F F F F F F M F M F F M   F M F M M F M M M F F
##  [9505] M F F M F M M M F F M F M M F F F   M F F F F F F M F F F F F M M F M F
##  [9541] M F F F F M M F M M F M M F F F F F F M M M M M F M M M F M M M F F F M
##  [9577] F M F F M F F M F M F F M M F F F F F F F M M M M F M F F M M F F F F F
##  [9613] F M M F F M F M F F M M M F F F M M M M F M F M F M M F M M F F F F M F
##  [9649] M M M F M F M F F M M M M F M F M M M F M F F F M F F F M F M F M F F F
##  [9685] M F F F M F M M   M M M M M M M M F M M F M M F F F M F F M F M F M F M
##  [9721] M   F F F M F F F M F M M M M F F M F M F M F F F M M M F F F F M F F M
##  [9757] F M M F M F F M M M F M F M M F M F M F M M M F M M F F M F F M M M F F
##  [9793] F M F M F M M F F F M F M F F M M F M M F M   M M F M M F   M F M F M F
##  [9829] F F M F M M F M M F F F M F F M F F F F F F F M F F M F F F F F F F F F
##  [9865] F F F F F F F F F F M F F M F F M M F F M M F M M M M M F F F M F M M F
##  [9901] F F M F F M M M M M F F M M M M M M F M F M F M F M F F M M M M F M F M
##  [9937] M F F M M M F M M M F F F F F M M M F M M F F F M F M M M M M M M F M  
##  [9973] F M M M F M M F F F F F M F   F M M F M M F M F M M F M F M F M F M F M
## [10009] M M M F M M M F F M M M F F M F M F M M F F F M F M M M F M M M M M M M
## [10045] F M M M F M M M F M F F M M F M M F F F F M F M M F F M M M F M F M M M
## [10081] F M M F   F F F F F M M M F F M M M   F F F M F F M F M F F F F F M F F
## [10117] F F F M F F M M M M F M M F M F F F F F M F M M   F F M F F F F F F F M
## [10153] M F F   M F M M M M M M F F M F F F M F M M F M F M M M M F M F F M F F
## [10189] F M F F F F M F F F F F F M M F M M F F F F F F F M M M F M M M F F M F
## [10225] M F M F M M F F M F F F F M F M M M F F M M M M F M F M M F F F M F F M
## [10261] F M M M F F M M F M F M M F F F F M F M F F F M F M F M F M F F F M M M
## [10297] M M   F M F F F M F F F M F M F F F M M M M F M M M M F M M F F M F F F
## [10333] M M M M M M M M F F F M M           M M M F M F M M F F M F M M F M F M
## [10369] F M M F M M M M F F M F F M M F F F F F F M M M M F M M F M F F M F M F
## [10405] F M F F F F M F F F F M F M F F F F F M F F F F M M F M M M F F F F F F
## [10441] M F F F M M M M F F M F M F F M F F M M F F F F M M F M F M M F F M M M
## [10477] M M M F M M F M M F F M M F M M M M M F M M F M M M F M M F F M F F M  
## [10513] F M F F M M M F M F M F M M M F F F M M M F M M M M M M M F M F F F F F
## [10549] F F M F F F F F M F F M M F M M F F F M M M M F F                      
## [10585]                             M F   M     F F M M M F F F F F M F F F F F
## [10621] F F F F F F M M F M M F F M M M F M F M M F F F F   F   M F M M F F F F
## [10657] F M F F M F F M F F F F M M F M F F M F F M F M F   M M F M F F F M F M
## [10693] M F F F   F M M F M M M F F M F F F M F M F M F M M M F F M M F M F M F
## [10729] F F M F M F F F F M F M F M F F F F F F F F F F F M F F F F M F M F F M
## [10765] F F F F M M F F F M F F   F F F F F F F F M M F M F F M M F M F F F F F
## [10801] F F F M M F F M F M F F F F M F F F F F F F F M F F F F F F F F F F F F
## [10837] F F M F F F F F   F F F F F F F F F F F M F F F F F           F M M M F
## [10873] M F M F M F M M F M M F F   F M M M M M F F F M F F F M F F F F F M F F
## [10909] F M F M M F M F M F M F M M F M M   M F M M F M M F M F F M F M F F F M
## [10945] M F M M F M M F F M M F M M M M M M M M M M F M F M M F M F F M M F F M
## [10981] M F M M M M M M F F M F M F F M M F M F M F M M F M M F F M F M F M M M
## [11017] M M F M F M F M M M F M F F M F M F F F M F F M M M F M F M F F M M F M
## [11053] M M F M M M M F M M M F M F M M M F M M F M F M M F M F F M M M M F M M
## [11089] F M M M M M F M M M F M M M F M M M M M M M F F M M M M M M M M M M M M
## [11125] M F M M F M F F F M F F M F F M F F M F F M M M F M M F M F M M F M F F
## [11161] F M F F M F F M M F M F M M M F M M F M F M F F M F M F F M F F M F F  
## [11197] M M M F F F M M F F M M F F M M F F F F F F F F M F F F F F F F F F F F
## [11233] F F F F F M F M M F F F M M M M F M F M M F F M M M F M M F M M F M F M
## [11269] M F M F F F M M F M F F F F M F M M F M F M F M M F F M F F M F M M F M
## [11305] M F F F M M F M M F F M F M F F M M M F M F F M F F M M M M F F M M M F
## [11341] M M F M M M F M M F M F M M M M F M M M M F M M M F M M F M F M M F M F
## [11377] M M F M F M M F F F M M F M F M M F F M M F F F M M F F M M F F M M F F
## [11413] F M M F F F M F F M F F F M M M M F F M M M M M F F M M F M M F M F   F
## [11449] M F M M F M F F F F M M M M M M F M M F F M M F F F F F M M F F F M M M
## [11485] M M M F M M F F M M F F M F M F M F M F F M M F M M F M M F M M M F F M
## [11521] M F M M F F F M M F M F M M M M M F F M F M F F M M F M F M F M M M M M
## [11557] M M M F M M M M F M F M M F F M M M F F M M M F F F M F F F F M F M F M
## [11593] M M F M F M M F M M M M F M M M F M M F M M F M M M F M F M M M M M F M
## [11629] M F M M F M F M F F M F M M F M F F M M M M F F M F F M F F M F F F M M
## [11665] F F M M F F M F F F F M F M M M M F F F M F F F M F F F F M F F M F M F
## [11701] F M M M M M M F F F M F M M M F M M F M M M F M F M F F M F M F F F M M
## [11737] M M M M F M M M M M F F M M M F M M M M M M F F F F M M M M F M M F M F
## [11773] F M F M F F M F M M F M M F M F F M M F F M M M M F M F M M F M F M M M
## [11809] F M M M M F F M F M F F F F F M M M F M F M M M M F F M F M F F F F M F
## [11845] F M M M F M M F F F M M M F F F M M M F F M M M M M M M F M F M F M F F
## [11881] M F M M F M M M M M F F F M F M F M F M F F M F   F F F M M F F M M F M
## [11917] F F M F M F M F M F M F M F M M M M M M M M F F F M M M M M M M M M M M
## [11953] M M M M M F M M M M F F F F F M F F F F F M M M   M M F M M F M F F F F
## [11989] F F F F F F F M F F M F F F F F F F M M F F F M F M M M F F F F M M M M
## [12025] F F F F F F M M M M M F M F M M M F F F F F F M F F F F F F M F M M M M
## [12061] M M M M M M F F F F M F M M M M F F F M M F M M F M M M M M F M M M M F
## [12097] M M M M M M M M M M F M F F M F F F F M F M M F M M M M F M M M F M M F
## [12133] M M F F M M M F M F M M M F F M M M M M F F M F F F M F M   F F F F F M
## [12169] M F M F M M F F F M M M M M M M M M M F F F M M M M M M M   M F F F M F
## [12205] M M M M M F F F M F M M M F F M M M F M M F F F M M M F M M M M F M M M
## [12241] F M M M M M M M M M M F M F M F M M F F M M F F F F M F F M F M F M M F
## [12277] M F F M F F F F M F F M M F M F F M M F F F M F M M F M M F F M F M F M
## [12313] F F M F M M F F F F M M M F M F F F M F M F F F M M M M F F M F M F M M
## [12349] M M F F M F M F M F M M F M F M   F F M F F F M F F F F F M F M M F F M
## [12385] M M M M F M F M M F F M M M M M M M M M M M M F F M M F   F F F F F F F
## [12421] M F F M M M F F M M F F M F M M M M M F M M M M M M M F M M M M F F F M
## [12457] M F M F F F M F M M M F M M M M M M F F M M M M M M M M M M M M M F M F
## [12493] M M M F M F M M F M M M F F M M F M F M F M M F F M F M F F F F M      
## [12529]                       M F M M M M M M F M F F F F M M M M M F M M M M M
## [12565] M F M M F M F F F F M F F F M F M M M F M M M M M M M F F F F F F F M M
## [12601] M M M M M F F F M F M M F F M M F M M M M F M F M M M F M F F F F M M M
## [12637] M M F F M F M M F F M F M M F F M M F M F F M M F M           M M M F F
## [12673] M M M F M M M F M M F M                               M           M    
## [12709]     F F M M F F F   M M M M M F M F F M F F F F M F F M F M F F F M F M
## [12745] M F F M M F F M F M F F F M M M F M F F F F F F F F M F         F F F  
## [12781] F M F F F F M M M M M M M M M M M M M F F F F F F M F F F F F F M F F F
## [12817] F F F F F F F F M M F F   M F F F F F F F F F F F M M F M F F F F M F F
## [12853] F M F F F F F F   F F F F F M M M M M F F M F M F F   F F F F F F F F F
## [12889] F F F F M F M F F F F F F F F F F F F F M F M M M F F M M F M M F M F F
## [12925] F F F   F F M F F M F M F M M M F F F F F F F M F F M F M F M M F M M F
## [12961] M M F M   M M M M M M F M M M F M F F F F M M M M M F F M F F M F M F M
## [12997] F M M M F F F M F M F F M F M F F M F M M F M F F M F F F F M F M F F M
## [13033] M F M F F F M F M F F M F M M F M F F F M F F M F F F F M M F F F M F M
## [13069] M M M M M M M M M M M M M M M M M M F M F F M M M F M M M M M M F M M F
## [13105] M M F M M M F M F F M F M M M M M M F M M M M F M F M M M M M F M F M M
## [13141] F F F M M M F F M M M F F F F M F F M M M M M F M M M F M F M M M M F M
## [13177] M M M M M M M F   M M F F M F M F F M M M M M M F M F F F F M M F F M M
## [13213] M M F M F F M M F F M F F M F F M M F F F M F M F F M F M M M F F M F F
## [13249] M F F F F M M F F F F F M M F F M F M F F M F F F M F F F F F F M F M M
## [13285] F F M M F F F F F M M F M M F M M F M M M F M M M F F F M F F M F F M M
## [13321] M M M F F F F M F M M M M M F M M F M F M M M M M M F F M F M M M F M F
## [13357]   M M M M M M M M M M M M M M F M F M M F F M F F F F F F M M F M F F M
## [13393] F M M F M M M F F F M M F F F F F M M M M M F M F M M M M F F F F F F M
## [13429] F M M   M M M M M M M M F M M M M F M M F M F M F M M F   F M F M F F M
## [13465] M   F M F F M F F M F F F F F M F F M   M F F F M F M M M M M M F M F F
## [13501] F F F M M M F M M M F M M F F M M M F M F F M F F M F M F M M M M M F M
## [13537] F F M F F F F F M F F F F F F F F F M M M F M M M M M M M M F F M M F  
## [13573] F F F F F F F M F F F M M M F M F M F F F F F M M F F F F F M M F F M M
## [13609] F M F F M M M M M F M F F M M F M F M F F M F F F F M M F F F F M F M F
## [13645] F M F M F M F F F F M F F M M F F F F M F F M M M M F M M M M M F M F M
## [13681] M F F M M F M M M F F F F F M F M M M M M F M M F M M M M F F M M M M M
## [13717] M M M M F F F F M M M F M M F M M F M F F F M F F           M F F F M F
## [13753] M F F F F M F F F M F F M M F M F F M F F F F F M M F   M F F M F M M M
## [13789] M M M M M M M M M M M M F M M F F F F M M F F F F F M M F M F M F M F M
## [13825] F M M F F M M M F F M M F F F M F F M F F F F M F F F F M M M M F F M F
## [13861] F M M M F M M F F F M M M M M F M M M F M M F F M F M F M M M M M F M M
## [13897] F M F F F F M M M M F F F F                                            
## [13933]                                                                        
## [13969]                                           F F F F F F F F F F          
## [14005]     F F M F F F F       M M M M F M M M M M M M M M F M M F F M F M F F
## [14041] F M F F F F F M F M F M F M F M M F F F M M M F F M F F M F M F M F F F
## [14077] F F M F M F M F F F F F M F M F F F M F F F M M F M F F M M F M M F F F
## [14113] M M F M F F F   M M F F M M F M F F F M M F F M F F M F M F M M F F M F
## [14149]   M F F F   M M F F M M M M M M M M M M   F M M F M M F F F F F M M F F
## [14185] F M M M F M F M M M M F M M M F F F F M F M F M M F M F M M M F F F F  
## [14221] M M M M M F M M M M M M M M M M M M M F F F M M M M F F F F F F M F M F
## [14257] M M M M F M F M M F M M F M F F M F M F F M M F F F M F F M M F M F F M
## [14293] F M F F F M M F M F F F F M F M M M M F M F M F M F F F F M F M F F M M
## [14329] M M M M F F M M F M M M F F M F F F M F F F F F F M M M M F M M M F M F
## [14365] M M F M M M M M M M M F M F M M M M F M F M M M M M F M M F F M M M F M
## [14401] M M F F F M F F F F F M M F M M M M M M F M M F M F M F M F F F M F F F
## [14437] F F M M M F F F F F F F F F M F M F F M F F M M M F M F F F F F F F F M
## [14473] M M M M M M M F M F F M F M F F M F M M F F M M F M F F M F F M F F F F
## [14509] M F F F F F M F M F M F F F M F F F M F F M M F F F F M F M M F M M F M
## [14545] M F M F F F M F F M M M F M F F M M M F F M M M F M F F M F F M M F M F
## [14581] M F F M F F F F F M M F M F M F M M F F M F M M F M M F M M F F M M M F
## [14617] M F M F M M F M M F M M M F F F M M F F M M M M F M M F M F F M M M M F
## [14653] M M M M F F M F M M M M M M F F M M M M M M M M M M F F F M F M M M M M
## [14689] F M F F F F F F F M F F M F M F M F M M M M M M M F M M M F M F F F M F
## [14725] M M M M F F F M F M F M M M M M M M M F M F M F M F M F M F M F F F F M
## [14761] F F F M M F M F F F F F F F F F F F F F F F F F F F F F F F F F M M M F
## [14797] F M F M M M M F M M M M F M M M M M F M M M F M F M F M M F M F F M F F
## [14833] F F F F M M F M M F F F M M F F M F M M M M M M F F F M F F M M F M M M
## [14869] M M F M F F F M M F F M M F M M M M M F F M M M F M F M F M M M M F F M
## [14905] F M F F F M M F M M M M M M F M M F M M F M M F F M M M M M M F M F M M
## [14941] F F F M M M F F M F M M M F F F F F F F F F F F M M F M M M M F M M   M
## [14977] F F F F F F F F M F M F F F F M M F M F M F M F M F M F M F M F M F F F
## [15013] F F F M M F F F F F F F F   F F F F F F F   F F F F F F F F F F F F F F
## [15049] M F F M M F F F M M M M M F M F F   M M M M   M F M F M M F F F M F F F
## [15085] M M F F M M F M M M M F F F M F M M   M F M M M M M M F M M M M M M F M
## [15121] M F F M F M F F M M M M F M F F M F F M M F M M F M F M M F M M F F M F
## [15157] F M F F F F F M M M M M F M F M M M F M F M F M F F M F F F M F M F   M
## [15193] F F M M M F             M M F M M F M M M F M M M F M M F M F M F M M F
## [15229] F F M M F M F M M F F   M     M F F M                                  
## [15265]       F F F F F F F F F   M   M M M M M M M F M F M F M M M M M F M M M
## [15301] M F M M F F M F M F F M F F F F F F   F F F F M F M M M F M F F F F F F
## [15337] F F M F M F M F M F M F F F F F M F F F F M F M M M F M F M F M M F F F
## [15373] M M M M M M F M F F F F F M F M F F M F F F F F F M F F F F F F F M F M
## [15409] M M F M F F F M M M M F F M M M F M M M F F F M F M F M M F M F F M F M
## [15445] F M M F F F M F F F F M F F F M F F M F M F M F F M F F F M F F F M M M
## [15481] F M F F F M F M F M M M M F M F F F M M M F F M F F F F F M M F M F M F
## [15517] F M F F M M F M F M M M M M F M M M F           M M   M M M F F F F M F
## [15553] M M M F   F F M M M F M M F F F F F F F F F F M F F F F F F M M F M M M
## [15589] M M F M M M   M M F M M F M M M M F F M F M M M F M F M F M F   F F M F
## [15625] M M F F M F F M F F M M F M F F M F M F M F F M M F F M M F M F F M M F
## [15661] M M M F M M M F F M F F F M M M F M F M M F M F F M F M F M F F M F M F
## [15697] M F M M F F M F M F F M F M F M F F M F F F M M F F F F M F M M F M M M
## [15733] M M F F M F M F M F F M F F M M F M F F M   M M M M M F M M F M M F F M
## [15769] F M M M F M M F M M F F M F M M F M F M M F M F M M M F F M M M F M M M
## [15805] F F F M M M F F M F M M M M M F F F F M F F F M F F M F M F M F M F M F
## [15841] M M F F M M M M F M F M F F M M M M F F M F M M M F M F M M M F M M F M
## [15877] M M M M M F M M M M F M M F F M M M M M M M M M M M M M M M M M M M M F
## [15913] M M M F F M F F M M F F M F F F M M F F M F M F M F F M F M F F M F F M
## [15949] M F F M M M M F F F M F M M F M M F F M F M F M F M F F M M M F M F M F
## [15985] F M M F F M M M M F M F M M F M F M M M M M M F M F M F F M F F M F F M
## [16021] F M M M F F M M F M M F F M F M M M M M F M M M M M F M M M M M F M M M
## [16057] M M M M F M M F M F M M F M M F M M M M M M M M M F M M F M M M M F F  
## [16093] M F M F F M M M F M F F M F M M M F M M M F F F M M M M M F F M M M M F
## [16129] M M M   F M F M M F F M F M M M F M M M M M F   F F M M   M F M F F M M
## [16165] F F M M F M F M M F M M F F M M M F F M M F M F M M F M M F M F M F M M
## [16201] F F F M F F F M F M F F M M M F M F M F M F M M M F F M M M M F M M F M
## [16237] F F F M M M M F M M F M M M M M M F F F M M M M F M M M M F M M M F M M
## [16273] M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M
## [16309] M M M M M M M M M M M M M F M F F M F M M F F F M M F M M F F M M M F M
## [16345] M M M M M F M M M F M M F M F M M F M M F M M F M M M F M M M M F M M F
## [16381] M M F M F M F M F M M M M M M M F M F M M F M F M F M   F F M F M F M M
## [16417] F F F M M M M M F F M M M F F M M M F M F M M F M M M M M F M M F F M M
## [16453] M M M F F M M M M M M F M M M M M M M M M F F M M F M M M F M M F F M F
## [16489] M M F F M M F M M F M M F F M M M F M M M F F F M M F M M M M M F M M F
## [16525] M F M M F M M M M F M M M M M F M M F F M M M F M M F M F M F M M M M M
## [16561] F F M M F M M F M F F F M M M M F M F   F M M M M M M F F F F F M M F F
## [16597] F M M F F F M M F F M F M F F F F M M F M M M F F F F F F M F M F F F M
## [16633] M M M M M M M M F M M M M M M M M F F M F M M M M M M F M M F M F M M M
## [16669] F F F F M M M F M F F M F F F M F F M M M F F M M F M F M M M F F M F F
## [16705] F F M M F F F M F F F F M F M M F F M F M F M F F M M F M M F F F F F F
## [16741] M M F F F F F M F M M F F M M F M M M M M M F M M F F M M M F M F M M M
## [16777] F M F F M M F M M M M M M F F F F M M F M M F F F M M F F M F F M M F F
## [16813] M F F M M M M M F M M M F F M M F M M F M F M M F M M M M M F F F M M M
## [16849] F M M M M M M M M F M M M F M M M M F F F F F F F F F F F F F F F F F F
## [16885] F F F F F M M   F M F F M F F M F F F F F F F M F M F F F M F M M M M M
## [16921] M M M M   M M M M M M M M M M M M M M M M M M M M F M M M M M M M M M M
## [16957] M M F F M M M F M F M F F M M F F F M M M F F   F M M M M F F M M M M F
## [16993] F F M M M M F M M M F M F M F F M M M M F M M M M M F F M M M M M M F M
## [17029] M M M M M M M   M F M F M M M M M M M M M M M M M F M M M F M M M M M F
## [17065] M M M M F F M F F F F F F M F M F M F F M M M M M F F F M F F M F M M F
## [17101] F F M F F M F F F F F F F F F M M M F M M F F F F F F F F F F F F F F F
## [17137] F M F M F M M F F F F M F F F F F M M F M M F M M M M M M M M M M M M M
## [17173] M M M M F M M M M                                 M F M F   F M F M M F
## [17209] M F M M M M M F M F M M M F M F M M M M M F M M M M F F M F M F F M F M
## [17245] F M F M F F M M F F F M M F F M M M M F M F F F M M M M F M M M F M F F
## [17281] M F M M M F M M F M M F M M F M F M F M M M M M M M   F F M M M F M M M
## [17317] M F F F F M M F   M M M F M         M F M M M F M M M M F M F F M F F  
## [17353]                                                                        
## [17389]                                           M F M M M M   F M F F F F F F
## [17425] M F F F F F F   F F F M F F F M M M F M F M M F M F M F F F F F F F M M
## [17461] M   M M M M F F F F F F F F M F M M F M F F F M M M M F M F M F M F M F
## [17497] F M F F F M F F F M F M F F F F M F M F F M M M F M M F F M M M M M M F
## [17533] M M M F M M M M F F F M M F M M M F F M F M   F M F F M M F M F F M F M
## [17569] M M F M M M M F F M F M F F M M M M F M F M F F M M F F F F M M F M F M
## [17605] F M F M M M F F M M F M M F F M F F M M M F M M F M M M F F M M M F M F
## [17641] M M F M F M M M M F M M F M F M F F M M M M M F M M M M M M F M F M M M
## [17677] M F M F M F M M M F M F F F M M M F M F M F M F M M M F M M F F M M F M
## [17713] M M M M F M M F M M M F M F M F M F F F M M F F F M F F M F M F F M F M
## [17749] F F F F F M M F F F F M M M F F F M F M M M F M F M F M M F F F M F M F
## [17785] F F M F F M   F F M M F F M F F F F F M M F M F F F M F F M F F M F F F
## [17821] M F M F F F F F M F M M M F M F F F F M F M M M F F F M F M M M F M F F
## [17857] F M F F F F M M F F F M F F M M M M M M M M F M M M F M M M F F M M F M
## [17893] F F M F M M M M F F M M F M F F F F F M M M M M M M M F M F F F M M M M
## [17929] M F F F F M F M F F M M F M F   M F M F F F F F F F F M M M M F F F M F
## [17965] M M F M M M M F M F M F F F F M M M F M M M F M F M F F M M M M M M M F
## [18001] M F M F M F M M F F F F M F M M F F F   F F M M M M M M M M F M F F F F
## [18037] F M F M M F M M M M M M M M M M F F F F F F F M F F M M M M M M M M F M
## [18073] M M F M M F F M F M M F M F M F M M M F       F M M F M F M M F M F F M
## [18109] F F M F M M F F M M F F M M M F M M M F M F F F F F M M M F F F F M F M
## [18145] F F M F M M F F F   M M M F M M F M M M F M M M M M F M F M F F F F M F
## [18181] F F F F F M M M M F M F M M M F F M F F F F F F F F F F M F F M F M M M
## [18217] M M F M F M F M F F M F M F M M F M M M M M M M F M F M M F F M M F F F
## [18253] M F M M M F M M F M M M M M F M M M M M M F M F M M M F F M M F M M F M
## [18289] F F F M M F F F F M F F                         F F F F F M M M F F M M
## [18325] F F F M F M F M M M F F M M M   M M F F M M F F M F M M M M M F M F F M
## [18361] M M F F M M M M M F M F M M M M F M M F M M M F F F F M F F F M F M M M
## [18397] F F F M F M M M M F M F F F F F M F M M M F F F F F M F M M F M F M M F
## [18433] M M M F M M M F M M F M M M M M F M M F M M M F F M M M F   F M F F M F
## [18469] M F F M   F M F F   F F M F F F M F M F M M F M   M F F M M F M M F M F
## [18505] F F M M F M M M M M M M M F M F F M F F F M M F F M F M M F M M M M M M
## [18541] F M M                   M F F M F M F M F F M M M M M   M F F F F F F M
## [18577] M M M F F   F F M M F M M F M M M M F M M M F M M M M M M M F M F M M M
## [18613] M F F M M M M M F F F F M M M F M F M M F F M M M M M M M F F M F F M F
## [18649] F M M M M F F M M M M F F M M M F M M M F F F M M F M F F M F F M F M F
## [18685] M F M F M M F M M F F M M F F M M M F M M M M M M M M M M M F F F F F F
## [18721] F M F F F M M F F F F M M M F M F M F M F F F F F F M F M F M F M F F F
## [18757] M M M M F F M M M F F M F F M M M F F   F M M F M F M F F M M M M   M M
## [18793] F M M M M M M M F M F M F F M   M M M F M M F M M M F M F F F F M M M F
## [18829] M M M M M M F M F M M F M M M M F F F F F F F F F F M M M M F F F F F F
## [18865] F F F M F F F M M M M F M M M M F M F F M M F F M M M M F F M F F F F F
## [18901] F M M F F M M M M M F M F M M M M F M F F F F M F M M M M M M F M F F M
## [18937] F M M F M M F M F M F F M M M M F M M M F M F M F F   M M M F F M F M F
## [18973] M M M M M F M M F M F F F F F F M F F F F F F F F F F F F F F F F F M M
## [19009] F M M M M F F F F M F M M M F F M F M F M M M F M F M M F M F F M F F M
## [19045] F F M F M M F F M M F F F M M F M M M M M F F F M F M F F F F F M F M F
## [19081] M F M M M M M M M M F M M F F F F F F M M F F F F F F F F M F F M M F F
## [19117] F M F M F F M F M F M M F F M M M M F M M F F M F F F M F F F F F F F F
## [19153] F M M M M M M M F M F M M M F   F F M M   M F M F M F F M M M   M M M F
## [19189] F M F F M M F M F M M M M M M M M M M M M M F F F F F M M M M M M M M M
## [19225] M M F M M M M F F M M F M F M M F F M F F M M F F F M F M F M F M F F F
## [19261] F F F F F F F F F M M F M F M M F F F M F F F M M F F F M F M M M M F M
## [19297] F F F M M F F F F F F M M M M M F M F M F F F M M F F F M F M F M M M M
## [19333] F F F F M F M M F M F F M M F F F M F F M M F F F F F F M F M M M M F M
## [19369] F M M F M M M F F F M F M F M F M M F M M M F F M M F M F M F F F M F F
## [19405] M F F F F M M F M F M F F F M M M M F M M F F F M M F M F M F M F F M M
## [19441] M M F F M M F F M M F F M F M M F F F F M M F F F M F F M F M M F F M M
## [19477] F M F M M M M F F M F M M F F F M F F F M M F M F M F F M M M F M F F F
## [19513] M M F F M M M M M M M M M F M M M M M M M M M M M M F M F M M F F M F F
## [19549] M F F F M F M F M M M M F M F F M M M F M M M F M M F M M F M M M F M M
## [19585] M M F F F M F M M F F M M M F F M M M M M F M F M M M M M F M M M F M  
## [19621] M F F F F M M F M M M M M F M M F F M F F F M F M F M F M F F M F F M F
## [19657] M M M M F M F F M M M F M M F F M F M M                                
## [19693] M F M F F F M M F F M M F F M F M F M M F F M M F M M F M M F M M M F M
## [19729] F M F F F M M M M M M M M M F M F F F F M F F F F M M F M F M F F F M M
## [19765] F M F F M M M F F F M F F M M M F F   M M F M F M M F F M M M M F M M F
## [19801] M M M M F F F M M F M M M F M M M M F M M F F M M M M M M M M M M F M M
## [19837] M F M M M M M F F                                                 M M M
## [19873] F F F F F       M F F F F M M M F F F M M F M F F M M F F F M M F F M M
## [19909] F F F F F F M F M F F F   M M F M M M M M M M M M M   M F F F F M M F F
## [19945] F M F F M F M F F F F M F M F M F F F F M F F F F F F M F F F M F M M M
## [19981] F F M M F F F F M F F F F F F F M F F M F M M F M M F F F M F F F M F F
## [20017] F M F F M F F F M F   M F F   M F F F F F M F M M F M F M F F F F M M F
## [20053] F F M M F F M M F F F F M M F F F M F F M F   M M F   F F F F F F F F F
## [20089] M F F F F M F F M F M F M M F F F F F M F F F F M F F F F F M M F F F F
## [20125] M F   M F M F M M F F F F F M F M M M M M M F F F F F F F M F F M M F F
## [20161] F F F F F F M M M M F F F F M F M F M M F M M M F M F M M F F F M M M F
## [20197] M F M F M M M F M F M M F M M M M F F F M F M F F F M F M M M M M F F M
## [20233] F M F   F M M F M F M M M M M M F M M M M M F M F M M M M M M F M F M M
## [20269] F M F F F M M F M M F F F F M F M F M F F F F F M F M F F M F M M M F M
## [20305] M F F M F M F M F M F F M F F F M M F F F F M M F M M F F M F M F M F F
## [20341] M F M F F F M F F M F F M F M F M F M M F F F F F F F M F M M M F F M F
## [20377] M M F M M F M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M
## [20413] F M M F F M F M M M F M M F M F F F M F M F M M M F M F F M M F M F M M
## [20449] F M M F M M M M M M F M F M F M F M M M M F F M F M M M M F M M F F M F
## [20485] F F   M M M M F F F M M M F M F M F M F M M F F M M F F M F M F M F F F
## [20521] F M F M F F M F M F F F F M F F M M M F F M F F F M M F F F F M F F F F
## [20557] M M F M F M M M M M F M M F M F F F M M F M F F M F M M F M F M F F F M
## [20593] M M M F M M F M F M F F M M F F M M M M F F M F M M M F M M M M M F F F
## [20629] M F F F M F M M F F F F M F M F M M F M M F F F M F M M M F F F F   M M
## [20665] F F M M M M F F F M M M M F F F M M M M F M M F M M F M M F   M M M F M
## [20701] M   M M F M M M F M M F M M F M M M M M M M F M M M M M F M F M M F M F
## [20737] M M F M M F F F M M F M M F M M M F M M M F M M   M F M F M M F M M M F
## [20773] F M F   F F M F F F M M M F F M F M M M M F M F M F F M F F M M F F M M
## [20809] M F M M F M M F F M F M F M F M M F M F M F M F F M F F M M F F F F F F
## [20845] F F M M F M F F M M M M F M F M F M M M F M F M M M F F F M M F M F M F
## [20881] M F F M M F M M F   M M F F M M M M F F M F M M M M M F M M F M F M M F
## [20917] F M M F M M M M M M M M M M M M M M M M M M M M F M M M F M M F M M M F
## [20953] M F M M M M F M M M M F F M M M M F M M M F M M F F M M M M F M F M F M
## [20989] M M F M M M F F M M F M M F M M M F F M F M M M M M M F M F F M M M M F
## [21025] F M M M M F F M M F M M M M F F M M F F M M M F F F M M M F M F F M F F
## [21061] M F F F M F F M M M F F M M M F M F M M F M M M F F M M M M M F M M F M
## [21097] M F F M M F F M M M M M F F F M F M F M F M M F M M M F M F F M M M F M
## [21133] F F M M M F M F F F M M F M M M M M M M M M M F M F M M M M M F M M M F
## [21169] F M F F F F F F F F M F M M F M F F M F M M F M F M F F F M F M F F F M
## [21205] F F F F   F F M     F F F M F M M F F F   F M M F F M M F M M M F M M M
## [21241] M M M F F M F F F F F F F F F M F F M M M M F M F F F F F F F F M M M F
## [21277] F M M M F M F M F F M M F F M F M M M M F F F F F F   M F M M M M M F M
## [21313] M M M F M F F F M F M M M M M F F F F F F M M F M F F M M F F M F M F F
## [21349] F F F M F F M F F   F M F F F M F F M F F M M F F M M F F F M M F F F M
## [21385] F F M F M M M M M F F M F M F M F M F F F M F F   F M M F M M F M M F M
## [21421] M M F M M M M F M M M F F M M F M M M F M M M F M M F M F M M M F F M F
## [21457] F F M F F F F F F M F F F M F M F M M M M M M M M F F F M F F M F   F M
## [21493] M F F F M M M F F M F F F   M M M F F F F F F F F M F M F M F F M F M F
## [21529] F M F M F M F M M F   F M F F F F F F F M F F M   F M F F F F F F F F M
## [21565]   F F F F M F F M F M F M F M F M M F M F M F M F M M M M M M M F M F M
## [21601] F M F F F M M M M M M M   M M M M M M M M M F M F F M F M M F M M M M  
## [21637] F F F F F F F F M M F M F F F F F M F M M F F M M M F F F M M M F F F F
## [21673] M F M M M M M M M M F M F F   M M F F F M F M M F F M M M F M F F M F M
## [21709] F M M F M M F F F F F F F M F F F F M F M F M M M M M M M M M   F M M F
## [21745] M M F F M M M M M F M M F M M F M F M F M F F M F F F F F F M M F F M M
## [21781] F M F M F M F M M M M F M M F M F F F M F M M F M M F F F F M F M M F F
## [21817] M M M M F M M M M M M M M M M M M M M F F F F F F F F M M F M F M M M F
## [21853] F F M F M F M M M M F M F M M M F M M M M F F M M                      
## [21889]                       F M F F M F F M F M F F F M M F M F F F F F F M M
## [21925] M M M F M F M M F M M F M F M M F M M F M F F F M F M M F M M M M M M F
## [21961] F F F M F F F F F F F F F F F M M F M                     M M F M M M M
## [21997] M M M F F M M F M M F M F M F F M F F F F M M F M F F M M F M F F F M M
## [22033] M M M M M M M M M M M M M M M M F F M F M M F   M F F F M F F M M M M F
## [22069] M M F M M F M F F F M F F M F F   F F F M F F F F M M F F F M F M F F F
## [22105] F F M M F F M M M F M F F M M M   F F F M M M F F F F M M M M F M M M M
## [22141] M F M M M M M M M M M F M F F F   F F F F F F F F F F F M F F M F M M F
## [22177] M M M M M F M M M F M M M   F M M M M M M M M F M M M M M F M M M M M M
## [22213] M M M F M M M M F M M F M F F F M M F F M M M F M F M F M F M F M F M M
## [22249] M F M M M M M M M M M M F M F M M F M M M F M F M M F M M F M M M F M F
## [22285] M M F M F M M F M F M M M F F M F M M F F F F F F F F F F M F F F F F F
## [22321] F F F M M M F M F M M F M M F M M F F M M M F M F M M F F F M M F M F M
## [22357] M M F M M M M F M M M M M M M M M F M M M M M F M M M M F M M M M M M M
## [22393] M M M M M M M M M F M F F M F M F M F M F F M F F M F F M M F M F F M M
## [22429] M M F M M M M M M F M M F F F F M M M M M M F M M F F M F F M F F F F F
## [22465] M F M M M M M M M F F F F F M M M F M F M F M F F F F F M F F F M M F M
## [22501] F F F F F M F M F M M F M M F   F F F M F F F F M M M F F F F F M M M M
## [22537] F F F F F M F M M M F F F F M M F F F F F M F M F F F M F M F F M F F M
## [22573]   M M F M F F M M M F F M M M M M M M M M M M F F M F M F M M F M F M F
## [22609] M M M F F F M M F M M F F M M F M M M F F M M M M M F F F M M F F M    
## [22645] M M M M F F F F F F F M F F M F F M M M M M M M M M M M M M M M M F F F
## [22681] M F F F F F F F M F M F M F M M F M M M F F M M F M M M M M M F M M M M
## [22717] F F M F F F M F F M F M M F M F F M M F M M M M M M   M F F M M M M F F
## [22753] F F M M M F F M M M M M M F M M M F F F F F M F F F M   M M M F F M M F
## [22789] F F F F M F M M F M M F F M M M M F M M F M M M M M M M M M M M M M M M
## [22825] M M M M M M M M M M F M F M M F F F M F F F M F F M F M F M M M F M M F
## [22861] F M F M M M M M M M M M M F M M M M F F F F M F M F M F F F M M F M F M
## [22897] M M M F M M F M F M M F M F M M M M M F F M F F F M F M F M M F F M M F
## [22933] M F M F M F M F M M M F M M M M F F F F F M F F F F M M F M F F M F M M
## [22969] F F M F F M F F F F M F F F F M M F F F F F F M M F F M M M M M M F F M
## [23005] M M F M F   M F M F F F M F M F M F F F M M F M M F M F F F M F M F F M
## [23041] M F F F F F M M F F M F M M M M F F F M M M M M M F F M M M F F F M F M
## [23077] F M F F                                   M M   M F M M F M F M F F F M
## [23113] M F F F F F F F F M M M M M F F F M M M F M F M F M F F M M M M M M M M
## [23149]     M F M F F M M F M M M F M M M F M M M F M F M F M F M M M F M F M F
## [23185] M M M M M M M F F F M M F M M M F F M M F M   M M M M M M M M M M M F F
## [23221] M F F M M M M M F F M M F M F M M M M M M M F M M M M F M M M M F M F F
## [23257] M M   M M M M M M M M M F M F F M F M M F M M F M M F M F M M M F   F  
## [23293]                                                                        
## [23329]                                                                        
## [23365]   F F F F F F                 F F F M M   F F M F F F M M F M M M F F F
## [23401] M M M M M F M M F M F F M M F M M F M F M F M M F F M F F F F F F F F F
## [23437] F F M F   M F F M F F F M F F F M M F F F F F F F F F F F F F F F F F F
## [23473] F M M F F M F F F M M F M M M F F F M F M F F M F M M F M F F F F F M M
## [23509] M F F F M M F F F F F F F F F F F M M M F M M M M M F F F F M M F M F M
## [23545] M M F M M M M   M M M M F M M M M M M M M M M M M M M F F M M M F F M F
## [23581] F M M M M M F M F F M M F M F F M M F F M M M F M F F M M F M M F F F  
## [23617] M   F F M M M M F M M F M F M M M M M F M M F M F F M F M M F M M M M M
## [23653] M M M M M M M M M M M F M M M M M M F M M M M M M M M M F M M M F M M M
## [23689] M M M M M F F M F F F F F F F F F F F M   F F F F F F M M M M M F M M F
## [23725] F F F M F F F M M M M M M F M F F M F M F M F M F M F F F M F F M M F M
## [23761] M M M M M M M M F M F M F M M F F M M F M M M F F M F F M F F M F   F M
## [23797] M F M F M F M F M F M F F M M M F F M M M F M M F M M F M M M F M F M M
## [23833] M F M F M F M F M M F M M M F M F F   F F F M M   F M M F F F M F M F M
## [23869] M M M M F F   F F F F   F M M M M M M M M M M M F F M F F   F M M F F F
## [23905] M F F F F F F M M F M M F F F F F F M F M M M M M M F M M M F F M F M M
## [23941] M M F F M M F F M M M M F F M F M F M F M F F M F M F F M M F F M F M M
## [23977] M M F M F F M M M M M M F F F M M F F F F M M F F F M F M F M M M M F M
## [24013] F F M M F M M F M M M F M M F M F F M F F M M F F M M M M F M F M F F M
## [24049] M F F F F F F F F M M M F F M M F M F M M M F F F F M F M M F M M F F M
## [24085] F F M M M F M M M M M M M M F M F M M F M F M F M F F F M M F F M F M  
## [24121] F F F F M   M     M M F M M F F M F M M F F F M M M M F F F M M M M F F
## [24157] M M M M M F M M F F M M M M M M M M M F M F F F M F M F M M F M F F M M
## [24193] F M F M F F M F M M M M F F F M F F M F M M F M F F F M F M F F M M M F
## [24229] M M F M F M M F M F F   F M F M F M F F F M F F F F F F M F M F F M F F
## [24265] F F F F M F M F F M M F F F M M F M F F M M M M M   M F M F   M F M F M
## [24301] M M M F M F M F F M F F M M M M M M M F M M F F M M F M M M M M M F M  
## [24337]               F M F F M M M F F M M M M M M M M M M F M F M F F M M M M
## [24373] M F M M M M F M M M M M M F F M F F F M F F M F F M M F F F M F M F M F
## [24409] M M M M F M M F M F M M F F M M M M M F F F F M F M F F M F F F F M F M
## [24445] M M F F F F M F M M M M                                           F F  
## [24481]   F F F F F F F M F M F M F F F M M M M F M M M   F F M F F M M M M M M
## [24517] M M F M M F M M M M M F M M M M   M M M F F M M M F M M M F F M M M F F
## [24553] F M F M F F M F M M F F F F M F M M M M M F M   M M M M M F F F F F M F
## [24589] F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F F M M F
## [24625] F F F F F F M F F F F F F F M F F F F F F F F F F F F F M M F F M F M M
## [24661] M F M M M M M M M M M M M M M M M M M M M M M F M M F F F F F F M M F F
## [24697] F M M F M F F M F M F F F M M F F M F F F M M M F F M F M M F M M F F F
## [24733] F F M F F M M M F F M F F M F F F F M M F M F F F M F F M M M F F M F F
## [24769] M F M F F F F F F F F F F M M M F F M M F M F M M F F   F F F F F F F F
## [24805] F M F F F F F F F M M F M F F F F M F M M F F F F M M F M F M F F F F F
## [24841] M F F F M F F F F M M M F F M F M M M M M M M F   M M M F F F M F M M M
## [24877] F M M M F M M M F M M F F F M M M F M F F M F F M F M F M M F F F F M F
## [24913] F M F M M M F M M F F M M F M F M M M F M M F F F F M F M M M F M M F M
## [24949] M M M F M F M F F F M M M F F F M M F F M M F F M F F F M F F F F F F F
## [24985] F F F F F F F F F F F F F F F M F M M F M M F M F M F M F M M F M F M M
## [25021] M M M M F M M F M   M F M M F F M M M M M F M F M F F F F M M F M F M M
## [25057] M F M M F M F M M F M M F F M F M F M F F M F M F M M F M F F M M F F M
## [25093] M M F M M F M M M F M M M F M M F   M F M F M F F M M F F F M F F M F F
## [25129] M F F M F F M F M F F M F M F M   F F F M M M F M M F F F M M F F M M F
## [25165] F M F F M F M M F F M F M F F M M M F M M F M F M F M F F M M F M M F F
## [25201] F M M F M F M M F F F M M M F F F M M M M F M F   M F F F F M M F M F F
## [25237] M F M M F F F M M M F M F M F F F F F M M F F M F F F F M M M F F M F M
## [25273] F M F M M F M F M M F M M F F M F F F F F F M F F M M F M F F M F F M M
## [25309] M F F F M M F M M M F M M M F M M M M M M F M F F M M F F F F F F F M F
## [25345] M M F M F F F M   F M F M M M M M F M F M F M F M M M M F F F F M M F F
## [25381] M F M F M M F M M F M F M F F M F M F F F F F F F M M M M F F M F F F M
## [25417] F M M F F F F F F M F M M F F F F M F F M M F M M M F M M F M F M M M M
## [25453] M M M F F F F F F F M F F F M M F M M M F F M M F M F F M F M F M      
## [25489]     F F M F F F M F F M F M F F F M M F F M   M M M F F M F F M F M M M
## [25525] F F M F F M M F M M F F M F F F M F M M F M M M M M F M M M M M M M M M
## [25561] M F F F M M F M M F   F F M M M F M M F F   F F M F F F M F M M F M F F
## [25597] M F   M F F F M M F F M M M M F F M M M M M M F M F M F M M M M M F M M
## [25633] F F M M M F M M M F M F F F M M M M F F F F M M M F M M F     M M M F M
## [25669] M F F M M M M M M F M F M F M F M M M M M M F M M M M M M F F M M M M  
## [25705] F F F M M F M F M F M F M F M M F F M M F M F M M M M F M   M M        
## [25741]                                                           F F F F F   F
## [25777] M M M F F M M M F F F M F F M F F M M M M M M M M M M M F F F F M M M M
## [25813] F F M F F M M F M F F F M M M F M M F F M F M F M M M F F M M M M M F F
## [25849] M F M F M M F M F M F F M F F F M M F F F F F F F F F F M M M F M F M F
## [25885] F M F M F F F M F M M F F F F F M M F M F F   F M F M F F M M M F F M M
## [25921] F M M M M M M M M M M F M M M F M M M F M F F M F M F M M F F F F F M F
## [25957] M M M M M F F F M F M F F M F M M M F M F F M M M F F F F F M M F F F M
## [25993] F M F F M M F F F M M F M M M M M M F M M F M F F F M F M F M M F M M F
## [26029] F M M F M M F F M F M M F F M F F M   F F F M M F M F M M F M F F M M F
## [26065] M F M F M M M F M M M M M F M M F M M F M F M M M F M M F M M M F M F F
## [26101] F M F M F F M M M F M M M F F M F M M M M M M M M M M M M M M M M F M M
## [26137] M M M M M M M M M M F M F M M M M F M M M M M F M M M F M M M M M M M M
## [26173] M F M M M M M M M M M M M M M M F M M F M M F M M M M F M M F M M F M M
## [26209] M F M M M M F M M M M F F M M F M M F M M M M M F M M M M F M M   M M M
## [26245] M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M M F F
## [26281] M M F M M M M F M M M F M F F M F M F M M F F M F M M M M M M F F F F F
## [26317] F F F F F F F M M M M F M M F F M M F F M M M F M F M F F F M F F F M M
## [26353] M M F M M M M F M M M M F F M F M F M F F F F F F F F F F M F F F F F M
## [26389] F M F M   M F F M M F F F M F F F M F M F F F F F F F F F M M F M F M M
## [26425] M M F M M M M M M F M M F M M M M M M M M M M F M M F M F F M M M M F F
## [26461] F F F F M M M F M M M F M M M M M F M M F M M F M M F F F F F M M M F F
## [26497] F M F M M M F F F F F M F F M M M F M M M F F M M M F F M   F F M F M F
## [26533] F M F M F M M M M M F F M M M M M M M M M M M M M M M M   M M M M M M M
## [26569] M M M M M M M M M M M M F M M M M M M F M M M M M M M M M M M M F M M M
## [26605] M M M M M M M M F F M M M F F F F F F M M M F F M M M F F M M F F M M M
## [26641] F M M F M F F M F F F M F M M F F F M M F F M F F F M F F F F F M F F M
## [26677] M M M   F M F F M F M M M M M M F M M M M F M F M F F M F M F F M M F M
## [26713] F M   F F M F M F M F M M M M F F F M F M F F F M F F M F F F F F M F F
## [26749] F M M M M F F M F M M M F F F F F F F F M F M M F F   F F F M F M M F M
## [26785]   F F F F F F M F F F M M M M F M M F M F F M M F M M F F M F M F M F F
## [26821] F F M F F M F M M M M M F F F F F F F F M F F F F F F F M F M F F F M F
## [26857] M M F F M F F F F F M M M F F F M F M F F F F F M F M M F F F F M F F F
## [26893] F F M M F F M M M F F M F M M M M M F M M M M M F F M F M F M F F M M M
## [26929] F F F F F M F F F F F F F F F F F F F M F F M F F M M F M F F F M F M M
## [26965] M F F F M M M M M F F M F F M M F F M F M M F F F F F F F F F F F F F F
## [27001] M F M F M M F M M M M M F F M M F M M M M F F F M F M F M M F F F F M M
## [27037] F M F M F F M F M F M F M F M M F M M F M M M M M M M F F M M M M F F M
## [27073] F F M M M F F M M M F M F F F F F F F F F M M F M F M M F M M M F F F M
## [27109] F M F F M F F F F M M F M F M F M F M M F M M M F F F F F F F F F M M M
## [27145] M F M M M F F M M F F M F F F M M F M M F M M M M M M M M M F M M M F M
## [27181] F M M F M M M F F F F F F F F M F M M F F F M F M M M M M M M M M M M F
## [27217] M M M M F F M M M M M F M M F F F M M M M M F F M M M F M M M M F M M F
## [27253] M F M F M M M M M M M F M M M M M F M F M M F M F M F M M M F M M M F M
## [27289] M M M F M M F F M F F M M F M F M M F M M   F F M F M M M M F M F M M M
## [27325] M M M M M F M M M F M F M M M M M M F M M F M F M F M F M F F M F F M F
## [27361] M M F F F M M F F M F M M M F M M F M M F F M M M F M M M F M M F F M F
## [27397] M M M F F F M F M M F M F M F M M M M M F F M F M F F M M F M F M F M F
## [27433] F M M F M F M M M M M M M F M M F F M M M M M F M M M F F F F M F F F M
## [27469] M F M M F M M M M F F F M F M F M F F M F M M M   M M M F M F F M F F M
## [27505] M M M F M M M M M F M M M M F M M F M M F M M F F F M M M F M F F M M F
## [27541] M F F                         M M F F M F M F M M M M F F M M M F M F F
## [27577] M F F F F M M F F M M F M M M M F M M M M M F M M M F F M M M M M F F M
## [27613] F M F F F F M F M M M M F F F M F     M F F M M M F M M M M M M M M    
## [27649]                             M F F         M M F F F F F F F F F F M F F
## [27685] F F F F F F M M M M F M F M F F M M F F M M M F F F F F F M F M M F F F
## [27721] F M M F F F M F F F M F M M F F F M M M F M F M M F M F F M F F F F F M
## [27757] F M M M M M M F F M F F M M M M M M F F F M F M M F M M M F   F F F F  
## [27793] F M   F F F F F F M M M M F F M M M M M M M M M F F F M F M F M M F M M
## [27829] M M M F M M F F M M M F M F M F F M M M F M F F M M M M M F F M M F F M
## [27865] F M M F F M M F F M M M F M F M M M F F M M F M F M M F M M M M M F M F
## [27901] M M F F M F M M M M F M M M F F M M F F M M F M F M F F M F M M F F M F
## [27937] M M M F F M M F F F F   M F M F M M M M F M F F M M F M M M F M M F M M
## [27973] M F M F F M M M F F M M M F F F M M M M M F M M F M M F F M M F F M M F
## [28009] M M F F M F M M F F F M F M F M M F M M F M F M F F M M F M F F M   F F
## [28045] M F F F F F F F M F F F M M F M F M F M F F M F F M M M F F M F M F F F
## [28081] M M F M M M F F M M F M M M F M F F M M M F M F F M M M M M F M M M M F
## [28117] M F M M M M M   F F M M M M M M M F F M M M F M F M F M M F F M M F M M
## [28153] F M F F M F M F F F M M M F F M M M M F F M M M F M M F M M M F M M F M
## [28189] M M F M M M M M M F M M F M F M M F F M M F M F F F M M F M F M M M F F
## [28225] M F M F F M M M M M M M M M F M F M M F M M M F M M M F F M M M M F M M
## [28261] F F M M M F M M F M M F M M M F M M M F M F M M F M M F M M F M M M F M
## [28297] M M M F M F M M F M M F M F F F M M F F M F M F F M M M F M M F M M M M
## [28333] F M M M F M M F F F M M M M M M M M M F F F M M F M F M M F F F F M M  
## [28369] M M F F M M F M M   M M M M M F M M M F F F F M M M M F M F F F F M F M
## [28405] M F F F F M M F M M F F M F M M M   F M F F F F F F F F M M F F M M F M
## [28441] F F F F F F F F F F F F F F F M F F F F F F F F F M M M M M M M M M M F
## [28477] M M M M M M F F M M M M M M M M M F M F M M F M M M M M M M M M M M M M
## [28513] M M M F M F M M M M M M M F F M M F F F F F F F F F F F F F F F F F F M
## [28549] M F M F F M F F F F F F M M M M M M F F F M M F F F F F F M F M F M F M
## [28585] M F M F F M F M F M F M F M F M M F M F M M F M F M M F M F M F M M M M
## [28621] M M F M M M M M M M M M M M M M M M M F   F F M M M M F M F F M M M M F
## [28657]   M M M F F M F M F M F F F F M M F F F F F F M M F F F F F M F F M F F
## [28693] F M M F F F F F F M F M F M F M F M M F M F F F F F F M F M M M M M F M
## [28729] M F F M M M F M F F M F M F M M M F F F F F M   F F F M F F F F F M M M
## [28765] F M M F M F F F F F F F M F M F M F M M M M F M F F M F F F M M M F F F
## [28801] M F F M M M M F F M F M M M F M F M M M M M M F F M M F M M M M M F M F
## [28837] M M M M M F F M F F M F M M F F M F M F   M F M F M M F M F M M F F M F
## [28873] M M M M M M M F M M M M F M F M M M M F F F F F F M M F M F F M M M F M
## [28909] F M M M M M F M F F F M M M M F F M M M F F M M F M   F F M F F M M M F
## [28945] M M M M F F M M F F F F F M M F M M M M M F M M F F M M F F F F F F F F
## [28981] F F M F F F F F M F F F F F M M F M M F F F F F F F F F M F F M M M M F
## [29017] M F F M F F F M F M F M F M F F M M F M M M M M M M M M M M M M M M F F
## [29053] F F F F M F F M F M F F M F F F M F F M M M F M F F M F M F M M M F F M
## [29089] M M M F F F F F M F M M M M M M M M M M M M F F F F F F F F M F M F M F
## [29125] F F F M F F F F F F M M F F F F F F F F F F M M F M M M M F F M M M M M
## [29161] M F M M M M F M M M F M F F M F M F F M F M F F M F M F M F F M M M F M
## [29197] M M F M F M M F M M M M F F F M M F M M M F M M M M F M M M F M M F M F
## [29233] M F F M M F M F M F M F M F F M M F M M F M M F M F M M M M M F F M M M
## [29269] M F M M F M M M F M M F F F M F F M F F F M M F M M F F M M M M M M F M
## [29305] M M M M M M M F F M F M M M M M F M F M M F M M M M M M M F M M M F M F
## [29341] M M M M M M F M F M F M M F M M M F M M F M M M M M M M F M M M F F M M
## [29377] F M M F M M M M F F M F M M F M M M F F M M F M M F F M M M M F F F F M
## [29413] M F M M M F M M M M F M F M M M F M F M M M M M M M F M M              
## [29449]                 F F F F M F F M F F M F F M M M M F F F M M M F M F M M
## [29485] F F F F F F M F M F M F M F F M F M F M F F F M M F M F M F F M F F M F
## [29521] F F F M   F F M M M F F                                                
## [29557]       M F F F M M M M M M F F F M F F M M F F M M F M F M M M F F F F F
## [29593] F M F F M F M F F M F F F F F   F M M F F M F F F F F F M M F F F F F F
## [29629] M F F F F F F F F F F F F F F F F F F F F M F F M M F F F F F F F F F F
## [29665] M M M M M   M M M M F M F M F M M M M M F M   M M M M M M M M M M M M F
## [29701] F M F M F M M M M M M M M M F M M F F M F M F F M M F F F F M F M F M M
## [29737] M M F M F M M M F M M F M F F F M F F M F F M F F F M F M F F M M M M F
## [29773] F F M F F F F F M F F M F F M M F F F F F F F M F F F F F F F F F F F F
## [29809] F F F F M M F F F M F M F F F M F M M M M F M M M M M   M F M F F M M M
## [29845] M F F M F M M M M M M F M F M M M M F M M M M M F M M M M M F F M M M F
## [29881] M M M M F F M M F F M M M F M F M F M M M M F M M M F M M F M M M F M M
## [29917] F M F M M M M M M M F M F M M M M M F F M M M F F M F M M F M M F M M M
## [29953] M M M M M F M M M F M M M M F F M F F M F M M F M F M M F M M M F M M M
## [29989] F M M M M M M M M M M F M M F M M M M F M M M M M M F M F M F M M M M F
## [30025] F M M F M M M F M F M F F M F M F M F F M M F F M F M F F M F F M M M F
## [30061] F M M F M M F F M M M M M M F M F M F M M M F M F F M M M F M M M F F M
## [30097] M F M M M F F F M M M F F M F M M M M F F M M F F F F F F M F M F F M F
## [30133] M F M M M F M F M M M M F F F M M M F F M M M F F F M M M F F M M M F F
## [30169] F M F M M F M M M M F M M F M M M M F M F F M M F M F M M F F M M F F F
## [30205] F F F M F M F F M F F F M F F F M F F F M F F M F F M F M M F M F M M F
## [30241] M M F F M F F M M F M M F M M M M F M M M F M M M M M F F M F M F M M F
## [30277] M F M M M M F F F F M F M M F M F F M F F M M F F F M M F M M F F M M M
## [30313] F M F   F M F M M F M M F M M F F F M M M F M M M M M M M F F F M M M M
## [30349] M F M M M M F M M F M M F M M M F M M F M F F M F M F M F M F M F M F M
## [30385] M F F M F M F M M F F M M F F M F F M   M F F M M F M F F F F M M M M F
## [30421] M F M F M M M F M M F M F M F M M F F M M M F M F M M F M M M F M F M M
## [30457] M F F F F M F F M F F M M F M M M M M F M F M F M M F M F M M M M M F M
## [30493] F M M F M M M M F M M F M M F F M M F F M M M M M M M M M M F M M M F M
## [30529] M M M F M M M F F M F M M F M M M F M F M M F M M F M F M M M M F M F M
## [30565] M F M M M M F F F M M M F M M F F F M M F M M F F F F F M F F F M F F F
## [30601] M M F F F M M F F M F F F M F F F M M F F M F M F F M F M M M F M F F M
## [30637] F M F M M F M M M M M F M M F M M M M M M M F M M M F F F F F M F M M F
## [30673]   F M F M M M M M M M F F F M M M M M M M M M M M M M M M F F M F F F F
## [30709] M M M M   F M F F M F F F M F F F F F M F F F F F F F F F F M F F M F F
## [30745] M F F F F F F M F F F F F F F F F F F M F F F M F F F F F F F F F F M F
## [30781] F M F F F F F F M F F M M M M M M M F F F F F M F F F F F M F F M F F F
## [30817] M F M F M F M F F M F M M F F M F F M F M F M F M F M F M F M M M F F F
## [30853] F M F M F F M M M M M F M M M F M F F F F M F M F F M F M F F F F F F F
## [30889] F F F F M F M M M F M F F M M M F M M F F M M F M M M F M M F M M F F M
## [30925] F M F F F M F M F M F M M F F F F M F F F M F M F F F F F F M F F M M F
## [30961] M M F M M   F M F M M F M F M M M M M M M F F F F F F M M F F M F M F F
## [30997] F F F F M F F F F F M F F F M F F F M F F F M F M M M F F F M M M M M M
## [31033] M F M F F M M M M F M F F M M F F M F M M F M F M M M   M M M M M F F F
## [31069] F M F M M F M M M F M M M F M F F F M M F F F F F F F F F M M M F F F F
## [31105] M M F F M     M F F M M F M M F M M F M F M F M M F F F F M M F F M F M
## [31141] M M M M F M M M M F F F M M M F M F M F M M M M F M F F M M M M F M M F
## [31177] M F F M F M M M M F F F F F M M F M M F F F F M M F F F M M M M F M M M
## [31213] M M F F F F M F M M M F F M M F M M M M M F M M M M F M M M M M M M F M
## [31249] M M F M F F F M M F F M F F M M M F M F F F F F F F F M F F M M F F M F
## [31285] M F M F F M M M M M M M M M F M F M F M F M M F F M M F   M F M M F F F
## [31321] M F M F M F M M M F M M M M F M F M M M F F M F M M F M F M M M F M M F
## [31357] F M M M M M M F M M M M M M M M M M F M F M M F F M F F F F M F M F M M
## [31393] F F F M M M M M F                       M                         M F M
## [31429] M F M F M M F F M M M F F F F F F F M M F M M F F F M F M F M M F F F F
## [31465] M F M F F M F F M M F F F F M F F F F F M M F F F F F F M M M M F M M F
## [31501] F F M M F M F F F F M M M F F M M F F M F   F F M F F M F F M M F      
## [31537]                                                                   M M M
## [31573] F M F M M M M M M M F M M F F F F M F F M F F F F F F F F M F M M F M M
## [31609]   M F M F M M M M M F M M F F F M F M F F F F M F M F F F M F M M M M M
## [31645] M M M M M F F F   F M M M M F F F M M M M F M M M M M M F M F   M F F M
## [31681] F F M F F M F M M F M M F M M M M M F M F M F M M F F M M M M F M F F F
## [31717] F F F F F F F M   M F M M M F F M F M F M F M F F F F M M F F F M F F F
## [31753] F F M F F F F F M F F F M F M F F F F F M M M F F F M F F M M M M F F M
## [31789] M F F F F M M F M M F M M M M M M F M F M M M F M F M F F F F M M F F M
## [31825]   M M F M F F F F F M M F F M F M F F M M F F M M F M F F M F M F F M F
## [31861] F F F F F F F F F F F F F F F F F M M F F F M M M M F F M F M M F M F F
## [31897] F F F F F F F F F F M F F M F M F M F F M F F M F F M F F F F F F F F F
## [31933] M M M M F F M M F M M M F M M F     M F F F F F M M F F F F F F M F F M
## [31969] F F F           F     M F F M   F M F F M F F M M F F M F M M F F M F F
## [32005] M F F M F F F M F F F F M F M F F F M M M M M M F M F M F M F F M F M M
## [32041] M M F M F M                             F M M M F F M M M M M M M F F F
## [32077] F M F F F F F M F M F M F M F F M F M F M F F F M F M M M M F M M M F M
## [32113] F M M M M F F M M F F F F M F M F M F M M M F M M F M F F F F F M M M F
## [32149] F F M M M F F F M M M M F F M F M F M M F M F F M F M M M F F M F M F F
## [32185] M F F M M F F F M F   F   F F F M M M   M M M F F F M M M M M F M M F F
## [32221] F M M M F M M F F M M M F M F M M F M F F F M F M F F M F F F M M M M F
## [32257] M F M M F M F M F F M F F M M F M F M M   M M M F F F F F F F F M   M M
## [32293] M M M M F M   M F F M F M M F F M M                                    
## [32329]                           F F     F F F M M M M F F M M M M M F F F F F
## [32365]   M M M F F M M F M M M M M F M M F M M M M F M M M F M M F M F M M M M
## [32401] F M F M   M F M M M F F M F M F F F F F F F F M F M F F F M M F M M F F
## [32437] M F F M M M M F M F M F F M F M F F F F F F F F F F M F F F F M M F F F
## [32473] F F F F M F F F M M F M M M M M F F F F M F M F M M F F F M F M F F F F
## [32509] F M F F F F F F F F F F F F F F F F F F F F F F F F F F M F M F F F F F
## [32545] F F F F F   M F F F M F M M F F F M F F M M F F M F F F M F F F F F F F
## [32581] F M M F F F M F F M F F F M M F F F F F F F M M M F F   M F F F F F M M
## [32617] M F F F M F F F M M F F F F M F F M F F M F M M F M F F F M F F F F F F
## [32653] M F F F F M M M F F F F F F M M M F F F F F F F F F F M F F   F M F F F
## [32689] M M F F M F F M F F M M M F F F M F F M F M F F M F M F F F F M F M F M
## [32725] F F F F M M F F F M M M M M M M M M M F F M F   M F F M M F F F M F F F
## [32761] F M F M M               F F F F F F M M M M M M F M M M F M F M F M F M
## [32797] M M M M M M F M M M F F M F F F M F F F M F M M M F M F M F M F F M M M
## [32833] F F M F M M F F F F M F F M F F F M M M F F   F M F M F M F M M M F M F
## [32869] M M F F F M M M M F M F M M F M M F M F F M M M F   F M M F F F   F M F
## [32905] M F F F F F F M     F F M F   F F F F F F     F M M M M M F F M M F M F
## [32941] M M M M F M M F M F F F                     F M F M F M F F F F M M M M
## [32977] M M M F F F F F M M M M F F F F F F F F F M M M F M F M M M F F F M F M
## [33013] M M M M                     M M F M F F M M F M F F         F F M   F M
## [33049] F M F M F F F F F M F M F M F M F M M M M M M M M F M M M M M F F M M M
## [33085] F M F F F F M F M F F M M M F M M F M M M F M F F M M M F F F M F F M F
## [33121] F M F M M M F F M M M F M M F M M F   F M F   M F M M   F M F M M M M M
## [33157] M M M F F M F F F   F F F M F F M F M M M M F M M M M M M F M F F F M M
## [33193] M M M F M M F F M M F F M M M M F F F M F F F F M M F M M M F M M M M F
## [33229] M F M     M M F F F M M M M M F F M M M F M F F M M M F F M F F M F M F
## [33265] F F M M M M F M M M F F M M F M F M F M F M F M M F F M F M M M F M    
## [33301]         F M F F M M F F M   F M M M F F         M   M     M M F M M M F
## [33337] F M F M F M M M F M M F M F M M M F M F M F F M F F M F F F F M F   M M
## [33373] M M M M F M M M F M M F M M M M F M F M M F M M F M M F M M F F M F M F
## [33409] F F M F M F F M F F F M M F M M F M M F M M   F M M F M M F M M M M F M
## [33445] F F F F   F F M F F F F F F F F F F M M M M M F F M F M M M F M M F F M
## [33481] M       F M M M M F F M F M F M F M M M F M F   M M M M F F F F M F M F
## [33517] M M F M F F F F M F F M F M F F F M F M   F F F F M     M              
## [33553]                               F   M M M   F M M F M F M M M M F M F F M
## [33589] M M M F F M M F F M M F F M M F M M F M F M F M M F M M F M F F M M M M
## [33625] F F   F M   M M M M M F M M F F M F M F F M F F M M   M F M M M M F F F
## [33661] M F M F M F M M F F M M M M M F M M M F M F M M M M F M F F F M M   F F
## [33697] F M M M M F M F M F M F F F M F F M M F M M M F M M F M F F F F F F M F
## [33733] F M M F F   M F M F M F   M F F F M F M F M M M F F M F M M F M F M M M
## [33769] F F M F F M   M F M M F F F F   M F M M M M M M F M F M F M F F M F M M
## [33805] M M M M F M M M F M F M F M M F M M M M F F M F M M M F F F F F M F M F
## [33841] F M F M M   M F M F F M F F M M F M M     F M F F M F F F M M M M M F F
## [33877] F M M F F F M M M M M M M F F M M M F F M M M M M M M M M F M M F M F M
## [33913] M F F                 M F M M M F M   F M F F F F F M F M M M F M M M F
## [33949] F M F M M M F F F F F M M F M M F M M F M F M F F M M M F F M          
## [33985]                                                                        
## [34021]                                 F F M               F M F M M F F M M M
## [34057] F M F F F M M M   F M M F M M M M F F M M F F M F M M F   F M F F F F M
## [34093] F M F M M F F M M F M M F M M M F M F F M F M F F F F F F F F M F M F M
## [34129] F M M M F M F M F M M F M M F F M F F M F F F F M M M M F F F F F F M M
## [34165] M F M F M M F F M F M F M M F M M F   M F M M M M M M F M M F M F M M F
## [34201] F M F M F F M M F M F F M F M F   M F M F M F F M M F M F M   F   M M F
## [34237] F M F F F F F F F M F F F F F F M F F F M F F F M F F M F M F F   F M M
## [34273] F F F M M F F F M F M F M F F F F M F M F F F F M F F F F F M   M M M M
## [34309] M F M F F F F F F M F M F M M M F   F M F M M M F M M F F F M F F F M F
## [34345] M M M M M F M M M M F M F M M   F M M M F F F M   M   M F   M M F F M M
## [34381] M F M F F F M M F F F M   F F F M F   F F F F F   F F F F M F M F M F M
## [34417] M M F M M M F M F F F F F M M F M F M F M F F F F M M M F M F F M M M M
## [34453] M M M F   M M F M M M F F M M F F   M F F M F M F F M F M F M F F F F M
## [34489] F F F M F M F M F F M F F F F M M F F F M M F F M M F F F M M F F M F F
## [34525] M F M M F M F F F F M F F M M F F M M F F F F F M M M   F M F F   F F M
## [34561] F F F M F F F M F F M   F F M F F F M M F F M M M M   M F M M M F M M F
## [34597] F M M F M F M F F M M F M M M F M M M F M M F M F M M F M M M F M F    
## [34633]       M M M M F M   F F M M F M F M M M M F F M F M M F F F M F F F F F
## [34669] F M F F F F F M F F M M F M M M M M M M M F M F F F F F M M            
## [34705]                                                                        
## [34741]                         M F       M F F M M M M M M M F F M M M M F M M
## [34777] M M M F F M F F    
## Levels:  F M <NA>
levels(sex)[1] <- "undetermined"

Challenge

  • Rename “F” and “M” to “female” and “male” respectively.
  • Now that we have renamed the factor level to “undetermined”, can you recreate the barplot such that “undetermined” is last (after “male”)?
levels(sex)[1:2] <- c("female", "male")
sex <- factor(sex, levels = c("undetermined", "female", "male"))
plot(sex)

Using stringsAsFactors=FALSE

By default, when building or importing a data frame, the columns that contain characters (i.e. text) are coerced (= converted) into factors. Depending on what you want to do with the data, you may want to keep these columns as character. To do so, read.csv() and read.table() have an argument called stringsAsFactors which can be set to FALSE.

In most cases, it is preferable to set stringsAsFactors = FALSE when importing data and to convert as a factor only the columns that require this data type.

## Compare the difference between our data read as `factor` vs `character`.
surveys <- read.csv("/cloud/project/data/portal_data_joined.csv", stringsAsFactors = TRUE)
str(surveys)
surveys <- read.csv("/cloud/project/data/portal_data_joined.csv", stringsAsFactors = FALSE)
str(surveys)
## Convert the column "plot_type" into a factor
surveys$plot_type <- factor(surveys$plot_type)

Challenge

  1. We have seen how data frames are created when using read.csv(), but they can also be created by hand with the data.frame() function. There are a few mistakes in this hand-crafted data.frame. Can you spot and fix them? Don’t hesitate to experiment!

    animal_data <- data.frame(
              animal = c(dog, cat, sea cucumber, sea urchin),
              feel = c("furry", "squishy", "spiny"),
              weight = c(45, 8 1.1, 0.8)
              )
  2. Can you predict the class for each of the columns in the following example? Check your guesses using str(country_climate):

    • Are they what you expected? Why? Why not?
    • What would have been different if we had added stringsAsFactors = FALSE when creating the data frame?
    • What would you need to change to ensure that each column had the accurate data type?
    country_climate <- data.frame(
           country = c("Canada", "Panama", "South Africa", "Australia"),
           climate = c("cold", "hot", "temperate", "hot/temperate"),
           temperature = c(10, 30, 18, "15"),
           northern_hemisphere = c(TRUE, TRUE, FALSE, "FALSE"),
           has_kangaroo = c(FALSE, FALSE, FALSE, 1)
           )
    * missing quotations around the names of the animals
    * missing one entry in the `feel` column (probably for one of the furry animals)
    * missing one comma in the `weight` column
    * `country`, `climate`, `temperature`, and `northern_hemisphere` are
       factors; `has_kangaroo` is numeric
    * using `stringsAsFactors = FALSE` would have made character vectors instead of
      factors
    * removing the quotes in `temperature` and `northern_hemisphere` and replacing 1
      by TRUE in the `has_kangaroo` column would give what was probably 
      intended

The automatic conversion of data type is sometimes a blessing, sometimes an annoyance. Be aware that it exists, learn the rules, and double check that data you import in R are of the correct type within your data frame. If not, use it to your advantage to detect mistakes that might have been introduced during data entry (for instance, a letter in a column that should only contain numbers).

Learn more in this RStudio tutorial

Formatting Dates

One of the most common issues that new (and experienced!) R users have is converting date and time information into a variable that is appropriate and usable during analyses. As a reminder from earlier in this lesson, the best practice for dealing with date data is to ensure that each component of your date is stored as a separate variable. Using str(), We can confirm that our data frame has a separate column for day, month, and year, and that each contains integer values.

str(surveys)

We are going to use the ymd() function from the package lubridate (which belongs to the tidyverse; learn more here). lubridate gets installed as part as the tidyverse installation. When you load the tidyverse (library(tidyverse)), the core packages (the packages used in most data analyses) get loaded. lubridate however does not belong to the core tidyverse, so you have to load it explicitly with library(lubridate)

Start by loading the required package:

ymd() takes a vector representing year, month, and day, and converts it to a Date vector. Date is a class of data recognized by R as being a date and can be manipulated as such. The argument that the function requires is flexible, but, as a best practice, is a character vector formatted as “YYYY-MM-DD”.

Let’s create a date object and inspect the structure:

my_date <- ymd("2015-01-01")
str(my_date)
##  Date[1:1], format: "2015-01-01"

Now let’s paste the year, month, and day separately - we get the same result:

# sep indicates the character to use to separate each component
my_date <- ymd(paste("2015", "1", "1", sep = "-")) 
str(my_date)
##  Date[1:1], format: "2015-01-01"

Now we apply this function to the surveys dataset. Create a character vector from the year, month, and day columns of surveys using paste():

paste(surveys$year, surveys$month, surveys$day, sep = "-")

This character vector can be used as the argument for ymd():

ymd(paste(surveys$year, surveys$month, surveys$day, sep = "-"))
## Warning: 129 failed to parse.

The resulting Date vector can be added to surveys as a new column called date:

surveys$date <- ymd(paste(surveys$year, surveys$month, surveys$day, sep = "-"))
## Warning: 129 failed to parse.
str(surveys) # notice the new column, with 'date' as the class
## 'data.frame':    34786 obs. of  14 variables:
##  $ record_id      : int  1 72 224 266 349 363 435 506 588 661 ...
##  $ month          : int  7 8 9 10 11 11 12 1 2 3 ...
##  $ day            : int  16 19 13 16 12 12 10 8 18 11 ...
##  $ year           : int  1977 1977 1977 1977 1977 1977 1977 1978 1978 1978 ...
##  $ plot_id        : int  2 2 2 2 2 2 2 2 2 2 ...
##  $ species_id     : chr  "NL" "NL" "NL" "NL" ...
##  $ sex            : chr  "M" "M" "" "" ...
##  $ hindfoot_length: int  32 31 NA NA NA NA NA NA NA NA ...
##  $ weight         : int  NA NA NA NA NA NA NA NA 218 NA ...
##  $ genus          : chr  "Neotoma" "Neotoma" "Neotoma" "Neotoma" ...
##  $ species        : chr  "albigula" "albigula" "albigula" "albigula" ...
##  $ taxa           : chr  "Rodent" "Rodent" "Rodent" "Rodent" ...
##  $ plot_type      : chr  "Control" "Control" "Control" "Control" ...
##  $ date           : Date, format: "1977-07-16" "1977-08-19" ...

Let’s make sure everything worked correctly. One way to inspect the new column is to use summary():

summary(surveys$date)
##         Min.      1st Qu.       Median         Mean      3rd Qu.         Max. 
## "1977-07-16" "1984-03-12" "1990-07-22" "1990-12-15" "1997-07-29" "2002-12-31" 
##         NA's 
##        "129"

Something went wrong: some dates have missing values. Let’s investigate where they are coming from.

We can use the functions we saw previously to deal with missing data to identify the rows in our data frame that are failing. If we combine them with what we learned about subsetting data frames earlier, we can extract the columns “year,”month”, “day” from the records that have NA in our new column date. We will also use head() so we don’t clutter the output:

missing_dates <- surveys[is.na(surveys$date), c("year", "month", "day")]

head(missing_dates)
##      year month day
## 3144 2000     9  31
## 3817 2000     4  31
## 3818 2000     4  31
## 3819 2000     4  31
## 3820 2000     4  31
## 3856 2000     9  31

Why did these dates fail to parse? If you had to use these data for your analyses, how would you deal with this situation?