input: Foster was born in Calvert, Texas on September 17, 1879. His father, also named Andrew, was a reverend and elder of the local American Methodist Episcopal Church. Foster started his professional career with the Waco Yellow Jackets, an independent black team, in 1897. Over the next few years he gradually built up a reputation among white and black fans alike, until he was signed by Frank Leland's Chicago Union Giants, a team in the top ranks of black baseball, in 1902. After a slump, he was released, and signed with a white semipro team based in Otsego, Michigan - Bardeen's Otsego Independents. According to Phil Dixon's American Baseball Chronicles: Great Teams, The 1905 Philadelphia Giants, Volume III "In completing the summer of 1902 with Otsego's multi-ethnic team--the only multi-race team with which he would ever regularly perform--Foster is reported to have pitched twelve games. He finished with a documented record of eight wins and four loses along with eighty-two documented strikeouts. Ironically, strikeout totals for five games which he appeared were not recorded. If found the totals would likely show that Foster struck out more than one-hundred batters for Otsego. In the seven games where details exist, Foster average eleven strikeouts per outing." Toward the end of the season he joined the Cuban X-Giants of Philadelphia, perhaps the best team in black baseball. The 1903 season saw Foster establish himself as the X-Giants' pitching star. In a post-season series for the eastern black championship, the X-Giants defeated Sol White's Philadelphia Giants five games to two, with Foster himself winning four games. According to various accounts, including his own, Foster acquired the nickname "Rube" after defeating star Philadelphia Athletics left-hander Rube Waddell in a postseason exhibition game played sometime between 1902 and 1905. A newspaper story in the Trenton (NJ) Times from July 26, 1904, contains the earliest known example of Foster being referred to as "Rube", indicating that the supposed meeting with Waddell must have taken place earlier than that. Recent research has uncovered a game played on August 2, 1903, in which Foster met and defeated Waddell while the latter was playing under an assumed name for a semi-pro team in New York City. Now a star, Foster jumped to the Philadelphia Giants for the 1904 season. Legend has it that John McGraw, manager of the New York Giants, hired Foster to teach the young Christy Mathewson the "fadeaway", or screwball, though historians have cast this story in doubt. During the 1904 season, Foster won 20 games against all competition (including two no-hitters) and lost six. In a rematch with Foster's old team, the Cuban X-Giants, he won two games and batted .400 in leading the Philadelphia Giants to the black championship. In 1905, Foster (by his own account several years later) compiled a fantastic record of 51-4, though recent research has confirmed only a 25-3 record. He led the Giants to another championship series victory, this time over the Brooklyn Royal Giants. The Philadelphia Telegraph wrote that "Foster has never been equalled in a pitcher's box." The following season, the Philadelphia Giants helped form the International League of Independent Professional Ball Players, composed of both all-black and all-white teams in the Philadelphia and Wilmington, Delaware, areas.

Answer this question "Was he able to attend school?"
output:

input: Roberto Carlos joined Real Madrid in the year 1996 close season, where he was given the number 3 shirt and held the position as the team's first choice left-back from the 1996-97 season until the 2006-07 season. During his 11 seasons with Madrid, he appeared in 584 matches in all competitions, scoring 71 goals. He is Real Madrid's most capped foreign-born player in La Liga with 370 appearances, after breaking the previous record of 329 held by Alfredo Di Stefano in January 2006. During his Real Madrid career, Roberto Carlos was, alongside Milan and Italy legend Paolo Maldini, considered the greatest left-back in the world. As a high-profile player and one of the most influential members of the team, Roberto Carlos was considered one of Madrid's Galacticos during Florentino Perez's first tenure as club president. He won four La Liga titles with Madrid, and played in the 1998, 2000 and 2002 UEFA Champions League finals, assisting Zinedine Zidane's winning goal in 2002, considered one of the greatest goals in Champions League history. Roberto Carlos was named as Club Defender of the Year and included in the UEFA Team of the Year in 2002 and 2003. In the later part of his Real Madrid career, Carlos was named as one of the club's "three captains" alongside Raul and Guti. Renowned for getting forward from his left-back position and scoring spectacular goals, in February 1998, he scored arguably his most memorable goal for Real Madrid with a bending volley struck with the outside of his left foot from near the sideline in a Copa del Rey match against Tenerife in what was described as an "impossible goal". On the final day of the 2002-03 season, with Madrid needing to beat Athletic Bilbao to overtake Real Sociedad and win their 29th La Liga title, Carlos scored from a free-kick in the second minute of first half stoppage time to put los Blancos 2-1 ahead. The team eventually ran out 3-1 winners to wrap up the title. On 6 December 2003, Roberto Carlos scored the opening goal for Madrid as they beat Barcelona in El Clasico at Camp Nou for the first time in a La Liga match in 20 years. In March 2007, in the second leg of the Champions League round of 16 against Bayern Munich, Roberto Carlos failed to control the backpass when Madrid kicked off, allowing Bayern's Hasan Salihamidzic to steal the ball and feed to Roy Makaay, who scored the quickest goal in Champions League history at 10.12 seconds. Roberto Carlos bore the brunt of criticism for that mistake which led to the team's elimination from the Champions League, and, on 9 March 2007, he announced he would leave Real Madrid upon the expiration of his contract at the end of the 2006-07 season. His final goal for Real Madrid was a stoppage time winner against Recreativo de Huelva with three games remaining in the 2006-07 La Liga season. The goal proved to be crucial to Real Madrid winning its 30th league title as they eventually finished level on points with Barcelona, becoming champions via the head-to-head rule. Madrid clinched La Liga in Roberto Carlos' final match, a 3-1 win over Mallorca at the Santiago Bernabeu Stadium.

Answer this question "When did he join Real Madrid?"
output:
Roberto Carlos joined Real Madrid in the year 1996 close season, where he was given the number 3 shirt